]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix date in testsuite/ChangeLog entry.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
18920c42
JB
12011-07-01 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/char_enum: New testcase.
4
3536d9e3 52011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
6
7 * gdb.base/dump.exp (capture_pointer_with_type): New.
8 Get value from address instead of name.
9 Start GDB once, and do `dump' and `restore'
10 tests together.
11
db863c42
MF
122011-06-30 Jie Zhang <jie.zhang@analog.com>
13 Mike Frysinger <vapier@gentoo.org>
14
15 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
16 helper functions for getting/setting remotetimeout variable.
17 * lib/gdb.exp (gdb_load): If the target is remote, set
18 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
19 with $loadtimeout. Set $load_ok to 0 before doing the load.
20 Instead of returning, immediately, set $load_ok to 0. Call
21 set_remotetimeout with $oldremotetimeout, and then return if
22 $load_ok is 1.
23
e9e642a8
AB
242011-06-30 Andrew Burgess <aburgess@broadcom.com>
25
26 * gdb.python/py-template.exp: Don't run this test if the target
27 does not support c++ tests.
28
32019081
JK
292011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
30
31 Fix non-only rename list for Fortran modules import.
32 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
33 tests.
34 * gdb.fortran/module.f90 (module moduse): New.
35 (program module): use moduse, test var_x, var_y and var_z.
36
0ecee54c
TT
372011-06-29 Tom Tromey <tromey@redhat.com>
38
39 PR testsuite/12040:
40 * gdb.fortran/array-element.exp: Use f90, not f77.
41 * gdb.fortran/complex.exp: Use f90, not f77.
42 * gdb.fortran/derived-type.exp: Use f90, not f77.
43 * gdb.fortran/library-module.exp: Use f90, not f77.
44 * gdb.fortran/logical.exp: Use f90, not f77.
45 * gdb.fortran/module.exp: Use f90, not f77.
46 * gdb.fortran/multi-dim.exp: Use f90, not f77.
47 * gdb.fortran/subarray.exp: Use f90, not f77.
48
3b2b8fea
TT
492011-06-29 Tom Tromey <tromey@redhat.com>
50
51 * gdb.fortran/charset.exp: New file.
52 * gdb.fortran/charset.f90: New file.
53
42159ca5
TT
542011-06-29 Tom Tromey <tromey@redhat.com>
55
56 PR testsuite/12040:
57 * lib/future.exp: New file, mostly extracted from ada.exp.
58 Rewrote compatibility code to use rename.
59 (gdb_find_gfortran): New proc.
60 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
61 gfortran patch.
62 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
63 Move to future.exp.
64 * lib/gdb.exp: Always load future.exp.
65
af69a5ce
YQ
662011-06-28 Yao Qi <yao@codesourcery.com>
67
68 * gdb.cp/exception.cc: Don't include iostream.
69 (bar): Remove print statement.
70 (catcher): New.
71 (main): Remove print statements. Call function catcher.
72 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
73 Set breakpoint on catcher, and check the value of parameter.
74
ab5c6a72
YQ
752011-06-23 Yao Qi <yao@codesourcery.com>
76
77 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
78 1.2 is disabled. KFAIL for uclinux.
79
9497469f
MP
802011-06-23 Marek Polacek <mpolacek@redhat.com>
81
82 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
83 mi_gdb_test.
84
b9132588
MP
852011-06-23 Marek Polacek <mpolacek@redhat.com>
86
5d197ed0 87 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 88
e55595ca
MP
892011-06-23 Marek Polacek <mpolacek@redhat.com>
90
5d197ed0
MP
91 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
92
932011-06-23 Marek Polacek <mpolacek@redhat.com>
94
95 * gdb.mi/mi2-basics.exp: Fix races. Honour the
96 `test_exec_and_symbol_mi_operatons' return value.
97 (test_mi_interpreter_selection): Use mi_gdb_test instead of
98 gdb_test_multiple.
99 (test_exec_and_symbol_mi_operatons): Likewise.
100 (test_path_specification): Likewise.
e55595ca 101
be777e08
YQ
1022011-06-23 Yao Qi <yao@codesourcery.com>
103
104 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
105 supported.
106 * lib/gdb.exp (support_displaced_stepping): New.
107
615556d6
YQ
1082011-06-23 Yao Qi <yao@codesourcery.com>
109
110 * gdb.threads/execl.exp: Skip on remote target.
111
833b0ca7
MP
1122011-06-21 Marek Polacek <mpolacek@redhat.com>
113
5d197ed0 114 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
115 mi_gdb_test.
116
1ee4023a
MP
1172011-06-20 Marek Polacek <mpolacek@redhat.com>
118
5d197ed0 119 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 120
d0b1d624
MP
1212011-06-20 Marek Polacek <mpolacek@redhat.com>
122
5d197ed0 123 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
124 mi_gdb_test.
125
79aa92c1
MP
1262011-06-20 Marek Polacek <mpolacek@redhat.com>
127
5d197ed0 128 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 129
5ce5db06
YQ
1302011-06-14 Yao Qi <yao@codesourcery.com>
131
132 gdb/testsuite/
133 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
134
533a737e
JK
1352011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
136
137 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
138
d0e53741
TT
1392011-06-10 Tom Tromey <tromey@redhat.com>
140
141 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
142 Add tests for pointer-to-member-function.
143 * gdb.cp/temargs.cc (S::somefunc): New function.
144 (K2): New class.
145 (main): Instantiate K2; call method.
146
b5916bbd
JB
1472011-06-08 Joel Brobecker <brobecker@adacore.com>
148
149 * gdb.python/py-inferior.c (f2): Make str an array rather
150 than a pointer.
151 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
152
5be4dfca
JK
1532011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
154
155 * gdb.base/async-shell.c: New file.
156 * gdb.base/async-shell.exp: New file.
157
9f47e254
PA
1582011-06-06 Pedro Alves <pedro@codesourcery.com>
159
160 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
161
64b9b334
JB
1622011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
163
164 From Stephen Kitt <steve@sk2.org>
165 * gdb.base/help.exp: Adjust following some spelling corrections
166 in GDB.
167
dbc0f131
YQ
1682011-06-01 Yao Qi <yao@codesourcery.com>
169
170 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
171
fd336a18
KS
1722010-05-31 Keith Seitz <keiths@redhat.com>
173
174 PR c++/12750
175 * gdb.cp/static-method.cc: New file.
176 * gdb.cp/static-method.exp: New file.
177
fa8b9902
KS
1782010-05-31 Keith Seitz <keiths@redhat.com>
179
180 PR symtab/12704
181 * gdb.cp/anon-ns.cc: New file.
182 * gdb.cp/anon-ns.exp: New file.
183
0a5b1e09
PA
1842011-05-31 Pedro Alves <pedro@codesourcery.com>
185
186 * gdb.arch/i386-dr3-watch.c: New file.
187 * gdb.arch/i386-dr3-watch.exp: New file.
188
0578b8d1
YQ
1892011-05-30 Yao Qi <yao@codesourcery.com>
190
191 * gdb.base/callfuncs.c (t_structs_fc): New.
192 (t_structs_dc, t_structs_ldc): New.
193 (t_double_many_args):
194 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
195 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
196 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
197 * gdb.base/callfuncs.exp: Call new functions.
198
6680506e
YQ
1992011-05-30 Yao Qi <yao@codesourcery.com>
200
ff4d2c60
YQ
201 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
202 Call rerun_and_prepare for each test to isolate effects.
203
2042011-05-30 Yao Qi <yao@codesourcery.com>
205
206 * gdb.base/varargs.c (find_max_float_real): New.
207 (find_max_double_real, find_max_long_double_real): New.
208 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
209 * lib/gdb.exp (setup_kfail_for_target): New.
210
e43ec454
YQ
2112011-05-30 Yao Qi <yao@codesourcery.com>
212
213 * gdb.base/funcargs.c (callca, callcb, callcc): New.
214 (callcd, callce, callcf, callc1a, callc1b): New.
215 (callc2a, callc2b): New.
216 * gdb.base/funcargs.exp (complex_args): New.
217 (complex_integral_args, complex_float_integral_args): New.
218 * lib/gdb.exp (support_complex_tests): New. Determine
219 whether to run test cases on _Complex types.
220
432b4d03
JK
2212011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
222
223 * gdb.threads/leader-exit.c: New file.
224 * gdb.threads/leader-exit.exp: New file.
225
6caf069d
MP
2262011-05-27 Marek Polacek <mpolacek@redhat.com>
227
9497469f 228 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 229
97fce28b
MP
2302011-05-27 Marek Polacek <mpolacek@redhat.com>
231
232 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
233 remove the `supported' variable.
234 * gdb.mi/mi-nonstop.exp: Likewise.
235 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
236 * gdb.mi/mi-nsintrall.exp: Likewise.
237 * gdb.mi/mi-nsmoribund.exp: Likewise.
238 * gdb.mi/mi-nsthrexec.exp: Likewise.
239
9da8c2a0
PA
2402011-05-26 Pedro Alves <pedro@codesourcery.com>
241
242 * gdb.reverse/finish-reverse-bkpt.exp: New test.
243
2c03e5be
PA
2442011-05-26 Pedro Alves <pedro@codesourcery.com>
245
246 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
247
2e21250d
KS
2482011-05-24 Keith Seitz <keiths@redhat.com>
249
250 PR breakpoint/12803
251 * gdb.cp/cmpd-minsyms.cc (a): New method.
252 (b): New method.
253 (c): New method.
254 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
255
cdac0397
PA
2562011-05-24 Pedro Alves <pedro@codesourcery.com>
257
258 * gdb.base/commands.exp (watchpoint_command_test): Check that the
259 watchpoint's command list didn't execute when the watchpoint went
260 out of scope.
261
ee5683ab
PM
2622011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
263
264 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
265 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
266 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
267 * gdb.arch/i386-gnu-cfi.exp: Likewise.
268 * gdb.arch/i386-permbkpt.exp: Likewise.
269 * gdb.arch/i386-prologue.exp: Likewise.
270 * gdb.arch/i386-size-overlap.exp: Likewise.
271 * gdb.arch/i386-size.exp: Likewise.
272 * gdb.arch/i386-unwind.exp: Likewise.
273 * gdb.reverse/i386-precsave.exp: Likewise.
274 * gdb.reverse/i386-reverse.exp: Likewise.
275 * gdb.reverse/i386-sse-reverse.exp: Likewise.
276 * gdb.reverse/i387-env-reverse.exp: Likewise.
277 * gdb.reverse/i387-stack-reverse.exp: Likewise.
278
c91c8c16
PA
2792011-05-24 Pedro Alves <pedro@codesourcery.com>
280
281 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
282 file doesn't error, using MI.
283
c50491a7
TT
2842011-05-23 Tom Tromey <tromey@redhat.com>
285
286 * gdb.base/charset.exp (string_display): Add tests to assign to
287 arrays.
288 * gdb.base/charset.c (short_array, int_array, long_array): New.
289
4a07b7da
PA
2902011-05-20 Pedro Alves <pedro@codesourcery.com>
291
292 Cope with async mode.
293
4a07b7da
PA
294 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
295 into gdb_test + mi_expect_stop.
296
b275f2d2
PA
2972011-05-20 Pedro Alves <pedro@codesourcery.com>
298
299 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
300 (callme): Remove printf call.
301
eec52c44
PM
3022011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
303
304 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
305 quote pattern to avoid problems with Cygwin/mingw expect versions.
306 * gdb.base/default.exp (show convenience): Use double
307 quote pattern for regular expressions.
308
b3c8eb43
JK
3092011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
310
311 Fix -readnow for -gdwarf-4 unused type units.
312 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
313 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
314
ed731959
JK
3152011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
316
317 * gdb.base/kill-after-signal.c: New file.
318 * gdb.base/kill-after-signal.exp: New file.
319
3b48433d
PA
3202011-05-16 Pedro Alves <pedro@codesourcery.com>
321
322 * gdb.ada/start.exp: Call untested with the correct test filename.
323 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
324 test filename. Make the test's binary unique.
325 * gdb.arch/i386-signal.exp: Call untested with the correct test
326 filename.
327 * gdb.arch/i386-size-overlap.exp: Ditto.
328 * gdb.arch/Makefile.in (EXECUTABLES): Update.
329 * gdb.base/gcore-buffer-overflow.exp: Ditto.
330 * gdb.cp/call-c.exp: Ditto.
331 * gdb.mi/mi-reverse.exp: Call untested with the correct test
332 filename. Make the test's binary unique.
333 * gdb.mi/Makefile.in (EXECUTABLES): Update.
334 * gdb.python/py-mi.exp: Ditto.
335 * gdb.python/Makefile.in (EXECUTABLES): Update.
336 * gdb.reverse/i386-precsave.exp: Ditto.
337 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
338 test filename.
339 * gdb.reverse/i387-stack-reverse.exp: Ditto.
340 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
341 unique.
342 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
343 test filename.
344 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
345 * gdb.trace/tfile.exp: Ditto.
346
ba4a8bdd
YQ
3472011-05-14 Yao Qi <yao@codesourcery.com>
348
349 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
350 type.
351
dbaefcf7
DE
3522011-05-13 Doug Evans <dje@google.com>
353
354 * gdb.python/py-objfile-script.exp: New file.
355 * gdb.python/py-objfile-script.c: New file.
356 * gdb.python/py-objfile-script-gdb.py: New file.
357 * testsuite/gdb.python/py-section-script.exp: Test
358 "info auto-load-scripts".
359
9930639c
TT
3602011-05-13 Tom Tromey <tromey@redhat.com>
361
362 * gdb.dwarf2/clztest.exp: New file.
363 * gdb.dwarf2/clztest.c: New file.
364 * gdb.dwarf2/clztest.S: New file.
365
05272e11
DE
3662011-05-13 Doug Evans <dje@google.com>
367
cc63ef9b
DE
368 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
369 String16 tests.
05272e11 370
6edba76f
TT
3712011-05-13 Tom Tromey <tromey@redhat.com>
372
373 * lib/gdb.exp (is_x86_like_target): New proc.
374 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
375 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
376 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
377 -nostdlib to compiler.
378 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
379 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
380 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
381 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
382 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
383
028d0ed5
TJB
3842011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
385
386 * gdb.python/py-function.exp: Test setting a value from a function
387 which executes a command.
388
8a9b8146
TT
3892011-05-12 Tom Tromey <tromey@redhat.com>
390
391 * gdb.dwarf2/typeddwarf.S: New file.
392 * gdb.dwarf2/typeddwarf.c: New file.
393 * gdb.dwarf2/typeddwarf.exp: New file.
394
10483e8e
MP
3952011-05-12 Marek Polacek <mpolacek@redhat.com>
396
397 * gdb.mi/mi-basics.exp: Fix races. Honour the
398 `test_exec_and_symbol_mi_operatons' return value.
399 (test_mi_interpreter_selection): Use mi_gdb_test instead of
400 gdb_test_multiple.
401 (test_exec_and_symbol_mi_operatons): Likewise.
402 (test_path_specification): Likewise.
403
faf067f1
JK
4042011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
405
406 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
407 (gdb_touch_execfile): Remove catch wrappers. New variable time.
408 Replace `file copy' and `file rename' by `file mtime'. Twice.
409
7ff911a3
JK
4102011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 * gdb.base/readline-ask.c: New file.
413 * gdb.base/readline-ask.exp: New file.
414 * gdb.base/readline-ask.inputrc: New file.
415
a536c6d7
UW
4162011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
417
418 * gdb.cell/bt.exp: Delete breakpoints before running to signal
419 to avoid race condition.
420 * gdb.cell/coremaker.c: Use small stack size.
421 * gdb.cell/ea-standalone.exp: Use file name without path as
422 argument to c_to.
423 * gdb.cell/fork.exp: Allow other output when continuing to end.
424
d472a426
JK
4252011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
426
427 * gdb.threads/corethreads.c: New file.
428 * gdb.threads/corethreads.exp: New file.
429
4302011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
431
432 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
433 Try to compile the test using -Wl,-z,norelro first.
434 (load_core): New variable libthread_db_seen, initialize it.
435 (zeroed-threads cannot be listed): Protect it by XFAIL on
436 !$libthread_db_seen.
437
8be455d7
JK
4382011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
439
440 PR 12573
441 * gdb.dwarf2/dw2-skip-prologue.S: New file.
442 * gdb.dwarf2/dw2-skip-prologue.c: New file.
443 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
444
1976171a
JK
4452011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
446
447 * gdb.cp/psymtab-parameter.cc: New file.
448 * gdb.cp/psymtab-parameter.exp: New file.
449
7db6f30f
JK
4502011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
451
452 Fix a race.
453 * gdb.cp/static-print-quit.exp (print c): Split to ...
454 (print c - <return>, print c - q <return>, print c - to quit):
455 ... these. Make the testfile untested on gdb-7.1.
456
85161e9e 4572011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
458
459 * lib/gdb.exp (exec_target_file, exec_symbol_file,
460 gdb_rename_execfile, gdb_touch_execfile): New.
461 * gdb.base/reread.exp: Use new procs to handle multiple
462 exec files.
463
0c51be18
YQ
4642011-05-05 Yao Qi <yao@codesourcery.com>
465
466 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
467 (test_adr_32bit, test_pop_pc): New.
468 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
469 (test_adr_32bit, test_pop_pc): New.
470
4d393d60
JM
4712011-05-04 Joseph Myers <joseph@codesourcery.com>
472
473 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
474 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
475 targets.
476 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
477 handle targets.
478
8ffd0459
JK
4792011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
480
481 * gdb.base/completion.exp (complete help info wat): Rename to ...
482 (complete 'help info wat'): ... here.
483 Remove all `-re ".*' and `-re "^.*' redundant regexes.
484 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
485
8e28d804
PA
4862011-05-04 Pedro Alves <pedro@codesourcery.com>
487
488 * gdb.base/completion.exp: Use gdb_test_multiple instead of
489 gdb_test and explicit $gdb_prompt/timeout matches.
490
3eb2ef34
YQ
4912011-05-04 Yao Qi <yao@codesourcery.com>
492
493 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
494 and __thumb2__.
495
aaaf81a3
MP
4962011-05-03 Marek Polacek <mpolacek@redhat.com>
497
498 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
499 in place of `gdb_test "delete breakpoints"'. This eliminates two
500 testcases.
501
c4cbc0df
PA
5022011-05-02 Pedro Alves <pedro@codesourcery.com>
503
504 PR testsuite/12649
505 Fix races.
506
507 * gdb.base/completion.exp: Remove all sleep calls. Remove
508 unnecessary regexs. Don't explicitly expect anything after the
509 prompt. Eat the prompt if necessary.
510
b4cbb4a3
EBM
5112011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
512
513 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
514 accept to show the caller line again as well as the line after.
515
d65aec65
PM
5162011-04-29 Phil Muldoon <pmuldoon@redhat.com>
517
518 PR mi/12531
519
520 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
521 compile target.
522 * gdb.python/py-prettyprint.exp: Add C++ object for
523 CPLUS_FAKE_CHILD test.
524
30852783
UW
5252011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
526
527 * gdb.base/signest.exp: New file.
528 * gdb.base/signest.c: Likewise.
529
c7b1f0d9
JK
5302011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
531
532 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
533 thread and breakpoint notifications.
534
559a7a62
JK
5352011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
536
537 * gdb.base/fortran-sym-case.c: New file.
538 * gdb.base/fortran-sym-case.exp: New file.
539 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
540 * gdb.dwarf2/dw2-case-insensitive.c: New file.
541 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
542
8344e389
JK
5432011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
544
545 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
546 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
547 false #1', `if true else false #2' and `if true else false #3'.
548
2484c66b
UW
5492011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
550
551 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
552 while delivering signal.
553
8d3788bd
VP
5542011-04-27 Vladimir Prus <vladimir@codesourcery.com>
555
556 MI breakpoint notifications.
557
558 * testsuite/gdb.mi/mi-cli.exp: Adust.
559 * testsuite/gdb.mi/mi2-cli.exp: Adust.
560 * testsuite/gdb.mi/mi-watch.exp: Adust.
561 * testsuite/gdb.mi/mi2-watch.exp: Adust.
562 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
563 notifications.
564
3e03848b
JK
5652011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
566
567 * gdb.base/gdbindex-stabs-dwarf.c: New file.
568 * gdb.base/gdbindex-stabs.c: New file.
569 * gdb.base/gdbindex-stabs.exp: New file.
570
918c9108
YQ
5712011-04-25 Yao Qi <yao@codesourcery.com>
572
573 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
574 with /*...*/.
575 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
576
90556b8c
JK
5772011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
578
579 * gdb.python/py-value.exp (test_objfiles): Name the first test
580 `py-value in file.filename'.
581
03f2bd59
JK
5822011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
583
584 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
585 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
586 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
587 !gdbserver_reconnect_p..
588 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
589
7b08b9eb
JK
5902011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
591
592 * gdb.cp/cpcompletion.exp (complete class methods)
593 (complete class methods beginning with F): Move them above runto. New
594 comment about the runto delimiter.
595
b78974c3
PA
5962011-04-20 Pedro Alves <pedro@codesourcery.com>
597
598 * gdb.base/maint.exp: Test that "maint print registers" works
599 without a running program.
600
20429c40 6012011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 602
20429c40
MP
603 * gdb.base/setshow.exp: Fix racy tests.
604 ($old_gdb_prompt): New variable.
605
7a9dd1b2
TT
6062011-04-19 Tom Tromey <tromey@redhat.com>
607
608 * gdb.mi/mi-nsmoribund.exp:
609 * gdb.hp/gdb.objdbg/objdbg01.exp:
610 * gdb.base/structs.exp (test_struct_returns):
611 * gdb.base/call-sc.exp (test_scalar_returns):
612 * gdb.base/bigcore.exp: Remove duplicate words.
613
02835898
JK
6142011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
615
616 * gdb.base/break-interp-lib.c (v, vptr): New variables.
617 * gdb.base/break-interp.exp (test_attach): New comment.
618
254f582e
JK
6192011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
620
621 * gdb.threads/gcore-thread.exp ($core0file): New variable.
622 (clear __stack_user.next, clear stack_used.next)
623 (save a zeroed-threads corefile): New test.
624 Call core_load for $core0file.
625 (zeroed-threads cannot be listed): New test.
626
4fe85f5c
JK
6272011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
628
629 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
630 filename.
631 ($srcfile): Preserve the original value.
632 ($testfile): Match it the .exp filename.
633 ($corefile): New variable. Substitute it around.
634 Use clean_restart.
635 ($prev_timeout): Remove.
636 (load_core): Move core loading into this proc.
637 Fix restore of $timeout if load_core fails.
638
63524580
JK
6392011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
640
641 * gdb.base/eu-strip-infcall.c: New file.
642 * gdb.base/eu-strip-infcall.exp: New file.
643
90359a16
JK
6442011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
645
646 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
647 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
648
626e7282
JK
6492011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
650
651 Fix Python access to inlined frames.
652 * gdb.python/py-frame-inline.c: New file.
653 * gdb.python/py-frame-inline.exp: New file.
654
3363d018
EBM
6552011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
656
657 * gdb.base/gdb1090.exp: Change breakpoint location to read the
658 content of 's24' correctly (avoiding "optimized out").
659 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
660
28781456
JK
6612011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
662
663 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
664
4a4106ca
TJB
6652011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
666
667 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
668 expect a colon in watch -location output.
669
d26ccb4f
JK
6702011-04-13 Marek Polacek <mpolacek@redhat.com>
671
672 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
673 New testcase `expect response to define backtrace'. Also remove
674 redundant `default' block.
675
e1ab1f9c
JK
6762011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
677
678 * gdb.python/py-prettyprint.c (struct hint_error): New.
679 (main): New variable hint_error.
680 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
681 "print hint_error".
682 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
683 (register_pretty_printers): Register it.
684
0c2e6019
TT
6852011-04-04 Tom Tromey <tromey@redhat.com>
686
687 * gdb.cp/maint.exp (test_help): Update.
688 (test_namespace): Likewise.
689
af57139d
JB
6902011-04-01 Joel Brobecker <brobecker@adacore.com>
691
692 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
693 * gdb.ada/arrayptr.exp: Add new tests.
694
956a9fb9
JB
6952011-04-01 Joel Brobecker <brobecker@adacore.com>
696
697 * gdb.ada/mi_catch_ex: New testcase.
698
d0c4d642
PA
6992011-04-01 Pedro Alves <pedro@codesourcery.com>
700
701 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
702 base::overload(void) method without specifying "const".
703
18819fa6
UW
7042011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
705
706 * gdb.arch/thumb-singlestep.S: New file.
707 * gdb.arch/thumb-singlestep.exp: Likewise.
708
a4c8e806
TT
7092011-03-31 Tom Tromey <tromey@redhat.com>
710
711 * gdb.python/py-prettyprint.py (exception_flag): New global.
712 (NoStringContainerPrinter._iterator.next): Check it.
713 * gdb.python/py-prettyprint.c (main): New variable nstype2.
714 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
715
53832f31
TT
7162011-03-29 Tom Tromey <tromey@redhat.com>
717
718 * gdb.cp/anon-struct.cc: New file.
719 * gdb.cp/anon-struct.exp: New file.
720
e4620230
JK
7212011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
722
723 Test STT_GNU_IFUNC support.
724 * gdb.base/gnu-ifunc-lib.c: New file.
725 * gdb.base/gnu-ifunc.c: New file.
726 * gdb.base/gnu-ifunc.exp: New file.
727
d0fb5eae
JK
7282011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
729
730 Support a ring of related breakpoints.
731 * gdb.base/watchpoint-delete.c: New file.
732 * gdb.base/watchpoint-delete.exp: New file.
733
20106cfb
JK
7342011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
735
736 * gdb.ada/arrayparam.exp (print first after function call): Use
737 explicit package name. Add a comment
738 (print lasta after function call): Rename ...
739 (print last after function call): ... it and use explicit package
740 name.
741 (print length after function call): Use explicit package name.
742 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
743 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
744 (multiple matches for symbol i): Rename ...
745 (multiple matches for symbol integervar): ... it.
746 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
747 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
748
e7ab5e63
AB
7492011-03-25 Andrew Burgess <aburgess@broadcom.com>
750
751 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
752 environment variable to make grep output more predictable. Move
753 all the environment setup into gdb_init so it's done once per test
754 case rather than each time we start gdb.
755
9ef07c8c
TT
7562011-03-24 Tom Tromey <tromey@redhat.com>
757
758 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
759 test.
760
dd90784c
JK
7612011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
762
763 * gdb.dwarf2/dw2-entry-value-main.c: New file.
764 * gdb.dwarf2/dw2-entry-value.S: New file.
765 * gdb.dwarf2/dw2-entry-value.exp: New file.
766
05775840
PM
7672011-03-22 Phil Muldoon <pmuldoon@redhat.com>
768
769 PR python/12183
770
771 * gdb.python/py-function.exp: Add GdbError tests.
772
8661b11b
PA
7732011-03-18 Pedro Alves <pedro@codesourcery.com>
774
775 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
776 (reglocal_test_func, statlocal_test_func): New functions.
777 (globals_test_func): Call new functions.
778 * gdb.trace/unavailable.exp (gdb_collect_args_test)
779 (gdb_collect_locals_test): New procedure.
780 (gdb_trace_collection_test): Call new procedures.
781
0fdb4f18
PA
7822011-03-18 Pedro Alves <pedro@codesourcery.com>
783
784 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
785 (test_register, test_register_unavailable): New procedures.
786 (gdb_unavailable_registers_test): New procedure.
787 (gdb_trace_collection_test): Call it.
788
99c3dc11
PM
7892011-03-18 Phil Muldoon <pmuldoon@redhat.com>
790
791 PR python/12149
792
793 * gdb.python/python.exp: Add gdb.write tests.
794
29703da4
PM
7952010-03-17 Phil Muldoon <pmuldoon@redhat.com>
796
797 * gdb.python/Makefile.in: Add py-objfile.
798 * gdb.python/py-objfile.exp: New file.
799 * gdb.python/py-objfile.c: New file.
800 * gdb.python/py-block.exp: Add is_valid tests.
801 * gdb.python/py-inferior.exp: Ditto.
802 * gdb.python/py-infthread.exp: Ditto.
803 * gdb.python/py-symbol.exp: Ditto.
804 * gdb.python/py-symtab.exp: Ditto.
805
598997c8
KS
8062011-03-16 Keith Seitz <keiths@redhat.com>
807
808 PR c++/12273
809 * gdb.cp/cmpd-minsyms.exp: New test.
810 * gdb.cp/cmpd-minsyms.cc: New file.
811
812 PR c++/11734
813 * gdb.cp/ovsrch.exp: New test.
814 * gdb.cp/ovsrch.h: New file.
815 * gdb.cp/ovsrch1.cc: New file.
816 * gdb.cp/ovsrch2.cc: New file.
817 * gdb.cp/ovsrch3.cc: New file.
818 * gdb.cp/ovsrch4.cc: New file.
819
c91513d8
PP
8202011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
821
822 PR gdb/12528
823 * gdb.base/Makefile.in: Adjust EXECUTABLES.
824 * gdb.base/break-on-linker-gcd-function.exp: New test.
825 * gdb.base/break-on-linker-gcd-function.cc: New file.
826
7470fc63
AT
8272011-03-15 Andreas Tobler <andreast@fgznet.ch>
828
829 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
830
959e7469
PM
8312011-03-15 Phil Muldoon <pmuldoon@redhat.com>
832
833 * lib/gdb.exp (gdb_unload): Add another termination case.
834
9373cf26
JK
8352011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
836
837 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
838 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
839 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
840 Provide a stub byte there.
841 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
842 DW_AT_entry_pc.
843 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
844
24e9cda0
UW
8452011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
846
847 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
848 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
849 "generic ABI, auto".
850 (altivec_abi_tests): Accept vectors returned by reference.
851
7371cf6d
PM
8522010-03-14 Phil Muldoon <pmuldoon@redhat.com>
853
854 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
855
ce77046a
UW
8562011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
857
858 * gdb.python/py-section-script.exp: Skip test if no Python support.
859
176400c3
UW
8602011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
861
862 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
863
ecec24e6
PM
8642011-03-10 Phil Muldoon <pmuldoon@redhat.com>
865
866 * gdb.python/py-parameter.exp: Update tests to the new Python
867 parameter API. Add "no documentation" test. Add deprecated API
868 backward compatibility test.
869
5dbdd470
TT
8702011-03-09 Tom Tromey <tromey@redhat.com>
871
872 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
873 gdb_continue_to_end.
874
b66e66ee
MK
8752011-03-09 Mark Kettenis <kettenis@gnu.org>
876
877 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
878 tabs.
879
eceb0c5f
TT
8802011-03-09 Tom Tromey <tromey@redhat.com>
881
882 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
883 parentheses.
884 (gdb_continue_to_end): Add "allow_extra" parameter. Use
885 $command.
886 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
887 argument to gdb_continue_to_end.
888 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
889 argument to gdb_continue_to_end.
890 * gdb.cp/annota3.exp: Fix regex.
891 * gdb.cp/annota2.exp: Fix regex.
892 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
893 gdb_continue_to_end.
894 * gdb.base/call-signal-resume.exp: Revert earlier patch.
895 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
896 gdb_continue_to_end.
897
63154eca
PA
8982011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
899
900 * gdb.server/ext-run.exp
901 (load new file without any gdbserver inferior): New test.
902
967d1f9b
TT
9032011-03-07 Tom Tromey <tromey@redhat.com>
904
905 * Makefile.in (TAGS): Rewrite.
906
d68dcbb9
JK
9072011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 * gdb.trace/report.exp (12.1: trace report #1): New match for the
910 initial commands echo. New match for `Found trace'. Anchor all the
911 other matches. Anchor and match for `No trace frame found' the final
912 match.
913
6bf58e63
TT
9142011-03-07 Tom Tromey <tromey@redhat.com>
915
916 * Makefile.in (TAGS): New target.
917
fda326dd
TT
9182011-03-07 Tom Tromey <tromey@redhat.com>
919
920 * lib/opencl.exp (skip_opencl_tests): Update for exit message
921 change.
922 * lib/mi-support.exp (mi_gdb_test): Update for exit message
923 change.
924 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
925 exit message change.
926 (skip_altivec_tests): Update for exit message change.
927 (skip_vsx_tests): Likewise.
928 (gdb_continue_to_end): Likewise. Add 'command' argument.
929 * lib/cell.exp (skip_cell_tests): Update for exit message change.
930 * gdb.threads/tls.exp: Update for exit message change.
931 * gdb.threads/thread-unwindonsignal.exp: Use
932 gdb_continue_to_end.
933 * gdb.threads/step.exp (step_it): Update for exit message change.
934 (continue_all): Likewise.
935 * gdb.threads/print-threads.exp (test_all_threads): Update for
936 exit message change.
937 * gdb.threads/interrupted-hand-call.exp: Use
938 gdb_continue_to_end.
939 * gdb.threads/execl.exp: Use gdb_continue_to_end.
940 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
941 gdb_continue_to_end.
942 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
943 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
944 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
945 * gdb.cp/method.exp: Update for exit message change.
946 * gdb.cp/mb-templates.exp: Update for exit message change.
947 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
948 * gdb.cp/annota3.exp: Update for exit message change.
949 * gdb.cp/annota2.exp: Update for exit message change.
950 * gdb.cell/fork.exp: Use gdb_continue_to_end.
951 * gdb.base/term.exp: Update for exit message change.
952 * gdb.base/step-test.exp (test_i): Update for exit message change.
953 * gdb.base/sigstep.exp (advance): Update for exit message change.
954 (advancei): Likewise.
955 * gdb.base/siginfo.exp: Update for exit message change.
956 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
957 * gdb.base/reread.exp: Use gdb_continue_to_end.
958 * gdb.base/langs.exp: Use gdb_continue_to_end.
959 * gdb.base/interrupt.exp: Update for exit message change.
960 * gdb.base/gdb1555.exp: Update for exit message change.
961 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
962 * gdb.base/ending-run.exp: Update for exit message change.
963 * gdb.base/chng-syms.exp: Update for exit message change.
964 * gdb.base/checkpoint.exp: Update for exit message change.
965 * gdb.base/catch-syscall.exp (check_for_program_end): Use
966 gdb_continue_to_end.
967 (test_catch_syscall_with_wrong_args): Likewise.
968 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
969 * gdb.base/break-interp.exp (test_ld): Update for exit message
970 change.
971 * gdb.base/bang.exp: Update for exit message change.
972 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
973 (do_call_attach_tests): Likewise.
974 * gdb.base/a2-run.exp: Update for exit message change.
975 * gdb.arch/ppc-dfp.exp: Update for exit message change.
976 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
977 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
978
dd19bd70
JK
9792011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
980
981 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
982
30e62689
TT
9832011-03-03 Tom Tromey <tromey@redhat.com>
984
985 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
986 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
987 * gdb.hp/gdb.aCC/configure.ac: Remove.
988 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
989 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
990 * gdb.hp/gdb.base-hp/configure.ac: Remove.
991 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
992 * gdb.hp/gdb.compat/configure (Makefile): Remove.
993 * gdb.hp/gdb.compat/configure.ac: Remove.
994 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
995 * gdb.hp/gdb.defects/configure (Makefile): Remove.
996 * gdb.hp/gdb.defects/configure.ac: Remove.
997 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
998 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
999 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1000 * gdb.hp/configure.ac: Remove.
1001 * gdb.hp/configure: Remove.
1002 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1003 substitution.
1004 (Makefile): Remove rule.
1005 * gdb.cell/configure.ac: Remove.
1006 * gdb.cell/configure: Remove.
1007 * gdb.stabs/Makefile.in (Makefile): Remove.
1008 (distclean): Don't remove config.status or config.log.
1009 * gdb.stabs/configure (Makefile): Remove.
1010 * gdb.stabs/configure.ac: Remove.
1011 * configure: Rebuild.
1012 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1013 Remove stabs- and cell-specific logic. Test for existence of
1014 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1015 subdirectories, gdb.cell, and and gdb.stabs.
1016 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1017
c171f854
JB
10182011-03-03 Joel Brobecker <brobecker@adacore.com>
1019
1020 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1021 end of buffer.
1022
9a5193cb
JB
10232011-03-02 Joel Brobecker <brobecker@adacore.com>
1024
1025 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1026 gdb_test when running a test where we expected no output back.
1027
9bb4c1bb
MS
10282011-02-28 Michael Snyder <msnyder@vmware.com>
1029
1030 * gdb.cp/overload.cc: Change initializer value to integer.
1031
3bd0f5ef
MS
10322011-02-27 Michael Snyder <msnyder@vmware.com>
1033
1034 * gdb.multi/base.exp: Add test for remove-inferiors.
1035
2279eaad
JB
10362011-02-26 Joel Brobecker <brobecker@adacore.com>
1037
1038 * gdb.python/py-frame.exp: Simplify the initialization phase
1039 using prepare_for_testing.
1040
c82c0b55
MS
10412011-02-25 Michael Snyder <msnyder@vmware.com>
1042
1043 * gdb.multi/base.exp: Add tests for info inferiors with args.
1044
1d94651b
JK
10452011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1046
1047 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1048 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1049 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1050 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1051 asmfile3. Comment the STABS (#3) file compilation. Compile
1052 everything through assembler. Provide KFAIL for symtab/12497.
1053 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1054 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1055 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1056 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1057
3bd0f5ef
MS
10582011-02-24 Michael Snyder <msnyder@vmware.com>
1059
1060 * gdb.base/break.exp: Add tests for delete breakpoints using
1061 convenience variables and value history references.
1062
12c1418e
MS
10632011-02-24 Michael Snyder <msnyder@vmware.com>
1064
1065 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1066 left behind in previous check-in.
1067
e5a67952
MS
10682011-02-23 Michael Snyder <msnyder@vmware.com>
1069
1070 * gdb.base/break.exp: Add tests for "info break" with arguments.
1071 * gdb.trace/infotrace.exp: Update patterns for error and help.
1072 * gdb.base/completion.exp: Update pattern.
1073 * gdb.base/ena-dis-br.exp: Update pattern.
1074 * gdb.base/help.exp: Update patterns.
1075
10762011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
1077
1078 * gdb.base/memattr.exp: New test.
1079 * gdb.base/memattr.c: Test load for memattr.exp.
1080
6e6fbe60
DE
10812011-02-22 Doug Evans <dje@google.com>
1082
1083 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1084
1d41d745
MS
10852011-02-22 Michael Snyder <msnyder@vmware.com>
1086
1087 * Makefile.in: Make more clean.
1088 * gdb.ada/Makefile.in: Ditto.
1089 * gdb.arch/Makefile.in: Ditto.
1090 * gdb.asm/Makefile.in: Ditto.
1091 * gdb.base/Makefile.in: Ditto.
1092 * gdb.cp/Makefile.in: Ditto.
1093 * gdb.dwarf2/Makefile.in: Ditto.
1094 * gdb.java/Makefile.in: Ditto.
1095 * gdb.mi/Makefile.in: Ditto.
1096 * gdb.modula2/Makefile.in: Ditto.
1097 * gdb.python/Makefile.in: Ditto.
1098 * gdb.server/Makefile.in: Ditto.
1099 * gdb.stabs/Makefile.in: Ditto.
1100 * gdb.threads/Makefile.in: Ditto.
1101 * gdb.trace/Makefile.in: Ditto.
1102
79ba84ca
MS
11032011-02-22 Michael Snyder <msnyder@vmware.com>
1104
1105 * gdb.threads/thread-find.exp: Add tests for bad input to
1106 info threads.
1107
b9b35694
JB
11082011-02-22 Joel Brobecker <brobecker@adacore.com>
1109
1110 * gdb.python/py-breakpoint.exp: Fix the expected output of
1111 one of the "maint info breakpoints" tests to accept the output
1112 generated on platforms that do not have hardware watchpoints.
1113
8bfb830f
JB
11142011-02-22 Joel Brobecker <brobecker@adacore.com>
1115
1116 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1117 clean_restart. Be a little stricter in the expected output
1118 for one of the tests. Fix a typo in one of the comments.
1119
c45f3c54
JB
11202011-02-22 Joel Brobecker <brobecker@adacore.com>
1121
1122 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1123 Delete variable binfile, no longer use. Add or modify test
1124 comments to make them unique.
1125
b97c863c
MS
11262011-02-21 Michael Snyder <msnyder@vmware.com>
1127
1128 * Makefile.in: Update for make clean.
1129 * gdb.ada/Makefile.in: Ditto.
1130 * gdb.arch/Makefile.in: Ditto.
1131 * gdb.asm/Makefile.in: Ditto.
1132 * gdb.base/Makefile.in: Ditto.
1133 * gdb.cp/Makefile.in: Ditto.
1134 * gdb.dwarf2/Makefile.in: Ditto.
1135 * gdb.java/Makefile.in: Ditto.
1136 * gdb.mi/Makefile.in: Ditto.
1137 * gdb.modula2/Makefile.in: Ditto.
1138 * gdb.python/Makefile.in: Ditto.
1139 * gdb.server/Makefile.in: Ditto.
1140 * gdb.stabs/Makefile.in: Ditto.
1141 * gdb.threads/Makefile.in: Ditto.
1142 * gdb.trace/Makefile.in: Ditto.
1143
aea5b279
MS
11442011-02-21 Michael Snyder <msnyder@vmware.com>
1145
1146 * gdb.threads/thread-find.exp: Update patterns for changes in
1147 output of "info threads" command.
1148
e3039479
UW
11492011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1150 Ulrich Weigand <uweigand@de.ibm.com>
1151
1152 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1153 (skip_hw_watchpoint_tests): Likewise.
1154 (skip_hw_watchpoint_multi_tests): Likewise.
1155
b800ec70
UW
11562011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1157
1158 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1159 (skip_hw_watchpoint_tests): Likewise.
1160 (skip_hw_watchpoint_multi_tests): Likewise.
1161 (skip_hw_watchpoint_access_tests): Likewise.
1162
1163 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1164 * gdb.base/pr11022.exp: Likewise.
1165 * gdb.base/watch-read.exp: Likewise.
1166 * gdb.base/watch_thread_num.exp: Likewise.
1167 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1168 * gdb.base/watchpoint-hw.exp: Likewise.
1169 * gdb.base/watchpoint.exp: Likewise.
1170 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1171 * gdb.threads/watchthreads-reorder.exp: Likewise.
1172 * gdb.threads/watchthreads.exp: Likewise.
1173 * gdb.threads/watchthreads2.exp: Likewise.
1174
91033e37
JB
11752011-02-21 Joel Brobecker <brobecker@adacore.com>
1176
1177 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1178 the debugger is unable to find the array bounds.
1179
eeaafae2
JK
11802011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1181
1182 * gdb.cp/typedef-operator.exp: New file.
1183 * gdb.cp/typedef-operator.cc: New file.
1184
e338d953
MS
11852011-02-17 Michael Snyder <msnyder@vmware.com>
1186
1187 * gdb.threads/thread-find.exp: Fix regular expressions.
1188
e67ad678
JB
11892011-02-17 Joel Brobecker <brobecker@adacore.com>
1190
1191 * gdb.ada/packed_array: Expand testcase to test printing of
1192 unconstrained packed array.
1193
93084bca
JB
11942011-02-17 Joel Brobecker <brobecker@adacore.com>
1195
1196 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1197
a0c78a73
PA
11982011-02-16 Pedro Alves <pedro@codesourcery.com>
1199
f65d5553 1200 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
1201 (main): Initialize it before collecting, and and clear it
1202 afterwards.
f65d5553
PA
1203 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1204 collecting with '{type} addr', where the addr expression is not an
1205 rvalue.
a0c78a73 1206
3dfcbbd2
KW
12072011-02-16 Ken Werner <ken.werner@de.ibm.com>
1208
1209 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1210 a bool variable. Expect correct OpenCL names for vector types. Use the
1211 uc3 variable name instead of referring to the uchar3 built-in type.
1212 Escape the asterisk at the half pointer test.
1213
08807d5a
PA
12142011-02-16 Pedro Alves <pedro@codesourcery.com>
1215
f65d5553 1216 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
1217 (main): Initialize it before collecting, and and clear it
1218 afterwards.
f65d5553
PA
1219 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1220 collecting overlapping memory ranges.
08807d5a 1221
60f98dde
MS
12222011-02-15 Michael Snyder <msnyder@vmware.com>
1223
1224 * gdb.base/default.exp: Add tests for thread commands.
1225 * gdb.base/help.exp: Add tests for thread commands.
1226 * gdb.threads/thread-find.exp: New test for thread find command.
1227
648cd113
KW
12282011-02-15 Ken Werner <ken.werner@de.ibm.com>
1229
1230 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1231
494e194e
YQ
12322011-02-15 Yao Qi <yao@codesourcery.com>
1233
1234 PR tdep/12352
1235 * gdb.arch/arm-disp-step.S : New test for str instruction.
1236 * gdb.arch/arm-disp-step.exp : Likewise.
1237
d9492458
TJB
12382011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1239
1240 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1241 "vector_register2_vr" test strings. Test the extended floating
1242 point registers (F32~F63).
1243 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1244 IBM XL C compiler. Make the test program use a register provided
1245 by the compiler for the lxvd2x instruction.
1246
8af8e3bc
PA
12472011-02-14 Pedro Alves <pedro@codesourcery.com>
1248
1249 * gdb.trace/unavailable.cc (class Base, class Middle, class
1250 Derived): New types.
1251 (derived_unavail, derived_partial, derived_whole): New globals.
1252 (virtual_partial): New global.
1253 (virtualp): Point at virtual_partial.
1254 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1255 related to unavailable vptr.
1256
1b28d0b3
PA
12572011-02-14 Pedro Alves <pedro@codesourcery.com>
1258
1259 * gdb.trace/unavailable.cc (a, b, c): New globals.
1260 (main): Set and clear them.
1261 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1262 `a' and `c', and check that `b' isn't collected, although `a' and
1263 `c' are.
1264
ec0a52e1
PA
12652011-02-14 Pedro Alves <pedro@codesourcery.com>
1266
1267 * gdb.trace/unavailable.cc (struct Virtual): New.
1268 (virtualp): New global pointer.
1269 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1270 printing a pointer to an object whose type has a vtable, with
1271 print object on.
1272
24e6bcee
PA
12732011-02-14 Pedro Alves <pedro@codesourcery.com>
1274
1275 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1276 value repeat handles unavailableness.
1277
39d37385
PA
12782011-02-14 Pedro Alves <pedro@codesourcery.com>
1279
1280 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1281 tests for building arrays from unavailable values, subscripting
1282 non-memory rvalue unvailable arrays, and accessing fields or
1283 baseclasses of non-lazy unavailable values,
1284 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1285 struct types.
1286 (g_smallstruct, g_smallstruct_b): New globals.
1287
06d72e16
PA
12882011-02-14 Pedro Alves <pedro@codesourcery.com>
1289
1290 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1291
bc9a5551
JK
12922011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1293
1294 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1295 * gdb.cp/overload-const.exp: New file.
1296 * gdb.cp/overload-const.cc: New file.
1297
54fcddd0
UW
12982011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1299
1300 * gdb.opencl/callfuncs.cl: New file.
1301 * gdb.opencl/callfuncs.exp: New test.
1302 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1303
d6dafb7c
UW
13042011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1305
1306 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1307 when computing result.
1308 * gdb.arch/altivec-abi.exp: Update expected results.
1309
a449c2d8
TJB
13102011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1311
1312 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1313 * gdb.base/jit.exp: Likewise.
1314 * gdb.base/pie-execl.exp: Likewise.
1315 * gdb.base/solib-nodir.exp: Likewise.
1316 * gdb.base/solib-overlap.exp: Likewise.
1317
764880b7
PA
13182011-02-07 Pedro Alves <pedro@codesourcery.com>
1319
1320 * gdb.trace/collection.c (global_pieces): New.
1321 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1322 New procedure.
1323 (gdb_trace_collection_test): Call it.
1324
505500db
SW
13252011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1326
1327 * gdb.python/py-evthreads.c: New file.
1328 * gdb.python/py-evthreads.exp: New file.
1329 * gdb.python/py-events.py: New file.
1330 * gdb.python/py-events.exp: New file.
1331 * gdb.python/py-events.c: New file.
1332
385203ed
DD
13332011-02-04 David Daney <ddaney@caviumnetworks.com>
1334
1335 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1336
9011945e
AB
13372011-02-03 Andrew Burgess <aburgess@broadcom.com>
1338
1339 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1340 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1341 boundary between two compilation units.
1342
580688f3
PA
13432011-02-02 Pedro Alves <pedro@codesourcery.com>
1344
1345 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1346 (Virtual): New structs.
1347 (virtual_o, virtual_middle_b): New globals.
1348 * gdb.cp/virtbase.exp: New tests.
1349
d3f0f853
PP
13502011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1351
1352 * gdb.base/jit.exp: New file.
1353 * gdb.base/jit-main.c: New file.
1354 * gdb.base/jit-solib.c: New file.
1355
b2030fb5
UW
13562011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1357
1358 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1359 proceed to initial kernel entry point.
1360 * gdb.opencl/datatypes.exp: Likewise.
1361 * gdb.opencl/operators.exp: Likewise.
1362 * gdb.opencl/vec_comps.exp: Likewise.
1363
2db19d1e
SW
13642011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1365
1366 * gdb.cp/nsnested.cc: New.
1367 * gdb.cp/nsnested.exp: New.
1368 * gdb.cp/nsnoimports.exp: New.
1369 * gdb.cp/nsnoimports.cc: New.
1370
6b0c4c1f
JB
13712011-01-31 Joel Brobecker <brobecker@adacore.com>
1372
1373 * gdb.base/interact.exp: Add extra tests that verify that
1374 the value of the interactive-mode setting does not change
1375 after the script is sourced.
1376
80b23b6a
JK
13772011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1378
1379 * gdb.cp/noparam.exp: New file.
1380 * gdb.cp/noparam.cc: New file.
1381
ffd5ec24
PA
13822011-01-28 Pedro Alves <pedro@codesourcery.com>
1383
1384 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1385 there's no stack or registers.
1386
a81766d8
TT
13872011-01-26 Tom Tromey <tromey@redhat.com>
1388
1389 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1390 space before string output. Add test for "set print pretty off"
1391 case.
1392
585fdaa1
PA
13932011-01-25 Pedro Alves <pedro@codesourcery.com>
1394
1395 * gdb.base/frame-args.exp: Adjust.
1396 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1397 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1398 * gdb.dwarf2/pieces.exp: Adjust.
1399 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1400 * gdb.opt/inline-locals.exp: Adjust.
1401 * gdb.threads/fork-child-threads.exp: Adjust.
1402
d468832a
KW
14032011-01-25 Ken Werner <ken.werner@de.ibm.com>
1404
1405 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1406 OpenCL kernel function. Add a comment as marker. Add address space
1407 qualifiers for the remaining program scope variables.
1408 * gdb.opencl/datatypes.cl: Likewise.
1409 * gdb.opencl/operators.cl: Likewise.
1410 * gdb.opencl/vec_comps.cl: Likewise.
1411 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1412 Add breakpoint at the marker comment.
1413 * gdb.opencl/datatypes.exp: Likewise.
1414 * gdb.opencl/operators.exp: Likewise.
1415 * gdb.opencl/vec_comps.exp: Likewise.
1416
490f124f
PA
14172011-01-24 Pedro Alves <pedro@codesourcery.com>
1418
1419 * gdb.base/printcmds.c (some_struct): New struct and instance.
1420 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1421 procedure.
1422 <global scope>: Call it.
1423
6da78614
KW
14242011-01-21 Ken Werner <ken.werner@de.ibm.com>
1425
1426 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1427 argument to the gdb_compile_opencl_hostapp call.
1428
ec64c9aa
YQ
14292011-01-19 Yao Qi <yao@codesourcery.com>
1430
1431 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1432 positve list.
1433
810cfdbb
YQ
14342011-01-19 Yao Qi <yao@codesourcery.com>
1435
1436 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1437 canonical form.
1438 Remove "xscale-*-*"
1439 * gdb.xml/tdesc-regs.exp: Likewise.
1440 * gdb.python/py-section-script.exp: Replace ARM target triplet
1441 with canonical form.
1442 Match arm*-*-symbianelf*.
1443 * gdb.base/dup-sect.exp: Likewise.
1444 * lib/dwarf.exp: New.
1445 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1446 dwarf2_support.
1447 * gdb.dwarf2/dup-psym.exp: Likewise.
1448 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1449 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1450 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1451 * gdb.dwarf2/dw2-basic.exp: Likewise.
1452 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1453 * gdb.dwarf2/dw2-const.exp: Likewise.
1454 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1455 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1456 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1457 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1458 * gdb.dwarf2/dw2-filename.exp: Likewise.
1459 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1460 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1461 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1462 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1463 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1464 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1465 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1466 * gdb.dwarf2/dw2-producer.exp: Likewise.
1467 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1468 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1469 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1470 * gdb.dwarf2/dw2-strp.exp: Likewise.
1471 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1472 * gdb.dwarf2/implptr.exp: Likewise.
1473 * gdb.dwarf2/mac-fileno.exp: Likewise.
1474 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1475 * gdb.dwarf2/pieces.exp: Likewise.
1476 * gdb.dwarf2/pr11465.exp: Likewise.
1477 * gdb.dwarf2/valop.exp: Likewise.
1478 * gdb.dwarf2/watch-notconst.exp: Likewise.
1479 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1480
4694da01
TT
14812011-01-19 Tom Tromey <tromey@redhat.com>
1482
1483 * gdb.python/py-infthread.exp: Add thread tests.
1484
b075872c
JB
14852011-01-14 Joel Brobecker <brobecker@adacore.com>
1486
1487 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1488
2c3e6e24
JB
14892011-01-14 Joel Brobecker <brobecker@adacore.com>
1490
1491 * gdb.ada/widewide: New testcase.
1492
de8fa76c
JB
14932011-01-13 Joel Brobecker <brobecker@adacore.com>
1494
1495 * gdb.base/interact.exp: New testcase.
1496
1b05df00
TT
14972011-01-12 Tom Tromey <tromey@redhat.com>
1498
1499 * gdb.mi/gdb2549.exp: Update for error message changes.
1500 * gdb.mi/mi-cli.exp: Likewise.
1501 * gdb.mi/mi-disassemble.exp: Likewise.
1502 * gdb.mi/mi-pthreads.exp: Likewise.
1503 * gdb.mi/mi-regs.exp: Likewise.
1504 * gdb.mi/mi-stack.exp: Likewise.
1505 * gdb.mi/mi-var-block.exp: Likewise.
1506 * gdb.mi/mi-var-cmd.exp: Likewise.
1507 * gdb.mi/mi2-cli.exp: Likewise.
1508 * gdb.mi/mi2-disassemble.exp: Likewise.
1509 * gdb.mi/mi2-pthreads.exp: Likewise.
1510 * gdb.mi/mi2-regs.exp: Likewise.
1511 * gdb.mi/mi2-stack.exp: Likewise.
1512 * gdb.mi/mi2-var-block.exp: Likewise.
1513 * gdb.mi/mi2-var-cmd.exp: Likewise.
1514
c2ff108b
JK
15152011-01-12 Andrew Burgess <aburgess@broadcom.com>
1516 Jan Kratochvil <jan.kratochvil@redhat.com>
1517
1518 PR fortran/11104 and DWARF unbound arrays detection.
1519 * gdb.fortran/multi-dim.exp: New file.
1520 * gdb.fortran/multi-dim.f90: New file.
1521
b716877b
AB
15222011-01-12 Andrew Burgess <aburgess@broadcom.com>
1523
1524 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1525 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1526 add new tests for opcode dumping.
1527
6c162d5e
TT
15282011-01-11 Tom Tromey <tromey@redhat.com>
1529
1530 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1531
77b06cd7
TJB
15322010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1533
1534 Convert hardware watchpoints to use breakpoint_ops.
1535 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1536 type is not supported.
1537 * gdb.base/foll-fork.exp: Likewise.
1538 * gdb.base/foll-vfork.exp: Likewise.
1539
f39a75d0
PM
15402011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1541
1542 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1543 Use load_lib gdb-python.exp.
1544 * gdb.python/python.exp: Ditto.
1545 * gdb.python/py-function.exp: Ditto.
1546
fc529d80
AS
15472011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1548
1549 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1550
fb03cb59
JK
15512011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1552
1553 * configure: Regenerate.
1554
d8e22779
TT
15552011-01-06 Tom Tromey <tromey@redhat.com>
1556
1557 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1558
09050809
JB
15592011-01-06 Joel Brobecker <brobecker@adacore.com>
1560
fc529d80
AS
1561 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1562 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1563 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1564 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1565 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1566 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1567 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1568 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1569 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1570 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1571 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1572 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1573 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1574 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1575 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1576 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1577 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1578 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1579 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1580 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1581 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1582 gdb.ada/uninitialized_vars.exp,
1583 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1584 Simplify by using clean_restart.
09050809 1585
8ed5dd9e
JB
15862011-01-06 Joel Brobecker <brobecker@adacore.com>
1587
1588 Add marker to be used as anchor for inserting breakpoints.
1589 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1590 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1591 Likewise.
1592
1593 Remove uses of gdb_start_cmd.
1594 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1595 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1596
1597 Do not run testcase if testing with GDBserver.
1598 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1599 if testing with GDBserver.
1600
368a124f
JB
16012011-01-06 Joel Brobecker <brobecker@adacore.com>
1602
1603 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1604 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1605 copyright header.
1606
44944448
JB
16072011-01-05 Joel Brobecker <brobecker@adacore.com>
1608
1609 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1610 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1611 testsuite/gdb.fortran/complex.f,
1612 testsuite/gdb.fortran/derived-type.f90,
1613 testsuite/gdb.fortran/library-module-lib.f90,
1614 testsuite/gdb.fortran/library-module-main.f90,
1615 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1616 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1617 Copyright year update.
1618
31886ea6
JB
16192011-01-05 Joel Brobecker <brobecker@adacore.com>
1620
1621 * gdb.base/langs1.f: Add copyright header.
1622
ebedcab5
JK
16232011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1624
1625 * gdb.base/morestack.exp: New file.
1626 * gdb.base/morestack.c: New file.
1627
de1eb2f9
JK
16282011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1629
1630 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1631
9e87a409
JB
16322010-12-29 Joel Brobecker <brobecker@adacore.com>
1633
1634 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1635 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1636
720d1a40
JB
16372010-12-29 Joel Brobecker <brobecker@adacore.com>
1638
1639 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1640
a283af87
AS
16412010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1642
5d3d9cba
AS
1643 * gdb.threads/tls.exp: Fix typo.
1644
a283af87
AS
1645 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1646 * gdb.threads/execl.exp: Update.
1647
2a20745c
YQ
16482010-12-23 Yao Qi <yao@codesourcery.com>
1649
1650 * gdb.arch/arm-disp-step.exp: New.
1651 * gdb.arch/arm-disp-step.S: New.
1652
a7658b96
TT
16532010-12-21 Tom Tromey <tromey@redhat.com>
1654
1655 * gdb.threads/execl.exp: Update.
1656 * gdb.threads/linux-dp.exp: Update.
1657 * gdb.threads/manythreads.exp: Update.
1658 * gdb.threads/tls.exp: Update.
1659
5b79abe7
TT
16602010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1661
1662 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1663 (NextOverThrowDerivates) <resumebpt>: New.
1664 (resumebpt_test): New.
1665 (main): Call resumebpt_test.
1666 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1667
0914bcdb
SS
16682010-12-12 Stan Shebs <stan@codesourcery.com>
1669
1670 * gdb.trace/tsv.exp: Test print command on trace state variables.
1671
305aeedc
TT
16722010-12-09 Tom Tromey <tromey@redhat.com>
1673
1674 * gdb.base/interp.exp: Add regression test.
1675
186c406b
TT
16762010-12-09 Tom Tromey <tromey@redhat.com>
1677
1678 * gdb.java/jnpe.java: New file.
1679 * gdb.java/jnpe.exp: New file.
1680 * gdb.cp/nextoverthrow.exp: New file.
1681 * gdb.cp/nextoverthrow.cc: New file.
1682
aae1c79a
DE
16832010-12-07 Doug Evans <dje@google.com>
1684
1685 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1686 of data-directory.
1687 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1688 updated.
1689 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1690
60f98dde 16912010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
1692
1693 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1694 * gdb.base/call-sc.exp: Ditto.
1695 * gdb.base/finish.exp: Ditto.
1696 * gdb.base/return.exp: Ditto.
1697 * gdb.base/return2.exp: Ditto.
1698
5fa290c1
DE
16992010-11-30 Doug Evans <dje@google.com>
1700
1701 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1702 (gdb_expect_list): Fix spelling errors in comments.
1703 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1704 send_gdb/gdb_expect_list where applicable.
1705 * gdb.base/call-ar-st.exp: Ditto.
1706 * gdb.base/funcargs.exp: Ditto.
1707 * gdb.base/gcore.exp: Ditto.
1708 * gdb.base/page.exp: Ditto.
1709 * gdb.base/sigaltstack.exp: Ditto.
1710 * gdb.base/siginfo.exp: Ditto.
1711 * gdb.base/sigstep.exp: Ditto.
1712 * gdb.base/trace-commands.exp: Ditto.
1713
4e04c971
DE
17142010-11-29 Doug Evans <dje@google.com>
1715
1716 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1717 printer-name;subprinter-name.
1718
8cf6f0b1
TT
17192010-11-29 Tom Tromey <tromey@redhat.com>
1720
1721 * gdb.dwarf2/implptr.exp: New file.
1722 * gdb.dwarf2/implptr.c: New file.
1723 * gdb.dwarf2/implptr.S: New file.
1724
94b6973e
PM
17252010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1726
fc529d80 1727 PR python/12199
94b6973e
PM
1728
1729 * gdb.python/py-breakpoint.exp: Test the delete method.
1730
8358c15c
JK
17312010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1732
1733 Fix step_resume_breakpoint unsaved during an infcall.
1734 * gdb.base/step-resume-infcall.exp: New file.
1735 * gdb.base/step-resume-infcall.c: New file.
1736
f6df29bc
TJB
17372010-11-24 Edjunior Machado <emachado@br.ibm.com>
1738
1739 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1740
f2b5a5cf
TJB
17412010-11-24 Edjunior Machado <emachado@br.ibm.com>
1742
1743 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1744 on ppc64's symbols; "finish" and "return" commands must accept to
1745 show the caller line again as well as the line after.
1746 * gdb.asm/powerpc64.inc: New file.
1747
6b0ecdc2
DE
17482010-11-23 Doug Evans <dje@google.com>
1749
1750 * lib/gdb.exp (gdb_test_sequence): New function.
1751 (gdb_expect_list): Add verbose -log call for each pattern.
1752 * gdb.base/signals.exp (test_handle_all_print): Call it.
1753 Reduce timeout increment from 6 minutes to 1 minute.
1754 * gdb.server/ext-run.exp: Call it.
1755
ea976c60
PM
17562010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1757
f2b5a5cf 1758 PR python/12212
ea976c60
PM
1759
1760 * gdb.python/python.exp: Check that selected_thread raises an
1761 error when no inferior is loaded.
1762
c0efa795
JK
17632010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1764
1765 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1766 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1767
ec3aa567
JK
17682010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1769
1770 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1771 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1772
d8249011
DE
17732010-11-18 Doug Evans <dje@google.com>
1774
1775 * gdb.server/ext-run.exp: Fix intermittent failures.
1776
d4eba7d1
NF
17772010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1778
1779 * gdb.stabs/gdb11479.exp: Use runto_main.
1780
b04c2f88
NF
17812010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1782
1783 * gdb.base/break-entry.exp: Skip if using a stub.
1784
ae9d7ce4
NF
17852010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1786
1787 * gdb.python/py-inferior.exp: Pack values in target endianness.
1788
621c8364
TT
17892010-11-12 Tom Tromey <tromey@redhat.com>
1790
1791 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1792 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1793 MemoryError.
1794 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1795 type.
1796 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1797 MemoryError.
1798 (test_subscript_regression): Update exception type.
1799
84f4c1fe
PM
18002010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1801
1802 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1803 breakpoint tests.
1804
a1442452
PA
18052010-11-09 Pedro Alves <pedro@codesourcery.com>
1806
1807 * gdb.base/watchpoint.exp: Test "watch -location" with an
1808 innacessible location.
1809
efd11a33
JK
18102010-11-09 Edjunior Machado <emachado@br.ibm.com>
1811 Luis Machado <luisgpm@br.ibm.com>
1812
1813 * gdb.base/maint.exp: Expect "." prefix.
1814 * gdb.base/nodebug.exp: Expect "." Likewise.
1815 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1816 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1817 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1818 POWER server processors.
1819
aa00efb5
JK
18202010-11-08 Edjunior Machado <emachado@br.ibm.com>
1821 Luis Machado <luisgpm@br.ibm.com>
1822
1823 * gdb.base/break-entry.exp: convert entry point for
1824 ppc64 and expect leading `.' on ppc64's symbols
1825
99e7ae30
DE
18262010-11-05 Doug Evans <dje@google.com>
1827
1828 * gdb.base/help.exp: Update expected output.
b521dba8
DE
1829 * gdb.python/py-param.exp: Delete, contents moved to ...
1830 * gdb.python/py-parameter.exp: ... here. New file.
1831 Add test for gdb.parameter ("directories").
99e7ae30 1832
f4b8a18d
KW
18332010-11-05 Ken Werner <ken.werner@de.ibm.com>
1834
1835 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1836 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1837 * configure: Regenerate.
1838 * gdb.opencl/Makefile.in: New File.
1839 * gdb.opencl/datatypes.exp: Likewise.
1840 * gdb.opencl/datatypes.cl: Likewise.
1841 * gdb.opencl/operators.exp: Likewise.
1842 * gdb.opencl/operators.cl: Likewise.
1843 * gdb.opencl/vec_comps.exp: Likewise.
1844 * gdb.opencl/vec_comps.cl: Likewise.
1845 * gdb.opencl/convs_casts.exp: Likewise.
1846 * gdb.opencl/convs_casts.cl: Likewise.
1847 * lib/opencl.exp: Likewise.
1848 * lib/opencl_hostapp.c: Likewise.
1849 * lib/opencl_kernel.cl: Likewise.
1850 * lib/cl_util.c: Likewise.
1851 * lib/cl_util.c: Likewise.
1852 * gdb.base/default.exp (set language): Add "opencl" to the list of
1853 languages.
1854
a9d5ef47
SW
18552010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1856
1857 * gdb.cp/overload.exp: Added test for inheritance overload.
1858 * gdb.cp/overload.cc: Ditto.
1859 * gdb.cp/oranking.exp: Removed releveant kfails.
1860
03eb1c79
JK
18612010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1862 Joel Brobecker <brobecker@adacore.com>
1863
1864 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1865 check test_compiler_info.
1866
dbc98a8b
KW
18672010-11-03 Ken Werner <ken.werner@de.ibm.com>
1868
1869 * gdb.base/gnu_vector.exp: Adjust expect messages.
1870
120bd360
KW
18712010-11-03 Ken Werner <ken.werner@de.ibm.com>
1872
1873 * gdb.base/gnu_vector.exp: Add unary operator tests.
1874
c37f7098
KW
18752010-11-03 Ken Werner <ken.werner@de.ibm.com>
1876
1877 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1878
7b51bc51
DE
18792010-11-02 Doug Evans <dje@google.com>
1880
1881 * gdb.python/py-pp-maint.c: New file.
1882 * gdb.python/py-pp-maint.exp: New file.
1883 * gdb.python/py-pp-maint.py: New file.
1884
50c97f38
TT
18852010-11-02 Tom Tromey <tromey@redhat.com>
1886
1887 * gdb.base/default.exp: Remove "scheme" from language list.
1888
a289b8f6
JK
18892010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1890
1891 Revert:
1892 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1893 * gdb.threads/sigstep-threads.exp: New file.
1894 * gdb.threads/sigstep-threads.c: New file.
1895
cd017491
MS
18962010-10-20 Michael Snyder <msnyder@vmware.com>
1897
1898 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1899
8e6a5956
UW
19002010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1901
1902 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1903 Skip test completely if gdb,no_hardware_watchpoints.
1904
2c04da0d
UW
19052010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1906
1907 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1908 strict, but do not check for any particular function name within libc.
1909
79afc5ef
SW
19102010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1911
1912 * gdb.cp/smartp.exp: New test.
1913 * gdb.cp/smartp.cc : New test.
1914
026ffab7
SW
19152010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1916
1917 * gdb.cp/converts.exp: Test pointer to bool conversion.
1918 Test pointer to long conversion.
1919 * gdb.cp/oranking.exp: Removed relevant kfail.
1920
3a772aa4
TT
19212010-10-18 Tom Tromey <tromey@redhat.com>
1922
1923 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1924 argument to lazy_string.
1925 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1926 (pp_ls.to_string): Use it.
1927 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1928 Add "estring2" local.
1929
5fc3827b
JK
19302010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 Fix s390x compatibility.
1933 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1934 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1935
8aeb23f3
JK
19362010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1937
1938 * gdb.threads/sigstep-threads.exp: New file.
1939 * gdb.threads/sigstep-threads.c: New file.
1940
c1e56572
JK
19412010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1942
1943 * gdb.base/pie-execl.exp: New file.
1944 * gdb.base/pie-execl.c: New file.
1945
92163a10
JK
19462010-10-13 Doug Evans <dje@google.com>
1947 Jan Kratochvil <jan.kratochvil@redhat.com>
1948
1949 PR exp/12117
1950 * gdb.cp/ptype-cv-cp.cc: New file.
1951 * gdb.cp/ptype-cv-cp.exp: New file.
1952
7062b0a0
SW
19532010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1954
1955 * gdb.cp/converts.cc: New test program.
1956 * gdb.cp/converts.exp: New test.
1957 * gdb.cp/overload.exp: Added test for void* vs int*.
1958 * gdb.cp/overload.exp: Ditto.
1959 * gdb.cp/oranking.exp: Removed related kfail.
1960
0e3509db
DE
19612010-10-13 Doug Evans <dje@google.com>
1962
1963 * lib/gdb-python.exp (gdb_check_python_config): New function.
1964 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1965 * gdb.python/lib-types.cc: New file.
1966 * gdb.python/lib-types.exp: New file.
1967
8dc78533
JK
19682010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1969
1970 * gdb.python/py-error.exp: New file.
1971 * gdb.python/py-error.py: New file.
1972
93c17e06
JK
19732010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1974
1975 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1976 gdb_test_multiple.
1977
d8b34041
JK
19782010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1979
1980 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1981 * gdb.base/prelink.exp: Likewise.
1982 * gdb.base/solib-nodir.exp: Likewise.
1983 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1984 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1985 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1986
e0cc584e
UW
19872010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1988
1989 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1990 for the "info files" test to avoid timeouts on slow machines.
1991
cfc353b1
JK
19922010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1993
1994 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1995 (main): Make openlib dummy call.
1996
d3d7896d
JK
19972010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1998
1999 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2000 * break-interp.exp (reach): Move the core body ...
2001 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2002 (test_ld): Provide always real argument, even to the linker. Replace
2003 dl_main by _dl_debug_state.
2004
5e533c94
JK
20052010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2006
2007 Fix results of prelinked PIEs on ppc*.
2008 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2009 Accept also DISPLACEMENT "PRESENT".
2010 (main): Replace "ZERO" displacements by "PRESENT".
2011
33540610
SW
20122010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2013
2014 * gdb.cp/oranking.exp: New test.
2015 * gdb.cp/oranking.cc: New test program.
2016
3bdf2bbd
KW
20172010-10-08 Ken Werner <ken.werner@de.ibm.com>
2018
2019 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2020 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2021
2f608a3a
KW
20222010-10-06 Ken Werner <ken.werner@de.ibm.com>
2023
2024 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2025 lush, lynx) New constant.
2026 * gdb.base/constvars.exp: Test const array types.
2027 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2028
aa2e2d8d
DE
20292010-10-06 Doug Evans <dje@google.com>
2030
2031 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2032 of syscall staging area.
2033
2844d6b5
KW
20342010-10-06 Ken Werner <ken.werner@de.ibm.com>
2035
2036 * gdb.base/gnu_vector.c: Add variable c4.
2037 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2038 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2039
7d8ac8bb
MR
20402010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2041
2042 * gdb.arch/altivec-abi.exp: Fix a typo.
2043
84a02e58
MR
20442010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2045
2046 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2047 to match a thread ID.
2048
b18e6318
JK
20492010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2050
2051 Fix s390x testcase compatibility.
2052 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2053
a2c09bd0
DE
20542010-10-01 Doug Evans <dje@google.com>
2055
2056 * lib/gdb-python.exp: New file.
2057 * gdb.python/py-block.exp: Use it.
2058 * gdb.python/py-breakpoint.exp: Ditto.
2059 * gdb.python/py-frame.exp: Ditto.
2060 * gdb.python/py-inferior.exp: Ditto.
2061 * gdb.python/py-param.exp: Ditto.
2062 * gdb.python/py-prettyprint.exp: Ditto.
2063 * gdb.python/py-shared.exp: Ditto.
2064 * gdb.python/py-symbol.exp: Ditto.
2065 * gdb.python/py-symtab.exp: Ditto.
2066 * gdb.python/py-type.exp: Ditto.
2067 * gdb.python/py-value.exp: Ditto.
2068 * gdb.python/python.exp: Ditto.
2069
38f12cfc
TT
20702010-09-30 Tom Tromey <tromey@redhat.com>
2071
2072 * gdb.base/anon.exp: New file.
2073 * gdb.base/anon.c: New file.
2074
9ae8282d
TT
20752010-09-30 Tom Tromey <tromey@redhat.com>
2076
2077 * gdb.base/completion.exp: Test completion through anonymous
2078 union.
2079 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2080
e9e07ba6
JK
20812010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2082
2083 Fix printing parameters of inlined functions.
2084 * gdb.dwarf2/dw2-inline-param.exp: New file.
2085 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2086 * gdb.dwarf2/dw2-inline-param.S: New file.
2087
cd2effb2
JK
20882010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2089
2090 PR corefiles/12071.
2091 * gdb.base/corefile.exp (quit with a process, no question: load core)
2092 (quit with a core file): New tests.
2093
bceffbf3
JK
20942010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2095
2096 Fix GDB crash on inferior calls with self-referencing classes.
2097 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2098 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2099 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2100
1736ad11
JK
21012010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2102
2103 Fix lost siginfo_t for inferior calls.
2104 * gdb.base/siginfo-infcall.exp: New file.
2105 * gdb.base/siginfo-infcall.c: New file.
2106
a176ad92
JB
21072010-09-22 Joel Brobecker <brobecker@adacore.com>
2108
2109 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2110
c2b0a229
JK
21112010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2112
2113 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2114 New test.
2115 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2116
e8ae22d1
JB
21172010-09-22 Joel Brobecker <brobecker@adacore.com>
2118
2119 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2120 type of our const type.
2121
ec322823
SW
21222010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2123
2124 * gdb.cp/pr12028.cc: New.
2125 * gdb.cp/pr12028.exp: New.
2126
72929c62
JB
21272010-09-22 Joel Brobecker <brobecker@adacore.com>
2128
2129 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2130
875b4ff5 21312010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2132 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2133
2134 PR mi/11407
2135 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2136 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2137 * gdb.mi/dw2-ref-missing-frame.S New File.
2138 * gdb.mi/dw2-ref-missing-frame.exp New File.
2139
7155d578
TT
21402010-09-14 Tom Tromey <tromey@redhat.com>
2141
2142 PR symtab/8399:
2143 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2144
515ed532
TT
21452010-09-14 Tom Tromey <tromey@redhat.com>
2146
2147 PR exp/11803:
2148 * gdb.threads/tls.exp: Use C++.
2149 (check_thread_local): Use K::another_thread_local.
2150 * gdb.threads/tls.c (class K): New.
2151 (another_thread_local): Now a member of K.
2152 (spin): Update. No longer K&R C.
2153
450ca57c
SW
21542010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2155
2156 * gdb.cp/koenig.cc: created class for testing member lookup.
2157 * gdb.cp/koenig.exp: Added test for member lookup.
2158
dbd492a3
JK
21592010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2160
2161 Fix false FAILs on sourcetree topdir directory containing "kill".
2162 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2163 source line matching regexp.
2164
8d4d924b
JK
21652010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2166
2167 * gdb.python/python.exp (set height 0, collect help from uiout)
2168 (verify help to uiout): New tests.
2169
8e64f2a0
JK
21702010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2171
2172 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2173 is_lp64_target to check 64bit target.
2174
4569eed2
JK
21752010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2176
2177 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2178 (test_ld) <powerpc64-*>: New.
2179
5e1617b1
DJ
21802010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2181
2182 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2183
c767944b
DJ
21842010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2185
2186 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2187 (FunctionArg::method): New function.
2188 (empty, arg): New variables.
2189 (main): Call arg.method.
2190 * gdb.cp/templates.exp (test_template_args): New function.
2191 (do_tests): Call it.
2192
27d3a3fc
UW
21932010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2194
2195 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2196 of "next" to proceed over pthread_exit call.
2197
55b7ce7f
UW
21982010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2199
2200 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2201 "maint print statistics" output to prevent expect timeouts.
2202
809df446
JK
22032010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2204
2205 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2206 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2207 (test_float_rejected): ... here.
2208 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2209 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2210 (test_float_rejected): ... here.
2211 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2212 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2213 (test_float_rejected): ... here.
2214 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2215 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2216 (test_float_rejected): ... here.
2217
8464be76
DJ
22182010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2219
2220 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2221 before disabling hardware watchpoints.
2222 (test_inaccessible_watchpoint): Check that hardware watchpoints
2223 are used. Test for watchpoints on a constant address.
2224
14dba4b4
JK
22252010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2226
2227 * gdb.base/ui-redirect.exp: New file.
2228
3f3540e1 22292010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 2230 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
2231
2232 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2233
0f254bb7
DE
22342010-08-31 Doug Evans <dje@google.com>
2235
2236 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2237
03f17ccf
TT
22382010-08-30 Tom Tromey <tromey@redhat.com>
2239
2240 PR python/11792:
2241 * gdb.python/py-value.exp (test_subscript_regression): Add
2242 dynamic_type test.
2243
640617ad
DJ
22442010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2245
2246 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2247 instead of running to main. Do not test the main function.
2248 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2249 Add new main.
2250
2ed91d1b
PA
22512010-08-26 Pedro Alves <pedro@codesourcery.com>
2252
2253 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2254 one test.
2255
673bfd45
DE
22562010-08-24 Doug Evans <dje@google.com>
2257
2258 PR symtab/11942
2259 * gdb.dwarf2/dw4-sig-types.cc: New file.
2260 * gdb.dwarf2/dw4-sig-types.h: New file.
2261 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2262 * gdb.dwarf2/dw4-sig-types.exp: New file.
2263
f9ffd4bb
TT
22642010-08-23 Tom Tromey <tromey@redhat.com>
2265
2266 PR python/11145:
2267 * gdb.python/py-value.c (Base, Derived): New types.
2268 (base): New global.
2269 * gdb.python/py-value.exp (test_subscript_regression): Add
2270 dynamic_cast test.
2271
d839c8a4
TT
22722010-08-23 Tom Tromey <tromey@redhat.com>
2273
2274 PR python/10676:
2275 * gdb.python/py-type.exp (test_fields): Add tests for type
2276 equality.
2277
702c2711
TT
22782010-08-23 Tom Tromey <tromey@redhat.com>
2279
2280 PR python/11915:
2281 * gdb.python/py-type.exp (test_fields): Add tests for array.
2282
832bafd3
KS
22832010-08-23 Keith Seitz <keiths@redhat.com>
2284
2285 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2286 have any children. Create a new abbrev for it.
2287 Add missing terminal sequence to .debug_abbrev.
2288
c37bf528
KS
22892010-08-20 Keith Seitz <keiths@redhat.com>
2290
2291 PR symtab/11465:
2292 * gdb.dwarf2/pr11465.exp: New test.
2293 * gdb.dwarf2/pr11465.S: New file.
2294 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2295 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2296
4572cbac
TJB
22972010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2298
2299 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2300 registers. Update data sets with the new v2_double element in the
2301 VSX register union. Add vector_register3_vr data set for the AltiVec
2302 registers. Use gdb_test_no_output instead of send_gdb.
2303
e7fbb131
PA
23042010-08-19 Pedro Alves <pedro@codesourcery.com>
2305
2306 * gdb.python/py-shared.exp: New file, factored out from
2307 python.exp.
2308 * gdb.python/py-shared.c: New file.
2309 * gdb.python/py-shared-sl.c: New file.
2310 * gdb.python/python-1.c: New file.
2311 * gdb.python/python-sl.c: Delete.
2312 * gdb.python/python.c: Mention python-1.c.
2313 * gdb.python/python.exp: Move shared library tests to
2314 py-shared.exp.
2315 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2316 (MISCELLANEOUS): New.
2317 (clean mostlyclean): Also remove $MISCELLANEOUS.
2318
d30f5e1f
DE
23192010-08-19 Doug Evans <dje@google.com>
2320
2321 PR exp/11926
2322 * gdb.base/printcmds.exp (test_float_accepted): New function.
2323 Move existing float tests there. Add tests for floats with suffixes.
2324 (test_float_rejected): New function.
2325 * gdb.java/jv-print.exp (test_float_accepted): New function.
2326 (test_float_rejected): New function.
2327 * gdb.objc/print.exp: New file.
2328 * gdb.pascal/print.exp: New file.
2329 * lib/objc.exp: New file.
2330
7b3fd859
PM
23312010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2332
2333 * gdb.base/default.exp (info set): Avoid full buffer error and force
2334 reading up to final gdb prompt.
2335 (show): Likewise.
2336
c92817ce
TT
23372010-08-18 Tom Tromey <tromey@redhat.com>
2338
2339 PR symtab/11919:
2340 * gdb.base/completion.exp: Add test.
2341
f1208f9e
DE
23422010-08-18 Doug Evans <dje@google.com>
2343
2344 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2345 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2346 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2347 Simplify, early exit if runto_main fails.
2348 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2349 (set_lang_fortran): Moved to lib/fortran.exp.
2350 * gdb.fortran/types.exp: load_lib fortran.exp.
2351 (set_lang_fortran): Moved to lib/fortran.exp.
2352 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2353 * gdb.java/jprint.exp (set_lang_java): Ditto.
2354 * gdb.java/jv-exp.exp: load_lib java.exp.
2355 If set_lang_java fails, issue a warning instead of failure to be
2356 consistent with other set_lang_foo uses.
2357 (set_lang_java): Moved to lib/java.exp.
2358 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2359 If set_lang_java fails, issue a warning instead of failure to be
2360 consistent with other set_lang_foo uses.
2361 * gdb.pascal/types.exp: load_lib pascal.exp.
2362 (set_lang_pascal): Moved to lib/pascal.exp.
2363 * lib/fortran.exp: New file.
2364 * lib/java.exp (set_lang_java): New function.
2365 * lib/pascal.exp (set_lang_pascal): New function.
2366
2f06b485
YQ
23672010-08-18 Yao Qi <yao@codesourcery.com
2368
2369 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2370 func_nofb_start and func_loopfb_start, so that address of functions
2371 is equal to these labels on Thumb.
2372
96e25403
YQ
23732010-08-18 Yao Qi <yao@codesourcery.com>
2374
2375 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2376 to reflect latest c source file.
2377
36e6adc4
JK
23782010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2379
2380 * gdb.cp/infcall-dlopen.exp: New file.
2381 * gdb.cp/infcall-dlopen.cc: New file.
2382 * gdb.cp/infcall-dlopen-lib.cc: New file.
2383
f431efe5
PA
23842010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2385 Pedro Alves <pedro@codesourcery.com>
2386
2387 PR breakpoints/11371
2388
2389 * gdb.base/watch-cond-infcall.exp: New file.
2390 * gdb.base/watch-cond-infcall.c: New file.
2391
06a64a0b
TT
23922010-08-16 Tom Tromey <tromey@redhat.com>
2393
2394 * gdb.base/help.exp: Update.
2395 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2396 watchpoint.
2397 (test_watch_location): New proc.
2398 (test_watchpoint_in_big_blob): Delete watchpoint.
2399 * gdb.base/watchpoint.c (func5): New function.
2400 (main): Call it.
2401
70ebf4ed
DE
24022010-08-16 Doug Evans <dje@google.com>
2403
2404 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2405
ca5c20b6
PM
24062010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2407
2408 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2409 tests.
2410
7346b668
KW
24112010-08-11 Ken Werner <ken.werner@de.ibm.com>
2412
2413 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2414 * gdb.base/gnu_vector.c: New File.
2415 * gdb.base/gnu_vector.exp: Likewise.
2416
cb2e07a6
PM
24172010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2418
2419 * gdb.python/python.c: New File.
2420 * gdb.python/python-sl.c: New File.
2421 * gdb.python/python.exp: Test solib_address and decode_line
2422 * functions.
2423
5da1313b
JK
24242010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2425
2426 * gdb.python/python.exp (show height, set height 10)
2427 (verify pagination beforehand, verify pagination beforehand: q)
2428 (gdb.execute does not page, verify pagination afterwards)
2429 (verify pagination afterwards: q): New.
2430
49c3ccf7
DE
24312010-08-02 Doug Evans <dje@google.com>
2432
2433 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2434 because of an older gcc, change test2
2435 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2436 to unsupported.
2437
42c0c4f1
KH
24382010-07-30 Kazu Hirata <kazu@codesourcery.com>
2439
2440 * gdb.base/break-always.exp: Do not expect full paths to file
2441 names.
2442 * gdb.base/commands.exp: Likewise.
2443
d3765805
DE
24442010-07-30 Doug Evans <dje@google.com>
2445
c98ee71b
DE
2446 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2447 xfail them when run with older gccs.
2448
fd961404
DE
2449 * lib/gdb.exp (build_executable): Forward "c++" option to
2450 get_compiler_info.
2451
999adef4
DE
2452 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2453 "python print ttype.template_argument(1)" and
2454 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2455 if using gcc 4.4 or earlier.
2456
d3765805
DE
2457 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2458 attach-to-debugger handling.
2459
1276c759
JK
24602010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2461
2462 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2463 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2464 (main): Use copyreloc.
2465 * gdb.base/prelink.exp (split debug of executable)
2466 (.dynbss vs. .bss address shift): New tests.
2467
88caa9b9
PA
24682010-07-29 Pedro Alves <pedro@codesourcery.com>
2469
2470 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2471 in gdb_test_multiple.
2472
c6f2ac43
PA
24732010-07-29 Pedro Alves <pedro@codesourcery.com>
2474
2475 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2476 environment.
2477
326fd672
TT
24782010-07-28 Tom Tromey <tromey@redhat.com>
2479
2480 PR python/11060:
2481 * gdb.python/py-type.c (Temargs): New template.
2482 (temvar): New variable.
2483 * gdb.python/py-type.exp (test_template): New proc.
2484
3ce3b1ba
PA
24852010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2486
2487 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2488 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2489
34eaf542
TT
24902010-07-28 Tom Tromey <tromey@redhat.com>
2491
2492 PR c++/9946:
2493 * gdb.cp/temargs.exp: New file.
2494 * gdb.cp/temargs.cc: New file.
2495
d41b819e
JK
24962010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2497
2498 * gdb.base/help.exp (help disassemble): Update the content.
2499
26ab7092
JK
25002010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2501
2502 * gdb.threads/ia64-sigill.exp: New file.
2503 * gdb.threads/ia64-sigill.c: New file.
2504
5283e9e1
TT
25052010-07-27 Tom Tromey <tromey@redhat.com>
2506
2507 * gdb.opt/inline-cmds.c (ATTR): New define.
2508 (func1): Use it.
2509 (func2): Likewise.
2510 (func3): Likewise.
2511 (outer_inline1): Likewise.
2512 (outer_inline2): Likewise.
2513 * gdb.opt/inline-bt.c (ATTR): New define.
2514 (func1): Use it.
2515 (func2): Likewise.
2516 * gdb.opt/inline-locals.c (ATTR): New define.
2517 (func1): Use it.
2518 (func2): Likewise.
2519
e992ef73
TT
25202010-07-27 Tom Tromey <tromey@redhat.com>
2521
2522 * gdb.stabs/gdb11479.c (hack): New function.
2523 (test): Use it.
2524 (test2): Use it.
2525 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2526 (int32_search_buf, int64_search_buf): No longer static.
2527 (x): Remove.
2528 * gdb.base/relocate.c (hack): New function.
2529
5374244e
PM
25302010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2531
2532 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2533 * gdb.python/py-value.c (func1): New function.
2534 (func2): Likewise.
2535
a99aee83
CV
25362010-07-26 Corinna Vinschen <vinschen@redhat.com>
2537
2538 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2539 as not to clash with .data section.
2540
a04ba985
JG
25412010-07-26 Jerome Guitton <guitton@adacore.com>
2542
2543 * gdb.base/code_elim.exp: New file.
2544 * gdb.base/code_elim1.c: New file.
2545 * gdb.base/code_elim2.c: New file.
2546
23bd0f7c
PA
25472010-07-21 Pedro Alves <pedro@codesourcery.com>
2548
2549 PR symtab/11827
2550
2551 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2552 (some_volatile_enum): New variable.
2553 * gdb.base/printcmds.exp (test_print_enums): New.
2554 <top level>: Call it.
2555
883df6dd
SW
25562010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2557
2558 * gdb.cp/fpointer.cc: New test.
2559 * gdb.cp/fpointer.exp: New test.
2560
569b05a5
JK
25612010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2562
2563 * gdb.base/solib-nodir.exp: New file.
2564 * lib/gdb.exp (runto): New case for a GDB internal error.
2565
51d7d803
JK
25662010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2567 Ulrich Weigand <uweigand@de.ibm.com>
2568 Tom Tromey <tromey@redhat.com>
2569
2570 * gdb.base/charset-malloc.c: New file.
2571 * gdb.base/charset.c (malloc_stub): New prototype.
2572 (main): Call it instead of malloc itself.
2573 * gdb.base/charset.exp: Use only prepare_for_testing.
2574 (binfile): Remove the variable.
2575
c0edd9ed
JK
25762010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2577
2578 Make core files the process_stratum.
2579 * gdb.base/corefile.exp (run: load core again)
2580 (run: sanity check we see the core file, run: with core)
2581 (run: core file is cleared, attach: load core again)
2582 (attach: sanity check we see the core file, attach: with core)
2583 (attach: core file is cleared): New tests.
2584 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2585
3cbaedff
KW
25862010-07-14 Ken Werner <ken.werner@de.ibm.com>
2587
2588 * gdb.arch/altivec-abi.exp: New tests.
2589
91158a56
TT
25902010-07-13 Tom Tromey <tromey@redhat.com>
2591
2592 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2593 (main): Use it.
2594 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2595
0f5238ed
TT
25962010-07-13 Tom Tromey <tromey@redhat.com>
2597
2598 * gdb.base/label.exp: New file.
2599 * gdb.base/label.c: New file.
2600
add265ae
L
26012010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2602 H.J. Lu <hongjiu.lu@intel.com>
2603
2604 * lib/gdb.exp (is_ilp32_target): New.
2605 (is_lp64_target): Likewise.
2606
2607 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2608 target.
2609 * gdb.arch/amd64-disp-step.exp: Likewise.
2610 * gdb.arch/amd64-dword.exp: Likewise.
2611 * gdb.arch/amd64-i386-address.exp: Likewise.
2612 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 2613
add265ae
L
2614 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2615 target.
2616 * gdb.arch/i386-bp_permanent.exp: Likewise.
2617 * gdb.arch/i386-byte.exp: Likewise.
2618 * gdb.arch/i386-disp-step.exp: Likewise.
2619 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2620 * gdb.arch/i386-prologue.exp: Likewise.
2621 * gdb.arch/i386-size-overlap.exp: Likewise.
2622 * gdb.arch/i386-size.exp: Likewise.
2623 * gdb.arch/i386-sse.exp: Likewise.
2624 * gdb.arch/i386-unwind.exp: Likewise.
2625 * gdb.arch/i386-word.exp: Likewise.
2626
2627 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2628 test only when building 64-bit executables. Do not hard-code
2629 -m64 option.
2630
2dfb8c17
DE
26312010-07-07 Doug Evans <dje@google.com>
2632
2633 * lib/gdb.exp (gdb_test_list_exact): New function.
2634 * gdb.base/default.exp (show convenience): Call it, add tests for
2635 $_sdata = void, $_thread = 0.
2636
4e5799b6
JK
26372010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2638 Joel Brobecker <brobecker@adacore.com>
2639
2640 Fix re-run of PIE executable, PR shlibs/11776.
2641 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2642 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2643 and re-"run" of the inferior.
2644
1a219cc7
JK
26452010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2646 Joel Brobecker <brobecker@adacore.com>
2647
2648 Cope with missing /usr/sbin/prelink.
2649 * lib/prelink-support.exp (prelink_no):
2650 <result == 1 && $output is "no such file or directory">: New.
2651 (prelink_yes): Likewise. Return on failed prelink_no.
2652
5e3b36f8
JK
26532010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2654 Joel Brobecker <brobecker@adacore.com>
2655
2656 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2657 build_executable by build_executable_own_libs. Replace "prelink -R"
2658 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2659 change.
2660 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2661 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2662 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2663 Replace build_executable by build_executable_own_libs's function
2664 build_executable_own_libs.
2665 (prelinkNO): Create new stub to call prelink_no.
2666 (prelinkYES): Create new stub to call prelink_yes.
2667 (test_attach): Rename calls of copy to file_copy.
2668 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2669 (copy): Move to ...
2670 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2671 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2672 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2673 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2674 special flags by gdb_compile_shlib. Replace second gdb_compile by
2675 build_executable_own_libs. Replace "prelink -R" execution by a call of
2676 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2677 a second call of prelink_yes. Replace restart commands by
2678 clean_restart.
2679 (prelink): Rename to ...
2680 (seen displacement message): ... this test. Extend its expectation
2681 strictness.
2682
86e4bafc
JK
26832010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2684
2685 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2686 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2687 displacement message exactly once.
2688
3cd07d20
JK
26892010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2690 Joel Brobecker <brobecker@adacore.com>
2691
2692 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2693 its restore after the <$relink_args != ""> loop. new comment.
2694
0a1e94c7
JK
26952010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2696 Joel Brobecker <brobecker@adacore.com>
2697
2698 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2699 code for it. New variable relink_args.
2700 (prelinkYES): Call prelinkNO.
2701 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2702 in such case. Move the core code to ...
2703 (test_attach_gdb): ... a new function. Send GDB command "file".
2704 Extend expected "Attaching to " string.
2705
2f70bcfb
TT
27062010-07-02 Tom Tromey <tromey@redhat.com>
2707
2708 * gdb.base/bitops.exp: Remove extraneous "pass".
2709
a17ac5b0
TT
27102010-07-02 Ken Werner <ken.werner@de.ibm.com>
2711
2712 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2713
dc10affe
PA
27142010-07-01 Pedro Alves <pedro@codesourcery.com>
2715
d41c0fc8
PA
2716 * gdb.base/help.exp: Adjust expected output.
2717
27182010-07-01 Pedro Alves <pedro@codesourcery.com>
2719
2720 * gdb.base/help.exp: Adjust expected output.
dc10affe 2721
0a600c36
JK
27222010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2723
2724 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2725 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2726 c++/11702.
2727
37cc8bfe
JK
27282010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2729 Doug Evans <dje@google.com>
2730
2731 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2732 add .dynamic entry'.
2733
254e6b9e
DE
27342010-06-29 Doug Evans <dje@google.com>
2735
2736 Test PR c++/11702.
2737 * gdb.cp/m-static.exp: Add testcase.
2738 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2739
595939de 27402010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
2741 Tom Tromey <tromey@redhat.com>
2742 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
2743
2744 * gdb.python/py-inferior.c: New File.
2745 * gdb.python/py-infthread.c: New File.
2746 * gdb.python/py-inferior.exp: New File.
2747 * gdb.python/py-infthread.exp: New File.
2748
98751a41
JK
27492010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2750
2751 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2752 (ptype ::C::OtherFileClass typedefs): New.
2753 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2754 (C::OtherFileClass::cOtherFileClassVar2): New.
2755 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2756 cOtherFileClassVar2.
2757 (C::cOtherFileType2, C::cOtherFileVar2): New.
2758 (C::cOtherFileVar_use): use also cOtherFileVar2.
2759 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2760
41f62f39
JK
27612010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2762
2763 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2764 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2765 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2766 (print ::C::cOtherFileVar)
2767 (whatis C::OtherFileClass::cOtherFileClassType)
2768 (whatis ::C::OtherFileClass::cOtherFileClassType)
2769 (print C::OtherFileClass::cOtherFileClassVar)
2770 (print ::cOtherFileClassVar)
2771 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2772 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2773 trailing content.
2774 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2775 (C::OtherFileClass::cOtherFileClassVar)
2776 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2777 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2778
af53d231
JK
27792010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2780
2781 Test PR c++/11703 and PR gdb/1448.
2782 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2783 gdb/1448.
2784
9655fd1a
JK
27852010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2786
2787 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2788 (main) <rtti_data>: New.
2789 * gdb.cp/virtbase.exp (print rtti_data): New.
2790
824cc8dd
JK
27912010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2792 Joel Brobecker <brobecker@adacore.com>
2793
2794 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2795
6036c742
JK
27962010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2797
2798 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2799
de6a0421
DE
28002010-06-28 Doug Evans <dje@google.com>
2801
2802 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2803
b2dae948
DE
28042010-06-27 Doug Evans <dje@google.com>
2805
2806 * gdb.cp/m-static.exp: Update expected test output.
2807
0f3bb72e
PH
28082010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2809
889bf7c5
PA
2810 * gdb.gdb/selftest.exp: Adjust expected message for
2811 capturing start-up runtime.
0f3bb72e 2812
bc9f0842
TT
28132010-06-25 Tom Tromey <tromey@redhat.com>
2814
2815 PR python/10808:
2816 * gdb.python/python.exp: Add new tests.
2817
099ef718
SW
28182010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2819
2820 * gdb.cp/operator.cc: Created an import loop.
2821 * gdb.cp/operator.exp: Added testcase for import loop.
2822
5868a632
JK
28232010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2824
2825 Test PR python/11407.
2826 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2827 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2828 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2829 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2830 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2831 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2832 binfile. Call gdb_compile with clean_restart twice.
2833 (func_nofb print, func_nofb backtrace, func_loopfb print)
2834 (func_loopfb backtrace): New.
2835
af76db58
JK
28362010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2837
2838 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2839 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2840 by a hand made one.
2841 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2842 i?86 requirement. Remove variables srcfile and binfile. New variable
2843 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2844
f2c7657e
UW
28452010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2846
2847 * gdb.cell/dwarfaddr.exp: New file.
2848 * gdb.cell/dwarfaddr.S: New file.
2849
628fe4e4
JK
28502010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2851
2852 Test PR 9436.
2853 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2854
f1421989
HZ
28552010-06-24 Hui Zhu <teawater@gmail.com>
2856
2857 * gdb.base/eval.exp: New file.
2858
d03285ec
UW
28592010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2860
2861 * gdb.cell/fork.exp: New file.
2862 * gdb.cell/fork.c: Likewise.
2863 * gdb.cell/fork-spu.c: Likewise.
2864
41b2c92d
PM
28652010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2866
2867 * lib/gdb.exp (banned_variables_traced): New global variable.
2868 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2869 (gdb_init): Use `trace add variable' instead of obsolete
2870 `trace variable'.
2871
d5bc977f
DE
28722010-06-21 Doug Evans <dje@google.com>
2873
2874 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2875
d2ed6730
UW
28762010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2877
2878 * gdb.arch/spu-ls.exp: New file.
2879 * gdb.arch/spu-ls.c: Likewise.
2880
6aed2dbc
SS
28812010-06-18 Stan Shebs <stan@codesourcery.com>
2882
2883 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2884
e0756905
UW
28852010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2886
2887 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2888 * gdb.base/watch-cond.exp: Likewise.
2889 * gdb.python/py-breakpoint.exp: Likewise.
2890
d8053d4d
PA
28912010-06-18 Pedro Alves <pedro@codesourcery.com>
2892
2893 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2894 clean_restart, make sure every test has a distinct message, and
2895 that messages don't include the executable' full path.
2896
81ce510c
DE
28972010-06-17 Doug Evans <dje@google.com>
2898
2899 * gdb.arch/i386-size.exp: Updated expected output for
2900 DISASSEMBLY_OMIT_FNAME.
2901
65d79d4b
SDJ
29022010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2903 Sergio Durigan Junior <sergiodj@redhat.com>
2904
2905 * gdb.base/watch-notconst.c: New file.
2906 * gdb.base/watch-notconst.S: New file.
2907 * gdb.base/watch-notconst2.c: New file.
2908 * gdb.base/watch-notconst2.S: New file.
2909 * gdb.base/watch-notconst.exp: New file.
2910 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2911 (func4): Add operations on `global_ptr_ptr'.
2912 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2913 routine to test watchpoints created with a constant expression.
2914 (test_inaccessible_watchpoint): Include tests for watchpoints
2915 created with a constant expression.
2916
df0f4836
KB
29172010-06-14 Kevin Buettner <kevinb@redhat.com>
2918
2919 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2920 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2921 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2922 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2923 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2924 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2925 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2926 of `_start'.
2927
b769def5
UW
29282010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2929
2930 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2931 not supported on the target.
2932 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2933 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2934 * gdb.mi/mi-nsintrall.exp: Likewise.
2935 * gdb.mi/mi-nsmoribund.exp: Likewise.
2936 * gdb.mi/mi-nsthrexec.exp: Likewise.
2937
d914c394
SS
29382010-06-11 Stan Shebs <stan@codesourcery.com>
2939
2940 * gdb.base/permissions.exp: New file.
2941
29422010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
2943
2944 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2945 does not support ELF executable class.
2946
f3ce5b9c
UW
29472010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2948
2949 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2950
8e46892c
JK
29512010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2952
2953 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2954 (runto): Catch "The target does not support running in non-stop mode.".
2955
6cc55c64
MS
29562010-06-11 Michael Snyder <msnyder@vmware.com>
2957
2958 * gdb.base/setshow.exp (set language asm): Don't use
2959 gdb_test_no_output, fails on some targets.
2960
caddefa4
UW
29612010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2962
2963 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2964 * gdb.cp/pr9167.exp: Likewise.
2965
468b1aa7
UW
29662010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2967
2968 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2969
5c3552dc
UW
29702010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2971
2972 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2973
02e6fe6a
UW
29742010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2975
2976 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2977
0e03807e
TT
29782010-06-11 Tom Tromey <tromey@redhat.com>
2979
2980 PR gdb/9977, PR exp/11636::
2981 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2982 (pieces_test_f6): Update expected output.
2983
2bdf28a0
JK
29842010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2985
2986 * gdb.base/moribund-step.exp: New.
2987
f6978de9
MS
29882010-06-08 Michael Snyder <msnyder@vmware.com>
2989
2990 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 2991 * gdb.ada/boolean_expr.exp:
f6978de9
MS
2992 * gdb.ada/frame_args.exp: Ditto.
2993 * gdb.ada/lang_switch.exp: Ditto.
2994 * gdb.ada/ptype_arith_binop.exp: Ditto.
2995 * gdb.ada/ref_param.exp: Ditto.
2996 * gdb.ada/type_coercion.exp:Ditto.
2997
2998 * gdb.asm/asm-source.exp: Ditto.
2999
3000 * gdb.base/attach.exp: Ditto.
3001 * gdb.base/bitfields2.exp: Ditto.
3002 * gdb.base/call-signal-resume.exp: Ditto.
3003 * gdb.base/callfuncs.exp: Ditto.
3004 * gdb.base/commands.exp: Ditto.
3005 * gdb.base/dbx.exp: Ditto.
3006 * gdb.base/default.exp: Ditto.
3007 * gdb.base/dump.exp: Ditto.
3008 * gdb.base/exprs.exp: Ditto.
3009 * gdb.base/freebpcmd.exp: Ditto.
3010 * gdb.base/interrupt.exp: Ditto.
3011 * gdb.base/list.exp: Ditto.
3012 * gdb.base/long_long.exp: Ditto.
3013 * gdb.base/maint.exp: Ditto.
3014 * gdb.base/ptype.exp: Ditto.
3015 * gdb.base/return.exp: Ditto.
3016 * gdb.base/setshow.exp: Ditto.
3017 * gdb.base/sigbpt.exp: Ditto.
3018 * gdb.base/sigrepeat.exp: Ditto.
3019
3020 * gdb.cp/classes.exp: Ditto.
3021
3022 * gdb.dwarf2/dw2-restore.exp: Ditto.
3023
3024 * gdb.gdb/selftest.exp: Ditto.
3025
3026 * gdb.multi/base.exp: Ditto.
3027 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3028
3029 * gdb.python/py-block.exp: Ditto.
3030 * gdb.python/py-prettyprint.exp: Ditto.
3031 * gdb.python/py-template.exp: Ditto.
3032
3033 * gdb.server/ext-attach.exp: Ditto.
3034 * gdb.server/ext-run.exp: Ditto.
3035 * gdb.server/server-mon.exp: Ditto.
3036
3037 * gdb.threads/fork-thread-pending.exp: Ditto.
3038 * gdb.threads/hand-call-in-threads.exp: Ditto.
3039 * gdb.threads/interrupted-hand-call.exp: Ditto.
3040 * gdb.threads/linux-dp.exp: Ditto.
3041 * gdb.threads/manythreads.exp: Ditto.
3042 * gdb.threads/print-threads.exp: Ditto.
3043 * gdb.threads/pthreads.exp: Ditto.
3044 * gdb.threads/schedlock.exp: Ditto.
3045 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3046 * gdb.threads/threadapply.exp: Ditto.
3047
de7ff789
MS
30482010-06-08 Michael Snyder <msnyder@vmware.com>
3049
889bf7c5 3050 * gdb.ada/exec_changed.exp:
de7ff789
MS
3051 Use ".*" instead of "" as wildcard regexp.
3052
3053 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3054 * gdb.base/call-ar-st.exp: Ditto.
3055 * gdb.base/checkpoint.exp: Ditto.
3056 * gdb.base/default.exp: Ditto.
3057 * gdb.base/dump.exp: Ditto.
3058 * gdb.base/ending-run.exp: Ditto.
3059 * gdb.base/fileio.exp: Ditto.
3060 * gdb.base/miscexprs.exp: Ditto.
3061 * gdb.base/pointers.exp: Ditto.
3062 * gdb.base/readline.exp: Ditto.
3063 * gdb.base/reread.exp: Ditto.
3064 * gdb.base/restore.exp: Ditto.
3065 * gdb.base/shlib-call.exp: Ditto.
3066 * gdb.base/valgrind-db-attach.exp: Ditto.
3067 * gdb.base/volatile.exp: Ditto.
3068 * gdb.base/watchpoints.exp: Ditto.
3069
3070 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3071
3072 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3073 * gdb.python/py-value.exp: Ditto.
3074
3075 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3076 * gdb.trace/circ.exp: Ditto.
3077 * gdb.trace/collection.exp: Ditto.
3078 * gdb.trace/packetlen.exp: Ditto.
3079 * gdb.trace/passc-dyn.exp: Ditto.
3080 * gdb.trace/report.exp: Ditto.
3081 * gdb.trace/tfile.exp: Ditto.
3082 * gdb.trace/tfind.exp: Ditto.
3083 * gdb.trace/while-dyn.exp: Ditto.
3084
3bebe2f2
JK
30852010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3086
3087 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3088
5c631832
JK
30892010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3090
3091 Test PR 10640.
3092 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3093
4c3376c8
SW
30942010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3095
3096 * gdb.cp/koenig.exp: Test for ADL operators.
3097 * gdb.cp/koenig.cc: Added ADL operators.
3098 * gdb.cp/operator.exp: New test.
3099 * gdb.cp/operator.cc: New test.
3100
dc226d5a
MS
31012010-06-04 Michael Snyder <msnyder@vmware.com>
3102
dfb88a23
MS
3103 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3104 * gdb.base/pending.exp: Ditto.
f7ae76b3 3105
dc226d5a
MS
3106 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3107
967cf477
DE
31082010-06-04 Doug Evans <dje@google.com>
3109
3110 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3111 disabled printers.
3112 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3113 (enable_lookup_function): New function.
3114
eb801841
TT
31152010-06-04 Tom Tromey <tromey@redhat.com>
3116
3117 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3118 of hash and id.
3119
38979823
JK
31202010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3121
3122 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3123 newline.
3124 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3125 (empty verbose non-noisy clear, empty verbose noisy clear)
3126 (empty non-verbose noisy clear): Likewise.
3127
35ec993f
MS
31282010-06-03 Michael Snyder <msnyder@vmware.com>
3129
3130 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3131 * gdb.base/display.exp: Ditto.
3132 * gdb.base/find.exp: Ditto.
3133 * gdb.base/ifelse.exp: Ditto.
3134 * gdb.base/multi-forks.exp: Ditto.
3135 * gdb.base/recurse.exp: Ditto.
3136 * gdb.base/setshow.exp: Ditto.
3137 * gdb.base/value-double-free.exp: Ditto.
3138 * gdb.base/watch-vfork.exp: Ditto.
3139 * gdb.base/watch_thread_num.exp: Ditto.
3140 * gdb.base/watchpoint-solib.exp: Ditto.
3141 * gdb.base/watchpoint.exp: Ditto.
3142 * gdb.base/watchpoints.exp: Ditto.
3143
3144 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3145 * gdb.cp/overload.exp: Ditto.
3146 * gdb.cp/virtfunc.exp: Ditto.
3147
3148 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3149
889bf7c5 3150 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3151 Replace gdb_test with gdb_test_no_output.
3152
889bf7c5 3153 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3154 Replace gdb_test with gdb_test_no_output.
3155 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3156 * gdb.threads/watchthreads.exp: Ditto.
3157 * gdb.threads/watchthreads2.exp: Ditto.
3158
3159 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3160 * gdb.trace/tfind.exp: Ditto.
3161
c22decce
JB
31622010-06-03 Joel Brobecker <brobecker@adacore.com>
3163
3164 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3165 successful test if message is the empty string.
3166
fd5700c7
JK
31672010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3168
3169 * gdb.fortran/module.exp (stopped language detection): New test.
3170
f55ee35c
JK
31712010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3172
3173 Support DW_TAG_module as separate namespaces.
3174 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3175 gdb.fortran/library-module-lib.f90: New.
3176 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3177 (print i): Remove.
3178 (continue to breakpoint: i-is-1, print var_i value 1)
3179 (continue to breakpoint: i-is-2, print var_i value 2)
3180 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3181 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3182 (complete `modmany, complete `modmany`, complete `modmany`var)
3183 (show language, setting breakpoint at module): New tests.
3184 * gdb.fortran/module.f90 (module mod): Remove.
3185 (module mod1, module mod2, module modmany, subroutine sub1)
3186 (subroutine sub2, program module): New.
3187
b8e8282f
JK
31882010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3189
3190 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3191 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
3192 * gdb.cp/anon-union.exp (pass): Rename to ...
3193 (print z 2): ... here.
b8e8282f 3194
019ebafc
MS
31952010-06-02 Michael Snyder <msnyder@vmware.com>
3196
e68d8fd4
MS
3197 * gdb.trace/actions.exp: Use gdb_test_no_output.
3198 * gdb.trace/circ.exp: Ditto.
3199 * gdb.trace/packetlen.exp: Ditto.
3200 * gdb.trace/save-trace.exp: Ditto.
3201 * gdb.trace/tracecmd.exp: Ditto.
3202 * gdb.trace/tsv.exp: Ditto.
3203
12b5d08a
MS
3204 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3205 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3206 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3207 * gdb.threads/manythreads.exp: Ditto.
3208 * gdb.threads/print-threads.exp: Ditto.
3209 * gdb.threads/pthreads.exp: Ditto.
3210 * gdb.threads/schedlock.exp: Ditto.
3211 * gdb.threads/staticthreads.exp: Ditto.
3212 * gdb.threads/thread-specific.exp: Ditto.
3213 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3214 * gdb.threads/threadapply.exp: Ditto.
3215 * gdb.threads/watchthreads.exp: Ditto.
3216 * gdb.threads/watchthreads2.exp: Ditto.
3217
89493308
MS
3218 * gdb.python/py-block.exp: Use gdb_test_no_output.
3219 * gdb.python/py-prettyprint.exp: Ditto.
3220 * gdb.python/py-template.exp: Ditto.
3221 * gdb.python/py-value.exp: Ditto.
3222
3223 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3224 * gdb.reverse/watch-reverse.exp: Ditto.
3225
3226 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3227 * gdb.server/ext-run.exp: Ditto.
3228
019ebafc
MS
3229 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3230 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3231 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3232 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3233 * gdb.dwarf2/dw2-producer.exp: Ditto.
3234 * gdb.dwarf2/mac-fileno.exp: Ditto.
3235
3236 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3237 * gdb.gdb/selftest.exp: Ditto.
3238
3239 * gdb.multi/base.exp: Use gdb_test_no_output.
3240
3241 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3242
3e0ca3a5
JK
32432010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3244
3245 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3246
9db70545
MS
32472010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3248
a8d52276
MS
3249 * gdb.cp/class2.exp: Use gdb_test_no_output.
3250 * gdb.cp/classes.exp: Ditto.
3251 * gdb.cp/extern-c.exp: Ditto.
3252 * gdb.cp/inherit.exp: Ditto.
3253 * gdb.cp/maint.exp: Ditto.
3254 * gdb.cp/mb-inline.exp: Ditto.
3255 * gdb.cp/mb-templates.exp: Ditto.
3256 * gdb.cp/method2.exp: Ditto.
3257 * gdb.cp/misc.exp: Ditto.
3258 * gdb.cp/ovldbreak.exp: Ditto.
3259 * gdb.cp/punctuator.exp: Ditto.
3260 * gdb.cp/templates.exp: Ditto.
3261 * gdb.cp/virtbase.exp: Ditto.
3262
889bf7c5 3263 * gdb.threads/attach-stopped.exp:
9db70545 3264 Replace uses of send_gdb / gdb_expect.
889bf7c5 3265 * gdb.threads/attachstop-mt.exp:
9db70545 3266 Replace uses of send_gdb / gdb_expect.
889bf7c5 3267 * gdb.threads/gcore-thread.exp:
9db70545 3268 Replace uses of send_gdb / gdb_expect.
889bf7c5 3269 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
3270 Replace uses of send_gdb / gdb_expect.
3271 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3272 * gdb.threads/print-threads.exp:
9db70545
MS
3273 Replace uses of send_gdb / gdb_expect.
3274 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3275 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3276 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3277
3278 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3279 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3280 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3281 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3282 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3283 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3284 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3285 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3286 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3287 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3288 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3289
359cc68c
JK
32902010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3291
3292 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3293
7d3fe98e
SW
32942010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3295
3296 * gdb.cp/koenig.exp: Added new test case.
3297 * gdb.cp/koenig.cc: Ditto.
3298
27d3a1a2
MS
32992010-06-01 Michael Snyder <msnyder@vmware.com>
3300
3301 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3302 * gdb.base/arrayidx.exp: Ditto.
3303 * gdb.base/attach.exp: Ditto.
3304 * gdb.base/auxv.exp: Ditto.
3305 * gdb.base/bigcre.exp: Ditto.
3306 * gdb.base/break-always.exp: Ditto.
3307 * gdb.base/break-interp.exp: Ditto.
3308 * gdb.base/break.exp: Ditto.
3309 * gdb.base/breakpoint-shadow.exp: Ditto.
3310 * gdb.base/call-ar-st.exp: Ditto.
3311 * gdb.base/call-sc.exp: Ditto.
3312 * gdb.base/call-signal-resume.exp: Ditto.
3313 * gdb.base/callfuncs.exp: Ditto.
3314 * gdb.base/catch-syscall.exp: Ditto.
3315 * gdb.base/charset.exp: Ditto.
3316 * gdb.base/code-expr.exp: Ditto.
3317 * gdb.base/commands.exp: Ditto.
3318 * gdb.base/cond-expr.exp: Ditto.
3319 * gdb.base/condbreak.exp: Ditto.
3320 * gdb.base/cursal.exp: Ditto.
3321 * gdb.base/cvexpr.exp: Ditto.
3322 * gdb.base/default.exp: Ditto.
3323 * gdb.base/del.exp: Ditto.
3324 * gdb.base/detach.exp: Ditto.
3325 * gdb.base/display.exp: Ditto.
3326 * gdb.base/ena-dis-br.exp: Ditto.
3327 * gdb.base/eval-skip.exp: Ditto.
3328 * gdb.base/foll-fork.exp: Ditto.
3329 * gdb.base/foll-vfork.exp: Ditto.
3330 * gdb.base/frame-args.exp: Ditto.
3331 * gdb.base/funcargs.exp: Ditto.
3332 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3333 * gdb.base/gdbvars.exp: Ditto.
3334 * gdb.base/help.exp: Ditto.
3335 * gdb.base/ifelse.exp: Ditto.
3336 * gdb.base/included.exp: Ditto.
3337 * gdb.base/list.exp: Ditto.
3338 * gdb.base/macscp.exp: Ditto.
3339 * gdb.base/maint.exp: Ditto.
3340 * gdb.base/multi-fork.exp: Ditto.
3341 * gdb.base/overlays.exp: Ditto.
3342 * gdb.base/page.exp: Ditto.
3343 * gdb.base/pending.exp: Ditto.
3344 * gdb.base/pointers.exp: Ditto.
3345 * gdb.base/pr11022.exp: Ditto.
3346 * gdb.base/prelink.exp: Ditto.
3347 * gdb.base/printcmds.exp: Ditto.
3348 * gdb.base/psymtab.exp: Ditto.
3349 * gdb.base/randomize.exp: Ditto.
3350 * gdb.base/relational.exp: Ditto.
3351 * gdb.base/relocate.exp: Ditto.
3352 * gdb.base/remote.exp: Ditto.
3353 * gdb.base/sepdebug.exp: Ditto.
3354 * gdb.base/set-lang-auto.exp: Ditto.
3355 * gdb.base/setshow.exp: Ditto.
3356 * gdb.base/setvar.exp: Ditto.
3357 * gdb.base/signals.exp: Ditto.
3358 * gdb.base/signull.exp: Ditto.
3359 * gdb.base/sigstep.exp: Ditto.
3360 * gdb.base/sizeof.exp: Ditto.
3361 * gdb.base/solib-disc.exp: Ditto.
3362 * gdb.base/store.exp: Ditto.
3363 * gdb.base/structs.exp: Ditto.
3364 * gdb.base/structs2.exp: Ditto.
3365 * gdb.base/subst.exp: Ditto.
3366 * gdb.base/term.exp: Ditto.
3367 * gdb.base/trace-commands.exp: Ditto.
3368 * gdb.base/unwindonsignal.exp: Ditto.
3369 * gdb.base/valgrind-db-attach.exp: Ditto.
3370 * gdb.base/varargs.exp: Ditto.
3371 * gdb.base/watch-cond.exp: Ditto.
3372 * gdb.base/watch_thread_num.exp: Ditto.
3373 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3374 * gdb.base/watchpoint.exp: Ditto.
3375 * gdb.base/whatis-exp.exp: Ditto.
3376
f8d3bf8f
MS
33772010-06-01 Michael Snyder <msnyder@vmware.com>
3378
3379 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3380 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3381 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3382 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3383 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3384 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3385 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3386 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3387 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3388 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3389 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3390 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3391 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3392 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3393 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3394
3f9e0d32
JK
33952010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3396
3397 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3398 trailing newline.
3399 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3400 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3401 (p *args): ... here and remove excessive trailing newline.
3402
f629457d
JB
34032010-05-31 Joel Brobecker <brobecker@adacore.com>
3404
3405 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3406
09eef106
JK
34072010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3408
3409 Accept the new Linux kernel "t (tracing stop)" string.
3410 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3411 Update comment.
3412 (state_wait) <T (tracing stop)>: New.
3413 (main): Update the state_wait expect string.
3414
94f31136
PA
34152010-05-28 Pedro Alves <pedro@codesourcery.com>
3416
3417 * limits.c, limits.exp: Delete files.
3418 * Makefile.in (clean mostlyclean): Adjust.
3419 * tracecmd.exp: Adjust.
3420
096554ab
JK
34212010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3422
3423 * gdb.base/tui-layout.exp: New.
3424
27d3a1a2 34252010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 3426
889bf7c5 3427 * gdb.reverse/break-precsave.exp:
bcd2dc50 3428 Replace uses of send_gdb / gdb_expect.
889bf7c5 3429 * gdb.reverse/break-reverse.exp:
bcd2dc50 3430 Replace uses of send_gdb / gdb_expect.
889bf7c5 3431 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 3432 Replace uses of send_gdb / gdb_expect.
889bf7c5 3433 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 3434 Replace uses of send_gdb / gdb_expect.
889bf7c5 3435 * gdb.reverse/finish-precsave.exp:
bcd2dc50 3436 Replace uses of send_gdb / gdb_expect.
889bf7c5 3437 * gdb.reverse/finish-reverse.exp:
bcd2dc50 3438 Replace uses of send_gdb / gdb_expect.
889bf7c5 3439 * gdb.reverse/i386-precsave.exp:
bcd2dc50 3440 Replace uses of send_gdb / gdb_expect.
889bf7c5 3441 * gdb.reverse/i386-reverse.exp:
bcd2dc50 3442 Replace uses of send_gdb / gdb_expect.
889bf7c5 3443 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 3444 Replace uses of send_gdb / gdb_expect.
889bf7c5 3445 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 3446 Replace uses of send_gdb / gdb_expect.
889bf7c5 3447 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 3448 Replace uses of send_gdb / gdb_expect.
889bf7c5 3449 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 3450 Replace uses of send_gdb / gdb_expect.
889bf7c5 3451 * gdb.reverse/machinestate.exp:
bcd2dc50 3452 Replace uses of send_gdb / gdb_expect.
889bf7c5 3453 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 3454 Replace uses of send_gdb / gdb_expect.
889bf7c5 3455 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 3456 Replace uses of send_gdb / gdb_expect.
889bf7c5 3457 * gdb.reverse/solib-precsave.exp:
bcd2dc50 3458 Replace uses of send_gdb / gdb_expect.
889bf7c5 3459 * gdb.reverse/solib-reverse.exp:
bcd2dc50 3460 Replace uses of send_gdb / gdb_expect.
889bf7c5 3461 * gdb.reverse/step-precsave.exp:
bcd2dc50 3462 Replace uses of send_gdb / gdb_expect.
889bf7c5 3463 * gdb.reverse/step-reverse.exp:
bcd2dc50 3464 Replace uses of send_gdb / gdb_expect.
889bf7c5 3465 * gdb.reverse/until-precsave.exp:
bcd2dc50 3466 Replace uses of send_gdb / gdb_expect.
889bf7c5 3467 * gdb.reverse/until-reverse.exp:
bcd2dc50 3468 Replace uses of send_gdb / gdb_expect.
889bf7c5 3469 * gdb.reverse/watch-precsave.exp:
bcd2dc50 3470 Replace uses of send_gdb / gdb_expect.
889bf7c5 3471 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
3472 Replace uses of send_gdb / gdb_expect.
3473
3def43e0
JK
34742010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3475
3476 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3477 excessive newline.
3478
27d3a1a2 34792010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
3480
3481 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
3482 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3483 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3484 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3485 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3486 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3487 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3488 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3489 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3490 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3491 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3492 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3493 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3494 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3495 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3496 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3497 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3498 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3499 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 3500
27d3a1a2 35012010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 3502
22454424
MS
3503 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3504 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3505
3506 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3507 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3508 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3509
889bf7c5 3510 * gdb.reverse/consecutive-reverse.exp:
22454424 3511 Replace uses of send_gdb / gdb_expect.
889bf7c5 3512 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
3513 Replace uses of send_gdb / gdb_expect.
3514
3515 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3516 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3517 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3518 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
3519 Replace uses of send_gdb / gdb_expect.
3520 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3521 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3522 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3523 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3524 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3525 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3526 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3527 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3528 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
3529
35302010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 3531
22454424 3532 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3533
22454424 3534 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3535
22454424
MS
3536 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3537 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3538 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3539 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3540 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3541 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3542 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3543 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3544 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3545
6e5f2c59
TT
35462010-05-25 Tom Tromey <tromey@redhat.com>
3547
3548 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3549
bbc8b958
TT
35502010-05-25 Tom Tromey <tromey@redhat.com>
3551
3552 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3553 argument order.
3554 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3555 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3556 order.
3557 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3558 order.
3559 * gdb.base/call-sc.exp (setup_kfails): Remove.
3560 (setup_compiler_kfails): Remove.
3561 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3562 argument order.
3563 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3564 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3565 (advancei): Fix setup_kfail argument order.
3566 * gdb.base/radix.exp: Fix setup_kfail argument order.
3567 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3568 order.
3569 * gdb.base/structs.exp (setup_kfails): Remove.
3570 (setup_compiler_kfails): Fix setup_kfail argument order.
3571 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3572 order.
3573 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3574 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3575 setup_kfail argument order.
3576 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3577
83d1babf
TT
35782010-05-25 Tom Tromey <tromey@redhat.com>
3579
3580 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3581
6acb16a2
MS
35822010-05-25 Michael Snyder <msnyder@vmware.com>
3583
3584 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3585 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3586 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3587 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3588 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3589 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3590 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3591 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3592 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
3593 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3594 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3595 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3596 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3597 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3598 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3599 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3600 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3601 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3602 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3603 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3604 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3605 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3606 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
3607 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3608 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3609 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3610 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3611 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3612 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3613 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3614 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3615 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3616 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3617 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3618 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3619 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3620 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3621 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3622 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3623 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3624 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3625 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3626 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3627 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3628 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3629 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3630 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 3631 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3632
36332010-05-25 Doug Evans <dje@google.com>
3634
3635 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3636 gdb.string_to_argv.
ad3986f0 3637
d3b1e874
TT
36382010-05-21 Tom Tromey <tromey@redhat.com>
3639
3640 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3641 Call it.
3642 * gdb.dwarf2/pieces.S: Update.
3643 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3644
cb826367
TT
36452010-05-21 Tom Tromey <tromey@redhat.com>
3646
3647 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3648 Call it.
3649 * gdb.dwarf2/pieces.c (struct C): New.
3650 (f6): New function.
3651 * gdb.dwarf2/pieces.S: Replace.
3652
74de6778
TT
36532010-05-21 Tom Tromey <tromey@redhat.com>
3654
3655 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3656 Call it.
3657
afd74c5f
TT
36582010-05-21 Tom Tromey <tromey@redhat.com>
3659
3660 * gdb.dwarf2.pieces.exp: New file.
3661 * gdb.dwarf2.pieces.S: New file.
3662 * gdb.dwarf2.pieces.c: New file.
3663
a7b75dfd 36642010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 3665 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
3666
3667 * lib/gdb.exp (gdb_test_no_output): New function.
3668 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3669 when testing commands that should produce no output.
3670
c81c812a
JB
36712010-05-17 Joel Brobecker <brobecker@adacore.com>
3672
3673 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3674 parameter that we want to watch being a constant.
3675
0cce5bd9
JB
36762010-05-17 Joel Brobecker <brobecker@adacore.com>
3677
3678 * gdb.ada/cond_lang: New testcase.
3679
47050449
JB
36802010-05-17 Joel Brobecker <brobecker@adacore.com>
3681
3682 * lib/gdb.exp (banned_variables): New variable/constant.
3683 (gdb_init): Add write trace on variables listed in banned_variables.
3684 (gdb_finish): Remove write traces on variables listed in
3685 banned_variables.
3686
77c01586
JB
36872010-05-17 Joel Brobecker <brobecker@adacore.com>
3688
3689 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3690 * gdb.cp/koenig.exp: Likewise.
3691
88d4aea7
PM
36922010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3693
889bf7c5 3694 PR python/11482
88d4aea7
PM
3695
3696 * gdb.python/py-value.exp (test_value_hash): New function.
3697
f5a010c0
PM
36982010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3699
3700 PR exp/11530.
3701 * gdb.base/gdb11530.c: New file.
3702 * gdb.base/gdb11530.exp: New file.
3703
8ef4892f
JK
37042010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3705
3706 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3707 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3708
7322dca9
SW
37092010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3710
3711 * gdb.cp/koenig.exp: New test.
3712 * gdb.cp/koenig.cc: New test program.
3713
02e7ea18
JB
37142010-05-05 Joel Brobecker <brobecker@adacore.com>
3715
3716 Remove the use of prms_id and bug_id throughout the testsuite.
3717
e1c34c5d
PM
37182010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3719
3720 PR exp/11349.
3721 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3722 use a reference local variable.
3723
8e1d0c49
JK
37242010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3725
3726 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3727 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3728 variable different_dir. Move debugfile into a full directory pathname
3729 under DIFFERENT_DIR.
3730 * lib/gdb.exp (separate_debug_filename): Remove.
3731 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3732 variable debug_dir and mkdir of it. Update function comments.
3733
e66408ed
PA
37342010-04-29 Pedro Alves <pedro@codesourcery.com>
3735
3736 PR gdb/11557
3737
3738 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3739 files.
3740
d7b32ed3
PM
37412010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3742
889bf7c5 3743 * gdb.python/py-param.exp: New File.
d7b32ed3 3744
6aecb9c2
JB
37452010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3746
3747 * gdb.base/default.exp: Fix "set language" test.
3748
bdf92a1c
PM
37492010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3750
3751 PR breakpoints/11531.
3752 * gdb.base/gdb11531.c: New file.
3753 * gdb.base/gdb11531.exp: New file.
3754
3f172e24
TT
37552010-04-26 Tom Tromey <tromey@redhat.com>
3756
3757 * gdb.base/completion.exp: Add tests for completion and deprecated
3758 commands.
3759
64af4c92
JK
37602010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3761
3762 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3763 (print /x char_array): Escape curly brackets.
3764
492928e4
JK
37652010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3766
3767 Fix deadlock on looped list of loaded shared objects.
3768 * gdb.base/solib-corrupted.exp: New.
3769
66d09542
DE
37702010-04-23 Doug Evans <dje@google.com>
3771
3772 * gdb.python/py-section-script.c: New file.
3773 * gdb.python/py-section-script.exp: New file.
3774 * gdb.python/py-section-script.py: New file.
3775
8bd10a10
CM
37762010-04-20 Chris Moller <cmoller@redhat.com>
3777
3778 PR 10179
3779
3780 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3781 * gdb.base/pr10179-a.c:
3782 * gdb.base/pr10179-b.c:
3783 * gdb.base/pr10179.exp: New files.
3784
c0201579
JK
37852010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 Fix crashes on dangling display expressions.
3788 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3789 is SEP.
3790 (lib_flags): Remove the "debug" keyword.
3791 (libsepdebug): New variable for iterating new loop.
3792 (save_pf_prefix): New variable wrapping the loop.
3793 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3794 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3795
793b0ff8
PM
37962010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3797
3798 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3799
097f51f7
PM
38002010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3801
3802 PR stabs/11479.
3803 * gdb.stabs/gdb11479.exp: New file.
3804 * gdb.stabs/gdb11479.c: New file.
3805
9a22f0d0
PM
38062010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3807
3808 * gdb.base/charset.c (Strin16, String32): New variables.
3809 * gdb.base/charset.exp (gdb_test): Test correct display
3810 of 16 or 32 bit strings.
3811
38122010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
3813
3814 PR 9167
3815 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3816 * gdb.cp/pr9167.cc: New file.
3817 * gdb.cp/pr9167.exp: New file.
3818
3819
6e354e5e
PM
38202010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3821
3822 PR pascal/11492.
3823 * gdb.pascal/gdb11492.pas: New file.
3824 * gdb.pascal/gdb11492.exp: New file.
3825
be942545
JB
38262010-04-20 Joel Brobecker <brobecker@adacore.com>
3827
1667e6e3 3828 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 3829
0c3acc09
JB
38302010-04-20 Joel Brobecker <brobecker@adacore.com>
3831
3832 * gdb.ada/dyn_loc: New testcase.
3833
ec31cde5
CM
38342010-04-20 Chris Moller <cmoller@redhat.com>
3835
3836 PR 10867
889bf7c5 3837
ec31cde5
CM
3838 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3839 * gdb.cp/pr10687.cc: New file.
3840 * gdb.cp/pr10687.exp: New file.
3841
3842
ce4b0682
SDJ
38432010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3844 Sergio Durigan Junior <sergiodj@redhat.com>
3845
3846 * gdb.fortran/logical.exp: New testcase.
3847 * gdb.fortran/logical.f90: New file.
3848
3436961f
DE
38492010-04-19 Doug Evans <dje@google.com>
3850
3851 * gdb.base/help.exp (help source): Update expected output.
3852
4d836c09
JK
38532010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3854
3855 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3856 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3857 gdb_exit and return.
3858 (executable): New variable.
3859 (binfile): Use it.
3860
6149aea9
PA
38612010-04-19 Pedro Alves <pedro@codesourcery.com>
3862
3863 PR breakpoints/8554.
3864
3865 * gdb.trace/save-trace.exp: Adjust.
3866
ed41462c
L
38672010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3868
3869 PR corefiles/11511
3870 * gdb.arch/system-gcore.exp: New.
3871 * gdb.arch/gcore.c: Likewise.
3872
3f7b2faa
DE
38732010-04-15 Doug Evans <dje@google.com>
3874
fa33c3cd
DE
3875 * gdb.python/py-progspace.c: New file.
3876 * gdb.python/py-progspace.exp: New file.
3877
3f7b2faa
DE
3878 * gdb.base/source.exp: Add tests for "source -s".
3879
79f283fe
PM
38802010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3881
3882 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3883 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3884 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3885 * gdb.python/py-mi.exp: New test for to_string returning None.
3886
fc8eb08a
PM
38872010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3888
3889 * gdb.python/py-breakpoint.c: Make result global.
3890
26e197f6
JK
38912010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3892
3893 Fix non-GNU make compatibility.
3894 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3895
adc36818
PM
38962010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3897
3898 * gdb.python/py-breakpoint.exp: New File.
3899 * gdb.python/py-breakpoint.C: Ditto.
3900
64e17368
SS
39012010-04-08 Stan Shebs <stan@codesourcery.com>
3902
3903 * gdb.trace/actions.exp: Clear default-collect.
3904 * gdb.trace/save-trace.exp: Clear default-collect.
3905
fff5cc64
PM
39062010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3907
3908 * gdb.python/py-value: Add null string variable.
3909 (test_lazy_string): Test zero length, NULL address lazy
3910 strings.
3911
a055a187
L
39122010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3913
3914 * gdb.arch/i386-avx.c: New.
3915 * gdb.arch/i386-avx.exp: Likewise.
3916
3917 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3918
96e39866
DE
39192010-04-06 Doug Evans <dje@google.com>
3920
3921 * gdb.base/source-test.gdb: New file.
3922 * gdb.base/source.exp: Test source -v.
3923
5984a431
UW
39242010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3925
3926 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3927
ec8a089a
PM
39282010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3929
3930 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3931 within one line, unless it is followed by a double quote.
3932 * gdb.stabs/hppa.sed: Idem.
3933 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
3934 * gdb.stabs/weird.exp: Check for correct parsing of
3935 char and string constants.
ec8a089a
PM
3936 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3937 in .stabs to .stabx substitution.
3938
fce3c1f0
SS
39392010-04-05 Stan Shebs <stan@codesourcery.com>
3940
3941 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3942 constant global.
3943 * gdb.trace/tfile.exp: Try to print them.
3944
d77f58be
SS
39452010-04-04 Stan Shebs <stan@codesourcery.com>
3946
3947 * gdb.base/completion.exp: Update for new "info watchpoints".
3948 * gdb.base/default.exp: Ditto.
3949 * gdb.base/help.exp: Ditto.
3950 * gdb.base/watchpoint.exp: Ditto.
3951 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 3952
af54718e
SS
39532010-04-04 Stan Shebs <stan@codesourcery.com>
3954
3955 * gdb.trace/tfile.exp: Sharpen tfind test.
3956
74d1f91e
JK
39572010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * gdb.base/break-entry.exp: New.
3960
eb8e76db 39612010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 3962 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
3963
3964 * gdb.reverse/i386-sse-reverse.exp: New file.
3965 * gdb.reverse/i386-sse-reverse.c: New file.
3966
bf65cad8
PA
39672010-04-02 Pedro Alves <pedro@codesourcery.com>
3968
3969 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3970
fff87407
SS
39712010-04-01 Stan Shebs <stan@codesourcery.com>
3972
3973 * gdb.trace/actions.exp: Tweak expected output.
3974 * gdb.trace/while-stepping.exp: Tweak expected output.
3975
fe01d668
L
39762010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3979
86b17b60
PA
39802010-04-01 Pedro Alves <pedro@codesourcery.com>
3981
3982 * gdb.base/commands.exp: Adjust.
3983 * gdb.cp/extern-c.exp: Adjust.
3984
2c58c0a9
PA
39852010-04-01 Pedro Alves <pedro@codesourcery.com>
3986
3987 * gdb.trace/collection.c (local_test_func): Define a local struct,
3988 and instanciate it.
3989
0db9b91c
PA
39902010-04-01 Pedro Alves <pedro@codesourcery.com>
3991
3992 * gdb.trace/collection.exp (gdb_collect_args_test)
3993 (gdb_collect_argarray_test): XFAIL the tests that assume the
3994 argarray argument's elements are collected.
3995
8072405b
JK
39962010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3997
3998 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3999 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4000
8bf6485c
SS
40012010-03-31 Stan Shebs <stan@codesourcery.com>
4002
4003 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4004 and tracepoint conditionals.
4005 (gdb_verify_tracepoints): Delete unused return.
4006
fd7f724a
KS
40072010-03-26 Keith Seitz <keiths@redhat.com>
4008
4009 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4010 appear in the output before main.
4011 Remove KFAIL for gdb/2215 aka bz 9320.
4012
8d9e7719
DE
40132010-03-30 Doug Evans <dje@google.com>
4014
0906dd0b
DE
4015 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4016 by dejagnu.
4017 * gdb.arch/amd64-dword.exp: Ditto.
4018
8d9e7719
DE
4019 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4020 match.
4021 (break printf): Ditto.
4022
1da644f0
SW
40232010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4024
4025 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4026 gcc < 4.4.
4027 * gdb.cp/shadow.exp: Ditto.
4028
a8121990
PA
40292010-03-29 Pedro Alves <pedro@codesourcery.com>
4030
4031 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4032 "tstart" is silent.
4033
6e79d367
PA
40342010-03-29 Pedro Alves <pedro@codesourcery.com>
4035
4036 * gdb.trace/collection.exp (executable): New.
4037 (binfile): Use it.
4038 (fpreg, spreg, pcreg): New.
4039 (test_register): Use gdb_test_multiple. Pass /x to print.
4040 (prepare_for_trace_test): New.
4041 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4042 (gdb_collect_args_test, gdb_collect_argstruct_test)
4043 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4044 prepare_for_trace_test.
4045 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4046 fpreg, spreg and pcreg.
4047 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4048 prepare_for_trace_test.
4049 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4050 try to detect tracing support here. Don't set breakpoints at
4051 `begin' or `end' here.
4052 <global scope>: Use clean_restart. Run to main before checking
4053 for tracing support. Check for for tracing support here.
4054
09248348
JK
40552010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4056
4057 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4058 " as $displacement" to "seen displacement message".
4059
d350db38
PA
40602010-03-28 Pedro Alves <pedro@codesourcery.com>
4061
4062 * gdb.trace/while-dyn.exp (executable): New variable.
4063 (binfile): Use it.
4064 (test_while_stepping): New function. Move most tests here. Call
4065 it once for each of the while-stepping, stepping and ws aliases.
4066
907af001
UW
40672010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4068
4069 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4070 that do not provide the tagless_struct type name at all.
4071 (test_print_anon_union): Do not check value of uninitialized
4072 union member. Do not use cp_test_ptype_class, so we can accept
4073 "long" as well as "long int".
4074
610197fd
PA
40752010-03-26 Pedro Alves <pedro@codesourcery.com>
4076
4077 * gdb.trace/tfile.c (tohex, bin2hex): New.
4078 (write_error_trace_file): Hexify error description.
4079
6c28cbf2
SS
40802010-03-25 Stan Shebs <stan@codesourcery.com>
4081
4082 * gdb.trace/tfile.c: Generate an additional trace file, improve
4083 portability.
4084 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4085 files in a better way.
4086
e62b8c7e
KS
40872010-03-25 Keith Seitz <keiths@redhat.com>
4088
4089 * gdb.java/jprint.exp: XFAIL printing of static class members
4090 because of GCC debuginfo problem.
4091
82ccf5a5
JK
40922010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4093
4094 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4095
293e2f9e
DJ
40962010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4097
4098 * gdb.base/completion.exp: Allow long instead of long int.
4099 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4100 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4101 variable p.
4102 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4103 * gdb.base/pointers.exp: Allow long instead of long int.
4104 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4105 * gdb.base/step-line.exp: Allow a directory before the source file name.
4106
95a42b64
TT
41072010-03-24 Tom Tromey <tromey@redhat.com>
4108
4109 PR breakpoints/9352:
4110 * gdb.base/default.exp: Update.
4111 * gdb.base/commands.exp: Update.
4112 * gdb.cp/extern-c.exp: Test setting commands on multiple
4113 breakpoints at once.
4114
2390201f
DJ
41152010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4116
4117 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4118 if gdb,nosignals.
4119 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4120 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4121 exited".
4122
8c9a6790
SS
41232010-03-24 Stan Shebs <stan@codesourcery.com>
4124
4125 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4126
a6c727b2
DJ
41272010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4128
4129 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4130 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4131 argument. Handle "short" and "long".
4132 (Top level): Pass overprototyped output for old_fptr and xptr.
4133
4dfd5423
PA
41342010-03-23 Pedro Alves <pedro@codesourcery.com>
4135
4136 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4137 format strings and add casts to avoid compiler warnings.
4138
41392010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4140
4141 * lib/trace-support.exp (gdb_trace_setactions):
4142 Don't expect whitespace after ">" prompt.
4143 * gdb.trace/actions.exp: Adjust for output changes.
4144 * gdb.trace/while-stepping.exp: Likewise.
4145
c847d045
JK
41462010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4147
4148 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4149 and r157645).
4150
5f717f1d
JK
41512010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4152
4153 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4154 New.
4155
7d6d51d5
DJ
41562010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4157
4158 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4159 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4160
3b11a015
SS
41612010-03-19 Stan Shebs <stan@codesourcery.com>
4162
4163 * gdb.trace/ax.exp: New file.
4164
d7d158ed
DE
41652010-03-19 Doug Evans <dje@google.com>
4166
6bb85cd1
DE
4167 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4168 output from gcc.
4169
d7d158ed
DE
4170 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4171 named /usr/sbin/prelink<foo>.
4172
4daf5ac0
SS
41732010-03-18 Stan Shebs <stan@codesourcery.com>
4174
4175 * gdb.trace/circ.exp: Test circular-trace-buffer.
4176 * gdb.trace/tfile.exp: Update tstatus test.
4177
e8d05480
JB
41782010-03-18 Joel Brobecker <brobecker@adacore.com>
4179
4180 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4181 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4182
441b986a
UW
41832010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4184
4185 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4186
4247603b
PA
41872010-03-18 Pedro Alves <pedro@codesourcery.com>
4188
4189 * gdb.base/default.exp: Adjust the expected output of the finish
4190 and until commands when the inferior is not being run.
4191
13387711
SW
41922010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4193
4194 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4195 * gdb.cp/nsusing.exp: Ditto.
4196
6e31430b
TT
41972010-03-15 Tom Tromey <tromey@redhat.com>
4198
4199 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4200 * gdb.cp/userdef.cc (operator==): New function.
4201 (main): New locals mem1, mem2.
4202
e2d69cb5
JZ
42032010-03-15 Jie Zhang <jie@codesourcery.com>
4204
4205 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4206 Declare and use new loadtimeout variable.
4207
f572f0a9
DJ
42082010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4209
4210 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4211 Use gdb_load later.
4212
51f4c0b0
PA
42132010-03-14 Pedro Alves <pedro@codesourcery.com>
4214
4215 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4216 literal. Add missing endlines to prints to stderr.
4217
1c809c68
TT
42182010-03-12 Tom Tromey <tromey@redhat.com>
4219
4220 PR c++/9708:
4221 * gdb.cp/m-static.exp: Add regression test.
4222 * gdb.cp/m-static.cc (method): New method.
4223 (main): Call it.
4224
00ae8fef
SW
42252010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4226
4227 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4228 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4229
759f0f0b
PA
42302010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4231
21e24d21
PA
4232 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4233
42342010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4235
759f0f0b
PA
4236 * lib/gdb.exp (skip_stl_tests): New.
4237 (gdb_compile): Symbian needs -ldl.
4238 (shlib_target_file): New.
4239 (shlib_symbol_file): New.
4240 (gdb_load_shlibs): Use shlib_target_file.
4241 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4242 * gdb.cp/exception.exp: Use skip_stl_tests.
4243 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4244 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4245 * gdb.cp/mb-templates.exp: Ditto.
4246 * gdb.base/commands.exp: Relax regexes.
4247 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4248 shlib_target_file and shlib_symbol_file.
4249 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4250 sections.
4251 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4252 * gdb.base/solib-disc.exp: Use
4253 shlib_target_file and shlib_symbol_file.
4254 * gdb.base/unload.exp: Don't skip on symbian. Use
4255 shlib_target_file and shlib_symbol_file.
4256 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4257
6a8f2671 42582010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4259
6a8f2671
PA
4260 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4261 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4262 Issue a tfind end before looking for a tracepoint frame.
4263 * gdb.trace/tfind.exp: Adjust tstatus output.
4264 Adjust disassembly output.
4265 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4266
ccf26247
JK
42672010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4268
4269 * gdb.base/break-interp.exp: Create new displacement parameter value
4270 for the test_ld calls.
4271 (reach): New parameter displacement, verify its content. New push of
4272 pf_prefix "reach-$func:". Import global expect_out.
4273 (test_core): New parameter displacement, verify its content. New push
4274 of pf_prefix "core:". New command "set verbose on". Import global
4275 expect_out.
4276 (test_attach): New parameter displacement, verify its content. New
4277 push of pf_prefix "attach:". New command "set verbose on". Import
4278 global expect_out.
4279 (test_ld): New parameter displacement, pass it to the reach, test_core
4280 and test_attach calls and verify its content in the "ld.so exit" test.
4281 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4282 (prelink): Update expected text, use gdb_test.
4283
e469c7fb
DE
42842010-03-10 Doug Evans <dje@google.com>
4285
4286 * gdb.base/checkpoint.exp: Fix comment.
4287 Lengthen timeout while doing >600 checkpoints test.
4288 Rename duplicate "kill all one" test to keep test names unique.
4289
60e1c644
PA
42902010-03-10 Pedro Alves <pedro@codesourcery.com>
4291
4292 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4293
cec808ec
KS
42942010-03-08 Keith Seitz <keiths@redhat.com>
4295
889bf7c5
PA
4296 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4297 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4298 (dm_type_long): New function.
4299 (dm_type_unsigned_short): New function.
4300 (dm_type_unsigned_long): New function.
4301 (myint): New typedef.
4302 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4303 long, unsigned shor and long, operator char*, and typedef.
4304 (test_lookup_operator_functions): Add operator char* test.
4305 (test_paddr_operator_functions): Likewise.
4306 (test_paddr_overloaded_functions): Use probe values for
4307 short, long, and unsigned short and long.
4308 (test_paddr_hairy_functions): If the demangler probe detected
4309 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4310 demangler.
4311 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4312 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4313 and "print null_pmf".
4314 Add test "ptype a.*pmf".
4315 * gdb.cp/overload.exp: Allow optional "int" to appear with
4316 "short" and "long".
4317 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4318 long expect value for men_overload1arg.
4319 Allow "int" to appear with "short" and "long".
4320 When testing "info break", add argument for main (void).
4321 Also allow "int" to appear with "short" and "long".
4322 Ditto with "unsigned" and "long long".
cec808ec
KS
4323 * gdb.java/jmain.exp: Do not enclose methods names in single
4324 quotes.
4325 * gdb.java/jmisc.exp: Likewise.
4326 * gdb.java/jprint.exp: Likewise.
4327 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4328
4329 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4330 * gdb.cp/exception.exp (backtrace after first throw)
4331 (backtrace after second throw): Allow a namespace before __cxa_throw.
4332 (backtrace after first catch, backtrace after second catch): Allow
4333 a namespace before __cxa_begin_catch.
4334
4335 * gdb.cp/cpexprs.exp: New file.
4336 * gdb.cp/cpexprs.cc: New file.
4337
4338 From Daniel Jacobowitz <dan@codesourcery.com>
4339 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4340 to use string_to_regexp.
4341 (ctor, dtor): New functions. Use them to match constructor
4342 and destructor function types.
4343 (Top level): Use runto_main.
4344
f870a310
TT
43452010-03-05 Tom Tromey <tromey@redhat.com>
4346
4347 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4348 gdb.target_charset.
4349 (pp_ns.to_string): Likewise.
4350
0c199f28
KS
43512010-03-04 Keith Seitz <keiths@redhat.com>
4352
4353 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4354 can be quoted. Test that both the filename and function/line
4355 portions can be quoted at the same time.
4356
c7437ca6
PA
43572010-03-04 Pedro Alves <pedro@codesourcery.com>
4358
4359 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4360
b111b805
DE
43612010-03-03 Doug Evans <dje@google.com>
4362
24486cb7
DE
4363 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4364 libc contains libpthread.
4365
b111b805
DE
4366 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4367 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4368 of gdb_compile. Add another pattern to match android backtrace.
4369
a0e0ef55
TT
43702010-03-03 Tom Tromey <tromey@redhat.com>
4371
4372 PR gdb/11345:
4373 * gdb.base/printcmds.exp (test_printf): Add test.
4374
1ba53b71
L
43752010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * gdb.arch/amd64-byte.exp: New.
4378 * gdb.arch/amd64-dword.exp: Likewise.
4379 * gdb.arch/amd64-pseudo.c: Likewise.
4380 * gdb.arch/amd64-word.exp: Likewise.
4381 * gdb.arch/i386-byte.exp: Likewise.
4382 * gdb.arch/i386-pseudo.c: Likewise.
4383 * gdb.arch/i386-word.exp: Likewise.
4384
f5dff777
DJ
43852010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4386
4387 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4388 types. Add structreg, bitfields, and flags registers.
4389 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4390 registers.
4391
90884b2b
L
43922010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4395 (load_description): Set architecture if defined.
4396
dc00d89f
PM
43972010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4398
4399 * gdb.python/py-frame.exp: Add read_var block tests.
4400 * gdb.python/py-frame.c (block): New function.
4401
0e095b7e
JK
44022010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4403 Daniel Jacobowitz <dan@codesourcery.com>
4404
4405 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4406
624f1a65
DM
44072010-02-25 David S. Miller <davem@davemloft.net>
4408
4409 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4410 fix logic for setting all_syscalls_numbers.
4411
f3e9a817
PM
44122010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4413
4414 * Makefile.in: Add py-block and py-symbol.
4415 * gdb.python/py-symbol.exp: New File.
4416 * gdb.python/py-symtab.exp: New File.
4417 * gdb.python/py-block.exp: New File.
4418 * gdb.python/py-symbol.c: New File.
4419 * gdb.python/py-block.c: New File.
4420
f6bbabf0
PM
44212010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4422
4423 PR python/11314
4424 * lib/gdb.exp (skip_python_tests): New function.
4425 * gdb.python/py-cmd.exp: Use skip_python_tests.
4426 * gdb.python/py-frame.exp: Likewise.
4427 * gdb.python/py-function.exp: Likewise.
4428 * gdb.python/py-prettyprint.exp: Likewise.
4429 * gdb.python/py-template.exp: Likewise.
4430 * gdb.python/py-type.exp: Likewise.
4431 * gdb.python/py-value.exp: Likewise.
4432
85d721b8
PA
44332010-02-22 Pedro Alves <pedro@codesourcery.com>
4434
4435 PR9605
4436
4437 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4438
48e32051
TT
44392010-02-19 Tom Tromey <tromey@redhat.com>
4440
4441 PR c++/8693, PR c++/9496:
4442 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4443 regression tests.
4444
ac9c0048
JK
44452010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4446
4447 Fix compatibility with m68k as.
4448 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4449 Use only /* comments */.
4450
57bb97a4
UW
44512010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4452
4453 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4454 * configure: Regenerate.
4455
7d1bf85c
DJ
44562010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4457
4458 * gdb.python/py-type.exp: Check for Python support.
4459
061b5285
PA
44602010-02-17 Pedro Alves <pedro@codesourcery.com>
4461
4462 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4463 `regsub' syntax available.
4464
f8a8bc2c
PA
44652010-02-17 Pedro Alves <pedro@codesourcery.com>
4466
4467 * gdb.base/shmain.c (main): Remove printf call.
4468 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4469 * gdb.base/unload.c (main): Make format of fprintf a string
4470 literal. Add missing endlines to prints to stderr.
4471 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4472
6f451e5e
TT
44732010-02-17 Tom Tromey <tromey@redhat.com>
4474
4475 * gdb.java/jprint.java (jprint.props): New field.
4476 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4477
12d79008
PA
44782010-02-17 Pedro Alves <pedro@codesourcery.com>
4479
ef801a0e 4480 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
4481 available.
4482
d252f7e5
DJ
44832010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4484
4485 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4486 creation to support remote host testing.
4487
67bdab6c
DJ
44882010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4489
4490 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4491 Recognize "command not found".
4492
bb391223
DJ
44932010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4494
4495 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4496 single-stepping.
4497
70362913
DJ
44982010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4499
4500 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4501 if arguments are not supported.
4502
493f3c00
DJ
45032010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4504
4505 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4506 be const or non-const.
4507
8034c749
DJ
45082010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4509
4510 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4511 mi_send_resuming_command to send -exec-continue.
4512
791dfb64
DJ
45132010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4514
4515 * gdb.base/list.exp (test_list_filename_and_function): Add test
4516 with single quotes.
4517 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4518 matching.
4519 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4520 Add KFAIL'd tests for PR gdb/11289.
4521
7c5fe868
DJ
45222010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4523
4524 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4525
fdc498b8
DJ
45262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4527
4528 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4529 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4530 a temporary directory.
4531
b519e2a6
DJ
45322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4533
4534 * gdb.base/charset.exp: Use a single regular expression to match
4535 show host-charset and show target-charset output.
4536
74164c56
JK
45372010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4538
4539 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4540 "Illegal process-id" expect string more exact.
4541 (attach to digits-starting nonsense is prohibited): New.
4542
701ed6dc
JK
45432010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 * gdb.base/prelink.exp (set verbose on): New.
4546
889bf7c5 45472010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
4548
4549 * mi-reverse.exp: New file. Test for reverse option to the
4550 following MI commands: exec-continue, exec-finish, exec-next,
4551 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 4552
dadf0e9c
JB
45532010-02-09 Joel Brobecker <brobecker@adacore.com>
4554
4555 * gdb.ada/ptype_tagged_param: New testcase.
4556
714f19d5
TT
45572010-02-08 Tom Tromey <tromey@redhat.com>
4558
4559 PR c++/8017:
4560 * gdb.cp/overload.exp: Add tests.
4561 * gdb.cp/overload.cc (struct K): New.
4562 (namespace N): New.
4563 (main): Call new functions.
4564 (K::staticoverload): Define.
4565
889bf7c5 45662010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
4567
4568 PR gdb/10728
4569 * gdb.cp/pr10728-x.h: New file.
4570 * gdb.cp/pr10728-x.cc: New file.
4571 * gdb.cp/pr10728-y.cc: New file.
4572 * gdb.cp/pr10728.exp: New file.
4573 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4574
889bf7c5 45752010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
4576
4577 PR gdb/9067
4578 * gdb.cp/pr9067.exp: New
4579 * gdb.cp/pr9067.cc: New
4580 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4581
7b356089
JB
45822010-02-08 Joel Brobecker <brobecker@adacore.com>
4583
4584 * lib/gdb.exp (gdb_test_timeout): New global variable.
4585 Set it to timeout if not already set.
4586 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4587
1be00882
DE
45882010-02-05 Doug Evans <dje@google.com>
4589
4590 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4591 user.
4592
82856980
SW
45932010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4594
4595 PR c++/7935:
4596 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4597
1a334831
TT
45982010-02-04 Tom Tromey <tromey@redhat.com>
4599
4600 * gdb.cp/virtbase.exp: Make test case names unique.
4601
9c3c02fd
TT
46022010-02-02 Tom Tromey <tromey@redhat.com>
4603
4604 * gdb.cp/virtbase.exp: Add regression tests.
4605 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4606 (main): Instantiate RHC.
4607
0cc2414c
TT
46082010-02-02 Tom Tromey <tromey@redhat.com>
4609
4610 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4611 type-printing change.
4612
edf3d5f3
TT
46132010-02-02 Tom Tromey <tromey@redhat.com>
4614
4615 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4616 * gdb.cp/virtbase.cc: New file.
4617 * gdb.cp/virtbase.exp: New file.
4618 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4619
e4b7f41c
JK
46202010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4621
4622 PR libc/11214:
4623 * gdb.threads/current-lwp-dead.c: Include features.h.
4624 (HAS_NOMMU): New.
4625 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4626
b381ea14
JK
46272010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4628
4629 * gdb.base/symbol-without-target_section.exp,
4630 gdb.base/symbol-without-target_section.c: New.
4631
c593ac0e
DJ
46322010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4633
4634 * gdb.base/bigcore.exp: Reset increased timeout.
4635 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4636
db25f29d
DJ
46372010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4638
4639 * gdb.base/gcore.exp (capture_command_output): Use
4640 gdb_test_multiple.
4641
f9d67f43
DJ
46422010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4643
4644 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4645 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4646 (Top level): Call it.
4647
177321bd
DJ
46482010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4649
4650 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4651
97f2ed50
DJ
46522010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4653
4654 * gdb.base/call-strs.exp, gdb.base/default.exp,
4655 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4656 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4657 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4658 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4659 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4660 * gdb.base/ending-run.exp: Correct restore of timeout.
4661 * gdb.base/page.exp: Remove unnecessary timeout setting.
4662
e4e2711a
JB
46632010-01-29 Joel Brobecker <brobecker@adacore.com>
4664
4665 * gdb.ada/rec_return: New testcase.
4666
ba581dc1
JB
46672010-01-29 Joel Brobecker <brobecker@adacore.com>
4668
4669 * gdb.ada/call_pn: New testcase.
4670
4ea95be9
DJ
46712010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4672
4673 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4674 (Top level): Use it to resume.
4675 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4676 the Thumb mode displaced stepping error as unsupported.
4677
df83a9bf
SW
46782010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4679
889bf7c5
PA
4680 * gdb.cp/nsusing.exp: Added more tests.
4681 * gdb.cp/nsrecurs.exp: Ditto.
4682 * gdb.cp/nsusing.cc: Added test functions.
4683 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 4684
40b27cdc
JK
46852010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4686
4687 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4688 absolute directory pathnames in gdb.sum file.
4689
de958931
SW
46902010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4691
4692 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4693 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4694
708ead4e
TT
46952010-01-26 Tom Tromey <tromey@redhat.com>
4696
4697 PR exp/7643:
4698 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4699 setup_kfail.
4700
b14e635e
SW
47012010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4702
4703 * gdb.cp/nsrecurs.exp: New test.
4704 * gdb.cp/nsrecurs.cc: New test program.
4705 * gdb.cp/nsstress.exp: New test.
4706 * gdb.cp/nsstress.cc: New test program.
4707 * gdb.cp/nsdecl.exp: New test.
4708 * gdb.cp/nsdecl.cc: New test program.
4709
8540c487
SW
47102010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4711
4712 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4713 imported into file scope.
4714 Marked test as xfail.
4715 * gdb.cp/namespace-using.cc (marker5): New function.
4716 * gdb.cp/shadow.exp: New test.
4717 * gdb.cp/shadow.cc: New test program.
4718 * gdb.cp/nsimport.exp: New test.
4719 * gdb.cp/nsimport.cc: New test program.
4720
421d5d99
TT
47212010-01-25 Tom Tromey <tromey@redhat.com>
4722
4723 PR gdb/11049:
4724 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4725 with "set print null-stop on".
4726
691f8dc1
JK
47272010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4728
4729 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4730 Adjust it for DISASSEMBLY_OMIT_FNAME.
4731
0b92b5bb
TT
47322010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4733
4734 PR symtab/11199:
4735 * gdb.dwarf2/member-ptr-forwardref.exp,
4736 gdb.dwarf2/member-ptr-forwardref.S: New.
4737
23787403
JK
47382010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4739
4740 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4741 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4742 thread1_tid_mutex. Remove gdbstop_mutex handling.
4743 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4744 thread2_tid_mutex. Remove gdbstop_mutex handling.
4745 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4746 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4747 pthread_cond_wait conditionalizations by while loops.
4748
b966cb8a
TT
47492010-01-20 Tom Tromey <tromey@redhat.com>
4750
4751 PR backtrace/10770:
4752 * gdb.dwarf2/pr10770.exp: New file.
4753 * gdb.dwarf2/pr10770.c: New file.
4754 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4755
fcae584b
VP
47562010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4757
4758 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4759 that target was removed, and the test always runs native anyway.
4760
a0f49112
JK
47612010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4762
4763 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4764 gdb.base/watchpoint-cond-gone-stripped.c: New.
4765
ceeb3d5a
TT
47662010-01-19 Tom Tromey <tromey@redhat.com>
4767
4768 PR c++/8000:
4769 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4770 existing tests.
4771 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4772 (main): Use AAA::SomeEnum.
4773
dd322c54
JK
47742010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4775
4776 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4777 (test_ignore_count): Declare line_callme_body global.
4778 (run to breakpoint with ignore count): Use line_callme_body.
4779 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4780 (set line_main_hello, set line_main_return): Reindent.
4781 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4782 New.
4783 (continue to callee4): Use line_callee4_body.
4784 (check *stopped from CLI command): Use line_callee4_next.
4785 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4786 (set line_main_hello, set line_main_return): Reindent.
4787 (set line_callee4_head, set line_callee4_body): New.
4788 (continue to callee4): Use line_callee4_body.
4789
4e8f195d
TT
47902010-01-18 Tom Tromey <tromey@redhat.com>
4791
4792 PR c++/9680:
4793 * gdb.cp/casts.cc: Add new classes and variables.
4794 * gdb.cp/casts.exp: Test new operators.
4795
9e14a9ba
JB
47962010-01-18 Tom Tromey <tromey@redhat.com>
4797 Thiago Jung Bauermann <bauerman@br.ibm.com>
4798
4799 * gdb.python/source2.py: New file.
4800 * gdb.python/source1: New file.
4801 * gdb.python/python.exp: Test "source" command.
4802
00bf0b85
SS
48032010-01-15 Stan Shebs <stan@codesourcery.com>
4804
4805 * gdb.trace/tfile.c: New file.
4806 * gdb.trace/tfile.exp: New file.
889bf7c5 4807
55235ad7
JK
48082010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4809
4810 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4811
9f2982ff
JK
48122010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4813
4814 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4815
bbfba9ed
JK
48162010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4817
4818 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4819 (libfunc): New parameter action. Implement also selectable "sleep".
4820 * gdb.base/break-interp-main.c: Include assert.h.
4821 (libfunc): New parameter action.
4822 (main): New parameters argc and argv. Assert argc. Pass argv.
4823 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4824 (test_attach): New proc.
4825 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4826 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4827
61f0d762
JK
48282010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4829
4830 * gdb.base/break-interp.exp (test_core): New proc.
4831 (test_ld): Call it.
4832
06a6f270
JK
48332010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4834
4835 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4836 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4837 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4838 and gdb_compile_shlib. Use new -Wl compiler options.
4839 (dl bt, main bt): New tests.
4840
51bee8e9
JK
48412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4842
4843 Support PIEs with no symfile_objfile.
4844 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4845 (test_ld): New parameter trynosym.
4846 (test_ld <$trynosym>): New block.
4847
b8040f19
JK
48482010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4849
4850 * gdb.base/break-interp.exp: New file.
4851
be759fcf
PM
48522010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4853
4854 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4855 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4856 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4857 test.
4858 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4859 * gdb.python/py-mi.exp: Add lazy string test.
4860
dc146f7c
VP
48612010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4862
4863 * lib/mi-support.exp (mi_check_thread_states): Handle
4864 core number in thread listing.
4865
b4ba55a1
JB
48662010-01-12 Joel Brobecker <brobecker@adacore.com>
4867
4868 * gdb.base/maint.exp: Adjust the expected output for the
4869 "maint print type" test. Use gdb_test_multiple instead of
4870 gdb_sent/gdb_expect.
4871
08e24bd4
DE
48722010-01-11 Doug Evans <dje@google.com>
4873
6496a609
DE
4874 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4875 from gdbserver_download. All callers updated.
4876
08e24bd4
DE
4877 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4878
b5cfddf5
JK
48792010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4880
4881 Implement binary numbers parsing.
4882 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4883 (test_integer_literals_rejected): New binary tests.
4884
3725885a
RW
48852010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4886
4887 * gdb.cell/configure: Regenerate.
4888
37aeb5df
JK
48892010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4890
4891 * gdb.base/corefile.exp: Move the core finding block out and call it as
4892 core_find, new variable $corefile, replace corefile by $corefile and
4893 [file tail $corefile] for usage vs. test names resp.
4894 * lib/gdb.exp (core_find): Move it as a new function here. New
4895 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4896 $destcore. Return "" on error.
4897
d521f563
JK
48982010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4899
4900 Workaround PR binutils/10802.
4901 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4902 (twice).
4903
28f24826
DJ
49042010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4905
4906 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4907
2de75e71
JB
49082010-01-08 Joel Brobecker <brobecker@adacore.com>
4909
4910 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4911 call, to avoid interruption.
4912
fe00719b 49132010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
4914
4915 * gdb.stabs/weird.def (args93): New.
4916
d0ef5df8
DE
49172010-01-07 Doug Evans <dje@google.com>
4918
4919 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4920
3a08d52f
TT
49212010-01-07 Tom Tromey <tromey@redhat.com>
4922
4923 * gdb.base/source.exp: Use correct line number.
4924
7a697b8d
SS
49252010-01-05 Stan Shebs <stan@codesourcery.com>
4926
4927 * gdb.trace/tracecmd.exp: Test ftrace.
4928
7803799a
UW
49292010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4930
4931 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4932
c54eabfa
JK
49332010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4934
4935 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4936 "uint_for_mi_testing".
4937
02e7ef19
JB
49382010-01-01 Joel Brobecker <brobecker@adacore.com>
4939
4940 Test indented comment in file being sourced.
4941 * gdb.base/commands.exp: Test indented comment in file being sourced.
4942
abd775ce
JB
49432010-01-01 Joel Brobecker <brobecker@adacore.com>
4944
4945 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4946 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4947 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4948 notice.
4949
79b55b82
JB
49502010-01-01 Joel Brobecker <brobecker@adacore.com>
4951
4952 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4953 notice.
4954
8997583e
JK
49552010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4956
4957 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4958 missing $after_stopped and comma (,) expectation.
4959
6da95a67
SS
49602009-12-31 Stan Shebs <stan@codesourcery.com>
4961
4962 * gdb.trace/actions.exp: Test teval action.
889bf7c5 4963
218d2fc6
TJB
49642009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4965
4966 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4967 (top level): Call test_watchpoint_in_big_blob.
4968 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4969 watchpoints.
4970 (func3): Write to buf.
4971
236f1d4d
SS
49722009-12-29 Stan Shebs <stan@codesourcery.com>
4973
4974 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 4975
f61e138d
SS
49762009-12-28 Stan Shebs <stan@codesourcery.com>
4977
4978 * gdb.trace/tsv.exp: New file.
4979 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 4980
0219b378
DJ
49812009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4982
4983 * gdb.base/find.c (main): Reference search buffers.
4984 * gdb.base/included.c (main): Reference integer.
4985 * gdb.base/ptype.c (charfoo): Declare.
4986 (intfoo): Call charfoo.
4987 * gdb.base/scope0.c (useitp): New function.
4988 (usestatics): Use useitp.
4989 (useit): Add a type for val.
4990 * gdb.base/scope1.c (useit1): Take a pointer argument.
4991 (usestatics1): Update calls to useit1.
4992 * gdb.cp/call-c.cc: Declare foo.
4993 (main): Call foo.
4994 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4995 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4996 (main): Call C::ensureRefs and ensureOtherRefs.
4997 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4998 variables.
4999 (ensureOtherRefs): New function.
5000 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5001 * gdb.cp/templates.cc (main): Call t5i.value.
5002
3f78692f
JK
50032009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5004
5005 Fix compatibility with G++-4.5.
5006 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5007 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5008 (uncaught return): Remove.
5009
429374b8
JK
50102009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5011 Phil Muldoon <pmuldoon@redhat.com>
5012
5013 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5014 (bp_location13, bp_location14, bp_location17, bp_location18)
5015 (marker3_proto, marker4_proto): New variables.
5016 (breakpoint info): Update output.
5017 (run until breakpoint at marker3, run until breakpoint at marker4): New
5018 tests.
5019
859825b8
JK
50202009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5021
5022 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5023 Replace the printf call of Y by provided "y-set-1" label. New block
5024 for the second shared library.
5025 * gdb.base/unload.exp: Compile also the second library, call
5026 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5027 (single pending breakpoint info): Rename to ...
5028 (pending breakpoint info before run): ... this extended test.
5029 (libfile2, libname2, libsrcfile2, libsrc2)
5030 (lib_sl2): New variables.
5031 (exec_opts): Set also SHLIB_NAME2.
5032 (pending breakpoint info on first run at shrfunc1)
5033 (pending breakpoint info on second run at shrfunc1)
5034 (pending breakpoint info on second run at shrfunc2)
5035 (print y from libfile, print y from libfile2): New tests.
5036 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5037 * gdb.base/unloadshr2.c: New.
5038
e6a386cd
HZ
50392009-12-22 Hui Zhu <teawater@gmail.com>
5040
5041 * gdb.reverse/sigall-reverse.exp: Adjust.
5042
9e19b45e
VP
50432009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5044
5045 PR gdb/10884
5046
5047 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5048 (main): Call do_bitfield_tests.
aacf5b1e 5049 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 5050
d53a7b30
JB
50512009-12-20 Joel Brobecker <brobecker@adacore.com>
5052
5053 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5054 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5055 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5056 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5057 gdb.modula2/unbounded1.c: Update copyright header.
5058
191ca0a1
CM
50592009-12-10 Chris Moller <moller@mollerware.com>
5060
5061 PR gdb/9399
5062 * gdb.cp/virtfunc2.exp: New tests
5063 * gdb.cp/virtfunc2.cc: New tests
5064 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5065
0fa6cf1b
MS
50662009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5067
5068 * gdb.reverse/i387-env-reverse.c: New file.
5069 * gdb.reverse/i387-env-reverse.exp: New file.
5070 * gdb.reverse/i387-stack-reverse.c: New file.
5071 * gdb.reverse/i387-stack-reverse.exp: New file.
5072
361ae042
PM
50732009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5074
5075 * gdb.python/py-type.exp (test_range): New test.
5076
bfd31e71
PM
50772009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5078
5079 PR python/10805
5080
5081 * gdb.python/py-type.exp: New file.
5082 * gdb.python/py-type.c: New file.
5083 * Makefile.in: Add py-type.
5084
57a1d736
TT
50852009-12-03 Tom Tromey <tromey@redhat.com>
5086
5087 * gdb.python/py-value.exp (test_parse_and_eval): New
5088 function.
5089
1f3b5d1b
PP
50902009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5091
5092 PR gdb/11022
5093
5094 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
5095 * gdb.base/pr11022.c: New test.
5096
8b7dbdc9
JK
50972009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5098
5099 Fix spurious false FAILs.
5100 * gdb.base/structs.c (chartest): New.
5101 (main): Fill-in chartest.
5102 * gdb.base/structs.exp (anychar_re, first): New.
5103 (start_structs_test): Import global anychar_re and first.
5104 New gdb_test call "set print elements 300; ${testfile}"
5105 (start_structs_test <$first>): New block.
5106 (any): Import global anychar_re. New variable ac. Use ${ac}.
5107
6a53b2ec
JK
51082009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5109
5110 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5111
d7167b4c
JK
51122009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5113
5114 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5115 Force $srcfile file.
5116 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5117
b1798462
UW
51182009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5119
5120 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5121 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5122 * gdb.threads/watchthreads-reorder.exp: Likewise.
5123
b6199126
DJ
51242009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5125
5126 PR gdb/8704
5127
5128 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5129 "if", and "thread". Correct matching in the previous test.
5130
b22a0510
DJ
51312009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5132
5133 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5134
930636d2
MS
51352009-11-23 Michael Snyder <msnyder@vmware.com>
5136
5137 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5138 * gdb.reverse-watch-precsave.exp: Ditto.
5139
21a0512e
PP
51402009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5141
5142 * gdb.asm/asm-source.exp: Adjust.
5143 * gdb.base/help.exp: Adjust.
889bf7c5 5144
fc30d5e0
PA
51452009-11-22 Pedro Alves <pedro@codesourcery.com>
5146
5147 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5148 (do_syscall_tests_without_xml): Set data-directory to
5149 /the/path/to/nowhere.
5150
f6bc2008
PA
51512009-11-21 Pedro Alves <pedro@codesourcery.com>
5152
5153 * gdb.threads/local-watch-wrong-thread.c,
5154 gdb.threads/local-watch-wrong-thread.exp: New files.
5155
8c2fb5de
PA
51562009-11-21 Pedro Alves <pedro@codesourcery.com>
5157
5158 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5159 assume new `regsub' syntax available.
5160
ebec9a0f
PA
51612009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5162
a79d3c27
JK
5163 * gdb.base/watchpoint-hw-hit-once.exp,
5164 gdb.base/watchpoint-hw-hit-once.c: New.
5165
51662009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5167
5168 * gdb.threads/watchthreads-reorder.exp,
5169 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 5170
276a961b
MK
51712009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5172
5173 * gdb.xml/tdesc-regs.exp: Use for m68k.
5174
4867c1fb
PA
51752009-11-15 Pedro Alves <pedro@codesourcery.com>
5176
5177 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5178
f6838f81
DJ
51792009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5180
5181 * lib/gdb.exp (current_target_name): New procedure.
5182 (gdb_wrapper_target): New variable.
5183 (gdb_wrapper_init): Set gdb_wrapper_target.
5184 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5185 wrapper.
5186
4ac4dd3f
DJ
51872009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5188
5189 * gdb.base/remote.exp: Delete the slowest load test.
5190 Do not load with fixed packet sizes.
5191
a7881759
DJ
51922009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5193
5194 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5195
97a5b505
DJ
51962009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5197
5198 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5199 srcfile when setting a breakpoint.
5200
d3e1fc54
DJ
52012009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5202
5203 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5204 macros.
5205
7cbcbded
DJ
52062009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5207
5208 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5209 to be in memory.
5210 * gdb.base/display.c (force_mem): New.
5211 (do_loops): Use it. Add breakpoint comments.
5212 (do_vars): Add a breakpoint comment.
5213 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5214 line numbers.
5215
bdea3a92
NF
52162009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5217
5218 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5219 instead of a bare "run".
5220
269f82e5
PP
52212009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5222
5223 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 5224
a69b7d9d
DJ
52252009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5226
5227 * lib/cell.exp (skip_cell_tests): Clean up test files before
5228 returning.
5229
b598bfda
DJ
52302009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5231
5232 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5233 and the breakpoint menu. Do not call perror if a prompt is seen.
5234 Consume the following GDB prompt.
5235 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5236 * gdb.cp/namespace.exp: Use gdb_test.
5237 * gdb.cp/templates.exp: Use gdb_test.
5238 (test_template_breakpoints): Use gdb_test_multiple.
5239
87728fa0
DJ
52402009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5241
5242 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5243 (marker4): Reference values.
5244
b67c692f
DJ
52452009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5246
5247 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5248 is missing.
5249
f0df251a
DJ
52502009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5251
5252 * gdb.base/break.c (need_malloc): New.
5253 * gdb.base/constvars.c (main): Reference crass and crisp.
5254 * gdb.base/gdb1821.c (main): Reference bar.
5255 * gdb.cp/gdb1355.cc (main): Reference s1.
5256 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5257 (main): Call them.
5258 * gdb.cp/hang2.cc (dummy2): Define.
5259 * gdb.cp/hang3.cc (dummy3): Define.
5260 * gdb.cp/m-data.cc (main): Reference shadow.
5261
bdf7534a
NF
52622009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5263 Nathan Froyd <froydnj@codesourcery.com>
5264
5265 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5266 remote host.
5267
f24fce77
NF
52682009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5269
5270 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5271 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5272 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5273 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5274 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5275 * gdb.dwarf2/dw2-producer.exp: Likewise.
5276 * gdb.dwarf2/mac-fileno.exp: Likewise.
5277 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5278 py-prettyprint.py to the remote host.
5279 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5280
40f0318e
KS
52812009-11-11 Keith Seitz <keiths@redhat.com>
5282
5283 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5284 use it instead of "Foo".
5285 * gdb.cp/classes.exp (do_tests): Add a test to access
5286 a method through a typedef'd class name.
5287
f3d9f7fb
NF
52882009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5289
5290 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5291 exponents.
5292 * gdb.base/pointers.exp: Likewise.
5293 * gdb.cp/ref-types.exp: Likewise.
5294
a4216f37
KS
52952009-11-11 Keith Seitz <keiths@redhat.com>
5296
5297 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5298 new[] and delete[].
5299 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5300 "void".
5301 (probe_demangler): Remove all single-quoting of
5302 method and variable names.
5303 (info_func_regexp): Remove the word "void" from any
5304 occurrence of "(void)".
5305 (print_addr_2): Remove all single-quoting of
5306 method names.
5307 (print_addr_2_kfail): Likewise.
5308 (print_addr): Single-quote C function names before
5309 passing to print_addr_2.
5310 (test_paddr_operator_functions): Remove single-quoting
5311 for method names.
5312 Add tests for operator new[] and operator delete[].
5313
9b14d7aa
JK
53142009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5315
5316 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5317
85feb311
KS
53182009-11-09 Keith Seitz <keiths@redhat.com>
5319
5320 * gdb.cp/overload.exp: Add tests for resolving overloaded
5321 methods in expression parsing/evaluation.
5322
fa335448
DJ
53232009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5324
5325 * lib/gdb.exp (default_gdb_version): Use --version instead of
5326 --command.
5327
ec3c07fc
NS
53282009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5329
5330 * lib/gdb.exp (gdb_compile_test): New.
5331 (skip_ada_tests, skip_java_tests): New.
5332 (gdb_compile): Use gdb_compile_test for f77.
5333 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5334 * lib/java.exp (compile_java_from_source): Remove runtests check,
5335 use gdb_compile_test to record result.
5336 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5337 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5338 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5339 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5340 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5341 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5342 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5343 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5344 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5345 adjust gdb_compile invocations.
5346
b8b4e42b
JK
53472009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5348
5349 * Makefile.in (abs_builddir): New.
5350 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5351 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5352 `$(abs_builddir)/site.exp'.
5353
f8b7eaf3
DJ
53542009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5355
5356 * config/m68k-emc.exp, lib/emc-support.exp,
5357 gdb.trace/gdb_c_test.c: Delete.
5358 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5359 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5360 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5361 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5362 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5363 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5364 casing for m68k-*-elf.
5365
c4187697
NS
53662009-11-03 Pedro Alves <pedro@codesourcery.com>
5367
5368 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5369 * gdb.arch/i386-prologue.exp: Likewise.
5370 * gdb.arch/i386-unwind.exp: Likewise.
5371
db16b772
DJ
53722009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5373
5374 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5375
bcf71277
DJ
53762009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5377
5378 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5379
0105cee2
DJ
53802009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5381
5382 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5383
24ddea62
JK
53842009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5385
5386 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5387
287ccc17
JK
53882009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5389
5390 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5391 * gdb.base/sepdebug2.c: New file.
5392
08bca259 53932009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
5394
5395 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5396 the modified warnings for catch syscall. Verify if GDB was compiled
5397 with support for lib expat, and choose which tests to run depending
5398 on this.
5399
5d4e2b76
VP
54002009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5401
5402 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5403 that composite commands are parsed OK. And also test
5404 that breakpoint commands do work.
5405
240e538a
MS
54062009-10-23 Michael Snyder <msnyder@vmware.com>
5407
5408 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5409 to allow for new disassembly style.
5410
9c419145
PP
54112009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5412
5413 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 5414
02506ff1
MS
54152009-10-22 Michael Snyder <msnyder@vmware.com>
5416
5417 * gdb.reverse/break-precsave.exp: New test.
5418 * gdb.reverse/consecutive-precsave.exp: Ditto.
5419 * gdb.reverse/finish-precsave.exp: Ditto.
5420 * gdb.reverse/i386-precsave.exp: Ditto.
5421 * gdb.reverse/machinestate-precsave.exp: Ditto.
5422 * gdb.reverse/sigall-precsave.exp: Ditto.
5423 * gdb.reverse/solilb-precsave.exp: Ditto.
5424 * gdb.reverse/step-precsave.exp: Ditto.
5425 * gdb.reverse/until-precsave.exp: Ditto.
5426 * gdb.reverse/watch-precsave.exp: Ditto.
5427
4cf866a3
MS
54282009-10-22 Michael Snyder <msnyder@vmware.com>
5429
5430 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5431 for gdb_expect. Adjust one test's expect strings for the new
5432 format of disassemble.
5433 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5434 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5435 gdb_test_multiple.
5436 * gdb.reverse/step-reverse.exp: Delete 'return'.
5437 * gdb.reverse/until-reverse.exp: Delete blank lines.
5438 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5439
2b28d209
PP
54402009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5441
5442 * gdb.base/consecutive.exp: Adjust.
5443 * gdb.base/display.exp: Likewise.
5444 * gdb.base/pc-fp.exp: Likewise.
5445 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 5446
33b9c32b
MS
54472009-10-19 Michael Snyder <msnyder@vmware.com>
5448
5449 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5450 * gdb.reverse/finish-reverse.c: Ditto.
5451 * gdb.reverse/sigall-reverse.c: Ditto.
5452 * gdb.reverse/solib-reverse.c: Ditto.
5453 * gdb.reverse/step-reverse.c: Ditto.
5454 * gdb.reverse/watch-reverse.c: Ditto.
5455
6c95b8df
PA
54562009-10-19 Pedro Alves <pedro@codesourcery.com>
5457 Stan Shebs <stan@codesourcery.com>
5458
5459 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5460 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5461 "Executing new program".
5462 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5463 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5464 left listed after having been killed.
5465 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5466 * gdb.base/maint.exp: Adjust test.
5467
5468 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5469 * gdb.multi/Makefile.in: New.
5470 * gdb.multi/base.exp: New.
5471 * gdb.multi/goodbye.c: New.
5472 * gdb.multi/hangout.c: New.
5473 * gdb.multi/hello.c: New.
5474 * gdb.multi/bkpt-multi-exec.c: New.
5475 * gdb.multi/bkpt-multi-exec.exp: New.
5476 * gdb.multi/crashme.c: New.
5477
279017b7
TG
54782009-10-13 Tristan Gingold <gingold@adacore.com>
5479
5480 * gdb.base/sepdebug.exp: Check debug info are found.
5481
0413d738
PA
54822009-10-08 Pedro Alves <pedro@codesourcery.com>
5483
5484 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5485 bits.
5486
c628eecc
JK
54872009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5488
5489 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5490
38af1bfe
JB
54912009-10-07 Joel Brobecker <brobecker@adacore.com>
5492
5493 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5494 of the comments.
5495
2b0adecd
PM
54962009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5497
5498 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5499 * gdb.base/annota3.exp: Idem.
5500 * gdb.base/maint.exp: Idem.
5501
8d417781
PM
55022009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5503
889bf7c5 5504 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
5505 to default.
5506
bb61102d
PM
55072009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5508
889bf7c5 5509 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
5510 mingw and cygwin targets.
5511
ace5c364
PM
55122009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5513 Pedro Alves <pedro@codesourcery.com>
5514
889bf7c5 5515 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
5516 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5517
c2d494a0
PM
55182009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5519
e1b52ce2
PM
5520 * gdb.base/shr1.c: Use %p in format string.
5521 * gdb.base/unload.c: Avoid warning in fprintf.
5522 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 5523
209f53f5
PM
55242009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5525
5526 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5527 long type.
5528 (test_unlink): Correct printf string.
5529 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5530 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5531
8172766a
JK
55322009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5533
5534 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5535 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5536 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5537
0f73703c
UW
55382009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5539
5540 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5541 * gdb.objc/nondebug.exp: Likewise.
5542
b32306ca
UW
55432009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5544
5545 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5546 target_info setting.
5547
5548 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5549 that detect new threads during "info threads".
5550
0057022f
UW
55512009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5552
5553 * gdb.threads/manythreads.c (main): Increase thread stack size
5554 to 2*PTHREAD_STACK_MIN.
5555 * gdb.threads/multi-create.c (main): Likewise.
5556 (create_function): Likewise.
5557
f29c0325
UW
55582009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5559
5560 * gdb.base/dump.exp: Pass difference of pointer types instead
5561 of integer types as offset to restore in intarr3.srec case.
5562
fcb34849
UW
55632009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5564
5565 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5566
d5142e3b
UW
55672009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5568
5569 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5570
087b74b2 55712009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 5572
087b74b2
PM
5573 New test for two watchpoints, with disabling of
5574 the first inserted.
5575 * testsuite/gdb.base/watchpoints.c: New file.
5576 * testsuite/gdb.base/watchpoints.exp: New file.
5577
96c07c5b
TT
55782009-09-25 Tom Tromey <tromey@redhat.com>
5579
5580 * gdb.base/charset.exp: Test utf-16 strings with Python.
5581
b8899f2b
TT
55822009-09-25 Tom Tromey <tromey@redhat.com>
5583
5584 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5585 UCS-4.
5586 * gdb.base/charset.c (utf_32_string): Rename.
5587 (init_utf32): Rename.
5588 (main): Update.
5589
329719ec
TT
55902009-09-22 Tom Tromey <tromey@redhat.com>
5591
5592 * gdb.python/py-function.exp: Add regression tests.
5593
11ef0d76
KS
55942009-09-21 Keith Seitz <keiths@redhat.com>
5595
5596 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5597 with invalid operator.
5598
3fe8f3b3
KS
55992009-09-21 Keith Seitz <keiths@redhat.com>
5600
5601 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5602 and destructor using typedef name of class.
5603 * gdb.cp/classes.cc (class Base1): Add a destructor.
5604 (base1): New typedef.
5605 (use_methods): Instanitate an object of type base1.
5606 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5607 (do_tests): Call test_template_typedef.
5608 * gdb.cp/templates.cc (Baz::~Baz): New method.
5609 (intBazOne): New typedef.
5610 (main): Instantiate intBazOne.
5611
7a9fe101
PM
56122009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5613
5614 PR python/10633
5615
5616 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5617 Function.
5618 (run_lang_tests): Add print elements test.
5619
2e4d963f
PM
56202009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5621
5622 * gdb.python/py-value.exp (test_subscript_regression): New
5623 function. Test for invalid subscripts.
5624 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5625 (ptr_ref): New function.
5626
ec7e75e7
PP
56272009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5628
5629 * gdb.base/default.exp: Fix "show convenience".
5630
0cc7d26f
TT
56312009-09-15 Tom Tromey <tromey@redhat.com>
5632
5633 * lib/mi-support.exp (mi_create_varobj): Update.
5634 (mi_create_floating_varobj): Likewise.
5635 (mi_create_dynamic_varobj): New proc.
5636 (mi_varobj_update): Update.
5637 (mi_varobj_update_with_type_change): Likewise.
5638 (mi_varobj_update_kv_helper): New proc.
5639 (mi_varobj_update_dynamic_helper): Rewrite.
5640 (mi_varobj_update_dynamic): New proc.
5641 (mi_list_varobj_children): Update.
5642 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5643 * gdb.python/python-prettyprint.py (pp_outer): New class.
5644 (pp_nullstr): Likewise.
5645 (lookup_function): Register new printers.
5646 * gdb.python/python-prettyprint.c (struct substruct): New type.
5647 (struct outerstruct): Likewise.
5648 (substruct_test): New function.
5649 (struct nullstr): New type.
5650 (string_1, string_2): New globals.
5651 (main): Add new tests.
5652 * gdb.python/python-mi.exp: Added regression tests.
5653 * gdb.mi/mi2-var-display.exp: Update.
5654 * gdb.mi/mi2-var-cmd.exp: Update.
5655 * gdb.mi/mi2-var-child.exp: Update.
5656 * gdb.mi/mi2-var-block.exp: Update.
5657 * gdb.mi/mi-var-invalidate.exp: Update.
5658 * gdb.mi/mi-var-display.exp: Update.
5659 * gdb.mi/mi-var-cmd.exp: Update.
5660 * gdb.mi/mi-var-child.exp: Update.
5661 * gdb.mi/mi-var-block.exp: Update.
5662 * gdb.mi/mi-break.exp: Update.
5663 * gdb.mi/gdb701.exp: Update.
5664
a96d9b2e
SDJ
56652009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5666
5667 * Makefile.in: Inclusion of catch-syscall object.
5668 * gdb.base/catch-syscall.c: New file.
5669 * gdb.base/catch-syscall.exp: New file.
5670
b43b923a
MS
56712009-09-12 Michael Snyder <msnyder@vmware.com>
5672
5673 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5674 that can support reverse debuggnig.
5675
cec03d70
TT
56762009-09-11 Tom Tromey <tromey@redhat.com>
5677
5678 * gdb.dwarf2/valop.S: New file.
5679 * gdb.dwarf2/valop.exp: New file.
5680
e23bb3fc
MK
56812009-09-11 Mark Kettenis <kettenis@gnu.org>
5682
5683 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5684
37c3696d
DE
56852009-09-10 Doug Evans <dje@google.com>
5686
5687 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5688 Add $gdb_prompt to second breakpoint regexp.
5689
5172aecb
JB
56902009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5691
5692 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5693 names, add missing ones.
5694 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5695 * gdb.python/py-frame.c: Rename from python-frame.c.
5696 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5697 testfile name.
5698 * gdb.python/py-function.exp: Rename from python-function.exp.
5699 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5700 testfile name.
5701 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5702 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5703 Adjust testfile name.
5704 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5705 * gdb.python/py-template.cc: Rename from python-template.cc.
5706 * gdb.python/py-template.exp: Rename from python-template.exp.
5707 Adjust testfile name.
5708 * gdb.python/py-value.c: Rename from python-value.c.
5709 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5710 testfile name.
5711
b554e4bd
JK
57122009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5713
5714 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5715 $bpt2address.
5716 (Second breakpoint address is valid on ia64)
5717 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5718
9a68ae16
JM
57192009-09-03 Joseph Myers <joseph@codesourcery.com>
5720
5721 * gdb.base/ending-run.exp: Restrict regular expression matching
5722 line number to require closing brace following.
5723
146b9145
DE
57242009-09-03 Doug Evans <dje@google.com>
5725
5726 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5727
787d21e1
TT
57282009-09-02 Tom Tromey <tromey@redhat.com>
5729
5730 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5731
e7802207
TT
57322009-09-02 Tom Tromey <tromey@redhat.com>
5733
5734 * gdb.dwarf2/callframecfa.exp: New file.
5735 * gdb.dwarf2/callframecfa.S: New file.
5736
817aadd2
JK
57372009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5738
5739 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5740 gdb.base/solib-overlap-main.c: New.
5741
4a76eae5
DJ
57422009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5743
5744 PR gdb/10565
5745
5746 * gdb.base/bitfields.c (struct container, container): New.
5747 (main): Initialize it and call break5.
5748 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5749
d4b96c9a
JK
57502009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5753 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5754
4e22772d
JK
57552009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5756
5757 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5758
2efab443
MS
57592009-08-26 Michael Snyder <msnyder@vmware.com>
5760
5761 * gdb.base/i386-reverse.c: New file.
5762 * gdb.base/i386-reverse.exp: New file.
5763 * gdb.base/Makefile.in: Add new files to be removed.
5764
07ab73a0
JM
57652009-08-26 Joseph Myers <joseph@codesourcery.com>
5766
5767 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5768 environment-pwd for remote host.
5769 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5770
676accff
KS
57712009-08-24 Keith Seitz <keiths@redhat.com>
5772
5773 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5774 Add two new C++ completer tests which limit the output to a
889bf7c5 5775 given class.
676accff 5776
f9f7ad22
MS
57772009-08-24 Michael Snyder <msnyder@vmware.com>
5778
5779 * gdb.base/del.exp: Fix typo in comment.
5780 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5781
81ecdfbb
RW
57822009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5783
5784 * configure: Regenerate.
5785 * gdb.hp/configure: Likewise.
5786 * gdb.hp/gdb.aCC/configure: Likewise.
5787 * gdb.hp/gdb.base-hp/configure: Likewise.
5788 * gdb.hp/gdb.compat/configure: Likewise.
5789 * gdb.hp/gdb.defects/configure: Likewise.
5790 * gdb.hp/gdb.objdbg/configure: Likewise.
5791 * gdb.stabs/configure: Likewise.
5792
cab0c772
UW
57932009-08-19 Doug Evans <dje@google.com>
5794
5795 * gdb.base/gdbvars.c: New file.
5796 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5797
b8fa0bfa
PA
57982009-08-14 Pedro Alves <pedro@codesourcery.com>
5799
5800 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5801 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5802
b84aa90a
PA
58032009-08-13 Pedro Alves <pedro@codesourcery.com>
5804
5805 * gdb.base/default.exp: Adjust "set language test": it's now an
5806 enum command. Larger help string moved to "help set language".
5807 * gdb.base/help.exp: Adjust "help set language" expected output,
5808 now lists all known languages.
5809
0d8f9b2c
NF
58102009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5811
5812 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5813 all frame arguments.
5814 * gdb.arch/altivec-regs.exp: Likewise.
5815
bda180e0
TT
58162009-08-07 Tom Tromey <tromey@redhat.com>
5817
5818 * gdb.base/setshow.exp: Add tests for changes to set language, set
5819 check range, and set check type.
5820
48cb2d85
VP
58212009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5822
5823 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5824 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 5825 Call it.
48cb2d85 5826
1ea34204
UW
58272009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5828
5829 * configure.ac: Run gdb.cell tests when appropriate.
5830 * configure: Regenerate.
5831 * lib/cell.exp: New file.
5832 * gdb.cell: New directory.
5833 * gdb.cell/configure.ac: New file.
5834 * gdb.cell/configure: New file.
5835 * gdb.cell/Makefile.in: New file.
5836 * gdb.cell/arch.exp: New file.
5837 * gdb.cell/break.c: New file.
5838 * gdb.cell/break.exp: New file.
5839 * gdb.cell/break-spu.c: New file.
5840 * gdb.cell/bt.c: New file.
5841 * gdb.cell/bt2-spu.c: New file.
5842 * gdb.cell/bt-spu.c: New file.
5843 * gdb.cell/bt.exp: New file.
5844 * gdb.cell/coremaker.c: New file.
5845 * gdb.cell/coremaker-spu.c: New file.
5846 * gdb.cell/core.exp: New file.
5847 * gdb.cell/gcore.exp: New file.
5848 * gdb.cell/data.c: New file.
5849 * gdb.cell/data.exp: New file.
5850 * gdb.cell/data-spu.c: New file.
5851 * gdb.cell/ea-cache.exp: New file.
5852 * gdb.cell/ea-cache.c: New file.
5853 * gdb.cell/ea-cache-spu.c: New file.
5854 * gdb.cell/ea-standalone.c: New file.
5855 * gdb.cell/ea-standalone.exp: New file.
5856 * gdb.cell/ea-test.c: New file.
5857 * gdb.cell/ea-test.exp: New file.
5858 * gdb.cell/f-regs.exp: New file.
5859 * gdb.cell/mem-access.c: New file.
5860 * gdb.cell/mem-access.exp: New file.
5861 * gdb.cell/mem-access-spu.c: New file.
5862 * gdb.cell/ptype.exp: New file.
5863 * gdb.cell/registers.exp: New file.
5864 * gdb.cell/size.c: New file.
5865 * gdb.cell/sizeof.exp: New file.
5866 * gdb.cell/size-spu.c: New file.
5867 * gdb.cell/solib.exp: New file.
5868 * gdb.cell/solib-symbol.exp: New file.
5869
85e747d2
UW
58702009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5871
5872 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5873
58d6951d
DJ
58742009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5875
5876 * gdb.base/float.exp: Handle VFP registers.
5877
6e0a4f15
MS
58782009-07-14 Michael Snyder <msnyder@vmware.com>
5879
dcd5da87
MS
5880 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5881 to bring gdb to the beginning of the calling line.
5882
6e0a4f15
MS
5883 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5884 confusing the i386 epilogue unwinder.
5885
782b2b07
SS
58862009-07-14 Stan Shebs <stan@codesourcery.com>
5887
5888 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5889
f662c3bc
MS
58902009-07-14 Michael Snyder <msnyder@vmware.com>
5891
5892 * gdb.reverse/step-reverse.exp (stepi into function call):
5893 Call instruction may not be first instruction in the line.
5894 (reverse stepi from a function call): Used wrong line number.
5895
8f313923
JK
58962009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5897
5898 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5899
4662c76e
JK
59002009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5901
5902 Fix gdb.base/macscp.exp when using custom inputrc.
5903 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5904 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5905 env(TERM) set.
5906 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5907 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5908
aa81e255
JK
59092009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5910
5911 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5912 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5913 Change the compilation target to match the testcase name.
5914 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5915 testcase name.
5916 * a2-run.exp: Use for setup prepare_for_testing. Change the
5917 compilation target to match the testcase name.
5918 * gdb.base/commands.exp: Likewise.
5919 * gdb.base/finish.exp: Likewise.
5920 * gdb.base/float.exp: Likewise.
5921 * gdb.base/info-target.exp: Likewise.
5922 * gdb.base/relational.exp: Likewise.
5923 * gdb.base/term.exp: Likewise.
5924 * gdb.base/until.exp: Likewise.
5925 * gdb.base/volatile.exp: Likewise.
5926 * gdb.base/whatis-exp.exp: Likewise.
5927
4c93b1d7
HZ
59282009-07-11 Hui Zhu <teawater@gmail.com>
5929
5930 * gdb.base/help.exp (disassemble): Update expected help text.
5931
812f7342
TT
59322009-07-09 Tom Tromey <tromey@redhat.com>
5933
5934 * lib/gdb.exp: Handle TRANSCRIPT.
5935 (remote_spawn, remote_close, send_gdb): New procs.
5936
fbb8f299
PM
59372009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5938
5939 * gdb.python/python-prettyprint.c: Add counted null string
5940 structure.
5941 * gdb.python/python-prettyprint.exp: Print null string. Test for
5942 embedded nulls.
5943 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5944 * gdb.python/python-value.exp (test_value_in_inferior): Add
5945 variable length string fetch tests.
5946 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5947
c0ac0ec7
JK
59482009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5949
5950 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5951
30b66ecc
TT
59522009-07-07 Tom Tromey <tromey@redhat.com>
5953
5954 * gdb.base/call-rt-st.exp: Update for change to escape output.
5955 * gdb.base/callfuncs.exp: Likewise.
5956 * gdb.base/charset.exp: Likewise.
5957 * gdb.base/constvars.exp: Likewise.
5958 * gdb.base/long_long.exp: Likewise.
5959 * gdb.base/pointers.exp: Likewise.
5960 * gdb.base/printcmds.exp: Likewise.
5961 * gdb.base/setvar.exp: Likewise.
5962 * gdb.base/store.exp: Likewise.
5963 * gdb.cp/ref-types.exp: Likewise.
5964 * gdb.mi/mi-var-child.exp: Likewise.
5965 * gdb.mi/mi-var-display.exp: Likewise.
5966 * gdb.mi/mi2-var-display.exp: Likewise.
5967 * gdb.base/charset.exp: Test octal escape sequence length.
5968 Update for change to escape output.
5969
187c4a2b
JK
59702009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5971
5972 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5973
d80a43f9
DJ
59742009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5975
5976 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5977
047427a8
JK
59782009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5979
5980 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5981 gdbserver increasing $portnum if "Can't bind address" has been seen.
5982
8b5a0f4f
PA
59832009-07-05 Pedro Alves <pedro@codesourcery.com>
5984
5985 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5986 mingw32ce.
5987
7d93ba58
PA
59882009-07-05 Pedro Alves <pedro@codesourcery.com>
5989
5990 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5991 VFP format.
5992
2277426b
PA
59932009-07-02 Pedro Alves <pedro@codesourcery.com>
5994
5995 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5996 linux. Adjust to use "inferior", "info inferiors", "detach
5997 inferior" and "kill inferior" instead of "restart", "info fork",
5998 "detach fork" and "delete fork".
5999 * gdb.base/ending-run.exp: Spell out "info".
6000 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6001 the "kill" command.
6002
5af949e3
UW
60032009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6004
6005 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6006 change to prefix TLS offset in hex with 0x.
6007
5d3729b5
UW
60082009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6009
6010 * gdb.base/default.exp: Update test case for "x" changes.
6011
af589bd0
TG
60122009-07-01 Tristan Gingold <gingold@adacore.com>
6013
6014 * gdb.base/bigcore.exp: Make darwin untested.
6015
40974f91
JK
60162009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6017
6018 * gdb.base/completion.exp (directory completion): Create the directory.
6019 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6020 escapeuniquesub.
6021 (directory completion 2): Expect now ${escapeuniquesub}.
6022 (Glob remaining of directory test): Remove one excessive newline.
6023 Expect the real output.
6024
59dd3af6
JK
60252009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6026
6027 Fix `make check//%' target after `make check' has been ran.
6028 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6029 a mkdir call.
6030 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6031 (%/.dir): Remove.
6032
f4e164aa
JK
60332009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6034
6035 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6036 the expected result record.
6037
69af2122
JK
60382009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6039
6040 Remove racy FAILs relying just on the timeouts.
6041 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6042 (annotation_level 2): Remove racy FAILs.
6043
2fd481e1
PP
60442009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6045
6046 gdb/10275
889bf7c5
PA
6047 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6048
c38f313d
DJ
60492009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6050
6051 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6052
8b777f02
VP
60532009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6054
6055 * gdb.mi/mi-stack.exp: Testing symbolic options
6056 to -stack-list-locals and -stack-list-arguments.
6057
00c7eacf
JK
60582009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6059
6060 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6061
6bc80edc
TT
60622009-06-29 Tom Tromey <tromey@redhat.com>
6063
6064 * dg-extract-results.sh: New file.
6065 * Makefile.in (FORCE_PARALLEL): New variable.
6066 (CHECK_TARGET): New conditional variable.
6067 (check): Use CHECK_TARGET.
6068 (DO_RUNTEST): New variable.
6069 (check-single): New target.
6070 (TEST_DIRS): New variable.
6071 (TEST_TARGETS): Likewise.
6072 (check-parallel): New target.
6073 (check-gdb.%): New pattern.
6074 (BASE1_FILES): New variable.
6075 (BASE2_FILES): Likewise.
6076 (check-gdb.base%): New pattern.
6077 (%/.dir): New pattern.
6078 * configure: Rebuild.
6079 * aclocal.m4 (AM_CONDITIONAL): New defun.
6080 * configure.ac: Check whether user is using GNU make.
6081 (GMAKE): New conditional.
6082
794684b6
SW
60832009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6084
6085 * gdb.cp/namespace-nested-import.cc: New test.
6086 * gdb.cp/namespace-nested-import.exp: New test.
6087
edb3359d
DJ
60882009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6089
6090 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6091 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6092 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6093 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6094 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6095 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6096 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6097 gdb.opt/inline-markers.c: New files.
6098 * lib/gdb.exp (skip_inline_frame_tests): New function.
6099 (skip_inline_var_tests): New function.
6100
cf657a0c
AS
61012009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6102
6103 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6104 backtrace.
6105
28d41a99
MS
61062009-06-27 Michael Snyder <msnyder@vmware.com>
6107
6108 * gdb.reverse: New directory.
6109 * gdb.reverse/break-reverse.c: New test.
6110 * gdb.reverse/break-reverse.exp: New test.
6111 * gdb.reverse/consecutive-reverse.c: New test.
6112 * gdb.reverse/consecutive-reverse.exp: New test.
6113 * gdb.reverse/finish-reverse.c: New test.
6114 * gdb.reverse/finish-reverse.exp: New test.
6115 * gdb.reverse/machinestate.c: New test.
6116 * gdb.reverse/ms1.c: New test.
6117 * gdb.reverse/machinestate.exp: New test.
6118 * gdb.reverse/Makefile.in: New file.
6119 * gdb.reverse/shr2.c: New test.
6120 * gdb.reverse/solib-reverse.c: New test.
6121 * gdb.reverse/solib-reverse.exp: New test.
6122 * gdb.reverse/step-reverse.c: New test.
6123 * gdb.reverse/step-reverse.exp: New test.
6124 * gdb.reverse/until-reverse.c: New test.
6125 * gdb.reverse/ur1.c: New test.
6126 * gdb.reverse/until-reverse.exp: New test.
6127 * gdb.reverse/watch-reverse.c: New test.
6128 * gdb.reverse/watch-reverse.exp: New test.
6129 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6130 * configure: Regenerate.
6131
fe3c8b0d
DE
61322009-06-26 Doug Evans <dje@google.com>
6133
6134 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6135
3a72a602
PM
61362009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6137
6138 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6139 windows problem for 'file delete $binfile'.
6140
27aa8d6a
SW
61412009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6142
6143 * gdb.cp/namespace-using.exp: New test.
6144 * gdb.cp/namespace-using.cc: New test.
6145
8ac055f8
JB
61462009-05-20 Joel Brobecker <brobecker@adacore.com>
6147
6148 * gdb.ada/variant_record_packed_array: New testcase.
6149
85e306ed
TT
61502009-06-23 Tom Tromey <tromey@redhat.com>
6151
6152 * gdb.base/charset.exp (test_combination): Regression test.
6153 * gdb.base/charset.c (my_wchar_t): New typedef.
6154 (myvar): New global.
6155 (main): Set myvar.
6156
56643c5e
PM
61572009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6158
6159 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6160 target.
6161
1fac167a
UW
61622009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6163
6164 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6165
7ccb0be9
UW
61662009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6167
6168 * gdb.mi/gdb680.exp: Update test for error message.
6169
568d6575
UW
61702009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6171
6172 * gdb.base/annota1.exp: Allow multiple occurrences of the
6173 frames-invalid annotation.
6174 * gdb.cp/annota2.exp: Likewise.
6175
7cd1089b
PM
61762009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6177
6178 * gdb.cp/gdb2495.cc: New file.
6179 * gdb.cp/gdb2495.exp: New file.
6180
72c63395
JK
61812009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6182
6183 Report error on GDB crash during runto.
6184 * lib/gdb.exp (runto <eof>): New.
6185
3788363d
DJ
61862009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6187
6188 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6189 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6190 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6191 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6192 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6193 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6194 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6195 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6196 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6197 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6198 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6199 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6200 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6201 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6202 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6203 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6204 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6205 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6206 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6207 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6208 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6209 gdb.trace/passcount.exp, gdb.trace/report.exp,
6210 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6211 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6212 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6213 executable.
6214
17592de3
PA
62152009-06-07 Pedro Alves <pedro@codesourcery.com>
6216
6217 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6218 defined before referencing it.
6219
701e355d
DE
62202009-06-03 Doug Evans <dje@google.com>
6221
6222 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6223 * gdb.arch/i386-see.c: Ditto.
6224
f2292c65
PM
62252009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6226
6227 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6228 (check_macro): Return 1 if undefined.
6229 If first test fails, check if macro debug information is available,
6230 and report unsupported test if no macro information is found.
6231
5a437975
DE
62322009-05-29 Doug Evans <dje@google.com>
6233
6234 * gdb.threads/hand-call-in-threads.exp: New.
6235 * gdb.threads/hand-call-in-threads.c: New.
6236
c141c696
MS
62372009-05-29 Michael Snyder <msnyder@vmware.com>
6238
6239 * gdb.base/break-always.exp: Change "1" to "on".
6240 Add confirmation check.
6241
b3444185
PA
62422009-05-28 Pedro Alves <pedro@codesourcery.com>
6243
6244 * gdb.threads/threxit-hop-specific.c: New.
6245 * gdb.threads/threxit-hop-specific.exp: New.
6246 * gdb.threads/thread-execl.c: New.
6247 * gdb.threads/thread-execl.exp: New.
6248
b6313243
TT
62492009-05-27 Tom Tromey <tromey@redhat.com>
6250 Thiago Jung Bauermann <bauerman@br.ibm.com>
6251
6252 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6253 (mi_child_regexp): Likewise.
6254 (mi_list_varobj_children_range): Likewise.
6255 (mi_get_features): Likewise.
6256 (mi_list_varobj_children): Rewrite.
6257 * gdb.python/python-mi.exp: New file.
6258
a6bac58e
TT
62592009-05-27 Tom Tromey <tromey@redhat.com>
6260 Thiago Jung Bauermann <bauerman@br.ibm.com>
6261 Phil Muldoon <pmuldoon@redhat.com>
6262 Paul Pluzhnikov <ppluzhnikov@google.com>
6263
6264 * gdb.python/python-prettyprint.exp: New file.
6265 * gdb.python/python-prettyprint.c: New file.
6266 * gdb.python/python-prettyprint.py: New file.
6267 * gdb.base/display.exp: print/r is now valid.
6268
2c74e833
TT
62692009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6270 Tom Tromey <tromey@redhat.com>
6271 Pedro Alves <pedro@codesourcery.com>
6272 Paul Pluzhnikov <ppluzhnikov@google.com>
6273
6274 * gdb.python/python-template.exp: New file.
6275 * gdb.python/python-template.cc: New file.
6276 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6277 tests.
6278 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6279 Call it.
6280 (test_value_after_death): New proc.
6281 * gdb.python/python-value.c (PTR): New typedef.
6282 (main): New variable 'x'.
6283
89c73ade
TT
62842009-05-27 Tom Tromey <tromey@redhat.com>
6285
6286 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6287 tests.
6288 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6289 Call it.
6290
a75724bc
PA
62912009-05-27 Pedro Alves <pedro@codesourcery.com>
6292
6293 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6294
e58b0e63
PA
62952009-05-24 Pedro Alves <pedro@codesourcery.com>
6296
6297 * gdb.threads/fork-thread-pending.c: New.
6298 * gdb.threads/fork-thread-pending.exp: New.
6299
4ac36638
JK
63002009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6301
6302 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6303 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6304
889bf7c5 63052009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 6306
889bf7c5 6307 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 6308
b242c3c2
PA
63092009-05-17 Pedro Alves <pedro@codesourcery.com>
6310
6311 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6312 `gdb_get_line_number'. Call `callee' in both parent and child.
6313 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6314 `gdb_get_line_number' instead of hardcoding line numbers.
6315 (catch_fork_unpatch_child): New procedure to test detaching
6316 breakpoints from child fork.
6317 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6318 hardcoding line numbers.
6319 (do_fork_tests): Run `catch_fork_unpatch_child'.
6320
ee342b23
VP
63212009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6322
6323 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6324 of structure type enters or leaves the scope, it
6325 is reported by -var-update.
6326
e2009e98
DE
63272009-05-11 Doug Evans <dje@sebabeach.org>
6328
6329 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 6330 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
6331 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6332
00903456
JK
63332009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6334
6335 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6336
dc621c35
DE
63372009-04-30 Doug Evans <dje@google.com>
6338
6339 * gdb.threads/watchthreads2.exp: New testcase.
6340 * gdb.threads/watchthreads2.c: New testcase.
6341
9ab4e744
DE
63422009-04-29 Doug Evans <dje@google.com>
6343
6344 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6345 * gdb.cp/mb-ctor.cc: Ditto.
6346 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6347 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6348 * gdb.cp/mb-inline1.cc: Call it.
6349 * gdb.cp/mb-inline2.cc: Ditto.
6350 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6351 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6352
484086b7
JK
63532009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6354
6355 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6356 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6357 Replace all uses of `decimal' by `nonzero'.
6358 (info macro FROM_COMMANDLINE): New test.
6359
379a77b5
TT
63602009-04-27 Tom Tromey <tromey@redhat.com>
6361
6362 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6363
b92b73c2
DE
63642009-04-27 Doug Evans <dje@google.com>
6365
6366 * gdb.threads/watchthreads.c (main): Initialize args before starting
6367 the threads. Plus formatting cleanup.
6368 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6369 biased scheduling of one thread.
6370
945a118d
JG
63712009-04-27 Jerome Guitton <guitton@adacore.com>
6372
6373 * gdb.cp/templates.cc (GetMax): New template.
6374 (main): Declare two instances of GetMax.
6375 * gdb.cp/templates.exp: Add new test.
6376
d389af10
JK
63772009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6378
6379 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6380
e7f86de9
JM
63812009-04-22 Joseph Myers <joseph@codesourcery.com>
6382
6383 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6384
334cc82d
TT
63852009-04-15 Tom Tromey <tromey@redhat.com>
6386
6387 * gdb.base/charset.exp: Add regression test.
6388
d12672cc
JB
63892009-04-14 Joel Brobecker <brobecker@adacore.com>
6390
6391 * gdb.base/exe-lock.exp: New testcase.
6392
18e8c3bc
TT
63932009-04-13 Tom Tromey <tromey@redhat.com>
6394
6395 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6396 operator on Frame.
6397
5ecd5cbe
UW
63982009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6399
6400 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6401 * gdb.server/ext-attach.exp: Likewise.
6402
7309f756
VP
64032009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6404
6405 Eliminate some sleep usage.
6406
889bf7c5
PA
6407 * gdb.mi/basics.c (do_nothing): New.
6408 (main): Use do_nothing instead of printf, so that
6409 not to introduce race condition between output of
6410 inferiour and output of gdb. Do not use sleep as it
6411 is not generally available on embedded targets.
7309f756 6412
f4b95f6f
PA
64132009-04-02 Pedro Alves <pedro@codesourcery.com>
6414
6415 * gdb.server/ext-attach.exp: Expect an optional process id after
6416 "Detached from remote process".
6417
de40b933
JK
64182009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6419
6420 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6421 gdb.dwarf2/dw2-unresolved.exp: New.
6422
2ae101a4
PA
64232009-04-02 Pedro Alves <pedro@codesourcery.com>
6424
6425 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6426 mi_run_to_main.
6427
56a8e183
PA
64282009-04-02 Pedro Alves <pedro@codesourcery.com>
6429
6430 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6431 mi_run_to_main. Skip thread exit test on remote targets.
6432 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6433 mi_run_to_main.
6434 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6435 mi_run_to_main.
6436 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6437 when expecting ^connected. Detect when the target doesn't support
6438 non-stop mode.
6439 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6440 supported. Return -1 on error, 0 on success.
6441 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6442 (mi_runto): Return mi_runto_helper's result explicitly.
6443
c35fafde
PA
64442009-04-01 Pedro Alves <pedro@codesourcery.com>
6445
6446 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6447
f8a8dce6
JB
64482009-04-01 Tom Tromey <tromey@redhat.com>
6449
6450 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6451 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6452 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6453 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6454
71c25dea
TT
64552009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6456 Jan Kratochvil <jan.kratochvil@redhat.com>
6457
6458 PR gdb/931
6459 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6460 output.
6461 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6462 for gdb/931.
6463 * dw2-strp.S (DW_AT_language): Change to C++.
6464 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6465
02d9a9ce
JB
64662009-03-31 Joel Brobecker <brobecker@adacore.com>
6467
6468 * gdb.ada/tasks: New testcase.
6469
1042e4c0
SS
64702009-03-30 Stan Shebs <stan@codesourcery.com>
6471
6472 * gdb.trace/actions.exp: Update to match new info trace format.
6473 * gdb.trace/deltrace.exp: Ditto.
6474 * gdb.trace/infotrace.exp: Ditto.
6475 * gdb.trace/passcount.exp: Ditto.
6476 * gdb.trace/save-trace.exp: Ditto.
6477 * gdb.trace/while-stepping.exp: Ditto.
6478 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6479
f8f6f20b
TJB
64802009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6481
6482 * gdb.python/python-frame.c: New file.
6483 * gdb.python/python-frame.exp: New file.
6484
c0c6f777
TJB
64852009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6486
6487 * gdb.python/python-value.exp: Add tests for the address
6488 attribute.
6489
3cb51905
AS
64902009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6491
6492 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6493
88fc996f
DE
64942009-03-26 Doug Evans <dje@google.com>
6495
6496 * gdb.mi/mi-nonstop-exit.exp: New file.
6497 * gdb.mi/non-stop-exit.c: New file.
6498
56ef84b1
TT
64992009-03-26 Tom Tromey <tromey@redhat.com>
6500
6501 Update for change to prologue skipping:
6502 * gdb.mi/mi2-simplerun.exp: Update.
6503 * gdb.mi/mi2-break.exp: Update.
6504 * gdb.mi/mi-simplerun.exp: Update.
6505 * gdb.mi/mi-break.exp: Update.
6506 * gdb.base/ending-run.exp: Update.
6507
def2b000
TJB
65082009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6509
6510 * gdb.python/python-value.exp (test_value_in_inferior): Test
6511 gdb.Value.is_optimized_out attribute.
6512
442ddf59
JK
65132009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6514
6515 * gdb.dwarf2/dw2-noloc-main.c: New file.
6516 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6517 (.text): Remove.
6518 (.data): New.
6519 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6520 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6521 (DW_TAG_subprogram func_cu1, noloc): Remove.
6522 (main): New.
6523 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6524 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6525 (file_symbols): New procedure.
6526
a8df5de4
TT
65272009-03-25 Tom Tromey <tromey@redhat.com>
6528
6529 * gdb.base/charset.exp (valid_target_charset): New proc.
6530 Use it to skip tests on invalid charsets.
6531
cc1d7add
PM
65322009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6533
6534 * gdb.base/completion.exp: Add a test for directory completion.
6535
bcd5727b
JK
65362009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6537
6538 Fix a racy FAIL.
6539 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6540 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6541
cc924cad
TJB
65422009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6543
6544 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6545 * gdb.python/python-function.exp: Add test for function returning
6546 a GDB value.
6547
bc3b79fd
TJB
65482009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6549
6550 * gdb.python/python-function.exp: New file.
6551
6c7a06a3
TT
65522009-03-20 Tom Tromey <tromey@redhat.com>
6553
6554 * gdb.base/store.exp: Update for change to escape output.
6555 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6556 to escape output.
6557 * gdb.base/pointers.exp: Update for change to escape output.
6558 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6559 to escape output.
6560 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6561 escape output.
6562 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6563 to escape output.
6564 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6565 escape output.
6566 * gdb.base/setvar.exp: Update for change to escape output.
6567 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6568 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6569 to escape output.
6570 (test_print_string_constants): Likewise.
6571 * gdb.base/charset.exp (valid_host_charset): Check size of
6572 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6573 cases. Handle "auto"-related output.
6574 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6575 (uvar, Uvar): New globals.
6576
c31af87b
JG
65772009-03-19 Jerome Guitton <guitton@adacore.com>
6578
6579 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6580 deltas.
6581 * gdb.ada/fixed_points.exp: Ditto.
6582
51272cf2
PA
65832009-03-18 Pedro Alves <pedro@codesourcery.com>
6584
6585 * return-nodebug.c: Don't include stdio.h.
6586 (init): Delete.
6587 (func): Delete definition and provide extern declaration.
6588 (t): New.
6589 (main): Don't call printf. Call func and store its result in t.
6590 * return-nodebug1.c: New.
6591 * return-nodebug.exp: Don't expect stdio output. Instead, print
6592 the global variable t. Drop printf formatters and cast types from
6593 foreach loop. Don't use prepare_for_testing. Compile
6594 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6595 define FORMAT or CAST.
6596
d24948ac
PP
65972009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6598
6599 * gdb.base/solib-display.exp: Disable test for remote targers.
6600
61ff14c6
JK
66012009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6602
6603 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6604
cb4dce93
JK
66052009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6606
6607 Fix a racy FAIL.
6608 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6609 code from `follow parent, print pids'.
6610 (`follow child, print pids', `follow parent, print pids'): Call it.
6611 Replace `gdb_test "break..."' by gdb_breakpoint.
6612
f7c60c5e
VP
66132009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6614
6615 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 6616 sync and async modes.
f7c60c5e 6617
383ace49
JB
66182009-03-12 Joel Brobecker <brobecker@adacore.com>
6619
6620 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6621 that was checked in by mistake. Remove loading of ada.exp, since
6622 this is not necessary in this case.
6623
4ce102af
JB
66242009-03-12 Joel Brobecker <brobecker@adacore.com>
6625
6626 * gdb.ada/ptype_arith_binop.exp: New testcase.
6627
529a2aef
JB
66282009-03-12 Joel Brobecker <brobecker@adacore.com>
6629
6630 * gdb.ada/mod_from_name: New testcase.
6631
8a38181c
JB
66322009-03-12 Joel Brobecker <brobecker@adacore.com>
6633
6634 * gdb.ada/tick_last_segv: New testcase.
6635
11436dee
VP
66362009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6637
61ff14c6 6638 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 6639
1f31650a
VP
66402009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6641
61ff14c6
JK
6642 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6643 include the token in ^running and frame info in *stopped.
1f31650a 6644
a3247a22
PP
66452009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6646
6647 * solib-display.exp: New file.
6648 * solib-display-main.c: New file.
6649 * solib-display-lib.c: New file.
61ff14c6 6650
aae64587
PA
66512009-03-05 Pedro Alves <pedro@codesourcery.com>
6652
6653 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6654
44aabfbc
JK
66552009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6656
6657 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6658 (list_and_check_macro): Use more specific test name.
6659 (next to definition): Make the test names unique.
6660
c087fcd3
PM
66612009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6662
6663 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 6664
c86cf029
VP
66652009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6666
6667 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6668 notifications.
6669 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6670 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6671 * lib/mi-support.exp (library_loaded_re): New.
6672 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6673
3ea85240
VP
66742009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6675
6676 * gdb.gdb/observer.exp: Use test_notification observer, not
6677 normal_stop, everywhere.
6678 (test_normal_stop_notifications): Rename to...
6679 (test_notifications): ...this.
6680 (test_observer_normal_stop): Rename to...
6681 (test_observer): ...this.
6682
1903f0e6
DE
66832009-02-16 Doug Evans <dje@google.com>
6684
6685 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6686 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6687 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6688 (test_prefixed_syscall,test_int3): New tests.
6689 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6690 (test_prefixed_syscall,test_int3): New tests.
6691
1d33d6ba
VP
66922009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6693
3cb51905
AS
6694 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6695 (mi_expect_interrupt): Likewise.
6696 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6697 response.
1d33d6ba 6698
faafb047
PM
66992009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6700
6701 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6702 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6703 Replace calls to get_valueofx by get_hexadecimal_valueof.
6704
417e16e2
PM
67052009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6706
6707 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6708 (get_integer_valueof): New procedure.
6709 (get_sizeof): Use new get_integer_value_of.
6710 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6711 by get_integer_valueof.
6712
7065b901
TT
67132009-02-13 Tom Tromey <tromey@redhat.com>
6714
6715 * gdb.base/remote.exp (get_sizeof): Remove.
6716 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6717 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6718 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6719 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6720 (get_sizeof): Likewise.
6721
5d7cb8df
JK
67222009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6723
6724 PR fortran/9806
6725 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6726
b2febfff
PP
67272009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6728
6729 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6730
4aa995e1
PA
67312009-02-06 Pedro Alves <pedro@codesourcery.com>
6732
6733 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6734
d8906c6f
TJB
67352009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6736
6737 * gdb.python/python-cmd.exp: New file.
6738
ff4ab08d
TG
67392009-02-06 Tristan Gingold <gingold@adacore.com>
6740
6741 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6742
aacd552b
TG
67432009-02-05 Tristan Gingold <gingold@adacore.com>
6744
6745 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6746 pointer is dereferenced and use this signal name in regexp.
6747 * gdb.base/signull.exp: Ditto.
6748 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6749 * gdb.base/signull.c (main): Ditto.
6750
08c637de
TJB
67512009-02-04 Tom Tromey <tromey@redhat.com>
6752 Thiago Jung Bauermann <bauerman@br.ibm.com>
6753
6754 * gdb.python/python-value.exp: Use `gdb.history' instead of
6755 `gdb.value_from_history'.
6756 (test_value_numeric_ops): Add test for conversion of enum constant.
6757 * gdb.python/python-value.c (enum e): New type.
6758 (evalue): New global.
6759 (main): Use argv.
6760
20261af8
JG
67612009-02-04 Jerome Guitton <guitton@adacore.com>
6762
6763 * gdb.ada/uninitialized_vars: New test program.
6764 * gdb.ada/uninitialized_vars.exp: New testcase.
6765
52e44b43
TT
67662009-02-02 Tom Tromey <tromey@redhat.com>
6767
6768 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6769 * gdb.cp/pr2489.cc: Rename...
6770 * gdb.cp/pr9594.cc: ... to this.
6771
1c71341a
TT
67722009-02-02 Tom Tromey <tromey@redhat.com>
6773
6774 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6775 * gdb.cp/pr2489.cc: New file.
6776 * gdb.cp/cpcompletion.exp: New file.
6777
a4295225
TT
67782009-02-02 Tom Tromey <tromey@redhat.com>
6779
6780 PR exp/9059:
6781 * gdb.cp/call-c.exp: Add regression test.
6782 * gdb.cp/call-c.cc (FooHandle): New typedef.
6783 (main): New variable 'handle'.
6784
592375cd
VP
67852009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6786
6787 * lib/mi-support.exp (et_mi_thread_list)
6788 (check_mi_and_console_threads): Adjust for current thread in
6789 -thread-list-ids output.
6790
41447f92
VP
67912009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6792
889bf7c5
PA
6793 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6794 Call it.
41447f92 6795
35669430
DE
67962009-01-28 Doug Evans <dje@google.com>
6797
6798 * gdb.arch/amd64-disp-step.S: New file.
6799 * gdb.arch/amd64-disp-step.exp: New file.
6800 * gdb.arch/i386-disp-step.S: New file.
6801 * gdb.arch/i386-disp-step.exp: New file.
6802
09f00d9a
PM
68032009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6804
6805 * gdb.base/find.exp: Set newline variable
6806 using quotes instead of braces to fix cygwin failures.
6807
1e8fb976
PA
68082009-01-23 Pedro Alves <pedro@codesourcery.com>
6809
6810 * gdb.base/radix.exp: Add tests to ensure that that set
6811 input-radix 0 and set output-radix 0 are really rejected.
6812
da061712
PA
68132009-01-23 Pedro Alves <pedro@codesourcery.com>
6814
6815 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6816 copyright years.
6817
dd7e2d2b
PA
68182009-01-23 Pedro Alves <pedro@codesourcery.com>
6819
6820 PR gdb/9664:
6821 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6822
392452f6
PA
68232009-01-22 Pedro Alves <pedro@codesourcery.com>
6824
6825 PR c++/9631:
6826 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6827
8653e71c
PM
68282009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6829
6830 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6831 binfile definition to fix Windows OS failure.
6832
a12cc160
DJ
68332009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6834
6835 PR gdb/9346
6836 * gdb.base/interrupt.c (sigint_handler): New.
6837 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6838 on error.
6839 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6840 Test "signal SIGINT".
6841
b89667eb
DE
68422009-01-19 Doug Evans <dje@google.com>
6843
6844 * gdb.base/break.exp: Update expected gdb output.
6845 * gdb.base/sepdebug.exp: Ditto.
6846 * gdb.mi/mi-syn-frame.exp: Ditto.
6847 * gdb.mi/mi2-syn-frame.exp: Ditto.
6848 * gdb.base/call-signal-resume.exp: New file.
6849 * gdb.base/call-signals.c: New file.
6850 * gdb.base/unwindonsignal.exp: New file.
6851 * gdb.base/unwindonsignal.c: New file.
6852 * gdb.threads/interrupted-hand-call.exp: New file.
6853 * gdb.threads/interrupted-hand-call.c: New file.
6854 * gdb.threads/thread-unwindonsignal.exp: New file.
6855
adb483fe
DJ
68562009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6857
6858 * gdb.base/define.exp: Test defining and hooking prefix commands.
6859 * gdb.python/python.exp: Update test for "show user" output.
6860
60023297
JK
68612009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6862
6863 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6864 now the output exactly, using less wildcards. Expect also the output
6865 of gfortran-4.3. Update for the f-valprint.c modification from
6866 2008-04-22.
6867 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6868 Remove gdb_test test names where matching the command.
6869
ccc57cf9
PA
68702009-01-01 Pedro Alves <pedro@codesourcery.com>
6871
6872 PR breakpoints/9681:
6873 * gdb.base/watchpoint.exp: Add regression test.
6874
c7a6ca08
PA
68752008-12-31 Pedro Alves <pedro@codesourcery.com>
6876
6877 * gdb.threads/attach-into-signal.exp: Don't use
6878 gdb_suppress_entire_file.
6879 * gdb.threads/attach-stopped.exp: Ditto.
6880 * gdb.threads/attachstop-mt.exp: Ditto.
6881
3a031f65
PA
68822008-12-31 Pedro Alves <pedro@codesourcery.com>
6883
6884 PR gdb/8812:
6885 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6886
09e6485f
PA
68872008-12-29 Pedro Alves <pedro@codesourcery.com>
6888
6889 PR gdb/7536:
6890 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6891 and unsupported output radices are really rejected.
6892
0cd53049
JK
68932008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6894
6895 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6896
ba163c7e
TT
68972008-12-22 Tom Tromey <tromey@redhat.com>
6898
6899 * gdb.cp/punctuator.exp: New file.
6900
6f4de6c9
JK
69012008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6902
6903 * gdb.base/completion.exp (Completing non-existing component): New test.
6904
0f34d0b4
JK
69052008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6906
6907 Fix for PR gdb/8648.
6908 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6909 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6910 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6911 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6912
db2ad4c3
JK
69132008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6914
6915 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6916
bb5ef15e
DP
69172008-12-16 Christophe Lyon <christophe.lyon@st.com>
6918
6919 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6920 compiler actually generate code at the expected line number.
6921
90142adc
JZ
69222008-12-15 Jie Zhang <jie.zhang@analog.com>
6923
6924 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6925
fad6eecd
TT
69262008-12-12 Tom Tromey <tromey@redhat.com>
6927
6928 * gdb.base/commands.exp (redefine_hook_test): New proc.
6929 Call it.
6930
17c8aaf5
TT
69312008-12-11 Tom Tromey <tromey@redhat.com>
6932
6933 * gdb.base/macscp.exp: New regression test.
6934
7c8adf68
TT
69352008-12-11 Tom Tromey <tromey@redhat.com>
6936
6937 * gdb.base/macscp.exp: Print "address.addr".
6938 * gdb.base/macscp1.c (struct outer): New struct.
6939 (address): New global.
6940
b05dcbb7
TT
69412008-12-09 Tom Tromey <tromey@redhat.com>
6942
6943 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6944 Call it.
6945
2d476de1
DE
69462008-12-04 Doug Evans <dje@google.com>
6947
6948 * gdb.server/ext-run.exp: Relax regexp for init program.
6949
87bdc959
TG
69502008-12-03 Tristan Gingold <gingold@adacore.com>
6951
6952 * gdb.base/macscp.exp: Generate an object file during compilation
6953 to work around Darwin dsymutil limitations.
6954
e0740f77
JK
69552008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6956
6957 Test resolving external references to TLS variables.
6958 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6959 FILE2_THREAD_LOCAL.
6960 (testfile2, srcfile2): New variables.
6961 * gdb.threads/tls.c (file2_thread_local)
6962 (function_referencing_file2_thread_local): New.
6963 * gdb.threads/tls2.c: New file.
6964
67f0aac5
JB
69652008-11-28 Joel Brobecker <brobecker@adacore.com>
6966
6967 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
6968 rather than integer, as integer might not be big enough when
6969 on 64bit targets.
67f0aac5 6970
c332165e
JG
69712008-11-27 Jerome Guitton <guitton@adacore.com>
6972
6973 * gdb.cp/formatted-ref.exp: Add equality test.
6974 * gdb.ada/formatted_ref.exp: Ditto.
6975
fc9b693c
JK
69762008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6977
6978 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6979 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6980
a9c64011
AS
69812008-11-20 Andreas Schwab <schwab@suse.de>
6982
6983 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6984 matching syscall entry point.
6985 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6986 (tcatch_vfork_then_child_follow): Likewise. Finish through
6987 vfork even if we stopped at the syscall trampoline.
6988
e2fd701e
DE
69892008-11-20 Doug Evans <dje@google.com>
6990
6991 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6992
69abc51c
TJB
69932008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6994
6995 * gdb.arch/ppc-dfp.exp: New file.
6996 * gdb.arch/ppc-dfp.c: New file.
6997
c14c28ba
PP
69982008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6999
7000 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 7001
2e74121d
DE
70022008-11-17 Doug Evans <dje@google.com>
7003
7004 * gdb.mi/mi-syn-frame.exp: Update expected output.
7005 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7006
66bb093b
VP
70072008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7008
7009 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
7010 "thread N" results in =thread-selected.
7011 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7012 (mi_send_resuming_command_raw): Be prepared for
7013 =thread-selected.
7014
3d043ef6
VP
70152008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7016
a9c64011
AS
7017 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7018 * lib/mi-support.exp: Likewise.
3d043ef6 7019
808104c8
JB
70202008-11-16 Joel Brobecker <brobecker@adacore.com>
7021
7022 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7023 commands from the expected output for "help catch".
7024
00b22944
JB
70252008-11-15 Joel Brobecker <brobecker@adacore.com>
7026
7027 * gdb.ada/int_deref.exp: New testcase.
7028
59669435
TT
70292008-11-14 Nick Roberts <nickrob@snap.net.nz>
7030
7031 * gdb.mi/gdb2549.exp: New file.
7032
de04a248
DE
70332008-11-11 Doug Evans <dje@google.com>
7034
7035 * gdb.base/callexit.exp: New file.
7036 * gdb.base/callexit.c: New file.
7037
6b8ce727
DE
70382008-11-10 Doug Evans <dje@google.com>
7039
7040 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7041 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7042 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7043 (default_gdb_start,default_gdb_exit): Ditto.
7044 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7045 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7046 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7047 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7048 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7049 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7050
1b14b8aa
AS
70512008-11-03 Andreas Schwab <schwab@suse.de>
7052
7053 * gdb.base/hashline2.exp: Fix typo.
7054 * gdb.base/hashline3.exp: Likewise.
7055
f3134b88
TT
70562008-10-30 Tom Tromey <tromey@redhat.com>
7057
7058 * gdb.base/pointers.exp: Add test.
7059 * gdb.base/pointers.c (k, S): New typedefs.
7060 (instance): New global.
7061
c2226152
AS
70622008-10-30 Andreas Schwab <schwab@suse.de>
7063
7064 * gdb.base/args.exp: Add tests for newlines.
7065
462f405c
JB
70662008-10-30 Joel Brobecker <brobecker@adacore.com>
7067
7068 gdb.base/foll-exec.exp: Update the expected output of a couple
7069 of "info breakpoints" tests.
7070
79a45b7d
TT
70712008-10-28 Tom Tromey <tromey@redhat.com>
7072
7073 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7074
adc13a14
PA
70752008-10-24 Pedro Alves <pedro@codesourcery.com>
7076
7077 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7078 gdb_start_cmd.
7079 Use runto_main before any test that requires execution.
7080
252fbfc8
PA
70812008-10-23 Pedro Alves <pedro@codesourcery.com>
7082
7083 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7084 instead of SIGINT.
7085
28148e3d
JB
70862008-10-22 Joel Brobecker <brobecker@adacore.com>
7087
7088 * gdb.base/completion.exp: Update expected output following
7089 the addition of the "info tasks" command.
7090
c209f847
TT
70912008-10-22 Tom Tromey <tromey@redhat.com>
7092
7093 * gdb.base/exprs.exp (test_expr): Add test for string
7094 concatenation.
7095
f177e350
PA
70962008-10-19 Pedro Alves <pedro@codesourcery.com>
7097
7098 * configure.ac: Output gdb.python/Makefile.
7099 * configure: Regenerate.
7100 * gdb.python/Makefile.in: New.
7101
cce89356
JB
71022008-10-16 Joel Brobecker <brobecker@adacore.com>
7103
7104 * gdb.base/foll-fork.exp: Adjust the expected output to match
7105 the new description for fork/vfork catchpoints in the "info
7106 breakpoints" output.
7107
176d289d
TJB
71082008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7109
7110 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7111
a08702d6
TJB
71122008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7113
7114 * gdb.python/python-value.c: New file.
7115 * gdb.python/python-value.exp: New file.
7116
1c5cfe86
PA
71172008-10-15 Pedro Alves <pedro@codesourcery.com>
7118
7119 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7120
5a98ad69
DP
71212008-10-15 Denis Pilat <denis.pilat@st.com>
7122
41702f1b 7123 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7124
dcb1a1e2
TT
71252008-10-09 Tom Tromey <tromey@redhat.com>
7126
7127 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7128 'fprintf' and 'stderr'.
7129
9124fe48
JB
71302008-10-07 Joel Brobecker <brobecker@adacore.com>
7131
7132 * gdb.ada/ref_tick_size.exp: New testcase.
7133
45452591
DE
71342008-10-06 Doug Evans <dje@google.com>
7135
7136 * gdb.dwarf2/dw2-cu-size.exp: New file.
7137 * gdb.dwarf2/dw2-cu-size.S: New file.
7138
7139 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7140 .Ltype_int for clarity.
7141
4fc5b208
PP
71422008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7143
7144 PR gdb/2384:
7145 * gdb.cp/gdb2384.exp: Extended to test more cases.
7146 * gdb.cp/gdb2384.cc: Likewise.
7147 * gdb.cp/gdb2384-base.h: Likewise.
7148 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7149
d78df370
JK
71502008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7151
7152 * gdb.base/maint.exp (maint print type): Remove printing
7153 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7154
9a044a89
TT
71552008-09-30 Tom Tromey <tromey@redhat.com>
7156
7157 * gdb.base/macscp.exp: Add completion tests.
7158 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7159 (TWENTY_THREE): Likewise.
7160 (FORTY_EIGHT): Likewise.
7161
506800a9
TT
71622008-09-30 Tom Tromey <tromey@redhat.com>
7163
7164 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7165 everywhere.
7166 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7167
1a6f01b5
JK
71682008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7169
7170 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7171 testcase is derived from. Fix racy dependency on an expected PID
7172 number. No longer support the testcase on Linux kernel 2.4.x.
7173
2fae03e8
TT
71742008-09-27 Tom Tromey <tromey@redhat.com>
7175
7176 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7177 and varargs.
7178
1ad15515
PA
71792008-09-22 Pedro Alves <pedro@codesourcery.com>
7180
7181 * lib/mi-support.exp (mi_expect_interrupt): New.
7182 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7183 from gdb.mi/mi-nonstop.exp.
7184 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7185 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7186 lib/mi-support.exp.
7187 Use mi_check_thread_states throughout. Avoid ".*" and do not
7188 require an anchor after -exec-run.
7189
d0b76dc6
DJ
71902008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7191
7192 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7193 stop is pending. Avoid ".*" when two stops are pending.
7194 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7195 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7196 newlines in fullnames.
7197 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7198 (mi_expect_stop): Update comments. Only anchor in sync mode.
7199 Do not match newlines.
7200 (mi_send_resuming_command_raw): Always return status.
7201 (mi_get_stop_line): Do not match more than one line by accident.
7202 Only anchor in sync mode.
7203 (mi_run_inline_test): If -exec-next fails, give up.
7204
9990c830
UW
72052008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7206
7207 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7208 on SPU.
7209
ebcf6f00
JB
72102008-09-10 Joel Brobecker <brobecker@adacore.com>
7211
7212 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7213
b6db24e5
JB
72142008-09-10 Joel Brobecker <brobecker@adacore.com>
7215
7216 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7217 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7218 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7219 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7220 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7221 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7222 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7223 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7224 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7225 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7226 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7227 Include the "= " sequence in the expected output of print tests.
7228
2bf448e0
JB
72292008-09-10 Joel Brobecker <brobecker@adacore.com>
7230
7231 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7232 description for boolean types.
7233
d51fd4c8
PA
72342008-09-09 Pedro Alves <pedro@codesourcery.com>
7235
7236 * gdb.base/hook-stop-continue.c: New.
7237 * gdb.base/hook-stop-continue.exp: New.
7238
694182d2
DJ
72392008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7240
7241 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7242
3b8a7fc0
JG
72432008-09-08 Jerome Guitton <guitton@adacore.com>
7244
7245 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7246 (stack_check_probe_2, stack_check_probe_loop_1)
7247 (stack_check_probe_loop_2): New functions.
7248 (main): Add call to these new functions.
7249 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7250 functions, check that the breakpoint is inserted at the appropriate
7251 location.
7252 (insert_breakpoint): Slightly refine this procedure so that it can
7253 be called several times in the test.
7254
96cc0ae8
JG
72552008-09-08 Jerome Guitton <guitton@adacore.com>
7256
7257 * gdb.base/stack-checking.c: New file.
7258 * gdb.base/stack-checking.exp: New file.
7259
1f08b409
TJB
72602008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7261
7262 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7263 * gdb.arch/altivec-regs.exp: Likewise.
7264 * gdb.arch/vsx-regs.exp: Likewise.
7265
3099e1c4
TJB
72662008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7267
7268 * gdb.arch/ppc-fp.exp: New file.
7269 * gdb.arch/ppc-fp.c: New file.
7270
cc69bfc1
PP
72712008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7272
7273 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7274 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 7275
b02a33db
MS
72762008-09-04 Michael Snyder <msnyder@vmware.com>
7277
7278 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7279 as "at" (for non-debug functions such as _start).
7280
2992cbe0
UW
72812008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7282
7283 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7284 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7285 software watchpoints.
7286 * gdb.base/watch_thread_num.exp: Likewise.
7287
514f746b
AR
72882008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7289
7290 * gdb.arch/i386-bp_permanent.exp: New test.
7291
876cecd0
TT
72922008-08-24 Tom Tromey <tromey@redhat.com>
7293
7294 * gdb.base/maint.exp: Update "maint print type".
7295
80f73d71
VP
72962008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7297
7298 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7299 support. Adjust the order of "*running" notifications.
7300 * gdb.mi/non-stop.c: Don't cast from int to void* and
7301 back.
7302
d9c78d7d
MK
73032008-08-20 Mark Kettenis <kettenis@gnu.org>
7304
7305 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7306 expect to find it in the "info frame" output.
7307
97a2d1d3
DJ
73082008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7309
7310 * gdb.base/interp.exp: Always consume both prompts.
7311
b96e2927
PA
73122008-08-20 Pedro Alves <pedro@codesourcery.com>
7313
7314 * gdb.base/pending.exp: Test pending breakpoints without symbols
7315 loaded.
7316
8cf6e61a
VP
73172008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7318
7319 * lib/mi-support.exp (mi_expect_stop): Produce
7320 more details on failures.
7321 * gdb.mi/mi-nonstop.exp: New.
7322 * gdb.mi/non-stop.c: New.
7323
c6ebd6cf
VP
73242008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7325
a9c64011
AS
7326 * gdb.mi/mi-async.exp: Use 'set target-async'.
7327 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 7328
46a9b8ed
DJ
73292008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7330
7331 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7332
44feb3ce
TT
73332008-08-17 Tom Tromey <tromey@redhat.com>
7334
7335 * gdb.base/help.exp (help catch): Rewrite.
7336
311a4e6b
TJB
73372008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7338
7339 * gdb.base/define.exp: Test indented command documentation.
7340 * gdb.python/python.exp: Test indented multi-line command.
7341
604c2f83
LM
73422008-08-15 Luis Machado <luisgpm@br.ibm.com>
7343
7344 * testsuite/gdb.arch/vsx-regs.c: New source file.
7345 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7346 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7347
886a217c
TT
73482008-08-14 Tom Tromey <tromey@redhat.com>
7349
7350 * gdb.base/macscp.exp: Add regression test for "macro define" or
7351 "macro undef" with no arguments.
7352
c814a4f3
PP
73532008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7354
7355 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 7356
12ab8a60
UW
73572008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7358
7359 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7360
d57a3c85
TJB
73612008-08-06 Tom Tromey <tromey@redhat.com>
7362
7363 * gdb.python/python.exp: New file.
7364
c7b778ff
JK
73652008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7366
7367 Fix for PR gdb/1543.
7368 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7369 $LOCATION.
7370 (location): New variable.
7371 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7372 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7373 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7374 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7375 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7376 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7377 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7378 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7379 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7380 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7381 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7382 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7383 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7384 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7385 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7386 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7387 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7388 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7389 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7390 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7391 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7392 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7393 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7394 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7395 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7396 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7397 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7398 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7399 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7400 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7401 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7402 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7403 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7404 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7405 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7406 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7407 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7408 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7409 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7410 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7411 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7412 gdb.base/type-opaque.exp, gdb.base/until.exp,
7413 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7414 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7415 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7416 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7417 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7418 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7419 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7420 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7421 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7422 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7423 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7424 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7425 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7426 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7427 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7428 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7429 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7430 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7431 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7432 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7433 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7434 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7435 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7436 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7437 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7438 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7439 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7440 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7441 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7442 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7443 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7444 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7445 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7446 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7447 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7448 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7449 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7450 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7451 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7452 to bug-gdb@prep.ai.mit.edu .
7453
5e06a3d1
VP
74542008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7455
7456 * lib/mi-support.exp (mi_load_shlibs): New.
7457 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7458
9d81d21b
VP
74592008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7460
7461 * lib/mi-support.exp (get_mi_thread_list)
7462 (check_mi_and_console_threads): New, moved from ...
7463 * gdb.mi/mi-pthread.exp: ...here.
7464 * gdb.mi/gdb669.exp (get_mi_thread_list)
7465 (check_mi_and_console_threads): Delete.
7466 * gdb.mi/mi2-pthread.exp: Likewise.
7467
bae98fe0
TT
74682008-07-28 Tom Tromey <tromey@redhat.com>
7469
7470 * Makefile.in (just-check): Remove. Move body to...
7471 (check): ... here.
7472
57380f4e
DJ
74732008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7474
7475 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7476 Add a test for duplicated SIGINTs.
7477
e09490f1
DJ
74782008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7479
7480 * gdb.threads/schedlock.exp (get_args): Update to work for any
7481 value of NUM.
7482 (Top level): Report the number of threads that did not resume.
7483
6387b45f
DJ
74842008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7485
7486 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7487
62f64ff2
DJ
74882008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7489
7490 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7491 non-MI prompt.
7492
fa8de41e
TT
74932008-07-26 Tom Tromey <tromey@redhat.com>
7494
7495 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7496 (function_struct, function_struct_ptr): New globals.
7497 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7498 function pointer in a struct.
7499
ccb3ac8a
TT
75002008-07-26 Tom Tromey <tromey@redhat.com>
7501
7502 * gdb.base/macscp.exp: Add test for macro lexing bug.
7503
d7d9f01e
TT
75042008-07-18 Tom Tromey <tromey@redhat.com>
7505
7506 * gdb.base/macscp.exp: Add macro tests.
7507
9bf07184
PP
75082008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7509
7510 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7511
becf6477
PP
75122008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7513
7514 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7515
0709f7d3
PP
75162008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7517
7518 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 7519
7093c834
PP
75202008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7521
7522 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 7523
b432ffe3
JK
75242008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7525
7526 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7527
b1a268e5
VP
75282008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7529
7530 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7531
e2995f8e
KB
75322008-07-11 Kevin Buettner <kevinb@redhat.com>
7533
7534 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7535 of regexp to account for changes made to GDB in the printing of
7536 byte vectors.
7537
14032a66
TT
75382008-07-11 Tom Tromey <tromey@redhat.com>
7539
7540 * gdb.base/completion.exp: Add 'help' completion test.
7541
981505ef
JK
75422008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7543
7544 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7545
10568435
JK
75462008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7547
7548 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7549
4487aabf
PA
75502008-07-09 Pedro Alves <pedro@codesourcery.com>
7551
7552 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7553
a4a9b1c4
PA
75542008-07-09 Pedro Alves <pedro@codesourcery.com>
7555
7556 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7557
3c3185ac
JK
75582008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7559
7560 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7561
7ebd49dc
VP
75622008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7563
7564 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7565 previous commit. Add a comment.
7566
84e46146
PA
75672008-06-28 Pedro Alves <pedro@codesourcery.com>
7568
7569 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7570
0f8d4a2f
VP
75712008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7572
7573 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7574
f747e0ce
PA
75752008-06-27 Pedro Alves <pedro@codesourcery.com>
7576
7577 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7578 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7579 compiling an executable, link in an object that forces unbuffered
7580 output.
7581 * lib/set_unbuffered_mode.c: New file.
7582
734a5c36
JK
75832008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7584
7585 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7586
a2840c35
VP
75872008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7588
a9c64011
AS
7589 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7590 mi_expect_stop.
7591 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7592 Demand that *running is output.
7593 (detect_async): Perform checking every time.
7594 (mi_send_resuming_command): Extract everything into...
7595 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
7596 (mi_expect_stop): Don't accept any output before *stopped.
7597
6ae37fef
VP
75982008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7599
7600 Robustify mi-simplerun.
a9c64011
AS
7601 * gdb.mi/basics.c (main): Add a call to sleep.
7602 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7603 * gdb.mi/mi2-cli.exp: Likewise.
7604 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 7605
b4aa76f0 76062008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
7607
7608 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7609
e1ac3328
VP
76102008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7611
a9c64011
AS
7612 * gdb.mi/mi-console.exp: Adjust.
7613 * gdb.mi/mi-syn-frame.exp: Adjust.
7614 * gdb.mi/mi2-console.exp: Adjust.
7615 * gdb.mi/mi2-syn-frame.exp: Adjust.
7616 * lib/mi-support.exp (mi_run_cmd): Adjust.
7617 (mi_send_resuming_command): Adjust.
e1ac3328 7618
f7f9a841
VP
76192008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7620
7621 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
7622 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7623 testing of stopped.
7624 * gdb.mi/mi2-syn-frame.exp: Likewise.
7625 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7626 (async, detect_async): New.
7627 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7628 depending on if we're running in sync or async mode.
f7f9a841 7629
37cd5d19
TT
76302008-06-09 Tom Tromey <tromey@redhat.com>
7631
7632 * gdb.base/completion.exp: New tests for field name completion
7633 with spaces, and field name completion with '->'.
7634
65d12d83
TT
76352008-06-06 Tom Tromey <tromey@redhat.com>
7636
7637 * gdb.base/break1.c (struct some_struct): New struct.
7638 (values): New global.
7639 * gdb.base/completion.exp: Add field name completion test.
7640
ebfe2e3f
PP
76412008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7642
7643 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7644 to pointer.
7645 * gdb.cp/call-c.cc: Likewise.
7646
bcf6fc3a
NR
76472008-06-06 Nick Roberts <nickrob@snap.net.nz>
7648
7649 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7650 annotation.
7651
49fd4a42 76522008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 7653 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
7654
7655 * gdb.threads/execl.c, gdb.threads/execl1.c,
7656 gdb.threads/execl.exp: New tests.
a9c64011 7657
8a34ac3f
AR
76582008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7659 Daniel Jacobowitz <dan@codesourcery.com>
7660
7661 * gdb.cp/exception.exp: Activate test, make it work with pending
7662 catchpoints.
7663
86ae69ef
JK
76642008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7665
7666 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7667
f7f9ae2c
VP
76682008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7669
a9c64011
AS
7670 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7671 now printed.
7672 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 7673
2a2d4dc3
AS
76742008-05-27 Andreas Schwab <schwab@suse.de>
7675
7676 * gdb.base/frame-args.exp: Handle arguments that are optimized
7677 out.
7678
5099e4d9
LM
76792008-05-26 Luis Machado <luisgpm@br.ibm.com>
7680
7681 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7682 quiet for ppc32 and group options into a single variable.
7683
d9c36a91
JB
76842008-05-23 Joel Brobecker <brobecker@adacore.com>
7685
7686 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7687 of zero-size elements.
7688 * gdb.ada/null_array.exp: Test printing this new array.
7689
103a8671
JK
76902008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7691
7692 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7693
07a4cc1a 76942008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
7695
7696 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7697 of the "finish" command.
7698
55f996a7
NR
76992008-05-21 Nick Roberts <nickrob@snap.net.nz>
7700
7701 * gdb.base/annota1.exp: Test for new annotation.
7702
907fc202
UW
77032008-05-16 Pedro Alves <pedro@codesourcery.com>
7704
7705 * gdb.base/fixsection.exp: New file.
7706 * gdb.base/fixsection0.c: New file.
7707 * gdb.base/fixsection1.c: New file.
7708
e8f97270
UW
77092008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7710
7711 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7712 * gdb.base/annota3.exp: Likewise.
7713
ac0bb574
NF
77142008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7715
7716 * gdb.base/watch_thread_num.exp: Don't run tests that require
7717 watchpoints if the target doesn't support them.
7718
6fadd07a
DE
77192008-05-12 Doug Evans <dje@google.com>
7720
7721 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7722
6e9a4a30
JB
77232008-05-09 Joel Brobecker <brobecker@adacore.com>
7724
7725 * gdb.ada/assign_1.exp: New testcase.
7726
08388c79
DE
77272008-05-09 Doug Evans <dje@google.com>
7728
a3c83fae
DE
7729 * gdb.base/find.exp: New file.
7730 * gdb.base/find.c: New file.
08388c79 7731
bd5ddfe8
DJ
77322008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7733
7734 * gdb.base/commands.exp (watchpoint_command_test): Handle
7735 gdb,no_hardware_watchpoints.
7736 * gdb.base/float.exp: Allow ARM targets without floating point.
7737 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7738
b5dd68e2 77392008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 7740 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
7741
7742 * gdb.ada/lang_switch: New test program.
7743 * gdb.ada/lang_switch.exp: New testcase.
7744
382d13d1
DE
77452008-05-05 Doug Evans <dje@google.com>
7746
7747 * gdb.base/help.exp (disassemble): Update expected help text.
7748
9dd789d0
PA
77492008-05-04 Pedro Alves <pedro@codesourcery.com>
7750
7751 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7752
611c83ae
PA
77532008-05-04 Pedro Alves <pedro@codesourcery.com>
7754
7755 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7756 different times.
7757
ff013f42
JK
77582008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7759
7760 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7761 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7762 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7763 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7764
96dff6a2
VP
77652008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7766
7767 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7768 notification to appear.
7769
55cd6f92
DJ
77702008-05-04 Daniel Jacobowitz <dan@debian.org>
7771
7772 * gdb.base/fullname.c: New file.
7773 * gdb.base/fullname.exp: New file.
7774 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7775
d705c43c
PA
77762008-05-03 Pedro Alves <pedro@codesourcery.com>
7777
7778 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7779 expressions with macros.
7780
333222e1
JK
77812008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7782
7783 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7784
5ac01682
DJ
77852008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7786
7787 * gdb.base/completion.exp: Handle lack of other symbols beginning
7788 with "a".
7789
7790 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7791
237fc4c9
PA
77922008-05-02 Jim Blandy <jimb@codesourcery.com>
7793
7794 * gdb.asm/asmsrc1.s: Add scratch space.
7795
ed5e9466
DJ
77962008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7797 Daniel Jacobowitz <dan@codesourcery.com>
7798
7799 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7800 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7801 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7802
b39cc962
DJ
78032007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7804
7805 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7806
36d520f5
JB
78072008-05-01 Joel Brobecker <brobecker@adacore.com>
7808
7809 * gdb.base/info-target.exp: New testcase.
7810
8d4e3071
DJ
78112008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7812
7813 * gdb.cp/hang.exp: Use .cc instead of .C.
7814 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7815 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7816
6f3f3097
DJ
78172008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7818
7819 * gdb.base/gdb1250.exp: Remove perror.
7820 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7821
5550a914
PA
78222008-04-30 Pedro Alves <pedro@codesourcery.com>
7823
7824 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7825 .2byte.
7826
d848e687
DJ
78272008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7828
7829 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7830 (maybe_kfail): New.
7831
93b5768b
PA
78322008-04-25 Pedro Alves <pedro@codesourcery.com>
7833
7834 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7835
721c02de
VP
78362008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7837
a9c64011
AS
7838 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7839 * gdb.mi/mi2-syn-frame.exp: Likewise.
7840 * lib/mi-support.exp: Likewise.
721c02de 7841
74960c60
VP
78422008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7843
7844 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7845 to specify regexp for the location to stop at.
7846 * gdb.base/break-always.c: New.
7847 * gdb.base/break-always.exp: New.
7848
d24317b4
VP
78492008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7850
7851 * lib/mi-support.exp (mi_runto_helper): Adjust
7852 for the original-location field.
7853 (mi_create_breakpoint, mi_list_breakpoints): New.
7854 * gdb.mi/mi-break.exp: Adjust.
7855 * gdb.mi/mi2-break.exp: Adjust.
7856 * gdb.mi/mi-pending.exp: Adjust.
7857 * gdb.mi/mi-simplerun.exp: Adjust.
7858 * gdb.mi/mi2-simplerun.exp: Adjust.
7859 * gdb.mi/mi-syn-frame.exp: Adjust.
7860 * gdb.mi/mi2-syn-frame.exp: Adjust.
7861 * gdb.mi/mi-until.exp: Adjust.
7862 * gdb.mi/mi2-until.exp: Adjust.
7863 * gdb.mi/mi-var-display.exp: Adjust.
7864 * gdb.mi/mi2-var-display.exp: Adjust.
7865 * gdb.mi/mi-watch.exp: Adjust.
7866 * gdb.mi/mi2-watch.exp: Adjust.
7867
fdc59709 78682008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 7869
a9c64011
AS
7870 * aclocal.m4: Add override.m4.
7871 * configure: Regenerate.
fdc59709 7872
8e91f023
VP
78732008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7874
7875 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7876 '-var-update --all-values' reports new value even the type
7877 of a variable object has changed.
7878
233a11ab
CS
78792008-04-18 Craig Silverstein <csilvers@google.com>
7880
7881 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7882 files.
d24317b4 7883
9c1137ad
JB
78842008-04-18 Joel Brobecker <brobecker@adacore.com>
7885
7886 * gdb.ada/atomic_enum: New test program.
7887 * gdb.ada/atomic_enum.exp: New testcase.
7888
66d0bbc7
DE
78892008-04-17 Doug Evans <dje@google.com>
7890
7891 * gdb.opt/Makefile.in: Fix whitespace.
7892
100906b0
UW
78932008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7894
7895 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7896
4584e32e
DE
78972008-04-17 Doug Evans <dje@google.com>
7898
7899 * gdb.base/hashline1.exp: New testcase.
7900 * gdb.base/hashline2.exp: New testcase.
7901 * gdb.base/hashline2.exp: New testcase.
7902
0a320680
PA
79032008-04-17 Pedro Alves <pedro@codesourcery.com>
7904
7905 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7906
18ac113b
AR
79072008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7908
7909 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7910 temporary breakpoint to match "Temporary breakpoint".
7911 * gdb.base/break.exp (delete_breakpoints): Likewise.
7912 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7913 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7914 * gdb.base/display.exp: Likewise.
7915 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7916 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7917 * gdb.base/restore.exp (restore_tests): Likewise.
7918 * gdb.base/sepdebug.exp: Likewise.
7919 * gdb.base/watchpoint.exp: Likewise.
7920 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7921 * gdb.mi/mi-pending.exp: Likewise.
7922 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7923 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7924 * gdb.mi/mi-var-cmd.exp: Likewise.
7925 * gdb.mi/mi-var-display.exp: Likewise.
7926 * gdb.mi/mi2-cli.exp: Likewise.
7927 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7928 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7929 * gdb.mi/mi2-var-display.exp: Likewise.
7930 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7931 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7932 new "disp" field.
a9c64011 7933 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
7934 reason. This is to support fix for PR2424.
7935
add38693
JK
79362008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7937
7938 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7939
fcacd99f
VP
79402008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7941
7942 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 7943 field. Add more floating varobj tests.
fcacd99f 7944 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
7945 field.
7946 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7947 (main): Call do_at_tests.
7948 * lib/mi-support.exp (mi_create_floating_varobj)
7949 (mi_varobj_update_with_type_change): New.
fcacd99f 7950
de051565
MK
79512008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7952
7953 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7954 option of -var-evaluate-expression.
7955 * gdb.mi/mi2-var-display.exp: Likewise.
7956
dbc52822
VP
79572008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7958
7959 Introduce test setup helpers.
a9c64011
AS
7960 * lib/gdb.exp (build_executable, clean_restart)
7961 (prepare_for_testing): New.
7962 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7963 * gdb.base/return.exp: Likewise.
7964 * gdb.base/ending-run.exp: Likewise.
dbc52822 7965
473591da
NR
79662008-04-07 Nick Roberts <nickrob@snap.net.nz>
7967
7968 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7969 Interface (MI) responses.
7970
2b2d9e11
VP
79712008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7972
a9c64011
AS
7973 * gdb.cp/breakpoint.cc: New code to test conditions involving
7974 member variables.
7975 * gdb.cp/breakpoint.exp: Test condition involving member
7976 variables.
2b2d9e11 7977
bb378428
VP
79782008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7979
7980 * lib/mi-support.exp (mi_expect_stop): New.
7981 (mi_run_cmd): Change the
7982 token. Use mi_send_resuming_command, use
7983 mi_expect_stop.
7984 (mi_execute_to_helper): Rename to mi_execute_to.
7985 (mi_send_resuming_command): Add more error patterns.
7986 (mi_wait_for_stop): Renamed to...
7987 (mi_get_stop_line): ...this.
7988 (mi_run_inline_test): Adjust.
7989
7990 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7991 * gdb.mi/mi-console.exp: Likewise.
7992 * gdb.mi/mi-pending.exp: Likewise.
7993 * gdb.mi/mi-simplerun.exp: Likewise.
7994 * gdb.mi/mi-stack.exp: Likewise.
7995 * gdb.mi/mi-stepi.exp: Likewise.
7996 * gdb.mi/mi-syn-frame.exp: Add comment.
7997 * gdb.mi/mi-until.exp: Likewise.
7998 * gdb.mi/mi-var-display.exp: Likewise.
7999 * gdb.mi/mi-watch.exp: Likewise.
8000 * gdb.mi/mi2-cli.exp: Likewise.
8001 * gdb.mi/mi2-console.exp: Likewise.
8002 * gdb.mi/mi2-simplerun.exp: Likewise.
8003 * gdb.mi/mi2-stack.exp: Likewise.
8004 * gdb.mi/mi2-stepi.exp: Likewise.
8005 * gdb.mi/mi2-until.exp: Likewise.
8006 * gdb.mi/mi2-var-display.exp: Likewise.
8007 * gdb.mi/mi2-watch.exp: Likewise.
8008
62172bb9
UW
80092008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8010
8011 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8012
8013 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8014
a13e061a
PA
80152008-04-04 Pedro Alves <pedro@codesourcery.com>
8016
8017 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8018 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8019 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8020 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8021 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8022 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8023 expect an mi error duplicated in stderr.
8024
eae06beb
JB
80252008-04-03 Joel Brobecker <brobecker@adacore.com>
8026
8027 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8028 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8029 Add a couple of tests that verify the behavior when the new setting
8030 is set to "cancel" and "all".
8031 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8032 "ask" before we start the testing.
8033
79c6ced6
AR
80342008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8035
8036 * gdb.cp/casts.cc: Add class reference variables.
8037 * gdb.cp/casts.exp: New test cases for up/down casting references.
8038
6c2d1a6b
MK
80392008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8040
8041 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8042 instead of beginning to make an extra test pass.
8043 * gdb.mi/mi2-var-display.exp: Likewise.
8044
55b411d9
MR
80452008-03-31 Maciej W. Rozycki <macro@mips.com>
8046
8047 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8048
c6140da2
MD
80492008-03-31 Markus Deuling <deuling@de.ibm.com>
8050 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8051
8052 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8053 value. Add xfail for older kernels.
8054
79732189
AR
80552008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8056
8057 Bring mi-support in line with gdb.exp.
8058 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8059 (mi_gdb_start): New function.
8060
33c3676e
MR
80612008-03-28 Maciej W. Rozycki <macro@mips.com>
8062
8063 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8064
92e28119
VP
80652008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8066
8067 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8068 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 8069
9e8e3afe
VP
80702008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8071
8072 * lib/mi-support.exp (mi_create_varobj_checked): New.
8073 (mi_list_varobj_children): Allow to check for a
8074 value.
8075 (mi_list_array_varobj_children): New.
8076
8077 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8078 and mi_list_varobj_children, as opposed to hardcoding
8079 expected strings.
8080 * gdb.mi/gdb701.exp: Likewise.
8081 * gdb.mi/gdb792.exp: Likewise.
8082 * gdb.mi/mi-var-block.exp: Likewise.
8083 * gdb.mi/mi-var-cmd.exp: Likewise.
8084 * gdb.mi/mi-var-invalidate.exp: Likewise.
8085 * gdb.mi/mi2-var-block.exp: Likewise.
8086 * gdb.mi/mi2-var-child.exp: Likewise.
8087 * gdb.mi/mi2-var-cmd.exp: Likewise.
8088 * gdb.mi/mi2-var-display.exp: Likewise.
8089
9df50351
JK
80902008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8091
8092 Fix random false FAILs on i386.
8093 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8094
31e5d73a
DJ
80952008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8096
8097 PR gdb/544
8098 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8099
12f4afab
DJ
81002008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8101
8102 PR gdb/544
8103 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8104
b562a0cb
DJ
81052008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8106
8107 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8108 fixed PR gdb/544.
8109
17faa917
DJ
81102008-03-21 Pedro Alves <pedro@codesourcery.com>
8111
8112 * gdb.threads/fork-child-threads.exp: Test next over fork.
8113
6214f497
DJ
81142008-03-21 Chris Demetriou <cgd@google.com>
8115
8116 * gdb.base/break.exp (rbreak junk): New test for rbreak
8117 "Junk at end of arguments" issue.
8118
63092375
DJ
81192008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8120
8121 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8122 *& to work on created array elements.
8123 (Top level): Test print $pc with a file. Test string operations
8124 without a target.
8125 * gdb.base/ptype.exp: Do not expect *& to work on created array
8126 elements.
8127
b21991b0
DJ
81282008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8129
8130 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8131 gdb.threads/staticthreads.exp: Update exit query.
8132
c4b347c7
SL
81332008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8134
8135 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8136
fa4727a6
DJ
81372008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8138
8139 * gdb.base/watchpoint.c (global_ptr, func4): New.
8140 (main): Call func4.
8141 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8142 (test_inaccessible_watchpoint): New.
8143
2f34202f
MR
81442008-02-29 Maciej W. Rozycki <macro@mips.com>
8145
8146 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8147 select the largest.
8148
0d6ba1b1
DJ
81492008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8150
8151 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8152 frames-invalid annotations.
8153
e691325a
PM
81542008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8155
a9c64011 8156 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8157
f85b5ecc
DE
81582008-02-27 Doug Evans <dje@google.com>
8159
8160 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8161 for bug 1738.
8162 (breakpoint_to_handler_entry): Ditto.
8163
b40e7bf3
JB
81642008-02-27 Joel Brobecker <brobecker@adacore.com>
8165
8166 * gdb.base/ending-run.exp: Use the first line of code inside
8167 function body to test breakpoints.
8168 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8169 location where the breakpoint is inserted when using the line
8170 where a function is declared. Fix typo in the description of
8171 one of the tests.
8172 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8173
2faca73a
PM
81742008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8175
8176 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 8177 tests.
2faca73a 8178
6f439c36
PM
81792008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8180
8181 * gdb.base/args.exp: avoid same output for tests
8182 with single quotes.
8183
54e52265
VP
81842008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8185
a9c64011
AS
8186 * gdb.base/annota1.exp: Adjust for 'info break'
8187 format changes.
8188 * gdb.base/annota3.exp: Likewise.
8189 * gdb.base/break.exp: Likewise.
8190 * gdb.base/condbreak.exp: Likewise.
8191 * gdb.base/pending.exp: Likewise.
8192 * gdb.base/sepdebug.exp: Likewise.
8193 * gdb.base/unload.exp: Likewise.
8194 * gdb.cp/ovldbreak.exp: Likewise.
8195 * gdb.mi/mi-pending.exp: Likewise.
54e52265 8196
897b09ca
DE
81972008-02-07 Doug Evans <dje@google.com>
8198
8199 * gdb.cp/mb-inline.exp: New.
8200 * gdb.cp/mb-inline.h: New.
8201 * gdb.cp/mb-inline1.cc: New.
8202 * gdb.cp/mb-inline2.cc: New.
8203
b1c32d35
PM
82042008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8205
8206 * gdb.pascal/floats.pas: New test program.
8207 * gdb.pascal/floats.exp: New testcase.
8208
1a4ca44a
TJB
82092008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8210
8211 * gdb.base/callfuncs.c (t_float_many_args): New function.
8212 (t_double_many_args): New function.
8213 * gdb.base/callfuncs.exp: Add tests for exceeding float
8214 and double parameters passed through the stack.
8215
439048e8
JB
82162008-02-05 Joel Brobecker <brobecker@adacore.com>
8217
8218 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8219 gdb.ada/complete/foo.adb: New files.
8220 * gdb.ada/complete.exp: New testcase.
8221
81fe8080
DE
82222008-02-03 Doug Evans <dje@google.com>
8223
301f0ecf
DE
8224 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8225
81fe8080
DE
8226 * gdb.cp/gdb2384.exp: New file.
8227 * gdb.cp/gdb2384.cc: New file.
8228 * gdb.cp/gdb2384-base.h: New file.
8229 * gdb.cp/gdb2384-base.cc: New file.
8230
4b071aec
DE
82312008-02-02 Doug Evans <dje@google.com>
8232
8233 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8234
61137ba6
JB
82352007-02-01 Joel Brobecker <brobecker@adacore.com>
8236
8237 * gdb.ada/sym_print_name: New test program.
8238 * gdb.ada/sym_print_name.exp: New testcase.
8239
82402007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
8241
8242 * gdb.ada/nested/hello.adb: New file.
8243 * gdb.ada/nested.exp: New testcase.
8244 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8245
98deb0da
VP
82462008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8247
8248 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
8249 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8250 don't cause future evaluations of function to report
8251 creation of internal breakpoints.
98deb0da 8252
723a2275
VP
82532008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8254
8255 * gdb.mi/mi-break.exp (test_error): New.
8256 Call it.
8257
fb546a2f
LM
82582008-01-31 Luis Machado <luisgpm@br.ibm.com>
8259
8260 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8261 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8262
2d8fd90a
PM
82632008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8264
8265 * gdb.pascal/integers.pas: New test program.
8266 * gdb.pascal/integers.exp: New testcase.
8267
a7fa0ded
PM
82682008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8269
8270 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8271
5e1a1926
TJB
82722008-01-30 Luis Machado <luisgpm@br.ibm.com>
8273
8274 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8275 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8276
8d04f9f0
JB
82772008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8278
8279 * gdb.ada/formatted_ref: New test program.
8280 * gdb.ada/formatted_ref.exp: New testcase.
8281
8282 * gdb.cp/formatted-ref.cc: New file.
8283 * gdb.cp/formatted-ref.exp: New testcase.
8284
ce75a98f
JB
82852008-01-30 Joel Brobecker <brobecker@adacore.com>
8286
8287 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8288
e835f6bf
NR
82892008-01-30 Nick Roberts <nickrob@snap.net.nz>
8290
8291 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8292 (test_file_list_exec_source_file): Update to new macro-info field.
8293
d118ef87
PH
82942008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8295
8296 * gdb.ada/exprs: New test program.
8297 * gdb.ada/exprs.exp: New testcase.
8298
7d35ab09
TJB
82992008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8300
8301 * dfp-test.c (DELTA, DELTA_B): New definitions.
8302 (double_val1, double_val2, double_val3, double_val4, double_val5,
8303 double_val6, double_val7, double_val8, double_val9, double_val10,
8304 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8305 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8306 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8307 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8308 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8309 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8310 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8311 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8312 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8313 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8314 dec128_val16): New global variables.
8315 (decimal_dec128_align): New function.
8316 (decimal_mixed): Likewise.
8317 (decimal_many_args_dec32): Likewise.
8318 (decimal_many_args_dec64): Likewise.
8319 (decimal_many_args_dec128): Likewise.
8320 (decimal_many_args_mixed): Likewise.
8321 * dfp-test.exp: Add tests calling new inferior functions.
8322
2d717e4f
DJ
83232008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8324
8325 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8326 gdb.server/ext-run.exp: New files.
8327 * lib/gdbserver-support.exp (gdbserver_download): New.
8328 (gdbserver_start): New. Update gdbserver expected
8329 output.
8330 (gdbserver_spawn): Use them.
8331 (gdbserver_start_extended): New.
8332
e85a822c
DJ
83332008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8334
8335 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8336 Run on GNU/Linux.
8337 (do_exec_tests): Check for systems which do not support catchpoints.
8338 Do not match START.
8339 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8340 Run on GNU/Linux. Enable verbose output.
8341 (check_fork_catchpoints): New.
8342 (explicit_fork_child_follow, catch_fork_child_follow)
8343 (tcatch_fork_parent_follow): Update expected messages.
8344 (do_fork_tests): Use check_fork_catchpoints.
8345 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8346 Run on GNU/Linux. Enable verbose output.
8347 (check_vfork_catchpoints): New.
8348 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8349 expected messages.
8350 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8351
401ea829
JB
83522008-01-29 Jim Blandy <jimb@red-bean.com>
8353
8354 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8355 host' errors.
8356 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8357
aceaf3ad
JB
83582008-01-29 Jim Blandy <jimb@red-bean.com>
8359
8360 * gdb.threads/sigthread.c: Use barriers to ensure that
8361 child_thread and child_thread_two are always initialized before we
8362 start to use them.
8363
a5606eee
VP
83642008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8365
8366 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
8367 * gdb.base/watchpoint-solib.c: New.
8368 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 8369
c55a82bb
PM
83702008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8371
8372 * gdb.base/gdb1056.exp: Add unsigned integer test.
8373
0993fe05
DE
83742008-01-28 Doug Evans <dje@google.com>
8375
8376 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8377
4fe42e7f
JB
83782008-01-27 Jim Blandy <jimb@codesourcery.com>
8379
c7a69933
JB
8380 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8381
4fe42e7f
JB
8382 * gdb.base/expand-psymtabs.exp: Doc fix.
8383
5def8285
MK
83842008-01-26 Mark Kettenis <kettenis@gnu.org>
8385
8386 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8387
5313c911
NR
83882008-01-24 Nick Roberts <nickrob@snap.net.nz>
8389
a9c64011 8390 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
8391 -var-set-format.
8392
93815fbf
VP
83932008-01-23 Chris Demetriou <cgd@google.com>
8394
8395 * gdb.threads/thread_events.c: New testcase source file.
8396 * gdb.threads/thread_events.exp: New testcase expect file.
8397
467a88ee
NR
83982008-01-23 Nick Roberts <nickrob@snap.net.nz>
8399
8400 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
8401
8402 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
8403 -var-set-format.
8404
d8f82aba
DJ
84052008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8406 Vladimir Prus <vladimir@codesourcery.com>
8407
8408 * gdb.base/float.exp: Allow missing floating point for m68k and
8409 PowerPC.
8410
60c46647
VP
84112008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8412
8413 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
8414 ignore count.
8415 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8416 * gdb.mi/mi-cli.exp: Adjust.
8417 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 8418
c7dd36a1
PA
84192008-01-17 Pedro Alves <pedro@codesourcery.com>
8420
8421 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8422 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8423 with dummy_ptr's address.
8424 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8425 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8426 all targets.
8427 * gdb.mi/mi2-var-child.exp: Likewise.
8428
39d5313e
JB
84292008-01-09 Joel Brobecker <brobecker@adacore.com>
8430
8431 * gdb.ada/null_array: New test program.
8432 * gdb.ada/null_array.exp: New testcase.
8433
0aea4bf3
LM
84342008-01-09 Luis Machado <luisgpm@br.ibm.com>
8435
8436 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8437 with required float modifiers.
8438
0b354900
JB
84392008-01-08 Joel Brobecker <brobecker@adacore.com>
8440
8441 * gdb.ada/funcall_param: New test program.
8442 * gdb.ada/funcall_param.exp: New testcase.
8443
cdb7f5d4
JB
84442008-01-08 Joel Brobecker <brobecker@adacore.com>
8445
8446 * gdb.ada/arrayparam: New test program.
8447 * gdb.ada/arrayparam.exp: New testcase.
8448
88e2547f
JB
84492008-01-08 Joel Brobecker <brobecker@adacore.com>
8450
8451 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8452 landed. Should also fix random failures in the test following it.
8453
f6867ce0
TJB
84542008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8455
8456 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8457 for expressions with decimal float values.
8458 (test_dfp_conversions): New function to test casts to and from
8459 decimal float types.
8460 Call test_dfp_conversions.
8461 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8462 elements.
8463 (main): Initialize ds.float4 and ds.double8 elements.
8464 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8465 string to new error message.
8466 (d64_set_tests): Likewise.
8467 (d128_set_tests): Likewise.
8468 Add tests for expressions with decimal float variables. Add tests for
8469 conversions to and from decimal float types.
8470
f9c11282
JB
84712008-01-05 Joel Brobecker <brobecker@adacore.com>
8472
8473 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8474 * gdb.ada/packed_tagged.exp: New testcase.
8475
0ecbca72
JB
84762008-01-04 Joel Brobecker <brobecker@adacore.com>
8477
8478 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8479 gdb.ada/homonym/homonym_main.adb: New files.
8480 * gdb.ada/homonym.exp: New testcase.
8481
c18d3d89
JB
84822008-01-04 Joel Brobecker <brobecker@adacore.com>
8483
8484 * gdb.ada/packed_array.exp: Add testing of references to
8485 a packed array.
8486
ecc7085b
JB
84872008-01-04 Joel Brobecker <brobecker@adacore.com>
8488
8489 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8490 New files.
8491 * gdb.ada/type_coercion.exp: New testcase.
8492
c474c922
JB
84932008-01-04 Joel Brobecker <brobecker@adacore.com>
8494
8495 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8496 gdb.ada/tagged/foo.adb: New file.
8497 * gdb.ada/tagged.exp: New testcase.
8498
9005b927
JB
84992008-01-04 Joel Brobecker <brobecker@adacore.com>
8500
8501 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8502 gdb.ada/ptype_field/foo.adb: New files.
8503 * gdb.ada/ptype_field.exp: New testcase.
8504
1a6aaad8
JB
85052008-01-03 Joel Brobecker <brobecker@adacore.com>
8506
8507 * gdb.ada/print_pc.exp: New testcase.
8508
0ef22f53
JB
85092008-01-03 Joel Brobecker <brobecker@adacore.com>
8510
8511 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8512 gdb.ada/taft_type/p.adb: New files.
8513 * gdb.ada/taft_type.exp: New testcase.
8514
1689ecf8
JB
85152008-01-03 Joel Brobecker <brobecker@adacore.com>
8516
8517 * gdb.ada/array_bounds/bar.adb: New file.
8518 * gdb.ada/array_bounds.exp: New testcase.
8519
a4d0b9c3
JB
85202008-01-03 Joel Brobecker <brobecker@adacore.com>
8521
8522 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8523 gdb.ada/arrayptr/foo.adb: New files.
8524 * gdb.ada/arrayptr.exp: New testcase.
8525
a31ace00
JB
85262008-01-03 Joel Brobecker <brobecker@adacore.com>
8527
8528 * gdb.base/set-lang-auto.exp: New testcase.
8529
a97fced3
JB
85302008-01-03 Joel Brobecker <brobecker@adacore.com>
8531
8532 * gdb.ada/fun_addr/foo.adb: New file.
8533 * gdb.ada/fun_addr.exp: New testcase.
8534
ef29ce1a
JK
85352008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8536
8537 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8538 New files
8539
0fafefe3
JB
85402008-01-02 Joel Brobecker <brobecker@adacore.com>
8541
8542 * array_subscript_addr/p.adb: New file.
a9c64011 8543 * array_subscript_addr.exp: New testcase.
0fafefe3 8544
c4359f8d
JB
85452008-01-02 Joel Brobecker <brobecker@adacore.com>
8546
a9c64011 8547 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
8548 New files.
8549 * gdb.ada/str_cmp_ref.exp: New testcase.
8550
1aa1b15b
JB
85512008-01-01 Joel Brobecker <brobecker@adacore.com>
8552
8553 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8554 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 8555 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 8556
81c9b2cf
JB
85572008-01-01 Joel Brobecker <brobecker@adacore.com>
8558
8559 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8560 gdb.ada/ref_param/pck.ads: New files.
8561 * gdb.ada/ref_param.exp: New testcase.
8562
319e4674
JB
85632008-01-01 Joel Brobecker <brobecker@adacore.com>
8564
8565 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8566 gdb.ada/interface/foo.adb: New files.
8567 * gdb.ada/interface.exp: New testcase.
8568
ef682c56
JB
85692007-12-31 Jim Blandy <jimb@codesourcery.com>
8570
8571 * gdb.base/multi-forks.exp: Consume all output from child
8572 processes before proceeding to next test.
8573
f6f3eb6c
JB
85742007-12-29 Jim Blandy <jimb@codesourcery.com>
8575
8576 * configure: Regenerated.
8577
f652e42f
JB
85782007-12-27 Joel Brobecker <brobecker@adacore.com>
8579
8580 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8581 gdb.ada/fixed_cmp/fixed.adb: New files.
8582 * gdb.ada/fixed_cmp.exp: New testcase.
8583
6943e596
JB
85842007-12-27 Joel Brobecker <brobecker@adacore.com>
8585
8586 * gdb.ada/boolean_expr.exp: New testcase.
8587
aad9a193
JB
85882007-12-26 Jim Blandy <jimb@codesourcery.com>
8589
8590 * gdb.base/multi-forks.exp: Doc fix.
8591
fb5f3683
JB
85922007-12-26 Joel Brobecker <brobecker@adacore.com>
8593
8594 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8595 * gdb.ada/char_param.exp: Do not compile our test program with
8596 -gnata, this is unnecessary.
8597 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8598
384e4a9c
JB
85992007-12-24 Joel Brobecker <brobecker@adacore.com>
8600
8601 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8602 gdb.ada/print_chars/foo.adb: New files.
8603 * gdb.ada/print_chars.exp: New testcase.
8604
01e044f7
JB
86052007-12-24 Joel Brobecker <brobecker@adacore.com>
8606
8607 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8608 gdb.ada/char_param/foo.adb: New files.
8609 * gdb.ada/char_param.exp: New testcase.
8610
0ce17860
JB
86112007-12-22 Jim Blandy <jimb@codesourcery.com>
8612
8613 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8614 hard-coding source line numbers into the test.
8615 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8616 gdb_get_line_number to find.
8617
919809b9
JB
86182007-12-22 Joel Brobecker <brobecker@adacore.com>
8619
8620 * gdb.base/ptype.c (highest): New struct type.
8621 (the_highest): New variable of that type.
8622 (main): Add dummy assignment to a field of variable the_highest.
8623 * gdb.base/ptype.exp: Test type printing of our new variable.
8624
abc8a88d
PM
86252007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8626
8627 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 8628 and record first explicitly generated thread number.
abc8a88d
PM
8629 Use that thread number for thread specific watchpoint test.
8630 Add iteration number to repetitive tests.
8631
5158f3e3
CES
86322007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8633 Jim Blandy <jimb@codesourcery.com>
8634
8635 * gdb.base/expand-psymtabs.c: New testcase
8636 source file.
8637 * gdb.base/expand-psymtabs.exp: New testcase
8638 expect file.
8639
37e4754d
LM
86402007-12-17 Luis Machado <luisgpm@br.ibm.com>
8641
8642 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8643 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8644
551e5d04
JB
86452007-12-17 Joel Brobecker <brobecker@adacore.com>
8646
8647 * gdb.ada/frame_args/foo.adb: New file.
8648 * gdb.ada/frame_args/pck.ads: New file.
8649 * gdb.ada/frame_args/pck.adb: New file.
8650 * gdb.ada/frame_args.exp: New testcase.
8651
a05ee097
JB
86522007-12-17 Joel Brobecker <brobecker@adacore.com>
8653
8654 * gdb.base/frame-args.c: New file.
8655 * gdb.base/frame-args.exp: New testcase.
8656
c162e8c9 86572007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 8658 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
8659
8660 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8661
afe8ab22 86622007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8663
afe8ab22
VP
8664 * gdb.mi/mi-pending.exp: New.
8665 * gdb.mi/mi-pending.c: New.
8666 * gdb.mi/mi-pendshr.c: New.
8667
dfdfb3ca
JB
86682007-12-06 Jim Blandy <jimb@codesourcery.com>
8669
8670 * gdb.base/default.exp: Update expected output for 'info catch'.
8671
b7fca990
JK
86722007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8673
8674 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8675 must be set to binary.
8676
6a1afc1e
PA
86772007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8678
8679 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8680
a6b151f1
DJ
86812007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8682
8683 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8684 gdb.mi/mi-file-transfer.exp: New.
8685
43039443
JK
86862007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8687
8688 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8689
0ef2251b
MR
86902007-11-22 Maciej W. Rozycki <macro@mips.com>
8691
8692 * gdb.trace/backtrace.exp: Fix a typo.
8693 * gdb.trace/circ.exp: Likewise.
8694 * gdb.trace/collection.exp: Likewise.
8695 * gdb.trace/limits.exp: Likewise.
8696 * gdb.trace/report.exp: Likewise.
8697 * gdb.trace/tfind.exp: Likewise.
8698 * gdb.trace/while-dyn.exp: Likewise.
8699
5443631e
NR
87002007-11-21 Nick Roberts <nickrob@snap.net.nz>
8701
8702 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8703 objects of pointers that can't be dereferenced are now
8704 "noneditable".
8705
a4ce5b0d
UW
87062007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8707
8708 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8709 (target_cpu): Remove.
8710
d6e956e5
VP
87112007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8712
8713 * gdb.base/ending-run.exp: Expect the list of cleared
8714 breakpoint to come in natural order, not the reversed one.
a9c64011 8715
214270ab
VP
87162007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8717
8718 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8719 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 8720
1a619819
LM
87212007-11-05 Luis Machado <luisgpm@br.ibm.com>
8722
8723 * gdb.base/printcmds.exp: New function
8724 test_printf_with_dfp.
8725
5b01a6fa
DE
87262007-11-02 Doug Evans <dje@google.com>
8727
8728 * gdb.disasm/t01_mov.s: Remove carriage returns.
8729 * gdb.disasm/t02_mova.s: Ditto.
8730 * gdb.disasm/t03_add.s: Ditto.
8731 * gdb.disasm/t04_sub.s: Ditto.
8732 * gdb.disasm/t05_cmp.s: Ditto.
8733 * gdb.disasm/t06_ari2.s: Ditto.
8734 * gdb.disasm/t07_ari3.s: Ditto.
8735 * gdb.disasm/t08_or.s: Ditto.
8736 * gdb.disasm/t09_xor.s: Ditto.
8737 * gdb.disasm/t10_and.s: Ditto.
8738 * gdb.disasm/t11_logs.s: Ditto.
8739 * gdb.disasm/t12_bit.s: Ditto.
8740 * gdb.disasm/t13_otr.s: Ditto.
8741
ec33ab7f
JK
87422007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8743
8744 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8745
ae0d01ff
UW
87462007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8747
8748 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8749 provide DFP support.
8750
55eddb0f
DJ
87512007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8752
8753 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8754 Test "set powerpc vector-abi". Skip auto-detection tests for old
8755 toolchains.
8756
7020f05c
PA
87572007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8758
8759 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8760 with [string compare].
8761
84bc3db9
PA
87622007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8763
8764 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8765 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8766
5876dc88
LM
87672007-10-25 Luis Machado <luisgpm@br.ibm.com>
8768
8769 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8770 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8771 * gdb.opt/Makefile.in: New makefile.
8772 * Makefile.in: Create new directory "gdb.opt".
8773 * configure.ac: Add "gdb.opt" directory.
8774 * configure: Regenerated.
a9c64011 8775
c3ea9a14
DE
87762007-10-25 Doug Evans <dje@google.com>
8777
8778 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8779 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8780
a9c64011 87812007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
8782 Thiago Jung Bauermann <bauerman@br.ibm.com>
8783
8784 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8785 Floating Point expressions.
8786 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8787 Floating Point variables.
8788 * gdb.base/dfp-test.c: new file containing program with Decimal
8789 Floating variables, used by gdb.base/dfp-test.exp.
8790
62a24a2b
DJ
87912007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8792
8793 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8794
e7b1eae6
UW
87952007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8796
8797 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8798 compiling test case with GCC.
8799 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8800
c641edcc
UW
88012007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8802
8803 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8804 format changes.
8805
5e5ebfe6
MS
88062007-10-18 Michael Snyder <msnyder@specifix.com>
8807
8808 * gdb.base/dbx.exp: Add missing "-re " operator.
8809
e831e7b6
GM
88102007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8811
8812 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8813 * configure.ac: Removed trailing spaces after backslash.
8814 * gdb.modula2: New directory.
8815 * gdb.modula2/Makefile.in: New file.
8816 * gdb.modula2/unbounded-array.exp: New file.
8817 * gdb.modula2/unbounded1.c: New file.
8818
7cc46491
DJ
88192007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8820
8821 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8822
88232007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
8824
8825 * gdb.base/sigstep.c (main): Add checks for
8826 return values for setitimer call.
8827 Call setitimer again with itimer = ITIMER_REAL
8828 if first call to setitimer fails.
8829
e91528f0
KH
88302007-10-11 Kazu Hirata <kazu@codesourcery.com>
8831
8832 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8833 of $timeout.
8834
2ec9a4f8
DJ
88352007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8836
8837 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8838
88392007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
8840
8841 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8842 of gdb_expect call, to avoid interruption.
8843
64b2fa04
PA
88442007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8845
8846 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8847 (v_unsigned_long_long, v_long_long_array)
8848 (v_signed_long_long_array, v_unsigned_long_long_array)
8849 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8850 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8851 [!NO_LONG_LONG]: New.
8852 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8853 v_long_long_member.
8854
8855 (v_long_long_func, v_signed_long_long_func)
8856 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8857 (main) [!NO_LONG_LONG]: Initialize long long variants.
8858
8859 * gdb.base/whatis.exp: If board file requests no_long_long, build
8860 test with NO_LONG_LONG defined. Test long long, signed long long,
8861 and unsigned long long variants but only if board file doesn't
8862 disable it.
8863
a912286e 88642007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 8865 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
8866
8867 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8868 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8869 * configure: Regenerated.
8870 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8871 gdb.pascal/types.exp, lib/pascal.exp: New files.
8872
471ba8c9
DJ
88732007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8874
8875 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8876 call.
8877 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8878 to return to the call.
8879 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8880 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8881 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8882 * gdb.mi/mi-until.exp (test_until): Likewise.
8883 * gdb.mi/mi2-until.exp (test_until): Likewise.
8884
fef8a650
DJ
88852007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8886
8887 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8888 two-char array.
8889 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8890
d983da9c
DJ
88912007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8892
8893 * gdb.threads/watchthreads.c (thread_function): Sleep between
8894 iterations.
8895 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8896 at once for S/390. Generate matching fails and passes.
8897
17f62551
VP
88982007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8899
8900 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8901 the 'struct_declarations' variable to zeros.
a9c64011 8902
ed0616c6
VP
89032007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8904
8905 * gdb.cp/mb-ctor.cc: New.
8906 * gdb.cp/mb-ctor.exp: New.
8907 * gdb.cp/mb-templates.cc: New.
8908 * gdb.cp/mb-templates.exp: New.
8909
41f1b697
DJ
89102007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8911
8912 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8913
3f213f78
PA
89142007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8915
8916 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8917 targets.
8918 * configure: Regenerate.
8919
0d381245 89202007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8921
0d381245
VP
8922 * gdb.base/annota1.exp: Adjust for 'info break'
8923 format changes.
8924 * gdb.base/annota3.exp: Likewise.
8925 * gdb.base/break.exp: Likewise.
8926 * gdb.base/condbreak.exp: Likewise.
8927 * gdb.base/pending.exp: Likewise.
8928 * gdb.base/sepdebug.exp: Likewise.
8929 * gdb.base/unload.exp: Likewise.
8930 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 8931
fe3f5fa8
VP
89322007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8933
8934 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8935 messages.
8936 * gdb.base/chng-syms.exp: Likewise.
8937 * gdb.base/unload.exp: Likewise.
a9c64011 8938
a75cf6c0
DJ
89392007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8940
8941 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8942
18ecae38
DJ
89432007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8944
8945 * schedlock.c (NUM): Change to 1.
8946 (main): Use args[0] for the main thread.
8947 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8948 regardless of the number of threads.
8949
5509918f
MR
89502007-09-14 Maciej W. Rozycki <macro@mips.com>
8951
4a543daf
MR
8952 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8953 type down.
8954 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8955 test.
8956 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8957 watchpoint type down.
8958 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8959 test.
8960
89612007-09-14 Maciej W. Rozycki <macro@mips.com>
8962
5509918f
MR
8963 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8964 Move all the tests here and run them twice, once using software
8965 watchpoints and once using hardware watchpoints.
8966 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8967
40b53987
DJ
89682007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8969
8970 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8971 test.
8972
695e2681
MK
89732007-09-10 Mark Kettenis <kettenis@gnu.org>
8974
8b3fc8d8
MK
8975 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8976 build-id.
8977
695e2681
MK
8978 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8979 know about $ORIGIN. Calculate output dir from $dest instead of
8980 using ${objdir}/{$subdir}.
8981
58d69f29
MK
89822007-09-09 Mark Kettenis <kettenis@gnu.org>
8983
8984 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8985 gcore, before continuing with the test.
8986
3e347599
DJ
89872007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8988
8989 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8990 * gdb.mi/mi-watch.exp: Likewise.
8991
ea37ba09
DJ
89922007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8993 Jim Blandy <jimb@codesourcery.com>
8994
8995 * gdb.arch/i386-sse.exp: Do not expect character constants.
8996 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8997 * gdb.base/display.exp: Allow print/s.
8998 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8999 and unsigned char array changes.
9000
2025a643
DJ
90012007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9002
9003 * gdb.base/display.exp: Add tests for printf %p.
9004
26669a27
PA
90052007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9006
9007 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9008 the dll name to unicode.
9009
c8f021f8
JK
90102007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9011
9012 * gdb.base/default.exp (show version): Update the version text.
9013 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9014
4cf31eea
JK
90152007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9016
9017 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9018 New files.
9019
4935890f
JK
90202007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9021
9022 * lib/gdb.exp (build_id_debug_filename_get): New function.
9023 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9024 Remove the generate DEBUG file for the future testcase runs.
9025 New testcase for the NT_GNU_BUILD_ID retrieval.
9026 Move the final testing step to ...
9027 (test_different_dir): ... a new function.
9028 New parameter XFAIL to XFAIL all the tests performed.
9029 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9030 New parameter TYPE to PF_PREFIX all the tests performed.
9031
02142340
VP
90322007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9033
9034 * gdb.mi/mi-var-cp.cc (path_expression): New
9035 function.
9036 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9037
36acd84e
UW
90382007-08-27 Markus Deuling <deuling@de.ibm.com>
9039
9040 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9041 to fit into SPU Local Store memory.
9042
a896d121
JB
90432007-08-23 Joel Brobecker <brobecker@adacore.com>
9044
9045 * gdb.base/default.exp: Adjust the expected output of "info
9046 warranty" after the switch to GPLv3.
9047
7b433602
JB
90482007-08-23 Joel Brobecker <brobecker@adacore.com>
9049
9050 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9051 to 30000 (from 20000).
9052
e22f8b7c
JB
90532007-08-23 Joel Brobecker <brobecker@adacore.com>
9054
9055 Switch the license of all .exp files to GPLv3.
9056 Switch the license of all .f and .f90 files to GPLv3.
9057 Switch the license of all .s and .S files to GPLv3.
9058
5a0e3bd0
JB
90592007-08-23 Joel Brobecker <brobecker@adacore.com>
9060
9061 * configure.ac: Switch license to GPLv3.
9062
cc00619d
JB
90632007-08-23 Joel Brobecker <brobecker@adacore.com>
9064
9065 Switch the licensing to GPLv3 for all .ads and .adb files.
9066
8d26208a
DJ
90672007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9068
9069 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9070 and t_int_double.
9071 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9072
4fcb9948
JB
90732007-08-17 Joel Brobecker <brobecker@adacore.com>
9074
9075 * gdb.base/step-line.c: Switch license to GPL version 3, and
9076 update copyright year.
9077 * gdb.base/step-line.inp: Likewise.
9078
b9c34f67
JB
90792007-08-17 Joel Brobecker <brobecker@adacore.com>
9080
9081 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9082 changes inside gdb1555.c.
9083 * gdb.base/pending.exp: Likewise.
9084
2cc17678
DJ
90852007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9086
9087 * config/default.exp: New file.
9088
e48883f7
DJ
90892007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9090
9091 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9092 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9093
1ab80e5b
MR
90942007-07-30 Maciej W. Rozycki <macro@mips.com>
9095
9096 * gdb.base/dump.exp: Force the correct endianness for binary
9097 formats not carrying this information.
9098
aba471f5
DJ
90992007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9100
9101 * gdb.threads/staticthreads.exp: Match .*sem_post.
9102
d4e07204
DJ
91032007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9104
9105 * gdb.base/readline.exp (operate_and_get_next): Match the final
9106 prompt.
9107
2b97317d
KB
91082007-07-23 Kevin Buettner <kevinb@redhat.com>
9109
9110 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9111 to restarting SID.
9112
44efa07a
KB
91132007-07-18 Kevin Buettner <kevinb@redhat.com>
9114
9115 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9116 prior to `gdb_start'.
9117
7b5ebade
KB
91182007-07-18 Kevin Buettner <kevinb@redhat.com>
9119
9120 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9121 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9122 Remove call to gdb_unload.
9123
255e7678
DJ
91242007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9125 Daniel Jacobowitz <dan@codesourcery.com>
9126
9127 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9128 for __WIN32__.
9129 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9130 * gdb.base/unload.exp: Use shared library test routines.
9131
3a40aaa0
UW
91322007-07-03 Markus Deuling <deuling@de.ibm.com>
9133
9134 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9135 * gdb.base/solib-symbol-lib.c: Likewise.
9136 * gdb.base/solib-symbol-main.c: Likewise.
9137
b0f4b84b
DJ
91382007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9139
9140 * config/gdbserver.exp (gdb_reconnect): New.
9141 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9142 gdb.base/solib-disc.exp: New files.
9143 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9144 remote debugging".
9145 (gdb_compile): Add shlib_load flag.
9146 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9147 port.
9148 (gdbserver_reconnect): New.
9149
1b05479a
DJ
91502007-07-01 Nick Roberts <nickrob@snap.net.nz>
9151 Daniel Jacobowitz <dan@codesourcery.com>
9152
9153 * gdb.base/annota3.exp: Test for if construct.
9154
86f78eb2
DJ
91552007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9156
9157 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9158
6a2eb474 91592007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9160 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9161
9162 * gdb.base/display.exp: Allow a newline after display/i.
9163 * gdb.base/pc-fp.exp: Likewise.
9164 * gdb.base/sigbpt.exp: Likewise.
9165
f8b73d13
DJ
91662007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9167
9168 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9169 required features to be included.
9170
4339e69e
DJ
91712007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9172
9173 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9174 in info threads output.
9175
23d964e7
UW
91762007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9177 Markus Deuling <deuling@de.ibm.com>
9178
9179 * gdb.arch/spu-info.exp: New testcase.
9180 * gdb.arch/spu-info.c: New file.
9181
fd20f75b
DJ
91822007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9183
9184 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9185 tpcs_offset. Restore lr after the call.
9186 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9187
2226f861
DJ
91882007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9189
9190 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9191 (gdbserver_run): Kill any running gdbserver.
9192 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9193
d12371a9
MR
91942007-05-17 Maciej W. Rozycki <macro@mips.com>
9195
9196 * gdb.base/sigbpt.exp: Preset segv_addr.
9197
93f02886
DJ
91982007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9199
9200 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9201 (gdb_compile_shlib): Likewise.
9202 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9203 (default_gdb_init): Clear cleanfiles.
9204 (gdb_finish): Delete recorded cleanfiles.
9205 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9206
9207 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9208 Do not use isnative.
9209 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9210 gdb.base/so-impl-ld.exp: Likewise.
9211 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9212 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9213 gdb_compile.
9214
b04e06d7
VP
92152007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9216
9217 * config/unknown.exp: Remove.
9218
069ed931
UW
92192007-05-15 Markus Deuling <deuling@de.ibm.com>
9220
9221 * gdb.base/info-proc.exp: Check is_remote.
9222
09db0d03
UW
92232007-05-14 Markus Deuling <deuling@de.ibm.com>
9224
9225 * gdb.base/gcore.exp: Initialize variable core_supported.
9226
af2cbe8c
DJ
92272007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9228
9229 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9230
027c0295
DJ
92312007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9232
9233 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9234 * gdb.threads/print-threads.exp (test_all_threads): Allow
9235 negative and hexadecimal thread IDs.
9236
dc5000e7
DJ
92372007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9238
9239 * gdb.java/jprint.java (public): Avoid invalid call to static
9240 method.
9241
2e74ed18
DP
92422007-05-14 Denis Pilat <denis.pilat@st.com>
9243
9244 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9245 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9246 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9247 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9248 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9249
83547f02
UW
92502007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9251
9252 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 9253 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
9254 this mode.
9255 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9256 * gdb.base/spu.ld: New file.
9257
b18be20d
DJ
92582007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9259
9260 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9261
be444858
DJ
92622007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9263
9264 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9265
b1d53152
DJ
92662007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9267
9268 * gdb.java/jmain.exp: Handle demangled names with and without method
9269 signatures.
9270
d084b331
DJ
92712007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9272
9273 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9274 (have_a_very_merry_interrupt): Remove calls to puts.
9275 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9276 inferior output.
9277 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9278 test names.
9279
db9d7fc5
DJ
92802007-04-29 Markus Deuling <deuling@de.ibm.com>
9281 Daniel Jacobowitz <dan@codesourcery.com>
9282
9283 * gdb.base/auxv.exp (core_works): Also check is_remote.
9284 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9285
ef783a7d 92862007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9287
ef783a7d
VP
9288 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9289 message, not the undefined 'module' variable.
9290 * gdb.base/siginfo.exp: Likewise.
9291 * gdb.base/sigstep.exp: Likewise.
9292 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9293 serialport.
9294 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9295
b7b73cae
CV
92962007-04-25 Corinna Vinschen <vinschen@redhat.com>
9297
9298 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9299 target sim fails. Return 0 otherwise.
9300 (gdb_load): Return prematurely if gdb_target_sim fails.
9301
7d90fdfa
DP
93022007-04-16 Denis Pilat <denis.pilat@st.com>
9303
9304 * gdb.base/setshow.exp: Reset height after having set it to 100.
9305
5d3e9c85
DP
93062007-04-16 Denis Pilat <denis.pilat@st.com>
9307
9308 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9309
18e75969
DP
93102007-04-16 Denis Pilat <denis.pilat@st.com>
9311
9312 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9313
25d5ea92
VP
93142007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9315
9316 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9317 tests. Run the frozen varobjs test.
9318 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 9319 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 9320
0b49cb80
JK
93212007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9322
9323 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9324 gdb.base/type-opaque.exp: New files.
9325
a73bafbc 93262007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
9327
9328 * gdb.mi/mi-var-child.c
a73bafbc
VP
9329 (do_children_tests): User char[2] instead of
9330 char so that automatic printing of pointers to char
9331 don't give unpredicable result.
9332 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9333 local variables.
9334 * gdb.mi/mi-var-child.exp: Step to right line
9335 of do_children_tests.
9336 * gdb.mi/mi2-var-child.exp: Likewise.
9337 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 9338 do_locals_tests.
a73bafbc
VP
9339 (do_children_tests): User char[2] instead of
9340 char so that automatic printing of pointers to char
a9c64011 9341 don't give unpredicable result.
a73bafbc 9342 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9343 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
9344 Pass test name to mi_wait_for_stop.
9345
7ce59000
DJ
93462007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9347
9348 * gdb.asm/asm-source.exp: Remove d10v case.
9349 * lib/gdb.exp (skip_cplus_tests): Likewise.
9350 * gdb.asm/d10v.inc: Deleted.
9351
20389057
DJ
93522007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9353
9354 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9355
8807d78b
DJ
93562007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9357
9358 * config/netware.exp: Delete file.
9359
aa3edb8e
JB
93602007-03-29 Joel Brobecker <brobecker@adacore.com>
9361
9362 * gdb.dwarf2/dw2-noloc.S: New file.
9363 * gdb.dwarf2/dw2-noloc.exp: New file.
9364
297561ac
PA
93652007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9366
9367 * gdb.cp/method2.cc: New test.
9368 * gdb.cp/method2.exp: New test.
9369 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9370
1f81bd39
DJ
93712007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9372
9373 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9374
9453113a
DJ
93752007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9376
9377 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9378
b741e217
DJ
93792007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9380
9381 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9382 (gdb_load): Delete, replace with...
9383 (gdb_reload): ...this.
9384 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9385 * gdb.server/server-mon.exp: Likewise.
9386 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9387 (gdb_start_cmd): New.
9388 (gdb_file_cmd): Save the last loaded file.
9389 (gdb_reload): New.
9390 (gdb_gnu_strip_debug): Use transform.
9391 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9392 support here. Use new $last_loaded_file. Check mtime.
9393 (gdb_target_cmd): Handle ObjC failure case.
9394 (infer_host_exec): Delete.
9395 (gdbserver_load): Rename to...
9396 (gdbserver_run): ...this. Simplify.
9397 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9398 (mi_gdb_load): Move most contents to a new function...
9399 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9400 (mi_run_cmd): Use mi_gdb_target_load.
9401 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9402 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9403 Use gdb_run_cmd.
9404 * gdb.base/charsign.exp: Remove incorrect comment.
9405 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9406 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9407 gdb.base/start.exp: Use gdb_start_cmd.
9408
446ab585 94092007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 9410 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
9411
9412 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9413 * gdb.base/signull.exp: Similarly.
9414
bbb88ebf
UW
94152007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9416
9417 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9418 messages available to test cases (like chng-sym.exp).
9419
cb8c4a99
AS
94202007-03-14 Andreas Schwab <schwab@suse.de>
9421
9422 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9423 format changes.
9424
4e463ff5
DJ
94252007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9426
9427 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9428 (optimized_1): New.
9429 (main): Call optimized_1.
9430 (gdb2029): Correct typos. Call gdb2029_marker.
9431 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9432 for gdb2029.
9433
b6db2c47
MK
94342007-03-12 Mark Kettenis <kettenis@gnu.org>
9435
9436 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9437 as tabs. Remove redundant test pattern.
9438
70ed3737
UW
94392007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9440
9441 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9442 for /a format output.
9443
47b67b60
DJ
94442007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9445
9446 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9447 collect output incrementally.
9448
b8953b0e
UW
94492007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9450
9451 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9452 for -var-create lpcharacter test.
9453 * gdb.mi/mi2-var-cmd.exp: Likewise.
9454
7acd5c40
UW
94552007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9456
9457 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9458 pass on targets where address zero is readable.
9459
9c6759c1
UW
94602007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9461
9462 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9463 just a single architecture.
9464
a2f1aeb4
UW
94652007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9466
9467 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9468 (fetch_all_registers): New function, uses gdb_test_multiple and
9469 exp_continue to fetch inferior output line-by-line.
9470 Replace all uses of do_get_all_registers by fetch_all_registers.
9471
46579ac2
UW
94722007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9473
9474 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9475 in target_info.
9476
fc133f24
MS
94772007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9478
a9c64011 9479 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
9480 consistancy; add a default (timeout) case.
9481
7646a51d
MS
94822007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9483
9484 * gdb.base/watchpoint.exp: Fix truncated comment.
9485
dcfff61f
MS
94862007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9487
9488 * Makefile.in: Remove spurious single-quotes from sed command.
9489
664e3ee9
DJ
94902007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9491
9492 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9493 func.
9494 * gdb.mi/mi2-var-cmd.exp: Likewise.
9495
d7cc6f2f
JB
94962007-02-27 Joel Brobecker <brobecker@adacore.com>
9497
a9c64011
AS
9498 * gdb.dwarf2/dw2-producer.S: New file.
9499 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
9500
95012007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
9502
9503 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9504 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9505 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9506 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9507 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9508 Revert tests to use mi_gdb_test and include value field in output
9509 of -var-create.
9510
93d42b30
DJ
95112007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9512
9513 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9514
c499ed39
DJ
95152007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9516
9517 * gdb.base/maint.exp: Remove full paths from test names.
9518 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9519 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9520
9836f81b
JB
95212007-02-27 Joel Brobecker <brobecker@adacore.com>
9522
9523 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9524
c74d0ad8
DJ
95252007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9526
9527 * gdb.server/server-mon.exp: New test.
9528
2711e456
DJ
95292007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9530
9531 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9532
ff6f572f
DJ
95332007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9534
9535 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9536 register capitalization.
9537
fada3feb
DP
95382007-02-13 Denis Pilat <denis.pilat@st.com>
9539
9540 * gdb.mi/mi-var-invalidate.exp: New file.
9541
fb1e4ffc
DJ
95422007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9543
9544 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9545
3da939d7
DJ
95462007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9547
9548 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9549
123dc839
DJ
95502007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9551
9552 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9553 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9554
877e3645 95552007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
9556
9557 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9558 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9559 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9560 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9561 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 9562 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 9563 Update tests to include value field in output of -var-create.
a9c64011 9564
3c0a2960
AS
95652007-02-08 Andreas Schwab <schwab@suse.de>
9566
9567 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9568
108546a0
DJ
95692007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9570
9571 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9572 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9573
d701dcab
DP
95742007-02-02 Denis Pilat <denis.pilat@st.com>
9575
9576 * gdb.threads/threadapply.exp: check that frame is not changed by
9577 the thread apply all command.
9578
783e3e2f
AS
95792007-01-31 Andreas Schwab <schwab@suse.de>
9580
6d9c3a87
AS
9581 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9582
3c50d7b9
AS
9583 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9584 in the dwarf sections.
9585 * gdb.dwarf2/mac-fileno.S: Likewise.
9586
783e3e2f
AS
9587 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9588 bspstore register on ia64.
9589
78ff580e
AS
95902007-01-29 Andreas Schwab <schwab@suse.de>
9591
cc8e9b12
AS
9592 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9593 "frame-begin" annotation.
9594
78ff580e
AS
9595 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9596 number of "frames-invalid" annotations.
9597
704a4f78
DJ
95982007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9599
9600 * gdb.base/commands.exp: Call if_commands_test.
9601 (gdb_test_no_prompt, if_commands_test): New.
9602
e741bf94
MK
96032007-01-28 Mark Kettenis <kettenis@gnu.org>
9604
9605 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9606
474d0ad3
AS
96072007-01-27 Andreas Schwab <schwab@suse.de>
9608
9609 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9610 .short/.int/.quad in the dwarf sections.
9611 * gdb.dwarf2/dw2-intercu.S: Likewise.
9612 * gdb.dwarf2/dw2-intermix.S: Likewise.
9613
e784b426
JK
96142007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9615
9616 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
9617 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9618 array.
e784b426
JK
9619 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9620 * gdb.base/setvar.exp: Likewise.
9621
37f08e04
AS
96222007-01-26 Andreas Schwab <schwab@suse.de>
9623
9a01813a
AS
9624 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9625 test.
9626
37f08e04
AS
9627 * gdb.base/multi-forks.exp ("restart $i"): Also match
9628 __kernel_syscall_via_break.
9629
6e2a9270
VP
96302007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9631
9632 * lib/mi-support.exp (mi_delete_varobj): New.
9633 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9634 testcase.
9635 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9636 (main): Call the above.
9637 (reference_update_test, base_in_reference_test)
9638 (reference_to_pointer): Delete the created varobjs.
a9c64011 9639
e515b470
DJ
96402007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9641
9642 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9643 * configure: Regenerated.
9644 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9645 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9646 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9647 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9648 * lib/gdb.exp (gdb_skip_xml_test): New function.
9649
08d8bcd7
DJ
96502007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9651
9652 * gdb.base/sigrepeat.exp: Correct error message.
9653
96542007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
9655 Daniel Jacobowitz <dan@codesourcery.com>
9656
9657 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9658 gdb.arch/i386-gnu-cfi-asm.S: New files.
9659
97c3f1f3
JK
96602007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9661
9662 * lib/gdb.exp: Abort on missing `site.exp'.
9663
cb1df416
DJ
96642007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9665 Daniel Jacobowitz <dan@codesourcery.com>
9666
9667 * gdb.base/included.c, gdb.base/included.exp,
9668 gdb.base/included.h: New files.
9669
35990120
DJ
96702007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9671
9672 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9673 (maximize_rlimit): Reduce limits on 64-bit systems.
9674
6e81a116 96752007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
9676
9677 From Marcus Deuling <deuling@de.ibm.com>:
9678 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9679 every case.
9680
6c3c41f3
NR
96812007-01-13 Nick Roberts <nickrob@snap.net.nz>
9682
9683 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9684 (test_path_specification): Use objdir instead of srcdir to always
9685 get an absolute filename.
9686
2f12c312
DJ
96872007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9688
9689 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9690
81121995
VP
96912007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9692
9693 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9694 Make sure the variable we're using is in scope.
9695 (reference_to_pointer): Likewise.
9696
4741b737
DJ
96972007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9698
9699 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9700 has no debug information.
9701
054410c3
DJ
97022007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9703
9704 * gdb.base/annota1.exp: Remove extra send_gdb.
9705
818f79f6
DJ
97062007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9707
9708 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9709
f7a6bb70
DJ
97102007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9711
9712 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9713
57e66780
DJ
97142007-01-08 Nick Roberts <nickrob@snap.net.nz>
9715 Daniel Jacobowitz <dan@codesourcery.com>
9716
9717 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9718 lcharacter or linteger change. Correct duplicated test name.
9719 * gdb.mi/mi2-var-cmd.exp: Likewise.
9720
3d799a95
DJ
97212007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9722
9723 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9724
97252007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 9726
a9c64011
AS
9727 * gdb.base/nofield.c: New file.
9728 * gdb.base/nofield.exp: New testcase.
51679ba9 9729
eafb94e8
NR
97302007-01-05 Nick Roberts <nickrob@snap.net.nz>
9731
9732 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9733
9734 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9735 test.
9736
5e572bb4
DJ
97372007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9738
9739 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9740
74a44383
DJ
97412007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9742
9743 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9744 when continuing.
9745
1b572db9
DJ
97462007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9747
9748 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9749 Expect ".exe" extension.
9750
381bc39b
DJ
97512007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9752
9753 * gdb.base/charset.exp: Add explicit filename to break.
9754 * gdb.base/dbx.exp: Add explicit filename to breaks.
9755
2b70e4c6
DJ
97562007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9757
9758 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9759 * gdb.mi/mi2-file.exp: Likewise.
9760
303b6f5d
DJ
97612007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9762
9763 Implement specification of MI tests as comments
9764 in C and C++ sources.
9765 * lib/mi-support.exp (mi_autotest_data): New variable.
9766 (mi_autotest_source): New variable.
9767 (count_newlines, mi_prepare_inline_tests)
9768 (mi_get_inline_test, mi_continue_to_line)
9769 (mi_run_inline_test, mi_tbreak)
9770 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9771 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9772 Run inline tests.
9773 * gdb.mi/mi-var-cp.cc: Define tests here.
9774
23da0d94
VP
97752007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9776
9777 Simplify usage of mi_continue_to.
9778 * lib/mi-support.exp (mi_runto_helper): Renamed
9779 from mi_runto, added new parameter 'run_or_continue'.
9780 (mi_runto): Use mi_runto_helper.
9781 (mi_continue_to): Accept just function name as parameter.
9782 Use mi_runto_helper.
9783 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9784 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9785
f9e18282
JB
97862006-01-04 Joel Brobecker <brobecker@adacore.com>
9787
9788 Make this testcase a bit more realistic. The current code
9789 is too simplistic, and allows the compiler to optimize out
9790 some of the entities we need for this testcase.
9791 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9792 (Do_Nothing): Add extra parameter.
9793 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9794 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9795 by using a variable of type Void_Star.
9796
fd678c65
JB
97972006-01-04 Joel Brobecker <brobecker@adacore.com>
9798
9799 * gdb.ada/catch_ex/foo.adb: New file.
9800 * gdb.ada/catch_ex.exp: New testcase.
9801
05cfdb42
DJ
98022007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9803
9804 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9805 pass --image-base to linker.
9806
2e03ee74
DJ
98072007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9808 Daniel Jacobowitz <dan@codesourcery.com>
9809
9810 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9811 secondary prompts.
9812
0d5de010
DJ
98132007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9814
9815 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9816 output. Test the types of members and member pointers.
9817 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9818 gdb/2092.
9819 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9820 statement. Enable for GCC. Update expected output for some tests
9821 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9822 layout.
9823 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9824 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9825 (Diamond::vget_base): New.
9826 (main): Add new tests.
9827 * gdb.cp/printmethod.exp: Update expected output for member functions.
9828 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9829 print pEe->D::vg().
9830
61a771aa
DJ
98312007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9832
9833 * gdb.threads/tls.exp: Allow stops in sem_post.
9834
2fa63963
DJ
98352006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9836
9837 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9838 * gdb.base/annota3.exp: Likewise.
9839 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9840 again (instead of timing out).
9841 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9842 GCC bug 26475.
9843 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9844 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9845 test from jmisc1.exp.
9846 * gdb.java/jmisc1.exp: Delete.
9847 * gdb.java/jprint.exp: Adjust to work with method signatures including
9848 return types.
9849 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9850 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9851 * lib/java.exp (compile_java_from_source): Pass the correct type
9852 to target_compile.
9853
5eefc2b7
JB
98542006-12-31 Joel Brobecker <brobecker@adacore.com>
9855
9856 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9857 (stack_align_edx): New function.
9858 (stack_align_eax): New function.
9859 (main): Add calls to stack_align_edx and stack_align_eax.
9860 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9861 Add testing for the cases where the register used during a stack
9862 realignment is edx. Same for eax.
9863
227c54da
DJ
98642006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9865
9866 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9867 and generic PE targets.
9868
cab8ac94
JB
98692006-12-29 Joel Brobecker <brobecker@adacore.com>
9870
9871 * gdb.ada/array_return.exp: Update copyright date list.
9872
ba54f318
JB
98732006-12-27 Joel Brobecker <brobecker@adacore.com>
9874
9875 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9876 (Create_Small_Float_Vector): New function.
9877 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9878 function body.
9879 * gdb.ada/array_return/p.adb: Use new type and function from
9880 package Pck.
9881 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9882 able to print the value returned by a function returning an
9883 array of float.
9884
6b7a35dd
JB
98852006-12-20 Joel Brobecker <brobecker@adacore.com>
9886
9887 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9888 The associated tests should be PASSing.
9889
038224f6
VP
98902006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9891
9892 Test for base in references.
9893 * gdb.mi/mi-var-cp.cc: Add test code.
9894 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9895 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9896 * gdb.mi/mi2-watch.exp: Likewise.
9897 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9898 (mi_list_varobj_children): New function.
9899
b26ed50d
VP
99002006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9901
9902 * lib/mi-support.exp
9903 (mi_runto): Accept "()" after function name.
9904 (mi_create_varobj): New function.
9905 (mi_varobj_update): New function.
9906 (mi_Check_varobj_value): New function.
9907 * gdb.mi/mi-var-cp.exp: New file.
9908 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 9909
08232497
DJ
99102006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9911
9912 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9913 gdb.base/weaklib2.c: New files.
9914
d394c993 99152006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 9916
ac6c2fba
NS
9917 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9918 info. Adjust test names.
9919
8ec659a0 9920 * gdb.base/break.c (main): Move position of malloc.
d394c993 9921 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 9922
acd65feb
VP
99232006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9924
9925 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9926 assignement of arrays and function pointers.
9927 * gdb.mi/var-cmd.c: Add declaration necessary for above
9928 tests.
9929
f556d5e5
NS
99302006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9931
9932 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
9933
9934 * gdb.threads/linux-dp.exp: Read thread table before and after
9935 creating each philosopher and verify it.
9936
697bc68d
NS
99372006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9938 Paul Brook <paul@codesourcery.com>
9939 Daniel Jacobowitz <dan@codesourcery.com>
9940
9941 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 9942 main to remove duplication. Add start function of the form
697bc68d
NS
9943 '_*start[1-9]*'. Add RVDS start function.
9944
29d73ae4
DJ
99452006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9946
9947 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9948
c1d88655
UW
99492006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9950
9951 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9952 * gdb.asm/spu.inc: New file.
9953 * gdb.base/term.exp: Disable if [target_info exists noargs].
9954 * gdb.gdb/complaints.exp: Disable if ![isnative].
9955 * gdb.gdb/selftest.exp: Likewise.
9956 * gdb.gdb/observer.exp: Likewise.
9957 * gdb.gdb/xfullpath.exp: Likewise.
9958 * gdb.base/attach.exp: Disable on SPU target.
9959 * gdb.cp/bs145503.exp: Likewise.
9960 * gdb.cp/exception.exp: Likewise.
9961 * gdb.cp/userdef.exp: Likewise.
9962
32a13b1a
DJ
99632006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9964
9965 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9966
d8295fe9
VP
99672006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9968
9969 * gdb.base/completion.exp: Fix completion tests for
9970 'info' and 'info '.
9971 * gdb.base/help.exp (help_test_raw, test_class_help)
9972 (test_prefix_command_help): Move...
9973 * lib/gdb.exp: Here.
9974 * gdb.base/main.exp: Adjust.
9975 * gdb.cp/maint.exp: Adjust.
9976 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 9977
8c394015
VP
99782006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9979
9980 * gdb.stabs/weird.exp (print_weird_var): Use
9981 gdb_test_multiple instead of gdb_expect.
9982
027fc1bc
VP
99832006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9984
9985 * gdb.base/help.exp (help_test_raw): New.
9986 (test_class_help): New.
9987 (test_prefix_command_help): New.
9988 Adjust testcases.
9989
67609209
FR
99902006-11-09 Christophe Lyon <christophe.lyon@st.com>
9991
9992 * gdb.base/constvars.c (main): Write to crass and crips, so that
9993 they are allocated by the compiler.
9994
f73adfeb
AS
99952006-10-27 Andreas Schwab <schwab@suse.de>
9996
9997 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9998 "detach-fork".
9999
2f83a18e
DJ
100002006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10001
10002 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10003 of patterns.
10004
94277a38
DJ
100052006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10006
10007 * gdb.base/sepdebug.exp: Remove debug format test.
10008 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10009 Handle no-symtab.
10010 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10011
5bd2f6e2
DJ
100122006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10013
10014 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10015 int to pointer or pointer to int.
10016 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10017
8c008720
DJ
100182006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10019
10020 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10021
9e35dae4
DJ
100222006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10023
10024 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10025
d9639e13
DJ
100262006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10027
10028 PR c++/2116
10029 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10030
390a1bd0
JB
100312006-10-06 Joel Brobecker <brobecker@adacore.com>
10032
10033 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10034 the corresponding bug has been fixed in GDB (PR/2018).
10035
dd920c33
JB
100362006-10-06 Joel Brobecker <brobecker@adacore.com>
10037
10038 * gdb.base/subst.exp: New testcase.
10039
53bbefe9
JB
100402006-10-06 Joel Brobecker <brobecker@adacore.com>
10041
10042 * gdb.ada/array_return/pck.ads: Add copyright notice.
10043 * gdb.ada/array_return/pck.adb: Likewise.
10044 * gdb.ada/array_return/p.adb: Likewise.
10045 * gdb.ada/exec_changed/first.adb: Likewise.
10046 * gdb.ada/exec_changed/second.adb: Likewise.
10047
09851417
JB
100482006-10-06 Joel Brobecker <brobecker@adacore.com>
10049
10050 * gdb.ada/watch_arg/watch.adb: New file.
10051 * gdb.ada/watch_arg.exp: New testcase.
10052
041bf30d
VP
100532006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10054
10055 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 10056 via string_to_regexp.
041bf30d 10057 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 10058
f286fbdd 100592006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
10060
10061 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10062 Remove unused / obsolete files.
10063
7c07f349
NR
100642006-09-19 Nick Roberts <nickrob@snap.net.nz>
10065
10066 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10067
cd5ff84a
VP
100682006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10069
10070 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10071 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 10072 the number of frames.
cd5ff84a 10073
ae018d1a
DJ
100742006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10075
10076 * gdb.base/args.c (main): Add breakpoint marker.
10077 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10078 really test empty arguments.
10079 (args_load): Delete.
10080 (args_test): New.
10081
b399c549
NR
100822006-09-13 Nick Roberts <nickrob@snap.net.nz>
10083
10084 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 10085 check for one file.
b399c549 10086
2ab1eb7a
VP
100872006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10088
10089 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10090 HIGH_FRAME argument to -stack-list-locals can be larger than
10091 the number of frames.
a9c64011 10092
476308bf
FF
100932006-08-18 Fred Fish <fnf@specifix.com>
10094
10095 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10096 '$' in front of skip_vmx_tests_saved when setting that.
10097
8625200f
AS
100982006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10099
10100 * gdb.base/trace-commands.exp: New file.
10101
089ec8f1
DJ
101022006-08-10 Joel Brobecker <brobecker@adacore.com>
10103 Daniel Jacobowitz <dan@codesourcery.com>
10104
10105 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10106 expected output of the backtrace commands.
10107
b60f0898
JB
101082006-08-09 Joel Brobecker <brobecker@adacore.com>
10109
10110 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10111 untested followed by return combination.
10112 * gdb.arch/altivec-regs.exp: Likewise.
10113 * gdb.arch/e500-abi.exp: Likewise.
10114 * gdb.arch/e500-regs.exp: Likewise.
10115 * gdb.arch/gdb1291.exp: Likewise.
10116 * gdb.arch/gdb1431.exp: Likewise.
10117 * gdb.arch/gdb1558.exp: Likewise.
10118 * gdb.arch/i386-prologue.exp: Likewise.
10119 * gdb.arch/i386-unwind.exp: Likewise.
10120 * gdb.asm/asm-source.exp: Likewise.
10121 * gdb.base/a2-run.exp: Likewise.
10122 * gdb.base/advance.exp: Likewise.
10123 * gdb.base/all-bin.exp: Likewise.
10124 * gdb.base/annota1.exp: Likewise.
10125 * gdb.base/annota3.exp: Likewise.
10126 * gdb.base/args.exp: Likewise.
10127 * gdb.base/arithmet.exp: Likewise.
10128 * gdb.base/assign.exp: Likewise.
10129 * gdb.base/async.exp: Likewise.
10130 * gdb.base/attach.exp: Likewise.
10131 * gdb.base/bang.exp: Likewise.
10132 * gdb.base/bigcore.exp: Likewise.
10133 * gdb.base/bitfields.exp: Likewise.
10134 * gdb.base/bitfields2.exp: Likewise.
10135 * gdb.base/break.exp: Likewise.
10136 * gdb.base/call-sc.exp: Likewise.
10137 * gdb.base/call-strs.exp: Likewise.
10138 * gdb.base/callfuncs.exp: Likewise.
10139 * gdb.base/checkpoint.exp: Likewise.
10140 * gdb.base/chng-syms.exp: Likewise.
10141 * gdb.base/code-expr.exp: Likewise.
10142 * gdb.base/commands.exp: Likewise.
10143 * gdb.base/completion.exp: Likewise.
10144 * gdb.base/cond-expr.exp: Likewise.
10145 * gdb.base/condbreak.exp: Likewise.
10146 * gdb.base/consecutive.exp: Likewise.
10147 * gdb.base/constvars.exp: Likewise.
10148 * gdb.base/corefile.exp: Likewise.
10149 * gdb.base/cvexpr.exp: Likewise.
10150 * gdb.base/dbx.exp: Likewise.
10151 * gdb.base/define.exp: Likewise.
10152 * gdb.base/detach.exp: Likewise.
10153 * gdb.base/display.exp: Likewise.
10154 * gdb.base/dump.exp: Likewise.
10155 * gdb.base/ena-dis-br.exp: Likewise.
10156 * gdb.base/ending-run.exp: Likewise.
10157 * gdb.base/environ.exp: Likewise.
10158 * gdb.base/eval-skip.exp: Likewise.
10159 * gdb.base/exprs.exp: Likewise.
10160 * gdb.base/fileio.exp: Likewise.
10161 * gdb.base/finish.exp: Likewise.
10162 * gdb.base/float.exp: Likewise.
10163 * gdb.base/foll-exec.exp: Likewise.
10164 * gdb.base/foll-fork.exp: Likewise.
10165 * gdb.base/foll-vfork.exp: Likewise.
10166 * gdb.base/freebpcmd.exp: Likewise.
10167 * gdb.base/funcargs.exp: Likewise.
10168 * gdb.base/gcore.exp: Likewise.
10169 * gdb.base/gdb1090.exp: Likewise.
10170 * gdb.base/gdb1250.exp: Likewise.
10171 * gdb.base/huge.exp: Likewise.
10172 * gdb.base/info-proc.exp: Likewise.
10173 * gdb.base/interrupt.exp: Likewise.
10174 * gdb.base/jump.exp: Likewise.
10175 * gdb.base/langs.exp: Likewise.
10176 * gdb.base/lineinc.exp: Likewise.
10177 * gdb.base/list.exp: Likewise.
10178 * gdb.base/logical.exp: Likewise.
10179 * gdb.base/long_long.exp: Likewise.
10180 * gdb.base/macscp.exp: Likewise.
10181 * gdb.base/maint.exp: Likewise.
10182 * gdb.base/mips_pro.exp: Likewise.
10183 * gdb.base/miscexprs.exp: Likewise.
10184 * gdb.base/multi-forks.exp: Likewise.
10185 * gdb.base/opaque.exp: Likewise.
10186 * gdb.base/overlays.exp: Likewise.
10187 * gdb.base/pc-fp.exp: Likewise.
10188 * gdb.base/pointers.exp: Likewise.
10189 * gdb.base/printcmds.exp: Likewise.
10190 * gdb.base/psymtab.exp: Likewise.
10191 * gdb.base/ptype.exp: Likewise.
10192 * gdb.base/recurse.exp: Likewise.
10193 * gdb.base/relational.exp: Likewise.
10194 * gdb.base/relocate.exp: Likewise.
10195 * gdb.base/remote.exp: Likewise.
10196 * gdb.base/reread.exp: Likewise.
10197 * gdb.base/restore.exp: Likewise.
10198 * gdb.base/return.exp: Likewise.
10199 * gdb.base/return2.exp: Likewise.
10200 * gdb.base/scope.exp: Likewise.
10201 * gdb.base/sect-cmd.exp: Likewise.
10202 * gdb.base/sep.exp: Likewise.
10203 * gdb.base/sepdebug.exp: Likewise.
10204 * gdb.base/setshow.exp: Likewise.
10205 * gdb.base/setvar.exp: Likewise.
10206 * gdb.base/sigall.exp: Likewise.
10207 * gdb.base/sigbpt.exp: Likewise.
10208 * gdb.base/signals.exp: Likewise.
10209 * gdb.base/signull.exp: Likewise.
10210 * gdb.base/sizeof.exp: Likewise.
10211 * gdb.base/solib.exp: Likewise.
10212 * gdb.base/step-line.exp: Likewise.
10213 * gdb.base/step-test.exp: Likewise.
10214 * gdb.base/structs.exp: Likewise.
10215 * gdb.base/structs2.exp: Likewise.
10216 * gdb.base/term.exp: Likewise.
10217 * gdb.base/twice.exp: Likewise.
10218 * gdb.base/until.exp: Likewise.
10219 * gdb.base/varargs.exp: Likewise.
10220 * gdb.base/volatile.exp: Likewise.
10221 * gdb.base/watchpoint.exp: Likewise.
10222 * gdb.base/whatis-exp.exp: Likewise.
10223 * gdb.base/whatis.exp: Likewise.
10224 * gdb.cp/ambiguous.exp: Likewise.
10225 * gdb.cp/annota2.exp: Likewise.
10226 * gdb.cp/annota3.exp: Likewise.
10227 * gdb.cp/bool.exp: Likewise.
10228 * gdb.cp/breakpoint.exp: Likewise.
10229 * gdb.cp/casts.exp: Likewise.
10230 * gdb.cp/class2.exp: Likewise.
10231 * gdb.cp/classes.exp: Likewise.
10232 * gdb.cp/cplusfuncs.exp: Likewise.
10233 * gdb.cp/ctti.exp: Likewise.
10234 * gdb.cp/derivation.exp: Likewise.
10235 * gdb.cp/exception.exp: Likewise.
10236 * gdb.cp/gdb1355.exp: Likewise.
10237 * gdb.cp/hang.exp: Likewise.
10238 * gdb.cp/inherit.exp: Likewise.
10239 * gdb.cp/local.exp: Likewise.
10240 * gdb.cp/m-data.exp: Likewise.
10241 * gdb.cp/m-static.exp: Likewise.
10242 * gdb.cp/member-ptr.exp: Likewise.
10243 * gdb.cp/method.exp: Likewise.
10244 * gdb.cp/misc.exp: Likewise.
10245 * gdb.cp/namespace.exp: Likewise.
10246 * gdb.cp/overload.exp: Likewise.
10247 * gdb.cp/ovldbreak.exp: Likewise.
10248 * gdb.cp/pr-1023.exp: Likewise.
10249 * gdb.cp/pr-1210.exp: Likewise.
10250 * gdb.cp/pr-574.exp: Likewise.
10251 * gdb.cp/printmethod.exp: Likewise.
10252 * gdb.cp/psmang.exp: Likewise.
10253 * gdb.cp/ref-params.exp: Likewise.
10254 * gdb.cp/ref-types.exp: Likewise.
10255 * gdb.cp/rtti.exp: Likewise.
10256 * gdb.cp/templates.exp: Likewise.
10257 * gdb.cp/try_catch.exp: Likewise.
10258 * gdb.cp/userdef.exp: Likewise.
10259 * gdb.cp/virtfunc.exp: Likewise.
10260 * gdb.disasm/am33.exp: Likewise.
10261 * gdb.disasm/h8300s.exp: Likewise.
10262 * gdb.disasm/mn10300.exp: Likewise.
10263 * gdb.disasm/sh3.exp: Likewise.
10264 * gdb.disasm/t01_mov.exp: Likewise.
10265 * gdb.disasm/t02_mova.exp: Likewise.
10266 * gdb.disasm/t03_add.exp: Likewise.
10267 * gdb.disasm/t04_sub.exp: Likewise.
10268 * gdb.disasm/t05_cmp.exp: Likewise.
10269 * gdb.disasm/t06_ari2.exp: Likewise.
10270 * gdb.disasm/t07_ari3.exp: Likewise.
10271 * gdb.disasm/t08_or.exp: Likewise.
10272 * gdb.disasm/t09_xor.exp: Likewise.
10273 * gdb.disasm/t10_and.exp: Likewise.
10274 * gdb.disasm/t11_logs.exp: Likewise.
10275 * gdb.disasm/t12_bit.exp: Likewise.
10276 * gdb.disasm/t13_otr.exp: Likewise.
10277 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10278 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10279 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10280 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10281 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10282 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10283 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10284 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10285 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10286 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10287 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10288 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10289 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10290 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10291 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10292 * gdb.mi/gdb701.exp: Likewise.
10293 * gdb.mi/gdb792.exp: Likewise.
10294 * gdb.mi/mi-basics.exp: Likewise.
10295 * gdb.mi/mi-break.exp: Likewise.
10296 * gdb.mi/mi-cli.exp: Likewise.
10297 * gdb.mi/mi-console.exp: Likewise.
10298 * gdb.mi/mi-disassemble.exp: Likewise.
10299 * gdb.mi/mi-eval.exp: Likewise.
10300 * gdb.mi/mi-file.exp: Likewise.
10301 * gdb.mi/mi-read-memory.exp: Likewise.
10302 * gdb.mi/mi-regs.exp: Likewise.
10303 * gdb.mi/mi-return.exp: Likewise.
10304 * gdb.mi/mi-simplerun.exp: Likewise.
10305 * gdb.mi/mi-stack.exp: Likewise.
10306 * gdb.mi/mi-stepi.exp: Likewise.
10307 * gdb.mi/mi-syn-frame.exp: Likewise.
10308 * gdb.mi/mi-until.exp: Likewise.
10309 * gdb.mi/mi-var-block.exp: Likewise.
10310 * gdb.mi/mi-var-child.exp: Likewise.
10311 * gdb.mi/mi-var-cmd.exp: Likewise.
10312 * gdb.mi/mi-var-display.exp: Likewise.
10313 * gdb.mi/mi-watch.exp: Likewise.
10314 * gdb.mi/mi2-basics.exp: Likewise.
10315 * gdb.mi/mi2-break.exp: Likewise.
10316 * gdb.mi/mi2-cli.exp: Likewise.
10317 * gdb.mi/mi2-console.exp: Likewise.
10318 * gdb.mi/mi2-disassemble.exp: Likewise.
10319 * gdb.mi/mi2-eval.exp: Likewise.
10320 * gdb.mi/mi2-file.exp: Likewise.
10321 * gdb.mi/mi2-read-memory.exp: Likewise.
10322 * gdb.mi/mi2-regs.exp: Likewise.
10323 * gdb.mi/mi2-return.exp: Likewise.
10324 * gdb.mi/mi2-simplerun.exp: Likewise.
10325 * gdb.mi/mi2-stack.exp: Likewise.
10326 * gdb.mi/mi2-stepi.exp: Likewise.
10327 * gdb.mi/mi2-syn-frame.exp: Likewise.
10328 * gdb.mi/mi2-until.exp: Likewise.
10329 * gdb.mi/mi2-var-block.exp: Likewise.
10330 * gdb.mi/mi2-var-child.exp: Likewise.
10331 * gdb.mi/mi2-var-cmd.exp: Likewise.
10332 * gdb.mi/mi2-var-display.exp: Likewise.
10333 * gdb.mi/mi2-watch.exp: Likewise.
10334 * gdb.stabs/exclfwd.exp: Likewise.
10335 * gdb.stabs/weird.exp: Likewise.
10336 * gdb.threads/gcore-thread.exp: Likewise.
10337 * gdb.trace/actions.exp: Likewise.
10338 * gdb.trace/backtrace.exp: Likewise.
10339 * gdb.trace/circ.exp: Likewise.
10340 * gdb.trace/collection.exp: Likewise.
10341 * gdb.trace/deltrace.exp: Likewise.
10342 * gdb.trace/infotrace.exp: Likewise.
10343 * gdb.trace/limits.exp: Likewise.
10344 * gdb.trace/packetlen.exp: Likewise.
10345 * gdb.trace/passc-dyn.exp: Likewise.
10346 * gdb.trace/passcount.exp: Likewise.
10347 * gdb.trace/report.exp: Likewise.
10348 * gdb.trace/save-trace.exp: Likewise.
10349 * gdb.trace/tfind.exp: Likewise.
10350 * gdb.trace/tracecmd.exp: Likewise.
10351 * gdb.trace/while-dyn.exp: Likewise.
10352 * gdb.trace/while-stepping.exp: Likewise.
10353
f4b618d1
JB
103542006-08-08 Joel Brobecker <brobecker@adacore.com>
10355
10356 * gdb.base/step-bt.c: New file.
10357 * gdb.base/step-bt.exp: New testcase.
10358
3d00d119
DJ
103592006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10360
10361 * config/monitor.exp (gdb_load): Remove support for obsolete
10362 download-write-size.
10363 * gdb.base/remote.exp: Likewise. Update all callers of
10364 gdb_timed_load.
10365
017b5bd4
DJ
103662006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10367
10368 * cursal.exp: Pass binfile to gdb_load.
10369
837c599d
DJ
103702006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10371
10372 * gdb.base/cursal.exp: Add "" to gdb_load call.
10373
8dd4540b
MK
103742006-07-29 Mark Kettenis <kettenis@gnu.org>
10375
10376 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10377 NetBSD/ELF targets.
10378
ab5c9f60
DJ
103792006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10380
10381 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10382 operator*.
10383
4c42eaff
DJ
103842006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10385
10386 * gdb.base/completion.exp: Update for change in "file" behavior.
10387 * gdb.stabs/weird.exp: Likewise.
10388 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10389 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10390
0155cc76
NS
103912006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10392
10393 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10394 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10395
16026cd7
AS
103962006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10397
10398 * gdb.base/default.exp: Update source command error message.
10399 * gdb.base/help.exp: Update 'help source' message.
10400
16963cb6
DJ
104012006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10402
10403 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10404 test.
10405
6d7fd486
AS
104062006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10407
10408 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10409
29e8a844
DJ
104102006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10411
10412 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10413
6afcfa39
DJ
104142006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10415
10416 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10417
267a692b
MK
104182006-07-17 Mark Kettenis <kettenis@gnu.org>
10419
10420 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10421 *-*-openbsd* from targets for wich we expect ARM FPA floating
10422 point format.
10423
85d2fec4
NR
104242006-07-17 Nick Roberts <nickrob@snap.net.nz>
10425
10426 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10427
104282006-07-17 Mark Kettenis <kettenis@gnu.org>
10429
10430 * gdb.base/annota3.exp: Expect frame-begin annotation.
10431
85b4c6e8
JB
104322006-07-14 Joel Brobecker <brobecker@adacore.com>
10433
10434 * gdb.base/help.exp: Adjust "help unset" test to accept
10435 any list of unset commands.
10436
fb933624
DJ
104372006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10438 Daniel Jacobowitz <dan@codesourcery.com>
10439
10440 * gdb.cp/ref-params.exp: New test.
10441 * gdb.cp/ref-params.cc: New source file.
10442 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10443
1dff4b64
MK
104442006-07-08 Mark Kettenis <kettenis@gnu.org>
10445
10446 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10447 spaces/tabs in regular expressions since they might not be there.
10448
40d2e0e3
AS
104492006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10450
10451 * gdb.base/ifelse.exp: New file.
10452
f6c957d2
NS
104532006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10454
10455 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10456 line.
10457 * gdb.base/huge.exp: Loop over compilation to find a size that
10458 is acceptable.
10459 * gdb.base/remote.exp: Correct expected strings.
10460 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10461
b9c5a23d
DJ
104622006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10463
10464 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10465
9af2e58d
DJ
104662006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10467
10468 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10469 native.
10470
30930ca5
DJ
104712006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10472
10473 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10474 enable stabs testing.
10475
aa32fa1d
DJ
104762006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10477
bd4a4c80 10478 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
10479 gdb_test_multiple does.
10480
321fef15
DJ
104812006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10482
10483 * Makefile.in (host_alias): Remove.
10484 (target_alias): Use @target_noncanonical@.
10485 (site.exp): Don't set host_alias.
10486 * aclocal.m4: Remove contents. Include acx.m4.
10487 * configure: Regenerated.
10488 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10489
e1c2defa
NS
104902006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10491
e63b55d1
NS
10492 * lib/gdb.exp (gdb_load_cmd): New.
10493
5600ea19
NS
10494 * gdb.base/fileio.c: Add system(NULL) test.
10495 * gdb.base/fileio.exp: Check it.
10496
e1c2defa
NS
10497 * gdb.base/break.c: Add 10a breakpoint at }
10498 * gdb.base/break.exp: Add test for breakpoint at }
10499 * gdb.cp/anon-union.cc: Add code at end of function.
10500 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10501 * gdb.mi/var-cmd.c: Add code at end of function.
10502 * gdb.mi/mi-var-display.exp: Adjust end of next.
10503 * gdb.mi/mi2-var-display.exp: Likewise.
10504 * gdb.base/fileio.c: Add stop function and insert calls at
10505 stopping places.
10506 * gdb.base/fileio.exp: Breakpoint stop function and remove
10507 explicit line number references.
10508
6c0112ec
JB
105092006-05-19 Joel Brobecker <brobecker@adacore.com>
10510
a9c64011
AS
10511 * gdb.base/del.exp (test_delete_alias): New function.
10512 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 10513
154189a4
FF
105142006-05-18 Fred Fish <fnf@specifix.com>
10515
10516 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10517 required. Check for spurious output after program exits normally.
10518
582e64c2
FF
105192006-05-17 Fred Fish <fnf@specifix.com>
10520
10521 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10522 gdb_load, so it works in the simulator.
10523
8ef6493a
FF
105242006-05-11 Fred Fish <fnf@specifix.com>
10525
10526 * gdb.base/bang.exp: Ignore unexpected output between the
10527 "program exited normally" and the gdb prompt, as many other
10528 tests do.
10529
692b141c
MK
105302006-05-07 Mark Kettenis <kettenis@gnu.org>
10531
10532 * gdb.base/help.exp: Make "delete checkpoint" part option for
10533 "help d" and "help delete" tests.
10534
540b8a30
UW
105352006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10536
a9c64011 10537 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
10538 expected output in some mi_gdb_test statements.
10539 * gdb.mi/mi2-basics.exp: Likewise.
10540
9b6462d9
JB
105412006-05-05 Joel Brobecker <brobecker@adacore.com>
10542
10543 * gdb.base/del.c: New file.
10544 * gdb.base/del.exp: New testcase.
10545
954de43b
DM
105462006-05-05 David S. Miller <davem@sunset.davemloft.net>
10547
10548 * gdb.base/break.exp: Do not assume a breakpoint on
10549 main will actually be in $srcfile when optimizing.
1303f75e
DM
10550 * gdb.base/savedregs.exp: Do not require that the dummy
10551 frame location match up to a symbol and source file location.
c3242428
DM
10552 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10553 will get printed without a mi_cmd_data_list_register_values prefix.
10554 (*-data-list-register-*): Correct regular expressions to expect the new
10555 pseudo d? floating point registers.
10556 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 10557
c7e64c9a
DJ
105582006-05-05 Christophe Lyon <christophe.lyon@st.com>
10559
10560 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10561 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10562 is allocated by the compiler.
10563 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10564 anons, e, anone to force their allocation by the compiler.
10565
105662006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
10567
10568 * gdb.base/help.exp: Update expected text for help d and
10569 help delete.
10570
27ce9a6d
MK
105712006-05-02 Mark Kettenis <kettenis@gnu.org>
10572
10573 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10574 NetBSD/ELF targets.
10575
8608915f
MK
105762006-04-30 Mark Kettenis <kettenis@gnu.org>
10577
10578 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10579 single-step breakpoint fails; make this a KFAIL on
10580 sparc*-*-openbsd*.
10581 * gdb.base/siginfo.exp: Likewise.
10582 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10583
b8db102d
MS
105842006-04-26 Michael Snyder <msnyder@redhat.com>
10585
10586 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10587 which may have to consume output from other forks.
10588 Add tests to make sure that "delete fork" succeeded.
10589
c702009a
MS
105902006-04-20 Michael Snyder <msnyder@redhat.com>
10591
10592 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10593 Add support for the Renesas M32C and M16C.
10594
10595 * gdb.asm/asm-source.exp: Add m32c target.
10596 * gdb.asm/m32c.inc: Support for m32c target.
10597
e28493f2
AS
105982006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10599
10600 * gdb.base/commands.exp (recursive_source_test): New test.
10601
880da185
DM
106022006-04-04 David S. Miller <davem@sunset.davemloft.net>
10603
10604 * gdb.base/float.exp: Add pattern for sparc targets.
10605
61d9b92f
DJ
106062006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10607
10608 * gdb.base/commands.exp (stray_arg0_test): New test.
10609
bd717df8
PB
106102006-03-30 Paul Brook <paul@codesourcery.com>
10611
10612 * gdb.mi/mi-until.exp: kfail broken until command.
10613 * gdb.mi/mi2-until.exp: Ditto.
10614
ec793d3c
NR
106152006-03-27 Nick Roberts <nickrob@snap.net.nz>
10616
10617 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10618
831004b7
AO
106192006-03-08 Alexandre Oliva <aoliva@redhat.com>
10620
10621 * gdb.base/prelink.exp: Anchor tested-for regular expression
10622 on gdb prompt.
10623
effe49a0
PB
106242006-03-07 Paul Brook <paul@codesourcery.com>
10625
10626 * gdb.base/assign.exp: Correct fail message.
10627
e5461016
PB
106282006-03-07 Paul Brook <paul@codesourcery.com>
10629
10630 * lib/compiler.c: Extract armcc version number.
10631 * lib/compiler.cc: Ditto.
10632
fc91c6c2
PB
106332006-03-07 Paul Brook <paul@codesourcery.com>
10634
10635 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10636 additional_flags=-w.
10637 * gdb.arch/altivec-regs.exp: Ditto.
10638 * gdb.arch/e500-abi.exp: Ditto.
10639 * gdb.arch/e500-regs.exp: Ditto.
10640 * gdb.base/all-bin.exp: Ditto.
10641 * gdb.base/annota1.exp: Ditto.
10642 * gdb.base/annota3.exp: Ditto.
10643 * gdb.base/args.exp: Ditto.
10644 * gdb.base/arithmet.exp: Ditto.
10645 * gdb.base/assign.exp: Ditto.
10646 * gdb.base/async.exp: Ditto.
10647 * gdb.base/bang.exp: Ditto.
10648 * gdb.base/break.exp: Ditto.
10649 * gdb.base/call-rt-st.exp: Ditto.
10650 * gdb.base/completion.exp: Ditto.
10651 * gdb.base/cond-expr.exp: Ditto.
10652 * gdb.base/condbreak.exp: Ditto.
10653 * gdb.base/consecutive.exp: Ditto.
10654 * gdb.base/define.exp: Ditto.
10655 * gdb.base/display.exp: Ditto.
10656 * gdb.base/ena-dis-br.exp: Ditto.
10657 * gdb.base/environ.exp: Ditto.
10658 * gdb.base/eval-skip.exp: Ditto.
10659 * gdb.base/info-proc.exp: Ditto.
10660 * gdb.base/jump.exp: Ditto.
10661 * gdb.base/logical.exp: Ditto.
10662 * gdb.base/long_long.exp: Ditto.
10663 * gdb.base/maint.exp: Ditto.
10664 * gdb.base/miscexprs.exp: Ditto.
10665 * gdb.base/pc-fp.exp: Ditto.
10666 * gdb.base/pointers.exp: Ditto.
10667 * gdb.base/relational.exp: Ditto.
10668 * gdb.base/reread.exp: Ditto.
10669 * gdb.base/sect-cmd.exp: Ditto.
10670 * gdb.base/sep.exp: Ditto.
10671 * gdb.base/sepdebug.exp: Ditto.
10672 * gdb.base/until.exp: Ditto.
10673 * gdb.base/whatis-exp.exp: Ditto.
10674 * gdb.cp/annota2.exp: Ditto.
10675 * gdb.cp/annota3.exp: Ditto.
10676 * gdb.trace/actions.exp: Ditto.
10677 * gdb.trace/backtrace.exp: Ditto.
10678 * gdb.trace/circ.exp: Ditto.
10679 * gdb.trace/collection.exp: Ditto.
10680 * gdb.trace/deltrace.exp: Ditto.
10681 * gdb.trace/infotrace.exp: Ditto.
10682 * gdb.trace/limits.exp: Ditto.
10683 * gdb.trace/packetlen.exp: Ditto.
10684 * gdb.trace/passc-dyn.exp: Ditto.
10685 * gdb.trace/passcount.exp: Ditto.
10686 * gdb.trace/report.exp: Ditto.
10687 * gdb.trace/save-trace.exp: Ditto.
10688 * gdb.trace/tfind.exp: Ditto.
10689 * gdb.trace/tracecmd.exp: Ditto.
10690 * gdb.trace/while-dyn.exp: Ditto.
10691 * gdb.trace/while-stepping.exp: Ditto.
10692 * lib/gdb.exp: Ditto.
10693 (gdb_compile): Handle nowarning option.
10694
5f4a23d9
AO
106952006-03-07 Alexandre Oliva <aoliva@redhat.com>
10696
10697 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10698 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10699 Rename executable to prelinkt. Don't re-prelink if we didn't
10700 get a core file. Test prelink -u exit status to tell whether
10701 prelinking failed. Use gdb_test_multiple.
10702
9733fc94
DJ
107032006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10704
10705 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10706 (do_tests): Call it.
10707
cc10cae3
AO
107082006-02-28 Alexandre Oliva <aoliva@redhat.com>
10709
10710 * gdb.base/prelink.exp: New test.
10711 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10712
15c46491
WZ
107132006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10714
10715 * gdb.fortran/derived-type.f90: New file.
10716 * gdb.fortran/derived-type.exp: New testcase.
10717
5c9f7ded
DJ
107182006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10719
10720 * gdb.base/default.exp: Allow ';' as a directory separator.
10721
5b96932b
AS
107222006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10723
10724 * gdb.base/help.exp (help add-symbol-file): Update.
10725
1986bccd
AS
107262006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10727
10728 * gdb.base/help.exp (help load): Update expected results.
10729
a8b7528f
FF
107302006-02-19 Fred Fish <fnf@specifix.com>
10731
10732 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10733 specifix hex value as part of results.
10734 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 10735
f8261448
FF
107362006-02-16 Fred Fish <fnf@specifix.com>
10737
10738 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10739 ushort_addr, and slong_addr, so the typedefs are not optimized
10740 away.
10741 * gdb.base/whatis.exp: Add tests using type name for struct type,
10742 union type, enum type, and typedef.
a9c64011 10743
31d8bdd2
MK
107442006-02-13 Mark Kettenis <kettenis@gnu.org>
10745
10746 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10747
34e41e63
JB
107482006-02-13 Jim Blandy <jimb@redhat.com>
10749
10750 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10751 case where it takes two "next" commands to skip past the init
10752 call.
10753
ac6e4f31
FF
107542006-02-12 Fred Fish <fnf@specifix.com>
10755
10756 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10757 to handle cases where it takes two "next" commands to skip
10758 past the init call.
10759
2db2d571
JB
107602006-02-07 Joel Brobecker <brobecker@adacore.com>
10761
10762 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10763 on hppa32 targets.
10764
38fcd64c
DJ
107652006-02-06 Vladimir Prus <ghost@cs.msu.su>
10766
10767 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10768 field.
10769
1315ad46
MK
107702006-01-29 Mark Kettenis <kettenis@gnu.org>
10771
10772 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10773
5625b943
DJ
107742006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10775
10776 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10777 files.
10778
80df1bbe
DJ
107792006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10780
10781 * gdb.cp/maint.exp: Set complaints to a positive value.
10782
9078e690
DJ
107832006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10784
10785 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10786 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10787 function name.
10788
9c903399
DJ
107892006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10790
10791 * gdb.base/checkpoint.c: Update copyright notice. Include
10792 <stdlib.h>.
10793
761ae4d6
JB
107942006-01-04 Jim Blandy <jimb@redhat.com>
10795
10796 * gdb.asm/asm-source.exp: Independently provide default values for
10797 asm-flags and debug-flags. Use 'string equal' to do the
10798 comparison, not the implicit expr's '==' operator. Remove
10799 now-unneeded assignments to asm-flags. In h8300 case, place
10800 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10801
099ac3dd
MS
108022006-01-04 Michael Snyder <msnyder@redhat.com>
10803
10804 * gdb.base/checkpoint.c: New file.
10805 * gdb.base/checkpoint.exp: New file.
10806 * gdb.base/multi-fork.c: New file.
10807 * gdb.base/multi-fork.exp: New file.
10808 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10809
f4d85314
FF
108102006-01-04 Fred Fish <fnf@specifix.com>
10811
10812 * gdb.base/ptype.c (foo): Add typedef.
10813 (intfoo): Add function.
10814 * gdb.base/ptype1.c: New file.
10815 * gdb.base/ptype.exp: Handle compilation and linking with two
10816 source files. Test that proper type for "foo" is found based
10817 on source context rather than first match found in symtabs.
10818
a1b06f35
MK
108192005-12-28 Mark Kettenis <kettenis@gnu.org>
10820
10821 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10822 * gdb.asm/openbsd.inc: Indent commands.
10823
d082a1e2
MK
108242005-12-26 Mark Kettenis <kettenis@gnu.org>
10825
c65016bd
MK
10826 * gdb.base/freebpcmd.exp: Increase timeout.
10827
d082a1e2
MK
10828 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10829
d3c32a0e
DJ
108302005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10831
10832 * gdb.base/default.exp: Update check for "show version".
10833
9fdb1f50
RC
108342005-12-09 Randolph Chung <tausq@debian.org>
10835
10836 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10837 * gdb.asm/pa64.inc: New file.
10838
5f2c56f7
RC
108392005-12-09 Randolph Chung <tausq@debian.org>
10840
10841 * gdb.asm/common.inc: Indent commands.
10842 * gdb.asm/asmsrc1.s: Likewise.
10843 * gdb.asm/asmsrc2.s: Likewise.
10844
8117349c
RC
108452005-12-09 Randolph Chung <tausq@debian.org>
10846
10847 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10848 (get_addr_of_sym): Remove duplicate print.
10849 (gen_core): xfail hppa*-*-hpux*, update expected output.
10850 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10851 * gdb.arch/pa64-nullify.s: New file.
10852
8f07f25a
RC
108532005-12-09 Randolph Chung <tausq@debian.org>
10854
10855 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10856
55b39184
DJ
108572005-12-07 Christophe Lyon <christophe.lyon@st.com>
10858
10859 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10860 code generation for these functions.
10861 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10862 error message.
10863
31e2b00f
AS
108642005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10865
10866 * gdb.base/help.exp (help b, help br, help bre, help brea)
10867 (help break): Update the expected message.
10868
c3d0b56e
SC
108692005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10870
10871 * gdb.asm/m68hc11.inc: Setup the data section.
10872 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10873 script for this test.
10874 (m6812-*-*): Likewise.
10875
36ae0ea9
RC
108762005-11-09 Randolph Chung <tausq@debian.org>
10877
10878 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10879
9d6f42e9
WZ
108802005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10881
10882 * gdb.base/break.exp: Fix a comment typo.
10883
e2126a14
EZ
108842005-11-03 Jim Blandy <jimb@redhat.com>
10885
a9c64011
AS
10886 Checked in by Elena Zannoni <ezannoni@redhat.com>
10887
889bf7c5 10888 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 10889
e0ac7199
CV
108902005-11-02 Corinna Vinschen <vinschen@redhat.com>
10891
10892 * gdb.arch/gdb1558.c: Include stdio.h.
10893
31d3fb18
MK
108942005-10-31 Mark Kettenis <kettenis@gnu.org>
10895
10896 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10897
e52b687c
MK
108982005-10-31 Mark Kettenis <kettenis@gnu.org>
10899
10900 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10901
f4711d79
PG
109022005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10903
a9c64011
AS
10904 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10905 vscr" tests to better match output.
f4711d79 10906
987a9106
JB
109072005-10-12 Jim Blandy <jimb@redhat.com>
10908
10909 * gdb.base/structs.exp (any): New function.
10910 (test_struct_returns): Don't make any assumptions at all about
10911 what value the function returns when GDB can't set the return
10912 value.
10913
2336bb58
JB
109142005-10-09 Joel Brobecker <brobecker@adacore.com>
10915
10916 * gdb.ada/arrayidx/p.adb: New file.
10917 * gdb.ada/arrayidx.exp: New testcase
10918
109192005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
10920
10921 * gdb.ada/array_return/pck.ads: New file.
10922 * gdb.ada/array_return/pck.adb: New file.
10923 * gdb.ada/array_return/p.adb: New file.
10924 * gdb.ada/array_return.exp: New testcase.
10925
705335ea
JB
109262005-10-03 Joel Brobecker <brobecker@adacore.com>
10927
a9c64011
AS
10928 * gdb.base/arrayidx.c: New file.
10929 * gdb.base/arrayidx.exp: New testcase.
705335ea 10930
11ee9940
NR
109312005-09-29 Nick Roberts <nickrob@snap.net.nz>
10932
10933 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10934 frames-invalid and breakpoints-invalid are no longer generated
10935 with level 3 so don't expect them in the output.
10936
39fb8e9e
BR
109372005-09-27 Bob Rossi <bob@brasko.net>
10938
a9c64011 10939 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
10940 from test. Escape the | in mi_gdb_test call.
10941 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10942 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10943 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10944 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10945 expected regex's in mi_gdb_test calls.
10946 * lib/mi-support.exp: Remove arbitrary .* from tests.
10947 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10948 Fully anchor GDB/MI expected results in mi_gdb_test.
10949 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10950 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10951
2af48f68
PB
109522005-09-26 Paul Brook <paul@codesourcery.com>
10953
10954 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10955
f34502bc
WZ
109562005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10957
10958 * bfp-test.c: New file.
10959 * bfp-test.exp: New testcase.
10960
ca929517
WZ
109612005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10962
10963 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10964 of subarray and substring variable.
10965 * gdb.fortran/subarray.f: New source file for the test of subarray
10966 and substring variable evaluation.
10967 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10968 of string constant.
10969
c761af65
DJ
109702005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10971
10972 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10973 copyright dates.
10974
561d7a1d
PG
109752005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10976
10977 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10978 powerpc altivec' test with an almost identical 'info vector' test.
10979
b2b64cc9
PG
109802005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10981
a9c64011
AS
10982 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10983 vscr" tests to match output.
b2b64cc9 10984
6ac4d15a
PG
109852005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10986
a9c64011
AS
10987 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10988 output.
6ac4d15a 10989
40e55bef
BR
109902005-09-11 Bob Rossi <bob@brasko.net>
10991
889bf7c5
PA
10992 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10993 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10994 commands that return an MI output command and an asyncronous MI output
10995 command.
40e55bef
BR
10996 * gdb.mi/mi-console.exp: Ditto.
10997
3c7385ec
BR
109982005-09-11 Bob Rossi <bob@brasko.net>
10999
11000 * gdb.mi/mi-var-child.c: Include <string.h>.
11001
a6cd0eb3
DJ
110022005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11003
11004 * killed.exp: Correct gdb_expect syntax.
11005
2f168eed
CV
110062005-08-09 Corinna Vinschen <vinschen@redhat.com>
11007
11008 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11009
ecd3fd0f
BR
110102005-08-02 Bob Rossi <bob@brasko.net>
11011
11012 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11013 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11014 Change tests to inferior-tty-set/show.
11015 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11016 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11017 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11018 inferior. Use mi_gdb_test to get GDB and Inferior output.
11019 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11020 descriptor.
11021 (mi_inferior_tty_name): Add inferior PTY file name.
11022 (mi_gdb_start): Add INFERIOR_PTY parameter.
11023 (mi_gdb_test): Add IPATTERN parameter.
11024
f1ea48cb 110252005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 11026
f1ea48cb
BR
11027 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11028 parameter to mi_gdb_test.
11029 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11030
6e650a67
DJ
110312005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11032
11033 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11034 struct_declarations.
11035 * gdb.mi/mi-var-child.exp: Step over the initialization of
11036 struct_declarations.
11037
8be260b6
DJ
110382005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11039
11040 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11041 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11042 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11043 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11044 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11045 file.
11046
4e660f07
NR
110472005-07-27 Nick Roberts <nickrob@snap.net.nz>
11048
11049 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11050 (do_children_tests): Assign values to the extra elements.
11051
11052 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11053 them for tests for "-var-update --no-values" and
a9c64011 11054 "-var-update --all-values".
4e660f07
NR
11055 Add test for "-var-list-children --simple-values".
11056
11057 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11058
11059 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11060 "-stack-list-locals --simple-values" Improve doc strings and
11061 comments.
11062
6bdae935
MK
110632005-07-18 Mark Kettenis <kettenis@gnu.org>
11064
598b7a6f
MK
11065 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11066 *-*-openbsd*.
11067 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11068
6bdae935
MK
11069 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11070 sigaltsatck'.
11071
1323e929 110722005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 11073
1323e929
BR
11074 * gdb.base/default.exp (tty): Changed output of command.
11075 * gdb.base/help.exp (help tty): Ditto.
11076
b1a9c082
MK
110772005-07-12 Mark Kettenis <kettenis@gnu.org>
11078
11079 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11080
10a844a2
MK
110812005-07-10 Mark Kettenis <kettenis@gnu.org>
11082
11083 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11084 -stack-select-frame without arguments.
11085 (test_stack_frame_listing): Add test for newly implemented command
11086 -stack-info-frame.
11087
3cb3b8df
BR
110882005-07-06 Bob Rossi <bob@brasko.net>
11089
11090 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11091 command.
11092 (Copyright): Update copyright.
11093
a0c5fbcf
WZ
110942005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11095
11096 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11097 tests to evaluate exponentiation expression.
11098
984971d0
AS
110992005-06-29 Andreas Schwab <schwab@suse.de>
11100
11101 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11102 main to avoid warnings.
11103
11104 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11105
fe03833f
NR
111062005-06-20 Nick Roberts <nickrob@snap.net.nz>
11107
11108 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11109 -stack-select-frame without arguments.
11110 (test_stack_frame_listing): Add test for newly implemented command
11111 -stack-info-frame.
a9c64011 11112
7a55f279
WZ
111132005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11114
0ffa0ea5
DJ
11115 * gdb.fortran/array-element.f: New file.
11116 * gdb.fortran/array-element.exp: New testcase.
7a55f279 11117
26585198
DJ
111182005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11119
11120 * gdb.base/bigcore.exp: Correct checks for systems which can
11121 not dump a large core file.
11122
c1bd25fd
DJ
111232005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11124
11125 * gdb.base/relocate.c: Add a copyright notice.
11126 (dummy): Remove.
11127 * gdb.base/relocate.exp: Test printing the values of variables
11128 from a relocatable file.
11129
589e074d
DJ
111302005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11131
11132 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11133 excess MI output after an error.
11134
0915f927
JB
111352005-05-29 Joel Brobecker <brobecker@adacore.com>
11136
11137 * gdb.arch/alpha-step.c: New file.
11138 * gdb.arch/alpha-step.exp: New testcase.
11139
76ff342d
DJ
111402005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11141 Dennis Brueni <dennis@slickedit.com>
11142
11143 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11144 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11145 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11146 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11147 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11148 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11149 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11150
96b0c7ac
DJ
111512005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11152 Wu Zhou <woodzltc@cn.ibm.com>
11153
11154 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11155 IBM's xlc compiler.
11156 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11157 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11158
f21565d2
JB
111592005-05-13 Jim Blandy <jimb@redhat.com>
11160
11161 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11162 calling gdb_suppress_entire_file.
11163 * gdb.base/charset.exp: Same.
11164 * gdb.base/call-rt-st.exp: Same.
11165
6006a3a1
BR
111662005-05-05 Bob Rossi <bob_rossi@cox.net>
11167
11168 * lib/gdb.exp (fullname_syntax): Added global regex.
11169 (fullname_syntax_POSIX): Ditto.
11170 (fullname_syntax_UNC): Ditto.
11171 (fullname_syntax_DOS_CASE): Ditto.
11172 (fullname_syntax_DOS): Ditto.
11173 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11174 fullname_syntax variable to scope and use it.
11175 (test_file_list_exec_source_files): Ditto.
11176 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11177
c3b69c04
DJ
111782005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11179
11180 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11181
3c95e6af
PG
111822004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11183
a9c64011
AS
11184 * lib/gdb.exp (skip_altivec_tests): New function, based on
11185 check_vmx_hw_available from the GCC testsuite.
11186 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11187 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 11188
78df6c56
JB
111892005-05-02 Jim Blandy <jimb@redhat.com>
11190
11191 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11192 calling gdb_suppress_entire_file.
11193
1690f9cf
DJ
111942005-04-30 Randolph Chung <tausq@debian.org>
11195
11196 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11197 Slightly relax "sem_post" name checking.
11198
5ea106f7
PG
111992005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11200
11201 * gdb.base/unload.exp: Use new shared library infrastructure.
11202
bf7234cf
PG
112032005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11204
11205 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 11206 infrastructure.
bf7234cf 11207
547b869a
CV
112082005-04-29 Corinna Vinschen <vinschen@redhat.com>
11209
11210 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11211 * gdb.asm/h8300.inc: New file.
11212
f07e55f0
PG
112132005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11214
11215 * gdb.base/shlib-call.exp: Change to use new shared library
11216 infrastructure.
11217
3cbba3d1
PG
112182005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11219
a9c64011
AS
11220 * gdb.base/pending.exp: Change to use new shared library
11221 infrastructure.
3cbba3d1 11222
ed6df200
PG
112232005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11224
a9c64011
AS
11225 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11226 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 11227
8c8f4ebe
PG
112282005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11229
a9c64011
AS
11230 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11231 shared objects being adjusted and update copyright years.
8c8f4ebe 11232
607fbc54
DJ
112332005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11234
11235 * ChangeLog: Correct some 2003-01-13 dates.
11236 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11237 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11238 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11239 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11240 gdb.trace/tfind.exp: Update copyright years.
11241
57bf0e56
DJ
112422005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11243 Daniel Jacobowitz <dan@codesourcery.com>
11244
11245 * lib/gdb.exp (gdb_compile): Handle shlib=.
11246 (gdb_compile_shlib): New function.
11247
9b593790
PG
112482005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11249
a9c64011 11250 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 11251
9494c6a5
DJ
112522005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11253
11254 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11255 gdb.server.
11256 * configure.ac: Likewise.
11257 * configure: Regenerated.
11258 * gdb.gdbserver/Makefile.in: Moved to...
11259 * gdb.server/Makefile.in: ... here.
11260 * gdb.gdbserver/server.c: Moved to...
11261 * gdb.server/server.c: ... here.
11262 * gdb.gdbserver/server-run.exp: Moved to...
11263 * gdb.server/server-run.exp: ... here.
11264
6f8eac0e
DJ
112652005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11266
11267 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11268 * configure.ac: Create gdb.gdbserver/Makefile.
11269 * configure: Regenerated.
11270 * lib/gdbserver-support.exp: New file, derived from
11271 config/gdbserver.exp.
11272 * config/gdbserver.exp: Use gdbserver-support.exp.
11273 * gdb.gdbserver/Makefile.in: New file.
11274 * gdb.gdbserver/server.c: New file.
11275 * gdb.gdbserver/server-run.exp: New file.
11276
6e87504d
PG
112772005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11278
a9c64011
AS
11279 * lib/gdb.exp (test_compiler_info): Return compiler_info
11280 if no arguments are given.
6e87504d 11281
d1779be4
PG
112822005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11283
11284 * gdb.arch/altivec-abi.exp: Check for compiler and set
11285 use altivec' flag accordingly.
11286 * gdb.arch/altivec-regs.exp: Likewise.
11287
88750304
DJ
112882005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11289
11290 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11291
f3fb768d
AS
112922005-03-27 Andreas Schwab <schwab@suse.de>
11293
11294 * gdb.base/bigcore.c (main): Add missing mode argument in open
11295 call.
11296
7e813ac5
DJ
112972005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11298
11299 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11300 downloads.
11301 * config/gdbserver.exp (gdb_load): Likewise.
11302
8e3049aa
PB
113032005-03-14 Paul Brook <paul@codesourcery.com>
11304
11305 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11306 targets.
11307
a9df7c44
JB
113082005-03-09 Joel Brobecker <brobecker@adacore.com>
11309
11310 * gdb.dwarf2/dup-psym.S: New file.
11311 * gdb.dwarf2/dup-psym.exp: New testcase.
11312
9f0d94e8
JB
113132005-03-09 Joel Brobecker <brobecker@adacore.com>
11314
11315 * gdb.ada/exec_changed/first.adb: New file.
11316 * gdb.ada/exec_changed/second.adb: New file.
11317 * gdb.ada/exec_changed.exp: New testcase.
11318
5f579bc5
NS
113192005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11320
36e9969c
NS
11321 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11322 (A2): New class.
11323 (main): Test operator+.
11324 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11325 breakpoint test.
11326
5f579bc5
NS
11327 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11328 * gdb.base/signull.exp: Disable if gdb,nosignals.
11329 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11330 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11331 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11332 * gdb.mi/mi2-console.exp: Likewise.
11333 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11334 continue output at start.
11335 (gdb_collect_locals_test): Robustify regexp.
11336 * gdb.trace/passc-dyn.exp: Fix comment typo.
11337 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11338
be46087e
CV
113392005-03-08 Corinna Vinschen <vinschen@redhat.com>
11340
11341 * gdb.asm/asm-source.exp: Add iq2000 case.
11342 * gdb.asm/iq2000.inc: New file.
11343
384e1a61 113442005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 11345
384e1a61
MI
11346 * gdb.base/command.exp: Change hardcoded value to regular expression.
11347 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11348
584b6e9e
DJ
113492005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11350
11351 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11352 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11353 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11354 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11355 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11356
ab5b5d61
MK
113572005-03-05 Mark Kettenis <kettenis@gnu.org>
11358
11359 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11360 changes.
11361
ae051c1b
PG
113622004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11363
a9c64011
AS
11364 * lib/compiler.c: Add test for IBM's xlc compiler.
11365 * lib/compiler.cc: Likewise.
ae051c1b 11366
3f0f6ed2
JB
113672004-02-24 Joel Brobecker <brobecker@adacore.com>
11368
11369 * gdb.ada/fixed_points.exp: Create compilation object directory
11370 before running the test.
11371 * gdb.ada/null_record.exp: Likewise.
11372 * gdb.ada/packed_array.exp: Likewise.
11373 * gdb.ada/start.exp: Likewise.
11374
724f452b
JB
113752005-02-15 Joel Brobecker <brobecker@adacore.com>
11376
11377 * gdb.ada/packed_array/pa.adb: New file.
11378 * gdb.ada/packed_array.exp: New testcase.
11379
57f5cdfb 113802005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 11381
1f393151
MK
11382 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11383 files.
11384
ebdda337
MK
11385 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11386 on *-*-openbsd*. Correctly match whitespace in regukar
11387 expressions.
11388
cf309262
DJ
113892005-02-10 Daniel Jacobowitz <dan@debian.org>
11390
11391 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11392 PR exp/1821
11393 * gdb.base/gdb1821.c: New test file.
11394 * gdb.base/gdb1821.exp: New test file.
11395
3be49e7a
JB
113962005-02-09 Joel Brobecker <brobecker@adacore.com>
11397
11398 * gdb.base/start.c: New file.
11399 * gdb.base/start.exp: New testcase.
11400
e292e67d
JB
114012005-02-09 Joel Brobecker <brobecker@adacore.com>
11402
11403 * gdb.ada/start/dummy.adb: New file.
11404 * gdb.ada/start.exp: New testcase.
11405
dbdfa66c
CV
114062005-02-09 Corinna Vinschen <vinschen@redhat.com>
11407
11408 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11409 for printing symbols and statistics.
11410 Add test for using relative pathnames in "maint print msymbols" test.
11411 Mark "maint info sections DATA" XFAIL on Cygwin.
11412 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11413 tests.
11414
d7941671
AC
114152005-02-09 Andreas Schwab <schwab@suse.de>
11416
11417 Committed by Andrew Cagney <cagney@gnu.org>
11418 * gdb.base/remotetimeout.exp: New file.
11419
74e5ef44
MK
114202005-02-07 Mark Kettenis <kettenis@gnu.org>
11421
11422 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11423
464dd14d
JB
114242005-02-03 Joel Brobecker <brobecker@adacore.com>
11425
11426 * gdb.ada/gnat_ada.gpr: New file.
11427 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11428 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11429 * configure.ac: No longer generate gnat_ada.gpr.
11430 * configure: Regenerate.
11431 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11432 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11433 * gdb.ada/null_record/bar.ads: Likewise.
11434 * gdb.ada/null_record/bar.adb: Likewise.
11435 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11436 * gdb.ada/null_record.exp (testdir): New variable.
11437 (testfile): executable is now in testdir subdirectory.
11438 (srcfile): Use full path to the main compilation unit.
11439 * gdb.ada/fixed_points.exp: Same changes as above.
11440
30d756ae
NR
114412005-02-03 Nick Roberts <nickrob@snap.net.nz>
11442
11443 * gdb.base/interp.exp: New test.
11444
9d799f85
AC
114452005-01-24 Andrew Cagney <cagney@gnu.org>
11446
11447 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11448
15656118
AC
114492005-01-19 Andrew Cagney <cagney@gnu.org>
11450
a892c31b
AC
11451 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11452 configure.ac not configure.in.
11453
15656118
AC
11454 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11455 of powerpc*-*-*.
11456 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 11457 * gdb.base/list.exp (test_list_function)
15656118
AC
11458 (test_list_filename_and_function): Ditto.
11459 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11460
a7b01baf
AC
114612005-01-16 Andrew Cagney <cagney@gnu.org>
11462
17d92a02
AC
11463 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11464
a7b01baf
AC
11465 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11466
bc8332bb
AC
114672005-01-14 Andrew Cagney <cagney@gnu.org>
11468
11469 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11470 * gdb.mi/mi2-var-cmd.exp: Ditto.
11471
4d074752
CV
114722005-01-10 Corinna Vinschen <vinschen@redhat.com>
11473
11474 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11475
bec39cab
AC
114762005-01-07 Andrew Cagney <cagney@gnu.org>
11477
11478 * configure.ac: Rename configure.in, require autoconf 2.59.
11479 * configure: Re-generate.
11480 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11481 * gdb.stabs/configure: Re-generate.
11482 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11483 * gdb.hp/configure: Re-generate.
11484 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11485 autoconf 2.59.
11486 * gdb.hp/gdb.objdbg/configure: Re-generate.
11487 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11488 autoconf 2.59.
11489 * gdb.hp/gdb.defects/configure: Re-generate.
11490 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11491 autoconf 2.59.
11492 * gdb.hp/gdb.compat/configure: Re-generate.
11493 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11494 autoconf 2.59.
11495 * gdb.hp/gdb.base-hp/configure: Re-generate.
11496 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11497 autoconf 2.59.
11498 * gdb.hp/gdb.aCC/configure: Re-generate.
11499
f10b16d4
JB
115002004-12-15 Jim Blandy <jimb@redhat.com>
11501
11502 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11503 under NPTL when there is debugging info available for libpthread.
11504
fb6e1814
JG
115052004-12-13 Jerome Guitton <guitton@gnat.com>
11506
11507 * gdb.ada/fixed_points.c: New file.
11508 * gdb.ada/fixed_points.exp: New file.
11509
fe46cd3a
RC
115102004-12-03 Randolph Chung <tausq@debian.org>
11511
11512 * gdb.arch/pa-nullify.exp: New file.
11513 * gdb.arch/pa-nullify.s: New file.
11514
8de0841b
RC
115152004-11-30 Randolph Chung <tausq@debian.org>
11516
11517 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11518 instead of "tbug". Fix regexp to work properly with gdb_test.
11519
c8170782
PH
115202004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11521
11522 * gdb.base/bitfields2.exp: New test.
11523 * gdb.base/bitfields2.c: New file.
11524
954269c2
RE
115252004-11-28 Richard Earnshaw <rearnsha@arm.com>
11526
11527 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11528
0107feed
RC
115292004-11-16 Randolph Chung <tausq@debian.org>
11530
11531 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11532
f073ae8c
DJ
115332004-11-14 Daniel Jacobowitz <dan@debian.org>
11534
11535 * gdb.threads/threadapply.exp: Correct "macro details" test.
11536
19ad59e7
JJ
115372004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11538
11539 * gdb.threads/threadapply.exp: New test.
11540 * gdb.threads/threadapply.c: New file.
11541
9cf0961b
MK
115422004-11-07 Mark Kettenis <kettenis@gnu.org>
11543
11544 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11545 frames.
11546
c789492a
FL
115472004-11-05 Felix Lee <felix+log1@specifixinc.com>
11548
11549 * gdb.base/cursal.exp: New file.
11550 * gdb.base/cursal.c: New file.
11551
a1e167bb
AC
115522004-11-03 Andrew Cagney <cagney@gnu.org>
11553
11554 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11555
b7cbf173
MK
115562004-10-30 Mark Kettenis <kettenis@gnu.org>
11557
11558 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11559 NetBSD/ELF targets.
11560
88f9d34f
JB
115612004-10-29 Joel Brobecker <brobecker@gnat.com>
11562
11563 * gdb.threads/bp_in_thread.c: New file, copied from
11564 pthread_cond_wait.c.
11565 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11566 file, rather than reusing the .c file from another testcase.
11567
ca7d6a0c
JB
115682004-10-20 Joel Brobecker <brobecker@gnat.com>
11569
11570 * gdb.ada/null_record.exp: Check where we stopped after
11571 sending the start command, instead of where the associated
11572 temporary breakpoint was inserted.
11573
0d863d03
AC
115742004-10-14 Andrew Cagney <cagney@gnu.org>
11575
11576 * gdb.mi/gdb701.c (main): Return 0.
11577
d11e72cb
DJ
115782004-10-13 Daniel Jacobowitz <dan@debian.org>
11579
d40539a4 11580 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 11581
e1923096
JJ
115822004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11583
11584 * gdb.threads/schedlock.c: Add comment markers to use to find
11585 line numbers.
11586 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11587 comments.
11588 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11589 breakpoint lines.
11590
ec8ba2c9
DJ
115912004-10-12 Daniel Jacobowitz <dan@debian.org>
11592
11593 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11594
0eb3658b
DJ
115952004-10-12 Daniel Jacobowitz <dan@debian.org>
11596
11597 * configure.in: Add gdb.dwarf2.
11598 * configure: Regenerated.
11599 * Makefile.in: Add gdb.dwarf2.
11600 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11601 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11602 gdb.dwarf2/file1.txt: New files.
11603
a271cc33
OF
116042004-10-11 Orjan Friberg <orjanf@axis.com>
11605
a9c64011 11606 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
11607 of "run", since the latter doesn't work with remote targets. Adjust
11608 the breakpoint numbering accordingly.
11609 * gdb.threads/pthread_cond_wait.exp: Ditto.
11610
895ce074
MC
116112004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11612
11613 * gdb.base/overlays.exp: Update copyright years.
11614
6be3092d
KI
116152004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11616
11617 * gdb.base/overlays.exp: Disable if target is Linux.
11618
e05389b8
FL
116192004-10-06 Felix Lee <felix+log1@specifixinc.com>
11620
11621 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11622
73cb587d
KI
116232004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11624
11625 * gdb.asm/asm-source.exp: Add m32r-linux target.
11626 * gdb.asm/m32r-linux.inc: New file.
11627
3c0edcdc
AC
116282004-09-24 Andrew Cagney <cagney@redhat.com>
11629 David Anderson <anderson@redhat.com>
11630
11631 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11632 command fails, assume things will work.
11633 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11634 (_GNU_SOURCE): Define.
11635 (print_unsigned, print_hex): Change parameter to "long long".
11636 (print_byte_count): New function, use to print byte counts.
11637 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11638 O_LARGEFILE.
11639 (main): Compute an upper bound on a corefile in max_core_size.
11640 Limit memory chunk size to max_core_size. Limit total memory
11641 allocated to max_core_size.
11642
4bb3667f
AC
116432004-09-23 Andrew Cagney <cagney@gnu.org>
11644
11645 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11646 from a separate process with code that creates a corefile by
11647 making the inferior dump core.
11648
60fe1a51
MK
116492004-09-23 Mark Kettenis <kettenis@gnu.org>
11650
11651 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11652 block.
11653
8e937346
MC
116542004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11655
11656 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11657 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11658 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11659 Likewise.
11660
7213f6d6
JJ
116612004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11662
11663 * gdb.java/jprint.exp: New test case for java inferior call.
11664 * gdb.java/jprint.java: Ditto.
11665
eac69dca
JB
116662004-09-15 Joel Brobecker <brobecker@gnat.com>
11667
11668 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11669
22227696
MC
116702004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11671
11672 * gdb.threads/killed.c: Include <stdlib.h>.
11673 * gdb.threads/pthreads.c: Likewise.
11674
7dd403a4
MC
116752004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11676
11677 * gdb.threads/killed.c: Add copyright notice.
11678
33f2d567
JM
116792004-09-10 Jason Molenda (jmolenda@apple.com)
11680
a9c64011
AS
11681 * gdb.base/define.exp: Two new tests to verify zero space chars
11682 after 'if' and 'while' commands in a user-defined command is correctly
11683 parsed.
33f2d567 11684
e05b62ac
AC
116852004-09-08 Andrew Cagney <cagney@gnu.org>
11686
11687 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11688 delivery test with duplicate at end of file.
11689
9cbe82da
MK
116902004-09-06 Mark Kettenis <kettenis@jive.nl>
11691
11692 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11693
564803d9
MC
116942004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11695
11696 * config/hppro.exp: Removed.
11697
7c6807ce
MC
116982004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11699
11700 * config/sparclet.exp: Removed.
11701
bf7e26dd
MC
117022004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11703
11704 * config/udi.exp: Removed.
11705
714e341b
MC
117062004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11707
11708 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11709 of "exp_continue".
11710 (advancei): Likewise.
11711
1236e623
JJ
117122004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11713
11714 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11715
3bdcad15
MI
117162004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11717
228af206 11718 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
11719 to check for nodebug in executable.
11720 * gdb.gdb/observer.exp (setup_test): Likewise.
11721 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11722 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11723
c72b934c
AC
117242004-09-01 Andrew Cagney <cagney@gnu.org>
11725
11726 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11727 files.
11728
edd9b715
JJ
117292004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11730
11731 * gdb.base/unload.exp: Fix expected warning message to match
11732 latest format.
11733
fb4ce06b
CV
117342004-09-01 Corinna Vinschen <vinschen@redhat.com>
11735
11736 * gdb.base/call-rt-st.exp: Fix typos.
11737
ce78e7c3
MI
117382004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11739
11740 * gdb.threads/thread_check.exp: New testcase.
11741 * gdb.threads/thread_check.c: New testcase.
11742
2dedb159
AC
117432004-08-31 Andrew Cagney <cagney@gnu.org>
11744
11745 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11746 (skip_to_handler_entry): New procedures. Test stepping into a
11747 handler when the breakpoint is at the handler's entry point.
11748
68f53502
AC
117492004-08-30 Andrew Cagney <cagney@gnu.org>
11750
11751 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11752 gdb/1757.
11753
3e3ffd2b
MC
117542004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11755
11756 With code from Manoj Iyer <manjo@austin.ibm.com>:
11757 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11758 return value. Add an arm for "no debugging symbols found".
11759 Change a stray "error" to "perror".
11760 (gdb_run_cmd): Adapt to new return value.
11761 * gdb.base/remote.exp: Adapt to new return value.
11762 * gdb.gdb/complaints.exp: Likewise.
11763 * gdb.gdb/observer.exp: Likewise.
11764 * gdb.gdb/selftest.exp: Likewise.
11765 * gdb.gdb/xfullpath.exp: Likewise.
11766
4b6f5fd2
JB
117672004-08-27 Joel Brobecker <brobecker@gnat.com>
11768
11769 * gdb.threads/bp_in_thread.exp: New testcase.
11770
e5b25496
MC
117712004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11772
11773 Fix PR testsuite/1735.
11774 * gdb.threads/schedlock.c (thread_function): Add a cast
11775 to suppress a gcc warning.
11776 * gdb.threads/thread-specific.c (thread_function): Likewise.
11777
934353d6
MC
117782004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11779
11780 * gdb.base/unload.c: Include <stdlib.h>.
11781
f98a0aef 117822004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 11783
f98a0aef 11784 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
11785 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11786 synchronized after the "return".
11787
5a2e8882
MC
117882004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11789
11790 * gdb.mi/basics.c: Include <stdio.h>.
11791 * gdb.mi/pthreads.c: Include <stdlib.h>.
11792 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11793
a9640423
MC
117942004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11795
11796 * gdb.threads/schedlock.c: Add copyright notice.
11797
b04e311d
AC
117982004-08-25 Andrew Cagney <cagney@gnu.org>
11799
11800 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11801 (skip_over_handler, breakpoint_over_hander): New test procedures.
11802 (advance, advancei): Add a proper prefix, do not use
11803 rerun_to_main.
11804 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11805
7c27f15b
MC
118062004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11807
11808 * gdb.mi/basics.c: Add copyright notice.
11809 * gdb.mi/var-cmd.c: Add copyright notice.
11810
fffc87ae
MC
118112004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11812
11813 * lib/gdb.exp: Remove signed_keyword_not_used.
11814 * lib/compiler.c: Likewise.
11815 * lib/compiler.cc: Likewise.
11816
d782e0bf
MC
118172004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11818
11819 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11820 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11821
96033e83
MC
118222004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11823
11824 * gdb.base/whatis.c: Add copyright notice.
11825
cf38c229
MK
118262004-08-20 Mark Kettenis <kettenis@gnu.org>
11827
11828 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11829 it to skip the breakpoints encoded in the inline assembly.
11830
f4b49756
MC
118312004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11832
11833 * Makefile.in: Add gdb.fortran.
11834
2f193b69
MC
118352004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11836
11837 * gdb.base/call-sc.exp (test_scalar_returns):
11838 Fix cut-and-paste glitch in "Make fun return now".
11839
89a237cb
MC
118402004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11841
11842 * configure.in: Add gdb.fortran.
11843 * configure: Regenerate.
11844 * gdb.fortran/Makefile.in: New file.
11845 * lib/gdb.exp (skip_fortran_tests): New procedure.
11846
469aff8e
MC
118472004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11848
11849 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11850 reference to bug-gnu@prep.ai.mit.edu.
11851 * gdb.mi/mi-var-child.exp: Likewise.
11852 * gdb.mi/mi-var-cmd.exp: Likewise.
11853 * gdb.mi/mi-var-display.exp: Likewise.
11854 * gdb.mi/mi2-var-block.exp: Likewise.
11855 * gdb.mi/mi2-var-child.exp: Likewise.
11856 * gdb.mi/mi2-var-cmd.exp: Likewise.
11857 * gdb.mi/mi2-var-display.exp: Likewise.
11858
00b51b9f
MK
118592004-08-15 Mark Kettenis <kettenis@gnu.org>
11860
11861 * gdb.base/unload.c (main): Make local variable msg const.
11862
45f07fef
MC
118632004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11864
11865 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11866 to bug-gnu@prep.ai.mit.edu.
11867 * gdb.mi/mi-disassemble.exp: Likewise.
11868 * gdb.mi/mi-eval.exp: Likewise.
11869 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11870 default line number.
11871 * gdb.mi/mi-return.exp: Likewise.
11872 * gdb.mi/mi-simplerun.exp: Likewise.
11873 * gdb.mi/mi-stack.exp: Likewise.
11874 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11875 number with explicit range test.
11876 * gdb.mi/mi-watch.exp: Likewise.
11877 * gdb.mi/mi2-break.exp: Likewise.
11878 * gdb.mi/mi2-cli.exp: Likewise.
11879 * gdb.mi/mi2-disassemble.exp: Likewise.
11880 * gdb.mi/mi2-eval.exp: Likewise.
11881 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11882 default line number.
11883 * gdb.mi/mi2-return.exp: Likewise.
11884 * gdb.mi/mi2-simplerun.exp: Likewise.
11885 * gdb.mi/mi2-stack.exp: Likewise.
11886 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11887 number with explicit range test.
11888 * gdb.mi/mi2-watch.exp: Likewise.
11889
dd8c8ee7
MC
118902004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11891
11892 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11893 * gdb.cp/m-static.exp: Likewise.
11894 * gdb.cp/rtti.exp: Likewise.
11895
4e838464
MK
118962004-08-14 Mark Kettenis <kettenis@gnu.org>
11897
11898 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11899
8d8cb839
EZ
119002004-08-14 Eli Zaretskii <eliz@gnu.org>
11901
11902 * ChangeLog: Prefix Local Variables with semi-colons and indent
11903 the reference to older ChangeLog files, to fix fontification in
11904 Emacs.
11905
deea8bb0
MC
119062004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11907
11908 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11909 * gdb.mi/mi2-break.exp: Likewise.
11910
c3297504
MC
119112004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11912
11913 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11914
25808999
MC
119152004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11916
11917 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11918
226a8d71
MC
119192004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11920
11921 * gdb.cp/classes.exp: Remove unused declarations. Just let
11922 test names default instead of providing special names. Remove
11923 extraneous demangler test.
11924
37fdf854
JJ
119252004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11926
11927 * gdb.base/unload.exp: New test for breakpoints in dynamically
11928 loaded libraries.
11929 * gdb.base/unload.c: Ditto.
11930 * gdb.base/unloadshr.c: Ditto.
11931
2d3a7986
MC
119322004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11933
11934 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11935 cp_test_ptype_class.
11936 (test_enums): Likewise.
11937
c72b934c
AC
119382004-08-10 Andrew Cagney <cagney@gnu.org>
11939
11940 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11941 files.
11942
cc503c8a
AC
119432004-08-10 Andrew Cagney <cagney@gnu.org>
11944
11945 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11946 init_malloc call.
11947
902f2ccb
MC
119482004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11949
11950 * ChangeLog: Add copyright notice. The notice is copied
11951 from emacs 21.3 top level ChangeLog.
11952
78c90502
MC
119532004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11954
11955 * lib/cp-support.exp: New file.
11956 * lib/cp-support.exp (cp_test_type_class): New function.
11957 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11958 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11959 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11960 cp_test_ptype_class.
11961
88e5ea78
MC
119622004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11963
11964 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11965 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11966 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11967 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11968 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11969 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11970 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11971 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11972 gdb.mi/mi2-watch.exp: Update copyright years.
11973
6a89fc9c
MK
119742004-08-09 Mark Kettenis <kettenis@gnu.org>
11975
11976 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11977
1482e0de
MC
119782004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11979
11980 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11981 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11982 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11983 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11984 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11985 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11986 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11987 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11988 gdb.mi/mi-watch.exp: Update copyright years.
11989
1a5ce3f3
DJ
119902004-08-08 Daniel Jacobowitz <dan@debian.org>
11991
11992 PR gdb/1738
11993 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11994 from a breakpoint with a pending signal.
11995
04f6ecf2
DJ
119962004-08-08 Daniel Jacobowitz <dan@debian.org>
11997
11998 PR gdb/1736
11999 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12000 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12001 the prompt.
12002 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12003
54d90d35
DJ
120042004-08-08 Daniel Jacobowitz <dan@debian.org>
12005
12006 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12007
d2f6abb0
DJ
120082004-08-08 Daniel Jacobowitz <dan@debian.org>
12009
12010 PR gdb/1736
12011 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12012 for i?86-*-linux*.
12013
5598c03d
DJ
120142004-08-08 Daniel Jacobowitz <dan@debian.org>
12015
12016 * gdb.arch/i386-prologue.exp: Compile without debug information.
12017
c6fee705
MC
120182004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12019
12020 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12021 rather than asking gdb to search.
12022
dd90efdb
MC
120232004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12024
12025 * gdb.base/gcore.c: Include <string.h>.
12026
1e84bec1
MC
120272004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12028
12029 * gdb.base/gcore.c: Add copyright notice.
12030
e425eb2b
MC
120312004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12032
12033 * gdb.base/freebpcmd.c: Include <stdio.h>.
12034 * gdb.base/long_long.c: Include <string.h>.
12035 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12036 * gdb.base/siginfo.c: Include <string.h>.
12037 * gdb.base/sigstep.c: Include <string.h>.
12038
cb9aaed5
MC
120392004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12040
12041 * gdb.base/complex.c: Include <stdlib.h>.
12042
55944f3d
MC
120432004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12044
12045 * gdb.base/complex.c: Add copyright notice.
12046
7b2953d9
MC
120472004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12048
12049 * gdb.base/charset.c: Include <stdlib.h>.
12050
c9133d23
MC
120512004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12052
12053 * gdb.base/auxv.c: Include <stdlib.h>.
12054
0a8490ad
MC
120552004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12056
12057 * gdb.base/auxv.c: Add copyright notice.
12058
3426d5ec
MC
120592004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12060
12061 * gdb.base/coremaker.c: Add copyright notice.
12062 * gdb.base/coremaker2.c: Add copyright notice.
12063
8da195dd
AC
120642004-08-04 Andrew Cagney <cagney@gnu.org>
12065
12066 * gdb.base/store.exp: Update copyright.
12067 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12068 names, do not import gdb_prompt.
12069
8d394f98
AC
120702004-08-01 Andrew Cagney <cagney@gnu.org>
12071
12072 Fix PR testsuite/1729.
12073 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12074 not use capture_value with value 4.
12075 (capture_value): Add optional test name parameter.
12076 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12077 the prefix, pass to capture_value.
12078
b6702b23
MK
120792004-08-01 Mark Kettenis <kettenis@gnu.org>
12080
12081 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12082 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12083 (main): Call new function.
12084
c203e0ca
MC
120852004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12086
12087 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12088
a7995a30
MC
120892004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12090
12091 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12092
9366563b
MC
120932004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12094
b6eeaf26 12095 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
12096 Accept more values of vtbl pointer. Remove some messages
12097 about "obsolete gcc or gdb".
12098
2fc1f950
MC
120992004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12100
12101 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12102
c724d49b
MC
121032004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12104
12105 * gdb.base/asm-source.exp: Properly convert target board
12106 debug flags from gcc format to binutils format.
12107
736b0fce
MK
121082004-07-28 Mark Kettenis <kettenis@gnu.org>
12109
12110 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12111 gdb1718". PR backtrace/1718 partially fixed.
12112
5633ea5c
JJ
121132004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12114
12115 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12116
575eebb1
NC
121172004-07-26 Nick Clifton <nickc@redhat.com>
12118
12119 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12120 good default value for a specific architecture is available then
12121 set it to that value. Otherwise default to the -gstabs switch.
12122 Remove the -g... switches from the asm-flags variable. Allow the
12123 target board info to override the value if it wants to. Pass the
12124 switch on the assembler command line.
12125
62104619
MK
121262004-07-23 Mark Kettenis <kettenis@gnu.org>
12127
12128 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12129 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12130 (main): Call new function.
12131
4a1135b8
MC
121322004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12133
12134 Test for PR exp/1715.
12135 * gdb.base/radix.exp: Refactor common procedures. Make all
12136 test names unique. Change XFAIL to KFAIL.
12137
8a12c1f0
MC
121382004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12139
12140 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12141 * gdb.ada/gnat_ada.gin: ... to here.
12142 * configure.in: Use gnat_ada.gin.
12143 * configure: Regenerate.
12144
23b451cf
AC
121452004-07-20 Andrew Cagney <cagney@gnu.org>
12146
12147 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12148 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12149 XFAILs. Clean up test messages and comments. Check backtraces.
12150 Delete re-sync code.
12151
ab618a02
MC
121522004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12153
12154 Fix PR cli/740.
12155 * gdb.base/annota1.exp: Honor gdb,nosignals.
12156 * gdb.base/annota3.exp: Likewise.
12157
46dad340
MC
121582004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12159
12160 * lib/java.exp: Update copyright notice.
12161
756d8c70
AC
121622004-07-19 Andrew Cagney <cagney@gnu.org>
12163
12164 * gdb.base/selftest.exp: Copy file from here ...
12165 * gdb.gdb/selftest.exp: ... to here.
12166
586027e6
AC
121672004-07-16 Andrew Cagney <cagney@redhat.com>
12168
12169 * lib/insight-support.exp: Delete file.
12170 * lib/java.exp (java_init): Fix copyright.
12171
029d2200
AC
121722004-07-16 Andrew Cagney <cagney@gnu.org>
12173
12174 * gdb.base/restore.c: Append "prologue" to comments marking the a
12175 function's prologue.
12176 * gdb.base/restore.exp: Update copyright, re-indent.
12177 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12178 callerN" prefix where needed. Update patterns that match a
12179 function's prologue.
12180
653b62c5
MC
121812004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12182
12183 * gdb.base/restore.c: Add copyright notice.
12184
f7d690e5
AC
121852004-07-16 Andrew Cagney <cagney@gnu.org>
12186
12187 * gdb.base/logical.exp: Update copyright.
12188 (evaluate): New procedure. Use to re-implement tests using
12189 several tables.
12190
d629a7cb
MH
121912004-07-14 Martin Hunt <hunt@redhat.com>
12192
12193 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12194 which fixes some problems where init.tcl was not found.
12195
9c7bb332
AC
121962004-07-13 Andrew Cagney <cagney@gnu.org>
12197
6bf46641
AC
12198 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12199 (check_sizeof, check_valueof): Do not include the output in the
12200 test name. Use gdb_test.
12201 (get_valueof): Use gdb_test_multiple.
12202
c4ffd4c0
AC
12203 * gdb.base/step-test.exp: Update copyright. Use
12204 gdb_test_multiple. Ensure that test names do not include
12205 architecture dependent output.
12206
ab89363a
AC
12207 * gdb.gdb/observer.exp: Update copyright.
12208 (setup_test): Use gdb_test_multiple.
12209 (attach_first_observer, attach_second_observer)
12210 (attach_third_observer, detach_first_observer)
12211 (detach_second_observer, detach_third_observer)
12212 (reset_counters, check_counters): Make $message a prefix.
12213 (test_normal_stop_notifications): Add "args" parameter - a list of
12214 init functions to be called. Make $message a prefix,
12215 (test_observer_normal_stop): Change the message prefixes so that
12216 they are unique, pass the attach / detach procedures to
12217 test_normal_stop_notifications.
12218
ec58997a
AC
12219 * gdb.base/signull.exp (test_segv): Prefix all tests with
12220 "${name}". Clean up test messages.
12221
b475183b
AC
12222 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12223
9c7bb332
AC
12224 * gdb.base/ena-dis-br.exp: Update copyright.
12225 (break_at): New function. Replace send_gdb with gdb_test,
12226 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12227 ignore count, not stopped at bpt", with KFAIL.
12228
2dd95497
CV
122292004-07-13 Corinna Vinschen <vinschen@redhat.com>
12230
12231 * gdb.base/attach.exp: Remove cleanupfile handling.
12232
419e626b
AC
122332004-07-12 Andrew Cagney <cagney@gnu.org>
12234
12235 * gdb.base/annota1.exp: Cleanup corefile test name.
12236 * gdb.base/annota3.exp: Ditto.
12237
8b1b3228
AC
122382004-07-12 Andrew Cagney <cagney@gnu.org>
12239
78650829
AC
12240 * gdb.base/signals.exp: Clean up copyright, re-indent.
12241
8b1b3228
AC
12242 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12243 gdb_test and gdb_test_multiple.
12244
935c2760
JJ
122452004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12246
12247 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 12248 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
12249 provide line number info for first statement in main.
12250
1544280f
AC
122512004-07-08 Andrew Cagney <cagney@gnu.org>
12252
1279f4ff
AC
12253 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12254
1544280f
AC
12255 * gdb.base/sigbpt.exp: Make the common part of each test name a
12256 prefix instead of suffix.
12257
bcc82369
BR
122582004-07-07 Bob Rossi <bob_rossi@cox.net>
12259
12260 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12261 test from test_tbreak_creation_and_listing to
12262 test_file_list_exec_source_file
12263 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12264 Changed name of test from test_tbreak_creation_and_listing to
12265 test_file_list_exec_source_file
12266
23f4b0aa
JJ
122672004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12268
12269 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12270 the jmisc() constructor instead of <init>.
12271 * gdb.java/jmisc1.exp: Ditto.
12272
56401cd5
AC
122732004-07-07 Andrew Cagney <cagney@gnu.org>
12274
12275 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12276 corrupting the PC.
12277
44ae2f6a
MC
122782004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12279
12280 * gdb.cp/templates.exp: Accept whitespace change in demangler
12281 output.
12282
45a83408
AC
122832004-07-06 Andrew Cagney <cagney@gnu.org>
12284
12285 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12286
d205ad70
MC
122872004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12288
12289 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12290 * lib/compiler.cc: Likewise.
12291
06ea1a61
MC
122922004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12293
12294 * lib/compiler.cc: Work around string preprocessing problem
12295 with old hp c++ compiler.
12296 * lib/compiler.c: Likewise.
12297
daab1251
CV
122982004-06-29 Corinna Vinschen <vinschen@redhat.com>
12299
12300 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12301 directives to conditionalize symbol prefixing.
12302 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12303 additional_flags handling. Add underscore prefix for Cygwin.
12304 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12305 conditionalize symbol prefixing.
12306 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12307 additional_flags handling. Add underscore prefix for Cygwin.
12308
cc984116
CV
123092004-06-29 Corinna Vinschen <vinschen@redhat.com>
12310
12311 * gdb.base/bigcore.exp: Skip test on Cygwin.
12312
c279b077
MC
123132004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12314
12315 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12316 formats for "info register". Use gdb_test_multiple. Fix
12317 the "invalid register" test.
12318
0e915747
CV
123192004-06-28 Corinna Vinschen <vinschen@redhat.com>
12320
12321 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12322 PID for Cygwin. Add Cygwin specific strings to check for in some
12323 tests.
12324 (do_attach_tests): Add a test for user interaction when attaching
12325 to a process with no matching symbol table already loaded.
12326
11422c86
AC
123272004-06-26 Andrew Cagney <cagney@gnu.org>
12328
12329 Test PR java/1567 and PR java/1565.
12330 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12331 * gdb.java/jmisc2.exp: Delete file.
12332
cefbce26
MC
123332004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12334
12335 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12336
e19f872c
CV
123372004-06-25 Corinna Vinschen <vinschen@redhat.com>
12338
12339 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12340 attach process.
12341
d931ba3b
MC
123422004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12343
12344 * gdb.cp/pr-1553.exp: Remove.
12345
aef68c48
MC
123462004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12347
12348 * gdb.cp/pr-1553.cc: Remove.
12349 * gdb.cp/pr-1553.exp: Disable this test.
12350
8d5df71a
JB
123512004-06-20 Jim Blandy <jimb@redhat.com>
12352
a9c64011 12353 Fix PR testsuite/1680.
8d5df71a
JB
12354 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12355 regular expressions.
12356
4ac6f39d
MC
123572004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12358
12359 Fix PR testsuite/1679.
12360 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12361 Issue an UNSUPPORTED result instead.
12362
1b413552
JB
123632004-06-18 Jim Blandy <jimb@redhat.com>
12364
12365 * gdb.base/charset.exp: Only send a control-C if we see a new
12366 prompt and incomplete command.
12367
6daa6ebd
MC
123682004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12369
12370 * gdb.cp/pr-574.cc: Add copyright notice.
12371
51fa4ae0
JB
123722004-06-17 Jim Blandy <jimb@redhat.com>
12373
12374 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12375 cases where the regexp has no groups; this grabs random text from
12376 the previous test suite, whatever that was.
12377
8fea26c5
MC
123782004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12379
12380 * gdb.cp/printmethod.cc: Add copyright notice.
12381
1e3aeb41
MC
123822004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12383
12384 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12385
9d9030bc
AC
123862004-06-16 Andrew Cagney <cagney@gnu.org>
12387
12388 * gdb.base/signull.c: Update copyright. Include <string.h>.
12389 (bowler): Replace data_pointer with data_read
12390 and data_write cases. Add code_descriptor case.
12391 (zero, desc): New array and pointer.
12392 (data, code): Change to simple pointers.
12393 * gdb.base/signull.exp: Fix probe pattern matching a function
12394 descriptor SIGSEGV. Replace data_pointer with data_read and
12395 data_write tests.
12396
acd4ad44
AC
123972004-06-16 Andrew Cagney <cagney@gnu.org>
12398
12399 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12400
08fd625c
MC
124012004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12402
12403 * gdb.base/long_long.c: Add copyright notice.
12404
1903502c
MC
124052004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12406
12407 * gdb.base/long_long.exp: Remove reference to
12408 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12409 to gdb_breakpoint and gdb_continue_to_breakpoint.
12410
83313cb1
JB
124112004-06-14 Jim Blandy <jimb@redhat.com>
12412
12413 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12414 endian case.
12415
1bf404ef
AC
124162004-06-14 Andrew Cagney <cagney@gnu.org>
12417
12418 * gdb.base/gcore.exp (capture_command_output): Delete the always
12419 passing tests containing inferior values.
12420 * gdb.base/ending-run.exp: Do not include the breakpoint address
12421 in the test message. Update copyright.
12422 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12423 size in the test name, use gdb_test_multiple. Update copyright.
12424
ef220b33
MC
124252004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12426
12427 * gdb.cp/ref-types.cc: Add copyright notice.
12428
4f70a4c9
MC
124292004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12430
12431 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12432 hp_aCC_compiler.
12433 * lib/compiler.cc: Likewise.
12434 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12435 'set' commands. Log diagnostics for other lines. Set
12436 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12437
335928ac
MC
124382004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12439
12440 * gdb.cp/try_catch.cc: Add copyright notice.
12441
2efb12e8
MC
124422004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12443
12444 * gdb.cp/userdef.cc: Add copyright notice.
12445
0bbed51a
MC
124462004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12447
12448 * gdb.cp/virtfunc.cc: Add copyright notice.
12449
e12a46c9
RC
124502004-06-11 Randolph Chung <tausq@debian.org>
12451
12452 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12453 problem.
12454
338e05af
AC
124552004-06-10 Andrew Cagney <cagney@gnu.org>
12456
12457 * lib/compiler.cc, lib/compiler.c: Append either
12458 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12459 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12460 instead of gcc-3-3.
12461
dc3f10cb
AC
124622004-06-09 Andrew Cagney <cagney@gnu.org>
12463
b4d946af
AC
12464 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12465 gdb/1455, bug is specific to "long long" and "double".
a9c64011 12466
dc3f10cb
AC
12467 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12468 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12469 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12470 fixed.
12471
b5c0bfa2
AC
124722004-06-09 Andrew Cagney <cagney@gnu.org>
12473
12474 * gdb.base/structs.exp (test_struct_returns): Replace
12475 "return_value_unknown" and "finish_value_unknown" by
12476 "return_value_known" and "finish_value_known". Instead of
12477 "return_value_unknown" iff "finish_value_unknown", check
12478 "return_value_known" implies "finish_value_known".
12479
caeb605f
MH
124802004-06-08 Martin Hunt <hunt@redhat.com>
12481
12482 * gdb.base/float.exp: Add pattern for mips targets.
12483
c892bb64
RC
124842004-06-08 Randolph Chung <tausq@debian.org>
12485
12486 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12487 message for unknown architectures more clear.
12488
48306d3e
JB
124892004-06-08 Joel Brobecker <brobecker@gnat.com>
12490
12491 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12492 start the execution of the program.
12493
83ecb59f
JB
124942004-06-07 Jim Blandy <jimb@redhat.com>
12495
12496 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12497 * gdb.arch/i386-cpuid.h: New helper file.
12498
55264cb4
RC
124992004-06-07 Randolph Chung <tausq@debian.org>
12500
12501 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12502 has started.
12503
23cadb28
RM
125042004-06-04 Roland McGrath <roland@redhat.com>
12505
12506 Fix PR gdb/1647.
12507 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12508 differently to be robust to output buffering differences.
12509
51d01eda
MC
125102004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12511
12512 * gdb.threads/pthreads.exp: Update copyright years.
12513 (check_control_c): Change asynchronous 'after' to synchronous.
12514
f4fc3b93
RM
125152004-06-04 Roland McGrath <roland@redhat.com>
12516
12517 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12518 next gdb prompt.
12519
4013522b
MC
125202004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12521
12522 Fix PR gdb/1636.
12523 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12524 calls to synchronous.
12525
7a8f1e6b
JB
125262004-05-26 Jim Blandy <jimb@redhat.com>
12527
12528 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12529
81bb3443
RC
125302004-05-24 Randolph Chung <tausq@debian.org>
12531
12532 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12533 * gdb.asm/pa.inc: New file.
12534
8f5a3103
MK
125352004-05-22 Mark Kettenis <kettenis@gnu.org>
12536
12537 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12538
734b8fe8 125392004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 12540 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
12541
12542 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12543 GDB prompt.
12544
725603e1
UW
125452004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12546
f4fc3b93 12547 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
12548 setjmp/longjmp. Use sigaction instead of signal.
12549
8b923272 125502004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 12551 Michael Snyder <msnyder@redhat.com>
8b923272
JB
12552
12553 * gdb.threads/pthread_cond_wait.c: New file.
12554 * gdb.threads/pthread_cond_wait.exp: New testcase.
12555
8bfabb04
AC
125562004-05-13 Andrew Cagney <cagney@redhat.com>
12557
12558 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12559 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12560
42edda50
AC
125612004-05-11 Andrew Cagney <cagney@redhat.com>
12562
12563 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12564 fixed but revealed gdb/1639.
12565
d303a6c7
AC
125662004-05-10 Andrew Cagney <cagney@redhat.com>
12567
12568 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12569 func1" and "next to 2nd alarm", kernel bug avoided.
12570
bf08c2a1
DJ
125712004-05-10 Daniel Jacobowitz <dan@debian.org>
12572
12573 PR external/1568
12574 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12575 XFAIL if it is smaller than bytes_allocated.
12576 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12577 (main): Make chunks_allocated unsigned. Correct comment.
12578
c0586a34
JB
125792004-05-07 Joel Brobecker <brobecker@gnat.com>
12580
12581 * gdb.arch/powerpc-aix-prologue.c: New file.
12582 * gdb.arch/powerpc-aix-prologue.exp: New file.
12583
f2785d12
JB
125842004-05-07 Jim Blandy <jimb@redhat.com>
12585
12586 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12587 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12588
bd7f6e30
JB
125892004-05-06 Joel Brobecker <brobecker@gnat.com>
12590
12591 * gdb.base/sep.exp: No longer setup_kfail when the program was
12592 built with dwarf2.
12593
0a5e7efe
JI
125942004-05-05 Jim Ingham <jingham@apple.com>
12595
12596 * gdb.base/pending.exp: Make sure pending breakpoints
12597 preserve the ignore count.
f4fc3b93 12598
a8958849
MK
125992004-04-27 Jerome Guitton <guitton@gnat.com>
12600
12601 * i386-prologue.exp: Add testcase for jump instruction as first
12602 instruction of the real code.
12603 * i386-prologue.c (jump_at_beginning): New function.
12604
7e103f5b
MK
126052004-04-28 Mark Kettenis <kettenis@gnu.org>
12606
12607 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12608 x86_64-*-*.
12609
5d38b224
MK
126102004-04-28 Mark Kettenis <kettenis@gnu.org>
12611
12612 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12613 i*86-*-*.
12614
0ef32fd9
MK
126152004-04-25 Mark Kettenis <kettenis@gnu.org>
12616
12617 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12618 expression that checks the return type.
12619
71d7dd7c
AC
126202004-04-23 Andrew Cagney <cagney@redhat.com>
12621
12622 * gdb.base/call-sc.exp: New test of scalar call/return values.
12623 * gdb.base/call-sc.c: Ditto.
12624
1e9f977e
JJ
126252004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12626
12627 * gdb.threads/manythreads.c: Reduce thread stack size.
12628
899d9e3a
JJ
126292004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12630
12631 * gdb.threads/manythreads.c: Add copyright notice.
12632
61bcae62
AC
126332004-04-23 Andrew Cagney <cagney@redhat.com>
12634
12635 * gdb.base/siginfo.exp: Better handle step out of signal.
12636 * gdb.base/sigstep.exp: Ditto.
12637
7339a42e 126382004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 12639 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
12640
12641 * gdb.threads/manythreads.c: New testcase.
12642 * gdb.threads/manythreads.exp: Ditto.
12643
5c98409b
JB
126442004-04-22 Jim Blandy <jimb@redhat.com>
12645
12646 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12647 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12648
3b611f1a
MC
126492004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12650
12651 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12652
f0fd9238
AC
126532004-04-21 Andrew Cagney <cagney@redhat.com>
12654
12655 * gdb.base/sigstep.c: New file.
12656 * gdb.base/sigstep.exp: New file.
12657
90990674
JB
126582004-04-16 Joel Brobecker <brobecker@gnat.com>
12659
12660 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12661 call to observer_notify_normal_stop.
12662
78cef34b
AC
126632004-04-15 Andrew Cagney <cagney@redhat.com>
12664
12665 * gdb.base/siginfo.c: New file.
12666 * gdb.base/siginfo.exp: New file.
12667
d2343407
JB
126682004-04-12 J. Brobecker <brobecker@gnat.com>
12669
12670 * gdb.base/sep.exp: Fix typo in comment.
12671
a2dba3c8
JB
126722004-04-12 J. Brobecker <brobecker@gnat.com>
12673
12674 * gdb.base/sep.c: New file.
12675 * gdb.base/sep-proc.c: New file.
12676 * gdb.base/sep.exp: New testcase.
12677
15f7b60e
MK
126782004-04-09 Mark Kettenis <kettenis@gnu.org>
12679
12680 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12681 support.
12682
44f4de1a
AC
126832004-04-05 Andrew Cagney <cagney@redhat.com>
12684
12685 * gdb.base/sigaltstack.c: New file.
12686 * gdb.base/sigaltstack.exp: New file.
12687
ef04f396
JB
126882004-04-04 Joel Brobecker <brobecker@gnat.com>
12689
12690 * gdb.base/foll-fork.exp: Update the expected output for
12691 "help set follow-fork-mode", to match a change that was made
12692 to the help of this variable on 2004-01-13.
12693
d40d2c92
JB
126942004-04-01 Joel Brobecker <brobecker@gnat.com>
12695
12696 * lib/ada.exp: Add copyright notice.
12697 * bar.ads: Likewise.
12698 * bar.adb: Likewise.
12699 * null_record.adb: Likewise.
12700 * null_record.exp: Likewise.
12701 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12702
f86ef5a3
JB
127032004-04-01 Joel Brobecker <brobecker@gnat.com>
12704
12705 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12706 * configure: Regenerate.
12707
414e70e3
JB
127082004-04-01 Joel Brobecker <brobecker@gnat.com>
12709
12710 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12711 to build the application. Remove the message printed when in
12712 verbose mode, redundant with the UNSUPPORTED message above.
12713
f0aaee49
JB
127142004-03-31 Joel Brobecker <brobecker@gnat.com>
12715
12716 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12717 * gdb.ada (null_record.exp): New testcase.
12718
ac81cb54
JB
127192004-03-31 Joel Brobecker <brobecker@gnat.com>
12720
12721 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12722
854af2f7
JB
127232004-03-31 Joel Brobecker <brobecker@gnat.com>
12724
12725 * gdb.ada: New subdirectory.
12726 * gdb.ada/Makefile.in: New file.
12727 * gdb.ada/gnat_ada.gpr.in: New file.
12728
034cb681
JB
127292004-03-31 Joel Brobecker <brobecker@gnat.com>
12730
12731 * lib/ada.exp: New file.
12732
78a1a894
DJ
127332004-03-24 Daniel Jacobowitz <drow@mvista.com>
12734
12735 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12736 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12737
4b2b3b3e
AC
127382004-03-22 Andrew Cagney <cagney@redhat.com>
12739
12740 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12741 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12742 Problem identified by Ulrich Weigand.
12743
23c73aa3
DC
127442004-03-17 David Carlton <carlton@kealia.com>
12745
12746 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12747 PR c++/826.
12748
d63a86f8
RM
127492004-03-16 Roland McGrath <roland@redhat.com>
12750
12751 * gdb.base/auxv.exp: New file.
12752 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12753
0e02aa50
DC
127542004-03-12 David Carlton <carlton@kealia.com>
12755
12756 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12757 * gdb.cp/pr-1553.cc: Ditto.
12758 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12759 pass branch.
12760
c20b71be
MC
127612004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12762
12763 * gdb.cp/templates.exp: Accept more template types.
12764
c7414a01
MC
127652004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12766
12767 From Corinna Vinschen with modifications.
12768 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12769 local variable obj_with_enum.
12770 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12771 results with obj_with_enum.
12772
ed69573c
MC
127732004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12774
12775 * gdb.cp/classes.cc: New file, copied from misc.cc.
12776 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12777
28301461
MC
127782004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12779
12780 * gdb.cp/misc.cc: Add copyright notice.
12781
1198ecbe
DC
127822004-03-05 David Carlton <carlton@kealia.com>
12783
12784 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12785 * gdb.cp/rtti.h: Update copyright.
12786 (namespace n2::n3): New.
12787 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12788 (n2::n3::func3): New.
12789 (main): Call n2::n3::func3.
12790 * gdb.cp/rtti2.cc: Update copyright.
12791 (n2::create3): New.
12792
9e08c470
MK
127932004-03-04 Mark Kettenis <kettenis@gnu.org>
12794
12795 * gdb.asm/openbsd.inc: Fix typo.
12796
4bebc3aa
FF
127972004-03-03 Fred Fish <fnf@redhat.com>
12798
12799 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12800 "val" instead of unused "size". Update copyright year.
12801
6ea9fb37
DJ
128022004-02-29 Daniel Jacobowitz <drow@mvista.com>
12803
12804 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12805 to use unsigned char.
12806 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12807 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12808
23b23974
DJ
128092004-02-29 Daniel Jacobowitz <drow@mvista.com>
12810
12811 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12812 line of output.
12813
7574fd53
DJ
128142004-02-28 Daniel Jacobowitz <drow@mvista.com>
12815
12816 * gdb.base/relocate.c (dummy): Initialize.
12817
a195357f
DJ
128182004-02-28 Daniel Jacobowitz <drow@mvista.com>
12819
12820 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12821 a breakpoint at exit.
12822
72fd54a9
FF
128232004-02-27 Fred Fish <fnf@redhat.com>
12824
12825 * gdb.base/chng-syms.exp: Add expect condition to match failing
12826 case that isn't a timeout.
12827
b9d23137
AC
128282004-02-27 Andrew Cagney <cagney@redhat.com>
12829
12830 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12831 support.
12832
15d208f6 128332004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 12834
15d208f6
FF
12835 * gdb.arch/gdb1431.c: Remove.
12836 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12837 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12838 of "until" incorrectly.
12839
98f9cd2d
JB
128402004-02-26 J. Brobecker <brobecker@gnat.com>
12841
12842 * gdb.cp/class2.cc (empty): New class.
12843 (refer): New function.
12844 (main): Declare an object of type empty and use it.
12845 * gdb.cp/class2.exp: Print the value of an object of type empty.
12846
9b50c11b
JJ
128472004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12848
12849 * gdb.base/langs.exp: Update query string to match the
12850 new nquery format used for pending breakpoints.
12851
0dcd613f
AC
128522004-02-26 Andrew Cagney <cagney@redhat.com>
12853
12854 Fix PR i18n/1570.
12855 * gdb.base/charset.c: Update copyright notice.
12856 (main, init_string): Remove the escape character '\e' tests.
12857 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12858 * gdb.base/charset.exp (valid_host_charset): Ditto.
12859 * gdb.base/setvar.exp: Ditto.
12860
b8a56647
AC
128612004-02-24 Andrew Cagney <cagney@redhat.com>
12862
90d59e34
AC
12863 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12864 mmapped data in core file" PASS and FAIL messages consistent.
12865
b8a56647
AC
12866 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12867 setting a breakpoint. Work around PR java/1565.
12868
9f27c604
JJ
128692004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12870
12871 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12872 new nquery format.
12873 * gdb.base/pending.exp: Ditto.
12874
3224a706
MK
128752004-02-22 Mark Kettenis <kettenis@gnu.org>
12876
12877 * configure.in: Run stabs tests on *BSD.
12878 * configure: Regenerated.
12879
41e0a9ca
MK
128802004-02-21 Mark Kettenis <kettenis@gnu.org>
12881
12882 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12883
1e1b3428
FF
128842004-02-20 Fred Fish <fnf@redhat.com>
12885
12886 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12887 blank in test for "returns short", for consistency with other
12888 "returns xxx" tests. Update copyright year.
12889
f9a7572a
FF
128902004-02-19 Fred Fish <fnf@redhat.com>
12891
12892 New testcase for PR breakpoint/1558.
12893 * gdb.arch/gdb1558.exp: New file.
12894 * gdb.arch/gdb1558.c: New file.
12895
b2ce2854
EZ
128962004-02-19 Elena Zannoni <ezannoni@redhat.com>
12897
12898 * gdb.base/nodebug.exp: Fix typo.
12899
e7c9ff01
JB
129002004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12901
12902 Committed by Jim Blandy <jimb@redhat.com>.
12903
62f4b920
JB
12904 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12905
2db536a1
JB
12906 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12907
e7c9ff01
JB
12908 * gdb.base/float.exp: Support s390*-*-* targets.
12909
f3205b34
AF
129102004-02-17 Adam Fedor <fedor@gnu.org>
12911
12912 * gdb.base/gdb1555.exp: New file.
12913 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12914
9d62932d
EZ
129152004-02-17 Elena Zannoni <ezannoni@redhat.com>
12916
12917 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12918
344c9711
FF
129192004-02-16 Fred Fish <fnf@redhat.com>
12920
12921 * gdb.arch/gdb1291.c: Remove
12922 * gdb.arch/gdb1291.s: New test input file.
12923 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12924 fail. Test for correct result, known incorrect result, other
12925 failures and timeouts.
12926
2d822687
AC
129272004-02-16 Andrew Cagney <cagney@redhat.com>
12928
12929 * gdb.base/bigcore.exp: New file.
12930 * gdb.base/bigcore.c: New file.
12931
dac15b66
AC
129322004-02-13 Andrew Cagney <cagney@redhat.com>
12933
12934 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12935 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12936 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12937 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12938 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12939 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12940 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12941 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12942 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12943 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12944
6bdfc2c4
JJ
129452004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12946
12947 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12948 executed is an alloc instruction.
12949
87b3ede8
DC
129502004-02-11 David Carlton <carlton@kealia.com>
12951
12952 * gdb.cp/breakpoint.exp: New.
12953 * gdb.cp/breakpoint.cc: New.
12954
6e19e2bf
MC
129552004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12956
12957 Partial fix for PR gdb/1543.
12958 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12959 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12960 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12961 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12962 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12963 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12964 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12965 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12966 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12967 to bug-gdb@prep.ai.mit.edu .
12968 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12969 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12970 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12971 Likewise.
12972
5c5455dc
AC
129732004-02-10 Andrew Cagney <cagney@redhat.com>
12974
12975 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12976 using gdb_internal_error_resync.
12977
9cf689d7
DJ
129782004-02-09 Daniel Jacobowitz <drow@mvista.com>
12979
12980 * gdb.threads/thread-specific.exp: Stop early if no threads are
12981 found.
12982
d2dc51db
MC
129832004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12984
12985 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12986
14b1a056
DJ
129872004-02-08 Daniel Jacobowitz <drow@mvista.com>
12988
12989 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12990 breakpoints.
12991
83f66e8f
DJ
129922004-02-07 Daniel Jacobowitz <drow@mvista.com>
12993
12994 * config/sim.exp (gdb_load): Handle $arg == "".
12995 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12996 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12997
30fc0091
EZ
129982004-02-07 Elena Zannoni <ezannoni@redhat.com>
12999
a9c64011
AS
13000 * gdb.base/maint.exp: Update test to reflect
13001 obstack changes.
30fc0091 13002
4d806929
JJ
130032004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13004
13005 * gdb.base/pendshr.c (pendfunc): New function that calls
13006 pendfunc1.
13007 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13008
7bfdd688
FF
130092004-02-04 Fred Fish <fnf@redhat.com>
13010
13011 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13012 function symbols and update copyright years.
13013 * gdb.arch/gdb1291.c: Ditto.
13014
aaa08ee4
MC
130152004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13016
13017 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13018
dbad7755
MC
130192004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13020
13021 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13022
ec4646ef
MC
130232004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13024
13025 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13026
1b802196
FF
130272004-02-02 Fred Fish <fnf@redhat.com>
13028
13029 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13030 remote targets. Update copyright years.
13031
18fe2033
JJ
130322004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13033
13034 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13035 support.
13036 * gdb.base/langs.exp: Fix test which attempts to create
13037 breakpoint on non-existent function to handle new pending
13038 support.
13039 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13040 a breakpoint.
13041 * gdb.base/pending.exp: New test.
13042 * gdb.base/pending.c: New file.
13043 * gdb.base/pendshr.c: Ditto.
13044
8d577d32
DC
130452004-02-02 David Carlton <carlton@kealia.com>
13046
13047 * gdb.cp/overload.exp: Add overloadNamespace tests.
13048 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13049 (overloadNamespace, XXX): New.
13050 (main): Call XXX::marker2.
13051
3ad13771
FF
130522004-02-01 Fred Fish <fnf@redhat.com>
13053
13054 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13055 * gdb.base/finish.exp: Ditto.
13056 * gdb.base/gcore.exp: Ditto.
13057 * gdb.base/huge.exp: Ditto.
13058 * gdb.base/info-proc.exp: Ditto.
13059 * gdb.base/return2.exp: Ditto.
13060 * gdb.threads/gcore-thread.exp: Ditto.
13061
44c75849
DJ
130622004-02-01 Daniel Jacobowitz <drow@mvista.com>
13063
13064 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13065
005bc093
MK
130662004-02-01 Mark Kettenis <kettenis@gnu.org>
13067
13068 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13069 that opening the file succeeds on OpenBSD.
13070
c47cebdb
DJ
130712004-02-01 Daniel Jacobowitz <drow@mvista.com>
13072
13073 * gdb.threads/thread-specific.c: New file.
13074 * gdb.threads/threads-specific.exp: New test script.
13075 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13076 to expect_out.
13077
5a01311c
MK
130782004-02-01 Mark Kettenis <kettenis@gnu.org>
13079
13080 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13081 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13082 only on the "print_small_structs from print_long_arg_list" test.
13083
ce22a4f1
DJ
130842004-02-01 Daniel Jacobowitz <drow@mvista.com>
13085
13086 * gdb.base/completion.exp: Kill a stray backslash.
13087
13088 From Jim Ingham <jingham@apple.com>:
13089 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13090 agrees with the result from sending a tab.
13091
abbab9d3
DJ
130922004-01-31 Daniel Jacobowitz <drow@mvista.com>
13093
13094 * gdb.base/chng-syms.exp: Remove stray newline.
13095
53904d1e
MK
130962004-01-31 Mark Kettenis <kettenis@gnu.org>
13097
13098 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13099 *-*-openbsd*.
13100 * gdb.asm/openbsd.inc: New file.
13101
3a4b3aac
MK
131022004-01-30 Mark Kettenis <kettenis@gnu.org>
13103
13104 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13105 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13106 *-*solaris2*. Remove commented out default settings for
13107 asm-flags. Replace gdb_compile with target_link.
13108
ebac27b4
MC
131092004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13110
13111 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13112 for all tests. Remove old hp-ux and cygnus xfail cases.
13113
d8679d84
PH
131142004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13115
13116 * gdb.base/chng-syms.exp: New file.
13117 * gdb.base/chng-syms.c: New file.
13118
0a55bc22
MC
131192004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13120
13121 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13122 Provide arms for current output in all my configurations.
13123
94b8e876
MC
131242004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13125
13126 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13127 * lib/compiler.cc: Likewise.
13128 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13129 get the right preprocessor. Eval the output directly. Remove
13130 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13131 hp_f77_compiler and hp_f90_compiler completely.
13132 (gdb_preprocess): Delete.
13133 (get_compiler): Delete.
13134
7cf03d44
MK
131352004-01-24 Mark Kettenis <kettenis@gnu.org>
13136
13137 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13138 <string.h>.
13139
68b6dce9
NR
131402004-01-24 Nick Roberts <nick@nick.uklinux.net>
13141
13142 * gdb.mi/mi-stack.exp: Update copyright.
13143
b368761e
DC
131442004-01-23 David Carlton <carlton@kealia.com>
13145
13146 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13147 test for cp_lookup_transparent_type.
13148 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13149 call them.
13150
f2061b53
DJ
131512004-01-23 Daniel Jacobowitz <drow@mvista.com>
13152
13153 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13154 after -var-update.
13155
37fc574a
DC
131562004-01-23 David Carlton <carlton@kealia.com>
13157
13158 * gdb.cp/namespace.cc (C::ensureRefs): New.
13159 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13160
8e94b928
NR
131612004-01-20 Nick Roberts <nick@nick.uklinux.net>
13162
13163 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13164 case "-stack-list-locals 2".
13165 * gdb.mi/mi-var-child.exp: Test for case
13166 "-var-list-children --all-values NAME".
13167
997b0952
MC
131682004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13169
13170 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13171
52470da3
MK
131722004-01-18 Mark Kettenis <kettenis@gnu.org>
13173
7049b4b8
MK
13174 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13175 used with gdb_test_multiple.
13176
52470da3
MK
13177 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13178 read at address 0. This fixes PR testsuite/1504.
13179
da6012e5
DJ
131802004-01-18 Daniel Jacobowitz <drow@mvista.com>
13181
13182 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13183 Remove downloading, guessing the host executable, the calls to
13184 gdb_file_cmd and gdb_target_cmd, and "load" support.
13185 (infer_host_exec): New function broken out from gdb_load.
13186 (gdb_load): New wrapper for gdbserver_gdb_load.
13187 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13188 gdb_target_cmd. Use -target-select.
13189 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13190 Download binaries to the host. Clear last_mi_remote_file when
13191 we load a new binary.
13192 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13193 call gdbserver_gdb_load and mi_gdb_target_cmd.
13194
32c70722
MC
131952004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13196
13197 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13198 type patterns.
13199
b0cecf36
MC
132002004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13201
13202 * gdb.cp/templates.exp: Fix typo in test name of
13203 "print Foo<volatile char*>::foo".
13204
4120d7e6
MC
132052004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13206
13207 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13208
f679e530
BE
132092004-01-16 Ben Elliston <bje@wasabisystems.com>
13210
13211 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13212 (clean mostlyclean): Remove empty rm.
13213
091c48f6
MC
132142004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13215
13216 * gdb.base/setvar.exp: Add copyright years.
13217
3e5fc8d2
DC
132182004-01-14 David Carlton <carlton@bactrian.org>
13219
13220 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13221 PR c++/1511 and update coment.
13222 * gdb.cp/templates.exp: Update patterns to match current output.
13223 If changes involve something other than whitespace, KFAIL
13224 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13225
63d06c5c
DC
132262004-01-14 David Carlton <carlton@kealia.com>
13227
13228 * gdb.cp/namespace.exp: Add tests involving classes defined within
13229 namespaces.
13230 * gdb.cp/namespace.cc (C::CClass): New.
13231 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13232
a51dab88
EZ
132332004-01-14 Elena Zannoni <ezannoni@redhat.com>
13234
13235 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13236 what debug info we have. Print a better message if something goes
13237 wrong while producing the separate debug info file.
13238
a476ccc9
MC
132392004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13240
13241 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13242
f453692c
MC
132432004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13244
13245 * gdb.base/callfuncs.c: Add copyright notice.
13246
f40063a5
MC
132472004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13248
13249 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13250 inheritance. PR gdb/1498, PR gcc/13539.
13251
19ac3974
EZ
132522004-01-13 Elena Zannoni <ezannoni@redhat.com>
13253
a9c64011
AS
13254 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13255 test specific name.
13256 * gdb.mi/gdb669.exp: Ditto.
13257 * gdb.mi/mi-pthreads.exp: Ditto.
13258 * gdb.mi/mi1-pthreads.exp: Ditto.
13259 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 13260
56c97c6e
MC
132612004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13262
13263 * gdb.cp/member-ptr.cc: Add copyright notice.
13264
a0644324
MC
132652004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13266
13267 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13268 some patterns for recent versions of gcc and hpacc. Delete
13269 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13270 Delete tests that access a NULL pointer-to-member-data. This
13271 script is still disabled for gcc.
13272
32fabe09
EZ
132732004-01-12 Elena Zannoni <ezannoni@redhat.com>
13274
13275 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 13276 escaped correctly.
32fabe09 13277
1f8a6abb
EZ
132782004-01-12 Elena Zannoni <ezannoni@redhat.com>
13279
13280 * gdb.base/sepdebug.exp: New file.
13281 * gdb.base/sepdebug.c: New file.
13282 * lib/gdb.exp (separate_debug_filename): New procedure.
13283 (gdb_gnu_strip_debug): New procedure.
13284
48efe704
AC
132852004-01-12 Andrew Cagney <cagney@redhat.com>
13286
13287 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13288 * gdb.mi/ChangeLog-1999-2003: New file.
13289
a9415475
AC
132902004-01-12 Andrew Cagney <cagney@redhat.com>
13291
13292 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13293 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13294 or EEXIST", treat EBUSY as an XFAIL.
13295
83b8cf9d
MC
132962004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13297
13298 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13299 hp_cc_compiler.
13300
9939d2a8
MC
133012004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13302
13303 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13304 decorations.
13305
1ff8cadf
MC
133062004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13307
13308 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13309 and "(aCC)" decorations. Remove obsolete doco about old
13310 test results.
13311
6fa9022e
MC
133122004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13313
13314 * gdb.cp/exception.exp: Fix typo in doco.
13315
209721fe
MK
133162004-01-09 Mark Kettenis <kettenis@gnu.org>
13317
13318 * gdb.base/gdb1476.exp: Fix typo.
13319
ef11303e
MC
133202004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13321
13322 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13323 file.
13324
041ab88c
MC
133252004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13326
13327 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13328 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13329 Use gdb_compile. Remove restriction on gcc. Add some patterns
13330 for recent version of gdb. Delete second half, which was a copy
13331 of the first half with different build flags. This test is
13332 still disabled because it is still not ready for production.
13333
e36d075a
MC
133342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13335
13336 * gdb.cp/exception.cc: Add copyright notice.
13337 * gdb.cp/exception.exp: Add a notice that this file is broken
13338 because of line number changes caused by addition of copyright
13339 notice.
13340
42b190ad
MC
133412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13342
13343 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13344 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13345
8f25f06b
MC
133462004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13347
13348 * gdb.cp/classes.exp: Accept gnu abi 2.
13349 * gdb.cp/derivation.exp: Likewise.
13350 * gdb.cp/overload.exp: Likewise.
13351 * gdb.cp/virtfunc.exp: Likewise.
13352
06ded8b8
MC
133532004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13354
13355 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13356 semicolon after end of function.
13357
77c26ae3
MC
133582004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13359
13360 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13361 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13362 boilerplate code for compiling and running the program under
13363 test. Add some string method tests.
13364
20757486
MC
133652004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13366
13367 * gdb.cp/bs15503.cc: Add copyright notice.
13368 * gdb.cp/bs15503.exp: Adjust line number.
13369
0fd3b503
MC
133702004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13371
13372 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13373 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13374
10d1bea8
MC
133752004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13376
13377 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13378 hp_cc_compiler.
13379
2789202a
MC
133802004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13381
13382 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13383 * gdb.cp/ctti.exp: Use the marker instead of "next".
13384 With gcc, run further before bailing.
13385
b862f14c
MC
133862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13387
13388 * gdb.cp/cttiadd.cc: Add copyright notice.
13389 * gdb.cp/cttiadd1.cc: Likewise.
13390 * gdb.cp/cttiadd2.cc: Likewise.
13391 * gdb.cp/cttiadd3.cc: Likewise.
13392
96da2469
MC
133932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13394
13395 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13396 Use gdb_test, gdb_test_multiple. Use floating-point values that
13397 have exact representations in IEEE-ish formats.
13398
053248ff
MC
133992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13400
13401 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13402 compilers. Delete duplicate call to get_compiler_info.
13403 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13404 * gdb.base/volatile.exp: Likewise.
13405
84acecdd
MK
134062004-01-07 Mark Kettenis <kettenis@gnu.org>
13407
13408 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13409 memory at address 0.
13410
fe11a27f
MC
134112004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13412
13413 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13414 to test for hp-ux assembler. Fix copyright years.
13415
60ad077b
AC
134162004-01-07 Andrew Cagney <cagney@redhat.com>
13417
13418 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13419
1c9b8f33
AC
134202004-01-07 Andrew Cagney <cagney@redhat.com>
13421
13422 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13423 when creating the read-only file. From analysis by Roland McGrath
13424 and Elena Zannoni.
13425
753ccc7a
MC
134262004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13427
13428 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13429
eca3e36b
MC
134302004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13431
13432 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13433 data pointers.
13434
f8d4bac4
MC
134352004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13436
13437 * gdb.cp/m-static.exp: Compile one source file at a time.
13438 Delete unused call to get_compiler_info.
13439
9b4e0f94
MC
134402004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13441
13442 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13443 * gdb.base/call-rt-st.exp: Likewise.
13444 * gdb.base/nodebug.exp: Likewise.
13445 * gdb.base/volatile.exp: Likewise.
13446 * gdb.cp/ref-types.exp: Likewise.
13447 * gdb.cp/templates.exp: Likewise.
13448
023c1024
MK
134492004-01-05 Mark Kettenis <kettenis@gnu.org>
13450
13451 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13452
19703c4a
MC
134532004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13454
13455 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13456 hppa*-hp-hpux*.
13457
18b67037
MK
134582004-01-04 Mark Kettenis <kettenis@gnu.org>
13459
ba6219c8
MK
13460 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13461 x86_64-*-*.
13462
18b67037
MK
13463 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13464 sparc64-*-* and sparc*-solaris2*.
13465
1bfbbb9d
MK
134662004-01-04 Mark Kettenis <kettenis@gnu.org>
13467
13468 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13469 return ${tests}" test. The ${tests} already mentions the
13470 filename.
13471
06846494
MC
134722004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13473
13474 * gdb.cp/local.exp: Accept gcc abi 2.
13475
3b0cb202
MC
134762004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13477
13478 * gdb.cp/templates.exp: Accept gcc abi 2.
13479
0643ec3f
MC
134802004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13481
13482 * lib/compiler.cc: Remove supports_template_debugging.
13483 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13484
d231d0b1
MC
134852004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13486
13487 * gdb.cp/namespace.exp: Accept gcc abi 2.
13488
44ffb27c
MC
134892004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13490
13491 * gdb.cp/method.exp: Accept gcc abi 2.
13492
184ad485
MC
134932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13494
13495 * gdb.cp/classes.exp: Generate identical results as old version.
13496 * gdb.cp/derivation.exp: Likewise.
13497 * gdb.cp/overload.exp: Likewise.
13498 * gdb.cp/virtfunc.exp: Likewise.
13499
116f09e7
MC
135002004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13501
13502 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13503 mysterious bug with sourceware version of expect.
13504
b1379776
MC
135052004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13506
13507 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13508 current versions of gcc, including gcc abi 2. Remove gratuitous
13509 restart of test program. Use gdb_test_multiple and gdb_test for
13510 all tests. Add patterns to xfail missing "const" in "const char *"
13511 and kfail PR gdb/1155.
13512
6b7a4c0e
MC
135132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13514
13515 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13516 current versions of gcc, including gcc abi 2. Remove gratuitous
13517 restart of test program. Use gdb_test_multiple and gdb_test for
13518 all tests. Add patterns to kfail PR gdb/1498.
13519
51615d72
MC
135202003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13521
13522 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13523 current versions of gcc, including gcc abi 2. Use "breakpoint"
13524 and "continue" instead of restarting the target program. Use
13525 gdb_test_multiple and gdb_test for all tests.
13526
7b79a9d7
MK
135272004-01-01 Mark Kettenis <kettenis@gnu.org>
13528
13529 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13530 for *-*-solaris2*.
13531
1cd3489f
MC
135322003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13533
13534 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13535 current versions of gcc, including gcc abi 2. Use "breakpoint"
13536 and "continue" instead of restarting the target program several
13537 times. Use gdb_test_multiple and gdb_test for all tests.
13538
850742db
MC
135392003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13540
13541 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13542 source files.
13543
eb4bbda8
MC
135442003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13545
13546 * gdb.base/environ.exp: Handle compiling test case from multiple
13547 source files.
13548
e42c7771
MC
135492003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13550
13551 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13552
80e4b428
JB
135532003-12-17 Jim Blandy <jimb@redhat.com>
13554
5f06973a
JB
13555 * gdb.base/freebpcmd.c: Add copyright notice.
13556
80e4b428
JB
13557 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13558
0ab84fb7
MC
135592003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13560
13561 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13562
1b3bb3d0
JB
135632003-12-13 Jim Blandy <jimb@redhat.com>
13564
13565 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13566
3a4c9371
KB
135672003-12-12 Kevin Buettner <kevinb@redhat.com>
13568
13569 * gdb.asm/frv.inc: New file.
13570 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13571
a1dea79a
FF
135722003-12-09 Fred Fish <fnf@redhat.com>
13573
13574 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13575 functions to break1.c and leave prototypes behind. Add more
13576 "set breakpoint NN here" comments.
13577 * gdb.base/break1.c: New file.
13578
13579 * gdb.base/break.exp: Handle compiling test case from multiple
13580 source files and change source file references as needed.
13581 * gdb.base/completion.exp: Ditto.
13582 * gdb.base/condbreak.exp: Ditto.
13583 * gdb.base/define.exp: Ditto.
13584 * gdb.base/ena-dis-br.exp: Ditto.
13585 * gdb.base/info-proc.exp: Ditto.
13586 * gdb.base/maint.exp: Ditto.
13587 * gdb.base/until.exp: Ditto.
13588
13589 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13590 hardcoded line numbers.
13591 * gdb.base/define.exp: Ditto.
13592 * gdb.base/ena-dis-br.exp: Ditto.
13593 * gdb.base/maint.exp: Ditto.
13594 * gdb.base/until.exp: Ditto.
13595
13596 * gdb.base/completion.exp: Use "break1" for completion tests since
13597 "break" is no longer a unique prefix.
13598
5266b69c
AC
135992003-12-06 Andrew Cagney <cagney@redhat.com>
13600
13601 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13602 "return_value_unimplemented". When an unimplemented struct return
13603 architecture, report incorrect values as a KFAIL
13604
374451f0
MC
136052003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13606
13607 * gdb.cp/rtti.exp: Accept new wording of warning from
13608 cp_lookup_rtti_type.
13609
ba9b20a7
MC
136102003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13611
13612 Partial fix for PR testsuite/1456.
13613 * gdb.base/scope.exp (test_at_main): Replace references to
13614 gcc_compiled with calls to test_compiler_info.
13615 (test_at_foo): Likewise.
13616 (test_at_bar): Likewise.
13617
b74b6d0b
MC
136182003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13619
13620 Partial fix for PR testsuite/1456.
13621 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13622 to test_compiler_info.
13623
ccfa3402
MC
136242003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13625
13626 * gdb.base/so-impl-ld.exp: Update copyright notice.
13627
f6246aba
MC
136282003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13629
13630 Partial fix for PR testsuite/1456.
13631 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13632 to test_compiler_info.
13633
13ae734a
MC
136342003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13635
13636 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13637 from current versions of gdb. Clean up regular expressions.
13638 Delete redundant timeout case.
13639
d8e1cdee
MC
136402003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13641
13642 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13643 from current versions of gdb. Clean up regular expressions.
13644 Delete redundant timeout case.
13645
96457b64
MC
136462003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13647
13648 Partial fix for PR testsuite/1456.
13649 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13650 gcc_compiled with call to test_compiler_info.
13651
f35309fc
MC
136522003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13653
13654 Partial fix for PR testsuite/1456.
13655 * gdb.base/list.exp (test_list_function): Delete unused declaration
13656 of gcc_compiled.
13657
d7afdf9b
MC
136582003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13659
13660 Partial fix for PR testsuite/1456.
13661 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13662 call to test_compiler_info.
13663
71507b56
MK
136642003-11-29 Mark Kettenis <kettenis@gnu.org>
13665
13666 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13667 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13668 it to create the appropriate note.inc.
13669 * gdb.asm/asmsrc1.s: Include "note.inc".
13670 * gdb.asm/netbsd.inc: New file.
13671 * gdb.asm/empty.inc: New file.
13672
f81f93f7
MC
136732003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13674
13675 Partial fix for PR testsuite/1456.
13676 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13677 calls to test_compiler_info.
13678
9a77938e
MC
136792003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13680
13681 Partial fix for PR testsuite/1456.
13682 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13683 calls to test_compiler_info.
13684
e8367dc7
MK
136852003-11-27 Mark Kettenis <kettenis@gnu.org>
13686
13687 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13688 pattern for the KFAILs.
13689
526c61ee
AF
136902003-11-25 Adam Fedor <fedor@gnu.org>
13691
13692 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13693 * gdb.objc/objcdecode.m: New file.
13694
28f2d600
AF
136952003-11-25 Adam Fedor <fedor@gnu.org>
13696
13697 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13698 * gdb.objc/nondebug.m: New file.
13699
a3895cee
BE
137002003-11-26 Ben Elliston <bje@wasabisystems.com>
13701
13702 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13703 NetBSD as it does on FreeBSD. Modelled on a similar change by
13704 Mark Kettenis on 2003-05-30.
13705 (link-flags): Set to "--entry _start" regardless of target.
13706 Special linker flags are to be appended to $link-flags.
13707 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13708
c9f2c8a3
MC
137092003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13710
13711 * gdb.cp/method.exp: Accept output of new demangler.
13712
15a0587a 137132003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
13714
13715 * gdb/class2.exp: New file.
13716 * gdb/class2.cc: New file.
13717
3c00b570
MC
137182003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13719
13720 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13721 of new demangler.
13722
7027acc7
MK
137232003-11-23 Mark Kettenis <kettenis@gnu.org>
13724
13725 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13726 of gdb_test "run".
13727
b0e1598a
MK
137282003-11-23 Mark Kettenis <kettenis@gnu.org>
13729
13730 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13731 "continue" into "run".
13732
4d9eda44
MC
137332003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13734
13735 Partial fix for PR testsuite/1456.
13736 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13737 call to test_compiler_info.
13738 * gdb.cp/ctti.exp: Likewise.
13739 * gdb.cp/derivation.exp: Likewise.
13740 * gdb.cp/member-ptr.exp: Likewise.
13741 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13742 reference to gcc_compiled.
13743
137442003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
13745
13746 Fix PR testsuite/1463.
13747 * gdb.base/structs.exp (start_structs_test): Call
13748 get_debug_format before using the debug format.
13749
d422fe19
AC
137502003-11-22 Andrew Cagney <cagney@redhat.com>
13751
13752 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13753 * gdb.base/structs.exp: Use gdb_test_multiple.
13754
039cf96d
AC
137552003-11-20 Andrew Cagney <cagney@redhat.com>
13756
6882279b
AC
13757 * gdb.base/structs.exp: Handle and recover from internal errors.
13758 Replace "foo${n}" with "foo<n>" in test messages.
13759
e53890ae
AC
13760 * gdb.base/structs.exp: Update copyright. Rewrite.
13761 * gdb.base/structs.c: Update copyright. Rewrite.
13762
2b211c59
AC
13763 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13764 resync count exceeded.
d63a86f8 13765
039cf96d
AC
13766 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13767 from the internal error.
13768 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13769 Original from Jim Blandy.
13770 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 13771
eac98b22
AC
137722003-11-19 Andrew Cagney <cagney@redhat.com>
13773
13774 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13775 KFAIL.
13776
67455b2a
MK
137772003-11-17 Mark Kettenis <kettenis@gnu.org>
13778
13779 New testcase for PR backtrace/1435.
13780 * gdb.arch/i386-unwind.exp: New file.
13781 * gdb.arch/i386-unwind.c: New file.
13782
853d6e5b
AC
137832003-11-17 Andrew Cagney <cagney@redhat.com>
13784
13785 * lib/gdb.exp (compiler_info): New global.
13786 (test_compiler_info): New function.
13787 (get_compiler_info): Set compiler_info.
13788 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13789 "compiler_info" to gcc-<major>-<minor>.
13790
38cf6e11
MC
137912003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13792
13793 * gdb.trace/configure: Remove.
13794
a50d3602
EZ
137952003-11-13 Elena Zannoni <ezannoni@redhat.com>
13796
13797 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 13798 breakpoints.
a50d3602
EZ
13799 * gdb.base/break.exp: Remove all references to explicit line
13800 numbers.
13801
d9407aaa
NC
138022003-11-11 Nick Clifton <nickc@redhat.com>
13803
13804 * gdb.base/shreloc.exp: Do not run for targets which do not
13805 support shared objects.
13806
db488fc1
CV
138072003-11-10 Corinna Vinschen <vinschen@redhat.com>
13808
13809 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13810 Don't run tests if nofileio flag is given.
13811
6a90a18e
EZ
138122003-11-07 Elena Zannoni <ezannoni@redhat.com>
13813
13814 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 13815 as well as 'Watchpoint'.
6a90a18e 13816
0b915e9c
EZ
138172003-11-06 Elena Zannoni <ezannoni@redhat.com>
13818
13819 Reported by Jim Ingham <jingham@apple.com>:
13820 * gdb.base/annota1.exp: Match at least one occurrence of the
13821 signal handler annotation.
13822
d7e4b55f
EZ
138232003-11-06 Elena Zannoni <ezannoni@redhat.com>
13824
a9c64011
AS
13825 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13826 as well as 'Watchpoint'.
d7e4b55f 13827
2fe4e8d0
MC
138282003-11-05 Michael Chastain <mec@shout.net>
13829
13830 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13831
6ef88553
KW
138322003-11-03 Kris Warkentin <kewarken@qnx.com>
13833
13834 * gdb.arch/gdb1291.c: New test file.
13835 * gdb.arch/gdb1291.exp: New test script.
13836 * gdb.arch/gdb1431.c: New test file.
13837 * gdb.arch/gdb1431.exp: New test script.
13838
ae7dc4d8
MC
138392003-10-22 Michael Chastain <mec@shout.net>
13840
13841 * gdb.mi/pthreads.c: Add copyright notice.
13842
c39d7427
MC
138432003-10-22 Michael Chastain <mec@shout.net>
13844
13845 * gdb.threads/pthreads.c: Add copyright notice.
13846
8b7d96c1
MC
138472003-10-20 Michael Chastain <mec@shout.net>
13848
13849 * gdb.base/gdb1056.exp: New test script.
13850
d1d69fdd
DJ
138512003-10-13 Daniel Jacobowitz <drow@mvista.com>
13852
13853 * gdb.threads/killed.exp: Use gdb_run_cmd.
13854
7d605576
DJ
138552003-10-13 Daniel Jacobowitz <drow@mvista.com>
13856
13857 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13858 create a core file.
13859 * gdb.threads/gcore-thread.exp: Likewise.
13860
618ec112
CV
138612003-10-13 Corinna Vinschen <vinschen@redhat.com>
13862
13863 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13864 type, based on char type.
13865 (struct bit_flags_short_t): New bitfield type, based on short type.
13866 (init_bit_flags_char): New fuction.
13867 (init_bit_flags_short): Ditto.
13868 (print_bit_flags_char): Ditto.
13869 (print_bit_flags_short): Ditto.
13870 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13871
9367a73c
MC
138722003-10-11 Michael Chastain <mec@shout.net>
13873
13874 * gdb.base/call-rt-st.exp: Update copyright year.
13875
1decf120
KI
138762003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13877
13878 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13879 * gdb.disasm/sh3.s: Ditto.
13880
5445b2ae
DJ
138812003-10-07 Daniel Jacobowitz <drow@mvista.com>
13882
13883 * gdb.threads/switch-threads.exp: New test.
13884 * gdb.threads/switch-threads.c: New source file.
13885
aec24853
CV
138862003-10-07 Corinna Vinschen <vinschen@redhat.com>
13887
13888 * gdb.base/ending-run.exp: Add sh specific case.
13889
adc7428d
AC
138902003-10-06 Andrew Cagney <cagney@redhat.com>
13891
13892 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13893 * gdb.disasm/mn10200.exp: Delete obsolete file.
13894
c9d37158
DJ
138952003-09-29 Daniel Jacobowitz <drow@mvista.com>
13896
13897 * ChangeLog: Correct an entry command.exp -> commands.exp.
13898 * gdb.base/commands.exp (bp_deleted_in_command_test)
13899 (temporary_breakpoint_commands): Check noargs.
13900
79c2c32d
DC
139012003-09-25 David Carlton <carlton@kealia.com>
13902
13903 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13904 of some print tests, where appropriate. Add tests for C::D::cd,
13905 E::ce, F::cXfX, G::XgX.
13906 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13907
594e6d67
RE
139082003-09-25 Richard Earnshaw <rearnsha@arm.com>
13909
13910 * lib/java.exp (java_init): Import target_alias before using it.
13911
10f0d451
DC
139122003-09-25 David Carlton <carlton@kealia.com>
13913
13914 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13915
274bcba0
EZ
139162003-09-23 Elena Zannoni <ezannoni@redhat.com>
13917
d63a86f8 13918 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 13919 weirdness.
274bcba0 13920
cdbf20f7
MC
139212003-09-17 Michael Chastain <mec@shout.net>
13922
13923 * gdb.cp/gdb1355.exp: New file.
13924 * gdb.cp/gdb1355.c: New file.
13925
71e06f80
CV
139262003-09-15 Corinna Vinschen <vinschen@redhat.com>
13927
13928 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13929 * gdb.asm/sh.inc: New file.
13930
5c4e30ca
DC
139312003-09-11 David Carlton <carlton@kealia.com>
13932
bd45b7af
DC
13933 * gdb.cp/namespace.exp: Add tests for namespace types.
13934 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
13935 (test_namespace): New.
13936
1c199746
EZ
139372003-09-11 Elena Zannoni <ezannoni@redhat.com>
13938
a9c64011 13939 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 13940 * gdb.stabs/weird.exp: Ditto.
1c199746 13941
04ed252f
MC
139422003-09-08 Michael Chastain <mec@shout.net>
13943
13944 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13945
d8a2d9e7
MC
139462003-09-07 Michael Chastain <mec@shout.net>
13947
13948 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13949 'parse error'.
13950
161afb24
MK
139512003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13952
13953 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13954
49f2741a
MC
139552003-08-30 Michael Chastain <mec@shout.net>
13956
13957 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13958 * gdb.gdb/observer.exp: Ditto.
13959 * gdb.gdb/xfullpath.exp: Ditto.
13960
8afa723e
MK
139612003-08-29 Mark Kettenis <kettenis@gnu.org>
13962
13963 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13964 *-*-*bsd*.
13965
f31dfe3b
JJ
139662003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13967
13968 * gdb.base/dump.exp: Skip for ia64.
13969
4630e498
JJ
139702003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13971
13972 * gdb.asm/asm-source.exp: Add ia64 support.
13973 * gdb.asm/ia64.inc: New file.
13974
1105b7ef
MC
139752003-08-22 Michael Chastain <mec@shout.net>
13976
13977 * gdb.cp: New directory.
13978 * gdb.cp/*: Copy from gdb.c++/*.
13979 * gdb.c++/*: Remove.
13980 * Makefile.in: Change gdb.c++ to gdb.cp.
13981 * configure.in: Ditto.
13982 * configure: Regnerate.
13983
c945b932
MK
139842003-08-18 Mark Kettenis <kettenis@gnu.org>
13985
13986 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13987 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13988
2b66634b
DJ
139892003-08-17 Daniel Jacobowitz <drow@mvista.com>
13990
13991 * mi-var-display.exp (-var-list-children weird): Accept function
13992 pointers with argument types.
13993 * mi1-var-display.exp (-var-list-children weird): Likewise.
13994 * mi2-var-display.exp (-var-list-children weird): Likewise.
13995
a356f73b
DJ
139962003-08-17 Daniel Jacobowitz <drow@mvista.com>
13997
13998 * gdb.base/annota3.exp: Add missing newline.
13999
483417b8
MC
140002003-08-06 Michael Chastain <mec@shout.net>
14001
14002 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14003
c99c59c3
MS
140042003-08-12 Michael Snyder <msnyder@redhat.com>
14005
14006 * gdb.base/float.exp: Add test for SH.
14007
55ed7501
MK
140082003-08-10 Mark Kettenis <kettenis@gnu.org>
14009
14010 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14011
1a371f2e
EZ
140122003-08-07 Elena Zannoni <ezannoni@redhat.com>
14013
14014 * gdb.base/completion.exp: Remove reduntant completion test
14015 on filename.
14016
e0f353ce
EZ
140172003-08-07 Elena Zannoni <ezannoni@redhat.com>
14018
a9c64011
AS
14019 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14020 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14021 gdb.trace/save-trace.exp: Make sure that full pathnames are
14022 escaped correctly.
e0f353ce 14023
5710a1af 140242003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 14025
a9c64011
AS
14026 * configure.in: Don't generate config.h from config.hin.
14027 * configure: Regenerate.
14028 * config.hin: Remove file.
14029 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14030 * gdb.threads/pthreads.c: Ditto.
5710a1af 14031
dcd81ce9
DJ
140322003-08-07 Daniel Jacobowitz <drow@mvista.com>
14033
14034 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14035 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14036 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14037 Replace ld24 with seth/add3.
14038
6009d884
AC
140392003-08-02 Andrew Cagney <cagney@redhat.com>
14040
14041 * gdb.base/annota3.exp: New file.
14042 * gdb.base/annota3.c: New file.
14043 * gdb.c++/annota3.exp: New file.
14044 * gdb.c++/annota3.cc: New file.
14045
51514e06
MC
140462003-07-29 Michael Chastain <mec@shout.net>
14047
14048 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14049 actually failed.
14050 (do_pass): Likewise.
14051 * gdb.threads/tls.exp: Always initialize no_of_threads.
14052
4ee6625b
DJ
140532003-07-27 Daniel Jacobowitz <drow@mvista.com>
14054
14055 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14056 pattern.
14057 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14058 * gdb.threads/tls.exp: Recognize one case of the host library not
14059 supporting TLS.
14060
225f2bf6
AC
140612003-07-27 Andrew Cagney <cagney@redhat.com>
14062
14063 * gdb.base/fileio.exp: Use SH when running commands using
14064 remote_exec.
14065
bcb27c9f
DJ
140662003-07-24 Daniel Jacobowitz <drow@mvista.com>
14067
14068 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14069 * gdb.base/relocate.c (dummy): New padding array.
14070
3d67be83
MS
140712003-07-22 Michael Snyder <msnyder@redhat.com>
14072
d63a86f8 14073 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
14074
14075 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14076 patterns to be more general, accepting old and new output.
14077 Some output chars (such as '+') also must be quoted.
d63a86f8 14078 Some addresses are displayed numerically instead of
3d67be83
MS
14079 symbolically.
14080
57ba3b85
MS
140812003-07-23 Michael Snyder <msnyder@redhat.com>
14082
686d097c
MS
14083 * gdb.base/return2.exp: Don't test long-long return.
14084
57ba3b85
MS
14085 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14086 * gdb.disasm/t01_mov.exp: Ditto.
14087 * gdb.disasm/t02_mova.s: Ditto.
14088 * gdb.disasm/t02_mova.exp: Ditto.
14089 * gdb.disasm/t03_add.s: Ditto.
14090 * gdb.disasm/t03_add.exp: Ditto.
14091 * gdb.disasm/t04_sub.s: Ditto.
14092 * gdb.disasm/t04_sub.exp: Ditto.
14093 * gdb.disasm/t05_cmp.s: Ditto.
14094 * gdb.disasm/t05_cmp.exp: Ditto.
14095 * gdb.disasm/t06_ari2.s: Ditto.
14096 * gdb.disasm/t06_ari2.exp: Ditto.
14097 * gdb.disasm/t07_ari3.s: Ditto.
14098 * gdb.disasm/t07_ari3.exp: Ditto.
14099 * gdb.disasm/t08_or.s: Ditto.
14100 * gdb.disasm/t08_or.exp: Ditto.
14101 * gdb.disasm/t09_xor.s: Ditto.
14102 * gdb.disasm/t09_xor.exp: Ditto.
14103 * gdb.disasm/t10_and.s: Ditto.
14104 * gdb.disasm/t10_and.exp: Ditto.
14105 * gdb.disasm/t11_logs.s: Ditto.
14106 * gdb.disasm/t11_logs.exp: Ditto.
14107 * gdb.disasm/t12_bit.s: Ditto.
14108 * gdb.disasm/t12_bit.exp: Ditto.
14109 * gdb.disasm/t13_otr.s: Ditto.
14110 * gdb.disasm/t13_otr.exp: Ditto.
14111
e00759ef
EZ
141122003-07-22 Elena Zannoni <ezannoni@redhat.com>
14113
14114 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14115
8bc2021f
EZ
141162003-07-22 Elena Zannoni <ezannoni@redhat.com>
14117
a9c64011
AS
14118 * gdb.threads/tls.c : New file.
14119 * gdb.threads/tls.exp : New file.
14120 * gdb.threads/tls-main.c : New file.
14121 * gdb.threads/tls-shared.c : New file.
14122 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14123
89320c4c
AS
141242003-07-22 Andreas Schwab <schwab@suse.de>
14125
14126 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14127
180dea7c
AS
141282003-07-20 Andreas Schwab <schwab@suse.de>
14129
14130 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14131 due to insn reordering.
14132
0714963c
AC
141332003-07-15 Andrew Cagney <cagney@redhat.com>
14134
14135 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14136
98a23b3f
MC
141372003-07-15 Michael Chastain <mec@shout.net>
14138
14139 * gdb.base/gdb1250.exp: New file.
14140 * gdb.base/gdb1250.c: New file.
14141
27e417a2
ML
141422003-07-09 Michal Ludvig <mludvig@suse.cz>
14143
14144 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14145 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14146
8bc2021f
EZ
141472003-07-09 Elena Zannoni <ezannoni@redhat.com>
14148
a9c64011
AS
14149 * gdb.threads/tls.c: New file.
14150 * gdb.threads/tls.exp: New file.
14151 * gdb.threads/tls-main.c: New file.
14152 * gdb.threads/tls-shared.c: New file.
14153 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14154
d99968dc
EZ
141552003-07-09 Elena Zannoni <ezannoni@redhat.com>
14156
14157 * gdb.base/annota1.exp: Make sure that we properly escape the
14158 full path of the source file. Xfail more permissive patterns,
d63a86f8 14159 due to a compiler debug info problem.
d99968dc 14160
83876b3b
AS
141612003-07-07 Andreas Schwab <schwab@suse.de>
14162
2705e972
AS
14163 * gdb.asm/m68k.inc: New file.
14164 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14165
83876b3b
AS
14166 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14167 arguments"): Also match negative number.
14168
14169 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14170
3a871b37
DJ
141712003-07-03 Daniel Jacobowitz <drow@mvista.com>
14172
14173 * gdb.base/store.c (charest): New typedef.
14174 (add_char): Rename to add_charest, update.
14175 (wack_char): Rename to wack_charest, update types. Return l + r
14176 to keep r live across the call.
14177 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14178 (wack_double, wack_doublest): Return l + r to keep r live across
14179 the call.
14180 * gdb.base/store.exp: Accomodate store.c changes.
14181
b2a7f303
DC
141822003-06-30 David Carlton <carlton@kealia.com>
14183
14184 * gdb.c++/maint.exp (test_invalid_name): New.
14185 (test_first_component): Add tests for invalid names.
14186
3c6cb4a1
MC
141872003-06-29 Michael Chastain <mec@shout.net>
14188
14189 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14190 output of '<VTT for class>' for virtual base classes.
14191
f1c2644b
DJ
141922003-06-29 Daniel Jacobowitz <drow@mvista.com>
14193
14194 * gdb.base/completion.exp: Tab-complete "complet" instead of
14195 "compl".
14196 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14197
18080350
DJ
141982003-06-29 Daniel Jacobowitz <drow@mvista.com>
14199
14200 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14201 * gdb.base/volatile.exp: Likewise.
14202
f56973f8
DJ
142032003-06-29 Daniel Jacobowitz <drow@mvista.com>
14204
14205 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14206 gdb/1265.
14207
142082003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
14209 Daniel Jacobowitz <drow@mvista.com>
14210
14211 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14212 initial line count of 'captured_main' from 26 to 32.
14213 (test_with_self): Allow xmalloc call to be interleaved with the
14214 preceding two lines.
14215
e766d4d6
JB
142162003-06-24 Joel Brobecker <brobecker@gnat.com>
14217
14218 * gdb.base/bang.exp: New testcase.
14219
f125c9a4
JB
142202003-06-23 Joel Brobecker <brobecker@gnat.com>
14221
14222 * gdb.base/langs.exp: Add some tests for the "minimal" language
14223 support.
14224
6e25beaf
EZ
142252003-06-23 Elena Zannoni <ezannoni@redhat.com>
14226
14227 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14228 the testcase.
14229
2f816dda
DJ
142302003-06-22 Daniel Jacobowitz <drow@mvista.com>
14231
14232 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14233 offset.
14234
db5a5748
DJ
142352003-06-22 Daniel Jacobowitz <drow@mvista.com>
14236
14237 * gdb.c++/pr-1210.cc: New file.
14238 * gdb.c++/pr-1210.exp: New file.
14239
1df0c130
DJ
142402003-06-21 Daniel Jacobowitz <drow@mvista.com>
14241
14242 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14243 000-exec-continue.
14244
a92feac0
MK
142452003-06-15 Mark Kettenis <kettenis@gnu.org>
14246
14247 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14248 on *-*-*bsd* instead of *-*-freebsd*.
14249
81a58f5b
AC
142502003-06-14 Andrew Cagney <cagney@redhat.com>
14251
14252 * gdb.base/store.exp: Test longest and doublest. Test all
14253 parameters. Weaken return statement match.
14254 * gdb.base/store.c: Add longest and doublest - aka long long and
14255 long double functions. Put all parameters into local register
14256 variables. Use negative values.
14257
b257a0d3
AC
142582003-06-14 Andrew Cagney <cagney@redhat.com>
14259
14260 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14261 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14262 exit status.
14263 * gdb.base/fileio.exp: Disable target when nointerrupts and
14264 noinferiorio, instead of limiting it to remote. Use remote_exec
14265 instead of system.
d63a86f8 14266
21c38304
JJ
142672003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14268
14269 * gdb.base/float.exp: Add ia64 support.
14270
1bcdb424
CV
142712003-06-12 Corinna Vinschen <vinschen@redhat.com>
14272
14273 * gdb.base/fileio.exp: Run only on remote targets.
14274
6aeb981f
CV
142752003-06-10 Corinna Vinschen <vinschen@redhat.com>
14276
14277 * gdb.base/fileio.c: New file, testing File-I/O.
14278 * gdb.base/fileio.exp: Ditto.
14279
53df362e
RG
142802003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14281
14282 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14283 shared objects after relocation at load time (gdb PR/1132).
14284 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 14285 as above, part of the shared object relocation test.
53df362e 14286
ffee1b46
MK
142872003-06-08 Mark Kettenis <kettenis@gnu.org>
14288
b5ca3722
MK
14289 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14290 fully filled history list.
14291 * gdb.base/gdb_history: New file.
14292
03ed860d
MK
14293 * gdb.base/signals.exp: XFAIL "continue to func1" on
14294 i*86-*-freebsd*.
14295
ffee1b46
MK
14296 * gdb.base/attach.exp: When trying to attach to a nonexistent
14297 process, make it possible to specify the PID based on the target,
14298 and do so for *-*-freebsd*.
14299
d80dbb52
RH
143002003-06-02 Richard Henderson <rth@redhat.com>
14301
14302 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14303
6dd77b81
RH
143042003-06-02 Richard Henderson <rth@redhat.com>
14305
14306 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14307
f6347e16
RH
143082003-06-02 Richard Henderson <rth@redhat.com>
14309
14310 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14311
2c161407
DJ
143122003-06-01 Daniel Jacobowitz <drow@mvista.com>
14313
14314 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14315 of globalvar.
14316
572eb746
MK
143172003-06-01 Mark Kettenis <kettenis@gnu.org>
14318
14319 * gdb.asm/asm-source.exp: Check for memory read errors in
14320 disassembler test on *BSD too.
14321
9e9617a5
RH
143222003-06-01 Richard Henderson <rth@redhat.com>
14323
14324 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14325 for .frame.
14326 (gdbasm_call): Lose ldgp.
14327 (gdbasm_startup): Add frame information.
14328 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14329
7b34ad4e
MK
143302003-05-31 Mark Kettenis <kettenis@gnu.org>
14331
14332 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14333 i?86-*-*.
14334
10059fdf
MK
143352003-05-30 Mark Kettenis <kettenis@gnu.org>
14336
14337 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14338 FreeBSD.
14339
acf4b816
RH
143402003-05-29 Richard Henderson <rth@redhat.com>
14341
14342 * gdb.asm/alpha.inc: New file.
14343 * gdb.asm/asm-source.exp: Use it.
14344
e9ecd949
JB
143452003-05-29 Jim Blandy <jimb@redhat.com>
14346
14347 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14348 'core.PID'.
14349
e3e5a4f3
JB
143502003-05-22 Jim Blandy <jimb@redhat.com>
14351
14352 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14353 backtrace.
d63a86f8 14354
72fe3d25
DC
143552003-05-20 David Carlton <carlton@math.stanford.edu>
14356
14357 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14358 this time.
14359
58da2eb2
DC
143602003-05-19 David Carlton <carlton@bactrian.org>
14361
14362 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14363 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14364
1fcb5155
DC
143652003-05-19 David Carlton <carlton@bactrian.org>
14366
14367 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14368 namespace tests.
14369 Bump copyright date.
14370 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14371 (main): Call C::D::marker2.
14372 * gdb.c++/namespace1.cc: New file.
14373
85e85163
JJ
143742003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14375
14376 Roland McGrath <roland@redhat.com>
d63a86f8 14377 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
14378 there is no manager thread.
14379
a25fbfec
JJ
143802003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14381
d63a86f8
RM
14382 * gdb.threads/schedlock.exp: Remove assumption that all threads
14383 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
14384 in one of the child threads rather than the main thread.
14385
be375bae
JB
143862003-05-07 Jim Blandy <jimb@redhat.com>
14387
09bf6082
JB
14388 Add support for assembly source testing on the s390x.
14389 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14390 architecture.
14391 * gdb.asm/s390x.inc: New file.
14392
be375bae
JB
14393 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14394 succession of 'if' statements.
14395
00905d52
AC
143962003-05-05 Andrew Cagney <cagney@redhat.com>
14397
14398 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14399
b1e29e33
AC
144002003-05-05 Andrew Cagney <cagney@redhat.com>
14401
14402 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14403 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14404
e33d66ec
EZ
144052003-05-02 Elena Zannoni <ezannoni@redhat.com>
14406
14407 * gdb.base/charset.exp: Update based on new behavior of set/show
14408 charset commands.
14409
2b6fd0d8
AC
144102003-05-01 Andrew Cagney <cagney@redhat.com>
14411
14412 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14413 variable do not give memory errors.
14414
130cacce
AF
144152003-04-30 Adam Fedor <fedor@gnu.org>
14416
14417 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14418 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14419 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14420 gdb.objc/basicclass.m: : New files
14421
14422 * lib/gdb.exp (gdb_compile_objc): New procedure.
14423
bea71854
DJ
144242003-04-27 Daniel Jacobowitz <drow@mvista.com>
14425
14426 * gdb.base/signals.exp: Make backtrace tests more specific.
14427
0f20eeea
DC
144282003-04-23 David Carlton <carlton@bactrian.org>
14429
14430 * gdb.c++/maint.exp (test_first_component): Add tests for
14431 'operator' in more locations.
14432
c8c4d8dc
KB
144332003-04-16 Kevin Buettner <kevinb@redhat.com>
14434
14435 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14436
3fe60e3c
EZ
144372003-04-16 Elena Zannoni <ezannoni@redhat.com>
14438
14439 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 14440 func marke' instead. Update test name.
3fe60e3c 14441
9219021c
DC
144422003-04-15 David Carlton <carlton@math.stanford.edu>
14443
14444 * gdb.c++/maint.exp: New file.
14445
5dd55bdd
EZ
144462003-04-14 Elena Zannoni <ezannoni@redhat.com>
14447
14448 * gdb.threads/schedlock.c: Change type of thread function argument
14449 to long, to avoid warnings on 64-bit platforms.
14450
00890572
EZ
144512003-04-14 Elena Zannoni <ezannoni@redhat.com>
14452
a9c64011
AS
14453 * gdb.base/attach.exp: Add new message from ptrace in case of
14454 attaching to nonexistent process.
d63a86f8 14455
93201743
JB
144562003-04-11 Jim Blandy <jimb@redhat.com>
14457
14458 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14459 gdb.c++/userdef.cc: Place comments on the lines to which the
14460 marker function might return.
14461 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14462 gdb.c++/userdef.exp: Look for those comments to check that we've
14463 returned to the right place, instead of checking line numbers.
14464
2a11c64d
EZ
144652003-04-11 Elena Zannoni <ezannoni@redhat.com>
14466
a9c64011
AS
14467 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14468 match on sourcefile name, instead of directory name.
2a11c64d 14469
68ab8fc5
EZ
144702003-04-10 Elena Zannoni <ezannoni@redhat.com>
14471
d63a86f8 14472 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
14473 working directory name.
14474
5624293a
JB
144752003-04-09 Jim Blandy <jimb@redhat.com>
14476
14477 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14478 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14479 after an inferior function call, report the failure, but allow the
14480 test to continue.
14481
f1f02ee4
SC
144822003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14483
14484 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14485 with -DPROTOTYPES.
14486
6eb79af0
SC
144872003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14488
14489 * gdb.base/break.exp: Revert last patch.
14490
8dfb4cf0
SC
144912003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14492
14493 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14494 with -DPROTOTYPES.
14495
ed4c619a
AC
144962003-04-02 Andrew Cagney <cagney@redhat.com>
14497
14498 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14499 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14500 matching directories by the name breakpoint.
14501 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14502 Make "continue to marker1" consistent.
14503 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14504 message consistent.
14505 * lib/gdb.exp: Put "the program is no longer running", and "the
14506 program exited" in parenthesis.
14507 * lib/mi-support.exp: Ditto.
d63a86f8 14508
4e35d5f0 145092003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 14510
4e35d5f0
BR
14511 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14512
71900fe8
AC
145132003-03-29 Andrew Cagney <cagney@redhat.com>
14514
14515 * gdb.base/sizeof.c (main): Print the value of '\377'.
14516 * gdb.base/sizeof.exp: Check the sign of '\377'.
14517
c0655a16
MC
145182003-03-27 Michael Chastain <mec@shout.net>
14519
14520 * gdb.base/gdb1090.exp: New file.
14521 * gdb.base/gdb1090.cc: New file.
14522
5b2a3989
JB
145232003-03-27 J. Brobecker <brobecker@gnat.com>
14524
14525 * gdb.gdb/observer.exp: New regression test.
14526
79876890
MC
145272003-03-27 Michael Chastain <mec@shout.net>
14528
14529 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14530 * gdb.base/ptype.exp: Likewise.
14531
6eac95e3
CV
145322003-03-27 Corinna Vinschen <vinschen@redhat.com>
14533
14534 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14535
e8c71839
MC
145362003-03-26 Michael Chastain <mec@shout.net>
14537
14538 * gdb.base/ptype.exp: Actually use some typedef'd types.
14539
71b10041
SC
145402003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14541
14542 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14543 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14544
2512cf80
CV
145452003-03-20 Corinna Vinschen <vinschen@redhat.com>
14546
14547 * gdb.base/default.exp: Fix regular expression.
14548
0d195a4f
CV
145492003-03-20 Corinna Vinschen <vinschen@redhat.com>
14550
14551 * gdb.base/args.exp: Fix regular expression.
14552
8a2dbca8
CV
145532003-03-20 Corinna Vinschen <vinschen@redhat.com>
14554
14555 * gdb.base/help.exp: Allow Win32 child process.
14556
bf028682
CV
145572003-03-20 Corinna Vinschen <vinschen@redhat.com>
14558
14559 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14560 when stepping out of main().
14561
182dbe85
CV
145622003-03-20 Corinna Vinschen <vinschen@redhat.com>
14563
14564 * gdb.base/default.exp: Check for win32 specific message when calling
14565 "run" without executable.
14566
d67a6ba5
CV
145672003-03-20 Corinna Vinschen <vinschen@redhat.com>
14568
14569 * gdb.base/args.exp: Expect .exe in output.
14570
a955b5bb
CV
145712003-03-20 Corinna Vinschen <vinschen@redhat.com>
14572
14573 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14574 Cygwin native.
14575
bf6bad4b
AC
145762003-03-17 Andrew Cagney <cagney@redhat.com>
14577
14578 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14579 vector registes.
14580 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14581 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14582
293e9a31
DC
145832003-03-17 David Carlton <carlton@math.stanford.edu>
14584
14585 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14586 test, for PR breakpoints/38.
14587 Call test_watchpoint_and_breakpoint.
14588 * gdb.base/watchpoint.c (func3): New function.
14589 (main): Call func3.
14590
5330f2db
DC
145912003-03-04 David Carlton <carlton@math.stanford.edu>
14592
14593 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14594 Garply<Garply<char> >:: garply".
14595 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14596 with respect to PR c++/1111; note also PR c++/1113.
14597 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14598 respect to PR c++/1062.
14599 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14600
6ece72da
DC
146012003-03-03 David Carlton <carlton@math.stanford.edu>
14602
14603 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14604 with respect to PR c++/57.
14605 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14606 c++/826.
14607 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14608 respect to PR c++/57.
14609
85ca1584
DC
146102003-03-03 David Carlton <carlton@math.stanford.edu>
14611
14612 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14613 respect to PR c++/33 into FAILs.
14614
98e9c5b8
MC
146152003-03-03 Michael Chastain <mec@shout.net>
14616
7bedbf27
MC
14617 * configure.in: Update copyright years.
14618
146192003-03-03 Michael Chastain <mec@shout.net>
14620
14621 * Makefile.in: Update copyright years.
98e9c5b8 14622
f683e100
DC
146232003-02-28 David Carlton <carlton@math.stanford.edu>
14624
14625 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14626 print class instead of struct and/or superfluous protection
14627 specifiers, as long as the resulting output is equivalent to the
14628 source code.
14629 Delete FIXME from end of messages on tests that don't need
14630 fixing.
14631
a9e0cf2c
DC
146322003-02-28 David Carlton <carlton@math.stanford.edu>
14633
14634 * gdb.c++/templates.exp (do_tests): Allow const in the two
14635 Foo<volatile char *>::foo tests.
14636
e8d359df
MS
146372003-02-27 Michael Snyder <msnyder@redhat.com>
14638
d63a86f8 14639 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
14640 will be consistant.
14641
0b71dc91
DC
146422003-02-26 David Carlton <carlton@math.stanford.edu>
14643
14644 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14645 char *>::foo" test with respect to PR c++/33. Create a new test
14646 which is identical to that one except that it doesn't put the
14647 space between the "char" and the "*"; KFAIL it, too.
14648
dd14ab43
DC
146492003-02-26 David Carlton <carlton@math.stanford.edu>
14650
14651 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14652 template types into either PASSes or KFAILs (corresponding to PR
14653 c++/57). Tweak indentation. Update copyright.
14654
1146c7f1
SC
146552003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14656
14657 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14658
74641dfb
MC
146592003-02-13 Michael Chastain <mec@shout.net>
14660
14661 * gdb.base/exprs.exp: Remove i960 remnants.
14662 * gdb.base/funcargs.exp: Likewise.
14663 * gdb.base/list.exp: Likewise.
14664 * gdb.base/ptype.exp: Likewise.
14665
559cd2d0
DC
146662003-02-14 David Carlton <carlton@math.stanford.edu>
14667
14668 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14669 pEe->D::vg()" from XFAIL to KFAIL.
14670
c4f90d87
JM
146712003-02-13 Jason Molenda (jmolenda@apple.com)
14672
14673 * gdb.base/maint.exp: Update maint print statistics regexp to include
14674 new entries.
14675
cbc4d97c
MC
146762003-02-13 Michael Chastain <mec@shout.net>
14677
14678 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14679
40f235b7
MC
146802003-02-12 Michael Chastain <mec@shout.net>
14681
14682 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14683 * gdb.c++/inherit.exp: Likewise.
14684 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14685 * gdb.c++/templates.exp: Likewise.
14686 * gdb.c++/virtfunc.exp: Likewise.
14687
c56716b0
JM
146882003-02-06 Jason Molenda (jason-cl@molenda.com)
14689
14690 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14691 why the code is written that way.
14692
070afcf8
MC
146932003-02-05 Michael Chastain <mec@shout.net>
14694
14695 * gdb.base/dump.exp: Add missing copyright line.
14696
5d0331e5
JM
146972003-02-05 Jason Molenda (jason-cl@molenda.com)
14698
f7ae6d3e 14699 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
14700 at the beginning so the breakpoint doesn't get set on the loop.
14701
92851186
MC
147022003-02-05 Michael Chastain <mec@shout.net>
14703
14704 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14705 output for configurations with gcc 2.95.3.
14706
cbf1e085
AC
147072003-02-05 Keith Seitz <keiths@redhat.com>
14708 Andrew Cagney <ac131313@redhat.com>
14709
14710 * gdb.mi/mi-cli.exp: New file.
d63a86f8 14711
29518e1e
MC
147122003-02-04 Michael Chastain <mec@shout.net>
14713
14714 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14715 Call perror and then continue.
14716
5af1d5f3
MC
147172003-02-03 Michael Chastain <mec@shout.net>
14718
14719 * gdb.c++/pr-1023.cc: New file.
14720 * gdb.c++/pr-1023.exp: New file.
14721
6b549786
JB
147222003-02-05 Jim Blandy <jimb@redhat.com>
14723
14724 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14725 it's local to foobar. Check for it there, and check that it's not
14726 present in main.
14727 * gdb.c++/local.cc (marker2): New function.
14728 (foobar): Call marker1.
14729 (main): Call marker2 instead of marker1.
14730
67f16606
AC
147312003-02-04 Andrew Cagney <ac131313@redhat.com>
14732
14733 * gdb.disasm/mn10200.exp: Obsolete file.
14734 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14735 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14736 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14737
1c5cb38e
DC
147382003-02-04 David Carlton <carlton@math.stanford.edu>
14739
14740 * gdb.c++/overload.exp: Test intToChar(1).
14741 * gdb.c++/overload.cc (intToChar): New.
14742 (main): Call intToChar.
14743
d1fe6965
DC
147442003-02-03 David Carlton <carlton@math.stanford.edu>
14745
14746 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14747 'might_kfail' arg.
14748 KFAIL some of the continue_to_bp_overloaded calls, according to
14749 PR c++/1025.
14750
9ba61c5d
MC
147512003-02-01 Michael Chastain <mec@shout.net>
14752
14753 * gdb.base/advance.c (marker1): New marker function.
14754 * gdb.base/advance.exp: When the 'advance' command lands on the
14755 return breakpoint, it can legitimately stop on either the
14756 current line or the next line. Accommodate both outcomes.
14757 * gdb.base/until.exp: Likewise.
14758
e7494ffb
AC
147592003-02-02 Andrew Cagney <ac131313@redhat.com>
14760
14761 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14762 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14763 now a list, not a tuple.
14764 * gdb.mi/mi-var-display.exp: Ditto.
14765 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 14766
075559bc
AC
147672003-02-01 Andrew Cagney <ac131313@redhat.com>
14768
14769 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14770 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14771 stack backtraces.
14772 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 14773
2bd4c7b1
MK
147742003-02-01 Mark Kettenis <kettenis@gnu.org>
14775
14776 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14777 gdb.mi/mi1-pthreads.exp: Return instead of calling
14778 gdb_suppress_entire_file.
14779
eabd8992
MS
147802003-02-01 Mark Salter <msalter@redhat.com>
14781
14782 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14783
71469e2f
MS
147842003-01-31 Mark Salter <msalter@redhat.com>
14785
14786 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14787 Support empty arg.
14788
38a94d44
MC
147892003-01-30 Michael Chastain <mec@shout.net>
14790
14791 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14792 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14793 has been fixed in gdb/readline on 2003-01-09.
14794
19ea9e73
MS
147952003-01-29 Michael Snyder <msnyder@redhat.com>
14796
e8d359df
MS
14797 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14798 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
14799 * gdb.base/args.exp: Skip if target does not support args passing.
14800
2307bd6a
DJ
148012003-01-22 Daniel Jacobowitz <drow@mvista.com>
14802
19ea9e73 14803 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
14804 gdb_test. Accept a list of expect arguments as the third
14805 parameter.
14806 (gdb_test): Use it.
14807
f2dd3617
EZ
148082003-01-20 Elena Zannoni <ezannoni@redhat.com>
14809
14810 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14811 allow for different test tree configurations. Update some
14812 tescases accordingly.
14813 * gdb.arch/altivec-regs.exp: Ditto.
14814 * gdb.asm/asm-source.exp: Ditto.
14815 * gdb.base/advance.exp: Ditto.
14816 * gdb.base/display.exp: Ditto.
d63a86f8 14817 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
14818 * gdb.base/mips_pro.exp: Ditto.
14819 * gdb.base/overlays.exp: Ditto.
14820 * gdb.base/relocate.exp: Ditto.
14821 * gdb.base/setshow.exp: Ditto.
14822 * gdb.base/step-line.exp: Ditto.
14823 * gdb.base/step-test.exp: Ditto.
14824 * gdb.base/until.exp: Ditto.
14825 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14826
c71cdefd
DC
148272003-01-17 David Carlton <carlton@math.stanford.edu>
14828
14829 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14830 corresponding to PR c++/945.
14831 Update copyright.
14832
fdba05d7
DC
148332003-01-17 David Carlton <carlton@math.stanford.edu>
14834
14835 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14836 corresponding to PR c++/68.
14837
148382003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
14839
14840 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14841 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14842 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14843
c362c33a
EZ
148442003-01-15 Elena Zannoni <ezannoni@redhat.com>
14845
0fbc361c
EZ
14846 * gdb.base/break.exp: Fix change of default location, because of
14847 removal of until tests.
14848 * gdb.base/help.exp: Update test for new 'until' help message.
14849 Add test for help on 'advance'.
a9c64011 14850 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 14851
dabf8a35
MK
148522003-01-15 Mark Kettenis <kettenis@gnu.org>
14853
14854 * gdb.base/default.exp: Adapt "info float" test for recent changes
14855 to that command. Add test for "info vector".
14856 * gdb.base/float.exp: New file. Add test for "info float" that
14857 resembles the old test in gdb.base/default.exp.
14858
a1769aca
DC
148592003-01-15 David Carlton <carlton@math.stanford.edu>
14860
14861 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14862
82025e13
EZ
148632003-01-15 Elena Zannoni <ezannoni@redhat.com>
14864
14865 * gdb.base/break.exp: Move the tests of until command from here...
14866 * gdb.base/until.exp: ... to here. New file. Add other tests.
14867 * gdb.base/advance.c: New file.
14868 * gdb.base/advance.exp: New file.
14869
8f9ab801
EZ
148702003-01-14 Elena Zannoni <ezannoni@redhat.com>
14871
a9c64011
AS
14872 * gdb.base/args.c: New file.
14873 * gdb.base/args.exp: New file.
8f9ab801 14874
9ae66589
DJ
148752003-01-14 Daniel Jacobowitz <drow@mvista.com>
14876
14877 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14878
8d77e5c3
DJ
148792003-01-14 Daniel Jacobowitz <drow@mvista.com>
14880
14881 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14882
12d2f0a1
DJ
148832003-01-14 Daniel Jacobowitz <drow@mvista.com>
14884
14885 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14886 dates.
14887
6ca37014
DJ
148882003-01-13 Daniel Jacobowitz <drow@mvista.com>
14889
14890 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14891
b0023472
DJ
148922003-01-13 Daniel Jacobowitz <drow@mvista.com>
14893
14894 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14895 (ptype &*"foo").
14896 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14897
607fbc54 148982003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
14899
14900 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14901 * gdb.mi/mi1-console.exp: Likewise.
14902
607fbc54 149032003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
14904
14905 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14906 * gdb.mi/mi1-console.exp: Likewise.
14907
a1fb14a2
DJ
149082003-01-13 Daniel Jacobowitz <drow@mvista.com>
14909
14910 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14911
c4cf40b7
DJ
149122003-01-09 Daniel Jacobowitz <drow@mvista.com>
14913
14914 * gdb.base/detach.exp: New test.
14915
696d5a5b
DJ
149162003-01-09 Daniel Jacobowitz <drow@mvista.com>
14917
14918 * Makefile.in (ALL_SUBDIRS): New variable.
14919 (subdirs, clean, distclean): Use it.
14920 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14921 regenerating Makefile, since it is generated from the top level.
14922 * gdb.asm/Makefile.in: Likewise.
14923 * gdb.base/Makefile.in: Likewise.
14924 * gdb.c++/Makefile.in: Likewise.
14925 * gdb.disasm/Makefile.in: Likewise.
14926 * gdb.java/Makefile.in: Likewise.
14927 * gdb.mi/Makefile.in: Likewise.
14928 * gdb.threads/Makefile.in: Likewise.
14929 * gdb.trace/Makefile.in: Likewise.
14930
754533e4
DC
149312003-01-09 David Carlton <carlton@math.stanford.edu>
14932
14933 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14934 Add copyright year 2003.
14935
d8b3e9ee
MC
149362003-01-06 Michael Chastain <mec@shout.net>
14937
14938 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14939 When selecting a thread, 'line' and 'file' are optional.
14940 * gdb.mi/mi1-pthreads.exp: Likewise.
14941
8e9e0fe6
AS
149422003-01-06 Andreas Schwab <schwab@suse.de>
14943
14944 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14945 failures.
14946
b5ab8ff3
DJ
149472003-01-04 Daniel Jacobowitz <drow@mvista.com>
14948
14949 Fix PR gdb/844
14950 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14951 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14952
14953 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14954 instead of calling gdb_suppress_entire_file.
14955 * gdb.threads/print-threads.exp: Likewise.
14956 * gdb.threads/schedlock.exp: Likewise.
14957
14958 * gdb.threads/killed.exp: Return instead of calling
14959 gdb_suppress_entire_file.
14960 * gdb.threads/linux-dp.exp: Likewise.
14961 * gdb.threads/pthreads.exp: Likewise.
14962
1e698235
DJ
149632003-01-04 Daniel Jacobowitz <drow@mvista.com>
14964
14965 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14966 stabs.
14967 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14968 * gdb.base/whatis.exp: Always allow (void) after function names.
14969
147ff08c
DJ
149702003-01-04 Daniel Jacobowitz <drow@mvista.com>
14971
14972 * gdb.c++/casts.exp: Correct regexp.
14973
dc62bfc2
MK
149742003-01-04 Mark Kettenis <kettenis@gnu.org>
14975
14976 * configure.in: Call AC_CONFIG_HEADER. Don't call
14977 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14978 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14979 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14980 aforementioned directories in the AC_OUPUT call.
14981 * config.hin: New file.
14982 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14983 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14984 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14985 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14986 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14987 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14988 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14989 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14990 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14991 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14992 gdb.threads/configure.in, gdb.threads/configure,
14993 gdb.threads/config.in, gdb.trace/configure.in,
14994 gdb.trace/configure: Removed.
14995
77afa639
MC
149962003-01-03 Michael Chastain <mec@shout.net>
14997
14998 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14999 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15000
7634bb6e
DJ
150012003-01-03 Daniel Jacobowitz <drow@mvista.com>
15002
15003 * gdb.base/store.exp: Fix regular expressions.
15004
b39c905e
MK
150052002-12-28 Mark Kettenis <kettenis@gnu.org>
15006
15007 * configure.in: Rewrite.
15008 * configure: Regenerated.
15009
0a8551dd
DC
150102003-01-03 David Carlton <carlton@math.stanford.edu>
15011
15012 * gdb.base/psymtab.exp: New file.
15013 * gdb.base/psymtab1.c: Ditto.
15014 * gdb.base/psymtab2.c: Ditto.
15015
c60b7188
AF
150162002-12-23 Adam Fedor <fedor@gnu.org>
15017
15018 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15019
ee73db83
DC
150202002-12-23 David Carlton <carlton@math.stanford.edu>
15021
15022 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15023 and current_directory initialization.
15024
d6c1774e
JB
150252002-12-22 Jim Blandy <jimb@redhat.com>
15026
f0a847b8
JB
15027 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15028 rather than as part of the output file name.
15029
d6c1774e
JB
15030 * gdb.base/attach.exp: There's no need to copy the test program to
15031 /tmp; that was only ever necessary on HP/UX, and this test is
15032 entirely disabled there anyway.
15033
f0708dbb
JB
150342002-12-21 Jim Blandy <jimb@redhat.com>
15035
4c2acfea
JB
15036 * gdb.c++/psmang.exp: Doc fix.
15037
f0708dbb
JB
15038 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15039 test.
15040
9579e000
DC
150412002-12-20 David Carlton <carlton@math.stanford.edu>
15042
15043 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15044
d1810171
MC
150452002-12-18 Michael Chastain <mec@shout.net>
15046
15047 * gdb.c++/annota2.exp: Add copyright year 2002.
15048
76565097
DC
150492002-12-17 David Carlton <carlton@math.stanford.edu>
15050
15051 * gdb.c++/try_catch.cc: Add marker comments.
15052 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15053 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15054 * gdb.c++/m-static.cc: Ditto.
15055 * gdb.c++/m-static1.cc: Ditto.
15056 * gdb.c++/try_catch.cc: Ditto.
15057
da81390b
JJ
150582002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15059
15060 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15061 to see whether we are using the new -environment-directory
15062 command which resets via -r or the old version of the command
15063 which may prompt the user. Part of fix for gdb/741.
15064
b304d130
AC
150652002-12-13 Andrew Cagney <ac131313@redhat.com>
15066
15067 * gdb.fortran/types.exp: Update obsolete comment.
15068 * gdb.fortran/exprs.exp: Ditto.
15069 * lib/gdb.exp: Delete obsolete code.
15070 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15071 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15072 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15073 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15074 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15075 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15076 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15077 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15078 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15079 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15080 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15081 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15082 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15083 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15084 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15085 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15086 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15087 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15088 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15089 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15090 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15091 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15092 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15093 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15094 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15095 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15096 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15097 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15098 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15099 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15100 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15101 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15102 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15103 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15104 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15105 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15106 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15107
a23b6e6a
DC
151082002-12-11 David Carlton <carlton@math.stanford.edu>
15109
15110 * gdb.c++/m-data.exp: Add test for members that shadow global
15111 variables: see PR gdb/804.
15112 * gdb.c++/m-data.cc: Ditto.
15113
6604731b
DJ
151142002-12-10 Daniel Jacobowitz <drow@mvista.com>
15115
15116 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15117
de46ecd7
DC
151182002-12-06 David Carlton <carlton@math.stanford.edu>
15119
15120 * gdb.base/store.c: Don't declare functions static.
15121
27e829d0
AC
151222002-12-04 Andrew Cagney <ac131313@redhat.com>
15123
15124 * gdb.base/store.exp, gdb.base/store.c: New files.
15125
92806416
DJ
151262002-12-03 Daniel Jacobowitz <drow@mvista.com>
15127
15128 * gdb.base/selftest.exp: Update for current gdb.
15129
3bcbaac5
DJ
151302002-12-03 Daniel Jacobowitz <drow@mvista.com>
15131
15132 * gdb.base/maint.exp: Only dump symbols from one source file
15133 or objfile.
15134
f4f00b1f
DJ
151352002-12-03 Daniel Jacobowitz <drow@mvista.com>
15136
15137 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15138 function call.
15139
f1c8a949
JB
151402002-11-25 Jim Blandy <jimb@redhat.com>
15141
15142 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15143 function appearing in error message.
15144
9e297a97
DJ
151452002-11-21 Daniel Jacobowitz <drow@mvista.com>
15146
15147 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15148
1f312e79
JJ
151492002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15150
d63a86f8
RM
15151 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15152 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15153 should be in mi console format. This is part of fix for PR gdb/604.
15154
83c31e7d
FN
151552002-09-18 Fernando Nasser <fnasser@redhat.com>
15156
15157 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15158 which explicitly prints the zero offset as "+0".
15159
322b3f65
DJ
151602002-10-22 Daniel Jacobowitz <drow@mvista.com>
15161
15162 * gdb.threads/schedlock.c (args): Make unsigned.
15163
151642002-10-21 Daniel Jacobowitz <drow@mvista.com>
15165
15166 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15167 numbers. Allow "foo2|selected stack frame".
15168 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15169 * gdb.asm/asmsrc2.s: Likewise.
15170 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15171 comments.
15172 * gdb.asm/mips.inc: New file.
15173
5e2fe5b8
AF
151742002-10-18 Adam Fedor <fedor@gnu.org>
15175
15176 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15177 * gdb.base/help.exp: Likewise.
15178
abe1a5d0
KB
151792002-10-17 Kevin Buettner <kevinb@redhat.com>
15180
15181 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15182 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15183
10abb1d4
JB
151842002-10-02 Jim Blandy <jimb@redhat.com>
15185
15186 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15187
1f609b42
AC
151882002-10-01 Andrew Cagney <ac131313@redhat.com>
15189
15190 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15191 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15192 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15193 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15194 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15195 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15196 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15197
0aee02e4
AC
151982002-09-29 Andrew Cagney <ac131313@redhat.com>
15199
15200 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15201 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15202 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15203 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15204 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15205 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15206 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 15207
6fde09ad
KB
152082002-09-27 Kevin Buettner <kevinb@redhat.com>
15209
15210 * gdb.base/annota1.exp (info break): Make directory components of
15211 path optional since not all compilers emit this debug information.
15212
889bf7c5
PA
15213 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15214 step ends up stepping out of the function instead of stopping on
15215 the epilogue.
6fde09ad 15216
9e8aab75
KS
152172002-09-26 Keith Seitz <keiths@redhat.com>
15218
15219 * lib/insight-support.exp (gdbtk_start): Figure out where
15220 the insight executable is based on where gdb is. Use this
15221 executable to start insight instead of gdb.
15222
e36180d7
AC
152232002-09-25 Andrew Cagney <cagney@redhat.com>
15224
15225 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15226
9dd34b2b
AC
152272002-09-24 Andrew Cagney <ac131313@redhat.com>
15228
15229 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15230 test_isolated_complaints.
15231 (test_empty_complaint): New function.
15232 (test_empty_complaints): New function. Check no output when no
15233 complaints.
d63a86f8 15234
dea97812
KB
152352002-09-19 Jim Blandy <jimb@redhat.com>
15236
a9c64011 15237 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 15238
54951bd7
AC
152392002-09-19 Andrew Cagney <ac131313@redhat.com>
15240
15241 * gdb.gdb/complaints.exp: New file.
15242
dec43320
AC
152432002-09-18 Andrew Cagney <ac131313@redhat.com>
15244
15245 * gdb.base/maint.exp: Check `help maint internal-warning'.
15246
e70d6e3f
DC
152472002-09-18 David Carlton <carlton@math.stanford.edu>
15248
15249 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15250 numbers, and replace them by a single breakpoint after the
15251 constructors are all finished.
15252 Add test 4.
15253 * gdb.c++/m-static.cc: Add test 4.
15254 * gdb.c++/m-static.h: New file.
15255 * gdb.c++/m-static1.cc: New file.
15256
15257 * gdb.c++/printmethod.exp: New file.
15258 * gdb.c++/printmethod.cc: New file.
15259
15260 * gdb.c++/pr-574.exp: New file.
15261 * gdb.c++/pr-574.cc: New file.
15262
afb5c968
CV
152632002-09-18 Corinna Vinschen <vinschen@redhat.com>
15264
15265 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15266 embedded targets which never actually exit.
15267
31e45dee
FN
152682002-09-18 Fernando Nasser <fnasser@redhat.com>
15269
15270 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15271 "don't step after run" as unresolved or unsupported, instead of xfail.
15272
a283c5a1
CV
152732002-09-18 Corinna Vinschen <vinschen@redhat.com>
15274
15275 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15276 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15277 Add newline to expected string in "step out of main (status wrapper)"
15278 case.
15279
11350d2a
CV
152802002-09-18 Corinna Vinschen <vinschen@redhat.com>
15281
15282 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15283 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15284
0deec7d6
TT
152852002-09-17 Tom Tromey <tromey@redhat.com>
15286
15287 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15288 \000, not \0, in double-quoted string.
15289
b2b4a1b5
CV
152902002-09-14 Corinna Vinschen <vinschen@redhat.com>
15291
c9d37158 15292 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
15293 string after running the commands execution on breakpoint tests.
15294
1c56143a
CV
152952002-09-13 Corinna Vinschen <vinschen@redhat.com>
15296
15297 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15298
37f8da45
JB
152992002-09-12 Joel Brobecker <brobecker@gnat.com>
15300
15301 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15302
08b468e0
KS
153032002-09-10 Keith Seitz <keiths@redhat.com>
15304
15305 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15306 runto proc.
15307 (mi_run_to_main): Use mi_runto.
15308 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15309
dc360f58
KS
153102002-09-10 Keith Seitz <keiths@redhat.com>
15311
15312 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15313 regexp for stopping at main. Could have multiple event notifications.
15314 Don't assume that main was declared with no parameters.
15315 (mi_next): Use mi_step_to.
15316 (mi_step): Use mi_next_to.
15317
ce3abcfb
CV
153182002-09-09 Corinna Vinschen <vinschen@redhat.com>
15319
15320 * gdb.base/default.exp: Fix expected string in `info float' test.
15321
d1f5b980
BE
153222002-09-09 Ben Elliston <bje@redhat.com>
15323
15324 * config/mips.exp: Update comments.
15325 * config/mips-idt.exp: Likewise.
15326 * config/nind.exp: Likewise.
15327 * config/slite.exp: Likewise.
15328 * config/sparclet.exp: Likewise.
15329 * config/udi.exp: Likewise.
15330 * config/vx.exp: Likewise.
15331 * config/vxworks29k.exp: Likewise.
15332
2f71430b
JB
153332002-09-05 Jim Blandy <jimb@redhat.com>
15334
15335 * gdb.threads/killed.exp: Fix test failure message.
15336
7ddebc7e
KS
153372002-09-04 Keith Seitz <keiths@redhat.com>
15338
15339 * lib/mi-support.exp: Update copyright.
15340 (mi_gdb_test): Increase the priority of the expected pattern
15341 so that it matches gdb_test.
15342
0ae67eb3
KS
153432002-09-03 Keith Seitz <keiths@redhat.com>
15344
15345 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15346 Use integer comparison instead of string comparison for testing
15347 whether binary was built.
15348
38fc42c8
JB
153492002-09-03 Jim Blandy <jimb@redhat.com>
15350
15351 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15352
b6ff0e81
JB
153532002-08-29 Jim Blandy <jimb@redhat.com>
15354
15355 * gdb.threads/pthreads.exp: Move the portable thread compilation
15356 code into a function in lib/gdb.exp, and call that from here.
15357 * lib/gdb.exp (gdb_compile_pthreads): New function.
15358
07c98896
KS
153592002-08-29 Keith Seitz <keiths@redhat.com>
15360
15361 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15362 expect_out so that callers can get at it.
15363
0312286c
DJ
153642002-08-23 Daniel Jacobowitz <drow@mvista.com>
15365
15366 * gdb.threads/print-threads.c: New file.
15367 * gdb.threads/print-threads.exp: New file.
15368 * gdb.threads/schedlock.c: New file.
15369 * gdb.threads/schedlock.exp: New file.
15370
dd039bc4
EZ
153712002-08-22 Elena Zannoni <ezannoni@redhat.com>
15372
a9c64011
AS
15373 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15374 not altivec.c.
dd039bc4 15375
1f36144c
MK
153762002-08-17 Mark Kettenis <kettenis@gnu.org>
15377
15378 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15379 targets. The problem should be fixed now.
15380
16057ec7 153812002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
15382
15383 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15384 2002-07-24 change that removes final dots from error messages.
15385
3c1499ad
TT
153862002-08-13 Tom Tromey <tromey@redhat.com>
15387
15388 * gdb.base/readline.exp: New file.
15389
a20ce2c3
AC
153902002-08-01 Andrew Cagney <ac131313@redhat.com>
15391
15392 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15393 supress message.
15394
db034ac5
AC
153952002-08-01 Andrew Cagney <cagney@redhat.com>
15396
15397 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15398 CHILL_FOR_TARGET and CHILL_LIB.
15399 * configure.in (configdirs): Remove gdb.chill.
15400 * configure: Regenerate.
15401 * lib/gdb.exp: Obsolete references to chill.
15402 * gdb.fortran/types.exp: Ditto.
15403 * gdb.fortran/exprs.exp: Ditto.
15404
3e000b18
KB
154052002-07-30 Kevin Buettner <kevinb@redhat.com>
15406
15407 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15408 set Irix-specific compile and link flags.
15409
28f4966b
KB
154102002-07-29 Kevin Buettner <kevinb@redhat.com>
15411
15412 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15413 source files. The ``-o'' option doesn't work with the ``-E'' option
15414 when using the Irix compiler.
15415
46c0d5a6
DJ
154162002-07-19 Daniel Jacobowitz <drow@mvista.com>
15417
15418 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15419 Improve support for reusing an exec file. Copy exec file
15420 to target, and run gdbserver on the target instead of on the host.
15421
eecf4bed
JB
154222002-07-18 Jim Blandy <jimb@redhat.com>
15423
0f815cdf
JB
15424 * gdb.base/ending-run.exp: Don't expect to see the program end in
15425 some orderly fashion when we're running on a real stand-alone
15426 board.
15427
eecf4bed
JB
15428 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15429 targets that don't support interrupts.
15430
52d309e4
JB
154312002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15432
15433 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15434 systems.
15435 Move comments in expect statements to inside the actions, so that they
15436 don't get matched against.
15437
ff683d9e
MK
154382002-07-10 Mark Kettenis <kettenis@gnu.org>
15439
15440 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15441 function when asleep" test.
15442
b5356753
AC
154432002-07-10 Andrew Cagney <ac131313@redhat.com>
15444
15445 * gdb.base/page.exp: Rewrite to handle problems with very long
15446 `info set' output. Update copyright.
15447
6aa4d13a
AC
154482002-06-26 Andrew Cagney <ac131313@redhat.com>
15449
15450 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15451 gdb.threads-hp.
15452 * gdb.hp/configure: Regenerate.
15453 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15454 * gdb.hp/gdb.threads-hp/configure: Delete file.
15455 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15456
8cf8c2b8
AC
154572002-06-22 Andrew Cagney <ac131313@redhat.com>
15458
15459 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15460 setlocale, bindtextdomain and textdomain.
15461
6827a8f8
JB
154622002-06-11 Jim Blandy <jimb@redhat.com>
15463
919d772c
JB
15464 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15465 preprocessor macro information is present.
15466
6827a8f8
JB
15467 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15468 tests.
15469
c15b0d21
MS
154702002-06-06 Michael Snyder <msnyder@redhat.com>
15471
c5984d70
MS
15472 * gdb.base/overlays.exp: Record addresses of overlay
15473 functions in TCL variables rather than in GDB variables,
15474 to avoid having GDB convert them to pointers (with loss
15475 of information).
15476
d63a86f8 15477 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 15478 default linker script changes.
c15b0d21
MS
15479 * gdb.base/long_long.exp: Add check for sizeof (long double).
15480
be26fe0d
ML
154812002-06-06 Michal Ludvig <mludvig@suse.cz>
15482
15483 * gdb.asm/asm-source.exp: Add x86-64 target.
15484 * gdb.asm/x86_64.inc: New.
d63a86f8 15485
258093ca 154862002-05-30 Michael Chastain <mec@shout.net>
258093ca 15487
4b3153f1 15488 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
15489 * gdb.c++/m-static.cc: New file.
15490 * gdb.c++/m-static.exp: New file.
15491
241264c6
MS
154922002-05-28 Michael Snyder <msnyder@redhat.com>
15493
15494 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15495 precision.
15496
9bba8c8f 154972002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 15498
4b3153f1 15499 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
15500 * gdb.c++/m-data.cc: New file.
15501 * gdb.c++/m-data.exp: New file.
15502
155032002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 15504
4b3153f1 15505 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 15506 * gdb.c++/try_catch.cc: New file.
d63a86f8 15507 * gdb.c++/try_catch.exp: New file.
9bba8c8f 15508
def1b996
MC
155092002-05-27 Michael Chastain <mec@shout.net>
15510
15511 * gdb.c++/local.exp: Accept more nested types in output.
15512
522ba268
MC
155132002-05-26 Michael Chastain <mec@shout.net>
15514
15515 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15516
277254ba
MS
155172002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15518
15519 * lib/gdb.exp (gdb_wrapper_init): Just because
15520 gdb_wrapper_file exists, this does not mean that the file
15521 should not be rebuilt. That is what gdb_wrapper_initialized
15522 is for.
15523 (default_gdb_init): Reset gdb_wrapper_initialized.
15524
b61a8733
MS
155252002-05-23 Michael Snyder <msnyder@redhat.com>
15526
d63a86f8 15527 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
15528 the precision of the floating point test results.
15529 * gdb.base/call-rt-st.exp: Ditto.
15530
b61a8733
MS
15531 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15532 * gdb.base/call-rt-st.exp: Ditto.
15533
56f6e910
MC
155342002-05-19 Michael Chastain <mec@shout.net>
15535
15536 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15537
ad0b0016
EZ
155382002-05-19 Elena Zannoni <ezannoni@redhat.com>
15539
a9c64011
AS
15540 * configure.in (configdirs): Add gdb.arch.
15541 * configure: Regenerate.
ad0b0016 15542
f617d2b6
JB
155432002-05-17 Jim Blandy <jimb@redhat.com>
15544
15545 * gdb.base/completion.exp: Recognize the more detailed error
15546 messages produced by the macro expander's lexical analyzer.
15547
eac2a696
EZ
155482002-05-14 Elena Zannoni <ezannoni@redhat.com>
15549
a9c64011
AS
15550 * gdb.arch/altivec-abi.c: New file.
15551 * gdb.arch/altivec-abi.exp: New file.
15552 * gdb.arch/altivec-regs.c: New file.
15553 * gdb.arch/altivec-regs.exp: New file.
eac2a696 15554
2fdde8f8
DJ
155552002-05-14 Daniel Jacobowitz <drow@mvista.com>
15556
15557 * gdb.base/maint.exp (maint print type): Update for new type
15558 structure.
d63a86f8 15559
e31f1a7c
EZ
155602002-05-14 Elena Zannoni <ezannoni@redhat.com>
15561
15562 * gdb.arch: New directory.
15563 * gdb.arch/configure.in: New file.
15564 * gdb.arch/configure: New file.
15565 * gdb.arch/Makefile.in: New file.
15566
db589741
CV
155672002-05-13 Corinna Vinschen <vinschen@redhat.com>
15568
15569 * gdb.asm/asm-source.exp: Add v850 as supported target.
15570 * gdb.asm/v850.inc: New file.
15571
8ce2a7dc
DJ
155722002-05-13 Daniel Jacobowitz <drow@mvista.com>
15573
15574 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15575
df763c7f
DJ
155762002-05-12 Daniel Jacobowitz <drow@mvista.com>
15577
15578 * gdb.base/break.exp: Check 'break "marker2"'.
15579
377daeed
MS
155802002-05-10 Michael Snyder <msnyder@redhat.com>
15581
15582 * gdb.base/long_long.exp: Fix typo.
15583
c4b7bc2b
JB
155842002-05-10 Jim Blandy <jimb@redhat.com>
15585
ecac9a4e
JB
15586 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15587 a bug.
15588
c4b7bc2b
JB
15589 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15590 Recognize more detailed error message produced by the macro
15591 expander's lexical analyzer.
15592 * lib/gdb.exp (test_print_reject): Same.
15593
e71019a1
MK
155942002-05-09 Mark Kettenis <kettenis@gnu.org>
15595
15596 * gdb.c++/method.exp: Fix typo.
15597
fedfc8e6
MS
155982002-05-08 Michael Snyder <msnyder@redhat.com>
15599
166a1957
MS
15600 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15601 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 15602 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
15603 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15604 Add iftarget clause for strongarm.
d63a86f8 15605
f1c47eb2
MS
156062002-05-06 Michael Snyder <msnyder@redhat.com>
15607
cb9a9d3e
MS
15608 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15609 (gdb_continue_to_end): Accept output from status wrapper.
15610 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15611 Clean up fail messages to match pass messages.
15612
f1c47eb2
MS
15613 Enable the "needs_status_wrapper" testsuite feature.
15614 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15615 (gdb_compile): Conditionally call gdb_wrapper_init.
15616 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15617 * gdb.c++/method.exp: Recognize output from status wrapper.
15618
6079c749
BE
156192002-05-06 Ben Elliston <bje@redhat.com>
15620From Graydon Hoare <graydon@redhat.com>
15621
15622 * config/sid.exp: Include support for "rawsid" protocol.
15623
188baff3
JB
156242002-05-03 Jim Blandy <jimb@redhat.com>
15625
15626 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15627 * gdb.c++/hang3.C: New file.
15628
b9c07f0f
AC
156292002-05-04 Andrew Cagney <ac131313@redhat.com>
15630
15631 * gdb.base/default.exp: Remove obsolete code.
15632 * gdb.c++/misc.exp: Ditto. Update copyright.
15633 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15634 * gdb.base/whatis.exp: Ditto. Update copyright.
15635 * gdb.base/scope.exp: Ditto. Update copyright.
15636 * gdb.base/ptype.exp: Ditto. Update copyright.
15637 * gdb.base/printcmds.exp: Ditto. Update copyright.
15638 * gdb.base/opaque.exp: Ditto. Update copyright.
15639 * gdb.base/list.exp: Ditto.
15640 * gdb.base/funcargs.exp: Ditto. Update copyright.
15641 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15642 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15643 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15644 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15645 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15646 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15647
5c7a0397
MS
156482002-05-02 Michael Snyder <msnyder@redhat.com>
15649
d6dcc264 15650 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
15651 * gdb.base/long_long.exp: Add xscale target.
15652 * gdb.base/default.exp: Add xscale target.
15653
eb7f1c48
JB
156542002-05-01 Jim Blandy <jimb@redhat.com>
15655
15656 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15657 gdb.c++/hang.exp: New test.
15658
a6befae8
FF
156592002-05-01 Fred Fish <fnf@redhat.com>
15660
15661 * gdb.base/completion.exp: Handle completions of "./Make" for
15662 more than one completion possibility, as is the case when we
15663 build and test in the source tree.
15664
0a310277
AG
156652002-04-29 Anthony Green <green@redhat.com>
15666
15667 * gdb.java/jmisc1.exp: New file.
15668 * gdb.java/jmisc2.exp: New file.
15669
6ff9af88
DJ
156702002-04-24 Daniel Jacobowitz <drow@mvista.com>
15671
15672 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15673
96b3d632
EZ
156742002-04-23 Elena Zannoni <ezannoni@redhat.com>
15675
15676 * gdb.base/help.exp: Change 'help status' to allow for target
15677 dependent output differences.
15678
5019bb54
MC
156792002-04-22 Michael Chastain <mec@shout.net>
15680
15681 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15682
a805a116
MC
156832002-04-22 Michael Chastain <mec@shout.net>
15684
15685 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15686
a1706bfd
DM
156872002-04-17 David S. Miller <davem@redhat.com>
15688
15689 * gdb.asm/sparc64.inc: New file.
15690 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15691
a73a20a2
EZ
156922002-04-19 Elena Zannoni <ezannoni@redhat.com>
15693
15694 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15695 instruction file directly into the build tree. Clean up at end of
15696 test.
15697
ba678339
DM
156982002-04-18 David S. Miller <davem@redhat.com>
15699
15700 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15701 handle 64-bit platforms correctly.
15702 * gdb.base/maint.exp: Likewise.
15703
b03399da
KB
157042002-04-18 Kevin Buettner <kevinb@redhat.com>
15705
15706 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15707 ``-fpic'' when compiling files comprising a shared library, but
15708 it does need additional linker flags in order to find shared
15709 libraries at run time.
15710
e2004992
KB
157112002-04-18 Kevin Buettner <kevinb@redhat.com>
15712
15713 * gdb.base/cvexpr.c (use): New function.
15714 (main): Invoke use() on all global variables to prevent
15715 some linkers from deleting these otherwise unused symbols.
15716
d8937120
MC
157172002-04-17 Michael Chastain <mec@shout.net>
15718From David S. Miller <davem@redhat.com>
15719
15720 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15721 handle 64-bit platforms correctly.
15722
ffd61a58
MS
157232002-04-12 Michael Snyder <msnyder@redhat.com>
15724From Jim Blandy <jimb@redhat.com>
a9c64011 15725 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
15726 script can handle this instead.
15727 * gdb.base/bar.c (barx): Same.
15728 * gdb.base/baz.c (bazx): Same.
15729 * gdb.base/grbx.c (grbxx): Same.
15730
15731 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15732 manager doesn't automatically unmap overlays unnecessarily.
15733
6b8426a6
MH
157342002-04-10 Martin M. Hunt <hunt@redhat.com>
15735
15736 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15737 stepping out of main.
15738
34af4875
MC
157392002-04-09 Michael Chastain <mec@shout.net>
15740
15741 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15742 scope so that the nested scope tests will make sense.
15743 * gdb.c++/local.exp: Write patterns that actually work with gcc
15744 (the HP patterns "were never known to work with gcc").
15745 Keep the old aCC patterns too.
15746
2d1676a0
DJ
157472002-04-09 Daniel Jacobowitz <drow@mvista.com>
15748
15749 * gdb.base/attach.exp: Correct target board test.
15750
3a63e3f9
MC
157512002-04-08 Michael Chastain <mec@shout.net>
15752
15753 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15754 in a const method. Add some xfail and fail cases for configurations
15755 that do not emit the "const ...".
15756
f18dabd2
MC
157572002-04-07 Michael Chastain <mec@shout.net>
15758
15759 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15760 Accept "A * const" and "const A * const" as type of "this".
15761 Fix spelling of getFunky throughout. Make messages uniform.
15762
0fcddd82
EZ
157632002-04-07 Elena Zannoni <ezannoni@redhat.com>
15764
a9c64011 15765 Work around for PR gdb/285:
0fcddd82
EZ
15766 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15767
16a8534a
EZ
157682002-04-07 Elena Zannoni <ezannoni@redhat.com>
15769
15770 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15771 instructions file at run time instead of configure time.
15772 Sometimes we run the test in a directory that is not the one we
15773 configured in.
15774 * gdb.asm/configure.in: Delete creation of symlink.
15775 * gdb.asm/configure: Regenerate.
15776
24181d81
JB
157772002-04-05 J. Brobecker <brobecker@gnat.com>
15778
15779 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15780 xfullpath () function.
15781
7cdb7107
DJ
157822002-04-04 Daniel Jacobowitz <drow@mvista.com>
15783
15784 * gdb.asm/Makefile.in: Correct dependencies.
15785
15786 * gdb.asm/powerpc.inc: New file.
15787 * gdb.asm/asm-source.exp: Add PowerPC.
15788 * gdb.asm/configure.in: Likewise.
15789 * gdb.asm/configure: Regenerated.
15790
a7d17088
DJ
157912002-04-04 Daniel Jacobowitz <drow@mvista.com>
15792
15793 * gdb.base/relocate.exp: New file.
15794 * gdb.base/relocate.c: New file.
15795
cd721503
FF
157962002-04-04 Fred Fish <fnf@redhat.com>
15797
15798 * gdb.base/step-test.exp: Update comment regarding stopping in
15799 memcpy/bcopy calls inserted as part of the compiler runtime.
15800
b22ad7a7
MS
158012002-04-04 Michael Snyder <msnyder@redhat.com>
15802
15803 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15804
5f279fa6
DJ
158052002-04-03 Daniel Jacobowitz <drow@mvista.com>
15806
15807 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15808 (gdb_expect): Remove $notransfer hack.
15809
dd0fd3ce
DJ
158102002-04-02 Daniel Jacobowitz <drow@mvista.com>
15811
15812 * gdb.c++/classes.exp ("calling method for small class"): Match
15813 updated register output.
15814
1e50cda1
DJ
158152002-03-30 Daniel Jacobowitz <drow@mvista.com>
15816
15817 Fix PR gdb/452
15818 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15819 when finished. Make gdb_file_cmd send "exec-file" when
15820 appropriate.
15821
24015922
DJ
158222002-03-30 Daniel Jacobowitz <drow@mvista.com>
15823
15824 * gdb.base/attach.exp: Remove extra setup_xfail.
15825
dd7dfd64
MS
158262002-03-26 Michael Snyder <msnyder@redhat.com>
15827
15828 * gdb.base/default.exp: Add tests for dump, append, and restore.
15829 * gdb.base/help.exp: Add tests for dump, append, and restore.
15830 * gdb.base/dump.exp: New file, test dump, append and restore.
15831 * gdb.base/dump.c: New file.
15832
48b2f8d7
MS
158332002-03-27 Michael Snyder <msnyder@redhat.com>
15834
d63a86f8 15835 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
15836 clean-ups in help messages.
15837
05b4d525
FF
158382002-03-26 Fred Fish <fnf@redhat.com>
15839
15840 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15841 have debugging info for those functions and the compiler uses them
15842 internally to copy structs around.
15843
d7679631
FF
158442002-03-26 Fred Fish <fnf@redhat.com>
15845
15846 * gdb.base/list.exp: Revert the change made yesterday and add note
15847 about why we don't list the default lines for remote targets.
15848
523ac3f9
MS
158492002-03-25 Michael Snyder <msnyder@redhat.com>
15850
15851 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15852
754b2b8d
FF
158532002-03-25 Fred Fish <fnf@redhat.com>
15854
15855 * gdb.base/list.exp: This test works on remote targets so remove
15856 the short circuit for remote targets. Update copyright.
15857
33c3e192
FF
158582002-03-25 Fred Fish <fnf@redhat.com>
15859
15860 * gdb.base/attach.exp: Fix logic error that was suppressing this
15861 test for all non hppa*-*-hpux* targets, instead of the hp target.
15862 Move comments closer to the suppression point. Also now need to
15863 check that we are running natively.
15864
d43e73ee
MS
158652002-03-22 Michael Snyder <msnyder@redhat.com>
15866
882c8f02
MS
15867 * gdb.base/default.exp: Add test for gcore. Update copyright.
15868 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 15869
04c12f60
FF
158702002-03-06 Fred Fish <fnf@redhat.com>
15871
15872 * gdb.base/funcargs.c: Remove extraneous ';' character.
15873 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15874
b43df995
MC
158752002-03-04 Michael Chastain <mec@shout.net>
15876
15877 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15878 accommodate gcc v3 function signature.
15879 * gdb.mi/mi0-var-cmd-exp: Ditto.
15880
92362027
AC
158812002-02-24 Andrew Cagney <ac131313@redhat.com>
15882
15883 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15884 ``GNU/Linux'' or ``Linux kernel''
15885 * testsuite/gdb.threads/pthreads.c: Ditto.
15886
258ad32d
MC
158872002-02-24 Michael Chastain <mec@shout.net>
15888
15889 * gdb.threads/pthreads.c (thread1): Add a return statement.
15890 (thread2): Likewise.
15891 (foo): Likewise.
15892
04c3b3d4
MC
158932002-02-23 Michael Chastain <mec@shout.net>
15894
15895 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15896 to placate gcc.
15897
5a2a0a20
MC
158982002-02-23 Michael Chastain <mec@shout.net>
15899
15900 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15901 test "ptype bint". The test passes on all my stabs configurations.
15902
a640f7fc
JB
159032002-02-21 Jim Blandy <jimb@redhat.com>
15904
27924826
JB
15905 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15906 filename at a time, and watch for the ones we want to see.
15907
a640f7fc
JB
15908 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15909 types of pointers to prototyped functions.
15910
edcc8c75
AC
159112002-02-20 Andrew Cagney <ac131313@redhat.com>
15912
15913 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15914 signed, unsigned and straight char.
15915 (padding_char, padding_short, padding_int, padding_long,
15916 padding_long_long, padding_float, padding_double,
15917 padding_long_double): New global variables.
15918 (fill, fill_structs): New functions.
15919
15920 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15921 for correctly sized writes. Update copyright.
15922 (get_valueof): New procedure.
15923 (get_sizeof): Call get_valueof.
15924 (check_valueof): New procedure.
15925 (check_padding): New procedure.
15926
ac57ea44
MC
159272002-02-20 Michael Chastain <mec@shout.net>
15928
15929 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15930 to setup_xfail. Document some of the remaining calls.
15931
7a10c941
MC
159322002-02-18 Michael Chastain <mec@shout.net>
15933
15934 * gdb.c++/userdef.exp: Update copyright year.
15935
fb8acdcc
DJ
159362002-02-18 Daniel Jacobowitz <drow@mvista.com>
15937
15938 * gdb.c++/userdef.exp: Test overloaded operators properly.
15939 Remove xfails.
15940
fda6ae12
MS
159412002-02-14 Michael Snyder <msnyder@redhat.com>
15942
15943 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15944
676a0442
DJ
159452002-02-14 Daniel Jacobowitz <drow@mvista.com>
15946
15947 * gdb.base/a2-run.exp: Check for a remote target properly.
15948 * gdb.base/annota1.exp: Likewise.
15949 * gdb.base/list.exp: Likewise.
15950 * gdb.base/reread.exp: Likewise.
15951 * gdb.base/scope.exp: Likewise.
15952 * gdb.base/shlib-call.exp: Likewise.
15953 * gdb.base/term.exp: Likewise.
15954 * gdb.c++/annota2.exp: Likewise.
15955
78b4f468
RE
159562002-02-13 Richard Earnshaw <rearnsha@arm.com>
15957
15958 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15959
9a81ba51
MC
159602002-02-10 Michael Chastain <mec@shout.net>
15961
15962 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15963 (call_after_alloca): Ditto.
15964
004af6c7
DJ
159652002-02-10 Daniel Jacobowitz <drow@mvista.com>
15966
15967 * gdb.base/ending-run.exp: Guard "cont" test with
15968 gdb_skip_stdio_test.
15969
37225f62
JB
159702002-02-06 Jim Blandy <jimb@redhat.com>
15971
15972 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15973 from here...
15974 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15975 To here. Disable this test on non-HP platforms. Add big comment.
15976
fe6fdd96
MS
159772002-02-04 Michael Snyder <msnyder@redhat.com>
15978
15979 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15980 other than d10v and m32r.
15981
036fad3f
RE
159822002-02-02 Richard Earnshaw <rearnsha@arm.com>
15983
15984 * gdb.base/default.exp: Rewrite test patterns to reduce time
15985 taken to match them.
15986
7148ab62
DJ
159872002-01-30 Daniel Jacobowitz <drow@mvista.com>
15988
15989 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15990 Allow a start function above main.
15991 * gdb.threads/linux-dp.exp: Fix copyright date.
15992
396cc255
DJ
159932002-01-30 Daniel Jacobowitz <drow@mvista.com>
15994
a9c64011
AS
15995 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15996 (check_philosopher_stack): Check for manager thread before checking
15997 for a just-starting thread.
396cc255 15998
f038d31b
DJ
159992002-01-30 Daniel Jacobowitz <drow@mvista.com>
16000
16001 From Neil Booth <neil@daikokuya.demon.co.uk>:
16002 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16003 warnings.
16004
b3ff9d9a
FF
160052002-01-21 Fred Fish <fnf@redhat.com>
16006
16007 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16008 not caller.
16009
39ad761d
JB
160102002-01-21 Jim Blandy <jimb@redhat.com>
16011
16012 * gdb.base/reread.exp: Check that GDB properly re-reads the
16013 executable file when it changes while no inferior is running.
16014
aaf320fa
FF
160152002-01-21 Fred Fish <fnf@redhat.com>
16016
a9c64011
AS
16017 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16018 optionally accept the "shlib events" variation.
aaf320fa 16019
808a31f5
JB
160202002-01-21 Jim Blandy <jimb@redhat.com>
16021
16022 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16023 call `fflush' after every `printf', so that the output is produced
16024 at predictable points, regardless of whatever buffering does (or
16025 doesn't) take place.
16026 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16027 at different points.
16028
4420d5e2
DJ
160292002-01-20 Daniel Jacobowitz <drow@mvista.com>
16030
16031 * gdb.c++/inherit.exp: Update copyright years.
16032 * gdb.c++/method.exp: Likewise.
16033
3e36a0f4
DJ
160342002-01-20 Daniel Jacobowitz <drow@mvista.com>
16035
16036 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16037 artificial methods/arguments.
16038 * gdb.c++/derivation.exp: Likewise.
16039 * gdb.c++/inherit.exp: Likewise.
16040 * gdb.c++/method.exp: Likewise.
16041 * gdb.c++/virtfunc.exp: Likewise.
16042
b4ceaee6
AC
160432002-01-18 Andrew Cagney <ac131313@redhat.com>
16044
16045 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16046 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16047 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16048 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16049 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16050 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16051
ecace851
JB
160522002-01-17 Jim Blandy <jimb@redhat.com>
16053
16054 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16055 anchoring the pattern matching the entry point symbol's name.
16056
375fc983
AC
160572002-01-17 Andrew Cagney <ac131313@redhat.com>
16058
16059 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16060 continue/quit query. Update copyright.
16061
fe6fdd96
MS
160622002-01-14 Michael Snyder <msnyder@redhat.com>
16063
16064 * gdb.base/gcore.exp: Remove extra debugging output.
16065
e017c81f
DJ
160662002-01-13 Daniel Jacobowitz <drow@mvista.com>
16067
16068 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16069 for slightly dubious v2 mangled string.
16070
37ab3bf8
DJ
160712002-01-13 Daniel Jacobowitz <drow@mvista.com>
16072
16073 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16074
1bc05c3a 160752002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 16076
1bc05c3a 16077 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 16078
1bc05c3a
JM
16079 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16080 constructors.
16081 * gdb.c++/derivation.exp: Likewise.
16082 * gdb.c++/templates.exp: Likewise.
16083 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 16084
1bc05c3a
JM
160852002-01-10 Michael Snyder <msnyder@redhat.com>
16086
16087 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 16088
a911c360
MS
160892002-01-08 Michael Snyder <msnyder@redhat.com>
16090
16091 * gdb.base/gcore.exp: New test for generate-core-file command.
16092 * gdb.base/gcore.c: Testcase for above.
16093 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16094
ea2119ec
JM
160952002-01-08 Jason Merrill <jason@redhat.com>
16096
16097 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16098
68203136
FF
160992002-01-07 Fred Fish <fnf@redhat.com>
16100
16101 * gdb.c++/overload.exp: Remove unconditional xfails for:
16102 print foo_instance1.overloadargs(1)
16103 print foo_instance1.overloadargs(1, 2)
16104 print foo_instance1.overloadargs(1, 2, 3)
16105 print foo_instance1.overloadargs(1, 2, 3, 4)
16106 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16107 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16108 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16109 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16110 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16111 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16112 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16113 print foo_instance1.overload1arg()
16114 print foo_instance1.overload1arg((char)arg2)
16115 print foo_instance1.overload1arg((signed char)arg3)
16116 print foo_instance1.overload1arg((unsigned char)arg4)
16117 print foo_instance1.overload1arg((int)arg7)
16118 print foo_instance1.overload1arg((unsigned int)arg8)
16119 print foo_instance1.overload1arg((float)arg11)
16120 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16121
21b9b5b1
MS
161222002-01-07 Michael Snyder <msnyder@redhat.com>
16123
16124 * gdb.base/huge.exp: New test. Print a very large target data object.
16125 (skip_huge_test): New test variable. Define if you want to skip this
16126 test. The test reads an 8 megabyte data object from the target, so it
16127 might be very time consuming on remote targets with a slow connection.
16128 * gdb.base/huge.c: New file. Test case for above.
16129
725f922e
FF
161302002-01-07 Fred Fish <fnf@redhat.com>
16131
16132 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16133 g_instance.bfoo, and g_instance.cfoo.
16134
889bf7c5 161352002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16136
889bf7c5
PA
16137 * gdb.base/break.c (multi_line_if_conditional): New function.
16138 (multi_ilne_while_conditional): Likewise.
16139 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16140 IF or WHILE condition puts the breakpoint at the start of
16141 the condition.
f286b2c3 16142
634d57ec
JL
16143 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16144 hppa*-*-hpux* expected failure.
16145 * gdb.base/structs.exp (do_function_calls): Similarly.
16146
16147 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16148 watchpoints.
16149
9fbfe2dc
AC
161502002-01-06 Andrew Cagney <ac131313@redhat.com>
16151
16152 Fix PR gdb/66.
16153 * gdb.base/structs.exp: Replace skip for a29k with skip for
16154 gdb,cannot_call_functions.
16155 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16156 * gdb.base/callfuncs.exp: Ditto.
16157 * gdb.base/call-rt-st.exp: Ditto.
16158 * gdb.base/call-strs.exp: Ditto.
16159 * gdb.base/callfwmall.exp: Ditto.
16160 * gdb.base/scope.exp: Obsolete xfail a29k.
16161 * gdb.c++/misc.exp: Ditto.
16162 * gdb.c++/cplusfuncs.exp: Ditto.
16163 * gdb.base/ptype.exp: Ditto.
16164 * gdb.base/printcmds.exp: Ditto.
16165 * gdb.base/opaque.exp: Ditto.
16166 * gdb.base/list.exp: Ditto.
16167 * gdb.base/funcargs.exp: Ditto.
16168 * gdb.base/default.exp: Ditto.
16169
8ddad156
MS
161702002-01-04 Michael Snyder <msnyder@redhat.com>
16171
ca4976a6 16172 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
16173 * gdb.base/maint.exp: Add tests for maint info sections options.
16174
1b074332
JL
16175Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16176
16177 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16178
7d159115
CV
161792001-12-20 Corinna Vinschen <vinschen@redhat.com>
16180
16181 * gdb.asm/arm.inc: New file.
16182 * gdb.asm/asm-source.exp: Add arm targets.
16183 * gdb.asm/configure.in: Ditto.
16184 * gdb.asm/configure: Recreated from configure.in.
16185
8fb87725
JL
16186Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16187
afabe08c
JL
16188 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16189 with HP's compiler.
16190 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16191 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16192 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16193 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16194
16195 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16196 either HP's compilers or GCC.
16197
db521deb
JL
16198 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16199 a SIGBUS or SIGSEGV.
16200
16201 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16202
16203 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16204 can be compiled with either HP's compiler or GCC.
16205
cfa88ab7
JL
16206 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16207 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16208 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16209
ca344dff
JL
16210 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16211 to match current gdb output. Update due to using auto-solib-limit
16212 for limiting instead of overloading auto-solib-add.
16213 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16214 test program.
16215
3f3c6e55 16216 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
16217 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16218 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16219 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16220 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16221 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16222 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16223 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16224 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16225 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16226 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16227 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16228 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 16229
8fb87725
JL
16230 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16231 a SIGTRAP to the inferior.
16232
cf599fa7
CV
162332001-12-19 Corinna Vinschen <vinschen@redhat.com>
16234
16235 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16236 Substitute call to target_link by call to gdb_compile.
16237
2cd045cd
JL
16238Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16239
a9c64011
AS
16240 * gdb.base/break.exp: Fix HP specific search string when testing
16241 backtracing in a called function.
2cd045cd 16242
a9c64011
AS
16243 * gdb.base/constvars.exp: Only set lang to C++ if we're
16244 compiling the test with HP's compilers.
16245 * gdb.base/volatile.exp: Similarly.
2cd045cd 16246
99ebe9ac
JB
162472001-12-19 Jim Blandy <jimb@redhat.com>
16248
16249 * gdb.base/printcmds.exp: Expect the null character to be printed
16250 as '\0', and the '\013' to be printed as '\v'.
16251 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16252 * gdb.base/setvar.exp: Same.
16253
b9891b29
JB
162542001-12-17 Jim Blandy <jimb@redhat.com>
16255
0eba65ab
JB
16256 * gdb.base/completion.exp: Rather than completing very long
16257 filenames, which can make the readline library produce output we
16258 don't recognize, cd to the directory first, and then complete
16259 using nice, short relative paths.
16260
6970b5b1
JB
16261 * gdb.base/completion.exp: On some systems, there is, in fact, a
16262 variable named `b' in scope, since GDB treats all static
a9c64011
AS
16263 variables as being in scope. So use `no_var_named_this'
16264 instead of `b'.
6970b5b1 16265
b9891b29 16266 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 16267 can't find the core file's registers as a failure.
b9891b29 16268
e6ccd35f
JSC
162692001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16270
a9c64011
AS
16271 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16272 test expect string more specific.
e6ccd35f 16273
105ba819
CV
162742001-12-13 Corinna Vinschen <vinschen@redhat.com>
16275
16276 * gdb.asm/asm-source.exp: Add support for xstormy16.
16277 * gdb.asm/configure.in: Ditto.
16278 * gdb.asm/configure: Rebuild.
16279 * gdb.asm/xstormy16.inc: New file.
16280
e9e79dd9
FF
162812001-12-10 Fred Fish <fnf@redhat.com>
16282
16283 * gdb.base/maint.exp: Update to match changes in type dumping code.
16284
347dc97d
JB
162852001-12-10 Jim Blandy <jimb@redhat.com>
16286
16287 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
16288 matching the entry point symbol's name at the beginning of the
16289 line.
347dc97d 16290
5178b9d6
DJ
162912001-12-07 Daniel Jacobowitz <drow@mvista.com>
16292
16293 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16294 gdb.c++/inherit.exp, gdb.c++/method.exp,
16295 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16296 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16297 and class layout support.
16298
af890c52
DJ
162992001-12-07 Daniel Jacobowitz <drow@mvista.com>
16300
16301 * gdb.c++/classes.exp: Add test for static member function.
16302 * gdb.c++/misc.cc: Add class with static member function.
16303
7a345fb3
JB
163042001-12-07 Jim Blandy <jimb@redhat.com>
16305
f2e54a80 16306 If GDB says it can't find the struct the function returned, report
8032bf31
JB
16307 those tests as `unsupported'.
16308 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16309 Rewrite subsequent tests to use it.
16310
16311 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
16312 those tests as `unsupported'.
16313 * gdb.base/structs.exp (call_struct_func): New function.
16314 (do_function_calls): Use call_struct_func to call the functions
16315 returning structs.
16316
0bc69509
JB
16317 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16318 whether functions are prototyped or not, so we can't possibly pass
16319 arguments to t_float_values2 properly.
16320
7a345fb3
JB
16321 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16322 value of `timeout' for targets other than the mips*tx39-*.
16323
edb6ede1
MS
163242001-12-06 Michael Snyder <msnyder@redhat.com>
16325
d63a86f8 16326 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
16327 and detect whether the start symbol has a leading underscore.
16328
2d842f13
JB
163292001-12-04 Jim Blandy <jimb@redhat.com>
16330
16331 * gdb.base/completion.exp: Clarify indentation.
16332
68550daf
JB
163332001-12-03 Jim Blandy <jimb@redhat.com>
16334
16335 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16336 variables on the S/390, not `.word'.
16337
cd5195a8
JB
163382001-11-30 Jim Blandy <jimb@redhat.com>
16339
16340 Add assembly-source tests for s390-ibm-linux.
16341 * gdb.asm/s390.inc: New file.
16342 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16343 the S/390 architecture.
a9c64011 16344 * gdb.asm/configure: Regenerated.
cd5195a8 16345
ca9efc90
MS
163462001-11-30 Michael Snyder <msnyder@redhat.com>
16347
16348 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16349 next, info source, info sources, info line, global and static
16350 variables, and static functions.
16351 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16352 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16353 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16354 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16355 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16356 (gdbasm_leave): Restore frame pointer.
16357 (gdbasm_startup): Copy stack set-up from crt0.S.
16358
d0e66976
FN
163592001-11-26 Fernando Nasser <fnasser@redhat.com>
16360
16361 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16362 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16363 to a local (non-static) variable. Copy tstruct.a to a static buffer
16364 and return a pointer to that buffer.
16365 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16366
e2334072
MK
163672001-11-24 Mark Kettenis <kettenis@gnu.org>
16368
16369 * gdb.asm/configure.in: Fix recognition of ix86 target.
16370 * gdb.asm/configure: Regenerate.
16371
756caa3d
MS
163722001-11-21 Michael Snyder <msnyder@redhat.com>
16373
16374 * gdb.asm/sparc.inc: New file.
16375 * gdb.asm/asm-source.exp: Recognize sparc target.
16376 * gdb.asm/configure.in: Recognize sparc target.
16377 * gdb.asm/configure: Regenerate.
d63a86f8 16378
9a4d72d5
MS
163792001-11-21 Michael Snyder <msnyder@redhat.com>
16380
16381 * gdb.asm/m32r.inc: New file.
16382 * gdb.asm/asm-source.exp: Recognize m32r target.
16383 * gdb.asm/configure.in: Recognize m32r target.
16384 * gdb.asm/configure: Regenerate.
16385
a773d1cd
MS
163862001-11-20 Michael Snyder <msnyder@redhat.com>
16387
017ac23d
MS
16388 * gdb.asm/i386.inc: New file.
16389 * gdb.asm/asm-source.exp: Recognize ix86 target.
16390 * gdb.asm/configure.in: Recognize ix86 target.
16391 * gdb.asm/configure: Regenerate.
16392
a773d1cd
MS
16393 * gdb.c++/namespace.exp: Fix quotes in output messages.
16394
bb632afb
MS
163952001-11-14 Michael Snyder <msnyder@redhat.com>
16396
25d559ca 16397 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
16398 qualifier in a type cast expression, to designate an address
16399 in the instruction space (Harvard architecture).
16400
4749e309
MS
164012001-11-13 Michael Snyder <msnyder@redhat.com>
16402
16403 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16404 Tests for expressions using 'const' and 'volatile'.
16405
25050984
CV
164062001-11-13 Corinna Vinschen <vinschen@redhat.com>
16407
16408 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16409
1902c51f
DJ
164102001-11-12 Daniel Jacobowitz <drow@mvista.com>
16411
16412 * lib/mi-support.exp (mi_run_to_helper): Move comments
16413 outside of gdb_expect.
16414
dcf95b47
DJ
164152001-11-11 Daniel Jacobowitz <drow@mvista.com>
16416
16417 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16418 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16419 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16420 mi0_run_to): New functions.
16421 * gdb.mi/mi-simplerun.exp: Use them.
16422 * gdb.mi/mi0-simplerun.exp: Likewise.
16423 * gdb.mi/mi-var-cmd.exp: Likewise.
16424 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 16425
45b074e1
AC
164262001-11-10 Andrew Cagney <ac131313@redhat.com>
16427
16428 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16429 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16430
bf50d346
AC
164312001-11-09 Andrew Cagney <ac131313@redhat.com>
16432
16433 * gdb.base/restore.exp: Include $expected value in restored test
16434 message.
16435
9383332c
AC
164362001-11-09 Andrew Cagney <ac131313@redhat.com>
16437
16438 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16439 implemented.
16440
db62520a
MS
164412001-11-08 Michael Snyder <msnyder@redhat.com>
16442
16443 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16444 Add pass/fail message for stop at breakpoint in call dummy function.
16445
b5703437
MS
164462001-11-07 Michael Snyder <msnyder@redhat.com>
16447
d63a86f8
RM
16448 * gdb.c++/templates.exp (test_template_breakpoints):
16449 If we get an overload menu, but it does not match what
760f6330 16450 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
16451 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16452 making the whitespace optional. Argument for "new" may be
16453 "unsigned" as well as "unsigned int/long".
d63a86f8 16454 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
16455 making the whitespace optional. Also replace "(void) with
16456 "((void|)), making the keyword "void" optional.
d63a86f8 16457 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
16458 making the whitespace optional. Also replace "(void) with
16459 "((void|)), making the keyword "void" optional.
3bf40917
MS
16460 * gdb.base/callfuncs.c (t_float_values): This function must
16461 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 16462 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
16463 can be tested against both cases. Usually one case involves
16464 promotion of float to double, while the other does not.
16465 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
16466 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16467 includes a stack frame for "start".
16468
c8ab4e6d
JB
164692001-11-05 Jim Blandy <jimb@redhat.com>
16470
16471 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16472 pointers are 32 bits long, and that offsets of relocs are always
16473 stored in the data (REL-style), and not in the reloc entry itself
16474 (RELA-style).
16475 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16476 stabs.
16477
3f08ced9
MS
164782001-11-01 Michael Snyder <msnyder@redhat.com>
16479
16480 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16481 and regular expression operators by using quoting.
16482
cbfa24cd
MS
164832001-10-31 Michael Snyder <msnyder@redhat.com>
16484
16485 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16486 depending on what the symbol table contains.
16487 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16488 the output of the ptype command. Similarly, accept both "const &"
16489 and "const&".
16490
aaa68313
CV
164912001-10-31 Corinna Vinschen <vinschen@redhat.com>
16492
16493 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16494 symbol `STORAGE' to allow to choose the storage class of
16495 the local datastructures.
16496 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16497 compiler directive.
16498
91740388
MS
164992001-10-30 Michael Snyder <msnyder@redhat.com>
16500
16501 * gdb.base/jump.exp: Allow it to run for all targets.
16502
1b7c05e7
CV
165032001-10-29 Corinna Vinschen <vinschen@redhat.com>
16504
16505 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16506 with new double_array size.
16507 (main): Change storage class of all local variables to static.
16508 Reduce size of double_array to 9.
16509 * gdb.base/call-ar-st.exp: Increase timeout value.
16510 Change expected output for double array to match new size in
16511 call-ar-st.c.
16512
36a22261
CV
165132001-10-29 Corinna Vinschen <vinschen@redhat.com>
16514
16515 * gdb.base/ending-run.exp: Create identical output when passing
16516 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 16517 Stormy16 target.
36a22261 16518
92b8ae91
MK
165192001-10-28 Mark Kettenis <kettenis@gnu.org>
16520
16521 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16522 that we catch the expected failure under Linux/x86.
16523
cb135b83
OF
165242001-10-29 Orjan Friberg <orjanf@axis.com>
16525
16526 * gdb.base/setvar.exp: Escape curly braces.
16527 * gdb.stabs/weird.exp: Ditto.
16528
6884aa54
DJ
165292001-10-27 Daniel Jacobowitz <drow@mvista.com>
16530
16531 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16532 * gdm.mi/mi0-hack-cli.exp: Likewise.
16533
0398c9aa
AC
165342001-10-25 Andrew Cagney <ac131313@redhat.com>
16535
16536 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16537 messages.
16538
d20bf2e8
AC
165392001-10-21 Andrew Cagney <ac131313@redhat.com>
16540
16541 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16542 checking MI enabled.
16543
03dd63aa
CV
165442001-10-09 Corinna Vinschen <vinschen@redhat.com>
16545
16546 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16547
1d9d99f3
FCE
165482001-10-04 Frank Ch. Eigler <fche@redhat.com>
16549
16550 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16551 if gdb child process crashes, just signal an error.
16552
838ae6c4
JB
165532001-10-02 Jim Blandy <jimb@redhat.com>
16554
16555 * lib/gdb.exp (test_xfail_format): Simplify.
16556
16557 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16558 front of the variable name `format'. Simplify `if'.
16559
8f0cbc1c
DJ
165602001-10-01 Daniel Jacobowitz <drow@mvista.com>
16561
16562 * gdb.threads/pthreads.exp: Wait for output and delay
16563 before sending ^C.
16564
1f08dafd
DJ
165652001-10-01 Daniel Jacobowitz <drow@mvista.com>
16566
16567 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16568 some incorrect output instead of timing out.
16569 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16570
674f90ff
CV
165712001-09-28 Corinna Vinschen <vinschen@redhat.com>
16572
16573 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16574 check to allow additional `int'.
16575
9b284272
DJ
165762001-09-27 Daniel Jacobowitz <drow@mvista.com>
16577
16578 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16579 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16580
b55a4771
MS
165812001-09-27 Michael Snyder <msnyder@redhat.com>
16582
16583 * lib/gdb.exp (test_debug_format): New proc.
16584 (setup_xfail_format): Use new proc test_debug_format.
16585 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16586 proc; use new service proc test_debug_format.
16587 Replace all other "gcc_compiled" tests with this test.
16588 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16589 proc; use new service proc test_debug_format.
16590 Replace all other "gcc_compiled" tests with this test.
16591
165922001-09-27 Michael Snyder <msnyder@redhat.com>
16593
16594 * gdb.base/cvexpr.exp: New file.
16595 * gdb.base/cvexpr.c: New file
16596 Test for expressions using const and volatile keywords.
16597
4e6667ac
CV
165982001-09-26 Corinna Vinschen <vinschen@redhat.com>
16599
16600 * gdb.base/constvars.exp: Check for different orders of keywords
16601 and additional "int" strings in output.
16602
4f337972
AC
166032001-09-22 Andrew Cagney <ac131313@redhat.com>
16604
16605 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16606 responses from "help maint".
16607
2015650d
FCE
166082001-09-19 Frank Ch. Eigler <fche@redhat.com>
16609
16610 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16611 to localhost:NNN instead of :NNN, in case Xvfb is listening
16612 only on TCP.
16613
f3bcedc1
CV
166142001-09-19 Corinna Vinschen <vinschen@redhat.com>
16615
16616 * gdb.base/recurse.exp: When checking leaving the watchpoint
16617 scope, recognize when gdb is in function's epilogue and pass.
16618
6b819c92
KS
166192001-09-18 Keith Seitz <keiths@redhat.com>
16620
16621 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16622 support for running tests against sid targets.
16623 (gdbtk_done): Ditto.
16624
a10c9419
CV
166252001-09-18 Corinna Vinschen <vinschen@redhat.com>
16626
16627 * gdb.base/ending-run.c (main): Set stdout buffersize
16628 to the same reasonable value for any target.
16629 * gdb.base/ending-run.exp: Add a regular expression
16630 to make testsuite happy on Sanyo Stormy16 target.
16631
739d0d99
CV
166322001-09-17 Corinna Vinschen <vinschen@redhat.com>
16633
16634 * gdb.base/display.c (do_loops): Add float variable `f'.
16635 Increment f in loop.
16636 * gdb.base/display.exp: Increment timeout by 60 seconds.
16637 Change float display test to use variable `f'.
16638
1b8947f0
JB
166392001-09-17 Jim Blandy <jimb@redhat.com>
16640
16641 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16642 overflowing the limited breakpoint tables on some ROM monitors
16643 (like the ROM68K).
16644
9890ac81
FCE
166452001-09-15 Frank Ch. Eigler <fche@redhat.com>
16646
16647 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16648 the "-ac" (disable access control) flag.
16649
6db765ea
JH
166502001-08-30 Jeff Holcomb <jeffh@redhat.com>
16651
16652 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16653 ints.
16654
4c32cc04
KS
166552001-08-30 Keith Seitz <keiths@redhat.com>
16656
16657 * lib/gdb.exp: Move all insight-related functionality into
16658 separate file.
16659 * lib/insight-support.exp: New file.
16660
8d6e6f81
FCE
166612001-08-29 Frank Ch. Eigler <fche@redhat.com>
16662
16663 * config/sid.exp (sid_start): Never set sid verbosity; disable
16664 expect_background {} that consumed its stdout; tolerate </dev/null.
16665 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16666
6a90e1d0
AC
166672001-08-18 Andrew Cagney <ac131313@redhat.com>
16668
16669 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16670 CLI jump command to start it.
16671 (mi_run_to_main): Fail immediatly when unexpected output.
16672
1759b3c3
AC
166732001-08-18 Andrew Cagney <ac131313@redhat.com>
16674
16675 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16676 beginning of function. Fix PR gdb/191.
16677
61d11d80
FCE
166782001-08-16 Frank Ch. Eigler <fche@redhat.com>
16679
16680 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16681 what to force sid endianness to.
16682
942a4df2
KS
166832001-08-15 Keith Seitz <keiths@redhat.com>
16684
16685 * lib/gdb.exp (gdbtk_start): Don't set environment
16686 variables for TCL_LIBRARY and friends. Insight will
16687 now figure these out for itself.
16688
0521c418
MS
166892001-08-02 Michael Snyder <msnyder@redhat.com>
16690
16691 * gdb.base/completion.exp: Remove the symbol "a64l" from
16692 the expect string; this is target-specific, and not related
16693 to what is being tested.
16694
74a9a58a
DB
166952001-08-02 Dave Brolley <brolley@redhat.com>
16696
16697 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16698
c70819fa
MS
166992001-07-25 Michael Snyder <msnyder@redhat.com>
16700
c2b8fa57
MS
16701 * gdb.base/consecutive.exp: New file. Test stepping over
16702 breakpoints on consecutive instructions.
16703 * gdb.base/consecutive.c: New file.
16704
c70819fa
MS
16705 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16706 curly braces in regular expressions.
16707
2b1a1355
MS
167082001-07-25 Michael Snyder <msnyder@redhat.com>
16709
16710 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16711 legitimate output from stepping out of main.
16712
413eca6f
KS
167132001-07-22 Keith Seitz <keiths@redhat.com>
16714
16715 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16716 the empty string, do not run the tests.
16717
7e5a9322
SC
167182001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16719
16720 * gdb.base/long_long.exp: Detect size of pointer. Take into
16721 account 2-byte pointers when testing for p/a results.
16722
de58f10f
SC
167232001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16724
d63a86f8 16725 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
16726 and defined to 1K for m68hc11.
16727 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16728 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16729 (sizeof_random_data): New variable to tell the size of the data table;
16730 don't test past this size; always run to main.
16731
d6f5fea1
SC
167322001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16733
16734 * gdb.base/return2.exp: return of long long and double fails for
16735 68HC11; don't execute these tests on that platform.
16736 * gdb.base/return.exp: Return of a double fails for 68hc11.
16737
c477543d
SC
167382001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16739
16740 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16741 tests that print a float.
16742 * call-rt-st.exp: Likewise.
16743
63cf1c79
MK
167442001-07-12 Mark Kettenis <kettenis@gnu.org>
16745
16746 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16747 running this test on Linux.
16748
112f9ab5
MC
167492001-06-24 Michael Chastain <chastain@redhat.com>
16750
16751 * gdb.base/arithmet.exp: Remove some tests to make all test names
16752 unique.
16753
4970cb0f
MS
167542001-07-03 Michael Snyder <msnyder@redhat.com>
16755
16756 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16757 the output of the ptype command.
16758
d85da69f
MS
167592001-07-02 Michael Snyder <msnyder@redhat.com>
16760
4c8a82de
MS
16761 * gdb.base/completion.exp: Don't assume that break.c is the only
16762 source file that may contain functions named "marker".
d85da69f
MS
16763 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16764
8afc772b
AC
167652001-06-28 Andrew Cagney <ac131313@redhat.com>
16766
16767 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16768 of files to delete.
16769
16770 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16771 * gdb.disasm/h8300s.exp: New file.
16772 gdb.disasm/h8300s.s: Likewise.
16773
cff22675
AC
167742001-06-27 Andrew Cagney <ac131313@redhat.com>
16775
16776 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16777 empty breakpoint tables.
16778
68c81b54
AC
167792001-06-25 Andrew Cagney <ac131313@redhat.com>
16780
16781 * lib/mi-support.exp: Update args=... part of stop-reason
16782 patterns. Accept either a list or a tuple.
16783
2dd62704
AC
167842001-06-23 Andrew Cagney <ac131313@redhat.com>
16785
16786 * lib/mi-support.exp: Remove local emacs variable defining
16787 change-log-default-name.
16788
b4127474
MC
167892001-06-22 Michael Chastain <chastain@redhat.com>
16790
16791 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16792 This is operationally compatible with the previous version.
16793
8dbfb380
JB
167942001-06-13 Jim Blandy <jimb@redhat.com>
16795
16796 * lib/gdb.exp (gdb_test): Doc fix.
16797
f2d8c86d
MC
167982001-06-10 Michael Chastain <chastain@redhat.com>
16799
16800 * gdb.base/exprs.exp: Remove a duplicate test.
16801
81564d34
JB
168022001-06-06 Jim Blandy <jimb@redhat.com>
16803
16804 * gdb.base/return2.exp (main): Use values to test float and double
16805 returns that are not NaN's, to avoid being confused by IEEE
16806 comparison rules.
16807
da55addb
MS
168082001-06-04 Michael Snyder <msnyder@redhat.com>
16809
16810 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 16811 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
16812 rather than wait for 12 more tests to time out.
16813
42c65987
JB
168142001-06-06 Jim Blandy <jimb@redhat.com>
16815
b18bced9 16816 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 16817 Don't forget to match the GDB prompt.
b18bced9 16818
42c65987
JB
16819 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16820
5b41e5f0
JB
168212001-06-04 Jim Blandy <jimb@redhat.com>
16822
16823 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16824 command.
16825
015e046f
KB
168262001-05-31 Kevin Buettner <kevinb@redhat.com>
16827
16828 * gdb.base/annota1.exp (info break): Match four or more spaces
16829 after "Address".
16830
fb1ffbbe
MC
168312001-05-31 Michael Chastain <chastain@redhat.com>
16832
16833 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16834 (dm_type_int_star): Likewise.
16835 (dm_type_long_star): Likewise.
16836 (dm_type_void_star): Likewise.
16837
5ea2a32c
KB
168382001-05-29 Kevin Buettner <kevinb@redhat.com>
16839
16840 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16841 to a known value in order to get consistent results regardless
16842 of the setting of INPUTRC or the presence or contents of .inputrc.
16843
ae23c492
MS
168442001-05-24 Michael Snyder <msnyder@redhat.com>
16845
ac55707e
MS
16846 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16847 Don't require that the main thread and the manager thread are the
16848 first in the list.
16849
ae23c492
MS
16850 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16851 debugging. If test fails, issue an "unsupported" not a "fail".
16852
400071f1
JB
168532001-05-24 Jim Blandy <jimb@redhat.com>
16854
16855 Don't assume that short is shorter than int.
16856 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16857 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 16858 this isn't true.
400071f1
JB
16859 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16860 an int, is not equal to ~0 stored in an unsigned char. This tests
16861 the same thing that the previous test meant to, but works on
16862 16-bit machines, too.
16863 ("print unsigned char != (~0)"): Same test, complemented.
16864
0816a3e5
MS
168652001-05-24 Michael Snyder <msnyder@redhat.com>
16866
16867 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 16868 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
16869 and prevents dejagnu getting out of step.
16870
f6dc23a9
KB
168712001-05-23 Kevin Buettner <kevinb@redhat.com>
16872
16873 * gdb.base/finish.exp (finish_void): Revise pattern for
16874 stopping on the call statement to not permit stopping at
16875 the start of the instructions comprising the call sequence.
16876
7dbd117d
MC
168772001-05-19 Michael Chastain <chastain@redhat.com>
16878
16879 * gdb.base/callfuncs.exp: Make all test names unique.
16880 * gdb.base/commands.exp: Make all test names unique.
16881 * gdb.base/condbreak.exp: Make all test names unique.
16882 * gdb.base/dbx.exp: Make all test names unique.
16883 * gdb.base/default.exp: Make all test names unique.
16884 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16885 and TIMEOUT messages to their corresponding PASS message.
16886 * gdb.base/ending-run.exp: Make all test names unique.
16887 * gdb.base/long_long.exp: Remove duplicate test.
16888
6b0b0a9e
KB
168892001-05-21 Kevin Buettner <kevinb@redhat.com>
16890
16891 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16892 stop on the call statement as well as the statement after the
16893 call.
16894
2caa35cb
MS
168952001-05-21 Michael Snyder <msnyder@redhat.com>
16896
16897 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16898
40713331
EZ
168992001-05-10 Elena Zannoni <ezannoni@redhat.com>
16900
a9c64011
AS
16901 * gdb.base/completion.exp: Revamp test. Make it execute on all
16902 platforms.
40713331 16903
c2c1be8d
EZ
169042001-05-10 Elena Zannoni <ezannoni@redhat.com>
16905
a9c64011
AS
16906 * config/gdbserver.exp (gdb_load): Handle the case
16907 in which the arguments to gdbserver are given in the
16908 baseboard configuration file.
16909 Also handle the case in which the server needs to do a
16910 load.
2c9cd303 16911
9671de48
KS
169122001-05-07 Keith Seitz <keiths@cygnus.com>
16913
a9c64011
AS
16914 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16915 set up the display for testing.
16916 (gdbtk_start): Convert all paths to paths that tcl will like.
16917 Export target information to environment.
16918 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16919 necessary.
16920 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16921 (to_tcl_path): New proc to convert a given pathname into
16922 a path acceptible as an argument to a tcl command.
16923 (_gdbtk_export_target_info): New proc to export target info
16924 into the environment for gdbtk testing.
16925 (gdbtk_done): New proc to signal end-of-test.
9671de48 16926
5a360f47
JB
169272001-05-06 Jim Blandy <jimb@redhat.com>
16928
16929 * restore.c: Make the code of caller0 correspond to its comment.
16930
66c756c6
MS
169312001-05-03 Michael Snyder <msnyder@redhat.com>
16932
16933 * config/sid.exp (gdb_target_sid): Check for error messages.
16934 On error or timeout, don't make expect exit (which will terminate
16935 all subsequent tests); instead just make gdb exit.
d63a86f8 16936 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
16937 return a negative value.
16938
a966fde5
JB
169392001-04-24 Jim Blandy <jimb@redhat.com>
16940
851c18e0
JB
16941 * gdb.c++/templates.exp: If we see the prompt for the overload
16942 list, but we haven't recognized any of the longer patterns,
16943 arrange for this test to fail, not hang.
16944
a966fde5
JB
16945 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16946 variations.
16947
db144853
MC
169482001-04-22 Michael Chastain <chastain@redhat.com>
16949
16950 * gdb.c++/local.exp: Use the 'runto' library function.
16951 * gdb.c++/namespace.exp: Likewise.
16952 * gdb.c++/overload.exp: Likewise.
16953
3207ec21
KB
169542001-03-26 Kevin Buettner <kevinb@redhat.com>
16955
16956 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16957 * gdb.base/step-line.exp: New file. Test step/next in presence of
16958 #line directives.
16959 * gdb.base/step-line.c: New file. Test program for the above.
16960 * gdb.base/step-line.inp: New file. We pretend that this file has
16961 been transformed by some other tool into step-line.c.
16962
13b57657
JB
169632001-03-21 Jim Blandy <jimb@redhat.com>
16964
16965 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16966 unmangled operator names.
16967
754cbe1c
JB
169682001-03-20 Jim Blandy <jimb@redhat.com>
16969
16970 * gdb.threads/linux-dp.exp: Recognize an additional message
16971 generated by GDB when it doesn't understand how to debug threads
16972 on the target system.
16973
177495c9
AC
169742001-03-19 Andrew Cagney <ac131313@redhat.com>
16975
16976 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16977
f266096b
MC
169782001-03-12 Michael Chastain <chastain@redhat.com>
16979
16980 * gdb.c++/derivation.exp: Use the 'runto' library function.
16981
cac3c2ff
MC
169822001-03-12 Michael Chastain <chastain@redhat.com>
16983
16984 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16985
b6c11a24
MC
169862001-02-24 Michael Chastain <chastain@redhat.com>
16987
16988 * gdb.c++/ref-types.exp: Change handwritten code to library
16989 function 'runto'.
16990
6bae5bce
OF
169912001-03-16 Orjan Friberg <orjanf@axis.com>
16992
16993 * gdb.base/signals.exp: Set count to 0 explicitly.
16994
0015fd9a
MS
169952001-03-15 Mark Salter <msalter@redhat.com>
16996
16997 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16998 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
16999 (gdb_load): Add support for additional target_info: gdb_download_size
17000 and gdb_load_timeout.
0015fd9a 17001
fc33412a
DT
17002Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17003
17004 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
17005 file -- to prevent failing when the compile fails but we have no
17006 intention of running the tests anyway.
fc33412a
DT
17007
17008 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17009 tests if set.
17010
17011 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 17012 integers.
fc33412a
DT
17013
17014 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17015 * gdb.c++/namespace.exp: Ditto.
17016
115f06de
OF
170172001-03-07 Orjan Friberg <orjanf@axis.com>
17018
17019 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17020 * gdb.base/pointers.exp: Relax pattern match of decimals.
17021
b6ba6518
KB
170222001-03-06 Kevin Buettner <kevinb@redhat.com>
17023
17024 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17025 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17026 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17027 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17028 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17029 config/sh.exp, config/sid.exp, config/slite.exp,
17030 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17031 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17032 config/vxworks.exp, config/vxworks29k.exp,
17033 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17034 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17035 gdb.base/arithmet.exp, gdb.base/assign.exp,
17036 gdb.base/async.exp, gdb.base/attach.exp,
17037 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17038 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17039 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17040 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17041 gdb.base/commands.exp, gdb.base/completion.exp,
17042 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17043 gdb.base/constvars.exp, gdb.base/corefile.exp,
17044 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17045 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17046 gdb.base/ending-run.exp, gdb.base/environ.exp,
17047 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17048 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17049 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17050 gdb.base/funcargs.exp, gdb.base/help.exp,
17051 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17052 gdb.base/logical.exp, gdb.base/long_long.exp,
17053 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17054 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17055 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17056 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17057 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17058 gdb.base/regs.exp, gdb.base/relational.exp,
17059 gdb.base/remote.exp, gdb.base/reread.exp,
17060 gdb.base/restore.exp, gdb.base/return2.exp,
17061 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17062 gdb.base/selftest.exp, gdb.base/setshow.exp,
17063 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17064 gdb.base/sigall.exp, gdb.base/signals.exp,
17065 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17066 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17067 gdb.base/step-test.exp, gdb.base/structs.c,
17068 gdb.base/structs.exp, gdb.base/structs2.exp,
17069 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17070 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17071 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17072 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17073 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17074 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17075 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17076 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17077 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17078 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17079 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17080 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17081 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17082 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17083 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17084 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17085 gdb.trace/circ.exp, gdb.trace/collection.exp,
17086 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17087 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17088 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17089 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17090 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17091 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17092 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17093 notices.
17094
dc96c6c7 170952001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
17096
17097 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17098 first arg is int not float.
17099
dc96c6c7 171002001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
17101
17102 * gdb.base/reread.exp: Unsupported for non-native targets;
17103 doesn't work for remote debugging.
17104
9b0c4aeb
FN
171052001-02-19 Fernando Nasser <fnasser@redhat.com>
17106
17107 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
17108 * gdb.base/ending-run.exp: Properly handle the BSP state when
17109 stepping past the end of main.
9b0c4aeb 17110
02aa71d5
MC
171112001-02-19 John Moore <jmoore@redhat.com>
17112
17113 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17114 Converted HPUX fix for non-expected items following multiple
17115 step commands into general solution for all platforms.
17116
1fa449a4
MC
171172001-02-18 Michael Chastain <chastain@redhat.com>
17118
17119 * gdb.c++/classes.exp (do_tests): Change runto statements
17120 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17121 statements demangler agnostic.
17122 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17123 (gdb_virtfunc_restart): Likewise.
17124
b2f9ec70
MC
171252001-02-14 Michael Chastain <chastain@redhat.com>
17126
17127 * gdb.c++/inherit.exp (do_tests): Change runto statements
17128 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17129 statements demangler agnostic.
17130
cf74b8ca
AC
17131Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17132
17133 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17134 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17135 before calling common_routine 15 times'' tests.
cf74b8ca 17136
99f78f56
MC
171372001-02-11 Michael Chastain <chastain@redhat.com>
17138
17139 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17140 Helps the test script figure out which demangler is in use.
17141 (dm_type_foo_ref): Ditto.
17142 (dm_type_int_star): Ditto.
17143 (dm_type_long_star): Ditto.
17144 (dm_type_unsigned_int): Ditto.
17145 (dm_type_void): Ditto.
17146 (dm_type_void_star): Ditto.
99707966 17147 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17148 Probe the gdb demangler and set variables to accommodate
17149 formatting differences.
17150 (info_func_regexp): New function. Same as info_func, but
17151 matches against a regexp.
17152 (info_func): Match against a literal string.
17153 (print_addr_2): New function. Match against a literal string,
17154 which can be different from the input to gdb.
17155 (print_addr): Simply call print_addr_2 with the same argument twice.
17156 (test_lookup_operator_functions): Use demangler formatting variables.
17157 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17158 the tests in the same order as the C++ class declaration.
17159 (test_paddr_operator_functions): Ditto.
17160 (test_paddr_overloaded_functions): Ditto.
17161 (test_paddr_hairy_functions): Use demangler formatting variables.
17162 Add reference to gdb/19 for related tests.
17163 (do_tests): Call probe_demangler.
17164
1de8f023
KB
171652001-01-30 Kevin Buettner <kevinb@redhat.com>
17166
17167 * gdb.c++/templates.cc (printf): Remove unused function definition.
17168
ca3f91ed
MS
171692001-01-26 Felix Lee <flee@redhat.com>
17170
17171 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17172
171732001-01-25 matthew green <mrg@redhat.com>
17174
17175 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17176 up sid.
17177 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17178
171792001-01-25 matthew green <mrg@redhat.com>
17180
17181 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 17182 Deprecate $sid_spawn_id.
ca3f91ed
MS
17183 (sid_exit): Remove code necessary only for `spawn.'
17184
171852001-01-25 matthew green <mrg@redhat.com>
17186
17187 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17188
fb18ec4a
MC
171892001-01-28 Michael Chastain <chastain@redhat.com>
17190
17191 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17192 to call when tests fail. It takes gdb out of the overloaded
17193 function choice menu back to the main prompt, so that the test
17194 program stays synchronized.
17195 (set_bp_overloaded): New proc to collect all the common
17196 code for setting a breakpoint on an overloaded name. Calls
17197 take_gdb_out_of_choice_menu when needed.
17198 (menu_overload1arg): New variable to collect the repeated
17199 instances of the expected menu for an overloaded name. Change
17200 the regular expression to handle changes in g++ type encoding:
17201 "void" can be either "void" or "", and "unsigned int" can be
17202 either "unsigned int" or "unsigned".
17203 (continue_to_bp_overloaded): Change regular expressions to handle
17204 changes in g++ type encoding.
17205 (no proc): Call take_gdb_out_of_choice_menu when needed.
17206 Remove redundant calls to "info break". Accept either "canceled"
17207 or "cancelled". Change regular expressions in "info break"
17208 calls to handle changes in g++ type encoding. Give all tests
17209 unique strings.
17210
9c646a6e
BE
172112001-01-17 Ben Elliston <bje@redhat.com>
17212
17213 * config/sid.exp: New file.
17214
9549d9c1
AC
17215Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17216
17217 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17218
dc96c6c7 172192000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
17220
17221 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17222 Add a RE to accept a non-ascii char if one is ever presented.
17223
b4df4f68
FN
172242000-12-20 Fernando Nasser <fnasser@redhat.com>
17225
297dd0fd 17226 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 17227
dc96c6c7 172282000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 17229
d63a86f8 17230 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
17231 in regexp. One '\' does not suffice on Linux.
17232
4a7bddb6
MC
172332000-12-09 Michael Chastain <chastain@redhat.com>
17234
17235 * gdb.base/break.exp (test_clear_command): Use a marker function
17236 rather than 'main' for the test function. Also move this
17237 test to an execution point where the marker function names are
17238 guaranteed to be bound to functions. (Executing tests after a
17239 'finish' from main runs into name conflicts with local names
17240 in __libc_start_main).
17241
dc96c6c7 172422000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
17243
17244 * gdb.base/finish.exp: New test for gdb's "finish" command.
17245 * gdb.base/return2.exp: New test for gdb's "return" command.
17246 * gdb.base/return2.c: New source file for above.
17247
dc96c6c7 172482000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
17249
17250 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17251 * gdb.base/miscexprs.exp: Ditto.
17252 * gdb.base/pointers.exp: Ditto.
17253 * gdb.c++/derivation.exp: Ditto.
17254 * gdb.c++/local.exp: Ditto.
17255 * gdb.c++/namespace.exp: Ditto.
17256 * gdb.c++/overload.exp: Ditto.
17257 * gdb.c++/ref-types.exp: Ditto.
17258
dc96c6c7 172592000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
17260
17261 * gdb.base/constvars.exp: Test result of "up" command.
17262 * gdb.base/miscexprs.exp: Ditto.
17263 * gdb.base/pointers.exp: Ditto.
17264 * gdb.base/scope.exp: Ditto.
17265 * gdb.c++/derivation.exp: Ditto.
17266 * gdb.c++/local.exp: Ditto.
17267 * gdb.c++/namespace.exp: Ditto.
17268 * gdb.c++/overload.exp: Ditto.
17269 * gdb.c++/ref-types.exp: Ditto.
17270
44097287
FN
172712000-11-22 Michael Chastain <chastain@redhat.com>
17272
17273 * mips_pro.exp: Accept either "middle -> top -> main" or
17274 "middle -> main" in the backtrace, because gcc can optimize
17275 tail calls to jumps. Remove setup_xfail for the hppa case.
17276 Add a comment with the original warning messages from PR 3016,
17277 which was filed in 1993, to preserve them for posterity.
17278
9d2e1bab
ND
172792000-11-17 Nick Duffek <nsd@redhat.com>
17280
17281 * lib/gdb.exp (gdb_test): Override timeout with board info.
17282
1aca8eb7
ND
172832000-11-17 Nick Duffek <nsd@redhat.com>
17284
17285 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17286 the second kill and detach messages.
17287
93076499
ND
172882000-11-17 Nick Duffek <nsd@redhat.com>
17289
17290 * configure.in: Add AC_EXEEXT.
17291 * configure: Regenerate.
17292 * Makefile.in (just-check): Export EXEEXT.
17293 * lib/gdb.exp ($EXEEXT): Import from environment.
17294 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17295 expect "maint dump-me" on Cygwin.
17296 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17297 $EXEEXT.
17298
30e87cd3
ND
172992000-11-17 Nick Duffek <nsd@redhat.com>
17300
17301 * gdb.base/break.exp: Test backtrace and finish from called
17302 function on all platforms, not just HP-UX.
17303
dc96c6c7 173042000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
17305
17306 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17307 code from gdb_target_monitor, so it can be used independantly
17308 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 17309
dc96c6c7 173102000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
17311
17312 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17313 * gdb.base/corefile.exp: Expect the message "Program is being
17314 debugged already" when we send the "corefile" command, since
17315 the preceeding gdb_load may have connected gdb to a remote target.
17316 * gdb.base/display.exp: Disable hardware watchpoints if new
17317 board info variable "no_hardware_watchpoints" is true.
17318 Replace single-letter commands with more readable ones.
17319 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17320 if new board info variable "no_hardware_watchpoints" is true.
17321 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17322 to see if stdio (printf) testing is possible.
17323 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17324 board info variable "no_hardware_watchpoints" is true. Use new
17325 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17326
39124dea
FN
173272000-11-13 Fernando Nasser <fnasser@redhat.com>
17328
17329 From Orjan Friberg <orjanf@axis.com>:
17330 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17331 in array print pattern match.
17332
a9e2e984
FN
173332000-11-09 Fernando Nasser <fnasser@redhat.com>
17334
17335 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17336 spelling "cancelled" to U.S. spelling "canceled" to match changes
17337 made to gdb.
17338 * gdb.c++/ovldbreak.exp: Ditto.
17339
c7db355b
PS
173402000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17341
17342 * gdb.base/callfuncs.c (main): Moved to end of file, call
17343 t_double_values to initialize the FPU before inferior calls are made.
17344 * gdb.base/callfuncs.exp: Test for register preservation after calling
17345 inferior functions. Add tests for continuining, finishing and
17346 returning from a stop in a call dummy.
17347
dc96c6c7 173482000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
17349
17350 * gdb.base/commands.exp: Break up long lines, and re-indent.
17351
dc96c6c7 173522000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
17353
17354 * config/gdbserver.exp: Rewritten from the ground up, to make it
17355 compatible with the current dejagnu tree, and to make it work with
17356 the new "gdbserver" in libremote.
17357
dc96c6c7 173582000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17359
17360 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17361 * gdb.base/varargs.exp: Skip entire test if no printf support.
17362 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17363 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17364
dc96c6c7 173652000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17366
17367 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17368 no floating point support.
17369 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17370 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17371 * gdb.base/call-rt-st.exp: Ditto.
17372 * gdb.base/call-strs.exp: Ditto.
17373
bac5fc66
JG
173742000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17375
17376 * gdb.base/sizeof.c: include <stdio.h>.
17377
17378 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
17379 'finish', otherwise uncaptured gdb_prompt would potentially
17380 throw remaining test points out of sync.
bac5fc66 17381
b22a6027
SB
173822000-07-26 Scott Bambrough <scottb@netwinder.org>
17383
17384 * gdb.base/recurse.exp: Run tests for all targets.
17385 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17386 gnu-oldld case on ARM.
17387 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17388 for ARM targets.
d63a86f8 17389
d8231941
AG
17390Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17391
17392 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17393 * gdb.java/configure: Rebuild.
17394
8caabe69
AG
17395Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17396
17397 * gdb.java/jv-exp.exp: New file.
17398
9d273ca3
AG
17399Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17400
17401 * configure: Rebuilt.
17402 * configure.in (configdirs): Add gdb.java.
17403 * gdb.java/jmisc.java: New file.
17404 * gdb.java/jmisc.exp: New file.
17405 * gdb.java/Makefile.in: New file.
17406 * gdb.java/configure: Rebuilt.
17407 * gdb.java/configure.in: New file.
17408 * lib/java.exp: New file.
17409
4f823a66
AC
17410Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17411
17412 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 17413 underflow.
4f823a66 17414
2391e11d
AC
17415Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17416
17417 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 17418 and the compilers sizes.
2391e11d 17419
54602222
ND
174202000-07-09 Nick Duffek <nsd@redhat.com>
17421
17422 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17423 (use_methods): New function.
17424 (main): Call use_methods().
17425 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17426 (do_tests): Call test_method_param_class.
17427
2bec0572
ND
174282000-07-09 Nick Duffek <nsd@redhat.com>
17429
17430 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17431 spelling.
17432 (test_enums): New procedure. Move enum tests from end of script
17433 to here. Set breakpoint on function name instead of line number.
17434 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17435 (enums2): New marker function.
17436 (enums1): New function.
17437 (main): Call enums1(). Move enum tests to enums1().
17438
78492fde
AC
17439Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17440
17441 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 17442 compile/link program. Update line numbers.
78492fde
AC
17443 * gdb.asm/d10v.inc: Define ``startup''.
17444 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 17445
49a2cef8
AC
17446Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17447
17448 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17449
3e6c8688
EZ
174502000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17451
17452 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 17453 of 'help maint print' command.
3e6c8688 17454
9ff5cbe9
AC
17455Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17456
17457 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 17458 they use gdb_expect_list.
9ff5cbe9 17459
17c579bd
AC
17460Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17461
17462 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
17463 memory-read-packet-size'' instead of ``set endian big'' to test
17464 long commands.
17c579bd 17465
e6d71bf3
DB
174662000-06-03 Daniel Berlin <dan@cgsoftware.com>
17467
17468 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 17469 g++, and stop skipping them.
e6d71bf3
DB
17470
17471 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17472 work under g++.
17473
d63a86f8 17474 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
17475 initialization.
17476
dc96c6c7 174772000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
17478
17479 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17480 the regular expression: accept an (almost) arbitrary sequence of
17481 "frames-invalid" and "breakpoints-invalid" messages both before
17482 and after the "starting" message.
17483
dc96c6c7 174842000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
17485
17486 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 17487
dc96c6c7 174882000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
17489
17490 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17491 Relax the regular expression a little, make it pass on Solaris 8.
17492
8216cda9
KB
174932000-05-12 Kevin Buettner <kevinb@redhat.com>
17494
17495 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 17496 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
17497 Instead, it is permissible for gdb to stop on the line of the
17498 call itself.
17499
1a570b2f
MS
175002000-05-12 Michael Snyder <msnyder@.cygnus.com>
17501
17502 * gdb.base/break.exp (bp on small function, optimized file):
17503 Add a second pass pattern. The behavior differs here between stabs
17504 and dwarf for one-line functions. Stabs preserves two line symbols
17505 (one before the prologue and one after) with the same line number,
17506 but dwarf regards these as duplicates and discards one of them.
17507 Therefore the address after the prologue (where the breakpoint is)
17508 has no exactly matching line symbol, and GDB reports the breakpoint
17509 as if it were in the middle of a line rather than at the beginning.
17510
dc96c6c7 175112000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 17512
d63a86f8 17513 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
17514 rather than "send_gdb" (for consistancy).
17515
7d418785
AC
17516Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17517
17518 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17519 * gdb.c++/templates.cc: Properly check for GCC version number.
17520 * lib/compiler.cc: Likewise
17521
dc96c6c7 175222000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 17523
d63a86f8 17524 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
17525 gdb may not stop at the first line of main, due to code motion.
17526
dc96c6c7 175272000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
17528
17529 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17530 This test depends on parsing the printf output from the target.
17531 Since the sparclet stub doesn't do stdio, this will never work.
17532 * gdb.base/call-rt-st.exp: ditto.
17533 * gdb.base/call-strs: ditto.
17534
dc96c6c7 175352000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
17536
17537 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17538
17539 * gdb.base/ending-run.exp: After connecting to a remote target,
17540 but before running, the target will appear to be in a random
17541 location. Specify both a file and a line for breakpoints.
17542 Also, the function that calls main may be called 'init'
17543 rather than 'start'.
17544
a5a51225
EZ
175452000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17546
17547 * gdb.base/help.exp: Update output for add-symbol-file command.
17548
7930cc7c
FN
175492000-04-10 Fernando Nasser <fnasser@cygnus.com>
17550
17551 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17552 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17553
23e37ab1
C
175542000-04-07 J.T. Conklin <jtc@redback.com>
17555
e93c542c
C
17556 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17557
23e37ab1
C
17558 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17559
591b8fa3
PDM
17560Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17561
17562 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 17563 values that can be represented exactly.
591b8fa3
PDM
17564 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17565 above change, and to not check against the directory part of the source
17566 file name.
17567 (step into print_long_arg_list): Likewise.
17568 (print print_small_structs from print_long_arg_list): Likewise.
17569 (print print_long_arg_list): Likewise.
17570
7a495180
EZ
175712000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17572
30b53638 17573 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 17574
beb998c6
AC
17575Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17576
17577 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17578
1c689132
DB
175792000-03-25 Daniel Berlin <dan@cgsoftware.com>
17580
17581 * gdb.base/commands.exp (deprecated_command_test): Add test for
17582 deprecate with no arguments.
17583
c1790a9d
JL
175842000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17585
17586 * gdb.base/break.exp: Add new test for setting breakpoints on
17587 optimized code so we can test breakpoints work even when function
17588 prologues may be optimized away
17589
003ba290
FN
175902000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17591
17592 From David Whedon <dwhedon@gordian.com>
a9c64011 17593 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 17594
6837a0a2
DB
175952000-03-22 Daniel Berlin <dan@cgsoftware.com>
17596
17597 * gdb.base/help.exp: Added test for new apropos command.
17598
b9593231
KB
175992000-03-21 Kevin Buettner <kevinb@redhat.com>
17600
17601 * gdb.base/pointers.c (usevar): New function.
17602 (main): Make sure that global variables v_int_pointer2, rptr,
17603 and y are all referenced someplace in the program by calling
17604 usevar() on them. [Some linkers delete symbols which are
17605 never referenced. The space remains, but there's no way to
17606 get a (symbolic) handle on the variable from the debugger.]
17607
751a959b
EZ
176082000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17609
17610 * gdb.base/printcmds.c: Add typedeffed arrays.
17611
17612 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 17613 procedure to test arrays that are typedef'd.
751a959b 17614
73a93a32
JI
176152000-03-13 James Ingham <jingham@leda.cygnus.com>
17616
17617 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 17618 the library directories.
73a93a32 17619
fb40c209
AC
17620Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17621
17622 * configure.in (configdirs): Add sub directory gdb.mi.
17623 * configure: Re-generate.
17624
17625 * gdb.mi: New directory.
d63a86f8 17626
ee4dd2c9
AC
176272000-02-25 Scott Bambrough <scottb@netwinder.org>
17628
17629 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 17630 a long long value as a double on ARM platforms.
ee4dd2c9 17631
70f0cc22
JB
176322000-02-16 Jim Blandy <jimb@redhat.com>
17633
17634 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17635 default source file is set properly before running this test.
17636
853819b8
EZ
176372000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17638
17639 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 17640 gdbtk/library directory, not in gdbtcl2.
853819b8 17641
dfcd3bfb
JM
176422000-02-04 Jim Blandy <jimb@redhat.com>
17643
17644 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17645 backslash from regexp pattern.
17646
17647 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17648 procedure. Use it to run all the "continue to bp overloaded"
17649 tests. Note that this changes the names of the tests slightly.
17650 If the breakpoint hit message includes a hex PC value, because
17651 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17652 from the real source code, still consider that a pass.
17653
17654 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17655 XFAIL here if the breakpoint message contains a hex address. Note
17656 similar change on 1999-11-02.
17657
17658 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17659
17660 * gdb.base/ptype.exp: Establish a default source file before
17661 calling get_debug_format.
17662
176632000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17664
17665 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17666
8b93c638
JM
176672000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17668
17669 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17670 of successive stepi commands -- while in the prologue we should see
17671 the function entry bracket.
17672
176732000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17674
17675 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17676 reach __change_mode() when stepping through the end of main().
17677
c5394b80
JM
176782000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17679
17680 * gdb.base/default.exp: Fix expected pattern.
17681 * gdb.base/help.exp: Same.
17682
0d06e24b
JM
176832000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17684
17685 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 17686 Don't use xfail's because that affects only the following test.
d63a86f8 17687
0d06e24b 17688 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 17689 solaris or linux.
0d06e24b
JM
17690
17691 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17692
dc96c6c7 176932000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 17694
d63a86f8 17695 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
17696 "A syntax error" rather than "A parse error". Accept both.
17697
176982000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17699
17700 * gdb.base/default.exp: Remove OS dependent string from "target
17701 remote" test.
17702 * gdb.base/help.exp: Same for "help target remote" test.
17703
c3f6f71d
JM
177042000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17705
17706 From Jim Kingdon <kingdon@redhat.com>:
17707
17708 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
17709 prompt (cleanup rather than necessity, but still might keep output
17710 from spilling to next test).
c3f6f71d
JM
17711
177122000-01-02 Fred Fish <fnf@cygnus.com>
17713
17714 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17715 AIX, which defines them in <sys/types.h>.
17716
ed9a39eb 177171999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 17718
ed9a39eb 17719 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 17720 float" test.
ed9a39eb
JM
17721
177221999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 17723
ed9a39eb 17724 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
17725
17726 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17727 outermost frame disallowed".
17728
177291999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17730
17731 * gdb.base/setvar.exp: New tests for setting the value of a struct
17732 with a constant list.
17733
177341999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17735
17736 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17737 require the user to type a cast before setting the value of a struct.
17738
de57eccd
JM
177391999-12-06 Jim Blandy <jimb@cygnus.com>
17740
17741 * gdb.base/default.exp: Expect the new 'info float' command on
17742 all i386 platforms.
17743
17744 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17745 LinuxThreads libraries that don't support debugging.
17746
c2d11a7d
JM
17747Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17748
17749 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
17750 Change the buffer type to ``unsigned char'' to simplify size
17751 arithmetic.
c2d11a7d
JM
17752
17753 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
17754 stub only handles 400-1 byte packets. Verify that the download
17755 worked.
c2d11a7d
JM
17756
177571999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17758
17759 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17760 tests, using UNRESOLVED for the untested cases. Also, does not wait
17761 for a timeout if the prompt was received before a recognizable pattern.
17762
177631999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17764
17765 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17766
177671999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17768
17769 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 17770 watchpoints.
c2d11a7d
JM
17771
177721999-11-24 Jason Merrill <jason@casey.cygnus.com>
17773
17774 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17775
17776 * gdb.c++/local.exp: Be more flexible in recognizing local class
17777 name mangling. Don't allow horribly truncated method names.
17778 * gdb.c++/derivation.exp: Expect protected inheritance.
17779 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17780 * gdb.c++/virtfunc.exp: Likewise.
17781 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17782 when printing a nested enum.
17783
177841999-11-22 Jim Blandy <jimb@cygnus.com>
17785
17786 * gdb.base/step-test.exp: Properly await GDB's response to setting
17787 a breakpoint on the call to large_struct_by_value.
17788
17789 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17790 just because we have debug info for the `start' function.
17791
177921999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17793
17794 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17795 "Unknown signal" messages, which indicate (on LinuxThreads) that
17796 GDB doesn't know how to debug threads on this system. This is
17797 better than hanging while philosopher 0 dumps chatter into gdb.log.
17798
177991999-11-18 Tom Tromey <tromey@cygnus.com>
17800
17801 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17802
178031999-11-18 Fred Fish <fnf@cygnus.com>
17804
17805 * gdb.base/coremaker2.c: Add sample program for generating
17806 cores that is more self contained than coremaker.c. Eventually
17807 I'll add more code to this and tie it into the testsuite.
17808
4ce44c66
JM
178091999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17810
17811 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17812
178131999-11-10 Jimmy Guo <guo@cup.hp.com>
17814
17815 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 17816 from $srcdir/lib/.
4ce44c66 17817 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 17818 and gdb.c++/.
4ce44c66
JM
17819
17820 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17821
d63a86f8 17822 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
17823 'continue with watch' test point.
17824
178251999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17826
17827 Merged from p2linux-990323-branch:
d63a86f8 17828
4ce44c66
JM
17829 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17830
11cf8741
JM
17831Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17832
17833 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 17834 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
17835
17836Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17837
17838 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 17839 gdb_expect_list.
11cf8741
JM
17840
17841Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17842
17843 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17844
178451999-11-03 Mark Salter <msalter@cygnus.com>
17846
17847 * gdb.base/break.exp: Fix "stub continue" pattern.
17848
178491999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17850
17851 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17852
178531999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17854
17855 * gdb.base/display.exp ("finish"): Add timeout clause.
17856
17857 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17858 plain prompt clause, so this doesn't have to time out in order to
17859 fail.
17860
17861 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 17862 breakpoint hit messages include an address.
11cf8741
JM
17863
17864 * gdb.base/display.exp: Don't forget to escape parens in regular
17865 expressions. Unix regexp notatation sucks.
17866
178671999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17868
17869 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 17870 order for 'signalled' message.
11cf8741 17871
5c44784c
JM
178721999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17873
17874 From Jimmy Guo <guo@cup.hp.com>:
17875 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17876 * gdb.base/annota1.c: Add code for tests to work with.
17877
178781999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17879
17880 * gdb.base/remote.exp: New test for remote downloading settings.
17881 * gdb.base/remote.c: New file with large .data.
17882
917317f4
JM
178831999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17884
17885 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17886 for LinuxThreads support, merged from the Code Fusion branch.
17887
17888Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17889
17890 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
17891 containing exp_continue into a while within an expect. Don't
17892 attempt a start more than three times. Check return value from
17893 gdb_load.
d63a86f8 17894
2df3850c
JM
17895Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17896
17897 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 17898 a pass case.
2df3850c 17899
2acceee2
JM
179001999-10-01 Kevin Buettner <kevinb@cygnus.com>
17901
17902 * gdb.base/break.c (main): Added a statement that we can step
17903 off of.
17904 * gdb.base/break.exp: Added tests for setting a breakpoint
17905 at an offset and stepping onto a breakpoint.
17906
179071999-10-01 Fred Fish <fnf@cygnus.com>
17908
d63a86f8 17909 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
17910 gdb output.
17911
c2c6d25f
JM
179121999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17913
17914 * gdb.base/break.exp: Code locations are in hex, don't forget!
17915 (For HP-UX.)
17916
179171999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17918
17919 * condbreak.exp: Use break.c as test program.
17920 * condbreak.c: Remove, redundant with break.c.
17921
179221999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17923
17924 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 17925 Z-packets if the target needs it.
c2c6d25f
JM
17926
179271999-09-13 James Ingham <jingham@leda.cygnus.com>
17928
17929 * gdb.c++/overload.exp: Added tests for listing overloaded
17930 functions with function pointers in the arg, explicitly calling
17931 out the version you want.
17932
cff3e48b
JM
179331999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17934
17935 * long_long.exp: Add variations of test cases that work for
17936 targets with 16-bit ints and 32-bit doubles.
17937
d4f3574e
SS
179381999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17939
17940 * break.c (main): Compare a possibly-uninitialized argc with an
17941 unlikely value that fits in 16 bits.
17942
179431999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17944
17945 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17946 0xfeeb, don't want negative numbers if ints are 16 bits.
17947
17948 * lib/gdb.exp (skip_cplus_tests): New proc.
17949 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
17950 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17951 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17952 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17953 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17954 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17955 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17956 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
17957
17958 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17959
17960Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17961
17962 * gdb.base/corefile.exp (up): Allow a parameter to appear
17963 in the frame that we're going up to.
17964
17965 From Jim Blandy <jimb@cygnus.com>:
17966
17967 * gdb.base/default.exp (info float): Expect some output now.
17968
17969 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17970 returning floating-point values to fail on the x86.
17971 * gdb.base/callfwmall.exp (do_function_calls): Same.
17972
17973 * gdb.base/list.exp (test_listsize): Correct expectations for
17974 listing line 1 with listsize 2. Also, listing a single line
17975 works now, as does listing three lines. [Kevin's note: There
17976 were a number of other cases fixed too where the expectations
17977 differed...]
17978
179791999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17980
17981 * gdb.base/selftest.exp: Add case for when version prints as
17982 constant string instead of char pointer.
17983
104c1213
JM
179841999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17985
17986 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 17987 stepping out of main.
104c1213
JM
17988
17989 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17990 G++ used.
17991
17992 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 17993 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
17994
17995 * gdb.c++/ovldbreak.exp: Update match string in test that
17996 includes a warning of multiple breakpoints.
17997
179981999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17999
18000 * gdb.base/display.exp: Improve precision of step-after-finish
18001 added yesterday.
18002
18003 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 18004 test.
104c1213
JM
18005
18006 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18007 configs when using G++, not just hppa*.
18008
180091999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18010
18011 * gdb.base/async.c: New file.
18012 * gdb.base/async.exp: New file.
18013
18014Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18015
18016 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18017 PA64.
18018
53a5351d
JM
18019Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18020
104c1213
JM
18021 * gdb.base/display.exp: "finish" can leave us mid-line on many
18022 targets, deal with it. Add a small constant to main, instead of
18023 1000 since main+1000 may not be a valid address in the target.
18024
53a5351d
JM
18025 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18026 on hpux11.
18027
18028 * gdb.base/attach.exp: Handle another hpux11 error message variant
18029 when attaching to a process that does not exist.
18030
180311999-08-19 J.T. Conklin <jtc@redback.com>
18032
18033 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 18034 characters in 'continue to 1241' test.
53a5351d
JM
18035
180361999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18037
18038 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18039 stop in print_long_arg_list, define and use a whitespace
18040 variable in print_small_structs test, add an XFAIL for Solaris.
18041 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18042 interested enough to fix.
18043
7be570e7
JM
180441999-08-13 Keith Seitz <keiths@cygnus.com>
18045
18046 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18047 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18048 proc knows about targets other than the natives.
18049 (test_assign): Use "gdb_run_cmd" to "run" the target.
18050 Check that we've actually hit the breakpoint at main.
18051 When we attempt to assign a value to a local variable, check
18052 that the variable is in the current scope, i.e., don't use
18053 a test with an empty result.
18054
18055Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18056
18057 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 18058 command.
7be570e7
JM
18059
180601999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18061
18062 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18063 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18064 gdb.compat, gdb.threads-hp.
18065 gdb.hp/configure, gdb.hp/configure.in: New files.
18066 gdb.hp/Makefile.in: Recurse into new subdirs.
18067 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18068 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18069 in object files.
18070 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18071
96baa820
JM
180721999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18073
18074 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 18075 funky printf, remove a bogus p/a test.
96baa820
JM
18076
180771999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18078
18079 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
18080 connected to the target. This is necessary when running not
18081 natively.
96baa820
JM
18082
180831999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18084
18085 * gdb.base/step-test.exp: Removed some extraneous messages.
18086
18087 * gdb.base/long_long.exp: Don't run memory examination tests
18088 on little-endian targets (they will need a different set of
18089 results to match).
18090
180911999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18092
18093 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18094 until somebody decides to fix GDB.
18095
18096 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 18097 constant as "ULL".
96baa820
JM
18098 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18099 matches for a couple x/2 commands.
18100
a0b3c4fd
JM
181011999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18102
18103 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18104 by merging in ref-types2 tests.
18105 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18106
18107 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18108 * gdb.c++/Makefile.in: Add standard actions.
18109 (EXECUTABLES): Rename from PROGS, update list.
18110 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18111 from gdb.hp.
18112 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18113 foo and bar locals.
18114 * gdb.c++/anon-union.exp: Fix tests to match.
18115 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18116 expect matches to handle output variations.
18117 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18118 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 18119 output, add HP alternatives for new and delete prints.
a0b3c4fd 18120 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18121 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18122 * gdb.c++/demangle.exp: Use $style when reporting failure.
18123 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18124 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18125 match alternatives.
18126 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18127 compilers.
a0b3c4fd
JM
18128 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18129 * gdb.c++/method.exp: Add match alternatives.
18130 * gdb.c++/misc.cc: Add bool types.
18131 * gdb.c++/misc.exp: Add tests for bool types.
18132 * gdb.c++/overload.exp: Add xfails.
18133 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18134 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18135 add some more template parameter tests (only for HP currently).
18136 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18137 * gdb.c++/virtfunc.cc: Add return type and value for main.
18138 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18139 match alternatives.
d63a86f8 18140
a0b3c4fd
JM
181411999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18142
18143 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18144
181451999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18146
18147 * gdb.base/signals.exp: Don't expect getting a backtrace from
18148 within a signal handler to fail on Linux.
18149
181501999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18151
18152 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18153 * lib/gdb.exp: Remove some gratuitious semicolons.
18154 (delete_breakpoints): Increase timeout.
18155 (gdb_expect): Add -notransfer option.
18156 (gdb_test): Use -notransfer option.
18157 (get_compiler_info): Add f77 case.
18158 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18159 case.
a0b3c4fd
JM
18160 (gdb_preprocess): Call get_compiler.
18161
18162 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18163 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18164 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18165 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18166 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18167 third arg to gdb_test.
a0b3c4fd
JM
18168 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18169 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 18170 HP-UX xfails, add others.
a0b3c4fd
JM
18171 * gdb.base/completion.exp: Reflect name change of self-test.
18172 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
18173 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18174 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18175 HP failure number.
a0b3c4fd
JM
18176 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18177 useless HP-UX 10.30 references.
18178 * gdb.base/maint.exp: Loosen matches.
18179 * gdb.base/pointers.c (main): Declare more_code.
18180 * gdb.base/pointers.exp: Match on output of a `next'.
18181 * gdb.base/structs.c: Add prototypes.
18182 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18183 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18184
181851999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18186
18187 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 18188 command.
a0b3c4fd
JM
18189
181901999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18191
18192 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18193 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
18194
18195 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
18196 debug info. Deal with lack of signal hanlder info in stack.
18197
a9c64011 18198 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
18199 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18200
5a2468f5
JM
182011999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18202
18203 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 18204 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 18205
adf40b2e
JM
18206Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18207
18208 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 18209 a1-selftest.exp.
adf40b2e
JM
18210 * gdb.base/configure: Re-generate.
18211
182121999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18213
18214 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18215 in trying to run first and name is too long.
18216
18217 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18218 pointers2.c and pointers2.exp, respectively.
18219 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18220 doschk happier.
18221
43e526b9
JM
182221999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18223
18224 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18225 callfuncs2.c and callfuncs2.exp.
18226
18227 * gdb.base/list.exp: Remove mistaken xfails.
18228 * gdb.base/list0.h: Add optional prototypes.
18229
9846de1b
JM
18230Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18231
a9c64011 18232 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 18233 calling malloc.
a9c64011
AS
18234 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18235 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 18236 use.
9846de1b
JM
18237
182381999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18239
18240 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18241 * gdb.base/annota2.cc, annota2.exp: Move from here.
18242 * gdb.c++/annota2.cc, annota2.exp: To here.
18243 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18244
43ff13b4
JM
18245Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18246
18247 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 18248 a consistent format.
43ff13b4 18249
085dd6e6
JM
182501999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18251
18252 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18253 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18254 HP compilers, also set the globals $true and $false.
18255
18256 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
18257 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18258 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18259 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18260 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18261 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18262 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18263 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18264 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18265 whatis.c} Add C++ compatible function definitions and return
18266 types, add includes for library functions.
085dd6e6
JM
18267 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18268 * gdb.base/step-test.c (myglob): Rename from glob.
18269 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
18270 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18271 files, move here from gdb.hp.
085dd6e6 18272 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
18273 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18274 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18275 Adjust line numbers in regexps.
085dd6e6
JM
18276
18277 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18278 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18279 instead of 0/1.
18280
18281 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18282 foll-vfork.exp: New files, move here from gdb.hp.
18283 * gdb.base/page.exp: New file, test of pagination command.
18284
18285 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18286 recursion test.
18287 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18288
18289 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 18290 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
18291
18292 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 18293 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 18294 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 18295 watchpoint test.
085dd6e6
JM
18296 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18297 them work.
18298 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18299 expressions properly.
18300 * gdb.base/corefile.exp: Loosen the match slightly.
18301 * gdb.base/default.exp: Allow "Error accessing memory" message
18302 also.
18303 * gdb.base/display.exp: Skip over x/0 j if PA64.
18304 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18305 * gdb.base/interrupt.exp: Ditto.
18306 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18307 in use.
18308 * gdb.base/list.exp: Add xfails for HP-UX.
18309 * gdb.base/long_long.exp: Refine some of the numeric matches.
18310 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18311 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18312 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18313 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18314 * gdb.base/ptype.exp: Succeed on more varieties of output.
18315 * gdb.base/scope.exp: Add xfails for HP-UX.
18316 * gdb.base/sect-cmd.exp: Add more cases.
18317 * gdb.base/setvar.exp: Add xfails for HP-UX.
18318 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18319 * gdb.base/signals.exp: Match on void symbolically.
18320 * gdb.base/step-test.exp: Add case for PA64.
18321 * gdb.base/term.exp: Add exit and restart.
18322 * gdb.base/twice.exp: Clean up after self.
18323 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18324 * gdb.base/whatis.exp: Allow more ways to pass tests.
18325
18326 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 18327 no longer useful.
085dd6e6
JM
18328
18329Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18330
18331 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 18332 list of patterns.
085dd6e6 18333 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
18334 print_double_array(double_array)", "continuing to breakpoint
18335 1018", "print print_double_array(array_d)" and "continuing to
18336 1034" tests.
d63a86f8 18337
085dd6e6
JM
183381999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18339
a9c64011 18340 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
18341
183421999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18343
18344 * config/mt-*: Remove, these haven't been used since 1996.
18345
183461999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18347
18348 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 18349 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
18350 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18351
9e0b60a8
JM
183521999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18353
18354 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18355 simpler match case for the ptype of the big class.
18356
183571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18358
18359 * gdb.exp: Fix test for gdb_prompt existence.
18360
183611999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18362
18363 * gdb.exp (gdb_test): Add fail after calls to perror.
18364
183651999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18366
18367 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18368
183691999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18370
18371 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18372
0f71a2f6
JM
18373Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18374
18375 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 18376 malloc() is linked in.
0f71a2f6
JM
18377
183781999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18379
18380 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18381 step at end.
18382
18383 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18384
183851999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18386
18387 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18388
cce74817
JM
18389Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18390
18391 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18392 * gdb.base/mips_pro.exp: Likewise.
18393
183941999-06-02 Keith Seitz <keiths@cygnus.com>
18395
18396 * gdb.c++/templates.cc: Change all "new" operators to throw
18397 an exception.
18398 * gdb.c++/cplusfuncs.cc: Likewise.
18399
18400 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18401
18402Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18403
18404 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
18405 * gdb.base/ending-run.exp: When stepping out of main, accept a
18406 step into an arbitrary assembler file.
cce74817 18407
392a587b
JM
184081999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18409
d63a86f8 18410 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 18411 "breakpoint-invalid" to be printed.
d63a86f8 18412 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
18413 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18414 * gdb.base/annota2.cc: Initialize a.x to 0.
18415
9e086581
JM
184161999-05-17 Keith Seitz <keiths@cygnus.com>
18417
18418 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18419 when "skip_float_tests" set.
18420 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18421 "print print_ten_doubles", and "step into print_long_arg_list".
18422 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18423 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18424 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18425 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18426 "skip_float_tests" is set.
18427 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18428 when "skip_float_tests" set.
d63a86f8 18429
cd0fc7c3
SS
184301999-05-06 Keith Seitz <keiths@cygnus.com>
18431
18432 * gdb.base/annota2.cc: Include stdio.h.
18433
18434Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18435
18436 * gdb.base/crossload.exp: Remove, this has been disabled ever
18437 since BFD stopped including all targets, and cross-GDB gets
18438 plenty of testing anyway.
18439 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
18440 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18441 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
18442 * gdb.base/README: Remove, was doc for this.
18443 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 18444 needed.
cd0fc7c3 18445
b83266a0
SS
184461999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18447
18448 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18449 output.
18450
18451 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18452 * gdb.base/annota2.exp: New file. More annotation tests.
18453 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18454 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18455
184561999-04-23 Angela Marie Thomas <angela@cygnus.com>
18457
18458 * config/cfdbug.exp: New file.
18459
7a292a7a
SS
184601999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18461
18462 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18463 Marcus Daniel's and Dale Hawkins's demangler crashes.
18464
18465 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
18466 test_lucid_style_demangling, test_arm_style_demangling,
18467 test_hp_style_demangling): Try Tom Tromey's core-dumping
18468 identifier under each demangling style.
7a292a7a
SS
18469
184701999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18471
18472 * gdb.c++/demangle.exp: Include the current demangling style
18473 in all test names.
18474 (current_demangling_style): New global variable.
18475 (set_demangling_style, test_demangling_core, test_demangling,
18476 test_demangling_exact): New functions.
18477 (test_gnu_style_demangling, test_lucid_style_demangling,
18478 test_arm_style_demangling, test_hp_style_demangling): Use those,
18479 instead of calling gdb_test and gdb_test_exact directly.
18480 (catch_demangling_errors): New function, which reports errors
18481 signalled by the demangling test functions in an orderly way.
18482 (do_tests): Use catch_demangling_errors.
18483
184841999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18485
18486 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 18487 grouping in expressions, not {}.
7a292a7a
SS
18488
18489 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 18490 initialized yet.
7a292a7a
SS
18491
184921999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18493
18494 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18495 are listed.
18496
184971999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18498
18499 * gdb.stabs/weird.exp: Test for CC being defined before
18500 looking at its value.
18501
185021999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18503
18504 * gdb.base/call-ar-st.exp: Remove stray '#'.
18505 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18506 "short int" and "long int".
18507 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 18508 change, to mollify finicky HP compiler.
7a292a7a
SS
18509 * gdb.hp/reg-test.exp (testfile): Fix file name.
18510 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 18511
7a292a7a
SS
18512 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18513 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18514 alternate form of enum ptype.
18515
c906108c
SS
185161999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18517
7a292a7a
SS
18518 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18519 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
18520 passing skip_hp_tests, so as not to waste time on guaranteed
18521 failure.
7a292a7a 18522
c906108c
SS
18523 * gdb.c++/overload.cc: Pass string instead of char addr, always
18524 init ccpfoo.
18525 * gdb.c++/templates.cc: Fix syntax error.
18526
7a292a7a
SS
18527Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18528
18529 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 18530 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
18531 command.
18532
185331999-03-18 James Ingham <jingham@cygnus.com>
18534
18535 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18536
18537 * gdb.c++/method.exp: It was testing an uninitialized int on the
18538 stack and assuming it was positive.
18539
18540 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18541
18542 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 18543 keep it from killing the rest of the tests.
7a292a7a
SS
18544 Use gdb_continue_to_end.
18545
18546 * gdb.base/sigall.exp: use gdb_continue_to_end.
18547
18548 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18549
18550 * gdb.base/display.exp: use runto_main, not run.
18551
d63a86f8
RM
18552 * gdb.base/default.exp: Check for the current error message in the
18553 r abbreviation test.
7a292a7a
SS
18554 Add strongarm to the targets that know info float.
18555
d63a86f8 18556 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
18557 run which doesn't work with monitors.
18558
18559 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18560
18561 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18562
18563 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
18564 program. Traps the case (in Cygmon) when the program never really
18565 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
18566 more places, so I used my name. Sorry Mark...
18567
18568 * config/monitor.exp (gdb_target_monitor): added another
18569 target_info parameter: remotebinarydownload. This will set the
18570 remotebinarydownload flag if this is causing some boards trouble.
18571
185721999-03-18 Mark Salter <msalter@cygnus.com>
18573
18574 * lib/gdb.exp (continue_to_exit): New function.
18575
18576 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18577 * gdb.base/ending-run.exp: Ditto.
18578 * gdb.base/step-test.exp: Ditto.
18579
185801999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18581
18582 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18583 (suggested by Art Haas <ahaas@neosoft.com>).
18584
185851999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18586
889bf7c5 18587 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
18588
18589Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18590
18591 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 18592 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
18593
185941999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18595
18596 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18597 a call to strlen; sometimes we do have sources.
18598
185991999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
18600
18601 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 18602 character, so GDB won't print garbage after its end.
d63a86f8 18603
c906108c
SS
18604 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18605 breakpoint there instead. Sometimes GCC emits memcpy to handle
18606 the large structures being passed by value, so we step into that
18607 instead of sum_array_print, which obscures what we're really testing.
18608 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
18609 the bizarre steps into memcpy, so do that here. Add check for
18610 stepping into function calls that pass large structures by value.
18611 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
18612 Remove all references to specific line numbers.
18613 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18614 New type and function.
18615 (main): Call large_struct_by_value, passing it a large struct by value.
18616 * lib/gdb.exp (gdb_get_line_number): New function.
18617
18618 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18619 more portable.
18620
7a292a7a
SS
186211999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18622
c906108c
SS
18623 * lib/gdb.exp: Doc fixes.
18624
7a292a7a
SS
186251999-03-05 Nick Clifton <nickc@cygnus.com>
18626
d63a86f8 18627 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
18628
186291999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18630
c906108c 18631 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
18632 commands. They're not germane to this test, and they don't work
18633 that way on remote targets.
c906108c 18634
3fc11d3e
JM
186351999-03-01 James Ingham <jingham@cygnus.com>
18636
18637 * Changelog entries merged over from gdb development branch.
18638
3fc11d3e
JM
18639 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18640
18641 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18642 for outputting results of test run.
18643
2d4a1622 18644 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
18645
18646 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 18647
7a292a7a
SS
186481999-02-25 Felix Lee <flee@cygnus.com>
18649
18650 * lib/gdb.exp (debug_format): initialize
18651
c906108c
SS
186521999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18653
18654 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18655 * gdb.base/call-rt-st.c: Ditto.
18656
c906108c
SS
186571999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18658
18659 * gdb.threads/pthreads.exp (horiz): New variable.
18660 (test_startup): Fix regexps that capture thread numbers.
18661
186621999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18663
18664 * gdb.base/smoke.exp: Disambiguate two test case names (both
18665 called ``print'').
18666
18667Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18668
18669 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 18670 compilation.
c906108c
SS
18671
186721999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18673
18674 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18675 actual output formatting.
18676 * gdb.base/smoke.exp: GDB removes leading 0's.
18677 * gdb.base/volatile.exp: Don't check type of remuneration;
18678 that variable is no longer defined in constvars.c.
18679 * gdb.base/step-test.c (main): Exit with explicit exit code.
18680 * gdb.base/step-test.exp: Remove two nexti checks--they are
18681 not portable.
18682
186831999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18684
18685 * gdb.base/help.exp ("help delete display"): Fix test to match
18686 gdb's output.
18687
18688 * gdb.base/long_long.c (known_types): Initialize values to zero.
18689 * gdb.base/long_long.exp: Step one more line
18690 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
18691 leading zeros. Explicitly ask for hex formatting. Use
18692 unique test case names.
c906108c
SS
18693
18694Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18695
d63a86f8 18696 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
18697
18698 * gdb.c++/method.exp: Add missing close brace.
18699
187001999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18701
18702 * gdb.base/maint.exp: Use 'set height 0' to disable page
18703 prompting, not 'set height 400'.
18704
18705 Fix a bunch of timeouts.
18706 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18707 four separate tests, so expect doesn't take forever to match a ton
18708 of text against a regexp with lots of .* forms.
18709 ("maint print psymbols", "maint print symbols"): Make some of
18710 these greps more selective, so that expect doesn't try to wade
18711 through huge piles of output and time out.
18712
18713 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18714
18715 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
18716 tests: one which doesn't expect shlib events to be reported, and
18717 another which does, but is XFAIL for all platforms other than
18718 HP/UX.
c906108c
SS
18719
18720 * gdb.base/break.exp: Teach the test suite that the `catch
18721 fork', `catch vfork', and `catch exec' commands produce error
18722 messages on platforms that don't provide these features.
18723
18724Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18725
18726 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
18727 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18728 (shortening names from solib_threshold.exp etc), won't run on
18729 anything but HP-UX for the foreseeable future.
c906108c 18730 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 18731 reflect move.
c906108c
SS
18732
18733Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18734
18735 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 18736 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
18737
18738Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18739
18740 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18741 successfully re-sets breakpoints in shared libraries.
18742 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18743
18744Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18745
d63a86f8
RM
18746 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18747 and compiled w/o GCC.
c906108c
SS
18748
18749 * gdb.hp/watch-cmd.exp: ditto.
18750
18751 * gdb.hp/watch-hp.exp: ditto.
18752
18753 * gdb.hp/xdb1.exp: ditto.
18754
18755 * gdb.hp/xdb2.exp: ditto.
18756
18757 * gdb.hp/dbx.exp: ditto.
18758
18759Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18760
18761 * constvars.c: Remove C++-isms.
18762 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 18763 with GCC.
c906108c
SS
18764
18765Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18766
18767 The following changes are part of the HP merge.
18768
18769 * gdb.base/break.exp: new tests to verify that catchpoints for
18770 fork, vfork, and exec don't trigger inappropriately.
18771
18772 * gdb.base/opaque.exp: compile one file at a time, then link.
18773
18774 * gdb.base/signals.exp: be more restrictive about which hppa
18775 systems receive a setup_xfail. new tests.
18776
18777 * gdb.base/solib_threshold.build: new file.
18778 * gdb.base/solib_threshold.exp: new file.
18779 * gdb.base/solib_threshold.link_opts: new file.
18780 * gdb.base/solib_threshold.mk: new file.
18781 * gdb.base/gen_solib_threshold.c: new file.
18782
18783 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18784 tests. New tests for enums inside classes.
18785
18786 * gdb.c++/compiler.cc: indicate support of template debugging.
18787
18788 * gdb.c++/demangle.exp: run hp style demangling tests.
18789
18790 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18791 tests.
18792
18793 * gdb.c++/misc.cc: changes to support new tests.
18794
18795 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18796 to support new tests.
18797
18798 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18799 gcc, then skip these tests.
18800
18801Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18802
18803 The following files are part of the HP merge; some had longer
18804 names at HP, but have been renamed to be no more than 14
18805 characters in length.
18806
18807 * gdb.hp/ambiguous.cc: new file.
18808 * gdb.hp/ambiguous.exp: new file.
18809 * gdb.hp/attach.exp: new file.
18810 * gdb.hp/attach2.exp: new file.
18811 * gdb.hp/classes-hp.exp: new file.
18812 * gdb.hp/ctti.exp: new file.
18813 * gdb.hp/ctti-add.cc: new file.
18814 * gdb.hp/ctti-add1.cc: new file.
18815 * gdb.hp/ctti-add2.cc: new file.
18816 * gdb.hp/ctti-add3.cc: new file.
18817 * gdb.hp/dbx.exp: new file.
18818 * gdb.hp/exception.cc: new file.
18819 * gdb.hp/exception.exp: new file.
18820 * gdb.hp/foll-exec.c: new file.
18821 * gdb.hp/foll-exec.exp: new file.
18822 * gdb.hp/foll-fork.c: new file.
18823 * gdb.hp/foll-fork.exp: new file.
18824 * gdb.hp/foll-vfork.c: new file.
18825 * gdb.hp/foll-vfork.exp: new file.
18826 * gdb.hp/inherit-hp.exp: new file.
18827 * gdb.hp/more-steps.exp: new file.
18828 * gdb.hp/namespace.cc: new file.
18829 * gdb.hp/namespace.exp: new file.
18830 * gdb.hp/optimize.exp: new file.
18831 * gdb.hp/pxdb.c: new file.
18832 * gdb.hp/pxdb.exp: new file.
18833 * gdb.hp/quicksort.exp: new file.
18834 * gdb.hp/reg-test.exp: new file.
18835 * gdb.hp/reg-test.s: new file.
18836 * gdb.hp/sized-enum.c: new file.
18837 * gdb.hp/sized-enum.exp: new file.
18838 * gdb.hp/start-stop.exp: new file.
18839 * gdb.hp/templ-hp.cc: new file.
18840 * gdb.hp/templ-hp.exp: new file.
18841 * gdb.hp/thr-lib.c: new file.
18842 * gdb.hp/thr-lib.exp: new file.
18843 * gdb.hp/thr-lib.h: new file.
18844 * gdb.hp/thr-liblib.c: new file.
18845 * gdb.hp/virtfun-hp.c: new file.
18846 * gdb.hp/virtfun-hp.exp: new file.
18847 * gdb.hp/watch-cmd.exp: new file.
18848 * gdb.hp/watch-hp.exp: new file.
18849 * gdb.hp/xdb1.exp: new file.
18850 * gdb.hp/xdb2.exp: new file.
18851 * gdb.hp/xdb3.exp: new file.
18852
18853Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18854
18855 The following files are part of the HP merge; some had longer
18856 names at HP, but have been renamed to be no more than 14
18857 characters in length.
18858
18859 * gdb.base/ss.h: new file.
18860 * gdb.base/call-ar-st.c: new file.
18861 * gdb.base/call-ar-st.exp: new file.
18862 * gdb.base/call-rt-st.c: new file.
18863 * gdb.base/call-rt-st-exp: new file.
18864 * gdb.base/call-strs.exp: new file.
18865 * gdb.base/ena-dis-br.exp: new file.
18866 * gdb.base/environ.exp: new file.
18867 * gdb.base/long_long.exp: new file.
18868 * gdb.base/sect-cmd.exp: new file.
18869 * gdb.base/shlib-cl2.exp: new file.
18870 * gdb.base/smoke.exp: new file.
18871 * gdb.base/so-impl-ld.c: new file.
18872 * gdb.base/so-impl-ld.exp: new file.
18873 * gdb.base/so-indr-cl.c: new file.
18874 * gdb.base/so-indr-cl.exp: new file.
18875 * gdb.base/varargs.exp: new file.
18876 * gdb.base/volatile.exp: new file.
18877 * gdb.base/whatis-exp.exp: new file.
7a292a7a 18878 * gdb.base/display.exp: new file.
c906108c
SS
18879 * gdb.c++/derivation.exp: new file.
18880 * gdb.c++/local.exp: new file.
18881 * gdb.c++/member-ptr.exp: new file.
18882 * gdb.c++/overload.exp: new file.
18883 * gdb.c++/ovldbreak.exp: new file.
18884 * gdb.c++/ref-types.exp: new file.
18885 * gdb.c++/ref-types2.exp: new file.
18886 * gdb.c++/userdef.exp: new file.
d63a86f8 18887
c906108c
SS
18888Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18889
18890 * gdb.base/default.exp: Reflect wording change in remote.c.
18891
dc96c6c7 18892Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18893
18894 * gdb.base/help.exp: Update to reflect current text.
18895
18896Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18897
18898 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18899 they're stack variables and contain garbage.
18900 * gdb.c++/anon-union.exp: new file.
18901
18902 The following changes were made by David Taylor
889bf7c5
PA
18903 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18904 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18905 in changes by HP.
c906108c
SS
18906
18907 * gdb.base/bitops.exp: new file.
18908 * gdb.base/default.exp: change expected messages for catch and
18909 info catch tests to reflect HP merge changes.
18910 * gdb.base/enable-disable-break.exp
18911 * gdb.base/ending-run.c: new file.
18912 * gdb.base/long_long.c: new file.
18913 * gdb.base/maint.exp: new file.
18914 * gdb.base/pointers2.exp: new file.
18915 * gdb.base/shlib-call2.exp: new file.
18916 * gdb.base/solib.exp: new file.
18917 * gdb.base/step-test.c: new file.
18918 * gdb.c++/anon-union.cc: new file.
18919 * gdb.c++/local.cc: new file.
18920 * gdb.c++/member-pointer.cc: new file.
18921 * gdb.c++/method.cc: new file.
18922 * gdb.c++/ref-types.cc: new file.
18923 * gdb.c++/ref-types2.cc: new file.
18924 * gdb.c++/userdef.cc: new file.
d63a86f8 18925
c906108c
SS
18926 * gdb.base/scope.exp: compile one file at a time, then link.
18927 * gdb.base/langs.exp: ditto.
18928 * gdb.base/list.exp: ditto.
d63a86f8 18929
c906108c
SS
18930Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18931
18932 The following changes were made by David Taylor
889bf7c5
PA
18933 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18934 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18935 in changes by HP.
d63a86f8 18936
c906108c
SS
18937 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18938 skip tests. When compiling pass c++ flag to gdb_compile.
18939 * gdb.c++/
d63a86f8 18940
c906108c
SS
18941 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18942 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18943 (skip_hp_tests): new function.
18944 (gdb_preprocess): new function.
18945
18946 * configure.in (hpdir): decide whether to configure gdb.hp.
18947 * configure: regenerated.
18948
18949 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18950 to delete on clean.
18951 (EXECUTABLES): update to reflect new additions.
18952 * gdb.base/commands.exp: update message expected.
18953 * gdb.base/default.exp: add copyright notice.
18954 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18955 * gdb.base/help.exp: update messages to reflect current text.
18956 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18957 targets for recurse tests.
18958 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18959 skip this file.
18960
18961 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18962 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18963 compilation.
18964 * gdb.c++/misc.exp: ditto.
18965 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18966 run the tests. tell gdb_compile that it's a c++ compilation.
18967
18968 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 18969
c906108c
SS
18970 * gdb.base/all-bin.exp: new file.
18971 * gdb.base/arithmet.exp: new file.
18972 * gdb.base/assign.exp: new file.
18973 * gdb.base/completion.exp: new file.
18974 * gdb.base/cond-expr.exp: new file.
18975 * gdb.base/condbreak.exp: new file.
18976 * gdb.base/define.exp: new file.
18977 * gdb.base/dollar.exp: new file.
18978 * gdb.base/environment.exp: new file.
18979 * gdb.base/eval-skip.exp: new file.
18980 * gdb.base/jump.exp: new file.
18981 * gdb.base/logical.exp: new file.
18982 * gdb.base/pointers.exp: new file.
18983 * gdb.base/relational.exp: new file.
18984 * gdb.base/section_command.exp: new file.
18985 * gdb.base/whatis-expr.exp: new file.
18986
18987 * gdb.base/all-types.c: new file.
18988 * gdb.base/call-array-struct.c: new file.
18989 * gdb.base/call-return-struct.c: new file.
18990 * gdb.base/call-strings.c: new file.
18991 * gdb.base/callfuncs2.c: new file.
18992 * gdb.base/condbreak.c: new file.
18993 * gdb.base/constvars.c: new file.
18994 * gdb.base/display.c: new file.
18995 * gdb.base/int-type.c: new file.
18996 * gdb.base/jump.c: new file.
18997 * gdb.base/miscexprs.c: new file.
18998 * gdb.base/pointers.c: new file.
18999 * gdb.base/pointers2.c: new file.
19000 * gdb.base/shmain.c: new file.
19001 * gdb.base/shr1.c: new file.
19002 * gdb.base/shr2.c: new file.
19003 * gdb.base/solib.c: new file.
19004 * gdb.base/solib1.c: new file.
19005 * gdb.base/solib2.c: new file.
19006 * gdb.base/varargs.c: new file.
19007 * gdb.c++/derivation.cc: new file.
19008 * gdb.c++/overload.cc: new file.
19009 * gdb.c++/ovldbreak.cc: new file.
19010 * gdb.hp/attach.c: new file.
19011 * gdb.hp/attach2.c: new file.
19012 * gdb.hp/average.c: new file.
19013 * gdb.hp/compiler.c: new file.
19014 * gdb.hp/compiler.cc: new file.
19015 * gdb.hp/execd-program.c: new file.
19016 * gdb.hp/follow-exec.c: new file.
19017 * gdb.hp/follow-fork.c: new file.
19018 * gdb.hp/follow-vfork-and-exec.c: new file.
19019 * gdb.hp/misc-hp.cc: new file.
19020 * gdb.hp/more-steps.c: new file.
19021 * gdb.hp/optimize.c: new file.
19022 * gdb.hp/quicksort.c: new file.
19023 * gdb.hp/run-hp.c: new file.
19024 * gdb.hp/start-stop.c: new file.
19025 * gdb.hp/sum.c: new file.
19026 * gdb.hp/templates-hp.cc: new file.
19027 * gdb.hp/thread-local-in-lib.c: new file.
19028 * gdb.hp/thread-local-in-lib.h: new file.
19029 * gdb.hp/thread-local-in-lib.lib.c: new file.
19030 * gdb.hp/vforked-program.c: new file.
19031 * gdb.hp/virtfunc-hp.cc: new file.
19032 * gdb.hp/watchpoint-hp.c: new file.
19033 * gdb.hp/xdb.c: new file.
19034 * gdb.hp/xdb0.c: new file.
19035 * gdb.hp/xdb0.h: new file.
19036 * gdb.hp/xdb1.c: new file.
19037
19038Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19039
19040 The following change was made by Edith Epstein
889bf7c5
PA
19041 <eepstein@cygnus.com> as part of a project to merge in changes
19042 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
19043
19044 * gdb.c++/demangle.exp: changed the expected output for some
19045 ARM-style mangling -- removed second reference to datatype.
889bf7c5 19046 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 19047 T1<char>::~T1<char>(void)
c906108c 19048 becomes,
a9c64011
AS
19049 maint demangle __dt__11T1__pt__2_cFv
19050 T1<char>::~T1(void)
c906108c 19051
889bf7c5 19052 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 19053
c906108c
SS
19054Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19055
19056 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19057 * gdb.trace/backtrace.exp: Likewise.
19058 * gdb.trace/circ.exp: Likewise.
19059 * gdb.trace/collection.exp: Likewise.
19060 * gdb.trace/deltrace.exp: Likewise.
19061 * gdb.trace/infotrace.exp: Likewise.
19062 * gdb.trace/limits.exp: Likewise.
19063 * gdb.trace/packetlen.exp: Likewise.
19064 * gdb.trace/passc-dyn.exp: Likewise.
19065 * gdb.trace/passcount.exp: Likewise.
19066 * gdb.trace/report.exp: Likewise.
19067 * gdb.trace/save-trace.exp: Likewise.
19068 * gdb.trace/tfind.exp: Likewise.
19069 * gdb.trace/tracecmd.exp: Likewise.
19070 * gdb.trace/while-dyn.exp: Likewise.
19071 * gdb.trace/while-stepping.exp: Likewise.
19072
190731998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19074
19075 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19076
19077Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19078
19079 From Brendan Kehoe:
19080 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19081 int return types.
19082
19083Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19084
19085 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 19086 remote dos host testing right.
c906108c
SS
19087
19088Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19089
19090 * gdb.base/corefile.exp: remove some xfails.
19091
19092Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19093
19094 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 19095 have different timestamps.
c906108c
SS
19096
19097Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19098
19099 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 19100 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
19101
19102Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19103
19104 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 19105 delta.
c906108c
SS
19106
19107Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19108
19109 * gdb.base/default.exp: Add brace missing from previous delta.
19110
19111Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19112
19113 * gdb.base/default.exp: Support test for info float for all
19114 varieties of arm toolchain.
19115
dc96c6c7 19116Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19117
19118 * gdb.trace/*.exp: remove "remote_download" command.
19119
dc96c6c7 19120Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19121
19122 * gdb.trace/*.exp: remove -gdwarf from compile.
19123
19124Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19125
19126 * gdb.trace/configure.in(AC_INIT): typo
19127 * gdb.trace/configure: regenerated
19128
dc96c6c7 19129Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19130
19131 * config/m68k-emc.exp: New file.
19132 * lib/<emc-support.exp trace-support.exp}: New files.
19133 * configure.in: add new test directory gdb.trace.
19134 * gdb.trace/{configure configure.in Makefile.in}: New files.
19135 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19136 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19137 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19138 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19139 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19140 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19141 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19142
dc96c6c7 19143Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19144
19145 * gdb.c++/classes.exp: Change all regular expressions to match
19146 arbitrary combinations of newline/carriage-return, so that they
19147 will work equally well on Unix and Windows.
19148 * gdb.c++/inherit.exp: ditto.
19149 * gdb.c++/virtfunc.exp: ditto.
19150
191511998-08-11 Dawn Perchik <dawn@cygnus.com>
19152
19153 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19154
c2d11a7d
JM
19155Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19156
19157 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19158 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19159 to use a0-a3/d0-d3 as needed.
19160
19161Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19162
19163 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19164 * gdb.disasm/am33.exp: Corresponding changes.
19165
c906108c
SS
191661998-07-11 Felix Lee <flee@cygnus.com>
19167
19168 * gdb.base/callfuncs.exp: add cmp10 test.
19169 * gdb.base/callfuncs.c (cmp10): new function.
19170
19171Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19172
d63a86f8 19173 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
19174 into two parts to get around a synchronization problem in expect.
19175
3fc11d3e
JM
19176Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19177
19178 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19179
19180 * configure.in: Add options for gdbtk testsuite.
19181
19182 * configure: Regenerate.
19183
19184 * gdb.gdbtk: New directory to hold gdbtk tests.
19185
c906108c
SS
19186Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19187
19188 * gdb.fortran/types.exp: Escape brackets in expect patterns
19189 for test_float_literal_types_accepted tests.
19190 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19191 before run test.
19192
c2d11a7d
JM
19193Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19194
19195 * am33.exp: Just compile, do not link the testcase.
19196 * am33.s: Add ".am33" pseudoop to force am33 mode.
19197
c906108c
SS
191981998-06-25 Felix Lee <flee@cygnus.com>
19199
19200 * gdb.base/setshow.exp: make sure $pc is sane.
19201
19202 * gdb.stabs/weird.exp: split expect patterns properly.
19203
c2d11a7d
JM
19204Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19205
19206 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19207 * gdb.disasm/am33.exp: Run it.
19208
dc96c6c7 19209Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19210
19211 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19212 match processing (and eliminate spurious timeouts when running).
19213
dc96c6c7 19214Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19215
19216 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19217 exception test, but conditionalize it on target [mach | gnu].
19218
dc96c6c7 19219Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19220
19221 * gdb.base/overlays.exp: fixup compile line for linker script.
19222
19223Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19224
19225 * gdb.fortran/types.exp: don't guess at float size.
19226
19227Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19228
19229 * gdb.base/exprs.exp: delete test that depends on int size.
19230
19231Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19232
19233 * config/sim.exp: Removed checks for target triplets.
19234 (gdb_target_sim): Use gdb,target_sim_options.
19235
19236Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19237
19238 * gdb.base/reread.exp: New file.
19239 * gdb.base/reread1.c: New file.
19240 * gdb.base/reread2.c: New file.
19241
19242Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19243
19244 * config/sim.exp: Use 'target sim -sparclite' when running
19245 SPARClite programs.
19246
19247Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19248
19249 * gdb.base/structs2.exp: New file.
19250 * gdb.base/structs2.c: New file.
19251
19252Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19253
19254 * gdb.asm/common.inc: New file.
19255 * gdb.asm/d10v.inc: New file.
19256 * asm-source.exp: Pass -I's to gas to find .inc files.
19257 Update line numbers in expected output.
19258 * asmsrc1.s: Rewrite.
19259 * asmsrc2.s: Rewrite.
19260 * configure.in: Create arch.inc symlink.
19261 * configure: Regenerate.
19262 * Makefile.in (distclean): Delete arch.inc.
19263
19264Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19265
19266 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
19267 (t_enum_value2): ditto
19268 (t_enum_value3): ditto
19269 (main): ditto
c906108c
SS
19270Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19271
19272 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19273 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19274 change.
19275 Use gdb_test instead of send_gdb/gdb_expect sequences.
19276
19277Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19278
19279 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19280 not void.
19281
19282Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19283
19284 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
19285 subroutines. Used to test gdbs ability to single step through PC
19286 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
19287
19288Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19289
19290 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19291 more rigorous EGCS C++ error checking.
19292
19293Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19294
a9c64011
AS
19295 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19296 tests.
19297 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19298 function when asleep.
19299 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19300 for i*86 Linux and SVR4 signal handling problems.
19301 Remove linux xfail for `next to handler in signals_tests_1', fixed
19302 by recent infrun.c change.
19303 Limit backtrace to 10 frames to avoid timeout problems with infinite
19304 stack backtraces.
19305 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19306 target.[ch] change.
c906108c
SS
19307
19308Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19309
19310 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19311 for a newline from gdb before continuing.
19312 (default_gdb_exit): Just look for y or n.
19313 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19314 it does, fail the rests of the tests in the file.
19315
19316Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19317
19318 * config/cygmon.exp: New file.
19319
19320Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19321
19322 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 19323 main" test on remote targets.
c906108c
SS
19324
19325 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19326 run test on remote targets.
19327
19328Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19329
19330 * gdb.asm: New directory.
19331 * configure.in: Configure it.
19332 * configure: Regenerate.
19333 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19334 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19335
19336Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19337
19338 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19339
dc96c6c7 19340Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19341
a9c64011
AS
19342 * gdb.base/overlays (several files): Merge the two overlay
19343 managers into one. Change variables (foox, barx, bazx, grbxx)
19344 back into ints but force them to load in their proper sections.
c906108c
SS
19345
19346Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19347
19348 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 19349 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
19350 (D10VCopy): Handle memory regions crossing 16k boundaries.
19351 (D10VCopy): Transfer data in 32 bit chunks.
19352
19353Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19354
19355 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 19356 correct.
c906108c
SS
19357
19358 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 19359 map. Include space for printf in .text segment.
c906108c
SS
19360
19361 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 19362 updated d10v memory VMA/LMA map.
c906108c 19363 (D10VCopy): Call D10VTranslate.
d63a86f8 19364
c906108c
SS
19365Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19366
19367 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19368
19369 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
19370 that it won't be put into the .sdata - small data -
19371 section. Update reference.
c906108c
SS
19372 * gdb.base/baz.c (bazx, baz): Ditto.
19373 * gdb.base/foo.c (foox, foo): Ditto.
19374 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19375
19376 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 19377 to be arrays.
d63a86f8 19378
dc96c6c7 19379Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19380
a9c64011
AS
19381 * gdb.base/overlays.exp: fix up and get working again.
19382 Add tests for backtraces from an overlay function.
d63a86f8 19383
c906108c
SS
19384Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19385
19386 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19387 "calling function with watchpoint enabled".
19388
19389Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19390
19391 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 19392 gdb_suppress_tests for d10v-*-*.
c906108c
SS
19393 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19394 pending review of whether it is useful or not.
19395
19396Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19397
19398 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19399
19400Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19401
19402 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19403 * config/dve.exp: New file to support Densan boards.
19404
19405Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19406
19407 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 19408 reads and BSD.
c906108c
SS
19409
19410Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19411
19412 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19413 response.
19414
19415 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19416
19417Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19418
19419 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 19420 test.
c906108c
SS
19421
19422 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 19423 target_sizeof_long and target_bigendian_p.
c906108c 19424 (structs_by_value, structs_by_reference): Check values according
889bf7c5 19425 to targets word size and endianess.
d63a86f8 19426
c906108c
SS
19427Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19428
19429 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 19430 output.
c906108c
SS
19431
19432Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19433
19434 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 19435 Update test of set args help to match source change.
c906108c
SS
19436
19437Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19438
19439 * gdb.base/default.exp: Expect help system output to be in
19440 alphabetical order.
19441 * gdb.base/help.exp: Ditto.
19442
19443Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19444
19445 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19446 "i*86-pc-linux-gnu*".
19447 * gdb.base/interrupt.exp: Ditto.
19448 * gdb.base/corefile.exp: Ditto.
19449
19450 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 19451 define vxworks when building the testcase.
c906108c
SS
19452
19453 * gdb.base/ptype.exp: Fix testnames to be unique.
19454 * gdb.base/radix.exp: Ditto.
19455 * gdb.base/term.exp: Ditto.
19456 * gdb.base/whatis.exp: Ditto.
19457 * gdb.c++/classes.exp: Ditto.
19458
19459Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19460
19461 * gdb.base/callfuncs.exp: Fix indentation.
19462
19463 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19464 suppress_flag has been set.
19465 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19466 target feature.
19467
19468Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19469
19470 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19471 the testcase.
19472
19473 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 19474 set_debug_traps() and breakpoint().
c906108c
SS
19475 * gdb.c++/misc.cc (main): Ditto.
19476 * gdb.c++/templates.cc (main): Ditto.
19477 * gdb.c++/virtfunc.cc (main): Ditto.
19478
19479Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19480
19481 * lib/gdb.exp(gdb_step_for_stub): New function.
19482 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19483 exists, reload the executable and do a "continue" instead of
19484 doing a jump.
19485 (runto_main): Use gdb_step_for_stub.
d63a86f8 19486
c906108c 19487 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 19488 tests to have unique names.
c906108c
SS
19489 * gdb.base/callfuncs.exp: Ditto.
19490 * gdb.base/commands.exp: Ditto.
19491 * gdb.base/default.exp: Ditto.
19492 * gdb.base/help.exp: Ditto.
19493 * gdb.base/list.exp: Ditto.
19494 * gdb.base/opaque.exp: Ditto.
19495 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19496 similar tests.
d63a86f8 19497
c906108c
SS
19498 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19499 * gdb.c++/cplusfuncs.cc: Ditto.
19500 * gdb.c++/virtfunc.cc: Ditto.
19501
19502 * config/monitor.exp: Keep track of the last file we saw, rather
19503 than trying to get the info from gdb.
19504
19505 * gdb.fortran/types.exp: Move comment to previous line.
19506
19507Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19508
19509 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 19510 target mode.
c906108c
SS
19511
19512Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19513
19514 From Bob Manson:
19515 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 19516 string from GDB when it connects.
c906108c
SS
19517
19518 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19519
19520Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19521
19522 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
19523 if we can't get a debug format from GDB (we may be testing an
19524 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
19525
19526 * gdb.stabs/weird.exp: Fix quoting.
19527
19528 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19529
19530Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19531
19532 * config/arm-ice.exp: New file.
19533
19534Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19535
19536 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 19537 until it has been modified to work with the new testsuite.
c906108c 19538
99707966 19539 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
19540 testcase won't compile, cause all of the testcases in the file to
19541 fail instead.
c906108c
SS
19542
19543 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19544 (gdb_clear_suppressed): New procedure.
19545 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19546 it contains a positive value.
19547
19548Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19549
19550 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19551
19552 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19553
19554Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19555
19556 * lib/gdb.exp (setup_xfail_format): New function.
19557 (get_debug_format): New function to get debug format.
19558 (debug_format): New global variable to hold last value set
19559 by get_debug_format.
19560 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 19561 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
19562 * gdb.c++/ptype.exp: Ditto.
19563 * gdb.c++/classes.exp: Ditto.
19564 * gdb.c++/cplusfuncs.exp: Ditto.
19565 * gdb.c++/inherit.exp: Ditto.
19566 * gdb.c++/templates.exp: Ditto.
19567 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 19568
c906108c
SS
19569Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19570
19571 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19572 host doesn't have a currently-open connection.
19573
19574 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
19575 any gdb stub target. Handle cases where gdb doesn't respond when
19576 interrupted in a sane fashion.
c906108c
SS
19577
19578 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 19579 same thing in a totally different way.
c906108c
SS
19580
19581 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 19582 setting "timeout".
c906108c 19583 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 19584 default_gdb_init now.
c906108c
SS
19585
19586Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19587
19588 * gdb.base/printcmds.exp: Fix "check for floating addition"
19589 regexp to accept results within approx +/- .01 of exact value.
19590 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19591
19592Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19593
19594 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 19595 properly.
c906108c
SS
19596 (gdb_expect): Add optional timeout parameter, and add timeout
19597 value to various calls.
19598 (gdb_suppress_tests): Only give one warning message per group.
19599
19600Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19601
19602 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
19603 global variables. Handle getting a value for $timeout more
19604 gracefully.
c906108c
SS
19605
19606Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19607
19608 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 19609 initialize.
c906108c 19610 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 19611 by a target configuration file.
c906108c
SS
19612 (gdb_expect): Pass the timeout to remote_expect.
19613
19614 * config/monitor.exp(gdb_load): Fix typo in regexp.
19615
19616Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19617
19618 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19619
19620Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19621
19622 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
19623 here. Call gdb_target_exec before rebooting the target, to make
19624 sure the connection to the target is closed.
c906108c
SS
19625 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19626 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19627 Also detect "Timeout reading from remote" error.
19628
19629 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
19630 gdb_target_monitor. Don't call gdb_file_cmd here; let
19631 gdb_target_monitor do it.
c906108c
SS
19632
19633 * gdb.disasm/hppa.exp: Don't use exec_output.
19634
19635Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19636
19637 * gdb.base/list.exp: If we're debugging a non-native target,
19638 try to set the pc register to point to the start of the
19639 program before doing the first list command.
19640
19641 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 19642 test_calls after restarting.
c906108c
SS
19643
19644 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 19645 reloading.
c906108c
SS
19646
19647 * gdb.base/watchpoint.exp: Fix typo.
19648
19649 * gdb.base/setshow.exp: Check for use_gdb_stub.
19650
19651 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 19652 stub case.
c906108c
SS
19653 * gdb.base/langs.exp: Ditto.
19654
19655 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
19656 gdb_load_offset. If we weren't given a file to load, figure out
19657 what the current file is and use it.
c906108c
SS
19658
19659 * config/i386-bozo.exp: New file.
19660
19661Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19662
19663 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19664 feature.
19665
19666 * config/proelf.exp: New entry.
19667
19668Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19669
19670 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19671 of regexps.
19672
19673 * gdb.base/watchpoint.exp: Don't run the test_stepping
19674 tests if gdb can't call functions on the target.
19675
19676 * gdb.base/setshow.exp: Don't run the set prompt tests if
19677 the board has gdb_prompt set.
19678
19679Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19680
19681 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19682 * gdb.base/commands.exp: Likewise.
19683 * gdb.base/setshow.exp: Likewise.
19684
19685Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19686
19687 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19688 feature.
19689
19690 * config/i960.exp: New file.
19691
19692Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19693
19694 * gdb.base/funcargs.exp: Check for gdb,short_int target
19695 feature instead of looking for explicit target triplets.
19696
dc96c6c7 19697Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 19698
d63a86f8 19699 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
19700 "p 123DEADBEEF", to check parse_number.
19701 * top.c: change "to enable to enable" to "to enable" in a couple
19702 of help strings.
19703
19704Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19705
19706 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19707 on the mn10300.
d63a86f8 19708
c906108c
SS
19709Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19710
19711 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19712 where the test executable is run with explicit args.
19713 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19714
19715Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19716
19717 * gdb.base/run.c: Use FAKEARGV to build test executable that
19718 does not require a command line arg, since most simulators
19719 don't currently support passing such an arg into the simulated
19720 program.
19721 * gdb.base/commands.exp: Change tests to insert the proper
19722 value as the arg to the first recursive factorial call. Change
19723 compilation line to define FAKEARGV at compile time.
19724
19725Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19726
19727 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19728 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19729 function with watchpoint enabled" test.
19730
19731Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19732
19733 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 19734 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
19735
19736 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 19737 "Tests restarted" messages.
c906108c
SS
19738
19739Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19740
19741 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19742
dc96c6c7 19743Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19744
19745 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19746 for INFO SYMBOL; add help tests for OVERLAY commands.
19747 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19748 add tests for OVERLAY commands
19749 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19750 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19751 * gdb.base/sigall.c: add usestubs code frag
19752 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 19753
c906108c
SS
19754Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19755
19756 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19757 failures.
19758 (gdb_stop_suppressing_tests): Note that tests have restarted.
19759
19760Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19761
19762 * config/h8300.exp: New file.
19763
19764Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19765
19766 * gdb.base/setshow.exp: Check for the existence of a
19767 feature, not its value.
19768
19769Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19770
19771 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19772
19773 * gdb.base/scope.exp: It's now init0(), not init().
19774
19775 * gdb.base/scope0.c: For now, change init() to be init0().
19776
19777 * config/monitor.exp: Use gdb_serial in preference to serial
19778 or netport.
19779
19780 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 19781 and it's not already set.
c906108c
SS
19782
19783Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19784
19785 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 19786 isn't using a stub and if it supports argument passing.
c906108c
SS
19787
19788Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19789
19790 * config/udi.exp(gdb_start): Make sure UDICONF is set
19791 properly before starting gdb.
19792
19793Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19794
19795 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19796 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19797 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19798
19799Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19800
19801 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 19802 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
19803
19804 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19805
19806 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19807
19808 * config/monitor.exp: Make sure we disconnect from the target.
19809 Also, try a reboot/reload cycle instead of failing if the
19810 load fails.
19811
19812Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19813
19814 * gdb.base/default.exp: Don't set match_max.
19815 * gdb.base/help.exp: Ditto.
19816 * gdb.base/list.exp: Ditto.
19817 * gdb.base/signals.exp: Ditto.
19818
19819 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19820 set, use remote_ld to download the testcase instead of
19821 the GDB loader.
19822
19823Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19824
19825 * config/vr5000.exp: New file.
19826
19827 * config/monitor.exp(gdb_target_monitor): Add pattern for
19828 "Ending remote" to detect errors in connecting.
19829
19830 * gdb.base/setshow.exp: Add .* within auto language test.
19831
19832 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19833 target feature.
19834
19835 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 19836 and reboot the board if necessary.
c906108c
SS
19837
19838 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19839 a set of tests. Remove print.* from the patterns being checked.
19840
19841Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19842
19843 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19844 refer to gdb_spawn_id.
19845
19846 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19847 longer used.
19848 * config/sparclet.exp: Ditto.
19849 * config/sparclet-old.exp: Ditto.
19850 * config/slite.exp: Ditto.
19851 * config/sim.exp: Ditto.
19852 * gdb.base/funcargs.exp: Ditto.
19853
19854 * lib/gdb.exp:Remove references to gdb_spawn_id.
19855 (gdb_expect): Move to remote.exp.
19856
19857Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19858
19859 * config/monitor.exp: Detect the "Couldn't establish connection"
19860 message from GDB.
19861
19862Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19863
19864 * gdb.base/bitfields.exp: Use runto instead of explicit
19865 gdb_run_cmd/gdb_expect sequences.
19866
19867 * gdb.base/break.exp(text_next_with_recursion): Add match for
19868 gdb_expect call.
19869
19870 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19871 We also need to handle the "A program is being debugged already"
19872 prompt from gdb. Use gdb_test to set the baud rate.
19873
19874 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19875 to 20000. Really. I mean it.
19876
19877Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19878
19879 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
19880 fails. If suppress_flag is set, skip perror message about not
19881 being able to send to GDB.
c906108c 19882 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 19883 GDB.
c906108c
SS
19884 (gdb_expect): If suppress_flag is set, always fail immediately.
19885 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19886 (gdb_init): Call gdb_stop_suppressing_tests.
19887 (default_gdb_exit): Ditto.
19888 (default_gdb_start): Ditto.
19889
19890 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 19891 gdb_stop_suppressing_tests as appropriate.
c906108c 19892 * gdb.base/break.exp: Ditto.
889bf7c5 19893 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
19894 * gdb.base/commands.exp: Ditto.
19895 * gdb.base/exprs.exp: Ditto.
889bf7c5 19896 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
19897 * gdb.base/list.exp: Ditto.
19898 * gdb.base/recurse.exp: Ditto.
889bf7c5 19899 * gdb.base/scope.exp: Ditto.
c906108c
SS
19900 * gdb.base/structs.exp: Ditto.
19901 * gdb.c++/inherit.exp: Ditto.
19902
19903Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19904
19905 * config/vr4300.exp: New file.
19906
99707966 19907 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 19908
99707966 19909 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
19910
19911Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19912
19913 * lib/gdb.exp(gdb_init): New function.
19914
19915 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 19916 for each individual variable set.
c906108c
SS
19917
19918 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19919 name.
19920
19921 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19922
19923 * gdb.base/scope.exp: Use gdb_test.
19924
19925 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19926 aborting; the testsuite driver will do that for us (see
19927 gdb_finish). Also, use gdb_test in a few more places.
19928
19929Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19930
19931 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19932
19933Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19934
19935 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19936 and "add_tests" are not at the same address.
19937
19938Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19939
19940 * gdb.base/ptype.exp: Use gdb_test.
19941
19942Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19943
19944 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19945 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19946 left in. No longer expect them to fail.
19947
19948 * gdb.stabs/*.mt; Deleted, no longer used.
19949 * gdb.stabs/configure.in: Remove references to target makefile
19950 frags.
19951 * gdb.stabs/configure: Rebuilt.
19952
19953 * gdb.disasm/*.mt: Deleted, no longer used.
19954 * gdb.disasm/configure.in: Remove references to target makefile
19955 frags. Use "sh3.s" as the unique filename for this directory.
19956 * gdb.disasm/configure: Rebuilt.
19957
19958 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19959 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19960 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19961
19962Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19963
19964 * config/udi.exp: Use mondfe,name instead of remote_host.
19965
19966Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19967
19968 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19969 a function with a watchpoint enabled on the mn10200.
19970
19971 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19972 before trying to create it!
19973
19974Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19975
19976 * config/vx.exp: Use hostname instead of netport.
19977
19978 * config/vxworks.exp: New file.
19979
19980 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19981
19982 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 19983 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
19984 occurs.
19985
19986 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19987 $gdb_spawn_id directly.
19988 (gdb_run_cmd): Try _start as well as start. Use the target feature
19989 gdb,start_symbol as the symbol to start from when jumping.
19990
19991Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19992
19993 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19994 redundant) test.
19995
19996 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19997 it doesn't lose for 16bit integer systems.
19998
19999Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20000
20001 * gdb.fortran/types.exp: If the target doesn't support "double"
20002 data types, then expect "real" types to only be 4 bytes.
20003
20004 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20005 call tests if the target doesn't support inferior function calls.
20006
20007 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20008 in printf tests.
20009
20010Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20011
20012 * gdb.base/help.exp: Disable "help set", "help show", and
20013 "help support". Simplify regexp for "help stack".
20014
20015 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20016 to 60 seconds. Temporarily set match_max to 15000 around the
20017 "info copying" test.
20018
20019 * gdb.base/nodebug.exp: Don't try to do an inferior function
20020 call if the target doesn't support them.
20021 * gdb.base/printcmds.exp: Likewise.
20022 * gdb.base/setvar.exp: Likewise.
20023 * gdb.base/structs.exp: Likewise.
20024 * gdb.c++/templates.exp: Likewise.
20025 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20026
20027 * gdb.base/recurse.exp: Enable for the mn10200.
20028
20029 * configure.in: Do configure gdb.stabs directory for *-*-elf
20030 targets.
20031 * configure: Rebuilt.
20032
20033 * gdb.base/break.exp: Check for gdb,noresults before testing
20034 exit status and/or results from the target.
20035 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20036 * lib/gdb.exp: Remove old (now bogus) initialization of
20037 noinferior, noargs, noresults and nosignals.
20038
20039Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20040
20041 * config/sh.exp: New file.
20042
20043 * config/slite.exp: Try to connect multiple times to the board
20044 before rebooting. Only send a "monitor run" if need_monitor_run
20045 is set.
20046
20047 * gdb.base/break.exp: Don't do the "stub continue" test if
20048 the target has gdb_stub set.
20049
20050 * gdb.base/callfuncs.exp: Increase the timeout.
20051
20052 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20053 if the target has gdb,noinferiorio set.
20054
20055 * gdb.base/list.exp: Increase match_max to 10000 characters.
20056
20057 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20058
20059 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20060 target.
20061
20062 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20063
20064Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20065
20066 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
20067 trying to delete the copy of gdb. Catch the file delete so we
20068 don't die if the delete fails; also, the file should be copied to
20069 the host, not to the build.
c906108c
SS
20070
20071Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20072
20073 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 20074 parenthesis in case it contains multiple regexps separated
c906108c
SS
20075 with |.
20076
20077 * gdb.base/watchpoint.exp: Use gdb_test.
20078 * gdb.base/default.exp: Ditto.
20079
20080Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20081
99707966 20082 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 20083
c906108c
SS
20084 * gdb.base/scope.exp: Use gdb_test.
20085 * gdb.c++/classes.exp: Ditto.
20086 * gdb.c++/inherit.exp: Ditto.
20087
20088Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20089
20090 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20091 remote_exec instead.
20092 * gdb.base/corefile.exp: Don't be ridiculous.
20093 * gdb.base/*.c: Add missing stub invocations.
20094
20095Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20096
20097 * config/slite.exp: Miscellaneous fixes.
20098
20099 * lib/gdb.exp: Fix runto.
20100
20101 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20102 the target.
20103
20104 * gdb.base/watchpoint.exp: Fix regexp.
20105
20106 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20107 close and wait commands, as the descriptor may now be
20108 invalid. Always call "remote_close host".
20109
20110Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20111
20112 Major rewrite for testsuite revision.
d63a86f8 20113
c906108c
SS
20114 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20115 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20116 instead of relying on spawn_id to always contain a valid
20117 spawn id.
20118 (get_compiler_info): New procedure to build the ${binfile}.ci
20119 file, instead of replicating this in N different places.
20120 (gdb_compile): New procedure.
d63a86f8 20121
c906108c 20122 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20123 appropriate arguments) instead of compile. Use gdb_test in a lot
20124 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20125 at the start of a testcase, as this is no longer done magically.
20126
20127 config/*-gdb.exp: Rename without the -gdb suffix.
20128
20129 config/mips.exp: Use remote_close instead of exit_remote_shell.
20130 config/monitor.exp: Use target_info instead of looking at
20131 baud, timeout, etc.
20132 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20133
20134Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20135
20136 * gdb.c++/templates.exp (test_ptype_of_templates),
20137 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20138 Update expect patterns for destructors and assignment operators
20139 to match corresponding c-typeprint.c changes.
20140 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20141 to destructor breakpoint test, GDB should be able to set the
20142 destructor breakpoint without specifying arguments.
20143
20144Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20145
20146 * gdb.threads/pthreads.exp: Change result for failure to compile due
20147 to lack of pthreads runtime support from an error to simply an
20148 unsupported test, per dejagnu standards.
20149
20150Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20151
20152 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20153 where GDB exits to reduce pattern match time.
20154 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20155
20156 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20157
dc96c6c7 20158Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20159
20160 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20161 * gdb.base/default.exp: ditto.
20162 * gdb.base/nodebug.exp: ditto.
20163 * gdb.base/printcmds.exp: ditto.
20164 * gdb.base/ptype.exp: ditto.
20165 * gdb.base/setvar.exp: ditto.
20166 * gdb.base/structs.exp: ditto.
20167 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20168
20169Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20170
20171 * configure, */configure: Rebuild with autoconf 2.12.
20172
20173Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20174
20175 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20176 use new i*86-pc-linux*-gnu quads.
20177 * gdb.base/corefile.exp: Ditto.
20178 * gdb.base/signals.exp: Ditto.
20179 * gdb.base/sigall.exp: Ditto.
20180 * gdb.base/interrupt.exp: Ditto.
20181
20182 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20183 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20184 RedHat 4.0.
d63a86f8 20185
c906108c 20186 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
20187 linux. This allows the test case to at least compile on latest
20188 linux, but still not run due to missing the threads runtime library.
c906108c
SS
20189
20190Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20191
20192 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20193 directory to search gdb directory. Accept and step over conditional
20194 stack alignment code. Consume $prompt in failure cases.
20195 Reset timeout to $oldtimeout instead of some arbitrary value.
20196 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20197 timeout problems with infinite stack backtraces.
20198 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20199 Accept function parameters for linkfunc member.
20200
20201Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20202
20203 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20204 (CXXFLAGS): Remove, unreferenced.
20205 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
20206 previous -B options and also add -B option to pick up cross compiled
20207 runtime.
c906108c
SS
20208 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20209 doing cross compiles.
20210 (target_alias): Declare global.
20211 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20212 to verify that gcc exists in build tree, and if so set CC to that
20213 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 20214
c906108c
SS
20215Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20216
20217 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20218 ptype test for anonymous union. Fixup testcase to match
20219 current gcc debug output.
20220
20221Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20222
20223 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20224 force argument to an unsigned long type.
20225
20226Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20227
20228 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 20229 tests and anonymous union print/ptype tests.
c906108c
SS
20230 * gdb.base/list.exp (test_forward-search): Increase timeout by
20231 5 minutes for the "search extremely long line" case.
20232 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20233 completely optional and that the pass/fail messages use the command as
20234 the message if that third arg is a null string.
20235 (gdb_test_exact): Arrange that a null string pattern means match a
20236 null string output rather than any output, which might include random
889bf7c5 20237 errors.
c906108c
SS
20238 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20239 backtrace test.
20240 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20241 always failing and failure is now exposed by gdb.exp changes.
20242
20243Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20244
20245 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20246 weren't being noted.
20247
20248Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20249
20250 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20251 * gdb.stabs/weird.exp: Remove v_comb xfails.
20252
dc96c6c7 20253Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20254
20255 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 20256 list.exp scope.exp watchpoint.exp]
c906108c 20257 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 20258
dc96c6c7 20259Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20260
20261 * config/monitor.exp: Increase download timeout to 1000 seconds.
20262
dc96c6c7 20263Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20264
20265 * config/m32r.exp: Increase timeout to 120 seconds.
20266
20267Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20268
20269 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20270 and accept older ordering as obsolescent gcc or gdb.
20271 * gdb.c++/templates.exp: Ditto.
20272 * gdb.c++/virtfunc.exp: Ditto.
20273
20274Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20275
20276 * gdb.base/coremaker.c: Add code to mmap some data so we
20277 can check that it ends up in the core file.
20278 * gdb.base/corefile.exp: Add test to read mmapped data
20279 from core file.
20280
dc96c6c7 20281Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20282
20283 * config/m32r.exp: New file.
20284
20285Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20286
20287 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20288 that cflags can contains -gstabs, and work correctly for other tests.
20289
dc96c6c7 20290Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20291
20292 * gdb.base/setshow.exp: New file, tests show and set.
20293 * gdb.base/setshow.c: New file, tests show and set.
20294 * gdb.base/help.exp: Add test for help set|show annotate.
20295 * gdb.base/default.exp: Add test for set|show annotate.
20296
20297Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20298
20299 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20300 errors unique.
20301 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20302 explicitly.
20303
20304Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20305
20306 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20307 and width commands. This is done elsewhere.
20308 * (gdb_start): Don't call gdb_start_sim here. That's already
20309 done in gdb_load. This fixes lots of failures in default.exp.
20310
20311Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20312
20313 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20314 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20315 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20316 in the same we we treat other failures (since it may be an expected
889bf7c5 20317 condition), rather than as an error.
c906108c
SS
20318 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20319 old test format.
20320
20321Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20322
20323 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20324 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 20325 twice. Nuke the duplicates.
c906108c 20326 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 20327 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
20328 Remove config.h along with other config files.
20329
20330Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20331
20332 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20333 "p func1 ()" and note that rests of tests are skipped.
20334 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20335 setup_xfails for "print func2::coremaker_local".
c906108c
SS
20336 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20337 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20338 affected by the previous run test.
20339 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20340 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20341 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20342 "pass int powerset tuple" and "pass modeless int powerset tuple".
20343 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20344 "real write 4" and "real write 8".
20345 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20346 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
20347 "print \$i after tuple assign 2", and
20348 "print vs2 after tuple assign 2".
20349 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20350 meaningful error message and return -1 so the caller can
20351 suppress further tests and avoid a cascade of errors.
d63a86f8 20352
c906108c
SS
20353Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20354
20355 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20356 format for printing version.
20357 * gdb.base/default.exp: Ditto.
20358 * gdb.base/interrupt.exp: Fix problem with cascade of
20359 errors if child process dies while calling a function.
d63a86f8 20360
c906108c
SS
20361Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20362
20363 * Makefile.in (VPATH): Add
20364 * Makefile.in (Makefile, config.status): Fix rules so things get
20365 remade when necessary.
20366
20367Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20368
20369 * Makefile.in (just-check): Add path to sibling expect dir
20370 to environment variable specified by RPATH_ENVVAR.
20371
20372Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20373
20374 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20375 (just-check): Add shared library paths for libstdc++, tk,
20376 tcl, bfd, and opcodes to the environment variable specified
20377 in RPATH_ENVVAR.
20378 * configure.in: Add support to recognize --enable-shared flag
20379 and generate correct value for RPATH_ENVVAR.
20380 * configure: Regenerated with autoconf.
20381
20382Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20383
20384 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 20385 include all osf versions.
c906108c
SS
20386 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20387 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20388 when target is linux. When failing to build pthreads test
20389 executable, give more meaningful message.
20390 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20391 arg for pthread_create.
d63a86f8 20392
c906108c
SS
20393Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20394
20395 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 20396 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 20397 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 20398 and -lpthreads (everybody else).
c906108c
SS
20399 (test_startup): Fail gracefully if threads are not supported.
20400 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20401 "p/c array_index("abcdef",2)" when not gcc compiled.
20402 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20403 "print func2::coremaker_local" when not gcc compiled.
20404 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20405 "ptype on opaque struct tagname (statically)",
20406 "ptype on opaque struct tagname (dynamically) 1", and
20407 "ptype on opaque struct tagname (dynamically) 2"
20408 for not compiled with gcc.
20409 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20410 backtrace when compiled with gcc.
d63a86f8 20411 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
20412 than always return success.
20413
20414Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20415
20416 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20417
20418Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20419
20420 * gdb.base/structs.exp: Undo last change.
20421
20422Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20423
20424 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20425 encapsulate all the steps/nexts done during self test, starting
20426 at main, and makes them less sensitive to optimization issues.
20427 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20428 signal handler" test.
20429 * gdb.threads/pthreads.exp: Only run this for native configs.
20430 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20431 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20432 tests.
20433 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20434 for "runto test_calls(void)" test.
d63a86f8 20435
c906108c
SS
20436Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20437
20438 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20439 and don't expect address info in breakpoint confirmations.
20440
20441Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20442
20443 * gdb.base/list.exp (test_forward_search): Increase timeout
20444 temporarily by 60 seconds for searching extremely long line,
889bf7c5 20445 and then reset to old value when done. Increase expect input
c906108c
SS
20446 buffer to 10000.
20447
20448Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20449
20450 * gdb.base/list.exp (test_forward_search): Fix to handle very
20451 long source line without overflowing expect's input buffer.
20452
20453Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20454
20455 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20456 "buffer_full".
20457
20458 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20459 "buffer_full".
20460
20461 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20462 "buffer_full".
20463
20464 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20465 "buffer_full".
20466
20467Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20468
20469 * configure.in (configdirs): Add gdb.threads.
20470 * configure: Regenerated with autoconf.
20471 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20472 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20473 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 20474
c906108c
SS
20475Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20476
20477 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20478
20479Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20480
20481 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20482 each signal's status in the output of "handle all print".
20483 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20484 the \r\n sequence that immediately precedes the gdb prompt.
20485 * gdb.base/a1-selftest.exp: Save original timeout and restore
20486 after test.
20487
20488Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20489
20490 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20491 symbol.
20492
20493Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20494
20495 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20496
20497Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20498
20499 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20500 timeout by 60 seconds.
20501
20502Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20503
20504 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20505 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20506 error return.
20507
20508Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20509
20510 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20511 gdb initialization, also report how long dejagnu waited. Restore
20512 old timeout before doing error return. Temporarily increase timeout
889bf7c5 20513 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
20514
20515Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20516
20517 * lib/gdb.exp: Report timeout value for verbosity level 2.
20518 * config/gdbserver.exp: Ditto.
20519 * config/hppro.exp: Ditto.
20520 * config/mips-gdb.exp: Ditto.
20521 * config/monitor.exp: Ditto.
20522 * config/netware.exp: Ditto.
20523 * config/sim-gdb.exp: Ditto.
20524 * config/slite-gdb.exp: Ditto.
20525 * config/udi-gdb.exp: Ditto.
20526 * config/unix-gdb.exp: Ditto.
20527 * config/vx-gdb.exp: Ditto.
20528 * gdb.base/a1-selftest.exp: Ditto.
20529 * gdb.base/a2-run.exp: Ditto.
20530 * gdb.base/break.exp: Ditto.
20531 * gdb.base/corefile.exp: Ditto.
20532 * gdb.base/list.exp: Ditto.
20533 * gdb.base/recurse.exp: Ditto.
20534 * gdb.base/scope.exp: Ditto.
20535 * gdb.base/signals.exp: Ditto.
20536
20537Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20538
20539 * gdb.threads/Makefile.in (docdir): Removed.
20540
20541Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20542
20543 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 20544 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 20545 @srcdir@.
d63a86f8 20546 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
20547 autoconf 2.5 or higher.
20548 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20549
20550Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20551
20552 * configure: Regenerated.
20553 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20554 avoid name clashes with SunOS headers.
20555
20556Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20557
20558 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20559
20560Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20561
20562 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20563 prototype information ends up in the compiler info file.
20564
20565Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20566
20567 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20568 attempting to regenerate it. Eliminate use of a temporary file
20569 and just generate the info file directly. Source it immediately,
20570 for consistency of use.
20571 * gdb.base/corefile.exp: Ditto
20572 * gdb.base/exprs.exp: Ditto.
20573 * gdb.base/funcargs.exp: Ditto.
20574 * gdb.base/langs.exp: Ditto.
20575 * gdb.base/list.exp: Ditto.
20576 * gdb.base/mips_pro.exp: Ditto.
20577 * gdb.base/nodebug.exp: Ditto.
20578 * gdb.base/opaque.exp: Ditto.
20579 * gdb.base/ptype.exp: Ditto.
20580 * gdb.base/scope.exp: Ditto.
20581 * gdb.base/setvar.exp: Ditto.
20582 * gdb.base/signals.exp: Ditto.
20583 * gdb.base/whatis.exp: Ditto.
20584 * gdb.c++/templates.exp: Ditto.
20585 * gdb.c++/virtfunc.exp: Ditto.
20586 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 20587 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
20588
20589Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20590
20591 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20592 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20593 Increase timeout, a lot of single stepping might be needed if the
20594 target has no hardware watchpoints.
20595
20596Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20597
20598 * gdb.base/break.exp: Ignore compiler warnings when compiling
20599 break.c.
20600 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20601 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20602 from remote-sim.
20603 * gdb.base/exprs.exp: Add h8300 xfails.
20604 * gdb.base/funcargs.exp: Likewise.
20605 * gdb.base/nodebug.exp: Likewise.
20606 * gdb.base/printcmds.exp: Likewise.
20607 * gdb.base/ptype.exp: Likewise.
20608 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20609 h8300 xfails.
d63a86f8 20610 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
20611 on the h8300.
20612 * gdb.base/funcargs.c: Explicitly make last constant argument to
20613 call_after_alloca_subr an unsigned long type.
20614 * gdb.base/return.c: Include stdio.h.
20615
20616Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20617
20618 * config/abug.exp: New file for the older Motorola Bug monitor
20619 that runs on the mvme13x series VME boards.
20620 * config/monitor.exp: Use the new config array for target settings
20621 if they exist.
20622
20623Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20624
20625 * sim-gdb.exp: Make the SH simulator allocate less space when
20626 it is targeted.
20627
20628Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20629
20630 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20631 test.
20632
20633Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20634
20635 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20636 "rs6000-*-*" for "list function in include file" when gcc compiled.
20637 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20638 for "p ctable1[120]".
20639 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20640 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20641 Remove setup_xfail for "rs6000-*-*" for
20642 "print 'scope0.c'::filelocal before run".
20643 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20644 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20645 since some compilers don't allow both options to be given
20646 on the same command line. Create object file and move it.
d63a86f8 20647
c906108c
SS
20648Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20649
20650 * gdb.base/corefile.exp: Always regenerate the core file, since
20651 we always regenerate the coremaker program. Detect special case
20652 where registers cannot be read from core file.
d63a86f8 20653
c906108c
SS
20654Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20655
20656 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20657 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20658 * gdb.c++/templates.exp: Only match on basename of file since
20659 some formats like xcoff don't encode directory information.
20660 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20661 and rs6000 AIX xcoff targets.
20662 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20663 * configure: Regenerate.
20664 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20665 here, rather than in distclean.
d63a86f8 20666
c906108c
SS
20667Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20668
20669 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20670 defined, and use it to compile the test case with -O2. The
20671 native compilation still uses no optimization.
20672 * gdb.base/mips_pro.c: Remove inline assembly code since
20673 it is compiled PIC by default, which results in assembler
20674 warnings that make the testsuite think the compilation
20675 was unsuccessful.
20676
20677Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20678
20679 * gdb.c++/misc.exp: Add note to message for
20680 "print s.a for foo struct" that this is a known gcc 2.7.2
20681 and earlier bug.
20682
20683Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20684
20685 * gdb.base/break.exp: Fix pattern for matching "Delete all
20686 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20687 setup_xfail for deleting all breakpoints test. Fix various
20688 timeout messages to include "(timeout)".
20689 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20690 for "p t_float_values2(3.14159,float_val2)".
20691 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20692 for "continue to call2g" when gcc compiled.
20693 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20694 "up to foo in langs.exp", "show language at foo in langs.exp",
20695 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20696 and "show language at fsub in langs.exp".
20697 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20698 "list line 1 in include file", "list message for lines past EOF",
20699 "list function in include file", "list list0.h:foo", and
20700 "list filename:function; nonexistant function".
20701 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20702 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20703 and "ptype t_char_array" to be for native cc only.
d63a86f8 20704
c906108c
SS
20705Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20706
d63a86f8 20707 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 20708 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 20709 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
20710
20711Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20712
20713 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20714 "bt in signals.exp". This problem only appears when running
20715 the testsuite, and then only intermittently.
20716
20717Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20718
20719 * gdb.base/return.exp (return_tests): Differentiate between
20720 two tests of continuing.
20721
20722Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20723
20724 * */Makefile.in (maintainer-clean): Remove config.log.
20725 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20726 * gdb.c++/Makefile.in (PROGS): Add inherit.
20727 (clean): Remove *.ci.
20728
20729Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20730
20731 * gdb.c++/misc.cc: Add test code from Mike Stump.
20732 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20733
20734Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20735
20736 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20737 to "alpha-*-osf2*" and add comment.
20738 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
20739 setup_xfail for "step over execarg initialization" and
20740 "step over corearg initialization".
c906108c
SS
20741 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20742 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20743 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 20744 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
20745 "print func2::coremaker_local", and "backtrace in corefile.exp".
20746 * gdb.base/signals.exp: Build and source signals.ci.
20747 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20748 to be for gcc only.
20749 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 20750
c906108c
SS
20751Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20752
20753 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20754 Feb 3 procfs.c change.
20755
20756Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20757
20758 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20759
20760Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20761
20762 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20763 from dejagnu's apparent default of 10 seconds, which gives random
20764 results when running the tests over NFS on moderately loaded systems.
20765 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20766
20767Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20768
20769 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20770 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 20771 result reports.
c906108c
SS
20772
20773Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20774
20775 * configure.in (CY_AC_PATH_TCLH): Remove.
20776 * configure: Regenerate.
20777
20778Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20779
20780 * gdb.c++/Makefile.in (clean): Add missing '{'.
20781
20782Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20783
20784 * lib/gdb.exp: Provide a default value for noinferior.
20785
20786 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20787 Load libgloss.exp.
20788
20789Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20790
20791 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20792 the executable, not the .o to run the tests from.
20793
20794Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20795
20796 * gdb.base/break.exp: Don't test for program exit or exit status
20797 if $noresults if nonzero.
20798 * gdb.base/langs.exp: Likewise.
20799 * gdb.base/watchpoint.exp: Likewise.
20800
20801 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20802 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20803 trying to compile the testcase.
20804
20805Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20806
20807 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20808 * gdb.base/signals.exp (continue to handler): Likewise.
20809
20810Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20811
20812 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20813
20814 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20815
20816Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20817
20818 * gdb.base/corefile.exp: Recognize "not found" as failure
20819 when trying to determine if a core file was generated.
20820 If no core file was generate the first time, try again without
20821 the ulimit -c to work around braindamaged shells.
20822
20823Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20824
20825 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20826 [] tests with "test" and enclose string in quotes.
20827 * gdb.stabs/configure: Rebuild
d63a86f8 20828
c906108c
SS
20829Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20830
20831 Changes in sync with expect:
20832 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20833 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20834 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20835 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20836 argument to AC_REQUIRE.
20837 * configure: Regenerated.
20838
20839Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20840
20841 * gdb.base/corefile.exp: When generating a core, discard any
20842 error messages about ulimit not found and the "core dumped"
20843 message from the shell that runs the coredumper.
20844
20845Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20846
20847 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20848
20849 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20850 which sed script to run. Expect failure for v_comb test
20851 on PA targets too.
d63a86f8 20852
c906108c
SS
20853Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20854
20855 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 20856 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
20857
20858Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20859
20860 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20861 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 20862 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
20863 * lib/gdb.exp (default_gdb_start): Fix typo.
20864 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20865 messages to not include the full program name that caused
20866 the core dump since some systems (such as solaris) apparently
20867 truncate this path to about 80 characters.
20868 When generating a core file first try increasing the core file
20869 size limit to unlimited since some systems may default it to
20870 zero, and it is harmless to try it. Move the test for failing
20871 to generate a core file to where it will actually get executed.
20872 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20873 new gdb result from g++ debug info improvements and make old
20874 pattern obsolescent. Also account for size_t differences
20875 (may be int or long).
20876 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20877 initialization before function call is placed in the delay slot
20878 and thus appears to be skipped over by commands such as "next".
20879
20880Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20881
20882 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20883
20884Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20885
20886 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20887 input source file; fix code to compile test to deal with this
20888 convention.
20889 * gdb.c++/*.exp: Likewise.
20890
20891Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20892
20893 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20894 "bt in signals.exp".
20895
20896Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20897
20898 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20899 "step over execarg initialization" and
889bf7c5 20900 "step over corearg initialization".
c906108c
SS
20901
20902Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20903
20904 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20905 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20906
20907Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20908
20909 From Rob Savoye (rob@poseidon.cygnus.com)
20910 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20911 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
20912 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20913 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20914 configure.in}: Major reworking for autoconfig.
c906108c
SS
20915 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20916 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 20917 New files.
c906108c
SS
20918 * config/unix-gdb.exp: Make GDB global.
20919 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
20920 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20921 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20922 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20923 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20924 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 20925 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
20926 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20927 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20928 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20929 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 20930 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
20931 to returns as necessary, arrange for test to compile own testcase
20932 executable.
c906108c 20933 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 20934
c906108c
SS
20935Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20936
20937 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 20938 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
20939 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20940 "backtrace through signal handler".
20941
20942Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20943
20944 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20945 continuing from a job control stop signal.
20946 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20947
20948Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20949
20950 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20951 * gdb.base/corefile.exp: Likewise.
20952 * gdb.base/funcargs.exp: Likewise.
20953
20954Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20955
20956 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20957 * config/monitor.exp: Add support for setting baud rate.
20958
20959Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20960
20961 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20962 i*86-*-linux* xfails for "backtrace through signal handler".
20963 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20964 "print func2::coremaker_local".
20965 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 20966 alpha-dec-osf2* xfail for
c906108c
SS
20967 "delete all breakpoints when none".
20968
20969Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20970
20971 * gdb.base/break.exp: Change test that deletes all breakpoints
20972 when no user breakpoints are installed. A post 4.15 change
20973 causes gdb to no longer prompt in this case.
20974
20975Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20976
20977 * gdb.base/return.exp (return_tests): Change xfail for test
20978 "correct value returned double test" to stop xfailing at
20979 Solaris 2.5. Apparently the bug has been fixed.
20980
20981Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20982
20983 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20984 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20985
20986Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20987
20988 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20989 * gdb.disasm/hppa.s: Corresponding changes.
20990
20991Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20992
20993 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20994 makefile fragment.
20995 * config/mt-hpux: Deleted.
20996
20997Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20998
d63a86f8 20999 * Many files: When warning about suppressed tests due to a
c906108c
SS
21000 nonexistant test binary, avoid incrementing the warning count.
21001
21002Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21003
21004 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 21005
c906108c
SS
21006Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21007
21008 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21009 "sparc-*-solaris2*".
21010
21011Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21012
21013 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21014 Add global and local variables and initialize them.
21015 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21016 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21017 extracts the file name and terminating signal from the core file.
21018 * TODO: Remove note about tests for correct mapping of corefile.
21019 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21020 from optimizing it away.
21021 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21022 handles common blocks.
21023
21024Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21025
21026 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21027 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21028
21029Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21030
21031 * Makefile.in (maintainer-clean): New target, synonym for
21032 realclean.
21033 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21034 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21035 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21036 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21037 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21038 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21039
21040Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21041
21042 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21043 xfails when not gcc compiled for "print foo::funclocal".
21044 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21045 "print foo::funclocal at foo",
21046 "print 'scope1.c'::foo::funclocal at foo",
21047 "print foo::funclocal_bss at foo",
21048 "print 'scope1.c'::foo::funclocal_bss at foo",
21049 "print foo::funclocal_ro at foo",
21050 "print 'scope1.c'::foo::funclocal_ro at foo",
21051 "print bar::funclocal at foo" and
21052 "print 'scope1.c'::bar::funclocal at foo".
21053 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21054 gcc compiled for "print foo::funclocal at bar".
21055 Expand all messages to ensure that they identify that
21056 the test is at bar().
21057 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21058 gcc compiled for:
21059 "ptype on opaque struct pointer (statically)",
21060 "ptype on opaque struct tagname (statically)",
21061 "ptype on opaque struct pointer (dynamically) 1",
21062 "ptype on opaque struct tagname (dynamically) 1",
21063 "ptype on opaque struct pointer (dynamically) 2" and
21064 "ptype on opaque struct tagname (dynamically) 2
21065 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21066 gcc compiled for:
21067 "p datalocal"
21068 "whatis datalocal",
21069 "ptype datalocal",
21070 "p bsslocal",
21071 "whatis bsslocal", and
21072 "ptype bsslocal".
21073 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21074 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21075 when not gcc compiled.
21076 * gdb.base/funcargs.exp (float_and_integral_args): Add
21077 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21078 compiled.
21079 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21080 "backtrace from call6a" when not gcc compiled.
21081 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21082 "backtrace from call7a" when not gcc compiled.
21083 * gdb.base/callfuncs.exp (do_function_calls):
21084 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21085 "p t_char_array_values(char_array_val2,char_array_val1)",
21086 "p t_char_array_values(char_array_val1,char_array_val2)",
21087 "p t_char_array_values("carray 1","carray 2")",
21088 "p t_char_array_values("carray 1",char_array_val2)",
21089 "p t_char_array_values(char_array_val1,"carray 2")",
21090 "p sum_args(1,{2})",
21091 "p sum_args(2,{2,3})",
21092 "p sum_args(3,{2,3,4})",
21093 "p sum_args(4,{2,3,4,5})"
21094 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21095 "backtrace in corefile.exp" when not gcc compiled.
21096
21097Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21098
21099 * gdb.base/signals.exp: Rewrite `handle all print' test as
21100 a procedure. Accept blanks or TABs as whitespace, increase
21101 timeout and expect input buffer size for the large output
21102 from the command. Remove "i*86-*-bsdi2.0" xfail.
21103
21104Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21105
21106 * gdb.base/setvar.exp: Add new testcases for truncation when
21107 assigning invalid values to bitfields.
21108
21109Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21110
d63a86f8 21111 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
21112 mips-sgi-irix* xfail for
21113 "call inferior func with struct - returns char *"
21114 and fix test so that an optional (unsigned char *) cast is
889bf7c5 21115 accepted in the result.
c906108c
SS
21116
21117Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21118
21119 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21120 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21121 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21122 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21123 that accidentally got checked in.
21124
21125Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21126
d63a86f8 21127 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21128 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21129 compiled test.
21130 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21131 Add mips-sgi-irix5* xfail for not gcc compiled.
21132 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21133 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21134 "p top", "whatis top", "p middle", and "whatis middle".
21135 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21136 "whatis signed char" for not gcc compiled.
21137 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21138 "set variable signed char=-1 (-1)" and
21139 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21140 * gdb.base/funcargs.exp (float_and_integral_args):
21141 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21142 Add mips-sgi-irix* xfail when not gcc compiled for
21143 "continue to call2b".
21144 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21145 "continue to call2g".
21146 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21147 "backtrace from call6a"
21148 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21149 "backtrace from call7k".
21150 Add mips-sgi-irix5* xfail when not gcc compiled for
21151 "backtrace from call7a".
21152 (localvars_after_alloca): Fix gdb_test cmds for
21153 "print * after runto ...".
21154 Remove rs6000-*-* xfails for
21155 "print i after runto localvars_after_alloca" and
21156 "print l after runto localvars_after_alloca"
21157 for all compilers.
21158 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21159 when not compiled with gcc, for:
c906108c
SS
21160 "print signed char == (minus)",
21161 "print signed char != (minus)",
21162 "print signed char < (minus)",
21163 "print signed char > (minus)".
21164 * gdb.base/callfuncs.exp (do_function_calls):
21165 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21166 "call inferior func with struct - returns char *".
d63a86f8 21167 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
21168 "correct value returned double test" to include Solaris 2.4.
21169 * gdb.base/funcargs.exp (float_and_integral_args):
21170 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 21171
c906108c
SS
21172Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21173
21174 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21175 enumeration bitfields if compiling with GNU C.
21176 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21177 to empty' prompt.
21178
21179Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21180
21181 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21182 test for PRO targets.
21183
21184 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21185 breakpoints in the inferior at any given time by making
21186 two groups of breakpoints for call2*, call6* and call7*
21187 tests.
21188
21189Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21190
21191 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21192 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21193 from optimizing it away.
21194 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21195 "call inferior func with struct".
21196
21197Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21198
21199 * configure.in: Only configure gdb.chill for particular targets.
21200
21201Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21202
21203 * gdb.base/Makefile.in: Add action to .c.o transformation
21204 rule that generates a .ci file for each .o file and remove
21205 explicit .c.o rules except for callfuncs.o.
21206 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21207 generates a .ci file for each .o file and remove explicit
21208 .cc.o rules.
21209 (clean): Remove *.tmp *.ci files.
21210 (EXECUTABLES): Remove templ-info.exp.
21211 * gdb.base/compiler.c: New file.
21212 * gdb.c++/compiler.cc: New file
21213 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21214 Change rs6000-*-* xfail for
21215 "print 'scope0.c'::filelocal_ro" and
21216 "print 'scope1.c'::filelocal" and
21217 "print 'scope1.c'::filelocal_bss" and
21218 "print 'scope1.c'::filelocal_ro" and
21219 "print 'scope1.c'::foo::funclocal" and
21220 "print 'scope1.c'::foo::funclocal_ro" and
21221 "print 'scope1.c'::bar::funclocal" and
21222 "print 'scope0.c'::filelocal_ro" and
21223 "print 'scope1.c'::filelocal at foo" and
21224 "print 'scope1.c'::filelocal_bss at foo" and
21225 "print 'scope1.c'::filelocal_ro at foo" and
21226 "print 'scope1.c'::foo::funclocal at foo" and
21227 "print 'scope1.c'::foo::funclocal_bss at foo" and
21228 "print 'scope1.c'::foo::funclocal_ro at foo" and
21229 "print 'scope1.c'::bar::funclocal at foo" and
21230 "print 'scope0.c'::filelocal_ro" and
21231 "print 'scope1.c'::filelocal" and
21232 "print 'scope1.c'::filelocal_bss" and
21233 "print 'scope1.c'::filelocal_ro" and
21234 "print 'scope1.c'::foo::funclocal" and
21235 "print 'scope1.c'::foo::funclocal_bss" and
21236 "print 'scope1.c'::foo::funclocal_ro" and
21237 "print 'scope1.c'::bar::funclocal" and
21238 "print 'scope1.c'::bar::funclocal_bss"
21239 to only be xfail'd when not compiled with gcc.
d63a86f8 21240 Add rs6000-*-* xfail for
c906108c
SS
21241 "print 'scope0.c'::filelocal_bss before run"
21242 when compiled with gcc.
21243 (test_at_main): Add rs6000-*-* xfail for
21244 "print filelocal_ro in test_at_main"
21245 when compiled with gcc.
21246 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 21247 Add rs6000-*-aix* xfail for
c906108c
SS
21248 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21249 "ptype t_char_array", not compiled with gcc.
21250 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21251 xfail for "list foo (in include file)" when gcc compiled.
21252 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 21253 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
21254 "run to call0a" if not compiled with gcc.
21255 (unsigned_integral_args): Add rs6000-*-* xfail for
21256 "run to call1a" if not compiled with gcc.
21257 (float_and_integral_args): Add rs6000-*-* xfail for
21258 "run to call2a" if not compiled with gcc and for
21259 "continue to call2b" for any compiler.
21260 Add rs6000-*-* xfail to
21261 "print f1 after run to call2a" for gcc compiled.
21262 (discard_and_shuffle): Add rs6000-*-* xfail for
21263 "run to call6a".
21264 (shuffle_round_robin): Add rs6000-*-* xfail for
21265 "backtrace from call7a" if not compiled with gcc.
21266 Add rs6000-*-* xfail for
21267 "backtrace from call7b" if compiled with gcc.
21268 (call_after_alloca): Add rs6000-*-* xfail for
21269 "print c in call_after_alloca" and
21270 "print s in call_after_alloca" and
21271 "backtrace from call_after_alloca_subr"
21272 if not compiled with gcc.
21273 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21274 "print c in localvars_in_indirect_call" and
21275 "print c in localvars_in_indirect_call" and
21276 "backtrace in indirectly called function" and
21277 "stepping into indirectly called function"
21278 if not compiled with gcc.
21279 (localvars_after_alloca): Add rs6000-*-* xfail for
21280 "print c after runto localvars_after_alloca" and
21281 "print s after runto localvars_after_alloca" and
21282 "print i after runto localvars_after_alloca" and
21283 "print l after runto localvars_after_alloca"
21284 for all compilers.
21285 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21286 than whatis-info.exp.
21287 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21288 than opaque-info.exp.
21289 Setup rs6000-*-* xfail for
d63a86f8 21290 "ptype on opaque struct pointer (statically)" and
c906108c
SS
21291 "ptype on opaque struct pointer (dynamically)" when
21292 not compiled with gcc.
21293 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21294 rather than callf-info.exp.
21295 (do_function_calls): Add clear_xfail for rs6000-*-* for
21296 "p t_float_values2(3.14159,float_val2)". Seems to work
21297 fine there, both with xlc and gcc. Need to find out what
21298 it is doing right and fix other platforms.
21299 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21300 "call inferior func with struct - returns int",
21301 "call inferior func with struct - returns long",
21302 "call inferior func with struct - returns float",
21303 "call inferior func with struct - returns double",
21304 "call inferior func with struct - returns char *",
21305 but only if not gcc compiled (presumes xlc compiled).
21306 Change rs6000-*-* xfails for
21307 "call inferior func with struct - returns char" and
21308 " call inferior func with struct - returns short" to only
21309 xfail if not using gcc.
21310 (clean mostlyclean): Remove *.ci and *.tmp files.
21311 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21312 than templ-info.exp.
21313 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21314 Add rs6000-*-* xfail for "up to foo in langs.exp"
21315 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 21316 when not gcc compiled.
d63a86f8 21317
c906108c
SS
21318Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21319
21320 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21321 * gdb.base/corefile.exp: Likewise.
21322 * gdb.base/list.exp: Likewise.
21323 * gdb.base/scope.exp: Likewise.
21324 * gdb.base/siganls.exp: Likewise.
21325
21326 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21327 compiler output.
21328 * gdb.base/whatis.exp: Likewise.
21329
21330Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21331
21332 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21333 failure (opcode table has been fixed to match reality).
21334
21335Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21336
21337 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21338 "call inferior func with struct - returns char",
21339 "call inferior func with struct - returns short"
21340
21341 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21342 "print 'scope0.c'::filelocal at main",
21343 "print 'scope0.c'::filelocal_bss in test_at_main",
21344 "print 'scope0.c'::filelocal at foo",
21345 "print 'scope0.c'::filelocal_bss in test_at_foo",
21346 "print 'scope0.c'::filelocal at bar",
21347 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 21348
c906108c
SS
21349 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21350 in source file 1". This bug seems to have been fixed with both
21351 gcc and native cc (was native assembler bug?).
21352
21353Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21354
21355 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21356 "backtrace through signal handler" to "i*86-*-sysv4*".
21357 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21358 continue" case. Add "known SVR4 bug" to fail message.
21359 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21360 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21361 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21362 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21363 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21364 "up to foo in langs.exp", "show language at foo in
21365 langs.exp", "up to cppsub_ in langs.exp", "show
21366 language at cppsub_ in langs.exp", "up to fsub in
21367 langs.exp", and "show language at fsub in langs.exp".
21368 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21369 "bactrace in corefile.exp".
21370 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21371 "call inferior function with struct - returns float" and
21372 "call inferior function with struct - returns double".
d63a86f8 21373
c906108c
SS
21374Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21375
21376 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21377 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21378 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21379 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21380
21381Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21382
21383 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21384 (or overriden) "CHILL" macro rather then bare "gcc".
21385 Also look for ../../gcc/xgcc since that is what we will
21386 actually need, not "Makefile". Remove following assignment
21387 of CHILL to CHILL_FOR_TARGET because that results in
21388 recursive definition.
21389
21390Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21391
21392 * gdb.base/corefile.exp: Change xfail for backtrace in
21393 corefile.exp from linuxaout to all linux.
21394 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21395 cases where we miss the breakpoint at the signal handler
21396 for some reason. Setup xfail for linuxoldld/linuxaout and
21397 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21398 hitting SIGURG breakpoint.
21399 * gdb.base/signals.exp: Setup xfail for "next" acting like
21400 continue to add linuxoldld. Setup xfail for all linux for
21401 "next to handler in signals_tests_1", "backtrace in
21402 signals_tests_1", "continue to func1", "pass SIGUSR1",
21403 and continue to handler".
21404
21405Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21406
21407 * Update all FSF addresses except those in COPYING* files.
21408
21409Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21410
21411 * gdb.base/a2-run.exp: Change messages to be more explicit about
21412 the status of args, and quote binfile in results.
21413
21414Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21415
21416 * gdb.base/callfuncs.exp: Add tests for passing structs to
21417 inferior functions and return various types.
21418 * gdb.base/callfuncs.c: Add functions to receive a struct
21419 and return a member of the struct, in various types.
21420
21421Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21422
21423 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21424
21425Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21426
21427 * config/vxworks29k.exp: New file, sources vxworks.exp.
21428
21429Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21430
21431 * config/gdbremote.exp: New file. Testing framework using
21432 gdbserver.
21433
21434Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21435
21436 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21437 "call function when asleep" and "send end of file".
21438 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21439 for "backtrace in corefile.exp".
21440 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21441 for "backtrace through signal handler".
21442 * gdb.base/corefile.exp: Make sure we actually generate a core file
21443 before trying the core tests. Some systems allow the user to suppress
21444 generation of core files and default to that (linux for example).
21445 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21446 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21447
21448Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21449
21450 * gdb.threads: New directory with some crude multi-threaded
21451 gdb tests (step.exp and step2.exp).
21452 * config/mt-lynx (STEP_EXECUTABLE): Define.
21453 (THREADFLAGS): Define.
21454
21455Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21456
21457 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21458
21459 * gdb.base/signals.exp: Disable whole file for lynx until
21460 further notice.
21461
21462 * gdb.base/signals.exp: xfail test where "next" acts like
21463 "continue" for lynx.
21464
21465 * gdb.base/interrupt.exp: xfail test for calling function while
21466 inferior is asleep for lynx.
21467
21468 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21469 than one cr-lf after each command.
21470
21471Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21472
21473 * configure.in: Reinstate setting of stabsdirs variable, fix
21474 typo in setting up configdirs for native builds.
21475
21476 * gdb.base/return.exp: Fix typo in return double test.
21477 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21478 compiler from optimizing them away.
21479
21480Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21481
21482 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21483 sequences to be echo'd by gdb when using gdb_test.
21484 * gdb.chill/chexp.exp: Likewise.
21485 * gdb.fortran/exprs.exp: Likewise
21486
21487Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21488
21489 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21490 after the inferior gdb has started.
21491
21492 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21493 after each command.
21494 * gdb.base/funcargs.exp: Likewise.
21495 * gdb.base/gdbvars.exp: Likewise.
21496 * gdb.base/interrupt.exp: Likewise.
21497 * gdb.base/list.exp: Likewise.
21498 * gdb.base/watchpoint.exp: Likewise.
21499 * gdb.c++/demangle.exp: Likewise.
21500 * gdb.c++/inherit.exp: Likewise.
21501 * gdb.chill/chexp.exp: Likewise.
21502 * gdb.fortran/exprs.exp: Likewise.
21503
21504 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21505 test if we can't handle IO to/from the inferior.
21506
21507 * gdb.c++/misc.exp: Always check for a program already being
21508 started after sending a "run" command to gdb.
21509
21510 * gdb.base/twice.exp: Start with a fresh gdb.
21511
21512 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21513 only depend on gdb's expression code, not the chill runtime.
21514
21515 * gdb.base/return.c: Put return values into variables so we
21516 can have gdb print them rather than depending on the program
21517 to print them.
21518 * gdb.base/return.exp: Corresponding changes.
21519
21520 * lib/gdb.exp: Provide default value for noinferiorio.
21521 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21522 the inferior.
21523
21524 * gdb.base/break.exp: Always check for a program already being
21525 started after sending a "run" command to gdb.
21526 (text_next_with_recursion): Don't check the output from the
21527 program's printf statement. Instead just make sure the program
21528 exited.
21529
21530 * gdb.base/commands.exp: Protect tests which need arguments with
21531 $noargs conditionals.
21532
21533Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21534
21535 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21536 of structure member arrays to match gdb/valops.c:value_addr change.
21537
21538Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21539
21540 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21541 cases.
21542
21543Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21544
21545 * configure.in (configdirs): Remove gdb.chill from default list
21546 of subdirs and then add it back in only if doing a native build.
21547 The current chill compiler does not yet work in any cross build.
21548 * Revert all signal changes from Jul 6.
21549 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21550 for sh-hms targets, allowing these tests to link, with no other
21551 changes. Testing is suppressed by setting "nosignals" in site.exp.
21552
21553Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21554
21555 * configure.in (signaldirs): Define and add to configdirs for all
21556 targets except some specific ones that are known to not support signals.
21557 Also clean up formatting.
21558 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21559 (signals, sigall): Remove rules to build.
21560 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21561 Moved to new gdb.signals directory.
21562 * gdb.signals: New test directory.
21563 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21564 signals.c signals.exp}: New or moved files.
21565
21566Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21567
21568 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21569
21570Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21571
21572 * gdb.base/return.exp: Xfail `return double' test failure
21573 on at least Solaris 2.3 and handle future/past versions on
21574 a case by case basis as appropriate. Also update message
21575 to include i*86 failures.
21576
21577Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21578
21579 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21580
21581 * lib/gdb.exp: Fix comment which erroneously identified
21582 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21583 gdb_file_cmd not gdb_load).
21584 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21585
21586 * gdb.base/setvar.exp: Make test names consistent between pass and
21587 fail cases. Use gdb_test more.
21588
21589Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21590
21591 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21592
21593Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21594
21595 * gdb.base/help.exp: Fix expected help string for `show commands'.
21596
21597Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21598
21599 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21600
21601 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21602 of a text section.
21603
21604Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21605
21606 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21607 that loop eventually terminates. Fix Connection refused logic so
21608 that testsuite will expire nicely.
21609
21610Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21611
21612 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21613 config/rom68k.exp: New tcl glue for the appropriate monitors.
21614 These all just end up calling monitor.exp.
21615 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21616 refused' by retrying. Cleanup some timeout issues.
21617 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21618 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21619 callers don't have to set/restore global timeout variable.
21620
21621 * The following set of changes centralizes management of the global
21622 timeout variable. This way, it can be set in one target dependent
21623 place instead of dozens of places scattered throughout the test suite.
21624 If you need to lengthen a timeout, then you should either set timeout
21625 in one of the config/{target}.exp files, or multiply it by a factor.
21626 Setting it to an absolute value is always going to lose for some
21627 targets.
21628 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21629 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21630 * gdb.base/funcargs.exp: Don't set timeout.
21631 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21632 * gdb.base/printcmds.exp (test_print_string_constants
21633 test_print_array_constants): Don't set timeout.
21634 * gdb.base/ptype.exp: Don't set timeout.
21635 * gdb.base/recurse.exp: Don't set timeout.
21636 * gdb.base/return.exp: Don't set timeout.
21637 * gdb.base/watchpoint.exp: Don't set timeout.
21638 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21639 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21640
21641Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21642
21643 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21644
21645Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21646
21647 * lib/gdb.exp: Disable chill tests for irix5.
21648
21649Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21650
21651 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21652 each test pass or fail.
21653
21654Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21655
21656 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21657 xlc not gcc.
21658
21659Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21660
21661 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21662
21663Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21664
21665 * config/est.exp: Fix copyright and comments. Remove dead code.
21666 Use targetname, serialport and baud variables instead of fixed
21667 constants.
21668 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21669 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21670
21671Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21672
21673 * gdb.base/watchpoint.exp: Don't run
21674 test_watchpoint_triggered_in_syscall for sunos.
21675
21676Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21677
21678 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21679 they don't seem to exist. Do include stdio.h.
21680
21681Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21682
21683 * gdb.base/a1-selftest.exp: Add alpha xfail.
21684
21685Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21686
21687 * gdb.base/watchpoint.c (main): Prompt before calling read().
21688 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21689 Revise accordingly. Remove cruft about sending "123" several
21690 times, until it gets noticed. Clean up the "print buf[0]" stuff
21691 so that it passes or fails, and waits for prompts in the usual way.
21692
21693Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21694
21695 * gdb.base/recurse.exp: Fix comment.
21696
21697 * TODO: Remove item about printing variables in nodebug.exp. Add
21698 item about enabling tests which are only run on some targets.
21699
21700 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21701 fail, make test names unique, use new gdb_test convention
21702 regarding pattern, use gdb_test more, etc.).
21703
21704 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21705 fail, make test names unique, etc.).
21706
21707Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21708
21709 * gdb.base/nodebug.c: Change return type of top and middle to
21710 short.
21711 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21712 are fixed by the recent mdebugread.c changes. Allow `short ()'
21713 as type for top and middle.
21714
21715Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21716
21717 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21718 nearly as I can tell, the whole thing was an accident in Stu's
21719 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21720 to replace a send/expect pair with gdb_test, but ended up only
21721 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21722 of 30 Mar 1995 took care of it, but left this vestigial comment
21723 which I am now nuking.
21724
21725Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21726
21727 * gdb.base/break.exp: Look for different line number for
21728 breakpoint at main depending on usestubs.
21729
21730Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21731
21732 * gdb.base/list.exp: Adjust some alternate expect patterns to
21733 match recent list0.c change. Add alternate expect pattern for
21734 output from `list default lines around main' for optimizing
21735 compilers.
21736
21737Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21738
21739 * lib/gdb.exp: If nosignals is not set, set it to 0.
21740
21741Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21742
21743 * config/slite-gdb.exp: Responds to load symbol table prompt.
21744 * gdb.base/break.exp: Adjust line number, fix rerun.
21745 * gdb.base/langs0.c: Add #ifdef usestubs.
21746
21747Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21748
21749 * gdb.base/list.exp: Adjust line contents after adding new lines in
21750 list0.c. Also fix a syntax error.
21751
21752 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21753 * gdb.base/break.exp: ditto.
21754 * gdb.base/list.exp: ditto.
21755 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21756 * gdb.base/run.c: ditto.
21757 * gdb.base/list0.c: ditto.
21758 * gdb.base/funcargs.c: ditto.
21759
21760Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21761
21762 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21763 $targetname, $serialport and $baud instead of hardwired variables.
21764 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21765 target doesn't support signals.
21766
21767Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21768
21769 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21770
21771Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21772
21773 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21774 Don't rely on the value of an auto variable before it has been
21775 initialized. Use gdb_test more.
21776
21777Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21778
21779 * lib/gdb.exp (default_gdb_version): A version number must start
21780 with a digit, but other than that contains all characters up to
21781 the first whitespace character.
21782
21783Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21784
21785 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21786
21787Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21788
21789 * gdb.c++/*.exp: Warn if executable does not exist. The original
21790 reason for skipping the warning was that configure.in sometimes
21791 intentionally skipped building the executables but the tcl code
21792 had no way of knowing. That (a) was always bogus with respect to
21793 error handling, (b) is no longer true (right now there is no way
21794 to skip C++ tests).
21795
21796 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21797
21798Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21799
21800 * gdb.base/list.exp: Add expect patterns for output from
21801 SunPRO compiled executables.
21802 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21803 types.
21804
21805Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21806
21807 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21808 number (we are already testing that the correct source line text
21809 gets printed).
21810
21811 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21812 that is what is intended, but something needed to be done to get
21813 sunos4 native working again.
21814
21815 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21816
21817 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21818 apparently went with a (very) old xfail.
21819
21820Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21821
21822 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21823 runto_main is a proc in gdb.exp that will do 'step' for target use
21824 stubs.
21825 * gdb.base/exprs.exp: ditto.
21826 * gdb.base/interrupt.exp: ditto.
21827 * gdb.base/opaque.exp: ditto.
21828 * gdb.base/printcmds.exp: ditto.
21829 * gdb.base/ptype.exp: ditto.
21830 * gdb.base/scope.exp: ditto.
21831 * gdb.base/setvar.exp: ditto.
21832 * gdb.base/signals.exp: ditto.
21833 * gdb.base/twice.exp: ditto.
21834 * gdb.c++/classes.exp: ditto.
21835 * gdb.c++/inherit.exp: ditto.
21836 * gdb.c++/templates.exp: ditto.
21837 * gdb.base/break.exp: no run and hit main for stubs. Change line
21838 numbers for breakpoints and info breakpoint.
21839 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21840 breakpoint().
21841 * gdb.base/callfuncs.c: ditto.
21842 * gdb.base/exprs: ditto.
21843 * gdb.base/interrupt.c: ditto.
21844 * gdb.base/opaque0.c: ditto.
21845 * gdb.base/printcmds.c: ditto.
21846 * gdb.base/ptype.c: ditto.
21847 * gdb.base/scope0.c: ditto.
21848 * gdb.base/setvar.c: ditto.
21849 * gdb.base/signals.c: ditto.
21850 * gdb.base/twice.c: ditto.
21851 * gdb.c++/misc.cc: ditto.
21852 * gdb.c++/templates.cc: ditto.
21853
21854Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21855
21856 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21857
21858 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21859 somewhere between `read' and `main.c'. I'm pretty sure the
21860 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21861 and it isn't particularly useful.
21862
21863 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21864
21865Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21866
21867 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21868
21869Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21870
21871 * config/mt-slite: add LIBS and -nostdlib.
21872 * config/slite-gdb.exp: add this new file to support sparclite target.
21873
21874Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21875
21876 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21877
21878 * gdb.base/a2-run.exp: Change argument to istarget from
21879 "*-*-vxworks" to "*-*-vxworks*".
21880 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21881
21882Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21883
21884 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21885 will not runto main but do a 'step' to step out of breakpoint().
21886 * config/mt-slite: add -Dusestubs.
21887
21888Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21889
21890 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21891 instead of just @.
21892
21893 * gdb.base/signals.exp: Add test for "handle all print".
21894 * TODO: Remove "handle all print". Also remove item about
21895 checking copyright date (I don't like the idea of a spurious FAIL
21896 based on when we run the tests).
21897
21898 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21899 for SunOS4 (reason for failure not investigated). Remove
21900 redundant test for $binfile.
21901
21902 * gdb.base/nodebug.c (array_index): Call malloc.
21903
21904 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21905
21906Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21907
21908 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21909 conventions and slightly simplify the matching regexp.
21910
21911Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21912
21913 * gdb.base/break.exp: Update gdb_test invocation to use new
21914 convention.
21915
21916 * lib/gdb.exp: If noargs is not set, set it to 0.
21917
21918 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21919 tests unique.
21920
21921 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21922
21923Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21924
21925 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21926 one argument of type "<non-float parameter>".
21927
21928Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21929
21930 * config/rom68k.exp: New file to support Motorola IDP board.
21931 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21932 * gdb.base/break.c: Change things around so that this program
21933 doesn't depend upon args. This is necessary to make remote
21934 targets work (in general, they can't take args).
21935 * gdb.base/break.exp: Don't try to send args to program. Don't
21936 expect output. Also, replace lots of code with gdb_test.
21937
21938Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21939
21940 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21941 printing of '\'' (which is what the comment says we are testing,
21942 even though we were not), not '''.
21943 (test_integer_literals_rejected): Test that printing ''' is an error.
21944
21945 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21946 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21947 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21948 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21949 Use gdb_test not test_print_accept.
21950 * lib/gdb.exp: Remove test_print_accept.
21951
21952 * gdb.base/signals.exp (signal_tests_1): Make pass message
21953 consistent with fail message.
21954
21955 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21956 unsigned char; the bug (PR 1821) is fixed.
21957
21958 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21959
21960 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21961 successful tests--makes xfailing them work right.
21962
21963Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21964
21965 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21966 only \r\n, not .*. The test can pass .* as the last thing in
21967 $pattern if that is what it wants. In addition to providing this
21968 flexibility, this change should speed up pattern matching in cases
21969 where the pattern already ended with .* (there were a number of
21970 them). This change also helps catch bad patterns--in the old
21971 scheme the typo "char \*" instead of "char \\*" would pass. Now
21972 it is caught.
21973 * Many .exp files: Update callers.
21974
21975 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21976 clearer and does not spuriously match multiple ('s. Likewise for
21977 ) and *.
21978
21979 * gdb.base/nodebug.exp: Test ability to call a function and pass
21980 it a string (even with no debugging info).
21981
21982 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21983 "p '\'", which is the same as "p ''" once tcl gets done with
21984 quoting, to "p '\\'", which I suspect is what is intended (one
21985 backslash gets sent to GDB).
21986
21987 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21988
21989Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21990
21991 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21992 1817) was fixed literally years ago.
21993
21994Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21995
21996 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21997 test, it causes stepping out of call_after_alloca_subr with
21998 optimizing compilers.
21999 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22000 fails.
22001
22002 * gdb.c++/templates.exp: Source templ-info.exp only if
22003 the templates executable exists.
22004
22005 * gdb.c++/misc.cc (class Contains_static_instance,
22006 class Contains_nested_static_instance),
22007 gdb.c++/classes.exp (test_static_members): Test printing of
22008 a class that contains a static instance of the class.
22009
22010Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22011
22012 * gdb.base/langs2.c (cppsub_): Don't prototype.
22013 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22014 only, I believe).
22015
22016Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22017
22018 * lib/gdb.exp (skip_chill_tests): New procedure.
22019
22020 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22021
22022Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22023
22024 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22025 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22026
22027Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22028
22029 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22030
22031 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22032 disassemble 8, not 16, instructions for part 4.
22033
22034 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22035 support the latter anymore.
22036
22037 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22038 -DNO_PROTOTYPES.
22039 * gdb.base/callfuncs.c: Control use of prototypes based on
22040 NO_PROTOTYPES, not __STDC__.
22041 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22042 t_float_values2 tests if prototypes in use.
22043
22044 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22045 t_double_values): When checking differences against DELTA, check
22046 that difference is within the range (-DELTA,DELTA), not just
22047 (-infinity,DELTA).
22048
22049Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22050
22051 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22052 'file' command firts, then 'target', then 'load', this is due to gdb
22053 target set up.
22054 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22055
22056Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22057
22058 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22059 FP load/store variants.
22060 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22061
22062Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22063
22064 * gdb.base/term.exp: Do not give a warning if not native, it is
22065 not an abnormal condition.
22066
22067Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22068
22069 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22070 t_char_array".
22071
22072Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22073
22074 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22075 are getting the version number.
22076
22077 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22078 if not native, it is not an abnormal condition.
22079
22080Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22081
22082 * lib/gdb.exp: Just use "file exists", rather than undocumented
22083 dejagnu procedure "findfile".
22084
22085Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22086
22087 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22088 (LDFLAGS): Set to -Xlinker -Ur.
22089
22090 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22091 Removed, these values are set by lib/gdb.exp.
22092
22093 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22094
22095Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22096
22097 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22098 of replicating gdb startup code.
22099
22100 * config/mt-vxworks (LDFLAGS): Set to -r.
22101 (CFLAGS_FOR_TARGET): Removed.
22102
22103 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22104 (gdb) and gdb for vxworks uses (vxgdb).
22105
22106 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22107 executable is not in the tree and host != target, use sed and
22108 program_transform_name to determine the gdb name used by the
22109 target.
22110
22111 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22112 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22113
22114Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22115
22116 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22117 floats, chars, and shorts where there are ANSI-style function
22118 definitions.
22119
22120 * gdb.base/langs.exp, gdb.base/langs*: New test.
22121 * gdb.base/Makefile.in: Build it.
22122 * TODO: Remove item about checking that C names don't get C++
22123 demangling applied; this test tests it.
22124
22125Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22126
22127 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22128 went with the const70 xfail. The xfail went away a year ago.
22129
22130 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22131
22132 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22133 for hp300.
22134
22135 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22136
22137 * gdb.base/a1-selftest.exp: Don't run on hp300.
22138
22139Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22140
22141 * Makefile.in (site.exp): Set host_alias and target_alias as well
22142 as host_triplet and target_triplet.
22143
22144Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22145
22146 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22147
22148 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22149 places as other ecoff systems).
22150
22151 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22152 ultrix.
22153
22154Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22155
22156 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22157 remove them.
22158 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22159 variable and "variable" in addition to "data variable".
22160 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22161
22162 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22163 2.
22164 * gdb.base/list1.c (long_line): Add additional statement at start
22165 of function.
22166 * gdb.base/list.exp (test_forward_search): Update line number to
22167 reflect new statement.
22168
22169Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22170
22171 * gdb.base/signals.exp: Reinitialize searched source directories
22172 after gdb_start call.
22173
22174Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22175
22176 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22177 * gdb.stabs/Makefile.in: Likewise.
22178
22179 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22180 change. Instead split the tests into smaller pieces.
22181 * gdb.disasm/hppa.s: Corresponding changes.
22182
22183Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22184
22185 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22186 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22187
22188 * gdb.base/funcargs.exp: Modify many tests so that every test
22189 either passes or fails. Make some test names unique.
22190
22191Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22192
22193 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22194 Call stty to set interrupt character.
22195
22196 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22197 for HP assembler versus GNU assembler based on actual behavior of
22198 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22199
22200 * TODO: Suggest a few more stepping tests.
22201
22202Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22203
22204 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22205 restart GDB for h8300 after a continue.
22206 (return): Add pattern to match a29k-udi behavior.
22207 * gdb.base/nodebug.exp: Remove obsolete comment.
22208 * gdb.base/regs.exp: New file, testing of register displays.
22209 * gdb.base/return.exp: Fix typo in reference to $objdir.
22210 * gdb.base/whatis.exp: Always start with a fresh GDB.
22211
22212Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22213
22214 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22215 higher, these tests generate a lot of output.
22216
22217Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22218
22219 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22220 code following the catch silently ignored some errors; without the
22221 catch they should be thrown like any other tcl error. Also, the
22222 catch used "" instead of {} which meant all the callers who wanted
22223 to include one of the characters "[]$ had to quote it an extra time.
22224 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22225 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22226 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22227 Remove extra quoting.
22228
22229Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22230
22231 * gdb.base/commands.exp: Make test names unique; every test either
22232 passes or fails. Update some comments.
22233
22234 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22235
22236Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22237
22238 The following fixes a FAIL caused by the fact that the alpha stabs
22239 configuration didn't use the ".if alpha" code in weird.def.
22240 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22241 bit pointer, so the 32 bit version works even on the alpha.
22242 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22243 Remove the stuff which allowed us to have separate versions for
22244 alpha and everything else.
22245
22246 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22247 regexp which "info func operator\[\](" is supposed to match. Fix
22248 string to send to GDB. Note that GDB still doesn't work right. Add a
22249 new test for "info func .perator\[\](" which GDB does handle correctly.
22250
22251 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22252
22253Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22254
22255 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22256 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22257 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22258 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22259 it makes the tests harder to understand and confuses test-o-matic.
22260 The preferred style is that each test provides a PASS or a FAIL,
22261 and has a unique message (e.g. "continue #54" not just "continue")
22262 which is the same for the pass and the fail.
22263 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22264 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22265 to lib/gdb.exp.
22266 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22267 prt_accept which was basically the same thing. Likewise for
22268 test_print_reject and prt_reject.
22269 * lib/gdb.exp (test_print_reject): Add some more error message
22270 patterns to match from the former printcmds.exp (prt_reject).
22271 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22272 One defect of the passcount stuff is that some of it failed to
22273 report XPASS where appropriate.
22274 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22275 stuff before and after arg in expected pattern.
22276 (test_paddr_operator_functions): Re-do test without print_addr_of;
22277 this is the only test which seems to want extra stuff there.
22278
22279Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22280
22281 * gdb.base/nodebug.exp: Update new tests to reflect improved
22282 wording of gdb output.
22283
22284 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22285 and "ptype" work on variables in files compiled without -g.
22286 Replaces commented out "maint print msymbol" tests.
22287
22288Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22289
22290 * gdb.base/setvar.c (dummy): Call malloc.
22291
22292 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22293 losing with the irix4 sed.
22294
22295 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22296 ALRM" on irix4.
22297
22298Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22299
22300 * TODO: Remove items about corefile.exp testing new exec-file and
22301 backtrace; both are now done. Add items about printing enums.
22302
22303Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22304
22305 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22306 "get signal $thissig" test fails.
22307
22308 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22309
22310Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22311
22312 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22313 compiler warning with dec alpha compiler.
22314
22315 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22316 extra \n from gdb_test call (this explains why the prompt test
22317 that I removed yesterday was there).
22318 (user_defined_command_test): Remove extra \n and prompt test.
22319
22320 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22321 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22322 doesn't exist.
22323 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22324 Also remove alpha workaround, which turns out to be because
22325 SIGABRT == SIGLOST.
22326
22327 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22328
22329 * gdb.base/help.exp: Don't test "help show".
22330
22331Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22332
22333 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22334 "set print address" is on.
22335 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22336 pass prompt to gdb_test; gdb_test already looks for the prompt.
22337
22338 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22339
22340 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22341 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22342 was to make sure that gdb can read a core file. But (a) the "read
22343 the corefile" part didn't make it to a1-selftest.exp, we just
22344 delete the corefile after creating it, and (b) we test reading
22345 corefiles in corefile.exp anyway. Also, this test left around a
22346 xgdb process on Solaris.
22347
22348 * gdb.base/corefile.exp: Also test backtrace.
22349
22350Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22351
22352 * gdb.base/commands.exp: Test a simple user defined command with
22353 arguments and if/while statements; verify the full user command is
22354 printed by "show user".
22355
22356 * gdb.base/commands.exp: Test if/while commands as part of a
22357 breakpoint command list; verify they appear in breakpoint
22358 information.
22359
22360Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22361
22362 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22363 than by dividing by zero.
22364
22365Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22366
22367 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22368 performing an inferior call with watchpoints enabled.
22369 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22370 call.
22371
22372Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22373
22374 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22375 of "file" command.
22376
22377 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22378 Add additional pattern for when "int operator int(void);" appears
22379 in a different order.
22380
22381Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22382
22383 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22384
22385 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22386 and "signal" with ".*".
22387
22388Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22389
22390 * TODO: Add note about "handle all nostop".
22391
22392 * gdb.base/{sigall.c, sigall.exp}: New test.
22393 * gdb.base/Makefile.in: Add it.
22394
22395Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22396
22397 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22398 when invoking GDB, suppresses any windowing interface.
22399
22400Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22401
22402 * config/sim-gdb: New file, simulator testing support.
22403
22404Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22405
22406 * gdb.base/interrupt.exp: Test calling func1 twice.
22407
22408Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22409
22410 * gdb.base/list.exp (test_forward_search): Set timeout higher
22411 when we'll be getting lots of output from gdb.
22412
22413 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22414 "init_malloc" to after the expect statement. Run it if that
22415 regexp is taken, but also for two others which happen if source
22416 cannot be found.
22417
22418Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22419
22420 * gdb.base/printcmds.exp: New test, for printing register before
22421 program is running.
22422
22423Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22424
22425 * gdb.base/list.exp: Correct some alternate expect patterns
22426 to reflect changes in list1.c.
22427
22428Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22429
22430 * TODO: Add item regarding large frames.
22431
22432 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22433
22434 * TODO: Remove item about enabling return.exp; it
22435 is enabled. Suggest a few more "return" tests.
22436
22437Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22438
22439 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22440 anonymous unions.
22441
22442Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22443
22444 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22445 and pr-5646.o, so "make" is the same as "make all", not "make
22446 pr-4975.o".
22447
22448Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22449
22450 * gdb.base/list.exp: Adjust expectations to reflect changes in
22451 list1.c.
22452 (test_forward_search): New test proc.
22453 * gdb.base/list1.c (long_line): New function, has long source line.
22454
22455Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22456
22457 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22458 additional line of code that was added.
22459
22460Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22461
22462 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22463 tests so as not to overflow expect's input buffers.
22464 * gdb.disasm/hppa.exp: Corresponding changes.
22465
22466Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22467
22468 Beginnings of template debugging tests.
22469 * gdb.c++/templ-info.cc: New file to test for template
22470 debugging capability of the compiler.
22471 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22472 templ-info.cc.
22473 * gdb.c++/templates.cc: Add explicit template instantiations
22474 to enable compiling with -fno-implicit-templates. Add destructor
22475 and 'value' method to T5 class for template tests.
22476 * gdb.c++/templates.exp: Add testcases for printing of template
22477 types, setting breakpoints on template methods and calling a
d63a86f8 22478 template method.
c906108c
SS
22479
22480Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22481
22482 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22483 branch target since some assemblers (gas-2.5) may emit a
22484 relocation for the branch instead of resolving it in the
22485 assembler.
22486
22487Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22488
22489 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22490 through signal handler.
22491
22492Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22493
22494 * configure.in (*-*-netware): Use config/mt-netware.
22495
22496 * config/mt-netware: New file.
22497 * config/mt-i386-netware: Removed, separate configs for different
22498 netware architectures are no longer needed now that we have
22499 --with-headers.
22500
22501Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22502
22503 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22504 by the recent changes to use ANSI C arithmetic conversions.
22505
22506Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22507
22508 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22509 bug involving using inferior_pid to figure out whether to select a
22510 frame.
22511
22512Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22513
22514 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22515 match the current disassembler output.
22516
22517Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22518
22519 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22520 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22521 types, expect "int" as type of integer values (for now).
22522
22523Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22524
22525 * gdb.base/commands.exp: New tests for if/while commands.
22526
22527Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22528
22529 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22530 by .*, since hex values have different syntax in Chill mode.
22531
22532Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22533
22534 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22535 linefeed from expect pattern for repeated types with indices > 9.
22536
22537Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22538
22539 First part of Fortran test suite.
22540 * gdb.fortran: New directory.
22541 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22542
22543Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22544
22545 * gdb.base/default.exp: Update expect pattern for load command
22546 without arguments.
22547
22548Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22549
22550 * configure.in: Change i386 to i[345]86.
22551 * gdb.base/configure.in: Likewise.
22552 * gdb.c++/configure.in: Likewise.
22553 * gdb.chill/configure.in: Likewise.
22554
22555Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22556
22557 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22558 patterns, since that is not a valid context for comments.
22559
22560Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22561
22562 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22563 repeated types and repeated types with indices > 9.
22564
22565Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22566
22567 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22568 2417; old bug has been fixed.
22569
22570Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22571
22572 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22573 send the newline ourselves instead of assuming gdb_test will do
22574 so when passed an empty input string.
22575
22576 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22577 stabs testcode.
22578
22579Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22580
22581 * lib/gdb.exp (gdb_test): Don't send anything if the first
22582 argument is an empty string. This makes cases where we want to
22583 match output that is already in expect's buffers (for example,
22584 matching a breakpoint after gdb_run_cmd has been called) work
22585 reliably.
22586
22587Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22588
22589 * config/netware.exp: New file.
22590
22591Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22592
22593 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22594 the -B and -L prefixes so we can find the debugging stub.
22595
22596 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22597 there and we are using the gcc from the tree.
22598
22599 * gdb.base/types.c: Removed.
22600
22601 * gdb.base/configure.in: Look for makefile fragments in ../config.
22602 Recognize i386-*-netware.
22603 * gdb.c++/configure.in: Likewise.
22604
22605Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22606
22607 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22608 the correct TCL syntax.
22609
22610Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22611
22612 * gdb.base/opaque.exp: use runto instead of messing around with
22613 breakpoints. Simplify by using gdb_test.
22614
22615 * gdb.base/bitfields.exp: restart between tests on netware targets
22616 because breakpoints aren't relocated after target death. Run
22617 processes to completion.
22618
22619 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22620
22621Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22622
22623 * Makefile.in: Remove extra tabs that confuse some versions
22624 of "make". Use the newly built gdb to test with by default,
22625 rather than the first one in the tester's search path.
22626
22627Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22628
22629 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22630
22631 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22632 condition help.
22633
22634Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22635
22636 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22637
22638 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22639 running.
22640 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22641 * gdb.base/funcargs.exp: Likewise.
22642
22643 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22644 * gdb.base/funcargs.exp: Likewise.
22645
22646 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22647 message is "".
22648
22649Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22650
22651 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22652 return,signals,twice}.exp: Handle non-existant binaries
22653 consistantly.
22654
22655 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22656 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22657 might testing a cross development system.
22658
22659Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22660
22661 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22662 runtest script is relative to ${srcdir}, not ${rootdir}.
22663
22664Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22665
22666 * gdb.base/signals.exp: Allow for optionality of breakpoint
22667 address.
22668
22669Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22670
22671 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22672
22673Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22674
22675 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22676 for size_t definition.
22677 * gdb.c++/templates.cc: Likewise
22678
22679 * config/mt-i386-netware: New file.
22680
22681 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22682 defined.
22683
22684 * gdb.base/Makefile.in: Added support for systems that name core
22685 files by appending "core" to the program name.
22686 * gdb.base/a1-selftest.exp: Likewise.
22687
22688Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22689
22690 * gdb.base/return.exp: Add comment and message for `return double'
22691 test failure on Sparc Solaris.
22692
22693Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22694
22695 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22696
22697Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22698
22699 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22700 from optimizing them away.
22701 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22702 patterns to include default constructors and assignment operators,
22703 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22704 character in the output of the virtual base pointer.
22705
22706Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22707
22708 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22709 expression match in print_addr_of to avoid unintented matches.
22710 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22711 versions up to 2.5.8.
22712
22713Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22714
22715 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22716 included file to run under newer versions of expect.
22717 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22718 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22719 Remove xfail for the virtual table of BDDHookV.
22720
22721Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22722
22723 * lib/gdb.exp (string_to_regexp): Set a default result.
22724 (default_gdb_start): Fix misleading message.
22725
22726Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22727
22728 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22729 Remove all CC, etc definitions.
22730 * config/mt-hpux: New file.
22731 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22732 (CFLAGS, LDFLAGS): Define.
22733 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22734
22735 * Makefile.in (site.exp): Don't insert host_os, etc.
22736 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22737 (distclean): Check existence of subdir.
22738 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22739 * gdb.base/Makefile.in: General cleanup and simplification.
22740 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22741 to build executables. Use default rule to build .o files.
22742 (EXPECT, RUNTEST, CC): Fix relative pathname.
22743 (site.exp): Don't insert host_os, etc.
22744 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22745 and/or SIGUSR1 defined.
22746 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22747 * gdb.c++/Makefile.in: General cleanup and simplification.
22748 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22749 (CFLAGS): Remove.
22750 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22751
22752Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22753
22754 * gdb.base/recurse.exp: Misc changes to get tests running again
22755 after Kung's changes to the watchpoint code.
22756 * gdb.base/watchpoint.exp: Likewise.
22757
22758Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22759
22760 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22761
22762Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22763
22764 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22765 * lib/gdb.exp (default_gdb_start): Define.
22766 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22767 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22768 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22769 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22770 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22771 Don't call gdb_target_udi in between tests.
22772
22773Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22774
22775 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22776 (which was basically just a local version of the same thing). In
22777 addition to avoiding duplication, gdb_test_exact is faster.
22778 * lib/gdb.exp (gdb_test_exact): Fix typo.
22779
22780 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22781 don't give an error.
22782
22783 * gdb.base/term.exp: Call delete_breakpoints before starting.
22784
22785 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22786 (t10): Add comment.
22787
22788Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22789
22790 Reorganization of the GDB Test Suite.
22791
22792 * gdb.base: New directory, contains all the basic tests.
22793 * gdb.c++: New directory, tests specific to C++.
22794 * gdb.chill: New directory, tests specific to Chill.
22795 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22796 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22797 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22798 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22799 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22800 t30-31 to chill).
22801 * */gdbme.*: Rename to match appropriate expect scripts.
22802 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22803 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22804 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22805 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22806 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22807 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22808 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22809 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22810 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22811 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22812 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22813 gdb.c++/virtfunc.cc: New names of C++ files.
22814 * gdb.chill/chillvars.ch: New name of Chill file.
22815 * gdb.base/configure.in, gdb.c++/configure.in,
22816 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22817 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22818 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22819 * configure.in (configdirs): Update to reflect directory changes.
22820 (target_abbrev): No longer define for any configuration.
22821 * Makefile.in: Cosmetic improvements to header comments.
22822
22823Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22824
22825 Various changes to gdb.t31:
22826
22827 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22828 * gdbme.ch: Make all key-words and predefineds be upper-case.
22829 * chillvars.exp: Expect key-words and predefinds in upper-case.
22830
22831 * chillvars.exp: Use gdb_test_exact many places.
22832 Change expected output for arrays (which now includes index labels).
22833
22834 * pr-5020.exp, gdme.ch (module PR_5020):
22835 New test, for PR-5020.
22836
22837Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22838
22839 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22840 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22841
22842Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22843
22844 * Makefile.in: Fix bit-rot in definitions of CHILL,
22845 CHILL_FOR_TARGET and Chill_LIB.
22846 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22847 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22848 CHILL, and CHILL_LIB.
22849
22850Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22851
22852 * Revert the previous changes. Please see Rob's directory
22853 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22854
22855Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22856
22857 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
22858 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22859 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22860 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
22861 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22862 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22863 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22864 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22865 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22866 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22867 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22868 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22869 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22870 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22871 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22872 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22873 changes from 94Q1.
22874
22875Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22876
22877 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22878 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22879 Rob's new testing fragments.
22880
22881Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22882
22883 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 22884 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
22885
22886Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22887
22888 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22889 version also, match on casted version strings, and match on
22890 gdb startup case where the line numbers might be messed up.
22891
22892Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22893
22894 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 22895 (CFLAGS): Delete it from here.
c906108c
SS
22896
22897Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22898
22899 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22900
22901Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22902
22903 * Makefile.in (RUNTEST): Default to just "runtest".
22904
22905Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22906
22907 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22908 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22909 the code has been restructured.
22910
22911Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22912
22913 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22914 \n, not just one of each.
22915
22916 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22917 /bin/cc gives a warning if you do.
22918
22919Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22920
d63a86f8 22921 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
22922 __t10ListS_link1ZUiRCUiPT0
22923
22924Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22925
22926 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22927 on local variables in recursive functions.
22928
22929 * gdb.t07/Makefile.in: Build the new test.
22930
22931Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22932
22933 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22934 directly. Instead compare the return values from actual calls.
22935
22936Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22937
22938 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22939
22940Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22941
22942 * From Peter Schauer with minor modifications.
a9c64011
AS
22943 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22944 stops in mid-line in the caller. Add xfail for returning a float
22945 value on X86 targets.
c906108c
SS
22946
22947Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22948
22949 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22950 to avoid expect lossage.
22951 (fmem_LRbug_tests): Likewise.
22952 * gdb.disasm/hppa.s: Corresponding changes.
22953
22954 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22955 conditions to work with latest dejagnu/expect.
22956
22957 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22958 expected to fail on the PA.
22959 (backtrace in call with trampolines): Explicitly require main
22960 to be frame #1 (no trampolines should show up in backtrace).
22961
22962 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22963 "continue -expect".
22964 * gdb.t06/break.exp: Likewise.
22965 * gdb.t07/watchpoint.exp: Likewise.
22966 * gdb.t13/bitfields.exp: Likewise.
22967 * gdb.t15/{funcargs,return}.exp: Likewise.
22968 * gdb.stabs/weird.exp: Likewise.
22969 * config/{mips,udi}-gdb.exp: Likewise.
22970
22971 * hppa.sed: Enclose comments within a sed command to avoid
22972 losing with the old OSF1 sed.
22973
22974Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22975
22976 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22977 sequent dynix.
22978 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22979 * gdb.t15/funcargs.exp: Conditionally step again to really
22980 finish from marker_call_with_trampolines. Handle the case where
22981 the first step from within call_with_trampolines already steps
22982 us back to main.
22983 * gdb.t15/gdbme.c: Add comment to closing brace of
22984 call_with_trampolines for funcargs.exp.
22985
22986Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22987
d63a86f8 22988 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
22989 Fix typo(s).
22990
22991Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22992
22993 * gdb.t07/gdbme.c: More code for watchpoint testing.
22994
22995 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22996 "Hardware watchpoint" throughout file.
22997 (test_watchpoint_triggered_in_syscall): New test.
22998 (test_complex_watchpoint): New test.
22999
23000Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23001
23002 * gdbme.c (call_with_trampolines): New function to try and step
23003 into. Tests trampoline problems on the PA.
23004
23005 * funcargs.exp (localvars_in_indirect_call): No longer expect
23006 stepping into indirect call to fail on PAs.
23007 (test_stepping_over_trampolines): New test.
23008
23009Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23010
23011 * TODO: Add suggestions for static member function tests, and
23012 completion tests.
23013
23014Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23015
23016 * TODO: Add suggestions for "p/a" tests.
23017
23018 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23019 (default_gdb_exit): Replace all the hair with sending "quit" to
23020 the process with a simple close.
23021
23022Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23023
23024 * TODO: Add suggestions for shared library tests.
23025
23026Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23027
23028 * TODO: Add suggestions for x/s tests.
23029
23030Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23031
23032 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23033 "enable once", and "enable breakpoints once" with ".*".
23034
23035Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23036
23037 * TODO: Add suggestions about structure passing tests.
23038
23039Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23040
23041 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23042 the primary1 test, use work around if __GNUC__ < 2.
23043 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23044 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23045 Test for bad output rather than waiting for timeout. Issue
23046 second continue only if first continue failed.
23047
23048Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23049
23050 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23051 operator[] test with gdb_test because the old code didn't seem to
23052 be getting the quoting right with the new dejagnu.
23053
23054Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23055
23056 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23057 one from the path.
23058 * Makefile.in: Use a fresh expect if there is one, use runtest
23059 from the src tree if there is one.
d63a86f8 23060
c906108c
SS
23061Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23062
23063 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23064 next over recursive call. Revise the tests from that point on
23065 (which had been skipped) to match GDB's actual (correct) output.
23066
23067 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23068 with next over a breakpoint whose condition is false.
23069
23070 * gdb.t00/help.exp: Comment out "help set print" tests just like
23071 (and for same reason as) "help set" test.
23072
23073Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23074
23075 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23076 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23077
23078Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23079
23080 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23081 necessary gdb_target_udi.
23082
23083 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23084
23085 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23086 1838 and 2417; they are fixed.
23087
23088 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23089 gdb.t03/ptype.exp (ptype structure, ptype union):
23090 Remove xfails; the test is looser than when the xfails were added.
23091
23092 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23093 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23094
23095 * gdb.t01/run.exp: Only run shell test if isnative.
23096
23097 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23098 since "run" automatically loads if necessary. Call gdb_target_udi
23099 after the "file" since "file" kills any execution target.
23100
23101 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23102 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23103 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23104 argument for UDI.
23105
23106Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23107
23108 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23109
23110 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23111
23112Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23113
23114 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23115 properly quoting regexps. This makes the second argument to
23116 demangle a fixed string, which matches the callers, instead of a
23117 shell-style pattern which is what the previous implementation
23118 used. Update some of the callers.
23119
23120Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23121
23122 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23123 (comib_nullified_tests): Fix typo.
23124 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23125 strings. No longer expected to fail.
23126
23127 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23128 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23129 strings. No longer expected to fail.
23130
23131 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23132 string. No longer expected to fail.
23133
23134Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23135
23136 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23137 No longer expected to fail.
23138
23139 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23140 string. No longer expected to fail.
23141
23142Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23143
23144 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23145 only in the names (I probably got most of them). I was even
23146 generous with some which differed in underscores in names, and
23147 probably missed a few, and I *still* was able to remove almost a
23148 third of the file with almost no impact on testsuite coverage.
23149
23150Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23151
23152 * gdb.t00/default.exp: Match udi_attach error message as well as
23153 the one from child_attach.
23154
23155 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23156
23157 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23158
23159 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23160 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23161
23162 * Move test with enums and partial symbols back to
23163 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23164 Reverts the change of 26 May 93. Per today's change to
23165 stabs.texinfo, the behavior that weird.exp was expecting was
23166 unreasonable; what is important is that the compiler+gdb get
23167 things right, which happens with a recent gcc. Also fix the test
23168 to deal with native compilers which put out the stab gdb can't
23169 deal with.
23170
23171Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23172
23173 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23174 in the names. The main thing these accomplish is to slow things down.
23175 Many more such duplicates surely remain.
23176
23177 * gdb.t00/help.exp: Comment out "help support" test just like
23178 (and for same reason as) "help set" test.
23179
23180Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23181
23182 * gdb.t06/break.exp: Remove setup_xfails for
23183 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23184 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23185 about known bug in gcc to include up through 2.5.8.
23186 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23187 well as "_vb$".
23188 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23189 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23190 with latest gcc and gdb.
23191 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23192 well as "_vb$".
23193
23194Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23195
23196 * configure.in (hppa*-*-*): Also configure and build stabs-only
23197 tests.
23198
23199Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23200
23201 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23202 * gdb.t10/configure.in (hppa*-*-*): Use it.
23203
23204Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23205
23206 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23207
23208Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23209
23210 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23211 versions prior to 1.13.5.
23212
23213Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23214
23215 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23216 the prompt is at the start of a line.
23217
23218Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23219
23220 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23221 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23222 in the copr tests now.
23223 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23224 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23225 expected to fail.
23226
23227Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23228
23229 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23230 gdb.t31/chillvars.exp, lib/gdb.exp:
23231 Tweak to run under either version of expect.
23232 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23233 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23234 * gdb.t11/list.exp: Remove extraneous whitespace.
23235
23236Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23237
23238 * gdb.t16/printcmds.exp (test_print_strings): Accept
23239 "(unsigned char *) " before the string.
23240
23241 * TODO: Add notes about printing of fancy types and GDB expressions.
23242
23243Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23244
23245 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23246 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 23247 if doing mips-idt-ecoff.
c906108c
SS
23248
23249Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23250
23251 * Most .exp files: Tweak to run under either version of expect.
23252
23253Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23254
23255 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23256 xfails; I'm not sure why they are failing, but not because of PR 1806.
23257
23258Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23259
23260 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23261 defined in lib/gdb.exp.
23262
23263Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23264
23265 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23266 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23267 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23268 have to be typeless.
23269
23270Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23271
23272 * TODO: Add suggestion for copyright year test.
23273
23274Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23275
23276 * configure.in (*-*-lynxos*): Add stabs tests.
23277
23278Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23279
23280 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23281 so insert a tab before any assembler directive in column zero.
23282
23283 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23284 stores.
23285 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23286 stores.
23287 (fpu_short_memory_tests): Likewise.
23288
23289Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23290
23291 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23292 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23293 .stabs directives in comments.
23294
23295Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23296
23297 * TODO: New file, describing tests we could write.
23298 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23299
23300Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23301
23302 * gdb.t06/signals.exp: Add kludge to force re-sync.
23303
23304 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23305 to xgdb instead of gdb, get out of gdb.
23306
23307Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23308
23309 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23310 for info.
23311
23312Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23313
23314 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23315 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23316 * gdb.stabs/hppa.sed: New sed script for the PA.
23317
23318Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23319
23320 * gdb.stabs: Re-write weird.def and configuration to use sed
23321 instead of cpp. sed is portable and POSIX; cpp is neither.
23322
23323Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23324
23325 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23326
23327Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23328
23329 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23330
23331Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23332
23333 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23334 "_vb$".
23335 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23336 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23337
23338Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23339
23340 * lib/gdb.exp: Comment out code which depends on non-existent
23341 `transform' procedure.
23342
23343Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23344
23345 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23346 * lib/gdb.exp: Transform tool name.
23347 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23348 1.1's new error handling system.
23349
23350Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23351
23352 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23353
23354Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23355
23356 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23357 They made pattern matching so slow that timeouts happened on
23358 heavily loaded systems. Now any output from "show print" which
23359 gets us back to the GDB prompt is a PASS.
23360
23361Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23362
23363 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23364
23365Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23366
23367 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23368
23369 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23370 It is not from PR 3220.
23371
23372Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23373
23374 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23375 just started failing because they depended on the order the
23376 subcommands are presented, or exact docstring text. This kind of
23377 test is a pain and has minimal benefit.
23378
23379Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23380
23381 * gdb.t09/corefile.exp: At end of test, use "core" command with
23382 no arguments.
23383
23384Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23385
23386 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23387 17}/Makefile.in: Make it possible to run the testsuite with Sun
23388 make and CC = cross gcc by adding explicit build rules for .o
23389 files.
23390
23391Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23392
23393 * gdb.t15/funcargs.exp: Don't put comments on same line as
23394 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 23395
c906108c
SS
23396Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23397
23398 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23399
23400Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23401
23402 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23403 * gdb.t20/inherit.exp: remove three dumplicate entries.
23404
23405Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23406
23407 * gdb.t06/break.exp: For "next over recursive call", fail on any
23408 incorrect output, not just on "factorial (value=2)".
23409
23410Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23411
23412 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23413 working now. Add an xfail if accesing a bss variable causes
23414 a memory error if the target is not yet run.
23415
23416Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23417
23418 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23419 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23420 name of __st* demangling (2 strings). Did Kung really get the
23421 more than 95 others right without testing them?
23422
23423Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23424
23425 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23426
23427Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23428
23429 * configure.in (configdirs): Add gdb.disasm
23430 * gdb.disasm: New directory for GDB disassembler tests.
23431 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23432
23433Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23434
23435 * gdb.t00/help.exp: Don't test "help set".
23436
23437 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23438 from within expect statements. None of these happen anymore and
23439 they cause regressions to be silently unnoticed.
23440
23441 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23442 messages) about known failures with gcc cygnus-2.4.5-930417.
23443
23444 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23445 comp-info.exp so it gets built if it doesn't exist.
23446
23447 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23448 it is no longer used.
23449 * gdb.t13/comp-info.c: Removed.
23450
23451Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23452
23453 * gdb.t06/signals.exp: Add xfail for sun3.
23454
23455Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23456
23457 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23458 relevant because ^C doesn't get sent but failure can be reproduced
23459 interactively).
23460
23461Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23462
23463 * gdb.stabs/alpha.mt: New configuration file for alpha.
23464 * gdb.stabs/configure.in: Use it.
23465 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23466 sharing with alpha.mt, redefine long to word via preprocessor.
23467 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23468 for alpha.
23469 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23470 native cc.
23471 * gdb.t00/teststrategy.exp: Change expect string so that we
23472 consume the `(xgdb)' from the command echo and from the gdb prompt.
23473 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23474 gdb currently compares all values as long, so this failure probably
23475 applies to any configuration where LONGEST is bigger than a target int.
23476 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23477 with gcc.
23478 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23479 to handle opaque pointers, gcc is.
23480 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23481 as first argument. Include <sys/types.h> and change all operator
23482 new definitions to use size_t.
23483 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23484 now that we use size_t.
23485
23486Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23487
a9c64011 23488 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 23489 a long or float array cast all array members to the same type.
a9c64011 23490 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 23491 with 64 bit longs.
a9c64011 23492 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 23493 on alpha.
a9c64011 23494 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
23495
23496Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23497
23498 * gdb.t24 (demangle.exp): Constructors of templates have names like
23499 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23500 section 14.6 of the ARM.
23501
23502 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23503 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23504 accomplish little and slow down the testsuite.
23505
23506 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23507 Accept spaces various places.
23508
23509Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23510
23511 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23512 with watchpoint enabled.
23513
23514 * Makefile.in: Remove definition of CC and remove the second
23515 definition of CXX (the "CXX = gcc" one remains). These definitions
23516 were causing backquotes to be expanded within backquotes, which
23517 doesn't work.
23518
23519Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23520
23521 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23522
23523Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23524
a9c64011
AS
23525 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23526 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
23527 by mips cc and contains no stabs entries.
23528
23529Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23530
23531 * config/vx-gdb.exp: Use fake device to load files rather than
23532 NFS.
23533 * lib/gdb.exp: New proc to do "file" command.
23534 * config/unix-gdb.exp: Use new "file" proc.
23535
23536Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23537
23538 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23539 Rework board rebooting slightly.
23540 (gdb_exit): Don't exit from the remote shell; there isn't one.
23541 * gdb.stabs/weird.exp: If a program is being debugged already,
23542 kill it.
23543 * gdb.t04/setvar.exp: Stop and restart gdb.
23544 * gdb.t05/expr.exp: Likewise.
23545 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23546 restart gdb and reload the program.
23547 * gdb.t08/opaque.exp: Likewise.
23548 * gdb.t12/scope.exp: Likewise.
23549 * gdb.t13/bitfields.exp: Likewise.
23550 * gdb.t15/funcargs.exp: Likewise.
23551 * gdb.t20/classes.exp: Likewise.
23552 * gdb.t03/ptype.exp: Increase timeout.
23553 * gdb.t16/printcmds.exp (test_print_string_constants,
23554 test_print_array_constants): Likewise.
23555 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23556 * gdb.t20/classes.exp (do_tests): Likewise.
23557 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23558
23559Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23560
23561 * gdb.stabs: Renamed *wierd* to *weird*.
23562
23563Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23564
23565 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23566 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23567
23568Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23569
23570 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23571 (do_tests): Remove xfail for whatis on one_var and two_var.
23572
23573Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23574
23575 * Makefile.in: Made cross building work better by adding
23576 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23577
23578Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23579
23580 * gdb.t15/{return.c,return.exp,Makefile.in}:
23581 New test, currently commented out.
23582
23583Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23584
23585 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23586 still running and removes the leftover named socket so GDb can do
23587 clean restarts.
23588
23589Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23590
23591 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23592 console, not GDB.
23593 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23594 cross testing works better with "make check"
23595 * config/unix-gdb: Use default procedures for exit and version.
23596 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23597 with the newest VxWorks.
23598
23599Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23600
23601 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23602 old form.
23603
23604 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23605 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23606
23607 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23608
23609 * config/unix-gdb.exp: Remove this version of gdb_exit
23610 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23611 Rob says he'll look at it when he gets back to testing boards.
23612
23613Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23614
23615 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23616 an expected fail for certain ptype commands.
23617
23618 * gdb.t20/classes.exp: Update expected results of "ptype class
23619 Base1" to account for the constructor that now appears in the type.
23620
23621Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23622
23623 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23624 disappeared from list.
23625 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23626 "alldone" proc with call to cleanup and exit.
23627 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23628 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23629 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23630 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23631 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23632 "alldone" proc with simple returns that suppress remaining
23633 tests. The alldone proc went away many months ago.
23634
23635Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23636
23637 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23638
23639 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23640
23641Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23642
23643 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23644 as vax gdb will display them.
23645
23646Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23647
23648 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23649 optimizers.
23650
23651 * scope.exp: Change "bad value for localval" messages so each one
23652 is unique.
23653
23654 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23655 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23656
23657 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23658
23659Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23660
23661 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23662 doesn't exist (due to optimization).
23663
23664Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23665
23666 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23667 contains \r because the filename is long.
23668
23669 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23670 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23671
23672Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23673
23674 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23675 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23676 Ultrix.
23677 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23678 int tests.
23679 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23680
23681Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23682
23683 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23684
23685 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 23686 to match does not match the passing case but still matches the
c906108c
SS
23687 failing case.
23688
23689Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23690
23691 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23692
23693Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23694
23695 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23696 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23697 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23698 Remove various versions of gdb_exit.
23699 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23700 gdb_exit.
23701 * config/unix-gdb.exp: gdb_exit remains here, and should override
23702 the generic version, since it's doing a lot of wierd stuff that
23703 the other versions aren't. FIXME, fold it in, or abandon this
23704 version.
23705
23706Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23707
23708 * gdb.t24/demangle.exp: Add tests for PR 3220.
23709
23710Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23711
23712 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23713
23714Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23715
23716 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23717 "i386-*-*". Works for i486 as well.
23718
23719 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23720 bug, and expand domain of xfail to all SVR4 systems, since the
23721 actual problem is likely to be in generic SVR4 /proc support.
23722
23723Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23724
23725 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23726
23727Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23728
23729 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23730 xfails for other systems. Match a missing 'Continuing.' as an
23731 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23732
23733 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23734 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23735 Only issue warning for missing executables if -all option is used.
23736
23737 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23738 file if -all option is used. It's like an unpredictable XFAIL.
23739
23740Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23741
23742 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23743 for dynamically linked binaries.
23744
23745 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23746
23747Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23748
23749 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23750 to state that this is a known bug in old versions of g++.
23751
23752Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23753
23754 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23755 while waiting for `Continuing'.
23756
23757Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23758
23759 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23760 in text, data, and bss.
23761 * gdb.t10/nodebug.c: Add local and global test variables for
23762 initialized and uninitialized data.
23763
23764Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23765
23766 * config/unix-gdb.exp (gdb_exit): Add "wait".
23767
23768Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23769
23770 * gdb.t06/signals.exp: xfail the continue from the handler for all
23771 targets.
23772
23773 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23774 function with watchpoints enabled, the i386 call dummy starts with
23775 a call.
23776
23777 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23778 386 bsd names its corefiles.
23779
23780Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23781
23782 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23783 compilers don't grok it.
23784 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23785 with small octal ints rather than character constants, which
23786 are signed and might not fit if first promoted to int.
23787
23788Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23789
23790 * gdb.t09/Makefile.in (clean): Remove corefile.
23791
23792Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23793
23794 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23795
23796Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23797 and Jim Kingdon (kingdon@cygnus.com)
23798
23799 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23800 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23801 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23802
23803Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23804
23805 * gdb.t17/interrupt.exp: Add xfail for hppa.
23806
23807Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23808
23809 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23810 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23811 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23812 to determine signed-ness of bitfields and use the result to setup
23813 the xfail.
23814 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23815 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23816 call line is reached if necessary.
23817
23818Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23819
23820 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23821
23822Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23823
23824 * gdb.t06/break.exp: Also test `clear' command.
23825
23826Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23827
23828 * gdb.t00/teststrategy.exp: Remove extra quote.
23829
23830 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23831 watchpoint enabled to be for all non-68k machines.
23832
23833 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23834
23835Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23836
23837 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23838 targets use aout.mt instead of ecoff.mt as gas understands
23839 standard aout format.
23840
23841Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23842
23843 * lib/gdb.exp (runto): Don't insist that function we are running to
23844 was compiled with -g.
23845
23846 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23847
23848 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23849 to get back into the read system call.
23850 Accept leading newline in case where we woke it up.
23851
23852Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23853
23854 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23855 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23856 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23857 enable ecoff configuration.
23858
23859Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23860
23861 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23862
23863Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23864
23865 * gdb.t16/printcmds.exp: Add another printf test.
23866
23867Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23868
23869 * configure.in: If configured -with-stabs on any target, add
23870 stabsdirs to configdirs.
23871
23872Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23873
23874 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23875 fun" so pattern does not match the command itself.
23876
23877Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23878
23879 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23880
23881Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23882
23883 * gdb.t17/interrupt.exp: Test for more things.
23884
23885Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23886
23887 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23888 compiler arranges the code and line numbers.
23889
23890 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23891
23892Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23893
23894 * gdb.t00/help.exp: Increase expect input buffer size.
23895
23896Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23897
23898 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23899
23900 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23901
23902 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23903
23904 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23905 [0-9]*, not just [0-9].
23906
23907Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23908
23909 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23910
23911 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23912
23913Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23914
23915 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23916
23917Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23918
23919 * gdb.t06/signals.c: Add xfails for sun3.
23920
23921 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23922
23923 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23924 test_stepping tests.
23925
23926Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23927
23928 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23929
23930 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23931
23932 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23933 rather than actually putting it through cpp twice.
23934
23935 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23936
23937Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23938
23939 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23940 no longer needed.
23941
23942Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23943
23944 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23945
23946 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23947 C++ features prints as "struct", make it a pass, not an xfail.
23948
23949Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23950
23951 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23952 Don't require VA to print as "class" rather than "struct".
23953
23954Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23955
23956 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23957
23958Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23959
23960 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23961
23962Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23963
23964 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23965 order.
23966
23967Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23968
23969 * gdb.t16/printcmds.exp: Add printf tests.
23970
23971 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23972
23973 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23974
23975Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23976
23977 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23978 pass counts, to counteract any existing or future setup_xfails.
23979
23980Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23981
23982 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23983 {BEGIN,END}_COMMON for common block instead of STAB.
23984 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23985
23986 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23987 intp_var should be N_GSYM not N_LSYM.
23988 wierd-aout.S: Use a label for the value of the N_SO.
23989 wierd.def: Remove all backslashes.
23990 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23991
23992Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23993
23994 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23995 get the expected next to inheritance3.
23996
23997Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23998
23999 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24000 now that gcc-2.4 gets it right.
24001
24002Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24003
24004 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24005
24006 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24007 generating comp-info.exp which works for cross-compilation.
24008
24009Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24010
24011 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24012 "*-*-sysv4.*".
24013
24014Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24015
24016 * gdb.t01/run.exp: Start with a fresh gdb.
24017 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24018 SVR4.x.
24019
24020Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24021
24022 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24023 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24024 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24025 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24026 things to remove.
24027
24028Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24029
24030 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24031 test cases from bug reports.
24032
24033Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24034
24035 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24036 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24037 avoid spurious xfails.
24038 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24039 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24040 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24041
24042Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24043
24044 * gdb.t00/teststrategy.exp: Rework to provide more useful
24045 description of each test, fix problem with systems that define
24046 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24047 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24048 results for "next over recursive call" so timeouts aren't taken
24049 by error.
24050
24051Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24052
24053 * gdb.t12/scope.exp: Test printing of variables before run.
24054
24055 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24056 printed in wrong order due to sorting.
24057
24058Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24059
24060 * gdb.t00/teststrategy.exp: Fix expected results for printing
24061 user entered string constant. Is array of char, prints with no
24062 address.
24063
24064 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24065 commands.
24066 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24067 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24068 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24069 of struct of char arrays.
24070 * gdb.t00/radix.exp: New tests for radix commands.
24071
24072Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24073
24074 * gdb.t16/printcmd.exp: Print a variable before running program
24075 (with xfail for AIX).
24076
24077Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24078
24079 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24080
24081 * gdb.t16/printcmd.exp: Don't print variables before running program.
24082
24083 * gdb.t06/break.exp: Don't require envp argument to main.
24084
24085 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24086
24087 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24088 Add xfails for rs6000.
24089
24090 * gdb.t02/whatis.exp: Change other tests not to re-test something
24091 we already tested.
24092
24093 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24094 each type used has a variable of that type.
24095
24096Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24097
24098 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24099
24100Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24101
24102 * configure.in: change srctrigger to be a file, not a directory
24103
24104Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24105
24106 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24107
24108 * gdb.t11/list.exp: Fixed a couple of typos.
24109
24110Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24111
24112 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24113 is fixed and PR is closed.
24114 * gdb.t16 (gdbme.c): Add simple test string variable.
24115 * gdb.t16 (printcmds.exp): Add tests with simple test string
24116 variable, primarily for boundaries on "set print elements".
24117
24118Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24119
24120 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24121 Make leading 0's optional and don't expect a tab in the middle
24122 of the number.
24123
24124 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24125
24126 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24127 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24128 don't end command passed to gdb_test with newline.
24129
24130 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24131 signed keyword away, don't expect signed bitfields to be signed.
24132
24133 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24134 printing with only as many 1's as are in the field as well as printing
24135 with 32 1's (see comment).
24136
24137Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24138
24139 * gdb.t00/default.exp: Start with a fresh gdb.
24140 * configure.in (configdirs): Remove gdb.t31 until the chill
24141 compiler works again. It no longer is able to find chillrt0
24142 since it isn't in libchill.a anymore.
24143 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24144 wierd.o, make more modular.
24145 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24146 spurious newlines that caused problems.
24147
24148Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24149
24150 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24151 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24152 gdb.stabs/wierd.{exp,def}: Many new tests.
24153
24154 * gdb.t00/default.exp: update info line for new message.
24155
24156 * gdb.t02/{whatis.exp,gdbme.c}:
24157 Test that "char *" doesn't print as "caddr_t".
24158
24159Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24160
24161 * gdb.t00/help.exp: Use .* in place of some help messages which
24162 just changed.
24163 gdb.t00/default.exp: Update "info frame" test for new message.
24164 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24165 Remove some xfails
24166
24167Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24168
24169 * gdb.t03/{gdbme.c,ptype.exp}:
24170 Add tests for typedef'd struct and union without tags.
24171 Also check "whatis" on a variable of a typedef'd enum without a tag.
24172
24173 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24174 PRMS 1823; the bug still exists but isn't reproduced by this test
24175 anymore), and remove rs6000 XFAIL (the bug is fixed).
24176
24177 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24178 duplicated from whatis.exp. For those that are left, accept
24179 "long", "long int", or "int" for long variables (whatis.exp already
24180 has an XFAIL for "int", so no need to fail it here).
24181
24182 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24183 Deal with GCC's names for types now that GDB uses the compiler's names.
24184
24185 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24186 setup_xfail's for sunos4. If we #defined the signed keyword away,
24187 don't expect GDB to know that char it is signed.
24188
24189 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24190
24191Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24192
24193 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24194 should work on any system, regardless of debugging format.
24195 * gdb.t21/demangle.exp: Move to gdb.t24.
24196 * gdb.t24/demangle.exp: Move from gdb.t21.
24197 * gdb.t24/{Makefile.in, configure.in}: New files.
24198
24199Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24200
24201 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24202 * gdb.stabs: New directory.
24203
24204Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24205
24206 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24207 not just "Quit anyway?".
24208
24209Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24210
24211 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24212 that all setup_xfails are immediately followed by clear_xfails.
24213
24214Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24215
24216 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24217 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24218 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24219 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24220 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24221 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24222 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24223 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24224 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24225 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24226 gdb.t31/chillvars.exp, lib/gdb.exp:
24227 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24228 bug-gdb@prep.ai.mit.edu.
24229
24230Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24231
24232 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24233 with 0.0, not integer 0.
24234
24235Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24236
24237 * gdb.t06/break.exp: Update for "Kill the program" message change.
24238
24239Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24240
24241 * Makefile.in (GDBFLAGS): Set to -nx.
24242 * Makefile.in (site.exp): Use GDBFLAGS.
24243
24244Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24245
24246 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24247 Makefiles.
24248 (check): depend on just-check.
24249 (just-check): added so that tests can be run without a noop
24250 build pass.
24251
24252Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24253
24254 Switch to using configure's configdirs.
24255 * Makefile.in (Makefile): add configure.in dependency.
24256 (SUBDIRS): removed redundant assignment.
24257 * configure.in: switch subdirs assignment to configdirs.
24258 * gdb.t*/configure.in: new files.
24259
24260Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24261
24262 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24263 works.
24264
24265Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24266
24267 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24268 in explicit rules. Apparently this is not supported by some makes.
24269
24270Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24271
24272 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24273
24274Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24275
24276 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24277 disappeared.
24278
24279Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24280
24281 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24282
24283Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24284
24285 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24286 watchpoint problem that is now fixed.
24287 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24288 uninitialized convenience variables.
24289 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24290 structures.
24291
24292Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24293
24294 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24295 which causes expect to get out of sync with gdb on long output
24296 from help set.
24297 * gdb.t09/corefile.exp: Make expected pattern for core file
24298 failing signal and frame output format less sun specific.
24299
24300Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24301
24302 * gdb.t31/chillvars.exp: Add and remove initial dummy
24303 breakpoint, so that symbol table is forced in.
24304 (Needed at least on Sunos4, though it seems not SVR4.)
24305 * gdb.t31/chillvars.exp: Update for changed output format.
24306
24307Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24308
a9c64011 24309 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
24310
24311Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24312
24313 * Makefile.in: Added --srcdir when invoking runtest, removed the
24314 need for a local config file. (optional now)
24315
24316Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24317
24318 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24319 failure count used to force early termination. Add some more
24320 expected failures for gnu style demangling.
24321
24322Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24323
24324 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24325 pmi variable from gdb.t20/gdbme to get optimized away.
24326 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24327 Check for written corefile upon timeout _and_ eof.
24328
24329Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24330
24331 * config/unix-gdb.exp: Add missing return 0.
24332
24333Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24334
24335 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24336 test termination.
24337
24338Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24339
24340 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24341 disappeared.
24342
24343Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24344
24345 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24346 time as i860 support works.
24347
d63a86f8 24348 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
24349 "backtrace 100\r" rather than just "backtrace\r", to match last
24350 change.
24351
24352Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24353
24354 * config/udi-gdb.exp (gdb_exit): Remove close command.
24355 (gdb_target_udi): New procedure to set the UDI target.
24356 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24357 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24358 Added waits for prompts after several question responses. Added
24359 some more responses used by a29k-amd-udi-gdb.
24360 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24361 pass different arguments, restart UDI connection after program
24362 completion.
24363 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24364 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24365 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24366 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24367 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24368 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24369 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24370 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24371 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24372 after program completion.
24373 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24374 compiled with a SELECT_VECS setting.
24375 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24376 infinite recursion.
24377
24378 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24379 Added checks for COFF results, and made them expected failures for
24380 all targets. It would be better to make them expected failures
24381 for COFF targets only.
24382
24383Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24384
24385 * Makefile.in: add null dvi target, don't bother to recurse
24386 through test directories for info and install-info; rename
24387 $(datadir) to be dejagnu instead of deja-gnu
24388
24389Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24390
24391 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24392 compiler to coredump.
24393 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24394 code.
24395
24396Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24397
24398 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24399 coredump.
24400 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24401 code.
24402
24403Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24404
24405 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24406 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24407 which in a shell. Deletes xgdb when done.
24408 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24409 Tests the return from the "set height" or "set width" commands.
24410 Added a few return codes where needed.
24411
24412Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24413
24414 * Makefile.in (SUBDIRS): Add gdb.t17.
24415 * configure.in (subdirs): Add gdb.t17.
24416 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24417 files to test gdb's calling of functions in the inferior with
24418 the correct arguments and gdb's ability to retrieve any
24419 result returned.
24420
24421Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24422
24423 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24424 may be called after gdb goes away. Previous versions of expect
24425 needed these to avoid file descriptor leaks, but they cause
24426 errors with the current revision of expect.
24427 * gdb.t00/gdbvars.exp: Use -re on expected output after
24428 setting sevenbit-strings.
24429 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24430 to set sevenbit-strings consistent across tests.
24431 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24432 set sevenbit-strings consistent across tests.
24433
24434Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24435
24436 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24437 expected output to match current "expect" expectations.
24438
24439Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24440
24441 * gdb.t00/default.exp: Change expected output for default "source"
24442 command, to match new gdb behavior which requires a filename to
24443 source.
24444
24445Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24446
24447 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24448 expected fail for i486-*-* that misses the marker2 function.
24449 * gdb.t10/crossload.exp (bfddefault): Allow successful
24450 recognition of a format to pass even if no symbols are found.
24451 Explicitly catch failures where the format is not recognized
24452 or is ambiguous, and add the reason to the fail message.
24453 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24454 the cause is and invalid target and add reason to failure message.
24455 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24456 elf32-i386, elf32-sparc, and elf32-i860.
24457 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24458 Set up expected failure for 'filename'::variable scope resolution,
24459 which is now apparently broken on all targets.
24460 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24461 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24462 gdb.t23/templates.exp: Change failure for missing binfile into
24463 just a warning.
24464 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24465 references.
24466
24467Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24468
24469 * gdb.t00/default.exp: Add expected output for default "source"
24470 command, to match new gdb behavior.
24471 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24472
24473Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24474
24475 * config/*-gdb.exp: returns an error, rather than exiting on
24476 internal errors.
24477
24478Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24479
24480 * gdb.t03/gdbme.c: Add pointer to struct variable.
24481 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24482 referencing struct members.
24483
24484Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24485
24486 * configure.in (mips-idt-ecoff): New target.
24487 * config/mips-gdb.exp: New file for remote board using MIPS remote
24488 debugging protocol.
24489
24490 * Redid configuration scheme. Removed gdb.t*/configure.in.
24491 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24492 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24493 distclean targets. Built executables via .o files. Adjusted
24494 tests to account for source files in $(srcdir) rather than
24495 $(objdir).
24496 * lib/gdb.exp (runto): Don't expect () after the function name,
24497 because it may have arguments.
24498
24499Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24500
24501 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24502 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24503 expected failures for mips-idt-* and mips-sgi-*.
24504 * gdb.t00/default.exp (attach): Kill process if requested.
24505 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24506 that does not read core files.
24507 * gdb.t01/run.exp: Removed checks for exit status code.
24508 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24509 it is linked in.
24510 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24511 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24512 appropriate, rather than doing it by hand.
24513 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24514 execution.
24515 * gdb.t10/crossload.exp: Kill existing program if needed.
24516 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24517 appropriate, rather than doing it by hand. Always increase
24518 timeout for this test, not just for VxWorks.
24519
24520Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24521
24522 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24523 of Chill STRUCT types and STRUCT values.
24524 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24525 than "char".
24526 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 24527 struct2): New struct definitions and initializations to test
c906108c
SS
24528 simple Chill STRUCT types.
24529
24530Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24531
24532 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24533 the null byte at the end of strings.
24534 * gdb.t00/default.exp: Make show version insensitive to copyright
24535 date.
24536 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24537 to avoid dependencies on target char signedness.
24538 * gdb.t16/printcmds.exp: Update expected results for explicitly
24539 unsigned char.
24540 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24541 now work.
24542 * gdb.t21/demangle.exp: Add many more patterns for template
24543 demangling, most of them being expected failures.
24544 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24545 string we are matching for, to match on the whole string.
24546 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24547 and fix a whole bunch that had incorrect expected output but were
24548 passing anyway because of the bug in "proc demangle".
24549 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24550 type.
24551 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24552
24553Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24554
a9c64011
AS
24555 * gdb/testsuite: made modifications to testcases, etc., to allow
24556 them to work properly given the reorganization of deja-gnu and the
24557 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
24558
24559Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24560
24561 * gdb/testsuite: Initial creation of gdb/testsuite.
24562 Migrated dejagnu testcases and support files for testing nm to
24563 gdb/testsuite from deja-gnu. These files were moved "as is"
24564 with no modifications. This migration is part of a major overhaul
24565 of dejagnu. The modifications to these testcases, etc., which
24566 will allow them to work with the new version of dejagnu will be
24567 made in a future update.
48efe704 24568
8d8cb839 24569 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 24570\f
8d8cb839
EZ
24571;; Local Variables:
24572;; mode: change-log
24573;; left-margin: 8
24574;; fill-column: 74
24575;; version-control: never
24576;; End:
902f2ccb
MC
24577
24578 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 24579 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
24580 Copying and distribution of this file, with or without modification,
24581 are permitted provided the copyright notice and this notice are preserved.