]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix races in mi2-return.exp.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b9132588
MP
12011-06-23 Marek Polacek <mpolacek@redhat.com>
2
5d197ed0 3 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 4
e55595ca
MP
52011-06-23 Marek Polacek <mpolacek@redhat.com>
6
5d197ed0
MP
7 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
8
92011-06-23 Marek Polacek <mpolacek@redhat.com>
10
11 * gdb.mi/mi2-basics.exp: Fix races. Honour the
12 `test_exec_and_symbol_mi_operatons' return value.
13 (test_mi_interpreter_selection): Use mi_gdb_test instead of
14 gdb_test_multiple.
15 (test_exec_and_symbol_mi_operatons): Likewise.
16 (test_path_specification): Likewise.
e55595ca 17
be777e08
YQ
182011-06-23 Yao Qi <yao@codesourcery.com>
19
20 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
21 supported.
22 * lib/gdb.exp (support_displaced_stepping): New.
23
615556d6
YQ
242011-06-23 Yao Qi <yao@codesourcery.com>
25
26 * gdb.threads/execl.exp: Skip on remote target.
27
833b0ca7
MP
282011-06-21 Marek Polacek <mpolacek@redhat.com>
29
5d197ed0 30 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
31 mi_gdb_test.
32
1ee4023a
MP
332011-06-20 Marek Polacek <mpolacek@redhat.com>
34
5d197ed0 35 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 36
d0b1d624
MP
372011-06-20 Marek Polacek <mpolacek@redhat.com>
38
5d197ed0 39 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
40 mi_gdb_test.
41
79aa92c1
MP
422011-06-20 Marek Polacek <mpolacek@redhat.com>
43
5d197ed0 44 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 45
5ce5db06
YQ
462011-06-14 Yao Qi <yao@codesourcery.com>
47
48 gdb/testsuite/
49 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
50
533a737e
JK
512011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
54
d0e53741
TT
552011-06-10 Tom Tromey <tromey@redhat.com>
56
57 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
58 Add tests for pointer-to-member-function.
59 * gdb.cp/temargs.cc (S::somefunc): New function.
60 (K2): New class.
61 (main): Instantiate K2; call method.
62
b5916bbd
JB
632011-06-08 Joel Brobecker <brobecker@adacore.com>
64
65 * gdb.python/py-inferior.c (f2): Make str an array rather
66 than a pointer.
67 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
68
5be4dfca
JK
692011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
70
71 * gdb.base/async-shell.c: New file.
72 * gdb.base/async-shell.exp: New file.
73
9f47e254
PA
742011-06-06 Pedro Alves <pedro@codesourcery.com>
75
76 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
77
64b9b334
JB
782011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
79
80 From Stephen Kitt <steve@sk2.org>
81 * gdb.base/help.exp: Adjust following some spelling corrections
82 in GDB.
83
dbc0f131
YQ
842011-06-01 Yao Qi <yao@codesourcery.com>
85
86 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
87
fd336a18
KS
882010-05-31 Keith Seitz <keiths@redhat.com>
89
90 PR c++/12750
91 * gdb.cp/static-method.cc: New file.
92 * gdb.cp/static-method.exp: New file.
93
fa8b9902
KS
942010-05-31 Keith Seitz <keiths@redhat.com>
95
96 PR symtab/12704
97 * gdb.cp/anon-ns.cc: New file.
98 * gdb.cp/anon-ns.exp: New file.
99
0a5b1e09
PA
1002011-05-31 Pedro Alves <pedro@codesourcery.com>
101
102 * gdb.arch/i386-dr3-watch.c: New file.
103 * gdb.arch/i386-dr3-watch.exp: New file.
104
0578b8d1
YQ
1052011-05-30 Yao Qi <yao@codesourcery.com>
106
107 * gdb.base/callfuncs.c (t_structs_fc): New.
108 (t_structs_dc, t_structs_ldc): New.
109 (t_double_many_args):
110 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
111 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
112 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
113 * gdb.base/callfuncs.exp: Call new functions.
114
6680506e
YQ
1152011-05-30 Yao Qi <yao@codesourcery.com>
116
ff4d2c60
YQ
117 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
118 Call rerun_and_prepare for each test to isolate effects.
119
1202011-05-30 Yao Qi <yao@codesourcery.com>
121
122 * gdb.base/varargs.c (find_max_float_real): New.
123 (find_max_double_real, find_max_long_double_real): New.
124 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
125 * lib/gdb.exp (setup_kfail_for_target): New.
126
e43ec454
YQ
1272011-05-30 Yao Qi <yao@codesourcery.com>
128
129 * gdb.base/funcargs.c (callca, callcb, callcc): New.
130 (callcd, callce, callcf, callc1a, callc1b): New.
131 (callc2a, callc2b): New.
132 * gdb.base/funcargs.exp (complex_args): New.
133 (complex_integral_args, complex_float_integral_args): New.
134 * lib/gdb.exp (support_complex_tests): New. Determine
135 whether to run test cases on _Complex types.
136
432b4d03
JK
1372011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
138
139 * gdb.threads/leader-exit.c: New file.
140 * gdb.threads/leader-exit.exp: New file.
141
6caf069d
MP
1422011-05-27 Marek Polacek <mpolacek@redhat.com>
143
144 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
145
97fce28b
MP
1462011-05-27 Marek Polacek <mpolacek@redhat.com>
147
148 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
149 remove the `supported' variable.
150 * gdb.mi/mi-nonstop.exp: Likewise.
151 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
152 * gdb.mi/mi-nsintrall.exp: Likewise.
153 * gdb.mi/mi-nsmoribund.exp: Likewise.
154 * gdb.mi/mi-nsthrexec.exp: Likewise.
155
9da8c2a0
PA
1562011-05-26 Pedro Alves <pedro@codesourcery.com>
157
158 * gdb.reverse/finish-reverse-bkpt.exp: New test.
159
2c03e5be
PA
1602011-05-26 Pedro Alves <pedro@codesourcery.com>
161
162 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
163
2e21250d
KS
1642011-05-24 Keith Seitz <keiths@redhat.com>
165
166 PR breakpoint/12803
167 * gdb.cp/cmpd-minsyms.cc (a): New method.
168 (b): New method.
169 (c): New method.
170 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
171
cdac0397
PA
1722011-05-24 Pedro Alves <pedro@codesourcery.com>
173
174 * gdb.base/commands.exp (watchpoint_command_test): Check that the
175 watchpoint's command list didn't execute when the watchpoint went
176 out of scope.
177
ee5683ab
PM
1782011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
179
180 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
181 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
182 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
183 * gdb.arch/i386-gnu-cfi.exp: Likewise.
184 * gdb.arch/i386-permbkpt.exp: Likewise.
185 * gdb.arch/i386-prologue.exp: Likewise.
186 * gdb.arch/i386-size-overlap.exp: Likewise.
187 * gdb.arch/i386-size.exp: Likewise.
188 * gdb.arch/i386-unwind.exp: Likewise.
189 * gdb.reverse/i386-precsave.exp: Likewise.
190 * gdb.reverse/i386-reverse.exp: Likewise.
191 * gdb.reverse/i386-sse-reverse.exp: Likewise.
192 * gdb.reverse/i387-env-reverse.exp: Likewise.
193 * gdb.reverse/i387-stack-reverse.exp: Likewise.
194
c91c8c16
PA
1952011-05-24 Pedro Alves <pedro@codesourcery.com>
196
197 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
198 file doesn't error, using MI.
199
c50491a7
TT
2002011-05-23 Tom Tromey <tromey@redhat.com>
201
202 * gdb.base/charset.exp (string_display): Add tests to assign to
203 arrays.
204 * gdb.base/charset.c (short_array, int_array, long_array): New.
205
4a07b7da
PA
2062011-05-20 Pedro Alves <pedro@codesourcery.com>
207
208 Cope with async mode.
209
4a07b7da
PA
210 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
211 into gdb_test + mi_expect_stop.
212
b275f2d2
PA
2132011-05-20 Pedro Alves <pedro@codesourcery.com>
214
215 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
216 (callme): Remove printf call.
217
eec52c44
PM
2182011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
219
220 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
221 quote pattern to avoid problems with Cygwin/mingw expect versions.
222 * gdb.base/default.exp (show convenience): Use double
223 quote pattern for regular expressions.
224
b3c8eb43
JK
2252011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
226
227 Fix -readnow for -gdwarf-4 unused type units.
228 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
229 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
230
ed731959
JK
2312011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
232
233 * gdb.base/kill-after-signal.c: New file.
234 * gdb.base/kill-after-signal.exp: New file.
235
3b48433d
PA
2362011-05-16 Pedro Alves <pedro@codesourcery.com>
237
238 * gdb.ada/start.exp: Call untested with the correct test filename.
239 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
240 test filename. Make the test's binary unique.
241 * gdb.arch/i386-signal.exp: Call untested with the correct test
242 filename.
243 * gdb.arch/i386-size-overlap.exp: Ditto.
244 * gdb.arch/Makefile.in (EXECUTABLES): Update.
245 * gdb.base/gcore-buffer-overflow.exp: Ditto.
246 * gdb.cp/call-c.exp: Ditto.
247 * gdb.mi/mi-reverse.exp: Call untested with the correct test
248 filename. Make the test's binary unique.
249 * gdb.mi/Makefile.in (EXECUTABLES): Update.
250 * gdb.python/py-mi.exp: Ditto.
251 * gdb.python/Makefile.in (EXECUTABLES): Update.
252 * gdb.reverse/i386-precsave.exp: Ditto.
253 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
254 test filename.
255 * gdb.reverse/i387-stack-reverse.exp: Ditto.
256 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
257 unique.
258 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
259 test filename.
260 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
261 * gdb.trace/tfile.exp: Ditto.
262
ba4a8bdd
YQ
2632011-05-14 Yao Qi <yao@codesourcery.com>
264
265 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
266 type.
267
dbaefcf7
DE
2682011-05-13 Doug Evans <dje@google.com>
269
270 * gdb.python/py-objfile-script.exp: New file.
271 * gdb.python/py-objfile-script.c: New file.
272 * gdb.python/py-objfile-script-gdb.py: New file.
273 * testsuite/gdb.python/py-section-script.exp: Test
274 "info auto-load-scripts".
275
9930639c
TT
2762011-05-13 Tom Tromey <tromey@redhat.com>
277
278 * gdb.dwarf2/clztest.exp: New file.
279 * gdb.dwarf2/clztest.c: New file.
280 * gdb.dwarf2/clztest.S: New file.
281
05272e11
DE
2822011-05-13 Doug Evans <dje@google.com>
283
cc63ef9b
DE
284 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
285 String16 tests.
05272e11 286
6edba76f
TT
2872011-05-13 Tom Tromey <tromey@redhat.com>
288
289 * lib/gdb.exp (is_x86_like_target): New proc.
290 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
291 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
292 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
293 -nostdlib to compiler.
294 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
295 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
296 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
297 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
298 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
299
028d0ed5
TJB
3002011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
301
302 * gdb.python/py-function.exp: Test setting a value from a function
303 which executes a command.
304
8a9b8146
TT
3052011-05-12 Tom Tromey <tromey@redhat.com>
306
307 * gdb.dwarf2/typeddwarf.S: New file.
308 * gdb.dwarf2/typeddwarf.c: New file.
309 * gdb.dwarf2/typeddwarf.exp: New file.
310
10483e8e
MP
3112011-05-12 Marek Polacek <mpolacek@redhat.com>
312
313 * gdb.mi/mi-basics.exp: Fix races. Honour the
314 `test_exec_and_symbol_mi_operatons' return value.
315 (test_mi_interpreter_selection): Use mi_gdb_test instead of
316 gdb_test_multiple.
317 (test_exec_and_symbol_mi_operatons): Likewise.
318 (test_path_specification): Likewise.
319
faf067f1
JK
3202011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
321
322 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
323 (gdb_touch_execfile): Remove catch wrappers. New variable time.
324 Replace `file copy' and `file rename' by `file mtime'. Twice.
325
7ff911a3
JK
3262011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
327
328 * gdb.base/readline-ask.c: New file.
329 * gdb.base/readline-ask.exp: New file.
330 * gdb.base/readline-ask.inputrc: New file.
331
a536c6d7
UW
3322011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
333
334 * gdb.cell/bt.exp: Delete breakpoints before running to signal
335 to avoid race condition.
336 * gdb.cell/coremaker.c: Use small stack size.
337 * gdb.cell/ea-standalone.exp: Use file name without path as
338 argument to c_to.
339 * gdb.cell/fork.exp: Allow other output when continuing to end.
340
d472a426
JK
3412011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
342
343 * gdb.threads/corethreads.c: New file.
344 * gdb.threads/corethreads.exp: New file.
345
3462011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
347
348 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
349 Try to compile the test using -Wl,-z,norelro first.
350 (load_core): New variable libthread_db_seen, initialize it.
351 (zeroed-threads cannot be listed): Protect it by XFAIL on
352 !$libthread_db_seen.
353
8be455d7
JK
3542011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 PR 12573
357 * gdb.dwarf2/dw2-skip-prologue.S: New file.
358 * gdb.dwarf2/dw2-skip-prologue.c: New file.
359 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
360
1976171a
JK
3612011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
362
363 * gdb.cp/psymtab-parameter.cc: New file.
364 * gdb.cp/psymtab-parameter.exp: New file.
365
7db6f30f
JK
3662011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
367
368 Fix a race.
369 * gdb.cp/static-print-quit.exp (print c): Split to ...
370 (print c - <return>, print c - q <return>, print c - to quit):
371 ... these. Make the testfile untested on gdb-7.1.
372
85161e9e 3732011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
374
375 * lib/gdb.exp (exec_target_file, exec_symbol_file,
376 gdb_rename_execfile, gdb_touch_execfile): New.
377 * gdb.base/reread.exp: Use new procs to handle multiple
378 exec files.
379
0c51be18
YQ
3802011-05-05 Yao Qi <yao@codesourcery.com>
381
382 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
383 (test_adr_32bit, test_pop_pc): New.
384 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
385 (test_adr_32bit, test_pop_pc): New.
386
4d393d60
JM
3872011-05-04 Joseph Myers <joseph@codesourcery.com>
388
389 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
390 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
391 targets.
392 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
393 handle targets.
394
8ffd0459
JK
3952011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
396
397 * gdb.base/completion.exp (complete help info wat): Rename to ...
398 (complete 'help info wat'): ... here.
399 Remove all `-re ".*' and `-re "^.*' redundant regexes.
400 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
401
8e28d804
PA
4022011-05-04 Pedro Alves <pedro@codesourcery.com>
403
404 * gdb.base/completion.exp: Use gdb_test_multiple instead of
405 gdb_test and explicit $gdb_prompt/timeout matches.
406
3eb2ef34
YQ
4072011-05-04 Yao Qi <yao@codesourcery.com>
408
409 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
410 and __thumb2__.
411
aaaf81a3
MP
4122011-05-03 Marek Polacek <mpolacek@redhat.com>
413
414 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
415 in place of `gdb_test "delete breakpoints"'. This eliminates two
416 testcases.
417
c4cbc0df
PA
4182011-05-02 Pedro Alves <pedro@codesourcery.com>
419
420 PR testsuite/12649
421 Fix races.
422
423 * gdb.base/completion.exp: Remove all sleep calls. Remove
424 unnecessary regexs. Don't explicitly expect anything after the
425 prompt. Eat the prompt if necessary.
426
b4cbb4a3
EBM
4272011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
428
429 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
430 accept to show the caller line again as well as the line after.
431
d65aec65
PM
4322011-04-29 Phil Muldoon <pmuldoon@redhat.com>
433
434 PR mi/12531
435
436 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
437 compile target.
438 * gdb.python/py-prettyprint.exp: Add C++ object for
439 CPLUS_FAKE_CHILD test.
440
30852783
UW
4412011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
442
443 * gdb.base/signest.exp: New file.
444 * gdb.base/signest.c: Likewise.
445
c7b1f0d9
JK
4462011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
447
448 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
449 thread and breakpoint notifications.
450
559a7a62
JK
4512011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
452
453 * gdb.base/fortran-sym-case.c: New file.
454 * gdb.base/fortran-sym-case.exp: New file.
455 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
456 * gdb.dwarf2/dw2-case-insensitive.c: New file.
457 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
458
8344e389
JK
4592011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
460
461 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
462 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
463 false #1', `if true else false #2' and `if true else false #3'.
464
2484c66b
UW
4652011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
466
467 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
468 while delivering signal.
469
8d3788bd
VP
4702011-04-27 Vladimir Prus <vladimir@codesourcery.com>
471
472 MI breakpoint notifications.
473
474 * testsuite/gdb.mi/mi-cli.exp: Adust.
475 * testsuite/gdb.mi/mi2-cli.exp: Adust.
476 * testsuite/gdb.mi/mi-watch.exp: Adust.
477 * testsuite/gdb.mi/mi2-watch.exp: Adust.
478 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
479 notifications.
480
3e03848b
JK
4812011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
482
483 * gdb.base/gdbindex-stabs-dwarf.c: New file.
484 * gdb.base/gdbindex-stabs.c: New file.
485 * gdb.base/gdbindex-stabs.exp: New file.
486
918c9108
YQ
4872011-04-25 Yao Qi <yao@codesourcery.com>
488
489 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
490 with /*...*/.
491 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
492
90556b8c
JK
4932011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
494
495 * gdb.python/py-value.exp (test_objfiles): Name the first test
496 `py-value in file.filename'.
497
03f2bd59
JK
4982011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
499
500 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
501 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
502 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
503 !gdbserver_reconnect_p..
504 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
505
7b08b9eb
JK
5062011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
507
508 * gdb.cp/cpcompletion.exp (complete class methods)
509 (complete class methods beginning with F): Move them above runto. New
510 comment about the runto delimiter.
511
b78974c3
PA
5122011-04-20 Pedro Alves <pedro@codesourcery.com>
513
514 * gdb.base/maint.exp: Test that "maint print registers" works
515 without a running program.
516
20429c40 5172011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 518
20429c40
MP
519 * gdb.base/setshow.exp: Fix racy tests.
520 ($old_gdb_prompt): New variable.
521
7a9dd1b2
TT
5222011-04-19 Tom Tromey <tromey@redhat.com>
523
524 * gdb.mi/mi-nsmoribund.exp:
525 * gdb.hp/gdb.objdbg/objdbg01.exp:
526 * gdb.base/structs.exp (test_struct_returns):
527 * gdb.base/call-sc.exp (test_scalar_returns):
528 * gdb.base/bigcore.exp: Remove duplicate words.
529
02835898
JK
5302011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
531
532 * gdb.base/break-interp-lib.c (v, vptr): New variables.
533 * gdb.base/break-interp.exp (test_attach): New comment.
534
254f582e
JK
5352011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
536
537 * gdb.threads/gcore-thread.exp ($core0file): New variable.
538 (clear __stack_user.next, clear stack_used.next)
539 (save a zeroed-threads corefile): New test.
540 Call core_load for $core0file.
541 (zeroed-threads cannot be listed): New test.
542
4fe85f5c
JK
5432011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
544
545 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
546 filename.
547 ($srcfile): Preserve the original value.
548 ($testfile): Match it the .exp filename.
549 ($corefile): New variable. Substitute it around.
550 Use clean_restart.
551 ($prev_timeout): Remove.
552 (load_core): Move core loading into this proc.
553 Fix restore of $timeout if load_core fails.
554
63524580
JK
5552011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
556
557 * gdb.base/eu-strip-infcall.c: New file.
558 * gdb.base/eu-strip-infcall.exp: New file.
559
90359a16
JK
5602011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
561
562 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
563 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
564
626e7282
JK
5652011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
566
567 Fix Python access to inlined frames.
568 * gdb.python/py-frame-inline.c: New file.
569 * gdb.python/py-frame-inline.exp: New file.
570
3363d018
EBM
5712011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
572
573 * gdb.base/gdb1090.exp: Change breakpoint location to read the
574 content of 's24' correctly (avoiding "optimized out").
575 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
576
28781456
JK
5772011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
578
579 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
580
4a4106ca
TJB
5812011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
582
583 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
584 expect a colon in watch -location output.
585
d26ccb4f
JK
5862011-04-13 Marek Polacek <mpolacek@redhat.com>
587
588 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
589 New testcase `expect response to define backtrace'. Also remove
590 redundant `default' block.
591
e1ab1f9c
JK
5922011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
593
594 * gdb.python/py-prettyprint.c (struct hint_error): New.
595 (main): New variable hint_error.
596 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
597 "print hint_error".
598 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
599 (register_pretty_printers): Register it.
600
0c2e6019
TT
6012011-04-04 Tom Tromey <tromey@redhat.com>
602
603 * gdb.cp/maint.exp (test_help): Update.
604 (test_namespace): Likewise.
605
af57139d
JB
6062011-04-01 Joel Brobecker <brobecker@adacore.com>
607
608 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
609 * gdb.ada/arrayptr.exp: Add new tests.
610
956a9fb9
JB
6112011-04-01 Joel Brobecker <brobecker@adacore.com>
612
613 * gdb.ada/mi_catch_ex: New testcase.
614
d0c4d642
PA
6152011-04-01 Pedro Alves <pedro@codesourcery.com>
616
617 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
618 base::overload(void) method without specifying "const".
619
18819fa6
UW
6202011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
621
622 * gdb.arch/thumb-singlestep.S: New file.
623 * gdb.arch/thumb-singlestep.exp: Likewise.
624
a4c8e806
TT
6252011-03-31 Tom Tromey <tromey@redhat.com>
626
627 * gdb.python/py-prettyprint.py (exception_flag): New global.
628 (NoStringContainerPrinter._iterator.next): Check it.
629 * gdb.python/py-prettyprint.c (main): New variable nstype2.
630 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
631
53832f31
TT
6322011-03-29 Tom Tromey <tromey@redhat.com>
633
634 * gdb.cp/anon-struct.cc: New file.
635 * gdb.cp/anon-struct.exp: New file.
636
e4620230
JK
6372011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
638
639 Test STT_GNU_IFUNC support.
640 * gdb.base/gnu-ifunc-lib.c: New file.
641 * gdb.base/gnu-ifunc.c: New file.
642 * gdb.base/gnu-ifunc.exp: New file.
643
d0fb5eae
JK
6442011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
645
646 Support a ring of related breakpoints.
647 * gdb.base/watchpoint-delete.c: New file.
648 * gdb.base/watchpoint-delete.exp: New file.
649
20106cfb
JK
6502011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
651
652 * gdb.ada/arrayparam.exp (print first after function call): Use
653 explicit package name. Add a comment
654 (print lasta after function call): Rename ...
655 (print last after function call): ... it and use explicit package
656 name.
657 (print length after function call): Use explicit package name.
658 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
659 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
660 (multiple matches for symbol i): Rename ...
661 (multiple matches for symbol integervar): ... it.
662 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
663 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
664
e7ab5e63
AB
6652011-03-25 Andrew Burgess <aburgess@broadcom.com>
666
667 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
668 environment variable to make grep output more predictable. Move
669 all the environment setup into gdb_init so it's done once per test
670 case rather than each time we start gdb.
671
9ef07c8c
TT
6722011-03-24 Tom Tromey <tromey@redhat.com>
673
674 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
675 test.
676
dd90784c
JK
6772011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
678
679 * gdb.dwarf2/dw2-entry-value-main.c: New file.
680 * gdb.dwarf2/dw2-entry-value.S: New file.
681 * gdb.dwarf2/dw2-entry-value.exp: New file.
682
05775840
PM
6832011-03-22 Phil Muldoon <pmuldoon@redhat.com>
684
685 PR python/12183
686
687 * gdb.python/py-function.exp: Add GdbError tests.
688
8661b11b
PA
6892011-03-18 Pedro Alves <pedro@codesourcery.com>
690
691 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
692 (reglocal_test_func, statlocal_test_func): New functions.
693 (globals_test_func): Call new functions.
694 * gdb.trace/unavailable.exp (gdb_collect_args_test)
695 (gdb_collect_locals_test): New procedure.
696 (gdb_trace_collection_test): Call new procedures.
697
0fdb4f18
PA
6982011-03-18 Pedro Alves <pedro@codesourcery.com>
699
700 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
701 (test_register, test_register_unavailable): New procedures.
702 (gdb_unavailable_registers_test): New procedure.
703 (gdb_trace_collection_test): Call it.
704
99c3dc11
PM
7052011-03-18 Phil Muldoon <pmuldoon@redhat.com>
706
707 PR python/12149
708
709 * gdb.python/python.exp: Add gdb.write tests.
710
29703da4
PM
7112010-03-17 Phil Muldoon <pmuldoon@redhat.com>
712
713 * gdb.python/Makefile.in: Add py-objfile.
714 * gdb.python/py-objfile.exp: New file.
715 * gdb.python/py-objfile.c: New file.
716 * gdb.python/py-block.exp: Add is_valid tests.
717 * gdb.python/py-inferior.exp: Ditto.
718 * gdb.python/py-infthread.exp: Ditto.
719 * gdb.python/py-symbol.exp: Ditto.
720 * gdb.python/py-symtab.exp: Ditto.
721
598997c8
KS
7222011-03-16 Keith Seitz <keiths@redhat.com>
723
724 PR c++/12273
725 * gdb.cp/cmpd-minsyms.exp: New test.
726 * gdb.cp/cmpd-minsyms.cc: New file.
727
728 PR c++/11734
729 * gdb.cp/ovsrch.exp: New test.
730 * gdb.cp/ovsrch.h: New file.
731 * gdb.cp/ovsrch1.cc: New file.
732 * gdb.cp/ovsrch2.cc: New file.
733 * gdb.cp/ovsrch3.cc: New file.
734 * gdb.cp/ovsrch4.cc: New file.
735
c91513d8
PP
7362011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
737
738 PR gdb/12528
739 * gdb.base/Makefile.in: Adjust EXECUTABLES.
740 * gdb.base/break-on-linker-gcd-function.exp: New test.
741 * gdb.base/break-on-linker-gcd-function.cc: New file.
742
7470fc63
AT
7432011-03-15 Andreas Tobler <andreast@fgznet.ch>
744
745 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
746
959e7469
PM
7472011-03-15 Phil Muldoon <pmuldoon@redhat.com>
748
749 * lib/gdb.exp (gdb_unload): Add another termination case.
750
9373cf26
JK
7512011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
752
753 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
754 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
755 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
756 Provide a stub byte there.
757 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
758 DW_AT_entry_pc.
759 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
760
24e9cda0
UW
7612011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
762
763 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
764 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
765 "generic ABI, auto".
766 (altivec_abi_tests): Accept vectors returned by reference.
767
7371cf6d
PM
7682010-03-14 Phil Muldoon <pmuldoon@redhat.com>
769
770 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
771
ce77046a
UW
7722011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
773
774 * gdb.python/py-section-script.exp: Skip test if no Python support.
775
176400c3
UW
7762011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
777
778 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
779
ecec24e6
PM
7802011-03-10 Phil Muldoon <pmuldoon@redhat.com>
781
782 * gdb.python/py-parameter.exp: Update tests to the new Python
783 parameter API. Add "no documentation" test. Add deprecated API
784 backward compatibility test.
785
5dbdd470
TT
7862011-03-09 Tom Tromey <tromey@redhat.com>
787
788 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
789 gdb_continue_to_end.
790
b66e66ee
MK
7912011-03-09 Mark Kettenis <kettenis@gnu.org>
792
793 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
794 tabs.
795
eceb0c5f
TT
7962011-03-09 Tom Tromey <tromey@redhat.com>
797
798 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
799 parentheses.
800 (gdb_continue_to_end): Add "allow_extra" parameter. Use
801 $command.
802 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
803 argument to gdb_continue_to_end.
804 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
805 argument to gdb_continue_to_end.
806 * gdb.cp/annota3.exp: Fix regex.
807 * gdb.cp/annota2.exp: Fix regex.
808 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
809 gdb_continue_to_end.
810 * gdb.base/call-signal-resume.exp: Revert earlier patch.
811 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
812 gdb_continue_to_end.
813
63154eca
PA
8142011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
815
816 * gdb.server/ext-run.exp
817 (load new file without any gdbserver inferior): New test.
818
967d1f9b
TT
8192011-03-07 Tom Tromey <tromey@redhat.com>
820
821 * Makefile.in (TAGS): Rewrite.
822
d68dcbb9
JK
8232011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
824
825 * gdb.trace/report.exp (12.1: trace report #1): New match for the
826 initial commands echo. New match for `Found trace'. Anchor all the
827 other matches. Anchor and match for `No trace frame found' the final
828 match.
829
6bf58e63
TT
8302011-03-07 Tom Tromey <tromey@redhat.com>
831
832 * Makefile.in (TAGS): New target.
833
fda326dd
TT
8342011-03-07 Tom Tromey <tromey@redhat.com>
835
836 * lib/opencl.exp (skip_opencl_tests): Update for exit message
837 change.
838 * lib/mi-support.exp (mi_gdb_test): Update for exit message
839 change.
840 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
841 exit message change.
842 (skip_altivec_tests): Update for exit message change.
843 (skip_vsx_tests): Likewise.
844 (gdb_continue_to_end): Likewise. Add 'command' argument.
845 * lib/cell.exp (skip_cell_tests): Update for exit message change.
846 * gdb.threads/tls.exp: Update for exit message change.
847 * gdb.threads/thread-unwindonsignal.exp: Use
848 gdb_continue_to_end.
849 * gdb.threads/step.exp (step_it): Update for exit message change.
850 (continue_all): Likewise.
851 * gdb.threads/print-threads.exp (test_all_threads): Update for
852 exit message change.
853 * gdb.threads/interrupted-hand-call.exp: Use
854 gdb_continue_to_end.
855 * gdb.threads/execl.exp: Use gdb_continue_to_end.
856 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
857 gdb_continue_to_end.
858 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
859 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
860 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
861 * gdb.cp/method.exp: Update for exit message change.
862 * gdb.cp/mb-templates.exp: Update for exit message change.
863 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
864 * gdb.cp/annota3.exp: Update for exit message change.
865 * gdb.cp/annota2.exp: Update for exit message change.
866 * gdb.cell/fork.exp: Use gdb_continue_to_end.
867 * gdb.base/term.exp: Update for exit message change.
868 * gdb.base/step-test.exp (test_i): Update for exit message change.
869 * gdb.base/sigstep.exp (advance): Update for exit message change.
870 (advancei): Likewise.
871 * gdb.base/siginfo.exp: Update for exit message change.
872 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
873 * gdb.base/reread.exp: Use gdb_continue_to_end.
874 * gdb.base/langs.exp: Use gdb_continue_to_end.
875 * gdb.base/interrupt.exp: Update for exit message change.
876 * gdb.base/gdb1555.exp: Update for exit message change.
877 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
878 * gdb.base/ending-run.exp: Update for exit message change.
879 * gdb.base/chng-syms.exp: Update for exit message change.
880 * gdb.base/checkpoint.exp: Update for exit message change.
881 * gdb.base/catch-syscall.exp (check_for_program_end): Use
882 gdb_continue_to_end.
883 (test_catch_syscall_with_wrong_args): Likewise.
884 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
885 * gdb.base/break-interp.exp (test_ld): Update for exit message
886 change.
887 * gdb.base/bang.exp: Update for exit message change.
888 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
889 (do_call_attach_tests): Likewise.
890 * gdb.base/a2-run.exp: Update for exit message change.
891 * gdb.arch/ppc-dfp.exp: Update for exit message change.
892 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
893 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
894
dd19bd70
JK
8952011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
896
897 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
898
30e62689
TT
8992011-03-03 Tom Tromey <tromey@redhat.com>
900
901 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
902 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
903 * gdb.hp/gdb.aCC/configure.ac: Remove.
904 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
905 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
906 * gdb.hp/gdb.base-hp/configure.ac: Remove.
907 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
908 * gdb.hp/gdb.compat/configure (Makefile): Remove.
909 * gdb.hp/gdb.compat/configure.ac: Remove.
910 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
911 * gdb.hp/gdb.defects/configure (Makefile): Remove.
912 * gdb.hp/gdb.defects/configure.ac: Remove.
913 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
914 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
915 * gdb.hp/gdb.objdbg/configure.ac: Remove.
916 * gdb.hp/configure.ac: Remove.
917 * gdb.hp/configure: Remove.
918 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
919 substitution.
920 (Makefile): Remove rule.
921 * gdb.cell/configure.ac: Remove.
922 * gdb.cell/configure: Remove.
923 * gdb.stabs/Makefile.in (Makefile): Remove.
924 (distclean): Don't remove config.status or config.log.
925 * gdb.stabs/configure (Makefile): Remove.
926 * gdb.stabs/configure.ac: Remove.
927 * configure: Rebuild.
928 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
929 Remove stabs- and cell-specific logic. Test for existence of
930 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
931 subdirectories, gdb.cell, and and gdb.stabs.
932 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
933
c171f854
JB
9342011-03-03 Joel Brobecker <brobecker@adacore.com>
935
936 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
937 end of buffer.
938
9a5193cb
JB
9392011-03-02 Joel Brobecker <brobecker@adacore.com>
940
941 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
942 gdb_test when running a test where we expected no output back.
943
9bb4c1bb
MS
9442011-02-28 Michael Snyder <msnyder@vmware.com>
945
946 * gdb.cp/overload.cc: Change initializer value to integer.
947
3bd0f5ef
MS
9482011-02-27 Michael Snyder <msnyder@vmware.com>
949
950 * gdb.multi/base.exp: Add test for remove-inferiors.
951
2279eaad
JB
9522011-02-26 Joel Brobecker <brobecker@adacore.com>
953
954 * gdb.python/py-frame.exp: Simplify the initialization phase
955 using prepare_for_testing.
956
c82c0b55
MS
9572011-02-25 Michael Snyder <msnyder@vmware.com>
958
959 * gdb.multi/base.exp: Add tests for info inferiors with args.
960
1d94651b
JK
9612011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
962
963 * gdb.dwarf2/dw2-ranges.S: Rename to ...
964 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
965 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
966 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
967 asmfile3. Comment the STABS (#3) file compilation. Compile
968 everything through assembler. Provide KFAIL for symtab/12497.
969 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
970 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
971 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
972 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
973
3bd0f5ef
MS
9742011-02-24 Michael Snyder <msnyder@vmware.com>
975
976 * gdb.base/break.exp: Add tests for delete breakpoints using
977 convenience variables and value history references.
978
12c1418e
MS
9792011-02-24 Michael Snyder <msnyder@vmware.com>
980
981 * gdb.base/break.exp: Remove debugging 'printf' accidentally
982 left behind in previous check-in.
983
e5a67952
MS
9842011-02-23 Michael Snyder <msnyder@vmware.com>
985
986 * gdb.base/break.exp: Add tests for "info break" with arguments.
987 * gdb.trace/infotrace.exp: Update patterns for error and help.
988 * gdb.base/completion.exp: Update pattern.
989 * gdb.base/ena-dis-br.exp: Update pattern.
990 * gdb.base/help.exp: Update patterns.
991
9922011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
993
994 * gdb.base/memattr.exp: New test.
995 * gdb.base/memattr.c: Test load for memattr.exp.
996
6e6fbe60
DE
9972011-02-22 Doug Evans <dje@google.com>
998
999 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1000
1d41d745
MS
10012011-02-22 Michael Snyder <msnyder@vmware.com>
1002
1003 * Makefile.in: Make more clean.
1004 * gdb.ada/Makefile.in: Ditto.
1005 * gdb.arch/Makefile.in: Ditto.
1006 * gdb.asm/Makefile.in: Ditto.
1007 * gdb.base/Makefile.in: Ditto.
1008 * gdb.cp/Makefile.in: Ditto.
1009 * gdb.dwarf2/Makefile.in: Ditto.
1010 * gdb.java/Makefile.in: Ditto.
1011 * gdb.mi/Makefile.in: Ditto.
1012 * gdb.modula2/Makefile.in: Ditto.
1013 * gdb.python/Makefile.in: Ditto.
1014 * gdb.server/Makefile.in: Ditto.
1015 * gdb.stabs/Makefile.in: Ditto.
1016 * gdb.threads/Makefile.in: Ditto.
1017 * gdb.trace/Makefile.in: Ditto.
1018
79ba84ca
MS
10192011-02-22 Michael Snyder <msnyder@vmware.com>
1020
1021 * gdb.threads/thread-find.exp: Add tests for bad input to
1022 info threads.
1023
b9b35694
JB
10242011-02-22 Joel Brobecker <brobecker@adacore.com>
1025
1026 * gdb.python/py-breakpoint.exp: Fix the expected output of
1027 one of the "maint info breakpoints" tests to accept the output
1028 generated on platforms that do not have hardware watchpoints.
1029
8bfb830f
JB
10302011-02-22 Joel Brobecker <brobecker@adacore.com>
1031
1032 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1033 clean_restart. Be a little stricter in the expected output
1034 for one of the tests. Fix a typo in one of the comments.
1035
c45f3c54
JB
10362011-02-22 Joel Brobecker <brobecker@adacore.com>
1037
1038 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1039 Delete variable binfile, no longer use. Add or modify test
1040 comments to make them unique.
1041
b97c863c
MS
10422011-02-21 Michael Snyder <msnyder@vmware.com>
1043
1044 * Makefile.in: Update for make clean.
1045 * gdb.ada/Makefile.in: Ditto.
1046 * gdb.arch/Makefile.in: Ditto.
1047 * gdb.asm/Makefile.in: Ditto.
1048 * gdb.base/Makefile.in: Ditto.
1049 * gdb.cp/Makefile.in: Ditto.
1050 * gdb.dwarf2/Makefile.in: Ditto.
1051 * gdb.java/Makefile.in: Ditto.
1052 * gdb.mi/Makefile.in: Ditto.
1053 * gdb.modula2/Makefile.in: Ditto.
1054 * gdb.python/Makefile.in: Ditto.
1055 * gdb.server/Makefile.in: Ditto.
1056 * gdb.stabs/Makefile.in: Ditto.
1057 * gdb.threads/Makefile.in: Ditto.
1058 * gdb.trace/Makefile.in: Ditto.
1059
aea5b279
MS
10602011-02-21 Michael Snyder <msnyder@vmware.com>
1061
1062 * gdb.threads/thread-find.exp: Update patterns for changes in
1063 output of "info threads" command.
1064
e3039479
UW
10652011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1066 Ulrich Weigand <uweigand@de.ibm.com>
1067
1068 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1069 (skip_hw_watchpoint_tests): Likewise.
1070 (skip_hw_watchpoint_multi_tests): Likewise.
1071
b800ec70
UW
10722011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1073
1074 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1075 (skip_hw_watchpoint_tests): Likewise.
1076 (skip_hw_watchpoint_multi_tests): Likewise.
1077 (skip_hw_watchpoint_access_tests): Likewise.
1078
1079 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1080 * gdb.base/pr11022.exp: Likewise.
1081 * gdb.base/watch-read.exp: Likewise.
1082 * gdb.base/watch_thread_num.exp: Likewise.
1083 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1084 * gdb.base/watchpoint-hw.exp: Likewise.
1085 * gdb.base/watchpoint.exp: Likewise.
1086 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1087 * gdb.threads/watchthreads-reorder.exp: Likewise.
1088 * gdb.threads/watchthreads.exp: Likewise.
1089 * gdb.threads/watchthreads2.exp: Likewise.
1090
91033e37
JB
10912011-02-21 Joel Brobecker <brobecker@adacore.com>
1092
1093 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1094 the debugger is unable to find the array bounds.
1095
eeaafae2
JK
10962011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1097
1098 * gdb.cp/typedef-operator.exp: New file.
1099 * gdb.cp/typedef-operator.cc: New file.
1100
e338d953
MS
11012011-02-17 Michael Snyder <msnyder@vmware.com>
1102
1103 * gdb.threads/thread-find.exp: Fix regular expressions.
1104
e67ad678
JB
11052011-02-17 Joel Brobecker <brobecker@adacore.com>
1106
1107 * gdb.ada/packed_array: Expand testcase to test printing of
1108 unconstrained packed array.
1109
93084bca
JB
11102011-02-17 Joel Brobecker <brobecker@adacore.com>
1111
1112 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1113
a0c78a73
PA
11142011-02-16 Pedro Alves <pedro@codesourcery.com>
1115
f65d5553 1116 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
1117 (main): Initialize it before collecting, and and clear it
1118 afterwards.
f65d5553
PA
1119 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1120 collecting with '{type} addr', where the addr expression is not an
1121 rvalue.
a0c78a73 1122
3dfcbbd2
KW
11232011-02-16 Ken Werner <ken.werner@de.ibm.com>
1124
1125 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1126 a bool variable. Expect correct OpenCL names for vector types. Use the
1127 uc3 variable name instead of referring to the uchar3 built-in type.
1128 Escape the asterisk at the half pointer test.
1129
08807d5a
PA
11302011-02-16 Pedro Alves <pedro@codesourcery.com>
1131
f65d5553 1132 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
1133 (main): Initialize it before collecting, and and clear it
1134 afterwards.
f65d5553
PA
1135 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1136 collecting overlapping memory ranges.
08807d5a 1137
60f98dde
MS
11382011-02-15 Michael Snyder <msnyder@vmware.com>
1139
1140 * gdb.base/default.exp: Add tests for thread commands.
1141 * gdb.base/help.exp: Add tests for thread commands.
1142 * gdb.threads/thread-find.exp: New test for thread find command.
1143
648cd113
KW
11442011-02-15 Ken Werner <ken.werner@de.ibm.com>
1145
1146 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1147
494e194e
YQ
11482011-02-15 Yao Qi <yao@codesourcery.com>
1149
1150 PR tdep/12352
1151 * gdb.arch/arm-disp-step.S : New test for str instruction.
1152 * gdb.arch/arm-disp-step.exp : Likewise.
1153
d9492458
TJB
11542011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1155
1156 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1157 "vector_register2_vr" test strings. Test the extended floating
1158 point registers (F32~F63).
1159 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1160 IBM XL C compiler. Make the test program use a register provided
1161 by the compiler for the lxvd2x instruction.
1162
8af8e3bc
PA
11632011-02-14 Pedro Alves <pedro@codesourcery.com>
1164
1165 * gdb.trace/unavailable.cc (class Base, class Middle, class
1166 Derived): New types.
1167 (derived_unavail, derived_partial, derived_whole): New globals.
1168 (virtual_partial): New global.
1169 (virtualp): Point at virtual_partial.
1170 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1171 related to unavailable vptr.
1172
1b28d0b3
PA
11732011-02-14 Pedro Alves <pedro@codesourcery.com>
1174
1175 * gdb.trace/unavailable.cc (a, b, c): New globals.
1176 (main): Set and clear them.
1177 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1178 `a' and `c', and check that `b' isn't collected, although `a' and
1179 `c' are.
1180
ec0a52e1
PA
11812011-02-14 Pedro Alves <pedro@codesourcery.com>
1182
1183 * gdb.trace/unavailable.cc (struct Virtual): New.
1184 (virtualp): New global pointer.
1185 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1186 printing a pointer to an object whose type has a vtable, with
1187 print object on.
1188
24e6bcee
PA
11892011-02-14 Pedro Alves <pedro@codesourcery.com>
1190
1191 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1192 value repeat handles unavailableness.
1193
39d37385
PA
11942011-02-14 Pedro Alves <pedro@codesourcery.com>
1195
1196 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1197 tests for building arrays from unavailable values, subscripting
1198 non-memory rvalue unvailable arrays, and accessing fields or
1199 baseclasses of non-lazy unavailable values,
1200 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1201 struct types.
1202 (g_smallstruct, g_smallstruct_b): New globals.
1203
06d72e16
PA
12042011-02-14 Pedro Alves <pedro@codesourcery.com>
1205
1206 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1207
bc9a5551
JK
12082011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1209
1210 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1211 * gdb.cp/overload-const.exp: New file.
1212 * gdb.cp/overload-const.cc: New file.
1213
54fcddd0
UW
12142011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1215
1216 * gdb.opencl/callfuncs.cl: New file.
1217 * gdb.opencl/callfuncs.exp: New test.
1218 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1219
d6dafb7c
UW
12202011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1221
1222 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1223 when computing result.
1224 * gdb.arch/altivec-abi.exp: Update expected results.
1225
a449c2d8
TJB
12262011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1227
1228 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1229 * gdb.base/jit.exp: Likewise.
1230 * gdb.base/pie-execl.exp: Likewise.
1231 * gdb.base/solib-nodir.exp: Likewise.
1232 * gdb.base/solib-overlap.exp: Likewise.
1233
764880b7
PA
12342011-02-07 Pedro Alves <pedro@codesourcery.com>
1235
1236 * gdb.trace/collection.c (global_pieces): New.
1237 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1238 New procedure.
1239 (gdb_trace_collection_test): Call it.
1240
505500db
SW
12412011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1242
1243 * gdb.python/py-evthreads.c: New file.
1244 * gdb.python/py-evthreads.exp: New file.
1245 * gdb.python/py-events.py: New file.
1246 * gdb.python/py-events.exp: New file.
1247 * gdb.python/py-events.c: New file.
1248
385203ed
DD
12492011-02-04 David Daney <ddaney@caviumnetworks.com>
1250
1251 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1252
9011945e
AB
12532011-02-03 Andrew Burgess <aburgess@broadcom.com>
1254
1255 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1256 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1257 boundary between two compilation units.
1258
580688f3
PA
12592011-02-02 Pedro Alves <pedro@codesourcery.com>
1260
1261 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1262 (Virtual): New structs.
1263 (virtual_o, virtual_middle_b): New globals.
1264 * gdb.cp/virtbase.exp: New tests.
1265
d3f0f853
PP
12662011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1267
1268 * gdb.base/jit.exp: New file.
1269 * gdb.base/jit-main.c: New file.
1270 * gdb.base/jit-solib.c: New file.
1271
b2030fb5
UW
12722011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1273
1274 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1275 proceed to initial kernel entry point.
1276 * gdb.opencl/datatypes.exp: Likewise.
1277 * gdb.opencl/operators.exp: Likewise.
1278 * gdb.opencl/vec_comps.exp: Likewise.
1279
2db19d1e
SW
12802011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1281
1282 * gdb.cp/nsnested.cc: New.
1283 * gdb.cp/nsnested.exp: New.
1284 * gdb.cp/nsnoimports.exp: New.
1285 * gdb.cp/nsnoimports.cc: New.
1286
6b0c4c1f
JB
12872011-01-31 Joel Brobecker <brobecker@adacore.com>
1288
1289 * gdb.base/interact.exp: Add extra tests that verify that
1290 the value of the interactive-mode setting does not change
1291 after the script is sourced.
1292
80b23b6a
JK
12932011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1294
1295 * gdb.cp/noparam.exp: New file.
1296 * gdb.cp/noparam.cc: New file.
1297
ffd5ec24
PA
12982011-01-28 Pedro Alves <pedro@codesourcery.com>
1299
1300 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1301 there's no stack or registers.
1302
a81766d8
TT
13032011-01-26 Tom Tromey <tromey@redhat.com>
1304
1305 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1306 space before string output. Add test for "set print pretty off"
1307 case.
1308
585fdaa1
PA
13092011-01-25 Pedro Alves <pedro@codesourcery.com>
1310
1311 * gdb.base/frame-args.exp: Adjust.
1312 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1313 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1314 * gdb.dwarf2/pieces.exp: Adjust.
1315 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1316 * gdb.opt/inline-locals.exp: Adjust.
1317 * gdb.threads/fork-child-threads.exp: Adjust.
1318
d468832a
KW
13192011-01-25 Ken Werner <ken.werner@de.ibm.com>
1320
1321 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1322 OpenCL kernel function. Add a comment as marker. Add address space
1323 qualifiers for the remaining program scope variables.
1324 * gdb.opencl/datatypes.cl: Likewise.
1325 * gdb.opencl/operators.cl: Likewise.
1326 * gdb.opencl/vec_comps.cl: Likewise.
1327 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1328 Add breakpoint at the marker comment.
1329 * gdb.opencl/datatypes.exp: Likewise.
1330 * gdb.opencl/operators.exp: Likewise.
1331 * gdb.opencl/vec_comps.exp: Likewise.
1332
490f124f
PA
13332011-01-24 Pedro Alves <pedro@codesourcery.com>
1334
1335 * gdb.base/printcmds.c (some_struct): New struct and instance.
1336 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1337 procedure.
1338 <global scope>: Call it.
1339
6da78614
KW
13402011-01-21 Ken Werner <ken.werner@de.ibm.com>
1341
1342 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1343 argument to the gdb_compile_opencl_hostapp call.
1344
ec64c9aa
YQ
13452011-01-19 Yao Qi <yao@codesourcery.com>
1346
1347 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1348 positve list.
1349
810cfdbb
YQ
13502011-01-19 Yao Qi <yao@codesourcery.com>
1351
1352 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1353 canonical form.
1354 Remove "xscale-*-*"
1355 * gdb.xml/tdesc-regs.exp: Likewise.
1356 * gdb.python/py-section-script.exp: Replace ARM target triplet
1357 with canonical form.
1358 Match arm*-*-symbianelf*.
1359 * gdb.base/dup-sect.exp: Likewise.
1360 * lib/dwarf.exp: New.
1361 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1362 dwarf2_support.
1363 * gdb.dwarf2/dup-psym.exp: Likewise.
1364 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1365 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1366 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1367 * gdb.dwarf2/dw2-basic.exp: Likewise.
1368 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1369 * gdb.dwarf2/dw2-const.exp: Likewise.
1370 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1371 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1372 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1373 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1374 * gdb.dwarf2/dw2-filename.exp: Likewise.
1375 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1376 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1377 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1378 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1379 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1380 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1381 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1382 * gdb.dwarf2/dw2-producer.exp: Likewise.
1383 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1384 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1385 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1386 * gdb.dwarf2/dw2-strp.exp: Likewise.
1387 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1388 * gdb.dwarf2/implptr.exp: Likewise.
1389 * gdb.dwarf2/mac-fileno.exp: Likewise.
1390 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1391 * gdb.dwarf2/pieces.exp: Likewise.
1392 * gdb.dwarf2/pr11465.exp: Likewise.
1393 * gdb.dwarf2/valop.exp: Likewise.
1394 * gdb.dwarf2/watch-notconst.exp: Likewise.
1395 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1396
4694da01
TT
13972011-01-19 Tom Tromey <tromey@redhat.com>
1398
1399 * gdb.python/py-infthread.exp: Add thread tests.
1400
b075872c
JB
14012011-01-14 Joel Brobecker <brobecker@adacore.com>
1402
1403 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1404
2c3e6e24
JB
14052011-01-14 Joel Brobecker <brobecker@adacore.com>
1406
1407 * gdb.ada/widewide: New testcase.
1408
de8fa76c
JB
14092011-01-13 Joel Brobecker <brobecker@adacore.com>
1410
1411 * gdb.base/interact.exp: New testcase.
1412
1b05df00
TT
14132011-01-12 Tom Tromey <tromey@redhat.com>
1414
1415 * gdb.mi/gdb2549.exp: Update for error message changes.
1416 * gdb.mi/mi-cli.exp: Likewise.
1417 * gdb.mi/mi-disassemble.exp: Likewise.
1418 * gdb.mi/mi-pthreads.exp: Likewise.
1419 * gdb.mi/mi-regs.exp: Likewise.
1420 * gdb.mi/mi-stack.exp: Likewise.
1421 * gdb.mi/mi-var-block.exp: Likewise.
1422 * gdb.mi/mi-var-cmd.exp: Likewise.
1423 * gdb.mi/mi2-cli.exp: Likewise.
1424 * gdb.mi/mi2-disassemble.exp: Likewise.
1425 * gdb.mi/mi2-pthreads.exp: Likewise.
1426 * gdb.mi/mi2-regs.exp: Likewise.
1427 * gdb.mi/mi2-stack.exp: Likewise.
1428 * gdb.mi/mi2-var-block.exp: Likewise.
1429 * gdb.mi/mi2-var-cmd.exp: Likewise.
1430
c2ff108b
JK
14312011-01-12 Andrew Burgess <aburgess@broadcom.com>
1432 Jan Kratochvil <jan.kratochvil@redhat.com>
1433
1434 PR fortran/11104 and DWARF unbound arrays detection.
1435 * gdb.fortran/multi-dim.exp: New file.
1436 * gdb.fortran/multi-dim.f90: New file.
1437
b716877b
AB
14382011-01-12 Andrew Burgess <aburgess@broadcom.com>
1439
1440 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1441 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1442 add new tests for opcode dumping.
1443
6c162d5e
TT
14442011-01-11 Tom Tromey <tromey@redhat.com>
1445
1446 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1447
77b06cd7
TJB
14482010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1449
1450 Convert hardware watchpoints to use breakpoint_ops.
1451 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1452 type is not supported.
1453 * gdb.base/foll-fork.exp: Likewise.
1454 * gdb.base/foll-vfork.exp: Likewise.
1455
f39a75d0
PM
14562011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1457
1458 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1459 Use load_lib gdb-python.exp.
1460 * gdb.python/python.exp: Ditto.
1461 * gdb.python/py-function.exp: Ditto.
1462
fc529d80
AS
14632011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1464
1465 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1466
fb03cb59
JK
14672011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1468
1469 * configure: Regenerate.
1470
d8e22779
TT
14712011-01-06 Tom Tromey <tromey@redhat.com>
1472
1473 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1474
09050809
JB
14752011-01-06 Joel Brobecker <brobecker@adacore.com>
1476
fc529d80
AS
1477 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1478 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1479 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1480 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1481 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1482 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1483 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1484 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1485 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1486 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1487 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1488 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1489 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1490 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1491 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1492 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1493 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1494 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1495 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1496 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1497 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1498 gdb.ada/uninitialized_vars.exp,
1499 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1500 Simplify by using clean_restart.
09050809 1501
8ed5dd9e
JB
15022011-01-06 Joel Brobecker <brobecker@adacore.com>
1503
1504 Add marker to be used as anchor for inserting breakpoints.
1505 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1506 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1507 Likewise.
1508
1509 Remove uses of gdb_start_cmd.
1510 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1511 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1512
1513 Do not run testcase if testing with GDBserver.
1514 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1515 if testing with GDBserver.
1516
368a124f
JB
15172011-01-06 Joel Brobecker <brobecker@adacore.com>
1518
1519 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1520 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1521 copyright header.
1522
44944448
JB
15232011-01-05 Joel Brobecker <brobecker@adacore.com>
1524
1525 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1526 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1527 testsuite/gdb.fortran/complex.f,
1528 testsuite/gdb.fortran/derived-type.f90,
1529 testsuite/gdb.fortran/library-module-lib.f90,
1530 testsuite/gdb.fortran/library-module-main.f90,
1531 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1532 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1533 Copyright year update.
1534
31886ea6
JB
15352011-01-05 Joel Brobecker <brobecker@adacore.com>
1536
1537 * gdb.base/langs1.f: Add copyright header.
1538
ebedcab5
JK
15392011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1540
1541 * gdb.base/morestack.exp: New file.
1542 * gdb.base/morestack.c: New file.
1543
de1eb2f9
JK
15442011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1545
1546 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1547
9e87a409
JB
15482010-12-29 Joel Brobecker <brobecker@adacore.com>
1549
1550 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1551 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1552
720d1a40
JB
15532010-12-29 Joel Brobecker <brobecker@adacore.com>
1554
1555 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1556
a283af87
AS
15572010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1558
5d3d9cba
AS
1559 * gdb.threads/tls.exp: Fix typo.
1560
a283af87
AS
1561 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1562 * gdb.threads/execl.exp: Update.
1563
2a20745c
YQ
15642010-12-23 Yao Qi <yao@codesourcery.com>
1565
1566 * gdb.arch/arm-disp-step.exp: New.
1567 * gdb.arch/arm-disp-step.S: New.
1568
a7658b96
TT
15692010-12-21 Tom Tromey <tromey@redhat.com>
1570
1571 * gdb.threads/execl.exp: Update.
1572 * gdb.threads/linux-dp.exp: Update.
1573 * gdb.threads/manythreads.exp: Update.
1574 * gdb.threads/tls.exp: Update.
1575
5b79abe7
TT
15762010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1577
1578 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1579 (NextOverThrowDerivates) <resumebpt>: New.
1580 (resumebpt_test): New.
1581 (main): Call resumebpt_test.
1582 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1583
0914bcdb
SS
15842010-12-12 Stan Shebs <stan@codesourcery.com>
1585
1586 * gdb.trace/tsv.exp: Test print command on trace state variables.
1587
305aeedc
TT
15882010-12-09 Tom Tromey <tromey@redhat.com>
1589
1590 * gdb.base/interp.exp: Add regression test.
1591
186c406b
TT
15922010-12-09 Tom Tromey <tromey@redhat.com>
1593
1594 * gdb.java/jnpe.java: New file.
1595 * gdb.java/jnpe.exp: New file.
1596 * gdb.cp/nextoverthrow.exp: New file.
1597 * gdb.cp/nextoverthrow.cc: New file.
1598
aae1c79a
DE
15992010-12-07 Doug Evans <dje@google.com>
1600
1601 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1602 of data-directory.
1603 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1604 updated.
1605 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1606
60f98dde 16072010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
1608
1609 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1610 * gdb.base/call-sc.exp: Ditto.
1611 * gdb.base/finish.exp: Ditto.
1612 * gdb.base/return.exp: Ditto.
1613 * gdb.base/return2.exp: Ditto.
1614
5fa290c1
DE
16152010-11-30 Doug Evans <dje@google.com>
1616
1617 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1618 (gdb_expect_list): Fix spelling errors in comments.
1619 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1620 send_gdb/gdb_expect_list where applicable.
1621 * gdb.base/call-ar-st.exp: Ditto.
1622 * gdb.base/funcargs.exp: Ditto.
1623 * gdb.base/gcore.exp: Ditto.
1624 * gdb.base/page.exp: Ditto.
1625 * gdb.base/sigaltstack.exp: Ditto.
1626 * gdb.base/siginfo.exp: Ditto.
1627 * gdb.base/sigstep.exp: Ditto.
1628 * gdb.base/trace-commands.exp: Ditto.
1629
4e04c971
DE
16302010-11-29 Doug Evans <dje@google.com>
1631
1632 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1633 printer-name;subprinter-name.
1634
8cf6f0b1
TT
16352010-11-29 Tom Tromey <tromey@redhat.com>
1636
1637 * gdb.dwarf2/implptr.exp: New file.
1638 * gdb.dwarf2/implptr.c: New file.
1639 * gdb.dwarf2/implptr.S: New file.
1640
94b6973e
PM
16412010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1642
fc529d80 1643 PR python/12199
94b6973e
PM
1644
1645 * gdb.python/py-breakpoint.exp: Test the delete method.
1646
8358c15c
JK
16472010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1648
1649 Fix step_resume_breakpoint unsaved during an infcall.
1650 * gdb.base/step-resume-infcall.exp: New file.
1651 * gdb.base/step-resume-infcall.c: New file.
1652
f6df29bc
TJB
16532010-11-24 Edjunior Machado <emachado@br.ibm.com>
1654
1655 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1656
f2b5a5cf
TJB
16572010-11-24 Edjunior Machado <emachado@br.ibm.com>
1658
1659 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1660 on ppc64's symbols; "finish" and "return" commands must accept to
1661 show the caller line again as well as the line after.
1662 * gdb.asm/powerpc64.inc: New file.
1663
6b0ecdc2
DE
16642010-11-23 Doug Evans <dje@google.com>
1665
1666 * lib/gdb.exp (gdb_test_sequence): New function.
1667 (gdb_expect_list): Add verbose -log call for each pattern.
1668 * gdb.base/signals.exp (test_handle_all_print): Call it.
1669 Reduce timeout increment from 6 minutes to 1 minute.
1670 * gdb.server/ext-run.exp: Call it.
1671
ea976c60
PM
16722010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1673
f2b5a5cf 1674 PR python/12212
ea976c60
PM
1675
1676 * gdb.python/python.exp: Check that selected_thread raises an
1677 error when no inferior is loaded.
1678
c0efa795
JK
16792010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1680
1681 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1682 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1683
ec3aa567
JK
16842010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1685
1686 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1687 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1688
d8249011
DE
16892010-11-18 Doug Evans <dje@google.com>
1690
1691 * gdb.server/ext-run.exp: Fix intermittent failures.
1692
d4eba7d1
NF
16932010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1694
1695 * gdb.stabs/gdb11479.exp: Use runto_main.
1696
b04c2f88
NF
16972010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1698
1699 * gdb.base/break-entry.exp: Skip if using a stub.
1700
ae9d7ce4
NF
17012010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1702
1703 * gdb.python/py-inferior.exp: Pack values in target endianness.
1704
621c8364
TT
17052010-11-12 Tom Tromey <tromey@redhat.com>
1706
1707 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1708 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1709 MemoryError.
1710 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1711 type.
1712 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1713 MemoryError.
1714 (test_subscript_regression): Update exception type.
1715
84f4c1fe
PM
17162010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1717
1718 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1719 breakpoint tests.
1720
a1442452
PA
17212010-11-09 Pedro Alves <pedro@codesourcery.com>
1722
1723 * gdb.base/watchpoint.exp: Test "watch -location" with an
1724 innacessible location.
1725
efd11a33
JK
17262010-11-09 Edjunior Machado <emachado@br.ibm.com>
1727 Luis Machado <luisgpm@br.ibm.com>
1728
1729 * gdb.base/maint.exp: Expect "." prefix.
1730 * gdb.base/nodebug.exp: Expect "." Likewise.
1731 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1732 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1733 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1734 POWER server processors.
1735
aa00efb5
JK
17362010-11-08 Edjunior Machado <emachado@br.ibm.com>
1737 Luis Machado <luisgpm@br.ibm.com>
1738
1739 * gdb.base/break-entry.exp: convert entry point for
1740 ppc64 and expect leading `.' on ppc64's symbols
1741
99e7ae30
DE
17422010-11-05 Doug Evans <dje@google.com>
1743
1744 * gdb.base/help.exp: Update expected output.
b521dba8
DE
1745 * gdb.python/py-param.exp: Delete, contents moved to ...
1746 * gdb.python/py-parameter.exp: ... here. New file.
1747 Add test for gdb.parameter ("directories").
99e7ae30 1748
f4b8a18d
KW
17492010-11-05 Ken Werner <ken.werner@de.ibm.com>
1750
1751 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1752 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1753 * configure: Regenerate.
1754 * gdb.opencl/Makefile.in: New File.
1755 * gdb.opencl/datatypes.exp: Likewise.
1756 * gdb.opencl/datatypes.cl: Likewise.
1757 * gdb.opencl/operators.exp: Likewise.
1758 * gdb.opencl/operators.cl: Likewise.
1759 * gdb.opencl/vec_comps.exp: Likewise.
1760 * gdb.opencl/vec_comps.cl: Likewise.
1761 * gdb.opencl/convs_casts.exp: Likewise.
1762 * gdb.opencl/convs_casts.cl: Likewise.
1763 * lib/opencl.exp: Likewise.
1764 * lib/opencl_hostapp.c: Likewise.
1765 * lib/opencl_kernel.cl: Likewise.
1766 * lib/cl_util.c: Likewise.
1767 * lib/cl_util.c: Likewise.
1768 * gdb.base/default.exp (set language): Add "opencl" to the list of
1769 languages.
1770
a9d5ef47
SW
17712010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1772
1773 * gdb.cp/overload.exp: Added test for inheritance overload.
1774 * gdb.cp/overload.cc: Ditto.
1775 * gdb.cp/oranking.exp: Removed releveant kfails.
1776
03eb1c79
JK
17772010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1778 Joel Brobecker <brobecker@adacore.com>
1779
1780 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1781 check test_compiler_info.
1782
dbc98a8b
KW
17832010-11-03 Ken Werner <ken.werner@de.ibm.com>
1784
1785 * gdb.base/gnu_vector.exp: Adjust expect messages.
1786
120bd360
KW
17872010-11-03 Ken Werner <ken.werner@de.ibm.com>
1788
1789 * gdb.base/gnu_vector.exp: Add unary operator tests.
1790
c37f7098
KW
17912010-11-03 Ken Werner <ken.werner@de.ibm.com>
1792
1793 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1794
7b51bc51
DE
17952010-11-02 Doug Evans <dje@google.com>
1796
1797 * gdb.python/py-pp-maint.c: New file.
1798 * gdb.python/py-pp-maint.exp: New file.
1799 * gdb.python/py-pp-maint.py: New file.
1800
50c97f38
TT
18012010-11-02 Tom Tromey <tromey@redhat.com>
1802
1803 * gdb.base/default.exp: Remove "scheme" from language list.
1804
a289b8f6
JK
18052010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1806
1807 Revert:
1808 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1809 * gdb.threads/sigstep-threads.exp: New file.
1810 * gdb.threads/sigstep-threads.c: New file.
1811
cd017491
MS
18122010-10-20 Michael Snyder <msnyder@vmware.com>
1813
1814 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1815
8e6a5956
UW
18162010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1817
1818 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1819 Skip test completely if gdb,no_hardware_watchpoints.
1820
2c04da0d
UW
18212010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1822
1823 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1824 strict, but do not check for any particular function name within libc.
1825
79afc5ef
SW
18262010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1827
1828 * gdb.cp/smartp.exp: New test.
1829 * gdb.cp/smartp.cc : New test.
1830
026ffab7
SW
18312010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1832
1833 * gdb.cp/converts.exp: Test pointer to bool conversion.
1834 Test pointer to long conversion.
1835 * gdb.cp/oranking.exp: Removed relevant kfail.
1836
3a772aa4
TT
18372010-10-18 Tom Tromey <tromey@redhat.com>
1838
1839 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1840 argument to lazy_string.
1841 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1842 (pp_ls.to_string): Use it.
1843 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1844 Add "estring2" local.
1845
5fc3827b
JK
18462010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1847
1848 Fix s390x compatibility.
1849 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1850 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1851
8aeb23f3
JK
18522010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1853
1854 * gdb.threads/sigstep-threads.exp: New file.
1855 * gdb.threads/sigstep-threads.c: New file.
1856
c1e56572
JK
18572010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1858
1859 * gdb.base/pie-execl.exp: New file.
1860 * gdb.base/pie-execl.c: New file.
1861
92163a10
JK
18622010-10-13 Doug Evans <dje@google.com>
1863 Jan Kratochvil <jan.kratochvil@redhat.com>
1864
1865 PR exp/12117
1866 * gdb.cp/ptype-cv-cp.cc: New file.
1867 * gdb.cp/ptype-cv-cp.exp: New file.
1868
7062b0a0
SW
18692010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1870
1871 * gdb.cp/converts.cc: New test program.
1872 * gdb.cp/converts.exp: New test.
1873 * gdb.cp/overload.exp: Added test for void* vs int*.
1874 * gdb.cp/overload.exp: Ditto.
1875 * gdb.cp/oranking.exp: Removed related kfail.
1876
0e3509db
DE
18772010-10-13 Doug Evans <dje@google.com>
1878
1879 * lib/gdb-python.exp (gdb_check_python_config): New function.
1880 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1881 * gdb.python/lib-types.cc: New file.
1882 * gdb.python/lib-types.exp: New file.
1883
8dc78533
JK
18842010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1885
1886 * gdb.python/py-error.exp: New file.
1887 * gdb.python/py-error.py: New file.
1888
93c17e06
JK
18892010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1890
1891 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1892 gdb_test_multiple.
1893
d8b34041
JK
18942010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1895
1896 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1897 * gdb.base/prelink.exp: Likewise.
1898 * gdb.base/solib-nodir.exp: Likewise.
1899 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1900 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1901 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1902
e0cc584e
UW
19032010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1904
1905 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1906 for the "info files" test to avoid timeouts on slow machines.
1907
cfc353b1
JK
19082010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1909
1910 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1911 (main): Make openlib dummy call.
1912
d3d7896d
JK
19132010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1914
1915 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1916 * break-interp.exp (reach): Move the core body ...
1917 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1918 (test_ld): Provide always real argument, even to the linker. Replace
1919 dl_main by _dl_debug_state.
1920
5e533c94
JK
19212010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1922
1923 Fix results of prelinked PIEs on ppc*.
1924 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1925 Accept also DISPLACEMENT "PRESENT".
1926 (main): Replace "ZERO" displacements by "PRESENT".
1927
33540610
SW
19282010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1929
1930 * gdb.cp/oranking.exp: New test.
1931 * gdb.cp/oranking.cc: New test program.
1932
3bdf2bbd
KW
19332010-10-08 Ken Werner <ken.werner@de.ibm.com>
1934
1935 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1936 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1937
2f608a3a
KW
19382010-10-06 Ken Werner <ken.werner@de.ibm.com>
1939
1940 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1941 lush, lynx) New constant.
1942 * gdb.base/constvars.exp: Test const array types.
1943 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1944
aa2e2d8d
DE
19452010-10-06 Doug Evans <dje@google.com>
1946
1947 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1948 of syscall staging area.
1949
2844d6b5
KW
19502010-10-06 Ken Werner <ken.werner@de.ibm.com>
1951
1952 * gdb.base/gnu_vector.c: Add variable c4.
1953 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1954 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1955
7d8ac8bb
MR
19562010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1957
1958 * gdb.arch/altivec-abi.exp: Fix a typo.
1959
84a02e58
MR
19602010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1961
1962 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1963 to match a thread ID.
1964
b18e6318
JK
19652010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1966
1967 Fix s390x testcase compatibility.
1968 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1969
a2c09bd0
DE
19702010-10-01 Doug Evans <dje@google.com>
1971
1972 * lib/gdb-python.exp: New file.
1973 * gdb.python/py-block.exp: Use it.
1974 * gdb.python/py-breakpoint.exp: Ditto.
1975 * gdb.python/py-frame.exp: Ditto.
1976 * gdb.python/py-inferior.exp: Ditto.
1977 * gdb.python/py-param.exp: Ditto.
1978 * gdb.python/py-prettyprint.exp: Ditto.
1979 * gdb.python/py-shared.exp: Ditto.
1980 * gdb.python/py-symbol.exp: Ditto.
1981 * gdb.python/py-symtab.exp: Ditto.
1982 * gdb.python/py-type.exp: Ditto.
1983 * gdb.python/py-value.exp: Ditto.
1984 * gdb.python/python.exp: Ditto.
1985
38f12cfc
TT
19862010-09-30 Tom Tromey <tromey@redhat.com>
1987
1988 * gdb.base/anon.exp: New file.
1989 * gdb.base/anon.c: New file.
1990
9ae8282d
TT
19912010-09-30 Tom Tromey <tromey@redhat.com>
1992
1993 * gdb.base/completion.exp: Test completion through anonymous
1994 union.
1995 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1996
e9e07ba6
JK
19972010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1998
1999 Fix printing parameters of inlined functions.
2000 * gdb.dwarf2/dw2-inline-param.exp: New file.
2001 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2002 * gdb.dwarf2/dw2-inline-param.S: New file.
2003
cd2effb2
JK
20042010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2005
2006 PR corefiles/12071.
2007 * gdb.base/corefile.exp (quit with a process, no question: load core)
2008 (quit with a core file): New tests.
2009
bceffbf3
JK
20102010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2011
2012 Fix GDB crash on inferior calls with self-referencing classes.
2013 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2014 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2015 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2016
1736ad11
JK
20172010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2018
2019 Fix lost siginfo_t for inferior calls.
2020 * gdb.base/siginfo-infcall.exp: New file.
2021 * gdb.base/siginfo-infcall.c: New file.
2022
a176ad92
JB
20232010-09-22 Joel Brobecker <brobecker@adacore.com>
2024
2025 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2026
c2b0a229
JK
20272010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2028
2029 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2030 New test.
2031 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2032
e8ae22d1
JB
20332010-09-22 Joel Brobecker <brobecker@adacore.com>
2034
2035 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2036 type of our const type.
2037
ec322823
SW
20382010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2039
2040 * gdb.cp/pr12028.cc: New.
2041 * gdb.cp/pr12028.exp: New.
2042
72929c62
JB
20432010-09-22 Joel Brobecker <brobecker@adacore.com>
2044
2045 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2046
875b4ff5 20472010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2048 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2049
2050 PR mi/11407
2051 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2052 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2053 * gdb.mi/dw2-ref-missing-frame.S New File.
2054 * gdb.mi/dw2-ref-missing-frame.exp New File.
2055
7155d578
TT
20562010-09-14 Tom Tromey <tromey@redhat.com>
2057
2058 PR symtab/8399:
2059 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2060
515ed532
TT
20612010-09-14 Tom Tromey <tromey@redhat.com>
2062
2063 PR exp/11803:
2064 * gdb.threads/tls.exp: Use C++.
2065 (check_thread_local): Use K::another_thread_local.
2066 * gdb.threads/tls.c (class K): New.
2067 (another_thread_local): Now a member of K.
2068 (spin): Update. No longer K&R C.
2069
450ca57c
SW
20702010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2071
2072 * gdb.cp/koenig.cc: created class for testing member lookup.
2073 * gdb.cp/koenig.exp: Added test for member lookup.
2074
dbd492a3
JK
20752010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2076
2077 Fix false FAILs on sourcetree topdir directory containing "kill".
2078 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2079 source line matching regexp.
2080
8d4d924b
JK
20812010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2082
2083 * gdb.python/python.exp (set height 0, collect help from uiout)
2084 (verify help to uiout): New tests.
2085
8e64f2a0
JK
20862010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2087
2088 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2089 is_lp64_target to check 64bit target.
2090
4569eed2
JK
20912010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2092
2093 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2094 (test_ld) <powerpc64-*>: New.
2095
5e1617b1
DJ
20962010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2097
2098 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2099
c767944b
DJ
21002010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2101
2102 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2103 (FunctionArg::method): New function.
2104 (empty, arg): New variables.
2105 (main): Call arg.method.
2106 * gdb.cp/templates.exp (test_template_args): New function.
2107 (do_tests): Call it.
2108
27d3a3fc
UW
21092010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2110
2111 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2112 of "next" to proceed over pthread_exit call.
2113
55b7ce7f
UW
21142010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2115
2116 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2117 "maint print statistics" output to prevent expect timeouts.
2118
809df446
JK
21192010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2120
2121 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2122 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2123 (test_float_rejected): ... here.
2124 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2125 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2126 (test_float_rejected): ... here.
2127 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2128 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2129 (test_float_rejected): ... here.
2130 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2131 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2132 (test_float_rejected): ... here.
2133
8464be76
DJ
21342010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2135
2136 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2137 before disabling hardware watchpoints.
2138 (test_inaccessible_watchpoint): Check that hardware watchpoints
2139 are used. Test for watchpoints on a constant address.
2140
14dba4b4
JK
21412010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2142
2143 * gdb.base/ui-redirect.exp: New file.
2144
3f3540e1 21452010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 2146 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
2147
2148 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2149
0f254bb7
DE
21502010-08-31 Doug Evans <dje@google.com>
2151
2152 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2153
03f17ccf
TT
21542010-08-30 Tom Tromey <tromey@redhat.com>
2155
2156 PR python/11792:
2157 * gdb.python/py-value.exp (test_subscript_regression): Add
2158 dynamic_type test.
2159
640617ad
DJ
21602010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2161
2162 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2163 instead of running to main. Do not test the main function.
2164 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2165 Add new main.
2166
2ed91d1b
PA
21672010-08-26 Pedro Alves <pedro@codesourcery.com>
2168
2169 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2170 one test.
2171
673bfd45
DE
21722010-08-24 Doug Evans <dje@google.com>
2173
2174 PR symtab/11942
2175 * gdb.dwarf2/dw4-sig-types.cc: New file.
2176 * gdb.dwarf2/dw4-sig-types.h: New file.
2177 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2178 * gdb.dwarf2/dw4-sig-types.exp: New file.
2179
f9ffd4bb
TT
21802010-08-23 Tom Tromey <tromey@redhat.com>
2181
2182 PR python/11145:
2183 * gdb.python/py-value.c (Base, Derived): New types.
2184 (base): New global.
2185 * gdb.python/py-value.exp (test_subscript_regression): Add
2186 dynamic_cast test.
2187
d839c8a4
TT
21882010-08-23 Tom Tromey <tromey@redhat.com>
2189
2190 PR python/10676:
2191 * gdb.python/py-type.exp (test_fields): Add tests for type
2192 equality.
2193
702c2711
TT
21942010-08-23 Tom Tromey <tromey@redhat.com>
2195
2196 PR python/11915:
2197 * gdb.python/py-type.exp (test_fields): Add tests for array.
2198
832bafd3
KS
21992010-08-23 Keith Seitz <keiths@redhat.com>
2200
2201 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2202 have any children. Create a new abbrev for it.
2203 Add missing terminal sequence to .debug_abbrev.
2204
c37bf528
KS
22052010-08-20 Keith Seitz <keiths@redhat.com>
2206
2207 PR symtab/11465:
2208 * gdb.dwarf2/pr11465.exp: New test.
2209 * gdb.dwarf2/pr11465.S: New file.
2210 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2211 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2212
4572cbac
TJB
22132010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2214
2215 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2216 registers. Update data sets with the new v2_double element in the
2217 VSX register union. Add vector_register3_vr data set for the AltiVec
2218 registers. Use gdb_test_no_output instead of send_gdb.
2219
e7fbb131
PA
22202010-08-19 Pedro Alves <pedro@codesourcery.com>
2221
2222 * gdb.python/py-shared.exp: New file, factored out from
2223 python.exp.
2224 * gdb.python/py-shared.c: New file.
2225 * gdb.python/py-shared-sl.c: New file.
2226 * gdb.python/python-1.c: New file.
2227 * gdb.python/python-sl.c: Delete.
2228 * gdb.python/python.c: Mention python-1.c.
2229 * gdb.python/python.exp: Move shared library tests to
2230 py-shared.exp.
2231 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2232 (MISCELLANEOUS): New.
2233 (clean mostlyclean): Also remove $MISCELLANEOUS.
2234
d30f5e1f
DE
22352010-08-19 Doug Evans <dje@google.com>
2236
2237 PR exp/11926
2238 * gdb.base/printcmds.exp (test_float_accepted): New function.
2239 Move existing float tests there. Add tests for floats with suffixes.
2240 (test_float_rejected): New function.
2241 * gdb.java/jv-print.exp (test_float_accepted): New function.
2242 (test_float_rejected): New function.
2243 * gdb.objc/print.exp: New file.
2244 * gdb.pascal/print.exp: New file.
2245 * lib/objc.exp: New file.
2246
7b3fd859
PM
22472010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2248
2249 * gdb.base/default.exp (info set): Avoid full buffer error and force
2250 reading up to final gdb prompt.
2251 (show): Likewise.
2252
c92817ce
TT
22532010-08-18 Tom Tromey <tromey@redhat.com>
2254
2255 PR symtab/11919:
2256 * gdb.base/completion.exp: Add test.
2257
f1208f9e
DE
22582010-08-18 Doug Evans <dje@google.com>
2259
2260 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2261 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2262 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2263 Simplify, early exit if runto_main fails.
2264 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2265 (set_lang_fortran): Moved to lib/fortran.exp.
2266 * gdb.fortran/types.exp: load_lib fortran.exp.
2267 (set_lang_fortran): Moved to lib/fortran.exp.
2268 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2269 * gdb.java/jprint.exp (set_lang_java): Ditto.
2270 * gdb.java/jv-exp.exp: load_lib java.exp.
2271 If set_lang_java fails, issue a warning instead of failure to be
2272 consistent with other set_lang_foo uses.
2273 (set_lang_java): Moved to lib/java.exp.
2274 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2275 If set_lang_java fails, issue a warning instead of failure to be
2276 consistent with other set_lang_foo uses.
2277 * gdb.pascal/types.exp: load_lib pascal.exp.
2278 (set_lang_pascal): Moved to lib/pascal.exp.
2279 * lib/fortran.exp: New file.
2280 * lib/java.exp (set_lang_java): New function.
2281 * lib/pascal.exp (set_lang_pascal): New function.
2282
2f06b485
YQ
22832010-08-18 Yao Qi <yao@codesourcery.com
2284
2285 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2286 func_nofb_start and func_loopfb_start, so that address of functions
2287 is equal to these labels on Thumb.
2288
96e25403
YQ
22892010-08-18 Yao Qi <yao@codesourcery.com>
2290
2291 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2292 to reflect latest c source file.
2293
36e6adc4
JK
22942010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2295
2296 * gdb.cp/infcall-dlopen.exp: New file.
2297 * gdb.cp/infcall-dlopen.cc: New file.
2298 * gdb.cp/infcall-dlopen-lib.cc: New file.
2299
f431efe5
PA
23002010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2301 Pedro Alves <pedro@codesourcery.com>
2302
2303 PR breakpoints/11371
2304
2305 * gdb.base/watch-cond-infcall.exp: New file.
2306 * gdb.base/watch-cond-infcall.c: New file.
2307
06a64a0b
TT
23082010-08-16 Tom Tromey <tromey@redhat.com>
2309
2310 * gdb.base/help.exp: Update.
2311 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2312 watchpoint.
2313 (test_watch_location): New proc.
2314 (test_watchpoint_in_big_blob): Delete watchpoint.
2315 * gdb.base/watchpoint.c (func5): New function.
2316 (main): Call it.
2317
70ebf4ed
DE
23182010-08-16 Doug Evans <dje@google.com>
2319
2320 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2321
ca5c20b6
PM
23222010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2323
2324 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2325 tests.
2326
7346b668
KW
23272010-08-11 Ken Werner <ken.werner@de.ibm.com>
2328
2329 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2330 * gdb.base/gnu_vector.c: New File.
2331 * gdb.base/gnu_vector.exp: Likewise.
2332
cb2e07a6
PM
23332010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2334
2335 * gdb.python/python.c: New File.
2336 * gdb.python/python-sl.c: New File.
2337 * gdb.python/python.exp: Test solib_address and decode_line
2338 * functions.
2339
5da1313b
JK
23402010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2341
2342 * gdb.python/python.exp (show height, set height 10)
2343 (verify pagination beforehand, verify pagination beforehand: q)
2344 (gdb.execute does not page, verify pagination afterwards)
2345 (verify pagination afterwards: q): New.
2346
49c3ccf7
DE
23472010-08-02 Doug Evans <dje@google.com>
2348
2349 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2350 because of an older gcc, change test2
2351 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2352 to unsupported.
2353
42c0c4f1
KH
23542010-07-30 Kazu Hirata <kazu@codesourcery.com>
2355
2356 * gdb.base/break-always.exp: Do not expect full paths to file
2357 names.
2358 * gdb.base/commands.exp: Likewise.
2359
d3765805
DE
23602010-07-30 Doug Evans <dje@google.com>
2361
c98ee71b
DE
2362 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2363 xfail them when run with older gccs.
2364
fd961404
DE
2365 * lib/gdb.exp (build_executable): Forward "c++" option to
2366 get_compiler_info.
2367
999adef4
DE
2368 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2369 "python print ttype.template_argument(1)" and
2370 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2371 if using gcc 4.4 or earlier.
2372
d3765805
DE
2373 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2374 attach-to-debugger handling.
2375
1276c759
JK
23762010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2377
2378 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2379 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2380 (main): Use copyreloc.
2381 * gdb.base/prelink.exp (split debug of executable)
2382 (.dynbss vs. .bss address shift): New tests.
2383
88caa9b9
PA
23842010-07-29 Pedro Alves <pedro@codesourcery.com>
2385
2386 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2387 in gdb_test_multiple.
2388
c6f2ac43
PA
23892010-07-29 Pedro Alves <pedro@codesourcery.com>
2390
2391 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2392 environment.
2393
326fd672
TT
23942010-07-28 Tom Tromey <tromey@redhat.com>
2395
2396 PR python/11060:
2397 * gdb.python/py-type.c (Temargs): New template.
2398 (temvar): New variable.
2399 * gdb.python/py-type.exp (test_template): New proc.
2400
3ce3b1ba
PA
24012010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2402
2403 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2404 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2405
34eaf542
TT
24062010-07-28 Tom Tromey <tromey@redhat.com>
2407
2408 PR c++/9946:
2409 * gdb.cp/temargs.exp: New file.
2410 * gdb.cp/temargs.cc: New file.
2411
d41b819e
JK
24122010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2413
2414 * gdb.base/help.exp (help disassemble): Update the content.
2415
26ab7092
JK
24162010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2417
2418 * gdb.threads/ia64-sigill.exp: New file.
2419 * gdb.threads/ia64-sigill.c: New file.
2420
5283e9e1
TT
24212010-07-27 Tom Tromey <tromey@redhat.com>
2422
2423 * gdb.opt/inline-cmds.c (ATTR): New define.
2424 (func1): Use it.
2425 (func2): Likewise.
2426 (func3): Likewise.
2427 (outer_inline1): Likewise.
2428 (outer_inline2): Likewise.
2429 * gdb.opt/inline-bt.c (ATTR): New define.
2430 (func1): Use it.
2431 (func2): Likewise.
2432 * gdb.opt/inline-locals.c (ATTR): New define.
2433 (func1): Use it.
2434 (func2): Likewise.
2435
e992ef73
TT
24362010-07-27 Tom Tromey <tromey@redhat.com>
2437
2438 * gdb.stabs/gdb11479.c (hack): New function.
2439 (test): Use it.
2440 (test2): Use it.
2441 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2442 (int32_search_buf, int64_search_buf): No longer static.
2443 (x): Remove.
2444 * gdb.base/relocate.c (hack): New function.
2445
5374244e
PM
24462010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2447
2448 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2449 * gdb.python/py-value.c (func1): New function.
2450 (func2): Likewise.
2451
a99aee83
CV
24522010-07-26 Corinna Vinschen <vinschen@redhat.com>
2453
2454 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2455 as not to clash with .data section.
2456
a04ba985
JG
24572010-07-26 Jerome Guitton <guitton@adacore.com>
2458
2459 * gdb.base/code_elim.exp: New file.
2460 * gdb.base/code_elim1.c: New file.
2461 * gdb.base/code_elim2.c: New file.
2462
23bd0f7c
PA
24632010-07-21 Pedro Alves <pedro@codesourcery.com>
2464
2465 PR symtab/11827
2466
2467 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2468 (some_volatile_enum): New variable.
2469 * gdb.base/printcmds.exp (test_print_enums): New.
2470 <top level>: Call it.
2471
883df6dd
SW
24722010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2473
2474 * gdb.cp/fpointer.cc: New test.
2475 * gdb.cp/fpointer.exp: New test.
2476
569b05a5
JK
24772010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2478
2479 * gdb.base/solib-nodir.exp: New file.
2480 * lib/gdb.exp (runto): New case for a GDB internal error.
2481
51d7d803
JK
24822010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2483 Ulrich Weigand <uweigand@de.ibm.com>
2484 Tom Tromey <tromey@redhat.com>
2485
2486 * gdb.base/charset-malloc.c: New file.
2487 * gdb.base/charset.c (malloc_stub): New prototype.
2488 (main): Call it instead of malloc itself.
2489 * gdb.base/charset.exp: Use only prepare_for_testing.
2490 (binfile): Remove the variable.
2491
c0edd9ed
JK
24922010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2493
2494 Make core files the process_stratum.
2495 * gdb.base/corefile.exp (run: load core again)
2496 (run: sanity check we see the core file, run: with core)
2497 (run: core file is cleared, attach: load core again)
2498 (attach: sanity check we see the core file, attach: with core)
2499 (attach: core file is cleared): New tests.
2500 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2501
3cbaedff
KW
25022010-07-14 Ken Werner <ken.werner@de.ibm.com>
2503
2504 * gdb.arch/altivec-abi.exp: New tests.
2505
91158a56
TT
25062010-07-13 Tom Tromey <tromey@redhat.com>
2507
2508 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2509 (main): Use it.
2510 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2511
0f5238ed
TT
25122010-07-13 Tom Tromey <tromey@redhat.com>
2513
2514 * gdb.base/label.exp: New file.
2515 * gdb.base/label.c: New file.
2516
add265ae
L
25172010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2518 H.J. Lu <hongjiu.lu@intel.com>
2519
2520 * lib/gdb.exp (is_ilp32_target): New.
2521 (is_lp64_target): Likewise.
2522
2523 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2524 target.
2525 * gdb.arch/amd64-disp-step.exp: Likewise.
2526 * gdb.arch/amd64-dword.exp: Likewise.
2527 * gdb.arch/amd64-i386-address.exp: Likewise.
2528 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 2529
add265ae
L
2530 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2531 target.
2532 * gdb.arch/i386-bp_permanent.exp: Likewise.
2533 * gdb.arch/i386-byte.exp: Likewise.
2534 * gdb.arch/i386-disp-step.exp: Likewise.
2535 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2536 * gdb.arch/i386-prologue.exp: Likewise.
2537 * gdb.arch/i386-size-overlap.exp: Likewise.
2538 * gdb.arch/i386-size.exp: Likewise.
2539 * gdb.arch/i386-sse.exp: Likewise.
2540 * gdb.arch/i386-unwind.exp: Likewise.
2541 * gdb.arch/i386-word.exp: Likewise.
2542
2543 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2544 test only when building 64-bit executables. Do not hard-code
2545 -m64 option.
2546
2dfb8c17
DE
25472010-07-07 Doug Evans <dje@google.com>
2548
2549 * lib/gdb.exp (gdb_test_list_exact): New function.
2550 * gdb.base/default.exp (show convenience): Call it, add tests for
2551 $_sdata = void, $_thread = 0.
2552
4e5799b6
JK
25532010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2554 Joel Brobecker <brobecker@adacore.com>
2555
2556 Fix re-run of PIE executable, PR shlibs/11776.
2557 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2558 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2559 and re-"run" of the inferior.
2560
1a219cc7
JK
25612010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2562 Joel Brobecker <brobecker@adacore.com>
2563
2564 Cope with missing /usr/sbin/prelink.
2565 * lib/prelink-support.exp (prelink_no):
2566 <result == 1 && $output is "no such file or directory">: New.
2567 (prelink_yes): Likewise. Return on failed prelink_no.
2568
5e3b36f8
JK
25692010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2570 Joel Brobecker <brobecker@adacore.com>
2571
2572 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2573 build_executable by build_executable_own_libs. Replace "prelink -R"
2574 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2575 change.
2576 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2577 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2578 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2579 Replace build_executable by build_executable_own_libs's function
2580 build_executable_own_libs.
2581 (prelinkNO): Create new stub to call prelink_no.
2582 (prelinkYES): Create new stub to call prelink_yes.
2583 (test_attach): Rename calls of copy to file_copy.
2584 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2585 (copy): Move to ...
2586 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2587 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2588 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2589 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2590 special flags by gdb_compile_shlib. Replace second gdb_compile by
2591 build_executable_own_libs. Replace "prelink -R" execution by a call of
2592 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2593 a second call of prelink_yes. Replace restart commands by
2594 clean_restart.
2595 (prelink): Rename to ...
2596 (seen displacement message): ... this test. Extend its expectation
2597 strictness.
2598
86e4bafc
JK
25992010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2600
2601 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2602 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2603 displacement message exactly once.
2604
3cd07d20
JK
26052010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2606 Joel Brobecker <brobecker@adacore.com>
2607
2608 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2609 its restore after the <$relink_args != ""> loop. new comment.
2610
0a1e94c7
JK
26112010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2612 Joel Brobecker <brobecker@adacore.com>
2613
2614 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2615 code for it. New variable relink_args.
2616 (prelinkYES): Call prelinkNO.
2617 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2618 in such case. Move the core code to ...
2619 (test_attach_gdb): ... a new function. Send GDB command "file".
2620 Extend expected "Attaching to " string.
2621
2f70bcfb
TT
26222010-07-02 Tom Tromey <tromey@redhat.com>
2623
2624 * gdb.base/bitops.exp: Remove extraneous "pass".
2625
a17ac5b0
TT
26262010-07-02 Ken Werner <ken.werner@de.ibm.com>
2627
2628 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2629
dc10affe
PA
26302010-07-01 Pedro Alves <pedro@codesourcery.com>
2631
d41c0fc8
PA
2632 * gdb.base/help.exp: Adjust expected output.
2633
26342010-07-01 Pedro Alves <pedro@codesourcery.com>
2635
2636 * gdb.base/help.exp: Adjust expected output.
dc10affe 2637
0a600c36
JK
26382010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2639
2640 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2641 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2642 c++/11702.
2643
37cc8bfe
JK
26442010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2645 Doug Evans <dje@google.com>
2646
2647 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2648 add .dynamic entry'.
2649
254e6b9e
DE
26502010-06-29 Doug Evans <dje@google.com>
2651
2652 Test PR c++/11702.
2653 * gdb.cp/m-static.exp: Add testcase.
2654 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2655
595939de 26562010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
2657 Tom Tromey <tromey@redhat.com>
2658 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
2659
2660 * gdb.python/py-inferior.c: New File.
2661 * gdb.python/py-infthread.c: New File.
2662 * gdb.python/py-inferior.exp: New File.
2663 * gdb.python/py-infthread.exp: New File.
2664
98751a41
JK
26652010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2666
2667 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2668 (ptype ::C::OtherFileClass typedefs): New.
2669 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2670 (C::OtherFileClass::cOtherFileClassVar2): New.
2671 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2672 cOtherFileClassVar2.
2673 (C::cOtherFileType2, C::cOtherFileVar2): New.
2674 (C::cOtherFileVar_use): use also cOtherFileVar2.
2675 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2676
41f62f39
JK
26772010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2678
2679 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2680 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2681 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2682 (print ::C::cOtherFileVar)
2683 (whatis C::OtherFileClass::cOtherFileClassType)
2684 (whatis ::C::OtherFileClass::cOtherFileClassType)
2685 (print C::OtherFileClass::cOtherFileClassVar)
2686 (print ::cOtherFileClassVar)
2687 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2688 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2689 trailing content.
2690 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2691 (C::OtherFileClass::cOtherFileClassVar)
2692 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2693 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2694
af53d231
JK
26952010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2696
2697 Test PR c++/11703 and PR gdb/1448.
2698 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2699 gdb/1448.
2700
9655fd1a
JK
27012010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2702
2703 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2704 (main) <rtti_data>: New.
2705 * gdb.cp/virtbase.exp (print rtti_data): New.
2706
824cc8dd
JK
27072010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2708 Joel Brobecker <brobecker@adacore.com>
2709
2710 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2711
6036c742
JK
27122010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2713
2714 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2715
de6a0421
DE
27162010-06-28 Doug Evans <dje@google.com>
2717
2718 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2719
b2dae948
DE
27202010-06-27 Doug Evans <dje@google.com>
2721
2722 * gdb.cp/m-static.exp: Update expected test output.
2723
0f3bb72e
PH
27242010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2725
889bf7c5
PA
2726 * gdb.gdb/selftest.exp: Adjust expected message for
2727 capturing start-up runtime.
0f3bb72e 2728
bc9f0842
TT
27292010-06-25 Tom Tromey <tromey@redhat.com>
2730
2731 PR python/10808:
2732 * gdb.python/python.exp: Add new tests.
2733
099ef718
SW
27342010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2735
2736 * gdb.cp/operator.cc: Created an import loop.
2737 * gdb.cp/operator.exp: Added testcase for import loop.
2738
5868a632
JK
27392010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2740
2741 Test PR python/11407.
2742 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2743 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2744 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2745 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2746 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2747 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2748 binfile. Call gdb_compile with clean_restart twice.
2749 (func_nofb print, func_nofb backtrace, func_loopfb print)
2750 (func_loopfb backtrace): New.
2751
af76db58
JK
27522010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2753
2754 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2755 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2756 by a hand made one.
2757 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2758 i?86 requirement. Remove variables srcfile and binfile. New variable
2759 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2760
f2c7657e
UW
27612010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2762
2763 * gdb.cell/dwarfaddr.exp: New file.
2764 * gdb.cell/dwarfaddr.S: New file.
2765
628fe4e4
JK
27662010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2767
2768 Test PR 9436.
2769 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2770
f1421989
HZ
27712010-06-24 Hui Zhu <teawater@gmail.com>
2772
2773 * gdb.base/eval.exp: New file.
2774
d03285ec
UW
27752010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2776
2777 * gdb.cell/fork.exp: New file.
2778 * gdb.cell/fork.c: Likewise.
2779 * gdb.cell/fork-spu.c: Likewise.
2780
41b2c92d
PM
27812010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2782
2783 * lib/gdb.exp (banned_variables_traced): New global variable.
2784 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2785 (gdb_init): Use `trace add variable' instead of obsolete
2786 `trace variable'.
2787
d5bc977f
DE
27882010-06-21 Doug Evans <dje@google.com>
2789
2790 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2791
d2ed6730
UW
27922010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2793
2794 * gdb.arch/spu-ls.exp: New file.
2795 * gdb.arch/spu-ls.c: Likewise.
2796
6aed2dbc
SS
27972010-06-18 Stan Shebs <stan@codesourcery.com>
2798
2799 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2800
e0756905
UW
28012010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2802
2803 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2804 * gdb.base/watch-cond.exp: Likewise.
2805 * gdb.python/py-breakpoint.exp: Likewise.
2806
d8053d4d
PA
28072010-06-18 Pedro Alves <pedro@codesourcery.com>
2808
2809 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2810 clean_restart, make sure every test has a distinct message, and
2811 that messages don't include the executable' full path.
2812
81ce510c
DE
28132010-06-17 Doug Evans <dje@google.com>
2814
2815 * gdb.arch/i386-size.exp: Updated expected output for
2816 DISASSEMBLY_OMIT_FNAME.
2817
65d79d4b
SDJ
28182010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2819 Sergio Durigan Junior <sergiodj@redhat.com>
2820
2821 * gdb.base/watch-notconst.c: New file.
2822 * gdb.base/watch-notconst.S: New file.
2823 * gdb.base/watch-notconst2.c: New file.
2824 * gdb.base/watch-notconst2.S: New file.
2825 * gdb.base/watch-notconst.exp: New file.
2826 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2827 (func4): Add operations on `global_ptr_ptr'.
2828 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2829 routine to test watchpoints created with a constant expression.
2830 (test_inaccessible_watchpoint): Include tests for watchpoints
2831 created with a constant expression.
2832
df0f4836
KB
28332010-06-14 Kevin Buettner <kevinb@redhat.com>
2834
2835 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2836 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2837 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2838 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2839 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2840 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2841 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2842 of `_start'.
2843
b769def5
UW
28442010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2845
2846 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2847 not supported on the target.
2848 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2849 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2850 * gdb.mi/mi-nsintrall.exp: Likewise.
2851 * gdb.mi/mi-nsmoribund.exp: Likewise.
2852 * gdb.mi/mi-nsthrexec.exp: Likewise.
2853
d914c394
SS
28542010-06-11 Stan Shebs <stan@codesourcery.com>
2855
2856 * gdb.base/permissions.exp: New file.
2857
28582010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
2859
2860 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2861 does not support ELF executable class.
2862
f3ce5b9c
UW
28632010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2864
2865 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2866
8e46892c
JK
28672010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2868
2869 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2870 (runto): Catch "The target does not support running in non-stop mode.".
2871
6cc55c64
MS
28722010-06-11 Michael Snyder <msnyder@vmware.com>
2873
2874 * gdb.base/setshow.exp (set language asm): Don't use
2875 gdb_test_no_output, fails on some targets.
2876
caddefa4
UW
28772010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2878
2879 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2880 * gdb.cp/pr9167.exp: Likewise.
2881
468b1aa7
UW
28822010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2883
2884 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2885
5c3552dc
UW
28862010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2887
2888 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2889
02e6fe6a
UW
28902010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2891
2892 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2893
0e03807e
TT
28942010-06-11 Tom Tromey <tromey@redhat.com>
2895
2896 PR gdb/9977, PR exp/11636::
2897 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2898 (pieces_test_f6): Update expected output.
2899
2bdf28a0
JK
29002010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2901
2902 * gdb.base/moribund-step.exp: New.
2903
f6978de9
MS
29042010-06-08 Michael Snyder <msnyder@vmware.com>
2905
2906 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 2907 * gdb.ada/boolean_expr.exp:
f6978de9
MS
2908 * gdb.ada/frame_args.exp: Ditto.
2909 * gdb.ada/lang_switch.exp: Ditto.
2910 * gdb.ada/ptype_arith_binop.exp: Ditto.
2911 * gdb.ada/ref_param.exp: Ditto.
2912 * gdb.ada/type_coercion.exp:Ditto.
2913
2914 * gdb.asm/asm-source.exp: Ditto.
2915
2916 * gdb.base/attach.exp: Ditto.
2917 * gdb.base/bitfields2.exp: Ditto.
2918 * gdb.base/call-signal-resume.exp: Ditto.
2919 * gdb.base/callfuncs.exp: Ditto.
2920 * gdb.base/commands.exp: Ditto.
2921 * gdb.base/dbx.exp: Ditto.
2922 * gdb.base/default.exp: Ditto.
2923 * gdb.base/dump.exp: Ditto.
2924 * gdb.base/exprs.exp: Ditto.
2925 * gdb.base/freebpcmd.exp: Ditto.
2926 * gdb.base/interrupt.exp: Ditto.
2927 * gdb.base/list.exp: Ditto.
2928 * gdb.base/long_long.exp: Ditto.
2929 * gdb.base/maint.exp: Ditto.
2930 * gdb.base/ptype.exp: Ditto.
2931 * gdb.base/return.exp: Ditto.
2932 * gdb.base/setshow.exp: Ditto.
2933 * gdb.base/sigbpt.exp: Ditto.
2934 * gdb.base/sigrepeat.exp: Ditto.
2935
2936 * gdb.cp/classes.exp: Ditto.
2937
2938 * gdb.dwarf2/dw2-restore.exp: Ditto.
2939
2940 * gdb.gdb/selftest.exp: Ditto.
2941
2942 * gdb.multi/base.exp: Ditto.
2943 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2944
2945 * gdb.python/py-block.exp: Ditto.
2946 * gdb.python/py-prettyprint.exp: Ditto.
2947 * gdb.python/py-template.exp: Ditto.
2948
2949 * gdb.server/ext-attach.exp: Ditto.
2950 * gdb.server/ext-run.exp: Ditto.
2951 * gdb.server/server-mon.exp: Ditto.
2952
2953 * gdb.threads/fork-thread-pending.exp: Ditto.
2954 * gdb.threads/hand-call-in-threads.exp: Ditto.
2955 * gdb.threads/interrupted-hand-call.exp: Ditto.
2956 * gdb.threads/linux-dp.exp: Ditto.
2957 * gdb.threads/manythreads.exp: Ditto.
2958 * gdb.threads/print-threads.exp: Ditto.
2959 * gdb.threads/pthreads.exp: Ditto.
2960 * gdb.threads/schedlock.exp: Ditto.
2961 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2962 * gdb.threads/threadapply.exp: Ditto.
2963
de7ff789
MS
29642010-06-08 Michael Snyder <msnyder@vmware.com>
2965
889bf7c5 2966 * gdb.ada/exec_changed.exp:
de7ff789
MS
2967 Use ".*" instead of "" as wildcard regexp.
2968
2969 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2970 * gdb.base/call-ar-st.exp: Ditto.
2971 * gdb.base/checkpoint.exp: Ditto.
2972 * gdb.base/default.exp: Ditto.
2973 * gdb.base/dump.exp: Ditto.
2974 * gdb.base/ending-run.exp: Ditto.
2975 * gdb.base/fileio.exp: Ditto.
2976 * gdb.base/miscexprs.exp: Ditto.
2977 * gdb.base/pointers.exp: Ditto.
2978 * gdb.base/readline.exp: Ditto.
2979 * gdb.base/reread.exp: Ditto.
2980 * gdb.base/restore.exp: Ditto.
2981 * gdb.base/shlib-call.exp: Ditto.
2982 * gdb.base/valgrind-db-attach.exp: Ditto.
2983 * gdb.base/volatile.exp: Ditto.
2984 * gdb.base/watchpoints.exp: Ditto.
2985
2986 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2987
2988 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2989 * gdb.python/py-value.exp: Ditto.
2990
2991 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2992 * gdb.trace/circ.exp: Ditto.
2993 * gdb.trace/collection.exp: Ditto.
2994 * gdb.trace/packetlen.exp: Ditto.
2995 * gdb.trace/passc-dyn.exp: Ditto.
2996 * gdb.trace/report.exp: Ditto.
2997 * gdb.trace/tfile.exp: Ditto.
2998 * gdb.trace/tfind.exp: Ditto.
2999 * gdb.trace/while-dyn.exp: Ditto.
3000
3bebe2f2
JK
30012010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3002
3003 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3004
5c631832
JK
30052010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3006
3007 Test PR 10640.
3008 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3009
4c3376c8
SW
30102010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3011
3012 * gdb.cp/koenig.exp: Test for ADL operators.
3013 * gdb.cp/koenig.cc: Added ADL operators.
3014 * gdb.cp/operator.exp: New test.
3015 * gdb.cp/operator.cc: New test.
3016
dc226d5a
MS
30172010-06-04 Michael Snyder <msnyder@vmware.com>
3018
dfb88a23
MS
3019 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3020 * gdb.base/pending.exp: Ditto.
f7ae76b3 3021
dc226d5a
MS
3022 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3023
967cf477
DE
30242010-06-04 Doug Evans <dje@google.com>
3025
3026 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3027 disabled printers.
3028 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3029 (enable_lookup_function): New function.
3030
eb801841
TT
30312010-06-04 Tom Tromey <tromey@redhat.com>
3032
3033 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3034 of hash and id.
3035
38979823
JK
30362010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3037
3038 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3039 newline.
3040 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3041 (empty verbose non-noisy clear, empty verbose noisy clear)
3042 (empty non-verbose noisy clear): Likewise.
3043
35ec993f
MS
30442010-06-03 Michael Snyder <msnyder@vmware.com>
3045
3046 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3047 * gdb.base/display.exp: Ditto.
3048 * gdb.base/find.exp: Ditto.
3049 * gdb.base/ifelse.exp: Ditto.
3050 * gdb.base/multi-forks.exp: Ditto.
3051 * gdb.base/recurse.exp: Ditto.
3052 * gdb.base/setshow.exp: Ditto.
3053 * gdb.base/value-double-free.exp: Ditto.
3054 * gdb.base/watch-vfork.exp: Ditto.
3055 * gdb.base/watch_thread_num.exp: Ditto.
3056 * gdb.base/watchpoint-solib.exp: Ditto.
3057 * gdb.base/watchpoint.exp: Ditto.
3058 * gdb.base/watchpoints.exp: Ditto.
3059
3060 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3061 * gdb.cp/overload.exp: Ditto.
3062 * gdb.cp/virtfunc.exp: Ditto.
3063
3064 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3065
889bf7c5 3066 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3067 Replace gdb_test with gdb_test_no_output.
3068
889bf7c5 3069 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3070 Replace gdb_test with gdb_test_no_output.
3071 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3072 * gdb.threads/watchthreads.exp: Ditto.
3073 * gdb.threads/watchthreads2.exp: Ditto.
3074
3075 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3076 * gdb.trace/tfind.exp: Ditto.
3077
c22decce
JB
30782010-06-03 Joel Brobecker <brobecker@adacore.com>
3079
3080 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3081 successful test if message is the empty string.
3082
fd5700c7
JK
30832010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3084
3085 * gdb.fortran/module.exp (stopped language detection): New test.
3086
f55ee35c
JK
30872010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3088
3089 Support DW_TAG_module as separate namespaces.
3090 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3091 gdb.fortran/library-module-lib.f90: New.
3092 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3093 (print i): Remove.
3094 (continue to breakpoint: i-is-1, print var_i value 1)
3095 (continue to breakpoint: i-is-2, print var_i value 2)
3096 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3097 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3098 (complete `modmany, complete `modmany`, complete `modmany`var)
3099 (show language, setting breakpoint at module): New tests.
3100 * gdb.fortran/module.f90 (module mod): Remove.
3101 (module mod1, module mod2, module modmany, subroutine sub1)
3102 (subroutine sub2, program module): New.
3103
b8e8282f
JK
31042010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3105
3106 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3107 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
3108 * gdb.cp/anon-union.exp (pass): Rename to ...
3109 (print z 2): ... here.
b8e8282f 3110
019ebafc
MS
31112010-06-02 Michael Snyder <msnyder@vmware.com>
3112
e68d8fd4
MS
3113 * gdb.trace/actions.exp: Use gdb_test_no_output.
3114 * gdb.trace/circ.exp: Ditto.
3115 * gdb.trace/packetlen.exp: Ditto.
3116 * gdb.trace/save-trace.exp: Ditto.
3117 * gdb.trace/tracecmd.exp: Ditto.
3118 * gdb.trace/tsv.exp: Ditto.
3119
12b5d08a
MS
3120 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3121 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3122 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3123 * gdb.threads/manythreads.exp: Ditto.
3124 * gdb.threads/print-threads.exp: Ditto.
3125 * gdb.threads/pthreads.exp: Ditto.
3126 * gdb.threads/schedlock.exp: Ditto.
3127 * gdb.threads/staticthreads.exp: Ditto.
3128 * gdb.threads/thread-specific.exp: Ditto.
3129 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3130 * gdb.threads/threadapply.exp: Ditto.
3131 * gdb.threads/watchthreads.exp: Ditto.
3132 * gdb.threads/watchthreads2.exp: Ditto.
3133
89493308
MS
3134 * gdb.python/py-block.exp: Use gdb_test_no_output.
3135 * gdb.python/py-prettyprint.exp: Ditto.
3136 * gdb.python/py-template.exp: Ditto.
3137 * gdb.python/py-value.exp: Ditto.
3138
3139 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3140 * gdb.reverse/watch-reverse.exp: Ditto.
3141
3142 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3143 * gdb.server/ext-run.exp: Ditto.
3144
019ebafc
MS
3145 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3146 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3147 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3148 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3149 * gdb.dwarf2/dw2-producer.exp: Ditto.
3150 * gdb.dwarf2/mac-fileno.exp: Ditto.
3151
3152 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3153 * gdb.gdb/selftest.exp: Ditto.
3154
3155 * gdb.multi/base.exp: Use gdb_test_no_output.
3156
3157 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3158
3e0ca3a5
JK
31592010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3160
3161 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3162
9db70545
MS
31632010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3164
a8d52276
MS
3165 * gdb.cp/class2.exp: Use gdb_test_no_output.
3166 * gdb.cp/classes.exp: Ditto.
3167 * gdb.cp/extern-c.exp: Ditto.
3168 * gdb.cp/inherit.exp: Ditto.
3169 * gdb.cp/maint.exp: Ditto.
3170 * gdb.cp/mb-inline.exp: Ditto.
3171 * gdb.cp/mb-templates.exp: Ditto.
3172 * gdb.cp/method2.exp: Ditto.
3173 * gdb.cp/misc.exp: Ditto.
3174 * gdb.cp/ovldbreak.exp: Ditto.
3175 * gdb.cp/punctuator.exp: Ditto.
3176 * gdb.cp/templates.exp: Ditto.
3177 * gdb.cp/virtbase.exp: Ditto.
3178
889bf7c5 3179 * gdb.threads/attach-stopped.exp:
9db70545 3180 Replace uses of send_gdb / gdb_expect.
889bf7c5 3181 * gdb.threads/attachstop-mt.exp:
9db70545 3182 Replace uses of send_gdb / gdb_expect.
889bf7c5 3183 * gdb.threads/gcore-thread.exp:
9db70545 3184 Replace uses of send_gdb / gdb_expect.
889bf7c5 3185 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
3186 Replace uses of send_gdb / gdb_expect.
3187 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3188 * gdb.threads/print-threads.exp:
9db70545
MS
3189 Replace uses of send_gdb / gdb_expect.
3190 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3191 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3192 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3193
3194 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3195 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3196 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3197 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3198 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3199 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3200 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3201 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3202 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3203 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3204 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3205
359cc68c
JK
32062010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3207
3208 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3209
7d3fe98e
SW
32102010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3211
3212 * gdb.cp/koenig.exp: Added new test case.
3213 * gdb.cp/koenig.cc: Ditto.
3214
27d3a1a2
MS
32152010-06-01 Michael Snyder <msnyder@vmware.com>
3216
3217 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3218 * gdb.base/arrayidx.exp: Ditto.
3219 * gdb.base/attach.exp: Ditto.
3220 * gdb.base/auxv.exp: Ditto.
3221 * gdb.base/bigcre.exp: Ditto.
3222 * gdb.base/break-always.exp: Ditto.
3223 * gdb.base/break-interp.exp: Ditto.
3224 * gdb.base/break.exp: Ditto.
3225 * gdb.base/breakpoint-shadow.exp: Ditto.
3226 * gdb.base/call-ar-st.exp: Ditto.
3227 * gdb.base/call-sc.exp: Ditto.
3228 * gdb.base/call-signal-resume.exp: Ditto.
3229 * gdb.base/callfuncs.exp: Ditto.
3230 * gdb.base/catch-syscall.exp: Ditto.
3231 * gdb.base/charset.exp: Ditto.
3232 * gdb.base/code-expr.exp: Ditto.
3233 * gdb.base/commands.exp: Ditto.
3234 * gdb.base/cond-expr.exp: Ditto.
3235 * gdb.base/condbreak.exp: Ditto.
3236 * gdb.base/cursal.exp: Ditto.
3237 * gdb.base/cvexpr.exp: Ditto.
3238 * gdb.base/default.exp: Ditto.
3239 * gdb.base/del.exp: Ditto.
3240 * gdb.base/detach.exp: Ditto.
3241 * gdb.base/display.exp: Ditto.
3242 * gdb.base/ena-dis-br.exp: Ditto.
3243 * gdb.base/eval-skip.exp: Ditto.
3244 * gdb.base/foll-fork.exp: Ditto.
3245 * gdb.base/foll-vfork.exp: Ditto.
3246 * gdb.base/frame-args.exp: Ditto.
3247 * gdb.base/funcargs.exp: Ditto.
3248 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3249 * gdb.base/gdbvars.exp: Ditto.
3250 * gdb.base/help.exp: Ditto.
3251 * gdb.base/ifelse.exp: Ditto.
3252 * gdb.base/included.exp: Ditto.
3253 * gdb.base/list.exp: Ditto.
3254 * gdb.base/macscp.exp: Ditto.
3255 * gdb.base/maint.exp: Ditto.
3256 * gdb.base/multi-fork.exp: Ditto.
3257 * gdb.base/overlays.exp: Ditto.
3258 * gdb.base/page.exp: Ditto.
3259 * gdb.base/pending.exp: Ditto.
3260 * gdb.base/pointers.exp: Ditto.
3261 * gdb.base/pr11022.exp: Ditto.
3262 * gdb.base/prelink.exp: Ditto.
3263 * gdb.base/printcmds.exp: Ditto.
3264 * gdb.base/psymtab.exp: Ditto.
3265 * gdb.base/randomize.exp: Ditto.
3266 * gdb.base/relational.exp: Ditto.
3267 * gdb.base/relocate.exp: Ditto.
3268 * gdb.base/remote.exp: Ditto.
3269 * gdb.base/sepdebug.exp: Ditto.
3270 * gdb.base/set-lang-auto.exp: Ditto.
3271 * gdb.base/setshow.exp: Ditto.
3272 * gdb.base/setvar.exp: Ditto.
3273 * gdb.base/signals.exp: Ditto.
3274 * gdb.base/signull.exp: Ditto.
3275 * gdb.base/sigstep.exp: Ditto.
3276 * gdb.base/sizeof.exp: Ditto.
3277 * gdb.base/solib-disc.exp: Ditto.
3278 * gdb.base/store.exp: Ditto.
3279 * gdb.base/structs.exp: Ditto.
3280 * gdb.base/structs2.exp: Ditto.
3281 * gdb.base/subst.exp: Ditto.
3282 * gdb.base/term.exp: Ditto.
3283 * gdb.base/trace-commands.exp: Ditto.
3284 * gdb.base/unwindonsignal.exp: Ditto.
3285 * gdb.base/valgrind-db-attach.exp: Ditto.
3286 * gdb.base/varargs.exp: Ditto.
3287 * gdb.base/watch-cond.exp: Ditto.
3288 * gdb.base/watch_thread_num.exp: Ditto.
3289 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3290 * gdb.base/watchpoint.exp: Ditto.
3291 * gdb.base/whatis-exp.exp: Ditto.
3292
f8d3bf8f
MS
32932010-06-01 Michael Snyder <msnyder@vmware.com>
3294
3295 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3296 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3297 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3298 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3299 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3300 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3301 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3302 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3303 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3304 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3305 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3306 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3307 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3308 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3309 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3310
3f9e0d32
JK
33112010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3312
3313 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3314 trailing newline.
3315 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3316 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3317 (p *args): ... here and remove excessive trailing newline.
3318
f629457d
JB
33192010-05-31 Joel Brobecker <brobecker@adacore.com>
3320
3321 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3322
09eef106
JK
33232010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3324
3325 Accept the new Linux kernel "t (tracing stop)" string.
3326 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3327 Update comment.
3328 (state_wait) <T (tracing stop)>: New.
3329 (main): Update the state_wait expect string.
3330
94f31136
PA
33312010-05-28 Pedro Alves <pedro@codesourcery.com>
3332
3333 * limits.c, limits.exp: Delete files.
3334 * Makefile.in (clean mostlyclean): Adjust.
3335 * tracecmd.exp: Adjust.
3336
096554ab
JK
33372010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3338
3339 * gdb.base/tui-layout.exp: New.
3340
27d3a1a2 33412010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 3342
889bf7c5 3343 * gdb.reverse/break-precsave.exp:
bcd2dc50 3344 Replace uses of send_gdb / gdb_expect.
889bf7c5 3345 * gdb.reverse/break-reverse.exp:
bcd2dc50 3346 Replace uses of send_gdb / gdb_expect.
889bf7c5 3347 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 3348 Replace uses of send_gdb / gdb_expect.
889bf7c5 3349 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 3350 Replace uses of send_gdb / gdb_expect.
889bf7c5 3351 * gdb.reverse/finish-precsave.exp:
bcd2dc50 3352 Replace uses of send_gdb / gdb_expect.
889bf7c5 3353 * gdb.reverse/finish-reverse.exp:
bcd2dc50 3354 Replace uses of send_gdb / gdb_expect.
889bf7c5 3355 * gdb.reverse/i386-precsave.exp:
bcd2dc50 3356 Replace uses of send_gdb / gdb_expect.
889bf7c5 3357 * gdb.reverse/i386-reverse.exp:
bcd2dc50 3358 Replace uses of send_gdb / gdb_expect.
889bf7c5 3359 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 3360 Replace uses of send_gdb / gdb_expect.
889bf7c5 3361 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 3362 Replace uses of send_gdb / gdb_expect.
889bf7c5 3363 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 3364 Replace uses of send_gdb / gdb_expect.
889bf7c5 3365 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 3366 Replace uses of send_gdb / gdb_expect.
889bf7c5 3367 * gdb.reverse/machinestate.exp:
bcd2dc50 3368 Replace uses of send_gdb / gdb_expect.
889bf7c5 3369 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 3370 Replace uses of send_gdb / gdb_expect.
889bf7c5 3371 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 3372 Replace uses of send_gdb / gdb_expect.
889bf7c5 3373 * gdb.reverse/solib-precsave.exp:
bcd2dc50 3374 Replace uses of send_gdb / gdb_expect.
889bf7c5 3375 * gdb.reverse/solib-reverse.exp:
bcd2dc50 3376 Replace uses of send_gdb / gdb_expect.
889bf7c5 3377 * gdb.reverse/step-precsave.exp:
bcd2dc50 3378 Replace uses of send_gdb / gdb_expect.
889bf7c5 3379 * gdb.reverse/step-reverse.exp:
bcd2dc50 3380 Replace uses of send_gdb / gdb_expect.
889bf7c5 3381 * gdb.reverse/until-precsave.exp:
bcd2dc50 3382 Replace uses of send_gdb / gdb_expect.
889bf7c5 3383 * gdb.reverse/until-reverse.exp:
bcd2dc50 3384 Replace uses of send_gdb / gdb_expect.
889bf7c5 3385 * gdb.reverse/watch-precsave.exp:
bcd2dc50 3386 Replace uses of send_gdb / gdb_expect.
889bf7c5 3387 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
3388 Replace uses of send_gdb / gdb_expect.
3389
3def43e0
JK
33902010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3391
3392 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3393 excessive newline.
3394
27d3a1a2 33952010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
3396
3397 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
3398 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3399 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3400 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3401 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3402 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3403 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3404 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3405 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3406 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3407 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3408 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3409 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3410 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3411 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3412 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3413 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3414 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3415 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 3416
27d3a1a2 34172010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 3418
22454424
MS
3419 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3420 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3421
3422 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3423 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3424 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3425
889bf7c5 3426 * gdb.reverse/consecutive-reverse.exp:
22454424 3427 Replace uses of send_gdb / gdb_expect.
889bf7c5 3428 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
3429 Replace uses of send_gdb / gdb_expect.
3430
3431 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3432 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3433 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3434 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
3435 Replace uses of send_gdb / gdb_expect.
3436 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3437 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3438 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3439 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3440 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3441 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3442 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3443 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3444 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
3445
34462010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 3447
22454424 3448 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3449
22454424 3450 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3451
22454424
MS
3452 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3453 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3454 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3455 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3456 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3457 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3458 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3459 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3460 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3461
6e5f2c59
TT
34622010-05-25 Tom Tromey <tromey@redhat.com>
3463
3464 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3465
bbc8b958
TT
34662010-05-25 Tom Tromey <tromey@redhat.com>
3467
3468 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3469 argument order.
3470 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3471 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3472 order.
3473 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3474 order.
3475 * gdb.base/call-sc.exp (setup_kfails): Remove.
3476 (setup_compiler_kfails): Remove.
3477 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3478 argument order.
3479 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3480 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3481 (advancei): Fix setup_kfail argument order.
3482 * gdb.base/radix.exp: Fix setup_kfail argument order.
3483 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3484 order.
3485 * gdb.base/structs.exp (setup_kfails): Remove.
3486 (setup_compiler_kfails): Fix setup_kfail argument order.
3487 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3488 order.
3489 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3490 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3491 setup_kfail argument order.
3492 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3493
83d1babf
TT
34942010-05-25 Tom Tromey <tromey@redhat.com>
3495
3496 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3497
6acb16a2
MS
34982010-05-25 Michael Snyder <msnyder@vmware.com>
3499
3500 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3501 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3502 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3503 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3504 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3505 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3506 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3507 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3508 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
3509 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3510 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3511 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3512 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3513 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3514 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3515 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3516 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3517 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3518 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3519 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3520 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3521 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3522 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
3523 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3524 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3525 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3526 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3527 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3528 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3529 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3530 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3531 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3532 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3533 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3534 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3535 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3536 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3537 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3538 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3539 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3540 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3541 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3542 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3543 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3544 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3545 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3546 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 3547 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3548
35492010-05-25 Doug Evans <dje@google.com>
3550
3551 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3552 gdb.string_to_argv.
ad3986f0 3553
d3b1e874
TT
35542010-05-21 Tom Tromey <tromey@redhat.com>
3555
3556 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3557 Call it.
3558 * gdb.dwarf2/pieces.S: Update.
3559 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3560
cb826367
TT
35612010-05-21 Tom Tromey <tromey@redhat.com>
3562
3563 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3564 Call it.
3565 * gdb.dwarf2/pieces.c (struct C): New.
3566 (f6): New function.
3567 * gdb.dwarf2/pieces.S: Replace.
3568
74de6778
TT
35692010-05-21 Tom Tromey <tromey@redhat.com>
3570
3571 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3572 Call it.
3573
afd74c5f
TT
35742010-05-21 Tom Tromey <tromey@redhat.com>
3575
3576 * gdb.dwarf2.pieces.exp: New file.
3577 * gdb.dwarf2.pieces.S: New file.
3578 * gdb.dwarf2.pieces.c: New file.
3579
a7b75dfd 35802010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 3581 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
3582
3583 * lib/gdb.exp (gdb_test_no_output): New function.
3584 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3585 when testing commands that should produce no output.
3586
c81c812a
JB
35872010-05-17 Joel Brobecker <brobecker@adacore.com>
3588
3589 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3590 parameter that we want to watch being a constant.
3591
0cce5bd9
JB
35922010-05-17 Joel Brobecker <brobecker@adacore.com>
3593
3594 * gdb.ada/cond_lang: New testcase.
3595
47050449
JB
35962010-05-17 Joel Brobecker <brobecker@adacore.com>
3597
3598 * lib/gdb.exp (banned_variables): New variable/constant.
3599 (gdb_init): Add write trace on variables listed in banned_variables.
3600 (gdb_finish): Remove write traces on variables listed in
3601 banned_variables.
3602
77c01586
JB
36032010-05-17 Joel Brobecker <brobecker@adacore.com>
3604
3605 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3606 * gdb.cp/koenig.exp: Likewise.
3607
88d4aea7
PM
36082010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3609
889bf7c5 3610 PR python/11482
88d4aea7
PM
3611
3612 * gdb.python/py-value.exp (test_value_hash): New function.
3613
f5a010c0
PM
36142010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3615
3616 PR exp/11530.
3617 * gdb.base/gdb11530.c: New file.
3618 * gdb.base/gdb11530.exp: New file.
3619
8ef4892f
JK
36202010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3621
3622 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3623 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3624
7322dca9
SW
36252010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3626
3627 * gdb.cp/koenig.exp: New test.
3628 * gdb.cp/koenig.cc: New test program.
3629
02e7ea18
JB
36302010-05-05 Joel Brobecker <brobecker@adacore.com>
3631
3632 Remove the use of prms_id and bug_id throughout the testsuite.
3633
e1c34c5d
PM
36342010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3635
3636 PR exp/11349.
3637 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3638 use a reference local variable.
3639
8e1d0c49
JK
36402010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3641
3642 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3643 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3644 variable different_dir. Move debugfile into a full directory pathname
3645 under DIFFERENT_DIR.
3646 * lib/gdb.exp (separate_debug_filename): Remove.
3647 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3648 variable debug_dir and mkdir of it. Update function comments.
3649
e66408ed
PA
36502010-04-29 Pedro Alves <pedro@codesourcery.com>
3651
3652 PR gdb/11557
3653
3654 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3655 files.
3656
d7b32ed3
PM
36572010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3658
889bf7c5 3659 * gdb.python/py-param.exp: New File.
d7b32ed3 3660
6aecb9c2
JB
36612010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3662
3663 * gdb.base/default.exp: Fix "set language" test.
3664
bdf92a1c
PM
36652010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3666
3667 PR breakpoints/11531.
3668 * gdb.base/gdb11531.c: New file.
3669 * gdb.base/gdb11531.exp: New file.
3670
3f172e24
TT
36712010-04-26 Tom Tromey <tromey@redhat.com>
3672
3673 * gdb.base/completion.exp: Add tests for completion and deprecated
3674 commands.
3675
64af4c92
JK
36762010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3677
3678 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3679 (print /x char_array): Escape curly brackets.
3680
492928e4
JK
36812010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3682
3683 Fix deadlock on looped list of loaded shared objects.
3684 * gdb.base/solib-corrupted.exp: New.
3685
66d09542
DE
36862010-04-23 Doug Evans <dje@google.com>
3687
3688 * gdb.python/py-section-script.c: New file.
3689 * gdb.python/py-section-script.exp: New file.
3690 * gdb.python/py-section-script.py: New file.
3691
8bd10a10
CM
36922010-04-20 Chris Moller <cmoller@redhat.com>
3693
3694 PR 10179
3695
3696 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3697 * gdb.base/pr10179-a.c:
3698 * gdb.base/pr10179-b.c:
3699 * gdb.base/pr10179.exp: New files.
3700
c0201579
JK
37012010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3702
3703 Fix crashes on dangling display expressions.
3704 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3705 is SEP.
3706 (lib_flags): Remove the "debug" keyword.
3707 (libsepdebug): New variable for iterating new loop.
3708 (save_pf_prefix): New variable wrapping the loop.
3709 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3710 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3711
793b0ff8
PM
37122010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3713
3714 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3715
097f51f7
PM
37162010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3717
3718 PR stabs/11479.
3719 * gdb.stabs/gdb11479.exp: New file.
3720 * gdb.stabs/gdb11479.c: New file.
3721
9a22f0d0
PM
37222010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3723
3724 * gdb.base/charset.c (Strin16, String32): New variables.
3725 * gdb.base/charset.exp (gdb_test): Test correct display
3726 of 16 or 32 bit strings.
3727
37282010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
3729
3730 PR 9167
3731 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3732 * gdb.cp/pr9167.cc: New file.
3733 * gdb.cp/pr9167.exp: New file.
3734
3735
6e354e5e
PM
37362010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3737
3738 PR pascal/11492.
3739 * gdb.pascal/gdb11492.pas: New file.
3740 * gdb.pascal/gdb11492.exp: New file.
3741
be942545
JB
37422010-04-20 Joel Brobecker <brobecker@adacore.com>
3743
1667e6e3 3744 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 3745
0c3acc09
JB
37462010-04-20 Joel Brobecker <brobecker@adacore.com>
3747
3748 * gdb.ada/dyn_loc: New testcase.
3749
ec31cde5
CM
37502010-04-20 Chris Moller <cmoller@redhat.com>
3751
3752 PR 10867
889bf7c5 3753
ec31cde5
CM
3754 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3755 * gdb.cp/pr10687.cc: New file.
3756 * gdb.cp/pr10687.exp: New file.
3757
3758
ce4b0682
SDJ
37592010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3760 Sergio Durigan Junior <sergiodj@redhat.com>
3761
3762 * gdb.fortran/logical.exp: New testcase.
3763 * gdb.fortran/logical.f90: New file.
3764
3436961f
DE
37652010-04-19 Doug Evans <dje@google.com>
3766
3767 * gdb.base/help.exp (help source): Update expected output.
3768
4d836c09
JK
37692010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3770
3771 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3772 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3773 gdb_exit and return.
3774 (executable): New variable.
3775 (binfile): Use it.
3776
6149aea9
PA
37772010-04-19 Pedro Alves <pedro@codesourcery.com>
3778
3779 PR breakpoints/8554.
3780
3781 * gdb.trace/save-trace.exp: Adjust.
3782
ed41462c
L
37832010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3784
3785 PR corefiles/11511
3786 * gdb.arch/system-gcore.exp: New.
3787 * gdb.arch/gcore.c: Likewise.
3788
3f7b2faa
DE
37892010-04-15 Doug Evans <dje@google.com>
3790
fa33c3cd
DE
3791 * gdb.python/py-progspace.c: New file.
3792 * gdb.python/py-progspace.exp: New file.
3793
3f7b2faa
DE
3794 * gdb.base/source.exp: Add tests for "source -s".
3795
79f283fe
PM
37962010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3797
3798 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3799 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3800 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3801 * gdb.python/py-mi.exp: New test for to_string returning None.
3802
fc8eb08a
PM
38032010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3804
3805 * gdb.python/py-breakpoint.c: Make result global.
3806
26e197f6
JK
38072010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3808
3809 Fix non-GNU make compatibility.
3810 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3811
adc36818
PM
38122010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3813
3814 * gdb.python/py-breakpoint.exp: New File.
3815 * gdb.python/py-breakpoint.C: Ditto.
3816
64e17368
SS
38172010-04-08 Stan Shebs <stan@codesourcery.com>
3818
3819 * gdb.trace/actions.exp: Clear default-collect.
3820 * gdb.trace/save-trace.exp: Clear default-collect.
3821
fff5cc64
PM
38222010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3823
3824 * gdb.python/py-value: Add null string variable.
3825 (test_lazy_string): Test zero length, NULL address lazy
3826 strings.
3827
a055a187
L
38282010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3829
3830 * gdb.arch/i386-avx.c: New.
3831 * gdb.arch/i386-avx.exp: Likewise.
3832
3833 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3834
96e39866
DE
38352010-04-06 Doug Evans <dje@google.com>
3836
3837 * gdb.base/source-test.gdb: New file.
3838 * gdb.base/source.exp: Test source -v.
3839
5984a431
UW
38402010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3841
3842 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3843
ec8a089a
PM
38442010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3845
3846 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3847 within one line, unless it is followed by a double quote.
3848 * gdb.stabs/hppa.sed: Idem.
3849 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
3850 * gdb.stabs/weird.exp: Check for correct parsing of
3851 char and string constants.
ec8a089a
PM
3852 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3853 in .stabs to .stabx substitution.
3854
fce3c1f0
SS
38552010-04-05 Stan Shebs <stan@codesourcery.com>
3856
3857 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3858 constant global.
3859 * gdb.trace/tfile.exp: Try to print them.
3860
d77f58be
SS
38612010-04-04 Stan Shebs <stan@codesourcery.com>
3862
3863 * gdb.base/completion.exp: Update for new "info watchpoints".
3864 * gdb.base/default.exp: Ditto.
3865 * gdb.base/help.exp: Ditto.
3866 * gdb.base/watchpoint.exp: Ditto.
3867 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 3868
af54718e
SS
38692010-04-04 Stan Shebs <stan@codesourcery.com>
3870
3871 * gdb.trace/tfile.exp: Sharpen tfind test.
3872
74d1f91e
JK
38732010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3874
3875 * gdb.base/break-entry.exp: New.
3876
eb8e76db 38772010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 3878 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
3879
3880 * gdb.reverse/i386-sse-reverse.exp: New file.
3881 * gdb.reverse/i386-sse-reverse.c: New file.
3882
bf65cad8
PA
38832010-04-02 Pedro Alves <pedro@codesourcery.com>
3884
3885 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3886
fff87407
SS
38872010-04-01 Stan Shebs <stan@codesourcery.com>
3888
3889 * gdb.trace/actions.exp: Tweak expected output.
3890 * gdb.trace/while-stepping.exp: Tweak expected output.
3891
fe01d668
L
38922010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3895
86b17b60
PA
38962010-04-01 Pedro Alves <pedro@codesourcery.com>
3897
3898 * gdb.base/commands.exp: Adjust.
3899 * gdb.cp/extern-c.exp: Adjust.
3900
2c58c0a9
PA
39012010-04-01 Pedro Alves <pedro@codesourcery.com>
3902
3903 * gdb.trace/collection.c (local_test_func): Define a local struct,
3904 and instanciate it.
3905
0db9b91c
PA
39062010-04-01 Pedro Alves <pedro@codesourcery.com>
3907
3908 * gdb.trace/collection.exp (gdb_collect_args_test)
3909 (gdb_collect_argarray_test): XFAIL the tests that assume the
3910 argarray argument's elements are collected.
3911
8072405b
JK
39122010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3913
3914 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3915 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3916
8bf6485c
SS
39172010-03-31 Stan Shebs <stan@codesourcery.com>
3918
3919 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3920 and tracepoint conditionals.
3921 (gdb_verify_tracepoints): Delete unused return.
3922
fd7f724a
KS
39232010-03-26 Keith Seitz <keiths@redhat.com>
3924
3925 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3926 appear in the output before main.
3927 Remove KFAIL for gdb/2215 aka bz 9320.
3928
8d9e7719
DE
39292010-03-30 Doug Evans <dje@google.com>
3930
0906dd0b
DE
3931 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3932 by dejagnu.
3933 * gdb.arch/amd64-dword.exp: Ditto.
3934
8d9e7719
DE
3935 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3936 match.
3937 (break printf): Ditto.
3938
1da644f0
SW
39392010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3940
3941 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3942 gcc < 4.4.
3943 * gdb.cp/shadow.exp: Ditto.
3944
a8121990
PA
39452010-03-29 Pedro Alves <pedro@codesourcery.com>
3946
3947 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3948 "tstart" is silent.
3949
6e79d367
PA
39502010-03-29 Pedro Alves <pedro@codesourcery.com>
3951
3952 * gdb.trace/collection.exp (executable): New.
3953 (binfile): Use it.
3954 (fpreg, spreg, pcreg): New.
3955 (test_register): Use gdb_test_multiple. Pass /x to print.
3956 (prepare_for_trace_test): New.
3957 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3958 (gdb_collect_args_test, gdb_collect_argstruct_test)
3959 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3960 prepare_for_trace_test.
3961 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3962 fpreg, spreg and pcreg.
3963 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3964 prepare_for_trace_test.
3965 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3966 try to detect tracing support here. Don't set breakpoints at
3967 `begin' or `end' here.
3968 <global scope>: Use clean_restart. Run to main before checking
3969 for tracing support. Check for for tracing support here.
3970
09248348
JK
39712010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3972
3973 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3974 " as $displacement" to "seen displacement message".
3975
d350db38
PA
39762010-03-28 Pedro Alves <pedro@codesourcery.com>
3977
3978 * gdb.trace/while-dyn.exp (executable): New variable.
3979 (binfile): Use it.
3980 (test_while_stepping): New function. Move most tests here. Call
3981 it once for each of the while-stepping, stepping and ws aliases.
3982
907af001
UW
39832010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3984
3985 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3986 that do not provide the tagless_struct type name at all.
3987 (test_print_anon_union): Do not check value of uninitialized
3988 union member. Do not use cp_test_ptype_class, so we can accept
3989 "long" as well as "long int".
3990
610197fd
PA
39912010-03-26 Pedro Alves <pedro@codesourcery.com>
3992
3993 * gdb.trace/tfile.c (tohex, bin2hex): New.
3994 (write_error_trace_file): Hexify error description.
3995
6c28cbf2
SS
39962010-03-25 Stan Shebs <stan@codesourcery.com>
3997
3998 * gdb.trace/tfile.c: Generate an additional trace file, improve
3999 portability.
4000 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4001 files in a better way.
4002
e62b8c7e
KS
40032010-03-25 Keith Seitz <keiths@redhat.com>
4004
4005 * gdb.java/jprint.exp: XFAIL printing of static class members
4006 because of GCC debuginfo problem.
4007
82ccf5a5
JK
40082010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4009
4010 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4011
293e2f9e
DJ
40122010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4013
4014 * gdb.base/completion.exp: Allow long instead of long int.
4015 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4016 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4017 variable p.
4018 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4019 * gdb.base/pointers.exp: Allow long instead of long int.
4020 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4021 * gdb.base/step-line.exp: Allow a directory before the source file name.
4022
95a42b64
TT
40232010-03-24 Tom Tromey <tromey@redhat.com>
4024
4025 PR breakpoints/9352:
4026 * gdb.base/default.exp: Update.
4027 * gdb.base/commands.exp: Update.
4028 * gdb.cp/extern-c.exp: Test setting commands on multiple
4029 breakpoints at once.
4030
2390201f
DJ
40312010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4032
4033 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4034 if gdb,nosignals.
4035 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4036 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4037 exited".
4038
8c9a6790
SS
40392010-03-24 Stan Shebs <stan@codesourcery.com>
4040
4041 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4042
a6c727b2
DJ
40432010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4044
4045 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4046 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4047 argument. Handle "short" and "long".
4048 (Top level): Pass overprototyped output for old_fptr and xptr.
4049
4dfd5423
PA
40502010-03-23 Pedro Alves <pedro@codesourcery.com>
4051
4052 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4053 format strings and add casts to avoid compiler warnings.
4054
40552010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4056
4057 * lib/trace-support.exp (gdb_trace_setactions):
4058 Don't expect whitespace after ">" prompt.
4059 * gdb.trace/actions.exp: Adjust for output changes.
4060 * gdb.trace/while-stepping.exp: Likewise.
4061
c847d045
JK
40622010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4063
4064 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4065 and r157645).
4066
5f717f1d
JK
40672010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4068
4069 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4070 New.
4071
7d6d51d5
DJ
40722010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4073
4074 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4075 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4076
3b11a015
SS
40772010-03-19 Stan Shebs <stan@codesourcery.com>
4078
4079 * gdb.trace/ax.exp: New file.
4080
d7d158ed
DE
40812010-03-19 Doug Evans <dje@google.com>
4082
6bb85cd1
DE
4083 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4084 output from gcc.
4085
d7d158ed
DE
4086 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4087 named /usr/sbin/prelink<foo>.
4088
4daf5ac0
SS
40892010-03-18 Stan Shebs <stan@codesourcery.com>
4090
4091 * gdb.trace/circ.exp: Test circular-trace-buffer.
4092 * gdb.trace/tfile.exp: Update tstatus test.
4093
e8d05480
JB
40942010-03-18 Joel Brobecker <brobecker@adacore.com>
4095
4096 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4097 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4098
441b986a
UW
40992010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4100
4101 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4102
4247603b
PA
41032010-03-18 Pedro Alves <pedro@codesourcery.com>
4104
4105 * gdb.base/default.exp: Adjust the expected output of the finish
4106 and until commands when the inferior is not being run.
4107
13387711
SW
41082010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4109
4110 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4111 * gdb.cp/nsusing.exp: Ditto.
4112
6e31430b
TT
41132010-03-15 Tom Tromey <tromey@redhat.com>
4114
4115 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4116 * gdb.cp/userdef.cc (operator==): New function.
4117 (main): New locals mem1, mem2.
4118
e2d69cb5
JZ
41192010-03-15 Jie Zhang <jie@codesourcery.com>
4120
4121 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4122 Declare and use new loadtimeout variable.
4123
f572f0a9
DJ
41242010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4125
4126 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4127 Use gdb_load later.
4128
51f4c0b0
PA
41292010-03-14 Pedro Alves <pedro@codesourcery.com>
4130
4131 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4132 literal. Add missing endlines to prints to stderr.
4133
1c809c68
TT
41342010-03-12 Tom Tromey <tromey@redhat.com>
4135
4136 PR c++/9708:
4137 * gdb.cp/m-static.exp: Add regression test.
4138 * gdb.cp/m-static.cc (method): New method.
4139 (main): Call it.
4140
00ae8fef
SW
41412010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4142
4143 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4144 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4145
759f0f0b
PA
41462010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4147
21e24d21
PA
4148 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4149
41502010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4151
759f0f0b
PA
4152 * lib/gdb.exp (skip_stl_tests): New.
4153 (gdb_compile): Symbian needs -ldl.
4154 (shlib_target_file): New.
4155 (shlib_symbol_file): New.
4156 (gdb_load_shlibs): Use shlib_target_file.
4157 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4158 * gdb.cp/exception.exp: Use skip_stl_tests.
4159 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4160 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4161 * gdb.cp/mb-templates.exp: Ditto.
4162 * gdb.base/commands.exp: Relax regexes.
4163 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4164 shlib_target_file and shlib_symbol_file.
4165 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4166 sections.
4167 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4168 * gdb.base/solib-disc.exp: Use
4169 shlib_target_file and shlib_symbol_file.
4170 * gdb.base/unload.exp: Don't skip on symbian. Use
4171 shlib_target_file and shlib_symbol_file.
4172 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4173
6a8f2671 41742010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4175
6a8f2671
PA
4176 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4177 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4178 Issue a tfind end before looking for a tracepoint frame.
4179 * gdb.trace/tfind.exp: Adjust tstatus output.
4180 Adjust disassembly output.
4181 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4182
ccf26247
JK
41832010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4184
4185 * gdb.base/break-interp.exp: Create new displacement parameter value
4186 for the test_ld calls.
4187 (reach): New parameter displacement, verify its content. New push of
4188 pf_prefix "reach-$func:". Import global expect_out.
4189 (test_core): New parameter displacement, verify its content. New push
4190 of pf_prefix "core:". New command "set verbose on". Import global
4191 expect_out.
4192 (test_attach): New parameter displacement, verify its content. New
4193 push of pf_prefix "attach:". New command "set verbose on". Import
4194 global expect_out.
4195 (test_ld): New parameter displacement, pass it to the reach, test_core
4196 and test_attach calls and verify its content in the "ld.so exit" test.
4197 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4198 (prelink): Update expected text, use gdb_test.
4199
e469c7fb
DE
42002010-03-10 Doug Evans <dje@google.com>
4201
4202 * gdb.base/checkpoint.exp: Fix comment.
4203 Lengthen timeout while doing >600 checkpoints test.
4204 Rename duplicate "kill all one" test to keep test names unique.
4205
60e1c644
PA
42062010-03-10 Pedro Alves <pedro@codesourcery.com>
4207
4208 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4209
cec808ec
KS
42102010-03-08 Keith Seitz <keiths@redhat.com>
4211
889bf7c5
PA
4212 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4213 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4214 (dm_type_long): New function.
4215 (dm_type_unsigned_short): New function.
4216 (dm_type_unsigned_long): New function.
4217 (myint): New typedef.
4218 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4219 long, unsigned shor and long, operator char*, and typedef.
4220 (test_lookup_operator_functions): Add operator char* test.
4221 (test_paddr_operator_functions): Likewise.
4222 (test_paddr_overloaded_functions): Use probe values for
4223 short, long, and unsigned short and long.
4224 (test_paddr_hairy_functions): If the demangler probe detected
4225 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4226 demangler.
4227 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4228 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4229 and "print null_pmf".
4230 Add test "ptype a.*pmf".
4231 * gdb.cp/overload.exp: Allow optional "int" to appear with
4232 "short" and "long".
4233 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4234 long expect value for men_overload1arg.
4235 Allow "int" to appear with "short" and "long".
4236 When testing "info break", add argument for main (void).
4237 Also allow "int" to appear with "short" and "long".
4238 Ditto with "unsigned" and "long long".
cec808ec
KS
4239 * gdb.java/jmain.exp: Do not enclose methods names in single
4240 quotes.
4241 * gdb.java/jmisc.exp: Likewise.
4242 * gdb.java/jprint.exp: Likewise.
4243 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4244
4245 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4246 * gdb.cp/exception.exp (backtrace after first throw)
4247 (backtrace after second throw): Allow a namespace before __cxa_throw.
4248 (backtrace after first catch, backtrace after second catch): Allow
4249 a namespace before __cxa_begin_catch.
4250
4251 * gdb.cp/cpexprs.exp: New file.
4252 * gdb.cp/cpexprs.cc: New file.
4253
4254 From Daniel Jacobowitz <dan@codesourcery.com>
4255 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4256 to use string_to_regexp.
4257 (ctor, dtor): New functions. Use them to match constructor
4258 and destructor function types.
4259 (Top level): Use runto_main.
4260
f870a310
TT
42612010-03-05 Tom Tromey <tromey@redhat.com>
4262
4263 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4264 gdb.target_charset.
4265 (pp_ns.to_string): Likewise.
4266
0c199f28
KS
42672010-03-04 Keith Seitz <keiths@redhat.com>
4268
4269 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4270 can be quoted. Test that both the filename and function/line
4271 portions can be quoted at the same time.
4272
c7437ca6
PA
42732010-03-04 Pedro Alves <pedro@codesourcery.com>
4274
4275 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4276
b111b805
DE
42772010-03-03 Doug Evans <dje@google.com>
4278
24486cb7
DE
4279 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4280 libc contains libpthread.
4281
b111b805
DE
4282 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4283 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4284 of gdb_compile. Add another pattern to match android backtrace.
4285
a0e0ef55
TT
42862010-03-03 Tom Tromey <tromey@redhat.com>
4287
4288 PR gdb/11345:
4289 * gdb.base/printcmds.exp (test_printf): Add test.
4290
1ba53b71
L
42912010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4292
4293 * gdb.arch/amd64-byte.exp: New.
4294 * gdb.arch/amd64-dword.exp: Likewise.
4295 * gdb.arch/amd64-pseudo.c: Likewise.
4296 * gdb.arch/amd64-word.exp: Likewise.
4297 * gdb.arch/i386-byte.exp: Likewise.
4298 * gdb.arch/i386-pseudo.c: Likewise.
4299 * gdb.arch/i386-word.exp: Likewise.
4300
f5dff777
DJ
43012010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4302
4303 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4304 types. Add structreg, bitfields, and flags registers.
4305 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4306 registers.
4307
90884b2b
L
43082010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4309
4310 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4311 (load_description): Set architecture if defined.
4312
dc00d89f
PM
43132010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4314
4315 * gdb.python/py-frame.exp: Add read_var block tests.
4316 * gdb.python/py-frame.c (block): New function.
4317
0e095b7e
JK
43182010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4319 Daniel Jacobowitz <dan@codesourcery.com>
4320
4321 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4322
624f1a65
DM
43232010-02-25 David S. Miller <davem@davemloft.net>
4324
4325 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4326 fix logic for setting all_syscalls_numbers.
4327
f3e9a817
PM
43282010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4329
4330 * Makefile.in: Add py-block and py-symbol.
4331 * gdb.python/py-symbol.exp: New File.
4332 * gdb.python/py-symtab.exp: New File.
4333 * gdb.python/py-block.exp: New File.
4334 * gdb.python/py-symbol.c: New File.
4335 * gdb.python/py-block.c: New File.
4336
f6bbabf0
PM
43372010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4338
4339 PR python/11314
4340 * lib/gdb.exp (skip_python_tests): New function.
4341 * gdb.python/py-cmd.exp: Use skip_python_tests.
4342 * gdb.python/py-frame.exp: Likewise.
4343 * gdb.python/py-function.exp: Likewise.
4344 * gdb.python/py-prettyprint.exp: Likewise.
4345 * gdb.python/py-template.exp: Likewise.
4346 * gdb.python/py-type.exp: Likewise.
4347 * gdb.python/py-value.exp: Likewise.
4348
85d721b8
PA
43492010-02-22 Pedro Alves <pedro@codesourcery.com>
4350
4351 PR9605
4352
4353 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4354
48e32051
TT
43552010-02-19 Tom Tromey <tromey@redhat.com>
4356
4357 PR c++/8693, PR c++/9496:
4358 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4359 regression tests.
4360
ac9c0048
JK
43612010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4362
4363 Fix compatibility with m68k as.
4364 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4365 Use only /* comments */.
4366
57bb97a4
UW
43672010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4368
4369 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4370 * configure: Regenerate.
4371
7d1bf85c
DJ
43722010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4373
4374 * gdb.python/py-type.exp: Check for Python support.
4375
061b5285
PA
43762010-02-17 Pedro Alves <pedro@codesourcery.com>
4377
4378 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4379 `regsub' syntax available.
4380
f8a8bc2c
PA
43812010-02-17 Pedro Alves <pedro@codesourcery.com>
4382
4383 * gdb.base/shmain.c (main): Remove printf call.
4384 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4385 * gdb.base/unload.c (main): Make format of fprintf a string
4386 literal. Add missing endlines to prints to stderr.
4387 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4388
6f451e5e
TT
43892010-02-17 Tom Tromey <tromey@redhat.com>
4390
4391 * gdb.java/jprint.java (jprint.props): New field.
4392 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4393
12d79008
PA
43942010-02-17 Pedro Alves <pedro@codesourcery.com>
4395
ef801a0e 4396 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
4397 available.
4398
d252f7e5
DJ
43992010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4400
4401 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4402 creation to support remote host testing.
4403
67bdab6c
DJ
44042010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4405
4406 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4407 Recognize "command not found".
4408
bb391223
DJ
44092010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4410
4411 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4412 single-stepping.
4413
70362913
DJ
44142010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4415
4416 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4417 if arguments are not supported.
4418
493f3c00
DJ
44192010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4420
4421 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4422 be const or non-const.
4423
8034c749
DJ
44242010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4425
4426 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4427 mi_send_resuming_command to send -exec-continue.
4428
791dfb64
DJ
44292010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4430
4431 * gdb.base/list.exp (test_list_filename_and_function): Add test
4432 with single quotes.
4433 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4434 matching.
4435 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4436 Add KFAIL'd tests for PR gdb/11289.
4437
7c5fe868
DJ
44382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4439
4440 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4441
fdc498b8
DJ
44422010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4443
4444 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4445 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4446 a temporary directory.
4447
b519e2a6
DJ
44482010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4449
4450 * gdb.base/charset.exp: Use a single regular expression to match
4451 show host-charset and show target-charset output.
4452
74164c56
JK
44532010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4454
4455 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4456 "Illegal process-id" expect string more exact.
4457 (attach to digits-starting nonsense is prohibited): New.
4458
701ed6dc
JK
44592010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4460
4461 * gdb.base/prelink.exp (set verbose on): New.
4462
889bf7c5 44632010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
4464
4465 * mi-reverse.exp: New file. Test for reverse option to the
4466 following MI commands: exec-continue, exec-finish, exec-next,
4467 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 4468
dadf0e9c
JB
44692010-02-09 Joel Brobecker <brobecker@adacore.com>
4470
4471 * gdb.ada/ptype_tagged_param: New testcase.
4472
714f19d5
TT
44732010-02-08 Tom Tromey <tromey@redhat.com>
4474
4475 PR c++/8017:
4476 * gdb.cp/overload.exp: Add tests.
4477 * gdb.cp/overload.cc (struct K): New.
4478 (namespace N): New.
4479 (main): Call new functions.
4480 (K::staticoverload): Define.
4481
889bf7c5 44822010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
4483
4484 PR gdb/10728
4485 * gdb.cp/pr10728-x.h: New file.
4486 * gdb.cp/pr10728-x.cc: New file.
4487 * gdb.cp/pr10728-y.cc: New file.
4488 * gdb.cp/pr10728.exp: New file.
4489 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4490
889bf7c5 44912010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
4492
4493 PR gdb/9067
4494 * gdb.cp/pr9067.exp: New
4495 * gdb.cp/pr9067.cc: New
4496 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4497
7b356089
JB
44982010-02-08 Joel Brobecker <brobecker@adacore.com>
4499
4500 * lib/gdb.exp (gdb_test_timeout): New global variable.
4501 Set it to timeout if not already set.
4502 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4503
1be00882
DE
45042010-02-05 Doug Evans <dje@google.com>
4505
4506 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4507 user.
4508
82856980
SW
45092010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4510
4511 PR c++/7935:
4512 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4513
1a334831
TT
45142010-02-04 Tom Tromey <tromey@redhat.com>
4515
4516 * gdb.cp/virtbase.exp: Make test case names unique.
4517
9c3c02fd
TT
45182010-02-02 Tom Tromey <tromey@redhat.com>
4519
4520 * gdb.cp/virtbase.exp: Add regression tests.
4521 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4522 (main): Instantiate RHC.
4523
0cc2414c
TT
45242010-02-02 Tom Tromey <tromey@redhat.com>
4525
4526 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4527 type-printing change.
4528
edf3d5f3
TT
45292010-02-02 Tom Tromey <tromey@redhat.com>
4530
4531 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4532 * gdb.cp/virtbase.cc: New file.
4533 * gdb.cp/virtbase.exp: New file.
4534 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4535
e4b7f41c
JK
45362010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4537
4538 PR libc/11214:
4539 * gdb.threads/current-lwp-dead.c: Include features.h.
4540 (HAS_NOMMU): New.
4541 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4542
b381ea14
JK
45432010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 * gdb.base/symbol-without-target_section.exp,
4546 gdb.base/symbol-without-target_section.c: New.
4547
c593ac0e
DJ
45482010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4549
4550 * gdb.base/bigcore.exp: Reset increased timeout.
4551 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4552
db25f29d
DJ
45532010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4554
4555 * gdb.base/gcore.exp (capture_command_output): Use
4556 gdb_test_multiple.
4557
f9d67f43
DJ
45582010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4559
4560 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4561 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4562 (Top level): Call it.
4563
177321bd
DJ
45642010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4565
4566 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4567
97f2ed50
DJ
45682010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4569
4570 * gdb.base/call-strs.exp, gdb.base/default.exp,
4571 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4572 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4573 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4574 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4575 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4576 * gdb.base/ending-run.exp: Correct restore of timeout.
4577 * gdb.base/page.exp: Remove unnecessary timeout setting.
4578
e4e2711a
JB
45792010-01-29 Joel Brobecker <brobecker@adacore.com>
4580
4581 * gdb.ada/rec_return: New testcase.
4582
ba581dc1
JB
45832010-01-29 Joel Brobecker <brobecker@adacore.com>
4584
4585 * gdb.ada/call_pn: New testcase.
4586
4ea95be9
DJ
45872010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4588
4589 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4590 (Top level): Use it to resume.
4591 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4592 the Thumb mode displaced stepping error as unsupported.
4593
df83a9bf
SW
45942010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4595
889bf7c5
PA
4596 * gdb.cp/nsusing.exp: Added more tests.
4597 * gdb.cp/nsrecurs.exp: Ditto.
4598 * gdb.cp/nsusing.cc: Added test functions.
4599 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 4600
40b27cdc
JK
46012010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4602
4603 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4604 absolute directory pathnames in gdb.sum file.
4605
de958931
SW
46062010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4607
4608 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4609 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4610
708ead4e
TT
46112010-01-26 Tom Tromey <tromey@redhat.com>
4612
4613 PR exp/7643:
4614 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4615 setup_kfail.
4616
b14e635e
SW
46172010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4618
4619 * gdb.cp/nsrecurs.exp: New test.
4620 * gdb.cp/nsrecurs.cc: New test program.
4621 * gdb.cp/nsstress.exp: New test.
4622 * gdb.cp/nsstress.cc: New test program.
4623 * gdb.cp/nsdecl.exp: New test.
4624 * gdb.cp/nsdecl.cc: New test program.
4625
8540c487
SW
46262010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4627
4628 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4629 imported into file scope.
4630 Marked test as xfail.
4631 * gdb.cp/namespace-using.cc (marker5): New function.
4632 * gdb.cp/shadow.exp: New test.
4633 * gdb.cp/shadow.cc: New test program.
4634 * gdb.cp/nsimport.exp: New test.
4635 * gdb.cp/nsimport.cc: New test program.
4636
421d5d99
TT
46372010-01-25 Tom Tromey <tromey@redhat.com>
4638
4639 PR gdb/11049:
4640 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4641 with "set print null-stop on".
4642
691f8dc1
JK
46432010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4644
4645 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4646 Adjust it for DISASSEMBLY_OMIT_FNAME.
4647
0b92b5bb
TT
46482010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4649
4650 PR symtab/11199:
4651 * gdb.dwarf2/member-ptr-forwardref.exp,
4652 gdb.dwarf2/member-ptr-forwardref.S: New.
4653
23787403
JK
46542010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4655
4656 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4657 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4658 thread1_tid_mutex. Remove gdbstop_mutex handling.
4659 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4660 thread2_tid_mutex. Remove gdbstop_mutex handling.
4661 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4662 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4663 pthread_cond_wait conditionalizations by while loops.
4664
b966cb8a
TT
46652010-01-20 Tom Tromey <tromey@redhat.com>
4666
4667 PR backtrace/10770:
4668 * gdb.dwarf2/pr10770.exp: New file.
4669 * gdb.dwarf2/pr10770.c: New file.
4670 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4671
fcae584b
VP
46722010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4673
4674 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4675 that target was removed, and the test always runs native anyway.
4676
a0f49112
JK
46772010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4678
4679 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4680 gdb.base/watchpoint-cond-gone-stripped.c: New.
4681
ceeb3d5a
TT
46822010-01-19 Tom Tromey <tromey@redhat.com>
4683
4684 PR c++/8000:
4685 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4686 existing tests.
4687 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4688 (main): Use AAA::SomeEnum.
4689
dd322c54
JK
46902010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4691
4692 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4693 (test_ignore_count): Declare line_callme_body global.
4694 (run to breakpoint with ignore count): Use line_callme_body.
4695 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4696 (set line_main_hello, set line_main_return): Reindent.
4697 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4698 New.
4699 (continue to callee4): Use line_callee4_body.
4700 (check *stopped from CLI command): Use line_callee4_next.
4701 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4702 (set line_main_hello, set line_main_return): Reindent.
4703 (set line_callee4_head, set line_callee4_body): New.
4704 (continue to callee4): Use line_callee4_body.
4705
4e8f195d
TT
47062010-01-18 Tom Tromey <tromey@redhat.com>
4707
4708 PR c++/9680:
4709 * gdb.cp/casts.cc: Add new classes and variables.
4710 * gdb.cp/casts.exp: Test new operators.
4711
9e14a9ba
JB
47122010-01-18 Tom Tromey <tromey@redhat.com>
4713 Thiago Jung Bauermann <bauerman@br.ibm.com>
4714
4715 * gdb.python/source2.py: New file.
4716 * gdb.python/source1: New file.
4717 * gdb.python/python.exp: Test "source" command.
4718
00bf0b85
SS
47192010-01-15 Stan Shebs <stan@codesourcery.com>
4720
4721 * gdb.trace/tfile.c: New file.
4722 * gdb.trace/tfile.exp: New file.
889bf7c5 4723
55235ad7
JK
47242010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4725
4726 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4727
9f2982ff
JK
47282010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4729
4730 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4731
bbfba9ed
JK
47322010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4733
4734 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4735 (libfunc): New parameter action. Implement also selectable "sleep".
4736 * gdb.base/break-interp-main.c: Include assert.h.
4737 (libfunc): New parameter action.
4738 (main): New parameters argc and argv. Assert argc. Pass argv.
4739 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4740 (test_attach): New proc.
4741 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4742 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4743
61f0d762
JK
47442010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4745
4746 * gdb.base/break-interp.exp (test_core): New proc.
4747 (test_ld): Call it.
4748
06a6f270
JK
47492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4750
4751 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4752 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4753 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4754 and gdb_compile_shlib. Use new -Wl compiler options.
4755 (dl bt, main bt): New tests.
4756
51bee8e9
JK
47572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4758
4759 Support PIEs with no symfile_objfile.
4760 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4761 (test_ld): New parameter trynosym.
4762 (test_ld <$trynosym>): New block.
4763
b8040f19
JK
47642010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4765
4766 * gdb.base/break-interp.exp: New file.
4767
be759fcf
PM
47682010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4769
4770 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4771 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4772 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4773 test.
4774 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4775 * gdb.python/py-mi.exp: Add lazy string test.
4776
dc146f7c
VP
47772010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4778
4779 * lib/mi-support.exp (mi_check_thread_states): Handle
4780 core number in thread listing.
4781
b4ba55a1
JB
47822010-01-12 Joel Brobecker <brobecker@adacore.com>
4783
4784 * gdb.base/maint.exp: Adjust the expected output for the
4785 "maint print type" test. Use gdb_test_multiple instead of
4786 gdb_sent/gdb_expect.
4787
08e24bd4
DE
47882010-01-11 Doug Evans <dje@google.com>
4789
6496a609
DE
4790 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4791 from gdbserver_download. All callers updated.
4792
08e24bd4
DE
4793 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4794
b5cfddf5
JK
47952010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4796
4797 Implement binary numbers parsing.
4798 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4799 (test_integer_literals_rejected): New binary tests.
4800
3725885a
RW
48012010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4802
4803 * gdb.cell/configure: Regenerate.
4804
37aeb5df
JK
48052010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4806
4807 * gdb.base/corefile.exp: Move the core finding block out and call it as
4808 core_find, new variable $corefile, replace corefile by $corefile and
4809 [file tail $corefile] for usage vs. test names resp.
4810 * lib/gdb.exp (core_find): Move it as a new function here. New
4811 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4812 $destcore. Return "" on error.
4813
d521f563
JK
48142010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4815
4816 Workaround PR binutils/10802.
4817 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4818 (twice).
4819
28f24826
DJ
48202010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4821
4822 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4823
2de75e71
JB
48242010-01-08 Joel Brobecker <brobecker@adacore.com>
4825
4826 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4827 call, to avoid interruption.
4828
fe00719b 48292010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
4830
4831 * gdb.stabs/weird.def (args93): New.
4832
d0ef5df8
DE
48332010-01-07 Doug Evans <dje@google.com>
4834
4835 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4836
3a08d52f
TT
48372010-01-07 Tom Tromey <tromey@redhat.com>
4838
4839 * gdb.base/source.exp: Use correct line number.
4840
7a697b8d
SS
48412010-01-05 Stan Shebs <stan@codesourcery.com>
4842
4843 * gdb.trace/tracecmd.exp: Test ftrace.
4844
7803799a
UW
48452010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4846
4847 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4848
c54eabfa
JK
48492010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4850
4851 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4852 "uint_for_mi_testing".
4853
02e7ef19
JB
48542010-01-01 Joel Brobecker <brobecker@adacore.com>
4855
4856 Test indented comment in file being sourced.
4857 * gdb.base/commands.exp: Test indented comment in file being sourced.
4858
abd775ce
JB
48592010-01-01 Joel Brobecker <brobecker@adacore.com>
4860
4861 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4862 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4863 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4864 notice.
4865
79b55b82
JB
48662010-01-01 Joel Brobecker <brobecker@adacore.com>
4867
4868 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4869 notice.
4870
8997583e
JK
48712010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4872
4873 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4874 missing $after_stopped and comma (,) expectation.
4875
6da95a67
SS
48762009-12-31 Stan Shebs <stan@codesourcery.com>
4877
4878 * gdb.trace/actions.exp: Test teval action.
889bf7c5 4879
218d2fc6
TJB
48802009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4881
4882 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4883 (top level): Call test_watchpoint_in_big_blob.
4884 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4885 watchpoints.
4886 (func3): Write to buf.
4887
236f1d4d
SS
48882009-12-29 Stan Shebs <stan@codesourcery.com>
4889
4890 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 4891
f61e138d
SS
48922009-12-28 Stan Shebs <stan@codesourcery.com>
4893
4894 * gdb.trace/tsv.exp: New file.
4895 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 4896
0219b378
DJ
48972009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4898
4899 * gdb.base/find.c (main): Reference search buffers.
4900 * gdb.base/included.c (main): Reference integer.
4901 * gdb.base/ptype.c (charfoo): Declare.
4902 (intfoo): Call charfoo.
4903 * gdb.base/scope0.c (useitp): New function.
4904 (usestatics): Use useitp.
4905 (useit): Add a type for val.
4906 * gdb.base/scope1.c (useit1): Take a pointer argument.
4907 (usestatics1): Update calls to useit1.
4908 * gdb.cp/call-c.cc: Declare foo.
4909 (main): Call foo.
4910 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4911 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4912 (main): Call C::ensureRefs and ensureOtherRefs.
4913 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4914 variables.
4915 (ensureOtherRefs): New function.
4916 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4917 * gdb.cp/templates.cc (main): Call t5i.value.
4918
3f78692f
JK
49192009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4920
4921 Fix compatibility with G++-4.5.
4922 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4923 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4924 (uncaught return): Remove.
4925
429374b8
JK
49262009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4927 Phil Muldoon <pmuldoon@redhat.com>
4928
4929 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4930 (bp_location13, bp_location14, bp_location17, bp_location18)
4931 (marker3_proto, marker4_proto): New variables.
4932 (breakpoint info): Update output.
4933 (run until breakpoint at marker3, run until breakpoint at marker4): New
4934 tests.
4935
859825b8
JK
49362009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4937
4938 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4939 Replace the printf call of Y by provided "y-set-1" label. New block
4940 for the second shared library.
4941 * gdb.base/unload.exp: Compile also the second library, call
4942 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4943 (single pending breakpoint info): Rename to ...
4944 (pending breakpoint info before run): ... this extended test.
4945 (libfile2, libname2, libsrcfile2, libsrc2)
4946 (lib_sl2): New variables.
4947 (exec_opts): Set also SHLIB_NAME2.
4948 (pending breakpoint info on first run at shrfunc1)
4949 (pending breakpoint info on second run at shrfunc1)
4950 (pending breakpoint info on second run at shrfunc2)
4951 (print y from libfile, print y from libfile2): New tests.
4952 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4953 * gdb.base/unloadshr2.c: New.
4954
e6a386cd
HZ
49552009-12-22 Hui Zhu <teawater@gmail.com>
4956
4957 * gdb.reverse/sigall-reverse.exp: Adjust.
4958
9e19b45e
VP
49592009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4960
4961 PR gdb/10884
4962
4963 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4964 (main): Call do_bitfield_tests.
aacf5b1e 4965 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 4966
d53a7b30
JB
49672009-12-20 Joel Brobecker <brobecker@adacore.com>
4968
4969 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4970 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4971 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4972 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4973 gdb.modula2/unbounded1.c: Update copyright header.
4974
191ca0a1
CM
49752009-12-10 Chris Moller <moller@mollerware.com>
4976
4977 PR gdb/9399
4978 * gdb.cp/virtfunc2.exp: New tests
4979 * gdb.cp/virtfunc2.cc: New tests
4980 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4981
0fa6cf1b
MS
49822009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4983
4984 * gdb.reverse/i387-env-reverse.c: New file.
4985 * gdb.reverse/i387-env-reverse.exp: New file.
4986 * gdb.reverse/i387-stack-reverse.c: New file.
4987 * gdb.reverse/i387-stack-reverse.exp: New file.
4988
361ae042
PM
49892009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4990
4991 * gdb.python/py-type.exp (test_range): New test.
4992
bfd31e71
PM
49932009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4994
4995 PR python/10805
4996
4997 * gdb.python/py-type.exp: New file.
4998 * gdb.python/py-type.c: New file.
4999 * Makefile.in: Add py-type.
5000
57a1d736
TT
50012009-12-03 Tom Tromey <tromey@redhat.com>
5002
5003 * gdb.python/py-value.exp (test_parse_and_eval): New
5004 function.
5005
1f3b5d1b
PP
50062009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5007
5008 PR gdb/11022
5009
5010 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
5011 * gdb.base/pr11022.c: New test.
5012
8b7dbdc9
JK
50132009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5014
5015 Fix spurious false FAILs.
5016 * gdb.base/structs.c (chartest): New.
5017 (main): Fill-in chartest.
5018 * gdb.base/structs.exp (anychar_re, first): New.
5019 (start_structs_test): Import global anychar_re and first.
5020 New gdb_test call "set print elements 300; ${testfile}"
5021 (start_structs_test <$first>): New block.
5022 (any): Import global anychar_re. New variable ac. Use ${ac}.
5023
6a53b2ec
JK
50242009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5025
5026 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5027
d7167b4c
JK
50282009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5029
5030 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5031 Force $srcfile file.
5032 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5033
b1798462
UW
50342009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5035
5036 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5037 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5038 * gdb.threads/watchthreads-reorder.exp: Likewise.
5039
b6199126
DJ
50402009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5041
5042 PR gdb/8704
5043
5044 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5045 "if", and "thread". Correct matching in the previous test.
5046
b22a0510
DJ
50472009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5048
5049 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5050
930636d2
MS
50512009-11-23 Michael Snyder <msnyder@vmware.com>
5052
5053 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5054 * gdb.reverse-watch-precsave.exp: Ditto.
5055
21a0512e
PP
50562009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5057
5058 * gdb.asm/asm-source.exp: Adjust.
5059 * gdb.base/help.exp: Adjust.
889bf7c5 5060
fc30d5e0
PA
50612009-11-22 Pedro Alves <pedro@codesourcery.com>
5062
5063 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5064 (do_syscall_tests_without_xml): Set data-directory to
5065 /the/path/to/nowhere.
5066
f6bc2008
PA
50672009-11-21 Pedro Alves <pedro@codesourcery.com>
5068
5069 * gdb.threads/local-watch-wrong-thread.c,
5070 gdb.threads/local-watch-wrong-thread.exp: New files.
5071
8c2fb5de
PA
50722009-11-21 Pedro Alves <pedro@codesourcery.com>
5073
5074 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5075 assume new `regsub' syntax available.
5076
ebec9a0f
PA
50772009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5078
a79d3c27
JK
5079 * gdb.base/watchpoint-hw-hit-once.exp,
5080 gdb.base/watchpoint-hw-hit-once.c: New.
5081
50822009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5083
5084 * gdb.threads/watchthreads-reorder.exp,
5085 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 5086
276a961b
MK
50872009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5088
5089 * gdb.xml/tdesc-regs.exp: Use for m68k.
5090
4867c1fb
PA
50912009-11-15 Pedro Alves <pedro@codesourcery.com>
5092
5093 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5094
f6838f81
DJ
50952009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5096
5097 * lib/gdb.exp (current_target_name): New procedure.
5098 (gdb_wrapper_target): New variable.
5099 (gdb_wrapper_init): Set gdb_wrapper_target.
5100 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5101 wrapper.
5102
4ac4dd3f
DJ
51032009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5104
5105 * gdb.base/remote.exp: Delete the slowest load test.
5106 Do not load with fixed packet sizes.
5107
a7881759
DJ
51082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5109
5110 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5111
97a5b505
DJ
51122009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5113
5114 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5115 srcfile when setting a breakpoint.
5116
d3e1fc54
DJ
51172009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5118
5119 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5120 macros.
5121
7cbcbded
DJ
51222009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5123
5124 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5125 to be in memory.
5126 * gdb.base/display.c (force_mem): New.
5127 (do_loops): Use it. Add breakpoint comments.
5128 (do_vars): Add a breakpoint comment.
5129 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5130 line numbers.
5131
bdea3a92
NF
51322009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5133
5134 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5135 instead of a bare "run".
5136
269f82e5
PP
51372009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5138
5139 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 5140
a69b7d9d
DJ
51412009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5142
5143 * lib/cell.exp (skip_cell_tests): Clean up test files before
5144 returning.
5145
b598bfda
DJ
51462009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5147
5148 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5149 and the breakpoint menu. Do not call perror if a prompt is seen.
5150 Consume the following GDB prompt.
5151 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5152 * gdb.cp/namespace.exp: Use gdb_test.
5153 * gdb.cp/templates.exp: Use gdb_test.
5154 (test_template_breakpoints): Use gdb_test_multiple.
5155
87728fa0
DJ
51562009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5157
5158 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5159 (marker4): Reference values.
5160
b67c692f
DJ
51612009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5162
5163 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5164 is missing.
5165
f0df251a
DJ
51662009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5167
5168 * gdb.base/break.c (need_malloc): New.
5169 * gdb.base/constvars.c (main): Reference crass and crisp.
5170 * gdb.base/gdb1821.c (main): Reference bar.
5171 * gdb.cp/gdb1355.cc (main): Reference s1.
5172 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5173 (main): Call them.
5174 * gdb.cp/hang2.cc (dummy2): Define.
5175 * gdb.cp/hang3.cc (dummy3): Define.
5176 * gdb.cp/m-data.cc (main): Reference shadow.
5177
bdf7534a
NF
51782009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5179 Nathan Froyd <froydnj@codesourcery.com>
5180
5181 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5182 remote host.
5183
f24fce77
NF
51842009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5185
5186 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5187 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5188 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5189 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5190 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5191 * gdb.dwarf2/dw2-producer.exp: Likewise.
5192 * gdb.dwarf2/mac-fileno.exp: Likewise.
5193 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5194 py-prettyprint.py to the remote host.
5195 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5196
40f0318e
KS
51972009-11-11 Keith Seitz <keiths@redhat.com>
5198
5199 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5200 use it instead of "Foo".
5201 * gdb.cp/classes.exp (do_tests): Add a test to access
5202 a method through a typedef'd class name.
5203
f3d9f7fb
NF
52042009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5205
5206 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5207 exponents.
5208 * gdb.base/pointers.exp: Likewise.
5209 * gdb.cp/ref-types.exp: Likewise.
5210
a4216f37
KS
52112009-11-11 Keith Seitz <keiths@redhat.com>
5212
5213 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5214 new[] and delete[].
5215 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5216 "void".
5217 (probe_demangler): Remove all single-quoting of
5218 method and variable names.
5219 (info_func_regexp): Remove the word "void" from any
5220 occurrence of "(void)".
5221 (print_addr_2): Remove all single-quoting of
5222 method names.
5223 (print_addr_2_kfail): Likewise.
5224 (print_addr): Single-quote C function names before
5225 passing to print_addr_2.
5226 (test_paddr_operator_functions): Remove single-quoting
5227 for method names.
5228 Add tests for operator new[] and operator delete[].
5229
9b14d7aa
JK
52302009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5231
5232 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5233
85feb311
KS
52342009-11-09 Keith Seitz <keiths@redhat.com>
5235
5236 * gdb.cp/overload.exp: Add tests for resolving overloaded
5237 methods in expression parsing/evaluation.
5238
fa335448
DJ
52392009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5240
5241 * lib/gdb.exp (default_gdb_version): Use --version instead of
5242 --command.
5243
ec3c07fc
NS
52442009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5245
5246 * lib/gdb.exp (gdb_compile_test): New.
5247 (skip_ada_tests, skip_java_tests): New.
5248 (gdb_compile): Use gdb_compile_test for f77.
5249 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5250 * lib/java.exp (compile_java_from_source): Remove runtests check,
5251 use gdb_compile_test to record result.
5252 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5253 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5254 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5255 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5256 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5257 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5258 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5259 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5260 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5261 adjust gdb_compile invocations.
5262
b8b4e42b
JK
52632009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5264
5265 * Makefile.in (abs_builddir): New.
5266 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5267 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5268 `$(abs_builddir)/site.exp'.
5269
f8b7eaf3
DJ
52702009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5271
5272 * config/m68k-emc.exp, lib/emc-support.exp,
5273 gdb.trace/gdb_c_test.c: Delete.
5274 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5275 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5276 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5277 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5278 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5279 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5280 casing for m68k-*-elf.
5281
c4187697
NS
52822009-11-03 Pedro Alves <pedro@codesourcery.com>
5283
5284 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5285 * gdb.arch/i386-prologue.exp: Likewise.
5286 * gdb.arch/i386-unwind.exp: Likewise.
5287
db16b772
DJ
52882009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5289
5290 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5291
bcf71277
DJ
52922009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5293
5294 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5295
0105cee2
DJ
52962009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5297
5298 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5299
24ddea62
JK
53002009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5301
5302 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5303
287ccc17
JK
53042009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5305
5306 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5307 * gdb.base/sepdebug2.c: New file.
5308
08bca259 53092009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
5310
5311 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5312 the modified warnings for catch syscall. Verify if GDB was compiled
5313 with support for lib expat, and choose which tests to run depending
5314 on this.
5315
5d4e2b76
VP
53162009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5317
5318 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5319 that composite commands are parsed OK. And also test
5320 that breakpoint commands do work.
5321
240e538a
MS
53222009-10-23 Michael Snyder <msnyder@vmware.com>
5323
5324 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5325 to allow for new disassembly style.
5326
9c419145
PP
53272009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5328
5329 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 5330
02506ff1
MS
53312009-10-22 Michael Snyder <msnyder@vmware.com>
5332
5333 * gdb.reverse/break-precsave.exp: New test.
5334 * gdb.reverse/consecutive-precsave.exp: Ditto.
5335 * gdb.reverse/finish-precsave.exp: Ditto.
5336 * gdb.reverse/i386-precsave.exp: Ditto.
5337 * gdb.reverse/machinestate-precsave.exp: Ditto.
5338 * gdb.reverse/sigall-precsave.exp: Ditto.
5339 * gdb.reverse/solilb-precsave.exp: Ditto.
5340 * gdb.reverse/step-precsave.exp: Ditto.
5341 * gdb.reverse/until-precsave.exp: Ditto.
5342 * gdb.reverse/watch-precsave.exp: Ditto.
5343
4cf866a3
MS
53442009-10-22 Michael Snyder <msnyder@vmware.com>
5345
5346 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5347 for gdb_expect. Adjust one test's expect strings for the new
5348 format of disassemble.
5349 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5350 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5351 gdb_test_multiple.
5352 * gdb.reverse/step-reverse.exp: Delete 'return'.
5353 * gdb.reverse/until-reverse.exp: Delete blank lines.
5354 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5355
2b28d209
PP
53562009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5357
5358 * gdb.base/consecutive.exp: Adjust.
5359 * gdb.base/display.exp: Likewise.
5360 * gdb.base/pc-fp.exp: Likewise.
5361 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 5362
33b9c32b
MS
53632009-10-19 Michael Snyder <msnyder@vmware.com>
5364
5365 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5366 * gdb.reverse/finish-reverse.c: Ditto.
5367 * gdb.reverse/sigall-reverse.c: Ditto.
5368 * gdb.reverse/solib-reverse.c: Ditto.
5369 * gdb.reverse/step-reverse.c: Ditto.
5370 * gdb.reverse/watch-reverse.c: Ditto.
5371
6c95b8df
PA
53722009-10-19 Pedro Alves <pedro@codesourcery.com>
5373 Stan Shebs <stan@codesourcery.com>
5374
5375 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5376 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5377 "Executing new program".
5378 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5379 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5380 left listed after having been killed.
5381 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5382 * gdb.base/maint.exp: Adjust test.
5383
5384 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5385 * gdb.multi/Makefile.in: New.
5386 * gdb.multi/base.exp: New.
5387 * gdb.multi/goodbye.c: New.
5388 * gdb.multi/hangout.c: New.
5389 * gdb.multi/hello.c: New.
5390 * gdb.multi/bkpt-multi-exec.c: New.
5391 * gdb.multi/bkpt-multi-exec.exp: New.
5392 * gdb.multi/crashme.c: New.
5393
279017b7
TG
53942009-10-13 Tristan Gingold <gingold@adacore.com>
5395
5396 * gdb.base/sepdebug.exp: Check debug info are found.
5397
0413d738
PA
53982009-10-08 Pedro Alves <pedro@codesourcery.com>
5399
5400 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5401 bits.
5402
c628eecc
JK
54032009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5404
5405 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5406
38af1bfe
JB
54072009-10-07 Joel Brobecker <brobecker@adacore.com>
5408
5409 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5410 of the comments.
5411
2b0adecd
PM
54122009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5413
5414 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5415 * gdb.base/annota3.exp: Idem.
5416 * gdb.base/maint.exp: Idem.
5417
8d417781
PM
54182009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5419
889bf7c5 5420 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
5421 to default.
5422
bb61102d
PM
54232009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5424
889bf7c5 5425 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
5426 mingw and cygwin targets.
5427
ace5c364
PM
54282009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5429 Pedro Alves <pedro@codesourcery.com>
5430
889bf7c5 5431 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
5432 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5433
c2d494a0
PM
54342009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5435
e1b52ce2
PM
5436 * gdb.base/shr1.c: Use %p in format string.
5437 * gdb.base/unload.c: Avoid warning in fprintf.
5438 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 5439
209f53f5
PM
54402009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5441
5442 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5443 long type.
5444 (test_unlink): Correct printf string.
5445 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5446 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5447
8172766a
JK
54482009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5449
5450 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5451 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5452 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5453
0f73703c
UW
54542009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5455
5456 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5457 * gdb.objc/nondebug.exp: Likewise.
5458
b32306ca
UW
54592009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5460
5461 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5462 target_info setting.
5463
5464 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5465 that detect new threads during "info threads".
5466
0057022f
UW
54672009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5468
5469 * gdb.threads/manythreads.c (main): Increase thread stack size
5470 to 2*PTHREAD_STACK_MIN.
5471 * gdb.threads/multi-create.c (main): Likewise.
5472 (create_function): Likewise.
5473
f29c0325
UW
54742009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5475
5476 * gdb.base/dump.exp: Pass difference of pointer types instead
5477 of integer types as offset to restore in intarr3.srec case.
5478
fcb34849
UW
54792009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5480
5481 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5482
d5142e3b
UW
54832009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5484
5485 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5486
087b74b2 54872009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 5488
087b74b2
PM
5489 New test for two watchpoints, with disabling of
5490 the first inserted.
5491 * testsuite/gdb.base/watchpoints.c: New file.
5492 * testsuite/gdb.base/watchpoints.exp: New file.
5493
96c07c5b
TT
54942009-09-25 Tom Tromey <tromey@redhat.com>
5495
5496 * gdb.base/charset.exp: Test utf-16 strings with Python.
5497
b8899f2b
TT
54982009-09-25 Tom Tromey <tromey@redhat.com>
5499
5500 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5501 UCS-4.
5502 * gdb.base/charset.c (utf_32_string): Rename.
5503 (init_utf32): Rename.
5504 (main): Update.
5505
329719ec
TT
55062009-09-22 Tom Tromey <tromey@redhat.com>
5507
5508 * gdb.python/py-function.exp: Add regression tests.
5509
11ef0d76
KS
55102009-09-21 Keith Seitz <keiths@redhat.com>
5511
5512 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5513 with invalid operator.
5514
3fe8f3b3
KS
55152009-09-21 Keith Seitz <keiths@redhat.com>
5516
5517 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5518 and destructor using typedef name of class.
5519 * gdb.cp/classes.cc (class Base1): Add a destructor.
5520 (base1): New typedef.
5521 (use_methods): Instanitate an object of type base1.
5522 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5523 (do_tests): Call test_template_typedef.
5524 * gdb.cp/templates.cc (Baz::~Baz): New method.
5525 (intBazOne): New typedef.
5526 (main): Instantiate intBazOne.
5527
7a9fe101
PM
55282009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5529
5530 PR python/10633
5531
5532 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5533 Function.
5534 (run_lang_tests): Add print elements test.
5535
2e4d963f
PM
55362009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5537
5538 * gdb.python/py-value.exp (test_subscript_regression): New
5539 function. Test for invalid subscripts.
5540 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5541 (ptr_ref): New function.
5542
ec7e75e7
PP
55432009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5544
5545 * gdb.base/default.exp: Fix "show convenience".
5546
0cc7d26f
TT
55472009-09-15 Tom Tromey <tromey@redhat.com>
5548
5549 * lib/mi-support.exp (mi_create_varobj): Update.
5550 (mi_create_floating_varobj): Likewise.
5551 (mi_create_dynamic_varobj): New proc.
5552 (mi_varobj_update): Update.
5553 (mi_varobj_update_with_type_change): Likewise.
5554 (mi_varobj_update_kv_helper): New proc.
5555 (mi_varobj_update_dynamic_helper): Rewrite.
5556 (mi_varobj_update_dynamic): New proc.
5557 (mi_list_varobj_children): Update.
5558 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5559 * gdb.python/python-prettyprint.py (pp_outer): New class.
5560 (pp_nullstr): Likewise.
5561 (lookup_function): Register new printers.
5562 * gdb.python/python-prettyprint.c (struct substruct): New type.
5563 (struct outerstruct): Likewise.
5564 (substruct_test): New function.
5565 (struct nullstr): New type.
5566 (string_1, string_2): New globals.
5567 (main): Add new tests.
5568 * gdb.python/python-mi.exp: Added regression tests.
5569 * gdb.mi/mi2-var-display.exp: Update.
5570 * gdb.mi/mi2-var-cmd.exp: Update.
5571 * gdb.mi/mi2-var-child.exp: Update.
5572 * gdb.mi/mi2-var-block.exp: Update.
5573 * gdb.mi/mi-var-invalidate.exp: Update.
5574 * gdb.mi/mi-var-display.exp: Update.
5575 * gdb.mi/mi-var-cmd.exp: Update.
5576 * gdb.mi/mi-var-child.exp: Update.
5577 * gdb.mi/mi-var-block.exp: Update.
5578 * gdb.mi/mi-break.exp: Update.
5579 * gdb.mi/gdb701.exp: Update.
5580
a96d9b2e
SDJ
55812009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5582
5583 * Makefile.in: Inclusion of catch-syscall object.
5584 * gdb.base/catch-syscall.c: New file.
5585 * gdb.base/catch-syscall.exp: New file.
5586
b43b923a
MS
55872009-09-12 Michael Snyder <msnyder@vmware.com>
5588
5589 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5590 that can support reverse debuggnig.
5591
cec03d70
TT
55922009-09-11 Tom Tromey <tromey@redhat.com>
5593
5594 * gdb.dwarf2/valop.S: New file.
5595 * gdb.dwarf2/valop.exp: New file.
5596
e23bb3fc
MK
55972009-09-11 Mark Kettenis <kettenis@gnu.org>
5598
5599 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5600
37c3696d
DE
56012009-09-10 Doug Evans <dje@google.com>
5602
5603 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5604 Add $gdb_prompt to second breakpoint regexp.
5605
5172aecb
JB
56062009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5607
5608 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5609 names, add missing ones.
5610 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5611 * gdb.python/py-frame.c: Rename from python-frame.c.
5612 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5613 testfile name.
5614 * gdb.python/py-function.exp: Rename from python-function.exp.
5615 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5616 testfile name.
5617 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5618 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5619 Adjust testfile name.
5620 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5621 * gdb.python/py-template.cc: Rename from python-template.cc.
5622 * gdb.python/py-template.exp: Rename from python-template.exp.
5623 Adjust testfile name.
5624 * gdb.python/py-value.c: Rename from python-value.c.
5625 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5626 testfile name.
5627
b554e4bd
JK
56282009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5629
5630 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5631 $bpt2address.
5632 (Second breakpoint address is valid on ia64)
5633 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5634
9a68ae16
JM
56352009-09-03 Joseph Myers <joseph@codesourcery.com>
5636
5637 * gdb.base/ending-run.exp: Restrict regular expression matching
5638 line number to require closing brace following.
5639
146b9145
DE
56402009-09-03 Doug Evans <dje@google.com>
5641
5642 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5643
787d21e1
TT
56442009-09-02 Tom Tromey <tromey@redhat.com>
5645
5646 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5647
e7802207
TT
56482009-09-02 Tom Tromey <tromey@redhat.com>
5649
5650 * gdb.dwarf2/callframecfa.exp: New file.
5651 * gdb.dwarf2/callframecfa.S: New file.
5652
817aadd2
JK
56532009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5654
5655 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5656 gdb.base/solib-overlap-main.c: New.
5657
4a76eae5
DJ
56582009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5659
5660 PR gdb/10565
5661
5662 * gdb.base/bitfields.c (struct container, container): New.
5663 (main): Initialize it and call break5.
5664 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5665
d4b96c9a
JK
56662009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5667
5668 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5669 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5670
4e22772d
JK
56712009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5672
5673 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5674
2efab443
MS
56752009-08-26 Michael Snyder <msnyder@vmware.com>
5676
5677 * gdb.base/i386-reverse.c: New file.
5678 * gdb.base/i386-reverse.exp: New file.
5679 * gdb.base/Makefile.in: Add new files to be removed.
5680
07ab73a0
JM
56812009-08-26 Joseph Myers <joseph@codesourcery.com>
5682
5683 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5684 environment-pwd for remote host.
5685 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5686
676accff
KS
56872009-08-24 Keith Seitz <keiths@redhat.com>
5688
5689 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5690 Add two new C++ completer tests which limit the output to a
889bf7c5 5691 given class.
676accff 5692
f9f7ad22
MS
56932009-08-24 Michael Snyder <msnyder@vmware.com>
5694
5695 * gdb.base/del.exp: Fix typo in comment.
5696 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5697
81ecdfbb
RW
56982009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5699
5700 * configure: Regenerate.
5701 * gdb.hp/configure: Likewise.
5702 * gdb.hp/gdb.aCC/configure: Likewise.
5703 * gdb.hp/gdb.base-hp/configure: Likewise.
5704 * gdb.hp/gdb.compat/configure: Likewise.
5705 * gdb.hp/gdb.defects/configure: Likewise.
5706 * gdb.hp/gdb.objdbg/configure: Likewise.
5707 * gdb.stabs/configure: Likewise.
5708
cab0c772
UW
57092009-08-19 Doug Evans <dje@google.com>
5710
5711 * gdb.base/gdbvars.c: New file.
5712 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5713
b8fa0bfa
PA
57142009-08-14 Pedro Alves <pedro@codesourcery.com>
5715
5716 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5717 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5718
b84aa90a
PA
57192009-08-13 Pedro Alves <pedro@codesourcery.com>
5720
5721 * gdb.base/default.exp: Adjust "set language test": it's now an
5722 enum command. Larger help string moved to "help set language".
5723 * gdb.base/help.exp: Adjust "help set language" expected output,
5724 now lists all known languages.
5725
0d8f9b2c
NF
57262009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5727
5728 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5729 all frame arguments.
5730 * gdb.arch/altivec-regs.exp: Likewise.
5731
bda180e0
TT
57322009-08-07 Tom Tromey <tromey@redhat.com>
5733
5734 * gdb.base/setshow.exp: Add tests for changes to set language, set
5735 check range, and set check type.
5736
48cb2d85
VP
57372009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5738
5739 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5740 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 5741 Call it.
48cb2d85 5742
1ea34204
UW
57432009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5744
5745 * configure.ac: Run gdb.cell tests when appropriate.
5746 * configure: Regenerate.
5747 * lib/cell.exp: New file.
5748 * gdb.cell: New directory.
5749 * gdb.cell/configure.ac: New file.
5750 * gdb.cell/configure: New file.
5751 * gdb.cell/Makefile.in: New file.
5752 * gdb.cell/arch.exp: New file.
5753 * gdb.cell/break.c: New file.
5754 * gdb.cell/break.exp: New file.
5755 * gdb.cell/break-spu.c: New file.
5756 * gdb.cell/bt.c: New file.
5757 * gdb.cell/bt2-spu.c: New file.
5758 * gdb.cell/bt-spu.c: New file.
5759 * gdb.cell/bt.exp: New file.
5760 * gdb.cell/coremaker.c: New file.
5761 * gdb.cell/coremaker-spu.c: New file.
5762 * gdb.cell/core.exp: New file.
5763 * gdb.cell/gcore.exp: New file.
5764 * gdb.cell/data.c: New file.
5765 * gdb.cell/data.exp: New file.
5766 * gdb.cell/data-spu.c: New file.
5767 * gdb.cell/ea-cache.exp: New file.
5768 * gdb.cell/ea-cache.c: New file.
5769 * gdb.cell/ea-cache-spu.c: New file.
5770 * gdb.cell/ea-standalone.c: New file.
5771 * gdb.cell/ea-standalone.exp: New file.
5772 * gdb.cell/ea-test.c: New file.
5773 * gdb.cell/ea-test.exp: New file.
5774 * gdb.cell/f-regs.exp: New file.
5775 * gdb.cell/mem-access.c: New file.
5776 * gdb.cell/mem-access.exp: New file.
5777 * gdb.cell/mem-access-spu.c: New file.
5778 * gdb.cell/ptype.exp: New file.
5779 * gdb.cell/registers.exp: New file.
5780 * gdb.cell/size.c: New file.
5781 * gdb.cell/sizeof.exp: New file.
5782 * gdb.cell/size-spu.c: New file.
5783 * gdb.cell/solib.exp: New file.
5784 * gdb.cell/solib-symbol.exp: New file.
5785
85e747d2
UW
57862009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5787
5788 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5789
58d6951d
DJ
57902009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5791
5792 * gdb.base/float.exp: Handle VFP registers.
5793
6e0a4f15
MS
57942009-07-14 Michael Snyder <msnyder@vmware.com>
5795
dcd5da87
MS
5796 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5797 to bring gdb to the beginning of the calling line.
5798
6e0a4f15
MS
5799 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5800 confusing the i386 epilogue unwinder.
5801
782b2b07
SS
58022009-07-14 Stan Shebs <stan@codesourcery.com>
5803
5804 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5805
f662c3bc
MS
58062009-07-14 Michael Snyder <msnyder@vmware.com>
5807
5808 * gdb.reverse/step-reverse.exp (stepi into function call):
5809 Call instruction may not be first instruction in the line.
5810 (reverse stepi from a function call): Used wrong line number.
5811
8f313923
JK
58122009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5813
5814 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5815
4662c76e
JK
58162009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5817
5818 Fix gdb.base/macscp.exp when using custom inputrc.
5819 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5820 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5821 env(TERM) set.
5822 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5823 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5824
aa81e255
JK
58252009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5828 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5829 Change the compilation target to match the testcase name.
5830 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5831 testcase name.
5832 * a2-run.exp: Use for setup prepare_for_testing. Change the
5833 compilation target to match the testcase name.
5834 * gdb.base/commands.exp: Likewise.
5835 * gdb.base/finish.exp: Likewise.
5836 * gdb.base/float.exp: Likewise.
5837 * gdb.base/info-target.exp: Likewise.
5838 * gdb.base/relational.exp: Likewise.
5839 * gdb.base/term.exp: Likewise.
5840 * gdb.base/until.exp: Likewise.
5841 * gdb.base/volatile.exp: Likewise.
5842 * gdb.base/whatis-exp.exp: Likewise.
5843
4c93b1d7
HZ
58442009-07-11 Hui Zhu <teawater@gmail.com>
5845
5846 * gdb.base/help.exp (disassemble): Update expected help text.
5847
812f7342
TT
58482009-07-09 Tom Tromey <tromey@redhat.com>
5849
5850 * lib/gdb.exp: Handle TRANSCRIPT.
5851 (remote_spawn, remote_close, send_gdb): New procs.
5852
fbb8f299
PM
58532009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5854
5855 * gdb.python/python-prettyprint.c: Add counted null string
5856 structure.
5857 * gdb.python/python-prettyprint.exp: Print null string. Test for
5858 embedded nulls.
5859 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5860 * gdb.python/python-value.exp (test_value_in_inferior): Add
5861 variable length string fetch tests.
5862 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5863
c0ac0ec7
JK
58642009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5865
5866 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5867
30b66ecc
TT
58682009-07-07 Tom Tromey <tromey@redhat.com>
5869
5870 * gdb.base/call-rt-st.exp: Update for change to escape output.
5871 * gdb.base/callfuncs.exp: Likewise.
5872 * gdb.base/charset.exp: Likewise.
5873 * gdb.base/constvars.exp: Likewise.
5874 * gdb.base/long_long.exp: Likewise.
5875 * gdb.base/pointers.exp: Likewise.
5876 * gdb.base/printcmds.exp: Likewise.
5877 * gdb.base/setvar.exp: Likewise.
5878 * gdb.base/store.exp: Likewise.
5879 * gdb.cp/ref-types.exp: Likewise.
5880 * gdb.mi/mi-var-child.exp: Likewise.
5881 * gdb.mi/mi-var-display.exp: Likewise.
5882 * gdb.mi/mi2-var-display.exp: Likewise.
5883 * gdb.base/charset.exp: Test octal escape sequence length.
5884 Update for change to escape output.
5885
187c4a2b
JK
58862009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5887
5888 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5889
d80a43f9
DJ
58902009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5891
5892 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5893
047427a8
JK
58942009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5895
5896 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5897 gdbserver increasing $portnum if "Can't bind address" has been seen.
5898
8b5a0f4f
PA
58992009-07-05 Pedro Alves <pedro@codesourcery.com>
5900
5901 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5902 mingw32ce.
5903
7d93ba58
PA
59042009-07-05 Pedro Alves <pedro@codesourcery.com>
5905
5906 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5907 VFP format.
5908
2277426b
PA
59092009-07-02 Pedro Alves <pedro@codesourcery.com>
5910
5911 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5912 linux. Adjust to use "inferior", "info inferiors", "detach
5913 inferior" and "kill inferior" instead of "restart", "info fork",
5914 "detach fork" and "delete fork".
5915 * gdb.base/ending-run.exp: Spell out "info".
5916 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5917 the "kill" command.
5918
5af949e3
UW
59192009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5920
5921 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5922 change to prefix TLS offset in hex with 0x.
5923
5d3729b5
UW
59242009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5925
5926 * gdb.base/default.exp: Update test case for "x" changes.
5927
af589bd0
TG
59282009-07-01 Tristan Gingold <gingold@adacore.com>
5929
5930 * gdb.base/bigcore.exp: Make darwin untested.
5931
40974f91
JK
59322009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5933
5934 * gdb.base/completion.exp (directory completion): Create the directory.
5935 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5936 escapeuniquesub.
5937 (directory completion 2): Expect now ${escapeuniquesub}.
5938 (Glob remaining of directory test): Remove one excessive newline.
5939 Expect the real output.
5940
59dd3af6
JK
59412009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5942
5943 Fix `make check//%' target after `make check' has been ran.
5944 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5945 a mkdir call.
5946 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5947 (%/.dir): Remove.
5948
f4e164aa
JK
59492009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5950
5951 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5952 the expected result record.
5953
69af2122
JK
59542009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5955
5956 Remove racy FAILs relying just on the timeouts.
5957 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5958 (annotation_level 2): Remove racy FAILs.
5959
2fd481e1
PP
59602009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5961
5962 gdb/10275
889bf7c5
PA
5963 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5964
c38f313d
DJ
59652009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5966
5967 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5968
8b777f02
VP
59692009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5970
5971 * gdb.mi/mi-stack.exp: Testing symbolic options
5972 to -stack-list-locals and -stack-list-arguments.
5973
00c7eacf
JK
59742009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5975
5976 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5977
6bc80edc
TT
59782009-06-29 Tom Tromey <tromey@redhat.com>
5979
5980 * dg-extract-results.sh: New file.
5981 * Makefile.in (FORCE_PARALLEL): New variable.
5982 (CHECK_TARGET): New conditional variable.
5983 (check): Use CHECK_TARGET.
5984 (DO_RUNTEST): New variable.
5985 (check-single): New target.
5986 (TEST_DIRS): New variable.
5987 (TEST_TARGETS): Likewise.
5988 (check-parallel): New target.
5989 (check-gdb.%): New pattern.
5990 (BASE1_FILES): New variable.
5991 (BASE2_FILES): Likewise.
5992 (check-gdb.base%): New pattern.
5993 (%/.dir): New pattern.
5994 * configure: Rebuild.
5995 * aclocal.m4 (AM_CONDITIONAL): New defun.
5996 * configure.ac: Check whether user is using GNU make.
5997 (GMAKE): New conditional.
5998
794684b6
SW
59992009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6000
6001 * gdb.cp/namespace-nested-import.cc: New test.
6002 * gdb.cp/namespace-nested-import.exp: New test.
6003
edb3359d
DJ
60042009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6005
6006 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6007 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6008 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6009 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6010 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6011 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6012 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6013 gdb.opt/inline-markers.c: New files.
6014 * lib/gdb.exp (skip_inline_frame_tests): New function.
6015 (skip_inline_var_tests): New function.
6016
cf657a0c
AS
60172009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6018
6019 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6020 backtrace.
6021
28d41a99
MS
60222009-06-27 Michael Snyder <msnyder@vmware.com>
6023
6024 * gdb.reverse: New directory.
6025 * gdb.reverse/break-reverse.c: New test.
6026 * gdb.reverse/break-reverse.exp: New test.
6027 * gdb.reverse/consecutive-reverse.c: New test.
6028 * gdb.reverse/consecutive-reverse.exp: New test.
6029 * gdb.reverse/finish-reverse.c: New test.
6030 * gdb.reverse/finish-reverse.exp: New test.
6031 * gdb.reverse/machinestate.c: New test.
6032 * gdb.reverse/ms1.c: New test.
6033 * gdb.reverse/machinestate.exp: New test.
6034 * gdb.reverse/Makefile.in: New file.
6035 * gdb.reverse/shr2.c: New test.
6036 * gdb.reverse/solib-reverse.c: New test.
6037 * gdb.reverse/solib-reverse.exp: New test.
6038 * gdb.reverse/step-reverse.c: New test.
6039 * gdb.reverse/step-reverse.exp: New test.
6040 * gdb.reverse/until-reverse.c: New test.
6041 * gdb.reverse/ur1.c: New test.
6042 * gdb.reverse/until-reverse.exp: New test.
6043 * gdb.reverse/watch-reverse.c: New test.
6044 * gdb.reverse/watch-reverse.exp: New test.
6045 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6046 * configure: Regenerate.
6047
fe3c8b0d
DE
60482009-06-26 Doug Evans <dje@google.com>
6049
6050 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6051
3a72a602
PM
60522009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6053
6054 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6055 windows problem for 'file delete $binfile'.
6056
27aa8d6a
SW
60572009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6058
6059 * gdb.cp/namespace-using.exp: New test.
6060 * gdb.cp/namespace-using.cc: New test.
6061
8ac055f8
JB
60622009-05-20 Joel Brobecker <brobecker@adacore.com>
6063
6064 * gdb.ada/variant_record_packed_array: New testcase.
6065
85e306ed
TT
60662009-06-23 Tom Tromey <tromey@redhat.com>
6067
6068 * gdb.base/charset.exp (test_combination): Regression test.
6069 * gdb.base/charset.c (my_wchar_t): New typedef.
6070 (myvar): New global.
6071 (main): Set myvar.
6072
56643c5e
PM
60732009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6074
6075 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6076 target.
6077
1fac167a
UW
60782009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6079
6080 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6081
7ccb0be9
UW
60822009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6083
6084 * gdb.mi/gdb680.exp: Update test for error message.
6085
568d6575
UW
60862009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6087
6088 * gdb.base/annota1.exp: Allow multiple occurrences of the
6089 frames-invalid annotation.
6090 * gdb.cp/annota2.exp: Likewise.
6091
7cd1089b
PM
60922009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6093
6094 * gdb.cp/gdb2495.cc: New file.
6095 * gdb.cp/gdb2495.exp: New file.
6096
72c63395
JK
60972009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6098
6099 Report error on GDB crash during runto.
6100 * lib/gdb.exp (runto <eof>): New.
6101
3788363d
DJ
61022009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6103
6104 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6105 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6106 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6107 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6108 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6109 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6110 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6111 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6112 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6113 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6114 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6115 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6116 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6117 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6118 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6119 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6120 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6121 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6122 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6123 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6124 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6125 gdb.trace/passcount.exp, gdb.trace/report.exp,
6126 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6127 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6128 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6129 executable.
6130
17592de3
PA
61312009-06-07 Pedro Alves <pedro@codesourcery.com>
6132
6133 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6134 defined before referencing it.
6135
701e355d
DE
61362009-06-03 Doug Evans <dje@google.com>
6137
6138 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6139 * gdb.arch/i386-see.c: Ditto.
6140
f2292c65
PM
61412009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6142
6143 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6144 (check_macro): Return 1 if undefined.
6145 If first test fails, check if macro debug information is available,
6146 and report unsupported test if no macro information is found.
6147
5a437975
DE
61482009-05-29 Doug Evans <dje@google.com>
6149
6150 * gdb.threads/hand-call-in-threads.exp: New.
6151 * gdb.threads/hand-call-in-threads.c: New.
6152
c141c696
MS
61532009-05-29 Michael Snyder <msnyder@vmware.com>
6154
6155 * gdb.base/break-always.exp: Change "1" to "on".
6156 Add confirmation check.
6157
b3444185
PA
61582009-05-28 Pedro Alves <pedro@codesourcery.com>
6159
6160 * gdb.threads/threxit-hop-specific.c: New.
6161 * gdb.threads/threxit-hop-specific.exp: New.
6162 * gdb.threads/thread-execl.c: New.
6163 * gdb.threads/thread-execl.exp: New.
6164
b6313243
TT
61652009-05-27 Tom Tromey <tromey@redhat.com>
6166 Thiago Jung Bauermann <bauerman@br.ibm.com>
6167
6168 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6169 (mi_child_regexp): Likewise.
6170 (mi_list_varobj_children_range): Likewise.
6171 (mi_get_features): Likewise.
6172 (mi_list_varobj_children): Rewrite.
6173 * gdb.python/python-mi.exp: New file.
6174
a6bac58e
TT
61752009-05-27 Tom Tromey <tromey@redhat.com>
6176 Thiago Jung Bauermann <bauerman@br.ibm.com>
6177 Phil Muldoon <pmuldoon@redhat.com>
6178 Paul Pluzhnikov <ppluzhnikov@google.com>
6179
6180 * gdb.python/python-prettyprint.exp: New file.
6181 * gdb.python/python-prettyprint.c: New file.
6182 * gdb.python/python-prettyprint.py: New file.
6183 * gdb.base/display.exp: print/r is now valid.
6184
2c74e833
TT
61852009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6186 Tom Tromey <tromey@redhat.com>
6187 Pedro Alves <pedro@codesourcery.com>
6188 Paul Pluzhnikov <ppluzhnikov@google.com>
6189
6190 * gdb.python/python-template.exp: New file.
6191 * gdb.python/python-template.cc: New file.
6192 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6193 tests.
6194 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6195 Call it.
6196 (test_value_after_death): New proc.
6197 * gdb.python/python-value.c (PTR): New typedef.
6198 (main): New variable 'x'.
6199
89c73ade
TT
62002009-05-27 Tom Tromey <tromey@redhat.com>
6201
6202 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6203 tests.
6204 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6205 Call it.
6206
a75724bc
PA
62072009-05-27 Pedro Alves <pedro@codesourcery.com>
6208
6209 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6210
e58b0e63
PA
62112009-05-24 Pedro Alves <pedro@codesourcery.com>
6212
6213 * gdb.threads/fork-thread-pending.c: New.
6214 * gdb.threads/fork-thread-pending.exp: New.
6215
4ac36638
JK
62162009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6217
6218 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6219 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6220
889bf7c5 62212009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 6222
889bf7c5 6223 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 6224
b242c3c2
PA
62252009-05-17 Pedro Alves <pedro@codesourcery.com>
6226
6227 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6228 `gdb_get_line_number'. Call `callee' in both parent and child.
6229 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6230 `gdb_get_line_number' instead of hardcoding line numbers.
6231 (catch_fork_unpatch_child): New procedure to test detaching
6232 breakpoints from child fork.
6233 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6234 hardcoding line numbers.
6235 (do_fork_tests): Run `catch_fork_unpatch_child'.
6236
ee342b23
VP
62372009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6238
6239 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6240 of structure type enters or leaves the scope, it
6241 is reported by -var-update.
6242
e2009e98
DE
62432009-05-11 Doug Evans <dje@sebabeach.org>
6244
6245 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 6246 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
6247 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6248
00903456
JK
62492009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6250
6251 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6252
dc621c35
DE
62532009-04-30 Doug Evans <dje@google.com>
6254
6255 * gdb.threads/watchthreads2.exp: New testcase.
6256 * gdb.threads/watchthreads2.c: New testcase.
6257
9ab4e744
DE
62582009-04-29 Doug Evans <dje@google.com>
6259
6260 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6261 * gdb.cp/mb-ctor.cc: Ditto.
6262 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6263 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6264 * gdb.cp/mb-inline1.cc: Call it.
6265 * gdb.cp/mb-inline2.cc: Ditto.
6266 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6267 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6268
484086b7
JK
62692009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6270
6271 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6272 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6273 Replace all uses of `decimal' by `nonzero'.
6274 (info macro FROM_COMMANDLINE): New test.
6275
379a77b5
TT
62762009-04-27 Tom Tromey <tromey@redhat.com>
6277
6278 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6279
b92b73c2
DE
62802009-04-27 Doug Evans <dje@google.com>
6281
6282 * gdb.threads/watchthreads.c (main): Initialize args before starting
6283 the threads. Plus formatting cleanup.
6284 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6285 biased scheduling of one thread.
6286
945a118d
JG
62872009-04-27 Jerome Guitton <guitton@adacore.com>
6288
6289 * gdb.cp/templates.cc (GetMax): New template.
6290 (main): Declare two instances of GetMax.
6291 * gdb.cp/templates.exp: Add new test.
6292
d389af10
JK
62932009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6294
6295 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6296
e7f86de9
JM
62972009-04-22 Joseph Myers <joseph@codesourcery.com>
6298
6299 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6300
334cc82d
TT
63012009-04-15 Tom Tromey <tromey@redhat.com>
6302
6303 * gdb.base/charset.exp: Add regression test.
6304
d12672cc
JB
63052009-04-14 Joel Brobecker <brobecker@adacore.com>
6306
6307 * gdb.base/exe-lock.exp: New testcase.
6308
18e8c3bc
TT
63092009-04-13 Tom Tromey <tromey@redhat.com>
6310
6311 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6312 operator on Frame.
6313
5ecd5cbe
UW
63142009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6315
6316 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6317 * gdb.server/ext-attach.exp: Likewise.
6318
7309f756
VP
63192009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6320
6321 Eliminate some sleep usage.
6322
889bf7c5
PA
6323 * gdb.mi/basics.c (do_nothing): New.
6324 (main): Use do_nothing instead of printf, so that
6325 not to introduce race condition between output of
6326 inferiour and output of gdb. Do not use sleep as it
6327 is not generally available on embedded targets.
7309f756 6328
f4b95f6f
PA
63292009-04-02 Pedro Alves <pedro@codesourcery.com>
6330
6331 * gdb.server/ext-attach.exp: Expect an optional process id after
6332 "Detached from remote process".
6333
de40b933
JK
63342009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6335
6336 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6337 gdb.dwarf2/dw2-unresolved.exp: New.
6338
2ae101a4
PA
63392009-04-02 Pedro Alves <pedro@codesourcery.com>
6340
6341 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6342 mi_run_to_main.
6343
56a8e183
PA
63442009-04-02 Pedro Alves <pedro@codesourcery.com>
6345
6346 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6347 mi_run_to_main. Skip thread exit test on remote targets.
6348 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6349 mi_run_to_main.
6350 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6351 mi_run_to_main.
6352 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6353 when expecting ^connected. Detect when the target doesn't support
6354 non-stop mode.
6355 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6356 supported. Return -1 on error, 0 on success.
6357 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6358 (mi_runto): Return mi_runto_helper's result explicitly.
6359
c35fafde
PA
63602009-04-01 Pedro Alves <pedro@codesourcery.com>
6361
6362 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6363
f8a8dce6
JB
63642009-04-01 Tom Tromey <tromey@redhat.com>
6365
6366 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6367 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6368 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6369 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6370
71c25dea
TT
63712009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6372 Jan Kratochvil <jan.kratochvil@redhat.com>
6373
6374 PR gdb/931
6375 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6376 output.
6377 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6378 for gdb/931.
6379 * dw2-strp.S (DW_AT_language): Change to C++.
6380 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6381
02d9a9ce
JB
63822009-03-31 Joel Brobecker <brobecker@adacore.com>
6383
6384 * gdb.ada/tasks: New testcase.
6385
1042e4c0
SS
63862009-03-30 Stan Shebs <stan@codesourcery.com>
6387
6388 * gdb.trace/actions.exp: Update to match new info trace format.
6389 * gdb.trace/deltrace.exp: Ditto.
6390 * gdb.trace/infotrace.exp: Ditto.
6391 * gdb.trace/passcount.exp: Ditto.
6392 * gdb.trace/save-trace.exp: Ditto.
6393 * gdb.trace/while-stepping.exp: Ditto.
6394 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6395
f8f6f20b
TJB
63962009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6397
6398 * gdb.python/python-frame.c: New file.
6399 * gdb.python/python-frame.exp: New file.
6400
c0c6f777
TJB
64012009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6402
6403 * gdb.python/python-value.exp: Add tests for the address
6404 attribute.
6405
3cb51905
AS
64062009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6407
6408 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6409
88fc996f
DE
64102009-03-26 Doug Evans <dje@google.com>
6411
6412 * gdb.mi/mi-nonstop-exit.exp: New file.
6413 * gdb.mi/non-stop-exit.c: New file.
6414
56ef84b1
TT
64152009-03-26 Tom Tromey <tromey@redhat.com>
6416
6417 Update for change to prologue skipping:
6418 * gdb.mi/mi2-simplerun.exp: Update.
6419 * gdb.mi/mi2-break.exp: Update.
6420 * gdb.mi/mi-simplerun.exp: Update.
6421 * gdb.mi/mi-break.exp: Update.
6422 * gdb.base/ending-run.exp: Update.
6423
def2b000
TJB
64242009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6425
6426 * gdb.python/python-value.exp (test_value_in_inferior): Test
6427 gdb.Value.is_optimized_out attribute.
6428
442ddf59
JK
64292009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6430
6431 * gdb.dwarf2/dw2-noloc-main.c: New file.
6432 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6433 (.text): Remove.
6434 (.data): New.
6435 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6436 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6437 (DW_TAG_subprogram func_cu1, noloc): Remove.
6438 (main): New.
6439 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6440 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6441 (file_symbols): New procedure.
6442
a8df5de4
TT
64432009-03-25 Tom Tromey <tromey@redhat.com>
6444
6445 * gdb.base/charset.exp (valid_target_charset): New proc.
6446 Use it to skip tests on invalid charsets.
6447
cc1d7add
PM
64482009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6449
6450 * gdb.base/completion.exp: Add a test for directory completion.
6451
bcd5727b
JK
64522009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6453
6454 Fix a racy FAIL.
6455 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6456 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6457
cc924cad
TJB
64582009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6459
6460 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6461 * gdb.python/python-function.exp: Add test for function returning
6462 a GDB value.
6463
bc3b79fd
TJB
64642009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6465
6466 * gdb.python/python-function.exp: New file.
6467
6c7a06a3
TT
64682009-03-20 Tom Tromey <tromey@redhat.com>
6469
6470 * gdb.base/store.exp: Update for change to escape output.
6471 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6472 to escape output.
6473 * gdb.base/pointers.exp: Update for change to escape output.
6474 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6475 to escape output.
6476 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6477 escape output.
6478 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6479 to escape output.
6480 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6481 escape output.
6482 * gdb.base/setvar.exp: Update for change to escape output.
6483 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6484 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6485 to escape output.
6486 (test_print_string_constants): Likewise.
6487 * gdb.base/charset.exp (valid_host_charset): Check size of
6488 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6489 cases. Handle "auto"-related output.
6490 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6491 (uvar, Uvar): New globals.
6492
c31af87b
JG
64932009-03-19 Jerome Guitton <guitton@adacore.com>
6494
6495 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6496 deltas.
6497 * gdb.ada/fixed_points.exp: Ditto.
6498
51272cf2
PA
64992009-03-18 Pedro Alves <pedro@codesourcery.com>
6500
6501 * return-nodebug.c: Don't include stdio.h.
6502 (init): Delete.
6503 (func): Delete definition and provide extern declaration.
6504 (t): New.
6505 (main): Don't call printf. Call func and store its result in t.
6506 * return-nodebug1.c: New.
6507 * return-nodebug.exp: Don't expect stdio output. Instead, print
6508 the global variable t. Drop printf formatters and cast types from
6509 foreach loop. Don't use prepare_for_testing. Compile
6510 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6511 define FORMAT or CAST.
6512
d24948ac
PP
65132009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6514
6515 * gdb.base/solib-display.exp: Disable test for remote targers.
6516
61ff14c6
JK
65172009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6518
6519 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6520
cb4dce93
JK
65212009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6522
6523 Fix a racy FAIL.
6524 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6525 code from `follow parent, print pids'.
6526 (`follow child, print pids', `follow parent, print pids'): Call it.
6527 Replace `gdb_test "break..."' by gdb_breakpoint.
6528
f7c60c5e
VP
65292009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6530
6531 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 6532 sync and async modes.
f7c60c5e 6533
383ace49
JB
65342009-03-12 Joel Brobecker <brobecker@adacore.com>
6535
6536 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6537 that was checked in by mistake. Remove loading of ada.exp, since
6538 this is not necessary in this case.
6539
4ce102af
JB
65402009-03-12 Joel Brobecker <brobecker@adacore.com>
6541
6542 * gdb.ada/ptype_arith_binop.exp: New testcase.
6543
529a2aef
JB
65442009-03-12 Joel Brobecker <brobecker@adacore.com>
6545
6546 * gdb.ada/mod_from_name: New testcase.
6547
8a38181c
JB
65482009-03-12 Joel Brobecker <brobecker@adacore.com>
6549
6550 * gdb.ada/tick_last_segv: New testcase.
6551
11436dee
VP
65522009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6553
61ff14c6 6554 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 6555
1f31650a
VP
65562009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6557
61ff14c6
JK
6558 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6559 include the token in ^running and frame info in *stopped.
1f31650a 6560
a3247a22
PP
65612009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6562
6563 * solib-display.exp: New file.
6564 * solib-display-main.c: New file.
6565 * solib-display-lib.c: New file.
61ff14c6 6566
aae64587
PA
65672009-03-05 Pedro Alves <pedro@codesourcery.com>
6568
6569 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6570
44aabfbc
JK
65712009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6572
6573 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6574 (list_and_check_macro): Use more specific test name.
6575 (next to definition): Make the test names unique.
6576
c087fcd3
PM
65772009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6578
6579 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 6580
c86cf029
VP
65812009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6582
6583 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6584 notifications.
6585 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6586 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6587 * lib/mi-support.exp (library_loaded_re): New.
6588 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6589
3ea85240
VP
65902009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6591
6592 * gdb.gdb/observer.exp: Use test_notification observer, not
6593 normal_stop, everywhere.
6594 (test_normal_stop_notifications): Rename to...
6595 (test_notifications): ...this.
6596 (test_observer_normal_stop): Rename to...
6597 (test_observer): ...this.
6598
1903f0e6
DE
65992009-02-16 Doug Evans <dje@google.com>
6600
6601 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6602 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6603 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6604 (test_prefixed_syscall,test_int3): New tests.
6605 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6606 (test_prefixed_syscall,test_int3): New tests.
6607
1d33d6ba
VP
66082009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6609
3cb51905
AS
6610 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6611 (mi_expect_interrupt): Likewise.
6612 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6613 response.
1d33d6ba 6614
faafb047
PM
66152009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6616
6617 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6618 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6619 Replace calls to get_valueofx by get_hexadecimal_valueof.
6620
417e16e2
PM
66212009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6622
6623 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6624 (get_integer_valueof): New procedure.
6625 (get_sizeof): Use new get_integer_value_of.
6626 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6627 by get_integer_valueof.
6628
7065b901
TT
66292009-02-13 Tom Tromey <tromey@redhat.com>
6630
6631 * gdb.base/remote.exp (get_sizeof): Remove.
6632 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6633 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6634 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6635 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6636 (get_sizeof): Likewise.
6637
5d7cb8df
JK
66382009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6639
6640 PR fortran/9806
6641 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6642
b2febfff
PP
66432009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6644
6645 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6646
4aa995e1
PA
66472009-02-06 Pedro Alves <pedro@codesourcery.com>
6648
6649 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6650
d8906c6f
TJB
66512009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6652
6653 * gdb.python/python-cmd.exp: New file.
6654
ff4ab08d
TG
66552009-02-06 Tristan Gingold <gingold@adacore.com>
6656
6657 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6658
aacd552b
TG
66592009-02-05 Tristan Gingold <gingold@adacore.com>
6660
6661 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6662 pointer is dereferenced and use this signal name in regexp.
6663 * gdb.base/signull.exp: Ditto.
6664 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6665 * gdb.base/signull.c (main): Ditto.
6666
08c637de
TJB
66672009-02-04 Tom Tromey <tromey@redhat.com>
6668 Thiago Jung Bauermann <bauerman@br.ibm.com>
6669
6670 * gdb.python/python-value.exp: Use `gdb.history' instead of
6671 `gdb.value_from_history'.
6672 (test_value_numeric_ops): Add test for conversion of enum constant.
6673 * gdb.python/python-value.c (enum e): New type.
6674 (evalue): New global.
6675 (main): Use argv.
6676
20261af8
JG
66772009-02-04 Jerome Guitton <guitton@adacore.com>
6678
6679 * gdb.ada/uninitialized_vars: New test program.
6680 * gdb.ada/uninitialized_vars.exp: New testcase.
6681
52e44b43
TT
66822009-02-02 Tom Tromey <tromey@redhat.com>
6683
6684 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6685 * gdb.cp/pr2489.cc: Rename...
6686 * gdb.cp/pr9594.cc: ... to this.
6687
1c71341a
TT
66882009-02-02 Tom Tromey <tromey@redhat.com>
6689
6690 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6691 * gdb.cp/pr2489.cc: New file.
6692 * gdb.cp/cpcompletion.exp: New file.
6693
a4295225
TT
66942009-02-02 Tom Tromey <tromey@redhat.com>
6695
6696 PR exp/9059:
6697 * gdb.cp/call-c.exp: Add regression test.
6698 * gdb.cp/call-c.cc (FooHandle): New typedef.
6699 (main): New variable 'handle'.
6700
592375cd
VP
67012009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6702
6703 * lib/mi-support.exp (et_mi_thread_list)
6704 (check_mi_and_console_threads): Adjust for current thread in
6705 -thread-list-ids output.
6706
41447f92
VP
67072009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6708
889bf7c5
PA
6709 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6710 Call it.
41447f92 6711
35669430
DE
67122009-01-28 Doug Evans <dje@google.com>
6713
6714 * gdb.arch/amd64-disp-step.S: New file.
6715 * gdb.arch/amd64-disp-step.exp: New file.
6716 * gdb.arch/i386-disp-step.S: New file.
6717 * gdb.arch/i386-disp-step.exp: New file.
6718
09f00d9a
PM
67192009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6720
6721 * gdb.base/find.exp: Set newline variable
6722 using quotes instead of braces to fix cygwin failures.
6723
1e8fb976
PA
67242009-01-23 Pedro Alves <pedro@codesourcery.com>
6725
6726 * gdb.base/radix.exp: Add tests to ensure that that set
6727 input-radix 0 and set output-radix 0 are really rejected.
6728
da061712
PA
67292009-01-23 Pedro Alves <pedro@codesourcery.com>
6730
6731 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6732 copyright years.
6733
dd7e2d2b
PA
67342009-01-23 Pedro Alves <pedro@codesourcery.com>
6735
6736 PR gdb/9664:
6737 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6738
392452f6
PA
67392009-01-22 Pedro Alves <pedro@codesourcery.com>
6740
6741 PR c++/9631:
6742 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6743
8653e71c
PM
67442009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6745
6746 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6747 binfile definition to fix Windows OS failure.
6748
a12cc160
DJ
67492009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6750
6751 PR gdb/9346
6752 * gdb.base/interrupt.c (sigint_handler): New.
6753 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6754 on error.
6755 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6756 Test "signal SIGINT".
6757
b89667eb
DE
67582009-01-19 Doug Evans <dje@google.com>
6759
6760 * gdb.base/break.exp: Update expected gdb output.
6761 * gdb.base/sepdebug.exp: Ditto.
6762 * gdb.mi/mi-syn-frame.exp: Ditto.
6763 * gdb.mi/mi2-syn-frame.exp: Ditto.
6764 * gdb.base/call-signal-resume.exp: New file.
6765 * gdb.base/call-signals.c: New file.
6766 * gdb.base/unwindonsignal.exp: New file.
6767 * gdb.base/unwindonsignal.c: New file.
6768 * gdb.threads/interrupted-hand-call.exp: New file.
6769 * gdb.threads/interrupted-hand-call.c: New file.
6770 * gdb.threads/thread-unwindonsignal.exp: New file.
6771
adb483fe
DJ
67722009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6773
6774 * gdb.base/define.exp: Test defining and hooking prefix commands.
6775 * gdb.python/python.exp: Update test for "show user" output.
6776
60023297
JK
67772009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6778
6779 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6780 now the output exactly, using less wildcards. Expect also the output
6781 of gfortran-4.3. Update for the f-valprint.c modification from
6782 2008-04-22.
6783 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6784 Remove gdb_test test names where matching the command.
6785
ccc57cf9
PA
67862009-01-01 Pedro Alves <pedro@codesourcery.com>
6787
6788 PR breakpoints/9681:
6789 * gdb.base/watchpoint.exp: Add regression test.
6790
c7a6ca08
PA
67912008-12-31 Pedro Alves <pedro@codesourcery.com>
6792
6793 * gdb.threads/attach-into-signal.exp: Don't use
6794 gdb_suppress_entire_file.
6795 * gdb.threads/attach-stopped.exp: Ditto.
6796 * gdb.threads/attachstop-mt.exp: Ditto.
6797
3a031f65
PA
67982008-12-31 Pedro Alves <pedro@codesourcery.com>
6799
6800 PR gdb/8812:
6801 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6802
09e6485f
PA
68032008-12-29 Pedro Alves <pedro@codesourcery.com>
6804
6805 PR gdb/7536:
6806 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6807 and unsupported output radices are really rejected.
6808
0cd53049
JK
68092008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6810
6811 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6812
ba163c7e
TT
68132008-12-22 Tom Tromey <tromey@redhat.com>
6814
6815 * gdb.cp/punctuator.exp: New file.
6816
6f4de6c9
JK
68172008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6818
6819 * gdb.base/completion.exp (Completing non-existing component): New test.
6820
0f34d0b4
JK
68212008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 Fix for PR gdb/8648.
6824 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6825 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6826 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6827 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6828
db2ad4c3
JK
68292008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6830
6831 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6832
bb5ef15e
DP
68332008-12-16 Christophe Lyon <christophe.lyon@st.com>
6834
6835 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6836 compiler actually generate code at the expected line number.
6837
90142adc
JZ
68382008-12-15 Jie Zhang <jie.zhang@analog.com>
6839
6840 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6841
fad6eecd
TT
68422008-12-12 Tom Tromey <tromey@redhat.com>
6843
6844 * gdb.base/commands.exp (redefine_hook_test): New proc.
6845 Call it.
6846
17c8aaf5
TT
68472008-12-11 Tom Tromey <tromey@redhat.com>
6848
6849 * gdb.base/macscp.exp: New regression test.
6850
7c8adf68
TT
68512008-12-11 Tom Tromey <tromey@redhat.com>
6852
6853 * gdb.base/macscp.exp: Print "address.addr".
6854 * gdb.base/macscp1.c (struct outer): New struct.
6855 (address): New global.
6856
b05dcbb7
TT
68572008-12-09 Tom Tromey <tromey@redhat.com>
6858
6859 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6860 Call it.
6861
2d476de1
DE
68622008-12-04 Doug Evans <dje@google.com>
6863
6864 * gdb.server/ext-run.exp: Relax regexp for init program.
6865
87bdc959
TG
68662008-12-03 Tristan Gingold <gingold@adacore.com>
6867
6868 * gdb.base/macscp.exp: Generate an object file during compilation
6869 to work around Darwin dsymutil limitations.
6870
e0740f77
JK
68712008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6872
6873 Test resolving external references to TLS variables.
6874 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6875 FILE2_THREAD_LOCAL.
6876 (testfile2, srcfile2): New variables.
6877 * gdb.threads/tls.c (file2_thread_local)
6878 (function_referencing_file2_thread_local): New.
6879 * gdb.threads/tls2.c: New file.
6880
67f0aac5
JB
68812008-11-28 Joel Brobecker <brobecker@adacore.com>
6882
6883 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
6884 rather than integer, as integer might not be big enough when
6885 on 64bit targets.
67f0aac5 6886
c332165e
JG
68872008-11-27 Jerome Guitton <guitton@adacore.com>
6888
6889 * gdb.cp/formatted-ref.exp: Add equality test.
6890 * gdb.ada/formatted_ref.exp: Ditto.
6891
fc9b693c
JK
68922008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6893
6894 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6895 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6896
a9c64011
AS
68972008-11-20 Andreas Schwab <schwab@suse.de>
6898
6899 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6900 matching syscall entry point.
6901 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6902 (tcatch_vfork_then_child_follow): Likewise. Finish through
6903 vfork even if we stopped at the syscall trampoline.
6904
e2fd701e
DE
69052008-11-20 Doug Evans <dje@google.com>
6906
6907 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6908
69abc51c
TJB
69092008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6910
6911 * gdb.arch/ppc-dfp.exp: New file.
6912 * gdb.arch/ppc-dfp.c: New file.
6913
c14c28ba
PP
69142008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6915
6916 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 6917
2e74121d
DE
69182008-11-17 Doug Evans <dje@google.com>
6919
6920 * gdb.mi/mi-syn-frame.exp: Update expected output.
6921 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6922
66bb093b
VP
69232008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6924
6925 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
6926 "thread N" results in =thread-selected.
6927 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6928 (mi_send_resuming_command_raw): Be prepared for
6929 =thread-selected.
6930
3d043ef6
VP
69312008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6932
a9c64011
AS
6933 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6934 * lib/mi-support.exp: Likewise.
3d043ef6 6935
808104c8
JB
69362008-11-16 Joel Brobecker <brobecker@adacore.com>
6937
6938 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6939 commands from the expected output for "help catch".
6940
00b22944
JB
69412008-11-15 Joel Brobecker <brobecker@adacore.com>
6942
6943 * gdb.ada/int_deref.exp: New testcase.
6944
59669435
TT
69452008-11-14 Nick Roberts <nickrob@snap.net.nz>
6946
6947 * gdb.mi/gdb2549.exp: New file.
6948
de04a248
DE
69492008-11-11 Doug Evans <dje@google.com>
6950
6951 * gdb.base/callexit.exp: New file.
6952 * gdb.base/callexit.c: New file.
6953
6b8ce727
DE
69542008-11-10 Doug Evans <dje@google.com>
6955
6956 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6957 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6958 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6959 (default_gdb_start,default_gdb_exit): Ditto.
6960 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6961 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6962 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6963 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6964 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6965 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6966
1b14b8aa
AS
69672008-11-03 Andreas Schwab <schwab@suse.de>
6968
6969 * gdb.base/hashline2.exp: Fix typo.
6970 * gdb.base/hashline3.exp: Likewise.
6971
f3134b88
TT
69722008-10-30 Tom Tromey <tromey@redhat.com>
6973
6974 * gdb.base/pointers.exp: Add test.
6975 * gdb.base/pointers.c (k, S): New typedefs.
6976 (instance): New global.
6977
c2226152
AS
69782008-10-30 Andreas Schwab <schwab@suse.de>
6979
6980 * gdb.base/args.exp: Add tests for newlines.
6981
462f405c
JB
69822008-10-30 Joel Brobecker <brobecker@adacore.com>
6983
6984 gdb.base/foll-exec.exp: Update the expected output of a couple
6985 of "info breakpoints" tests.
6986
79a45b7d
TT
69872008-10-28 Tom Tromey <tromey@redhat.com>
6988
6989 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6990
adc13a14
PA
69912008-10-24 Pedro Alves <pedro@codesourcery.com>
6992
6993 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6994 gdb_start_cmd.
6995 Use runto_main before any test that requires execution.
6996
252fbfc8
PA
69972008-10-23 Pedro Alves <pedro@codesourcery.com>
6998
6999 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7000 instead of SIGINT.
7001
28148e3d
JB
70022008-10-22 Joel Brobecker <brobecker@adacore.com>
7003
7004 * gdb.base/completion.exp: Update expected output following
7005 the addition of the "info tasks" command.
7006
c209f847
TT
70072008-10-22 Tom Tromey <tromey@redhat.com>
7008
7009 * gdb.base/exprs.exp (test_expr): Add test for string
7010 concatenation.
7011
f177e350
PA
70122008-10-19 Pedro Alves <pedro@codesourcery.com>
7013
7014 * configure.ac: Output gdb.python/Makefile.
7015 * configure: Regenerate.
7016 * gdb.python/Makefile.in: New.
7017
cce89356
JB
70182008-10-16 Joel Brobecker <brobecker@adacore.com>
7019
7020 * gdb.base/foll-fork.exp: Adjust the expected output to match
7021 the new description for fork/vfork catchpoints in the "info
7022 breakpoints" output.
7023
176d289d
TJB
70242008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7025
7026 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7027
a08702d6
TJB
70282008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7029
7030 * gdb.python/python-value.c: New file.
7031 * gdb.python/python-value.exp: New file.
7032
1c5cfe86
PA
70332008-10-15 Pedro Alves <pedro@codesourcery.com>
7034
7035 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7036
5a98ad69
DP
70372008-10-15 Denis Pilat <denis.pilat@st.com>
7038
41702f1b 7039 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7040
dcb1a1e2
TT
70412008-10-09 Tom Tromey <tromey@redhat.com>
7042
7043 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7044 'fprintf' and 'stderr'.
7045
9124fe48
JB
70462008-10-07 Joel Brobecker <brobecker@adacore.com>
7047
7048 * gdb.ada/ref_tick_size.exp: New testcase.
7049
45452591
DE
70502008-10-06 Doug Evans <dje@google.com>
7051
7052 * gdb.dwarf2/dw2-cu-size.exp: New file.
7053 * gdb.dwarf2/dw2-cu-size.S: New file.
7054
7055 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7056 .Ltype_int for clarity.
7057
4fc5b208
PP
70582008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7059
7060 PR gdb/2384:
7061 * gdb.cp/gdb2384.exp: Extended to test more cases.
7062 * gdb.cp/gdb2384.cc: Likewise.
7063 * gdb.cp/gdb2384-base.h: Likewise.
7064 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7065
d78df370
JK
70662008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7067
7068 * gdb.base/maint.exp (maint print type): Remove printing
7069 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7070
9a044a89
TT
70712008-09-30 Tom Tromey <tromey@redhat.com>
7072
7073 * gdb.base/macscp.exp: Add completion tests.
7074 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7075 (TWENTY_THREE): Likewise.
7076 (FORTY_EIGHT): Likewise.
7077
506800a9
TT
70782008-09-30 Tom Tromey <tromey@redhat.com>
7079
7080 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7081 everywhere.
7082 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7083
1a6f01b5
JK
70842008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7085
7086 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7087 testcase is derived from. Fix racy dependency on an expected PID
7088 number. No longer support the testcase on Linux kernel 2.4.x.
7089
2fae03e8
TT
70902008-09-27 Tom Tromey <tromey@redhat.com>
7091
7092 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7093 and varargs.
7094
1ad15515
PA
70952008-09-22 Pedro Alves <pedro@codesourcery.com>
7096
7097 * lib/mi-support.exp (mi_expect_interrupt): New.
7098 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7099 from gdb.mi/mi-nonstop.exp.
7100 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7101 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7102 lib/mi-support.exp.
7103 Use mi_check_thread_states throughout. Avoid ".*" and do not
7104 require an anchor after -exec-run.
7105
d0b76dc6
DJ
71062008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7107
7108 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7109 stop is pending. Avoid ".*" when two stops are pending.
7110 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7111 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7112 newlines in fullnames.
7113 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7114 (mi_expect_stop): Update comments. Only anchor in sync mode.
7115 Do not match newlines.
7116 (mi_send_resuming_command_raw): Always return status.
7117 (mi_get_stop_line): Do not match more than one line by accident.
7118 Only anchor in sync mode.
7119 (mi_run_inline_test): If -exec-next fails, give up.
7120
9990c830
UW
71212008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7122
7123 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7124 on SPU.
7125
ebcf6f00
JB
71262008-09-10 Joel Brobecker <brobecker@adacore.com>
7127
7128 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7129
b6db24e5
JB
71302008-09-10 Joel Brobecker <brobecker@adacore.com>
7131
7132 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7133 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7134 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7135 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7136 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7137 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7138 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7139 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7140 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7141 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7142 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7143 Include the "= " sequence in the expected output of print tests.
7144
2bf448e0
JB
71452008-09-10 Joel Brobecker <brobecker@adacore.com>
7146
7147 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7148 description for boolean types.
7149
d51fd4c8
PA
71502008-09-09 Pedro Alves <pedro@codesourcery.com>
7151
7152 * gdb.base/hook-stop-continue.c: New.
7153 * gdb.base/hook-stop-continue.exp: New.
7154
694182d2
DJ
71552008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7156
7157 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7158
3b8a7fc0
JG
71592008-09-08 Jerome Guitton <guitton@adacore.com>
7160
7161 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7162 (stack_check_probe_2, stack_check_probe_loop_1)
7163 (stack_check_probe_loop_2): New functions.
7164 (main): Add call to these new functions.
7165 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7166 functions, check that the breakpoint is inserted at the appropriate
7167 location.
7168 (insert_breakpoint): Slightly refine this procedure so that it can
7169 be called several times in the test.
7170
96cc0ae8
JG
71712008-09-08 Jerome Guitton <guitton@adacore.com>
7172
7173 * gdb.base/stack-checking.c: New file.
7174 * gdb.base/stack-checking.exp: New file.
7175
1f08b409
TJB
71762008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7177
7178 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7179 * gdb.arch/altivec-regs.exp: Likewise.
7180 * gdb.arch/vsx-regs.exp: Likewise.
7181
3099e1c4
TJB
71822008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7183
7184 * gdb.arch/ppc-fp.exp: New file.
7185 * gdb.arch/ppc-fp.c: New file.
7186
cc69bfc1
PP
71872008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7188
7189 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7190 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 7191
b02a33db
MS
71922008-09-04 Michael Snyder <msnyder@vmware.com>
7193
7194 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7195 as "at" (for non-debug functions such as _start).
7196
2992cbe0
UW
71972008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7198
7199 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7200 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7201 software watchpoints.
7202 * gdb.base/watch_thread_num.exp: Likewise.
7203
514f746b
AR
72042008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7205
7206 * gdb.arch/i386-bp_permanent.exp: New test.
7207
876cecd0
TT
72082008-08-24 Tom Tromey <tromey@redhat.com>
7209
7210 * gdb.base/maint.exp: Update "maint print type".
7211
80f73d71
VP
72122008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7213
7214 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7215 support. Adjust the order of "*running" notifications.
7216 * gdb.mi/non-stop.c: Don't cast from int to void* and
7217 back.
7218
d9c78d7d
MK
72192008-08-20 Mark Kettenis <kettenis@gnu.org>
7220
7221 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7222 expect to find it in the "info frame" output.
7223
97a2d1d3
DJ
72242008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7225
7226 * gdb.base/interp.exp: Always consume both prompts.
7227
b96e2927
PA
72282008-08-20 Pedro Alves <pedro@codesourcery.com>
7229
7230 * gdb.base/pending.exp: Test pending breakpoints without symbols
7231 loaded.
7232
8cf6e61a
VP
72332008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7234
7235 * lib/mi-support.exp (mi_expect_stop): Produce
7236 more details on failures.
7237 * gdb.mi/mi-nonstop.exp: New.
7238 * gdb.mi/non-stop.c: New.
7239
c6ebd6cf
VP
72402008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7241
a9c64011
AS
7242 * gdb.mi/mi-async.exp: Use 'set target-async'.
7243 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 7244
46a9b8ed
DJ
72452008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7246
7247 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7248
44feb3ce
TT
72492008-08-17 Tom Tromey <tromey@redhat.com>
7250
7251 * gdb.base/help.exp (help catch): Rewrite.
7252
311a4e6b
TJB
72532008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7254
7255 * gdb.base/define.exp: Test indented command documentation.
7256 * gdb.python/python.exp: Test indented multi-line command.
7257
604c2f83
LM
72582008-08-15 Luis Machado <luisgpm@br.ibm.com>
7259
7260 * testsuite/gdb.arch/vsx-regs.c: New source file.
7261 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7262 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7263
886a217c
TT
72642008-08-14 Tom Tromey <tromey@redhat.com>
7265
7266 * gdb.base/macscp.exp: Add regression test for "macro define" or
7267 "macro undef" with no arguments.
7268
c814a4f3
PP
72692008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7270
7271 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 7272
12ab8a60
UW
72732008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7274
7275 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7276
d57a3c85
TJB
72772008-08-06 Tom Tromey <tromey@redhat.com>
7278
7279 * gdb.python/python.exp: New file.
7280
c7b778ff
JK
72812008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7282
7283 Fix for PR gdb/1543.
7284 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7285 $LOCATION.
7286 (location): New variable.
7287 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7288 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7289 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7290 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7291 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7292 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7293 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7294 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7295 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7296 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7297 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7298 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7299 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7300 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7301 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7302 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7303 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7304 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7305 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7306 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7307 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7308 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7309 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7310 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7311 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7312 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7313 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7314 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7315 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7316 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7317 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7318 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7319 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7320 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7321 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7322 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7323 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7324 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7325 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7326 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7327 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7328 gdb.base/type-opaque.exp, gdb.base/until.exp,
7329 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7330 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7331 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7332 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7333 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7334 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7335 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7336 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7337 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7338 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7339 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7340 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7341 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7342 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7343 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7344 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7345 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7346 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7347 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7348 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7349 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7350 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7351 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7352 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7353 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7354 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7355 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7356 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7357 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7358 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7359 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7360 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7361 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7362 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7363 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7364 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7365 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7366 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7367 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7368 to bug-gdb@prep.ai.mit.edu .
7369
5e06a3d1
VP
73702008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7371
7372 * lib/mi-support.exp (mi_load_shlibs): New.
7373 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7374
9d81d21b
VP
73752008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7376
7377 * lib/mi-support.exp (get_mi_thread_list)
7378 (check_mi_and_console_threads): New, moved from ...
7379 * gdb.mi/mi-pthread.exp: ...here.
7380 * gdb.mi/gdb669.exp (get_mi_thread_list)
7381 (check_mi_and_console_threads): Delete.
7382 * gdb.mi/mi2-pthread.exp: Likewise.
7383
bae98fe0
TT
73842008-07-28 Tom Tromey <tromey@redhat.com>
7385
7386 * Makefile.in (just-check): Remove. Move body to...
7387 (check): ... here.
7388
57380f4e
DJ
73892008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7390
7391 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7392 Add a test for duplicated SIGINTs.
7393
e09490f1
DJ
73942008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7395
7396 * gdb.threads/schedlock.exp (get_args): Update to work for any
7397 value of NUM.
7398 (Top level): Report the number of threads that did not resume.
7399
6387b45f
DJ
74002008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7401
7402 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7403
62f64ff2
DJ
74042008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7405
7406 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7407 non-MI prompt.
7408
fa8de41e
TT
74092008-07-26 Tom Tromey <tromey@redhat.com>
7410
7411 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7412 (function_struct, function_struct_ptr): New globals.
7413 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7414 function pointer in a struct.
7415
ccb3ac8a
TT
74162008-07-26 Tom Tromey <tromey@redhat.com>
7417
7418 * gdb.base/macscp.exp: Add test for macro lexing bug.
7419
d7d9f01e
TT
74202008-07-18 Tom Tromey <tromey@redhat.com>
7421
7422 * gdb.base/macscp.exp: Add macro tests.
7423
9bf07184
PP
74242008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7425
7426 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7427
becf6477
PP
74282008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7429
7430 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7431
0709f7d3
PP
74322008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7433
7434 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 7435
7093c834
PP
74362008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7437
7438 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 7439
b432ffe3
JK
74402008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7441
7442 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7443
b1a268e5
VP
74442008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7445
7446 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7447
e2995f8e
KB
74482008-07-11 Kevin Buettner <kevinb@redhat.com>
7449
7450 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7451 of regexp to account for changes made to GDB in the printing of
7452 byte vectors.
7453
14032a66
TT
74542008-07-11 Tom Tromey <tromey@redhat.com>
7455
7456 * gdb.base/completion.exp: Add 'help' completion test.
7457
981505ef
JK
74582008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7459
7460 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7461
10568435
JK
74622008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7463
7464 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7465
4487aabf
PA
74662008-07-09 Pedro Alves <pedro@codesourcery.com>
7467
7468 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7469
a4a9b1c4
PA
74702008-07-09 Pedro Alves <pedro@codesourcery.com>
7471
7472 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7473
3c3185ac
JK
74742008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7475
7476 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7477
7ebd49dc
VP
74782008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7479
7480 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7481 previous commit. Add a comment.
7482
84e46146
PA
74832008-06-28 Pedro Alves <pedro@codesourcery.com>
7484
7485 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7486
0f8d4a2f
VP
74872008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7488
7489 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7490
f747e0ce
PA
74912008-06-27 Pedro Alves <pedro@codesourcery.com>
7492
7493 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7494 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7495 compiling an executable, link in an object that forces unbuffered
7496 output.
7497 * lib/set_unbuffered_mode.c: New file.
7498
734a5c36
JK
74992008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7500
7501 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7502
a2840c35
VP
75032008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7504
a9c64011
AS
7505 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7506 mi_expect_stop.
7507 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7508 Demand that *running is output.
7509 (detect_async): Perform checking every time.
7510 (mi_send_resuming_command): Extract everything into...
7511 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
7512 (mi_expect_stop): Don't accept any output before *stopped.
7513
6ae37fef
VP
75142008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7515
7516 Robustify mi-simplerun.
a9c64011
AS
7517 * gdb.mi/basics.c (main): Add a call to sleep.
7518 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7519 * gdb.mi/mi2-cli.exp: Likewise.
7520 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 7521
b4aa76f0 75222008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
7523
7524 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7525
e1ac3328
VP
75262008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7527
a9c64011
AS
7528 * gdb.mi/mi-console.exp: Adjust.
7529 * gdb.mi/mi-syn-frame.exp: Adjust.
7530 * gdb.mi/mi2-console.exp: Adjust.
7531 * gdb.mi/mi2-syn-frame.exp: Adjust.
7532 * lib/mi-support.exp (mi_run_cmd): Adjust.
7533 (mi_send_resuming_command): Adjust.
e1ac3328 7534
f7f9a841
VP
75352008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7536
7537 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
7538 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7539 testing of stopped.
7540 * gdb.mi/mi2-syn-frame.exp: Likewise.
7541 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7542 (async, detect_async): New.
7543 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7544 depending on if we're running in sync or async mode.
f7f9a841 7545
37cd5d19
TT
75462008-06-09 Tom Tromey <tromey@redhat.com>
7547
7548 * gdb.base/completion.exp: New tests for field name completion
7549 with spaces, and field name completion with '->'.
7550
65d12d83
TT
75512008-06-06 Tom Tromey <tromey@redhat.com>
7552
7553 * gdb.base/break1.c (struct some_struct): New struct.
7554 (values): New global.
7555 * gdb.base/completion.exp: Add field name completion test.
7556
ebfe2e3f
PP
75572008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7558
7559 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7560 to pointer.
7561 * gdb.cp/call-c.cc: Likewise.
7562
bcf6fc3a
NR
75632008-06-06 Nick Roberts <nickrob@snap.net.nz>
7564
7565 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7566 annotation.
7567
49fd4a42 75682008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 7569 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
7570
7571 * gdb.threads/execl.c, gdb.threads/execl1.c,
7572 gdb.threads/execl.exp: New tests.
a9c64011 7573
8a34ac3f
AR
75742008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7575 Daniel Jacobowitz <dan@codesourcery.com>
7576
7577 * gdb.cp/exception.exp: Activate test, make it work with pending
7578 catchpoints.
7579
86ae69ef
JK
75802008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7581
7582 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7583
f7f9ae2c
VP
75842008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7585
a9c64011
AS
7586 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7587 now printed.
7588 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 7589
2a2d4dc3
AS
75902008-05-27 Andreas Schwab <schwab@suse.de>
7591
7592 * gdb.base/frame-args.exp: Handle arguments that are optimized
7593 out.
7594
5099e4d9
LM
75952008-05-26 Luis Machado <luisgpm@br.ibm.com>
7596
7597 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7598 quiet for ppc32 and group options into a single variable.
7599
d9c36a91
JB
76002008-05-23 Joel Brobecker <brobecker@adacore.com>
7601
7602 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7603 of zero-size elements.
7604 * gdb.ada/null_array.exp: Test printing this new array.
7605
103a8671
JK
76062008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7607
7608 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7609
07a4cc1a 76102008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
7611
7612 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7613 of the "finish" command.
7614
55f996a7
NR
76152008-05-21 Nick Roberts <nickrob@snap.net.nz>
7616
7617 * gdb.base/annota1.exp: Test for new annotation.
7618
907fc202
UW
76192008-05-16 Pedro Alves <pedro@codesourcery.com>
7620
7621 * gdb.base/fixsection.exp: New file.
7622 * gdb.base/fixsection0.c: New file.
7623 * gdb.base/fixsection1.c: New file.
7624
e8f97270
UW
76252008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7626
7627 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7628 * gdb.base/annota3.exp: Likewise.
7629
ac0bb574
NF
76302008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7631
7632 * gdb.base/watch_thread_num.exp: Don't run tests that require
7633 watchpoints if the target doesn't support them.
7634
6fadd07a
DE
76352008-05-12 Doug Evans <dje@google.com>
7636
7637 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7638
6e9a4a30
JB
76392008-05-09 Joel Brobecker <brobecker@adacore.com>
7640
7641 * gdb.ada/assign_1.exp: New testcase.
7642
08388c79
DE
76432008-05-09 Doug Evans <dje@google.com>
7644
a3c83fae
DE
7645 * gdb.base/find.exp: New file.
7646 * gdb.base/find.c: New file.
08388c79 7647
bd5ddfe8
DJ
76482008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7649
7650 * gdb.base/commands.exp (watchpoint_command_test): Handle
7651 gdb,no_hardware_watchpoints.
7652 * gdb.base/float.exp: Allow ARM targets without floating point.
7653 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7654
b5dd68e2 76552008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 7656 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
7657
7658 * gdb.ada/lang_switch: New test program.
7659 * gdb.ada/lang_switch.exp: New testcase.
7660
382d13d1
DE
76612008-05-05 Doug Evans <dje@google.com>
7662
7663 * gdb.base/help.exp (disassemble): Update expected help text.
7664
9dd789d0
PA
76652008-05-04 Pedro Alves <pedro@codesourcery.com>
7666
7667 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7668
611c83ae
PA
76692008-05-04 Pedro Alves <pedro@codesourcery.com>
7670
7671 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7672 different times.
7673
ff013f42
JK
76742008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7675
7676 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7677 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7678 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7679 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7680
96dff6a2
VP
76812008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7682
7683 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7684 notification to appear.
7685
55cd6f92
DJ
76862008-05-04 Daniel Jacobowitz <dan@debian.org>
7687
7688 * gdb.base/fullname.c: New file.
7689 * gdb.base/fullname.exp: New file.
7690 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7691
d705c43c
PA
76922008-05-03 Pedro Alves <pedro@codesourcery.com>
7693
7694 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7695 expressions with macros.
7696
333222e1
JK
76972008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7698
7699 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7700
5ac01682
DJ
77012008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7702
7703 * gdb.base/completion.exp: Handle lack of other symbols beginning
7704 with "a".
7705
7706 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7707
237fc4c9
PA
77082008-05-02 Jim Blandy <jimb@codesourcery.com>
7709
7710 * gdb.asm/asmsrc1.s: Add scratch space.
7711
ed5e9466
DJ
77122008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7713 Daniel Jacobowitz <dan@codesourcery.com>
7714
7715 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7716 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7717 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7718
b39cc962
DJ
77192007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7720
7721 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7722
36d520f5
JB
77232008-05-01 Joel Brobecker <brobecker@adacore.com>
7724
7725 * gdb.base/info-target.exp: New testcase.
7726
8d4e3071
DJ
77272008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7728
7729 * gdb.cp/hang.exp: Use .cc instead of .C.
7730 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7731 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7732
6f3f3097
DJ
77332008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7734
7735 * gdb.base/gdb1250.exp: Remove perror.
7736 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7737
5550a914
PA
77382008-04-30 Pedro Alves <pedro@codesourcery.com>
7739
7740 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7741 .2byte.
7742
d848e687
DJ
77432008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7744
7745 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7746 (maybe_kfail): New.
7747
93b5768b
PA
77482008-04-25 Pedro Alves <pedro@codesourcery.com>
7749
7750 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7751
721c02de
VP
77522008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7753
a9c64011
AS
7754 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7755 * gdb.mi/mi2-syn-frame.exp: Likewise.
7756 * lib/mi-support.exp: Likewise.
721c02de 7757
74960c60
VP
77582008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7759
7760 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7761 to specify regexp for the location to stop at.
7762 * gdb.base/break-always.c: New.
7763 * gdb.base/break-always.exp: New.
7764
d24317b4
VP
77652008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7766
7767 * lib/mi-support.exp (mi_runto_helper): Adjust
7768 for the original-location field.
7769 (mi_create_breakpoint, mi_list_breakpoints): New.
7770 * gdb.mi/mi-break.exp: Adjust.
7771 * gdb.mi/mi2-break.exp: Adjust.
7772 * gdb.mi/mi-pending.exp: Adjust.
7773 * gdb.mi/mi-simplerun.exp: Adjust.
7774 * gdb.mi/mi2-simplerun.exp: Adjust.
7775 * gdb.mi/mi-syn-frame.exp: Adjust.
7776 * gdb.mi/mi2-syn-frame.exp: Adjust.
7777 * gdb.mi/mi-until.exp: Adjust.
7778 * gdb.mi/mi2-until.exp: Adjust.
7779 * gdb.mi/mi-var-display.exp: Adjust.
7780 * gdb.mi/mi2-var-display.exp: Adjust.
7781 * gdb.mi/mi-watch.exp: Adjust.
7782 * gdb.mi/mi2-watch.exp: Adjust.
7783
fdc59709 77842008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 7785
a9c64011
AS
7786 * aclocal.m4: Add override.m4.
7787 * configure: Regenerate.
fdc59709 7788
8e91f023
VP
77892008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7790
7791 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7792 '-var-update --all-values' reports new value even the type
7793 of a variable object has changed.
7794
233a11ab
CS
77952008-04-18 Craig Silverstein <csilvers@google.com>
7796
7797 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7798 files.
d24317b4 7799
9c1137ad
JB
78002008-04-18 Joel Brobecker <brobecker@adacore.com>
7801
7802 * gdb.ada/atomic_enum: New test program.
7803 * gdb.ada/atomic_enum.exp: New testcase.
7804
66d0bbc7
DE
78052008-04-17 Doug Evans <dje@google.com>
7806
7807 * gdb.opt/Makefile.in: Fix whitespace.
7808
100906b0
UW
78092008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7810
7811 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7812
4584e32e
DE
78132008-04-17 Doug Evans <dje@google.com>
7814
7815 * gdb.base/hashline1.exp: New testcase.
7816 * gdb.base/hashline2.exp: New testcase.
7817 * gdb.base/hashline2.exp: New testcase.
7818
0a320680
PA
78192008-04-17 Pedro Alves <pedro@codesourcery.com>
7820
7821 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7822
18ac113b
AR
78232008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7824
7825 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7826 temporary breakpoint to match "Temporary breakpoint".
7827 * gdb.base/break.exp (delete_breakpoints): Likewise.
7828 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7829 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7830 * gdb.base/display.exp: Likewise.
7831 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7832 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7833 * gdb.base/restore.exp (restore_tests): Likewise.
7834 * gdb.base/sepdebug.exp: Likewise.
7835 * gdb.base/watchpoint.exp: Likewise.
7836 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7837 * gdb.mi/mi-pending.exp: Likewise.
7838 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7839 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7840 * gdb.mi/mi-var-cmd.exp: Likewise.
7841 * gdb.mi/mi-var-display.exp: Likewise.
7842 * gdb.mi/mi2-cli.exp: Likewise.
7843 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7844 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7845 * gdb.mi/mi2-var-display.exp: Likewise.
7846 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7847 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7848 new "disp" field.
a9c64011 7849 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
7850 reason. This is to support fix for PR2424.
7851
add38693
JK
78522008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7853
7854 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7855
fcacd99f
VP
78562008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7857
7858 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 7859 field. Add more floating varobj tests.
fcacd99f 7860 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
7861 field.
7862 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7863 (main): Call do_at_tests.
7864 * lib/mi-support.exp (mi_create_floating_varobj)
7865 (mi_varobj_update_with_type_change): New.
fcacd99f 7866
de051565
MK
78672008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7868
7869 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7870 option of -var-evaluate-expression.
7871 * gdb.mi/mi2-var-display.exp: Likewise.
7872
dbc52822
VP
78732008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7874
7875 Introduce test setup helpers.
a9c64011
AS
7876 * lib/gdb.exp (build_executable, clean_restart)
7877 (prepare_for_testing): New.
7878 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7879 * gdb.base/return.exp: Likewise.
7880 * gdb.base/ending-run.exp: Likewise.
dbc52822 7881
473591da
NR
78822008-04-07 Nick Roberts <nickrob@snap.net.nz>
7883
7884 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7885 Interface (MI) responses.
7886
2b2d9e11
VP
78872008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7888
a9c64011
AS
7889 * gdb.cp/breakpoint.cc: New code to test conditions involving
7890 member variables.
7891 * gdb.cp/breakpoint.exp: Test condition involving member
7892 variables.
2b2d9e11 7893
bb378428
VP
78942008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7895
7896 * lib/mi-support.exp (mi_expect_stop): New.
7897 (mi_run_cmd): Change the
7898 token. Use mi_send_resuming_command, use
7899 mi_expect_stop.
7900 (mi_execute_to_helper): Rename to mi_execute_to.
7901 (mi_send_resuming_command): Add more error patterns.
7902 (mi_wait_for_stop): Renamed to...
7903 (mi_get_stop_line): ...this.
7904 (mi_run_inline_test): Adjust.
7905
7906 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7907 * gdb.mi/mi-console.exp: Likewise.
7908 * gdb.mi/mi-pending.exp: Likewise.
7909 * gdb.mi/mi-simplerun.exp: Likewise.
7910 * gdb.mi/mi-stack.exp: Likewise.
7911 * gdb.mi/mi-stepi.exp: Likewise.
7912 * gdb.mi/mi-syn-frame.exp: Add comment.
7913 * gdb.mi/mi-until.exp: Likewise.
7914 * gdb.mi/mi-var-display.exp: Likewise.
7915 * gdb.mi/mi-watch.exp: Likewise.
7916 * gdb.mi/mi2-cli.exp: Likewise.
7917 * gdb.mi/mi2-console.exp: Likewise.
7918 * gdb.mi/mi2-simplerun.exp: Likewise.
7919 * gdb.mi/mi2-stack.exp: Likewise.
7920 * gdb.mi/mi2-stepi.exp: Likewise.
7921 * gdb.mi/mi2-until.exp: Likewise.
7922 * gdb.mi/mi2-var-display.exp: Likewise.
7923 * gdb.mi/mi2-watch.exp: Likewise.
7924
62172bb9
UW
79252008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7926
7927 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7928
7929 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7930
a13e061a
PA
79312008-04-04 Pedro Alves <pedro@codesourcery.com>
7932
7933 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7934 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7935 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7936 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7937 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7938 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7939 expect an mi error duplicated in stderr.
7940
eae06beb
JB
79412008-04-03 Joel Brobecker <brobecker@adacore.com>
7942
7943 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7944 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7945 Add a couple of tests that verify the behavior when the new setting
7946 is set to "cancel" and "all".
7947 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7948 "ask" before we start the testing.
7949
79c6ced6
AR
79502008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7951
7952 * gdb.cp/casts.cc: Add class reference variables.
7953 * gdb.cp/casts.exp: New test cases for up/down casting references.
7954
6c2d1a6b
MK
79552008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7956
7957 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7958 instead of beginning to make an extra test pass.
7959 * gdb.mi/mi2-var-display.exp: Likewise.
7960
55b411d9
MR
79612008-03-31 Maciej W. Rozycki <macro@mips.com>
7962
7963 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7964
c6140da2
MD
79652008-03-31 Markus Deuling <deuling@de.ibm.com>
7966 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7967
7968 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7969 value. Add xfail for older kernels.
7970
79732189
AR
79712008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7972
7973 Bring mi-support in line with gdb.exp.
7974 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7975 (mi_gdb_start): New function.
7976
33c3676e
MR
79772008-03-28 Maciej W. Rozycki <macro@mips.com>
7978
7979 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7980
92e28119
VP
79812008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7982
7983 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7984 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 7985
9e8e3afe
VP
79862008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7987
7988 * lib/mi-support.exp (mi_create_varobj_checked): New.
7989 (mi_list_varobj_children): Allow to check for a
7990 value.
7991 (mi_list_array_varobj_children): New.
7992
7993 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7994 and mi_list_varobj_children, as opposed to hardcoding
7995 expected strings.
7996 * gdb.mi/gdb701.exp: Likewise.
7997 * gdb.mi/gdb792.exp: Likewise.
7998 * gdb.mi/mi-var-block.exp: Likewise.
7999 * gdb.mi/mi-var-cmd.exp: Likewise.
8000 * gdb.mi/mi-var-invalidate.exp: Likewise.
8001 * gdb.mi/mi2-var-block.exp: Likewise.
8002 * gdb.mi/mi2-var-child.exp: Likewise.
8003 * gdb.mi/mi2-var-cmd.exp: Likewise.
8004 * gdb.mi/mi2-var-display.exp: Likewise.
8005
9df50351
JK
80062008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8007
8008 Fix random false FAILs on i386.
8009 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8010
31e5d73a
DJ
80112008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8012
8013 PR gdb/544
8014 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8015
12f4afab
DJ
80162008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8017
8018 PR gdb/544
8019 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8020
b562a0cb
DJ
80212008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8022
8023 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8024 fixed PR gdb/544.
8025
17faa917
DJ
80262008-03-21 Pedro Alves <pedro@codesourcery.com>
8027
8028 * gdb.threads/fork-child-threads.exp: Test next over fork.
8029
6214f497
DJ
80302008-03-21 Chris Demetriou <cgd@google.com>
8031
8032 * gdb.base/break.exp (rbreak junk): New test for rbreak
8033 "Junk at end of arguments" issue.
8034
63092375
DJ
80352008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8036
8037 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8038 *& to work on created array elements.
8039 (Top level): Test print $pc with a file. Test string operations
8040 without a target.
8041 * gdb.base/ptype.exp: Do not expect *& to work on created array
8042 elements.
8043
b21991b0
DJ
80442008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8045
8046 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8047 gdb.threads/staticthreads.exp: Update exit query.
8048
c4b347c7
SL
80492008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8050
8051 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8052
fa4727a6
DJ
80532008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8054
8055 * gdb.base/watchpoint.c (global_ptr, func4): New.
8056 (main): Call func4.
8057 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8058 (test_inaccessible_watchpoint): New.
8059
2f34202f
MR
80602008-02-29 Maciej W. Rozycki <macro@mips.com>
8061
8062 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8063 select the largest.
8064
0d6ba1b1
DJ
80652008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8066
8067 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8068 frames-invalid annotations.
8069
e691325a
PM
80702008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8071
a9c64011 8072 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8073
f85b5ecc
DE
80742008-02-27 Doug Evans <dje@google.com>
8075
8076 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8077 for bug 1738.
8078 (breakpoint_to_handler_entry): Ditto.
8079
b40e7bf3
JB
80802008-02-27 Joel Brobecker <brobecker@adacore.com>
8081
8082 * gdb.base/ending-run.exp: Use the first line of code inside
8083 function body to test breakpoints.
8084 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8085 location where the breakpoint is inserted when using the line
8086 where a function is declared. Fix typo in the description of
8087 one of the tests.
8088 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8089
2faca73a
PM
80902008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8091
8092 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 8093 tests.
2faca73a 8094
6f439c36
PM
80952008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8096
8097 * gdb.base/args.exp: avoid same output for tests
8098 with single quotes.
8099
54e52265
VP
81002008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8101
a9c64011
AS
8102 * gdb.base/annota1.exp: Adjust for 'info break'
8103 format changes.
8104 * gdb.base/annota3.exp: Likewise.
8105 * gdb.base/break.exp: Likewise.
8106 * gdb.base/condbreak.exp: Likewise.
8107 * gdb.base/pending.exp: Likewise.
8108 * gdb.base/sepdebug.exp: Likewise.
8109 * gdb.base/unload.exp: Likewise.
8110 * gdb.cp/ovldbreak.exp: Likewise.
8111 * gdb.mi/mi-pending.exp: Likewise.
54e52265 8112
897b09ca
DE
81132008-02-07 Doug Evans <dje@google.com>
8114
8115 * gdb.cp/mb-inline.exp: New.
8116 * gdb.cp/mb-inline.h: New.
8117 * gdb.cp/mb-inline1.cc: New.
8118 * gdb.cp/mb-inline2.cc: New.
8119
b1c32d35
PM
81202008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8121
8122 * gdb.pascal/floats.pas: New test program.
8123 * gdb.pascal/floats.exp: New testcase.
8124
1a4ca44a
TJB
81252008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8126
8127 * gdb.base/callfuncs.c (t_float_many_args): New function.
8128 (t_double_many_args): New function.
8129 * gdb.base/callfuncs.exp: Add tests for exceeding float
8130 and double parameters passed through the stack.
8131
439048e8
JB
81322008-02-05 Joel Brobecker <brobecker@adacore.com>
8133
8134 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8135 gdb.ada/complete/foo.adb: New files.
8136 * gdb.ada/complete.exp: New testcase.
8137
81fe8080
DE
81382008-02-03 Doug Evans <dje@google.com>
8139
301f0ecf
DE
8140 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8141
81fe8080
DE
8142 * gdb.cp/gdb2384.exp: New file.
8143 * gdb.cp/gdb2384.cc: New file.
8144 * gdb.cp/gdb2384-base.h: New file.
8145 * gdb.cp/gdb2384-base.cc: New file.
8146
4b071aec
DE
81472008-02-02 Doug Evans <dje@google.com>
8148
8149 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8150
61137ba6
JB
81512007-02-01 Joel Brobecker <brobecker@adacore.com>
8152
8153 * gdb.ada/sym_print_name: New test program.
8154 * gdb.ada/sym_print_name.exp: New testcase.
8155
81562007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
8157
8158 * gdb.ada/nested/hello.adb: New file.
8159 * gdb.ada/nested.exp: New testcase.
8160 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8161
98deb0da
VP
81622008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8163
8164 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
8165 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8166 don't cause future evaluations of function to report
8167 creation of internal breakpoints.
98deb0da 8168
723a2275
VP
81692008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8170
8171 * gdb.mi/mi-break.exp (test_error): New.
8172 Call it.
8173
fb546a2f
LM
81742008-01-31 Luis Machado <luisgpm@br.ibm.com>
8175
8176 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8177 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8178
2d8fd90a
PM
81792008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8180
8181 * gdb.pascal/integers.pas: New test program.
8182 * gdb.pascal/integers.exp: New testcase.
8183
a7fa0ded
PM
81842008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8185
8186 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8187
5e1a1926
TJB
81882008-01-30 Luis Machado <luisgpm@br.ibm.com>
8189
8190 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8191 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8192
8d04f9f0
JB
81932008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8194
8195 * gdb.ada/formatted_ref: New test program.
8196 * gdb.ada/formatted_ref.exp: New testcase.
8197
8198 * gdb.cp/formatted-ref.cc: New file.
8199 * gdb.cp/formatted-ref.exp: New testcase.
8200
ce75a98f
JB
82012008-01-30 Joel Brobecker <brobecker@adacore.com>
8202
8203 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8204
e835f6bf
NR
82052008-01-30 Nick Roberts <nickrob@snap.net.nz>
8206
8207 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8208 (test_file_list_exec_source_file): Update to new macro-info field.
8209
d118ef87
PH
82102008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8211
8212 * gdb.ada/exprs: New test program.
8213 * gdb.ada/exprs.exp: New testcase.
8214
7d35ab09
TJB
82152008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8216
8217 * dfp-test.c (DELTA, DELTA_B): New definitions.
8218 (double_val1, double_val2, double_val3, double_val4, double_val5,
8219 double_val6, double_val7, double_val8, double_val9, double_val10,
8220 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8221 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8222 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8223 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8224 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8225 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8226 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8227 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8228 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8229 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8230 dec128_val16): New global variables.
8231 (decimal_dec128_align): New function.
8232 (decimal_mixed): Likewise.
8233 (decimal_many_args_dec32): Likewise.
8234 (decimal_many_args_dec64): Likewise.
8235 (decimal_many_args_dec128): Likewise.
8236 (decimal_many_args_mixed): Likewise.
8237 * dfp-test.exp: Add tests calling new inferior functions.
8238
2d717e4f
DJ
82392008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8240
8241 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8242 gdb.server/ext-run.exp: New files.
8243 * lib/gdbserver-support.exp (gdbserver_download): New.
8244 (gdbserver_start): New. Update gdbserver expected
8245 output.
8246 (gdbserver_spawn): Use them.
8247 (gdbserver_start_extended): New.
8248
e85a822c
DJ
82492008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8250
8251 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8252 Run on GNU/Linux.
8253 (do_exec_tests): Check for systems which do not support catchpoints.
8254 Do not match START.
8255 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8256 Run on GNU/Linux. Enable verbose output.
8257 (check_fork_catchpoints): New.
8258 (explicit_fork_child_follow, catch_fork_child_follow)
8259 (tcatch_fork_parent_follow): Update expected messages.
8260 (do_fork_tests): Use check_fork_catchpoints.
8261 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8262 Run on GNU/Linux. Enable verbose output.
8263 (check_vfork_catchpoints): New.
8264 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8265 expected messages.
8266 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8267
401ea829
JB
82682008-01-29 Jim Blandy <jimb@red-bean.com>
8269
8270 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8271 host' errors.
8272 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8273
aceaf3ad
JB
82742008-01-29 Jim Blandy <jimb@red-bean.com>
8275
8276 * gdb.threads/sigthread.c: Use barriers to ensure that
8277 child_thread and child_thread_two are always initialized before we
8278 start to use them.
8279
a5606eee
VP
82802008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8281
8282 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
8283 * gdb.base/watchpoint-solib.c: New.
8284 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 8285
c55a82bb
PM
82862008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8287
8288 * gdb.base/gdb1056.exp: Add unsigned integer test.
8289
0993fe05
DE
82902008-01-28 Doug Evans <dje@google.com>
8291
8292 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8293
4fe42e7f
JB
82942008-01-27 Jim Blandy <jimb@codesourcery.com>
8295
c7a69933
JB
8296 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8297
4fe42e7f
JB
8298 * gdb.base/expand-psymtabs.exp: Doc fix.
8299
5def8285
MK
83002008-01-26 Mark Kettenis <kettenis@gnu.org>
8301
8302 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8303
5313c911
NR
83042008-01-24 Nick Roberts <nickrob@snap.net.nz>
8305
a9c64011 8306 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
8307 -var-set-format.
8308
93815fbf
VP
83092008-01-23 Chris Demetriou <cgd@google.com>
8310
8311 * gdb.threads/thread_events.c: New testcase source file.
8312 * gdb.threads/thread_events.exp: New testcase expect file.
8313
467a88ee
NR
83142008-01-23 Nick Roberts <nickrob@snap.net.nz>
8315
8316 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
8317
8318 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
8319 -var-set-format.
8320
d8f82aba
DJ
83212008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8322 Vladimir Prus <vladimir@codesourcery.com>
8323
8324 * gdb.base/float.exp: Allow missing floating point for m68k and
8325 PowerPC.
8326
60c46647
VP
83272008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8328
8329 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
8330 ignore count.
8331 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8332 * gdb.mi/mi-cli.exp: Adjust.
8333 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 8334
c7dd36a1
PA
83352008-01-17 Pedro Alves <pedro@codesourcery.com>
8336
8337 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8338 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8339 with dummy_ptr's address.
8340 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8341 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8342 all targets.
8343 * gdb.mi/mi2-var-child.exp: Likewise.
8344
39d5313e
JB
83452008-01-09 Joel Brobecker <brobecker@adacore.com>
8346
8347 * gdb.ada/null_array: New test program.
8348 * gdb.ada/null_array.exp: New testcase.
8349
0aea4bf3
LM
83502008-01-09 Luis Machado <luisgpm@br.ibm.com>
8351
8352 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8353 with required float modifiers.
8354
0b354900
JB
83552008-01-08 Joel Brobecker <brobecker@adacore.com>
8356
8357 * gdb.ada/funcall_param: New test program.
8358 * gdb.ada/funcall_param.exp: New testcase.
8359
cdb7f5d4
JB
83602008-01-08 Joel Brobecker <brobecker@adacore.com>
8361
8362 * gdb.ada/arrayparam: New test program.
8363 * gdb.ada/arrayparam.exp: New testcase.
8364
88e2547f
JB
83652008-01-08 Joel Brobecker <brobecker@adacore.com>
8366
8367 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8368 landed. Should also fix random failures in the test following it.
8369
f6867ce0
TJB
83702008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8371
8372 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8373 for expressions with decimal float values.
8374 (test_dfp_conversions): New function to test casts to and from
8375 decimal float types.
8376 Call test_dfp_conversions.
8377 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8378 elements.
8379 (main): Initialize ds.float4 and ds.double8 elements.
8380 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8381 string to new error message.
8382 (d64_set_tests): Likewise.
8383 (d128_set_tests): Likewise.
8384 Add tests for expressions with decimal float variables. Add tests for
8385 conversions to and from decimal float types.
8386
f9c11282
JB
83872008-01-05 Joel Brobecker <brobecker@adacore.com>
8388
8389 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8390 * gdb.ada/packed_tagged.exp: New testcase.
8391
0ecbca72
JB
83922008-01-04 Joel Brobecker <brobecker@adacore.com>
8393
8394 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8395 gdb.ada/homonym/homonym_main.adb: New files.
8396 * gdb.ada/homonym.exp: New testcase.
8397
c18d3d89
JB
83982008-01-04 Joel Brobecker <brobecker@adacore.com>
8399
8400 * gdb.ada/packed_array.exp: Add testing of references to
8401 a packed array.
8402
ecc7085b
JB
84032008-01-04 Joel Brobecker <brobecker@adacore.com>
8404
8405 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8406 New files.
8407 * gdb.ada/type_coercion.exp: New testcase.
8408
c474c922
JB
84092008-01-04 Joel Brobecker <brobecker@adacore.com>
8410
8411 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8412 gdb.ada/tagged/foo.adb: New file.
8413 * gdb.ada/tagged.exp: New testcase.
8414
9005b927
JB
84152008-01-04 Joel Brobecker <brobecker@adacore.com>
8416
8417 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8418 gdb.ada/ptype_field/foo.adb: New files.
8419 * gdb.ada/ptype_field.exp: New testcase.
8420
1a6aaad8
JB
84212008-01-03 Joel Brobecker <brobecker@adacore.com>
8422
8423 * gdb.ada/print_pc.exp: New testcase.
8424
0ef22f53
JB
84252008-01-03 Joel Brobecker <brobecker@adacore.com>
8426
8427 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8428 gdb.ada/taft_type/p.adb: New files.
8429 * gdb.ada/taft_type.exp: New testcase.
8430
1689ecf8
JB
84312008-01-03 Joel Brobecker <brobecker@adacore.com>
8432
8433 * gdb.ada/array_bounds/bar.adb: New file.
8434 * gdb.ada/array_bounds.exp: New testcase.
8435
a4d0b9c3
JB
84362008-01-03 Joel Brobecker <brobecker@adacore.com>
8437
8438 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8439 gdb.ada/arrayptr/foo.adb: New files.
8440 * gdb.ada/arrayptr.exp: New testcase.
8441
a31ace00
JB
84422008-01-03 Joel Brobecker <brobecker@adacore.com>
8443
8444 * gdb.base/set-lang-auto.exp: New testcase.
8445
a97fced3
JB
84462008-01-03 Joel Brobecker <brobecker@adacore.com>
8447
8448 * gdb.ada/fun_addr/foo.adb: New file.
8449 * gdb.ada/fun_addr.exp: New testcase.
8450
ef29ce1a
JK
84512008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8452
8453 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8454 New files
8455
0fafefe3
JB
84562008-01-02 Joel Brobecker <brobecker@adacore.com>
8457
8458 * array_subscript_addr/p.adb: New file.
a9c64011 8459 * array_subscript_addr.exp: New testcase.
0fafefe3 8460
c4359f8d
JB
84612008-01-02 Joel Brobecker <brobecker@adacore.com>
8462
a9c64011 8463 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
8464 New files.
8465 * gdb.ada/str_cmp_ref.exp: New testcase.
8466
1aa1b15b
JB
84672008-01-01 Joel Brobecker <brobecker@adacore.com>
8468
8469 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8470 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 8471 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 8472
81c9b2cf
JB
84732008-01-01 Joel Brobecker <brobecker@adacore.com>
8474
8475 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8476 gdb.ada/ref_param/pck.ads: New files.
8477 * gdb.ada/ref_param.exp: New testcase.
8478
319e4674
JB
84792008-01-01 Joel Brobecker <brobecker@adacore.com>
8480
8481 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8482 gdb.ada/interface/foo.adb: New files.
8483 * gdb.ada/interface.exp: New testcase.
8484
ef682c56
JB
84852007-12-31 Jim Blandy <jimb@codesourcery.com>
8486
8487 * gdb.base/multi-forks.exp: Consume all output from child
8488 processes before proceeding to next test.
8489
f6f3eb6c
JB
84902007-12-29 Jim Blandy <jimb@codesourcery.com>
8491
8492 * configure: Regenerated.
8493
f652e42f
JB
84942007-12-27 Joel Brobecker <brobecker@adacore.com>
8495
8496 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8497 gdb.ada/fixed_cmp/fixed.adb: New files.
8498 * gdb.ada/fixed_cmp.exp: New testcase.
8499
6943e596
JB
85002007-12-27 Joel Brobecker <brobecker@adacore.com>
8501
8502 * gdb.ada/boolean_expr.exp: New testcase.
8503
aad9a193
JB
85042007-12-26 Jim Blandy <jimb@codesourcery.com>
8505
8506 * gdb.base/multi-forks.exp: Doc fix.
8507
fb5f3683
JB
85082007-12-26 Joel Brobecker <brobecker@adacore.com>
8509
8510 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8511 * gdb.ada/char_param.exp: Do not compile our test program with
8512 -gnata, this is unnecessary.
8513 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8514
384e4a9c
JB
85152007-12-24 Joel Brobecker <brobecker@adacore.com>
8516
8517 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8518 gdb.ada/print_chars/foo.adb: New files.
8519 * gdb.ada/print_chars.exp: New testcase.
8520
01e044f7
JB
85212007-12-24 Joel Brobecker <brobecker@adacore.com>
8522
8523 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8524 gdb.ada/char_param/foo.adb: New files.
8525 * gdb.ada/char_param.exp: New testcase.
8526
0ce17860
JB
85272007-12-22 Jim Blandy <jimb@codesourcery.com>
8528
8529 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8530 hard-coding source line numbers into the test.
8531 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8532 gdb_get_line_number to find.
8533
919809b9
JB
85342007-12-22 Joel Brobecker <brobecker@adacore.com>
8535
8536 * gdb.base/ptype.c (highest): New struct type.
8537 (the_highest): New variable of that type.
8538 (main): Add dummy assignment to a field of variable the_highest.
8539 * gdb.base/ptype.exp: Test type printing of our new variable.
8540
abc8a88d
PM
85412007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8542
8543 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 8544 and record first explicitly generated thread number.
abc8a88d
PM
8545 Use that thread number for thread specific watchpoint test.
8546 Add iteration number to repetitive tests.
8547
5158f3e3
CES
85482007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8549 Jim Blandy <jimb@codesourcery.com>
8550
8551 * gdb.base/expand-psymtabs.c: New testcase
8552 source file.
8553 * gdb.base/expand-psymtabs.exp: New testcase
8554 expect file.
8555
37e4754d
LM
85562007-12-17 Luis Machado <luisgpm@br.ibm.com>
8557
8558 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8559 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8560
551e5d04
JB
85612007-12-17 Joel Brobecker <brobecker@adacore.com>
8562
8563 * gdb.ada/frame_args/foo.adb: New file.
8564 * gdb.ada/frame_args/pck.ads: New file.
8565 * gdb.ada/frame_args/pck.adb: New file.
8566 * gdb.ada/frame_args.exp: New testcase.
8567
a05ee097
JB
85682007-12-17 Joel Brobecker <brobecker@adacore.com>
8569
8570 * gdb.base/frame-args.c: New file.
8571 * gdb.base/frame-args.exp: New testcase.
8572
c162e8c9 85732007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 8574 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
8575
8576 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8577
afe8ab22 85782007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8579
afe8ab22
VP
8580 * gdb.mi/mi-pending.exp: New.
8581 * gdb.mi/mi-pending.c: New.
8582 * gdb.mi/mi-pendshr.c: New.
8583
dfdfb3ca
JB
85842007-12-06 Jim Blandy <jimb@codesourcery.com>
8585
8586 * gdb.base/default.exp: Update expected output for 'info catch'.
8587
b7fca990
JK
85882007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8589
8590 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8591 must be set to binary.
8592
6a1afc1e
PA
85932007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8594
8595 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8596
a6b151f1
DJ
85972007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8598
8599 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8600 gdb.mi/mi-file-transfer.exp: New.
8601
43039443
JK
86022007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8603
8604 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8605
0ef2251b
MR
86062007-11-22 Maciej W. Rozycki <macro@mips.com>
8607
8608 * gdb.trace/backtrace.exp: Fix a typo.
8609 * gdb.trace/circ.exp: Likewise.
8610 * gdb.trace/collection.exp: Likewise.
8611 * gdb.trace/limits.exp: Likewise.
8612 * gdb.trace/report.exp: Likewise.
8613 * gdb.trace/tfind.exp: Likewise.
8614 * gdb.trace/while-dyn.exp: Likewise.
8615
5443631e
NR
86162007-11-21 Nick Roberts <nickrob@snap.net.nz>
8617
8618 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8619 objects of pointers that can't be dereferenced are now
8620 "noneditable".
8621
a4ce5b0d
UW
86222007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8623
8624 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8625 (target_cpu): Remove.
8626
d6e956e5
VP
86272007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8628
8629 * gdb.base/ending-run.exp: Expect the list of cleared
8630 breakpoint to come in natural order, not the reversed one.
a9c64011 8631
214270ab
VP
86322007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8633
8634 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8635 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 8636
1a619819
LM
86372007-11-05 Luis Machado <luisgpm@br.ibm.com>
8638
8639 * gdb.base/printcmds.exp: New function
8640 test_printf_with_dfp.
8641
5b01a6fa
DE
86422007-11-02 Doug Evans <dje@google.com>
8643
8644 * gdb.disasm/t01_mov.s: Remove carriage returns.
8645 * gdb.disasm/t02_mova.s: Ditto.
8646 * gdb.disasm/t03_add.s: Ditto.
8647 * gdb.disasm/t04_sub.s: Ditto.
8648 * gdb.disasm/t05_cmp.s: Ditto.
8649 * gdb.disasm/t06_ari2.s: Ditto.
8650 * gdb.disasm/t07_ari3.s: Ditto.
8651 * gdb.disasm/t08_or.s: Ditto.
8652 * gdb.disasm/t09_xor.s: Ditto.
8653 * gdb.disasm/t10_and.s: Ditto.
8654 * gdb.disasm/t11_logs.s: Ditto.
8655 * gdb.disasm/t12_bit.s: Ditto.
8656 * gdb.disasm/t13_otr.s: Ditto.
8657
ec33ab7f
JK
86582007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8659
8660 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8661
ae0d01ff
UW
86622007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8663
8664 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8665 provide DFP support.
8666
55eddb0f
DJ
86672007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8668
8669 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8670 Test "set powerpc vector-abi". Skip auto-detection tests for old
8671 toolchains.
8672
7020f05c
PA
86732007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8674
8675 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8676 with [string compare].
8677
84bc3db9
PA
86782007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8679
8680 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8681 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8682
5876dc88
LM
86832007-10-25 Luis Machado <luisgpm@br.ibm.com>
8684
8685 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8686 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8687 * gdb.opt/Makefile.in: New makefile.
8688 * Makefile.in: Create new directory "gdb.opt".
8689 * configure.ac: Add "gdb.opt" directory.
8690 * configure: Regenerated.
a9c64011 8691
c3ea9a14
DE
86922007-10-25 Doug Evans <dje@google.com>
8693
8694 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8695 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8696
a9c64011 86972007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
8698 Thiago Jung Bauermann <bauerman@br.ibm.com>
8699
8700 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8701 Floating Point expressions.
8702 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8703 Floating Point variables.
8704 * gdb.base/dfp-test.c: new file containing program with Decimal
8705 Floating variables, used by gdb.base/dfp-test.exp.
8706
62a24a2b
DJ
87072007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8708
8709 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8710
e7b1eae6
UW
87112007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8712
8713 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8714 compiling test case with GCC.
8715 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8716
c641edcc
UW
87172007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8718
8719 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8720 format changes.
8721
5e5ebfe6
MS
87222007-10-18 Michael Snyder <msnyder@specifix.com>
8723
8724 * gdb.base/dbx.exp: Add missing "-re " operator.
8725
e831e7b6
GM
87262007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8727
8728 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8729 * configure.ac: Removed trailing spaces after backslash.
8730 * gdb.modula2: New directory.
8731 * gdb.modula2/Makefile.in: New file.
8732 * gdb.modula2/unbounded-array.exp: New file.
8733 * gdb.modula2/unbounded1.c: New file.
8734
7cc46491
DJ
87352007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8736
8737 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8738
87392007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
8740
8741 * gdb.base/sigstep.c (main): Add checks for
8742 return values for setitimer call.
8743 Call setitimer again with itimer = ITIMER_REAL
8744 if first call to setitimer fails.
8745
e91528f0
KH
87462007-10-11 Kazu Hirata <kazu@codesourcery.com>
8747
8748 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8749 of $timeout.
8750
2ec9a4f8
DJ
87512007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8752
8753 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8754
87552007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
8756
8757 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8758 of gdb_expect call, to avoid interruption.
8759
64b2fa04
PA
87602007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8761
8762 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8763 (v_unsigned_long_long, v_long_long_array)
8764 (v_signed_long_long_array, v_unsigned_long_long_array)
8765 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8766 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8767 [!NO_LONG_LONG]: New.
8768 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8769 v_long_long_member.
8770
8771 (v_long_long_func, v_signed_long_long_func)
8772 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8773 (main) [!NO_LONG_LONG]: Initialize long long variants.
8774
8775 * gdb.base/whatis.exp: If board file requests no_long_long, build
8776 test with NO_LONG_LONG defined. Test long long, signed long long,
8777 and unsigned long long variants but only if board file doesn't
8778 disable it.
8779
a912286e 87802007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 8781 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
8782
8783 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8784 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8785 * configure: Regenerated.
8786 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8787 gdb.pascal/types.exp, lib/pascal.exp: New files.
8788
471ba8c9
DJ
87892007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8790
8791 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8792 call.
8793 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8794 to return to the call.
8795 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8796 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8797 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8798 * gdb.mi/mi-until.exp (test_until): Likewise.
8799 * gdb.mi/mi2-until.exp (test_until): Likewise.
8800
fef8a650
DJ
88012007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8802
8803 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8804 two-char array.
8805 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8806
d983da9c
DJ
88072007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8808
8809 * gdb.threads/watchthreads.c (thread_function): Sleep between
8810 iterations.
8811 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8812 at once for S/390. Generate matching fails and passes.
8813
17f62551
VP
88142007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8815
8816 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8817 the 'struct_declarations' variable to zeros.
a9c64011 8818
ed0616c6
VP
88192007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8820
8821 * gdb.cp/mb-ctor.cc: New.
8822 * gdb.cp/mb-ctor.exp: New.
8823 * gdb.cp/mb-templates.cc: New.
8824 * gdb.cp/mb-templates.exp: New.
8825
41f1b697
DJ
88262007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8827
8828 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8829
3f213f78
PA
88302007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8831
8832 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8833 targets.
8834 * configure: Regenerate.
8835
0d381245 88362007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8837
0d381245
VP
8838 * gdb.base/annota1.exp: Adjust for 'info break'
8839 format changes.
8840 * gdb.base/annota3.exp: Likewise.
8841 * gdb.base/break.exp: Likewise.
8842 * gdb.base/condbreak.exp: Likewise.
8843 * gdb.base/pending.exp: Likewise.
8844 * gdb.base/sepdebug.exp: Likewise.
8845 * gdb.base/unload.exp: Likewise.
8846 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 8847
fe3f5fa8
VP
88482007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8849
8850 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8851 messages.
8852 * gdb.base/chng-syms.exp: Likewise.
8853 * gdb.base/unload.exp: Likewise.
a9c64011 8854
a75cf6c0
DJ
88552007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8856
8857 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8858
18ecae38
DJ
88592007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8860
8861 * schedlock.c (NUM): Change to 1.
8862 (main): Use args[0] for the main thread.
8863 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8864 regardless of the number of threads.
8865
5509918f
MR
88662007-09-14 Maciej W. Rozycki <macro@mips.com>
8867
4a543daf
MR
8868 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8869 type down.
8870 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8871 test.
8872 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8873 watchpoint type down.
8874 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8875 test.
8876
88772007-09-14 Maciej W. Rozycki <macro@mips.com>
8878
5509918f
MR
8879 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8880 Move all the tests here and run them twice, once using software
8881 watchpoints and once using hardware watchpoints.
8882 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8883
40b53987
DJ
88842007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8885
8886 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8887 test.
8888
695e2681
MK
88892007-09-10 Mark Kettenis <kettenis@gnu.org>
8890
8b3fc8d8
MK
8891 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8892 build-id.
8893
695e2681
MK
8894 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8895 know about $ORIGIN. Calculate output dir from $dest instead of
8896 using ${objdir}/{$subdir}.
8897
58d69f29
MK
88982007-09-09 Mark Kettenis <kettenis@gnu.org>
8899
8900 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8901 gcore, before continuing with the test.
8902
3e347599
DJ
89032007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8904
8905 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8906 * gdb.mi/mi-watch.exp: Likewise.
8907
ea37ba09
DJ
89082007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8909 Jim Blandy <jimb@codesourcery.com>
8910
8911 * gdb.arch/i386-sse.exp: Do not expect character constants.
8912 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8913 * gdb.base/display.exp: Allow print/s.
8914 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8915 and unsigned char array changes.
8916
2025a643
DJ
89172007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8918
8919 * gdb.base/display.exp: Add tests for printf %p.
8920
26669a27
PA
89212007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8922
8923 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8924 the dll name to unicode.
8925
c8f021f8
JK
89262007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8927
8928 * gdb.base/default.exp (show version): Update the version text.
8929 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8930
4cf31eea
JK
89312007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8932
8933 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8934 New files.
8935
4935890f
JK
89362007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8937
8938 * lib/gdb.exp (build_id_debug_filename_get): New function.
8939 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8940 Remove the generate DEBUG file for the future testcase runs.
8941 New testcase for the NT_GNU_BUILD_ID retrieval.
8942 Move the final testing step to ...
8943 (test_different_dir): ... a new function.
8944 New parameter XFAIL to XFAIL all the tests performed.
8945 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8946 New parameter TYPE to PF_PREFIX all the tests performed.
8947
02142340
VP
89482007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8949
8950 * gdb.mi/mi-var-cp.cc (path_expression): New
8951 function.
8952 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8953
36acd84e
UW
89542007-08-27 Markus Deuling <deuling@de.ibm.com>
8955
8956 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8957 to fit into SPU Local Store memory.
8958
a896d121
JB
89592007-08-23 Joel Brobecker <brobecker@adacore.com>
8960
8961 * gdb.base/default.exp: Adjust the expected output of "info
8962 warranty" after the switch to GPLv3.
8963
7b433602
JB
89642007-08-23 Joel Brobecker <brobecker@adacore.com>
8965
8966 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8967 to 30000 (from 20000).
8968
e22f8b7c
JB
89692007-08-23 Joel Brobecker <brobecker@adacore.com>
8970
8971 Switch the license of all .exp files to GPLv3.
8972 Switch the license of all .f and .f90 files to GPLv3.
8973 Switch the license of all .s and .S files to GPLv3.
8974
5a0e3bd0
JB
89752007-08-23 Joel Brobecker <brobecker@adacore.com>
8976
8977 * configure.ac: Switch license to GPLv3.
8978
cc00619d
JB
89792007-08-23 Joel Brobecker <brobecker@adacore.com>
8980
8981 Switch the licensing to GPLv3 for all .ads and .adb files.
8982
8d26208a
DJ
89832007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8984
8985 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8986 and t_int_double.
8987 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8988
4fcb9948
JB
89892007-08-17 Joel Brobecker <brobecker@adacore.com>
8990
8991 * gdb.base/step-line.c: Switch license to GPL version 3, and
8992 update copyright year.
8993 * gdb.base/step-line.inp: Likewise.
8994
b9c34f67
JB
89952007-08-17 Joel Brobecker <brobecker@adacore.com>
8996
8997 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8998 changes inside gdb1555.c.
8999 * gdb.base/pending.exp: Likewise.
9000
2cc17678
DJ
90012007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9002
9003 * config/default.exp: New file.
9004
e48883f7
DJ
90052007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9006
9007 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9008 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9009
1ab80e5b
MR
90102007-07-30 Maciej W. Rozycki <macro@mips.com>
9011
9012 * gdb.base/dump.exp: Force the correct endianness for binary
9013 formats not carrying this information.
9014
aba471f5
DJ
90152007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9016
9017 * gdb.threads/staticthreads.exp: Match .*sem_post.
9018
d4e07204
DJ
90192007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9020
9021 * gdb.base/readline.exp (operate_and_get_next): Match the final
9022 prompt.
9023
2b97317d
KB
90242007-07-23 Kevin Buettner <kevinb@redhat.com>
9025
9026 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9027 to restarting SID.
9028
44efa07a
KB
90292007-07-18 Kevin Buettner <kevinb@redhat.com>
9030
9031 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9032 prior to `gdb_start'.
9033
7b5ebade
KB
90342007-07-18 Kevin Buettner <kevinb@redhat.com>
9035
9036 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9037 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9038 Remove call to gdb_unload.
9039
255e7678
DJ
90402007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9041 Daniel Jacobowitz <dan@codesourcery.com>
9042
9043 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9044 for __WIN32__.
9045 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9046 * gdb.base/unload.exp: Use shared library test routines.
9047
3a40aaa0
UW
90482007-07-03 Markus Deuling <deuling@de.ibm.com>
9049
9050 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9051 * gdb.base/solib-symbol-lib.c: Likewise.
9052 * gdb.base/solib-symbol-main.c: Likewise.
9053
b0f4b84b
DJ
90542007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9055
9056 * config/gdbserver.exp (gdb_reconnect): New.
9057 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9058 gdb.base/solib-disc.exp: New files.
9059 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9060 remote debugging".
9061 (gdb_compile): Add shlib_load flag.
9062 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9063 port.
9064 (gdbserver_reconnect): New.
9065
1b05479a
DJ
90662007-07-01 Nick Roberts <nickrob@snap.net.nz>
9067 Daniel Jacobowitz <dan@codesourcery.com>
9068
9069 * gdb.base/annota3.exp: Test for if construct.
9070
86f78eb2
DJ
90712007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9072
9073 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9074
6a2eb474 90752007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9076 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9077
9078 * gdb.base/display.exp: Allow a newline after display/i.
9079 * gdb.base/pc-fp.exp: Likewise.
9080 * gdb.base/sigbpt.exp: Likewise.
9081
f8b73d13
DJ
90822007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9083
9084 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9085 required features to be included.
9086
4339e69e
DJ
90872007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9088
9089 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9090 in info threads output.
9091
23d964e7
UW
90922007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9093 Markus Deuling <deuling@de.ibm.com>
9094
9095 * gdb.arch/spu-info.exp: New testcase.
9096 * gdb.arch/spu-info.c: New file.
9097
fd20f75b
DJ
90982007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9099
9100 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9101 tpcs_offset. Restore lr after the call.
9102 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9103
2226f861
DJ
91042007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9105
9106 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9107 (gdbserver_run): Kill any running gdbserver.
9108 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9109
d12371a9
MR
91102007-05-17 Maciej W. Rozycki <macro@mips.com>
9111
9112 * gdb.base/sigbpt.exp: Preset segv_addr.
9113
93f02886
DJ
91142007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9115
9116 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9117 (gdb_compile_shlib): Likewise.
9118 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9119 (default_gdb_init): Clear cleanfiles.
9120 (gdb_finish): Delete recorded cleanfiles.
9121 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9122
9123 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9124 Do not use isnative.
9125 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9126 gdb.base/so-impl-ld.exp: Likewise.
9127 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9128 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9129 gdb_compile.
9130
b04e06d7
VP
91312007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9132
9133 * config/unknown.exp: Remove.
9134
069ed931
UW
91352007-05-15 Markus Deuling <deuling@de.ibm.com>
9136
9137 * gdb.base/info-proc.exp: Check is_remote.
9138
09db0d03
UW
91392007-05-14 Markus Deuling <deuling@de.ibm.com>
9140
9141 * gdb.base/gcore.exp: Initialize variable core_supported.
9142
af2cbe8c
DJ
91432007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9144
9145 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9146
027c0295
DJ
91472007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9148
9149 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9150 * gdb.threads/print-threads.exp (test_all_threads): Allow
9151 negative and hexadecimal thread IDs.
9152
dc5000e7
DJ
91532007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9154
9155 * gdb.java/jprint.java (public): Avoid invalid call to static
9156 method.
9157
2e74ed18
DP
91582007-05-14 Denis Pilat <denis.pilat@st.com>
9159
9160 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9161 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9162 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9163 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9164 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9165
83547f02
UW
91662007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9167
9168 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 9169 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
9170 this mode.
9171 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9172 * gdb.base/spu.ld: New file.
9173
b18be20d
DJ
91742007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9175
9176 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9177
be444858
DJ
91782007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9179
9180 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9181
b1d53152
DJ
91822007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9183
9184 * gdb.java/jmain.exp: Handle demangled names with and without method
9185 signatures.
9186
d084b331
DJ
91872007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9188
9189 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9190 (have_a_very_merry_interrupt): Remove calls to puts.
9191 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9192 inferior output.
9193 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9194 test names.
9195
db9d7fc5
DJ
91962007-04-29 Markus Deuling <deuling@de.ibm.com>
9197 Daniel Jacobowitz <dan@codesourcery.com>
9198
9199 * gdb.base/auxv.exp (core_works): Also check is_remote.
9200 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9201
ef783a7d 92022007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9203
ef783a7d
VP
9204 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9205 message, not the undefined 'module' variable.
9206 * gdb.base/siginfo.exp: Likewise.
9207 * gdb.base/sigstep.exp: Likewise.
9208 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9209 serialport.
9210 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9211
b7b73cae
CV
92122007-04-25 Corinna Vinschen <vinschen@redhat.com>
9213
9214 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9215 target sim fails. Return 0 otherwise.
9216 (gdb_load): Return prematurely if gdb_target_sim fails.
9217
7d90fdfa
DP
92182007-04-16 Denis Pilat <denis.pilat@st.com>
9219
9220 * gdb.base/setshow.exp: Reset height after having set it to 100.
9221
5d3e9c85
DP
92222007-04-16 Denis Pilat <denis.pilat@st.com>
9223
9224 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9225
18e75969
DP
92262007-04-16 Denis Pilat <denis.pilat@st.com>
9227
9228 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9229
25d5ea92
VP
92302007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9231
9232 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9233 tests. Run the frozen varobjs test.
9234 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 9235 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 9236
0b49cb80
JK
92372007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9238
9239 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9240 gdb.base/type-opaque.exp: New files.
9241
a73bafbc 92422007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
9243
9244 * gdb.mi/mi-var-child.c
a73bafbc
VP
9245 (do_children_tests): User char[2] instead of
9246 char so that automatic printing of pointers to char
9247 don't give unpredicable result.
9248 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9249 local variables.
9250 * gdb.mi/mi-var-child.exp: Step to right line
9251 of do_children_tests.
9252 * gdb.mi/mi2-var-child.exp: Likewise.
9253 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 9254 do_locals_tests.
a73bafbc
VP
9255 (do_children_tests): User char[2] instead of
9256 char so that automatic printing of pointers to char
a9c64011 9257 don't give unpredicable result.
a73bafbc 9258 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9259 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
9260 Pass test name to mi_wait_for_stop.
9261
7ce59000
DJ
92622007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9263
9264 * gdb.asm/asm-source.exp: Remove d10v case.
9265 * lib/gdb.exp (skip_cplus_tests): Likewise.
9266 * gdb.asm/d10v.inc: Deleted.
9267
20389057
DJ
92682007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9269
9270 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9271
8807d78b
DJ
92722007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9273
9274 * config/netware.exp: Delete file.
9275
aa3edb8e
JB
92762007-03-29 Joel Brobecker <brobecker@adacore.com>
9277
9278 * gdb.dwarf2/dw2-noloc.S: New file.
9279 * gdb.dwarf2/dw2-noloc.exp: New file.
9280
297561ac
PA
92812007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9282
9283 * gdb.cp/method2.cc: New test.
9284 * gdb.cp/method2.exp: New test.
9285 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9286
1f81bd39
DJ
92872007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9288
9289 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9290
9453113a
DJ
92912007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9292
9293 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9294
b741e217
DJ
92952007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9296
9297 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9298 (gdb_load): Delete, replace with...
9299 (gdb_reload): ...this.
9300 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9301 * gdb.server/server-mon.exp: Likewise.
9302 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9303 (gdb_start_cmd): New.
9304 (gdb_file_cmd): Save the last loaded file.
9305 (gdb_reload): New.
9306 (gdb_gnu_strip_debug): Use transform.
9307 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9308 support here. Use new $last_loaded_file. Check mtime.
9309 (gdb_target_cmd): Handle ObjC failure case.
9310 (infer_host_exec): Delete.
9311 (gdbserver_load): Rename to...
9312 (gdbserver_run): ...this. Simplify.
9313 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9314 (mi_gdb_load): Move most contents to a new function...
9315 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9316 (mi_run_cmd): Use mi_gdb_target_load.
9317 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9318 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9319 Use gdb_run_cmd.
9320 * gdb.base/charsign.exp: Remove incorrect comment.
9321 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9322 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9323 gdb.base/start.exp: Use gdb_start_cmd.
9324
446ab585 93252007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 9326 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
9327
9328 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9329 * gdb.base/signull.exp: Similarly.
9330
bbb88ebf
UW
93312007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9332
9333 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9334 messages available to test cases (like chng-sym.exp).
9335
cb8c4a99
AS
93362007-03-14 Andreas Schwab <schwab@suse.de>
9337
9338 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9339 format changes.
9340
4e463ff5
DJ
93412007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9342
9343 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9344 (optimized_1): New.
9345 (main): Call optimized_1.
9346 (gdb2029): Correct typos. Call gdb2029_marker.
9347 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9348 for gdb2029.
9349
b6db2c47
MK
93502007-03-12 Mark Kettenis <kettenis@gnu.org>
9351
9352 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9353 as tabs. Remove redundant test pattern.
9354
70ed3737
UW
93552007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9356
9357 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9358 for /a format output.
9359
47b67b60
DJ
93602007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9361
9362 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9363 collect output incrementally.
9364
b8953b0e
UW
93652007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9366
9367 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9368 for -var-create lpcharacter test.
9369 * gdb.mi/mi2-var-cmd.exp: Likewise.
9370
7acd5c40
UW
93712007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9372
9373 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9374 pass on targets where address zero is readable.
9375
9c6759c1
UW
93762007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9377
9378 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9379 just a single architecture.
9380
a2f1aeb4
UW
93812007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9382
9383 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9384 (fetch_all_registers): New function, uses gdb_test_multiple and
9385 exp_continue to fetch inferior output line-by-line.
9386 Replace all uses of do_get_all_registers by fetch_all_registers.
9387
46579ac2
UW
93882007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9389
9390 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9391 in target_info.
9392
fc133f24
MS
93932007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9394
a9c64011 9395 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
9396 consistancy; add a default (timeout) case.
9397
7646a51d
MS
93982007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9399
9400 * gdb.base/watchpoint.exp: Fix truncated comment.
9401
dcfff61f
MS
94022007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9403
9404 * Makefile.in: Remove spurious single-quotes from sed command.
9405
664e3ee9
DJ
94062007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9407
9408 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9409 func.
9410 * gdb.mi/mi2-var-cmd.exp: Likewise.
9411
d7cc6f2f
JB
94122007-02-27 Joel Brobecker <brobecker@adacore.com>
9413
a9c64011
AS
9414 * gdb.dwarf2/dw2-producer.S: New file.
9415 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
9416
94172007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
9418
9419 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9420 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9421 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9422 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9423 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9424 Revert tests to use mi_gdb_test and include value field in output
9425 of -var-create.
9426
93d42b30
DJ
94272007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9428
9429 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9430
c499ed39
DJ
94312007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9432
9433 * gdb.base/maint.exp: Remove full paths from test names.
9434 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9435 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9436
9836f81b
JB
94372007-02-27 Joel Brobecker <brobecker@adacore.com>
9438
9439 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9440
c74d0ad8
DJ
94412007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9442
9443 * gdb.server/server-mon.exp: New test.
9444
2711e456
DJ
94452007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9446
9447 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9448
ff6f572f
DJ
94492007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9450
9451 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9452 register capitalization.
9453
fada3feb
DP
94542007-02-13 Denis Pilat <denis.pilat@st.com>
9455
9456 * gdb.mi/mi-var-invalidate.exp: New file.
9457
fb1e4ffc
DJ
94582007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9459
9460 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9461
3da939d7
DJ
94622007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9463
9464 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9465
123dc839
DJ
94662007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9467
9468 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9469 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9470
877e3645 94712007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
9472
9473 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9474 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9475 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9476 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9477 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 9478 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 9479 Update tests to include value field in output of -var-create.
a9c64011 9480
3c0a2960
AS
94812007-02-08 Andreas Schwab <schwab@suse.de>
9482
9483 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9484
108546a0
DJ
94852007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9486
9487 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9488 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9489
d701dcab
DP
94902007-02-02 Denis Pilat <denis.pilat@st.com>
9491
9492 * gdb.threads/threadapply.exp: check that frame is not changed by
9493 the thread apply all command.
9494
783e3e2f
AS
94952007-01-31 Andreas Schwab <schwab@suse.de>
9496
6d9c3a87
AS
9497 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9498
3c50d7b9
AS
9499 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9500 in the dwarf sections.
9501 * gdb.dwarf2/mac-fileno.S: Likewise.
9502
783e3e2f
AS
9503 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9504 bspstore register on ia64.
9505
78ff580e
AS
95062007-01-29 Andreas Schwab <schwab@suse.de>
9507
cc8e9b12
AS
9508 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9509 "frame-begin" annotation.
9510
78ff580e
AS
9511 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9512 number of "frames-invalid" annotations.
9513
704a4f78
DJ
95142007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9515
9516 * gdb.base/commands.exp: Call if_commands_test.
9517 (gdb_test_no_prompt, if_commands_test): New.
9518
e741bf94
MK
95192007-01-28 Mark Kettenis <kettenis@gnu.org>
9520
9521 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9522
474d0ad3
AS
95232007-01-27 Andreas Schwab <schwab@suse.de>
9524
9525 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9526 .short/.int/.quad in the dwarf sections.
9527 * gdb.dwarf2/dw2-intercu.S: Likewise.
9528 * gdb.dwarf2/dw2-intermix.S: Likewise.
9529
e784b426
JK
95302007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9531
9532 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
9533 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9534 array.
e784b426
JK
9535 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9536 * gdb.base/setvar.exp: Likewise.
9537
37f08e04
AS
95382007-01-26 Andreas Schwab <schwab@suse.de>
9539
9a01813a
AS
9540 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9541 test.
9542
37f08e04
AS
9543 * gdb.base/multi-forks.exp ("restart $i"): Also match
9544 __kernel_syscall_via_break.
9545
6e2a9270
VP
95462007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9547
9548 * lib/mi-support.exp (mi_delete_varobj): New.
9549 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9550 testcase.
9551 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9552 (main): Call the above.
9553 (reference_update_test, base_in_reference_test)
9554 (reference_to_pointer): Delete the created varobjs.
a9c64011 9555
e515b470
DJ
95562007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9557
9558 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9559 * configure: Regenerated.
9560 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9561 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9562 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9563 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9564 * lib/gdb.exp (gdb_skip_xml_test): New function.
9565
08d8bcd7
DJ
95662007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9567
9568 * gdb.base/sigrepeat.exp: Correct error message.
9569
95702007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
9571 Daniel Jacobowitz <dan@codesourcery.com>
9572
9573 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9574 gdb.arch/i386-gnu-cfi-asm.S: New files.
9575
97c3f1f3
JK
95762007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9577
9578 * lib/gdb.exp: Abort on missing `site.exp'.
9579
cb1df416
DJ
95802007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9581 Daniel Jacobowitz <dan@codesourcery.com>
9582
9583 * gdb.base/included.c, gdb.base/included.exp,
9584 gdb.base/included.h: New files.
9585
35990120
DJ
95862007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9587
9588 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9589 (maximize_rlimit): Reduce limits on 64-bit systems.
9590
6e81a116 95912007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
9592
9593 From Marcus Deuling <deuling@de.ibm.com>:
9594 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9595 every case.
9596
6c3c41f3
NR
95972007-01-13 Nick Roberts <nickrob@snap.net.nz>
9598
9599 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9600 (test_path_specification): Use objdir instead of srcdir to always
9601 get an absolute filename.
9602
2f12c312
DJ
96032007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9604
9605 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9606
81121995
VP
96072007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9608
9609 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9610 Make sure the variable we're using is in scope.
9611 (reference_to_pointer): Likewise.
9612
4741b737
DJ
96132007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9614
9615 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9616 has no debug information.
9617
054410c3
DJ
96182007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9619
9620 * gdb.base/annota1.exp: Remove extra send_gdb.
9621
818f79f6
DJ
96222007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9623
9624 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9625
f7a6bb70
DJ
96262007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9627
9628 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9629
57e66780
DJ
96302007-01-08 Nick Roberts <nickrob@snap.net.nz>
9631 Daniel Jacobowitz <dan@codesourcery.com>
9632
9633 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9634 lcharacter or linteger change. Correct duplicated test name.
9635 * gdb.mi/mi2-var-cmd.exp: Likewise.
9636
3d799a95
DJ
96372007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9638
9639 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9640
96412007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 9642
a9c64011
AS
9643 * gdb.base/nofield.c: New file.
9644 * gdb.base/nofield.exp: New testcase.
51679ba9 9645
eafb94e8
NR
96462007-01-05 Nick Roberts <nickrob@snap.net.nz>
9647
9648 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9649
9650 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9651 test.
9652
5e572bb4
DJ
96532007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9654
9655 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9656
74a44383
DJ
96572007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9658
9659 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9660 when continuing.
9661
1b572db9
DJ
96622007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9663
9664 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9665 Expect ".exe" extension.
9666
381bc39b
DJ
96672007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9668
9669 * gdb.base/charset.exp: Add explicit filename to break.
9670 * gdb.base/dbx.exp: Add explicit filename to breaks.
9671
2b70e4c6
DJ
96722007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9673
9674 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9675 * gdb.mi/mi2-file.exp: Likewise.
9676
303b6f5d
DJ
96772007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9678
9679 Implement specification of MI tests as comments
9680 in C and C++ sources.
9681 * lib/mi-support.exp (mi_autotest_data): New variable.
9682 (mi_autotest_source): New variable.
9683 (count_newlines, mi_prepare_inline_tests)
9684 (mi_get_inline_test, mi_continue_to_line)
9685 (mi_run_inline_test, mi_tbreak)
9686 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9687 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9688 Run inline tests.
9689 * gdb.mi/mi-var-cp.cc: Define tests here.
9690
23da0d94
VP
96912007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9692
9693 Simplify usage of mi_continue_to.
9694 * lib/mi-support.exp (mi_runto_helper): Renamed
9695 from mi_runto, added new parameter 'run_or_continue'.
9696 (mi_runto): Use mi_runto_helper.
9697 (mi_continue_to): Accept just function name as parameter.
9698 Use mi_runto_helper.
9699 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9700 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9701
f9e18282
JB
97022006-01-04 Joel Brobecker <brobecker@adacore.com>
9703
9704 Make this testcase a bit more realistic. The current code
9705 is too simplistic, and allows the compiler to optimize out
9706 some of the entities we need for this testcase.
9707 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9708 (Do_Nothing): Add extra parameter.
9709 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9710 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9711 by using a variable of type Void_Star.
9712
fd678c65
JB
97132006-01-04 Joel Brobecker <brobecker@adacore.com>
9714
9715 * gdb.ada/catch_ex/foo.adb: New file.
9716 * gdb.ada/catch_ex.exp: New testcase.
9717
05cfdb42
DJ
97182007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9719
9720 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9721 pass --image-base to linker.
9722
2e03ee74
DJ
97232007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9724 Daniel Jacobowitz <dan@codesourcery.com>
9725
9726 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9727 secondary prompts.
9728
0d5de010
DJ
97292007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9730
9731 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9732 output. Test the types of members and member pointers.
9733 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9734 gdb/2092.
9735 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9736 statement. Enable for GCC. Update expected output for some tests
9737 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9738 layout.
9739 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9740 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9741 (Diamond::vget_base): New.
9742 (main): Add new tests.
9743 * gdb.cp/printmethod.exp: Update expected output for member functions.
9744 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9745 print pEe->D::vg().
9746
61a771aa
DJ
97472007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9748
9749 * gdb.threads/tls.exp: Allow stops in sem_post.
9750
2fa63963
DJ
97512006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9752
9753 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9754 * gdb.base/annota3.exp: Likewise.
9755 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9756 again (instead of timing out).
9757 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9758 GCC bug 26475.
9759 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9760 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9761 test from jmisc1.exp.
9762 * gdb.java/jmisc1.exp: Delete.
9763 * gdb.java/jprint.exp: Adjust to work with method signatures including
9764 return types.
9765 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9766 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9767 * lib/java.exp (compile_java_from_source): Pass the correct type
9768 to target_compile.
9769
5eefc2b7
JB
97702006-12-31 Joel Brobecker <brobecker@adacore.com>
9771
9772 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9773 (stack_align_edx): New function.
9774 (stack_align_eax): New function.
9775 (main): Add calls to stack_align_edx and stack_align_eax.
9776 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9777 Add testing for the cases where the register used during a stack
9778 realignment is edx. Same for eax.
9779
227c54da
DJ
97802006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9781
9782 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9783 and generic PE targets.
9784
cab8ac94
JB
97852006-12-29 Joel Brobecker <brobecker@adacore.com>
9786
9787 * gdb.ada/array_return.exp: Update copyright date list.
9788
ba54f318
JB
97892006-12-27 Joel Brobecker <brobecker@adacore.com>
9790
9791 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9792 (Create_Small_Float_Vector): New function.
9793 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9794 function body.
9795 * gdb.ada/array_return/p.adb: Use new type and function from
9796 package Pck.
9797 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9798 able to print the value returned by a function returning an
9799 array of float.
9800
6b7a35dd
JB
98012006-12-20 Joel Brobecker <brobecker@adacore.com>
9802
9803 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9804 The associated tests should be PASSing.
9805
038224f6
VP
98062006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9807
9808 Test for base in references.
9809 * gdb.mi/mi-var-cp.cc: Add test code.
9810 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9811 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9812 * gdb.mi/mi2-watch.exp: Likewise.
9813 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9814 (mi_list_varobj_children): New function.
9815
b26ed50d
VP
98162006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9817
9818 * lib/mi-support.exp
9819 (mi_runto): Accept "()" after function name.
9820 (mi_create_varobj): New function.
9821 (mi_varobj_update): New function.
9822 (mi_Check_varobj_value): New function.
9823 * gdb.mi/mi-var-cp.exp: New file.
9824 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 9825
08232497
DJ
98262006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9827
9828 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9829 gdb.base/weaklib2.c: New files.
9830
d394c993 98312006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 9832
ac6c2fba
NS
9833 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9834 info. Adjust test names.
9835
8ec659a0 9836 * gdb.base/break.c (main): Move position of malloc.
d394c993 9837 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 9838
acd65feb
VP
98392006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9840
9841 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9842 assignement of arrays and function pointers.
9843 * gdb.mi/var-cmd.c: Add declaration necessary for above
9844 tests.
9845
f556d5e5
NS
98462006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9847
9848 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
9849
9850 * gdb.threads/linux-dp.exp: Read thread table before and after
9851 creating each philosopher and verify it.
9852
697bc68d
NS
98532006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9854 Paul Brook <paul@codesourcery.com>
9855 Daniel Jacobowitz <dan@codesourcery.com>
9856
9857 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 9858 main to remove duplication. Add start function of the form
697bc68d
NS
9859 '_*start[1-9]*'. Add RVDS start function.
9860
29d73ae4
DJ
98612006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9862
9863 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9864
c1d88655
UW
98652006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9866
9867 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9868 * gdb.asm/spu.inc: New file.
9869 * gdb.base/term.exp: Disable if [target_info exists noargs].
9870 * gdb.gdb/complaints.exp: Disable if ![isnative].
9871 * gdb.gdb/selftest.exp: Likewise.
9872 * gdb.gdb/observer.exp: Likewise.
9873 * gdb.gdb/xfullpath.exp: Likewise.
9874 * gdb.base/attach.exp: Disable on SPU target.
9875 * gdb.cp/bs145503.exp: Likewise.
9876 * gdb.cp/exception.exp: Likewise.
9877 * gdb.cp/userdef.exp: Likewise.
9878
32a13b1a
DJ
98792006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9880
9881 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9882
d8295fe9
VP
98832006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9884
9885 * gdb.base/completion.exp: Fix completion tests for
9886 'info' and 'info '.
9887 * gdb.base/help.exp (help_test_raw, test_class_help)
9888 (test_prefix_command_help): Move...
9889 * lib/gdb.exp: Here.
9890 * gdb.base/main.exp: Adjust.
9891 * gdb.cp/maint.exp: Adjust.
9892 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 9893
8c394015
VP
98942006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9895
9896 * gdb.stabs/weird.exp (print_weird_var): Use
9897 gdb_test_multiple instead of gdb_expect.
9898
027fc1bc
VP
98992006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9900
9901 * gdb.base/help.exp (help_test_raw): New.
9902 (test_class_help): New.
9903 (test_prefix_command_help): New.
9904 Adjust testcases.
9905
67609209
FR
99062006-11-09 Christophe Lyon <christophe.lyon@st.com>
9907
9908 * gdb.base/constvars.c (main): Write to crass and crips, so that
9909 they are allocated by the compiler.
9910
f73adfeb
AS
99112006-10-27 Andreas Schwab <schwab@suse.de>
9912
9913 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9914 "detach-fork".
9915
2f83a18e
DJ
99162006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9917
9918 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9919 of patterns.
9920
94277a38
DJ
99212006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9922
9923 * gdb.base/sepdebug.exp: Remove debug format test.
9924 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9925 Handle no-symtab.
9926 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9927
5bd2f6e2
DJ
99282006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9929
9930 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9931 int to pointer or pointer to int.
9932 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9933
8c008720
DJ
99342006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9935
9936 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9937
9e35dae4
DJ
99382006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9939
9940 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9941
d9639e13
DJ
99422006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9943
9944 PR c++/2116
9945 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9946
390a1bd0
JB
99472006-10-06 Joel Brobecker <brobecker@adacore.com>
9948
9949 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9950 the corresponding bug has been fixed in GDB (PR/2018).
9951
dd920c33
JB
99522006-10-06 Joel Brobecker <brobecker@adacore.com>
9953
9954 * gdb.base/subst.exp: New testcase.
9955
53bbefe9
JB
99562006-10-06 Joel Brobecker <brobecker@adacore.com>
9957
9958 * gdb.ada/array_return/pck.ads: Add copyright notice.
9959 * gdb.ada/array_return/pck.adb: Likewise.
9960 * gdb.ada/array_return/p.adb: Likewise.
9961 * gdb.ada/exec_changed/first.adb: Likewise.
9962 * gdb.ada/exec_changed/second.adb: Likewise.
9963
09851417
JB
99642006-10-06 Joel Brobecker <brobecker@adacore.com>
9965
9966 * gdb.ada/watch_arg/watch.adb: New file.
9967 * gdb.ada/watch_arg.exp: New testcase.
9968
041bf30d
VP
99692006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9970
9971 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 9972 via string_to_regexp.
041bf30d 9973 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 9974
f286fbdd 99752006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
9976
9977 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9978 Remove unused / obsolete files.
9979
7c07f349
NR
99802006-09-19 Nick Roberts <nickrob@snap.net.nz>
9981
9982 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9983
cd5ff84a
VP
99842006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9985
9986 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9987 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 9988 the number of frames.
cd5ff84a 9989
ae018d1a
DJ
99902006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9991
9992 * gdb.base/args.c (main): Add breakpoint marker.
9993 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9994 really test empty arguments.
9995 (args_load): Delete.
9996 (args_test): New.
9997
b399c549
NR
99982006-09-13 Nick Roberts <nickrob@snap.net.nz>
9999
10000 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 10001 check for one file.
b399c549 10002
2ab1eb7a
VP
100032006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10004
10005 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10006 HIGH_FRAME argument to -stack-list-locals can be larger than
10007 the number of frames.
a9c64011 10008
476308bf
FF
100092006-08-18 Fred Fish <fnf@specifix.com>
10010
10011 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10012 '$' in front of skip_vmx_tests_saved when setting that.
10013
8625200f
AS
100142006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10015
10016 * gdb.base/trace-commands.exp: New file.
10017
089ec8f1
DJ
100182006-08-10 Joel Brobecker <brobecker@adacore.com>
10019 Daniel Jacobowitz <dan@codesourcery.com>
10020
10021 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10022 expected output of the backtrace commands.
10023
b60f0898
JB
100242006-08-09 Joel Brobecker <brobecker@adacore.com>
10025
10026 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10027 untested followed by return combination.
10028 * gdb.arch/altivec-regs.exp: Likewise.
10029 * gdb.arch/e500-abi.exp: Likewise.
10030 * gdb.arch/e500-regs.exp: Likewise.
10031 * gdb.arch/gdb1291.exp: Likewise.
10032 * gdb.arch/gdb1431.exp: Likewise.
10033 * gdb.arch/gdb1558.exp: Likewise.
10034 * gdb.arch/i386-prologue.exp: Likewise.
10035 * gdb.arch/i386-unwind.exp: Likewise.
10036 * gdb.asm/asm-source.exp: Likewise.
10037 * gdb.base/a2-run.exp: Likewise.
10038 * gdb.base/advance.exp: Likewise.
10039 * gdb.base/all-bin.exp: Likewise.
10040 * gdb.base/annota1.exp: Likewise.
10041 * gdb.base/annota3.exp: Likewise.
10042 * gdb.base/args.exp: Likewise.
10043 * gdb.base/arithmet.exp: Likewise.
10044 * gdb.base/assign.exp: Likewise.
10045 * gdb.base/async.exp: Likewise.
10046 * gdb.base/attach.exp: Likewise.
10047 * gdb.base/bang.exp: Likewise.
10048 * gdb.base/bigcore.exp: Likewise.
10049 * gdb.base/bitfields.exp: Likewise.
10050 * gdb.base/bitfields2.exp: Likewise.
10051 * gdb.base/break.exp: Likewise.
10052 * gdb.base/call-sc.exp: Likewise.
10053 * gdb.base/call-strs.exp: Likewise.
10054 * gdb.base/callfuncs.exp: Likewise.
10055 * gdb.base/checkpoint.exp: Likewise.
10056 * gdb.base/chng-syms.exp: Likewise.
10057 * gdb.base/code-expr.exp: Likewise.
10058 * gdb.base/commands.exp: Likewise.
10059 * gdb.base/completion.exp: Likewise.
10060 * gdb.base/cond-expr.exp: Likewise.
10061 * gdb.base/condbreak.exp: Likewise.
10062 * gdb.base/consecutive.exp: Likewise.
10063 * gdb.base/constvars.exp: Likewise.
10064 * gdb.base/corefile.exp: Likewise.
10065 * gdb.base/cvexpr.exp: Likewise.
10066 * gdb.base/dbx.exp: Likewise.
10067 * gdb.base/define.exp: Likewise.
10068 * gdb.base/detach.exp: Likewise.
10069 * gdb.base/display.exp: Likewise.
10070 * gdb.base/dump.exp: Likewise.
10071 * gdb.base/ena-dis-br.exp: Likewise.
10072 * gdb.base/ending-run.exp: Likewise.
10073 * gdb.base/environ.exp: Likewise.
10074 * gdb.base/eval-skip.exp: Likewise.
10075 * gdb.base/exprs.exp: Likewise.
10076 * gdb.base/fileio.exp: Likewise.
10077 * gdb.base/finish.exp: Likewise.
10078 * gdb.base/float.exp: Likewise.
10079 * gdb.base/foll-exec.exp: Likewise.
10080 * gdb.base/foll-fork.exp: Likewise.
10081 * gdb.base/foll-vfork.exp: Likewise.
10082 * gdb.base/freebpcmd.exp: Likewise.
10083 * gdb.base/funcargs.exp: Likewise.
10084 * gdb.base/gcore.exp: Likewise.
10085 * gdb.base/gdb1090.exp: Likewise.
10086 * gdb.base/gdb1250.exp: Likewise.
10087 * gdb.base/huge.exp: Likewise.
10088 * gdb.base/info-proc.exp: Likewise.
10089 * gdb.base/interrupt.exp: Likewise.
10090 * gdb.base/jump.exp: Likewise.
10091 * gdb.base/langs.exp: Likewise.
10092 * gdb.base/lineinc.exp: Likewise.
10093 * gdb.base/list.exp: Likewise.
10094 * gdb.base/logical.exp: Likewise.
10095 * gdb.base/long_long.exp: Likewise.
10096 * gdb.base/macscp.exp: Likewise.
10097 * gdb.base/maint.exp: Likewise.
10098 * gdb.base/mips_pro.exp: Likewise.
10099 * gdb.base/miscexprs.exp: Likewise.
10100 * gdb.base/multi-forks.exp: Likewise.
10101 * gdb.base/opaque.exp: Likewise.
10102 * gdb.base/overlays.exp: Likewise.
10103 * gdb.base/pc-fp.exp: Likewise.
10104 * gdb.base/pointers.exp: Likewise.
10105 * gdb.base/printcmds.exp: Likewise.
10106 * gdb.base/psymtab.exp: Likewise.
10107 * gdb.base/ptype.exp: Likewise.
10108 * gdb.base/recurse.exp: Likewise.
10109 * gdb.base/relational.exp: Likewise.
10110 * gdb.base/relocate.exp: Likewise.
10111 * gdb.base/remote.exp: Likewise.
10112 * gdb.base/reread.exp: Likewise.
10113 * gdb.base/restore.exp: Likewise.
10114 * gdb.base/return.exp: Likewise.
10115 * gdb.base/return2.exp: Likewise.
10116 * gdb.base/scope.exp: Likewise.
10117 * gdb.base/sect-cmd.exp: Likewise.
10118 * gdb.base/sep.exp: Likewise.
10119 * gdb.base/sepdebug.exp: Likewise.
10120 * gdb.base/setshow.exp: Likewise.
10121 * gdb.base/setvar.exp: Likewise.
10122 * gdb.base/sigall.exp: Likewise.
10123 * gdb.base/sigbpt.exp: Likewise.
10124 * gdb.base/signals.exp: Likewise.
10125 * gdb.base/signull.exp: Likewise.
10126 * gdb.base/sizeof.exp: Likewise.
10127 * gdb.base/solib.exp: Likewise.
10128 * gdb.base/step-line.exp: Likewise.
10129 * gdb.base/step-test.exp: Likewise.
10130 * gdb.base/structs.exp: Likewise.
10131 * gdb.base/structs2.exp: Likewise.
10132 * gdb.base/term.exp: Likewise.
10133 * gdb.base/twice.exp: Likewise.
10134 * gdb.base/until.exp: Likewise.
10135 * gdb.base/varargs.exp: Likewise.
10136 * gdb.base/volatile.exp: Likewise.
10137 * gdb.base/watchpoint.exp: Likewise.
10138 * gdb.base/whatis-exp.exp: Likewise.
10139 * gdb.base/whatis.exp: Likewise.
10140 * gdb.cp/ambiguous.exp: Likewise.
10141 * gdb.cp/annota2.exp: Likewise.
10142 * gdb.cp/annota3.exp: Likewise.
10143 * gdb.cp/bool.exp: Likewise.
10144 * gdb.cp/breakpoint.exp: Likewise.
10145 * gdb.cp/casts.exp: Likewise.
10146 * gdb.cp/class2.exp: Likewise.
10147 * gdb.cp/classes.exp: Likewise.
10148 * gdb.cp/cplusfuncs.exp: Likewise.
10149 * gdb.cp/ctti.exp: Likewise.
10150 * gdb.cp/derivation.exp: Likewise.
10151 * gdb.cp/exception.exp: Likewise.
10152 * gdb.cp/gdb1355.exp: Likewise.
10153 * gdb.cp/hang.exp: Likewise.
10154 * gdb.cp/inherit.exp: Likewise.
10155 * gdb.cp/local.exp: Likewise.
10156 * gdb.cp/m-data.exp: Likewise.
10157 * gdb.cp/m-static.exp: Likewise.
10158 * gdb.cp/member-ptr.exp: Likewise.
10159 * gdb.cp/method.exp: Likewise.
10160 * gdb.cp/misc.exp: Likewise.
10161 * gdb.cp/namespace.exp: Likewise.
10162 * gdb.cp/overload.exp: Likewise.
10163 * gdb.cp/ovldbreak.exp: Likewise.
10164 * gdb.cp/pr-1023.exp: Likewise.
10165 * gdb.cp/pr-1210.exp: Likewise.
10166 * gdb.cp/pr-574.exp: Likewise.
10167 * gdb.cp/printmethod.exp: Likewise.
10168 * gdb.cp/psmang.exp: Likewise.
10169 * gdb.cp/ref-params.exp: Likewise.
10170 * gdb.cp/ref-types.exp: Likewise.
10171 * gdb.cp/rtti.exp: Likewise.
10172 * gdb.cp/templates.exp: Likewise.
10173 * gdb.cp/try_catch.exp: Likewise.
10174 * gdb.cp/userdef.exp: Likewise.
10175 * gdb.cp/virtfunc.exp: Likewise.
10176 * gdb.disasm/am33.exp: Likewise.
10177 * gdb.disasm/h8300s.exp: Likewise.
10178 * gdb.disasm/mn10300.exp: Likewise.
10179 * gdb.disasm/sh3.exp: Likewise.
10180 * gdb.disasm/t01_mov.exp: Likewise.
10181 * gdb.disasm/t02_mova.exp: Likewise.
10182 * gdb.disasm/t03_add.exp: Likewise.
10183 * gdb.disasm/t04_sub.exp: Likewise.
10184 * gdb.disasm/t05_cmp.exp: Likewise.
10185 * gdb.disasm/t06_ari2.exp: Likewise.
10186 * gdb.disasm/t07_ari3.exp: Likewise.
10187 * gdb.disasm/t08_or.exp: Likewise.
10188 * gdb.disasm/t09_xor.exp: Likewise.
10189 * gdb.disasm/t10_and.exp: Likewise.
10190 * gdb.disasm/t11_logs.exp: Likewise.
10191 * gdb.disasm/t12_bit.exp: Likewise.
10192 * gdb.disasm/t13_otr.exp: Likewise.
10193 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10194 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10195 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10196 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10197 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10198 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10199 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10200 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10201 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10202 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10203 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10204 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10205 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10206 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10207 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10208 * gdb.mi/gdb701.exp: Likewise.
10209 * gdb.mi/gdb792.exp: Likewise.
10210 * gdb.mi/mi-basics.exp: Likewise.
10211 * gdb.mi/mi-break.exp: Likewise.
10212 * gdb.mi/mi-cli.exp: Likewise.
10213 * gdb.mi/mi-console.exp: Likewise.
10214 * gdb.mi/mi-disassemble.exp: Likewise.
10215 * gdb.mi/mi-eval.exp: Likewise.
10216 * gdb.mi/mi-file.exp: Likewise.
10217 * gdb.mi/mi-read-memory.exp: Likewise.
10218 * gdb.mi/mi-regs.exp: Likewise.
10219 * gdb.mi/mi-return.exp: Likewise.
10220 * gdb.mi/mi-simplerun.exp: Likewise.
10221 * gdb.mi/mi-stack.exp: Likewise.
10222 * gdb.mi/mi-stepi.exp: Likewise.
10223 * gdb.mi/mi-syn-frame.exp: Likewise.
10224 * gdb.mi/mi-until.exp: Likewise.
10225 * gdb.mi/mi-var-block.exp: Likewise.
10226 * gdb.mi/mi-var-child.exp: Likewise.
10227 * gdb.mi/mi-var-cmd.exp: Likewise.
10228 * gdb.mi/mi-var-display.exp: Likewise.
10229 * gdb.mi/mi-watch.exp: Likewise.
10230 * gdb.mi/mi2-basics.exp: Likewise.
10231 * gdb.mi/mi2-break.exp: Likewise.
10232 * gdb.mi/mi2-cli.exp: Likewise.
10233 * gdb.mi/mi2-console.exp: Likewise.
10234 * gdb.mi/mi2-disassemble.exp: Likewise.
10235 * gdb.mi/mi2-eval.exp: Likewise.
10236 * gdb.mi/mi2-file.exp: Likewise.
10237 * gdb.mi/mi2-read-memory.exp: Likewise.
10238 * gdb.mi/mi2-regs.exp: Likewise.
10239 * gdb.mi/mi2-return.exp: Likewise.
10240 * gdb.mi/mi2-simplerun.exp: Likewise.
10241 * gdb.mi/mi2-stack.exp: Likewise.
10242 * gdb.mi/mi2-stepi.exp: Likewise.
10243 * gdb.mi/mi2-syn-frame.exp: Likewise.
10244 * gdb.mi/mi2-until.exp: Likewise.
10245 * gdb.mi/mi2-var-block.exp: Likewise.
10246 * gdb.mi/mi2-var-child.exp: Likewise.
10247 * gdb.mi/mi2-var-cmd.exp: Likewise.
10248 * gdb.mi/mi2-var-display.exp: Likewise.
10249 * gdb.mi/mi2-watch.exp: Likewise.
10250 * gdb.stabs/exclfwd.exp: Likewise.
10251 * gdb.stabs/weird.exp: Likewise.
10252 * gdb.threads/gcore-thread.exp: Likewise.
10253 * gdb.trace/actions.exp: Likewise.
10254 * gdb.trace/backtrace.exp: Likewise.
10255 * gdb.trace/circ.exp: Likewise.
10256 * gdb.trace/collection.exp: Likewise.
10257 * gdb.trace/deltrace.exp: Likewise.
10258 * gdb.trace/infotrace.exp: Likewise.
10259 * gdb.trace/limits.exp: Likewise.
10260 * gdb.trace/packetlen.exp: Likewise.
10261 * gdb.trace/passc-dyn.exp: Likewise.
10262 * gdb.trace/passcount.exp: Likewise.
10263 * gdb.trace/report.exp: Likewise.
10264 * gdb.trace/save-trace.exp: Likewise.
10265 * gdb.trace/tfind.exp: Likewise.
10266 * gdb.trace/tracecmd.exp: Likewise.
10267 * gdb.trace/while-dyn.exp: Likewise.
10268 * gdb.trace/while-stepping.exp: Likewise.
10269
f4b618d1
JB
102702006-08-08 Joel Brobecker <brobecker@adacore.com>
10271
10272 * gdb.base/step-bt.c: New file.
10273 * gdb.base/step-bt.exp: New testcase.
10274
3d00d119
DJ
102752006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10276
10277 * config/monitor.exp (gdb_load): Remove support for obsolete
10278 download-write-size.
10279 * gdb.base/remote.exp: Likewise. Update all callers of
10280 gdb_timed_load.
10281
017b5bd4
DJ
102822006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10283
10284 * cursal.exp: Pass binfile to gdb_load.
10285
837c599d
DJ
102862006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10287
10288 * gdb.base/cursal.exp: Add "" to gdb_load call.
10289
8dd4540b
MK
102902006-07-29 Mark Kettenis <kettenis@gnu.org>
10291
10292 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10293 NetBSD/ELF targets.
10294
ab5c9f60
DJ
102952006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10296
10297 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10298 operator*.
10299
4c42eaff
DJ
103002006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10301
10302 * gdb.base/completion.exp: Update for change in "file" behavior.
10303 * gdb.stabs/weird.exp: Likewise.
10304 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10305 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10306
0155cc76
NS
103072006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10308
10309 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10310 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10311
16026cd7
AS
103122006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10313
10314 * gdb.base/default.exp: Update source command error message.
10315 * gdb.base/help.exp: Update 'help source' message.
10316
16963cb6
DJ
103172006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10318
10319 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10320 test.
10321
6d7fd486
AS
103222006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10323
10324 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10325
29e8a844
DJ
103262006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10327
10328 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10329
6afcfa39
DJ
103302006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10331
10332 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10333
267a692b
MK
103342006-07-17 Mark Kettenis <kettenis@gnu.org>
10335
10336 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10337 *-*-openbsd* from targets for wich we expect ARM FPA floating
10338 point format.
10339
85d2fec4
NR
103402006-07-17 Nick Roberts <nickrob@snap.net.nz>
10341
10342 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10343
103442006-07-17 Mark Kettenis <kettenis@gnu.org>
10345
10346 * gdb.base/annota3.exp: Expect frame-begin annotation.
10347
85b4c6e8
JB
103482006-07-14 Joel Brobecker <brobecker@adacore.com>
10349
10350 * gdb.base/help.exp: Adjust "help unset" test to accept
10351 any list of unset commands.
10352
fb933624
DJ
103532006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10354 Daniel Jacobowitz <dan@codesourcery.com>
10355
10356 * gdb.cp/ref-params.exp: New test.
10357 * gdb.cp/ref-params.cc: New source file.
10358 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10359
1dff4b64
MK
103602006-07-08 Mark Kettenis <kettenis@gnu.org>
10361
10362 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10363 spaces/tabs in regular expressions since they might not be there.
10364
40d2e0e3
AS
103652006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10366
10367 * gdb.base/ifelse.exp: New file.
10368
f6c957d2
NS
103692006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10370
10371 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10372 line.
10373 * gdb.base/huge.exp: Loop over compilation to find a size that
10374 is acceptable.
10375 * gdb.base/remote.exp: Correct expected strings.
10376 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10377
b9c5a23d
DJ
103782006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10379
10380 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10381
9af2e58d
DJ
103822006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10383
10384 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10385 native.
10386
30930ca5
DJ
103872006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10388
10389 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10390 enable stabs testing.
10391
aa32fa1d
DJ
103922006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10393
bd4a4c80 10394 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
10395 gdb_test_multiple does.
10396
321fef15
DJ
103972006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10398
10399 * Makefile.in (host_alias): Remove.
10400 (target_alias): Use @target_noncanonical@.
10401 (site.exp): Don't set host_alias.
10402 * aclocal.m4: Remove contents. Include acx.m4.
10403 * configure: Regenerated.
10404 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10405
e1c2defa
NS
104062006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10407
e63b55d1
NS
10408 * lib/gdb.exp (gdb_load_cmd): New.
10409
5600ea19
NS
10410 * gdb.base/fileio.c: Add system(NULL) test.
10411 * gdb.base/fileio.exp: Check it.
10412
e1c2defa
NS
10413 * gdb.base/break.c: Add 10a breakpoint at }
10414 * gdb.base/break.exp: Add test for breakpoint at }
10415 * gdb.cp/anon-union.cc: Add code at end of function.
10416 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10417 * gdb.mi/var-cmd.c: Add code at end of function.
10418 * gdb.mi/mi-var-display.exp: Adjust end of next.
10419 * gdb.mi/mi2-var-display.exp: Likewise.
10420 * gdb.base/fileio.c: Add stop function and insert calls at
10421 stopping places.
10422 * gdb.base/fileio.exp: Breakpoint stop function and remove
10423 explicit line number references.
10424
6c0112ec
JB
104252006-05-19 Joel Brobecker <brobecker@adacore.com>
10426
a9c64011
AS
10427 * gdb.base/del.exp (test_delete_alias): New function.
10428 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 10429
154189a4
FF
104302006-05-18 Fred Fish <fnf@specifix.com>
10431
10432 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10433 required. Check for spurious output after program exits normally.
10434
582e64c2
FF
104352006-05-17 Fred Fish <fnf@specifix.com>
10436
10437 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10438 gdb_load, so it works in the simulator.
10439
8ef6493a
FF
104402006-05-11 Fred Fish <fnf@specifix.com>
10441
10442 * gdb.base/bang.exp: Ignore unexpected output between the
10443 "program exited normally" and the gdb prompt, as many other
10444 tests do.
10445
692b141c
MK
104462006-05-07 Mark Kettenis <kettenis@gnu.org>
10447
10448 * gdb.base/help.exp: Make "delete checkpoint" part option for
10449 "help d" and "help delete" tests.
10450
540b8a30
UW
104512006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10452
a9c64011 10453 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
10454 expected output in some mi_gdb_test statements.
10455 * gdb.mi/mi2-basics.exp: Likewise.
10456
9b6462d9
JB
104572006-05-05 Joel Brobecker <brobecker@adacore.com>
10458
10459 * gdb.base/del.c: New file.
10460 * gdb.base/del.exp: New testcase.
10461
954de43b
DM
104622006-05-05 David S. Miller <davem@sunset.davemloft.net>
10463
10464 * gdb.base/break.exp: Do not assume a breakpoint on
10465 main will actually be in $srcfile when optimizing.
1303f75e
DM
10466 * gdb.base/savedregs.exp: Do not require that the dummy
10467 frame location match up to a symbol and source file location.
c3242428
DM
10468 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10469 will get printed without a mi_cmd_data_list_register_values prefix.
10470 (*-data-list-register-*): Correct regular expressions to expect the new
10471 pseudo d? floating point registers.
10472 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 10473
c7e64c9a
DJ
104742006-05-05 Christophe Lyon <christophe.lyon@st.com>
10475
10476 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10477 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10478 is allocated by the compiler.
10479 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10480 anons, e, anone to force their allocation by the compiler.
10481
104822006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
10483
10484 * gdb.base/help.exp: Update expected text for help d and
10485 help delete.
10486
27ce9a6d
MK
104872006-05-02 Mark Kettenis <kettenis@gnu.org>
10488
10489 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10490 NetBSD/ELF targets.
10491
8608915f
MK
104922006-04-30 Mark Kettenis <kettenis@gnu.org>
10493
10494 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10495 single-step breakpoint fails; make this a KFAIL on
10496 sparc*-*-openbsd*.
10497 * gdb.base/siginfo.exp: Likewise.
10498 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10499
b8db102d
MS
105002006-04-26 Michael Snyder <msnyder@redhat.com>
10501
10502 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10503 which may have to consume output from other forks.
10504 Add tests to make sure that "delete fork" succeeded.
10505
c702009a
MS
105062006-04-20 Michael Snyder <msnyder@redhat.com>
10507
10508 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10509 Add support for the Renesas M32C and M16C.
10510
10511 * gdb.asm/asm-source.exp: Add m32c target.
10512 * gdb.asm/m32c.inc: Support for m32c target.
10513
e28493f2
AS
105142006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10515
10516 * gdb.base/commands.exp (recursive_source_test): New test.
10517
880da185
DM
105182006-04-04 David S. Miller <davem@sunset.davemloft.net>
10519
10520 * gdb.base/float.exp: Add pattern for sparc targets.
10521
61d9b92f
DJ
105222006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10523
10524 * gdb.base/commands.exp (stray_arg0_test): New test.
10525
bd717df8
PB
105262006-03-30 Paul Brook <paul@codesourcery.com>
10527
10528 * gdb.mi/mi-until.exp: kfail broken until command.
10529 * gdb.mi/mi2-until.exp: Ditto.
10530
ec793d3c
NR
105312006-03-27 Nick Roberts <nickrob@snap.net.nz>
10532
10533 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10534
831004b7
AO
105352006-03-08 Alexandre Oliva <aoliva@redhat.com>
10536
10537 * gdb.base/prelink.exp: Anchor tested-for regular expression
10538 on gdb prompt.
10539
effe49a0
PB
105402006-03-07 Paul Brook <paul@codesourcery.com>
10541
10542 * gdb.base/assign.exp: Correct fail message.
10543
e5461016
PB
105442006-03-07 Paul Brook <paul@codesourcery.com>
10545
10546 * lib/compiler.c: Extract armcc version number.
10547 * lib/compiler.cc: Ditto.
10548
fc91c6c2
PB
105492006-03-07 Paul Brook <paul@codesourcery.com>
10550
10551 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10552 additional_flags=-w.
10553 * gdb.arch/altivec-regs.exp: Ditto.
10554 * gdb.arch/e500-abi.exp: Ditto.
10555 * gdb.arch/e500-regs.exp: Ditto.
10556 * gdb.base/all-bin.exp: Ditto.
10557 * gdb.base/annota1.exp: Ditto.
10558 * gdb.base/annota3.exp: Ditto.
10559 * gdb.base/args.exp: Ditto.
10560 * gdb.base/arithmet.exp: Ditto.
10561 * gdb.base/assign.exp: Ditto.
10562 * gdb.base/async.exp: Ditto.
10563 * gdb.base/bang.exp: Ditto.
10564 * gdb.base/break.exp: Ditto.
10565 * gdb.base/call-rt-st.exp: Ditto.
10566 * gdb.base/completion.exp: Ditto.
10567 * gdb.base/cond-expr.exp: Ditto.
10568 * gdb.base/condbreak.exp: Ditto.
10569 * gdb.base/consecutive.exp: Ditto.
10570 * gdb.base/define.exp: Ditto.
10571 * gdb.base/display.exp: Ditto.
10572 * gdb.base/ena-dis-br.exp: Ditto.
10573 * gdb.base/environ.exp: Ditto.
10574 * gdb.base/eval-skip.exp: Ditto.
10575 * gdb.base/info-proc.exp: Ditto.
10576 * gdb.base/jump.exp: Ditto.
10577 * gdb.base/logical.exp: Ditto.
10578 * gdb.base/long_long.exp: Ditto.
10579 * gdb.base/maint.exp: Ditto.
10580 * gdb.base/miscexprs.exp: Ditto.
10581 * gdb.base/pc-fp.exp: Ditto.
10582 * gdb.base/pointers.exp: Ditto.
10583 * gdb.base/relational.exp: Ditto.
10584 * gdb.base/reread.exp: Ditto.
10585 * gdb.base/sect-cmd.exp: Ditto.
10586 * gdb.base/sep.exp: Ditto.
10587 * gdb.base/sepdebug.exp: Ditto.
10588 * gdb.base/until.exp: Ditto.
10589 * gdb.base/whatis-exp.exp: Ditto.
10590 * gdb.cp/annota2.exp: Ditto.
10591 * gdb.cp/annota3.exp: Ditto.
10592 * gdb.trace/actions.exp: Ditto.
10593 * gdb.trace/backtrace.exp: Ditto.
10594 * gdb.trace/circ.exp: Ditto.
10595 * gdb.trace/collection.exp: Ditto.
10596 * gdb.trace/deltrace.exp: Ditto.
10597 * gdb.trace/infotrace.exp: Ditto.
10598 * gdb.trace/limits.exp: Ditto.
10599 * gdb.trace/packetlen.exp: Ditto.
10600 * gdb.trace/passc-dyn.exp: Ditto.
10601 * gdb.trace/passcount.exp: Ditto.
10602 * gdb.trace/report.exp: Ditto.
10603 * gdb.trace/save-trace.exp: Ditto.
10604 * gdb.trace/tfind.exp: Ditto.
10605 * gdb.trace/tracecmd.exp: Ditto.
10606 * gdb.trace/while-dyn.exp: Ditto.
10607 * gdb.trace/while-stepping.exp: Ditto.
10608 * lib/gdb.exp: Ditto.
10609 (gdb_compile): Handle nowarning option.
10610
5f4a23d9
AO
106112006-03-07 Alexandre Oliva <aoliva@redhat.com>
10612
10613 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10614 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10615 Rename executable to prelinkt. Don't re-prelink if we didn't
10616 get a core file. Test prelink -u exit status to tell whether
10617 prelinking failed. Use gdb_test_multiple.
10618
9733fc94
DJ
106192006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10620
10621 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10622 (do_tests): Call it.
10623
cc10cae3
AO
106242006-02-28 Alexandre Oliva <aoliva@redhat.com>
10625
10626 * gdb.base/prelink.exp: New test.
10627 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10628
15c46491
WZ
106292006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10630
10631 * gdb.fortran/derived-type.f90: New file.
10632 * gdb.fortran/derived-type.exp: New testcase.
10633
5c9f7ded
DJ
106342006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10635
10636 * gdb.base/default.exp: Allow ';' as a directory separator.
10637
5b96932b
AS
106382006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10639
10640 * gdb.base/help.exp (help add-symbol-file): Update.
10641
1986bccd
AS
106422006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10643
10644 * gdb.base/help.exp (help load): Update expected results.
10645
a8b7528f
FF
106462006-02-19 Fred Fish <fnf@specifix.com>
10647
10648 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10649 specifix hex value as part of results.
10650 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 10651
f8261448
FF
106522006-02-16 Fred Fish <fnf@specifix.com>
10653
10654 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10655 ushort_addr, and slong_addr, so the typedefs are not optimized
10656 away.
10657 * gdb.base/whatis.exp: Add tests using type name for struct type,
10658 union type, enum type, and typedef.
a9c64011 10659
31d8bdd2
MK
106602006-02-13 Mark Kettenis <kettenis@gnu.org>
10661
10662 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10663
34e41e63
JB
106642006-02-13 Jim Blandy <jimb@redhat.com>
10665
10666 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10667 case where it takes two "next" commands to skip past the init
10668 call.
10669
ac6e4f31
FF
106702006-02-12 Fred Fish <fnf@specifix.com>
10671
10672 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10673 to handle cases where it takes two "next" commands to skip
10674 past the init call.
10675
2db2d571
JB
106762006-02-07 Joel Brobecker <brobecker@adacore.com>
10677
10678 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10679 on hppa32 targets.
10680
38fcd64c
DJ
106812006-02-06 Vladimir Prus <ghost@cs.msu.su>
10682
10683 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10684 field.
10685
1315ad46
MK
106862006-01-29 Mark Kettenis <kettenis@gnu.org>
10687
10688 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10689
5625b943
DJ
106902006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10691
10692 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10693 files.
10694
80df1bbe
DJ
106952006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10696
10697 * gdb.cp/maint.exp: Set complaints to a positive value.
10698
9078e690
DJ
106992006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10700
10701 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10702 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10703 function name.
10704
9c903399
DJ
107052006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10706
10707 * gdb.base/checkpoint.c: Update copyright notice. Include
10708 <stdlib.h>.
10709
761ae4d6
JB
107102006-01-04 Jim Blandy <jimb@redhat.com>
10711
10712 * gdb.asm/asm-source.exp: Independently provide default values for
10713 asm-flags and debug-flags. Use 'string equal' to do the
10714 comparison, not the implicit expr's '==' operator. Remove
10715 now-unneeded assignments to asm-flags. In h8300 case, place
10716 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10717
099ac3dd
MS
107182006-01-04 Michael Snyder <msnyder@redhat.com>
10719
10720 * gdb.base/checkpoint.c: New file.
10721 * gdb.base/checkpoint.exp: New file.
10722 * gdb.base/multi-fork.c: New file.
10723 * gdb.base/multi-fork.exp: New file.
10724 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10725
f4d85314
FF
107262006-01-04 Fred Fish <fnf@specifix.com>
10727
10728 * gdb.base/ptype.c (foo): Add typedef.
10729 (intfoo): Add function.
10730 * gdb.base/ptype1.c: New file.
10731 * gdb.base/ptype.exp: Handle compilation and linking with two
10732 source files. Test that proper type for "foo" is found based
10733 on source context rather than first match found in symtabs.
10734
a1b06f35
MK
107352005-12-28 Mark Kettenis <kettenis@gnu.org>
10736
10737 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10738 * gdb.asm/openbsd.inc: Indent commands.
10739
d082a1e2
MK
107402005-12-26 Mark Kettenis <kettenis@gnu.org>
10741
c65016bd
MK
10742 * gdb.base/freebpcmd.exp: Increase timeout.
10743
d082a1e2
MK
10744 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10745
d3c32a0e
DJ
107462005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10747
10748 * gdb.base/default.exp: Update check for "show version".
10749
9fdb1f50
RC
107502005-12-09 Randolph Chung <tausq@debian.org>
10751
10752 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10753 * gdb.asm/pa64.inc: New file.
10754
5f2c56f7
RC
107552005-12-09 Randolph Chung <tausq@debian.org>
10756
10757 * gdb.asm/common.inc: Indent commands.
10758 * gdb.asm/asmsrc1.s: Likewise.
10759 * gdb.asm/asmsrc2.s: Likewise.
10760
8117349c
RC
107612005-12-09 Randolph Chung <tausq@debian.org>
10762
10763 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10764 (get_addr_of_sym): Remove duplicate print.
10765 (gen_core): xfail hppa*-*-hpux*, update expected output.
10766 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10767 * gdb.arch/pa64-nullify.s: New file.
10768
8f07f25a
RC
107692005-12-09 Randolph Chung <tausq@debian.org>
10770
10771 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10772
55b39184
DJ
107732005-12-07 Christophe Lyon <christophe.lyon@st.com>
10774
10775 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10776 code generation for these functions.
10777 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10778 error message.
10779
31e2b00f
AS
107802005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10781
10782 * gdb.base/help.exp (help b, help br, help bre, help brea)
10783 (help break): Update the expected message.
10784
c3d0b56e
SC
107852005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10786
10787 * gdb.asm/m68hc11.inc: Setup the data section.
10788 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10789 script for this test.
10790 (m6812-*-*): Likewise.
10791
36ae0ea9
RC
107922005-11-09 Randolph Chung <tausq@debian.org>
10793
10794 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10795
9d6f42e9
WZ
107962005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10797
10798 * gdb.base/break.exp: Fix a comment typo.
10799
e2126a14
EZ
108002005-11-03 Jim Blandy <jimb@redhat.com>
10801
a9c64011
AS
10802 Checked in by Elena Zannoni <ezannoni@redhat.com>
10803
889bf7c5 10804 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 10805
e0ac7199
CV
108062005-11-02 Corinna Vinschen <vinschen@redhat.com>
10807
10808 * gdb.arch/gdb1558.c: Include stdio.h.
10809
31d3fb18
MK
108102005-10-31 Mark Kettenis <kettenis@gnu.org>
10811
10812 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10813
e52b687c
MK
108142005-10-31 Mark Kettenis <kettenis@gnu.org>
10815
10816 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10817
f4711d79
PG
108182005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10819
a9c64011
AS
10820 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10821 vscr" tests to better match output.
f4711d79 10822
987a9106
JB
108232005-10-12 Jim Blandy <jimb@redhat.com>
10824
10825 * gdb.base/structs.exp (any): New function.
10826 (test_struct_returns): Don't make any assumptions at all about
10827 what value the function returns when GDB can't set the return
10828 value.
10829
2336bb58
JB
108302005-10-09 Joel Brobecker <brobecker@adacore.com>
10831
10832 * gdb.ada/arrayidx/p.adb: New file.
10833 * gdb.ada/arrayidx.exp: New testcase
10834
108352005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
10836
10837 * gdb.ada/array_return/pck.ads: New file.
10838 * gdb.ada/array_return/pck.adb: New file.
10839 * gdb.ada/array_return/p.adb: New file.
10840 * gdb.ada/array_return.exp: New testcase.
10841
705335ea
JB
108422005-10-03 Joel Brobecker <brobecker@adacore.com>
10843
a9c64011
AS
10844 * gdb.base/arrayidx.c: New file.
10845 * gdb.base/arrayidx.exp: New testcase.
705335ea 10846
11ee9940
NR
108472005-09-29 Nick Roberts <nickrob@snap.net.nz>
10848
10849 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10850 frames-invalid and breakpoints-invalid are no longer generated
10851 with level 3 so don't expect them in the output.
10852
39fb8e9e
BR
108532005-09-27 Bob Rossi <bob@brasko.net>
10854
a9c64011 10855 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
10856 from test. Escape the | in mi_gdb_test call.
10857 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10858 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10859 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10860 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10861 expected regex's in mi_gdb_test calls.
10862 * lib/mi-support.exp: Remove arbitrary .* from tests.
10863 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10864 Fully anchor GDB/MI expected results in mi_gdb_test.
10865 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10866 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10867
2af48f68
PB
108682005-09-26 Paul Brook <paul@codesourcery.com>
10869
10870 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10871
f34502bc
WZ
108722005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10873
10874 * bfp-test.c: New file.
10875 * bfp-test.exp: New testcase.
10876
ca929517
WZ
108772005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10878
10879 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10880 of subarray and substring variable.
10881 * gdb.fortran/subarray.f: New source file for the test of subarray
10882 and substring variable evaluation.
10883 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10884 of string constant.
10885
c761af65
DJ
108862005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10887
10888 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10889 copyright dates.
10890
561d7a1d
PG
108912005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10892
10893 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10894 powerpc altivec' test with an almost identical 'info vector' test.
10895
b2b64cc9
PG
108962005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10897
a9c64011
AS
10898 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10899 vscr" tests to match output.
b2b64cc9 10900
6ac4d15a
PG
109012005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10902
a9c64011
AS
10903 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10904 output.
6ac4d15a 10905
40e55bef
BR
109062005-09-11 Bob Rossi <bob@brasko.net>
10907
889bf7c5
PA
10908 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10909 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10910 commands that return an MI output command and an asyncronous MI output
10911 command.
40e55bef
BR
10912 * gdb.mi/mi-console.exp: Ditto.
10913
3c7385ec
BR
109142005-09-11 Bob Rossi <bob@brasko.net>
10915
10916 * gdb.mi/mi-var-child.c: Include <string.h>.
10917
a6cd0eb3
DJ
109182005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10919
10920 * killed.exp: Correct gdb_expect syntax.
10921
2f168eed
CV
109222005-08-09 Corinna Vinschen <vinschen@redhat.com>
10923
10924 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10925
ecd3fd0f
BR
109262005-08-02 Bob Rossi <bob@brasko.net>
10927
10928 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10929 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10930 Change tests to inferior-tty-set/show.
10931 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10932 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10933 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10934 inferior. Use mi_gdb_test to get GDB and Inferior output.
10935 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10936 descriptor.
10937 (mi_inferior_tty_name): Add inferior PTY file name.
10938 (mi_gdb_start): Add INFERIOR_PTY parameter.
10939 (mi_gdb_test): Add IPATTERN parameter.
10940
f1ea48cb 109412005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 10942
f1ea48cb
BR
10943 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10944 parameter to mi_gdb_test.
10945 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10946
6e650a67
DJ
109472005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10948
10949 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10950 struct_declarations.
10951 * gdb.mi/mi-var-child.exp: Step over the initialization of
10952 struct_declarations.
10953
8be260b6
DJ
109542005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10955
10956 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10957 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10958 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10959 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10960 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10961 file.
10962
4e660f07
NR
109632005-07-27 Nick Roberts <nickrob@snap.net.nz>
10964
10965 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10966 (do_children_tests): Assign values to the extra elements.
10967
10968 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10969 them for tests for "-var-update --no-values" and
a9c64011 10970 "-var-update --all-values".
4e660f07
NR
10971 Add test for "-var-list-children --simple-values".
10972
10973 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10974
10975 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10976 "-stack-list-locals --simple-values" Improve doc strings and
10977 comments.
10978
6bdae935
MK
109792005-07-18 Mark Kettenis <kettenis@gnu.org>
10980
598b7a6f
MK
10981 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10982 *-*-openbsd*.
10983 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10984
6bdae935
MK
10985 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10986 sigaltsatck'.
10987
1323e929 109882005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 10989
1323e929
BR
10990 * gdb.base/default.exp (tty): Changed output of command.
10991 * gdb.base/help.exp (help tty): Ditto.
10992
b1a9c082
MK
109932005-07-12 Mark Kettenis <kettenis@gnu.org>
10994
10995 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10996
10a844a2
MK
109972005-07-10 Mark Kettenis <kettenis@gnu.org>
10998
10999 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11000 -stack-select-frame without arguments.
11001 (test_stack_frame_listing): Add test for newly implemented command
11002 -stack-info-frame.
11003
3cb3b8df
BR
110042005-07-06 Bob Rossi <bob@brasko.net>
11005
11006 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11007 command.
11008 (Copyright): Update copyright.
11009
a0c5fbcf
WZ
110102005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11011
11012 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11013 tests to evaluate exponentiation expression.
11014
984971d0
AS
110152005-06-29 Andreas Schwab <schwab@suse.de>
11016
11017 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11018 main to avoid warnings.
11019
11020 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11021
fe03833f
NR
110222005-06-20 Nick Roberts <nickrob@snap.net.nz>
11023
11024 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11025 -stack-select-frame without arguments.
11026 (test_stack_frame_listing): Add test for newly implemented command
11027 -stack-info-frame.
a9c64011 11028
7a55f279
WZ
110292005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11030
0ffa0ea5
DJ
11031 * gdb.fortran/array-element.f: New file.
11032 * gdb.fortran/array-element.exp: New testcase.
7a55f279 11033
26585198
DJ
110342005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11035
11036 * gdb.base/bigcore.exp: Correct checks for systems which can
11037 not dump a large core file.
11038
c1bd25fd
DJ
110392005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11040
11041 * gdb.base/relocate.c: Add a copyright notice.
11042 (dummy): Remove.
11043 * gdb.base/relocate.exp: Test printing the values of variables
11044 from a relocatable file.
11045
589e074d
DJ
110462005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11047
11048 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11049 excess MI output after an error.
11050
0915f927
JB
110512005-05-29 Joel Brobecker <brobecker@adacore.com>
11052
11053 * gdb.arch/alpha-step.c: New file.
11054 * gdb.arch/alpha-step.exp: New testcase.
11055
76ff342d
DJ
110562005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11057 Dennis Brueni <dennis@slickedit.com>
11058
11059 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11060 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11061 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11062 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11063 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11064 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11065 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11066
96b0c7ac
DJ
110672005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11068 Wu Zhou <woodzltc@cn.ibm.com>
11069
11070 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11071 IBM's xlc compiler.
11072 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11073 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11074
f21565d2
JB
110752005-05-13 Jim Blandy <jimb@redhat.com>
11076
11077 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11078 calling gdb_suppress_entire_file.
11079 * gdb.base/charset.exp: Same.
11080 * gdb.base/call-rt-st.exp: Same.
11081
6006a3a1
BR
110822005-05-05 Bob Rossi <bob_rossi@cox.net>
11083
11084 * lib/gdb.exp (fullname_syntax): Added global regex.
11085 (fullname_syntax_POSIX): Ditto.
11086 (fullname_syntax_UNC): Ditto.
11087 (fullname_syntax_DOS_CASE): Ditto.
11088 (fullname_syntax_DOS): Ditto.
11089 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11090 fullname_syntax variable to scope and use it.
11091 (test_file_list_exec_source_files): Ditto.
11092 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11093
c3b69c04
DJ
110942005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11095
11096 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11097
3c95e6af
PG
110982004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11099
a9c64011
AS
11100 * lib/gdb.exp (skip_altivec_tests): New function, based on
11101 check_vmx_hw_available from the GCC testsuite.
11102 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11103 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 11104
78df6c56
JB
111052005-05-02 Jim Blandy <jimb@redhat.com>
11106
11107 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11108 calling gdb_suppress_entire_file.
11109
1690f9cf
DJ
111102005-04-30 Randolph Chung <tausq@debian.org>
11111
11112 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11113 Slightly relax "sem_post" name checking.
11114
5ea106f7
PG
111152005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11116
11117 * gdb.base/unload.exp: Use new shared library infrastructure.
11118
bf7234cf
PG
111192005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11120
11121 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 11122 infrastructure.
bf7234cf 11123
547b869a
CV
111242005-04-29 Corinna Vinschen <vinschen@redhat.com>
11125
11126 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11127 * gdb.asm/h8300.inc: New file.
11128
f07e55f0
PG
111292005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11130
11131 * gdb.base/shlib-call.exp: Change to use new shared library
11132 infrastructure.
11133
3cbba3d1
PG
111342005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11135
a9c64011
AS
11136 * gdb.base/pending.exp: Change to use new shared library
11137 infrastructure.
3cbba3d1 11138
ed6df200
PG
111392005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11140
a9c64011
AS
11141 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11142 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 11143
8c8f4ebe
PG
111442005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11145
a9c64011
AS
11146 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11147 shared objects being adjusted and update copyright years.
8c8f4ebe 11148
607fbc54
DJ
111492005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11150
11151 * ChangeLog: Correct some 2003-01-13 dates.
11152 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11153 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11154 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11155 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11156 gdb.trace/tfind.exp: Update copyright years.
11157
57bf0e56
DJ
111582005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11159 Daniel Jacobowitz <dan@codesourcery.com>
11160
11161 * lib/gdb.exp (gdb_compile): Handle shlib=.
11162 (gdb_compile_shlib): New function.
11163
9b593790
PG
111642005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11165
a9c64011 11166 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 11167
9494c6a5
DJ
111682005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11169
11170 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11171 gdb.server.
11172 * configure.ac: Likewise.
11173 * configure: Regenerated.
11174 * gdb.gdbserver/Makefile.in: Moved to...
11175 * gdb.server/Makefile.in: ... here.
11176 * gdb.gdbserver/server.c: Moved to...
11177 * gdb.server/server.c: ... here.
11178 * gdb.gdbserver/server-run.exp: Moved to...
11179 * gdb.server/server-run.exp: ... here.
11180
6f8eac0e
DJ
111812005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11182
11183 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11184 * configure.ac: Create gdb.gdbserver/Makefile.
11185 * configure: Regenerated.
11186 * lib/gdbserver-support.exp: New file, derived from
11187 config/gdbserver.exp.
11188 * config/gdbserver.exp: Use gdbserver-support.exp.
11189 * gdb.gdbserver/Makefile.in: New file.
11190 * gdb.gdbserver/server.c: New file.
11191 * gdb.gdbserver/server-run.exp: New file.
11192
6e87504d
PG
111932005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11194
a9c64011
AS
11195 * lib/gdb.exp (test_compiler_info): Return compiler_info
11196 if no arguments are given.
6e87504d 11197
d1779be4
PG
111982005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11199
11200 * gdb.arch/altivec-abi.exp: Check for compiler and set
11201 use altivec' flag accordingly.
11202 * gdb.arch/altivec-regs.exp: Likewise.
11203
88750304
DJ
112042005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11205
11206 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11207
f3fb768d
AS
112082005-03-27 Andreas Schwab <schwab@suse.de>
11209
11210 * gdb.base/bigcore.c (main): Add missing mode argument in open
11211 call.
11212
7e813ac5
DJ
112132005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11214
11215 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11216 downloads.
11217 * config/gdbserver.exp (gdb_load): Likewise.
11218
8e3049aa
PB
112192005-03-14 Paul Brook <paul@codesourcery.com>
11220
11221 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11222 targets.
11223
a9df7c44
JB
112242005-03-09 Joel Brobecker <brobecker@adacore.com>
11225
11226 * gdb.dwarf2/dup-psym.S: New file.
11227 * gdb.dwarf2/dup-psym.exp: New testcase.
11228
9f0d94e8
JB
112292005-03-09 Joel Brobecker <brobecker@adacore.com>
11230
11231 * gdb.ada/exec_changed/first.adb: New file.
11232 * gdb.ada/exec_changed/second.adb: New file.
11233 * gdb.ada/exec_changed.exp: New testcase.
11234
5f579bc5
NS
112352005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11236
36e9969c
NS
11237 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11238 (A2): New class.
11239 (main): Test operator+.
11240 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11241 breakpoint test.
11242
5f579bc5
NS
11243 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11244 * gdb.base/signull.exp: Disable if gdb,nosignals.
11245 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11246 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11247 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11248 * gdb.mi/mi2-console.exp: Likewise.
11249 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11250 continue output at start.
11251 (gdb_collect_locals_test): Robustify regexp.
11252 * gdb.trace/passc-dyn.exp: Fix comment typo.
11253 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11254
be46087e
CV
112552005-03-08 Corinna Vinschen <vinschen@redhat.com>
11256
11257 * gdb.asm/asm-source.exp: Add iq2000 case.
11258 * gdb.asm/iq2000.inc: New file.
11259
384e1a61 112602005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 11261
384e1a61
MI
11262 * gdb.base/command.exp: Change hardcoded value to regular expression.
11263 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11264
584b6e9e
DJ
112652005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11266
11267 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11268 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11269 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11270 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11271 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11272
ab5b5d61
MK
112732005-03-05 Mark Kettenis <kettenis@gnu.org>
11274
11275 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11276 changes.
11277
ae051c1b
PG
112782004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11279
a9c64011
AS
11280 * lib/compiler.c: Add test for IBM's xlc compiler.
11281 * lib/compiler.cc: Likewise.
ae051c1b 11282
3f0f6ed2
JB
112832004-02-24 Joel Brobecker <brobecker@adacore.com>
11284
11285 * gdb.ada/fixed_points.exp: Create compilation object directory
11286 before running the test.
11287 * gdb.ada/null_record.exp: Likewise.
11288 * gdb.ada/packed_array.exp: Likewise.
11289 * gdb.ada/start.exp: Likewise.
11290
724f452b
JB
112912005-02-15 Joel Brobecker <brobecker@adacore.com>
11292
11293 * gdb.ada/packed_array/pa.adb: New file.
11294 * gdb.ada/packed_array.exp: New testcase.
11295
57f5cdfb 112962005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 11297
1f393151
MK
11298 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11299 files.
11300
ebdda337
MK
11301 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11302 on *-*-openbsd*. Correctly match whitespace in regukar
11303 expressions.
11304
cf309262
DJ
113052005-02-10 Daniel Jacobowitz <dan@debian.org>
11306
11307 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11308 PR exp/1821
11309 * gdb.base/gdb1821.c: New test file.
11310 * gdb.base/gdb1821.exp: New test file.
11311
3be49e7a
JB
113122005-02-09 Joel Brobecker <brobecker@adacore.com>
11313
11314 * gdb.base/start.c: New file.
11315 * gdb.base/start.exp: New testcase.
11316
e292e67d
JB
113172005-02-09 Joel Brobecker <brobecker@adacore.com>
11318
11319 * gdb.ada/start/dummy.adb: New file.
11320 * gdb.ada/start.exp: New testcase.
11321
dbdfa66c
CV
113222005-02-09 Corinna Vinschen <vinschen@redhat.com>
11323
11324 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11325 for printing symbols and statistics.
11326 Add test for using relative pathnames in "maint print msymbols" test.
11327 Mark "maint info sections DATA" XFAIL on Cygwin.
11328 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11329 tests.
11330
d7941671
AC
113312005-02-09 Andreas Schwab <schwab@suse.de>
11332
11333 Committed by Andrew Cagney <cagney@gnu.org>
11334 * gdb.base/remotetimeout.exp: New file.
11335
74e5ef44
MK
113362005-02-07 Mark Kettenis <kettenis@gnu.org>
11337
11338 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11339
464dd14d
JB
113402005-02-03 Joel Brobecker <brobecker@adacore.com>
11341
11342 * gdb.ada/gnat_ada.gpr: New file.
11343 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11344 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11345 * configure.ac: No longer generate gnat_ada.gpr.
11346 * configure: Regenerate.
11347 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11348 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11349 * gdb.ada/null_record/bar.ads: Likewise.
11350 * gdb.ada/null_record/bar.adb: Likewise.
11351 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11352 * gdb.ada/null_record.exp (testdir): New variable.
11353 (testfile): executable is now in testdir subdirectory.
11354 (srcfile): Use full path to the main compilation unit.
11355 * gdb.ada/fixed_points.exp: Same changes as above.
11356
30d756ae
NR
113572005-02-03 Nick Roberts <nickrob@snap.net.nz>
11358
11359 * gdb.base/interp.exp: New test.
11360
9d799f85
AC
113612005-01-24 Andrew Cagney <cagney@gnu.org>
11362
11363 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11364
15656118
AC
113652005-01-19 Andrew Cagney <cagney@gnu.org>
11366
a892c31b
AC
11367 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11368 configure.ac not configure.in.
11369
15656118
AC
11370 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11371 of powerpc*-*-*.
11372 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 11373 * gdb.base/list.exp (test_list_function)
15656118
AC
11374 (test_list_filename_and_function): Ditto.
11375 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11376
a7b01baf
AC
113772005-01-16 Andrew Cagney <cagney@gnu.org>
11378
17d92a02
AC
11379 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11380
a7b01baf
AC
11381 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11382
bc8332bb
AC
113832005-01-14 Andrew Cagney <cagney@gnu.org>
11384
11385 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11386 * gdb.mi/mi2-var-cmd.exp: Ditto.
11387
4d074752
CV
113882005-01-10 Corinna Vinschen <vinschen@redhat.com>
11389
11390 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11391
bec39cab
AC
113922005-01-07 Andrew Cagney <cagney@gnu.org>
11393
11394 * configure.ac: Rename configure.in, require autoconf 2.59.
11395 * configure: Re-generate.
11396 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11397 * gdb.stabs/configure: Re-generate.
11398 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11399 * gdb.hp/configure: Re-generate.
11400 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11401 autoconf 2.59.
11402 * gdb.hp/gdb.objdbg/configure: Re-generate.
11403 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11404 autoconf 2.59.
11405 * gdb.hp/gdb.defects/configure: Re-generate.
11406 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11407 autoconf 2.59.
11408 * gdb.hp/gdb.compat/configure: Re-generate.
11409 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11410 autoconf 2.59.
11411 * gdb.hp/gdb.base-hp/configure: Re-generate.
11412 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11413 autoconf 2.59.
11414 * gdb.hp/gdb.aCC/configure: Re-generate.
11415
f10b16d4
JB
114162004-12-15 Jim Blandy <jimb@redhat.com>
11417
11418 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11419 under NPTL when there is debugging info available for libpthread.
11420
fb6e1814
JG
114212004-12-13 Jerome Guitton <guitton@gnat.com>
11422
11423 * gdb.ada/fixed_points.c: New file.
11424 * gdb.ada/fixed_points.exp: New file.
11425
fe46cd3a
RC
114262004-12-03 Randolph Chung <tausq@debian.org>
11427
11428 * gdb.arch/pa-nullify.exp: New file.
11429 * gdb.arch/pa-nullify.s: New file.
11430
8de0841b
RC
114312004-11-30 Randolph Chung <tausq@debian.org>
11432
11433 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11434 instead of "tbug". Fix regexp to work properly with gdb_test.
11435
c8170782
PH
114362004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11437
11438 * gdb.base/bitfields2.exp: New test.
11439 * gdb.base/bitfields2.c: New file.
11440
954269c2
RE
114412004-11-28 Richard Earnshaw <rearnsha@arm.com>
11442
11443 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11444
0107feed
RC
114452004-11-16 Randolph Chung <tausq@debian.org>
11446
11447 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11448
f073ae8c
DJ
114492004-11-14 Daniel Jacobowitz <dan@debian.org>
11450
11451 * gdb.threads/threadapply.exp: Correct "macro details" test.
11452
19ad59e7
JJ
114532004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11454
11455 * gdb.threads/threadapply.exp: New test.
11456 * gdb.threads/threadapply.c: New file.
11457
9cf0961b
MK
114582004-11-07 Mark Kettenis <kettenis@gnu.org>
11459
11460 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11461 frames.
11462
c789492a
FL
114632004-11-05 Felix Lee <felix+log1@specifixinc.com>
11464
11465 * gdb.base/cursal.exp: New file.
11466 * gdb.base/cursal.c: New file.
11467
a1e167bb
AC
114682004-11-03 Andrew Cagney <cagney@gnu.org>
11469
11470 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11471
b7cbf173
MK
114722004-10-30 Mark Kettenis <kettenis@gnu.org>
11473
11474 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11475 NetBSD/ELF targets.
11476
88f9d34f
JB
114772004-10-29 Joel Brobecker <brobecker@gnat.com>
11478
11479 * gdb.threads/bp_in_thread.c: New file, copied from
11480 pthread_cond_wait.c.
11481 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11482 file, rather than reusing the .c file from another testcase.
11483
ca7d6a0c
JB
114842004-10-20 Joel Brobecker <brobecker@gnat.com>
11485
11486 * gdb.ada/null_record.exp: Check where we stopped after
11487 sending the start command, instead of where the associated
11488 temporary breakpoint was inserted.
11489
0d863d03
AC
114902004-10-14 Andrew Cagney <cagney@gnu.org>
11491
11492 * gdb.mi/gdb701.c (main): Return 0.
11493
d11e72cb
DJ
114942004-10-13 Daniel Jacobowitz <dan@debian.org>
11495
d40539a4 11496 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 11497
e1923096
JJ
114982004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11499
11500 * gdb.threads/schedlock.c: Add comment markers to use to find
11501 line numbers.
11502 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11503 comments.
11504 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11505 breakpoint lines.
11506
ec8ba2c9
DJ
115072004-10-12 Daniel Jacobowitz <dan@debian.org>
11508
11509 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11510
0eb3658b
DJ
115112004-10-12 Daniel Jacobowitz <dan@debian.org>
11512
11513 * configure.in: Add gdb.dwarf2.
11514 * configure: Regenerated.
11515 * Makefile.in: Add gdb.dwarf2.
11516 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11517 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11518 gdb.dwarf2/file1.txt: New files.
11519
a271cc33
OF
115202004-10-11 Orjan Friberg <orjanf@axis.com>
11521
a9c64011 11522 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
11523 of "run", since the latter doesn't work with remote targets. Adjust
11524 the breakpoint numbering accordingly.
11525 * gdb.threads/pthread_cond_wait.exp: Ditto.
11526
895ce074
MC
115272004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11528
11529 * gdb.base/overlays.exp: Update copyright years.
11530
6be3092d
KI
115312004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11532
11533 * gdb.base/overlays.exp: Disable if target is Linux.
11534
e05389b8
FL
115352004-10-06 Felix Lee <felix+log1@specifixinc.com>
11536
11537 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11538
73cb587d
KI
115392004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11540
11541 * gdb.asm/asm-source.exp: Add m32r-linux target.
11542 * gdb.asm/m32r-linux.inc: New file.
11543
3c0edcdc
AC
115442004-09-24 Andrew Cagney <cagney@redhat.com>
11545 David Anderson <anderson@redhat.com>
11546
11547 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11548 command fails, assume things will work.
11549 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11550 (_GNU_SOURCE): Define.
11551 (print_unsigned, print_hex): Change parameter to "long long".
11552 (print_byte_count): New function, use to print byte counts.
11553 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11554 O_LARGEFILE.
11555 (main): Compute an upper bound on a corefile in max_core_size.
11556 Limit memory chunk size to max_core_size. Limit total memory
11557 allocated to max_core_size.
11558
4bb3667f
AC
115592004-09-23 Andrew Cagney <cagney@gnu.org>
11560
11561 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11562 from a separate process with code that creates a corefile by
11563 making the inferior dump core.
11564
60fe1a51
MK
115652004-09-23 Mark Kettenis <kettenis@gnu.org>
11566
11567 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11568 block.
11569
8e937346
MC
115702004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11571
11572 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11573 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11574 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11575 Likewise.
11576
7213f6d6
JJ
115772004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11578
11579 * gdb.java/jprint.exp: New test case for java inferior call.
11580 * gdb.java/jprint.java: Ditto.
11581
eac69dca
JB
115822004-09-15 Joel Brobecker <brobecker@gnat.com>
11583
11584 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11585
22227696
MC
115862004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11587
11588 * gdb.threads/killed.c: Include <stdlib.h>.
11589 * gdb.threads/pthreads.c: Likewise.
11590
7dd403a4
MC
115912004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11592
11593 * gdb.threads/killed.c: Add copyright notice.
11594
33f2d567
JM
115952004-09-10 Jason Molenda (jmolenda@apple.com)
11596
a9c64011
AS
11597 * gdb.base/define.exp: Two new tests to verify zero space chars
11598 after 'if' and 'while' commands in a user-defined command is correctly
11599 parsed.
33f2d567 11600
e05b62ac
AC
116012004-09-08 Andrew Cagney <cagney@gnu.org>
11602
11603 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11604 delivery test with duplicate at end of file.
11605
9cbe82da
MK
116062004-09-06 Mark Kettenis <kettenis@jive.nl>
11607
11608 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11609
564803d9
MC
116102004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11611
11612 * config/hppro.exp: Removed.
11613
7c6807ce
MC
116142004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11615
11616 * config/sparclet.exp: Removed.
11617
bf7e26dd
MC
116182004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11619
11620 * config/udi.exp: Removed.
11621
714e341b
MC
116222004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11623
11624 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11625 of "exp_continue".
11626 (advancei): Likewise.
11627
1236e623
JJ
116282004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11629
11630 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11631
3bdcad15
MI
116322004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11633
228af206 11634 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
11635 to check for nodebug in executable.
11636 * gdb.gdb/observer.exp (setup_test): Likewise.
11637 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11638 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11639
c72b934c
AC
116402004-09-01 Andrew Cagney <cagney@gnu.org>
11641
11642 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11643 files.
11644
edd9b715
JJ
116452004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11646
11647 * gdb.base/unload.exp: Fix expected warning message to match
11648 latest format.
11649
fb4ce06b
CV
116502004-09-01 Corinna Vinschen <vinschen@redhat.com>
11651
11652 * gdb.base/call-rt-st.exp: Fix typos.
11653
ce78e7c3
MI
116542004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11655
11656 * gdb.threads/thread_check.exp: New testcase.
11657 * gdb.threads/thread_check.c: New testcase.
11658
2dedb159
AC
116592004-08-31 Andrew Cagney <cagney@gnu.org>
11660
11661 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11662 (skip_to_handler_entry): New procedures. Test stepping into a
11663 handler when the breakpoint is at the handler's entry point.
11664
68f53502
AC
116652004-08-30 Andrew Cagney <cagney@gnu.org>
11666
11667 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11668 gdb/1757.
11669
3e3ffd2b
MC
116702004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11671
11672 With code from Manoj Iyer <manjo@austin.ibm.com>:
11673 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11674 return value. Add an arm for "no debugging symbols found".
11675 Change a stray "error" to "perror".
11676 (gdb_run_cmd): Adapt to new return value.
11677 * gdb.base/remote.exp: Adapt to new return value.
11678 * gdb.gdb/complaints.exp: Likewise.
11679 * gdb.gdb/observer.exp: Likewise.
11680 * gdb.gdb/selftest.exp: Likewise.
11681 * gdb.gdb/xfullpath.exp: Likewise.
11682
4b6f5fd2
JB
116832004-08-27 Joel Brobecker <brobecker@gnat.com>
11684
11685 * gdb.threads/bp_in_thread.exp: New testcase.
11686
e5b25496
MC
116872004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11688
11689 Fix PR testsuite/1735.
11690 * gdb.threads/schedlock.c (thread_function): Add a cast
11691 to suppress a gcc warning.
11692 * gdb.threads/thread-specific.c (thread_function): Likewise.
11693
934353d6
MC
116942004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11695
11696 * gdb.base/unload.c: Include <stdlib.h>.
11697
f98a0aef 116982004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 11699
f98a0aef 11700 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
11701 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11702 synchronized after the "return".
11703
5a2e8882
MC
117042004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11705
11706 * gdb.mi/basics.c: Include <stdio.h>.
11707 * gdb.mi/pthreads.c: Include <stdlib.h>.
11708 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11709
a9640423
MC
117102004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11711
11712 * gdb.threads/schedlock.c: Add copyright notice.
11713
b04e311d
AC
117142004-08-25 Andrew Cagney <cagney@gnu.org>
11715
11716 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11717 (skip_over_handler, breakpoint_over_hander): New test procedures.
11718 (advance, advancei): Add a proper prefix, do not use
11719 rerun_to_main.
11720 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11721
7c27f15b
MC
117222004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11723
11724 * gdb.mi/basics.c: Add copyright notice.
11725 * gdb.mi/var-cmd.c: Add copyright notice.
11726
fffc87ae
MC
117272004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11728
11729 * lib/gdb.exp: Remove signed_keyword_not_used.
11730 * lib/compiler.c: Likewise.
11731 * lib/compiler.cc: Likewise.
11732
d782e0bf
MC
117332004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11734
11735 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11736 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11737
96033e83
MC
117382004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11739
11740 * gdb.base/whatis.c: Add copyright notice.
11741
cf38c229
MK
117422004-08-20 Mark Kettenis <kettenis@gnu.org>
11743
11744 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11745 it to skip the breakpoints encoded in the inline assembly.
11746
f4b49756
MC
117472004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11748
11749 * Makefile.in: Add gdb.fortran.
11750
2f193b69
MC
117512004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11752
11753 * gdb.base/call-sc.exp (test_scalar_returns):
11754 Fix cut-and-paste glitch in "Make fun return now".
11755
89a237cb
MC
117562004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11757
11758 * configure.in: Add gdb.fortran.
11759 * configure: Regenerate.
11760 * gdb.fortran/Makefile.in: New file.
11761 * lib/gdb.exp (skip_fortran_tests): New procedure.
11762
469aff8e
MC
117632004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11764
11765 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11766 reference to bug-gnu@prep.ai.mit.edu.
11767 * gdb.mi/mi-var-child.exp: Likewise.
11768 * gdb.mi/mi-var-cmd.exp: Likewise.
11769 * gdb.mi/mi-var-display.exp: Likewise.
11770 * gdb.mi/mi2-var-block.exp: Likewise.
11771 * gdb.mi/mi2-var-child.exp: Likewise.
11772 * gdb.mi/mi2-var-cmd.exp: Likewise.
11773 * gdb.mi/mi2-var-display.exp: Likewise.
11774
00b51b9f
MK
117752004-08-15 Mark Kettenis <kettenis@gnu.org>
11776
11777 * gdb.base/unload.c (main): Make local variable msg const.
11778
45f07fef
MC
117792004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11780
11781 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11782 to bug-gnu@prep.ai.mit.edu.
11783 * gdb.mi/mi-disassemble.exp: Likewise.
11784 * gdb.mi/mi-eval.exp: Likewise.
11785 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11786 default line number.
11787 * gdb.mi/mi-return.exp: Likewise.
11788 * gdb.mi/mi-simplerun.exp: Likewise.
11789 * gdb.mi/mi-stack.exp: Likewise.
11790 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11791 number with explicit range test.
11792 * gdb.mi/mi-watch.exp: Likewise.
11793 * gdb.mi/mi2-break.exp: Likewise.
11794 * gdb.mi/mi2-cli.exp: Likewise.
11795 * gdb.mi/mi2-disassemble.exp: Likewise.
11796 * gdb.mi/mi2-eval.exp: Likewise.
11797 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11798 default line number.
11799 * gdb.mi/mi2-return.exp: Likewise.
11800 * gdb.mi/mi2-simplerun.exp: Likewise.
11801 * gdb.mi/mi2-stack.exp: Likewise.
11802 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11803 number with explicit range test.
11804 * gdb.mi/mi2-watch.exp: Likewise.
11805
dd8c8ee7
MC
118062004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11807
11808 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11809 * gdb.cp/m-static.exp: Likewise.
11810 * gdb.cp/rtti.exp: Likewise.
11811
4e838464
MK
118122004-08-14 Mark Kettenis <kettenis@gnu.org>
11813
11814 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11815
8d8cb839
EZ
118162004-08-14 Eli Zaretskii <eliz@gnu.org>
11817
11818 * ChangeLog: Prefix Local Variables with semi-colons and indent
11819 the reference to older ChangeLog files, to fix fontification in
11820 Emacs.
11821
deea8bb0
MC
118222004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11823
11824 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11825 * gdb.mi/mi2-break.exp: Likewise.
11826
c3297504
MC
118272004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11828
11829 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11830
25808999
MC
118312004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11832
11833 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11834
226a8d71
MC
118352004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11836
11837 * gdb.cp/classes.exp: Remove unused declarations. Just let
11838 test names default instead of providing special names. Remove
11839 extraneous demangler test.
11840
37fdf854
JJ
118412004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11842
11843 * gdb.base/unload.exp: New test for breakpoints in dynamically
11844 loaded libraries.
11845 * gdb.base/unload.c: Ditto.
11846 * gdb.base/unloadshr.c: Ditto.
11847
2d3a7986
MC
118482004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11849
11850 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11851 cp_test_ptype_class.
11852 (test_enums): Likewise.
11853
c72b934c
AC
118542004-08-10 Andrew Cagney <cagney@gnu.org>
11855
11856 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11857 files.
11858
cc503c8a
AC
118592004-08-10 Andrew Cagney <cagney@gnu.org>
11860
11861 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11862 init_malloc call.
11863
902f2ccb
MC
118642004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11865
11866 * ChangeLog: Add copyright notice. The notice is copied
11867 from emacs 21.3 top level ChangeLog.
11868
78c90502
MC
118692004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11870
11871 * lib/cp-support.exp: New file.
11872 * lib/cp-support.exp (cp_test_type_class): New function.
11873 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11874 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11875 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11876 cp_test_ptype_class.
11877
88e5ea78
MC
118782004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11879
11880 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11881 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11882 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11883 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11884 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11885 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11886 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11887 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11888 gdb.mi/mi2-watch.exp: Update copyright years.
11889
6a89fc9c
MK
118902004-08-09 Mark Kettenis <kettenis@gnu.org>
11891
11892 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11893
1482e0de
MC
118942004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11895
11896 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11897 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11898 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11899 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11900 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11901 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11902 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11903 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11904 gdb.mi/mi-watch.exp: Update copyright years.
11905
1a5ce3f3
DJ
119062004-08-08 Daniel Jacobowitz <dan@debian.org>
11907
11908 PR gdb/1738
11909 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11910 from a breakpoint with a pending signal.
11911
04f6ecf2
DJ
119122004-08-08 Daniel Jacobowitz <dan@debian.org>
11913
11914 PR gdb/1736
11915 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11916 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11917 the prompt.
11918 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11919
54d90d35
DJ
119202004-08-08 Daniel Jacobowitz <dan@debian.org>
11921
11922 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11923
d2f6abb0
DJ
119242004-08-08 Daniel Jacobowitz <dan@debian.org>
11925
11926 PR gdb/1736
11927 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11928 for i?86-*-linux*.
11929
5598c03d
DJ
119302004-08-08 Daniel Jacobowitz <dan@debian.org>
11931
11932 * gdb.arch/i386-prologue.exp: Compile without debug information.
11933
c6fee705
MC
119342004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11935
11936 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11937 rather than asking gdb to search.
11938
dd90efdb
MC
119392004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11940
11941 * gdb.base/gcore.c: Include <string.h>.
11942
1e84bec1
MC
119432004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11944
11945 * gdb.base/gcore.c: Add copyright notice.
11946
e425eb2b
MC
119472004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11948
11949 * gdb.base/freebpcmd.c: Include <stdio.h>.
11950 * gdb.base/long_long.c: Include <string.h>.
11951 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11952 * gdb.base/siginfo.c: Include <string.h>.
11953 * gdb.base/sigstep.c: Include <string.h>.
11954
cb9aaed5
MC
119552004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11956
11957 * gdb.base/complex.c: Include <stdlib.h>.
11958
55944f3d
MC
119592004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11960
11961 * gdb.base/complex.c: Add copyright notice.
11962
7b2953d9
MC
119632004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11964
11965 * gdb.base/charset.c: Include <stdlib.h>.
11966
c9133d23
MC
119672004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11968
11969 * gdb.base/auxv.c: Include <stdlib.h>.
11970
0a8490ad
MC
119712004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11972
11973 * gdb.base/auxv.c: Add copyright notice.
11974
3426d5ec
MC
119752004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11976
11977 * gdb.base/coremaker.c: Add copyright notice.
11978 * gdb.base/coremaker2.c: Add copyright notice.
11979
8da195dd
AC
119802004-08-04 Andrew Cagney <cagney@gnu.org>
11981
11982 * gdb.base/store.exp: Update copyright.
11983 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11984 names, do not import gdb_prompt.
11985
8d394f98
AC
119862004-08-01 Andrew Cagney <cagney@gnu.org>
11987
11988 Fix PR testsuite/1729.
11989 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11990 not use capture_value with value 4.
11991 (capture_value): Add optional test name parameter.
11992 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11993 the prefix, pass to capture_value.
11994
b6702b23
MK
119952004-08-01 Mark Kettenis <kettenis@gnu.org>
11996
11997 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11998 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11999 (main): Call new function.
12000
c203e0ca
MC
120012004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12002
12003 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12004
a7995a30
MC
120052004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12006
12007 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12008
9366563b
MC
120092004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12010
b6eeaf26 12011 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
12012 Accept more values of vtbl pointer. Remove some messages
12013 about "obsolete gcc or gdb".
12014
2fc1f950
MC
120152004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12016
12017 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12018
c724d49b
MC
120192004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12020
12021 * gdb.base/asm-source.exp: Properly convert target board
12022 debug flags from gcc format to binutils format.
12023
736b0fce
MK
120242004-07-28 Mark Kettenis <kettenis@gnu.org>
12025
12026 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12027 gdb1718". PR backtrace/1718 partially fixed.
12028
5633ea5c
JJ
120292004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12030
12031 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12032
575eebb1
NC
120332004-07-26 Nick Clifton <nickc@redhat.com>
12034
12035 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12036 good default value for a specific architecture is available then
12037 set it to that value. Otherwise default to the -gstabs switch.
12038 Remove the -g... switches from the asm-flags variable. Allow the
12039 target board info to override the value if it wants to. Pass the
12040 switch on the assembler command line.
12041
62104619
MK
120422004-07-23 Mark Kettenis <kettenis@gnu.org>
12043
12044 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12045 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12046 (main): Call new function.
12047
4a1135b8
MC
120482004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12049
12050 Test for PR exp/1715.
12051 * gdb.base/radix.exp: Refactor common procedures. Make all
12052 test names unique. Change XFAIL to KFAIL.
12053
8a12c1f0
MC
120542004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12055
12056 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12057 * gdb.ada/gnat_ada.gin: ... to here.
12058 * configure.in: Use gnat_ada.gin.
12059 * configure: Regenerate.
12060
23b451cf
AC
120612004-07-20 Andrew Cagney <cagney@gnu.org>
12062
12063 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12064 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12065 XFAILs. Clean up test messages and comments. Check backtraces.
12066 Delete re-sync code.
12067
ab618a02
MC
120682004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12069
12070 Fix PR cli/740.
12071 * gdb.base/annota1.exp: Honor gdb,nosignals.
12072 * gdb.base/annota3.exp: Likewise.
12073
46dad340
MC
120742004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12075
12076 * lib/java.exp: Update copyright notice.
12077
756d8c70
AC
120782004-07-19 Andrew Cagney <cagney@gnu.org>
12079
12080 * gdb.base/selftest.exp: Copy file from here ...
12081 * gdb.gdb/selftest.exp: ... to here.
12082
586027e6
AC
120832004-07-16 Andrew Cagney <cagney@redhat.com>
12084
12085 * lib/insight-support.exp: Delete file.
12086 * lib/java.exp (java_init): Fix copyright.
12087
029d2200
AC
120882004-07-16 Andrew Cagney <cagney@gnu.org>
12089
12090 * gdb.base/restore.c: Append "prologue" to comments marking the a
12091 function's prologue.
12092 * gdb.base/restore.exp: Update copyright, re-indent.
12093 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12094 callerN" prefix where needed. Update patterns that match a
12095 function's prologue.
12096
653b62c5
MC
120972004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12098
12099 * gdb.base/restore.c: Add copyright notice.
12100
f7d690e5
AC
121012004-07-16 Andrew Cagney <cagney@gnu.org>
12102
12103 * gdb.base/logical.exp: Update copyright.
12104 (evaluate): New procedure. Use to re-implement tests using
12105 several tables.
12106
d629a7cb
MH
121072004-07-14 Martin Hunt <hunt@redhat.com>
12108
12109 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12110 which fixes some problems where init.tcl was not found.
12111
9c7bb332
AC
121122004-07-13 Andrew Cagney <cagney@gnu.org>
12113
6bf46641
AC
12114 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12115 (check_sizeof, check_valueof): Do not include the output in the
12116 test name. Use gdb_test.
12117 (get_valueof): Use gdb_test_multiple.
12118
c4ffd4c0
AC
12119 * gdb.base/step-test.exp: Update copyright. Use
12120 gdb_test_multiple. Ensure that test names do not include
12121 architecture dependent output.
12122
ab89363a
AC
12123 * gdb.gdb/observer.exp: Update copyright.
12124 (setup_test): Use gdb_test_multiple.
12125 (attach_first_observer, attach_second_observer)
12126 (attach_third_observer, detach_first_observer)
12127 (detach_second_observer, detach_third_observer)
12128 (reset_counters, check_counters): Make $message a prefix.
12129 (test_normal_stop_notifications): Add "args" parameter - a list of
12130 init functions to be called. Make $message a prefix,
12131 (test_observer_normal_stop): Change the message prefixes so that
12132 they are unique, pass the attach / detach procedures to
12133 test_normal_stop_notifications.
12134
ec58997a
AC
12135 * gdb.base/signull.exp (test_segv): Prefix all tests with
12136 "${name}". Clean up test messages.
12137
b475183b
AC
12138 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12139
9c7bb332
AC
12140 * gdb.base/ena-dis-br.exp: Update copyright.
12141 (break_at): New function. Replace send_gdb with gdb_test,
12142 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12143 ignore count, not stopped at bpt", with KFAIL.
12144
2dd95497
CV
121452004-07-13 Corinna Vinschen <vinschen@redhat.com>
12146
12147 * gdb.base/attach.exp: Remove cleanupfile handling.
12148
419e626b
AC
121492004-07-12 Andrew Cagney <cagney@gnu.org>
12150
12151 * gdb.base/annota1.exp: Cleanup corefile test name.
12152 * gdb.base/annota3.exp: Ditto.
12153
8b1b3228
AC
121542004-07-12 Andrew Cagney <cagney@gnu.org>
12155
78650829
AC
12156 * gdb.base/signals.exp: Clean up copyright, re-indent.
12157
8b1b3228
AC
12158 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12159 gdb_test and gdb_test_multiple.
12160
935c2760
JJ
121612004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12162
12163 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 12164 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
12165 provide line number info for first statement in main.
12166
1544280f
AC
121672004-07-08 Andrew Cagney <cagney@gnu.org>
12168
1279f4ff
AC
12169 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12170
1544280f
AC
12171 * gdb.base/sigbpt.exp: Make the common part of each test name a
12172 prefix instead of suffix.
12173
bcc82369
BR
121742004-07-07 Bob Rossi <bob_rossi@cox.net>
12175
12176 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12177 test from test_tbreak_creation_and_listing to
12178 test_file_list_exec_source_file
12179 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12180 Changed name of test from test_tbreak_creation_and_listing to
12181 test_file_list_exec_source_file
12182
23f4b0aa
JJ
121832004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12184
12185 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12186 the jmisc() constructor instead of <init>.
12187 * gdb.java/jmisc1.exp: Ditto.
12188
56401cd5
AC
121892004-07-07 Andrew Cagney <cagney@gnu.org>
12190
12191 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12192 corrupting the PC.
12193
44ae2f6a
MC
121942004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12195
12196 * gdb.cp/templates.exp: Accept whitespace change in demangler
12197 output.
12198
45a83408
AC
121992004-07-06 Andrew Cagney <cagney@gnu.org>
12200
12201 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12202
d205ad70
MC
122032004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12204
12205 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12206 * lib/compiler.cc: Likewise.
12207
06ea1a61
MC
122082004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12209
12210 * lib/compiler.cc: Work around string preprocessing problem
12211 with old hp c++ compiler.
12212 * lib/compiler.c: Likewise.
12213
daab1251
CV
122142004-06-29 Corinna Vinschen <vinschen@redhat.com>
12215
12216 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12217 directives to conditionalize symbol prefixing.
12218 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12219 additional_flags handling. Add underscore prefix for Cygwin.
12220 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12221 conditionalize symbol prefixing.
12222 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12223 additional_flags handling. Add underscore prefix for Cygwin.
12224
cc984116
CV
122252004-06-29 Corinna Vinschen <vinschen@redhat.com>
12226
12227 * gdb.base/bigcore.exp: Skip test on Cygwin.
12228
c279b077
MC
122292004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12230
12231 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12232 formats for "info register". Use gdb_test_multiple. Fix
12233 the "invalid register" test.
12234
0e915747
CV
122352004-06-28 Corinna Vinschen <vinschen@redhat.com>
12236
12237 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12238 PID for Cygwin. Add Cygwin specific strings to check for in some
12239 tests.
12240 (do_attach_tests): Add a test for user interaction when attaching
12241 to a process with no matching symbol table already loaded.
12242
11422c86
AC
122432004-06-26 Andrew Cagney <cagney@gnu.org>
12244
12245 Test PR java/1567 and PR java/1565.
12246 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12247 * gdb.java/jmisc2.exp: Delete file.
12248
cefbce26
MC
122492004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12250
12251 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12252
e19f872c
CV
122532004-06-25 Corinna Vinschen <vinschen@redhat.com>
12254
12255 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12256 attach process.
12257
d931ba3b
MC
122582004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12259
12260 * gdb.cp/pr-1553.exp: Remove.
12261
aef68c48
MC
122622004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12263
12264 * gdb.cp/pr-1553.cc: Remove.
12265 * gdb.cp/pr-1553.exp: Disable this test.
12266
8d5df71a
JB
122672004-06-20 Jim Blandy <jimb@redhat.com>
12268
a9c64011 12269 Fix PR testsuite/1680.
8d5df71a
JB
12270 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12271 regular expressions.
12272
4ac6f39d
MC
122732004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12274
12275 Fix PR testsuite/1679.
12276 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12277 Issue an UNSUPPORTED result instead.
12278
1b413552
JB
122792004-06-18 Jim Blandy <jimb@redhat.com>
12280
12281 * gdb.base/charset.exp: Only send a control-C if we see a new
12282 prompt and incomplete command.
12283
6daa6ebd
MC
122842004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12285
12286 * gdb.cp/pr-574.cc: Add copyright notice.
12287
51fa4ae0
JB
122882004-06-17 Jim Blandy <jimb@redhat.com>
12289
12290 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12291 cases where the regexp has no groups; this grabs random text from
12292 the previous test suite, whatever that was.
12293
8fea26c5
MC
122942004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12295
12296 * gdb.cp/printmethod.cc: Add copyright notice.
12297
1e3aeb41
MC
122982004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12299
12300 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12301
9d9030bc
AC
123022004-06-16 Andrew Cagney <cagney@gnu.org>
12303
12304 * gdb.base/signull.c: Update copyright. Include <string.h>.
12305 (bowler): Replace data_pointer with data_read
12306 and data_write cases. Add code_descriptor case.
12307 (zero, desc): New array and pointer.
12308 (data, code): Change to simple pointers.
12309 * gdb.base/signull.exp: Fix probe pattern matching a function
12310 descriptor SIGSEGV. Replace data_pointer with data_read and
12311 data_write tests.
12312
acd4ad44
AC
123132004-06-16 Andrew Cagney <cagney@gnu.org>
12314
12315 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12316
08fd625c
MC
123172004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12318
12319 * gdb.base/long_long.c: Add copyright notice.
12320
1903502c
MC
123212004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12322
12323 * gdb.base/long_long.exp: Remove reference to
12324 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12325 to gdb_breakpoint and gdb_continue_to_breakpoint.
12326
83313cb1
JB
123272004-06-14 Jim Blandy <jimb@redhat.com>
12328
12329 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12330 endian case.
12331
1bf404ef
AC
123322004-06-14 Andrew Cagney <cagney@gnu.org>
12333
12334 * gdb.base/gcore.exp (capture_command_output): Delete the always
12335 passing tests containing inferior values.
12336 * gdb.base/ending-run.exp: Do not include the breakpoint address
12337 in the test message. Update copyright.
12338 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12339 size in the test name, use gdb_test_multiple. Update copyright.
12340
ef220b33
MC
123412004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12342
12343 * gdb.cp/ref-types.cc: Add copyright notice.
12344
4f70a4c9
MC
123452004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12346
12347 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12348 hp_aCC_compiler.
12349 * lib/compiler.cc: Likewise.
12350 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12351 'set' commands. Log diagnostics for other lines. Set
12352 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12353
335928ac
MC
123542004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12355
12356 * gdb.cp/try_catch.cc: Add copyright notice.
12357
2efb12e8
MC
123582004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12359
12360 * gdb.cp/userdef.cc: Add copyright notice.
12361
0bbed51a
MC
123622004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12363
12364 * gdb.cp/virtfunc.cc: Add copyright notice.
12365
e12a46c9
RC
123662004-06-11 Randolph Chung <tausq@debian.org>
12367
12368 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12369 problem.
12370
338e05af
AC
123712004-06-10 Andrew Cagney <cagney@gnu.org>
12372
12373 * lib/compiler.cc, lib/compiler.c: Append either
12374 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12375 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12376 instead of gcc-3-3.
12377
dc3f10cb
AC
123782004-06-09 Andrew Cagney <cagney@gnu.org>
12379
b4d946af
AC
12380 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12381 gdb/1455, bug is specific to "long long" and "double".
a9c64011 12382
dc3f10cb
AC
12383 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12384 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12385 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12386 fixed.
12387
b5c0bfa2
AC
123882004-06-09 Andrew Cagney <cagney@gnu.org>
12389
12390 * gdb.base/structs.exp (test_struct_returns): Replace
12391 "return_value_unknown" and "finish_value_unknown" by
12392 "return_value_known" and "finish_value_known". Instead of
12393 "return_value_unknown" iff "finish_value_unknown", check
12394 "return_value_known" implies "finish_value_known".
12395
caeb605f
MH
123962004-06-08 Martin Hunt <hunt@redhat.com>
12397
12398 * gdb.base/float.exp: Add pattern for mips targets.
12399
c892bb64
RC
124002004-06-08 Randolph Chung <tausq@debian.org>
12401
12402 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12403 message for unknown architectures more clear.
12404
48306d3e
JB
124052004-06-08 Joel Brobecker <brobecker@gnat.com>
12406
12407 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12408 start the execution of the program.
12409
83ecb59f
JB
124102004-06-07 Jim Blandy <jimb@redhat.com>
12411
12412 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12413 * gdb.arch/i386-cpuid.h: New helper file.
12414
55264cb4
RC
124152004-06-07 Randolph Chung <tausq@debian.org>
12416
12417 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12418 has started.
12419
23cadb28
RM
124202004-06-04 Roland McGrath <roland@redhat.com>
12421
12422 Fix PR gdb/1647.
12423 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12424 differently to be robust to output buffering differences.
12425
51d01eda
MC
124262004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12427
12428 * gdb.threads/pthreads.exp: Update copyright years.
12429 (check_control_c): Change asynchronous 'after' to synchronous.
12430
f4fc3b93
RM
124312004-06-04 Roland McGrath <roland@redhat.com>
12432
12433 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12434 next gdb prompt.
12435
4013522b
MC
124362004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12437
12438 Fix PR gdb/1636.
12439 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12440 calls to synchronous.
12441
7a8f1e6b
JB
124422004-05-26 Jim Blandy <jimb@redhat.com>
12443
12444 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12445
81bb3443
RC
124462004-05-24 Randolph Chung <tausq@debian.org>
12447
12448 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12449 * gdb.asm/pa.inc: New file.
12450
8f5a3103
MK
124512004-05-22 Mark Kettenis <kettenis@gnu.org>
12452
12453 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12454
734b8fe8 124552004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 12456 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
12457
12458 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12459 GDB prompt.
12460
725603e1
UW
124612004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12462
f4fc3b93 12463 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
12464 setjmp/longjmp. Use sigaction instead of signal.
12465
8b923272 124662004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 12467 Michael Snyder <msnyder@redhat.com>
8b923272
JB
12468
12469 * gdb.threads/pthread_cond_wait.c: New file.
12470 * gdb.threads/pthread_cond_wait.exp: New testcase.
12471
8bfabb04
AC
124722004-05-13 Andrew Cagney <cagney@redhat.com>
12473
12474 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12475 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12476
42edda50
AC
124772004-05-11 Andrew Cagney <cagney@redhat.com>
12478
12479 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12480 fixed but revealed gdb/1639.
12481
d303a6c7
AC
124822004-05-10 Andrew Cagney <cagney@redhat.com>
12483
12484 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12485 func1" and "next to 2nd alarm", kernel bug avoided.
12486
bf08c2a1
DJ
124872004-05-10 Daniel Jacobowitz <dan@debian.org>
12488
12489 PR external/1568
12490 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12491 XFAIL if it is smaller than bytes_allocated.
12492 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12493 (main): Make chunks_allocated unsigned. Correct comment.
12494
c0586a34
JB
124952004-05-07 Joel Brobecker <brobecker@gnat.com>
12496
12497 * gdb.arch/powerpc-aix-prologue.c: New file.
12498 * gdb.arch/powerpc-aix-prologue.exp: New file.
12499
f2785d12
JB
125002004-05-07 Jim Blandy <jimb@redhat.com>
12501
12502 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12503 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12504
bd7f6e30
JB
125052004-05-06 Joel Brobecker <brobecker@gnat.com>
12506
12507 * gdb.base/sep.exp: No longer setup_kfail when the program was
12508 built with dwarf2.
12509
0a5e7efe
JI
125102004-05-05 Jim Ingham <jingham@apple.com>
12511
12512 * gdb.base/pending.exp: Make sure pending breakpoints
12513 preserve the ignore count.
f4fc3b93 12514
a8958849
MK
125152004-04-27 Jerome Guitton <guitton@gnat.com>
12516
12517 * i386-prologue.exp: Add testcase for jump instruction as first
12518 instruction of the real code.
12519 * i386-prologue.c (jump_at_beginning): New function.
12520
7e103f5b
MK
125212004-04-28 Mark Kettenis <kettenis@gnu.org>
12522
12523 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12524 x86_64-*-*.
12525
5d38b224
MK
125262004-04-28 Mark Kettenis <kettenis@gnu.org>
12527
12528 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12529 i*86-*-*.
12530
0ef32fd9
MK
125312004-04-25 Mark Kettenis <kettenis@gnu.org>
12532
12533 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12534 expression that checks the return type.
12535
71d7dd7c
AC
125362004-04-23 Andrew Cagney <cagney@redhat.com>
12537
12538 * gdb.base/call-sc.exp: New test of scalar call/return values.
12539 * gdb.base/call-sc.c: Ditto.
12540
1e9f977e
JJ
125412004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12542
12543 * gdb.threads/manythreads.c: Reduce thread stack size.
12544
899d9e3a
JJ
125452004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12546
12547 * gdb.threads/manythreads.c: Add copyright notice.
12548
61bcae62
AC
125492004-04-23 Andrew Cagney <cagney@redhat.com>
12550
12551 * gdb.base/siginfo.exp: Better handle step out of signal.
12552 * gdb.base/sigstep.exp: Ditto.
12553
7339a42e 125542004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 12555 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
12556
12557 * gdb.threads/manythreads.c: New testcase.
12558 * gdb.threads/manythreads.exp: Ditto.
12559
5c98409b
JB
125602004-04-22 Jim Blandy <jimb@redhat.com>
12561
12562 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12563 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12564
3b611f1a
MC
125652004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12566
12567 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12568
f0fd9238
AC
125692004-04-21 Andrew Cagney <cagney@redhat.com>
12570
12571 * gdb.base/sigstep.c: New file.
12572 * gdb.base/sigstep.exp: New file.
12573
90990674
JB
125742004-04-16 Joel Brobecker <brobecker@gnat.com>
12575
12576 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12577 call to observer_notify_normal_stop.
12578
78cef34b
AC
125792004-04-15 Andrew Cagney <cagney@redhat.com>
12580
12581 * gdb.base/siginfo.c: New file.
12582 * gdb.base/siginfo.exp: New file.
12583
d2343407
JB
125842004-04-12 J. Brobecker <brobecker@gnat.com>
12585
12586 * gdb.base/sep.exp: Fix typo in comment.
12587
a2dba3c8
JB
125882004-04-12 J. Brobecker <brobecker@gnat.com>
12589
12590 * gdb.base/sep.c: New file.
12591 * gdb.base/sep-proc.c: New file.
12592 * gdb.base/sep.exp: New testcase.
12593
15f7b60e
MK
125942004-04-09 Mark Kettenis <kettenis@gnu.org>
12595
12596 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12597 support.
12598
44f4de1a
AC
125992004-04-05 Andrew Cagney <cagney@redhat.com>
12600
12601 * gdb.base/sigaltstack.c: New file.
12602 * gdb.base/sigaltstack.exp: New file.
12603
ef04f396
JB
126042004-04-04 Joel Brobecker <brobecker@gnat.com>
12605
12606 * gdb.base/foll-fork.exp: Update the expected output for
12607 "help set follow-fork-mode", to match a change that was made
12608 to the help of this variable on 2004-01-13.
12609
d40d2c92
JB
126102004-04-01 Joel Brobecker <brobecker@gnat.com>
12611
12612 * lib/ada.exp: Add copyright notice.
12613 * bar.ads: Likewise.
12614 * bar.adb: Likewise.
12615 * null_record.adb: Likewise.
12616 * null_record.exp: Likewise.
12617 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12618
f86ef5a3
JB
126192004-04-01 Joel Brobecker <brobecker@gnat.com>
12620
12621 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12622 * configure: Regenerate.
12623
414e70e3
JB
126242004-04-01 Joel Brobecker <brobecker@gnat.com>
12625
12626 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12627 to build the application. Remove the message printed when in
12628 verbose mode, redundant with the UNSUPPORTED message above.
12629
f0aaee49
JB
126302004-03-31 Joel Brobecker <brobecker@gnat.com>
12631
12632 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12633 * gdb.ada (null_record.exp): New testcase.
12634
ac81cb54
JB
126352004-03-31 Joel Brobecker <brobecker@gnat.com>
12636
12637 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12638
854af2f7
JB
126392004-03-31 Joel Brobecker <brobecker@gnat.com>
12640
12641 * gdb.ada: New subdirectory.
12642 * gdb.ada/Makefile.in: New file.
12643 * gdb.ada/gnat_ada.gpr.in: New file.
12644
034cb681
JB
126452004-03-31 Joel Brobecker <brobecker@gnat.com>
12646
12647 * lib/ada.exp: New file.
12648
78a1a894
DJ
126492004-03-24 Daniel Jacobowitz <drow@mvista.com>
12650
12651 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12652 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12653
4b2b3b3e
AC
126542004-03-22 Andrew Cagney <cagney@redhat.com>
12655
12656 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12657 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12658 Problem identified by Ulrich Weigand.
12659
23c73aa3
DC
126602004-03-17 David Carlton <carlton@kealia.com>
12661
12662 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12663 PR c++/826.
12664
d63a86f8
RM
126652004-03-16 Roland McGrath <roland@redhat.com>
12666
12667 * gdb.base/auxv.exp: New file.
12668 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12669
0e02aa50
DC
126702004-03-12 David Carlton <carlton@kealia.com>
12671
12672 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12673 * gdb.cp/pr-1553.cc: Ditto.
12674 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12675 pass branch.
12676
c20b71be
MC
126772004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12678
12679 * gdb.cp/templates.exp: Accept more template types.
12680
c7414a01
MC
126812004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12682
12683 From Corinna Vinschen with modifications.
12684 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12685 local variable obj_with_enum.
12686 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12687 results with obj_with_enum.
12688
ed69573c
MC
126892004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12690
12691 * gdb.cp/classes.cc: New file, copied from misc.cc.
12692 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12693
28301461
MC
126942004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12695
12696 * gdb.cp/misc.cc: Add copyright notice.
12697
1198ecbe
DC
126982004-03-05 David Carlton <carlton@kealia.com>
12699
12700 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12701 * gdb.cp/rtti.h: Update copyright.
12702 (namespace n2::n3): New.
12703 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12704 (n2::n3::func3): New.
12705 (main): Call n2::n3::func3.
12706 * gdb.cp/rtti2.cc: Update copyright.
12707 (n2::create3): New.
12708
9e08c470
MK
127092004-03-04 Mark Kettenis <kettenis@gnu.org>
12710
12711 * gdb.asm/openbsd.inc: Fix typo.
12712
4bebc3aa
FF
127132004-03-03 Fred Fish <fnf@redhat.com>
12714
12715 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12716 "val" instead of unused "size". Update copyright year.
12717
6ea9fb37
DJ
127182004-02-29 Daniel Jacobowitz <drow@mvista.com>
12719
12720 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12721 to use unsigned char.
12722 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12723 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12724
23b23974
DJ
127252004-02-29 Daniel Jacobowitz <drow@mvista.com>
12726
12727 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12728 line of output.
12729
7574fd53
DJ
127302004-02-28 Daniel Jacobowitz <drow@mvista.com>
12731
12732 * gdb.base/relocate.c (dummy): Initialize.
12733
a195357f
DJ
127342004-02-28 Daniel Jacobowitz <drow@mvista.com>
12735
12736 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12737 a breakpoint at exit.
12738
72fd54a9
FF
127392004-02-27 Fred Fish <fnf@redhat.com>
12740
12741 * gdb.base/chng-syms.exp: Add expect condition to match failing
12742 case that isn't a timeout.
12743
b9d23137
AC
127442004-02-27 Andrew Cagney <cagney@redhat.com>
12745
12746 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12747 support.
12748
15d208f6 127492004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 12750
15d208f6
FF
12751 * gdb.arch/gdb1431.c: Remove.
12752 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12753 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12754 of "until" incorrectly.
12755
98f9cd2d
JB
127562004-02-26 J. Brobecker <brobecker@gnat.com>
12757
12758 * gdb.cp/class2.cc (empty): New class.
12759 (refer): New function.
12760 (main): Declare an object of type empty and use it.
12761 * gdb.cp/class2.exp: Print the value of an object of type empty.
12762
9b50c11b
JJ
127632004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12764
12765 * gdb.base/langs.exp: Update query string to match the
12766 new nquery format used for pending breakpoints.
12767
0dcd613f
AC
127682004-02-26 Andrew Cagney <cagney@redhat.com>
12769
12770 Fix PR i18n/1570.
12771 * gdb.base/charset.c: Update copyright notice.
12772 (main, init_string): Remove the escape character '\e' tests.
12773 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12774 * gdb.base/charset.exp (valid_host_charset): Ditto.
12775 * gdb.base/setvar.exp: Ditto.
12776
b8a56647
AC
127772004-02-24 Andrew Cagney <cagney@redhat.com>
12778
90d59e34
AC
12779 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12780 mmapped data in core file" PASS and FAIL messages consistent.
12781
b8a56647
AC
12782 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12783 setting a breakpoint. Work around PR java/1565.
12784
9f27c604
JJ
127852004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12786
12787 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12788 new nquery format.
12789 * gdb.base/pending.exp: Ditto.
12790
3224a706
MK
127912004-02-22 Mark Kettenis <kettenis@gnu.org>
12792
12793 * configure.in: Run stabs tests on *BSD.
12794 * configure: Regenerated.
12795
41e0a9ca
MK
127962004-02-21 Mark Kettenis <kettenis@gnu.org>
12797
12798 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12799
1e1b3428
FF
128002004-02-20 Fred Fish <fnf@redhat.com>
12801
12802 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12803 blank in test for "returns short", for consistency with other
12804 "returns xxx" tests. Update copyright year.
12805
f9a7572a
FF
128062004-02-19 Fred Fish <fnf@redhat.com>
12807
12808 New testcase for PR breakpoint/1558.
12809 * gdb.arch/gdb1558.exp: New file.
12810 * gdb.arch/gdb1558.c: New file.
12811
b2ce2854
EZ
128122004-02-19 Elena Zannoni <ezannoni@redhat.com>
12813
12814 * gdb.base/nodebug.exp: Fix typo.
12815
e7c9ff01
JB
128162004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12817
12818 Committed by Jim Blandy <jimb@redhat.com>.
12819
62f4b920
JB
12820 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12821
2db536a1
JB
12822 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12823
e7c9ff01
JB
12824 * gdb.base/float.exp: Support s390*-*-* targets.
12825
f3205b34
AF
128262004-02-17 Adam Fedor <fedor@gnu.org>
12827
12828 * gdb.base/gdb1555.exp: New file.
12829 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12830
9d62932d
EZ
128312004-02-17 Elena Zannoni <ezannoni@redhat.com>
12832
12833 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12834
344c9711
FF
128352004-02-16 Fred Fish <fnf@redhat.com>
12836
12837 * gdb.arch/gdb1291.c: Remove
12838 * gdb.arch/gdb1291.s: New test input file.
12839 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12840 fail. Test for correct result, known incorrect result, other
12841 failures and timeouts.
12842
2d822687
AC
128432004-02-16 Andrew Cagney <cagney@redhat.com>
12844
12845 * gdb.base/bigcore.exp: New file.
12846 * gdb.base/bigcore.c: New file.
12847
dac15b66
AC
128482004-02-13 Andrew Cagney <cagney@redhat.com>
12849
12850 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12851 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12852 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12853 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12854 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12855 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12856 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12857 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12858 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12859 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12860
6bdfc2c4
JJ
128612004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12862
12863 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12864 executed is an alloc instruction.
12865
87b3ede8
DC
128662004-02-11 David Carlton <carlton@kealia.com>
12867
12868 * gdb.cp/breakpoint.exp: New.
12869 * gdb.cp/breakpoint.cc: New.
12870
6e19e2bf
MC
128712004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12872
12873 Partial fix for PR gdb/1543.
12874 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12875 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12876 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12877 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12878 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12879 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12880 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12881 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12882 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12883 to bug-gdb@prep.ai.mit.edu .
12884 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12885 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12886 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12887 Likewise.
12888
5c5455dc
AC
128892004-02-10 Andrew Cagney <cagney@redhat.com>
12890
12891 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12892 using gdb_internal_error_resync.
12893
9cf689d7
DJ
128942004-02-09 Daniel Jacobowitz <drow@mvista.com>
12895
12896 * gdb.threads/thread-specific.exp: Stop early if no threads are
12897 found.
12898
d2dc51db
MC
128992004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12900
12901 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12902
14b1a056
DJ
129032004-02-08 Daniel Jacobowitz <drow@mvista.com>
12904
12905 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12906 breakpoints.
12907
83f66e8f
DJ
129082004-02-07 Daniel Jacobowitz <drow@mvista.com>
12909
12910 * config/sim.exp (gdb_load): Handle $arg == "".
12911 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12912 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12913
30fc0091
EZ
129142004-02-07 Elena Zannoni <ezannoni@redhat.com>
12915
a9c64011
AS
12916 * gdb.base/maint.exp: Update test to reflect
12917 obstack changes.
30fc0091 12918
4d806929
JJ
129192004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12920
12921 * gdb.base/pendshr.c (pendfunc): New function that calls
12922 pendfunc1.
12923 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12924
7bfdd688
FF
129252004-02-04 Fred Fish <fnf@redhat.com>
12926
12927 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12928 function symbols and update copyright years.
12929 * gdb.arch/gdb1291.c: Ditto.
12930
aaa08ee4
MC
129312004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12932
12933 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12934
dbad7755
MC
129352004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12936
12937 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12938
ec4646ef
MC
129392004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12940
12941 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12942
1b802196
FF
129432004-02-02 Fred Fish <fnf@redhat.com>
12944
12945 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12946 remote targets. Update copyright years.
12947
18fe2033
JJ
129482004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12949
12950 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12951 support.
12952 * gdb.base/langs.exp: Fix test which attempts to create
12953 breakpoint on non-existent function to handle new pending
12954 support.
12955 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12956 a breakpoint.
12957 * gdb.base/pending.exp: New test.
12958 * gdb.base/pending.c: New file.
12959 * gdb.base/pendshr.c: Ditto.
12960
8d577d32
DC
129612004-02-02 David Carlton <carlton@kealia.com>
12962
12963 * gdb.cp/overload.exp: Add overloadNamespace tests.
12964 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12965 (overloadNamespace, XXX): New.
12966 (main): Call XXX::marker2.
12967
3ad13771
FF
129682004-02-01 Fred Fish <fnf@redhat.com>
12969
12970 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12971 * gdb.base/finish.exp: Ditto.
12972 * gdb.base/gcore.exp: Ditto.
12973 * gdb.base/huge.exp: Ditto.
12974 * gdb.base/info-proc.exp: Ditto.
12975 * gdb.base/return2.exp: Ditto.
12976 * gdb.threads/gcore-thread.exp: Ditto.
12977
44c75849
DJ
129782004-02-01 Daniel Jacobowitz <drow@mvista.com>
12979
12980 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12981
005bc093
MK
129822004-02-01 Mark Kettenis <kettenis@gnu.org>
12983
12984 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12985 that opening the file succeeds on OpenBSD.
12986
c47cebdb
DJ
129872004-02-01 Daniel Jacobowitz <drow@mvista.com>
12988
12989 * gdb.threads/thread-specific.c: New file.
12990 * gdb.threads/threads-specific.exp: New test script.
12991 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12992 to expect_out.
12993
5a01311c
MK
129942004-02-01 Mark Kettenis <kettenis@gnu.org>
12995
12996 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12997 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12998 only on the "print_small_structs from print_long_arg_list" test.
12999
ce22a4f1
DJ
130002004-02-01 Daniel Jacobowitz <drow@mvista.com>
13001
13002 * gdb.base/completion.exp: Kill a stray backslash.
13003
13004 From Jim Ingham <jingham@apple.com>:
13005 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13006 agrees with the result from sending a tab.
13007
abbab9d3
DJ
130082004-01-31 Daniel Jacobowitz <drow@mvista.com>
13009
13010 * gdb.base/chng-syms.exp: Remove stray newline.
13011
53904d1e
MK
130122004-01-31 Mark Kettenis <kettenis@gnu.org>
13013
13014 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13015 *-*-openbsd*.
13016 * gdb.asm/openbsd.inc: New file.
13017
3a4b3aac
MK
130182004-01-30 Mark Kettenis <kettenis@gnu.org>
13019
13020 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13021 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13022 *-*solaris2*. Remove commented out default settings for
13023 asm-flags. Replace gdb_compile with target_link.
13024
ebac27b4
MC
130252004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13026
13027 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13028 for all tests. Remove old hp-ux and cygnus xfail cases.
13029
d8679d84
PH
130302004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13031
13032 * gdb.base/chng-syms.exp: New file.
13033 * gdb.base/chng-syms.c: New file.
13034
0a55bc22
MC
130352004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13036
13037 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13038 Provide arms for current output in all my configurations.
13039
94b8e876
MC
130402004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13041
13042 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13043 * lib/compiler.cc: Likewise.
13044 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13045 get the right preprocessor. Eval the output directly. Remove
13046 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13047 hp_f77_compiler and hp_f90_compiler completely.
13048 (gdb_preprocess): Delete.
13049 (get_compiler): Delete.
13050
7cf03d44
MK
130512004-01-24 Mark Kettenis <kettenis@gnu.org>
13052
13053 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13054 <string.h>.
13055
68b6dce9
NR
130562004-01-24 Nick Roberts <nick@nick.uklinux.net>
13057
13058 * gdb.mi/mi-stack.exp: Update copyright.
13059
b368761e
DC
130602004-01-23 David Carlton <carlton@kealia.com>
13061
13062 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13063 test for cp_lookup_transparent_type.
13064 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13065 call them.
13066
f2061b53
DJ
130672004-01-23 Daniel Jacobowitz <drow@mvista.com>
13068
13069 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13070 after -var-update.
13071
37fc574a
DC
130722004-01-23 David Carlton <carlton@kealia.com>
13073
13074 * gdb.cp/namespace.cc (C::ensureRefs): New.
13075 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13076
8e94b928
NR
130772004-01-20 Nick Roberts <nick@nick.uklinux.net>
13078
13079 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13080 case "-stack-list-locals 2".
13081 * gdb.mi/mi-var-child.exp: Test for case
13082 "-var-list-children --all-values NAME".
13083
997b0952
MC
130842004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13085
13086 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13087
52470da3
MK
130882004-01-18 Mark Kettenis <kettenis@gnu.org>
13089
7049b4b8
MK
13090 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13091 used with gdb_test_multiple.
13092
52470da3
MK
13093 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13094 read at address 0. This fixes PR testsuite/1504.
13095
da6012e5
DJ
130962004-01-18 Daniel Jacobowitz <drow@mvista.com>
13097
13098 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13099 Remove downloading, guessing the host executable, the calls to
13100 gdb_file_cmd and gdb_target_cmd, and "load" support.
13101 (infer_host_exec): New function broken out from gdb_load.
13102 (gdb_load): New wrapper for gdbserver_gdb_load.
13103 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13104 gdb_target_cmd. Use -target-select.
13105 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13106 Download binaries to the host. Clear last_mi_remote_file when
13107 we load a new binary.
13108 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13109 call gdbserver_gdb_load and mi_gdb_target_cmd.
13110
32c70722
MC
131112004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13112
13113 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13114 type patterns.
13115
b0cecf36
MC
131162004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13117
13118 * gdb.cp/templates.exp: Fix typo in test name of
13119 "print Foo<volatile char*>::foo".
13120
4120d7e6
MC
131212004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13122
13123 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13124
f679e530
BE
131252004-01-16 Ben Elliston <bje@wasabisystems.com>
13126
13127 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13128 (clean mostlyclean): Remove empty rm.
13129
091c48f6
MC
131302004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13131
13132 * gdb.base/setvar.exp: Add copyright years.
13133
3e5fc8d2
DC
131342004-01-14 David Carlton <carlton@bactrian.org>
13135
13136 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13137 PR c++/1511 and update coment.
13138 * gdb.cp/templates.exp: Update patterns to match current output.
13139 If changes involve something other than whitespace, KFAIL
13140 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13141
63d06c5c
DC
131422004-01-14 David Carlton <carlton@kealia.com>
13143
13144 * gdb.cp/namespace.exp: Add tests involving classes defined within
13145 namespaces.
13146 * gdb.cp/namespace.cc (C::CClass): New.
13147 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13148
a51dab88
EZ
131492004-01-14 Elena Zannoni <ezannoni@redhat.com>
13150
13151 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13152 what debug info we have. Print a better message if something goes
13153 wrong while producing the separate debug info file.
13154
a476ccc9
MC
131552004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13156
13157 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13158
f453692c
MC
131592004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13160
13161 * gdb.base/callfuncs.c: Add copyright notice.
13162
f40063a5
MC
131632004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13164
13165 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13166 inheritance. PR gdb/1498, PR gcc/13539.
13167
19ac3974
EZ
131682004-01-13 Elena Zannoni <ezannoni@redhat.com>
13169
a9c64011
AS
13170 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13171 test specific name.
13172 * gdb.mi/gdb669.exp: Ditto.
13173 * gdb.mi/mi-pthreads.exp: Ditto.
13174 * gdb.mi/mi1-pthreads.exp: Ditto.
13175 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 13176
56c97c6e
MC
131772004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13178
13179 * gdb.cp/member-ptr.cc: Add copyright notice.
13180
a0644324
MC
131812004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13182
13183 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13184 some patterns for recent versions of gcc and hpacc. Delete
13185 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13186 Delete tests that access a NULL pointer-to-member-data. This
13187 script is still disabled for gcc.
13188
32fabe09
EZ
131892004-01-12 Elena Zannoni <ezannoni@redhat.com>
13190
13191 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 13192 escaped correctly.
32fabe09 13193
1f8a6abb
EZ
131942004-01-12 Elena Zannoni <ezannoni@redhat.com>
13195
13196 * gdb.base/sepdebug.exp: New file.
13197 * gdb.base/sepdebug.c: New file.
13198 * lib/gdb.exp (separate_debug_filename): New procedure.
13199 (gdb_gnu_strip_debug): New procedure.
13200
48efe704
AC
132012004-01-12 Andrew Cagney <cagney@redhat.com>
13202
13203 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13204 * gdb.mi/ChangeLog-1999-2003: New file.
13205
a9415475
AC
132062004-01-12 Andrew Cagney <cagney@redhat.com>
13207
13208 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13209 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13210 or EEXIST", treat EBUSY as an XFAIL.
13211
83b8cf9d
MC
132122004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13213
13214 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13215 hp_cc_compiler.
13216
9939d2a8
MC
132172004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13218
13219 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13220 decorations.
13221
1ff8cadf
MC
132222004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13223
13224 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13225 and "(aCC)" decorations. Remove obsolete doco about old
13226 test results.
13227
6fa9022e
MC
132282004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13229
13230 * gdb.cp/exception.exp: Fix typo in doco.
13231
209721fe
MK
132322004-01-09 Mark Kettenis <kettenis@gnu.org>
13233
13234 * gdb.base/gdb1476.exp: Fix typo.
13235
ef11303e
MC
132362004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13237
13238 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13239 file.
13240
041ab88c
MC
132412004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13242
13243 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13244 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13245 Use gdb_compile. Remove restriction on gcc. Add some patterns
13246 for recent version of gdb. Delete second half, which was a copy
13247 of the first half with different build flags. This test is
13248 still disabled because it is still not ready for production.
13249
e36d075a
MC
132502004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13251
13252 * gdb.cp/exception.cc: Add copyright notice.
13253 * gdb.cp/exception.exp: Add a notice that this file is broken
13254 because of line number changes caused by addition of copyright
13255 notice.
13256
42b190ad
MC
132572004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13258
13259 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13260 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13261
8f25f06b
MC
132622004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13263
13264 * gdb.cp/classes.exp: Accept gnu abi 2.
13265 * gdb.cp/derivation.exp: Likewise.
13266 * gdb.cp/overload.exp: Likewise.
13267 * gdb.cp/virtfunc.exp: Likewise.
13268
06ded8b8
MC
132692004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13270
13271 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13272 semicolon after end of function.
13273
77c26ae3
MC
132742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13275
13276 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13277 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13278 boilerplate code for compiling and running the program under
13279 test. Add some string method tests.
13280
20757486
MC
132812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13282
13283 * gdb.cp/bs15503.cc: Add copyright notice.
13284 * gdb.cp/bs15503.exp: Adjust line number.
13285
0fd3b503
MC
132862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13287
13288 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13289 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13290
10d1bea8
MC
132912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13292
13293 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13294 hp_cc_compiler.
13295
2789202a
MC
132962004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13297
13298 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13299 * gdb.cp/ctti.exp: Use the marker instead of "next".
13300 With gcc, run further before bailing.
13301
b862f14c
MC
133022004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13303
13304 * gdb.cp/cttiadd.cc: Add copyright notice.
13305 * gdb.cp/cttiadd1.cc: Likewise.
13306 * gdb.cp/cttiadd2.cc: Likewise.
13307 * gdb.cp/cttiadd3.cc: Likewise.
13308
96da2469
MC
133092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13310
13311 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13312 Use gdb_test, gdb_test_multiple. Use floating-point values that
13313 have exact representations in IEEE-ish formats.
13314
053248ff
MC
133152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13316
13317 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13318 compilers. Delete duplicate call to get_compiler_info.
13319 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13320 * gdb.base/volatile.exp: Likewise.
13321
84acecdd
MK
133222004-01-07 Mark Kettenis <kettenis@gnu.org>
13323
13324 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13325 memory at address 0.
13326
fe11a27f
MC
133272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13328
13329 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13330 to test for hp-ux assembler. Fix copyright years.
13331
60ad077b
AC
133322004-01-07 Andrew Cagney <cagney@redhat.com>
13333
13334 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13335
1c9b8f33
AC
133362004-01-07 Andrew Cagney <cagney@redhat.com>
13337
13338 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13339 when creating the read-only file. From analysis by Roland McGrath
13340 and Elena Zannoni.
13341
753ccc7a
MC
133422004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13343
13344 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13345
eca3e36b
MC
133462004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13347
13348 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13349 data pointers.
13350
f8d4bac4
MC
133512004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13352
13353 * gdb.cp/m-static.exp: Compile one source file at a time.
13354 Delete unused call to get_compiler_info.
13355
9b4e0f94
MC
133562004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13357
13358 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13359 * gdb.base/call-rt-st.exp: Likewise.
13360 * gdb.base/nodebug.exp: Likewise.
13361 * gdb.base/volatile.exp: Likewise.
13362 * gdb.cp/ref-types.exp: Likewise.
13363 * gdb.cp/templates.exp: Likewise.
13364
023c1024
MK
133652004-01-05 Mark Kettenis <kettenis@gnu.org>
13366
13367 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13368
19703c4a
MC
133692004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13370
13371 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13372 hppa*-hp-hpux*.
13373
18b67037
MK
133742004-01-04 Mark Kettenis <kettenis@gnu.org>
13375
ba6219c8
MK
13376 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13377 x86_64-*-*.
13378
18b67037
MK
13379 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13380 sparc64-*-* and sparc*-solaris2*.
13381
1bfbbb9d
MK
133822004-01-04 Mark Kettenis <kettenis@gnu.org>
13383
13384 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13385 return ${tests}" test. The ${tests} already mentions the
13386 filename.
13387
06846494
MC
133882004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13389
13390 * gdb.cp/local.exp: Accept gcc abi 2.
13391
3b0cb202
MC
133922004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13393
13394 * gdb.cp/templates.exp: Accept gcc abi 2.
13395
0643ec3f
MC
133962004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13397
13398 * lib/compiler.cc: Remove supports_template_debugging.
13399 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13400
d231d0b1
MC
134012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13402
13403 * gdb.cp/namespace.exp: Accept gcc abi 2.
13404
44ffb27c
MC
134052004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13406
13407 * gdb.cp/method.exp: Accept gcc abi 2.
13408
184ad485
MC
134092004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13410
13411 * gdb.cp/classes.exp: Generate identical results as old version.
13412 * gdb.cp/derivation.exp: Likewise.
13413 * gdb.cp/overload.exp: Likewise.
13414 * gdb.cp/virtfunc.exp: Likewise.
13415
116f09e7
MC
134162004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13417
13418 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13419 mysterious bug with sourceware version of expect.
13420
b1379776
MC
134212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13422
13423 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13424 current versions of gcc, including gcc abi 2. Remove gratuitous
13425 restart of test program. Use gdb_test_multiple and gdb_test for
13426 all tests. Add patterns to xfail missing "const" in "const char *"
13427 and kfail PR gdb/1155.
13428
6b7a4c0e
MC
134292004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13430
13431 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13432 current versions of gcc, including gcc abi 2. Remove gratuitous
13433 restart of test program. Use gdb_test_multiple and gdb_test for
13434 all tests. Add patterns to kfail PR gdb/1498.
13435
51615d72
MC
134362003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13437
13438 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13439 current versions of gcc, including gcc abi 2. Use "breakpoint"
13440 and "continue" instead of restarting the target program. Use
13441 gdb_test_multiple and gdb_test for all tests.
13442
7b79a9d7
MK
134432004-01-01 Mark Kettenis <kettenis@gnu.org>
13444
13445 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13446 for *-*-solaris2*.
13447
1cd3489f
MC
134482003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13449
13450 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13451 current versions of gcc, including gcc abi 2. Use "breakpoint"
13452 and "continue" instead of restarting the target program several
13453 times. Use gdb_test_multiple and gdb_test for all tests.
13454
850742db
MC
134552003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13456
13457 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13458 source files.
13459
eb4bbda8
MC
134602003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13461
13462 * gdb.base/environ.exp: Handle compiling test case from multiple
13463 source files.
13464
e42c7771
MC
134652003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13466
13467 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13468
80e4b428
JB
134692003-12-17 Jim Blandy <jimb@redhat.com>
13470
5f06973a
JB
13471 * gdb.base/freebpcmd.c: Add copyright notice.
13472
80e4b428
JB
13473 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13474
0ab84fb7
MC
134752003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13476
13477 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13478
1b3bb3d0
JB
134792003-12-13 Jim Blandy <jimb@redhat.com>
13480
13481 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13482
3a4c9371
KB
134832003-12-12 Kevin Buettner <kevinb@redhat.com>
13484
13485 * gdb.asm/frv.inc: New file.
13486 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13487
a1dea79a
FF
134882003-12-09 Fred Fish <fnf@redhat.com>
13489
13490 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13491 functions to break1.c and leave prototypes behind. Add more
13492 "set breakpoint NN here" comments.
13493 * gdb.base/break1.c: New file.
13494
13495 * gdb.base/break.exp: Handle compiling test case from multiple
13496 source files and change source file references as needed.
13497 * gdb.base/completion.exp: Ditto.
13498 * gdb.base/condbreak.exp: Ditto.
13499 * gdb.base/define.exp: Ditto.
13500 * gdb.base/ena-dis-br.exp: Ditto.
13501 * gdb.base/info-proc.exp: Ditto.
13502 * gdb.base/maint.exp: Ditto.
13503 * gdb.base/until.exp: Ditto.
13504
13505 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13506 hardcoded line numbers.
13507 * gdb.base/define.exp: Ditto.
13508 * gdb.base/ena-dis-br.exp: Ditto.
13509 * gdb.base/maint.exp: Ditto.
13510 * gdb.base/until.exp: Ditto.
13511
13512 * gdb.base/completion.exp: Use "break1" for completion tests since
13513 "break" is no longer a unique prefix.
13514
5266b69c
AC
135152003-12-06 Andrew Cagney <cagney@redhat.com>
13516
13517 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13518 "return_value_unimplemented". When an unimplemented struct return
13519 architecture, report incorrect values as a KFAIL
13520
374451f0
MC
135212003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13522
13523 * gdb.cp/rtti.exp: Accept new wording of warning from
13524 cp_lookup_rtti_type.
13525
ba9b20a7
MC
135262003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13527
13528 Partial fix for PR testsuite/1456.
13529 * gdb.base/scope.exp (test_at_main): Replace references to
13530 gcc_compiled with calls to test_compiler_info.
13531 (test_at_foo): Likewise.
13532 (test_at_bar): Likewise.
13533
b74b6d0b
MC
135342003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13535
13536 Partial fix for PR testsuite/1456.
13537 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13538 to test_compiler_info.
13539
ccfa3402
MC
135402003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13541
13542 * gdb.base/so-impl-ld.exp: Update copyright notice.
13543
f6246aba
MC
135442003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13545
13546 Partial fix for PR testsuite/1456.
13547 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13548 to test_compiler_info.
13549
13ae734a
MC
135502003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13551
13552 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13553 from current versions of gdb. Clean up regular expressions.
13554 Delete redundant timeout case.
13555
d8e1cdee
MC
135562003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13557
13558 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13559 from current versions of gdb. Clean up regular expressions.
13560 Delete redundant timeout case.
13561
96457b64
MC
135622003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13563
13564 Partial fix for PR testsuite/1456.
13565 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13566 gcc_compiled with call to test_compiler_info.
13567
f35309fc
MC
135682003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13569
13570 Partial fix for PR testsuite/1456.
13571 * gdb.base/list.exp (test_list_function): Delete unused declaration
13572 of gcc_compiled.
13573
d7afdf9b
MC
135742003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13575
13576 Partial fix for PR testsuite/1456.
13577 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13578 call to test_compiler_info.
13579
71507b56
MK
135802003-11-29 Mark Kettenis <kettenis@gnu.org>
13581
13582 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13583 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13584 it to create the appropriate note.inc.
13585 * gdb.asm/asmsrc1.s: Include "note.inc".
13586 * gdb.asm/netbsd.inc: New file.
13587 * gdb.asm/empty.inc: New file.
13588
f81f93f7
MC
135892003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13590
13591 Partial fix for PR testsuite/1456.
13592 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13593 calls to test_compiler_info.
13594
9a77938e
MC
135952003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13596
13597 Partial fix for PR testsuite/1456.
13598 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13599 calls to test_compiler_info.
13600
e8367dc7
MK
136012003-11-27 Mark Kettenis <kettenis@gnu.org>
13602
13603 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13604 pattern for the KFAILs.
13605
526c61ee
AF
136062003-11-25 Adam Fedor <fedor@gnu.org>
13607
13608 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13609 * gdb.objc/objcdecode.m: New file.
13610
28f2d600
AF
136112003-11-25 Adam Fedor <fedor@gnu.org>
13612
13613 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13614 * gdb.objc/nondebug.m: New file.
13615
a3895cee
BE
136162003-11-26 Ben Elliston <bje@wasabisystems.com>
13617
13618 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13619 NetBSD as it does on FreeBSD. Modelled on a similar change by
13620 Mark Kettenis on 2003-05-30.
13621 (link-flags): Set to "--entry _start" regardless of target.
13622 Special linker flags are to be appended to $link-flags.
13623 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13624
c9f2c8a3
MC
136252003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13626
13627 * gdb.cp/method.exp: Accept output of new demangler.
13628
15a0587a 136292003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
13630
13631 * gdb/class2.exp: New file.
13632 * gdb/class2.cc: New file.
13633
3c00b570
MC
136342003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13635
13636 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13637 of new demangler.
13638
7027acc7
MK
136392003-11-23 Mark Kettenis <kettenis@gnu.org>
13640
13641 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13642 of gdb_test "run".
13643
b0e1598a
MK
136442003-11-23 Mark Kettenis <kettenis@gnu.org>
13645
13646 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13647 "continue" into "run".
13648
4d9eda44
MC
136492003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13650
13651 Partial fix for PR testsuite/1456.
13652 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13653 call to test_compiler_info.
13654 * gdb.cp/ctti.exp: Likewise.
13655 * gdb.cp/derivation.exp: Likewise.
13656 * gdb.cp/member-ptr.exp: Likewise.
13657 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13658 reference to gcc_compiled.
13659
136602003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
13661
13662 Fix PR testsuite/1463.
13663 * gdb.base/structs.exp (start_structs_test): Call
13664 get_debug_format before using the debug format.
13665
d422fe19
AC
136662003-11-22 Andrew Cagney <cagney@redhat.com>
13667
13668 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13669 * gdb.base/structs.exp: Use gdb_test_multiple.
13670
039cf96d
AC
136712003-11-20 Andrew Cagney <cagney@redhat.com>
13672
6882279b
AC
13673 * gdb.base/structs.exp: Handle and recover from internal errors.
13674 Replace "foo${n}" with "foo<n>" in test messages.
13675
e53890ae
AC
13676 * gdb.base/structs.exp: Update copyright. Rewrite.
13677 * gdb.base/structs.c: Update copyright. Rewrite.
13678
2b211c59
AC
13679 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13680 resync count exceeded.
d63a86f8 13681
039cf96d
AC
13682 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13683 from the internal error.
13684 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13685 Original from Jim Blandy.
13686 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 13687
eac98b22
AC
136882003-11-19 Andrew Cagney <cagney@redhat.com>
13689
13690 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13691 KFAIL.
13692
67455b2a
MK
136932003-11-17 Mark Kettenis <kettenis@gnu.org>
13694
13695 New testcase for PR backtrace/1435.
13696 * gdb.arch/i386-unwind.exp: New file.
13697 * gdb.arch/i386-unwind.c: New file.
13698
853d6e5b
AC
136992003-11-17 Andrew Cagney <cagney@redhat.com>
13700
13701 * lib/gdb.exp (compiler_info): New global.
13702 (test_compiler_info): New function.
13703 (get_compiler_info): Set compiler_info.
13704 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13705 "compiler_info" to gcc-<major>-<minor>.
13706
38cf6e11
MC
137072003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13708
13709 * gdb.trace/configure: Remove.
13710
a50d3602
EZ
137112003-11-13 Elena Zannoni <ezannoni@redhat.com>
13712
13713 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 13714 breakpoints.
a50d3602
EZ
13715 * gdb.base/break.exp: Remove all references to explicit line
13716 numbers.
13717
d9407aaa
NC
137182003-11-11 Nick Clifton <nickc@redhat.com>
13719
13720 * gdb.base/shreloc.exp: Do not run for targets which do not
13721 support shared objects.
13722
db488fc1
CV
137232003-11-10 Corinna Vinschen <vinschen@redhat.com>
13724
13725 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13726 Don't run tests if nofileio flag is given.
13727
6a90a18e
EZ
137282003-11-07 Elena Zannoni <ezannoni@redhat.com>
13729
13730 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 13731 as well as 'Watchpoint'.
6a90a18e 13732
0b915e9c
EZ
137332003-11-06 Elena Zannoni <ezannoni@redhat.com>
13734
13735 Reported by Jim Ingham <jingham@apple.com>:
13736 * gdb.base/annota1.exp: Match at least one occurrence of the
13737 signal handler annotation.
13738
d7e4b55f
EZ
137392003-11-06 Elena Zannoni <ezannoni@redhat.com>
13740
a9c64011
AS
13741 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13742 as well as 'Watchpoint'.
d7e4b55f 13743
2fe4e8d0
MC
137442003-11-05 Michael Chastain <mec@shout.net>
13745
13746 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13747
6ef88553
KW
137482003-11-03 Kris Warkentin <kewarken@qnx.com>
13749
13750 * gdb.arch/gdb1291.c: New test file.
13751 * gdb.arch/gdb1291.exp: New test script.
13752 * gdb.arch/gdb1431.c: New test file.
13753 * gdb.arch/gdb1431.exp: New test script.
13754
ae7dc4d8
MC
137552003-10-22 Michael Chastain <mec@shout.net>
13756
13757 * gdb.mi/pthreads.c: Add copyright notice.
13758
c39d7427
MC
137592003-10-22 Michael Chastain <mec@shout.net>
13760
13761 * gdb.threads/pthreads.c: Add copyright notice.
13762
8b7d96c1
MC
137632003-10-20 Michael Chastain <mec@shout.net>
13764
13765 * gdb.base/gdb1056.exp: New test script.
13766
d1d69fdd
DJ
137672003-10-13 Daniel Jacobowitz <drow@mvista.com>
13768
13769 * gdb.threads/killed.exp: Use gdb_run_cmd.
13770
7d605576
DJ
137712003-10-13 Daniel Jacobowitz <drow@mvista.com>
13772
13773 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13774 create a core file.
13775 * gdb.threads/gcore-thread.exp: Likewise.
13776
618ec112
CV
137772003-10-13 Corinna Vinschen <vinschen@redhat.com>
13778
13779 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13780 type, based on char type.
13781 (struct bit_flags_short_t): New bitfield type, based on short type.
13782 (init_bit_flags_char): New fuction.
13783 (init_bit_flags_short): Ditto.
13784 (print_bit_flags_char): Ditto.
13785 (print_bit_flags_short): Ditto.
13786 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13787
9367a73c
MC
137882003-10-11 Michael Chastain <mec@shout.net>
13789
13790 * gdb.base/call-rt-st.exp: Update copyright year.
13791
1decf120
KI
137922003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13793
13794 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13795 * gdb.disasm/sh3.s: Ditto.
13796
5445b2ae
DJ
137972003-10-07 Daniel Jacobowitz <drow@mvista.com>
13798
13799 * gdb.threads/switch-threads.exp: New test.
13800 * gdb.threads/switch-threads.c: New source file.
13801
aec24853
CV
138022003-10-07 Corinna Vinschen <vinschen@redhat.com>
13803
13804 * gdb.base/ending-run.exp: Add sh specific case.
13805
adc7428d
AC
138062003-10-06 Andrew Cagney <cagney@redhat.com>
13807
13808 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13809 * gdb.disasm/mn10200.exp: Delete obsolete file.
13810
c9d37158
DJ
138112003-09-29 Daniel Jacobowitz <drow@mvista.com>
13812
13813 * ChangeLog: Correct an entry command.exp -> commands.exp.
13814 * gdb.base/commands.exp (bp_deleted_in_command_test)
13815 (temporary_breakpoint_commands): Check noargs.
13816
79c2c32d
DC
138172003-09-25 David Carlton <carlton@kealia.com>
13818
13819 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13820 of some print tests, where appropriate. Add tests for C::D::cd,
13821 E::ce, F::cXfX, G::XgX.
13822 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13823
594e6d67
RE
138242003-09-25 Richard Earnshaw <rearnsha@arm.com>
13825
13826 * lib/java.exp (java_init): Import target_alias before using it.
13827
10f0d451
DC
138282003-09-25 David Carlton <carlton@kealia.com>
13829
13830 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13831
274bcba0
EZ
138322003-09-23 Elena Zannoni <ezannoni@redhat.com>
13833
d63a86f8 13834 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 13835 weirdness.
274bcba0 13836
cdbf20f7
MC
138372003-09-17 Michael Chastain <mec@shout.net>
13838
13839 * gdb.cp/gdb1355.exp: New file.
13840 * gdb.cp/gdb1355.c: New file.
13841
71e06f80
CV
138422003-09-15 Corinna Vinschen <vinschen@redhat.com>
13843
13844 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13845 * gdb.asm/sh.inc: New file.
13846
5c4e30ca
DC
138472003-09-11 David Carlton <carlton@kealia.com>
13848
bd45b7af
DC
13849 * gdb.cp/namespace.exp: Add tests for namespace types.
13850 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
13851 (test_namespace): New.
13852
1c199746
EZ
138532003-09-11 Elena Zannoni <ezannoni@redhat.com>
13854
a9c64011 13855 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 13856 * gdb.stabs/weird.exp: Ditto.
1c199746 13857
04ed252f
MC
138582003-09-08 Michael Chastain <mec@shout.net>
13859
13860 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13861
d8a2d9e7
MC
138622003-09-07 Michael Chastain <mec@shout.net>
13863
13864 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13865 'parse error'.
13866
161afb24
MK
138672003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13868
13869 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13870
49f2741a
MC
138712003-08-30 Michael Chastain <mec@shout.net>
13872
13873 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13874 * gdb.gdb/observer.exp: Ditto.
13875 * gdb.gdb/xfullpath.exp: Ditto.
13876
8afa723e
MK
138772003-08-29 Mark Kettenis <kettenis@gnu.org>
13878
13879 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13880 *-*-*bsd*.
13881
f31dfe3b
JJ
138822003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13883
13884 * gdb.base/dump.exp: Skip for ia64.
13885
4630e498
JJ
138862003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13887
13888 * gdb.asm/asm-source.exp: Add ia64 support.
13889 * gdb.asm/ia64.inc: New file.
13890
1105b7ef
MC
138912003-08-22 Michael Chastain <mec@shout.net>
13892
13893 * gdb.cp: New directory.
13894 * gdb.cp/*: Copy from gdb.c++/*.
13895 * gdb.c++/*: Remove.
13896 * Makefile.in: Change gdb.c++ to gdb.cp.
13897 * configure.in: Ditto.
13898 * configure: Regnerate.
13899
c945b932
MK
139002003-08-18 Mark Kettenis <kettenis@gnu.org>
13901
13902 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13903 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13904
2b66634b
DJ
139052003-08-17 Daniel Jacobowitz <drow@mvista.com>
13906
13907 * mi-var-display.exp (-var-list-children weird): Accept function
13908 pointers with argument types.
13909 * mi1-var-display.exp (-var-list-children weird): Likewise.
13910 * mi2-var-display.exp (-var-list-children weird): Likewise.
13911
a356f73b
DJ
139122003-08-17 Daniel Jacobowitz <drow@mvista.com>
13913
13914 * gdb.base/annota3.exp: Add missing newline.
13915
483417b8
MC
139162003-08-06 Michael Chastain <mec@shout.net>
13917
13918 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13919
c99c59c3
MS
139202003-08-12 Michael Snyder <msnyder@redhat.com>
13921
13922 * gdb.base/float.exp: Add test for SH.
13923
55ed7501
MK
139242003-08-10 Mark Kettenis <kettenis@gnu.org>
13925
13926 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13927
1a371f2e
EZ
139282003-08-07 Elena Zannoni <ezannoni@redhat.com>
13929
13930 * gdb.base/completion.exp: Remove reduntant completion test
13931 on filename.
13932
e0f353ce
EZ
139332003-08-07 Elena Zannoni <ezannoni@redhat.com>
13934
a9c64011
AS
13935 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13936 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13937 gdb.trace/save-trace.exp: Make sure that full pathnames are
13938 escaped correctly.
e0f353ce 13939
5710a1af 139402003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 13941
a9c64011
AS
13942 * configure.in: Don't generate config.h from config.hin.
13943 * configure: Regenerate.
13944 * config.hin: Remove file.
13945 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13946 * gdb.threads/pthreads.c: Ditto.
5710a1af 13947
dcd81ce9
DJ
139482003-08-07 Daniel Jacobowitz <drow@mvista.com>
13949
13950 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13951 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13952 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13953 Replace ld24 with seth/add3.
13954
6009d884
AC
139552003-08-02 Andrew Cagney <cagney@redhat.com>
13956
13957 * gdb.base/annota3.exp: New file.
13958 * gdb.base/annota3.c: New file.
13959 * gdb.c++/annota3.exp: New file.
13960 * gdb.c++/annota3.cc: New file.
13961
51514e06
MC
139622003-07-29 Michael Chastain <mec@shout.net>
13963
13964 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13965 actually failed.
13966 (do_pass): Likewise.
13967 * gdb.threads/tls.exp: Always initialize no_of_threads.
13968
4ee6625b
DJ
139692003-07-27 Daniel Jacobowitz <drow@mvista.com>
13970
13971 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13972 pattern.
13973 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13974 * gdb.threads/tls.exp: Recognize one case of the host library not
13975 supporting TLS.
13976
225f2bf6
AC
139772003-07-27 Andrew Cagney <cagney@redhat.com>
13978
13979 * gdb.base/fileio.exp: Use SH when running commands using
13980 remote_exec.
13981
bcb27c9f
DJ
139822003-07-24 Daniel Jacobowitz <drow@mvista.com>
13983
13984 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13985 * gdb.base/relocate.c (dummy): New padding array.
13986
3d67be83
MS
139872003-07-22 Michael Snyder <msnyder@redhat.com>
13988
d63a86f8 13989 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
13990
13991 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13992 patterns to be more general, accepting old and new output.
13993 Some output chars (such as '+') also must be quoted.
d63a86f8 13994 Some addresses are displayed numerically instead of
3d67be83
MS
13995 symbolically.
13996
57ba3b85
MS
139972003-07-23 Michael Snyder <msnyder@redhat.com>
13998
686d097c
MS
13999 * gdb.base/return2.exp: Don't test long-long return.
14000
57ba3b85
MS
14001 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14002 * gdb.disasm/t01_mov.exp: Ditto.
14003 * gdb.disasm/t02_mova.s: Ditto.
14004 * gdb.disasm/t02_mova.exp: Ditto.
14005 * gdb.disasm/t03_add.s: Ditto.
14006 * gdb.disasm/t03_add.exp: Ditto.
14007 * gdb.disasm/t04_sub.s: Ditto.
14008 * gdb.disasm/t04_sub.exp: Ditto.
14009 * gdb.disasm/t05_cmp.s: Ditto.
14010 * gdb.disasm/t05_cmp.exp: Ditto.
14011 * gdb.disasm/t06_ari2.s: Ditto.
14012 * gdb.disasm/t06_ari2.exp: Ditto.
14013 * gdb.disasm/t07_ari3.s: Ditto.
14014 * gdb.disasm/t07_ari3.exp: Ditto.
14015 * gdb.disasm/t08_or.s: Ditto.
14016 * gdb.disasm/t08_or.exp: Ditto.
14017 * gdb.disasm/t09_xor.s: Ditto.
14018 * gdb.disasm/t09_xor.exp: Ditto.
14019 * gdb.disasm/t10_and.s: Ditto.
14020 * gdb.disasm/t10_and.exp: Ditto.
14021 * gdb.disasm/t11_logs.s: Ditto.
14022 * gdb.disasm/t11_logs.exp: Ditto.
14023 * gdb.disasm/t12_bit.s: Ditto.
14024 * gdb.disasm/t12_bit.exp: Ditto.
14025 * gdb.disasm/t13_otr.s: Ditto.
14026 * gdb.disasm/t13_otr.exp: Ditto.
14027
e00759ef
EZ
140282003-07-22 Elena Zannoni <ezannoni@redhat.com>
14029
14030 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14031
8bc2021f
EZ
140322003-07-22 Elena Zannoni <ezannoni@redhat.com>
14033
a9c64011
AS
14034 * gdb.threads/tls.c : New file.
14035 * gdb.threads/tls.exp : New file.
14036 * gdb.threads/tls-main.c : New file.
14037 * gdb.threads/tls-shared.c : New file.
14038 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14039
89320c4c
AS
140402003-07-22 Andreas Schwab <schwab@suse.de>
14041
14042 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14043
180dea7c
AS
140442003-07-20 Andreas Schwab <schwab@suse.de>
14045
14046 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14047 due to insn reordering.
14048
0714963c
AC
140492003-07-15 Andrew Cagney <cagney@redhat.com>
14050
14051 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14052
98a23b3f
MC
140532003-07-15 Michael Chastain <mec@shout.net>
14054
14055 * gdb.base/gdb1250.exp: New file.
14056 * gdb.base/gdb1250.c: New file.
14057
27e417a2
ML
140582003-07-09 Michal Ludvig <mludvig@suse.cz>
14059
14060 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14061 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14062
8bc2021f
EZ
140632003-07-09 Elena Zannoni <ezannoni@redhat.com>
14064
a9c64011
AS
14065 * gdb.threads/tls.c: New file.
14066 * gdb.threads/tls.exp: New file.
14067 * gdb.threads/tls-main.c: New file.
14068 * gdb.threads/tls-shared.c: New file.
14069 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14070
d99968dc
EZ
140712003-07-09 Elena Zannoni <ezannoni@redhat.com>
14072
14073 * gdb.base/annota1.exp: Make sure that we properly escape the
14074 full path of the source file. Xfail more permissive patterns,
d63a86f8 14075 due to a compiler debug info problem.
d99968dc 14076
83876b3b
AS
140772003-07-07 Andreas Schwab <schwab@suse.de>
14078
2705e972
AS
14079 * gdb.asm/m68k.inc: New file.
14080 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14081
83876b3b
AS
14082 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14083 arguments"): Also match negative number.
14084
14085 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14086
3a871b37
DJ
140872003-07-03 Daniel Jacobowitz <drow@mvista.com>
14088
14089 * gdb.base/store.c (charest): New typedef.
14090 (add_char): Rename to add_charest, update.
14091 (wack_char): Rename to wack_charest, update types. Return l + r
14092 to keep r live across the call.
14093 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14094 (wack_double, wack_doublest): Return l + r to keep r live across
14095 the call.
14096 * gdb.base/store.exp: Accomodate store.c changes.
14097
b2a7f303
DC
140982003-06-30 David Carlton <carlton@kealia.com>
14099
14100 * gdb.c++/maint.exp (test_invalid_name): New.
14101 (test_first_component): Add tests for invalid names.
14102
3c6cb4a1
MC
141032003-06-29 Michael Chastain <mec@shout.net>
14104
14105 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14106 output of '<VTT for class>' for virtual base classes.
14107
f1c2644b
DJ
141082003-06-29 Daniel Jacobowitz <drow@mvista.com>
14109
14110 * gdb.base/completion.exp: Tab-complete "complet" instead of
14111 "compl".
14112 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14113
18080350
DJ
141142003-06-29 Daniel Jacobowitz <drow@mvista.com>
14115
14116 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14117 * gdb.base/volatile.exp: Likewise.
14118
f56973f8
DJ
141192003-06-29 Daniel Jacobowitz <drow@mvista.com>
14120
14121 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14122 gdb/1265.
14123
141242003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
14125 Daniel Jacobowitz <drow@mvista.com>
14126
14127 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14128 initial line count of 'captured_main' from 26 to 32.
14129 (test_with_self): Allow xmalloc call to be interleaved with the
14130 preceding two lines.
14131
e766d4d6
JB
141322003-06-24 Joel Brobecker <brobecker@gnat.com>
14133
14134 * gdb.base/bang.exp: New testcase.
14135
f125c9a4
JB
141362003-06-23 Joel Brobecker <brobecker@gnat.com>
14137
14138 * gdb.base/langs.exp: Add some tests for the "minimal" language
14139 support.
14140
6e25beaf
EZ
141412003-06-23 Elena Zannoni <ezannoni@redhat.com>
14142
14143 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14144 the testcase.
14145
2f816dda
DJ
141462003-06-22 Daniel Jacobowitz <drow@mvista.com>
14147
14148 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14149 offset.
14150
db5a5748
DJ
141512003-06-22 Daniel Jacobowitz <drow@mvista.com>
14152
14153 * gdb.c++/pr-1210.cc: New file.
14154 * gdb.c++/pr-1210.exp: New file.
14155
1df0c130
DJ
141562003-06-21 Daniel Jacobowitz <drow@mvista.com>
14157
14158 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14159 000-exec-continue.
14160
a92feac0
MK
141612003-06-15 Mark Kettenis <kettenis@gnu.org>
14162
14163 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14164 on *-*-*bsd* instead of *-*-freebsd*.
14165
81a58f5b
AC
141662003-06-14 Andrew Cagney <cagney@redhat.com>
14167
14168 * gdb.base/store.exp: Test longest and doublest. Test all
14169 parameters. Weaken return statement match.
14170 * gdb.base/store.c: Add longest and doublest - aka long long and
14171 long double functions. Put all parameters into local register
14172 variables. Use negative values.
14173
b257a0d3
AC
141742003-06-14 Andrew Cagney <cagney@redhat.com>
14175
14176 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14177 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14178 exit status.
14179 * gdb.base/fileio.exp: Disable target when nointerrupts and
14180 noinferiorio, instead of limiting it to remote. Use remote_exec
14181 instead of system.
d63a86f8 14182
21c38304
JJ
141832003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14184
14185 * gdb.base/float.exp: Add ia64 support.
14186
1bcdb424
CV
141872003-06-12 Corinna Vinschen <vinschen@redhat.com>
14188
14189 * gdb.base/fileio.exp: Run only on remote targets.
14190
6aeb981f
CV
141912003-06-10 Corinna Vinschen <vinschen@redhat.com>
14192
14193 * gdb.base/fileio.c: New file, testing File-I/O.
14194 * gdb.base/fileio.exp: Ditto.
14195
53df362e
RG
141962003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14197
14198 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14199 shared objects after relocation at load time (gdb PR/1132).
14200 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 14201 as above, part of the shared object relocation test.
53df362e 14202
ffee1b46
MK
142032003-06-08 Mark Kettenis <kettenis@gnu.org>
14204
b5ca3722
MK
14205 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14206 fully filled history list.
14207 * gdb.base/gdb_history: New file.
14208
03ed860d
MK
14209 * gdb.base/signals.exp: XFAIL "continue to func1" on
14210 i*86-*-freebsd*.
14211
ffee1b46
MK
14212 * gdb.base/attach.exp: When trying to attach to a nonexistent
14213 process, make it possible to specify the PID based on the target,
14214 and do so for *-*-freebsd*.
14215
d80dbb52
RH
142162003-06-02 Richard Henderson <rth@redhat.com>
14217
14218 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14219
6dd77b81
RH
142202003-06-02 Richard Henderson <rth@redhat.com>
14221
14222 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14223
f6347e16
RH
142242003-06-02 Richard Henderson <rth@redhat.com>
14225
14226 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14227
2c161407
DJ
142282003-06-01 Daniel Jacobowitz <drow@mvista.com>
14229
14230 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14231 of globalvar.
14232
572eb746
MK
142332003-06-01 Mark Kettenis <kettenis@gnu.org>
14234
14235 * gdb.asm/asm-source.exp: Check for memory read errors in
14236 disassembler test on *BSD too.
14237
9e9617a5
RH
142382003-06-01 Richard Henderson <rth@redhat.com>
14239
14240 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14241 for .frame.
14242 (gdbasm_call): Lose ldgp.
14243 (gdbasm_startup): Add frame information.
14244 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14245
7b34ad4e
MK
142462003-05-31 Mark Kettenis <kettenis@gnu.org>
14247
14248 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14249 i?86-*-*.
14250
10059fdf
MK
142512003-05-30 Mark Kettenis <kettenis@gnu.org>
14252
14253 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14254 FreeBSD.
14255
acf4b816
RH
142562003-05-29 Richard Henderson <rth@redhat.com>
14257
14258 * gdb.asm/alpha.inc: New file.
14259 * gdb.asm/asm-source.exp: Use it.
14260
e9ecd949
JB
142612003-05-29 Jim Blandy <jimb@redhat.com>
14262
14263 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14264 'core.PID'.
14265
e3e5a4f3
JB
142662003-05-22 Jim Blandy <jimb@redhat.com>
14267
14268 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14269 backtrace.
d63a86f8 14270
72fe3d25
DC
142712003-05-20 David Carlton <carlton@math.stanford.edu>
14272
14273 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14274 this time.
14275
58da2eb2
DC
142762003-05-19 David Carlton <carlton@bactrian.org>
14277
14278 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14279 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14280
1fcb5155
DC
142812003-05-19 David Carlton <carlton@bactrian.org>
14282
14283 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14284 namespace tests.
14285 Bump copyright date.
14286 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14287 (main): Call C::D::marker2.
14288 * gdb.c++/namespace1.cc: New file.
14289
85e85163
JJ
142902003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14291
14292 Roland McGrath <roland@redhat.com>
d63a86f8 14293 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
14294 there is no manager thread.
14295
a25fbfec
JJ
142962003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14297
d63a86f8
RM
14298 * gdb.threads/schedlock.exp: Remove assumption that all threads
14299 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
14300 in one of the child threads rather than the main thread.
14301
be375bae
JB
143022003-05-07 Jim Blandy <jimb@redhat.com>
14303
09bf6082
JB
14304 Add support for assembly source testing on the s390x.
14305 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14306 architecture.
14307 * gdb.asm/s390x.inc: New file.
14308
be375bae
JB
14309 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14310 succession of 'if' statements.
14311
00905d52
AC
143122003-05-05 Andrew Cagney <cagney@redhat.com>
14313
14314 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14315
b1e29e33
AC
143162003-05-05 Andrew Cagney <cagney@redhat.com>
14317
14318 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14319 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14320
e33d66ec
EZ
143212003-05-02 Elena Zannoni <ezannoni@redhat.com>
14322
14323 * gdb.base/charset.exp: Update based on new behavior of set/show
14324 charset commands.
14325
2b6fd0d8
AC
143262003-05-01 Andrew Cagney <cagney@redhat.com>
14327
14328 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14329 variable do not give memory errors.
14330
130cacce
AF
143312003-04-30 Adam Fedor <fedor@gnu.org>
14332
14333 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14334 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14335 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14336 gdb.objc/basicclass.m: : New files
14337
14338 * lib/gdb.exp (gdb_compile_objc): New procedure.
14339
bea71854
DJ
143402003-04-27 Daniel Jacobowitz <drow@mvista.com>
14341
14342 * gdb.base/signals.exp: Make backtrace tests more specific.
14343
0f20eeea
DC
143442003-04-23 David Carlton <carlton@bactrian.org>
14345
14346 * gdb.c++/maint.exp (test_first_component): Add tests for
14347 'operator' in more locations.
14348
c8c4d8dc
KB
143492003-04-16 Kevin Buettner <kevinb@redhat.com>
14350
14351 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14352
3fe60e3c
EZ
143532003-04-16 Elena Zannoni <ezannoni@redhat.com>
14354
14355 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 14356 func marke' instead. Update test name.
3fe60e3c 14357
9219021c
DC
143582003-04-15 David Carlton <carlton@math.stanford.edu>
14359
14360 * gdb.c++/maint.exp: New file.
14361
5dd55bdd
EZ
143622003-04-14 Elena Zannoni <ezannoni@redhat.com>
14363
14364 * gdb.threads/schedlock.c: Change type of thread function argument
14365 to long, to avoid warnings on 64-bit platforms.
14366
00890572
EZ
143672003-04-14 Elena Zannoni <ezannoni@redhat.com>
14368
a9c64011
AS
14369 * gdb.base/attach.exp: Add new message from ptrace in case of
14370 attaching to nonexistent process.
d63a86f8 14371
93201743
JB
143722003-04-11 Jim Blandy <jimb@redhat.com>
14373
14374 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14375 gdb.c++/userdef.cc: Place comments on the lines to which the
14376 marker function might return.
14377 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14378 gdb.c++/userdef.exp: Look for those comments to check that we've
14379 returned to the right place, instead of checking line numbers.
14380
2a11c64d
EZ
143812003-04-11 Elena Zannoni <ezannoni@redhat.com>
14382
a9c64011
AS
14383 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14384 match on sourcefile name, instead of directory name.
2a11c64d 14385
68ab8fc5
EZ
143862003-04-10 Elena Zannoni <ezannoni@redhat.com>
14387
d63a86f8 14388 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
14389 working directory name.
14390
5624293a
JB
143912003-04-09 Jim Blandy <jimb@redhat.com>
14392
14393 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14394 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14395 after an inferior function call, report the failure, but allow the
14396 test to continue.
14397
f1f02ee4
SC
143982003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14399
14400 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14401 with -DPROTOTYPES.
14402
6eb79af0
SC
144032003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14404
14405 * gdb.base/break.exp: Revert last patch.
14406
8dfb4cf0
SC
144072003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14408
14409 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14410 with -DPROTOTYPES.
14411
ed4c619a
AC
144122003-04-02 Andrew Cagney <cagney@redhat.com>
14413
14414 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14415 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14416 matching directories by the name breakpoint.
14417 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14418 Make "continue to marker1" consistent.
14419 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14420 message consistent.
14421 * lib/gdb.exp: Put "the program is no longer running", and "the
14422 program exited" in parenthesis.
14423 * lib/mi-support.exp: Ditto.
d63a86f8 14424
4e35d5f0 144252003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 14426
4e35d5f0
BR
14427 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14428
71900fe8
AC
144292003-03-29 Andrew Cagney <cagney@redhat.com>
14430
14431 * gdb.base/sizeof.c (main): Print the value of '\377'.
14432 * gdb.base/sizeof.exp: Check the sign of '\377'.
14433
c0655a16
MC
144342003-03-27 Michael Chastain <mec@shout.net>
14435
14436 * gdb.base/gdb1090.exp: New file.
14437 * gdb.base/gdb1090.cc: New file.
14438
5b2a3989
JB
144392003-03-27 J. Brobecker <brobecker@gnat.com>
14440
14441 * gdb.gdb/observer.exp: New regression test.
14442
79876890
MC
144432003-03-27 Michael Chastain <mec@shout.net>
14444
14445 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14446 * gdb.base/ptype.exp: Likewise.
14447
6eac95e3
CV
144482003-03-27 Corinna Vinschen <vinschen@redhat.com>
14449
14450 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14451
e8c71839
MC
144522003-03-26 Michael Chastain <mec@shout.net>
14453
14454 * gdb.base/ptype.exp: Actually use some typedef'd types.
14455
71b10041
SC
144562003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14457
14458 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14459 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14460
2512cf80
CV
144612003-03-20 Corinna Vinschen <vinschen@redhat.com>
14462
14463 * gdb.base/default.exp: Fix regular expression.
14464
0d195a4f
CV
144652003-03-20 Corinna Vinschen <vinschen@redhat.com>
14466
14467 * gdb.base/args.exp: Fix regular expression.
14468
8a2dbca8
CV
144692003-03-20 Corinna Vinschen <vinschen@redhat.com>
14470
14471 * gdb.base/help.exp: Allow Win32 child process.
14472
bf028682
CV
144732003-03-20 Corinna Vinschen <vinschen@redhat.com>
14474
14475 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14476 when stepping out of main().
14477
182dbe85
CV
144782003-03-20 Corinna Vinschen <vinschen@redhat.com>
14479
14480 * gdb.base/default.exp: Check for win32 specific message when calling
14481 "run" without executable.
14482
d67a6ba5
CV
144832003-03-20 Corinna Vinschen <vinschen@redhat.com>
14484
14485 * gdb.base/args.exp: Expect .exe in output.
14486
a955b5bb
CV
144872003-03-20 Corinna Vinschen <vinschen@redhat.com>
14488
14489 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14490 Cygwin native.
14491
bf6bad4b
AC
144922003-03-17 Andrew Cagney <cagney@redhat.com>
14493
14494 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14495 vector registes.
14496 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14497 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14498
293e9a31
DC
144992003-03-17 David Carlton <carlton@math.stanford.edu>
14500
14501 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14502 test, for PR breakpoints/38.
14503 Call test_watchpoint_and_breakpoint.
14504 * gdb.base/watchpoint.c (func3): New function.
14505 (main): Call func3.
14506
5330f2db
DC
145072003-03-04 David Carlton <carlton@math.stanford.edu>
14508
14509 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14510 Garply<Garply<char> >:: garply".
14511 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14512 with respect to PR c++/1111; note also PR c++/1113.
14513 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14514 respect to PR c++/1062.
14515 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14516
6ece72da
DC
145172003-03-03 David Carlton <carlton@math.stanford.edu>
14518
14519 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14520 with respect to PR c++/57.
14521 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14522 c++/826.
14523 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14524 respect to PR c++/57.
14525
85ca1584
DC
145262003-03-03 David Carlton <carlton@math.stanford.edu>
14527
14528 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14529 respect to PR c++/33 into FAILs.
14530
98e9c5b8
MC
145312003-03-03 Michael Chastain <mec@shout.net>
14532
7bedbf27
MC
14533 * configure.in: Update copyright years.
14534
145352003-03-03 Michael Chastain <mec@shout.net>
14536
14537 * Makefile.in: Update copyright years.
98e9c5b8 14538
f683e100
DC
145392003-02-28 David Carlton <carlton@math.stanford.edu>
14540
14541 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14542 print class instead of struct and/or superfluous protection
14543 specifiers, as long as the resulting output is equivalent to the
14544 source code.
14545 Delete FIXME from end of messages on tests that don't need
14546 fixing.
14547
a9e0cf2c
DC
145482003-02-28 David Carlton <carlton@math.stanford.edu>
14549
14550 * gdb.c++/templates.exp (do_tests): Allow const in the two
14551 Foo<volatile char *>::foo tests.
14552
e8d359df
MS
145532003-02-27 Michael Snyder <msnyder@redhat.com>
14554
d63a86f8 14555 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
14556 will be consistant.
14557
0b71dc91
DC
145582003-02-26 David Carlton <carlton@math.stanford.edu>
14559
14560 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14561 char *>::foo" test with respect to PR c++/33. Create a new test
14562 which is identical to that one except that it doesn't put the
14563 space between the "char" and the "*"; KFAIL it, too.
14564
dd14ab43
DC
145652003-02-26 David Carlton <carlton@math.stanford.edu>
14566
14567 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14568 template types into either PASSes or KFAILs (corresponding to PR
14569 c++/57). Tweak indentation. Update copyright.
14570
1146c7f1
SC
145712003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14572
14573 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14574
74641dfb
MC
145752003-02-13 Michael Chastain <mec@shout.net>
14576
14577 * gdb.base/exprs.exp: Remove i960 remnants.
14578 * gdb.base/funcargs.exp: Likewise.
14579 * gdb.base/list.exp: Likewise.
14580 * gdb.base/ptype.exp: Likewise.
14581
559cd2d0
DC
145822003-02-14 David Carlton <carlton@math.stanford.edu>
14583
14584 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14585 pEe->D::vg()" from XFAIL to KFAIL.
14586
c4f90d87
JM
145872003-02-13 Jason Molenda (jmolenda@apple.com)
14588
14589 * gdb.base/maint.exp: Update maint print statistics regexp to include
14590 new entries.
14591
cbc4d97c
MC
145922003-02-13 Michael Chastain <mec@shout.net>
14593
14594 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14595
40f235b7
MC
145962003-02-12 Michael Chastain <mec@shout.net>
14597
14598 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14599 * gdb.c++/inherit.exp: Likewise.
14600 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14601 * gdb.c++/templates.exp: Likewise.
14602 * gdb.c++/virtfunc.exp: Likewise.
14603
c56716b0
JM
146042003-02-06 Jason Molenda (jason-cl@molenda.com)
14605
14606 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14607 why the code is written that way.
14608
070afcf8
MC
146092003-02-05 Michael Chastain <mec@shout.net>
14610
14611 * gdb.base/dump.exp: Add missing copyright line.
14612
5d0331e5
JM
146132003-02-05 Jason Molenda (jason-cl@molenda.com)
14614
f7ae6d3e 14615 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
14616 at the beginning so the breakpoint doesn't get set on the loop.
14617
92851186
MC
146182003-02-05 Michael Chastain <mec@shout.net>
14619
14620 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14621 output for configurations with gcc 2.95.3.
14622
cbf1e085
AC
146232003-02-05 Keith Seitz <keiths@redhat.com>
14624 Andrew Cagney <ac131313@redhat.com>
14625
14626 * gdb.mi/mi-cli.exp: New file.
d63a86f8 14627
29518e1e
MC
146282003-02-04 Michael Chastain <mec@shout.net>
14629
14630 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14631 Call perror and then continue.
14632
5af1d5f3
MC
146332003-02-03 Michael Chastain <mec@shout.net>
14634
14635 * gdb.c++/pr-1023.cc: New file.
14636 * gdb.c++/pr-1023.exp: New file.
14637
6b549786
JB
146382003-02-05 Jim Blandy <jimb@redhat.com>
14639
14640 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14641 it's local to foobar. Check for it there, and check that it's not
14642 present in main.
14643 * gdb.c++/local.cc (marker2): New function.
14644 (foobar): Call marker1.
14645 (main): Call marker2 instead of marker1.
14646
67f16606
AC
146472003-02-04 Andrew Cagney <ac131313@redhat.com>
14648
14649 * gdb.disasm/mn10200.exp: Obsolete file.
14650 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14651 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14652 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14653
1c5cb38e
DC
146542003-02-04 David Carlton <carlton@math.stanford.edu>
14655
14656 * gdb.c++/overload.exp: Test intToChar(1).
14657 * gdb.c++/overload.cc (intToChar): New.
14658 (main): Call intToChar.
14659
d1fe6965
DC
146602003-02-03 David Carlton <carlton@math.stanford.edu>
14661
14662 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14663 'might_kfail' arg.
14664 KFAIL some of the continue_to_bp_overloaded calls, according to
14665 PR c++/1025.
14666
9ba61c5d
MC
146672003-02-01 Michael Chastain <mec@shout.net>
14668
14669 * gdb.base/advance.c (marker1): New marker function.
14670 * gdb.base/advance.exp: When the 'advance' command lands on the
14671 return breakpoint, it can legitimately stop on either the
14672 current line or the next line. Accommodate both outcomes.
14673 * gdb.base/until.exp: Likewise.
14674
e7494ffb
AC
146752003-02-02 Andrew Cagney <ac131313@redhat.com>
14676
14677 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14678 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14679 now a list, not a tuple.
14680 * gdb.mi/mi-var-display.exp: Ditto.
14681 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 14682
075559bc
AC
146832003-02-01 Andrew Cagney <ac131313@redhat.com>
14684
14685 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14686 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14687 stack backtraces.
14688 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 14689
2bd4c7b1
MK
146902003-02-01 Mark Kettenis <kettenis@gnu.org>
14691
14692 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14693 gdb.mi/mi1-pthreads.exp: Return instead of calling
14694 gdb_suppress_entire_file.
14695
eabd8992
MS
146962003-02-01 Mark Salter <msalter@redhat.com>
14697
14698 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14699
71469e2f
MS
147002003-01-31 Mark Salter <msalter@redhat.com>
14701
14702 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14703 Support empty arg.
14704
38a94d44
MC
147052003-01-30 Michael Chastain <mec@shout.net>
14706
14707 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14708 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14709 has been fixed in gdb/readline on 2003-01-09.
14710
19ea9e73
MS
147112003-01-29 Michael Snyder <msnyder@redhat.com>
14712
e8d359df
MS
14713 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14714 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
14715 * gdb.base/args.exp: Skip if target does not support args passing.
14716
2307bd6a
DJ
147172003-01-22 Daniel Jacobowitz <drow@mvista.com>
14718
19ea9e73 14719 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
14720 gdb_test. Accept a list of expect arguments as the third
14721 parameter.
14722 (gdb_test): Use it.
14723
f2dd3617
EZ
147242003-01-20 Elena Zannoni <ezannoni@redhat.com>
14725
14726 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14727 allow for different test tree configurations. Update some
14728 tescases accordingly.
14729 * gdb.arch/altivec-regs.exp: Ditto.
14730 * gdb.asm/asm-source.exp: Ditto.
14731 * gdb.base/advance.exp: Ditto.
14732 * gdb.base/display.exp: Ditto.
d63a86f8 14733 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
14734 * gdb.base/mips_pro.exp: Ditto.
14735 * gdb.base/overlays.exp: Ditto.
14736 * gdb.base/relocate.exp: Ditto.
14737 * gdb.base/setshow.exp: Ditto.
14738 * gdb.base/step-line.exp: Ditto.
14739 * gdb.base/step-test.exp: Ditto.
14740 * gdb.base/until.exp: Ditto.
14741 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14742
c71cdefd
DC
147432003-01-17 David Carlton <carlton@math.stanford.edu>
14744
14745 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14746 corresponding to PR c++/945.
14747 Update copyright.
14748
fdba05d7
DC
147492003-01-17 David Carlton <carlton@math.stanford.edu>
14750
14751 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14752 corresponding to PR c++/68.
14753
147542003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
14755
14756 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14757 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14758 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14759
c362c33a
EZ
147602003-01-15 Elena Zannoni <ezannoni@redhat.com>
14761
0fbc361c
EZ
14762 * gdb.base/break.exp: Fix change of default location, because of
14763 removal of until tests.
14764 * gdb.base/help.exp: Update test for new 'until' help message.
14765 Add test for help on 'advance'.
a9c64011 14766 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 14767
dabf8a35
MK
147682003-01-15 Mark Kettenis <kettenis@gnu.org>
14769
14770 * gdb.base/default.exp: Adapt "info float" test for recent changes
14771 to that command. Add test for "info vector".
14772 * gdb.base/float.exp: New file. Add test for "info float" that
14773 resembles the old test in gdb.base/default.exp.
14774
a1769aca
DC
147752003-01-15 David Carlton <carlton@math.stanford.edu>
14776
14777 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14778
82025e13
EZ
147792003-01-15 Elena Zannoni <ezannoni@redhat.com>
14780
14781 * gdb.base/break.exp: Move the tests of until command from here...
14782 * gdb.base/until.exp: ... to here. New file. Add other tests.
14783 * gdb.base/advance.c: New file.
14784 * gdb.base/advance.exp: New file.
14785
8f9ab801
EZ
147862003-01-14 Elena Zannoni <ezannoni@redhat.com>
14787
a9c64011
AS
14788 * gdb.base/args.c: New file.
14789 * gdb.base/args.exp: New file.
8f9ab801 14790
9ae66589
DJ
147912003-01-14 Daniel Jacobowitz <drow@mvista.com>
14792
14793 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14794
8d77e5c3
DJ
147952003-01-14 Daniel Jacobowitz <drow@mvista.com>
14796
14797 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14798
12d2f0a1
DJ
147992003-01-14 Daniel Jacobowitz <drow@mvista.com>
14800
14801 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14802 dates.
14803
6ca37014
DJ
148042003-01-13 Daniel Jacobowitz <drow@mvista.com>
14805
14806 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14807
b0023472
DJ
148082003-01-13 Daniel Jacobowitz <drow@mvista.com>
14809
14810 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14811 (ptype &*"foo").
14812 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14813
607fbc54 148142003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
14815
14816 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14817 * gdb.mi/mi1-console.exp: Likewise.
14818
607fbc54 148192003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
14820
14821 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14822 * gdb.mi/mi1-console.exp: Likewise.
14823
a1fb14a2
DJ
148242003-01-13 Daniel Jacobowitz <drow@mvista.com>
14825
14826 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14827
c4cf40b7
DJ
148282003-01-09 Daniel Jacobowitz <drow@mvista.com>
14829
14830 * gdb.base/detach.exp: New test.
14831
696d5a5b
DJ
148322003-01-09 Daniel Jacobowitz <drow@mvista.com>
14833
14834 * Makefile.in (ALL_SUBDIRS): New variable.
14835 (subdirs, clean, distclean): Use it.
14836 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14837 regenerating Makefile, since it is generated from the top level.
14838 * gdb.asm/Makefile.in: Likewise.
14839 * gdb.base/Makefile.in: Likewise.
14840 * gdb.c++/Makefile.in: Likewise.
14841 * gdb.disasm/Makefile.in: Likewise.
14842 * gdb.java/Makefile.in: Likewise.
14843 * gdb.mi/Makefile.in: Likewise.
14844 * gdb.threads/Makefile.in: Likewise.
14845 * gdb.trace/Makefile.in: Likewise.
14846
754533e4
DC
148472003-01-09 David Carlton <carlton@math.stanford.edu>
14848
14849 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14850 Add copyright year 2003.
14851
d8b3e9ee
MC
148522003-01-06 Michael Chastain <mec@shout.net>
14853
14854 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14855 When selecting a thread, 'line' and 'file' are optional.
14856 * gdb.mi/mi1-pthreads.exp: Likewise.
14857
8e9e0fe6
AS
148582003-01-06 Andreas Schwab <schwab@suse.de>
14859
14860 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14861 failures.
14862
b5ab8ff3
DJ
148632003-01-04 Daniel Jacobowitz <drow@mvista.com>
14864
14865 Fix PR gdb/844
14866 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14867 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14868
14869 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14870 instead of calling gdb_suppress_entire_file.
14871 * gdb.threads/print-threads.exp: Likewise.
14872 * gdb.threads/schedlock.exp: Likewise.
14873
14874 * gdb.threads/killed.exp: Return instead of calling
14875 gdb_suppress_entire_file.
14876 * gdb.threads/linux-dp.exp: Likewise.
14877 * gdb.threads/pthreads.exp: Likewise.
14878
1e698235
DJ
148792003-01-04 Daniel Jacobowitz <drow@mvista.com>
14880
14881 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14882 stabs.
14883 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14884 * gdb.base/whatis.exp: Always allow (void) after function names.
14885
147ff08c
DJ
148862003-01-04 Daniel Jacobowitz <drow@mvista.com>
14887
14888 * gdb.c++/casts.exp: Correct regexp.
14889
dc62bfc2
MK
148902003-01-04 Mark Kettenis <kettenis@gnu.org>
14891
14892 * configure.in: Call AC_CONFIG_HEADER. Don't call
14893 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14894 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14895 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14896 aforementioned directories in the AC_OUPUT call.
14897 * config.hin: New file.
14898 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14899 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14900 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14901 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14902 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14903 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14904 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14905 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14906 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14907 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14908 gdb.threads/configure.in, gdb.threads/configure,
14909 gdb.threads/config.in, gdb.trace/configure.in,
14910 gdb.trace/configure: Removed.
14911
77afa639
MC
149122003-01-03 Michael Chastain <mec@shout.net>
14913
14914 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14915 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14916
7634bb6e
DJ
149172003-01-03 Daniel Jacobowitz <drow@mvista.com>
14918
14919 * gdb.base/store.exp: Fix regular expressions.
14920
b39c905e
MK
149212002-12-28 Mark Kettenis <kettenis@gnu.org>
14922
14923 * configure.in: Rewrite.
14924 * configure: Regenerated.
14925
0a8551dd
DC
149262003-01-03 David Carlton <carlton@math.stanford.edu>
14927
14928 * gdb.base/psymtab.exp: New file.
14929 * gdb.base/psymtab1.c: Ditto.
14930 * gdb.base/psymtab2.c: Ditto.
14931
c60b7188
AF
149322002-12-23 Adam Fedor <fedor@gnu.org>
14933
14934 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14935
ee73db83
DC
149362002-12-23 David Carlton <carlton@math.stanford.edu>
14937
14938 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14939 and current_directory initialization.
14940
d6c1774e
JB
149412002-12-22 Jim Blandy <jimb@redhat.com>
14942
f0a847b8
JB
14943 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14944 rather than as part of the output file name.
14945
d6c1774e
JB
14946 * gdb.base/attach.exp: There's no need to copy the test program to
14947 /tmp; that was only ever necessary on HP/UX, and this test is
14948 entirely disabled there anyway.
14949
f0708dbb
JB
149502002-12-21 Jim Blandy <jimb@redhat.com>
14951
4c2acfea
JB
14952 * gdb.c++/psmang.exp: Doc fix.
14953
f0708dbb
JB
14954 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14955 test.
14956
9579e000
DC
149572002-12-20 David Carlton <carlton@math.stanford.edu>
14958
14959 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14960
d1810171
MC
149612002-12-18 Michael Chastain <mec@shout.net>
14962
14963 * gdb.c++/annota2.exp: Add copyright year 2002.
14964
76565097
DC
149652002-12-17 David Carlton <carlton@math.stanford.edu>
14966
14967 * gdb.c++/try_catch.cc: Add marker comments.
14968 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14969 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14970 * gdb.c++/m-static.cc: Ditto.
14971 * gdb.c++/m-static1.cc: Ditto.
14972 * gdb.c++/try_catch.cc: Ditto.
14973
da81390b
JJ
149742002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14975
14976 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14977 to see whether we are using the new -environment-directory
14978 command which resets via -r or the old version of the command
14979 which may prompt the user. Part of fix for gdb/741.
14980
b304d130
AC
149812002-12-13 Andrew Cagney <ac131313@redhat.com>
14982
14983 * gdb.fortran/types.exp: Update obsolete comment.
14984 * gdb.fortran/exprs.exp: Ditto.
14985 * lib/gdb.exp: Delete obsolete code.
14986 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14987 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14988 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14989 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14990 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14991 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14992 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14993 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14994 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14995 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14996 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14997 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14998 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14999 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15000 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15001 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15002 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15003 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15004 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15005 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15006 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15007 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15008 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15009 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15010 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15011 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15012 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15013 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15014 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15015 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15016 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15017 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15018 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15019 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15020 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15021 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15022 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15023
a23b6e6a
DC
150242002-12-11 David Carlton <carlton@math.stanford.edu>
15025
15026 * gdb.c++/m-data.exp: Add test for members that shadow global
15027 variables: see PR gdb/804.
15028 * gdb.c++/m-data.cc: Ditto.
15029
6604731b
DJ
150302002-12-10 Daniel Jacobowitz <drow@mvista.com>
15031
15032 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15033
de46ecd7
DC
150342002-12-06 David Carlton <carlton@math.stanford.edu>
15035
15036 * gdb.base/store.c: Don't declare functions static.
15037
27e829d0
AC
150382002-12-04 Andrew Cagney <ac131313@redhat.com>
15039
15040 * gdb.base/store.exp, gdb.base/store.c: New files.
15041
92806416
DJ
150422002-12-03 Daniel Jacobowitz <drow@mvista.com>
15043
15044 * gdb.base/selftest.exp: Update for current gdb.
15045
3bcbaac5
DJ
150462002-12-03 Daniel Jacobowitz <drow@mvista.com>
15047
15048 * gdb.base/maint.exp: Only dump symbols from one source file
15049 or objfile.
15050
f4f00b1f
DJ
150512002-12-03 Daniel Jacobowitz <drow@mvista.com>
15052
15053 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15054 function call.
15055
f1c8a949
JB
150562002-11-25 Jim Blandy <jimb@redhat.com>
15057
15058 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15059 function appearing in error message.
15060
9e297a97
DJ
150612002-11-21 Daniel Jacobowitz <drow@mvista.com>
15062
15063 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15064
1f312e79
JJ
150652002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15066
d63a86f8
RM
15067 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15068 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15069 should be in mi console format. This is part of fix for PR gdb/604.
15070
83c31e7d
FN
150712002-09-18 Fernando Nasser <fnasser@redhat.com>
15072
15073 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15074 which explicitly prints the zero offset as "+0".
15075
322b3f65
DJ
150762002-10-22 Daniel Jacobowitz <drow@mvista.com>
15077
15078 * gdb.threads/schedlock.c (args): Make unsigned.
15079
150802002-10-21 Daniel Jacobowitz <drow@mvista.com>
15081
15082 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15083 numbers. Allow "foo2|selected stack frame".
15084 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15085 * gdb.asm/asmsrc2.s: Likewise.
15086 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15087 comments.
15088 * gdb.asm/mips.inc: New file.
15089
5e2fe5b8
AF
150902002-10-18 Adam Fedor <fedor@gnu.org>
15091
15092 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15093 * gdb.base/help.exp: Likewise.
15094
abe1a5d0
KB
150952002-10-17 Kevin Buettner <kevinb@redhat.com>
15096
15097 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15098 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15099
10abb1d4
JB
151002002-10-02 Jim Blandy <jimb@redhat.com>
15101
15102 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15103
1f609b42
AC
151042002-10-01 Andrew Cagney <ac131313@redhat.com>
15105
15106 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15107 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15108 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15109 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15110 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15111 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15112 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15113
0aee02e4
AC
151142002-09-29 Andrew Cagney <ac131313@redhat.com>
15115
15116 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15117 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15118 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15119 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15120 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15121 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15122 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 15123
6fde09ad
KB
151242002-09-27 Kevin Buettner <kevinb@redhat.com>
15125
15126 * gdb.base/annota1.exp (info break): Make directory components of
15127 path optional since not all compilers emit this debug information.
15128
889bf7c5
PA
15129 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15130 step ends up stepping out of the function instead of stopping on
15131 the epilogue.
6fde09ad 15132
9e8aab75
KS
151332002-09-26 Keith Seitz <keiths@redhat.com>
15134
15135 * lib/insight-support.exp (gdbtk_start): Figure out where
15136 the insight executable is based on where gdb is. Use this
15137 executable to start insight instead of gdb.
15138
e36180d7
AC
151392002-09-25 Andrew Cagney <cagney@redhat.com>
15140
15141 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15142
9dd34b2b
AC
151432002-09-24 Andrew Cagney <ac131313@redhat.com>
15144
15145 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15146 test_isolated_complaints.
15147 (test_empty_complaint): New function.
15148 (test_empty_complaints): New function. Check no output when no
15149 complaints.
d63a86f8 15150
dea97812
KB
151512002-09-19 Jim Blandy <jimb@redhat.com>
15152
a9c64011 15153 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 15154
54951bd7
AC
151552002-09-19 Andrew Cagney <ac131313@redhat.com>
15156
15157 * gdb.gdb/complaints.exp: New file.
15158
dec43320
AC
151592002-09-18 Andrew Cagney <ac131313@redhat.com>
15160
15161 * gdb.base/maint.exp: Check `help maint internal-warning'.
15162
e70d6e3f
DC
151632002-09-18 David Carlton <carlton@math.stanford.edu>
15164
15165 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15166 numbers, and replace them by a single breakpoint after the
15167 constructors are all finished.
15168 Add test 4.
15169 * gdb.c++/m-static.cc: Add test 4.
15170 * gdb.c++/m-static.h: New file.
15171 * gdb.c++/m-static1.cc: New file.
15172
15173 * gdb.c++/printmethod.exp: New file.
15174 * gdb.c++/printmethod.cc: New file.
15175
15176 * gdb.c++/pr-574.exp: New file.
15177 * gdb.c++/pr-574.cc: New file.
15178
afb5c968
CV
151792002-09-18 Corinna Vinschen <vinschen@redhat.com>
15180
15181 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15182 embedded targets which never actually exit.
15183
31e45dee
FN
151842002-09-18 Fernando Nasser <fnasser@redhat.com>
15185
15186 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15187 "don't step after run" as unresolved or unsupported, instead of xfail.
15188
a283c5a1
CV
151892002-09-18 Corinna Vinschen <vinschen@redhat.com>
15190
15191 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15192 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15193 Add newline to expected string in "step out of main (status wrapper)"
15194 case.
15195
11350d2a
CV
151962002-09-18 Corinna Vinschen <vinschen@redhat.com>
15197
15198 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15199 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15200
0deec7d6
TT
152012002-09-17 Tom Tromey <tromey@redhat.com>
15202
15203 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15204 \000, not \0, in double-quoted string.
15205
b2b4a1b5
CV
152062002-09-14 Corinna Vinschen <vinschen@redhat.com>
15207
c9d37158 15208 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
15209 string after running the commands execution on breakpoint tests.
15210
1c56143a
CV
152112002-09-13 Corinna Vinschen <vinschen@redhat.com>
15212
15213 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15214
37f8da45
JB
152152002-09-12 Joel Brobecker <brobecker@gnat.com>
15216
15217 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15218
08b468e0
KS
152192002-09-10 Keith Seitz <keiths@redhat.com>
15220
15221 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15222 runto proc.
15223 (mi_run_to_main): Use mi_runto.
15224 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15225
dc360f58
KS
152262002-09-10 Keith Seitz <keiths@redhat.com>
15227
15228 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15229 regexp for stopping at main. Could have multiple event notifications.
15230 Don't assume that main was declared with no parameters.
15231 (mi_next): Use mi_step_to.
15232 (mi_step): Use mi_next_to.
15233
ce3abcfb
CV
152342002-09-09 Corinna Vinschen <vinschen@redhat.com>
15235
15236 * gdb.base/default.exp: Fix expected string in `info float' test.
15237
d1f5b980
BE
152382002-09-09 Ben Elliston <bje@redhat.com>
15239
15240 * config/mips.exp: Update comments.
15241 * config/mips-idt.exp: Likewise.
15242 * config/nind.exp: Likewise.
15243 * config/slite.exp: Likewise.
15244 * config/sparclet.exp: Likewise.
15245 * config/udi.exp: Likewise.
15246 * config/vx.exp: Likewise.
15247 * config/vxworks29k.exp: Likewise.
15248
2f71430b
JB
152492002-09-05 Jim Blandy <jimb@redhat.com>
15250
15251 * gdb.threads/killed.exp: Fix test failure message.
15252
7ddebc7e
KS
152532002-09-04 Keith Seitz <keiths@redhat.com>
15254
15255 * lib/mi-support.exp: Update copyright.
15256 (mi_gdb_test): Increase the priority of the expected pattern
15257 so that it matches gdb_test.
15258
0ae67eb3
KS
152592002-09-03 Keith Seitz <keiths@redhat.com>
15260
15261 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15262 Use integer comparison instead of string comparison for testing
15263 whether binary was built.
15264
38fc42c8
JB
152652002-09-03 Jim Blandy <jimb@redhat.com>
15266
15267 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15268
b6ff0e81
JB
152692002-08-29 Jim Blandy <jimb@redhat.com>
15270
15271 * gdb.threads/pthreads.exp: Move the portable thread compilation
15272 code into a function in lib/gdb.exp, and call that from here.
15273 * lib/gdb.exp (gdb_compile_pthreads): New function.
15274
07c98896
KS
152752002-08-29 Keith Seitz <keiths@redhat.com>
15276
15277 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15278 expect_out so that callers can get at it.
15279
0312286c
DJ
152802002-08-23 Daniel Jacobowitz <drow@mvista.com>
15281
15282 * gdb.threads/print-threads.c: New file.
15283 * gdb.threads/print-threads.exp: New file.
15284 * gdb.threads/schedlock.c: New file.
15285 * gdb.threads/schedlock.exp: New file.
15286
dd039bc4
EZ
152872002-08-22 Elena Zannoni <ezannoni@redhat.com>
15288
a9c64011
AS
15289 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15290 not altivec.c.
dd039bc4 15291
1f36144c
MK
152922002-08-17 Mark Kettenis <kettenis@gnu.org>
15293
15294 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15295 targets. The problem should be fixed now.
15296
16057ec7 152972002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
15298
15299 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15300 2002-07-24 change that removes final dots from error messages.
15301
3c1499ad
TT
153022002-08-13 Tom Tromey <tromey@redhat.com>
15303
15304 * gdb.base/readline.exp: New file.
15305
a20ce2c3
AC
153062002-08-01 Andrew Cagney <ac131313@redhat.com>
15307
15308 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15309 supress message.
15310
db034ac5
AC
153112002-08-01 Andrew Cagney <cagney@redhat.com>
15312
15313 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15314 CHILL_FOR_TARGET and CHILL_LIB.
15315 * configure.in (configdirs): Remove gdb.chill.
15316 * configure: Regenerate.
15317 * lib/gdb.exp: Obsolete references to chill.
15318 * gdb.fortran/types.exp: Ditto.
15319 * gdb.fortran/exprs.exp: Ditto.
15320
3e000b18
KB
153212002-07-30 Kevin Buettner <kevinb@redhat.com>
15322
15323 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15324 set Irix-specific compile and link flags.
15325
28f4966b
KB
153262002-07-29 Kevin Buettner <kevinb@redhat.com>
15327
15328 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15329 source files. The ``-o'' option doesn't work with the ``-E'' option
15330 when using the Irix compiler.
15331
46c0d5a6
DJ
153322002-07-19 Daniel Jacobowitz <drow@mvista.com>
15333
15334 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15335 Improve support for reusing an exec file. Copy exec file
15336 to target, and run gdbserver on the target instead of on the host.
15337
eecf4bed
JB
153382002-07-18 Jim Blandy <jimb@redhat.com>
15339
0f815cdf
JB
15340 * gdb.base/ending-run.exp: Don't expect to see the program end in
15341 some orderly fashion when we're running on a real stand-alone
15342 board.
15343
eecf4bed
JB
15344 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15345 targets that don't support interrupts.
15346
52d309e4
JB
153472002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15348
15349 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15350 systems.
15351 Move comments in expect statements to inside the actions, so that they
15352 don't get matched against.
15353
ff683d9e
MK
153542002-07-10 Mark Kettenis <kettenis@gnu.org>
15355
15356 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15357 function when asleep" test.
15358
b5356753
AC
153592002-07-10 Andrew Cagney <ac131313@redhat.com>
15360
15361 * gdb.base/page.exp: Rewrite to handle problems with very long
15362 `info set' output. Update copyright.
15363
6aa4d13a
AC
153642002-06-26 Andrew Cagney <ac131313@redhat.com>
15365
15366 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15367 gdb.threads-hp.
15368 * gdb.hp/configure: Regenerate.
15369 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15370 * gdb.hp/gdb.threads-hp/configure: Delete file.
15371 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15372
8cf8c2b8
AC
153732002-06-22 Andrew Cagney <ac131313@redhat.com>
15374
15375 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15376 setlocale, bindtextdomain and textdomain.
15377
6827a8f8
JB
153782002-06-11 Jim Blandy <jimb@redhat.com>
15379
919d772c
JB
15380 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15381 preprocessor macro information is present.
15382
6827a8f8
JB
15383 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15384 tests.
15385
c15b0d21
MS
153862002-06-06 Michael Snyder <msnyder@redhat.com>
15387
c5984d70
MS
15388 * gdb.base/overlays.exp: Record addresses of overlay
15389 functions in TCL variables rather than in GDB variables,
15390 to avoid having GDB convert them to pointers (with loss
15391 of information).
15392
d63a86f8 15393 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 15394 default linker script changes.
c15b0d21
MS
15395 * gdb.base/long_long.exp: Add check for sizeof (long double).
15396
be26fe0d
ML
153972002-06-06 Michal Ludvig <mludvig@suse.cz>
15398
15399 * gdb.asm/asm-source.exp: Add x86-64 target.
15400 * gdb.asm/x86_64.inc: New.
d63a86f8 15401
258093ca 154022002-05-30 Michael Chastain <mec@shout.net>
258093ca 15403
4b3153f1 15404 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
15405 * gdb.c++/m-static.cc: New file.
15406 * gdb.c++/m-static.exp: New file.
15407
241264c6
MS
154082002-05-28 Michael Snyder <msnyder@redhat.com>
15409
15410 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15411 precision.
15412
9bba8c8f 154132002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 15414
4b3153f1 15415 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
15416 * gdb.c++/m-data.cc: New file.
15417 * gdb.c++/m-data.exp: New file.
15418
154192002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 15420
4b3153f1 15421 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 15422 * gdb.c++/try_catch.cc: New file.
d63a86f8 15423 * gdb.c++/try_catch.exp: New file.
9bba8c8f 15424
def1b996
MC
154252002-05-27 Michael Chastain <mec@shout.net>
15426
15427 * gdb.c++/local.exp: Accept more nested types in output.
15428
522ba268
MC
154292002-05-26 Michael Chastain <mec@shout.net>
15430
15431 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15432
277254ba
MS
154332002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15434
15435 * lib/gdb.exp (gdb_wrapper_init): Just because
15436 gdb_wrapper_file exists, this does not mean that the file
15437 should not be rebuilt. That is what gdb_wrapper_initialized
15438 is for.
15439 (default_gdb_init): Reset gdb_wrapper_initialized.
15440
b61a8733
MS
154412002-05-23 Michael Snyder <msnyder@redhat.com>
15442
d63a86f8 15443 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
15444 the precision of the floating point test results.
15445 * gdb.base/call-rt-st.exp: Ditto.
15446
b61a8733
MS
15447 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15448 * gdb.base/call-rt-st.exp: Ditto.
15449
56f6e910
MC
154502002-05-19 Michael Chastain <mec@shout.net>
15451
15452 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15453
ad0b0016
EZ
154542002-05-19 Elena Zannoni <ezannoni@redhat.com>
15455
a9c64011
AS
15456 * configure.in (configdirs): Add gdb.arch.
15457 * configure: Regenerate.
ad0b0016 15458
f617d2b6
JB
154592002-05-17 Jim Blandy <jimb@redhat.com>
15460
15461 * gdb.base/completion.exp: Recognize the more detailed error
15462 messages produced by the macro expander's lexical analyzer.
15463
eac2a696
EZ
154642002-05-14 Elena Zannoni <ezannoni@redhat.com>
15465
a9c64011
AS
15466 * gdb.arch/altivec-abi.c: New file.
15467 * gdb.arch/altivec-abi.exp: New file.
15468 * gdb.arch/altivec-regs.c: New file.
15469 * gdb.arch/altivec-regs.exp: New file.
eac2a696 15470
2fdde8f8
DJ
154712002-05-14 Daniel Jacobowitz <drow@mvista.com>
15472
15473 * gdb.base/maint.exp (maint print type): Update for new type
15474 structure.
d63a86f8 15475
e31f1a7c
EZ
154762002-05-14 Elena Zannoni <ezannoni@redhat.com>
15477
15478 * gdb.arch: New directory.
15479 * gdb.arch/configure.in: New file.
15480 * gdb.arch/configure: New file.
15481 * gdb.arch/Makefile.in: New file.
15482
db589741
CV
154832002-05-13 Corinna Vinschen <vinschen@redhat.com>
15484
15485 * gdb.asm/asm-source.exp: Add v850 as supported target.
15486 * gdb.asm/v850.inc: New file.
15487
8ce2a7dc
DJ
154882002-05-13 Daniel Jacobowitz <drow@mvista.com>
15489
15490 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15491
df763c7f
DJ
154922002-05-12 Daniel Jacobowitz <drow@mvista.com>
15493
15494 * gdb.base/break.exp: Check 'break "marker2"'.
15495
377daeed
MS
154962002-05-10 Michael Snyder <msnyder@redhat.com>
15497
15498 * gdb.base/long_long.exp: Fix typo.
15499
c4b7bc2b
JB
155002002-05-10 Jim Blandy <jimb@redhat.com>
15501
ecac9a4e
JB
15502 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15503 a bug.
15504
c4b7bc2b
JB
15505 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15506 Recognize more detailed error message produced by the macro
15507 expander's lexical analyzer.
15508 * lib/gdb.exp (test_print_reject): Same.
15509
e71019a1
MK
155102002-05-09 Mark Kettenis <kettenis@gnu.org>
15511
15512 * gdb.c++/method.exp: Fix typo.
15513
fedfc8e6
MS
155142002-05-08 Michael Snyder <msnyder@redhat.com>
15515
166a1957
MS
15516 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15517 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 15518 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
15519 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15520 Add iftarget clause for strongarm.
d63a86f8 15521
f1c47eb2
MS
155222002-05-06 Michael Snyder <msnyder@redhat.com>
15523
cb9a9d3e
MS
15524 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15525 (gdb_continue_to_end): Accept output from status wrapper.
15526 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15527 Clean up fail messages to match pass messages.
15528
f1c47eb2
MS
15529 Enable the "needs_status_wrapper" testsuite feature.
15530 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15531 (gdb_compile): Conditionally call gdb_wrapper_init.
15532 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15533 * gdb.c++/method.exp: Recognize output from status wrapper.
15534
6079c749
BE
155352002-05-06 Ben Elliston <bje@redhat.com>
15536From Graydon Hoare <graydon@redhat.com>
15537
15538 * config/sid.exp: Include support for "rawsid" protocol.
15539
188baff3
JB
155402002-05-03 Jim Blandy <jimb@redhat.com>
15541
15542 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15543 * gdb.c++/hang3.C: New file.
15544
b9c07f0f
AC
155452002-05-04 Andrew Cagney <ac131313@redhat.com>
15546
15547 * gdb.base/default.exp: Remove obsolete code.
15548 * gdb.c++/misc.exp: Ditto. Update copyright.
15549 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15550 * gdb.base/whatis.exp: Ditto. Update copyright.
15551 * gdb.base/scope.exp: Ditto. Update copyright.
15552 * gdb.base/ptype.exp: Ditto. Update copyright.
15553 * gdb.base/printcmds.exp: Ditto. Update copyright.
15554 * gdb.base/opaque.exp: Ditto. Update copyright.
15555 * gdb.base/list.exp: Ditto.
15556 * gdb.base/funcargs.exp: Ditto. Update copyright.
15557 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15558 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15559 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15560 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15561 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15562 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15563
5c7a0397
MS
155642002-05-02 Michael Snyder <msnyder@redhat.com>
15565
d6dcc264 15566 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
15567 * gdb.base/long_long.exp: Add xscale target.
15568 * gdb.base/default.exp: Add xscale target.
15569
eb7f1c48
JB
155702002-05-01 Jim Blandy <jimb@redhat.com>
15571
15572 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15573 gdb.c++/hang.exp: New test.
15574
a6befae8
FF
155752002-05-01 Fred Fish <fnf@redhat.com>
15576
15577 * gdb.base/completion.exp: Handle completions of "./Make" for
15578 more than one completion possibility, as is the case when we
15579 build and test in the source tree.
15580
0a310277
AG
155812002-04-29 Anthony Green <green@redhat.com>
15582
15583 * gdb.java/jmisc1.exp: New file.
15584 * gdb.java/jmisc2.exp: New file.
15585
6ff9af88
DJ
155862002-04-24 Daniel Jacobowitz <drow@mvista.com>
15587
15588 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15589
96b3d632
EZ
155902002-04-23 Elena Zannoni <ezannoni@redhat.com>
15591
15592 * gdb.base/help.exp: Change 'help status' to allow for target
15593 dependent output differences.
15594
5019bb54
MC
155952002-04-22 Michael Chastain <mec@shout.net>
15596
15597 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15598
a805a116
MC
155992002-04-22 Michael Chastain <mec@shout.net>
15600
15601 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15602
a1706bfd
DM
156032002-04-17 David S. Miller <davem@redhat.com>
15604
15605 * gdb.asm/sparc64.inc: New file.
15606 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15607
a73a20a2
EZ
156082002-04-19 Elena Zannoni <ezannoni@redhat.com>
15609
15610 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15611 instruction file directly into the build tree. Clean up at end of
15612 test.
15613
ba678339
DM
156142002-04-18 David S. Miller <davem@redhat.com>
15615
15616 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15617 handle 64-bit platforms correctly.
15618 * gdb.base/maint.exp: Likewise.
15619
b03399da
KB
156202002-04-18 Kevin Buettner <kevinb@redhat.com>
15621
15622 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15623 ``-fpic'' when compiling files comprising a shared library, but
15624 it does need additional linker flags in order to find shared
15625 libraries at run time.
15626
e2004992
KB
156272002-04-18 Kevin Buettner <kevinb@redhat.com>
15628
15629 * gdb.base/cvexpr.c (use): New function.
15630 (main): Invoke use() on all global variables to prevent
15631 some linkers from deleting these otherwise unused symbols.
15632
d8937120
MC
156332002-04-17 Michael Chastain <mec@shout.net>
15634From David S. Miller <davem@redhat.com>
15635
15636 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15637 handle 64-bit platforms correctly.
15638
ffd61a58
MS
156392002-04-12 Michael Snyder <msnyder@redhat.com>
15640From Jim Blandy <jimb@redhat.com>
a9c64011 15641 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
15642 script can handle this instead.
15643 * gdb.base/bar.c (barx): Same.
15644 * gdb.base/baz.c (bazx): Same.
15645 * gdb.base/grbx.c (grbxx): Same.
15646
15647 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15648 manager doesn't automatically unmap overlays unnecessarily.
15649
6b8426a6
MH
156502002-04-10 Martin M. Hunt <hunt@redhat.com>
15651
15652 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15653 stepping out of main.
15654
34af4875
MC
156552002-04-09 Michael Chastain <mec@shout.net>
15656
15657 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15658 scope so that the nested scope tests will make sense.
15659 * gdb.c++/local.exp: Write patterns that actually work with gcc
15660 (the HP patterns "were never known to work with gcc").
15661 Keep the old aCC patterns too.
15662
2d1676a0
DJ
156632002-04-09 Daniel Jacobowitz <drow@mvista.com>
15664
15665 * gdb.base/attach.exp: Correct target board test.
15666
3a63e3f9
MC
156672002-04-08 Michael Chastain <mec@shout.net>
15668
15669 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15670 in a const method. Add some xfail and fail cases for configurations
15671 that do not emit the "const ...".
15672
f18dabd2
MC
156732002-04-07 Michael Chastain <mec@shout.net>
15674
15675 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15676 Accept "A * const" and "const A * const" as type of "this".
15677 Fix spelling of getFunky throughout. Make messages uniform.
15678
0fcddd82
EZ
156792002-04-07 Elena Zannoni <ezannoni@redhat.com>
15680
a9c64011 15681 Work around for PR gdb/285:
0fcddd82
EZ
15682 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15683
16a8534a
EZ
156842002-04-07 Elena Zannoni <ezannoni@redhat.com>
15685
15686 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15687 instructions file at run time instead of configure time.
15688 Sometimes we run the test in a directory that is not the one we
15689 configured in.
15690 * gdb.asm/configure.in: Delete creation of symlink.
15691 * gdb.asm/configure: Regenerate.
15692
24181d81
JB
156932002-04-05 J. Brobecker <brobecker@gnat.com>
15694
15695 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15696 xfullpath () function.
15697
7cdb7107
DJ
156982002-04-04 Daniel Jacobowitz <drow@mvista.com>
15699
15700 * gdb.asm/Makefile.in: Correct dependencies.
15701
15702 * gdb.asm/powerpc.inc: New file.
15703 * gdb.asm/asm-source.exp: Add PowerPC.
15704 * gdb.asm/configure.in: Likewise.
15705 * gdb.asm/configure: Regenerated.
15706
a7d17088
DJ
157072002-04-04 Daniel Jacobowitz <drow@mvista.com>
15708
15709 * gdb.base/relocate.exp: New file.
15710 * gdb.base/relocate.c: New file.
15711
cd721503
FF
157122002-04-04 Fred Fish <fnf@redhat.com>
15713
15714 * gdb.base/step-test.exp: Update comment regarding stopping in
15715 memcpy/bcopy calls inserted as part of the compiler runtime.
15716
b22ad7a7
MS
157172002-04-04 Michael Snyder <msnyder@redhat.com>
15718
15719 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15720
5f279fa6
DJ
157212002-04-03 Daniel Jacobowitz <drow@mvista.com>
15722
15723 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15724 (gdb_expect): Remove $notransfer hack.
15725
dd0fd3ce
DJ
157262002-04-02 Daniel Jacobowitz <drow@mvista.com>
15727
15728 * gdb.c++/classes.exp ("calling method for small class"): Match
15729 updated register output.
15730
1e50cda1
DJ
157312002-03-30 Daniel Jacobowitz <drow@mvista.com>
15732
15733 Fix PR gdb/452
15734 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15735 when finished. Make gdb_file_cmd send "exec-file" when
15736 appropriate.
15737
24015922
DJ
157382002-03-30 Daniel Jacobowitz <drow@mvista.com>
15739
15740 * gdb.base/attach.exp: Remove extra setup_xfail.
15741
dd7dfd64
MS
157422002-03-26 Michael Snyder <msnyder@redhat.com>
15743
15744 * gdb.base/default.exp: Add tests for dump, append, and restore.
15745 * gdb.base/help.exp: Add tests for dump, append, and restore.
15746 * gdb.base/dump.exp: New file, test dump, append and restore.
15747 * gdb.base/dump.c: New file.
15748
48b2f8d7
MS
157492002-03-27 Michael Snyder <msnyder@redhat.com>
15750
d63a86f8 15751 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
15752 clean-ups in help messages.
15753
05b4d525
FF
157542002-03-26 Fred Fish <fnf@redhat.com>
15755
15756 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15757 have debugging info for those functions and the compiler uses them
15758 internally to copy structs around.
15759
d7679631
FF
157602002-03-26 Fred Fish <fnf@redhat.com>
15761
15762 * gdb.base/list.exp: Revert the change made yesterday and add note
15763 about why we don't list the default lines for remote targets.
15764
523ac3f9
MS
157652002-03-25 Michael Snyder <msnyder@redhat.com>
15766
15767 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15768
754b2b8d
FF
157692002-03-25 Fred Fish <fnf@redhat.com>
15770
15771 * gdb.base/list.exp: This test works on remote targets so remove
15772 the short circuit for remote targets. Update copyright.
15773
33c3e192
FF
157742002-03-25 Fred Fish <fnf@redhat.com>
15775
15776 * gdb.base/attach.exp: Fix logic error that was suppressing this
15777 test for all non hppa*-*-hpux* targets, instead of the hp target.
15778 Move comments closer to the suppression point. Also now need to
15779 check that we are running natively.
15780
d43e73ee
MS
157812002-03-22 Michael Snyder <msnyder@redhat.com>
15782
882c8f02
MS
15783 * gdb.base/default.exp: Add test for gcore. Update copyright.
15784 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 15785
04c12f60
FF
157862002-03-06 Fred Fish <fnf@redhat.com>
15787
15788 * gdb.base/funcargs.c: Remove extraneous ';' character.
15789 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15790
b43df995
MC
157912002-03-04 Michael Chastain <mec@shout.net>
15792
15793 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15794 accommodate gcc v3 function signature.
15795 * gdb.mi/mi0-var-cmd-exp: Ditto.
15796
92362027
AC
157972002-02-24 Andrew Cagney <ac131313@redhat.com>
15798
15799 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15800 ``GNU/Linux'' or ``Linux kernel''
15801 * testsuite/gdb.threads/pthreads.c: Ditto.
15802
258ad32d
MC
158032002-02-24 Michael Chastain <mec@shout.net>
15804
15805 * gdb.threads/pthreads.c (thread1): Add a return statement.
15806 (thread2): Likewise.
15807 (foo): Likewise.
15808
04c3b3d4
MC
158092002-02-23 Michael Chastain <mec@shout.net>
15810
15811 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15812 to placate gcc.
15813
5a2a0a20
MC
158142002-02-23 Michael Chastain <mec@shout.net>
15815
15816 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15817 test "ptype bint". The test passes on all my stabs configurations.
15818
a640f7fc
JB
158192002-02-21 Jim Blandy <jimb@redhat.com>
15820
27924826
JB
15821 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15822 filename at a time, and watch for the ones we want to see.
15823
a640f7fc
JB
15824 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15825 types of pointers to prototyped functions.
15826
edcc8c75
AC
158272002-02-20 Andrew Cagney <ac131313@redhat.com>
15828
15829 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15830 signed, unsigned and straight char.
15831 (padding_char, padding_short, padding_int, padding_long,
15832 padding_long_long, padding_float, padding_double,
15833 padding_long_double): New global variables.
15834 (fill, fill_structs): New functions.
15835
15836 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15837 for correctly sized writes. Update copyright.
15838 (get_valueof): New procedure.
15839 (get_sizeof): Call get_valueof.
15840 (check_valueof): New procedure.
15841 (check_padding): New procedure.
15842
ac57ea44
MC
158432002-02-20 Michael Chastain <mec@shout.net>
15844
15845 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15846 to setup_xfail. Document some of the remaining calls.
15847
7a10c941
MC
158482002-02-18 Michael Chastain <mec@shout.net>
15849
15850 * gdb.c++/userdef.exp: Update copyright year.
15851
fb8acdcc
DJ
158522002-02-18 Daniel Jacobowitz <drow@mvista.com>
15853
15854 * gdb.c++/userdef.exp: Test overloaded operators properly.
15855 Remove xfails.
15856
fda6ae12
MS
158572002-02-14 Michael Snyder <msnyder@redhat.com>
15858
15859 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15860
676a0442
DJ
158612002-02-14 Daniel Jacobowitz <drow@mvista.com>
15862
15863 * gdb.base/a2-run.exp: Check for a remote target properly.
15864 * gdb.base/annota1.exp: Likewise.
15865 * gdb.base/list.exp: Likewise.
15866 * gdb.base/reread.exp: Likewise.
15867 * gdb.base/scope.exp: Likewise.
15868 * gdb.base/shlib-call.exp: Likewise.
15869 * gdb.base/term.exp: Likewise.
15870 * gdb.c++/annota2.exp: Likewise.
15871
78b4f468
RE
158722002-02-13 Richard Earnshaw <rearnsha@arm.com>
15873
15874 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15875
9a81ba51
MC
158762002-02-10 Michael Chastain <mec@shout.net>
15877
15878 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15879 (call_after_alloca): Ditto.
15880
004af6c7
DJ
158812002-02-10 Daniel Jacobowitz <drow@mvista.com>
15882
15883 * gdb.base/ending-run.exp: Guard "cont" test with
15884 gdb_skip_stdio_test.
15885
37225f62
JB
158862002-02-06 Jim Blandy <jimb@redhat.com>
15887
15888 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15889 from here...
15890 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15891 To here. Disable this test on non-HP platforms. Add big comment.
15892
fe6fdd96
MS
158932002-02-04 Michael Snyder <msnyder@redhat.com>
15894
15895 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15896 other than d10v and m32r.
15897
036fad3f
RE
158982002-02-02 Richard Earnshaw <rearnsha@arm.com>
15899
15900 * gdb.base/default.exp: Rewrite test patterns to reduce time
15901 taken to match them.
15902
7148ab62
DJ
159032002-01-30 Daniel Jacobowitz <drow@mvista.com>
15904
15905 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15906 Allow a start function above main.
15907 * gdb.threads/linux-dp.exp: Fix copyright date.
15908
396cc255
DJ
159092002-01-30 Daniel Jacobowitz <drow@mvista.com>
15910
a9c64011
AS
15911 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15912 (check_philosopher_stack): Check for manager thread before checking
15913 for a just-starting thread.
396cc255 15914
f038d31b
DJ
159152002-01-30 Daniel Jacobowitz <drow@mvista.com>
15916
15917 From Neil Booth <neil@daikokuya.demon.co.uk>:
15918 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15919 warnings.
15920
b3ff9d9a
FF
159212002-01-21 Fred Fish <fnf@redhat.com>
15922
15923 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15924 not caller.
15925
39ad761d
JB
159262002-01-21 Jim Blandy <jimb@redhat.com>
15927
15928 * gdb.base/reread.exp: Check that GDB properly re-reads the
15929 executable file when it changes while no inferior is running.
15930
aaf320fa
FF
159312002-01-21 Fred Fish <fnf@redhat.com>
15932
a9c64011
AS
15933 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15934 optionally accept the "shlib events" variation.
aaf320fa 15935
808a31f5
JB
159362002-01-21 Jim Blandy <jimb@redhat.com>
15937
15938 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15939 call `fflush' after every `printf', so that the output is produced
15940 at predictable points, regardless of whatever buffering does (or
15941 doesn't) take place.
15942 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15943 at different points.
15944
4420d5e2
DJ
159452002-01-20 Daniel Jacobowitz <drow@mvista.com>
15946
15947 * gdb.c++/inherit.exp: Update copyright years.
15948 * gdb.c++/method.exp: Likewise.
15949
3e36a0f4
DJ
159502002-01-20 Daniel Jacobowitz <drow@mvista.com>
15951
15952 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15953 artificial methods/arguments.
15954 * gdb.c++/derivation.exp: Likewise.
15955 * gdb.c++/inherit.exp: Likewise.
15956 * gdb.c++/method.exp: Likewise.
15957 * gdb.c++/virtfunc.exp: Likewise.
15958
b4ceaee6
AC
159592002-01-18 Andrew Cagney <ac131313@redhat.com>
15960
15961 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15962 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15963 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15964 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15965 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15966 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15967
ecace851
JB
159682002-01-17 Jim Blandy <jimb@redhat.com>
15969
15970 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15971 anchoring the pattern matching the entry point symbol's name.
15972
375fc983
AC
159732002-01-17 Andrew Cagney <ac131313@redhat.com>
15974
15975 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15976 continue/quit query. Update copyright.
15977
fe6fdd96
MS
159782002-01-14 Michael Snyder <msnyder@redhat.com>
15979
15980 * gdb.base/gcore.exp: Remove extra debugging output.
15981
e017c81f
DJ
159822002-01-13 Daniel Jacobowitz <drow@mvista.com>
15983
15984 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15985 for slightly dubious v2 mangled string.
15986
37ab3bf8
DJ
159872002-01-13 Daniel Jacobowitz <drow@mvista.com>
15988
15989 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15990
1bc05c3a 159912002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 15992
1bc05c3a 15993 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 15994
1bc05c3a
JM
15995 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15996 constructors.
15997 * gdb.c++/derivation.exp: Likewise.
15998 * gdb.c++/templates.exp: Likewise.
15999 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 16000
1bc05c3a
JM
160012002-01-10 Michael Snyder <msnyder@redhat.com>
16002
16003 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 16004
a911c360
MS
160052002-01-08 Michael Snyder <msnyder@redhat.com>
16006
16007 * gdb.base/gcore.exp: New test for generate-core-file command.
16008 * gdb.base/gcore.c: Testcase for above.
16009 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16010
ea2119ec
JM
160112002-01-08 Jason Merrill <jason@redhat.com>
16012
16013 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16014
68203136
FF
160152002-01-07 Fred Fish <fnf@redhat.com>
16016
16017 * gdb.c++/overload.exp: Remove unconditional xfails for:
16018 print foo_instance1.overloadargs(1)
16019 print foo_instance1.overloadargs(1, 2)
16020 print foo_instance1.overloadargs(1, 2, 3)
16021 print foo_instance1.overloadargs(1, 2, 3, 4)
16022 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16023 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16024 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16025 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16026 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16027 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16028 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16029 print foo_instance1.overload1arg()
16030 print foo_instance1.overload1arg((char)arg2)
16031 print foo_instance1.overload1arg((signed char)arg3)
16032 print foo_instance1.overload1arg((unsigned char)arg4)
16033 print foo_instance1.overload1arg((int)arg7)
16034 print foo_instance1.overload1arg((unsigned int)arg8)
16035 print foo_instance1.overload1arg((float)arg11)
16036 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16037
21b9b5b1
MS
160382002-01-07 Michael Snyder <msnyder@redhat.com>
16039
16040 * gdb.base/huge.exp: New test. Print a very large target data object.
16041 (skip_huge_test): New test variable. Define if you want to skip this
16042 test. The test reads an 8 megabyte data object from the target, so it
16043 might be very time consuming on remote targets with a slow connection.
16044 * gdb.base/huge.c: New file. Test case for above.
16045
725f922e
FF
160462002-01-07 Fred Fish <fnf@redhat.com>
16047
16048 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16049 g_instance.bfoo, and g_instance.cfoo.
16050
889bf7c5 160512002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16052
889bf7c5
PA
16053 * gdb.base/break.c (multi_line_if_conditional): New function.
16054 (multi_ilne_while_conditional): Likewise.
16055 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16056 IF or WHILE condition puts the breakpoint at the start of
16057 the condition.
f286b2c3 16058
634d57ec
JL
16059 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16060 hppa*-*-hpux* expected failure.
16061 * gdb.base/structs.exp (do_function_calls): Similarly.
16062
16063 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16064 watchpoints.
16065
9fbfe2dc
AC
160662002-01-06 Andrew Cagney <ac131313@redhat.com>
16067
16068 Fix PR gdb/66.
16069 * gdb.base/structs.exp: Replace skip for a29k with skip for
16070 gdb,cannot_call_functions.
16071 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16072 * gdb.base/callfuncs.exp: Ditto.
16073 * gdb.base/call-rt-st.exp: Ditto.
16074 * gdb.base/call-strs.exp: Ditto.
16075 * gdb.base/callfwmall.exp: Ditto.
16076 * gdb.base/scope.exp: Obsolete xfail a29k.
16077 * gdb.c++/misc.exp: Ditto.
16078 * gdb.c++/cplusfuncs.exp: Ditto.
16079 * gdb.base/ptype.exp: Ditto.
16080 * gdb.base/printcmds.exp: Ditto.
16081 * gdb.base/opaque.exp: Ditto.
16082 * gdb.base/list.exp: Ditto.
16083 * gdb.base/funcargs.exp: Ditto.
16084 * gdb.base/default.exp: Ditto.
16085
8ddad156
MS
160862002-01-04 Michael Snyder <msnyder@redhat.com>
16087
ca4976a6 16088 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
16089 * gdb.base/maint.exp: Add tests for maint info sections options.
16090
1b074332
JL
16091Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16092
16093 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16094
7d159115
CV
160952001-12-20 Corinna Vinschen <vinschen@redhat.com>
16096
16097 * gdb.asm/arm.inc: New file.
16098 * gdb.asm/asm-source.exp: Add arm targets.
16099 * gdb.asm/configure.in: Ditto.
16100 * gdb.asm/configure: Recreated from configure.in.
16101
8fb87725
JL
16102Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16103
afabe08c
JL
16104 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16105 with HP's compiler.
16106 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16107 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16108 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16109 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16110
16111 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16112 either HP's compilers or GCC.
16113
db521deb
JL
16114 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16115 a SIGBUS or SIGSEGV.
16116
16117 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16118
16119 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16120 can be compiled with either HP's compiler or GCC.
16121
cfa88ab7
JL
16122 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16123 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16124 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16125
ca344dff
JL
16126 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16127 to match current gdb output. Update due to using auto-solib-limit
16128 for limiting instead of overloading auto-solib-add.
16129 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16130 test program.
16131
3f3c6e55 16132 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
16133 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16134 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16135 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16136 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16137 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16138 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16139 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16140 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16141 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16142 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16143 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16144 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 16145
8fb87725
JL
16146 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16147 a SIGTRAP to the inferior.
16148
cf599fa7
CV
161492001-12-19 Corinna Vinschen <vinschen@redhat.com>
16150
16151 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16152 Substitute call to target_link by call to gdb_compile.
16153
2cd045cd
JL
16154Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16155
a9c64011
AS
16156 * gdb.base/break.exp: Fix HP specific search string when testing
16157 backtracing in a called function.
2cd045cd 16158
a9c64011
AS
16159 * gdb.base/constvars.exp: Only set lang to C++ if we're
16160 compiling the test with HP's compilers.
16161 * gdb.base/volatile.exp: Similarly.
2cd045cd 16162
99ebe9ac
JB
161632001-12-19 Jim Blandy <jimb@redhat.com>
16164
16165 * gdb.base/printcmds.exp: Expect the null character to be printed
16166 as '\0', and the '\013' to be printed as '\v'.
16167 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16168 * gdb.base/setvar.exp: Same.
16169
b9891b29
JB
161702001-12-17 Jim Blandy <jimb@redhat.com>
16171
0eba65ab
JB
16172 * gdb.base/completion.exp: Rather than completing very long
16173 filenames, which can make the readline library produce output we
16174 don't recognize, cd to the directory first, and then complete
16175 using nice, short relative paths.
16176
6970b5b1
JB
16177 * gdb.base/completion.exp: On some systems, there is, in fact, a
16178 variable named `b' in scope, since GDB treats all static
a9c64011
AS
16179 variables as being in scope. So use `no_var_named_this'
16180 instead of `b'.
6970b5b1 16181
b9891b29 16182 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 16183 can't find the core file's registers as a failure.
b9891b29 16184
e6ccd35f
JSC
161852001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16186
a9c64011
AS
16187 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16188 test expect string more specific.
e6ccd35f 16189
105ba819
CV
161902001-12-13 Corinna Vinschen <vinschen@redhat.com>
16191
16192 * gdb.asm/asm-source.exp: Add support for xstormy16.
16193 * gdb.asm/configure.in: Ditto.
16194 * gdb.asm/configure: Rebuild.
16195 * gdb.asm/xstormy16.inc: New file.
16196
e9e79dd9
FF
161972001-12-10 Fred Fish <fnf@redhat.com>
16198
16199 * gdb.base/maint.exp: Update to match changes in type dumping code.
16200
347dc97d
JB
162012001-12-10 Jim Blandy <jimb@redhat.com>
16202
16203 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
16204 matching the entry point symbol's name at the beginning of the
16205 line.
347dc97d 16206
5178b9d6
DJ
162072001-12-07 Daniel Jacobowitz <drow@mvista.com>
16208
16209 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16210 gdb.c++/inherit.exp, gdb.c++/method.exp,
16211 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16212 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16213 and class layout support.
16214
af890c52
DJ
162152001-12-07 Daniel Jacobowitz <drow@mvista.com>
16216
16217 * gdb.c++/classes.exp: Add test for static member function.
16218 * gdb.c++/misc.cc: Add class with static member function.
16219
7a345fb3
JB
162202001-12-07 Jim Blandy <jimb@redhat.com>
16221
f2e54a80 16222 If GDB says it can't find the struct the function returned, report
8032bf31
JB
16223 those tests as `unsupported'.
16224 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16225 Rewrite subsequent tests to use it.
16226
16227 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
16228 those tests as `unsupported'.
16229 * gdb.base/structs.exp (call_struct_func): New function.
16230 (do_function_calls): Use call_struct_func to call the functions
16231 returning structs.
16232
0bc69509
JB
16233 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16234 whether functions are prototyped or not, so we can't possibly pass
16235 arguments to t_float_values2 properly.
16236
7a345fb3
JB
16237 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16238 value of `timeout' for targets other than the mips*tx39-*.
16239
edb6ede1
MS
162402001-12-06 Michael Snyder <msnyder@redhat.com>
16241
d63a86f8 16242 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
16243 and detect whether the start symbol has a leading underscore.
16244
2d842f13
JB
162452001-12-04 Jim Blandy <jimb@redhat.com>
16246
16247 * gdb.base/completion.exp: Clarify indentation.
16248
68550daf
JB
162492001-12-03 Jim Blandy <jimb@redhat.com>
16250
16251 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16252 variables on the S/390, not `.word'.
16253
cd5195a8
JB
162542001-11-30 Jim Blandy <jimb@redhat.com>
16255
16256 Add assembly-source tests for s390-ibm-linux.
16257 * gdb.asm/s390.inc: New file.
16258 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16259 the S/390 architecture.
a9c64011 16260 * gdb.asm/configure: Regenerated.
cd5195a8 16261
ca9efc90
MS
162622001-11-30 Michael Snyder <msnyder@redhat.com>
16263
16264 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16265 next, info source, info sources, info line, global and static
16266 variables, and static functions.
16267 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16268 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16269 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16270 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16271 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16272 (gdbasm_leave): Restore frame pointer.
16273 (gdbasm_startup): Copy stack set-up from crt0.S.
16274
d0e66976
FN
162752001-11-26 Fernando Nasser <fnasser@redhat.com>
16276
16277 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16278 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16279 to a local (non-static) variable. Copy tstruct.a to a static buffer
16280 and return a pointer to that buffer.
16281 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16282
e2334072
MK
162832001-11-24 Mark Kettenis <kettenis@gnu.org>
16284
16285 * gdb.asm/configure.in: Fix recognition of ix86 target.
16286 * gdb.asm/configure: Regenerate.
16287
756caa3d
MS
162882001-11-21 Michael Snyder <msnyder@redhat.com>
16289
16290 * gdb.asm/sparc.inc: New file.
16291 * gdb.asm/asm-source.exp: Recognize sparc target.
16292 * gdb.asm/configure.in: Recognize sparc target.
16293 * gdb.asm/configure: Regenerate.
d63a86f8 16294
9a4d72d5
MS
162952001-11-21 Michael Snyder <msnyder@redhat.com>
16296
16297 * gdb.asm/m32r.inc: New file.
16298 * gdb.asm/asm-source.exp: Recognize m32r target.
16299 * gdb.asm/configure.in: Recognize m32r target.
16300 * gdb.asm/configure: Regenerate.
16301
a773d1cd
MS
163022001-11-20 Michael Snyder <msnyder@redhat.com>
16303
017ac23d
MS
16304 * gdb.asm/i386.inc: New file.
16305 * gdb.asm/asm-source.exp: Recognize ix86 target.
16306 * gdb.asm/configure.in: Recognize ix86 target.
16307 * gdb.asm/configure: Regenerate.
16308
a773d1cd
MS
16309 * gdb.c++/namespace.exp: Fix quotes in output messages.
16310
bb632afb
MS
163112001-11-14 Michael Snyder <msnyder@redhat.com>
16312
25d559ca 16313 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
16314 qualifier in a type cast expression, to designate an address
16315 in the instruction space (Harvard architecture).
16316
4749e309
MS
163172001-11-13 Michael Snyder <msnyder@redhat.com>
16318
16319 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16320 Tests for expressions using 'const' and 'volatile'.
16321
25050984
CV
163222001-11-13 Corinna Vinschen <vinschen@redhat.com>
16323
16324 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16325
1902c51f
DJ
163262001-11-12 Daniel Jacobowitz <drow@mvista.com>
16327
16328 * lib/mi-support.exp (mi_run_to_helper): Move comments
16329 outside of gdb_expect.
16330
dcf95b47
DJ
163312001-11-11 Daniel Jacobowitz <drow@mvista.com>
16332
16333 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16334 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16335 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16336 mi0_run_to): New functions.
16337 * gdb.mi/mi-simplerun.exp: Use them.
16338 * gdb.mi/mi0-simplerun.exp: Likewise.
16339 * gdb.mi/mi-var-cmd.exp: Likewise.
16340 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 16341
45b074e1
AC
163422001-11-10 Andrew Cagney <ac131313@redhat.com>
16343
16344 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16345 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16346
bf50d346
AC
163472001-11-09 Andrew Cagney <ac131313@redhat.com>
16348
16349 * gdb.base/restore.exp: Include $expected value in restored test
16350 message.
16351
9383332c
AC
163522001-11-09 Andrew Cagney <ac131313@redhat.com>
16353
16354 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16355 implemented.
16356
db62520a
MS
163572001-11-08 Michael Snyder <msnyder@redhat.com>
16358
16359 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16360 Add pass/fail message for stop at breakpoint in call dummy function.
16361
b5703437
MS
163622001-11-07 Michael Snyder <msnyder@redhat.com>
16363
d63a86f8
RM
16364 * gdb.c++/templates.exp (test_template_breakpoints):
16365 If we get an overload menu, but it does not match what
760f6330 16366 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
16367 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16368 making the whitespace optional. Argument for "new" may be
16369 "unsigned" as well as "unsigned int/long".
d63a86f8 16370 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
16371 making the whitespace optional. Also replace "(void) with
16372 "((void|)), making the keyword "void" optional.
d63a86f8 16373 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
16374 making the whitespace optional. Also replace "(void) with
16375 "((void|)), making the keyword "void" optional.
3bf40917
MS
16376 * gdb.base/callfuncs.c (t_float_values): This function must
16377 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 16378 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
16379 can be tested against both cases. Usually one case involves
16380 promotion of float to double, while the other does not.
16381 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
16382 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16383 includes a stack frame for "start".
16384
c8ab4e6d
JB
163852001-11-05 Jim Blandy <jimb@redhat.com>
16386
16387 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16388 pointers are 32 bits long, and that offsets of relocs are always
16389 stored in the data (REL-style), and not in the reloc entry itself
16390 (RELA-style).
16391 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16392 stabs.
16393
3f08ced9
MS
163942001-11-01 Michael Snyder <msnyder@redhat.com>
16395
16396 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16397 and regular expression operators by using quoting.
16398
cbfa24cd
MS
163992001-10-31 Michael Snyder <msnyder@redhat.com>
16400
16401 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16402 depending on what the symbol table contains.
16403 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16404 the output of the ptype command. Similarly, accept both "const &"
16405 and "const&".
16406
aaa68313
CV
164072001-10-31 Corinna Vinschen <vinschen@redhat.com>
16408
16409 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16410 symbol `STORAGE' to allow to choose the storage class of
16411 the local datastructures.
16412 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16413 compiler directive.
16414
91740388
MS
164152001-10-30 Michael Snyder <msnyder@redhat.com>
16416
16417 * gdb.base/jump.exp: Allow it to run for all targets.
16418
1b7c05e7
CV
164192001-10-29 Corinna Vinschen <vinschen@redhat.com>
16420
16421 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16422 with new double_array size.
16423 (main): Change storage class of all local variables to static.
16424 Reduce size of double_array to 9.
16425 * gdb.base/call-ar-st.exp: Increase timeout value.
16426 Change expected output for double array to match new size in
16427 call-ar-st.c.
16428
36a22261
CV
164292001-10-29 Corinna Vinschen <vinschen@redhat.com>
16430
16431 * gdb.base/ending-run.exp: Create identical output when passing
16432 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 16433 Stormy16 target.
36a22261 16434
92b8ae91
MK
164352001-10-28 Mark Kettenis <kettenis@gnu.org>
16436
16437 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16438 that we catch the expected failure under Linux/x86.
16439
cb135b83
OF
164402001-10-29 Orjan Friberg <orjanf@axis.com>
16441
16442 * gdb.base/setvar.exp: Escape curly braces.
16443 * gdb.stabs/weird.exp: Ditto.
16444
6884aa54
DJ
164452001-10-27 Daniel Jacobowitz <drow@mvista.com>
16446
16447 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16448 * gdm.mi/mi0-hack-cli.exp: Likewise.
16449
0398c9aa
AC
164502001-10-25 Andrew Cagney <ac131313@redhat.com>
16451
16452 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16453 messages.
16454
d20bf2e8
AC
164552001-10-21 Andrew Cagney <ac131313@redhat.com>
16456
16457 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16458 checking MI enabled.
16459
03dd63aa
CV
164602001-10-09 Corinna Vinschen <vinschen@redhat.com>
16461
16462 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16463
1d9d99f3
FCE
164642001-10-04 Frank Ch. Eigler <fche@redhat.com>
16465
16466 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16467 if gdb child process crashes, just signal an error.
16468
838ae6c4
JB
164692001-10-02 Jim Blandy <jimb@redhat.com>
16470
16471 * lib/gdb.exp (test_xfail_format): Simplify.
16472
16473 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16474 front of the variable name `format'. Simplify `if'.
16475
8f0cbc1c
DJ
164762001-10-01 Daniel Jacobowitz <drow@mvista.com>
16477
16478 * gdb.threads/pthreads.exp: Wait for output and delay
16479 before sending ^C.
16480
1f08dafd
DJ
164812001-10-01 Daniel Jacobowitz <drow@mvista.com>
16482
16483 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16484 some incorrect output instead of timing out.
16485 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16486
674f90ff
CV
164872001-09-28 Corinna Vinschen <vinschen@redhat.com>
16488
16489 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16490 check to allow additional `int'.
16491
9b284272
DJ
164922001-09-27 Daniel Jacobowitz <drow@mvista.com>
16493
16494 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16495 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16496
b55a4771
MS
164972001-09-27 Michael Snyder <msnyder@redhat.com>
16498
16499 * lib/gdb.exp (test_debug_format): New proc.
16500 (setup_xfail_format): Use new proc test_debug_format.
16501 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16502 proc; use new service proc test_debug_format.
16503 Replace all other "gcc_compiled" tests with this test.
16504 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16505 proc; use new service proc test_debug_format.
16506 Replace all other "gcc_compiled" tests with this test.
16507
165082001-09-27 Michael Snyder <msnyder@redhat.com>
16509
16510 * gdb.base/cvexpr.exp: New file.
16511 * gdb.base/cvexpr.c: New file
16512 Test for expressions using const and volatile keywords.
16513
4e6667ac
CV
165142001-09-26 Corinna Vinschen <vinschen@redhat.com>
16515
16516 * gdb.base/constvars.exp: Check for different orders of keywords
16517 and additional "int" strings in output.
16518
4f337972
AC
165192001-09-22 Andrew Cagney <ac131313@redhat.com>
16520
16521 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16522 responses from "help maint".
16523
2015650d
FCE
165242001-09-19 Frank Ch. Eigler <fche@redhat.com>
16525
16526 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16527 to localhost:NNN instead of :NNN, in case Xvfb is listening
16528 only on TCP.
16529
f3bcedc1
CV
165302001-09-19 Corinna Vinschen <vinschen@redhat.com>
16531
16532 * gdb.base/recurse.exp: When checking leaving the watchpoint
16533 scope, recognize when gdb is in function's epilogue and pass.
16534
6b819c92
KS
165352001-09-18 Keith Seitz <keiths@redhat.com>
16536
16537 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16538 support for running tests against sid targets.
16539 (gdbtk_done): Ditto.
16540
a10c9419
CV
165412001-09-18 Corinna Vinschen <vinschen@redhat.com>
16542
16543 * gdb.base/ending-run.c (main): Set stdout buffersize
16544 to the same reasonable value for any target.
16545 * gdb.base/ending-run.exp: Add a regular expression
16546 to make testsuite happy on Sanyo Stormy16 target.
16547
739d0d99
CV
165482001-09-17 Corinna Vinschen <vinschen@redhat.com>
16549
16550 * gdb.base/display.c (do_loops): Add float variable `f'.
16551 Increment f in loop.
16552 * gdb.base/display.exp: Increment timeout by 60 seconds.
16553 Change float display test to use variable `f'.
16554
1b8947f0
JB
165552001-09-17 Jim Blandy <jimb@redhat.com>
16556
16557 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16558 overflowing the limited breakpoint tables on some ROM monitors
16559 (like the ROM68K).
16560
9890ac81
FCE
165612001-09-15 Frank Ch. Eigler <fche@redhat.com>
16562
16563 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16564 the "-ac" (disable access control) flag.
16565
6db765ea
JH
165662001-08-30 Jeff Holcomb <jeffh@redhat.com>
16567
16568 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16569 ints.
16570
4c32cc04
KS
165712001-08-30 Keith Seitz <keiths@redhat.com>
16572
16573 * lib/gdb.exp: Move all insight-related functionality into
16574 separate file.
16575 * lib/insight-support.exp: New file.
16576
8d6e6f81
FCE
165772001-08-29 Frank Ch. Eigler <fche@redhat.com>
16578
16579 * config/sid.exp (sid_start): Never set sid verbosity; disable
16580 expect_background {} that consumed its stdout; tolerate </dev/null.
16581 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16582
6a90e1d0
AC
165832001-08-18 Andrew Cagney <ac131313@redhat.com>
16584
16585 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16586 CLI jump command to start it.
16587 (mi_run_to_main): Fail immediatly when unexpected output.
16588
1759b3c3
AC
165892001-08-18 Andrew Cagney <ac131313@redhat.com>
16590
16591 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16592 beginning of function. Fix PR gdb/191.
16593
61d11d80
FCE
165942001-08-16 Frank Ch. Eigler <fche@redhat.com>
16595
16596 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16597 what to force sid endianness to.
16598
942a4df2
KS
165992001-08-15 Keith Seitz <keiths@redhat.com>
16600
16601 * lib/gdb.exp (gdbtk_start): Don't set environment
16602 variables for TCL_LIBRARY and friends. Insight will
16603 now figure these out for itself.
16604
0521c418
MS
166052001-08-02 Michael Snyder <msnyder@redhat.com>
16606
16607 * gdb.base/completion.exp: Remove the symbol "a64l" from
16608 the expect string; this is target-specific, and not related
16609 to what is being tested.
16610
74a9a58a
DB
166112001-08-02 Dave Brolley <brolley@redhat.com>
16612
16613 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16614
c70819fa
MS
166152001-07-25 Michael Snyder <msnyder@redhat.com>
16616
c2b8fa57
MS
16617 * gdb.base/consecutive.exp: New file. Test stepping over
16618 breakpoints on consecutive instructions.
16619 * gdb.base/consecutive.c: New file.
16620
c70819fa
MS
16621 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16622 curly braces in regular expressions.
16623
2b1a1355
MS
166242001-07-25 Michael Snyder <msnyder@redhat.com>
16625
16626 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16627 legitimate output from stepping out of main.
16628
413eca6f
KS
166292001-07-22 Keith Seitz <keiths@redhat.com>
16630
16631 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16632 the empty string, do not run the tests.
16633
7e5a9322
SC
166342001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16635
16636 * gdb.base/long_long.exp: Detect size of pointer. Take into
16637 account 2-byte pointers when testing for p/a results.
16638
de58f10f
SC
166392001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16640
d63a86f8 16641 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
16642 and defined to 1K for m68hc11.
16643 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16644 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16645 (sizeof_random_data): New variable to tell the size of the data table;
16646 don't test past this size; always run to main.
16647
d6f5fea1
SC
166482001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16649
16650 * gdb.base/return2.exp: return of long long and double fails for
16651 68HC11; don't execute these tests on that platform.
16652 * gdb.base/return.exp: Return of a double fails for 68hc11.
16653
c477543d
SC
166542001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16655
16656 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16657 tests that print a float.
16658 * call-rt-st.exp: Likewise.
16659
63cf1c79
MK
166602001-07-12 Mark Kettenis <kettenis@gnu.org>
16661
16662 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16663 running this test on Linux.
16664
112f9ab5
MC
166652001-06-24 Michael Chastain <chastain@redhat.com>
16666
16667 * gdb.base/arithmet.exp: Remove some tests to make all test names
16668 unique.
16669
4970cb0f
MS
166702001-07-03 Michael Snyder <msnyder@redhat.com>
16671
16672 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16673 the output of the ptype command.
16674
d85da69f
MS
166752001-07-02 Michael Snyder <msnyder@redhat.com>
16676
4c8a82de
MS
16677 * gdb.base/completion.exp: Don't assume that break.c is the only
16678 source file that may contain functions named "marker".
d85da69f
MS
16679 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16680
8afc772b
AC
166812001-06-28 Andrew Cagney <ac131313@redhat.com>
16682
16683 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16684 of files to delete.
16685
16686 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16687 * gdb.disasm/h8300s.exp: New file.
16688 gdb.disasm/h8300s.s: Likewise.
16689
cff22675
AC
166902001-06-27 Andrew Cagney <ac131313@redhat.com>
16691
16692 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16693 empty breakpoint tables.
16694
68c81b54
AC
166952001-06-25 Andrew Cagney <ac131313@redhat.com>
16696
16697 * lib/mi-support.exp: Update args=... part of stop-reason
16698 patterns. Accept either a list or a tuple.
16699
2dd62704
AC
167002001-06-23 Andrew Cagney <ac131313@redhat.com>
16701
16702 * lib/mi-support.exp: Remove local emacs variable defining
16703 change-log-default-name.
16704
b4127474
MC
167052001-06-22 Michael Chastain <chastain@redhat.com>
16706
16707 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16708 This is operationally compatible with the previous version.
16709
8dbfb380
JB
167102001-06-13 Jim Blandy <jimb@redhat.com>
16711
16712 * lib/gdb.exp (gdb_test): Doc fix.
16713
f2d8c86d
MC
167142001-06-10 Michael Chastain <chastain@redhat.com>
16715
16716 * gdb.base/exprs.exp: Remove a duplicate test.
16717
81564d34
JB
167182001-06-06 Jim Blandy <jimb@redhat.com>
16719
16720 * gdb.base/return2.exp (main): Use values to test float and double
16721 returns that are not NaN's, to avoid being confused by IEEE
16722 comparison rules.
16723
da55addb
MS
167242001-06-04 Michael Snyder <msnyder@redhat.com>
16725
16726 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 16727 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
16728 rather than wait for 12 more tests to time out.
16729
42c65987
JB
167302001-06-06 Jim Blandy <jimb@redhat.com>
16731
b18bced9 16732 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 16733 Don't forget to match the GDB prompt.
b18bced9 16734
42c65987
JB
16735 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16736
5b41e5f0
JB
167372001-06-04 Jim Blandy <jimb@redhat.com>
16738
16739 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16740 command.
16741
015e046f
KB
167422001-05-31 Kevin Buettner <kevinb@redhat.com>
16743
16744 * gdb.base/annota1.exp (info break): Match four or more spaces
16745 after "Address".
16746
fb1ffbbe
MC
167472001-05-31 Michael Chastain <chastain@redhat.com>
16748
16749 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16750 (dm_type_int_star): Likewise.
16751 (dm_type_long_star): Likewise.
16752 (dm_type_void_star): Likewise.
16753
5ea2a32c
KB
167542001-05-29 Kevin Buettner <kevinb@redhat.com>
16755
16756 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16757 to a known value in order to get consistent results regardless
16758 of the setting of INPUTRC or the presence or contents of .inputrc.
16759
ae23c492
MS
167602001-05-24 Michael Snyder <msnyder@redhat.com>
16761
ac55707e
MS
16762 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16763 Don't require that the main thread and the manager thread are the
16764 first in the list.
16765
ae23c492
MS
16766 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16767 debugging. If test fails, issue an "unsupported" not a "fail".
16768
400071f1
JB
167692001-05-24 Jim Blandy <jimb@redhat.com>
16770
16771 Don't assume that short is shorter than int.
16772 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16773 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 16774 this isn't true.
400071f1
JB
16775 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16776 an int, is not equal to ~0 stored in an unsigned char. This tests
16777 the same thing that the previous test meant to, but works on
16778 16-bit machines, too.
16779 ("print unsigned char != (~0)"): Same test, complemented.
16780
0816a3e5
MS
167812001-05-24 Michael Snyder <msnyder@redhat.com>
16782
16783 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 16784 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
16785 and prevents dejagnu getting out of step.
16786
f6dc23a9
KB
167872001-05-23 Kevin Buettner <kevinb@redhat.com>
16788
16789 * gdb.base/finish.exp (finish_void): Revise pattern for
16790 stopping on the call statement to not permit stopping at
16791 the start of the instructions comprising the call sequence.
16792
7dbd117d
MC
167932001-05-19 Michael Chastain <chastain@redhat.com>
16794
16795 * gdb.base/callfuncs.exp: Make all test names unique.
16796 * gdb.base/commands.exp: Make all test names unique.
16797 * gdb.base/condbreak.exp: Make all test names unique.
16798 * gdb.base/dbx.exp: Make all test names unique.
16799 * gdb.base/default.exp: Make all test names unique.
16800 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16801 and TIMEOUT messages to their corresponding PASS message.
16802 * gdb.base/ending-run.exp: Make all test names unique.
16803 * gdb.base/long_long.exp: Remove duplicate test.
16804
6b0b0a9e
KB
168052001-05-21 Kevin Buettner <kevinb@redhat.com>
16806
16807 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16808 stop on the call statement as well as the statement after the
16809 call.
16810
2caa35cb
MS
168112001-05-21 Michael Snyder <msnyder@redhat.com>
16812
16813 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16814
40713331
EZ
168152001-05-10 Elena Zannoni <ezannoni@redhat.com>
16816
a9c64011
AS
16817 * gdb.base/completion.exp: Revamp test. Make it execute on all
16818 platforms.
40713331 16819
c2c1be8d
EZ
168202001-05-10 Elena Zannoni <ezannoni@redhat.com>
16821
a9c64011
AS
16822 * config/gdbserver.exp (gdb_load): Handle the case
16823 in which the arguments to gdbserver are given in the
16824 baseboard configuration file.
16825 Also handle the case in which the server needs to do a
16826 load.
2c9cd303 16827
9671de48
KS
168282001-05-07 Keith Seitz <keiths@cygnus.com>
16829
a9c64011
AS
16830 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16831 set up the display for testing.
16832 (gdbtk_start): Convert all paths to paths that tcl will like.
16833 Export target information to environment.
16834 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16835 necessary.
16836 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16837 (to_tcl_path): New proc to convert a given pathname into
16838 a path acceptible as an argument to a tcl command.
16839 (_gdbtk_export_target_info): New proc to export target info
16840 into the environment for gdbtk testing.
16841 (gdbtk_done): New proc to signal end-of-test.
9671de48 16842
5a360f47
JB
168432001-05-06 Jim Blandy <jimb@redhat.com>
16844
16845 * restore.c: Make the code of caller0 correspond to its comment.
16846
66c756c6
MS
168472001-05-03 Michael Snyder <msnyder@redhat.com>
16848
16849 * config/sid.exp (gdb_target_sid): Check for error messages.
16850 On error or timeout, don't make expect exit (which will terminate
16851 all subsequent tests); instead just make gdb exit.
d63a86f8 16852 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
16853 return a negative value.
16854
a966fde5
JB
168552001-04-24 Jim Blandy <jimb@redhat.com>
16856
851c18e0
JB
16857 * gdb.c++/templates.exp: If we see the prompt for the overload
16858 list, but we haven't recognized any of the longer patterns,
16859 arrange for this test to fail, not hang.
16860
a966fde5
JB
16861 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16862 variations.
16863
db144853
MC
168642001-04-22 Michael Chastain <chastain@redhat.com>
16865
16866 * gdb.c++/local.exp: Use the 'runto' library function.
16867 * gdb.c++/namespace.exp: Likewise.
16868 * gdb.c++/overload.exp: Likewise.
16869
3207ec21
KB
168702001-03-26 Kevin Buettner <kevinb@redhat.com>
16871
16872 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16873 * gdb.base/step-line.exp: New file. Test step/next in presence of
16874 #line directives.
16875 * gdb.base/step-line.c: New file. Test program for the above.
16876 * gdb.base/step-line.inp: New file. We pretend that this file has
16877 been transformed by some other tool into step-line.c.
16878
13b57657
JB
168792001-03-21 Jim Blandy <jimb@redhat.com>
16880
16881 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16882 unmangled operator names.
16883
754cbe1c
JB
168842001-03-20 Jim Blandy <jimb@redhat.com>
16885
16886 * gdb.threads/linux-dp.exp: Recognize an additional message
16887 generated by GDB when it doesn't understand how to debug threads
16888 on the target system.
16889
177495c9
AC
168902001-03-19 Andrew Cagney <ac131313@redhat.com>
16891
16892 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16893
f266096b
MC
168942001-03-12 Michael Chastain <chastain@redhat.com>
16895
16896 * gdb.c++/derivation.exp: Use the 'runto' library function.
16897
cac3c2ff
MC
168982001-03-12 Michael Chastain <chastain@redhat.com>
16899
16900 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16901
b6c11a24
MC
169022001-02-24 Michael Chastain <chastain@redhat.com>
16903
16904 * gdb.c++/ref-types.exp: Change handwritten code to library
16905 function 'runto'.
16906
6bae5bce
OF
169072001-03-16 Orjan Friberg <orjanf@axis.com>
16908
16909 * gdb.base/signals.exp: Set count to 0 explicitly.
16910
0015fd9a
MS
169112001-03-15 Mark Salter <msalter@redhat.com>
16912
16913 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16914 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
16915 (gdb_load): Add support for additional target_info: gdb_download_size
16916 and gdb_load_timeout.
0015fd9a 16917
fc33412a
DT
16918Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16919
16920 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
16921 file -- to prevent failing when the compile fails but we have no
16922 intention of running the tests anyway.
fc33412a
DT
16923
16924 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16925 tests if set.
16926
16927 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 16928 integers.
fc33412a
DT
16929
16930 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16931 * gdb.c++/namespace.exp: Ditto.
16932
115f06de
OF
169332001-03-07 Orjan Friberg <orjanf@axis.com>
16934
16935 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16936 * gdb.base/pointers.exp: Relax pattern match of decimals.
16937
b6ba6518
KB
169382001-03-06 Kevin Buettner <kevinb@redhat.com>
16939
16940 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16941 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16942 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16943 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16944 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16945 config/sh.exp, config/sid.exp, config/slite.exp,
16946 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16947 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16948 config/vxworks.exp, config/vxworks29k.exp,
16949 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16950 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16951 gdb.base/arithmet.exp, gdb.base/assign.exp,
16952 gdb.base/async.exp, gdb.base/attach.exp,
16953 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16954 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16955 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16956 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16957 gdb.base/commands.exp, gdb.base/completion.exp,
16958 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16959 gdb.base/constvars.exp, gdb.base/corefile.exp,
16960 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16961 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16962 gdb.base/ending-run.exp, gdb.base/environ.exp,
16963 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16964 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16965 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16966 gdb.base/funcargs.exp, gdb.base/help.exp,
16967 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16968 gdb.base/logical.exp, gdb.base/long_long.exp,
16969 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16970 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16971 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16972 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16973 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16974 gdb.base/regs.exp, gdb.base/relational.exp,
16975 gdb.base/remote.exp, gdb.base/reread.exp,
16976 gdb.base/restore.exp, gdb.base/return2.exp,
16977 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16978 gdb.base/selftest.exp, gdb.base/setshow.exp,
16979 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16980 gdb.base/sigall.exp, gdb.base/signals.exp,
16981 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16982 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16983 gdb.base/step-test.exp, gdb.base/structs.c,
16984 gdb.base/structs.exp, gdb.base/structs2.exp,
16985 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16986 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16987 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16988 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16989 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16990 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16991 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16992 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16993 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16994 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16995 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16996 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16997 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16998 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16999 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17000 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17001 gdb.trace/circ.exp, gdb.trace/collection.exp,
17002 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17003 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17004 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17005 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17006 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17007 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17008 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17009 notices.
17010
dc96c6c7 170112001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
17012
17013 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17014 first arg is int not float.
17015
dc96c6c7 170162001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
17017
17018 * gdb.base/reread.exp: Unsupported for non-native targets;
17019 doesn't work for remote debugging.
17020
9b0c4aeb
FN
170212001-02-19 Fernando Nasser <fnasser@redhat.com>
17022
17023 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
17024 * gdb.base/ending-run.exp: Properly handle the BSP state when
17025 stepping past the end of main.
9b0c4aeb 17026
02aa71d5
MC
170272001-02-19 John Moore <jmoore@redhat.com>
17028
17029 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17030 Converted HPUX fix for non-expected items following multiple
17031 step commands into general solution for all platforms.
17032
1fa449a4
MC
170332001-02-18 Michael Chastain <chastain@redhat.com>
17034
17035 * gdb.c++/classes.exp (do_tests): Change runto statements
17036 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17037 statements demangler agnostic.
17038 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17039 (gdb_virtfunc_restart): Likewise.
17040
b2f9ec70
MC
170412001-02-14 Michael Chastain <chastain@redhat.com>
17042
17043 * gdb.c++/inherit.exp (do_tests): Change runto statements
17044 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17045 statements demangler agnostic.
17046
cf74b8ca
AC
17047Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17048
17049 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17050 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17051 before calling common_routine 15 times'' tests.
cf74b8ca 17052
99f78f56
MC
170532001-02-11 Michael Chastain <chastain@redhat.com>
17054
17055 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17056 Helps the test script figure out which demangler is in use.
17057 (dm_type_foo_ref): Ditto.
17058 (dm_type_int_star): Ditto.
17059 (dm_type_long_star): Ditto.
17060 (dm_type_unsigned_int): Ditto.
17061 (dm_type_void): Ditto.
17062 (dm_type_void_star): Ditto.
99707966 17063 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17064 Probe the gdb demangler and set variables to accommodate
17065 formatting differences.
17066 (info_func_regexp): New function. Same as info_func, but
17067 matches against a regexp.
17068 (info_func): Match against a literal string.
17069 (print_addr_2): New function. Match against a literal string,
17070 which can be different from the input to gdb.
17071 (print_addr): Simply call print_addr_2 with the same argument twice.
17072 (test_lookup_operator_functions): Use demangler formatting variables.
17073 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17074 the tests in the same order as the C++ class declaration.
17075 (test_paddr_operator_functions): Ditto.
17076 (test_paddr_overloaded_functions): Ditto.
17077 (test_paddr_hairy_functions): Use demangler formatting variables.
17078 Add reference to gdb/19 for related tests.
17079 (do_tests): Call probe_demangler.
17080
1de8f023
KB
170812001-01-30 Kevin Buettner <kevinb@redhat.com>
17082
17083 * gdb.c++/templates.cc (printf): Remove unused function definition.
17084
ca3f91ed
MS
170852001-01-26 Felix Lee <flee@redhat.com>
17086
17087 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17088
170892001-01-25 matthew green <mrg@redhat.com>
17090
17091 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17092 up sid.
17093 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17094
170952001-01-25 matthew green <mrg@redhat.com>
17096
17097 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 17098 Deprecate $sid_spawn_id.
ca3f91ed
MS
17099 (sid_exit): Remove code necessary only for `spawn.'
17100
171012001-01-25 matthew green <mrg@redhat.com>
17102
17103 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17104
fb18ec4a
MC
171052001-01-28 Michael Chastain <chastain@redhat.com>
17106
17107 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17108 to call when tests fail. It takes gdb out of the overloaded
17109 function choice menu back to the main prompt, so that the test
17110 program stays synchronized.
17111 (set_bp_overloaded): New proc to collect all the common
17112 code for setting a breakpoint on an overloaded name. Calls
17113 take_gdb_out_of_choice_menu when needed.
17114 (menu_overload1arg): New variable to collect the repeated
17115 instances of the expected menu for an overloaded name. Change
17116 the regular expression to handle changes in g++ type encoding:
17117 "void" can be either "void" or "", and "unsigned int" can be
17118 either "unsigned int" or "unsigned".
17119 (continue_to_bp_overloaded): Change regular expressions to handle
17120 changes in g++ type encoding.
17121 (no proc): Call take_gdb_out_of_choice_menu when needed.
17122 Remove redundant calls to "info break". Accept either "canceled"
17123 or "cancelled". Change regular expressions in "info break"
17124 calls to handle changes in g++ type encoding. Give all tests
17125 unique strings.
17126
9c646a6e
BE
171272001-01-17 Ben Elliston <bje@redhat.com>
17128
17129 * config/sid.exp: New file.
17130
9549d9c1
AC
17131Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17132
17133 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17134
dc96c6c7 171352000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
17136
17137 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17138 Add a RE to accept a non-ascii char if one is ever presented.
17139
b4df4f68
FN
171402000-12-20 Fernando Nasser <fnasser@redhat.com>
17141
297dd0fd 17142 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 17143
dc96c6c7 171442000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 17145
d63a86f8 17146 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
17147 in regexp. One '\' does not suffice on Linux.
17148
4a7bddb6
MC
171492000-12-09 Michael Chastain <chastain@redhat.com>
17150
17151 * gdb.base/break.exp (test_clear_command): Use a marker function
17152 rather than 'main' for the test function. Also move this
17153 test to an execution point where the marker function names are
17154 guaranteed to be bound to functions. (Executing tests after a
17155 'finish' from main runs into name conflicts with local names
17156 in __libc_start_main).
17157
dc96c6c7 171582000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
17159
17160 * gdb.base/finish.exp: New test for gdb's "finish" command.
17161 * gdb.base/return2.exp: New test for gdb's "return" command.
17162 * gdb.base/return2.c: New source file for above.
17163
dc96c6c7 171642000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
17165
17166 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17167 * gdb.base/miscexprs.exp: Ditto.
17168 * gdb.base/pointers.exp: Ditto.
17169 * gdb.c++/derivation.exp: Ditto.
17170 * gdb.c++/local.exp: Ditto.
17171 * gdb.c++/namespace.exp: Ditto.
17172 * gdb.c++/overload.exp: Ditto.
17173 * gdb.c++/ref-types.exp: Ditto.
17174
dc96c6c7 171752000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
17176
17177 * gdb.base/constvars.exp: Test result of "up" command.
17178 * gdb.base/miscexprs.exp: Ditto.
17179 * gdb.base/pointers.exp: Ditto.
17180 * gdb.base/scope.exp: Ditto.
17181 * gdb.c++/derivation.exp: Ditto.
17182 * gdb.c++/local.exp: Ditto.
17183 * gdb.c++/namespace.exp: Ditto.
17184 * gdb.c++/overload.exp: Ditto.
17185 * gdb.c++/ref-types.exp: Ditto.
17186
44097287
FN
171872000-11-22 Michael Chastain <chastain@redhat.com>
17188
17189 * mips_pro.exp: Accept either "middle -> top -> main" or
17190 "middle -> main" in the backtrace, because gcc can optimize
17191 tail calls to jumps. Remove setup_xfail for the hppa case.
17192 Add a comment with the original warning messages from PR 3016,
17193 which was filed in 1993, to preserve them for posterity.
17194
9d2e1bab
ND
171952000-11-17 Nick Duffek <nsd@redhat.com>
17196
17197 * lib/gdb.exp (gdb_test): Override timeout with board info.
17198
1aca8eb7
ND
171992000-11-17 Nick Duffek <nsd@redhat.com>
17200
17201 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17202 the second kill and detach messages.
17203
93076499
ND
172042000-11-17 Nick Duffek <nsd@redhat.com>
17205
17206 * configure.in: Add AC_EXEEXT.
17207 * configure: Regenerate.
17208 * Makefile.in (just-check): Export EXEEXT.
17209 * lib/gdb.exp ($EXEEXT): Import from environment.
17210 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17211 expect "maint dump-me" on Cygwin.
17212 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17213 $EXEEXT.
17214
30e87cd3
ND
172152000-11-17 Nick Duffek <nsd@redhat.com>
17216
17217 * gdb.base/break.exp: Test backtrace and finish from called
17218 function on all platforms, not just HP-UX.
17219
dc96c6c7 172202000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
17221
17222 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17223 code from gdb_target_monitor, so it can be used independantly
17224 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 17225
dc96c6c7 172262000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
17227
17228 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17229 * gdb.base/corefile.exp: Expect the message "Program is being
17230 debugged already" when we send the "corefile" command, since
17231 the preceeding gdb_load may have connected gdb to a remote target.
17232 * gdb.base/display.exp: Disable hardware watchpoints if new
17233 board info variable "no_hardware_watchpoints" is true.
17234 Replace single-letter commands with more readable ones.
17235 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17236 if new board info variable "no_hardware_watchpoints" is true.
17237 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17238 to see if stdio (printf) testing is possible.
17239 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17240 board info variable "no_hardware_watchpoints" is true. Use new
17241 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17242
39124dea
FN
172432000-11-13 Fernando Nasser <fnasser@redhat.com>
17244
17245 From Orjan Friberg <orjanf@axis.com>:
17246 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17247 in array print pattern match.
17248
a9e2e984
FN
172492000-11-09 Fernando Nasser <fnasser@redhat.com>
17250
17251 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17252 spelling "cancelled" to U.S. spelling "canceled" to match changes
17253 made to gdb.
17254 * gdb.c++/ovldbreak.exp: Ditto.
17255
c7db355b
PS
172562000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17257
17258 * gdb.base/callfuncs.c (main): Moved to end of file, call
17259 t_double_values to initialize the FPU before inferior calls are made.
17260 * gdb.base/callfuncs.exp: Test for register preservation after calling
17261 inferior functions. Add tests for continuining, finishing and
17262 returning from a stop in a call dummy.
17263
dc96c6c7 172642000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
17265
17266 * gdb.base/commands.exp: Break up long lines, and re-indent.
17267
dc96c6c7 172682000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
17269
17270 * config/gdbserver.exp: Rewritten from the ground up, to make it
17271 compatible with the current dejagnu tree, and to make it work with
17272 the new "gdbserver" in libremote.
17273
dc96c6c7 172742000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17275
17276 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17277 * gdb.base/varargs.exp: Skip entire test if no printf support.
17278 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17279 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17280
dc96c6c7 172812000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17282
17283 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17284 no floating point support.
17285 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17286 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17287 * gdb.base/call-rt-st.exp: Ditto.
17288 * gdb.base/call-strs.exp: Ditto.
17289
bac5fc66
JG
172902000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17291
17292 * gdb.base/sizeof.c: include <stdio.h>.
17293
17294 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
17295 'finish', otherwise uncaptured gdb_prompt would potentially
17296 throw remaining test points out of sync.
bac5fc66 17297
b22a6027
SB
172982000-07-26 Scott Bambrough <scottb@netwinder.org>
17299
17300 * gdb.base/recurse.exp: Run tests for all targets.
17301 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17302 gnu-oldld case on ARM.
17303 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17304 for ARM targets.
d63a86f8 17305
d8231941
AG
17306Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17307
17308 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17309 * gdb.java/configure: Rebuild.
17310
8caabe69
AG
17311Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17312
17313 * gdb.java/jv-exp.exp: New file.
17314
9d273ca3
AG
17315Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17316
17317 * configure: Rebuilt.
17318 * configure.in (configdirs): Add gdb.java.
17319 * gdb.java/jmisc.java: New file.
17320 * gdb.java/jmisc.exp: New file.
17321 * gdb.java/Makefile.in: New file.
17322 * gdb.java/configure: Rebuilt.
17323 * gdb.java/configure.in: New file.
17324 * lib/java.exp: New file.
17325
4f823a66
AC
17326Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17327
17328 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 17329 underflow.
4f823a66 17330
2391e11d
AC
17331Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17332
17333 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 17334 and the compilers sizes.
2391e11d 17335
54602222
ND
173362000-07-09 Nick Duffek <nsd@redhat.com>
17337
17338 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17339 (use_methods): New function.
17340 (main): Call use_methods().
17341 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17342 (do_tests): Call test_method_param_class.
17343
2bec0572
ND
173442000-07-09 Nick Duffek <nsd@redhat.com>
17345
17346 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17347 spelling.
17348 (test_enums): New procedure. Move enum tests from end of script
17349 to here. Set breakpoint on function name instead of line number.
17350 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17351 (enums2): New marker function.
17352 (enums1): New function.
17353 (main): Call enums1(). Move enum tests to enums1().
17354
78492fde
AC
17355Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17356
17357 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 17358 compile/link program. Update line numbers.
78492fde
AC
17359 * gdb.asm/d10v.inc: Define ``startup''.
17360 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 17361
49a2cef8
AC
17362Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17363
17364 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17365
3e6c8688
EZ
173662000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17367
17368 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 17369 of 'help maint print' command.
3e6c8688 17370
9ff5cbe9
AC
17371Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17372
17373 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 17374 they use gdb_expect_list.
9ff5cbe9 17375
17c579bd
AC
17376Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17377
17378 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
17379 memory-read-packet-size'' instead of ``set endian big'' to test
17380 long commands.
17c579bd 17381
e6d71bf3
DB
173822000-06-03 Daniel Berlin <dan@cgsoftware.com>
17383
17384 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 17385 g++, and stop skipping them.
e6d71bf3
DB
17386
17387 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17388 work under g++.
17389
d63a86f8 17390 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
17391 initialization.
17392
dc96c6c7 173932000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
17394
17395 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17396 the regular expression: accept an (almost) arbitrary sequence of
17397 "frames-invalid" and "breakpoints-invalid" messages both before
17398 and after the "starting" message.
17399
dc96c6c7 174002000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
17401
17402 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 17403
dc96c6c7 174042000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
17405
17406 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17407 Relax the regular expression a little, make it pass on Solaris 8.
17408
8216cda9
KB
174092000-05-12 Kevin Buettner <kevinb@redhat.com>
17410
17411 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 17412 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
17413 Instead, it is permissible for gdb to stop on the line of the
17414 call itself.
17415
1a570b2f
MS
174162000-05-12 Michael Snyder <msnyder@.cygnus.com>
17417
17418 * gdb.base/break.exp (bp on small function, optimized file):
17419 Add a second pass pattern. The behavior differs here between stabs
17420 and dwarf for one-line functions. Stabs preserves two line symbols
17421 (one before the prologue and one after) with the same line number,
17422 but dwarf regards these as duplicates and discards one of them.
17423 Therefore the address after the prologue (where the breakpoint is)
17424 has no exactly matching line symbol, and GDB reports the breakpoint
17425 as if it were in the middle of a line rather than at the beginning.
17426
dc96c6c7 174272000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 17428
d63a86f8 17429 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
17430 rather than "send_gdb" (for consistancy).
17431
7d418785
AC
17432Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17433
17434 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17435 * gdb.c++/templates.cc: Properly check for GCC version number.
17436 * lib/compiler.cc: Likewise
17437
dc96c6c7 174382000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 17439
d63a86f8 17440 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
17441 gdb may not stop at the first line of main, due to code motion.
17442
dc96c6c7 174432000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
17444
17445 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17446 This test depends on parsing the printf output from the target.
17447 Since the sparclet stub doesn't do stdio, this will never work.
17448 * gdb.base/call-rt-st.exp: ditto.
17449 * gdb.base/call-strs: ditto.
17450
dc96c6c7 174512000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
17452
17453 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17454
17455 * gdb.base/ending-run.exp: After connecting to a remote target,
17456 but before running, the target will appear to be in a random
17457 location. Specify both a file and a line for breakpoints.
17458 Also, the function that calls main may be called 'init'
17459 rather than 'start'.
17460
a5a51225
EZ
174612000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17462
17463 * gdb.base/help.exp: Update output for add-symbol-file command.
17464
7930cc7c
FN
174652000-04-10 Fernando Nasser <fnasser@cygnus.com>
17466
17467 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17468 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17469
23e37ab1
C
174702000-04-07 J.T. Conklin <jtc@redback.com>
17471
e93c542c
C
17472 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17473
23e37ab1
C
17474 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17475
591b8fa3
PDM
17476Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17477
17478 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 17479 values that can be represented exactly.
591b8fa3
PDM
17480 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17481 above change, and to not check against the directory part of the source
17482 file name.
17483 (step into print_long_arg_list): Likewise.
17484 (print print_small_structs from print_long_arg_list): Likewise.
17485 (print print_long_arg_list): Likewise.
17486
7a495180
EZ
174872000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17488
30b53638 17489 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 17490
beb998c6
AC
17491Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17492
17493 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17494
1c689132
DB
174952000-03-25 Daniel Berlin <dan@cgsoftware.com>
17496
17497 * gdb.base/commands.exp (deprecated_command_test): Add test for
17498 deprecate with no arguments.
17499
c1790a9d
JL
175002000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17501
17502 * gdb.base/break.exp: Add new test for setting breakpoints on
17503 optimized code so we can test breakpoints work even when function
17504 prologues may be optimized away
17505
003ba290
FN
175062000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17507
17508 From David Whedon <dwhedon@gordian.com>
a9c64011 17509 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 17510
6837a0a2
DB
175112000-03-22 Daniel Berlin <dan@cgsoftware.com>
17512
17513 * gdb.base/help.exp: Added test for new apropos command.
17514
b9593231
KB
175152000-03-21 Kevin Buettner <kevinb@redhat.com>
17516
17517 * gdb.base/pointers.c (usevar): New function.
17518 (main): Make sure that global variables v_int_pointer2, rptr,
17519 and y are all referenced someplace in the program by calling
17520 usevar() on them. [Some linkers delete symbols which are
17521 never referenced. The space remains, but there's no way to
17522 get a (symbolic) handle on the variable from the debugger.]
17523
751a959b
EZ
175242000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17525
17526 * gdb.base/printcmds.c: Add typedeffed arrays.
17527
17528 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 17529 procedure to test arrays that are typedef'd.
751a959b 17530
73a93a32
JI
175312000-03-13 James Ingham <jingham@leda.cygnus.com>
17532
17533 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 17534 the library directories.
73a93a32 17535
fb40c209
AC
17536Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17537
17538 * configure.in (configdirs): Add sub directory gdb.mi.
17539 * configure: Re-generate.
17540
17541 * gdb.mi: New directory.
d63a86f8 17542
ee4dd2c9
AC
175432000-02-25 Scott Bambrough <scottb@netwinder.org>
17544
17545 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 17546 a long long value as a double on ARM platforms.
ee4dd2c9 17547
70f0cc22
JB
175482000-02-16 Jim Blandy <jimb@redhat.com>
17549
17550 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17551 default source file is set properly before running this test.
17552
853819b8
EZ
175532000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17554
17555 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 17556 gdbtk/library directory, not in gdbtcl2.
853819b8 17557
dfcd3bfb
JM
175582000-02-04 Jim Blandy <jimb@redhat.com>
17559
17560 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17561 backslash from regexp pattern.
17562
17563 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17564 procedure. Use it to run all the "continue to bp overloaded"
17565 tests. Note that this changes the names of the tests slightly.
17566 If the breakpoint hit message includes a hex PC value, because
17567 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17568 from the real source code, still consider that a pass.
17569
17570 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17571 XFAIL here if the breakpoint message contains a hex address. Note
17572 similar change on 1999-11-02.
17573
17574 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17575
17576 * gdb.base/ptype.exp: Establish a default source file before
17577 calling get_debug_format.
17578
175792000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17580
17581 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17582
8b93c638
JM
175832000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17584
17585 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17586 of successive stepi commands -- while in the prologue we should see
17587 the function entry bracket.
17588
175892000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17590
17591 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17592 reach __change_mode() when stepping through the end of main().
17593
c5394b80
JM
175942000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17595
17596 * gdb.base/default.exp: Fix expected pattern.
17597 * gdb.base/help.exp: Same.
17598
0d06e24b
JM
175992000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17600
17601 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 17602 Don't use xfail's because that affects only the following test.
d63a86f8 17603
0d06e24b 17604 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 17605 solaris or linux.
0d06e24b
JM
17606
17607 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17608
dc96c6c7 176092000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 17610
d63a86f8 17611 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
17612 "A syntax error" rather than "A parse error". Accept both.
17613
176142000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17615
17616 * gdb.base/default.exp: Remove OS dependent string from "target
17617 remote" test.
17618 * gdb.base/help.exp: Same for "help target remote" test.
17619
c3f6f71d
JM
176202000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17621
17622 From Jim Kingdon <kingdon@redhat.com>:
17623
17624 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
17625 prompt (cleanup rather than necessity, but still might keep output
17626 from spilling to next test).
c3f6f71d
JM
17627
176282000-01-02 Fred Fish <fnf@cygnus.com>
17629
17630 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17631 AIX, which defines them in <sys/types.h>.
17632
ed9a39eb 176331999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 17634
ed9a39eb 17635 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 17636 float" test.
ed9a39eb
JM
17637
176381999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 17639
ed9a39eb 17640 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
17641
17642 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17643 outermost frame disallowed".
17644
176451999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17646
17647 * gdb.base/setvar.exp: New tests for setting the value of a struct
17648 with a constant list.
17649
176501999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17651
17652 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17653 require the user to type a cast before setting the value of a struct.
17654
de57eccd
JM
176551999-12-06 Jim Blandy <jimb@cygnus.com>
17656
17657 * gdb.base/default.exp: Expect the new 'info float' command on
17658 all i386 platforms.
17659
17660 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17661 LinuxThreads libraries that don't support debugging.
17662
c2d11a7d
JM
17663Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17664
17665 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
17666 Change the buffer type to ``unsigned char'' to simplify size
17667 arithmetic.
c2d11a7d
JM
17668
17669 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
17670 stub only handles 400-1 byte packets. Verify that the download
17671 worked.
c2d11a7d
JM
17672
176731999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17674
17675 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17676 tests, using UNRESOLVED for the untested cases. Also, does not wait
17677 for a timeout if the prompt was received before a recognizable pattern.
17678
176791999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17680
17681 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17682
176831999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17684
17685 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 17686 watchpoints.
c2d11a7d
JM
17687
176881999-11-24 Jason Merrill <jason@casey.cygnus.com>
17689
17690 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17691
17692 * gdb.c++/local.exp: Be more flexible in recognizing local class
17693 name mangling. Don't allow horribly truncated method names.
17694 * gdb.c++/derivation.exp: Expect protected inheritance.
17695 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17696 * gdb.c++/virtfunc.exp: Likewise.
17697 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17698 when printing a nested enum.
17699
177001999-11-22 Jim Blandy <jimb@cygnus.com>
17701
17702 * gdb.base/step-test.exp: Properly await GDB's response to setting
17703 a breakpoint on the call to large_struct_by_value.
17704
17705 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17706 just because we have debug info for the `start' function.
17707
177081999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17709
17710 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17711 "Unknown signal" messages, which indicate (on LinuxThreads) that
17712 GDB doesn't know how to debug threads on this system. This is
17713 better than hanging while philosopher 0 dumps chatter into gdb.log.
17714
177151999-11-18 Tom Tromey <tromey@cygnus.com>
17716
17717 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17718
177191999-11-18 Fred Fish <fnf@cygnus.com>
17720
17721 * gdb.base/coremaker2.c: Add sample program for generating
17722 cores that is more self contained than coremaker.c. Eventually
17723 I'll add more code to this and tie it into the testsuite.
17724
4ce44c66
JM
177251999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17726
17727 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17728
177291999-11-10 Jimmy Guo <guo@cup.hp.com>
17730
17731 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 17732 from $srcdir/lib/.
4ce44c66 17733 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 17734 and gdb.c++/.
4ce44c66
JM
17735
17736 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17737
d63a86f8 17738 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
17739 'continue with watch' test point.
17740
177411999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17742
17743 Merged from p2linux-990323-branch:
d63a86f8 17744
4ce44c66
JM
17745 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17746
11cf8741
JM
17747Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17748
17749 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 17750 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
17751
17752Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17753
17754 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 17755 gdb_expect_list.
11cf8741
JM
17756
17757Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17758
17759 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17760
177611999-11-03 Mark Salter <msalter@cygnus.com>
17762
17763 * gdb.base/break.exp: Fix "stub continue" pattern.
17764
177651999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17766
17767 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17768
177691999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17770
17771 * gdb.base/display.exp ("finish"): Add timeout clause.
17772
17773 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17774 plain prompt clause, so this doesn't have to time out in order to
17775 fail.
17776
17777 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 17778 breakpoint hit messages include an address.
11cf8741
JM
17779
17780 * gdb.base/display.exp: Don't forget to escape parens in regular
17781 expressions. Unix regexp notatation sucks.
17782
177831999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17784
17785 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 17786 order for 'signalled' message.
11cf8741 17787
5c44784c
JM
177881999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17789
17790 From Jimmy Guo <guo@cup.hp.com>:
17791 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17792 * gdb.base/annota1.c: Add code for tests to work with.
17793
177941999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17795
17796 * gdb.base/remote.exp: New test for remote downloading settings.
17797 * gdb.base/remote.c: New file with large .data.
17798
917317f4
JM
177991999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17800
17801 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17802 for LinuxThreads support, merged from the Code Fusion branch.
17803
17804Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17805
17806 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
17807 containing exp_continue into a while within an expect. Don't
17808 attempt a start more than three times. Check return value from
17809 gdb_load.
d63a86f8 17810
2df3850c
JM
17811Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17812
17813 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 17814 a pass case.
2df3850c 17815
2acceee2
JM
178161999-10-01 Kevin Buettner <kevinb@cygnus.com>
17817
17818 * gdb.base/break.c (main): Added a statement that we can step
17819 off of.
17820 * gdb.base/break.exp: Added tests for setting a breakpoint
17821 at an offset and stepping onto a breakpoint.
17822
178231999-10-01 Fred Fish <fnf@cygnus.com>
17824
d63a86f8 17825 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
17826 gdb output.
17827
c2c6d25f
JM
178281999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17829
17830 * gdb.base/break.exp: Code locations are in hex, don't forget!
17831 (For HP-UX.)
17832
178331999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17834
17835 * condbreak.exp: Use break.c as test program.
17836 * condbreak.c: Remove, redundant with break.c.
17837
178381999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17839
17840 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 17841 Z-packets if the target needs it.
c2c6d25f
JM
17842
178431999-09-13 James Ingham <jingham@leda.cygnus.com>
17844
17845 * gdb.c++/overload.exp: Added tests for listing overloaded
17846 functions with function pointers in the arg, explicitly calling
17847 out the version you want.
17848
cff3e48b
JM
178491999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17850
17851 * long_long.exp: Add variations of test cases that work for
17852 targets with 16-bit ints and 32-bit doubles.
17853
d4f3574e
SS
178541999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17855
17856 * break.c (main): Compare a possibly-uninitialized argc with an
17857 unlikely value that fits in 16 bits.
17858
178591999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17860
17861 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17862 0xfeeb, don't want negative numbers if ints are 16 bits.
17863
17864 * lib/gdb.exp (skip_cplus_tests): New proc.
17865 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
17866 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17867 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17868 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17869 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17870 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17871 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17872 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
17873
17874 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17875
17876Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17877
17878 * gdb.base/corefile.exp (up): Allow a parameter to appear
17879 in the frame that we're going up to.
17880
17881 From Jim Blandy <jimb@cygnus.com>:
17882
17883 * gdb.base/default.exp (info float): Expect some output now.
17884
17885 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17886 returning floating-point values to fail on the x86.
17887 * gdb.base/callfwmall.exp (do_function_calls): Same.
17888
17889 * gdb.base/list.exp (test_listsize): Correct expectations for
17890 listing line 1 with listsize 2. Also, listing a single line
17891 works now, as does listing three lines. [Kevin's note: There
17892 were a number of other cases fixed too where the expectations
17893 differed...]
17894
178951999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17896
17897 * gdb.base/selftest.exp: Add case for when version prints as
17898 constant string instead of char pointer.
17899
104c1213
JM
179001999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17901
17902 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 17903 stepping out of main.
104c1213
JM
17904
17905 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17906 G++ used.
17907
17908 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 17909 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
17910
17911 * gdb.c++/ovldbreak.exp: Update match string in test that
17912 includes a warning of multiple breakpoints.
17913
179141999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17915
17916 * gdb.base/display.exp: Improve precision of step-after-finish
17917 added yesterday.
17918
17919 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 17920 test.
104c1213
JM
17921
17922 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17923 configs when using G++, not just hppa*.
17924
179251999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17926
17927 * gdb.base/async.c: New file.
17928 * gdb.base/async.exp: New file.
17929
17930Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17931
17932 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17933 PA64.
17934
53a5351d
JM
17935Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17936
104c1213
JM
17937 * gdb.base/display.exp: "finish" can leave us mid-line on many
17938 targets, deal with it. Add a small constant to main, instead of
17939 1000 since main+1000 may not be a valid address in the target.
17940
53a5351d
JM
17941 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17942 on hpux11.
17943
17944 * gdb.base/attach.exp: Handle another hpux11 error message variant
17945 when attaching to a process that does not exist.
17946
179471999-08-19 J.T. Conklin <jtc@redback.com>
17948
17949 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 17950 characters in 'continue to 1241' test.
53a5351d
JM
17951
179521999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17953
17954 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17955 stop in print_long_arg_list, define and use a whitespace
17956 variable in print_small_structs test, add an XFAIL for Solaris.
17957 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17958 interested enough to fix.
17959
7be570e7
JM
179601999-08-13 Keith Seitz <keiths@cygnus.com>
17961
17962 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17963 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17964 proc knows about targets other than the natives.
17965 (test_assign): Use "gdb_run_cmd" to "run" the target.
17966 Check that we've actually hit the breakpoint at main.
17967 When we attempt to assign a value to a local variable, check
17968 that the variable is in the current scope, i.e., don't use
17969 a test with an empty result.
17970
17971Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17972
17973 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 17974 command.
7be570e7
JM
17975
179761999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17977
17978 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17979 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17980 gdb.compat, gdb.threads-hp.
17981 gdb.hp/configure, gdb.hp/configure.in: New files.
17982 gdb.hp/Makefile.in: Recurse into new subdirs.
17983 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17984 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17985 in object files.
17986 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17987
96baa820
JM
179881999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17989
17990 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 17991 funky printf, remove a bogus p/a test.
96baa820
JM
17992
179931999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17994
17995 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
17996 connected to the target. This is necessary when running not
17997 natively.
96baa820
JM
17998
179991999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18000
18001 * gdb.base/step-test.exp: Removed some extraneous messages.
18002
18003 * gdb.base/long_long.exp: Don't run memory examination tests
18004 on little-endian targets (they will need a different set of
18005 results to match).
18006
180071999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18008
18009 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18010 until somebody decides to fix GDB.
18011
18012 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 18013 constant as "ULL".
96baa820
JM
18014 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18015 matches for a couple x/2 commands.
18016
a0b3c4fd
JM
180171999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18018
18019 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18020 by merging in ref-types2 tests.
18021 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18022
18023 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18024 * gdb.c++/Makefile.in: Add standard actions.
18025 (EXECUTABLES): Rename from PROGS, update list.
18026 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18027 from gdb.hp.
18028 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18029 foo and bar locals.
18030 * gdb.c++/anon-union.exp: Fix tests to match.
18031 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18032 expect matches to handle output variations.
18033 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18034 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 18035 output, add HP alternatives for new and delete prints.
a0b3c4fd 18036 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18037 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18038 * gdb.c++/demangle.exp: Use $style when reporting failure.
18039 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18040 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18041 match alternatives.
18042 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18043 compilers.
a0b3c4fd
JM
18044 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18045 * gdb.c++/method.exp: Add match alternatives.
18046 * gdb.c++/misc.cc: Add bool types.
18047 * gdb.c++/misc.exp: Add tests for bool types.
18048 * gdb.c++/overload.exp: Add xfails.
18049 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18050 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18051 add some more template parameter tests (only for HP currently).
18052 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18053 * gdb.c++/virtfunc.cc: Add return type and value for main.
18054 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18055 match alternatives.
d63a86f8 18056
a0b3c4fd
JM
180571999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18058
18059 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18060
180611999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18062
18063 * gdb.base/signals.exp: Don't expect getting a backtrace from
18064 within a signal handler to fail on Linux.
18065
180661999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18067
18068 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18069 * lib/gdb.exp: Remove some gratuitious semicolons.
18070 (delete_breakpoints): Increase timeout.
18071 (gdb_expect): Add -notransfer option.
18072 (gdb_test): Use -notransfer option.
18073 (get_compiler_info): Add f77 case.
18074 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18075 case.
a0b3c4fd
JM
18076 (gdb_preprocess): Call get_compiler.
18077
18078 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18079 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18080 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18081 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18082 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18083 third arg to gdb_test.
a0b3c4fd
JM
18084 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18085 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 18086 HP-UX xfails, add others.
a0b3c4fd
JM
18087 * gdb.base/completion.exp: Reflect name change of self-test.
18088 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
18089 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18090 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18091 HP failure number.
a0b3c4fd
JM
18092 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18093 useless HP-UX 10.30 references.
18094 * gdb.base/maint.exp: Loosen matches.
18095 * gdb.base/pointers.c (main): Declare more_code.
18096 * gdb.base/pointers.exp: Match on output of a `next'.
18097 * gdb.base/structs.c: Add prototypes.
18098 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18099 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18100
181011999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18102
18103 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 18104 command.
a0b3c4fd
JM
18105
181061999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18107
18108 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18109 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
18110
18111 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
18112 debug info. Deal with lack of signal hanlder info in stack.
18113
a9c64011 18114 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
18115 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18116
5a2468f5
JM
181171999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18118
18119 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 18120 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 18121
adf40b2e
JM
18122Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18123
18124 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 18125 a1-selftest.exp.
adf40b2e
JM
18126 * gdb.base/configure: Re-generate.
18127
181281999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18129
18130 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18131 in trying to run first and name is too long.
18132
18133 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18134 pointers2.c and pointers2.exp, respectively.
18135 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18136 doschk happier.
18137
43e526b9
JM
181381999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18139
18140 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18141 callfuncs2.c and callfuncs2.exp.
18142
18143 * gdb.base/list.exp: Remove mistaken xfails.
18144 * gdb.base/list0.h: Add optional prototypes.
18145
9846de1b
JM
18146Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18147
a9c64011 18148 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 18149 calling malloc.
a9c64011
AS
18150 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18151 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 18152 use.
9846de1b
JM
18153
181541999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18155
18156 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18157 * gdb.base/annota2.cc, annota2.exp: Move from here.
18158 * gdb.c++/annota2.cc, annota2.exp: To here.
18159 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18160
43ff13b4
JM
18161Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18162
18163 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 18164 a consistent format.
43ff13b4 18165
085dd6e6
JM
181661999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18167
18168 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18169 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18170 HP compilers, also set the globals $true and $false.
18171
18172 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
18173 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18174 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18175 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18176 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18177 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18178 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18179 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18180 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18181 whatis.c} Add C++ compatible function definitions and return
18182 types, add includes for library functions.
085dd6e6
JM
18183 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18184 * gdb.base/step-test.c (myglob): Rename from glob.
18185 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
18186 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18187 files, move here from gdb.hp.
085dd6e6 18188 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
18189 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18190 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18191 Adjust line numbers in regexps.
085dd6e6
JM
18192
18193 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18194 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18195 instead of 0/1.
18196
18197 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18198 foll-vfork.exp: New files, move here from gdb.hp.
18199 * gdb.base/page.exp: New file, test of pagination command.
18200
18201 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18202 recursion test.
18203 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18204
18205 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 18206 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
18207
18208 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 18209 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 18210 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 18211 watchpoint test.
085dd6e6
JM
18212 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18213 them work.
18214 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18215 expressions properly.
18216 * gdb.base/corefile.exp: Loosen the match slightly.
18217 * gdb.base/default.exp: Allow "Error accessing memory" message
18218 also.
18219 * gdb.base/display.exp: Skip over x/0 j if PA64.
18220 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18221 * gdb.base/interrupt.exp: Ditto.
18222 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18223 in use.
18224 * gdb.base/list.exp: Add xfails for HP-UX.
18225 * gdb.base/long_long.exp: Refine some of the numeric matches.
18226 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18227 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18228 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18229 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18230 * gdb.base/ptype.exp: Succeed on more varieties of output.
18231 * gdb.base/scope.exp: Add xfails for HP-UX.
18232 * gdb.base/sect-cmd.exp: Add more cases.
18233 * gdb.base/setvar.exp: Add xfails for HP-UX.
18234 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18235 * gdb.base/signals.exp: Match on void symbolically.
18236 * gdb.base/step-test.exp: Add case for PA64.
18237 * gdb.base/term.exp: Add exit and restart.
18238 * gdb.base/twice.exp: Clean up after self.
18239 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18240 * gdb.base/whatis.exp: Allow more ways to pass tests.
18241
18242 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 18243 no longer useful.
085dd6e6
JM
18244
18245Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18246
18247 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 18248 list of patterns.
085dd6e6 18249 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
18250 print_double_array(double_array)", "continuing to breakpoint
18251 1018", "print print_double_array(array_d)" and "continuing to
18252 1034" tests.
d63a86f8 18253
085dd6e6
JM
182541999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18255
a9c64011 18256 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
18257
182581999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18259
18260 * config/mt-*: Remove, these haven't been used since 1996.
18261
182621999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18263
18264 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 18265 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
18266 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18267
9e0b60a8
JM
182681999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18269
18270 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18271 simpler match case for the ptype of the big class.
18272
182731999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18274
18275 * gdb.exp: Fix test for gdb_prompt existence.
18276
182771999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18278
18279 * gdb.exp (gdb_test): Add fail after calls to perror.
18280
182811999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18282
18283 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18284
182851999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18286
18287 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18288
0f71a2f6
JM
18289Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18290
18291 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 18292 malloc() is linked in.
0f71a2f6
JM
18293
182941999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18295
18296 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18297 step at end.
18298
18299 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18300
183011999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18302
18303 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18304
cce74817
JM
18305Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18306
18307 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18308 * gdb.base/mips_pro.exp: Likewise.
18309
183101999-06-02 Keith Seitz <keiths@cygnus.com>
18311
18312 * gdb.c++/templates.cc: Change all "new" operators to throw
18313 an exception.
18314 * gdb.c++/cplusfuncs.cc: Likewise.
18315
18316 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18317
18318Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18319
18320 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
18321 * gdb.base/ending-run.exp: When stepping out of main, accept a
18322 step into an arbitrary assembler file.
cce74817 18323
392a587b
JM
183241999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18325
d63a86f8 18326 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 18327 "breakpoint-invalid" to be printed.
d63a86f8 18328 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
18329 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18330 * gdb.base/annota2.cc: Initialize a.x to 0.
18331
9e086581
JM
183321999-05-17 Keith Seitz <keiths@cygnus.com>
18333
18334 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18335 when "skip_float_tests" set.
18336 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18337 "print print_ten_doubles", and "step into print_long_arg_list".
18338 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18339 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18340 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18341 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18342 "skip_float_tests" is set.
18343 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18344 when "skip_float_tests" set.
d63a86f8 18345
cd0fc7c3
SS
183461999-05-06 Keith Seitz <keiths@cygnus.com>
18347
18348 * gdb.base/annota2.cc: Include stdio.h.
18349
18350Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18351
18352 * gdb.base/crossload.exp: Remove, this has been disabled ever
18353 since BFD stopped including all targets, and cross-GDB gets
18354 plenty of testing anyway.
18355 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
18356 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18357 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
18358 * gdb.base/README: Remove, was doc for this.
18359 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 18360 needed.
cd0fc7c3 18361
b83266a0
SS
183621999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18363
18364 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18365 output.
18366
18367 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18368 * gdb.base/annota2.exp: New file. More annotation tests.
18369 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18370 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18371
183721999-04-23 Angela Marie Thomas <angela@cygnus.com>
18373
18374 * config/cfdbug.exp: New file.
18375
7a292a7a
SS
183761999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18377
18378 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18379 Marcus Daniel's and Dale Hawkins's demangler crashes.
18380
18381 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
18382 test_lucid_style_demangling, test_arm_style_demangling,
18383 test_hp_style_demangling): Try Tom Tromey's core-dumping
18384 identifier under each demangling style.
7a292a7a
SS
18385
183861999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18387
18388 * gdb.c++/demangle.exp: Include the current demangling style
18389 in all test names.
18390 (current_demangling_style): New global variable.
18391 (set_demangling_style, test_demangling_core, test_demangling,
18392 test_demangling_exact): New functions.
18393 (test_gnu_style_demangling, test_lucid_style_demangling,
18394 test_arm_style_demangling, test_hp_style_demangling): Use those,
18395 instead of calling gdb_test and gdb_test_exact directly.
18396 (catch_demangling_errors): New function, which reports errors
18397 signalled by the demangling test functions in an orderly way.
18398 (do_tests): Use catch_demangling_errors.
18399
184001999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18401
18402 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 18403 grouping in expressions, not {}.
7a292a7a
SS
18404
18405 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 18406 initialized yet.
7a292a7a
SS
18407
184081999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18409
18410 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18411 are listed.
18412
184131999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18414
18415 * gdb.stabs/weird.exp: Test for CC being defined before
18416 looking at its value.
18417
184181999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18419
18420 * gdb.base/call-ar-st.exp: Remove stray '#'.
18421 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18422 "short int" and "long int".
18423 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 18424 change, to mollify finicky HP compiler.
7a292a7a
SS
18425 * gdb.hp/reg-test.exp (testfile): Fix file name.
18426 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 18427
7a292a7a
SS
18428 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18429 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18430 alternate form of enum ptype.
18431
c906108c
SS
184321999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18433
7a292a7a
SS
18434 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18435 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
18436 passing skip_hp_tests, so as not to waste time on guaranteed
18437 failure.
7a292a7a 18438
c906108c
SS
18439 * gdb.c++/overload.cc: Pass string instead of char addr, always
18440 init ccpfoo.
18441 * gdb.c++/templates.cc: Fix syntax error.
18442
7a292a7a
SS
18443Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18444
18445 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 18446 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
18447 command.
18448
184491999-03-18 James Ingham <jingham@cygnus.com>
18450
18451 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18452
18453 * gdb.c++/method.exp: It was testing an uninitialized int on the
18454 stack and assuming it was positive.
18455
18456 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18457
18458 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 18459 keep it from killing the rest of the tests.
7a292a7a
SS
18460 Use gdb_continue_to_end.
18461
18462 * gdb.base/sigall.exp: use gdb_continue_to_end.
18463
18464 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18465
18466 * gdb.base/display.exp: use runto_main, not run.
18467
d63a86f8
RM
18468 * gdb.base/default.exp: Check for the current error message in the
18469 r abbreviation test.
7a292a7a
SS
18470 Add strongarm to the targets that know info float.
18471
d63a86f8 18472 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
18473 run which doesn't work with monitors.
18474
18475 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18476
18477 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18478
18479 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
18480 program. Traps the case (in Cygmon) when the program never really
18481 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
18482 more places, so I used my name. Sorry Mark...
18483
18484 * config/monitor.exp (gdb_target_monitor): added another
18485 target_info parameter: remotebinarydownload. This will set the
18486 remotebinarydownload flag if this is causing some boards trouble.
18487
184881999-03-18 Mark Salter <msalter@cygnus.com>
18489
18490 * lib/gdb.exp (continue_to_exit): New function.
18491
18492 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18493 * gdb.base/ending-run.exp: Ditto.
18494 * gdb.base/step-test.exp: Ditto.
18495
184961999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18497
18498 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18499 (suggested by Art Haas <ahaas@neosoft.com>).
18500
185011999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18502
889bf7c5 18503 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
18504
18505Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18506
18507 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 18508 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
18509
185101999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18511
18512 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18513 a call to strlen; sometimes we do have sources.
18514
185151999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
18516
18517 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 18518 character, so GDB won't print garbage after its end.
d63a86f8 18519
c906108c
SS
18520 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18521 breakpoint there instead. Sometimes GCC emits memcpy to handle
18522 the large structures being passed by value, so we step into that
18523 instead of sum_array_print, which obscures what we're really testing.
18524 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
18525 the bizarre steps into memcpy, so do that here. Add check for
18526 stepping into function calls that pass large structures by value.
18527 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
18528 Remove all references to specific line numbers.
18529 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18530 New type and function.
18531 (main): Call large_struct_by_value, passing it a large struct by value.
18532 * lib/gdb.exp (gdb_get_line_number): New function.
18533
18534 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18535 more portable.
18536
7a292a7a
SS
185371999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18538
c906108c
SS
18539 * lib/gdb.exp: Doc fixes.
18540
7a292a7a
SS
185411999-03-05 Nick Clifton <nickc@cygnus.com>
18542
d63a86f8 18543 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
18544
185451999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18546
c906108c 18547 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
18548 commands. They're not germane to this test, and they don't work
18549 that way on remote targets.
c906108c 18550
3fc11d3e
JM
185511999-03-01 James Ingham <jingham@cygnus.com>
18552
18553 * Changelog entries merged over from gdb development branch.
18554
3fc11d3e
JM
18555 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18556
18557 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18558 for outputting results of test run.
18559
2d4a1622 18560 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
18561
18562 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 18563
7a292a7a
SS
185641999-02-25 Felix Lee <flee@cygnus.com>
18565
18566 * lib/gdb.exp (debug_format): initialize
18567
c906108c
SS
185681999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18569
18570 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18571 * gdb.base/call-rt-st.c: Ditto.
18572
c906108c
SS
185731999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18574
18575 * gdb.threads/pthreads.exp (horiz): New variable.
18576 (test_startup): Fix regexps that capture thread numbers.
18577
185781999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18579
18580 * gdb.base/smoke.exp: Disambiguate two test case names (both
18581 called ``print'').
18582
18583Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18584
18585 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 18586 compilation.
c906108c
SS
18587
185881999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18589
18590 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18591 actual output formatting.
18592 * gdb.base/smoke.exp: GDB removes leading 0's.
18593 * gdb.base/volatile.exp: Don't check type of remuneration;
18594 that variable is no longer defined in constvars.c.
18595 * gdb.base/step-test.c (main): Exit with explicit exit code.
18596 * gdb.base/step-test.exp: Remove two nexti checks--they are
18597 not portable.
18598
185991999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18600
18601 * gdb.base/help.exp ("help delete display"): Fix test to match
18602 gdb's output.
18603
18604 * gdb.base/long_long.c (known_types): Initialize values to zero.
18605 * gdb.base/long_long.exp: Step one more line
18606 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
18607 leading zeros. Explicitly ask for hex formatting. Use
18608 unique test case names.
c906108c
SS
18609
18610Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18611
d63a86f8 18612 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
18613
18614 * gdb.c++/method.exp: Add missing close brace.
18615
186161999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18617
18618 * gdb.base/maint.exp: Use 'set height 0' to disable page
18619 prompting, not 'set height 400'.
18620
18621 Fix a bunch of timeouts.
18622 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18623 four separate tests, so expect doesn't take forever to match a ton
18624 of text against a regexp with lots of .* forms.
18625 ("maint print psymbols", "maint print symbols"): Make some of
18626 these greps more selective, so that expect doesn't try to wade
18627 through huge piles of output and time out.
18628
18629 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18630
18631 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
18632 tests: one which doesn't expect shlib events to be reported, and
18633 another which does, but is XFAIL for all platforms other than
18634 HP/UX.
c906108c
SS
18635
18636 * gdb.base/break.exp: Teach the test suite that the `catch
18637 fork', `catch vfork', and `catch exec' commands produce error
18638 messages on platforms that don't provide these features.
18639
18640Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18641
18642 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
18643 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18644 (shortening names from solib_threshold.exp etc), won't run on
18645 anything but HP-UX for the foreseeable future.
c906108c 18646 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 18647 reflect move.
c906108c
SS
18648
18649Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18650
18651 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 18652 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
18653
18654Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18655
18656 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18657 successfully re-sets breakpoints in shared libraries.
18658 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18659
18660Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18661
d63a86f8
RM
18662 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18663 and compiled w/o GCC.
c906108c
SS
18664
18665 * gdb.hp/watch-cmd.exp: ditto.
18666
18667 * gdb.hp/watch-hp.exp: ditto.
18668
18669 * gdb.hp/xdb1.exp: ditto.
18670
18671 * gdb.hp/xdb2.exp: ditto.
18672
18673 * gdb.hp/dbx.exp: ditto.
18674
18675Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18676
18677 * constvars.c: Remove C++-isms.
18678 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 18679 with GCC.
c906108c
SS
18680
18681Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18682
18683 The following changes are part of the HP merge.
18684
18685 * gdb.base/break.exp: new tests to verify that catchpoints for
18686 fork, vfork, and exec don't trigger inappropriately.
18687
18688 * gdb.base/opaque.exp: compile one file at a time, then link.
18689
18690 * gdb.base/signals.exp: be more restrictive about which hppa
18691 systems receive a setup_xfail. new tests.
18692
18693 * gdb.base/solib_threshold.build: new file.
18694 * gdb.base/solib_threshold.exp: new file.
18695 * gdb.base/solib_threshold.link_opts: new file.
18696 * gdb.base/solib_threshold.mk: new file.
18697 * gdb.base/gen_solib_threshold.c: new file.
18698
18699 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18700 tests. New tests for enums inside classes.
18701
18702 * gdb.c++/compiler.cc: indicate support of template debugging.
18703
18704 * gdb.c++/demangle.exp: run hp style demangling tests.
18705
18706 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18707 tests.
18708
18709 * gdb.c++/misc.cc: changes to support new tests.
18710
18711 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18712 to support new tests.
18713
18714 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18715 gcc, then skip these tests.
18716
18717Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18718
18719 The following files are part of the HP merge; some had longer
18720 names at HP, but have been renamed to be no more than 14
18721 characters in length.
18722
18723 * gdb.hp/ambiguous.cc: new file.
18724 * gdb.hp/ambiguous.exp: new file.
18725 * gdb.hp/attach.exp: new file.
18726 * gdb.hp/attach2.exp: new file.
18727 * gdb.hp/classes-hp.exp: new file.
18728 * gdb.hp/ctti.exp: new file.
18729 * gdb.hp/ctti-add.cc: new file.
18730 * gdb.hp/ctti-add1.cc: new file.
18731 * gdb.hp/ctti-add2.cc: new file.
18732 * gdb.hp/ctti-add3.cc: new file.
18733 * gdb.hp/dbx.exp: new file.
18734 * gdb.hp/exception.cc: new file.
18735 * gdb.hp/exception.exp: new file.
18736 * gdb.hp/foll-exec.c: new file.
18737 * gdb.hp/foll-exec.exp: new file.
18738 * gdb.hp/foll-fork.c: new file.
18739 * gdb.hp/foll-fork.exp: new file.
18740 * gdb.hp/foll-vfork.c: new file.
18741 * gdb.hp/foll-vfork.exp: new file.
18742 * gdb.hp/inherit-hp.exp: new file.
18743 * gdb.hp/more-steps.exp: new file.
18744 * gdb.hp/namespace.cc: new file.
18745 * gdb.hp/namespace.exp: new file.
18746 * gdb.hp/optimize.exp: new file.
18747 * gdb.hp/pxdb.c: new file.
18748 * gdb.hp/pxdb.exp: new file.
18749 * gdb.hp/quicksort.exp: new file.
18750 * gdb.hp/reg-test.exp: new file.
18751 * gdb.hp/reg-test.s: new file.
18752 * gdb.hp/sized-enum.c: new file.
18753 * gdb.hp/sized-enum.exp: new file.
18754 * gdb.hp/start-stop.exp: new file.
18755 * gdb.hp/templ-hp.cc: new file.
18756 * gdb.hp/templ-hp.exp: new file.
18757 * gdb.hp/thr-lib.c: new file.
18758 * gdb.hp/thr-lib.exp: new file.
18759 * gdb.hp/thr-lib.h: new file.
18760 * gdb.hp/thr-liblib.c: new file.
18761 * gdb.hp/virtfun-hp.c: new file.
18762 * gdb.hp/virtfun-hp.exp: new file.
18763 * gdb.hp/watch-cmd.exp: new file.
18764 * gdb.hp/watch-hp.exp: new file.
18765 * gdb.hp/xdb1.exp: new file.
18766 * gdb.hp/xdb2.exp: new file.
18767 * gdb.hp/xdb3.exp: new file.
18768
18769Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18770
18771 The following files are part of the HP merge; some had longer
18772 names at HP, but have been renamed to be no more than 14
18773 characters in length.
18774
18775 * gdb.base/ss.h: new file.
18776 * gdb.base/call-ar-st.c: new file.
18777 * gdb.base/call-ar-st.exp: new file.
18778 * gdb.base/call-rt-st.c: new file.
18779 * gdb.base/call-rt-st-exp: new file.
18780 * gdb.base/call-strs.exp: new file.
18781 * gdb.base/ena-dis-br.exp: new file.
18782 * gdb.base/environ.exp: new file.
18783 * gdb.base/long_long.exp: new file.
18784 * gdb.base/sect-cmd.exp: new file.
18785 * gdb.base/shlib-cl2.exp: new file.
18786 * gdb.base/smoke.exp: new file.
18787 * gdb.base/so-impl-ld.c: new file.
18788 * gdb.base/so-impl-ld.exp: new file.
18789 * gdb.base/so-indr-cl.c: new file.
18790 * gdb.base/so-indr-cl.exp: new file.
18791 * gdb.base/varargs.exp: new file.
18792 * gdb.base/volatile.exp: new file.
18793 * gdb.base/whatis-exp.exp: new file.
7a292a7a 18794 * gdb.base/display.exp: new file.
c906108c
SS
18795 * gdb.c++/derivation.exp: new file.
18796 * gdb.c++/local.exp: new file.
18797 * gdb.c++/member-ptr.exp: new file.
18798 * gdb.c++/overload.exp: new file.
18799 * gdb.c++/ovldbreak.exp: new file.
18800 * gdb.c++/ref-types.exp: new file.
18801 * gdb.c++/ref-types2.exp: new file.
18802 * gdb.c++/userdef.exp: new file.
d63a86f8 18803
c906108c
SS
18804Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18805
18806 * gdb.base/default.exp: Reflect wording change in remote.c.
18807
dc96c6c7 18808Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18809
18810 * gdb.base/help.exp: Update to reflect current text.
18811
18812Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18813
18814 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18815 they're stack variables and contain garbage.
18816 * gdb.c++/anon-union.exp: new file.
18817
18818 The following changes were made by David Taylor
889bf7c5
PA
18819 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18820 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18821 in changes by HP.
c906108c
SS
18822
18823 * gdb.base/bitops.exp: new file.
18824 * gdb.base/default.exp: change expected messages for catch and
18825 info catch tests to reflect HP merge changes.
18826 * gdb.base/enable-disable-break.exp
18827 * gdb.base/ending-run.c: new file.
18828 * gdb.base/long_long.c: new file.
18829 * gdb.base/maint.exp: new file.
18830 * gdb.base/pointers2.exp: new file.
18831 * gdb.base/shlib-call2.exp: new file.
18832 * gdb.base/solib.exp: new file.
18833 * gdb.base/step-test.c: new file.
18834 * gdb.c++/anon-union.cc: new file.
18835 * gdb.c++/local.cc: new file.
18836 * gdb.c++/member-pointer.cc: new file.
18837 * gdb.c++/method.cc: new file.
18838 * gdb.c++/ref-types.cc: new file.
18839 * gdb.c++/ref-types2.cc: new file.
18840 * gdb.c++/userdef.cc: new file.
d63a86f8 18841
c906108c
SS
18842 * gdb.base/scope.exp: compile one file at a time, then link.
18843 * gdb.base/langs.exp: ditto.
18844 * gdb.base/list.exp: ditto.
d63a86f8 18845
c906108c
SS
18846Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18847
18848 The following changes were made by David Taylor
889bf7c5
PA
18849 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18850 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18851 in changes by HP.
d63a86f8 18852
c906108c
SS
18853 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18854 skip tests. When compiling pass c++ flag to gdb_compile.
18855 * gdb.c++/
d63a86f8 18856
c906108c
SS
18857 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18858 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18859 (skip_hp_tests): new function.
18860 (gdb_preprocess): new function.
18861
18862 * configure.in (hpdir): decide whether to configure gdb.hp.
18863 * configure: regenerated.
18864
18865 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18866 to delete on clean.
18867 (EXECUTABLES): update to reflect new additions.
18868 * gdb.base/commands.exp: update message expected.
18869 * gdb.base/default.exp: add copyright notice.
18870 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18871 * gdb.base/help.exp: update messages to reflect current text.
18872 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18873 targets for recurse tests.
18874 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18875 skip this file.
18876
18877 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18878 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18879 compilation.
18880 * gdb.c++/misc.exp: ditto.
18881 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18882 run the tests. tell gdb_compile that it's a c++ compilation.
18883
18884 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 18885
c906108c
SS
18886 * gdb.base/all-bin.exp: new file.
18887 * gdb.base/arithmet.exp: new file.
18888 * gdb.base/assign.exp: new file.
18889 * gdb.base/completion.exp: new file.
18890 * gdb.base/cond-expr.exp: new file.
18891 * gdb.base/condbreak.exp: new file.
18892 * gdb.base/define.exp: new file.
18893 * gdb.base/dollar.exp: new file.
18894 * gdb.base/environment.exp: new file.
18895 * gdb.base/eval-skip.exp: new file.
18896 * gdb.base/jump.exp: new file.
18897 * gdb.base/logical.exp: new file.
18898 * gdb.base/pointers.exp: new file.
18899 * gdb.base/relational.exp: new file.
18900 * gdb.base/section_command.exp: new file.
18901 * gdb.base/whatis-expr.exp: new file.
18902
18903 * gdb.base/all-types.c: new file.
18904 * gdb.base/call-array-struct.c: new file.
18905 * gdb.base/call-return-struct.c: new file.
18906 * gdb.base/call-strings.c: new file.
18907 * gdb.base/callfuncs2.c: new file.
18908 * gdb.base/condbreak.c: new file.
18909 * gdb.base/constvars.c: new file.
18910 * gdb.base/display.c: new file.
18911 * gdb.base/int-type.c: new file.
18912 * gdb.base/jump.c: new file.
18913 * gdb.base/miscexprs.c: new file.
18914 * gdb.base/pointers.c: new file.
18915 * gdb.base/pointers2.c: new file.
18916 * gdb.base/shmain.c: new file.
18917 * gdb.base/shr1.c: new file.
18918 * gdb.base/shr2.c: new file.
18919 * gdb.base/solib.c: new file.
18920 * gdb.base/solib1.c: new file.
18921 * gdb.base/solib2.c: new file.
18922 * gdb.base/varargs.c: new file.
18923 * gdb.c++/derivation.cc: new file.
18924 * gdb.c++/overload.cc: new file.
18925 * gdb.c++/ovldbreak.cc: new file.
18926 * gdb.hp/attach.c: new file.
18927 * gdb.hp/attach2.c: new file.
18928 * gdb.hp/average.c: new file.
18929 * gdb.hp/compiler.c: new file.
18930 * gdb.hp/compiler.cc: new file.
18931 * gdb.hp/execd-program.c: new file.
18932 * gdb.hp/follow-exec.c: new file.
18933 * gdb.hp/follow-fork.c: new file.
18934 * gdb.hp/follow-vfork-and-exec.c: new file.
18935 * gdb.hp/misc-hp.cc: new file.
18936 * gdb.hp/more-steps.c: new file.
18937 * gdb.hp/optimize.c: new file.
18938 * gdb.hp/quicksort.c: new file.
18939 * gdb.hp/run-hp.c: new file.
18940 * gdb.hp/start-stop.c: new file.
18941 * gdb.hp/sum.c: new file.
18942 * gdb.hp/templates-hp.cc: new file.
18943 * gdb.hp/thread-local-in-lib.c: new file.
18944 * gdb.hp/thread-local-in-lib.h: new file.
18945 * gdb.hp/thread-local-in-lib.lib.c: new file.
18946 * gdb.hp/vforked-program.c: new file.
18947 * gdb.hp/virtfunc-hp.cc: new file.
18948 * gdb.hp/watchpoint-hp.c: new file.
18949 * gdb.hp/xdb.c: new file.
18950 * gdb.hp/xdb0.c: new file.
18951 * gdb.hp/xdb0.h: new file.
18952 * gdb.hp/xdb1.c: new file.
18953
18954Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18955
18956 The following change was made by Edith Epstein
889bf7c5
PA
18957 <eepstein@cygnus.com> as part of a project to merge in changes
18958 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
18959
18960 * gdb.c++/demangle.exp: changed the expected output for some
18961 ARM-style mangling -- removed second reference to datatype.
889bf7c5 18962 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 18963 T1<char>::~T1<char>(void)
c906108c 18964 becomes,
a9c64011
AS
18965 maint demangle __dt__11T1__pt__2_cFv
18966 T1<char>::~T1(void)
c906108c 18967
889bf7c5 18968 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 18969
c906108c
SS
18970Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18971
18972 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18973 * gdb.trace/backtrace.exp: Likewise.
18974 * gdb.trace/circ.exp: Likewise.
18975 * gdb.trace/collection.exp: Likewise.
18976 * gdb.trace/deltrace.exp: Likewise.
18977 * gdb.trace/infotrace.exp: Likewise.
18978 * gdb.trace/limits.exp: Likewise.
18979 * gdb.trace/packetlen.exp: Likewise.
18980 * gdb.trace/passc-dyn.exp: Likewise.
18981 * gdb.trace/passcount.exp: Likewise.
18982 * gdb.trace/report.exp: Likewise.
18983 * gdb.trace/save-trace.exp: Likewise.
18984 * gdb.trace/tfind.exp: Likewise.
18985 * gdb.trace/tracecmd.exp: Likewise.
18986 * gdb.trace/while-dyn.exp: Likewise.
18987 * gdb.trace/while-stepping.exp: Likewise.
18988
189891998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18990
18991 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18992
18993Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18994
18995 From Brendan Kehoe:
18996 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18997 int return types.
18998
18999Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19000
19001 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 19002 remote dos host testing right.
c906108c
SS
19003
19004Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19005
19006 * gdb.base/corefile.exp: remove some xfails.
19007
19008Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19009
19010 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 19011 have different timestamps.
c906108c
SS
19012
19013Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19014
19015 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 19016 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
19017
19018Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19019
19020 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 19021 delta.
c906108c
SS
19022
19023Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19024
19025 * gdb.base/default.exp: Add brace missing from previous delta.
19026
19027Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19028
19029 * gdb.base/default.exp: Support test for info float for all
19030 varieties of arm toolchain.
19031
dc96c6c7 19032Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19033
19034 * gdb.trace/*.exp: remove "remote_download" command.
19035
dc96c6c7 19036Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19037
19038 * gdb.trace/*.exp: remove -gdwarf from compile.
19039
19040Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19041
19042 * gdb.trace/configure.in(AC_INIT): typo
19043 * gdb.trace/configure: regenerated
19044
dc96c6c7 19045Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19046
19047 * config/m68k-emc.exp: New file.
19048 * lib/<emc-support.exp trace-support.exp}: New files.
19049 * configure.in: add new test directory gdb.trace.
19050 * gdb.trace/{configure configure.in Makefile.in}: New files.
19051 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19052 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19053 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19054 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19055 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19056 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19057 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19058
dc96c6c7 19059Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19060
19061 * gdb.c++/classes.exp: Change all regular expressions to match
19062 arbitrary combinations of newline/carriage-return, so that they
19063 will work equally well on Unix and Windows.
19064 * gdb.c++/inherit.exp: ditto.
19065 * gdb.c++/virtfunc.exp: ditto.
19066
190671998-08-11 Dawn Perchik <dawn@cygnus.com>
19068
19069 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19070
c2d11a7d
JM
19071Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19072
19073 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19074 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19075 to use a0-a3/d0-d3 as needed.
19076
19077Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19078
19079 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19080 * gdb.disasm/am33.exp: Corresponding changes.
19081
c906108c
SS
190821998-07-11 Felix Lee <flee@cygnus.com>
19083
19084 * gdb.base/callfuncs.exp: add cmp10 test.
19085 * gdb.base/callfuncs.c (cmp10): new function.
19086
19087Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19088
d63a86f8 19089 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
19090 into two parts to get around a synchronization problem in expect.
19091
3fc11d3e
JM
19092Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19093
19094 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19095
19096 * configure.in: Add options for gdbtk testsuite.
19097
19098 * configure: Regenerate.
19099
19100 * gdb.gdbtk: New directory to hold gdbtk tests.
19101
c906108c
SS
19102Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19103
19104 * gdb.fortran/types.exp: Escape brackets in expect patterns
19105 for test_float_literal_types_accepted tests.
19106 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19107 before run test.
19108
c2d11a7d
JM
19109Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19110
19111 * am33.exp: Just compile, do not link the testcase.
19112 * am33.s: Add ".am33" pseudoop to force am33 mode.
19113
c906108c
SS
191141998-06-25 Felix Lee <flee@cygnus.com>
19115
19116 * gdb.base/setshow.exp: make sure $pc is sane.
19117
19118 * gdb.stabs/weird.exp: split expect patterns properly.
19119
c2d11a7d
JM
19120Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19121
19122 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19123 * gdb.disasm/am33.exp: Run it.
19124
dc96c6c7 19125Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19126
19127 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19128 match processing (and eliminate spurious timeouts when running).
19129
dc96c6c7 19130Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19131
19132 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19133 exception test, but conditionalize it on target [mach | gnu].
19134
dc96c6c7 19135Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19136
19137 * gdb.base/overlays.exp: fixup compile line for linker script.
19138
19139Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19140
19141 * gdb.fortran/types.exp: don't guess at float size.
19142
19143Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19144
19145 * gdb.base/exprs.exp: delete test that depends on int size.
19146
19147Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19148
19149 * config/sim.exp: Removed checks for target triplets.
19150 (gdb_target_sim): Use gdb,target_sim_options.
19151
19152Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19153
19154 * gdb.base/reread.exp: New file.
19155 * gdb.base/reread1.c: New file.
19156 * gdb.base/reread2.c: New file.
19157
19158Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19159
19160 * config/sim.exp: Use 'target sim -sparclite' when running
19161 SPARClite programs.
19162
19163Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19164
19165 * gdb.base/structs2.exp: New file.
19166 * gdb.base/structs2.c: New file.
19167
19168Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19169
19170 * gdb.asm/common.inc: New file.
19171 * gdb.asm/d10v.inc: New file.
19172 * asm-source.exp: Pass -I's to gas to find .inc files.
19173 Update line numbers in expected output.
19174 * asmsrc1.s: Rewrite.
19175 * asmsrc2.s: Rewrite.
19176 * configure.in: Create arch.inc symlink.
19177 * configure: Regenerate.
19178 * Makefile.in (distclean): Delete arch.inc.
19179
19180Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19181
19182 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
19183 (t_enum_value2): ditto
19184 (t_enum_value3): ditto
19185 (main): ditto
c906108c
SS
19186Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19187
19188 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19189 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19190 change.
19191 Use gdb_test instead of send_gdb/gdb_expect sequences.
19192
19193Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19194
19195 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19196 not void.
19197
19198Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19199
19200 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
19201 subroutines. Used to test gdbs ability to single step through PC
19202 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
19203
19204Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19205
19206 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19207 more rigorous EGCS C++ error checking.
19208
19209Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19210
a9c64011
AS
19211 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19212 tests.
19213 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19214 function when asleep.
19215 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19216 for i*86 Linux and SVR4 signal handling problems.
19217 Remove linux xfail for `next to handler in signals_tests_1', fixed
19218 by recent infrun.c change.
19219 Limit backtrace to 10 frames to avoid timeout problems with infinite
19220 stack backtraces.
19221 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19222 target.[ch] change.
c906108c
SS
19223
19224Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19225
19226 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19227 for a newline from gdb before continuing.
19228 (default_gdb_exit): Just look for y or n.
19229 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19230 it does, fail the rests of the tests in the file.
19231
19232Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19233
19234 * config/cygmon.exp: New file.
19235
19236Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19237
19238 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 19239 main" test on remote targets.
c906108c
SS
19240
19241 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19242 run test on remote targets.
19243
19244Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19245
19246 * gdb.asm: New directory.
19247 * configure.in: Configure it.
19248 * configure: Regenerate.
19249 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19250 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19251
19252Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19253
19254 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19255
dc96c6c7 19256Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19257
a9c64011
AS
19258 * gdb.base/overlays (several files): Merge the two overlay
19259 managers into one. Change variables (foox, barx, bazx, grbxx)
19260 back into ints but force them to load in their proper sections.
c906108c
SS
19261
19262Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19263
19264 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 19265 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
19266 (D10VCopy): Handle memory regions crossing 16k boundaries.
19267 (D10VCopy): Transfer data in 32 bit chunks.
19268
19269Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19270
19271 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 19272 correct.
c906108c
SS
19273
19274 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 19275 map. Include space for printf in .text segment.
c906108c
SS
19276
19277 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 19278 updated d10v memory VMA/LMA map.
c906108c 19279 (D10VCopy): Call D10VTranslate.
d63a86f8 19280
c906108c
SS
19281Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19282
19283 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19284
19285 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
19286 that it won't be put into the .sdata - small data -
19287 section. Update reference.
c906108c
SS
19288 * gdb.base/baz.c (bazx, baz): Ditto.
19289 * gdb.base/foo.c (foox, foo): Ditto.
19290 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19291
19292 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 19293 to be arrays.
d63a86f8 19294
dc96c6c7 19295Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19296
a9c64011
AS
19297 * gdb.base/overlays.exp: fix up and get working again.
19298 Add tests for backtraces from an overlay function.
d63a86f8 19299
c906108c
SS
19300Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19301
19302 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19303 "calling function with watchpoint enabled".
19304
19305Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19306
19307 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 19308 gdb_suppress_tests for d10v-*-*.
c906108c
SS
19309 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19310 pending review of whether it is useful or not.
19311
19312Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19313
19314 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19315
19316Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19317
19318 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19319 * config/dve.exp: New file to support Densan boards.
19320
19321Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19322
19323 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 19324 reads and BSD.
c906108c
SS
19325
19326Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19327
19328 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19329 response.
19330
19331 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19332
19333Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19334
19335 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 19336 test.
c906108c
SS
19337
19338 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 19339 target_sizeof_long and target_bigendian_p.
c906108c 19340 (structs_by_value, structs_by_reference): Check values according
889bf7c5 19341 to targets word size and endianess.
d63a86f8 19342
c906108c
SS
19343Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19344
19345 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 19346 output.
c906108c
SS
19347
19348Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19349
19350 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 19351 Update test of set args help to match source change.
c906108c
SS
19352
19353Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19354
19355 * gdb.base/default.exp: Expect help system output to be in
19356 alphabetical order.
19357 * gdb.base/help.exp: Ditto.
19358
19359Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19360
19361 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19362 "i*86-pc-linux-gnu*".
19363 * gdb.base/interrupt.exp: Ditto.
19364 * gdb.base/corefile.exp: Ditto.
19365
19366 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 19367 define vxworks when building the testcase.
c906108c
SS
19368
19369 * gdb.base/ptype.exp: Fix testnames to be unique.
19370 * gdb.base/radix.exp: Ditto.
19371 * gdb.base/term.exp: Ditto.
19372 * gdb.base/whatis.exp: Ditto.
19373 * gdb.c++/classes.exp: Ditto.
19374
19375Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19376
19377 * gdb.base/callfuncs.exp: Fix indentation.
19378
19379 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19380 suppress_flag has been set.
19381 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19382 target feature.
19383
19384Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19385
19386 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19387 the testcase.
19388
19389 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 19390 set_debug_traps() and breakpoint().
c906108c
SS
19391 * gdb.c++/misc.cc (main): Ditto.
19392 * gdb.c++/templates.cc (main): Ditto.
19393 * gdb.c++/virtfunc.cc (main): Ditto.
19394
19395Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19396
19397 * lib/gdb.exp(gdb_step_for_stub): New function.
19398 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19399 exists, reload the executable and do a "continue" instead of
19400 doing a jump.
19401 (runto_main): Use gdb_step_for_stub.
d63a86f8 19402
c906108c 19403 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 19404 tests to have unique names.
c906108c
SS
19405 * gdb.base/callfuncs.exp: Ditto.
19406 * gdb.base/commands.exp: Ditto.
19407 * gdb.base/default.exp: Ditto.
19408 * gdb.base/help.exp: Ditto.
19409 * gdb.base/list.exp: Ditto.
19410 * gdb.base/opaque.exp: Ditto.
19411 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19412 similar tests.
d63a86f8 19413
c906108c
SS
19414 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19415 * gdb.c++/cplusfuncs.cc: Ditto.
19416 * gdb.c++/virtfunc.cc: Ditto.
19417
19418 * config/monitor.exp: Keep track of the last file we saw, rather
19419 than trying to get the info from gdb.
19420
19421 * gdb.fortran/types.exp: Move comment to previous line.
19422
19423Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19424
19425 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 19426 target mode.
c906108c
SS
19427
19428Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19429
19430 From Bob Manson:
19431 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 19432 string from GDB when it connects.
c906108c
SS
19433
19434 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19435
19436Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19437
19438 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
19439 if we can't get a debug format from GDB (we may be testing an
19440 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
19441
19442 * gdb.stabs/weird.exp: Fix quoting.
19443
19444 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19445
19446Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19447
19448 * config/arm-ice.exp: New file.
19449
19450Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19451
19452 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 19453 until it has been modified to work with the new testsuite.
c906108c 19454
99707966 19455 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
19456 testcase won't compile, cause all of the testcases in the file to
19457 fail instead.
c906108c
SS
19458
19459 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19460 (gdb_clear_suppressed): New procedure.
19461 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19462 it contains a positive value.
19463
19464Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19465
19466 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19467
19468 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19469
19470Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19471
19472 * lib/gdb.exp (setup_xfail_format): New function.
19473 (get_debug_format): New function to get debug format.
19474 (debug_format): New global variable to hold last value set
19475 by get_debug_format.
19476 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 19477 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
19478 * gdb.c++/ptype.exp: Ditto.
19479 * gdb.c++/classes.exp: Ditto.
19480 * gdb.c++/cplusfuncs.exp: Ditto.
19481 * gdb.c++/inherit.exp: Ditto.
19482 * gdb.c++/templates.exp: Ditto.
19483 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 19484
c906108c
SS
19485Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19486
19487 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19488 host doesn't have a currently-open connection.
19489
19490 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
19491 any gdb stub target. Handle cases where gdb doesn't respond when
19492 interrupted in a sane fashion.
c906108c
SS
19493
19494 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 19495 same thing in a totally different way.
c906108c
SS
19496
19497 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 19498 setting "timeout".
c906108c 19499 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 19500 default_gdb_init now.
c906108c
SS
19501
19502Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19503
19504 * gdb.base/printcmds.exp: Fix "check for floating addition"
19505 regexp to accept results within approx +/- .01 of exact value.
19506 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19507
19508Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19509
19510 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 19511 properly.
c906108c
SS
19512 (gdb_expect): Add optional timeout parameter, and add timeout
19513 value to various calls.
19514 (gdb_suppress_tests): Only give one warning message per group.
19515
19516Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19517
19518 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
19519 global variables. Handle getting a value for $timeout more
19520 gracefully.
c906108c
SS
19521
19522Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19523
19524 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 19525 initialize.
c906108c 19526 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 19527 by a target configuration file.
c906108c
SS
19528 (gdb_expect): Pass the timeout to remote_expect.
19529
19530 * config/monitor.exp(gdb_load): Fix typo in regexp.
19531
19532Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19533
19534 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19535
19536Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19537
19538 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
19539 here. Call gdb_target_exec before rebooting the target, to make
19540 sure the connection to the target is closed.
c906108c
SS
19541 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19542 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19543 Also detect "Timeout reading from remote" error.
19544
19545 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
19546 gdb_target_monitor. Don't call gdb_file_cmd here; let
19547 gdb_target_monitor do it.
c906108c
SS
19548
19549 * gdb.disasm/hppa.exp: Don't use exec_output.
19550
19551Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19552
19553 * gdb.base/list.exp: If we're debugging a non-native target,
19554 try to set the pc register to point to the start of the
19555 program before doing the first list command.
19556
19557 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 19558 test_calls after restarting.
c906108c
SS
19559
19560 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 19561 reloading.
c906108c
SS
19562
19563 * gdb.base/watchpoint.exp: Fix typo.
19564
19565 * gdb.base/setshow.exp: Check for use_gdb_stub.
19566
19567 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 19568 stub case.
c906108c
SS
19569 * gdb.base/langs.exp: Ditto.
19570
19571 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
19572 gdb_load_offset. If we weren't given a file to load, figure out
19573 what the current file is and use it.
c906108c
SS
19574
19575 * config/i386-bozo.exp: New file.
19576
19577Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19578
19579 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19580 feature.
19581
19582 * config/proelf.exp: New entry.
19583
19584Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19585
19586 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19587 of regexps.
19588
19589 * gdb.base/watchpoint.exp: Don't run the test_stepping
19590 tests if gdb can't call functions on the target.
19591
19592 * gdb.base/setshow.exp: Don't run the set prompt tests if
19593 the board has gdb_prompt set.
19594
19595Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19596
19597 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19598 * gdb.base/commands.exp: Likewise.
19599 * gdb.base/setshow.exp: Likewise.
19600
19601Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19602
19603 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19604 feature.
19605
19606 * config/i960.exp: New file.
19607
19608Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19609
19610 * gdb.base/funcargs.exp: Check for gdb,short_int target
19611 feature instead of looking for explicit target triplets.
19612
dc96c6c7 19613Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 19614
d63a86f8 19615 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
19616 "p 123DEADBEEF", to check parse_number.
19617 * top.c: change "to enable to enable" to "to enable" in a couple
19618 of help strings.
19619
19620Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19621
19622 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19623 on the mn10300.
d63a86f8 19624
c906108c
SS
19625Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19626
19627 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19628 where the test executable is run with explicit args.
19629 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19630
19631Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19632
19633 * gdb.base/run.c: Use FAKEARGV to build test executable that
19634 does not require a command line arg, since most simulators
19635 don't currently support passing such an arg into the simulated
19636 program.
19637 * gdb.base/commands.exp: Change tests to insert the proper
19638 value as the arg to the first recursive factorial call. Change
19639 compilation line to define FAKEARGV at compile time.
19640
19641Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19642
19643 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19644 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19645 function with watchpoint enabled" test.
19646
19647Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19648
19649 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 19650 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
19651
19652 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 19653 "Tests restarted" messages.
c906108c
SS
19654
19655Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19656
19657 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19658
dc96c6c7 19659Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19660
19661 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19662 for INFO SYMBOL; add help tests for OVERLAY commands.
19663 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19664 add tests for OVERLAY commands
19665 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19666 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19667 * gdb.base/sigall.c: add usestubs code frag
19668 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 19669
c906108c
SS
19670Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19671
19672 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19673 failures.
19674 (gdb_stop_suppressing_tests): Note that tests have restarted.
19675
19676Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19677
19678 * config/h8300.exp: New file.
19679
19680Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19681
19682 * gdb.base/setshow.exp: Check for the existence of a
19683 feature, not its value.
19684
19685Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19686
19687 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19688
19689 * gdb.base/scope.exp: It's now init0(), not init().
19690
19691 * gdb.base/scope0.c: For now, change init() to be init0().
19692
19693 * config/monitor.exp: Use gdb_serial in preference to serial
19694 or netport.
19695
19696 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 19697 and it's not already set.
c906108c
SS
19698
19699Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19700
19701 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 19702 isn't using a stub and if it supports argument passing.
c906108c
SS
19703
19704Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19705
19706 * config/udi.exp(gdb_start): Make sure UDICONF is set
19707 properly before starting gdb.
19708
19709Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19710
19711 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19712 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19713 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19714
19715Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19716
19717 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 19718 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
19719
19720 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19721
19722 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19723
19724 * config/monitor.exp: Make sure we disconnect from the target.
19725 Also, try a reboot/reload cycle instead of failing if the
19726 load fails.
19727
19728Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19729
19730 * gdb.base/default.exp: Don't set match_max.
19731 * gdb.base/help.exp: Ditto.
19732 * gdb.base/list.exp: Ditto.
19733 * gdb.base/signals.exp: Ditto.
19734
19735 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19736 set, use remote_ld to download the testcase instead of
19737 the GDB loader.
19738
19739Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19740
19741 * config/vr5000.exp: New file.
19742
19743 * config/monitor.exp(gdb_target_monitor): Add pattern for
19744 "Ending remote" to detect errors in connecting.
19745
19746 * gdb.base/setshow.exp: Add .* within auto language test.
19747
19748 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19749 target feature.
19750
19751 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 19752 and reboot the board if necessary.
c906108c
SS
19753
19754 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19755 a set of tests. Remove print.* from the patterns being checked.
19756
19757Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19758
19759 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19760 refer to gdb_spawn_id.
19761
19762 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19763 longer used.
19764 * config/sparclet.exp: Ditto.
19765 * config/sparclet-old.exp: Ditto.
19766 * config/slite.exp: Ditto.
19767 * config/sim.exp: Ditto.
19768 * gdb.base/funcargs.exp: Ditto.
19769
19770 * lib/gdb.exp:Remove references to gdb_spawn_id.
19771 (gdb_expect): Move to remote.exp.
19772
19773Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19774
19775 * config/monitor.exp: Detect the "Couldn't establish connection"
19776 message from GDB.
19777
19778Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19779
19780 * gdb.base/bitfields.exp: Use runto instead of explicit
19781 gdb_run_cmd/gdb_expect sequences.
19782
19783 * gdb.base/break.exp(text_next_with_recursion): Add match for
19784 gdb_expect call.
19785
19786 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19787 We also need to handle the "A program is being debugged already"
19788 prompt from gdb. Use gdb_test to set the baud rate.
19789
19790 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19791 to 20000. Really. I mean it.
19792
19793Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19794
19795 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
19796 fails. If suppress_flag is set, skip perror message about not
19797 being able to send to GDB.
c906108c 19798 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 19799 GDB.
c906108c
SS
19800 (gdb_expect): If suppress_flag is set, always fail immediately.
19801 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19802 (gdb_init): Call gdb_stop_suppressing_tests.
19803 (default_gdb_exit): Ditto.
19804 (default_gdb_start): Ditto.
19805
19806 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 19807 gdb_stop_suppressing_tests as appropriate.
c906108c 19808 * gdb.base/break.exp: Ditto.
889bf7c5 19809 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
19810 * gdb.base/commands.exp: Ditto.
19811 * gdb.base/exprs.exp: Ditto.
889bf7c5 19812 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
19813 * gdb.base/list.exp: Ditto.
19814 * gdb.base/recurse.exp: Ditto.
889bf7c5 19815 * gdb.base/scope.exp: Ditto.
c906108c
SS
19816 * gdb.base/structs.exp: Ditto.
19817 * gdb.c++/inherit.exp: Ditto.
19818
19819Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19820
19821 * config/vr4300.exp: New file.
19822
99707966 19823 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 19824
99707966 19825 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
19826
19827Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19828
19829 * lib/gdb.exp(gdb_init): New function.
19830
19831 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 19832 for each individual variable set.
c906108c
SS
19833
19834 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19835 name.
19836
19837 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19838
19839 * gdb.base/scope.exp: Use gdb_test.
19840
19841 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19842 aborting; the testsuite driver will do that for us (see
19843 gdb_finish). Also, use gdb_test in a few more places.
19844
19845Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19846
19847 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19848
19849Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19850
19851 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19852 and "add_tests" are not at the same address.
19853
19854Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19855
19856 * gdb.base/ptype.exp: Use gdb_test.
19857
19858Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19859
19860 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19861 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19862 left in. No longer expect them to fail.
19863
19864 * gdb.stabs/*.mt; Deleted, no longer used.
19865 * gdb.stabs/configure.in: Remove references to target makefile
19866 frags.
19867 * gdb.stabs/configure: Rebuilt.
19868
19869 * gdb.disasm/*.mt: Deleted, no longer used.
19870 * gdb.disasm/configure.in: Remove references to target makefile
19871 frags. Use "sh3.s" as the unique filename for this directory.
19872 * gdb.disasm/configure: Rebuilt.
19873
19874 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19875 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19876 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19877
19878Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19879
19880 * config/udi.exp: Use mondfe,name instead of remote_host.
19881
19882Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19883
19884 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19885 a function with a watchpoint enabled on the mn10200.
19886
19887 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19888 before trying to create it!
19889
19890Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19891
19892 * config/vx.exp: Use hostname instead of netport.
19893
19894 * config/vxworks.exp: New file.
19895
19896 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19897
19898 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 19899 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
19900 occurs.
19901
19902 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19903 $gdb_spawn_id directly.
19904 (gdb_run_cmd): Try _start as well as start. Use the target feature
19905 gdb,start_symbol as the symbol to start from when jumping.
19906
19907Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19908
19909 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19910 redundant) test.
19911
19912 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19913 it doesn't lose for 16bit integer systems.
19914
19915Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19916
19917 * gdb.fortran/types.exp: If the target doesn't support "double"
19918 data types, then expect "real" types to only be 4 bytes.
19919
19920 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19921 call tests if the target doesn't support inferior function calls.
19922
19923 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19924 in printf tests.
19925
19926Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19927
19928 * gdb.base/help.exp: Disable "help set", "help show", and
19929 "help support". Simplify regexp for "help stack".
19930
19931 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19932 to 60 seconds. Temporarily set match_max to 15000 around the
19933 "info copying" test.
19934
19935 * gdb.base/nodebug.exp: Don't try to do an inferior function
19936 call if the target doesn't support them.
19937 * gdb.base/printcmds.exp: Likewise.
19938 * gdb.base/setvar.exp: Likewise.
19939 * gdb.base/structs.exp: Likewise.
19940 * gdb.c++/templates.exp: Likewise.
19941 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19942
19943 * gdb.base/recurse.exp: Enable for the mn10200.
19944
19945 * configure.in: Do configure gdb.stabs directory for *-*-elf
19946 targets.
19947 * configure: Rebuilt.
19948
19949 * gdb.base/break.exp: Check for gdb,noresults before testing
19950 exit status and/or results from the target.
19951 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19952 * lib/gdb.exp: Remove old (now bogus) initialization of
19953 noinferior, noargs, noresults and nosignals.
19954
19955Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19956
19957 * config/sh.exp: New file.
19958
19959 * config/slite.exp: Try to connect multiple times to the board
19960 before rebooting. Only send a "monitor run" if need_monitor_run
19961 is set.
19962
19963 * gdb.base/break.exp: Don't do the "stub continue" test if
19964 the target has gdb_stub set.
19965
19966 * gdb.base/callfuncs.exp: Increase the timeout.
19967
19968 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19969 if the target has gdb,noinferiorio set.
19970
19971 * gdb.base/list.exp: Increase match_max to 10000 characters.
19972
19973 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19974
19975 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19976 target.
19977
19978 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19979
19980Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19981
19982 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
19983 trying to delete the copy of gdb. Catch the file delete so we
19984 don't die if the delete fails; also, the file should be copied to
19985 the host, not to the build.
c906108c
SS
19986
19987Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19988
19989 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 19990 parenthesis in case it contains multiple regexps separated
c906108c
SS
19991 with |.
19992
19993 * gdb.base/watchpoint.exp: Use gdb_test.
19994 * gdb.base/default.exp: Ditto.
19995
19996Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19997
99707966 19998 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 19999
c906108c
SS
20000 * gdb.base/scope.exp: Use gdb_test.
20001 * gdb.c++/classes.exp: Ditto.
20002 * gdb.c++/inherit.exp: Ditto.
20003
20004Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20005
20006 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20007 remote_exec instead.
20008 * gdb.base/corefile.exp: Don't be ridiculous.
20009 * gdb.base/*.c: Add missing stub invocations.
20010
20011Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20012
20013 * config/slite.exp: Miscellaneous fixes.
20014
20015 * lib/gdb.exp: Fix runto.
20016
20017 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20018 the target.
20019
20020 * gdb.base/watchpoint.exp: Fix regexp.
20021
20022 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20023 close and wait commands, as the descriptor may now be
20024 invalid. Always call "remote_close host".
20025
20026Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20027
20028 Major rewrite for testsuite revision.
d63a86f8 20029
c906108c
SS
20030 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20031 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20032 instead of relying on spawn_id to always contain a valid
20033 spawn id.
20034 (get_compiler_info): New procedure to build the ${binfile}.ci
20035 file, instead of replicating this in N different places.
20036 (gdb_compile): New procedure.
d63a86f8 20037
c906108c 20038 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20039 appropriate arguments) instead of compile. Use gdb_test in a lot
20040 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20041 at the start of a testcase, as this is no longer done magically.
20042
20043 config/*-gdb.exp: Rename without the -gdb suffix.
20044
20045 config/mips.exp: Use remote_close instead of exit_remote_shell.
20046 config/monitor.exp: Use target_info instead of looking at
20047 baud, timeout, etc.
20048 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20049
20050Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20051
20052 * gdb.c++/templates.exp (test_ptype_of_templates),
20053 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20054 Update expect patterns for destructors and assignment operators
20055 to match corresponding c-typeprint.c changes.
20056 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20057 to destructor breakpoint test, GDB should be able to set the
20058 destructor breakpoint without specifying arguments.
20059
20060Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20061
20062 * gdb.threads/pthreads.exp: Change result for failure to compile due
20063 to lack of pthreads runtime support from an error to simply an
20064 unsupported test, per dejagnu standards.
20065
20066Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20067
20068 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20069 where GDB exits to reduce pattern match time.
20070 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20071
20072 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20073
dc96c6c7 20074Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20075
20076 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20077 * gdb.base/default.exp: ditto.
20078 * gdb.base/nodebug.exp: ditto.
20079 * gdb.base/printcmds.exp: ditto.
20080 * gdb.base/ptype.exp: ditto.
20081 * gdb.base/setvar.exp: ditto.
20082 * gdb.base/structs.exp: ditto.
20083 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20084
20085Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20086
20087 * configure, */configure: Rebuild with autoconf 2.12.
20088
20089Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20090
20091 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20092 use new i*86-pc-linux*-gnu quads.
20093 * gdb.base/corefile.exp: Ditto.
20094 * gdb.base/signals.exp: Ditto.
20095 * gdb.base/sigall.exp: Ditto.
20096 * gdb.base/interrupt.exp: Ditto.
20097
20098 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20099 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20100 RedHat 4.0.
d63a86f8 20101
c906108c 20102 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
20103 linux. This allows the test case to at least compile on latest
20104 linux, but still not run due to missing the threads runtime library.
c906108c
SS
20105
20106Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20107
20108 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20109 directory to search gdb directory. Accept and step over conditional
20110 stack alignment code. Consume $prompt in failure cases.
20111 Reset timeout to $oldtimeout instead of some arbitrary value.
20112 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20113 timeout problems with infinite stack backtraces.
20114 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20115 Accept function parameters for linkfunc member.
20116
20117Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20118
20119 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20120 (CXXFLAGS): Remove, unreferenced.
20121 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
20122 previous -B options and also add -B option to pick up cross compiled
20123 runtime.
c906108c
SS
20124 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20125 doing cross compiles.
20126 (target_alias): Declare global.
20127 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20128 to verify that gcc exists in build tree, and if so set CC to that
20129 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 20130
c906108c
SS
20131Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20132
20133 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20134 ptype test for anonymous union. Fixup testcase to match
20135 current gcc debug output.
20136
20137Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20138
20139 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20140 force argument to an unsigned long type.
20141
20142Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20143
20144 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 20145 tests and anonymous union print/ptype tests.
c906108c
SS
20146 * gdb.base/list.exp (test_forward-search): Increase timeout by
20147 5 minutes for the "search extremely long line" case.
20148 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20149 completely optional and that the pass/fail messages use the command as
20150 the message if that third arg is a null string.
20151 (gdb_test_exact): Arrange that a null string pattern means match a
20152 null string output rather than any output, which might include random
889bf7c5 20153 errors.
c906108c
SS
20154 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20155 backtrace test.
20156 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20157 always failing and failure is now exposed by gdb.exp changes.
20158
20159Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20160
20161 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20162 weren't being noted.
20163
20164Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20165
20166 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20167 * gdb.stabs/weird.exp: Remove v_comb xfails.
20168
dc96c6c7 20169Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20170
20171 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 20172 list.exp scope.exp watchpoint.exp]
c906108c 20173 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 20174
dc96c6c7 20175Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20176
20177 * config/monitor.exp: Increase download timeout to 1000 seconds.
20178
dc96c6c7 20179Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20180
20181 * config/m32r.exp: Increase timeout to 120 seconds.
20182
20183Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20184
20185 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20186 and accept older ordering as obsolescent gcc or gdb.
20187 * gdb.c++/templates.exp: Ditto.
20188 * gdb.c++/virtfunc.exp: Ditto.
20189
20190Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20191
20192 * gdb.base/coremaker.c: Add code to mmap some data so we
20193 can check that it ends up in the core file.
20194 * gdb.base/corefile.exp: Add test to read mmapped data
20195 from core file.
20196
dc96c6c7 20197Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20198
20199 * config/m32r.exp: New file.
20200
20201Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20202
20203 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20204 that cflags can contains -gstabs, and work correctly for other tests.
20205
dc96c6c7 20206Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20207
20208 * gdb.base/setshow.exp: New file, tests show and set.
20209 * gdb.base/setshow.c: New file, tests show and set.
20210 * gdb.base/help.exp: Add test for help set|show annotate.
20211 * gdb.base/default.exp: Add test for set|show annotate.
20212
20213Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20214
20215 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20216 errors unique.
20217 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20218 explicitly.
20219
20220Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20221
20222 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20223 and width commands. This is done elsewhere.
20224 * (gdb_start): Don't call gdb_start_sim here. That's already
20225 done in gdb_load. This fixes lots of failures in default.exp.
20226
20227Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20228
20229 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20230 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20231 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20232 in the same we we treat other failures (since it may be an expected
889bf7c5 20233 condition), rather than as an error.
c906108c
SS
20234 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20235 old test format.
20236
20237Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20238
20239 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20240 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 20241 twice. Nuke the duplicates.
c906108c 20242 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 20243 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
20244 Remove config.h along with other config files.
20245
20246Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20247
20248 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20249 "p func1 ()" and note that rests of tests are skipped.
20250 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20251 setup_xfails for "print func2::coremaker_local".
c906108c
SS
20252 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20253 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20254 affected by the previous run test.
20255 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20256 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20257 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20258 "pass int powerset tuple" and "pass modeless int powerset tuple".
20259 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20260 "real write 4" and "real write 8".
20261 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20262 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
20263 "print \$i after tuple assign 2", and
20264 "print vs2 after tuple assign 2".
20265 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20266 meaningful error message and return -1 so the caller can
20267 suppress further tests and avoid a cascade of errors.
d63a86f8 20268
c906108c
SS
20269Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20270
20271 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20272 format for printing version.
20273 * gdb.base/default.exp: Ditto.
20274 * gdb.base/interrupt.exp: Fix problem with cascade of
20275 errors if child process dies while calling a function.
d63a86f8 20276
c906108c
SS
20277Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20278
20279 * Makefile.in (VPATH): Add
20280 * Makefile.in (Makefile, config.status): Fix rules so things get
20281 remade when necessary.
20282
20283Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20284
20285 * Makefile.in (just-check): Add path to sibling expect dir
20286 to environment variable specified by RPATH_ENVVAR.
20287
20288Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20289
20290 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20291 (just-check): Add shared library paths for libstdc++, tk,
20292 tcl, bfd, and opcodes to the environment variable specified
20293 in RPATH_ENVVAR.
20294 * configure.in: Add support to recognize --enable-shared flag
20295 and generate correct value for RPATH_ENVVAR.
20296 * configure: Regenerated with autoconf.
20297
20298Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20299
20300 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 20301 include all osf versions.
c906108c
SS
20302 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20303 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20304 when target is linux. When failing to build pthreads test
20305 executable, give more meaningful message.
20306 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20307 arg for pthread_create.
d63a86f8 20308
c906108c
SS
20309Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20310
20311 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 20312 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 20313 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 20314 and -lpthreads (everybody else).
c906108c
SS
20315 (test_startup): Fail gracefully if threads are not supported.
20316 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20317 "p/c array_index("abcdef",2)" when not gcc compiled.
20318 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20319 "print func2::coremaker_local" when not gcc compiled.
20320 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20321 "ptype on opaque struct tagname (statically)",
20322 "ptype on opaque struct tagname (dynamically) 1", and
20323 "ptype on opaque struct tagname (dynamically) 2"
20324 for not compiled with gcc.
20325 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20326 backtrace when compiled with gcc.
d63a86f8 20327 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
20328 than always return success.
20329
20330Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20331
20332 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20333
20334Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20335
20336 * gdb.base/structs.exp: Undo last change.
20337
20338Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20339
20340 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20341 encapsulate all the steps/nexts done during self test, starting
20342 at main, and makes them less sensitive to optimization issues.
20343 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20344 signal handler" test.
20345 * gdb.threads/pthreads.exp: Only run this for native configs.
20346 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20347 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20348 tests.
20349 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20350 for "runto test_calls(void)" test.
d63a86f8 20351
c906108c
SS
20352Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20353
20354 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20355 and don't expect address info in breakpoint confirmations.
20356
20357Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20358
20359 * gdb.base/list.exp (test_forward_search): Increase timeout
20360 temporarily by 60 seconds for searching extremely long line,
889bf7c5 20361 and then reset to old value when done. Increase expect input
c906108c
SS
20362 buffer to 10000.
20363
20364Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20365
20366 * gdb.base/list.exp (test_forward_search): Fix to handle very
20367 long source line without overflowing expect's input buffer.
20368
20369Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20370
20371 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20372 "buffer_full".
20373
20374 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20375 "buffer_full".
20376
20377 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20378 "buffer_full".
20379
20380 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20381 "buffer_full".
20382
20383Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20384
20385 * configure.in (configdirs): Add gdb.threads.
20386 * configure: Regenerated with autoconf.
20387 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20388 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20389 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 20390
c906108c
SS
20391Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20392
20393 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20394
20395Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20396
20397 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20398 each signal's status in the output of "handle all print".
20399 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20400 the \r\n sequence that immediately precedes the gdb prompt.
20401 * gdb.base/a1-selftest.exp: Save original timeout and restore
20402 after test.
20403
20404Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20405
20406 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20407 symbol.
20408
20409Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20410
20411 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20412
20413Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20414
20415 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20416 timeout by 60 seconds.
20417
20418Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20419
20420 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20421 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20422 error return.
20423
20424Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20425
20426 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20427 gdb initialization, also report how long dejagnu waited. Restore
20428 old timeout before doing error return. Temporarily increase timeout
889bf7c5 20429 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
20430
20431Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20432
20433 * lib/gdb.exp: Report timeout value for verbosity level 2.
20434 * config/gdbserver.exp: Ditto.
20435 * config/hppro.exp: Ditto.
20436 * config/mips-gdb.exp: Ditto.
20437 * config/monitor.exp: Ditto.
20438 * config/netware.exp: Ditto.
20439 * config/sim-gdb.exp: Ditto.
20440 * config/slite-gdb.exp: Ditto.
20441 * config/udi-gdb.exp: Ditto.
20442 * config/unix-gdb.exp: Ditto.
20443 * config/vx-gdb.exp: Ditto.
20444 * gdb.base/a1-selftest.exp: Ditto.
20445 * gdb.base/a2-run.exp: Ditto.
20446 * gdb.base/break.exp: Ditto.
20447 * gdb.base/corefile.exp: Ditto.
20448 * gdb.base/list.exp: Ditto.
20449 * gdb.base/recurse.exp: Ditto.
20450 * gdb.base/scope.exp: Ditto.
20451 * gdb.base/signals.exp: Ditto.
20452
20453Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20454
20455 * gdb.threads/Makefile.in (docdir): Removed.
20456
20457Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20458
20459 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 20460 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 20461 @srcdir@.
d63a86f8 20462 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
20463 autoconf 2.5 or higher.
20464 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20465
20466Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20467
20468 * configure: Regenerated.
20469 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20470 avoid name clashes with SunOS headers.
20471
20472Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20473
20474 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20475
20476Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20477
20478 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20479 prototype information ends up in the compiler info file.
20480
20481Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20482
20483 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20484 attempting to regenerate it. Eliminate use of a temporary file
20485 and just generate the info file directly. Source it immediately,
20486 for consistency of use.
20487 * gdb.base/corefile.exp: Ditto
20488 * gdb.base/exprs.exp: Ditto.
20489 * gdb.base/funcargs.exp: Ditto.
20490 * gdb.base/langs.exp: Ditto.
20491 * gdb.base/list.exp: Ditto.
20492 * gdb.base/mips_pro.exp: Ditto.
20493 * gdb.base/nodebug.exp: Ditto.
20494 * gdb.base/opaque.exp: Ditto.
20495 * gdb.base/ptype.exp: Ditto.
20496 * gdb.base/scope.exp: Ditto.
20497 * gdb.base/setvar.exp: Ditto.
20498 * gdb.base/signals.exp: Ditto.
20499 * gdb.base/whatis.exp: Ditto.
20500 * gdb.c++/templates.exp: Ditto.
20501 * gdb.c++/virtfunc.exp: Ditto.
20502 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 20503 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
20504
20505Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20506
20507 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20508 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20509 Increase timeout, a lot of single stepping might be needed if the
20510 target has no hardware watchpoints.
20511
20512Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20513
20514 * gdb.base/break.exp: Ignore compiler warnings when compiling
20515 break.c.
20516 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20517 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20518 from remote-sim.
20519 * gdb.base/exprs.exp: Add h8300 xfails.
20520 * gdb.base/funcargs.exp: Likewise.
20521 * gdb.base/nodebug.exp: Likewise.
20522 * gdb.base/printcmds.exp: Likewise.
20523 * gdb.base/ptype.exp: Likewise.
20524 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20525 h8300 xfails.
d63a86f8 20526 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
20527 on the h8300.
20528 * gdb.base/funcargs.c: Explicitly make last constant argument to
20529 call_after_alloca_subr an unsigned long type.
20530 * gdb.base/return.c: Include stdio.h.
20531
20532Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20533
20534 * config/abug.exp: New file for the older Motorola Bug monitor
20535 that runs on the mvme13x series VME boards.
20536 * config/monitor.exp: Use the new config array for target settings
20537 if they exist.
20538
20539Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20540
20541 * sim-gdb.exp: Make the SH simulator allocate less space when
20542 it is targeted.
20543
20544Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20545
20546 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20547 test.
20548
20549Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20550
20551 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20552 "rs6000-*-*" for "list function in include file" when gcc compiled.
20553 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20554 for "p ctable1[120]".
20555 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20556 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20557 Remove setup_xfail for "rs6000-*-*" for
20558 "print 'scope0.c'::filelocal before run".
20559 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20560 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20561 since some compilers don't allow both options to be given
20562 on the same command line. Create object file and move it.
d63a86f8 20563
c906108c
SS
20564Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20565
20566 * gdb.base/corefile.exp: Always regenerate the core file, since
20567 we always regenerate the coremaker program. Detect special case
20568 where registers cannot be read from core file.
d63a86f8 20569
c906108c
SS
20570Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20571
20572 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20573 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20574 * gdb.c++/templates.exp: Only match on basename of file since
20575 some formats like xcoff don't encode directory information.
20576 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20577 and rs6000 AIX xcoff targets.
20578 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20579 * configure: Regenerate.
20580 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20581 here, rather than in distclean.
d63a86f8 20582
c906108c
SS
20583Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20584
20585 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20586 defined, and use it to compile the test case with -O2. The
20587 native compilation still uses no optimization.
20588 * gdb.base/mips_pro.c: Remove inline assembly code since
20589 it is compiled PIC by default, which results in assembler
20590 warnings that make the testsuite think the compilation
20591 was unsuccessful.
20592
20593Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20594
20595 * gdb.c++/misc.exp: Add note to message for
20596 "print s.a for foo struct" that this is a known gcc 2.7.2
20597 and earlier bug.
20598
20599Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20600
20601 * gdb.base/break.exp: Fix pattern for matching "Delete all
20602 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20603 setup_xfail for deleting all breakpoints test. Fix various
20604 timeout messages to include "(timeout)".
20605 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20606 for "p t_float_values2(3.14159,float_val2)".
20607 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20608 for "continue to call2g" when gcc compiled.
20609 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20610 "up to foo in langs.exp", "show language at foo in langs.exp",
20611 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20612 and "show language at fsub in langs.exp".
20613 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20614 "list line 1 in include file", "list message for lines past EOF",
20615 "list function in include file", "list list0.h:foo", and
20616 "list filename:function; nonexistant function".
20617 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20618 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20619 and "ptype t_char_array" to be for native cc only.
d63a86f8 20620
c906108c
SS
20621Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20622
d63a86f8 20623 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 20624 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 20625 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
20626
20627Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20628
20629 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20630 "bt in signals.exp". This problem only appears when running
20631 the testsuite, and then only intermittently.
20632
20633Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20634
20635 * gdb.base/return.exp (return_tests): Differentiate between
20636 two tests of continuing.
20637
20638Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20639
20640 * */Makefile.in (maintainer-clean): Remove config.log.
20641 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20642 * gdb.c++/Makefile.in (PROGS): Add inherit.
20643 (clean): Remove *.ci.
20644
20645Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20646
20647 * gdb.c++/misc.cc: Add test code from Mike Stump.
20648 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20649
20650Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20651
20652 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20653 to "alpha-*-osf2*" and add comment.
20654 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
20655 setup_xfail for "step over execarg initialization" and
20656 "step over corearg initialization".
c906108c
SS
20657 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20658 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20659 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 20660 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
20661 "print func2::coremaker_local", and "backtrace in corefile.exp".
20662 * gdb.base/signals.exp: Build and source signals.ci.
20663 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20664 to be for gcc only.
20665 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 20666
c906108c
SS
20667Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20668
20669 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20670 Feb 3 procfs.c change.
20671
20672Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20673
20674 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20675
20676Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20677
20678 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20679 from dejagnu's apparent default of 10 seconds, which gives random
20680 results when running the tests over NFS on moderately loaded systems.
20681 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20682
20683Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20684
20685 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20686 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 20687 result reports.
c906108c
SS
20688
20689Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20690
20691 * configure.in (CY_AC_PATH_TCLH): Remove.
20692 * configure: Regenerate.
20693
20694Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20695
20696 * gdb.c++/Makefile.in (clean): Add missing '{'.
20697
20698Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20699
20700 * lib/gdb.exp: Provide a default value for noinferior.
20701
20702 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20703 Load libgloss.exp.
20704
20705Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20706
20707 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20708 the executable, not the .o to run the tests from.
20709
20710Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20711
20712 * gdb.base/break.exp: Don't test for program exit or exit status
20713 if $noresults if nonzero.
20714 * gdb.base/langs.exp: Likewise.
20715 * gdb.base/watchpoint.exp: Likewise.
20716
20717 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20718 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20719 trying to compile the testcase.
20720
20721Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20722
20723 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20724 * gdb.base/signals.exp (continue to handler): Likewise.
20725
20726Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20727
20728 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20729
20730 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20731
20732Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20733
20734 * gdb.base/corefile.exp: Recognize "not found" as failure
20735 when trying to determine if a core file was generated.
20736 If no core file was generate the first time, try again without
20737 the ulimit -c to work around braindamaged shells.
20738
20739Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20740
20741 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20742 [] tests with "test" and enclose string in quotes.
20743 * gdb.stabs/configure: Rebuild
d63a86f8 20744
c906108c
SS
20745Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20746
20747 Changes in sync with expect:
20748 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20749 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20750 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20751 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20752 argument to AC_REQUIRE.
20753 * configure: Regenerated.
20754
20755Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20756
20757 * gdb.base/corefile.exp: When generating a core, discard any
20758 error messages about ulimit not found and the "core dumped"
20759 message from the shell that runs the coredumper.
20760
20761Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20762
20763 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20764
20765 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20766 which sed script to run. Expect failure for v_comb test
20767 on PA targets too.
d63a86f8 20768
c906108c
SS
20769Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20770
20771 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 20772 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
20773
20774Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20775
20776 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20777 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 20778 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
20779 * lib/gdb.exp (default_gdb_start): Fix typo.
20780 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20781 messages to not include the full program name that caused
20782 the core dump since some systems (such as solaris) apparently
20783 truncate this path to about 80 characters.
20784 When generating a core file first try increasing the core file
20785 size limit to unlimited since some systems may default it to
20786 zero, and it is harmless to try it. Move the test for failing
20787 to generate a core file to where it will actually get executed.
20788 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20789 new gdb result from g++ debug info improvements and make old
20790 pattern obsolescent. Also account for size_t differences
20791 (may be int or long).
20792 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20793 initialization before function call is placed in the delay slot
20794 and thus appears to be skipped over by commands such as "next".
20795
20796Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20797
20798 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20799
20800Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20801
20802 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20803 input source file; fix code to compile test to deal with this
20804 convention.
20805 * gdb.c++/*.exp: Likewise.
20806
20807Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20808
20809 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20810 "bt in signals.exp".
20811
20812Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20813
20814 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20815 "step over execarg initialization" and
889bf7c5 20816 "step over corearg initialization".
c906108c
SS
20817
20818Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20819
20820 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20821 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20822
20823Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20824
20825 From Rob Savoye (rob@poseidon.cygnus.com)
20826 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20827 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
20828 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20829 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20830 configure.in}: Major reworking for autoconfig.
c906108c
SS
20831 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20832 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 20833 New files.
c906108c
SS
20834 * config/unix-gdb.exp: Make GDB global.
20835 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
20836 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20837 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20838 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20839 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20840 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 20841 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
20842 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20843 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20844 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20845 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 20846 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
20847 to returns as necessary, arrange for test to compile own testcase
20848 executable.
c906108c 20849 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 20850
c906108c
SS
20851Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20852
20853 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 20854 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
20855 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20856 "backtrace through signal handler".
20857
20858Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20859
20860 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20861 continuing from a job control stop signal.
20862 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20863
20864Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20865
20866 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20867 * gdb.base/corefile.exp: Likewise.
20868 * gdb.base/funcargs.exp: Likewise.
20869
20870Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20871
20872 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20873 * config/monitor.exp: Add support for setting baud rate.
20874
20875Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20876
20877 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20878 i*86-*-linux* xfails for "backtrace through signal handler".
20879 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20880 "print func2::coremaker_local".
20881 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 20882 alpha-dec-osf2* xfail for
c906108c
SS
20883 "delete all breakpoints when none".
20884
20885Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20886
20887 * gdb.base/break.exp: Change test that deletes all breakpoints
20888 when no user breakpoints are installed. A post 4.15 change
20889 causes gdb to no longer prompt in this case.
20890
20891Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20892
20893 * gdb.base/return.exp (return_tests): Change xfail for test
20894 "correct value returned double test" to stop xfailing at
20895 Solaris 2.5. Apparently the bug has been fixed.
20896
20897Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20898
20899 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20900 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20901
20902Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20903
20904 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20905 * gdb.disasm/hppa.s: Corresponding changes.
20906
20907Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20908
20909 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20910 makefile fragment.
20911 * config/mt-hpux: Deleted.
20912
20913Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20914
d63a86f8 20915 * Many files: When warning about suppressed tests due to a
c906108c
SS
20916 nonexistant test binary, avoid incrementing the warning count.
20917
20918Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20919
20920 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 20921
c906108c
SS
20922Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20923
20924 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20925 "sparc-*-solaris2*".
20926
20927Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20928
20929 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20930 Add global and local variables and initialize them.
20931 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20932 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20933 extracts the file name and terminating signal from the core file.
20934 * TODO: Remove note about tests for correct mapping of corefile.
20935 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20936 from optimizing it away.
20937 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20938 handles common blocks.
20939
20940Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20941
20942 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20943 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20944
20945Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20946
20947 * Makefile.in (maintainer-clean): New target, synonym for
20948 realclean.
20949 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20950 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20951 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20952 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20953 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20954 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20955
20956Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20957
20958 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20959 xfails when not gcc compiled for "print foo::funclocal".
20960 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20961 "print foo::funclocal at foo",
20962 "print 'scope1.c'::foo::funclocal at foo",
20963 "print foo::funclocal_bss at foo",
20964 "print 'scope1.c'::foo::funclocal_bss at foo",
20965 "print foo::funclocal_ro at foo",
20966 "print 'scope1.c'::foo::funclocal_ro at foo",
20967 "print bar::funclocal at foo" and
20968 "print 'scope1.c'::bar::funclocal at foo".
20969 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20970 gcc compiled for "print foo::funclocal at bar".
20971 Expand all messages to ensure that they identify that
20972 the test is at bar().
20973 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20974 gcc compiled for:
20975 "ptype on opaque struct pointer (statically)",
20976 "ptype on opaque struct tagname (statically)",
20977 "ptype on opaque struct pointer (dynamically) 1",
20978 "ptype on opaque struct tagname (dynamically) 1",
20979 "ptype on opaque struct pointer (dynamically) 2" and
20980 "ptype on opaque struct tagname (dynamically) 2
20981 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20982 gcc compiled for:
20983 "p datalocal"
20984 "whatis datalocal",
20985 "ptype datalocal",
20986 "p bsslocal",
20987 "whatis bsslocal", and
20988 "ptype bsslocal".
20989 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20990 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20991 when not gcc compiled.
20992 * gdb.base/funcargs.exp (float_and_integral_args): Add
20993 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20994 compiled.
20995 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20996 "backtrace from call6a" when not gcc compiled.
20997 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20998 "backtrace from call7a" when not gcc compiled.
20999 * gdb.base/callfuncs.exp (do_function_calls):
21000 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21001 "p t_char_array_values(char_array_val2,char_array_val1)",
21002 "p t_char_array_values(char_array_val1,char_array_val2)",
21003 "p t_char_array_values("carray 1","carray 2")",
21004 "p t_char_array_values("carray 1",char_array_val2)",
21005 "p t_char_array_values(char_array_val1,"carray 2")",
21006 "p sum_args(1,{2})",
21007 "p sum_args(2,{2,3})",
21008 "p sum_args(3,{2,3,4})",
21009 "p sum_args(4,{2,3,4,5})"
21010 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21011 "backtrace in corefile.exp" when not gcc compiled.
21012
21013Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21014
21015 * gdb.base/signals.exp: Rewrite `handle all print' test as
21016 a procedure. Accept blanks or TABs as whitespace, increase
21017 timeout and expect input buffer size for the large output
21018 from the command. Remove "i*86-*-bsdi2.0" xfail.
21019
21020Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21021
21022 * gdb.base/setvar.exp: Add new testcases for truncation when
21023 assigning invalid values to bitfields.
21024
21025Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21026
d63a86f8 21027 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
21028 mips-sgi-irix* xfail for
21029 "call inferior func with struct - returns char *"
21030 and fix test so that an optional (unsigned char *) cast is
889bf7c5 21031 accepted in the result.
c906108c
SS
21032
21033Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21034
21035 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21036 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21037 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21038 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21039 that accidentally got checked in.
21040
21041Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21042
d63a86f8 21043 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21044 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21045 compiled test.
21046 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21047 Add mips-sgi-irix5* xfail for not gcc compiled.
21048 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21049 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21050 "p top", "whatis top", "p middle", and "whatis middle".
21051 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21052 "whatis signed char" for not gcc compiled.
21053 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21054 "set variable signed char=-1 (-1)" and
21055 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21056 * gdb.base/funcargs.exp (float_and_integral_args):
21057 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21058 Add mips-sgi-irix* xfail when not gcc compiled for
21059 "continue to call2b".
21060 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21061 "continue to call2g".
21062 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21063 "backtrace from call6a"
21064 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21065 "backtrace from call7k".
21066 Add mips-sgi-irix5* xfail when not gcc compiled for
21067 "backtrace from call7a".
21068 (localvars_after_alloca): Fix gdb_test cmds for
21069 "print * after runto ...".
21070 Remove rs6000-*-* xfails for
21071 "print i after runto localvars_after_alloca" and
21072 "print l after runto localvars_after_alloca"
21073 for all compilers.
21074 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21075 when not compiled with gcc, for:
c906108c
SS
21076 "print signed char == (minus)",
21077 "print signed char != (minus)",
21078 "print signed char < (minus)",
21079 "print signed char > (minus)".
21080 * gdb.base/callfuncs.exp (do_function_calls):
21081 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21082 "call inferior func with struct - returns char *".
d63a86f8 21083 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
21084 "correct value returned double test" to include Solaris 2.4.
21085 * gdb.base/funcargs.exp (float_and_integral_args):
21086 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 21087
c906108c
SS
21088Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21089
21090 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21091 enumeration bitfields if compiling with GNU C.
21092 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21093 to empty' prompt.
21094
21095Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21096
21097 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21098 test for PRO targets.
21099
21100 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21101 breakpoints in the inferior at any given time by making
21102 two groups of breakpoints for call2*, call6* and call7*
21103 tests.
21104
21105Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21106
21107 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21108 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21109 from optimizing it away.
21110 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21111 "call inferior func with struct".
21112
21113Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21114
21115 * configure.in: Only configure gdb.chill for particular targets.
21116
21117Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21118
21119 * gdb.base/Makefile.in: Add action to .c.o transformation
21120 rule that generates a .ci file for each .o file and remove
21121 explicit .c.o rules except for callfuncs.o.
21122 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21123 generates a .ci file for each .o file and remove explicit
21124 .cc.o rules.
21125 (clean): Remove *.tmp *.ci files.
21126 (EXECUTABLES): Remove templ-info.exp.
21127 * gdb.base/compiler.c: New file.
21128 * gdb.c++/compiler.cc: New file
21129 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21130 Change rs6000-*-* xfail for
21131 "print 'scope0.c'::filelocal_ro" and
21132 "print 'scope1.c'::filelocal" and
21133 "print 'scope1.c'::filelocal_bss" and
21134 "print 'scope1.c'::filelocal_ro" and
21135 "print 'scope1.c'::foo::funclocal" and
21136 "print 'scope1.c'::foo::funclocal_ro" and
21137 "print 'scope1.c'::bar::funclocal" and
21138 "print 'scope0.c'::filelocal_ro" and
21139 "print 'scope1.c'::filelocal at foo" and
21140 "print 'scope1.c'::filelocal_bss at foo" and
21141 "print 'scope1.c'::filelocal_ro at foo" and
21142 "print 'scope1.c'::foo::funclocal at foo" and
21143 "print 'scope1.c'::foo::funclocal_bss at foo" and
21144 "print 'scope1.c'::foo::funclocal_ro at foo" and
21145 "print 'scope1.c'::bar::funclocal at foo" and
21146 "print 'scope0.c'::filelocal_ro" and
21147 "print 'scope1.c'::filelocal" and
21148 "print 'scope1.c'::filelocal_bss" and
21149 "print 'scope1.c'::filelocal_ro" and
21150 "print 'scope1.c'::foo::funclocal" and
21151 "print 'scope1.c'::foo::funclocal_bss" and
21152 "print 'scope1.c'::foo::funclocal_ro" and
21153 "print 'scope1.c'::bar::funclocal" and
21154 "print 'scope1.c'::bar::funclocal_bss"
21155 to only be xfail'd when not compiled with gcc.
d63a86f8 21156 Add rs6000-*-* xfail for
c906108c
SS
21157 "print 'scope0.c'::filelocal_bss before run"
21158 when compiled with gcc.
21159 (test_at_main): Add rs6000-*-* xfail for
21160 "print filelocal_ro in test_at_main"
21161 when compiled with gcc.
21162 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 21163 Add rs6000-*-aix* xfail for
c906108c
SS
21164 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21165 "ptype t_char_array", not compiled with gcc.
21166 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21167 xfail for "list foo (in include file)" when gcc compiled.
21168 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 21169 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
21170 "run to call0a" if not compiled with gcc.
21171 (unsigned_integral_args): Add rs6000-*-* xfail for
21172 "run to call1a" if not compiled with gcc.
21173 (float_and_integral_args): Add rs6000-*-* xfail for
21174 "run to call2a" if not compiled with gcc and for
21175 "continue to call2b" for any compiler.
21176 Add rs6000-*-* xfail to
21177 "print f1 after run to call2a" for gcc compiled.
21178 (discard_and_shuffle): Add rs6000-*-* xfail for
21179 "run to call6a".
21180 (shuffle_round_robin): Add rs6000-*-* xfail for
21181 "backtrace from call7a" if not compiled with gcc.
21182 Add rs6000-*-* xfail for
21183 "backtrace from call7b" if compiled with gcc.
21184 (call_after_alloca): Add rs6000-*-* xfail for
21185 "print c in call_after_alloca" and
21186 "print s in call_after_alloca" and
21187 "backtrace from call_after_alloca_subr"
21188 if not compiled with gcc.
21189 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21190 "print c in localvars_in_indirect_call" and
21191 "print c in localvars_in_indirect_call" and
21192 "backtrace in indirectly called function" and
21193 "stepping into indirectly called function"
21194 if not compiled with gcc.
21195 (localvars_after_alloca): Add rs6000-*-* xfail for
21196 "print c after runto localvars_after_alloca" and
21197 "print s after runto localvars_after_alloca" and
21198 "print i after runto localvars_after_alloca" and
21199 "print l after runto localvars_after_alloca"
21200 for all compilers.
21201 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21202 than whatis-info.exp.
21203 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21204 than opaque-info.exp.
21205 Setup rs6000-*-* xfail for
d63a86f8 21206 "ptype on opaque struct pointer (statically)" and
c906108c
SS
21207 "ptype on opaque struct pointer (dynamically)" when
21208 not compiled with gcc.
21209 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21210 rather than callf-info.exp.
21211 (do_function_calls): Add clear_xfail for rs6000-*-* for
21212 "p t_float_values2(3.14159,float_val2)". Seems to work
21213 fine there, both with xlc and gcc. Need to find out what
21214 it is doing right and fix other platforms.
21215 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21216 "call inferior func with struct - returns int",
21217 "call inferior func with struct - returns long",
21218 "call inferior func with struct - returns float",
21219 "call inferior func with struct - returns double",
21220 "call inferior func with struct - returns char *",
21221 but only if not gcc compiled (presumes xlc compiled).
21222 Change rs6000-*-* xfails for
21223 "call inferior func with struct - returns char" and
21224 " call inferior func with struct - returns short" to only
21225 xfail if not using gcc.
21226 (clean mostlyclean): Remove *.ci and *.tmp files.
21227 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21228 than templ-info.exp.
21229 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21230 Add rs6000-*-* xfail for "up to foo in langs.exp"
21231 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 21232 when not gcc compiled.
d63a86f8 21233
c906108c
SS
21234Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21235
21236 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21237 * gdb.base/corefile.exp: Likewise.
21238 * gdb.base/list.exp: Likewise.
21239 * gdb.base/scope.exp: Likewise.
21240 * gdb.base/siganls.exp: Likewise.
21241
21242 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21243 compiler output.
21244 * gdb.base/whatis.exp: Likewise.
21245
21246Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21247
21248 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21249 failure (opcode table has been fixed to match reality).
21250
21251Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21252
21253 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21254 "call inferior func with struct - returns char",
21255 "call inferior func with struct - returns short"
21256
21257 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21258 "print 'scope0.c'::filelocal at main",
21259 "print 'scope0.c'::filelocal_bss in test_at_main",
21260 "print 'scope0.c'::filelocal at foo",
21261 "print 'scope0.c'::filelocal_bss in test_at_foo",
21262 "print 'scope0.c'::filelocal at bar",
21263 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 21264
c906108c
SS
21265 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21266 in source file 1". This bug seems to have been fixed with both
21267 gcc and native cc (was native assembler bug?).
21268
21269Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21270
21271 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21272 "backtrace through signal handler" to "i*86-*-sysv4*".
21273 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21274 continue" case. Add "known SVR4 bug" to fail message.
21275 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21276 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21277 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21278 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21279 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21280 "up to foo in langs.exp", "show language at foo in
21281 langs.exp", "up to cppsub_ in langs.exp", "show
21282 language at cppsub_ in langs.exp", "up to fsub in
21283 langs.exp", and "show language at fsub in langs.exp".
21284 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21285 "bactrace in corefile.exp".
21286 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21287 "call inferior function with struct - returns float" and
21288 "call inferior function with struct - returns double".
d63a86f8 21289
c906108c
SS
21290Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21291
21292 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21293 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21294 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21295 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21296
21297Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21298
21299 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21300 (or overriden) "CHILL" macro rather then bare "gcc".
21301 Also look for ../../gcc/xgcc since that is what we will
21302 actually need, not "Makefile". Remove following assignment
21303 of CHILL to CHILL_FOR_TARGET because that results in
21304 recursive definition.
21305
21306Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21307
21308 * gdb.base/corefile.exp: Change xfail for backtrace in
21309 corefile.exp from linuxaout to all linux.
21310 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21311 cases where we miss the breakpoint at the signal handler
21312 for some reason. Setup xfail for linuxoldld/linuxaout and
21313 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21314 hitting SIGURG breakpoint.
21315 * gdb.base/signals.exp: Setup xfail for "next" acting like
21316 continue to add linuxoldld. Setup xfail for all linux for
21317 "next to handler in signals_tests_1", "backtrace in
21318 signals_tests_1", "continue to func1", "pass SIGUSR1",
21319 and continue to handler".
21320
21321Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21322
21323 * Update all FSF addresses except those in COPYING* files.
21324
21325Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21326
21327 * gdb.base/a2-run.exp: Change messages to be more explicit about
21328 the status of args, and quote binfile in results.
21329
21330Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21331
21332 * gdb.base/callfuncs.exp: Add tests for passing structs to
21333 inferior functions and return various types.
21334 * gdb.base/callfuncs.c: Add functions to receive a struct
21335 and return a member of the struct, in various types.
21336
21337Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21338
21339 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21340
21341Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21342
21343 * config/vxworks29k.exp: New file, sources vxworks.exp.
21344
21345Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21346
21347 * config/gdbremote.exp: New file. Testing framework using
21348 gdbserver.
21349
21350Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21351
21352 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21353 "call function when asleep" and "send end of file".
21354 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21355 for "backtrace in corefile.exp".
21356 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21357 for "backtrace through signal handler".
21358 * gdb.base/corefile.exp: Make sure we actually generate a core file
21359 before trying the core tests. Some systems allow the user to suppress
21360 generation of core files and default to that (linux for example).
21361 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21362 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21363
21364Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21365
21366 * gdb.threads: New directory with some crude multi-threaded
21367 gdb tests (step.exp and step2.exp).
21368 * config/mt-lynx (STEP_EXECUTABLE): Define.
21369 (THREADFLAGS): Define.
21370
21371Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21372
21373 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21374
21375 * gdb.base/signals.exp: Disable whole file for lynx until
21376 further notice.
21377
21378 * gdb.base/signals.exp: xfail test where "next" acts like
21379 "continue" for lynx.
21380
21381 * gdb.base/interrupt.exp: xfail test for calling function while
21382 inferior is asleep for lynx.
21383
21384 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21385 than one cr-lf after each command.
21386
21387Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21388
21389 * configure.in: Reinstate setting of stabsdirs variable, fix
21390 typo in setting up configdirs for native builds.
21391
21392 * gdb.base/return.exp: Fix typo in return double test.
21393 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21394 compiler from optimizing them away.
21395
21396Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21397
21398 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21399 sequences to be echo'd by gdb when using gdb_test.
21400 * gdb.chill/chexp.exp: Likewise.
21401 * gdb.fortran/exprs.exp: Likewise
21402
21403Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21404
21405 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21406 after the inferior gdb has started.
21407
21408 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21409 after each command.
21410 * gdb.base/funcargs.exp: Likewise.
21411 * gdb.base/gdbvars.exp: Likewise.
21412 * gdb.base/interrupt.exp: Likewise.
21413 * gdb.base/list.exp: Likewise.
21414 * gdb.base/watchpoint.exp: Likewise.
21415 * gdb.c++/demangle.exp: Likewise.
21416 * gdb.c++/inherit.exp: Likewise.
21417 * gdb.chill/chexp.exp: Likewise.
21418 * gdb.fortran/exprs.exp: Likewise.
21419
21420 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21421 test if we can't handle IO to/from the inferior.
21422
21423 * gdb.c++/misc.exp: Always check for a program already being
21424 started after sending a "run" command to gdb.
21425
21426 * gdb.base/twice.exp: Start with a fresh gdb.
21427
21428 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21429 only depend on gdb's expression code, not the chill runtime.
21430
21431 * gdb.base/return.c: Put return values into variables so we
21432 can have gdb print them rather than depending on the program
21433 to print them.
21434 * gdb.base/return.exp: Corresponding changes.
21435
21436 * lib/gdb.exp: Provide default value for noinferiorio.
21437 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21438 the inferior.
21439
21440 * gdb.base/break.exp: Always check for a program already being
21441 started after sending a "run" command to gdb.
21442 (text_next_with_recursion): Don't check the output from the
21443 program's printf statement. Instead just make sure the program
21444 exited.
21445
21446 * gdb.base/commands.exp: Protect tests which need arguments with
21447 $noargs conditionals.
21448
21449Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21450
21451 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21452 of structure member arrays to match gdb/valops.c:value_addr change.
21453
21454Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21455
21456 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21457 cases.
21458
21459Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21460
21461 * configure.in (configdirs): Remove gdb.chill from default list
21462 of subdirs and then add it back in only if doing a native build.
21463 The current chill compiler does not yet work in any cross build.
21464 * Revert all signal changes from Jul 6.
21465 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21466 for sh-hms targets, allowing these tests to link, with no other
21467 changes. Testing is suppressed by setting "nosignals" in site.exp.
21468
21469Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21470
21471 * configure.in (signaldirs): Define and add to configdirs for all
21472 targets except some specific ones that are known to not support signals.
21473 Also clean up formatting.
21474 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21475 (signals, sigall): Remove rules to build.
21476 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21477 Moved to new gdb.signals directory.
21478 * gdb.signals: New test directory.
21479 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21480 signals.c signals.exp}: New or moved files.
21481
21482Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21483
21484 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21485
21486Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21487
21488 * gdb.base/return.exp: Xfail `return double' test failure
21489 on at least Solaris 2.3 and handle future/past versions on
21490 a case by case basis as appropriate. Also update message
21491 to include i*86 failures.
21492
21493Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21494
21495 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21496
21497 * lib/gdb.exp: Fix comment which erroneously identified
21498 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21499 gdb_file_cmd not gdb_load).
21500 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21501
21502 * gdb.base/setvar.exp: Make test names consistent between pass and
21503 fail cases. Use gdb_test more.
21504
21505Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21506
21507 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21508
21509Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21510
21511 * gdb.base/help.exp: Fix expected help string for `show commands'.
21512
21513Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21514
21515 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21516
21517 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21518 of a text section.
21519
21520Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21521
21522 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21523 that loop eventually terminates. Fix Connection refused logic so
21524 that testsuite will expire nicely.
21525
21526Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21527
21528 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21529 config/rom68k.exp: New tcl glue for the appropriate monitors.
21530 These all just end up calling monitor.exp.
21531 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21532 refused' by retrying. Cleanup some timeout issues.
21533 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21534 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21535 callers don't have to set/restore global timeout variable.
21536
21537 * The following set of changes centralizes management of the global
21538 timeout variable. This way, it can be set in one target dependent
21539 place instead of dozens of places scattered throughout the test suite.
21540 If you need to lengthen a timeout, then you should either set timeout
21541 in one of the config/{target}.exp files, or multiply it by a factor.
21542 Setting it to an absolute value is always going to lose for some
21543 targets.
21544 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21545 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21546 * gdb.base/funcargs.exp: Don't set timeout.
21547 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21548 * gdb.base/printcmds.exp (test_print_string_constants
21549 test_print_array_constants): Don't set timeout.
21550 * gdb.base/ptype.exp: Don't set timeout.
21551 * gdb.base/recurse.exp: Don't set timeout.
21552 * gdb.base/return.exp: Don't set timeout.
21553 * gdb.base/watchpoint.exp: Don't set timeout.
21554 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21555 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21556
21557Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21558
21559 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21560
21561Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21562
21563 * lib/gdb.exp: Disable chill tests for irix5.
21564
21565Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21566
21567 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21568 each test pass or fail.
21569
21570Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21571
21572 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21573 xlc not gcc.
21574
21575Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21576
21577 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21578
21579Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21580
21581 * config/est.exp: Fix copyright and comments. Remove dead code.
21582 Use targetname, serialport and baud variables instead of fixed
21583 constants.
21584 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21585 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21586
21587Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21588
21589 * gdb.base/watchpoint.exp: Don't run
21590 test_watchpoint_triggered_in_syscall for sunos.
21591
21592Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21593
21594 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21595 they don't seem to exist. Do include stdio.h.
21596
21597Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21598
21599 * gdb.base/a1-selftest.exp: Add alpha xfail.
21600
21601Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21602
21603 * gdb.base/watchpoint.c (main): Prompt before calling read().
21604 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21605 Revise accordingly. Remove cruft about sending "123" several
21606 times, until it gets noticed. Clean up the "print buf[0]" stuff
21607 so that it passes or fails, and waits for prompts in the usual way.
21608
21609Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21610
21611 * gdb.base/recurse.exp: Fix comment.
21612
21613 * TODO: Remove item about printing variables in nodebug.exp. Add
21614 item about enabling tests which are only run on some targets.
21615
21616 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21617 fail, make test names unique, use new gdb_test convention
21618 regarding pattern, use gdb_test more, etc.).
21619
21620 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21621 fail, make test names unique, etc.).
21622
21623Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21624
21625 * gdb.base/nodebug.c: Change return type of top and middle to
21626 short.
21627 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21628 are fixed by the recent mdebugread.c changes. Allow `short ()'
21629 as type for top and middle.
21630
21631Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21632
21633 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21634 nearly as I can tell, the whole thing was an accident in Stu's
21635 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21636 to replace a send/expect pair with gdb_test, but ended up only
21637 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21638 of 30 Mar 1995 took care of it, but left this vestigial comment
21639 which I am now nuking.
21640
21641Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21642
21643 * gdb.base/break.exp: Look for different line number for
21644 breakpoint at main depending on usestubs.
21645
21646Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21647
21648 * gdb.base/list.exp: Adjust some alternate expect patterns to
21649 match recent list0.c change. Add alternate expect pattern for
21650 output from `list default lines around main' for optimizing
21651 compilers.
21652
21653Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21654
21655 * lib/gdb.exp: If nosignals is not set, set it to 0.
21656
21657Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21658
21659 * config/slite-gdb.exp: Responds to load symbol table prompt.
21660 * gdb.base/break.exp: Adjust line number, fix rerun.
21661 * gdb.base/langs0.c: Add #ifdef usestubs.
21662
21663Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21664
21665 * gdb.base/list.exp: Adjust line contents after adding new lines in
21666 list0.c. Also fix a syntax error.
21667
21668 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21669 * gdb.base/break.exp: ditto.
21670 * gdb.base/list.exp: ditto.
21671 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21672 * gdb.base/run.c: ditto.
21673 * gdb.base/list0.c: ditto.
21674 * gdb.base/funcargs.c: ditto.
21675
21676Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21677
21678 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21679 $targetname, $serialport and $baud instead of hardwired variables.
21680 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21681 target doesn't support signals.
21682
21683Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21684
21685 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21686
21687Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21688
21689 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21690 Don't rely on the value of an auto variable before it has been
21691 initialized. Use gdb_test more.
21692
21693Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21694
21695 * lib/gdb.exp (default_gdb_version): A version number must start
21696 with a digit, but other than that contains all characters up to
21697 the first whitespace character.
21698
21699Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21700
21701 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21702
21703Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21704
21705 * gdb.c++/*.exp: Warn if executable does not exist. The original
21706 reason for skipping the warning was that configure.in sometimes
21707 intentionally skipped building the executables but the tcl code
21708 had no way of knowing. That (a) was always bogus with respect to
21709 error handling, (b) is no longer true (right now there is no way
21710 to skip C++ tests).
21711
21712 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21713
21714Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21715
21716 * gdb.base/list.exp: Add expect patterns for output from
21717 SunPRO compiled executables.
21718 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21719 types.
21720
21721Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21722
21723 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21724 number (we are already testing that the correct source line text
21725 gets printed).
21726
21727 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21728 that is what is intended, but something needed to be done to get
21729 sunos4 native working again.
21730
21731 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21732
21733 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21734 apparently went with a (very) old xfail.
21735
21736Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21737
21738 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21739 runto_main is a proc in gdb.exp that will do 'step' for target use
21740 stubs.
21741 * gdb.base/exprs.exp: ditto.
21742 * gdb.base/interrupt.exp: ditto.
21743 * gdb.base/opaque.exp: ditto.
21744 * gdb.base/printcmds.exp: ditto.
21745 * gdb.base/ptype.exp: ditto.
21746 * gdb.base/scope.exp: ditto.
21747 * gdb.base/setvar.exp: ditto.
21748 * gdb.base/signals.exp: ditto.
21749 * gdb.base/twice.exp: ditto.
21750 * gdb.c++/classes.exp: ditto.
21751 * gdb.c++/inherit.exp: ditto.
21752 * gdb.c++/templates.exp: ditto.
21753 * gdb.base/break.exp: no run and hit main for stubs. Change line
21754 numbers for breakpoints and info breakpoint.
21755 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21756 breakpoint().
21757 * gdb.base/callfuncs.c: ditto.
21758 * gdb.base/exprs: ditto.
21759 * gdb.base/interrupt.c: ditto.
21760 * gdb.base/opaque0.c: ditto.
21761 * gdb.base/printcmds.c: ditto.
21762 * gdb.base/ptype.c: ditto.
21763 * gdb.base/scope0.c: ditto.
21764 * gdb.base/setvar.c: ditto.
21765 * gdb.base/signals.c: ditto.
21766 * gdb.base/twice.c: ditto.
21767 * gdb.c++/misc.cc: ditto.
21768 * gdb.c++/templates.cc: ditto.
21769
21770Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21771
21772 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21773
21774 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21775 somewhere between `read' and `main.c'. I'm pretty sure the
21776 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21777 and it isn't particularly useful.
21778
21779 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21780
21781Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21782
21783 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21784
21785Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21786
21787 * config/mt-slite: add LIBS and -nostdlib.
21788 * config/slite-gdb.exp: add this new file to support sparclite target.
21789
21790Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21791
21792 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21793
21794 * gdb.base/a2-run.exp: Change argument to istarget from
21795 "*-*-vxworks" to "*-*-vxworks*".
21796 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21797
21798Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21799
21800 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21801 will not runto main but do a 'step' to step out of breakpoint().
21802 * config/mt-slite: add -Dusestubs.
21803
21804Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21805
21806 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21807 instead of just @.
21808
21809 * gdb.base/signals.exp: Add test for "handle all print".
21810 * TODO: Remove "handle all print". Also remove item about
21811 checking copyright date (I don't like the idea of a spurious FAIL
21812 based on when we run the tests).
21813
21814 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21815 for SunOS4 (reason for failure not investigated). Remove
21816 redundant test for $binfile.
21817
21818 * gdb.base/nodebug.c (array_index): Call malloc.
21819
21820 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21821
21822Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21823
21824 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21825 conventions and slightly simplify the matching regexp.
21826
21827Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21828
21829 * gdb.base/break.exp: Update gdb_test invocation to use new
21830 convention.
21831
21832 * lib/gdb.exp: If noargs is not set, set it to 0.
21833
21834 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21835 tests unique.
21836
21837 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21838
21839Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21840
21841 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21842 one argument of type "<non-float parameter>".
21843
21844Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21845
21846 * config/rom68k.exp: New file to support Motorola IDP board.
21847 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21848 * gdb.base/break.c: Change things around so that this program
21849 doesn't depend upon args. This is necessary to make remote
21850 targets work (in general, they can't take args).
21851 * gdb.base/break.exp: Don't try to send args to program. Don't
21852 expect output. Also, replace lots of code with gdb_test.
21853
21854Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21855
21856 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21857 printing of '\'' (which is what the comment says we are testing,
21858 even though we were not), not '''.
21859 (test_integer_literals_rejected): Test that printing ''' is an error.
21860
21861 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21862 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21863 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21864 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21865 Use gdb_test not test_print_accept.
21866 * lib/gdb.exp: Remove test_print_accept.
21867
21868 * gdb.base/signals.exp (signal_tests_1): Make pass message
21869 consistent with fail message.
21870
21871 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21872 unsigned char; the bug (PR 1821) is fixed.
21873
21874 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21875
21876 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21877 successful tests--makes xfailing them work right.
21878
21879Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21880
21881 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21882 only \r\n, not .*. The test can pass .* as the last thing in
21883 $pattern if that is what it wants. In addition to providing this
21884 flexibility, this change should speed up pattern matching in cases
21885 where the pattern already ended with .* (there were a number of
21886 them). This change also helps catch bad patterns--in the old
21887 scheme the typo "char \*" instead of "char \\*" would pass. Now
21888 it is caught.
21889 * Many .exp files: Update callers.
21890
21891 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21892 clearer and does not spuriously match multiple ('s. Likewise for
21893 ) and *.
21894
21895 * gdb.base/nodebug.exp: Test ability to call a function and pass
21896 it a string (even with no debugging info).
21897
21898 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21899 "p '\'", which is the same as "p ''" once tcl gets done with
21900 quoting, to "p '\\'", which I suspect is what is intended (one
21901 backslash gets sent to GDB).
21902
21903 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21904
21905Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21906
21907 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21908 1817) was fixed literally years ago.
21909
21910Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21911
21912 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21913 test, it causes stepping out of call_after_alloca_subr with
21914 optimizing compilers.
21915 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21916 fails.
21917
21918 * gdb.c++/templates.exp: Source templ-info.exp only if
21919 the templates executable exists.
21920
21921 * gdb.c++/misc.cc (class Contains_static_instance,
21922 class Contains_nested_static_instance),
21923 gdb.c++/classes.exp (test_static_members): Test printing of
21924 a class that contains a static instance of the class.
21925
21926Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21927
21928 * gdb.base/langs2.c (cppsub_): Don't prototype.
21929 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21930 only, I believe).
21931
21932Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21933
21934 * lib/gdb.exp (skip_chill_tests): New procedure.
21935
21936 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21937
21938Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21939
21940 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21941 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21942
21943Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21944
21945 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21946
21947 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21948 disassemble 8, not 16, instructions for part 4.
21949
21950 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21951 support the latter anymore.
21952
21953 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21954 -DNO_PROTOTYPES.
21955 * gdb.base/callfuncs.c: Control use of prototypes based on
21956 NO_PROTOTYPES, not __STDC__.
21957 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21958 t_float_values2 tests if prototypes in use.
21959
21960 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21961 t_double_values): When checking differences against DELTA, check
21962 that difference is within the range (-DELTA,DELTA), not just
21963 (-infinity,DELTA).
21964
21965Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21966
21967 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21968 'file' command firts, then 'target', then 'load', this is due to gdb
21969 target set up.
21970 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21971
21972Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21973
21974 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21975 FP load/store variants.
21976 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21977
21978Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21979
21980 * gdb.base/term.exp: Do not give a warning if not native, it is
21981 not an abnormal condition.
21982
21983Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21984
21985 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21986 t_char_array".
21987
21988Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21989
21990 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21991 are getting the version number.
21992
21993 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21994 if not native, it is not an abnormal condition.
21995
21996Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21997
21998 * lib/gdb.exp: Just use "file exists", rather than undocumented
21999 dejagnu procedure "findfile".
22000
22001Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22002
22003 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22004 (LDFLAGS): Set to -Xlinker -Ur.
22005
22006 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22007 Removed, these values are set by lib/gdb.exp.
22008
22009 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22010
22011Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22012
22013 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22014 of replicating gdb startup code.
22015
22016 * config/mt-vxworks (LDFLAGS): Set to -r.
22017 (CFLAGS_FOR_TARGET): Removed.
22018
22019 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22020 (gdb) and gdb for vxworks uses (vxgdb).
22021
22022 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22023 executable is not in the tree and host != target, use sed and
22024 program_transform_name to determine the gdb name used by the
22025 target.
22026
22027 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22028 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22029
22030Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22031
22032 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22033 floats, chars, and shorts where there are ANSI-style function
22034 definitions.
22035
22036 * gdb.base/langs.exp, gdb.base/langs*: New test.
22037 * gdb.base/Makefile.in: Build it.
22038 * TODO: Remove item about checking that C names don't get C++
22039 demangling applied; this test tests it.
22040
22041Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22042
22043 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22044 went with the const70 xfail. The xfail went away a year ago.
22045
22046 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22047
22048 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22049 for hp300.
22050
22051 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22052
22053 * gdb.base/a1-selftest.exp: Don't run on hp300.
22054
22055Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22056
22057 * Makefile.in (site.exp): Set host_alias and target_alias as well
22058 as host_triplet and target_triplet.
22059
22060Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22061
22062 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22063
22064 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22065 places as other ecoff systems).
22066
22067 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22068 ultrix.
22069
22070Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22071
22072 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22073 remove them.
22074 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22075 variable and "variable" in addition to "data variable".
22076 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22077
22078 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22079 2.
22080 * gdb.base/list1.c (long_line): Add additional statement at start
22081 of function.
22082 * gdb.base/list.exp (test_forward_search): Update line number to
22083 reflect new statement.
22084
22085Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22086
22087 * gdb.base/signals.exp: Reinitialize searched source directories
22088 after gdb_start call.
22089
22090Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22091
22092 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22093 * gdb.stabs/Makefile.in: Likewise.
22094
22095 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22096 change. Instead split the tests into smaller pieces.
22097 * gdb.disasm/hppa.s: Corresponding changes.
22098
22099Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22100
22101 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22102 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22103
22104 * gdb.base/funcargs.exp: Modify many tests so that every test
22105 either passes or fails. Make some test names unique.
22106
22107Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22108
22109 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22110 Call stty to set interrupt character.
22111
22112 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22113 for HP assembler versus GNU assembler based on actual behavior of
22114 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22115
22116 * TODO: Suggest a few more stepping tests.
22117
22118Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22119
22120 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22121 restart GDB for h8300 after a continue.
22122 (return): Add pattern to match a29k-udi behavior.
22123 * gdb.base/nodebug.exp: Remove obsolete comment.
22124 * gdb.base/regs.exp: New file, testing of register displays.
22125 * gdb.base/return.exp: Fix typo in reference to $objdir.
22126 * gdb.base/whatis.exp: Always start with a fresh GDB.
22127
22128Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22129
22130 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22131 higher, these tests generate a lot of output.
22132
22133Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22134
22135 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22136 code following the catch silently ignored some errors; without the
22137 catch they should be thrown like any other tcl error. Also, the
22138 catch used "" instead of {} which meant all the callers who wanted
22139 to include one of the characters "[]$ had to quote it an extra time.
22140 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22141 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22142 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22143 Remove extra quoting.
22144
22145Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22146
22147 * gdb.base/commands.exp: Make test names unique; every test either
22148 passes or fails. Update some comments.
22149
22150 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22151
22152Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22153
22154 The following fixes a FAIL caused by the fact that the alpha stabs
22155 configuration didn't use the ".if alpha" code in weird.def.
22156 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22157 bit pointer, so the 32 bit version works even on the alpha.
22158 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22159 Remove the stuff which allowed us to have separate versions for
22160 alpha and everything else.
22161
22162 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22163 regexp which "info func operator\[\](" is supposed to match. Fix
22164 string to send to GDB. Note that GDB still doesn't work right. Add a
22165 new test for "info func .perator\[\](" which GDB does handle correctly.
22166
22167 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22168
22169Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22170
22171 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22172 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22173 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22174 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22175 it makes the tests harder to understand and confuses test-o-matic.
22176 The preferred style is that each test provides a PASS or a FAIL,
22177 and has a unique message (e.g. "continue #54" not just "continue")
22178 which is the same for the pass and the fail.
22179 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22180 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22181 to lib/gdb.exp.
22182 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22183 prt_accept which was basically the same thing. Likewise for
22184 test_print_reject and prt_reject.
22185 * lib/gdb.exp (test_print_reject): Add some more error message
22186 patterns to match from the former printcmds.exp (prt_reject).
22187 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22188 One defect of the passcount stuff is that some of it failed to
22189 report XPASS where appropriate.
22190 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22191 stuff before and after arg in expected pattern.
22192 (test_paddr_operator_functions): Re-do test without print_addr_of;
22193 this is the only test which seems to want extra stuff there.
22194
22195Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22196
22197 * gdb.base/nodebug.exp: Update new tests to reflect improved
22198 wording of gdb output.
22199
22200 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22201 and "ptype" work on variables in files compiled without -g.
22202 Replaces commented out "maint print msymbol" tests.
22203
22204Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22205
22206 * gdb.base/setvar.c (dummy): Call malloc.
22207
22208 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22209 losing with the irix4 sed.
22210
22211 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22212 ALRM" on irix4.
22213
22214Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22215
22216 * TODO: Remove items about corefile.exp testing new exec-file and
22217 backtrace; both are now done. Add items about printing enums.
22218
22219Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22220
22221 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22222 "get signal $thissig" test fails.
22223
22224 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22225
22226Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22227
22228 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22229 compiler warning with dec alpha compiler.
22230
22231 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22232 extra \n from gdb_test call (this explains why the prompt test
22233 that I removed yesterday was there).
22234 (user_defined_command_test): Remove extra \n and prompt test.
22235
22236 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22237 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22238 doesn't exist.
22239 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22240 Also remove alpha workaround, which turns out to be because
22241 SIGABRT == SIGLOST.
22242
22243 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22244
22245 * gdb.base/help.exp: Don't test "help show".
22246
22247Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22248
22249 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22250 "set print address" is on.
22251 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22252 pass prompt to gdb_test; gdb_test already looks for the prompt.
22253
22254 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22255
22256 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22257 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22258 was to make sure that gdb can read a core file. But (a) the "read
22259 the corefile" part didn't make it to a1-selftest.exp, we just
22260 delete the corefile after creating it, and (b) we test reading
22261 corefiles in corefile.exp anyway. Also, this test left around a
22262 xgdb process on Solaris.
22263
22264 * gdb.base/corefile.exp: Also test backtrace.
22265
22266Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22267
22268 * gdb.base/commands.exp: Test a simple user defined command with
22269 arguments and if/while statements; verify the full user command is
22270 printed by "show user".
22271
22272 * gdb.base/commands.exp: Test if/while commands as part of a
22273 breakpoint command list; verify they appear in breakpoint
22274 information.
22275
22276Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22277
22278 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22279 than by dividing by zero.
22280
22281Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22282
22283 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22284 performing an inferior call with watchpoints enabled.
22285 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22286 call.
22287
22288Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22289
22290 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22291 of "file" command.
22292
22293 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22294 Add additional pattern for when "int operator int(void);" appears
22295 in a different order.
22296
22297Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22298
22299 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22300
22301 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22302 and "signal" with ".*".
22303
22304Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22305
22306 * TODO: Add note about "handle all nostop".
22307
22308 * gdb.base/{sigall.c, sigall.exp}: New test.
22309 * gdb.base/Makefile.in: Add it.
22310
22311Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22312
22313 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22314 when invoking GDB, suppresses any windowing interface.
22315
22316Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22317
22318 * config/sim-gdb: New file, simulator testing support.
22319
22320Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22321
22322 * gdb.base/interrupt.exp: Test calling func1 twice.
22323
22324Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22325
22326 * gdb.base/list.exp (test_forward_search): Set timeout higher
22327 when we'll be getting lots of output from gdb.
22328
22329 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22330 "init_malloc" to after the expect statement. Run it if that
22331 regexp is taken, but also for two others which happen if source
22332 cannot be found.
22333
22334Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22335
22336 * gdb.base/printcmds.exp: New test, for printing register before
22337 program is running.
22338
22339Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22340
22341 * gdb.base/list.exp: Correct some alternate expect patterns
22342 to reflect changes in list1.c.
22343
22344Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22345
22346 * TODO: Add item regarding large frames.
22347
22348 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22349
22350 * TODO: Remove item about enabling return.exp; it
22351 is enabled. Suggest a few more "return" tests.
22352
22353Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22354
22355 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22356 anonymous unions.
22357
22358Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22359
22360 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22361 and pr-5646.o, so "make" is the same as "make all", not "make
22362 pr-4975.o".
22363
22364Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22365
22366 * gdb.base/list.exp: Adjust expectations to reflect changes in
22367 list1.c.
22368 (test_forward_search): New test proc.
22369 * gdb.base/list1.c (long_line): New function, has long source line.
22370
22371Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22372
22373 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22374 additional line of code that was added.
22375
22376Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22377
22378 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22379 tests so as not to overflow expect's input buffers.
22380 * gdb.disasm/hppa.exp: Corresponding changes.
22381
22382Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22383
22384 Beginnings of template debugging tests.
22385 * gdb.c++/templ-info.cc: New file to test for template
22386 debugging capability of the compiler.
22387 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22388 templ-info.cc.
22389 * gdb.c++/templates.cc: Add explicit template instantiations
22390 to enable compiling with -fno-implicit-templates. Add destructor
22391 and 'value' method to T5 class for template tests.
22392 * gdb.c++/templates.exp: Add testcases for printing of template
22393 types, setting breakpoints on template methods and calling a
d63a86f8 22394 template method.
c906108c
SS
22395
22396Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22397
22398 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22399 branch target since some assemblers (gas-2.5) may emit a
22400 relocation for the branch instead of resolving it in the
22401 assembler.
22402
22403Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22404
22405 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22406 through signal handler.
22407
22408Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22409
22410 * configure.in (*-*-netware): Use config/mt-netware.
22411
22412 * config/mt-netware: New file.
22413 * config/mt-i386-netware: Removed, separate configs for different
22414 netware architectures are no longer needed now that we have
22415 --with-headers.
22416
22417Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22418
22419 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22420 by the recent changes to use ANSI C arithmetic conversions.
22421
22422Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22423
22424 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22425 bug involving using inferior_pid to figure out whether to select a
22426 frame.
22427
22428Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22429
22430 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22431 match the current disassembler output.
22432
22433Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22434
22435 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22436 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22437 types, expect "int" as type of integer values (for now).
22438
22439Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22440
22441 * gdb.base/commands.exp: New tests for if/while commands.
22442
22443Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22444
22445 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22446 by .*, since hex values have different syntax in Chill mode.
22447
22448Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22449
22450 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22451 linefeed from expect pattern for repeated types with indices > 9.
22452
22453Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22454
22455 First part of Fortran test suite.
22456 * gdb.fortran: New directory.
22457 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22458
22459Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22460
22461 * gdb.base/default.exp: Update expect pattern for load command
22462 without arguments.
22463
22464Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22465
22466 * configure.in: Change i386 to i[345]86.
22467 * gdb.base/configure.in: Likewise.
22468 * gdb.c++/configure.in: Likewise.
22469 * gdb.chill/configure.in: Likewise.
22470
22471Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22472
22473 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22474 patterns, since that is not a valid context for comments.
22475
22476Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22477
22478 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22479 repeated types and repeated types with indices > 9.
22480
22481Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22482
22483 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22484 2417; old bug has been fixed.
22485
22486Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22487
22488 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22489 send the newline ourselves instead of assuming gdb_test will do
22490 so when passed an empty input string.
22491
22492 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22493 stabs testcode.
22494
22495Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22496
22497 * lib/gdb.exp (gdb_test): Don't send anything if the first
22498 argument is an empty string. This makes cases where we want to
22499 match output that is already in expect's buffers (for example,
22500 matching a breakpoint after gdb_run_cmd has been called) work
22501 reliably.
22502
22503Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22504
22505 * config/netware.exp: New file.
22506
22507Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22508
22509 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22510 the -B and -L prefixes so we can find the debugging stub.
22511
22512 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22513 there and we are using the gcc from the tree.
22514
22515 * gdb.base/types.c: Removed.
22516
22517 * gdb.base/configure.in: Look for makefile fragments in ../config.
22518 Recognize i386-*-netware.
22519 * gdb.c++/configure.in: Likewise.
22520
22521Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22522
22523 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22524 the correct TCL syntax.
22525
22526Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22527
22528 * gdb.base/opaque.exp: use runto instead of messing around with
22529 breakpoints. Simplify by using gdb_test.
22530
22531 * gdb.base/bitfields.exp: restart between tests on netware targets
22532 because breakpoints aren't relocated after target death. Run
22533 processes to completion.
22534
22535 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22536
22537Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22538
22539 * Makefile.in: Remove extra tabs that confuse some versions
22540 of "make". Use the newly built gdb to test with by default,
22541 rather than the first one in the tester's search path.
22542
22543Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22544
22545 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22546
22547 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22548 condition help.
22549
22550Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22551
22552 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22553
22554 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22555 running.
22556 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22557 * gdb.base/funcargs.exp: Likewise.
22558
22559 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22560 * gdb.base/funcargs.exp: Likewise.
22561
22562 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22563 message is "".
22564
22565Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22566
22567 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22568 return,signals,twice}.exp: Handle non-existant binaries
22569 consistantly.
22570
22571 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22572 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22573 might testing a cross development system.
22574
22575Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22576
22577 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22578 runtest script is relative to ${srcdir}, not ${rootdir}.
22579
22580Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22581
22582 * gdb.base/signals.exp: Allow for optionality of breakpoint
22583 address.
22584
22585Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22586
22587 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22588
22589Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22590
22591 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22592 for size_t definition.
22593 * gdb.c++/templates.cc: Likewise
22594
22595 * config/mt-i386-netware: New file.
22596
22597 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22598 defined.
22599
22600 * gdb.base/Makefile.in: Added support for systems that name core
22601 files by appending "core" to the program name.
22602 * gdb.base/a1-selftest.exp: Likewise.
22603
22604Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22605
22606 * gdb.base/return.exp: Add comment and message for `return double'
22607 test failure on Sparc Solaris.
22608
22609Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22610
22611 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22612
22613Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22614
22615 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22616 from optimizing them away.
22617 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22618 patterns to include default constructors and assignment operators,
22619 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22620 character in the output of the virtual base pointer.
22621
22622Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22623
22624 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22625 expression match in print_addr_of to avoid unintented matches.
22626 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22627 versions up to 2.5.8.
22628
22629Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22630
22631 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22632 included file to run under newer versions of expect.
22633 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22634 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22635 Remove xfail for the virtual table of BDDHookV.
22636
22637Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22638
22639 * lib/gdb.exp (string_to_regexp): Set a default result.
22640 (default_gdb_start): Fix misleading message.
22641
22642Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22643
22644 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22645 Remove all CC, etc definitions.
22646 * config/mt-hpux: New file.
22647 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22648 (CFLAGS, LDFLAGS): Define.
22649 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22650
22651 * Makefile.in (site.exp): Don't insert host_os, etc.
22652 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22653 (distclean): Check existence of subdir.
22654 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22655 * gdb.base/Makefile.in: General cleanup and simplification.
22656 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22657 to build executables. Use default rule to build .o files.
22658 (EXPECT, RUNTEST, CC): Fix relative pathname.
22659 (site.exp): Don't insert host_os, etc.
22660 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22661 and/or SIGUSR1 defined.
22662 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22663 * gdb.c++/Makefile.in: General cleanup and simplification.
22664 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22665 (CFLAGS): Remove.
22666 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22667
22668Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22669
22670 * gdb.base/recurse.exp: Misc changes to get tests running again
22671 after Kung's changes to the watchpoint code.
22672 * gdb.base/watchpoint.exp: Likewise.
22673
22674Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22675
22676 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22677
22678Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22679
22680 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22681 * lib/gdb.exp (default_gdb_start): Define.
22682 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22683 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22684 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22685 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22686 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22687 Don't call gdb_target_udi in between tests.
22688
22689Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22690
22691 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22692 (which was basically just a local version of the same thing). In
22693 addition to avoiding duplication, gdb_test_exact is faster.
22694 * lib/gdb.exp (gdb_test_exact): Fix typo.
22695
22696 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22697 don't give an error.
22698
22699 * gdb.base/term.exp: Call delete_breakpoints before starting.
22700
22701 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22702 (t10): Add comment.
22703
22704Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22705
22706 Reorganization of the GDB Test Suite.
22707
22708 * gdb.base: New directory, contains all the basic tests.
22709 * gdb.c++: New directory, tests specific to C++.
22710 * gdb.chill: New directory, tests specific to Chill.
22711 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22712 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22713 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22714 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22715 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22716 t30-31 to chill).
22717 * */gdbme.*: Rename to match appropriate expect scripts.
22718 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22719 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22720 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22721 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22722 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22723 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22724 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22725 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22726 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22727 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22728 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22729 gdb.c++/virtfunc.cc: New names of C++ files.
22730 * gdb.chill/chillvars.ch: New name of Chill file.
22731 * gdb.base/configure.in, gdb.c++/configure.in,
22732 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22733 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22734 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22735 * configure.in (configdirs): Update to reflect directory changes.
22736 (target_abbrev): No longer define for any configuration.
22737 * Makefile.in: Cosmetic improvements to header comments.
22738
22739Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22740
22741 Various changes to gdb.t31:
22742
22743 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22744 * gdbme.ch: Make all key-words and predefineds be upper-case.
22745 * chillvars.exp: Expect key-words and predefinds in upper-case.
22746
22747 * chillvars.exp: Use gdb_test_exact many places.
22748 Change expected output for arrays (which now includes index labels).
22749
22750 * pr-5020.exp, gdme.ch (module PR_5020):
22751 New test, for PR-5020.
22752
22753Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22754
22755 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22756 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22757
22758Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22759
22760 * Makefile.in: Fix bit-rot in definitions of CHILL,
22761 CHILL_FOR_TARGET and Chill_LIB.
22762 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22763 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22764 CHILL, and CHILL_LIB.
22765
22766Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22767
22768 * Revert the previous changes. Please see Rob's directory
22769 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22770
22771Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22772
22773 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
22774 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22775 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22776 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
22777 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22778 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22779 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22780 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22781 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22782 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22783 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22784 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22785 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22786 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22787 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22788 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22789 changes from 94Q1.
22790
22791Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22792
22793 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22794 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22795 Rob's new testing fragments.
22796
22797Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22798
22799 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 22800 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
22801
22802Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22803
22804 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22805 version also, match on casted version strings, and match on
22806 gdb startup case where the line numbers might be messed up.
22807
22808Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22809
22810 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 22811 (CFLAGS): Delete it from here.
c906108c
SS
22812
22813Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22814
22815 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22816
22817Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22818
22819 * Makefile.in (RUNTEST): Default to just "runtest".
22820
22821Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22822
22823 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22824 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22825 the code has been restructured.
22826
22827Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22828
22829 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22830 \n, not just one of each.
22831
22832 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22833 /bin/cc gives a warning if you do.
22834
22835Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22836
d63a86f8 22837 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
22838 __t10ListS_link1ZUiRCUiPT0
22839
22840Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22841
22842 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22843 on local variables in recursive functions.
22844
22845 * gdb.t07/Makefile.in: Build the new test.
22846
22847Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22848
22849 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22850 directly. Instead compare the return values from actual calls.
22851
22852Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22853
22854 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22855
22856Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22857
22858 * From Peter Schauer with minor modifications.
a9c64011
AS
22859 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22860 stops in mid-line in the caller. Add xfail for returning a float
22861 value on X86 targets.
c906108c
SS
22862
22863Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22864
22865 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22866 to avoid expect lossage.
22867 (fmem_LRbug_tests): Likewise.
22868 * gdb.disasm/hppa.s: Corresponding changes.
22869
22870 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22871 conditions to work with latest dejagnu/expect.
22872
22873 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22874 expected to fail on the PA.
22875 (backtrace in call with trampolines): Explicitly require main
22876 to be frame #1 (no trampolines should show up in backtrace).
22877
22878 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22879 "continue -expect".
22880 * gdb.t06/break.exp: Likewise.
22881 * gdb.t07/watchpoint.exp: Likewise.
22882 * gdb.t13/bitfields.exp: Likewise.
22883 * gdb.t15/{funcargs,return}.exp: Likewise.
22884 * gdb.stabs/weird.exp: Likewise.
22885 * config/{mips,udi}-gdb.exp: Likewise.
22886
22887 * hppa.sed: Enclose comments within a sed command to avoid
22888 losing with the old OSF1 sed.
22889
22890Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22891
22892 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22893 sequent dynix.
22894 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22895 * gdb.t15/funcargs.exp: Conditionally step again to really
22896 finish from marker_call_with_trampolines. Handle the case where
22897 the first step from within call_with_trampolines already steps
22898 us back to main.
22899 * gdb.t15/gdbme.c: Add comment to closing brace of
22900 call_with_trampolines for funcargs.exp.
22901
22902Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22903
d63a86f8 22904 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
22905 Fix typo(s).
22906
22907Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22908
22909 * gdb.t07/gdbme.c: More code for watchpoint testing.
22910
22911 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22912 "Hardware watchpoint" throughout file.
22913 (test_watchpoint_triggered_in_syscall): New test.
22914 (test_complex_watchpoint): New test.
22915
22916Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22917
22918 * gdbme.c (call_with_trampolines): New function to try and step
22919 into. Tests trampoline problems on the PA.
22920
22921 * funcargs.exp (localvars_in_indirect_call): No longer expect
22922 stepping into indirect call to fail on PAs.
22923 (test_stepping_over_trampolines): New test.
22924
22925Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22926
22927 * TODO: Add suggestions for static member function tests, and
22928 completion tests.
22929
22930Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22931
22932 * TODO: Add suggestions for "p/a" tests.
22933
22934 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22935 (default_gdb_exit): Replace all the hair with sending "quit" to
22936 the process with a simple close.
22937
22938Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22939
22940 * TODO: Add suggestions for shared library tests.
22941
22942Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22943
22944 * TODO: Add suggestions for x/s tests.
22945
22946Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22947
22948 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22949 "enable once", and "enable breakpoints once" with ".*".
22950
22951Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22952
22953 * TODO: Add suggestions about structure passing tests.
22954
22955Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22956
22957 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22958 the primary1 test, use work around if __GNUC__ < 2.
22959 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22960 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22961 Test for bad output rather than waiting for timeout. Issue
22962 second continue only if first continue failed.
22963
22964Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22965
22966 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22967 operator[] test with gdb_test because the old code didn't seem to
22968 be getting the quoting right with the new dejagnu.
22969
22970Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22971
22972 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22973 one from the path.
22974 * Makefile.in: Use a fresh expect if there is one, use runtest
22975 from the src tree if there is one.
d63a86f8 22976
c906108c
SS
22977Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22978
22979 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22980 next over recursive call. Revise the tests from that point on
22981 (which had been skipped) to match GDB's actual (correct) output.
22982
22983 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22984 with next over a breakpoint whose condition is false.
22985
22986 * gdb.t00/help.exp: Comment out "help set print" tests just like
22987 (and for same reason as) "help set" test.
22988
22989Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22990
22991 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22992 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22993
22994Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22995
22996 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22997 necessary gdb_target_udi.
22998
22999 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23000
23001 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23002 1838 and 2417; they are fixed.
23003
23004 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23005 gdb.t03/ptype.exp (ptype structure, ptype union):
23006 Remove xfails; the test is looser than when the xfails were added.
23007
23008 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23009 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23010
23011 * gdb.t01/run.exp: Only run shell test if isnative.
23012
23013 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23014 since "run" automatically loads if necessary. Call gdb_target_udi
23015 after the "file" since "file" kills any execution target.
23016
23017 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23018 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23019 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23020 argument for UDI.
23021
23022Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23023
23024 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23025
23026 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23027
23028Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23029
23030 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23031 properly quoting regexps. This makes the second argument to
23032 demangle a fixed string, which matches the callers, instead of a
23033 shell-style pattern which is what the previous implementation
23034 used. Update some of the callers.
23035
23036Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23037
23038 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23039 (comib_nullified_tests): Fix typo.
23040 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23041 strings. No longer expected to fail.
23042
23043 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23044 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23045 strings. No longer expected to fail.
23046
23047 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23048 string. No longer expected to fail.
23049
23050Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23051
23052 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23053 No longer expected to fail.
23054
23055 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23056 string. No longer expected to fail.
23057
23058Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23059
23060 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23061 only in the names (I probably got most of them). I was even
23062 generous with some which differed in underscores in names, and
23063 probably missed a few, and I *still* was able to remove almost a
23064 third of the file with almost no impact on testsuite coverage.
23065
23066Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23067
23068 * gdb.t00/default.exp: Match udi_attach error message as well as
23069 the one from child_attach.
23070
23071 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23072
23073 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23074
23075 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23076 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23077
23078 * Move test with enums and partial symbols back to
23079 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23080 Reverts the change of 26 May 93. Per today's change to
23081 stabs.texinfo, the behavior that weird.exp was expecting was
23082 unreasonable; what is important is that the compiler+gdb get
23083 things right, which happens with a recent gcc. Also fix the test
23084 to deal with native compilers which put out the stab gdb can't
23085 deal with.
23086
23087Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23088
23089 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23090 in the names. The main thing these accomplish is to slow things down.
23091 Many more such duplicates surely remain.
23092
23093 * gdb.t00/help.exp: Comment out "help support" test just like
23094 (and for same reason as) "help set" test.
23095
23096Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23097
23098 * gdb.t06/break.exp: Remove setup_xfails for
23099 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23100 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23101 about known bug in gcc to include up through 2.5.8.
23102 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23103 well as "_vb$".
23104 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23105 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23106 with latest gcc and gdb.
23107 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23108 well as "_vb$".
23109
23110Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23111
23112 * configure.in (hppa*-*-*): Also configure and build stabs-only
23113 tests.
23114
23115Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23116
23117 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23118 * gdb.t10/configure.in (hppa*-*-*): Use it.
23119
23120Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23121
23122 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23123
23124Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23125
23126 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23127 versions prior to 1.13.5.
23128
23129Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23130
23131 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23132 the prompt is at the start of a line.
23133
23134Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23135
23136 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23137 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23138 in the copr tests now.
23139 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23140 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23141 expected to fail.
23142
23143Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23144
23145 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23146 gdb.t31/chillvars.exp, lib/gdb.exp:
23147 Tweak to run under either version of expect.
23148 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23149 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23150 * gdb.t11/list.exp: Remove extraneous whitespace.
23151
23152Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23153
23154 * gdb.t16/printcmds.exp (test_print_strings): Accept
23155 "(unsigned char *) " before the string.
23156
23157 * TODO: Add notes about printing of fancy types and GDB expressions.
23158
23159Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23160
23161 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23162 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 23163 if doing mips-idt-ecoff.
c906108c
SS
23164
23165Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23166
23167 * Most .exp files: Tweak to run under either version of expect.
23168
23169Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23170
23171 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23172 xfails; I'm not sure why they are failing, but not because of PR 1806.
23173
23174Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23175
23176 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23177 defined in lib/gdb.exp.
23178
23179Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23180
23181 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23182 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23183 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23184 have to be typeless.
23185
23186Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23187
23188 * TODO: Add suggestion for copyright year test.
23189
23190Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23191
23192 * configure.in (*-*-lynxos*): Add stabs tests.
23193
23194Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23195
23196 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23197 so insert a tab before any assembler directive in column zero.
23198
23199 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23200 stores.
23201 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23202 stores.
23203 (fpu_short_memory_tests): Likewise.
23204
23205Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23206
23207 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23208 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23209 .stabs directives in comments.
23210
23211Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23212
23213 * TODO: New file, describing tests we could write.
23214 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23215
23216Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23217
23218 * gdb.t06/signals.exp: Add kludge to force re-sync.
23219
23220 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23221 to xgdb instead of gdb, get out of gdb.
23222
23223Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23224
23225 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23226 for info.
23227
23228Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23229
23230 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23231 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23232 * gdb.stabs/hppa.sed: New sed script for the PA.
23233
23234Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23235
23236 * gdb.stabs: Re-write weird.def and configuration to use sed
23237 instead of cpp. sed is portable and POSIX; cpp is neither.
23238
23239Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23240
23241 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23242
23243Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23244
23245 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23246
23247Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23248
23249 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23250 "_vb$".
23251 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23252 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23253
23254Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23255
23256 * lib/gdb.exp: Comment out code which depends on non-existent
23257 `transform' procedure.
23258
23259Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23260
23261 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23262 * lib/gdb.exp: Transform tool name.
23263 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23264 1.1's new error handling system.
23265
23266Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23267
23268 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23269
23270Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23271
23272 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23273 They made pattern matching so slow that timeouts happened on
23274 heavily loaded systems. Now any output from "show print" which
23275 gets us back to the GDB prompt is a PASS.
23276
23277Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23278
23279 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23280
23281Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23282
23283 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23284
23285 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23286 It is not from PR 3220.
23287
23288Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23289
23290 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23291 just started failing because they depended on the order the
23292 subcommands are presented, or exact docstring text. This kind of
23293 test is a pain and has minimal benefit.
23294
23295Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23296
23297 * gdb.t09/corefile.exp: At end of test, use "core" command with
23298 no arguments.
23299
23300Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23301
23302 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23303 17}/Makefile.in: Make it possible to run the testsuite with Sun
23304 make and CC = cross gcc by adding explicit build rules for .o
23305 files.
23306
23307Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23308
23309 * gdb.t15/funcargs.exp: Don't put comments on same line as
23310 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 23311
c906108c
SS
23312Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23313
23314 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23315
23316Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23317
23318 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23319 * gdb.t20/inherit.exp: remove three dumplicate entries.
23320
23321Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23322
23323 * gdb.t06/break.exp: For "next over recursive call", fail on any
23324 incorrect output, not just on "factorial (value=2)".
23325
23326Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23327
23328 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23329 working now. Add an xfail if accesing a bss variable causes
23330 a memory error if the target is not yet run.
23331
23332Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23333
23334 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23335 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23336 name of __st* demangling (2 strings). Did Kung really get the
23337 more than 95 others right without testing them?
23338
23339Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23340
23341 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23342
23343Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23344
23345 * configure.in (configdirs): Add gdb.disasm
23346 * gdb.disasm: New directory for GDB disassembler tests.
23347 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23348
23349Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23350
23351 * gdb.t00/help.exp: Don't test "help set".
23352
23353 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23354 from within expect statements. None of these happen anymore and
23355 they cause regressions to be silently unnoticed.
23356
23357 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23358 messages) about known failures with gcc cygnus-2.4.5-930417.
23359
23360 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23361 comp-info.exp so it gets built if it doesn't exist.
23362
23363 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23364 it is no longer used.
23365 * gdb.t13/comp-info.c: Removed.
23366
23367Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23368
23369 * gdb.t06/signals.exp: Add xfail for sun3.
23370
23371Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23372
23373 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23374 relevant because ^C doesn't get sent but failure can be reproduced
23375 interactively).
23376
23377Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23378
23379 * gdb.stabs/alpha.mt: New configuration file for alpha.
23380 * gdb.stabs/configure.in: Use it.
23381 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23382 sharing with alpha.mt, redefine long to word via preprocessor.
23383 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23384 for alpha.
23385 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23386 native cc.
23387 * gdb.t00/teststrategy.exp: Change expect string so that we
23388 consume the `(xgdb)' from the command echo and from the gdb prompt.
23389 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23390 gdb currently compares all values as long, so this failure probably
23391 applies to any configuration where LONGEST is bigger than a target int.
23392 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23393 with gcc.
23394 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23395 to handle opaque pointers, gcc is.
23396 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23397 as first argument. Include <sys/types.h> and change all operator
23398 new definitions to use size_t.
23399 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23400 now that we use size_t.
23401
23402Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23403
a9c64011 23404 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 23405 a long or float array cast all array members to the same type.
a9c64011 23406 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 23407 with 64 bit longs.
a9c64011 23408 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 23409 on alpha.
a9c64011 23410 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
23411
23412Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23413
23414 * gdb.t24 (demangle.exp): Constructors of templates have names like
23415 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23416 section 14.6 of the ARM.
23417
23418 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23419 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23420 accomplish little and slow down the testsuite.
23421
23422 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23423 Accept spaces various places.
23424
23425Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23426
23427 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23428 with watchpoint enabled.
23429
23430 * Makefile.in: Remove definition of CC and remove the second
23431 definition of CXX (the "CXX = gcc" one remains). These definitions
23432 were causing backquotes to be expanded within backquotes, which
23433 doesn't work.
23434
23435Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23436
23437 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23438
23439Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23440
a9c64011
AS
23441 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23442 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
23443 by mips cc and contains no stabs entries.
23444
23445Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23446
23447 * config/vx-gdb.exp: Use fake device to load files rather than
23448 NFS.
23449 * lib/gdb.exp: New proc to do "file" command.
23450 * config/unix-gdb.exp: Use new "file" proc.
23451
23452Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23453
23454 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23455 Rework board rebooting slightly.
23456 (gdb_exit): Don't exit from the remote shell; there isn't one.
23457 * gdb.stabs/weird.exp: If a program is being debugged already,
23458 kill it.
23459 * gdb.t04/setvar.exp: Stop and restart gdb.
23460 * gdb.t05/expr.exp: Likewise.
23461 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23462 restart gdb and reload the program.
23463 * gdb.t08/opaque.exp: Likewise.
23464 * gdb.t12/scope.exp: Likewise.
23465 * gdb.t13/bitfields.exp: Likewise.
23466 * gdb.t15/funcargs.exp: Likewise.
23467 * gdb.t20/classes.exp: Likewise.
23468 * gdb.t03/ptype.exp: Increase timeout.
23469 * gdb.t16/printcmds.exp (test_print_string_constants,
23470 test_print_array_constants): Likewise.
23471 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23472 * gdb.t20/classes.exp (do_tests): Likewise.
23473 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23474
23475Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23476
23477 * gdb.stabs: Renamed *wierd* to *weird*.
23478
23479Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23480
23481 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23482 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23483
23484Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23485
23486 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23487 (do_tests): Remove xfail for whatis on one_var and two_var.
23488
23489Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23490
23491 * Makefile.in: Made cross building work better by adding
23492 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23493
23494Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23495
23496 * gdb.t15/{return.c,return.exp,Makefile.in}:
23497 New test, currently commented out.
23498
23499Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23500
23501 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23502 still running and removes the leftover named socket so GDb can do
23503 clean restarts.
23504
23505Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23506
23507 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23508 console, not GDB.
23509 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23510 cross testing works better with "make check"
23511 * config/unix-gdb: Use default procedures for exit and version.
23512 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23513 with the newest VxWorks.
23514
23515Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23516
23517 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23518 old form.
23519
23520 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23521 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23522
23523 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23524
23525 * config/unix-gdb.exp: Remove this version of gdb_exit
23526 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23527 Rob says he'll look at it when he gets back to testing boards.
23528
23529Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23530
23531 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23532 an expected fail for certain ptype commands.
23533
23534 * gdb.t20/classes.exp: Update expected results of "ptype class
23535 Base1" to account for the constructor that now appears in the type.
23536
23537Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23538
23539 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23540 disappeared from list.
23541 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23542 "alldone" proc with call to cleanup and exit.
23543 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23544 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23545 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23546 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23547 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23548 "alldone" proc with simple returns that suppress remaining
23549 tests. The alldone proc went away many months ago.
23550
23551Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23552
23553 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23554
23555 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23556
23557Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23558
23559 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23560 as vax gdb will display them.
23561
23562Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23563
23564 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23565 optimizers.
23566
23567 * scope.exp: Change "bad value for localval" messages so each one
23568 is unique.
23569
23570 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23571 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23572
23573 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23574
23575Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23576
23577 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23578 doesn't exist (due to optimization).
23579
23580Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23581
23582 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23583 contains \r because the filename is long.
23584
23585 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23586 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23587
23588Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23589
23590 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23591 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23592 Ultrix.
23593 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23594 int tests.
23595 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23596
23597Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23598
23599 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23600
23601 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 23602 to match does not match the passing case but still matches the
c906108c
SS
23603 failing case.
23604
23605Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23606
23607 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23608
23609Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23610
23611 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23612 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23613 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23614 Remove various versions of gdb_exit.
23615 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23616 gdb_exit.
23617 * config/unix-gdb.exp: gdb_exit remains here, and should override
23618 the generic version, since it's doing a lot of wierd stuff that
23619 the other versions aren't. FIXME, fold it in, or abandon this
23620 version.
23621
23622Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23623
23624 * gdb.t24/demangle.exp: Add tests for PR 3220.
23625
23626Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23627
23628 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23629
23630Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23631
23632 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23633 "i386-*-*". Works for i486 as well.
23634
23635 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23636 bug, and expand domain of xfail to all SVR4 systems, since the
23637 actual problem is likely to be in generic SVR4 /proc support.
23638
23639Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23640
23641 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23642
23643Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23644
23645 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23646 xfails for other systems. Match a missing 'Continuing.' as an
23647 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23648
23649 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23650 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23651 Only issue warning for missing executables if -all option is used.
23652
23653 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23654 file if -all option is used. It's like an unpredictable XFAIL.
23655
23656Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23657
23658 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23659 for dynamically linked binaries.
23660
23661 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23662
23663Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23664
23665 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23666 to state that this is a known bug in old versions of g++.
23667
23668Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23669
23670 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23671 while waiting for `Continuing'.
23672
23673Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23674
23675 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23676 in text, data, and bss.
23677 * gdb.t10/nodebug.c: Add local and global test variables for
23678 initialized and uninitialized data.
23679
23680Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23681
23682 * config/unix-gdb.exp (gdb_exit): Add "wait".
23683
23684Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23685
23686 * gdb.t06/signals.exp: xfail the continue from the handler for all
23687 targets.
23688
23689 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23690 function with watchpoints enabled, the i386 call dummy starts with
23691 a call.
23692
23693 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23694 386 bsd names its corefiles.
23695
23696Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23697
23698 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23699 compilers don't grok it.
23700 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23701 with small octal ints rather than character constants, which
23702 are signed and might not fit if first promoted to int.
23703
23704Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23705
23706 * gdb.t09/Makefile.in (clean): Remove corefile.
23707
23708Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23709
23710 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23711
23712Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23713 and Jim Kingdon (kingdon@cygnus.com)
23714
23715 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23716 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23717 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23718
23719Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23720
23721 * gdb.t17/interrupt.exp: Add xfail for hppa.
23722
23723Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23724
23725 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23726 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23727 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23728 to determine signed-ness of bitfields and use the result to setup
23729 the xfail.
23730 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23731 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23732 call line is reached if necessary.
23733
23734Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23735
23736 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23737
23738Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23739
23740 * gdb.t06/break.exp: Also test `clear' command.
23741
23742Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23743
23744 * gdb.t00/teststrategy.exp: Remove extra quote.
23745
23746 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23747 watchpoint enabled to be for all non-68k machines.
23748
23749 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23750
23751Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23752
23753 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23754 targets use aout.mt instead of ecoff.mt as gas understands
23755 standard aout format.
23756
23757Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23758
23759 * lib/gdb.exp (runto): Don't insist that function we are running to
23760 was compiled with -g.
23761
23762 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23763
23764 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23765 to get back into the read system call.
23766 Accept leading newline in case where we woke it up.
23767
23768Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23769
23770 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23771 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23772 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23773 enable ecoff configuration.
23774
23775Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23776
23777 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23778
23779Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23780
23781 * gdb.t16/printcmds.exp: Add another printf test.
23782
23783Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23784
23785 * configure.in: If configured -with-stabs on any target, add
23786 stabsdirs to configdirs.
23787
23788Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23789
23790 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23791 fun" so pattern does not match the command itself.
23792
23793Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23794
23795 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23796
23797Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23798
23799 * gdb.t17/interrupt.exp: Test for more things.
23800
23801Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23802
23803 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23804 compiler arranges the code and line numbers.
23805
23806 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23807
23808Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23809
23810 * gdb.t00/help.exp: Increase expect input buffer size.
23811
23812Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23813
23814 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23815
23816 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23817
23818 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23819
23820 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23821 [0-9]*, not just [0-9].
23822
23823Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23824
23825 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23826
23827 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23828
23829Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23830
23831 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23832
23833Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23834
23835 * gdb.t06/signals.c: Add xfails for sun3.
23836
23837 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23838
23839 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23840 test_stepping tests.
23841
23842Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23843
23844 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23845
23846 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23847
23848 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23849 rather than actually putting it through cpp twice.
23850
23851 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23852
23853Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23854
23855 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23856 no longer needed.
23857
23858Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23859
23860 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23861
23862 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23863 C++ features prints as "struct", make it a pass, not an xfail.
23864
23865Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23866
23867 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23868 Don't require VA to print as "class" rather than "struct".
23869
23870Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23871
23872 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23873
23874Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23875
23876 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23877
23878Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23879
23880 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23881 order.
23882
23883Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23884
23885 * gdb.t16/printcmds.exp: Add printf tests.
23886
23887 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23888
23889 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23890
23891Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23892
23893 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23894 pass counts, to counteract any existing or future setup_xfails.
23895
23896Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23897
23898 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23899 {BEGIN,END}_COMMON for common block instead of STAB.
23900 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23901
23902 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23903 intp_var should be N_GSYM not N_LSYM.
23904 wierd-aout.S: Use a label for the value of the N_SO.
23905 wierd.def: Remove all backslashes.
23906 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23907
23908Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23909
23910 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23911 get the expected next to inheritance3.
23912
23913Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23914
23915 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23916 now that gcc-2.4 gets it right.
23917
23918Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23919
23920 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23921
23922 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23923 generating comp-info.exp which works for cross-compilation.
23924
23925Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23926
23927 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23928 "*-*-sysv4.*".
23929
23930Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23931
23932 * gdb.t01/run.exp: Start with a fresh gdb.
23933 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23934 SVR4.x.
23935
23936Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23937
23938 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23939 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23940 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23941 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23942 things to remove.
23943
23944Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23945
23946 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23947 test cases from bug reports.
23948
23949Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23950
23951 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23952 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23953 avoid spurious xfails.
23954 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23955 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23956 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23957
23958Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23959
23960 * gdb.t00/teststrategy.exp: Rework to provide more useful
23961 description of each test, fix problem with systems that define
23962 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23963 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23964 results for "next over recursive call" so timeouts aren't taken
23965 by error.
23966
23967Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23968
23969 * gdb.t12/scope.exp: Test printing of variables before run.
23970
23971 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23972 printed in wrong order due to sorting.
23973
23974Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23975
23976 * gdb.t00/teststrategy.exp: Fix expected results for printing
23977 user entered string constant. Is array of char, prints with no
23978 address.
23979
23980 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23981 commands.
23982 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23983 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23984 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23985 of struct of char arrays.
23986 * gdb.t00/radix.exp: New tests for radix commands.
23987
23988Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23989
23990 * gdb.t16/printcmd.exp: Print a variable before running program
23991 (with xfail for AIX).
23992
23993Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23994
23995 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23996
23997 * gdb.t16/printcmd.exp: Don't print variables before running program.
23998
23999 * gdb.t06/break.exp: Don't require envp argument to main.
24000
24001 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24002
24003 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24004 Add xfails for rs6000.
24005
24006 * gdb.t02/whatis.exp: Change other tests not to re-test something
24007 we already tested.
24008
24009 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24010 each type used has a variable of that type.
24011
24012Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24013
24014 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24015
24016Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24017
24018 * configure.in: change srctrigger to be a file, not a directory
24019
24020Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24021
24022 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24023
24024 * gdb.t11/list.exp: Fixed a couple of typos.
24025
24026Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24027
24028 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24029 is fixed and PR is closed.
24030 * gdb.t16 (gdbme.c): Add simple test string variable.
24031 * gdb.t16 (printcmds.exp): Add tests with simple test string
24032 variable, primarily for boundaries on "set print elements".
24033
24034Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24035
24036 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24037 Make leading 0's optional and don't expect a tab in the middle
24038 of the number.
24039
24040 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24041
24042 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24043 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24044 don't end command passed to gdb_test with newline.
24045
24046 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24047 signed keyword away, don't expect signed bitfields to be signed.
24048
24049 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24050 printing with only as many 1's as are in the field as well as printing
24051 with 32 1's (see comment).
24052
24053Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24054
24055 * gdb.t00/default.exp: Start with a fresh gdb.
24056 * configure.in (configdirs): Remove gdb.t31 until the chill
24057 compiler works again. It no longer is able to find chillrt0
24058 since it isn't in libchill.a anymore.
24059 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24060 wierd.o, make more modular.
24061 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24062 spurious newlines that caused problems.
24063
24064Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24065
24066 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24067 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24068 gdb.stabs/wierd.{exp,def}: Many new tests.
24069
24070 * gdb.t00/default.exp: update info line for new message.
24071
24072 * gdb.t02/{whatis.exp,gdbme.c}:
24073 Test that "char *" doesn't print as "caddr_t".
24074
24075Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24076
24077 * gdb.t00/help.exp: Use .* in place of some help messages which
24078 just changed.
24079 gdb.t00/default.exp: Update "info frame" test for new message.
24080 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24081 Remove some xfails
24082
24083Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24084
24085 * gdb.t03/{gdbme.c,ptype.exp}:
24086 Add tests for typedef'd struct and union without tags.
24087 Also check "whatis" on a variable of a typedef'd enum without a tag.
24088
24089 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24090 PRMS 1823; the bug still exists but isn't reproduced by this test
24091 anymore), and remove rs6000 XFAIL (the bug is fixed).
24092
24093 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24094 duplicated from whatis.exp. For those that are left, accept
24095 "long", "long int", or "int" for long variables (whatis.exp already
24096 has an XFAIL for "int", so no need to fail it here).
24097
24098 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24099 Deal with GCC's names for types now that GDB uses the compiler's names.
24100
24101 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24102 setup_xfail's for sunos4. If we #defined the signed keyword away,
24103 don't expect GDB to know that char it is signed.
24104
24105 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24106
24107Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24108
24109 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24110 should work on any system, regardless of debugging format.
24111 * gdb.t21/demangle.exp: Move to gdb.t24.
24112 * gdb.t24/demangle.exp: Move from gdb.t21.
24113 * gdb.t24/{Makefile.in, configure.in}: New files.
24114
24115Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24116
24117 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24118 * gdb.stabs: New directory.
24119
24120Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24121
24122 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24123 not just "Quit anyway?".
24124
24125Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24126
24127 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24128 that all setup_xfails are immediately followed by clear_xfails.
24129
24130Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24131
24132 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24133 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24134 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24135 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24136 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24137 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24138 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24139 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24140 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24141 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24142 gdb.t31/chillvars.exp, lib/gdb.exp:
24143 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24144 bug-gdb@prep.ai.mit.edu.
24145
24146Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24147
24148 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24149 with 0.0, not integer 0.
24150
24151Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24152
24153 * gdb.t06/break.exp: Update for "Kill the program" message change.
24154
24155Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24156
24157 * Makefile.in (GDBFLAGS): Set to -nx.
24158 * Makefile.in (site.exp): Use GDBFLAGS.
24159
24160Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24161
24162 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24163 Makefiles.
24164 (check): depend on just-check.
24165 (just-check): added so that tests can be run without a noop
24166 build pass.
24167
24168Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24169
24170 Switch to using configure's configdirs.
24171 * Makefile.in (Makefile): add configure.in dependency.
24172 (SUBDIRS): removed redundant assignment.
24173 * configure.in: switch subdirs assignment to configdirs.
24174 * gdb.t*/configure.in: new files.
24175
24176Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24177
24178 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24179 works.
24180
24181Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24182
24183 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24184 in explicit rules. Apparently this is not supported by some makes.
24185
24186Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24187
24188 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24189
24190Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24191
24192 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24193 disappeared.
24194
24195Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24196
24197 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24198
24199Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24200
24201 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24202 watchpoint problem that is now fixed.
24203 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24204 uninitialized convenience variables.
24205 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24206 structures.
24207
24208Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24209
24210 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24211 which causes expect to get out of sync with gdb on long output
24212 from help set.
24213 * gdb.t09/corefile.exp: Make expected pattern for core file
24214 failing signal and frame output format less sun specific.
24215
24216Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24217
24218 * gdb.t31/chillvars.exp: Add and remove initial dummy
24219 breakpoint, so that symbol table is forced in.
24220 (Needed at least on Sunos4, though it seems not SVR4.)
24221 * gdb.t31/chillvars.exp: Update for changed output format.
24222
24223Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24224
a9c64011 24225 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
24226
24227Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24228
24229 * Makefile.in: Added --srcdir when invoking runtest, removed the
24230 need for a local config file. (optional now)
24231
24232Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24233
24234 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24235 failure count used to force early termination. Add some more
24236 expected failures for gnu style demangling.
24237
24238Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24239
24240 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24241 pmi variable from gdb.t20/gdbme to get optimized away.
24242 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24243 Check for written corefile upon timeout _and_ eof.
24244
24245Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24246
24247 * config/unix-gdb.exp: Add missing return 0.
24248
24249Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24250
24251 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24252 test termination.
24253
24254Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24255
24256 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24257 disappeared.
24258
24259Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24260
24261 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24262 time as i860 support works.
24263
d63a86f8 24264 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
24265 "backtrace 100\r" rather than just "backtrace\r", to match last
24266 change.
24267
24268Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24269
24270 * config/udi-gdb.exp (gdb_exit): Remove close command.
24271 (gdb_target_udi): New procedure to set the UDI target.
24272 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24273 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24274 Added waits for prompts after several question responses. Added
24275 some more responses used by a29k-amd-udi-gdb.
24276 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24277 pass different arguments, restart UDI connection after program
24278 completion.
24279 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24280 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24281 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24282 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24283 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24284 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24285 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24286 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24287 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24288 after program completion.
24289 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24290 compiled with a SELECT_VECS setting.
24291 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24292 infinite recursion.
24293
24294 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24295 Added checks for COFF results, and made them expected failures for
24296 all targets. It would be better to make them expected failures
24297 for COFF targets only.
24298
24299Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24300
24301 * Makefile.in: add null dvi target, don't bother to recurse
24302 through test directories for info and install-info; rename
24303 $(datadir) to be dejagnu instead of deja-gnu
24304
24305Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24306
24307 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24308 compiler to coredump.
24309 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24310 code.
24311
24312Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24313
24314 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24315 coredump.
24316 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24317 code.
24318
24319Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24320
24321 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24322 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24323 which in a shell. Deletes xgdb when done.
24324 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24325 Tests the return from the "set height" or "set width" commands.
24326 Added a few return codes where needed.
24327
24328Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24329
24330 * Makefile.in (SUBDIRS): Add gdb.t17.
24331 * configure.in (subdirs): Add gdb.t17.
24332 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24333 files to test gdb's calling of functions in the inferior with
24334 the correct arguments and gdb's ability to retrieve any
24335 result returned.
24336
24337Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24338
24339 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24340 may be called after gdb goes away. Previous versions of expect
24341 needed these to avoid file descriptor leaks, but they cause
24342 errors with the current revision of expect.
24343 * gdb.t00/gdbvars.exp: Use -re on expected output after
24344 setting sevenbit-strings.
24345 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24346 to set sevenbit-strings consistent across tests.
24347 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24348 set sevenbit-strings consistent across tests.
24349
24350Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24351
24352 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24353 expected output to match current "expect" expectations.
24354
24355Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24356
24357 * gdb.t00/default.exp: Change expected output for default "source"
24358 command, to match new gdb behavior which requires a filename to
24359 source.
24360
24361Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24362
24363 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24364 expected fail for i486-*-* that misses the marker2 function.
24365 * gdb.t10/crossload.exp (bfddefault): Allow successful
24366 recognition of a format to pass even if no symbols are found.
24367 Explicitly catch failures where the format is not recognized
24368 or is ambiguous, and add the reason to the fail message.
24369 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24370 the cause is and invalid target and add reason to failure message.
24371 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24372 elf32-i386, elf32-sparc, and elf32-i860.
24373 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24374 Set up expected failure for 'filename'::variable scope resolution,
24375 which is now apparently broken on all targets.
24376 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24377 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24378 gdb.t23/templates.exp: Change failure for missing binfile into
24379 just a warning.
24380 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24381 references.
24382
24383Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24384
24385 * gdb.t00/default.exp: Add expected output for default "source"
24386 command, to match new gdb behavior.
24387 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24388
24389Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24390
24391 * config/*-gdb.exp: returns an error, rather than exiting on
24392 internal errors.
24393
24394Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24395
24396 * gdb.t03/gdbme.c: Add pointer to struct variable.
24397 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24398 referencing struct members.
24399
24400Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24401
24402 * configure.in (mips-idt-ecoff): New target.
24403 * config/mips-gdb.exp: New file for remote board using MIPS remote
24404 debugging protocol.
24405
24406 * Redid configuration scheme. Removed gdb.t*/configure.in.
24407 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24408 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24409 distclean targets. Built executables via .o files. Adjusted
24410 tests to account for source files in $(srcdir) rather than
24411 $(objdir).
24412 * lib/gdb.exp (runto): Don't expect () after the function name,
24413 because it may have arguments.
24414
24415Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24416
24417 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24418 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24419 expected failures for mips-idt-* and mips-sgi-*.
24420 * gdb.t00/default.exp (attach): Kill process if requested.
24421 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24422 that does not read core files.
24423 * gdb.t01/run.exp: Removed checks for exit status code.
24424 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24425 it is linked in.
24426 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24427 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24428 appropriate, rather than doing it by hand.
24429 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24430 execution.
24431 * gdb.t10/crossload.exp: Kill existing program if needed.
24432 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24433 appropriate, rather than doing it by hand. Always increase
24434 timeout for this test, not just for VxWorks.
24435
24436Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24437
24438 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24439 of Chill STRUCT types and STRUCT values.
24440 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24441 than "char".
24442 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 24443 struct2): New struct definitions and initializations to test
c906108c
SS
24444 simple Chill STRUCT types.
24445
24446Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24447
24448 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24449 the null byte at the end of strings.
24450 * gdb.t00/default.exp: Make show version insensitive to copyright
24451 date.
24452 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24453 to avoid dependencies on target char signedness.
24454 * gdb.t16/printcmds.exp: Update expected results for explicitly
24455 unsigned char.
24456 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24457 now work.
24458 * gdb.t21/demangle.exp: Add many more patterns for template
24459 demangling, most of them being expected failures.
24460 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24461 string we are matching for, to match on the whole string.
24462 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24463 and fix a whole bunch that had incorrect expected output but were
24464 passing anyway because of the bug in "proc demangle".
24465 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24466 type.
24467 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24468
24469Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24470
a9c64011
AS
24471 * gdb/testsuite: made modifications to testcases, etc., to allow
24472 them to work properly given the reorganization of deja-gnu and the
24473 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
24474
24475Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24476
24477 * gdb/testsuite: Initial creation of gdb/testsuite.
24478 Migrated dejagnu testcases and support files for testing nm to
24479 gdb/testsuite from deja-gnu. These files were moved "as is"
24480 with no modifications. This migration is part of a major overhaul
24481 of dejagnu. The modifications to these testcases, etc., which
24482 will allow them to work with the new version of dejagnu will be
24483 made in a future update.
48efe704 24484
8d8cb839 24485 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 24486\f
8d8cb839
EZ
24487;; Local Variables:
24488;; mode: change-log
24489;; left-margin: 8
24490;; fill-column: 74
24491;; version-control: never
24492;; End:
902f2ccb
MC
24493
24494 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 24495 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
24496 Copying and distribution of this file, with or without modification,
24497 are permitted provided the copyright notice and this notice are preserved.