]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix races in gdb.mi/mi-nsmoribund.exp.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d0b1d624
MP
12011-06-20 Marek Polacek <mpolacek@redhat.com>
2
3 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
4 mi_gdb_test.
5
79aa92c1
MP
62011-06-20 Marek Polacek <mpolacek@redhat.com>
7
8 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
9
5ce5db06
YQ
102011-06-14 Yao Qi <yao@codesourcery.com>
11
12 gdb/testsuite/
13 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
14
533a737e
JK
152011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16
17 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
18
d0e53741
TT
192011-06-10 Tom Tromey <tromey@redhat.com>
20
21 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
22 Add tests for pointer-to-member-function.
23 * gdb.cp/temargs.cc (S::somefunc): New function.
24 (K2): New class.
25 (main): Instantiate K2; call method.
26
b5916bbd
JB
272011-06-08 Joel Brobecker <brobecker@adacore.com>
28
29 * gdb.python/py-inferior.c (f2): Make str an array rather
30 than a pointer.
31 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
32
5be4dfca
JK
332011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
34
35 * gdb.base/async-shell.c: New file.
36 * gdb.base/async-shell.exp: New file.
37
9f47e254
PA
382011-06-06 Pedro Alves <pedro@codesourcery.com>
39
40 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
41
64b9b334
JB
422011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
43
44 From Stephen Kitt <steve@sk2.org>
45 * gdb.base/help.exp: Adjust following some spelling corrections
46 in GDB.
47
dbc0f131
YQ
482011-06-01 Yao Qi <yao@codesourcery.com>
49
50 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
51
fd336a18
KS
522010-05-31 Keith Seitz <keiths@redhat.com>
53
54 PR c++/12750
55 * gdb.cp/static-method.cc: New file.
56 * gdb.cp/static-method.exp: New file.
57
fa8b9902
KS
582010-05-31 Keith Seitz <keiths@redhat.com>
59
60 PR symtab/12704
61 * gdb.cp/anon-ns.cc: New file.
62 * gdb.cp/anon-ns.exp: New file.
63
0a5b1e09
PA
642011-05-31 Pedro Alves <pedro@codesourcery.com>
65
66 * gdb.arch/i386-dr3-watch.c: New file.
67 * gdb.arch/i386-dr3-watch.exp: New file.
68
0578b8d1
YQ
692011-05-30 Yao Qi <yao@codesourcery.com>
70
71 * gdb.base/callfuncs.c (t_structs_fc): New.
72 (t_structs_dc, t_structs_ldc): New.
73 (t_double_many_args):
74 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
75 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
76 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
77 * gdb.base/callfuncs.exp: Call new functions.
78
6680506e
YQ
792011-05-30 Yao Qi <yao@codesourcery.com>
80
ff4d2c60
YQ
81 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
82 Call rerun_and_prepare for each test to isolate effects.
83
842011-05-30 Yao Qi <yao@codesourcery.com>
85
86 * gdb.base/varargs.c (find_max_float_real): New.
87 (find_max_double_real, find_max_long_double_real): New.
88 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
89 * lib/gdb.exp (setup_kfail_for_target): New.
90
e43ec454
YQ
912011-05-30 Yao Qi <yao@codesourcery.com>
92
93 * gdb.base/funcargs.c (callca, callcb, callcc): New.
94 (callcd, callce, callcf, callc1a, callc1b): New.
95 (callc2a, callc2b): New.
96 * gdb.base/funcargs.exp (complex_args): New.
97 (complex_integral_args, complex_float_integral_args): New.
98 * lib/gdb.exp (support_complex_tests): New. Determine
99 whether to run test cases on _Complex types.
100
432b4d03
JK
1012011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
102
103 * gdb.threads/leader-exit.c: New file.
104 * gdb.threads/leader-exit.exp: New file.
105
6caf069d
MP
1062011-05-27 Marek Polacek <mpolacek@redhat.com>
107
108 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
109
97fce28b
MP
1102011-05-27 Marek Polacek <mpolacek@redhat.com>
111
112 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
113 remove the `supported' variable.
114 * gdb.mi/mi-nonstop.exp: Likewise.
115 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
116 * gdb.mi/mi-nsintrall.exp: Likewise.
117 * gdb.mi/mi-nsmoribund.exp: Likewise.
118 * gdb.mi/mi-nsthrexec.exp: Likewise.
119
9da8c2a0
PA
1202011-05-26 Pedro Alves <pedro@codesourcery.com>
121
122 * gdb.reverse/finish-reverse-bkpt.exp: New test.
123
2c03e5be
PA
1242011-05-26 Pedro Alves <pedro@codesourcery.com>
125
126 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
127
2e21250d
KS
1282011-05-24 Keith Seitz <keiths@redhat.com>
129
130 PR breakpoint/12803
131 * gdb.cp/cmpd-minsyms.cc (a): New method.
132 (b): New method.
133 (c): New method.
134 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
135
cdac0397
PA
1362011-05-24 Pedro Alves <pedro@codesourcery.com>
137
138 * gdb.base/commands.exp (watchpoint_command_test): Check that the
139 watchpoint's command list didn't execute when the watchpoint went
140 out of scope.
141
ee5683ab
PM
1422011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
143
144 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
145 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
146 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
147 * gdb.arch/i386-gnu-cfi.exp: Likewise.
148 * gdb.arch/i386-permbkpt.exp: Likewise.
149 * gdb.arch/i386-prologue.exp: Likewise.
150 * gdb.arch/i386-size-overlap.exp: Likewise.
151 * gdb.arch/i386-size.exp: Likewise.
152 * gdb.arch/i386-unwind.exp: Likewise.
153 * gdb.reverse/i386-precsave.exp: Likewise.
154 * gdb.reverse/i386-reverse.exp: Likewise.
155 * gdb.reverse/i386-sse-reverse.exp: Likewise.
156 * gdb.reverse/i387-env-reverse.exp: Likewise.
157 * gdb.reverse/i387-stack-reverse.exp: Likewise.
158
c91c8c16
PA
1592011-05-24 Pedro Alves <pedro@codesourcery.com>
160
161 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
162 file doesn't error, using MI.
163
c50491a7
TT
1642011-05-23 Tom Tromey <tromey@redhat.com>
165
166 * gdb.base/charset.exp (string_display): Add tests to assign to
167 arrays.
168 * gdb.base/charset.c (short_array, int_array, long_array): New.
169
4a07b7da
PA
1702011-05-20 Pedro Alves <pedro@codesourcery.com>
171
172 Cope with async mode.
173
4a07b7da
PA
174 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
175 into gdb_test + mi_expect_stop.
176
b275f2d2
PA
1772011-05-20 Pedro Alves <pedro@codesourcery.com>
178
179 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
180 (callme): Remove printf call.
181
eec52c44
PM
1822011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
183
184 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
185 quote pattern to avoid problems with Cygwin/mingw expect versions.
186 * gdb.base/default.exp (show convenience): Use double
187 quote pattern for regular expressions.
188
b3c8eb43
JK
1892011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
190
191 Fix -readnow for -gdwarf-4 unused type units.
192 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
193 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
194
ed731959
JK
1952011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
196
197 * gdb.base/kill-after-signal.c: New file.
198 * gdb.base/kill-after-signal.exp: New file.
199
3b48433d
PA
2002011-05-16 Pedro Alves <pedro@codesourcery.com>
201
202 * gdb.ada/start.exp: Call untested with the correct test filename.
203 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
204 test filename. Make the test's binary unique.
205 * gdb.arch/i386-signal.exp: Call untested with the correct test
206 filename.
207 * gdb.arch/i386-size-overlap.exp: Ditto.
208 * gdb.arch/Makefile.in (EXECUTABLES): Update.
209 * gdb.base/gcore-buffer-overflow.exp: Ditto.
210 * gdb.cp/call-c.exp: Ditto.
211 * gdb.mi/mi-reverse.exp: Call untested with the correct test
212 filename. Make the test's binary unique.
213 * gdb.mi/Makefile.in (EXECUTABLES): Update.
214 * gdb.python/py-mi.exp: Ditto.
215 * gdb.python/Makefile.in (EXECUTABLES): Update.
216 * gdb.reverse/i386-precsave.exp: Ditto.
217 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
218 test filename.
219 * gdb.reverse/i387-stack-reverse.exp: Ditto.
220 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
221 unique.
222 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
223 test filename.
224 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
225 * gdb.trace/tfile.exp: Ditto.
226
ba4a8bdd
YQ
2272011-05-14 Yao Qi <yao@codesourcery.com>
228
229 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
230 type.
231
dbaefcf7
DE
2322011-05-13 Doug Evans <dje@google.com>
233
234 * gdb.python/py-objfile-script.exp: New file.
235 * gdb.python/py-objfile-script.c: New file.
236 * gdb.python/py-objfile-script-gdb.py: New file.
237 * testsuite/gdb.python/py-section-script.exp: Test
238 "info auto-load-scripts".
239
9930639c
TT
2402011-05-13 Tom Tromey <tromey@redhat.com>
241
242 * gdb.dwarf2/clztest.exp: New file.
243 * gdb.dwarf2/clztest.c: New file.
244 * gdb.dwarf2/clztest.S: New file.
245
05272e11
DE
2462011-05-13 Doug Evans <dje@google.com>
247
cc63ef9b
DE
248 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
249 String16 tests.
05272e11 250
6edba76f
TT
2512011-05-13 Tom Tromey <tromey@redhat.com>
252
253 * lib/gdb.exp (is_x86_like_target): New proc.
254 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
255 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
256 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
257 -nostdlib to compiler.
258 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
259 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
260 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
261 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
262 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
263
028d0ed5
TJB
2642011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
265
266 * gdb.python/py-function.exp: Test setting a value from a function
267 which executes a command.
268
8a9b8146
TT
2692011-05-12 Tom Tromey <tromey@redhat.com>
270
271 * gdb.dwarf2/typeddwarf.S: New file.
272 * gdb.dwarf2/typeddwarf.c: New file.
273 * gdb.dwarf2/typeddwarf.exp: New file.
274
10483e8e
MP
2752011-05-12 Marek Polacek <mpolacek@redhat.com>
276
277 * gdb.mi/mi-basics.exp: Fix races. Honour the
278 `test_exec_and_symbol_mi_operatons' return value.
279 (test_mi_interpreter_selection): Use mi_gdb_test instead of
280 gdb_test_multiple.
281 (test_exec_and_symbol_mi_operatons): Likewise.
282 (test_path_specification): Likewise.
283
faf067f1
JK
2842011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
285
286 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
287 (gdb_touch_execfile): Remove catch wrappers. New variable time.
288 Replace `file copy' and `file rename' by `file mtime'. Twice.
289
7ff911a3
JK
2902011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
291
292 * gdb.base/readline-ask.c: New file.
293 * gdb.base/readline-ask.exp: New file.
294 * gdb.base/readline-ask.inputrc: New file.
295
a536c6d7
UW
2962011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
297
298 * gdb.cell/bt.exp: Delete breakpoints before running to signal
299 to avoid race condition.
300 * gdb.cell/coremaker.c: Use small stack size.
301 * gdb.cell/ea-standalone.exp: Use file name without path as
302 argument to c_to.
303 * gdb.cell/fork.exp: Allow other output when continuing to end.
304
d472a426
JK
3052011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
306
307 * gdb.threads/corethreads.c: New file.
308 * gdb.threads/corethreads.exp: New file.
309
3102011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
311
312 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
313 Try to compile the test using -Wl,-z,norelro first.
314 (load_core): New variable libthread_db_seen, initialize it.
315 (zeroed-threads cannot be listed): Protect it by XFAIL on
316 !$libthread_db_seen.
317
8be455d7
JK
3182011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
319
320 PR 12573
321 * gdb.dwarf2/dw2-skip-prologue.S: New file.
322 * gdb.dwarf2/dw2-skip-prologue.c: New file.
323 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
324
1976171a
JK
3252011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
326
327 * gdb.cp/psymtab-parameter.cc: New file.
328 * gdb.cp/psymtab-parameter.exp: New file.
329
7db6f30f
JK
3302011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
331
332 Fix a race.
333 * gdb.cp/static-print-quit.exp (print c): Split to ...
334 (print c - <return>, print c - q <return>, print c - to quit):
335 ... these. Make the testfile untested on gdb-7.1.
336
85161e9e 3372011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
338
339 * lib/gdb.exp (exec_target_file, exec_symbol_file,
340 gdb_rename_execfile, gdb_touch_execfile): New.
341 * gdb.base/reread.exp: Use new procs to handle multiple
342 exec files.
343
0c51be18
YQ
3442011-05-05 Yao Qi <yao@codesourcery.com>
345
346 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
347 (test_adr_32bit, test_pop_pc): New.
348 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
349 (test_adr_32bit, test_pop_pc): New.
350
4d393d60
JM
3512011-05-04 Joseph Myers <joseph@codesourcery.com>
352
353 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
354 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
355 targets.
356 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
357 handle targets.
358
8ffd0459
JK
3592011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
360
361 * gdb.base/completion.exp (complete help info wat): Rename to ...
362 (complete 'help info wat'): ... here.
363 Remove all `-re ".*' and `-re "^.*' redundant regexes.
364 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
365
8e28d804
PA
3662011-05-04 Pedro Alves <pedro@codesourcery.com>
367
368 * gdb.base/completion.exp: Use gdb_test_multiple instead of
369 gdb_test and explicit $gdb_prompt/timeout matches.
370
3eb2ef34
YQ
3712011-05-04 Yao Qi <yao@codesourcery.com>
372
373 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
374 and __thumb2__.
375
aaaf81a3
MP
3762011-05-03 Marek Polacek <mpolacek@redhat.com>
377
378 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
379 in place of `gdb_test "delete breakpoints"'. This eliminates two
380 testcases.
381
c4cbc0df
PA
3822011-05-02 Pedro Alves <pedro@codesourcery.com>
383
384 PR testsuite/12649
385 Fix races.
386
387 * gdb.base/completion.exp: Remove all sleep calls. Remove
388 unnecessary regexs. Don't explicitly expect anything after the
389 prompt. Eat the prompt if necessary.
390
b4cbb4a3
EBM
3912011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
392
393 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
394 accept to show the caller line again as well as the line after.
395
d65aec65
PM
3962011-04-29 Phil Muldoon <pmuldoon@redhat.com>
397
398 PR mi/12531
399
400 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
401 compile target.
402 * gdb.python/py-prettyprint.exp: Add C++ object for
403 CPLUS_FAKE_CHILD test.
404
30852783
UW
4052011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
406
407 * gdb.base/signest.exp: New file.
408 * gdb.base/signest.c: Likewise.
409
c7b1f0d9
JK
4102011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
413 thread and breakpoint notifications.
414
559a7a62
JK
4152011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
416
417 * gdb.base/fortran-sym-case.c: New file.
418 * gdb.base/fortran-sym-case.exp: New file.
419 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
420 * gdb.dwarf2/dw2-case-insensitive.c: New file.
421 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
422
8344e389
JK
4232011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
424
425 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
426 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
427 false #1', `if true else false #2' and `if true else false #3'.
428
2484c66b
UW
4292011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
430
431 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
432 while delivering signal.
433
8d3788bd
VP
4342011-04-27 Vladimir Prus <vladimir@codesourcery.com>
435
436 MI breakpoint notifications.
437
438 * testsuite/gdb.mi/mi-cli.exp: Adust.
439 * testsuite/gdb.mi/mi2-cli.exp: Adust.
440 * testsuite/gdb.mi/mi-watch.exp: Adust.
441 * testsuite/gdb.mi/mi2-watch.exp: Adust.
442 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
443 notifications.
444
3e03848b
JK
4452011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
446
447 * gdb.base/gdbindex-stabs-dwarf.c: New file.
448 * gdb.base/gdbindex-stabs.c: New file.
449 * gdb.base/gdbindex-stabs.exp: New file.
450
918c9108
YQ
4512011-04-25 Yao Qi <yao@codesourcery.com>
452
453 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
454 with /*...*/.
455 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
456
90556b8c
JK
4572011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
458
459 * gdb.python/py-value.exp (test_objfiles): Name the first test
460 `py-value in file.filename'.
461
03f2bd59
JK
4622011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
463
464 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
465 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
466 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
467 !gdbserver_reconnect_p..
468 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
469
7b08b9eb
JK
4702011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
471
472 * gdb.cp/cpcompletion.exp (complete class methods)
473 (complete class methods beginning with F): Move them above runto. New
474 comment about the runto delimiter.
475
b78974c3
PA
4762011-04-20 Pedro Alves <pedro@codesourcery.com>
477
478 * gdb.base/maint.exp: Test that "maint print registers" works
479 without a running program.
480
20429c40 4812011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 482
20429c40
MP
483 * gdb.base/setshow.exp: Fix racy tests.
484 ($old_gdb_prompt): New variable.
485
7a9dd1b2
TT
4862011-04-19 Tom Tromey <tromey@redhat.com>
487
488 * gdb.mi/mi-nsmoribund.exp:
489 * gdb.hp/gdb.objdbg/objdbg01.exp:
490 * gdb.base/structs.exp (test_struct_returns):
491 * gdb.base/call-sc.exp (test_scalar_returns):
492 * gdb.base/bigcore.exp: Remove duplicate words.
493
02835898
JK
4942011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
495
496 * gdb.base/break-interp-lib.c (v, vptr): New variables.
497 * gdb.base/break-interp.exp (test_attach): New comment.
498
254f582e
JK
4992011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
500
501 * gdb.threads/gcore-thread.exp ($core0file): New variable.
502 (clear __stack_user.next, clear stack_used.next)
503 (save a zeroed-threads corefile): New test.
504 Call core_load for $core0file.
505 (zeroed-threads cannot be listed): New test.
506
4fe85f5c
JK
5072011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
508
509 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
510 filename.
511 ($srcfile): Preserve the original value.
512 ($testfile): Match it the .exp filename.
513 ($corefile): New variable. Substitute it around.
514 Use clean_restart.
515 ($prev_timeout): Remove.
516 (load_core): Move core loading into this proc.
517 Fix restore of $timeout if load_core fails.
518
63524580
JK
5192011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
520
521 * gdb.base/eu-strip-infcall.c: New file.
522 * gdb.base/eu-strip-infcall.exp: New file.
523
90359a16
JK
5242011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
525
526 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
527 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
528
626e7282
JK
5292011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
530
531 Fix Python access to inlined frames.
532 * gdb.python/py-frame-inline.c: New file.
533 * gdb.python/py-frame-inline.exp: New file.
534
3363d018
EBM
5352011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
536
537 * gdb.base/gdb1090.exp: Change breakpoint location to read the
538 content of 's24' correctly (avoiding "optimized out").
539 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
540
28781456
JK
5412011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
542
543 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
544
4a4106ca
TJB
5452011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
546
547 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
548 expect a colon in watch -location output.
549
d26ccb4f
JK
5502011-04-13 Marek Polacek <mpolacek@redhat.com>
551
552 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
553 New testcase `expect response to define backtrace'. Also remove
554 redundant `default' block.
555
e1ab1f9c
JK
5562011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
557
558 * gdb.python/py-prettyprint.c (struct hint_error): New.
559 (main): New variable hint_error.
560 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
561 "print hint_error".
562 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
563 (register_pretty_printers): Register it.
564
0c2e6019
TT
5652011-04-04 Tom Tromey <tromey@redhat.com>
566
567 * gdb.cp/maint.exp (test_help): Update.
568 (test_namespace): Likewise.
569
af57139d
JB
5702011-04-01 Joel Brobecker <brobecker@adacore.com>
571
572 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
573 * gdb.ada/arrayptr.exp: Add new tests.
574
956a9fb9
JB
5752011-04-01 Joel Brobecker <brobecker@adacore.com>
576
577 * gdb.ada/mi_catch_ex: New testcase.
578
d0c4d642
PA
5792011-04-01 Pedro Alves <pedro@codesourcery.com>
580
581 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
582 base::overload(void) method without specifying "const".
583
18819fa6
UW
5842011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
585
586 * gdb.arch/thumb-singlestep.S: New file.
587 * gdb.arch/thumb-singlestep.exp: Likewise.
588
a4c8e806
TT
5892011-03-31 Tom Tromey <tromey@redhat.com>
590
591 * gdb.python/py-prettyprint.py (exception_flag): New global.
592 (NoStringContainerPrinter._iterator.next): Check it.
593 * gdb.python/py-prettyprint.c (main): New variable nstype2.
594 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
595
53832f31
TT
5962011-03-29 Tom Tromey <tromey@redhat.com>
597
598 * gdb.cp/anon-struct.cc: New file.
599 * gdb.cp/anon-struct.exp: New file.
600
e4620230
JK
6012011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
602
603 Test STT_GNU_IFUNC support.
604 * gdb.base/gnu-ifunc-lib.c: New file.
605 * gdb.base/gnu-ifunc.c: New file.
606 * gdb.base/gnu-ifunc.exp: New file.
607
d0fb5eae
JK
6082011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
609
610 Support a ring of related breakpoints.
611 * gdb.base/watchpoint-delete.c: New file.
612 * gdb.base/watchpoint-delete.exp: New file.
613
20106cfb
JK
6142011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
615
616 * gdb.ada/arrayparam.exp (print first after function call): Use
617 explicit package name. Add a comment
618 (print lasta after function call): Rename ...
619 (print last after function call): ... it and use explicit package
620 name.
621 (print length after function call): Use explicit package name.
622 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
623 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
624 (multiple matches for symbol i): Rename ...
625 (multiple matches for symbol integervar): ... it.
626 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
627 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
628
e7ab5e63
AB
6292011-03-25 Andrew Burgess <aburgess@broadcom.com>
630
631 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
632 environment variable to make grep output more predictable. Move
633 all the environment setup into gdb_init so it's done once per test
634 case rather than each time we start gdb.
635
9ef07c8c
TT
6362011-03-24 Tom Tromey <tromey@redhat.com>
637
638 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
639 test.
640
dd90784c
JK
6412011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
642
643 * gdb.dwarf2/dw2-entry-value-main.c: New file.
644 * gdb.dwarf2/dw2-entry-value.S: New file.
645 * gdb.dwarf2/dw2-entry-value.exp: New file.
646
05775840
PM
6472011-03-22 Phil Muldoon <pmuldoon@redhat.com>
648
649 PR python/12183
650
651 * gdb.python/py-function.exp: Add GdbError tests.
652
8661b11b
PA
6532011-03-18 Pedro Alves <pedro@codesourcery.com>
654
655 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
656 (reglocal_test_func, statlocal_test_func): New functions.
657 (globals_test_func): Call new functions.
658 * gdb.trace/unavailable.exp (gdb_collect_args_test)
659 (gdb_collect_locals_test): New procedure.
660 (gdb_trace_collection_test): Call new procedures.
661
0fdb4f18
PA
6622011-03-18 Pedro Alves <pedro@codesourcery.com>
663
664 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
665 (test_register, test_register_unavailable): New procedures.
666 (gdb_unavailable_registers_test): New procedure.
667 (gdb_trace_collection_test): Call it.
668
99c3dc11
PM
6692011-03-18 Phil Muldoon <pmuldoon@redhat.com>
670
671 PR python/12149
672
673 * gdb.python/python.exp: Add gdb.write tests.
674
29703da4
PM
6752010-03-17 Phil Muldoon <pmuldoon@redhat.com>
676
677 * gdb.python/Makefile.in: Add py-objfile.
678 * gdb.python/py-objfile.exp: New file.
679 * gdb.python/py-objfile.c: New file.
680 * gdb.python/py-block.exp: Add is_valid tests.
681 * gdb.python/py-inferior.exp: Ditto.
682 * gdb.python/py-infthread.exp: Ditto.
683 * gdb.python/py-symbol.exp: Ditto.
684 * gdb.python/py-symtab.exp: Ditto.
685
598997c8
KS
6862011-03-16 Keith Seitz <keiths@redhat.com>
687
688 PR c++/12273
689 * gdb.cp/cmpd-minsyms.exp: New test.
690 * gdb.cp/cmpd-minsyms.cc: New file.
691
692 PR c++/11734
693 * gdb.cp/ovsrch.exp: New test.
694 * gdb.cp/ovsrch.h: New file.
695 * gdb.cp/ovsrch1.cc: New file.
696 * gdb.cp/ovsrch2.cc: New file.
697 * gdb.cp/ovsrch3.cc: New file.
698 * gdb.cp/ovsrch4.cc: New file.
699
c91513d8
PP
7002011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
701
702 PR gdb/12528
703 * gdb.base/Makefile.in: Adjust EXECUTABLES.
704 * gdb.base/break-on-linker-gcd-function.exp: New test.
705 * gdb.base/break-on-linker-gcd-function.cc: New file.
706
7470fc63
AT
7072011-03-15 Andreas Tobler <andreast@fgznet.ch>
708
709 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
710
959e7469
PM
7112011-03-15 Phil Muldoon <pmuldoon@redhat.com>
712
713 * lib/gdb.exp (gdb_unload): Add another termination case.
714
9373cf26
JK
7152011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
716
717 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
718 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
719 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
720 Provide a stub byte there.
721 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
722 DW_AT_entry_pc.
723 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
724
24e9cda0
UW
7252011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
726
727 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
728 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
729 "generic ABI, auto".
730 (altivec_abi_tests): Accept vectors returned by reference.
731
7371cf6d
PM
7322010-03-14 Phil Muldoon <pmuldoon@redhat.com>
733
734 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
735
ce77046a
UW
7362011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
737
738 * gdb.python/py-section-script.exp: Skip test if no Python support.
739
176400c3
UW
7402011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
741
742 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
743
ecec24e6
PM
7442011-03-10 Phil Muldoon <pmuldoon@redhat.com>
745
746 * gdb.python/py-parameter.exp: Update tests to the new Python
747 parameter API. Add "no documentation" test. Add deprecated API
748 backward compatibility test.
749
5dbdd470
TT
7502011-03-09 Tom Tromey <tromey@redhat.com>
751
752 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
753 gdb_continue_to_end.
754
b66e66ee
MK
7552011-03-09 Mark Kettenis <kettenis@gnu.org>
756
757 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
758 tabs.
759
eceb0c5f
TT
7602011-03-09 Tom Tromey <tromey@redhat.com>
761
762 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
763 parentheses.
764 (gdb_continue_to_end): Add "allow_extra" parameter. Use
765 $command.
766 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
767 argument to gdb_continue_to_end.
768 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
769 argument to gdb_continue_to_end.
770 * gdb.cp/annota3.exp: Fix regex.
771 * gdb.cp/annota2.exp: Fix regex.
772 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
773 gdb_continue_to_end.
774 * gdb.base/call-signal-resume.exp: Revert earlier patch.
775 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
776 gdb_continue_to_end.
777
63154eca
PA
7782011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
779
780 * gdb.server/ext-run.exp
781 (load new file without any gdbserver inferior): New test.
782
967d1f9b
TT
7832011-03-07 Tom Tromey <tromey@redhat.com>
784
785 * Makefile.in (TAGS): Rewrite.
786
d68dcbb9
JK
7872011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
788
789 * gdb.trace/report.exp (12.1: trace report #1): New match for the
790 initial commands echo. New match for `Found trace'. Anchor all the
791 other matches. Anchor and match for `No trace frame found' the final
792 match.
793
6bf58e63
TT
7942011-03-07 Tom Tromey <tromey@redhat.com>
795
796 * Makefile.in (TAGS): New target.
797
fda326dd
TT
7982011-03-07 Tom Tromey <tromey@redhat.com>
799
800 * lib/opencl.exp (skip_opencl_tests): Update for exit message
801 change.
802 * lib/mi-support.exp (mi_gdb_test): Update for exit message
803 change.
804 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
805 exit message change.
806 (skip_altivec_tests): Update for exit message change.
807 (skip_vsx_tests): Likewise.
808 (gdb_continue_to_end): Likewise. Add 'command' argument.
809 * lib/cell.exp (skip_cell_tests): Update for exit message change.
810 * gdb.threads/tls.exp: Update for exit message change.
811 * gdb.threads/thread-unwindonsignal.exp: Use
812 gdb_continue_to_end.
813 * gdb.threads/step.exp (step_it): Update for exit message change.
814 (continue_all): Likewise.
815 * gdb.threads/print-threads.exp (test_all_threads): Update for
816 exit message change.
817 * gdb.threads/interrupted-hand-call.exp: Use
818 gdb_continue_to_end.
819 * gdb.threads/execl.exp: Use gdb_continue_to_end.
820 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
821 gdb_continue_to_end.
822 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
823 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
824 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
825 * gdb.cp/method.exp: Update for exit message change.
826 * gdb.cp/mb-templates.exp: Update for exit message change.
827 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
828 * gdb.cp/annota3.exp: Update for exit message change.
829 * gdb.cp/annota2.exp: Update for exit message change.
830 * gdb.cell/fork.exp: Use gdb_continue_to_end.
831 * gdb.base/term.exp: Update for exit message change.
832 * gdb.base/step-test.exp (test_i): Update for exit message change.
833 * gdb.base/sigstep.exp (advance): Update for exit message change.
834 (advancei): Likewise.
835 * gdb.base/siginfo.exp: Update for exit message change.
836 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
837 * gdb.base/reread.exp: Use gdb_continue_to_end.
838 * gdb.base/langs.exp: Use gdb_continue_to_end.
839 * gdb.base/interrupt.exp: Update for exit message change.
840 * gdb.base/gdb1555.exp: Update for exit message change.
841 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
842 * gdb.base/ending-run.exp: Update for exit message change.
843 * gdb.base/chng-syms.exp: Update for exit message change.
844 * gdb.base/checkpoint.exp: Update for exit message change.
845 * gdb.base/catch-syscall.exp (check_for_program_end): Use
846 gdb_continue_to_end.
847 (test_catch_syscall_with_wrong_args): Likewise.
848 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
849 * gdb.base/break-interp.exp (test_ld): Update for exit message
850 change.
851 * gdb.base/bang.exp: Update for exit message change.
852 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
853 (do_call_attach_tests): Likewise.
854 * gdb.base/a2-run.exp: Update for exit message change.
855 * gdb.arch/ppc-dfp.exp: Update for exit message change.
856 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
857 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
858
dd19bd70
JK
8592011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
860
861 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
862
30e62689
TT
8632011-03-03 Tom Tromey <tromey@redhat.com>
864
865 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
866 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
867 * gdb.hp/gdb.aCC/configure.ac: Remove.
868 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
869 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
870 * gdb.hp/gdb.base-hp/configure.ac: Remove.
871 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
872 * gdb.hp/gdb.compat/configure (Makefile): Remove.
873 * gdb.hp/gdb.compat/configure.ac: Remove.
874 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
875 * gdb.hp/gdb.defects/configure (Makefile): Remove.
876 * gdb.hp/gdb.defects/configure.ac: Remove.
877 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
878 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
879 * gdb.hp/gdb.objdbg/configure.ac: Remove.
880 * gdb.hp/configure.ac: Remove.
881 * gdb.hp/configure: Remove.
882 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
883 substitution.
884 (Makefile): Remove rule.
885 * gdb.cell/configure.ac: Remove.
886 * gdb.cell/configure: Remove.
887 * gdb.stabs/Makefile.in (Makefile): Remove.
888 (distclean): Don't remove config.status or config.log.
889 * gdb.stabs/configure (Makefile): Remove.
890 * gdb.stabs/configure.ac: Remove.
891 * configure: Rebuild.
892 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
893 Remove stabs- and cell-specific logic. Test for existence of
894 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
895 subdirectories, gdb.cell, and and gdb.stabs.
896 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
897
c171f854
JB
8982011-03-03 Joel Brobecker <brobecker@adacore.com>
899
900 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
901 end of buffer.
902
9a5193cb
JB
9032011-03-02 Joel Brobecker <brobecker@adacore.com>
904
905 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
906 gdb_test when running a test where we expected no output back.
907
9bb4c1bb
MS
9082011-02-28 Michael Snyder <msnyder@vmware.com>
909
910 * gdb.cp/overload.cc: Change initializer value to integer.
911
3bd0f5ef
MS
9122011-02-27 Michael Snyder <msnyder@vmware.com>
913
914 * gdb.multi/base.exp: Add test for remove-inferiors.
915
2279eaad
JB
9162011-02-26 Joel Brobecker <brobecker@adacore.com>
917
918 * gdb.python/py-frame.exp: Simplify the initialization phase
919 using prepare_for_testing.
920
c82c0b55
MS
9212011-02-25 Michael Snyder <msnyder@vmware.com>
922
923 * gdb.multi/base.exp: Add tests for info inferiors with args.
924
1d94651b
JK
9252011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
926
927 * gdb.dwarf2/dw2-ranges.S: Rename to ...
928 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
929 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
930 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
931 asmfile3. Comment the STABS (#3) file compilation. Compile
932 everything through assembler. Provide KFAIL for symtab/12497.
933 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
934 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
935 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
936 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
937
3bd0f5ef
MS
9382011-02-24 Michael Snyder <msnyder@vmware.com>
939
940 * gdb.base/break.exp: Add tests for delete breakpoints using
941 convenience variables and value history references.
942
12c1418e
MS
9432011-02-24 Michael Snyder <msnyder@vmware.com>
944
945 * gdb.base/break.exp: Remove debugging 'printf' accidentally
946 left behind in previous check-in.
947
e5a67952
MS
9482011-02-23 Michael Snyder <msnyder@vmware.com>
949
950 * gdb.base/break.exp: Add tests for "info break" with arguments.
951 * gdb.trace/infotrace.exp: Update patterns for error and help.
952 * gdb.base/completion.exp: Update pattern.
953 * gdb.base/ena-dis-br.exp: Update pattern.
954 * gdb.base/help.exp: Update patterns.
955
9562011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
957
958 * gdb.base/memattr.exp: New test.
959 * gdb.base/memattr.c: Test load for memattr.exp.
960
6e6fbe60
DE
9612011-02-22 Doug Evans <dje@google.com>
962
963 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
964
1d41d745
MS
9652011-02-22 Michael Snyder <msnyder@vmware.com>
966
967 * Makefile.in: Make more clean.
968 * gdb.ada/Makefile.in: Ditto.
969 * gdb.arch/Makefile.in: Ditto.
970 * gdb.asm/Makefile.in: Ditto.
971 * gdb.base/Makefile.in: Ditto.
972 * gdb.cp/Makefile.in: Ditto.
973 * gdb.dwarf2/Makefile.in: Ditto.
974 * gdb.java/Makefile.in: Ditto.
975 * gdb.mi/Makefile.in: Ditto.
976 * gdb.modula2/Makefile.in: Ditto.
977 * gdb.python/Makefile.in: Ditto.
978 * gdb.server/Makefile.in: Ditto.
979 * gdb.stabs/Makefile.in: Ditto.
980 * gdb.threads/Makefile.in: Ditto.
981 * gdb.trace/Makefile.in: Ditto.
982
79ba84ca
MS
9832011-02-22 Michael Snyder <msnyder@vmware.com>
984
985 * gdb.threads/thread-find.exp: Add tests for bad input to
986 info threads.
987
b9b35694
JB
9882011-02-22 Joel Brobecker <brobecker@adacore.com>
989
990 * gdb.python/py-breakpoint.exp: Fix the expected output of
991 one of the "maint info breakpoints" tests to accept the output
992 generated on platforms that do not have hardware watchpoints.
993
8bfb830f
JB
9942011-02-22 Joel Brobecker <brobecker@adacore.com>
995
996 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
997 clean_restart. Be a little stricter in the expected output
998 for one of the tests. Fix a typo in one of the comments.
999
c45f3c54
JB
10002011-02-22 Joel Brobecker <brobecker@adacore.com>
1001
1002 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1003 Delete variable binfile, no longer use. Add or modify test
1004 comments to make them unique.
1005
b97c863c
MS
10062011-02-21 Michael Snyder <msnyder@vmware.com>
1007
1008 * Makefile.in: Update for make clean.
1009 * gdb.ada/Makefile.in: Ditto.
1010 * gdb.arch/Makefile.in: Ditto.
1011 * gdb.asm/Makefile.in: Ditto.
1012 * gdb.base/Makefile.in: Ditto.
1013 * gdb.cp/Makefile.in: Ditto.
1014 * gdb.dwarf2/Makefile.in: Ditto.
1015 * gdb.java/Makefile.in: Ditto.
1016 * gdb.mi/Makefile.in: Ditto.
1017 * gdb.modula2/Makefile.in: Ditto.
1018 * gdb.python/Makefile.in: Ditto.
1019 * gdb.server/Makefile.in: Ditto.
1020 * gdb.stabs/Makefile.in: Ditto.
1021 * gdb.threads/Makefile.in: Ditto.
1022 * gdb.trace/Makefile.in: Ditto.
1023
aea5b279
MS
10242011-02-21 Michael Snyder <msnyder@vmware.com>
1025
1026 * gdb.threads/thread-find.exp: Update patterns for changes in
1027 output of "info threads" command.
1028
e3039479
UW
10292011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1030 Ulrich Weigand <uweigand@de.ibm.com>
1031
1032 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1033 (skip_hw_watchpoint_tests): Likewise.
1034 (skip_hw_watchpoint_multi_tests): Likewise.
1035
b800ec70
UW
10362011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1037
1038 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1039 (skip_hw_watchpoint_tests): Likewise.
1040 (skip_hw_watchpoint_multi_tests): Likewise.
1041 (skip_hw_watchpoint_access_tests): Likewise.
1042
1043 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1044 * gdb.base/pr11022.exp: Likewise.
1045 * gdb.base/watch-read.exp: Likewise.
1046 * gdb.base/watch_thread_num.exp: Likewise.
1047 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1048 * gdb.base/watchpoint-hw.exp: Likewise.
1049 * gdb.base/watchpoint.exp: Likewise.
1050 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1051 * gdb.threads/watchthreads-reorder.exp: Likewise.
1052 * gdb.threads/watchthreads.exp: Likewise.
1053 * gdb.threads/watchthreads2.exp: Likewise.
1054
91033e37
JB
10552011-02-21 Joel Brobecker <brobecker@adacore.com>
1056
1057 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1058 the debugger is unable to find the array bounds.
1059
eeaafae2
JK
10602011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1061
1062 * gdb.cp/typedef-operator.exp: New file.
1063 * gdb.cp/typedef-operator.cc: New file.
1064
e338d953
MS
10652011-02-17 Michael Snyder <msnyder@vmware.com>
1066
1067 * gdb.threads/thread-find.exp: Fix regular expressions.
1068
e67ad678
JB
10692011-02-17 Joel Brobecker <brobecker@adacore.com>
1070
1071 * gdb.ada/packed_array: Expand testcase to test printing of
1072 unconstrained packed array.
1073
93084bca
JB
10742011-02-17 Joel Brobecker <brobecker@adacore.com>
1075
1076 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1077
a0c78a73
PA
10782011-02-16 Pedro Alves <pedro@codesourcery.com>
1079
f65d5553 1080 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
1081 (main): Initialize it before collecting, and and clear it
1082 afterwards.
f65d5553
PA
1083 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1084 collecting with '{type} addr', where the addr expression is not an
1085 rvalue.
a0c78a73 1086
3dfcbbd2
KW
10872011-02-16 Ken Werner <ken.werner@de.ibm.com>
1088
1089 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1090 a bool variable. Expect correct OpenCL names for vector types. Use the
1091 uc3 variable name instead of referring to the uchar3 built-in type.
1092 Escape the asterisk at the half pointer test.
1093
08807d5a
PA
10942011-02-16 Pedro Alves <pedro@codesourcery.com>
1095
f65d5553 1096 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
1097 (main): Initialize it before collecting, and and clear it
1098 afterwards.
f65d5553
PA
1099 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1100 collecting overlapping memory ranges.
08807d5a 1101
60f98dde
MS
11022011-02-15 Michael Snyder <msnyder@vmware.com>
1103
1104 * gdb.base/default.exp: Add tests for thread commands.
1105 * gdb.base/help.exp: Add tests for thread commands.
1106 * gdb.threads/thread-find.exp: New test for thread find command.
1107
648cd113
KW
11082011-02-15 Ken Werner <ken.werner@de.ibm.com>
1109
1110 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1111
494e194e
YQ
11122011-02-15 Yao Qi <yao@codesourcery.com>
1113
1114 PR tdep/12352
1115 * gdb.arch/arm-disp-step.S : New test for str instruction.
1116 * gdb.arch/arm-disp-step.exp : Likewise.
1117
d9492458
TJB
11182011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1119
1120 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1121 "vector_register2_vr" test strings. Test the extended floating
1122 point registers (F32~F63).
1123 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1124 IBM XL C compiler. Make the test program use a register provided
1125 by the compiler for the lxvd2x instruction.
1126
8af8e3bc
PA
11272011-02-14 Pedro Alves <pedro@codesourcery.com>
1128
1129 * gdb.trace/unavailable.cc (class Base, class Middle, class
1130 Derived): New types.
1131 (derived_unavail, derived_partial, derived_whole): New globals.
1132 (virtual_partial): New global.
1133 (virtualp): Point at virtual_partial.
1134 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1135 related to unavailable vptr.
1136
1b28d0b3
PA
11372011-02-14 Pedro Alves <pedro@codesourcery.com>
1138
1139 * gdb.trace/unavailable.cc (a, b, c): New globals.
1140 (main): Set and clear them.
1141 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1142 `a' and `c', and check that `b' isn't collected, although `a' and
1143 `c' are.
1144
ec0a52e1
PA
11452011-02-14 Pedro Alves <pedro@codesourcery.com>
1146
1147 * gdb.trace/unavailable.cc (struct Virtual): New.
1148 (virtualp): New global pointer.
1149 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1150 printing a pointer to an object whose type has a vtable, with
1151 print object on.
1152
24e6bcee
PA
11532011-02-14 Pedro Alves <pedro@codesourcery.com>
1154
1155 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1156 value repeat handles unavailableness.
1157
39d37385
PA
11582011-02-14 Pedro Alves <pedro@codesourcery.com>
1159
1160 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1161 tests for building arrays from unavailable values, subscripting
1162 non-memory rvalue unvailable arrays, and accessing fields or
1163 baseclasses of non-lazy unavailable values,
1164 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1165 struct types.
1166 (g_smallstruct, g_smallstruct_b): New globals.
1167
06d72e16
PA
11682011-02-14 Pedro Alves <pedro@codesourcery.com>
1169
1170 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1171
bc9a5551
JK
11722011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1173
1174 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1175 * gdb.cp/overload-const.exp: New file.
1176 * gdb.cp/overload-const.cc: New file.
1177
54fcddd0
UW
11782011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1179
1180 * gdb.opencl/callfuncs.cl: New file.
1181 * gdb.opencl/callfuncs.exp: New test.
1182 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1183
d6dafb7c
UW
11842011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1185
1186 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1187 when computing result.
1188 * gdb.arch/altivec-abi.exp: Update expected results.
1189
a449c2d8
TJB
11902011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1191
1192 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1193 * gdb.base/jit.exp: Likewise.
1194 * gdb.base/pie-execl.exp: Likewise.
1195 * gdb.base/solib-nodir.exp: Likewise.
1196 * gdb.base/solib-overlap.exp: Likewise.
1197
764880b7
PA
11982011-02-07 Pedro Alves <pedro@codesourcery.com>
1199
1200 * gdb.trace/collection.c (global_pieces): New.
1201 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1202 New procedure.
1203 (gdb_trace_collection_test): Call it.
1204
505500db
SW
12052011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1206
1207 * gdb.python/py-evthreads.c: New file.
1208 * gdb.python/py-evthreads.exp: New file.
1209 * gdb.python/py-events.py: New file.
1210 * gdb.python/py-events.exp: New file.
1211 * gdb.python/py-events.c: New file.
1212
385203ed
DD
12132011-02-04 David Daney <ddaney@caviumnetworks.com>
1214
1215 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1216
9011945e
AB
12172011-02-03 Andrew Burgess <aburgess@broadcom.com>
1218
1219 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1220 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1221 boundary between two compilation units.
1222
580688f3
PA
12232011-02-02 Pedro Alves <pedro@codesourcery.com>
1224
1225 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1226 (Virtual): New structs.
1227 (virtual_o, virtual_middle_b): New globals.
1228 * gdb.cp/virtbase.exp: New tests.
1229
d3f0f853
PP
12302011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1231
1232 * gdb.base/jit.exp: New file.
1233 * gdb.base/jit-main.c: New file.
1234 * gdb.base/jit-solib.c: New file.
1235
b2030fb5
UW
12362011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1237
1238 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1239 proceed to initial kernel entry point.
1240 * gdb.opencl/datatypes.exp: Likewise.
1241 * gdb.opencl/operators.exp: Likewise.
1242 * gdb.opencl/vec_comps.exp: Likewise.
1243
2db19d1e
SW
12442011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1245
1246 * gdb.cp/nsnested.cc: New.
1247 * gdb.cp/nsnested.exp: New.
1248 * gdb.cp/nsnoimports.exp: New.
1249 * gdb.cp/nsnoimports.cc: New.
1250
6b0c4c1f
JB
12512011-01-31 Joel Brobecker <brobecker@adacore.com>
1252
1253 * gdb.base/interact.exp: Add extra tests that verify that
1254 the value of the interactive-mode setting does not change
1255 after the script is sourced.
1256
80b23b6a
JK
12572011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1258
1259 * gdb.cp/noparam.exp: New file.
1260 * gdb.cp/noparam.cc: New file.
1261
ffd5ec24
PA
12622011-01-28 Pedro Alves <pedro@codesourcery.com>
1263
1264 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1265 there's no stack or registers.
1266
a81766d8
TT
12672011-01-26 Tom Tromey <tromey@redhat.com>
1268
1269 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1270 space before string output. Add test for "set print pretty off"
1271 case.
1272
585fdaa1
PA
12732011-01-25 Pedro Alves <pedro@codesourcery.com>
1274
1275 * gdb.base/frame-args.exp: Adjust.
1276 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1277 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1278 * gdb.dwarf2/pieces.exp: Adjust.
1279 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1280 * gdb.opt/inline-locals.exp: Adjust.
1281 * gdb.threads/fork-child-threads.exp: Adjust.
1282
d468832a
KW
12832011-01-25 Ken Werner <ken.werner@de.ibm.com>
1284
1285 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1286 OpenCL kernel function. Add a comment as marker. Add address space
1287 qualifiers for the remaining program scope variables.
1288 * gdb.opencl/datatypes.cl: Likewise.
1289 * gdb.opencl/operators.cl: Likewise.
1290 * gdb.opencl/vec_comps.cl: Likewise.
1291 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1292 Add breakpoint at the marker comment.
1293 * gdb.opencl/datatypes.exp: Likewise.
1294 * gdb.opencl/operators.exp: Likewise.
1295 * gdb.opencl/vec_comps.exp: Likewise.
1296
490f124f
PA
12972011-01-24 Pedro Alves <pedro@codesourcery.com>
1298
1299 * gdb.base/printcmds.c (some_struct): New struct and instance.
1300 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1301 procedure.
1302 <global scope>: Call it.
1303
6da78614
KW
13042011-01-21 Ken Werner <ken.werner@de.ibm.com>
1305
1306 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1307 argument to the gdb_compile_opencl_hostapp call.
1308
ec64c9aa
YQ
13092011-01-19 Yao Qi <yao@codesourcery.com>
1310
1311 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1312 positve list.
1313
810cfdbb
YQ
13142011-01-19 Yao Qi <yao@codesourcery.com>
1315
1316 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1317 canonical form.
1318 Remove "xscale-*-*"
1319 * gdb.xml/tdesc-regs.exp: Likewise.
1320 * gdb.python/py-section-script.exp: Replace ARM target triplet
1321 with canonical form.
1322 Match arm*-*-symbianelf*.
1323 * gdb.base/dup-sect.exp: Likewise.
1324 * lib/dwarf.exp: New.
1325 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1326 dwarf2_support.
1327 * gdb.dwarf2/dup-psym.exp: Likewise.
1328 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1329 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1330 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1331 * gdb.dwarf2/dw2-basic.exp: Likewise.
1332 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1333 * gdb.dwarf2/dw2-const.exp: Likewise.
1334 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1335 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1336 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1337 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1338 * gdb.dwarf2/dw2-filename.exp: Likewise.
1339 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1340 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1341 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1342 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1343 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1344 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1345 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1346 * gdb.dwarf2/dw2-producer.exp: Likewise.
1347 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1348 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1349 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1350 * gdb.dwarf2/dw2-strp.exp: Likewise.
1351 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1352 * gdb.dwarf2/implptr.exp: Likewise.
1353 * gdb.dwarf2/mac-fileno.exp: Likewise.
1354 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1355 * gdb.dwarf2/pieces.exp: Likewise.
1356 * gdb.dwarf2/pr11465.exp: Likewise.
1357 * gdb.dwarf2/valop.exp: Likewise.
1358 * gdb.dwarf2/watch-notconst.exp: Likewise.
1359 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1360
4694da01
TT
13612011-01-19 Tom Tromey <tromey@redhat.com>
1362
1363 * gdb.python/py-infthread.exp: Add thread tests.
1364
b075872c
JB
13652011-01-14 Joel Brobecker <brobecker@adacore.com>
1366
1367 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1368
2c3e6e24
JB
13692011-01-14 Joel Brobecker <brobecker@adacore.com>
1370
1371 * gdb.ada/widewide: New testcase.
1372
de8fa76c
JB
13732011-01-13 Joel Brobecker <brobecker@adacore.com>
1374
1375 * gdb.base/interact.exp: New testcase.
1376
1b05df00
TT
13772011-01-12 Tom Tromey <tromey@redhat.com>
1378
1379 * gdb.mi/gdb2549.exp: Update for error message changes.
1380 * gdb.mi/mi-cli.exp: Likewise.
1381 * gdb.mi/mi-disassemble.exp: Likewise.
1382 * gdb.mi/mi-pthreads.exp: Likewise.
1383 * gdb.mi/mi-regs.exp: Likewise.
1384 * gdb.mi/mi-stack.exp: Likewise.
1385 * gdb.mi/mi-var-block.exp: Likewise.
1386 * gdb.mi/mi-var-cmd.exp: Likewise.
1387 * gdb.mi/mi2-cli.exp: Likewise.
1388 * gdb.mi/mi2-disassemble.exp: Likewise.
1389 * gdb.mi/mi2-pthreads.exp: Likewise.
1390 * gdb.mi/mi2-regs.exp: Likewise.
1391 * gdb.mi/mi2-stack.exp: Likewise.
1392 * gdb.mi/mi2-var-block.exp: Likewise.
1393 * gdb.mi/mi2-var-cmd.exp: Likewise.
1394
c2ff108b
JK
13952011-01-12 Andrew Burgess <aburgess@broadcom.com>
1396 Jan Kratochvil <jan.kratochvil@redhat.com>
1397
1398 PR fortran/11104 and DWARF unbound arrays detection.
1399 * gdb.fortran/multi-dim.exp: New file.
1400 * gdb.fortran/multi-dim.f90: New file.
1401
b716877b
AB
14022011-01-12 Andrew Burgess <aburgess@broadcom.com>
1403
1404 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1405 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1406 add new tests for opcode dumping.
1407
6c162d5e
TT
14082011-01-11 Tom Tromey <tromey@redhat.com>
1409
1410 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1411
77b06cd7
TJB
14122010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1413
1414 Convert hardware watchpoints to use breakpoint_ops.
1415 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1416 type is not supported.
1417 * gdb.base/foll-fork.exp: Likewise.
1418 * gdb.base/foll-vfork.exp: Likewise.
1419
f39a75d0
PM
14202011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1421
1422 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1423 Use load_lib gdb-python.exp.
1424 * gdb.python/python.exp: Ditto.
1425 * gdb.python/py-function.exp: Ditto.
1426
fc529d80
AS
14272011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1428
1429 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1430
fb03cb59
JK
14312011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1432
1433 * configure: Regenerate.
1434
d8e22779
TT
14352011-01-06 Tom Tromey <tromey@redhat.com>
1436
1437 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1438
09050809
JB
14392011-01-06 Joel Brobecker <brobecker@adacore.com>
1440
fc529d80
AS
1441 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1442 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1443 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1444 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1445 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1446 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1447 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1448 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1449 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1450 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1451 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1452 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1453 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1454 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1455 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1456 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1457 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1458 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1459 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1460 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1461 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1462 gdb.ada/uninitialized_vars.exp,
1463 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1464 Simplify by using clean_restart.
09050809 1465
8ed5dd9e
JB
14662011-01-06 Joel Brobecker <brobecker@adacore.com>
1467
1468 Add marker to be used as anchor for inserting breakpoints.
1469 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1470 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1471 Likewise.
1472
1473 Remove uses of gdb_start_cmd.
1474 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1475 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1476
1477 Do not run testcase if testing with GDBserver.
1478 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1479 if testing with GDBserver.
1480
368a124f
JB
14812011-01-06 Joel Brobecker <brobecker@adacore.com>
1482
1483 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1484 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1485 copyright header.
1486
44944448
JB
14872011-01-05 Joel Brobecker <brobecker@adacore.com>
1488
1489 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1490 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1491 testsuite/gdb.fortran/complex.f,
1492 testsuite/gdb.fortran/derived-type.f90,
1493 testsuite/gdb.fortran/library-module-lib.f90,
1494 testsuite/gdb.fortran/library-module-main.f90,
1495 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1496 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1497 Copyright year update.
1498
31886ea6
JB
14992011-01-05 Joel Brobecker <brobecker@adacore.com>
1500
1501 * gdb.base/langs1.f: Add copyright header.
1502
ebedcab5
JK
15032011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1504
1505 * gdb.base/morestack.exp: New file.
1506 * gdb.base/morestack.c: New file.
1507
de1eb2f9
JK
15082011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1509
1510 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1511
9e87a409
JB
15122010-12-29 Joel Brobecker <brobecker@adacore.com>
1513
1514 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1515 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1516
720d1a40
JB
15172010-12-29 Joel Brobecker <brobecker@adacore.com>
1518
1519 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1520
a283af87
AS
15212010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1522
5d3d9cba
AS
1523 * gdb.threads/tls.exp: Fix typo.
1524
a283af87
AS
1525 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1526 * gdb.threads/execl.exp: Update.
1527
2a20745c
YQ
15282010-12-23 Yao Qi <yao@codesourcery.com>
1529
1530 * gdb.arch/arm-disp-step.exp: New.
1531 * gdb.arch/arm-disp-step.S: New.
1532
a7658b96
TT
15332010-12-21 Tom Tromey <tromey@redhat.com>
1534
1535 * gdb.threads/execl.exp: Update.
1536 * gdb.threads/linux-dp.exp: Update.
1537 * gdb.threads/manythreads.exp: Update.
1538 * gdb.threads/tls.exp: Update.
1539
5b79abe7
TT
15402010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1541
1542 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1543 (NextOverThrowDerivates) <resumebpt>: New.
1544 (resumebpt_test): New.
1545 (main): Call resumebpt_test.
1546 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1547
0914bcdb
SS
15482010-12-12 Stan Shebs <stan@codesourcery.com>
1549
1550 * gdb.trace/tsv.exp: Test print command on trace state variables.
1551
305aeedc
TT
15522010-12-09 Tom Tromey <tromey@redhat.com>
1553
1554 * gdb.base/interp.exp: Add regression test.
1555
186c406b
TT
15562010-12-09 Tom Tromey <tromey@redhat.com>
1557
1558 * gdb.java/jnpe.java: New file.
1559 * gdb.java/jnpe.exp: New file.
1560 * gdb.cp/nextoverthrow.exp: New file.
1561 * gdb.cp/nextoverthrow.cc: New file.
1562
aae1c79a
DE
15632010-12-07 Doug Evans <dje@google.com>
1564
1565 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1566 of data-directory.
1567 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1568 updated.
1569 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1570
60f98dde 15712010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
1572
1573 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1574 * gdb.base/call-sc.exp: Ditto.
1575 * gdb.base/finish.exp: Ditto.
1576 * gdb.base/return.exp: Ditto.
1577 * gdb.base/return2.exp: Ditto.
1578
5fa290c1
DE
15792010-11-30 Doug Evans <dje@google.com>
1580
1581 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1582 (gdb_expect_list): Fix spelling errors in comments.
1583 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1584 send_gdb/gdb_expect_list where applicable.
1585 * gdb.base/call-ar-st.exp: Ditto.
1586 * gdb.base/funcargs.exp: Ditto.
1587 * gdb.base/gcore.exp: Ditto.
1588 * gdb.base/page.exp: Ditto.
1589 * gdb.base/sigaltstack.exp: Ditto.
1590 * gdb.base/siginfo.exp: Ditto.
1591 * gdb.base/sigstep.exp: Ditto.
1592 * gdb.base/trace-commands.exp: Ditto.
1593
4e04c971
DE
15942010-11-29 Doug Evans <dje@google.com>
1595
1596 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1597 printer-name;subprinter-name.
1598
8cf6f0b1
TT
15992010-11-29 Tom Tromey <tromey@redhat.com>
1600
1601 * gdb.dwarf2/implptr.exp: New file.
1602 * gdb.dwarf2/implptr.c: New file.
1603 * gdb.dwarf2/implptr.S: New file.
1604
94b6973e
PM
16052010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1606
fc529d80 1607 PR python/12199
94b6973e
PM
1608
1609 * gdb.python/py-breakpoint.exp: Test the delete method.
1610
8358c15c
JK
16112010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1612
1613 Fix step_resume_breakpoint unsaved during an infcall.
1614 * gdb.base/step-resume-infcall.exp: New file.
1615 * gdb.base/step-resume-infcall.c: New file.
1616
f6df29bc
TJB
16172010-11-24 Edjunior Machado <emachado@br.ibm.com>
1618
1619 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1620
f2b5a5cf
TJB
16212010-11-24 Edjunior Machado <emachado@br.ibm.com>
1622
1623 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1624 on ppc64's symbols; "finish" and "return" commands must accept to
1625 show the caller line again as well as the line after.
1626 * gdb.asm/powerpc64.inc: New file.
1627
6b0ecdc2
DE
16282010-11-23 Doug Evans <dje@google.com>
1629
1630 * lib/gdb.exp (gdb_test_sequence): New function.
1631 (gdb_expect_list): Add verbose -log call for each pattern.
1632 * gdb.base/signals.exp (test_handle_all_print): Call it.
1633 Reduce timeout increment from 6 minutes to 1 minute.
1634 * gdb.server/ext-run.exp: Call it.
1635
ea976c60
PM
16362010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1637
f2b5a5cf 1638 PR python/12212
ea976c60
PM
1639
1640 * gdb.python/python.exp: Check that selected_thread raises an
1641 error when no inferior is loaded.
1642
c0efa795
JK
16432010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1644
1645 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1646 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1647
ec3aa567
JK
16482010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1649
1650 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1651 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1652
d8249011
DE
16532010-11-18 Doug Evans <dje@google.com>
1654
1655 * gdb.server/ext-run.exp: Fix intermittent failures.
1656
d4eba7d1
NF
16572010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1658
1659 * gdb.stabs/gdb11479.exp: Use runto_main.
1660
b04c2f88
NF
16612010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1662
1663 * gdb.base/break-entry.exp: Skip if using a stub.
1664
ae9d7ce4
NF
16652010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1666
1667 * gdb.python/py-inferior.exp: Pack values in target endianness.
1668
621c8364
TT
16692010-11-12 Tom Tromey <tromey@redhat.com>
1670
1671 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1672 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1673 MemoryError.
1674 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1675 type.
1676 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1677 MemoryError.
1678 (test_subscript_regression): Update exception type.
1679
84f4c1fe
PM
16802010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1681
1682 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1683 breakpoint tests.
1684
a1442452
PA
16852010-11-09 Pedro Alves <pedro@codesourcery.com>
1686
1687 * gdb.base/watchpoint.exp: Test "watch -location" with an
1688 innacessible location.
1689
efd11a33
JK
16902010-11-09 Edjunior Machado <emachado@br.ibm.com>
1691 Luis Machado <luisgpm@br.ibm.com>
1692
1693 * gdb.base/maint.exp: Expect "." prefix.
1694 * gdb.base/nodebug.exp: Expect "." Likewise.
1695 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1696 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1697 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1698 POWER server processors.
1699
aa00efb5
JK
17002010-11-08 Edjunior Machado <emachado@br.ibm.com>
1701 Luis Machado <luisgpm@br.ibm.com>
1702
1703 * gdb.base/break-entry.exp: convert entry point for
1704 ppc64 and expect leading `.' on ppc64's symbols
1705
99e7ae30
DE
17062010-11-05 Doug Evans <dje@google.com>
1707
1708 * gdb.base/help.exp: Update expected output.
b521dba8
DE
1709 * gdb.python/py-param.exp: Delete, contents moved to ...
1710 * gdb.python/py-parameter.exp: ... here. New file.
1711 Add test for gdb.parameter ("directories").
99e7ae30 1712
f4b8a18d
KW
17132010-11-05 Ken Werner <ken.werner@de.ibm.com>
1714
1715 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1716 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1717 * configure: Regenerate.
1718 * gdb.opencl/Makefile.in: New File.
1719 * gdb.opencl/datatypes.exp: Likewise.
1720 * gdb.opencl/datatypes.cl: Likewise.
1721 * gdb.opencl/operators.exp: Likewise.
1722 * gdb.opencl/operators.cl: Likewise.
1723 * gdb.opencl/vec_comps.exp: Likewise.
1724 * gdb.opencl/vec_comps.cl: Likewise.
1725 * gdb.opencl/convs_casts.exp: Likewise.
1726 * gdb.opencl/convs_casts.cl: Likewise.
1727 * lib/opencl.exp: Likewise.
1728 * lib/opencl_hostapp.c: Likewise.
1729 * lib/opencl_kernel.cl: Likewise.
1730 * lib/cl_util.c: Likewise.
1731 * lib/cl_util.c: Likewise.
1732 * gdb.base/default.exp (set language): Add "opencl" to the list of
1733 languages.
1734
a9d5ef47
SW
17352010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1736
1737 * gdb.cp/overload.exp: Added test for inheritance overload.
1738 * gdb.cp/overload.cc: Ditto.
1739 * gdb.cp/oranking.exp: Removed releveant kfails.
1740
03eb1c79
JK
17412010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1742 Joel Brobecker <brobecker@adacore.com>
1743
1744 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1745 check test_compiler_info.
1746
dbc98a8b
KW
17472010-11-03 Ken Werner <ken.werner@de.ibm.com>
1748
1749 * gdb.base/gnu_vector.exp: Adjust expect messages.
1750
120bd360
KW
17512010-11-03 Ken Werner <ken.werner@de.ibm.com>
1752
1753 * gdb.base/gnu_vector.exp: Add unary operator tests.
1754
c37f7098
KW
17552010-11-03 Ken Werner <ken.werner@de.ibm.com>
1756
1757 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1758
7b51bc51
DE
17592010-11-02 Doug Evans <dje@google.com>
1760
1761 * gdb.python/py-pp-maint.c: New file.
1762 * gdb.python/py-pp-maint.exp: New file.
1763 * gdb.python/py-pp-maint.py: New file.
1764
50c97f38
TT
17652010-11-02 Tom Tromey <tromey@redhat.com>
1766
1767 * gdb.base/default.exp: Remove "scheme" from language list.
1768
a289b8f6
JK
17692010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1770
1771 Revert:
1772 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1773 * gdb.threads/sigstep-threads.exp: New file.
1774 * gdb.threads/sigstep-threads.c: New file.
1775
cd017491
MS
17762010-10-20 Michael Snyder <msnyder@vmware.com>
1777
1778 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1779
8e6a5956
UW
17802010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1781
1782 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1783 Skip test completely if gdb,no_hardware_watchpoints.
1784
2c04da0d
UW
17852010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1786
1787 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1788 strict, but do not check for any particular function name within libc.
1789
79afc5ef
SW
17902010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1791
1792 * gdb.cp/smartp.exp: New test.
1793 * gdb.cp/smartp.cc : New test.
1794
026ffab7
SW
17952010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1796
1797 * gdb.cp/converts.exp: Test pointer to bool conversion.
1798 Test pointer to long conversion.
1799 * gdb.cp/oranking.exp: Removed relevant kfail.
1800
3a772aa4
TT
18012010-10-18 Tom Tromey <tromey@redhat.com>
1802
1803 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1804 argument to lazy_string.
1805 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1806 (pp_ls.to_string): Use it.
1807 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1808 Add "estring2" local.
1809
5fc3827b
JK
18102010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1811
1812 Fix s390x compatibility.
1813 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1814 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1815
8aeb23f3
JK
18162010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1817
1818 * gdb.threads/sigstep-threads.exp: New file.
1819 * gdb.threads/sigstep-threads.c: New file.
1820
c1e56572
JK
18212010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1822
1823 * gdb.base/pie-execl.exp: New file.
1824 * gdb.base/pie-execl.c: New file.
1825
92163a10
JK
18262010-10-13 Doug Evans <dje@google.com>
1827 Jan Kratochvil <jan.kratochvil@redhat.com>
1828
1829 PR exp/12117
1830 * gdb.cp/ptype-cv-cp.cc: New file.
1831 * gdb.cp/ptype-cv-cp.exp: New file.
1832
7062b0a0
SW
18332010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1834
1835 * gdb.cp/converts.cc: New test program.
1836 * gdb.cp/converts.exp: New test.
1837 * gdb.cp/overload.exp: Added test for void* vs int*.
1838 * gdb.cp/overload.exp: Ditto.
1839 * gdb.cp/oranking.exp: Removed related kfail.
1840
0e3509db
DE
18412010-10-13 Doug Evans <dje@google.com>
1842
1843 * lib/gdb-python.exp (gdb_check_python_config): New function.
1844 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1845 * gdb.python/lib-types.cc: New file.
1846 * gdb.python/lib-types.exp: New file.
1847
8dc78533
JK
18482010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1849
1850 * gdb.python/py-error.exp: New file.
1851 * gdb.python/py-error.py: New file.
1852
93c17e06
JK
18532010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1854
1855 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1856 gdb_test_multiple.
1857
d8b34041
JK
18582010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1859
1860 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1861 * gdb.base/prelink.exp: Likewise.
1862 * gdb.base/solib-nodir.exp: Likewise.
1863 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1864 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1865 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1866
e0cc584e
UW
18672010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1868
1869 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1870 for the "info files" test to avoid timeouts on slow machines.
1871
cfc353b1
JK
18722010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1873
1874 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1875 (main): Make openlib dummy call.
1876
d3d7896d
JK
18772010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1878
1879 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1880 * break-interp.exp (reach): Move the core body ...
1881 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1882 (test_ld): Provide always real argument, even to the linker. Replace
1883 dl_main by _dl_debug_state.
1884
5e533c94
JK
18852010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1886
1887 Fix results of prelinked PIEs on ppc*.
1888 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1889 Accept also DISPLACEMENT "PRESENT".
1890 (main): Replace "ZERO" displacements by "PRESENT".
1891
33540610
SW
18922010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1893
1894 * gdb.cp/oranking.exp: New test.
1895 * gdb.cp/oranking.cc: New test program.
1896
3bdf2bbd
KW
18972010-10-08 Ken Werner <ken.werner@de.ibm.com>
1898
1899 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1900 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1901
2f608a3a
KW
19022010-10-06 Ken Werner <ken.werner@de.ibm.com>
1903
1904 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1905 lush, lynx) New constant.
1906 * gdb.base/constvars.exp: Test const array types.
1907 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1908
aa2e2d8d
DE
19092010-10-06 Doug Evans <dje@google.com>
1910
1911 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1912 of syscall staging area.
1913
2844d6b5
KW
19142010-10-06 Ken Werner <ken.werner@de.ibm.com>
1915
1916 * gdb.base/gnu_vector.c: Add variable c4.
1917 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1918 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1919
7d8ac8bb
MR
19202010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1921
1922 * gdb.arch/altivec-abi.exp: Fix a typo.
1923
84a02e58
MR
19242010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1925
1926 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1927 to match a thread ID.
1928
b18e6318
JK
19292010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1930
1931 Fix s390x testcase compatibility.
1932 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1933
a2c09bd0
DE
19342010-10-01 Doug Evans <dje@google.com>
1935
1936 * lib/gdb-python.exp: New file.
1937 * gdb.python/py-block.exp: Use it.
1938 * gdb.python/py-breakpoint.exp: Ditto.
1939 * gdb.python/py-frame.exp: Ditto.
1940 * gdb.python/py-inferior.exp: Ditto.
1941 * gdb.python/py-param.exp: Ditto.
1942 * gdb.python/py-prettyprint.exp: Ditto.
1943 * gdb.python/py-shared.exp: Ditto.
1944 * gdb.python/py-symbol.exp: Ditto.
1945 * gdb.python/py-symtab.exp: Ditto.
1946 * gdb.python/py-type.exp: Ditto.
1947 * gdb.python/py-value.exp: Ditto.
1948 * gdb.python/python.exp: Ditto.
1949
38f12cfc
TT
19502010-09-30 Tom Tromey <tromey@redhat.com>
1951
1952 * gdb.base/anon.exp: New file.
1953 * gdb.base/anon.c: New file.
1954
9ae8282d
TT
19552010-09-30 Tom Tromey <tromey@redhat.com>
1956
1957 * gdb.base/completion.exp: Test completion through anonymous
1958 union.
1959 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1960
e9e07ba6
JK
19612010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1962
1963 Fix printing parameters of inlined functions.
1964 * gdb.dwarf2/dw2-inline-param.exp: New file.
1965 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1966 * gdb.dwarf2/dw2-inline-param.S: New file.
1967
cd2effb2
JK
19682010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1969
1970 PR corefiles/12071.
1971 * gdb.base/corefile.exp (quit with a process, no question: load core)
1972 (quit with a core file): New tests.
1973
bceffbf3
JK
19742010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1975
1976 Fix GDB crash on inferior calls with self-referencing classes.
1977 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1978 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1979 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1980
1736ad11
JK
19812010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1982
1983 Fix lost siginfo_t for inferior calls.
1984 * gdb.base/siginfo-infcall.exp: New file.
1985 * gdb.base/siginfo-infcall.c: New file.
1986
a176ad92
JB
19872010-09-22 Joel Brobecker <brobecker@adacore.com>
1988
1989 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1990
c2b0a229
JK
19912010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1992
1993 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1994 New test.
1995 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1996
e8ae22d1
JB
19972010-09-22 Joel Brobecker <brobecker@adacore.com>
1998
1999 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2000 type of our const type.
2001
ec322823
SW
20022010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2003
2004 * gdb.cp/pr12028.cc: New.
2005 * gdb.cp/pr12028.exp: New.
2006
72929c62
JB
20072010-09-22 Joel Brobecker <brobecker@adacore.com>
2008
2009 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2010
875b4ff5 20112010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 2012 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
2013
2014 PR mi/11407
2015 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2016 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2017 * gdb.mi/dw2-ref-missing-frame.S New File.
2018 * gdb.mi/dw2-ref-missing-frame.exp New File.
2019
7155d578
TT
20202010-09-14 Tom Tromey <tromey@redhat.com>
2021
2022 PR symtab/8399:
2023 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2024
515ed532
TT
20252010-09-14 Tom Tromey <tromey@redhat.com>
2026
2027 PR exp/11803:
2028 * gdb.threads/tls.exp: Use C++.
2029 (check_thread_local): Use K::another_thread_local.
2030 * gdb.threads/tls.c (class K): New.
2031 (another_thread_local): Now a member of K.
2032 (spin): Update. No longer K&R C.
2033
450ca57c
SW
20342010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2035
2036 * gdb.cp/koenig.cc: created class for testing member lookup.
2037 * gdb.cp/koenig.exp: Added test for member lookup.
2038
dbd492a3
JK
20392010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2040
2041 Fix false FAILs on sourcetree topdir directory containing "kill".
2042 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2043 source line matching regexp.
2044
8d4d924b
JK
20452010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2046
2047 * gdb.python/python.exp (set height 0, collect help from uiout)
2048 (verify help to uiout): New tests.
2049
8e64f2a0
JK
20502010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2051
2052 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2053 is_lp64_target to check 64bit target.
2054
4569eed2
JK
20552010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2058 (test_ld) <powerpc64-*>: New.
2059
5e1617b1
DJ
20602010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2061
2062 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2063
c767944b
DJ
20642010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2065
2066 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2067 (FunctionArg::method): New function.
2068 (empty, arg): New variables.
2069 (main): Call arg.method.
2070 * gdb.cp/templates.exp (test_template_args): New function.
2071 (do_tests): Call it.
2072
27d3a3fc
UW
20732010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2074
2075 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2076 of "next" to proceed over pthread_exit call.
2077
55b7ce7f
UW
20782010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2079
2080 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2081 "maint print statistics" output to prevent expect timeouts.
2082
809df446
JK
20832010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2084
2085 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2086 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2087 (test_float_rejected): ... here.
2088 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2089 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2090 (test_float_rejected): ... here.
2091 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2092 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2093 (test_float_rejected): ... here.
2094 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2095 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2096 (test_float_rejected): ... here.
2097
8464be76
DJ
20982010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2099
2100 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2101 before disabling hardware watchpoints.
2102 (test_inaccessible_watchpoint): Check that hardware watchpoints
2103 are used. Test for watchpoints on a constant address.
2104
14dba4b4
JK
21052010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2106
2107 * gdb.base/ui-redirect.exp: New file.
2108
3f3540e1 21092010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 2110 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
2111
2112 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2113
0f254bb7
DE
21142010-08-31 Doug Evans <dje@google.com>
2115
2116 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2117
03f17ccf
TT
21182010-08-30 Tom Tromey <tromey@redhat.com>
2119
2120 PR python/11792:
2121 * gdb.python/py-value.exp (test_subscript_regression): Add
2122 dynamic_type test.
2123
640617ad
DJ
21242010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2125
2126 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2127 instead of running to main. Do not test the main function.
2128 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2129 Add new main.
2130
2ed91d1b
PA
21312010-08-26 Pedro Alves <pedro@codesourcery.com>
2132
2133 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2134 one test.
2135
673bfd45
DE
21362010-08-24 Doug Evans <dje@google.com>
2137
2138 PR symtab/11942
2139 * gdb.dwarf2/dw4-sig-types.cc: New file.
2140 * gdb.dwarf2/dw4-sig-types.h: New file.
2141 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2142 * gdb.dwarf2/dw4-sig-types.exp: New file.
2143
f9ffd4bb
TT
21442010-08-23 Tom Tromey <tromey@redhat.com>
2145
2146 PR python/11145:
2147 * gdb.python/py-value.c (Base, Derived): New types.
2148 (base): New global.
2149 * gdb.python/py-value.exp (test_subscript_regression): Add
2150 dynamic_cast test.
2151
d839c8a4
TT
21522010-08-23 Tom Tromey <tromey@redhat.com>
2153
2154 PR python/10676:
2155 * gdb.python/py-type.exp (test_fields): Add tests for type
2156 equality.
2157
702c2711
TT
21582010-08-23 Tom Tromey <tromey@redhat.com>
2159
2160 PR python/11915:
2161 * gdb.python/py-type.exp (test_fields): Add tests for array.
2162
832bafd3
KS
21632010-08-23 Keith Seitz <keiths@redhat.com>
2164
2165 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2166 have any children. Create a new abbrev for it.
2167 Add missing terminal sequence to .debug_abbrev.
2168
c37bf528
KS
21692010-08-20 Keith Seitz <keiths@redhat.com>
2170
2171 PR symtab/11465:
2172 * gdb.dwarf2/pr11465.exp: New test.
2173 * gdb.dwarf2/pr11465.S: New file.
2174 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2175 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2176
4572cbac
TJB
21772010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2178
2179 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2180 registers. Update data sets with the new v2_double element in the
2181 VSX register union. Add vector_register3_vr data set for the AltiVec
2182 registers. Use gdb_test_no_output instead of send_gdb.
2183
e7fbb131
PA
21842010-08-19 Pedro Alves <pedro@codesourcery.com>
2185
2186 * gdb.python/py-shared.exp: New file, factored out from
2187 python.exp.
2188 * gdb.python/py-shared.c: New file.
2189 * gdb.python/py-shared-sl.c: New file.
2190 * gdb.python/python-1.c: New file.
2191 * gdb.python/python-sl.c: Delete.
2192 * gdb.python/python.c: Mention python-1.c.
2193 * gdb.python/python.exp: Move shared library tests to
2194 py-shared.exp.
2195 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2196 (MISCELLANEOUS): New.
2197 (clean mostlyclean): Also remove $MISCELLANEOUS.
2198
d30f5e1f
DE
21992010-08-19 Doug Evans <dje@google.com>
2200
2201 PR exp/11926
2202 * gdb.base/printcmds.exp (test_float_accepted): New function.
2203 Move existing float tests there. Add tests for floats with suffixes.
2204 (test_float_rejected): New function.
2205 * gdb.java/jv-print.exp (test_float_accepted): New function.
2206 (test_float_rejected): New function.
2207 * gdb.objc/print.exp: New file.
2208 * gdb.pascal/print.exp: New file.
2209 * lib/objc.exp: New file.
2210
7b3fd859
PM
22112010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2212
2213 * gdb.base/default.exp (info set): Avoid full buffer error and force
2214 reading up to final gdb prompt.
2215 (show): Likewise.
2216
c92817ce
TT
22172010-08-18 Tom Tromey <tromey@redhat.com>
2218
2219 PR symtab/11919:
2220 * gdb.base/completion.exp: Add test.
2221
f1208f9e
DE
22222010-08-18 Doug Evans <dje@google.com>
2223
2224 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2225 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2226 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2227 Simplify, early exit if runto_main fails.
2228 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2229 (set_lang_fortran): Moved to lib/fortran.exp.
2230 * gdb.fortran/types.exp: load_lib fortran.exp.
2231 (set_lang_fortran): Moved to lib/fortran.exp.
2232 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2233 * gdb.java/jprint.exp (set_lang_java): Ditto.
2234 * gdb.java/jv-exp.exp: load_lib java.exp.
2235 If set_lang_java fails, issue a warning instead of failure to be
2236 consistent with other set_lang_foo uses.
2237 (set_lang_java): Moved to lib/java.exp.
2238 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2239 If set_lang_java fails, issue a warning instead of failure to be
2240 consistent with other set_lang_foo uses.
2241 * gdb.pascal/types.exp: load_lib pascal.exp.
2242 (set_lang_pascal): Moved to lib/pascal.exp.
2243 * lib/fortran.exp: New file.
2244 * lib/java.exp (set_lang_java): New function.
2245 * lib/pascal.exp (set_lang_pascal): New function.
2246
2f06b485
YQ
22472010-08-18 Yao Qi <yao@codesourcery.com
2248
2249 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2250 func_nofb_start and func_loopfb_start, so that address of functions
2251 is equal to these labels on Thumb.
2252
96e25403
YQ
22532010-08-18 Yao Qi <yao@codesourcery.com>
2254
2255 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2256 to reflect latest c source file.
2257
36e6adc4
JK
22582010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2259
2260 * gdb.cp/infcall-dlopen.exp: New file.
2261 * gdb.cp/infcall-dlopen.cc: New file.
2262 * gdb.cp/infcall-dlopen-lib.cc: New file.
2263
f431efe5
PA
22642010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2265 Pedro Alves <pedro@codesourcery.com>
2266
2267 PR breakpoints/11371
2268
2269 * gdb.base/watch-cond-infcall.exp: New file.
2270 * gdb.base/watch-cond-infcall.c: New file.
2271
06a64a0b
TT
22722010-08-16 Tom Tromey <tromey@redhat.com>
2273
2274 * gdb.base/help.exp: Update.
2275 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2276 watchpoint.
2277 (test_watch_location): New proc.
2278 (test_watchpoint_in_big_blob): Delete watchpoint.
2279 * gdb.base/watchpoint.c (func5): New function.
2280 (main): Call it.
2281
70ebf4ed
DE
22822010-08-16 Doug Evans <dje@google.com>
2283
2284 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2285
ca5c20b6
PM
22862010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2287
2288 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2289 tests.
2290
7346b668
KW
22912010-08-11 Ken Werner <ken.werner@de.ibm.com>
2292
2293 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2294 * gdb.base/gnu_vector.c: New File.
2295 * gdb.base/gnu_vector.exp: Likewise.
2296
cb2e07a6
PM
22972010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2298
2299 * gdb.python/python.c: New File.
2300 * gdb.python/python-sl.c: New File.
2301 * gdb.python/python.exp: Test solib_address and decode_line
2302 * functions.
2303
5da1313b
JK
23042010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2305
2306 * gdb.python/python.exp (show height, set height 10)
2307 (verify pagination beforehand, verify pagination beforehand: q)
2308 (gdb.execute does not page, verify pagination afterwards)
2309 (verify pagination afterwards: q): New.
2310
49c3ccf7
DE
23112010-08-02 Doug Evans <dje@google.com>
2312
2313 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2314 because of an older gcc, change test2
2315 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2316 to unsupported.
2317
42c0c4f1
KH
23182010-07-30 Kazu Hirata <kazu@codesourcery.com>
2319
2320 * gdb.base/break-always.exp: Do not expect full paths to file
2321 names.
2322 * gdb.base/commands.exp: Likewise.
2323
d3765805
DE
23242010-07-30 Doug Evans <dje@google.com>
2325
c98ee71b
DE
2326 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2327 xfail them when run with older gccs.
2328
fd961404
DE
2329 * lib/gdb.exp (build_executable): Forward "c++" option to
2330 get_compiler_info.
2331
999adef4
DE
2332 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2333 "python print ttype.template_argument(1)" and
2334 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2335 if using gcc 4.4 or earlier.
2336
d3765805
DE
2337 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2338 attach-to-debugger handling.
2339
1276c759
JK
23402010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2341
2342 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2343 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2344 (main): Use copyreloc.
2345 * gdb.base/prelink.exp (split debug of executable)
2346 (.dynbss vs. .bss address shift): New tests.
2347
88caa9b9
PA
23482010-07-29 Pedro Alves <pedro@codesourcery.com>
2349
2350 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2351 in gdb_test_multiple.
2352
c6f2ac43
PA
23532010-07-29 Pedro Alves <pedro@codesourcery.com>
2354
2355 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2356 environment.
2357
326fd672
TT
23582010-07-28 Tom Tromey <tromey@redhat.com>
2359
2360 PR python/11060:
2361 * gdb.python/py-type.c (Temargs): New template.
2362 (temvar): New variable.
2363 * gdb.python/py-type.exp (test_template): New proc.
2364
3ce3b1ba
PA
23652010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2366
2367 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2368 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2369
34eaf542
TT
23702010-07-28 Tom Tromey <tromey@redhat.com>
2371
2372 PR c++/9946:
2373 * gdb.cp/temargs.exp: New file.
2374 * gdb.cp/temargs.cc: New file.
2375
d41b819e
JK
23762010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2377
2378 * gdb.base/help.exp (help disassemble): Update the content.
2379
26ab7092
JK
23802010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2381
2382 * gdb.threads/ia64-sigill.exp: New file.
2383 * gdb.threads/ia64-sigill.c: New file.
2384
5283e9e1
TT
23852010-07-27 Tom Tromey <tromey@redhat.com>
2386
2387 * gdb.opt/inline-cmds.c (ATTR): New define.
2388 (func1): Use it.
2389 (func2): Likewise.
2390 (func3): Likewise.
2391 (outer_inline1): Likewise.
2392 (outer_inline2): Likewise.
2393 * gdb.opt/inline-bt.c (ATTR): New define.
2394 (func1): Use it.
2395 (func2): Likewise.
2396 * gdb.opt/inline-locals.c (ATTR): New define.
2397 (func1): Use it.
2398 (func2): Likewise.
2399
e992ef73
TT
24002010-07-27 Tom Tromey <tromey@redhat.com>
2401
2402 * gdb.stabs/gdb11479.c (hack): New function.
2403 (test): Use it.
2404 (test2): Use it.
2405 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2406 (int32_search_buf, int64_search_buf): No longer static.
2407 (x): Remove.
2408 * gdb.base/relocate.c (hack): New function.
2409
5374244e
PM
24102010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2411
2412 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2413 * gdb.python/py-value.c (func1): New function.
2414 (func2): Likewise.
2415
a99aee83
CV
24162010-07-26 Corinna Vinschen <vinschen@redhat.com>
2417
2418 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2419 as not to clash with .data section.
2420
a04ba985
JG
24212010-07-26 Jerome Guitton <guitton@adacore.com>
2422
2423 * gdb.base/code_elim.exp: New file.
2424 * gdb.base/code_elim1.c: New file.
2425 * gdb.base/code_elim2.c: New file.
2426
23bd0f7c
PA
24272010-07-21 Pedro Alves <pedro@codesourcery.com>
2428
2429 PR symtab/11827
2430
2431 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2432 (some_volatile_enum): New variable.
2433 * gdb.base/printcmds.exp (test_print_enums): New.
2434 <top level>: Call it.
2435
883df6dd
SW
24362010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2437
2438 * gdb.cp/fpointer.cc: New test.
2439 * gdb.cp/fpointer.exp: New test.
2440
569b05a5
JK
24412010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2442
2443 * gdb.base/solib-nodir.exp: New file.
2444 * lib/gdb.exp (runto): New case for a GDB internal error.
2445
51d7d803
JK
24462010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2447 Ulrich Weigand <uweigand@de.ibm.com>
2448 Tom Tromey <tromey@redhat.com>
2449
2450 * gdb.base/charset-malloc.c: New file.
2451 * gdb.base/charset.c (malloc_stub): New prototype.
2452 (main): Call it instead of malloc itself.
2453 * gdb.base/charset.exp: Use only prepare_for_testing.
2454 (binfile): Remove the variable.
2455
c0edd9ed
JK
24562010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2457
2458 Make core files the process_stratum.
2459 * gdb.base/corefile.exp (run: load core again)
2460 (run: sanity check we see the core file, run: with core)
2461 (run: core file is cleared, attach: load core again)
2462 (attach: sanity check we see the core file, attach: with core)
2463 (attach: core file is cleared): New tests.
2464 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2465
3cbaedff
KW
24662010-07-14 Ken Werner <ken.werner@de.ibm.com>
2467
2468 * gdb.arch/altivec-abi.exp: New tests.
2469
91158a56
TT
24702010-07-13 Tom Tromey <tromey@redhat.com>
2471
2472 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2473 (main): Use it.
2474 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2475
0f5238ed
TT
24762010-07-13 Tom Tromey <tromey@redhat.com>
2477
2478 * gdb.base/label.exp: New file.
2479 * gdb.base/label.c: New file.
2480
add265ae
L
24812010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2482 H.J. Lu <hongjiu.lu@intel.com>
2483
2484 * lib/gdb.exp (is_ilp32_target): New.
2485 (is_lp64_target): Likewise.
2486
2487 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2488 target.
2489 * gdb.arch/amd64-disp-step.exp: Likewise.
2490 * gdb.arch/amd64-dword.exp: Likewise.
2491 * gdb.arch/amd64-i386-address.exp: Likewise.
2492 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 2493
add265ae
L
2494 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2495 target.
2496 * gdb.arch/i386-bp_permanent.exp: Likewise.
2497 * gdb.arch/i386-byte.exp: Likewise.
2498 * gdb.arch/i386-disp-step.exp: Likewise.
2499 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2500 * gdb.arch/i386-prologue.exp: Likewise.
2501 * gdb.arch/i386-size-overlap.exp: Likewise.
2502 * gdb.arch/i386-size.exp: Likewise.
2503 * gdb.arch/i386-sse.exp: Likewise.
2504 * gdb.arch/i386-unwind.exp: Likewise.
2505 * gdb.arch/i386-word.exp: Likewise.
2506
2507 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2508 test only when building 64-bit executables. Do not hard-code
2509 -m64 option.
2510
2dfb8c17
DE
25112010-07-07 Doug Evans <dje@google.com>
2512
2513 * lib/gdb.exp (gdb_test_list_exact): New function.
2514 * gdb.base/default.exp (show convenience): Call it, add tests for
2515 $_sdata = void, $_thread = 0.
2516
4e5799b6
JK
25172010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2518 Joel Brobecker <brobecker@adacore.com>
2519
2520 Fix re-run of PIE executable, PR shlibs/11776.
2521 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2522 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2523 and re-"run" of the inferior.
2524
1a219cc7
JK
25252010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2526 Joel Brobecker <brobecker@adacore.com>
2527
2528 Cope with missing /usr/sbin/prelink.
2529 * lib/prelink-support.exp (prelink_no):
2530 <result == 1 && $output is "no such file or directory">: New.
2531 (prelink_yes): Likewise. Return on failed prelink_no.
2532
5e3b36f8
JK
25332010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2534 Joel Brobecker <brobecker@adacore.com>
2535
2536 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2537 build_executable by build_executable_own_libs. Replace "prelink -R"
2538 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2539 change.
2540 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2541 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2542 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2543 Replace build_executable by build_executable_own_libs's function
2544 build_executable_own_libs.
2545 (prelinkNO): Create new stub to call prelink_no.
2546 (prelinkYES): Create new stub to call prelink_yes.
2547 (test_attach): Rename calls of copy to file_copy.
2548 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2549 (copy): Move to ...
2550 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2551 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2552 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2553 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2554 special flags by gdb_compile_shlib. Replace second gdb_compile by
2555 build_executable_own_libs. Replace "prelink -R" execution by a call of
2556 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2557 a second call of prelink_yes. Replace restart commands by
2558 clean_restart.
2559 (prelink): Rename to ...
2560 (seen displacement message): ... this test. Extend its expectation
2561 strictness.
2562
86e4bafc
JK
25632010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2564
2565 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2566 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2567 displacement message exactly once.
2568
3cd07d20
JK
25692010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2570 Joel Brobecker <brobecker@adacore.com>
2571
2572 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2573 its restore after the <$relink_args != ""> loop. new comment.
2574
0a1e94c7
JK
25752010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2576 Joel Brobecker <brobecker@adacore.com>
2577
2578 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2579 code for it. New variable relink_args.
2580 (prelinkYES): Call prelinkNO.
2581 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2582 in such case. Move the core code to ...
2583 (test_attach_gdb): ... a new function. Send GDB command "file".
2584 Extend expected "Attaching to " string.
2585
2f70bcfb
TT
25862010-07-02 Tom Tromey <tromey@redhat.com>
2587
2588 * gdb.base/bitops.exp: Remove extraneous "pass".
2589
a17ac5b0
TT
25902010-07-02 Ken Werner <ken.werner@de.ibm.com>
2591
2592 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2593
dc10affe
PA
25942010-07-01 Pedro Alves <pedro@codesourcery.com>
2595
d41c0fc8
PA
2596 * gdb.base/help.exp: Adjust expected output.
2597
25982010-07-01 Pedro Alves <pedro@codesourcery.com>
2599
2600 * gdb.base/help.exp: Adjust expected output.
dc10affe 2601
0a600c36
JK
26022010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2603
2604 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2605 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2606 c++/11702.
2607
37cc8bfe
JK
26082010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2609 Doug Evans <dje@google.com>
2610
2611 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2612 add .dynamic entry'.
2613
254e6b9e
DE
26142010-06-29 Doug Evans <dje@google.com>
2615
2616 Test PR c++/11702.
2617 * gdb.cp/m-static.exp: Add testcase.
2618 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2619
595939de 26202010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
2621 Tom Tromey <tromey@redhat.com>
2622 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
2623
2624 * gdb.python/py-inferior.c: New File.
2625 * gdb.python/py-infthread.c: New File.
2626 * gdb.python/py-inferior.exp: New File.
2627 * gdb.python/py-infthread.exp: New File.
2628
98751a41
JK
26292010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2630
2631 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2632 (ptype ::C::OtherFileClass typedefs): New.
2633 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2634 (C::OtherFileClass::cOtherFileClassVar2): New.
2635 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2636 cOtherFileClassVar2.
2637 (C::cOtherFileType2, C::cOtherFileVar2): New.
2638 (C::cOtherFileVar_use): use also cOtherFileVar2.
2639 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2640
41f62f39
JK
26412010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2642
2643 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2644 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2645 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2646 (print ::C::cOtherFileVar)
2647 (whatis C::OtherFileClass::cOtherFileClassType)
2648 (whatis ::C::OtherFileClass::cOtherFileClassType)
2649 (print C::OtherFileClass::cOtherFileClassVar)
2650 (print ::cOtherFileClassVar)
2651 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2652 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2653 trailing content.
2654 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2655 (C::OtherFileClass::cOtherFileClassVar)
2656 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2657 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2658
af53d231
JK
26592010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2660
2661 Test PR c++/11703 and PR gdb/1448.
2662 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2663 gdb/1448.
2664
9655fd1a
JK
26652010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2666
2667 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2668 (main) <rtti_data>: New.
2669 * gdb.cp/virtbase.exp (print rtti_data): New.
2670
824cc8dd
JK
26712010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2672 Joel Brobecker <brobecker@adacore.com>
2673
2674 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2675
6036c742
JK
26762010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2677
2678 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2679
de6a0421
DE
26802010-06-28 Doug Evans <dje@google.com>
2681
2682 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2683
b2dae948
DE
26842010-06-27 Doug Evans <dje@google.com>
2685
2686 * gdb.cp/m-static.exp: Update expected test output.
2687
0f3bb72e
PH
26882010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2689
889bf7c5
PA
2690 * gdb.gdb/selftest.exp: Adjust expected message for
2691 capturing start-up runtime.
0f3bb72e 2692
bc9f0842
TT
26932010-06-25 Tom Tromey <tromey@redhat.com>
2694
2695 PR python/10808:
2696 * gdb.python/python.exp: Add new tests.
2697
099ef718
SW
26982010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2699
2700 * gdb.cp/operator.cc: Created an import loop.
2701 * gdb.cp/operator.exp: Added testcase for import loop.
2702
5868a632
JK
27032010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2704
2705 Test PR python/11407.
2706 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2707 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2708 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2709 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2710 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2711 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2712 binfile. Call gdb_compile with clean_restart twice.
2713 (func_nofb print, func_nofb backtrace, func_loopfb print)
2714 (func_loopfb backtrace): New.
2715
af76db58
JK
27162010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2717
2718 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2719 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2720 by a hand made one.
2721 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2722 i?86 requirement. Remove variables srcfile and binfile. New variable
2723 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2724
f2c7657e
UW
27252010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2726
2727 * gdb.cell/dwarfaddr.exp: New file.
2728 * gdb.cell/dwarfaddr.S: New file.
2729
628fe4e4
JK
27302010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2731
2732 Test PR 9436.
2733 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2734
f1421989
HZ
27352010-06-24 Hui Zhu <teawater@gmail.com>
2736
2737 * gdb.base/eval.exp: New file.
2738
d03285ec
UW
27392010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2740
2741 * gdb.cell/fork.exp: New file.
2742 * gdb.cell/fork.c: Likewise.
2743 * gdb.cell/fork-spu.c: Likewise.
2744
41b2c92d
PM
27452010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2746
2747 * lib/gdb.exp (banned_variables_traced): New global variable.
2748 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2749 (gdb_init): Use `trace add variable' instead of obsolete
2750 `trace variable'.
2751
d5bc977f
DE
27522010-06-21 Doug Evans <dje@google.com>
2753
2754 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2755
d2ed6730
UW
27562010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2757
2758 * gdb.arch/spu-ls.exp: New file.
2759 * gdb.arch/spu-ls.c: Likewise.
2760
6aed2dbc
SS
27612010-06-18 Stan Shebs <stan@codesourcery.com>
2762
2763 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2764
e0756905
UW
27652010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2766
2767 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2768 * gdb.base/watch-cond.exp: Likewise.
2769 * gdb.python/py-breakpoint.exp: Likewise.
2770
d8053d4d
PA
27712010-06-18 Pedro Alves <pedro@codesourcery.com>
2772
2773 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2774 clean_restart, make sure every test has a distinct message, and
2775 that messages don't include the executable' full path.
2776
81ce510c
DE
27772010-06-17 Doug Evans <dje@google.com>
2778
2779 * gdb.arch/i386-size.exp: Updated expected output for
2780 DISASSEMBLY_OMIT_FNAME.
2781
65d79d4b
SDJ
27822010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2783 Sergio Durigan Junior <sergiodj@redhat.com>
2784
2785 * gdb.base/watch-notconst.c: New file.
2786 * gdb.base/watch-notconst.S: New file.
2787 * gdb.base/watch-notconst2.c: New file.
2788 * gdb.base/watch-notconst2.S: New file.
2789 * gdb.base/watch-notconst.exp: New file.
2790 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2791 (func4): Add operations on `global_ptr_ptr'.
2792 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2793 routine to test watchpoints created with a constant expression.
2794 (test_inaccessible_watchpoint): Include tests for watchpoints
2795 created with a constant expression.
2796
df0f4836
KB
27972010-06-14 Kevin Buettner <kevinb@redhat.com>
2798
2799 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2800 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2801 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2802 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2803 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2804 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2805 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2806 of `_start'.
2807
b769def5
UW
28082010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2809
2810 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2811 not supported on the target.
2812 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2813 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2814 * gdb.mi/mi-nsintrall.exp: Likewise.
2815 * gdb.mi/mi-nsmoribund.exp: Likewise.
2816 * gdb.mi/mi-nsthrexec.exp: Likewise.
2817
d914c394
SS
28182010-06-11 Stan Shebs <stan@codesourcery.com>
2819
2820 * gdb.base/permissions.exp: New file.
2821
28222010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
2823
2824 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2825 does not support ELF executable class.
2826
f3ce5b9c
UW
28272010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2828
2829 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2830
8e46892c
JK
28312010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2832
2833 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2834 (runto): Catch "The target does not support running in non-stop mode.".
2835
6cc55c64
MS
28362010-06-11 Michael Snyder <msnyder@vmware.com>
2837
2838 * gdb.base/setshow.exp (set language asm): Don't use
2839 gdb_test_no_output, fails on some targets.
2840
caddefa4
UW
28412010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2842
2843 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2844 * gdb.cp/pr9167.exp: Likewise.
2845
468b1aa7
UW
28462010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2847
2848 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2849
5c3552dc
UW
28502010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2851
2852 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2853
02e6fe6a
UW
28542010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2855
2856 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2857
0e03807e
TT
28582010-06-11 Tom Tromey <tromey@redhat.com>
2859
2860 PR gdb/9977, PR exp/11636::
2861 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2862 (pieces_test_f6): Update expected output.
2863
2bdf28a0
JK
28642010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2865
2866 * gdb.base/moribund-step.exp: New.
2867
f6978de9
MS
28682010-06-08 Michael Snyder <msnyder@vmware.com>
2869
2870 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 2871 * gdb.ada/boolean_expr.exp:
f6978de9
MS
2872 * gdb.ada/frame_args.exp: Ditto.
2873 * gdb.ada/lang_switch.exp: Ditto.
2874 * gdb.ada/ptype_arith_binop.exp: Ditto.
2875 * gdb.ada/ref_param.exp: Ditto.
2876 * gdb.ada/type_coercion.exp:Ditto.
2877
2878 * gdb.asm/asm-source.exp: Ditto.
2879
2880 * gdb.base/attach.exp: Ditto.
2881 * gdb.base/bitfields2.exp: Ditto.
2882 * gdb.base/call-signal-resume.exp: Ditto.
2883 * gdb.base/callfuncs.exp: Ditto.
2884 * gdb.base/commands.exp: Ditto.
2885 * gdb.base/dbx.exp: Ditto.
2886 * gdb.base/default.exp: Ditto.
2887 * gdb.base/dump.exp: Ditto.
2888 * gdb.base/exprs.exp: Ditto.
2889 * gdb.base/freebpcmd.exp: Ditto.
2890 * gdb.base/interrupt.exp: Ditto.
2891 * gdb.base/list.exp: Ditto.
2892 * gdb.base/long_long.exp: Ditto.
2893 * gdb.base/maint.exp: Ditto.
2894 * gdb.base/ptype.exp: Ditto.
2895 * gdb.base/return.exp: Ditto.
2896 * gdb.base/setshow.exp: Ditto.
2897 * gdb.base/sigbpt.exp: Ditto.
2898 * gdb.base/sigrepeat.exp: Ditto.
2899
2900 * gdb.cp/classes.exp: Ditto.
2901
2902 * gdb.dwarf2/dw2-restore.exp: Ditto.
2903
2904 * gdb.gdb/selftest.exp: Ditto.
2905
2906 * gdb.multi/base.exp: Ditto.
2907 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2908
2909 * gdb.python/py-block.exp: Ditto.
2910 * gdb.python/py-prettyprint.exp: Ditto.
2911 * gdb.python/py-template.exp: Ditto.
2912
2913 * gdb.server/ext-attach.exp: Ditto.
2914 * gdb.server/ext-run.exp: Ditto.
2915 * gdb.server/server-mon.exp: Ditto.
2916
2917 * gdb.threads/fork-thread-pending.exp: Ditto.
2918 * gdb.threads/hand-call-in-threads.exp: Ditto.
2919 * gdb.threads/interrupted-hand-call.exp: Ditto.
2920 * gdb.threads/linux-dp.exp: Ditto.
2921 * gdb.threads/manythreads.exp: Ditto.
2922 * gdb.threads/print-threads.exp: Ditto.
2923 * gdb.threads/pthreads.exp: Ditto.
2924 * gdb.threads/schedlock.exp: Ditto.
2925 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2926 * gdb.threads/threadapply.exp: Ditto.
2927
de7ff789
MS
29282010-06-08 Michael Snyder <msnyder@vmware.com>
2929
889bf7c5 2930 * gdb.ada/exec_changed.exp:
de7ff789
MS
2931 Use ".*" instead of "" as wildcard regexp.
2932
2933 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2934 * gdb.base/call-ar-st.exp: Ditto.
2935 * gdb.base/checkpoint.exp: Ditto.
2936 * gdb.base/default.exp: Ditto.
2937 * gdb.base/dump.exp: Ditto.
2938 * gdb.base/ending-run.exp: Ditto.
2939 * gdb.base/fileio.exp: Ditto.
2940 * gdb.base/miscexprs.exp: Ditto.
2941 * gdb.base/pointers.exp: Ditto.
2942 * gdb.base/readline.exp: Ditto.
2943 * gdb.base/reread.exp: Ditto.
2944 * gdb.base/restore.exp: Ditto.
2945 * gdb.base/shlib-call.exp: Ditto.
2946 * gdb.base/valgrind-db-attach.exp: Ditto.
2947 * gdb.base/volatile.exp: Ditto.
2948 * gdb.base/watchpoints.exp: Ditto.
2949
2950 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2951
2952 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2953 * gdb.python/py-value.exp: Ditto.
2954
2955 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2956 * gdb.trace/circ.exp: Ditto.
2957 * gdb.trace/collection.exp: Ditto.
2958 * gdb.trace/packetlen.exp: Ditto.
2959 * gdb.trace/passc-dyn.exp: Ditto.
2960 * gdb.trace/report.exp: Ditto.
2961 * gdb.trace/tfile.exp: Ditto.
2962 * gdb.trace/tfind.exp: Ditto.
2963 * gdb.trace/while-dyn.exp: Ditto.
2964
3bebe2f2
JK
29652010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2966
2967 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2968
5c631832
JK
29692010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2970
2971 Test PR 10640.
2972 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2973
4c3376c8
SW
29742010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2975
2976 * gdb.cp/koenig.exp: Test for ADL operators.
2977 * gdb.cp/koenig.cc: Added ADL operators.
2978 * gdb.cp/operator.exp: New test.
2979 * gdb.cp/operator.cc: New test.
2980
dc226d5a
MS
29812010-06-04 Michael Snyder <msnyder@vmware.com>
2982
dfb88a23
MS
2983 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2984 * gdb.base/pending.exp: Ditto.
f7ae76b3 2985
dc226d5a
MS
2986 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2987
967cf477
DE
29882010-06-04 Doug Evans <dje@google.com>
2989
2990 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2991 disabled printers.
2992 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2993 (enable_lookup_function): New function.
2994
eb801841
TT
29952010-06-04 Tom Tromey <tromey@redhat.com>
2996
2997 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2998 of hash and id.
2999
38979823
JK
30002010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3001
3002 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3003 newline.
3004 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3005 (empty verbose non-noisy clear, empty verbose noisy clear)
3006 (empty non-verbose noisy clear): Likewise.
3007
35ec993f
MS
30082010-06-03 Michael Snyder <msnyder@vmware.com>
3009
3010 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3011 * gdb.base/display.exp: Ditto.
3012 * gdb.base/find.exp: Ditto.
3013 * gdb.base/ifelse.exp: Ditto.
3014 * gdb.base/multi-forks.exp: Ditto.
3015 * gdb.base/recurse.exp: Ditto.
3016 * gdb.base/setshow.exp: Ditto.
3017 * gdb.base/value-double-free.exp: Ditto.
3018 * gdb.base/watch-vfork.exp: Ditto.
3019 * gdb.base/watch_thread_num.exp: Ditto.
3020 * gdb.base/watchpoint-solib.exp: Ditto.
3021 * gdb.base/watchpoint.exp: Ditto.
3022 * gdb.base/watchpoints.exp: Ditto.
3023
3024 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3025 * gdb.cp/overload.exp: Ditto.
3026 * gdb.cp/virtfunc.exp: Ditto.
3027
3028 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3029
889bf7c5 3030 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
3031 Replace gdb_test with gdb_test_no_output.
3032
889bf7c5 3033 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
3034 Replace gdb_test with gdb_test_no_output.
3035 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3036 * gdb.threads/watchthreads.exp: Ditto.
3037 * gdb.threads/watchthreads2.exp: Ditto.
3038
3039 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3040 * gdb.trace/tfind.exp: Ditto.
3041
c22decce
JB
30422010-06-03 Joel Brobecker <brobecker@adacore.com>
3043
3044 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3045 successful test if message is the empty string.
3046
fd5700c7
JK
30472010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3048
3049 * gdb.fortran/module.exp (stopped language detection): New test.
3050
f55ee35c
JK
30512010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3052
3053 Support DW_TAG_module as separate namespaces.
3054 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3055 gdb.fortran/library-module-lib.f90: New.
3056 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3057 (print i): Remove.
3058 (continue to breakpoint: i-is-1, print var_i value 1)
3059 (continue to breakpoint: i-is-2, print var_i value 2)
3060 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3061 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3062 (complete `modmany, complete `modmany`, complete `modmany`var)
3063 (show language, setting breakpoint at module): New tests.
3064 * gdb.fortran/module.f90 (module mod): Remove.
3065 (module mod1, module mod2, module modmany, subroutine sub1)
3066 (subroutine sub2, program module): New.
3067
b8e8282f
JK
30682010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3069
3070 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3071 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
3072 * gdb.cp/anon-union.exp (pass): Rename to ...
3073 (print z 2): ... here.
b8e8282f 3074
019ebafc
MS
30752010-06-02 Michael Snyder <msnyder@vmware.com>
3076
e68d8fd4
MS
3077 * gdb.trace/actions.exp: Use gdb_test_no_output.
3078 * gdb.trace/circ.exp: Ditto.
3079 * gdb.trace/packetlen.exp: Ditto.
3080 * gdb.trace/save-trace.exp: Ditto.
3081 * gdb.trace/tracecmd.exp: Ditto.
3082 * gdb.trace/tsv.exp: Ditto.
3083
12b5d08a
MS
3084 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3085 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3086 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3087 * gdb.threads/manythreads.exp: Ditto.
3088 * gdb.threads/print-threads.exp: Ditto.
3089 * gdb.threads/pthreads.exp: Ditto.
3090 * gdb.threads/schedlock.exp: Ditto.
3091 * gdb.threads/staticthreads.exp: Ditto.
3092 * gdb.threads/thread-specific.exp: Ditto.
3093 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3094 * gdb.threads/threadapply.exp: Ditto.
3095 * gdb.threads/watchthreads.exp: Ditto.
3096 * gdb.threads/watchthreads2.exp: Ditto.
3097
89493308
MS
3098 * gdb.python/py-block.exp: Use gdb_test_no_output.
3099 * gdb.python/py-prettyprint.exp: Ditto.
3100 * gdb.python/py-template.exp: Ditto.
3101 * gdb.python/py-value.exp: Ditto.
3102
3103 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3104 * gdb.reverse/watch-reverse.exp: Ditto.
3105
3106 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3107 * gdb.server/ext-run.exp: Ditto.
3108
019ebafc
MS
3109 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3110 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3111 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3112 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3113 * gdb.dwarf2/dw2-producer.exp: Ditto.
3114 * gdb.dwarf2/mac-fileno.exp: Ditto.
3115
3116 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3117 * gdb.gdb/selftest.exp: Ditto.
3118
3119 * gdb.multi/base.exp: Use gdb_test_no_output.
3120
3121 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3122
3e0ca3a5
JK
31232010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3124
3125 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3126
9db70545
MS
31272010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3128
a8d52276
MS
3129 * gdb.cp/class2.exp: Use gdb_test_no_output.
3130 * gdb.cp/classes.exp: Ditto.
3131 * gdb.cp/extern-c.exp: Ditto.
3132 * gdb.cp/inherit.exp: Ditto.
3133 * gdb.cp/maint.exp: Ditto.
3134 * gdb.cp/mb-inline.exp: Ditto.
3135 * gdb.cp/mb-templates.exp: Ditto.
3136 * gdb.cp/method2.exp: Ditto.
3137 * gdb.cp/misc.exp: Ditto.
3138 * gdb.cp/ovldbreak.exp: Ditto.
3139 * gdb.cp/punctuator.exp: Ditto.
3140 * gdb.cp/templates.exp: Ditto.
3141 * gdb.cp/virtbase.exp: Ditto.
3142
889bf7c5 3143 * gdb.threads/attach-stopped.exp:
9db70545 3144 Replace uses of send_gdb / gdb_expect.
889bf7c5 3145 * gdb.threads/attachstop-mt.exp:
9db70545 3146 Replace uses of send_gdb / gdb_expect.
889bf7c5 3147 * gdb.threads/gcore-thread.exp:
9db70545 3148 Replace uses of send_gdb / gdb_expect.
889bf7c5 3149 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
3150 Replace uses of send_gdb / gdb_expect.
3151 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3152 * gdb.threads/print-threads.exp:
9db70545
MS
3153 Replace uses of send_gdb / gdb_expect.
3154 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3155 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3156 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3157
3158 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3159 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3160 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3161 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3162 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3163 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3164 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3165 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3166 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3167 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3168 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3169
359cc68c
JK
31702010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3171
3172 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3173
7d3fe98e
SW
31742010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3175
3176 * gdb.cp/koenig.exp: Added new test case.
3177 * gdb.cp/koenig.cc: Ditto.
3178
27d3a1a2
MS
31792010-06-01 Michael Snyder <msnyder@vmware.com>
3180
3181 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3182 * gdb.base/arrayidx.exp: Ditto.
3183 * gdb.base/attach.exp: Ditto.
3184 * gdb.base/auxv.exp: Ditto.
3185 * gdb.base/bigcre.exp: Ditto.
3186 * gdb.base/break-always.exp: Ditto.
3187 * gdb.base/break-interp.exp: Ditto.
3188 * gdb.base/break.exp: Ditto.
3189 * gdb.base/breakpoint-shadow.exp: Ditto.
3190 * gdb.base/call-ar-st.exp: Ditto.
3191 * gdb.base/call-sc.exp: Ditto.
3192 * gdb.base/call-signal-resume.exp: Ditto.
3193 * gdb.base/callfuncs.exp: Ditto.
3194 * gdb.base/catch-syscall.exp: Ditto.
3195 * gdb.base/charset.exp: Ditto.
3196 * gdb.base/code-expr.exp: Ditto.
3197 * gdb.base/commands.exp: Ditto.
3198 * gdb.base/cond-expr.exp: Ditto.
3199 * gdb.base/condbreak.exp: Ditto.
3200 * gdb.base/cursal.exp: Ditto.
3201 * gdb.base/cvexpr.exp: Ditto.
3202 * gdb.base/default.exp: Ditto.
3203 * gdb.base/del.exp: Ditto.
3204 * gdb.base/detach.exp: Ditto.
3205 * gdb.base/display.exp: Ditto.
3206 * gdb.base/ena-dis-br.exp: Ditto.
3207 * gdb.base/eval-skip.exp: Ditto.
3208 * gdb.base/foll-fork.exp: Ditto.
3209 * gdb.base/foll-vfork.exp: Ditto.
3210 * gdb.base/frame-args.exp: Ditto.
3211 * gdb.base/funcargs.exp: Ditto.
3212 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3213 * gdb.base/gdbvars.exp: Ditto.
3214 * gdb.base/help.exp: Ditto.
3215 * gdb.base/ifelse.exp: Ditto.
3216 * gdb.base/included.exp: Ditto.
3217 * gdb.base/list.exp: Ditto.
3218 * gdb.base/macscp.exp: Ditto.
3219 * gdb.base/maint.exp: Ditto.
3220 * gdb.base/multi-fork.exp: Ditto.
3221 * gdb.base/overlays.exp: Ditto.
3222 * gdb.base/page.exp: Ditto.
3223 * gdb.base/pending.exp: Ditto.
3224 * gdb.base/pointers.exp: Ditto.
3225 * gdb.base/pr11022.exp: Ditto.
3226 * gdb.base/prelink.exp: Ditto.
3227 * gdb.base/printcmds.exp: Ditto.
3228 * gdb.base/psymtab.exp: Ditto.
3229 * gdb.base/randomize.exp: Ditto.
3230 * gdb.base/relational.exp: Ditto.
3231 * gdb.base/relocate.exp: Ditto.
3232 * gdb.base/remote.exp: Ditto.
3233 * gdb.base/sepdebug.exp: Ditto.
3234 * gdb.base/set-lang-auto.exp: Ditto.
3235 * gdb.base/setshow.exp: Ditto.
3236 * gdb.base/setvar.exp: Ditto.
3237 * gdb.base/signals.exp: Ditto.
3238 * gdb.base/signull.exp: Ditto.
3239 * gdb.base/sigstep.exp: Ditto.
3240 * gdb.base/sizeof.exp: Ditto.
3241 * gdb.base/solib-disc.exp: Ditto.
3242 * gdb.base/store.exp: Ditto.
3243 * gdb.base/structs.exp: Ditto.
3244 * gdb.base/structs2.exp: Ditto.
3245 * gdb.base/subst.exp: Ditto.
3246 * gdb.base/term.exp: Ditto.
3247 * gdb.base/trace-commands.exp: Ditto.
3248 * gdb.base/unwindonsignal.exp: Ditto.
3249 * gdb.base/valgrind-db-attach.exp: Ditto.
3250 * gdb.base/varargs.exp: Ditto.
3251 * gdb.base/watch-cond.exp: Ditto.
3252 * gdb.base/watch_thread_num.exp: Ditto.
3253 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3254 * gdb.base/watchpoint.exp: Ditto.
3255 * gdb.base/whatis-exp.exp: Ditto.
3256
f8d3bf8f
MS
32572010-06-01 Michael Snyder <msnyder@vmware.com>
3258
3259 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3260 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3261 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3262 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3263 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3264 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3265 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3266 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3267 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3268 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3269 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3270 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3271 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3272 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3273 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3274
3f9e0d32
JK
32752010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3276
3277 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3278 trailing newline.
3279 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3280 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3281 (p *args): ... here and remove excessive trailing newline.
3282
f629457d
JB
32832010-05-31 Joel Brobecker <brobecker@adacore.com>
3284
3285 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3286
09eef106
JK
32872010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 Accept the new Linux kernel "t (tracing stop)" string.
3290 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3291 Update comment.
3292 (state_wait) <T (tracing stop)>: New.
3293 (main): Update the state_wait expect string.
3294
94f31136
PA
32952010-05-28 Pedro Alves <pedro@codesourcery.com>
3296
3297 * limits.c, limits.exp: Delete files.
3298 * Makefile.in (clean mostlyclean): Adjust.
3299 * tracecmd.exp: Adjust.
3300
096554ab
JK
33012010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3302
3303 * gdb.base/tui-layout.exp: New.
3304
27d3a1a2 33052010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 3306
889bf7c5 3307 * gdb.reverse/break-precsave.exp:
bcd2dc50 3308 Replace uses of send_gdb / gdb_expect.
889bf7c5 3309 * gdb.reverse/break-reverse.exp:
bcd2dc50 3310 Replace uses of send_gdb / gdb_expect.
889bf7c5 3311 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 3312 Replace uses of send_gdb / gdb_expect.
889bf7c5 3313 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 3314 Replace uses of send_gdb / gdb_expect.
889bf7c5 3315 * gdb.reverse/finish-precsave.exp:
bcd2dc50 3316 Replace uses of send_gdb / gdb_expect.
889bf7c5 3317 * gdb.reverse/finish-reverse.exp:
bcd2dc50 3318 Replace uses of send_gdb / gdb_expect.
889bf7c5 3319 * gdb.reverse/i386-precsave.exp:
bcd2dc50 3320 Replace uses of send_gdb / gdb_expect.
889bf7c5 3321 * gdb.reverse/i386-reverse.exp:
bcd2dc50 3322 Replace uses of send_gdb / gdb_expect.
889bf7c5 3323 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 3324 Replace uses of send_gdb / gdb_expect.
889bf7c5 3325 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 3326 Replace uses of send_gdb / gdb_expect.
889bf7c5 3327 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 3328 Replace uses of send_gdb / gdb_expect.
889bf7c5 3329 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 3330 Replace uses of send_gdb / gdb_expect.
889bf7c5 3331 * gdb.reverse/machinestate.exp:
bcd2dc50 3332 Replace uses of send_gdb / gdb_expect.
889bf7c5 3333 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 3334 Replace uses of send_gdb / gdb_expect.
889bf7c5 3335 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 3336 Replace uses of send_gdb / gdb_expect.
889bf7c5 3337 * gdb.reverse/solib-precsave.exp:
bcd2dc50 3338 Replace uses of send_gdb / gdb_expect.
889bf7c5 3339 * gdb.reverse/solib-reverse.exp:
bcd2dc50 3340 Replace uses of send_gdb / gdb_expect.
889bf7c5 3341 * gdb.reverse/step-precsave.exp:
bcd2dc50 3342 Replace uses of send_gdb / gdb_expect.
889bf7c5 3343 * gdb.reverse/step-reverse.exp:
bcd2dc50 3344 Replace uses of send_gdb / gdb_expect.
889bf7c5 3345 * gdb.reverse/until-precsave.exp:
bcd2dc50 3346 Replace uses of send_gdb / gdb_expect.
889bf7c5 3347 * gdb.reverse/until-reverse.exp:
bcd2dc50 3348 Replace uses of send_gdb / gdb_expect.
889bf7c5 3349 * gdb.reverse/watch-precsave.exp:
bcd2dc50 3350 Replace uses of send_gdb / gdb_expect.
889bf7c5 3351 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
3352 Replace uses of send_gdb / gdb_expect.
3353
3def43e0
JK
33542010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3355
3356 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3357 excessive newline.
3358
27d3a1a2 33592010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
3360
3361 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
3362 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3363 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3364 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3365 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3366 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3367 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3368 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3369 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3370 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3371 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3372 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3373 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3374 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3375 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3376 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3377 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3378 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3379 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 3380
27d3a1a2 33812010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 3382
22454424
MS
3383 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3384 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3385
3386 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3387 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3388 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3389
889bf7c5 3390 * gdb.reverse/consecutive-reverse.exp:
22454424 3391 Replace uses of send_gdb / gdb_expect.
889bf7c5 3392 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
3393 Replace uses of send_gdb / gdb_expect.
3394
3395 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3396 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3397 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 3398 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
3399 Replace uses of send_gdb / gdb_expect.
3400 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3401 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3402 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3403 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3404 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3405 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3406 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3407 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3408 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
3409
34102010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 3411
22454424 3412 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3413
22454424 3414 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3415
22454424
MS
3416 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3417 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3418 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3419 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3420 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3421 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3422 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3423 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3424 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 3425
6e5f2c59
TT
34262010-05-25 Tom Tromey <tromey@redhat.com>
3427
3428 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3429
bbc8b958
TT
34302010-05-25 Tom Tromey <tromey@redhat.com>
3431
3432 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3433 argument order.
3434 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3435 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3436 order.
3437 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3438 order.
3439 * gdb.base/call-sc.exp (setup_kfails): Remove.
3440 (setup_compiler_kfails): Remove.
3441 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3442 argument order.
3443 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3444 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3445 (advancei): Fix setup_kfail argument order.
3446 * gdb.base/radix.exp: Fix setup_kfail argument order.
3447 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3448 order.
3449 * gdb.base/structs.exp (setup_kfails): Remove.
3450 (setup_compiler_kfails): Fix setup_kfail argument order.
3451 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3452 order.
3453 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3454 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3455 setup_kfail argument order.
3456 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3457
83d1babf
TT
34582010-05-25 Tom Tromey <tromey@redhat.com>
3459
3460 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3461
6acb16a2
MS
34622010-05-25 Michael Snyder <msnyder@vmware.com>
3463
3464 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3465 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3466 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3467 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3468 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3469 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3470 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3471 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3472 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
3473 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3474 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3475 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3476 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3477 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3478 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3479 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3480 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3481 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3482 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3483 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3484 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3485 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3486 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
3487 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3488 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3489 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3490 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3491 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3492 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3493 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3494 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3495 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3496 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3497 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3498 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3499 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3500 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3501 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3502 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3503 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3504 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3505 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3506 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3507 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3508 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3509 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3510 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 3511 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
3512
35132010-05-25 Doug Evans <dje@google.com>
3514
3515 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3516 gdb.string_to_argv.
ad3986f0 3517
d3b1e874
TT
35182010-05-21 Tom Tromey <tromey@redhat.com>
3519
3520 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3521 Call it.
3522 * gdb.dwarf2/pieces.S: Update.
3523 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3524
cb826367
TT
35252010-05-21 Tom Tromey <tromey@redhat.com>
3526
3527 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3528 Call it.
3529 * gdb.dwarf2/pieces.c (struct C): New.
3530 (f6): New function.
3531 * gdb.dwarf2/pieces.S: Replace.
3532
74de6778
TT
35332010-05-21 Tom Tromey <tromey@redhat.com>
3534
3535 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3536 Call it.
3537
afd74c5f
TT
35382010-05-21 Tom Tromey <tromey@redhat.com>
3539
3540 * gdb.dwarf2.pieces.exp: New file.
3541 * gdb.dwarf2.pieces.S: New file.
3542 * gdb.dwarf2.pieces.c: New file.
3543
a7b75dfd 35442010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 3545 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
3546
3547 * lib/gdb.exp (gdb_test_no_output): New function.
3548 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3549 when testing commands that should produce no output.
3550
c81c812a
JB
35512010-05-17 Joel Brobecker <brobecker@adacore.com>
3552
3553 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3554 parameter that we want to watch being a constant.
3555
0cce5bd9
JB
35562010-05-17 Joel Brobecker <brobecker@adacore.com>
3557
3558 * gdb.ada/cond_lang: New testcase.
3559
47050449
JB
35602010-05-17 Joel Brobecker <brobecker@adacore.com>
3561
3562 * lib/gdb.exp (banned_variables): New variable/constant.
3563 (gdb_init): Add write trace on variables listed in banned_variables.
3564 (gdb_finish): Remove write traces on variables listed in
3565 banned_variables.
3566
77c01586
JB
35672010-05-17 Joel Brobecker <brobecker@adacore.com>
3568
3569 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3570 * gdb.cp/koenig.exp: Likewise.
3571
88d4aea7
PM
35722010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3573
889bf7c5 3574 PR python/11482
88d4aea7
PM
3575
3576 * gdb.python/py-value.exp (test_value_hash): New function.
3577
f5a010c0
PM
35782010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3579
3580 PR exp/11530.
3581 * gdb.base/gdb11530.c: New file.
3582 * gdb.base/gdb11530.exp: New file.
3583
8ef4892f
JK
35842010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3585
3586 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3587 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3588
7322dca9
SW
35892010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3590
3591 * gdb.cp/koenig.exp: New test.
3592 * gdb.cp/koenig.cc: New test program.
3593
02e7ea18
JB
35942010-05-05 Joel Brobecker <brobecker@adacore.com>
3595
3596 Remove the use of prms_id and bug_id throughout the testsuite.
3597
e1c34c5d
PM
35982010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3599
3600 PR exp/11349.
3601 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3602 use a reference local variable.
3603
8e1d0c49
JK
36042010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3605
3606 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3607 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3608 variable different_dir. Move debugfile into a full directory pathname
3609 under DIFFERENT_DIR.
3610 * lib/gdb.exp (separate_debug_filename): Remove.
3611 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3612 variable debug_dir and mkdir of it. Update function comments.
3613
e66408ed
PA
36142010-04-29 Pedro Alves <pedro@codesourcery.com>
3615
3616 PR gdb/11557
3617
3618 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3619 files.
3620
d7b32ed3
PM
36212010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3622
889bf7c5 3623 * gdb.python/py-param.exp: New File.
d7b32ed3 3624
6aecb9c2
JB
36252010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3626
3627 * gdb.base/default.exp: Fix "set language" test.
3628
bdf92a1c
PM
36292010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3630
3631 PR breakpoints/11531.
3632 * gdb.base/gdb11531.c: New file.
3633 * gdb.base/gdb11531.exp: New file.
3634
3f172e24
TT
36352010-04-26 Tom Tromey <tromey@redhat.com>
3636
3637 * gdb.base/completion.exp: Add tests for completion and deprecated
3638 commands.
3639
64af4c92
JK
36402010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3641
3642 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3643 (print /x char_array): Escape curly brackets.
3644
492928e4
JK
36452010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3646
3647 Fix deadlock on looped list of loaded shared objects.
3648 * gdb.base/solib-corrupted.exp: New.
3649
66d09542
DE
36502010-04-23 Doug Evans <dje@google.com>
3651
3652 * gdb.python/py-section-script.c: New file.
3653 * gdb.python/py-section-script.exp: New file.
3654 * gdb.python/py-section-script.py: New file.
3655
8bd10a10
CM
36562010-04-20 Chris Moller <cmoller@redhat.com>
3657
3658 PR 10179
3659
3660 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3661 * gdb.base/pr10179-a.c:
3662 * gdb.base/pr10179-b.c:
3663 * gdb.base/pr10179.exp: New files.
3664
c0201579
JK
36652010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3666
3667 Fix crashes on dangling display expressions.
3668 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3669 is SEP.
3670 (lib_flags): Remove the "debug" keyword.
3671 (libsepdebug): New variable for iterating new loop.
3672 (save_pf_prefix): New variable wrapping the loop.
3673 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3674 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3675
793b0ff8
PM
36762010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3677
3678 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3679
097f51f7
PM
36802010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3681
3682 PR stabs/11479.
3683 * gdb.stabs/gdb11479.exp: New file.
3684 * gdb.stabs/gdb11479.c: New file.
3685
9a22f0d0
PM
36862010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3687
3688 * gdb.base/charset.c (Strin16, String32): New variables.
3689 * gdb.base/charset.exp (gdb_test): Test correct display
3690 of 16 or 32 bit strings.
3691
36922010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
3693
3694 PR 9167
3695 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3696 * gdb.cp/pr9167.cc: New file.
3697 * gdb.cp/pr9167.exp: New file.
3698
3699
6e354e5e
PM
37002010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3701
3702 PR pascal/11492.
3703 * gdb.pascal/gdb11492.pas: New file.
3704 * gdb.pascal/gdb11492.exp: New file.
3705
be942545
JB
37062010-04-20 Joel Brobecker <brobecker@adacore.com>
3707
1667e6e3 3708 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 3709
0c3acc09
JB
37102010-04-20 Joel Brobecker <brobecker@adacore.com>
3711
3712 * gdb.ada/dyn_loc: New testcase.
3713
ec31cde5
CM
37142010-04-20 Chris Moller <cmoller@redhat.com>
3715
3716 PR 10867
889bf7c5 3717
ec31cde5
CM
3718 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3719 * gdb.cp/pr10687.cc: New file.
3720 * gdb.cp/pr10687.exp: New file.
3721
3722
ce4b0682
SDJ
37232010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3724 Sergio Durigan Junior <sergiodj@redhat.com>
3725
3726 * gdb.fortran/logical.exp: New testcase.
3727 * gdb.fortran/logical.f90: New file.
3728
3436961f
DE
37292010-04-19 Doug Evans <dje@google.com>
3730
3731 * gdb.base/help.exp (help source): Update expected output.
3732
4d836c09
JK
37332010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3734
3735 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3736 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3737 gdb_exit and return.
3738 (executable): New variable.
3739 (binfile): Use it.
3740
6149aea9
PA
37412010-04-19 Pedro Alves <pedro@codesourcery.com>
3742
3743 PR breakpoints/8554.
3744
3745 * gdb.trace/save-trace.exp: Adjust.
3746
ed41462c
L
37472010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3748
3749 PR corefiles/11511
3750 * gdb.arch/system-gcore.exp: New.
3751 * gdb.arch/gcore.c: Likewise.
3752
3f7b2faa
DE
37532010-04-15 Doug Evans <dje@google.com>
3754
fa33c3cd
DE
3755 * gdb.python/py-progspace.c: New file.
3756 * gdb.python/py-progspace.exp: New file.
3757
3f7b2faa
DE
3758 * gdb.base/source.exp: Add tests for "source -s".
3759
79f283fe
PM
37602010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3761
3762 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3763 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3764 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3765 * gdb.python/py-mi.exp: New test for to_string returning None.
3766
fc8eb08a
PM
37672010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3768
3769 * gdb.python/py-breakpoint.c: Make result global.
3770
26e197f6
JK
37712010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3772
3773 Fix non-GNU make compatibility.
3774 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3775
adc36818
PM
37762010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3777
3778 * gdb.python/py-breakpoint.exp: New File.
3779 * gdb.python/py-breakpoint.C: Ditto.
3780
64e17368
SS
37812010-04-08 Stan Shebs <stan@codesourcery.com>
3782
3783 * gdb.trace/actions.exp: Clear default-collect.
3784 * gdb.trace/save-trace.exp: Clear default-collect.
3785
fff5cc64
PM
37862010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3787
3788 * gdb.python/py-value: Add null string variable.
3789 (test_lazy_string): Test zero length, NULL address lazy
3790 strings.
3791
a055a187
L
37922010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3793
3794 * gdb.arch/i386-avx.c: New.
3795 * gdb.arch/i386-avx.exp: Likewise.
3796
3797 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3798
96e39866
DE
37992010-04-06 Doug Evans <dje@google.com>
3800
3801 * gdb.base/source-test.gdb: New file.
3802 * gdb.base/source.exp: Test source -v.
3803
5984a431
UW
38042010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3805
3806 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3807
ec8a089a
PM
38082010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3809
3810 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3811 within one line, unless it is followed by a double quote.
3812 * gdb.stabs/hppa.sed: Idem.
3813 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
3814 * gdb.stabs/weird.exp: Check for correct parsing of
3815 char and string constants.
ec8a089a
PM
3816 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3817 in .stabs to .stabx substitution.
3818
fce3c1f0
SS
38192010-04-05 Stan Shebs <stan@codesourcery.com>
3820
3821 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3822 constant global.
3823 * gdb.trace/tfile.exp: Try to print them.
3824
d77f58be
SS
38252010-04-04 Stan Shebs <stan@codesourcery.com>
3826
3827 * gdb.base/completion.exp: Update for new "info watchpoints".
3828 * gdb.base/default.exp: Ditto.
3829 * gdb.base/help.exp: Ditto.
3830 * gdb.base/watchpoint.exp: Ditto.
3831 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 3832
af54718e
SS
38332010-04-04 Stan Shebs <stan@codesourcery.com>
3834
3835 * gdb.trace/tfile.exp: Sharpen tfind test.
3836
74d1f91e
JK
38372010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3838
3839 * gdb.base/break-entry.exp: New.
3840
eb8e76db 38412010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 3842 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
3843
3844 * gdb.reverse/i386-sse-reverse.exp: New file.
3845 * gdb.reverse/i386-sse-reverse.c: New file.
3846
bf65cad8
PA
38472010-04-02 Pedro Alves <pedro@codesourcery.com>
3848
3849 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3850
fff87407
SS
38512010-04-01 Stan Shebs <stan@codesourcery.com>
3852
3853 * gdb.trace/actions.exp: Tweak expected output.
3854 * gdb.trace/while-stepping.exp: Tweak expected output.
3855
fe01d668
L
38562010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3859
86b17b60
PA
38602010-04-01 Pedro Alves <pedro@codesourcery.com>
3861
3862 * gdb.base/commands.exp: Adjust.
3863 * gdb.cp/extern-c.exp: Adjust.
3864
2c58c0a9
PA
38652010-04-01 Pedro Alves <pedro@codesourcery.com>
3866
3867 * gdb.trace/collection.c (local_test_func): Define a local struct,
3868 and instanciate it.
3869
0db9b91c
PA
38702010-04-01 Pedro Alves <pedro@codesourcery.com>
3871
3872 * gdb.trace/collection.exp (gdb_collect_args_test)
3873 (gdb_collect_argarray_test): XFAIL the tests that assume the
3874 argarray argument's elements are collected.
3875
8072405b
JK
38762010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3877
3878 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3879 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3880
8bf6485c
SS
38812010-03-31 Stan Shebs <stan@codesourcery.com>
3882
3883 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3884 and tracepoint conditionals.
3885 (gdb_verify_tracepoints): Delete unused return.
3886
fd7f724a
KS
38872010-03-26 Keith Seitz <keiths@redhat.com>
3888
3889 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3890 appear in the output before main.
3891 Remove KFAIL for gdb/2215 aka bz 9320.
3892
8d9e7719
DE
38932010-03-30 Doug Evans <dje@google.com>
3894
0906dd0b
DE
3895 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3896 by dejagnu.
3897 * gdb.arch/amd64-dword.exp: Ditto.
3898
8d9e7719
DE
3899 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3900 match.
3901 (break printf): Ditto.
3902
1da644f0
SW
39032010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3904
3905 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3906 gcc < 4.4.
3907 * gdb.cp/shadow.exp: Ditto.
3908
a8121990
PA
39092010-03-29 Pedro Alves <pedro@codesourcery.com>
3910
3911 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3912 "tstart" is silent.
3913
6e79d367
PA
39142010-03-29 Pedro Alves <pedro@codesourcery.com>
3915
3916 * gdb.trace/collection.exp (executable): New.
3917 (binfile): Use it.
3918 (fpreg, spreg, pcreg): New.
3919 (test_register): Use gdb_test_multiple. Pass /x to print.
3920 (prepare_for_trace_test): New.
3921 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3922 (gdb_collect_args_test, gdb_collect_argstruct_test)
3923 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3924 prepare_for_trace_test.
3925 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3926 fpreg, spreg and pcreg.
3927 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3928 prepare_for_trace_test.
3929 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3930 try to detect tracing support here. Don't set breakpoints at
3931 `begin' or `end' here.
3932 <global scope>: Use clean_restart. Run to main before checking
3933 for tracing support. Check for for tracing support here.
3934
09248348
JK
39352010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3936
3937 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3938 " as $displacement" to "seen displacement message".
3939
d350db38
PA
39402010-03-28 Pedro Alves <pedro@codesourcery.com>
3941
3942 * gdb.trace/while-dyn.exp (executable): New variable.
3943 (binfile): Use it.
3944 (test_while_stepping): New function. Move most tests here. Call
3945 it once for each of the while-stepping, stepping and ws aliases.
3946
907af001
UW
39472010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3948
3949 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3950 that do not provide the tagless_struct type name at all.
3951 (test_print_anon_union): Do not check value of uninitialized
3952 union member. Do not use cp_test_ptype_class, so we can accept
3953 "long" as well as "long int".
3954
610197fd
PA
39552010-03-26 Pedro Alves <pedro@codesourcery.com>
3956
3957 * gdb.trace/tfile.c (tohex, bin2hex): New.
3958 (write_error_trace_file): Hexify error description.
3959
6c28cbf2
SS
39602010-03-25 Stan Shebs <stan@codesourcery.com>
3961
3962 * gdb.trace/tfile.c: Generate an additional trace file, improve
3963 portability.
3964 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3965 files in a better way.
3966
e62b8c7e
KS
39672010-03-25 Keith Seitz <keiths@redhat.com>
3968
3969 * gdb.java/jprint.exp: XFAIL printing of static class members
3970 because of GCC debuginfo problem.
3971
82ccf5a5
JK
39722010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3973
3974 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3975
293e2f9e
DJ
39762010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3977
3978 * gdb.base/completion.exp: Allow long instead of long int.
3979 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3980 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3981 variable p.
3982 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3983 * gdb.base/pointers.exp: Allow long instead of long int.
3984 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3985 * gdb.base/step-line.exp: Allow a directory before the source file name.
3986
95a42b64
TT
39872010-03-24 Tom Tromey <tromey@redhat.com>
3988
3989 PR breakpoints/9352:
3990 * gdb.base/default.exp: Update.
3991 * gdb.base/commands.exp: Update.
3992 * gdb.cp/extern-c.exp: Test setting commands on multiple
3993 breakpoints at once.
3994
2390201f
DJ
39952010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3996
3997 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3998 if gdb,nosignals.
3999 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4000 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4001 exited".
4002
8c9a6790
SS
40032010-03-24 Stan Shebs <stan@codesourcery.com>
4004
4005 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4006
a6c727b2
DJ
40072010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4008
4009 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4010 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4011 argument. Handle "short" and "long".
4012 (Top level): Pass overprototyped output for old_fptr and xptr.
4013
4dfd5423
PA
40142010-03-23 Pedro Alves <pedro@codesourcery.com>
4015
4016 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4017 format strings and add casts to avoid compiler warnings.
4018
40192010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
4020
4021 * lib/trace-support.exp (gdb_trace_setactions):
4022 Don't expect whitespace after ">" prompt.
4023 * gdb.trace/actions.exp: Adjust for output changes.
4024 * gdb.trace/while-stepping.exp: Likewise.
4025
c847d045
JK
40262010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4027
4028 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4029 and r157645).
4030
5f717f1d
JK
40312010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4032
4033 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4034 New.
4035
7d6d51d5
DJ
40362010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4037
4038 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4039 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4040
3b11a015
SS
40412010-03-19 Stan Shebs <stan@codesourcery.com>
4042
4043 * gdb.trace/ax.exp: New file.
4044
d7d158ed
DE
40452010-03-19 Doug Evans <dje@google.com>
4046
6bb85cd1
DE
4047 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4048 output from gcc.
4049
d7d158ed
DE
4050 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4051 named /usr/sbin/prelink<foo>.
4052
4daf5ac0
SS
40532010-03-18 Stan Shebs <stan@codesourcery.com>
4054
4055 * gdb.trace/circ.exp: Test circular-trace-buffer.
4056 * gdb.trace/tfile.exp: Update tstatus test.
4057
e8d05480
JB
40582010-03-18 Joel Brobecker <brobecker@adacore.com>
4059
4060 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4061 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4062
441b986a
UW
40632010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4064
4065 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4066
4247603b
PA
40672010-03-18 Pedro Alves <pedro@codesourcery.com>
4068
4069 * gdb.base/default.exp: Adjust the expected output of the finish
4070 and until commands when the inferior is not being run.
4071
13387711
SW
40722010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4073
4074 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4075 * gdb.cp/nsusing.exp: Ditto.
4076
6e31430b
TT
40772010-03-15 Tom Tromey <tromey@redhat.com>
4078
4079 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4080 * gdb.cp/userdef.cc (operator==): New function.
4081 (main): New locals mem1, mem2.
4082
e2d69cb5
JZ
40832010-03-15 Jie Zhang <jie@codesourcery.com>
4084
4085 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4086 Declare and use new loadtimeout variable.
4087
f572f0a9
DJ
40882010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4089
4090 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4091 Use gdb_load later.
4092
51f4c0b0
PA
40932010-03-14 Pedro Alves <pedro@codesourcery.com>
4094
4095 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4096 literal. Add missing endlines to prints to stderr.
4097
1c809c68
TT
40982010-03-12 Tom Tromey <tromey@redhat.com>
4099
4100 PR c++/9708:
4101 * gdb.cp/m-static.exp: Add regression test.
4102 * gdb.cp/m-static.cc (method): New method.
4103 (main): Call it.
4104
00ae8fef
SW
41052010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4106
4107 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4108 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4109
759f0f0b
PA
41102010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4111
21e24d21
PA
4112 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4113
41142010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4115
759f0f0b
PA
4116 * lib/gdb.exp (skip_stl_tests): New.
4117 (gdb_compile): Symbian needs -ldl.
4118 (shlib_target_file): New.
4119 (shlib_symbol_file): New.
4120 (gdb_load_shlibs): Use shlib_target_file.
4121 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4122 * gdb.cp/exception.exp: Use skip_stl_tests.
4123 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4124 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4125 * gdb.cp/mb-templates.exp: Ditto.
4126 * gdb.base/commands.exp: Relax regexes.
4127 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4128 shlib_target_file and shlib_symbol_file.
4129 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4130 sections.
4131 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4132 * gdb.base/solib-disc.exp: Use
4133 shlib_target_file and shlib_symbol_file.
4134 * gdb.base/unload.exp: Don't skip on symbian. Use
4135 shlib_target_file and shlib_symbol_file.
4136 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4137
6a8f2671 41382010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 4139
6a8f2671
PA
4140 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4141 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4142 Issue a tfind end before looking for a tracepoint frame.
4143 * gdb.trace/tfind.exp: Adjust tstatus output.
4144 Adjust disassembly output.
4145 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4146
ccf26247
JK
41472010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4148
4149 * gdb.base/break-interp.exp: Create new displacement parameter value
4150 for the test_ld calls.
4151 (reach): New parameter displacement, verify its content. New push of
4152 pf_prefix "reach-$func:". Import global expect_out.
4153 (test_core): New parameter displacement, verify its content. New push
4154 of pf_prefix "core:". New command "set verbose on". Import global
4155 expect_out.
4156 (test_attach): New parameter displacement, verify its content. New
4157 push of pf_prefix "attach:". New command "set verbose on". Import
4158 global expect_out.
4159 (test_ld): New parameter displacement, pass it to the reach, test_core
4160 and test_attach calls and verify its content in the "ld.so exit" test.
4161 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4162 (prelink): Update expected text, use gdb_test.
4163
e469c7fb
DE
41642010-03-10 Doug Evans <dje@google.com>
4165
4166 * gdb.base/checkpoint.exp: Fix comment.
4167 Lengthen timeout while doing >600 checkpoints test.
4168 Rename duplicate "kill all one" test to keep test names unique.
4169
60e1c644
PA
41702010-03-10 Pedro Alves <pedro@codesourcery.com>
4171
4172 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4173
cec808ec
KS
41742010-03-08 Keith Seitz <keiths@redhat.com>
4175
889bf7c5
PA
4176 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4177 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4178 (dm_type_long): New function.
4179 (dm_type_unsigned_short): New function.
4180 (dm_type_unsigned_long): New function.
4181 (myint): New typedef.
4182 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4183 long, unsigned shor and long, operator char*, and typedef.
4184 (test_lookup_operator_functions): Add operator char* test.
4185 (test_paddr_operator_functions): Likewise.
4186 (test_paddr_overloaded_functions): Use probe values for
4187 short, long, and unsigned short and long.
4188 (test_paddr_hairy_functions): If the demangler probe detected
4189 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4190 demangler.
4191 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4192 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4193 and "print null_pmf".
4194 Add test "ptype a.*pmf".
4195 * gdb.cp/overload.exp: Allow optional "int" to appear with
4196 "short" and "long".
4197 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4198 long expect value for men_overload1arg.
4199 Allow "int" to appear with "short" and "long".
4200 When testing "info break", add argument for main (void).
4201 Also allow "int" to appear with "short" and "long".
4202 Ditto with "unsigned" and "long long".
cec808ec
KS
4203 * gdb.java/jmain.exp: Do not enclose methods names in single
4204 quotes.
4205 * gdb.java/jmisc.exp: Likewise.
4206 * gdb.java/jprint.exp: Likewise.
4207 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4208
4209 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4210 * gdb.cp/exception.exp (backtrace after first throw)
4211 (backtrace after second throw): Allow a namespace before __cxa_throw.
4212 (backtrace after first catch, backtrace after second catch): Allow
4213 a namespace before __cxa_begin_catch.
4214
4215 * gdb.cp/cpexprs.exp: New file.
4216 * gdb.cp/cpexprs.cc: New file.
4217
4218 From Daniel Jacobowitz <dan@codesourcery.com>
4219 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4220 to use string_to_regexp.
4221 (ctor, dtor): New functions. Use them to match constructor
4222 and destructor function types.
4223 (Top level): Use runto_main.
4224
f870a310
TT
42252010-03-05 Tom Tromey <tromey@redhat.com>
4226
4227 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4228 gdb.target_charset.
4229 (pp_ns.to_string): Likewise.
4230
0c199f28
KS
42312010-03-04 Keith Seitz <keiths@redhat.com>
4232
4233 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4234 can be quoted. Test that both the filename and function/line
4235 portions can be quoted at the same time.
4236
c7437ca6
PA
42372010-03-04 Pedro Alves <pedro@codesourcery.com>
4238
4239 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4240
b111b805
DE
42412010-03-03 Doug Evans <dje@google.com>
4242
24486cb7
DE
4243 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4244 libc contains libpthread.
4245
b111b805
DE
4246 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4247 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4248 of gdb_compile. Add another pattern to match android backtrace.
4249
a0e0ef55
TT
42502010-03-03 Tom Tromey <tromey@redhat.com>
4251
4252 PR gdb/11345:
4253 * gdb.base/printcmds.exp (test_printf): Add test.
4254
1ba53b71
L
42552010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4256
4257 * gdb.arch/amd64-byte.exp: New.
4258 * gdb.arch/amd64-dword.exp: Likewise.
4259 * gdb.arch/amd64-pseudo.c: Likewise.
4260 * gdb.arch/amd64-word.exp: Likewise.
4261 * gdb.arch/i386-byte.exp: Likewise.
4262 * gdb.arch/i386-pseudo.c: Likewise.
4263 * gdb.arch/i386-word.exp: Likewise.
4264
f5dff777
DJ
42652010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4266
4267 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4268 types. Add structreg, bitfields, and flags registers.
4269 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4270 registers.
4271
90884b2b
L
42722010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4273
4274 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4275 (load_description): Set architecture if defined.
4276
dc00d89f
PM
42772010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4278
4279 * gdb.python/py-frame.exp: Add read_var block tests.
4280 * gdb.python/py-frame.c (block): New function.
4281
0e095b7e
JK
42822010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4283 Daniel Jacobowitz <dan@codesourcery.com>
4284
4285 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4286
624f1a65
DM
42872010-02-25 David S. Miller <davem@davemloft.net>
4288
4289 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4290 fix logic for setting all_syscalls_numbers.
4291
f3e9a817
PM
42922010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4293
4294 * Makefile.in: Add py-block and py-symbol.
4295 * gdb.python/py-symbol.exp: New File.
4296 * gdb.python/py-symtab.exp: New File.
4297 * gdb.python/py-block.exp: New File.
4298 * gdb.python/py-symbol.c: New File.
4299 * gdb.python/py-block.c: New File.
4300
f6bbabf0
PM
43012010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4302
4303 PR python/11314
4304 * lib/gdb.exp (skip_python_tests): New function.
4305 * gdb.python/py-cmd.exp: Use skip_python_tests.
4306 * gdb.python/py-frame.exp: Likewise.
4307 * gdb.python/py-function.exp: Likewise.
4308 * gdb.python/py-prettyprint.exp: Likewise.
4309 * gdb.python/py-template.exp: Likewise.
4310 * gdb.python/py-type.exp: Likewise.
4311 * gdb.python/py-value.exp: Likewise.
4312
85d721b8
PA
43132010-02-22 Pedro Alves <pedro@codesourcery.com>
4314
4315 PR9605
4316
4317 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4318
48e32051
TT
43192010-02-19 Tom Tromey <tromey@redhat.com>
4320
4321 PR c++/8693, PR c++/9496:
4322 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4323 regression tests.
4324
ac9c0048
JK
43252010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4326
4327 Fix compatibility with m68k as.
4328 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4329 Use only /* comments */.
4330
57bb97a4
UW
43312010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4332
4333 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4334 * configure: Regenerate.
4335
7d1bf85c
DJ
43362010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4337
4338 * gdb.python/py-type.exp: Check for Python support.
4339
061b5285
PA
43402010-02-17 Pedro Alves <pedro@codesourcery.com>
4341
4342 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4343 `regsub' syntax available.
4344
f8a8bc2c
PA
43452010-02-17 Pedro Alves <pedro@codesourcery.com>
4346
4347 * gdb.base/shmain.c (main): Remove printf call.
4348 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4349 * gdb.base/unload.c (main): Make format of fprintf a string
4350 literal. Add missing endlines to prints to stderr.
4351 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4352
6f451e5e
TT
43532010-02-17 Tom Tromey <tromey@redhat.com>
4354
4355 * gdb.java/jprint.java (jprint.props): New field.
4356 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4357
12d79008
PA
43582010-02-17 Pedro Alves <pedro@codesourcery.com>
4359
ef801a0e 4360 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
4361 available.
4362
d252f7e5
DJ
43632010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4364
4365 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4366 creation to support remote host testing.
4367
67bdab6c
DJ
43682010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4369
4370 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4371 Recognize "command not found".
4372
bb391223
DJ
43732010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4374
4375 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4376 single-stepping.
4377
70362913
DJ
43782010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4379
4380 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4381 if arguments are not supported.
4382
493f3c00
DJ
43832010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4384
4385 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4386 be const or non-const.
4387
8034c749
DJ
43882010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4389
4390 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4391 mi_send_resuming_command to send -exec-continue.
4392
791dfb64
DJ
43932010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4394
4395 * gdb.base/list.exp (test_list_filename_and_function): Add test
4396 with single quotes.
4397 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4398 matching.
4399 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4400 Add KFAIL'd tests for PR gdb/11289.
4401
7c5fe868
DJ
44022010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4403
4404 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4405
fdc498b8
DJ
44062010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4407
4408 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4409 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4410 a temporary directory.
4411
b519e2a6
DJ
44122010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4413
4414 * gdb.base/charset.exp: Use a single regular expression to match
4415 show host-charset and show target-charset output.
4416
74164c56
JK
44172010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4418
4419 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4420 "Illegal process-id" expect string more exact.
4421 (attach to digits-starting nonsense is prohibited): New.
4422
701ed6dc
JK
44232010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4424
4425 * gdb.base/prelink.exp (set verbose on): New.
4426
889bf7c5 44272010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
4428
4429 * mi-reverse.exp: New file. Test for reverse option to the
4430 following MI commands: exec-continue, exec-finish, exec-next,
4431 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 4432
dadf0e9c
JB
44332010-02-09 Joel Brobecker <brobecker@adacore.com>
4434
4435 * gdb.ada/ptype_tagged_param: New testcase.
4436
714f19d5
TT
44372010-02-08 Tom Tromey <tromey@redhat.com>
4438
4439 PR c++/8017:
4440 * gdb.cp/overload.exp: Add tests.
4441 * gdb.cp/overload.cc (struct K): New.
4442 (namespace N): New.
4443 (main): Call new functions.
4444 (K::staticoverload): Define.
4445
889bf7c5 44462010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
4447
4448 PR gdb/10728
4449 * gdb.cp/pr10728-x.h: New file.
4450 * gdb.cp/pr10728-x.cc: New file.
4451 * gdb.cp/pr10728-y.cc: New file.
4452 * gdb.cp/pr10728.exp: New file.
4453 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4454
889bf7c5 44552010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
4456
4457 PR gdb/9067
4458 * gdb.cp/pr9067.exp: New
4459 * gdb.cp/pr9067.cc: New
4460 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4461
7b356089
JB
44622010-02-08 Joel Brobecker <brobecker@adacore.com>
4463
4464 * lib/gdb.exp (gdb_test_timeout): New global variable.
4465 Set it to timeout if not already set.
4466 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4467
1be00882
DE
44682010-02-05 Doug Evans <dje@google.com>
4469
4470 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4471 user.
4472
82856980
SW
44732010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4474
4475 PR c++/7935:
4476 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4477
1a334831
TT
44782010-02-04 Tom Tromey <tromey@redhat.com>
4479
4480 * gdb.cp/virtbase.exp: Make test case names unique.
4481
9c3c02fd
TT
44822010-02-02 Tom Tromey <tromey@redhat.com>
4483
4484 * gdb.cp/virtbase.exp: Add regression tests.
4485 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4486 (main): Instantiate RHC.
4487
0cc2414c
TT
44882010-02-02 Tom Tromey <tromey@redhat.com>
4489
4490 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4491 type-printing change.
4492
edf3d5f3
TT
44932010-02-02 Tom Tromey <tromey@redhat.com>
4494
4495 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4496 * gdb.cp/virtbase.cc: New file.
4497 * gdb.cp/virtbase.exp: New file.
4498 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4499
e4b7f41c
JK
45002010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4501
4502 PR libc/11214:
4503 * gdb.threads/current-lwp-dead.c: Include features.h.
4504 (HAS_NOMMU): New.
4505 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4506
b381ea14
JK
45072010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4508
4509 * gdb.base/symbol-without-target_section.exp,
4510 gdb.base/symbol-without-target_section.c: New.
4511
c593ac0e
DJ
45122010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4513
4514 * gdb.base/bigcore.exp: Reset increased timeout.
4515 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4516
db25f29d
DJ
45172010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4518
4519 * gdb.base/gcore.exp (capture_command_output): Use
4520 gdb_test_multiple.
4521
f9d67f43
DJ
45222010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4523
4524 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4525 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4526 (Top level): Call it.
4527
177321bd
DJ
45282010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4529
4530 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4531
97f2ed50
DJ
45322010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4533
4534 * gdb.base/call-strs.exp, gdb.base/default.exp,
4535 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4536 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4537 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4538 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4539 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4540 * gdb.base/ending-run.exp: Correct restore of timeout.
4541 * gdb.base/page.exp: Remove unnecessary timeout setting.
4542
e4e2711a
JB
45432010-01-29 Joel Brobecker <brobecker@adacore.com>
4544
4545 * gdb.ada/rec_return: New testcase.
4546
ba581dc1
JB
45472010-01-29 Joel Brobecker <brobecker@adacore.com>
4548
4549 * gdb.ada/call_pn: New testcase.
4550
4ea95be9
DJ
45512010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4552
4553 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4554 (Top level): Use it to resume.
4555 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4556 the Thumb mode displaced stepping error as unsupported.
4557
df83a9bf
SW
45582010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4559
889bf7c5
PA
4560 * gdb.cp/nsusing.exp: Added more tests.
4561 * gdb.cp/nsrecurs.exp: Ditto.
4562 * gdb.cp/nsusing.cc: Added test functions.
4563 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 4564
40b27cdc
JK
45652010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4566
4567 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4568 absolute directory pathnames in gdb.sum file.
4569
de958931
SW
45702010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4571
4572 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4573 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4574
708ead4e
TT
45752010-01-26 Tom Tromey <tromey@redhat.com>
4576
4577 PR exp/7643:
4578 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4579 setup_kfail.
4580
b14e635e
SW
45812010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4582
4583 * gdb.cp/nsrecurs.exp: New test.
4584 * gdb.cp/nsrecurs.cc: New test program.
4585 * gdb.cp/nsstress.exp: New test.
4586 * gdb.cp/nsstress.cc: New test program.
4587 * gdb.cp/nsdecl.exp: New test.
4588 * gdb.cp/nsdecl.cc: New test program.
4589
8540c487
SW
45902010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4591
4592 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4593 imported into file scope.
4594 Marked test as xfail.
4595 * gdb.cp/namespace-using.cc (marker5): New function.
4596 * gdb.cp/shadow.exp: New test.
4597 * gdb.cp/shadow.cc: New test program.
4598 * gdb.cp/nsimport.exp: New test.
4599 * gdb.cp/nsimport.cc: New test program.
4600
421d5d99
TT
46012010-01-25 Tom Tromey <tromey@redhat.com>
4602
4603 PR gdb/11049:
4604 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4605 with "set print null-stop on".
4606
691f8dc1
JK
46072010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4608
4609 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4610 Adjust it for DISASSEMBLY_OMIT_FNAME.
4611
0b92b5bb
TT
46122010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4613
4614 PR symtab/11199:
4615 * gdb.dwarf2/member-ptr-forwardref.exp,
4616 gdb.dwarf2/member-ptr-forwardref.S: New.
4617
23787403
JK
46182010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4619
4620 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4621 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4622 thread1_tid_mutex. Remove gdbstop_mutex handling.
4623 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4624 thread2_tid_mutex. Remove gdbstop_mutex handling.
4625 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4626 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4627 pthread_cond_wait conditionalizations by while loops.
4628
b966cb8a
TT
46292010-01-20 Tom Tromey <tromey@redhat.com>
4630
4631 PR backtrace/10770:
4632 * gdb.dwarf2/pr10770.exp: New file.
4633 * gdb.dwarf2/pr10770.c: New file.
4634 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4635
fcae584b
VP
46362010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4637
4638 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4639 that target was removed, and the test always runs native anyway.
4640
a0f49112
JK
46412010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4642
4643 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4644 gdb.base/watchpoint-cond-gone-stripped.c: New.
4645
ceeb3d5a
TT
46462010-01-19 Tom Tromey <tromey@redhat.com>
4647
4648 PR c++/8000:
4649 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4650 existing tests.
4651 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4652 (main): Use AAA::SomeEnum.
4653
dd322c54
JK
46542010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4655
4656 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4657 (test_ignore_count): Declare line_callme_body global.
4658 (run to breakpoint with ignore count): Use line_callme_body.
4659 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4660 (set line_main_hello, set line_main_return): Reindent.
4661 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4662 New.
4663 (continue to callee4): Use line_callee4_body.
4664 (check *stopped from CLI command): Use line_callee4_next.
4665 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4666 (set line_main_hello, set line_main_return): Reindent.
4667 (set line_callee4_head, set line_callee4_body): New.
4668 (continue to callee4): Use line_callee4_body.
4669
4e8f195d
TT
46702010-01-18 Tom Tromey <tromey@redhat.com>
4671
4672 PR c++/9680:
4673 * gdb.cp/casts.cc: Add new classes and variables.
4674 * gdb.cp/casts.exp: Test new operators.
4675
9e14a9ba
JB
46762010-01-18 Tom Tromey <tromey@redhat.com>
4677 Thiago Jung Bauermann <bauerman@br.ibm.com>
4678
4679 * gdb.python/source2.py: New file.
4680 * gdb.python/source1: New file.
4681 * gdb.python/python.exp: Test "source" command.
4682
00bf0b85
SS
46832010-01-15 Stan Shebs <stan@codesourcery.com>
4684
4685 * gdb.trace/tfile.c: New file.
4686 * gdb.trace/tfile.exp: New file.
889bf7c5 4687
55235ad7
JK
46882010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4689
4690 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4691
9f2982ff
JK
46922010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4693
4694 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4695
bbfba9ed
JK
46962010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4697
4698 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4699 (libfunc): New parameter action. Implement also selectable "sleep".
4700 * gdb.base/break-interp-main.c: Include assert.h.
4701 (libfunc): New parameter action.
4702 (main): New parameters argc and argv. Assert argc. Pass argv.
4703 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4704 (test_attach): New proc.
4705 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4706 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4707
61f0d762
JK
47082010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4709
4710 * gdb.base/break-interp.exp (test_core): New proc.
4711 (test_ld): Call it.
4712
06a6f270
JK
47132010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4714
4715 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4716 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4717 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4718 and gdb_compile_shlib. Use new -Wl compiler options.
4719 (dl bt, main bt): New tests.
4720
51bee8e9
JK
47212010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4722
4723 Support PIEs with no symfile_objfile.
4724 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4725 (test_ld): New parameter trynosym.
4726 (test_ld <$trynosym>): New block.
4727
b8040f19
JK
47282010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4729
4730 * gdb.base/break-interp.exp: New file.
4731
be759fcf
PM
47322010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4733
4734 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4735 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4736 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4737 test.
4738 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4739 * gdb.python/py-mi.exp: Add lazy string test.
4740
dc146f7c
VP
47412010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4742
4743 * lib/mi-support.exp (mi_check_thread_states): Handle
4744 core number in thread listing.
4745
b4ba55a1
JB
47462010-01-12 Joel Brobecker <brobecker@adacore.com>
4747
4748 * gdb.base/maint.exp: Adjust the expected output for the
4749 "maint print type" test. Use gdb_test_multiple instead of
4750 gdb_sent/gdb_expect.
4751
08e24bd4
DE
47522010-01-11 Doug Evans <dje@google.com>
4753
6496a609
DE
4754 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4755 from gdbserver_download. All callers updated.
4756
08e24bd4
DE
4757 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4758
b5cfddf5
JK
47592010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4760
4761 Implement binary numbers parsing.
4762 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4763 (test_integer_literals_rejected): New binary tests.
4764
3725885a
RW
47652010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4766
4767 * gdb.cell/configure: Regenerate.
4768
37aeb5df
JK
47692010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4770
4771 * gdb.base/corefile.exp: Move the core finding block out and call it as
4772 core_find, new variable $corefile, replace corefile by $corefile and
4773 [file tail $corefile] for usage vs. test names resp.
4774 * lib/gdb.exp (core_find): Move it as a new function here. New
4775 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4776 $destcore. Return "" on error.
4777
d521f563
JK
47782010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4779
4780 Workaround PR binutils/10802.
4781 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4782 (twice).
4783
28f24826
DJ
47842010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4785
4786 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4787
2de75e71
JB
47882010-01-08 Joel Brobecker <brobecker@adacore.com>
4789
4790 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4791 call, to avoid interruption.
4792
fe00719b 47932010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
4794
4795 * gdb.stabs/weird.def (args93): New.
4796
d0ef5df8
DE
47972010-01-07 Doug Evans <dje@google.com>
4798
4799 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4800
3a08d52f
TT
48012010-01-07 Tom Tromey <tromey@redhat.com>
4802
4803 * gdb.base/source.exp: Use correct line number.
4804
7a697b8d
SS
48052010-01-05 Stan Shebs <stan@codesourcery.com>
4806
4807 * gdb.trace/tracecmd.exp: Test ftrace.
4808
7803799a
UW
48092010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4810
4811 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4812
c54eabfa
JK
48132010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4814
4815 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4816 "uint_for_mi_testing".
4817
02e7ef19
JB
48182010-01-01 Joel Brobecker <brobecker@adacore.com>
4819
4820 Test indented comment in file being sourced.
4821 * gdb.base/commands.exp: Test indented comment in file being sourced.
4822
abd775ce
JB
48232010-01-01 Joel Brobecker <brobecker@adacore.com>
4824
4825 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4826 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4827 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4828 notice.
4829
79b55b82
JB
48302010-01-01 Joel Brobecker <brobecker@adacore.com>
4831
4832 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4833 notice.
4834
8997583e
JK
48352010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4836
4837 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4838 missing $after_stopped and comma (,) expectation.
4839
6da95a67
SS
48402009-12-31 Stan Shebs <stan@codesourcery.com>
4841
4842 * gdb.trace/actions.exp: Test teval action.
889bf7c5 4843
218d2fc6
TJB
48442009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4845
4846 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4847 (top level): Call test_watchpoint_in_big_blob.
4848 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4849 watchpoints.
4850 (func3): Write to buf.
4851
236f1d4d
SS
48522009-12-29 Stan Shebs <stan@codesourcery.com>
4853
4854 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 4855
f61e138d
SS
48562009-12-28 Stan Shebs <stan@codesourcery.com>
4857
4858 * gdb.trace/tsv.exp: New file.
4859 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 4860
0219b378
DJ
48612009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4862
4863 * gdb.base/find.c (main): Reference search buffers.
4864 * gdb.base/included.c (main): Reference integer.
4865 * gdb.base/ptype.c (charfoo): Declare.
4866 (intfoo): Call charfoo.
4867 * gdb.base/scope0.c (useitp): New function.
4868 (usestatics): Use useitp.
4869 (useit): Add a type for val.
4870 * gdb.base/scope1.c (useit1): Take a pointer argument.
4871 (usestatics1): Update calls to useit1.
4872 * gdb.cp/call-c.cc: Declare foo.
4873 (main): Call foo.
4874 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4875 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4876 (main): Call C::ensureRefs and ensureOtherRefs.
4877 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4878 variables.
4879 (ensureOtherRefs): New function.
4880 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4881 * gdb.cp/templates.cc (main): Call t5i.value.
4882
3f78692f
JK
48832009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4884
4885 Fix compatibility with G++-4.5.
4886 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4887 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4888 (uncaught return): Remove.
4889
429374b8
JK
48902009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4891 Phil Muldoon <pmuldoon@redhat.com>
4892
4893 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4894 (bp_location13, bp_location14, bp_location17, bp_location18)
4895 (marker3_proto, marker4_proto): New variables.
4896 (breakpoint info): Update output.
4897 (run until breakpoint at marker3, run until breakpoint at marker4): New
4898 tests.
4899
859825b8
JK
49002009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4901
4902 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4903 Replace the printf call of Y by provided "y-set-1" label. New block
4904 for the second shared library.
4905 * gdb.base/unload.exp: Compile also the second library, call
4906 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4907 (single pending breakpoint info): Rename to ...
4908 (pending breakpoint info before run): ... this extended test.
4909 (libfile2, libname2, libsrcfile2, libsrc2)
4910 (lib_sl2): New variables.
4911 (exec_opts): Set also SHLIB_NAME2.
4912 (pending breakpoint info on first run at shrfunc1)
4913 (pending breakpoint info on second run at shrfunc1)
4914 (pending breakpoint info on second run at shrfunc2)
4915 (print y from libfile, print y from libfile2): New tests.
4916 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4917 * gdb.base/unloadshr2.c: New.
4918
e6a386cd
HZ
49192009-12-22 Hui Zhu <teawater@gmail.com>
4920
4921 * gdb.reverse/sigall-reverse.exp: Adjust.
4922
9e19b45e
VP
49232009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4924
4925 PR gdb/10884
4926
4927 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4928 (main): Call do_bitfield_tests.
aacf5b1e 4929 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 4930
d53a7b30
JB
49312009-12-20 Joel Brobecker <brobecker@adacore.com>
4932
4933 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4934 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4935 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4936 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4937 gdb.modula2/unbounded1.c: Update copyright header.
4938
191ca0a1
CM
49392009-12-10 Chris Moller <moller@mollerware.com>
4940
4941 PR gdb/9399
4942 * gdb.cp/virtfunc2.exp: New tests
4943 * gdb.cp/virtfunc2.cc: New tests
4944 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4945
0fa6cf1b
MS
49462009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4947
4948 * gdb.reverse/i387-env-reverse.c: New file.
4949 * gdb.reverse/i387-env-reverse.exp: New file.
4950 * gdb.reverse/i387-stack-reverse.c: New file.
4951 * gdb.reverse/i387-stack-reverse.exp: New file.
4952
361ae042
PM
49532009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4954
4955 * gdb.python/py-type.exp (test_range): New test.
4956
bfd31e71
PM
49572009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4958
4959 PR python/10805
4960
4961 * gdb.python/py-type.exp: New file.
4962 * gdb.python/py-type.c: New file.
4963 * Makefile.in: Add py-type.
4964
57a1d736
TT
49652009-12-03 Tom Tromey <tromey@redhat.com>
4966
4967 * gdb.python/py-value.exp (test_parse_and_eval): New
4968 function.
4969
1f3b5d1b
PP
49702009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4971
4972 PR gdb/11022
4973
4974 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
4975 * gdb.base/pr11022.c: New test.
4976
8b7dbdc9
JK
49772009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4978
4979 Fix spurious false FAILs.
4980 * gdb.base/structs.c (chartest): New.
4981 (main): Fill-in chartest.
4982 * gdb.base/structs.exp (anychar_re, first): New.
4983 (start_structs_test): Import global anychar_re and first.
4984 New gdb_test call "set print elements 300; ${testfile}"
4985 (start_structs_test <$first>): New block.
4986 (any): Import global anychar_re. New variable ac. Use ${ac}.
4987
6a53b2ec
JK
49882009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4989
4990 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4991
d7167b4c
JK
49922009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4993
4994 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4995 Force $srcfile file.
4996 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4997
b1798462
UW
49982009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4999
5000 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5001 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5002 * gdb.threads/watchthreads-reorder.exp: Likewise.
5003
b6199126
DJ
50042009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5005
5006 PR gdb/8704
5007
5008 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5009 "if", and "thread". Correct matching in the previous test.
5010
b22a0510
DJ
50112009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5012
5013 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5014
930636d2
MS
50152009-11-23 Michael Snyder <msnyder@vmware.com>
5016
5017 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5018 * gdb.reverse-watch-precsave.exp: Ditto.
5019
21a0512e
PP
50202009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5021
5022 * gdb.asm/asm-source.exp: Adjust.
5023 * gdb.base/help.exp: Adjust.
889bf7c5 5024
fc30d5e0
PA
50252009-11-22 Pedro Alves <pedro@codesourcery.com>
5026
5027 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5028 (do_syscall_tests_without_xml): Set data-directory to
5029 /the/path/to/nowhere.
5030
f6bc2008
PA
50312009-11-21 Pedro Alves <pedro@codesourcery.com>
5032
5033 * gdb.threads/local-watch-wrong-thread.c,
5034 gdb.threads/local-watch-wrong-thread.exp: New files.
5035
8c2fb5de
PA
50362009-11-21 Pedro Alves <pedro@codesourcery.com>
5037
5038 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5039 assume new `regsub' syntax available.
5040
ebec9a0f
PA
50412009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5042
a79d3c27
JK
5043 * gdb.base/watchpoint-hw-hit-once.exp,
5044 gdb.base/watchpoint-hw-hit-once.c: New.
5045
50462009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 * gdb.threads/watchthreads-reorder.exp,
5049 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 5050
276a961b
MK
50512009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5052
5053 * gdb.xml/tdesc-regs.exp: Use for m68k.
5054
4867c1fb
PA
50552009-11-15 Pedro Alves <pedro@codesourcery.com>
5056
5057 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5058
f6838f81
DJ
50592009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5060
5061 * lib/gdb.exp (current_target_name): New procedure.
5062 (gdb_wrapper_target): New variable.
5063 (gdb_wrapper_init): Set gdb_wrapper_target.
5064 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5065 wrapper.
5066
4ac4dd3f
DJ
50672009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5068
5069 * gdb.base/remote.exp: Delete the slowest load test.
5070 Do not load with fixed packet sizes.
5071
a7881759
DJ
50722009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5073
5074 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5075
97a5b505
DJ
50762009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5077
5078 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5079 srcfile when setting a breakpoint.
5080
d3e1fc54
DJ
50812009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5082
5083 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5084 macros.
5085
7cbcbded
DJ
50862009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5087
5088 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5089 to be in memory.
5090 * gdb.base/display.c (force_mem): New.
5091 (do_loops): Use it. Add breakpoint comments.
5092 (do_vars): Add a breakpoint comment.
5093 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5094 line numbers.
5095
bdea3a92
NF
50962009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5097
5098 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5099 instead of a bare "run".
5100
269f82e5
PP
51012009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5102
5103 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 5104
a69b7d9d
DJ
51052009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5106
5107 * lib/cell.exp (skip_cell_tests): Clean up test files before
5108 returning.
5109
b598bfda
DJ
51102009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5111
5112 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5113 and the breakpoint menu. Do not call perror if a prompt is seen.
5114 Consume the following GDB prompt.
5115 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5116 * gdb.cp/namespace.exp: Use gdb_test.
5117 * gdb.cp/templates.exp: Use gdb_test.
5118 (test_template_breakpoints): Use gdb_test_multiple.
5119
87728fa0
DJ
51202009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5121
5122 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5123 (marker4): Reference values.
5124
b67c692f
DJ
51252009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5126
5127 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5128 is missing.
5129
f0df251a
DJ
51302009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5131
5132 * gdb.base/break.c (need_malloc): New.
5133 * gdb.base/constvars.c (main): Reference crass and crisp.
5134 * gdb.base/gdb1821.c (main): Reference bar.
5135 * gdb.cp/gdb1355.cc (main): Reference s1.
5136 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5137 (main): Call them.
5138 * gdb.cp/hang2.cc (dummy2): Define.
5139 * gdb.cp/hang3.cc (dummy3): Define.
5140 * gdb.cp/m-data.cc (main): Reference shadow.
5141
bdf7534a
NF
51422009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5143 Nathan Froyd <froydnj@codesourcery.com>
5144
5145 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5146 remote host.
5147
f24fce77
NF
51482009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5149
5150 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5151 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5152 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5153 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5154 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5155 * gdb.dwarf2/dw2-producer.exp: Likewise.
5156 * gdb.dwarf2/mac-fileno.exp: Likewise.
5157 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5158 py-prettyprint.py to the remote host.
5159 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5160
40f0318e
KS
51612009-11-11 Keith Seitz <keiths@redhat.com>
5162
5163 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5164 use it instead of "Foo".
5165 * gdb.cp/classes.exp (do_tests): Add a test to access
5166 a method through a typedef'd class name.
5167
f3d9f7fb
NF
51682009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5169
5170 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5171 exponents.
5172 * gdb.base/pointers.exp: Likewise.
5173 * gdb.cp/ref-types.exp: Likewise.
5174
a4216f37
KS
51752009-11-11 Keith Seitz <keiths@redhat.com>
5176
5177 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5178 new[] and delete[].
5179 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5180 "void".
5181 (probe_demangler): Remove all single-quoting of
5182 method and variable names.
5183 (info_func_regexp): Remove the word "void" from any
5184 occurrence of "(void)".
5185 (print_addr_2): Remove all single-quoting of
5186 method names.
5187 (print_addr_2_kfail): Likewise.
5188 (print_addr): Single-quote C function names before
5189 passing to print_addr_2.
5190 (test_paddr_operator_functions): Remove single-quoting
5191 for method names.
5192 Add tests for operator new[] and operator delete[].
5193
9b14d7aa
JK
51942009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5195
5196 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5197
85feb311
KS
51982009-11-09 Keith Seitz <keiths@redhat.com>
5199
5200 * gdb.cp/overload.exp: Add tests for resolving overloaded
5201 methods in expression parsing/evaluation.
5202
fa335448
DJ
52032009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5204
5205 * lib/gdb.exp (default_gdb_version): Use --version instead of
5206 --command.
5207
ec3c07fc
NS
52082009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5209
5210 * lib/gdb.exp (gdb_compile_test): New.
5211 (skip_ada_tests, skip_java_tests): New.
5212 (gdb_compile): Use gdb_compile_test for f77.
5213 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5214 * lib/java.exp (compile_java_from_source): Remove runtests check,
5215 use gdb_compile_test to record result.
5216 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5217 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5218 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5219 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5220 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5221 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5222 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5223 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5224 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5225 adjust gdb_compile invocations.
5226
b8b4e42b
JK
52272009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5228
5229 * Makefile.in (abs_builddir): New.
5230 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5231 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5232 `$(abs_builddir)/site.exp'.
5233
f8b7eaf3
DJ
52342009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5235
5236 * config/m68k-emc.exp, lib/emc-support.exp,
5237 gdb.trace/gdb_c_test.c: Delete.
5238 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5239 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5240 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5241 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5242 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5243 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5244 casing for m68k-*-elf.
5245
c4187697
NS
52462009-11-03 Pedro Alves <pedro@codesourcery.com>
5247
5248 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5249 * gdb.arch/i386-prologue.exp: Likewise.
5250 * gdb.arch/i386-unwind.exp: Likewise.
5251
db16b772
DJ
52522009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5253
5254 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5255
bcf71277
DJ
52562009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5257
5258 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5259
0105cee2
DJ
52602009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5261
5262 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5263
24ddea62
JK
52642009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5265
5266 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5267
287ccc17
JK
52682009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5269
5270 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5271 * gdb.base/sepdebug2.c: New file.
5272
08bca259 52732009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
5274
5275 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5276 the modified warnings for catch syscall. Verify if GDB was compiled
5277 with support for lib expat, and choose which tests to run depending
5278 on this.
5279
5d4e2b76
VP
52802009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5281
5282 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5283 that composite commands are parsed OK. And also test
5284 that breakpoint commands do work.
5285
240e538a
MS
52862009-10-23 Michael Snyder <msnyder@vmware.com>
5287
5288 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5289 to allow for new disassembly style.
5290
9c419145
PP
52912009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5292
5293 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 5294
02506ff1
MS
52952009-10-22 Michael Snyder <msnyder@vmware.com>
5296
5297 * gdb.reverse/break-precsave.exp: New test.
5298 * gdb.reverse/consecutive-precsave.exp: Ditto.
5299 * gdb.reverse/finish-precsave.exp: Ditto.
5300 * gdb.reverse/i386-precsave.exp: Ditto.
5301 * gdb.reverse/machinestate-precsave.exp: Ditto.
5302 * gdb.reverse/sigall-precsave.exp: Ditto.
5303 * gdb.reverse/solilb-precsave.exp: Ditto.
5304 * gdb.reverse/step-precsave.exp: Ditto.
5305 * gdb.reverse/until-precsave.exp: Ditto.
5306 * gdb.reverse/watch-precsave.exp: Ditto.
5307
4cf866a3
MS
53082009-10-22 Michael Snyder <msnyder@vmware.com>
5309
5310 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5311 for gdb_expect. Adjust one test's expect strings for the new
5312 format of disassemble.
5313 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5314 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5315 gdb_test_multiple.
5316 * gdb.reverse/step-reverse.exp: Delete 'return'.
5317 * gdb.reverse/until-reverse.exp: Delete blank lines.
5318 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5319
2b28d209
PP
53202009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5321
5322 * gdb.base/consecutive.exp: Adjust.
5323 * gdb.base/display.exp: Likewise.
5324 * gdb.base/pc-fp.exp: Likewise.
5325 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 5326
33b9c32b
MS
53272009-10-19 Michael Snyder <msnyder@vmware.com>
5328
5329 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5330 * gdb.reverse/finish-reverse.c: Ditto.
5331 * gdb.reverse/sigall-reverse.c: Ditto.
5332 * gdb.reverse/solib-reverse.c: Ditto.
5333 * gdb.reverse/step-reverse.c: Ditto.
5334 * gdb.reverse/watch-reverse.c: Ditto.
5335
6c95b8df
PA
53362009-10-19 Pedro Alves <pedro@codesourcery.com>
5337 Stan Shebs <stan@codesourcery.com>
5338
5339 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5340 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5341 "Executing new program".
5342 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5343 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5344 left listed after having been killed.
5345 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5346 * gdb.base/maint.exp: Adjust test.
5347
5348 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5349 * gdb.multi/Makefile.in: New.
5350 * gdb.multi/base.exp: New.
5351 * gdb.multi/goodbye.c: New.
5352 * gdb.multi/hangout.c: New.
5353 * gdb.multi/hello.c: New.
5354 * gdb.multi/bkpt-multi-exec.c: New.
5355 * gdb.multi/bkpt-multi-exec.exp: New.
5356 * gdb.multi/crashme.c: New.
5357
279017b7
TG
53582009-10-13 Tristan Gingold <gingold@adacore.com>
5359
5360 * gdb.base/sepdebug.exp: Check debug info are found.
5361
0413d738
PA
53622009-10-08 Pedro Alves <pedro@codesourcery.com>
5363
5364 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5365 bits.
5366
c628eecc
JK
53672009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5368
5369 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5370
38af1bfe
JB
53712009-10-07 Joel Brobecker <brobecker@adacore.com>
5372
5373 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5374 of the comments.
5375
2b0adecd
PM
53762009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5377
5378 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5379 * gdb.base/annota3.exp: Idem.
5380 * gdb.base/maint.exp: Idem.
5381
8d417781
PM
53822009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5383
889bf7c5 5384 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
5385 to default.
5386
bb61102d
PM
53872009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5388
889bf7c5 5389 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
5390 mingw and cygwin targets.
5391
ace5c364
PM
53922009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5393 Pedro Alves <pedro@codesourcery.com>
5394
889bf7c5 5395 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
5396 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5397
c2d494a0
PM
53982009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5399
e1b52ce2
PM
5400 * gdb.base/shr1.c: Use %p in format string.
5401 * gdb.base/unload.c: Avoid warning in fprintf.
5402 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 5403
209f53f5
PM
54042009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5405
5406 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5407 long type.
5408 (test_unlink): Correct printf string.
5409 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5410 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5411
8172766a
JK
54122009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5413
5414 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5415 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5416 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5417
0f73703c
UW
54182009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5419
5420 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5421 * gdb.objc/nondebug.exp: Likewise.
5422
b32306ca
UW
54232009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5424
5425 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5426 target_info setting.
5427
5428 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5429 that detect new threads during "info threads".
5430
0057022f
UW
54312009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5432
5433 * gdb.threads/manythreads.c (main): Increase thread stack size
5434 to 2*PTHREAD_STACK_MIN.
5435 * gdb.threads/multi-create.c (main): Likewise.
5436 (create_function): Likewise.
5437
f29c0325
UW
54382009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5439
5440 * gdb.base/dump.exp: Pass difference of pointer types instead
5441 of integer types as offset to restore in intarr3.srec case.
5442
fcb34849
UW
54432009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5444
5445 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5446
d5142e3b
UW
54472009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5448
5449 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5450
087b74b2 54512009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 5452
087b74b2
PM
5453 New test for two watchpoints, with disabling of
5454 the first inserted.
5455 * testsuite/gdb.base/watchpoints.c: New file.
5456 * testsuite/gdb.base/watchpoints.exp: New file.
5457
96c07c5b
TT
54582009-09-25 Tom Tromey <tromey@redhat.com>
5459
5460 * gdb.base/charset.exp: Test utf-16 strings with Python.
5461
b8899f2b
TT
54622009-09-25 Tom Tromey <tromey@redhat.com>
5463
5464 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5465 UCS-4.
5466 * gdb.base/charset.c (utf_32_string): Rename.
5467 (init_utf32): Rename.
5468 (main): Update.
5469
329719ec
TT
54702009-09-22 Tom Tromey <tromey@redhat.com>
5471
5472 * gdb.python/py-function.exp: Add regression tests.
5473
11ef0d76
KS
54742009-09-21 Keith Seitz <keiths@redhat.com>
5475
5476 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5477 with invalid operator.
5478
3fe8f3b3
KS
54792009-09-21 Keith Seitz <keiths@redhat.com>
5480
5481 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5482 and destructor using typedef name of class.
5483 * gdb.cp/classes.cc (class Base1): Add a destructor.
5484 (base1): New typedef.
5485 (use_methods): Instanitate an object of type base1.
5486 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5487 (do_tests): Call test_template_typedef.
5488 * gdb.cp/templates.cc (Baz::~Baz): New method.
5489 (intBazOne): New typedef.
5490 (main): Instantiate intBazOne.
5491
7a9fe101
PM
54922009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5493
5494 PR python/10633
5495
5496 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5497 Function.
5498 (run_lang_tests): Add print elements test.
5499
2e4d963f
PM
55002009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5501
5502 * gdb.python/py-value.exp (test_subscript_regression): New
5503 function. Test for invalid subscripts.
5504 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5505 (ptr_ref): New function.
5506
ec7e75e7
PP
55072009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5508
5509 * gdb.base/default.exp: Fix "show convenience".
5510
0cc7d26f
TT
55112009-09-15 Tom Tromey <tromey@redhat.com>
5512
5513 * lib/mi-support.exp (mi_create_varobj): Update.
5514 (mi_create_floating_varobj): Likewise.
5515 (mi_create_dynamic_varobj): New proc.
5516 (mi_varobj_update): Update.
5517 (mi_varobj_update_with_type_change): Likewise.
5518 (mi_varobj_update_kv_helper): New proc.
5519 (mi_varobj_update_dynamic_helper): Rewrite.
5520 (mi_varobj_update_dynamic): New proc.
5521 (mi_list_varobj_children): Update.
5522 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5523 * gdb.python/python-prettyprint.py (pp_outer): New class.
5524 (pp_nullstr): Likewise.
5525 (lookup_function): Register new printers.
5526 * gdb.python/python-prettyprint.c (struct substruct): New type.
5527 (struct outerstruct): Likewise.
5528 (substruct_test): New function.
5529 (struct nullstr): New type.
5530 (string_1, string_2): New globals.
5531 (main): Add new tests.
5532 * gdb.python/python-mi.exp: Added regression tests.
5533 * gdb.mi/mi2-var-display.exp: Update.
5534 * gdb.mi/mi2-var-cmd.exp: Update.
5535 * gdb.mi/mi2-var-child.exp: Update.
5536 * gdb.mi/mi2-var-block.exp: Update.
5537 * gdb.mi/mi-var-invalidate.exp: Update.
5538 * gdb.mi/mi-var-display.exp: Update.
5539 * gdb.mi/mi-var-cmd.exp: Update.
5540 * gdb.mi/mi-var-child.exp: Update.
5541 * gdb.mi/mi-var-block.exp: Update.
5542 * gdb.mi/mi-break.exp: Update.
5543 * gdb.mi/gdb701.exp: Update.
5544
a96d9b2e
SDJ
55452009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5546
5547 * Makefile.in: Inclusion of catch-syscall object.
5548 * gdb.base/catch-syscall.c: New file.
5549 * gdb.base/catch-syscall.exp: New file.
5550
b43b923a
MS
55512009-09-12 Michael Snyder <msnyder@vmware.com>
5552
5553 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5554 that can support reverse debuggnig.
5555
cec03d70
TT
55562009-09-11 Tom Tromey <tromey@redhat.com>
5557
5558 * gdb.dwarf2/valop.S: New file.
5559 * gdb.dwarf2/valop.exp: New file.
5560
e23bb3fc
MK
55612009-09-11 Mark Kettenis <kettenis@gnu.org>
5562
5563 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5564
37c3696d
DE
55652009-09-10 Doug Evans <dje@google.com>
5566
5567 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5568 Add $gdb_prompt to second breakpoint regexp.
5569
5172aecb
JB
55702009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5571
5572 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5573 names, add missing ones.
5574 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5575 * gdb.python/py-frame.c: Rename from python-frame.c.
5576 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5577 testfile name.
5578 * gdb.python/py-function.exp: Rename from python-function.exp.
5579 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5580 testfile name.
5581 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5582 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5583 Adjust testfile name.
5584 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5585 * gdb.python/py-template.cc: Rename from python-template.cc.
5586 * gdb.python/py-template.exp: Rename from python-template.exp.
5587 Adjust testfile name.
5588 * gdb.python/py-value.c: Rename from python-value.c.
5589 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5590 testfile name.
5591
b554e4bd
JK
55922009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5593
5594 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5595 $bpt2address.
5596 (Second breakpoint address is valid on ia64)
5597 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5598
9a68ae16
JM
55992009-09-03 Joseph Myers <joseph@codesourcery.com>
5600
5601 * gdb.base/ending-run.exp: Restrict regular expression matching
5602 line number to require closing brace following.
5603
146b9145
DE
56042009-09-03 Doug Evans <dje@google.com>
5605
5606 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5607
787d21e1
TT
56082009-09-02 Tom Tromey <tromey@redhat.com>
5609
5610 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5611
e7802207
TT
56122009-09-02 Tom Tromey <tromey@redhat.com>
5613
5614 * gdb.dwarf2/callframecfa.exp: New file.
5615 * gdb.dwarf2/callframecfa.S: New file.
5616
817aadd2
JK
56172009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5618
5619 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5620 gdb.base/solib-overlap-main.c: New.
5621
4a76eae5
DJ
56222009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5623
5624 PR gdb/10565
5625
5626 * gdb.base/bitfields.c (struct container, container): New.
5627 (main): Initialize it and call break5.
5628 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5629
d4b96c9a
JK
56302009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5631
5632 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5633 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5634
4e22772d
JK
56352009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5636
5637 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5638
2efab443
MS
56392009-08-26 Michael Snyder <msnyder@vmware.com>
5640
5641 * gdb.base/i386-reverse.c: New file.
5642 * gdb.base/i386-reverse.exp: New file.
5643 * gdb.base/Makefile.in: Add new files to be removed.
5644
07ab73a0
JM
56452009-08-26 Joseph Myers <joseph@codesourcery.com>
5646
5647 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5648 environment-pwd for remote host.
5649 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5650
676accff
KS
56512009-08-24 Keith Seitz <keiths@redhat.com>
5652
5653 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5654 Add two new C++ completer tests which limit the output to a
889bf7c5 5655 given class.
676accff 5656
f9f7ad22
MS
56572009-08-24 Michael Snyder <msnyder@vmware.com>
5658
5659 * gdb.base/del.exp: Fix typo in comment.
5660 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5661
81ecdfbb
RW
56622009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5663
5664 * configure: Regenerate.
5665 * gdb.hp/configure: Likewise.
5666 * gdb.hp/gdb.aCC/configure: Likewise.
5667 * gdb.hp/gdb.base-hp/configure: Likewise.
5668 * gdb.hp/gdb.compat/configure: Likewise.
5669 * gdb.hp/gdb.defects/configure: Likewise.
5670 * gdb.hp/gdb.objdbg/configure: Likewise.
5671 * gdb.stabs/configure: Likewise.
5672
cab0c772
UW
56732009-08-19 Doug Evans <dje@google.com>
5674
5675 * gdb.base/gdbvars.c: New file.
5676 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5677
b8fa0bfa
PA
56782009-08-14 Pedro Alves <pedro@codesourcery.com>
5679
5680 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5681 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5682
b84aa90a
PA
56832009-08-13 Pedro Alves <pedro@codesourcery.com>
5684
5685 * gdb.base/default.exp: Adjust "set language test": it's now an
5686 enum command. Larger help string moved to "help set language".
5687 * gdb.base/help.exp: Adjust "help set language" expected output,
5688 now lists all known languages.
5689
0d8f9b2c
NF
56902009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5691
5692 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5693 all frame arguments.
5694 * gdb.arch/altivec-regs.exp: Likewise.
5695
bda180e0
TT
56962009-08-07 Tom Tromey <tromey@redhat.com>
5697
5698 * gdb.base/setshow.exp: Add tests for changes to set language, set
5699 check range, and set check type.
5700
48cb2d85
VP
57012009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5702
5703 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5704 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 5705 Call it.
48cb2d85 5706
1ea34204
UW
57072009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5708
5709 * configure.ac: Run gdb.cell tests when appropriate.
5710 * configure: Regenerate.
5711 * lib/cell.exp: New file.
5712 * gdb.cell: New directory.
5713 * gdb.cell/configure.ac: New file.
5714 * gdb.cell/configure: New file.
5715 * gdb.cell/Makefile.in: New file.
5716 * gdb.cell/arch.exp: New file.
5717 * gdb.cell/break.c: New file.
5718 * gdb.cell/break.exp: New file.
5719 * gdb.cell/break-spu.c: New file.
5720 * gdb.cell/bt.c: New file.
5721 * gdb.cell/bt2-spu.c: New file.
5722 * gdb.cell/bt-spu.c: New file.
5723 * gdb.cell/bt.exp: New file.
5724 * gdb.cell/coremaker.c: New file.
5725 * gdb.cell/coremaker-spu.c: New file.
5726 * gdb.cell/core.exp: New file.
5727 * gdb.cell/gcore.exp: New file.
5728 * gdb.cell/data.c: New file.
5729 * gdb.cell/data.exp: New file.
5730 * gdb.cell/data-spu.c: New file.
5731 * gdb.cell/ea-cache.exp: New file.
5732 * gdb.cell/ea-cache.c: New file.
5733 * gdb.cell/ea-cache-spu.c: New file.
5734 * gdb.cell/ea-standalone.c: New file.
5735 * gdb.cell/ea-standalone.exp: New file.
5736 * gdb.cell/ea-test.c: New file.
5737 * gdb.cell/ea-test.exp: New file.
5738 * gdb.cell/f-regs.exp: New file.
5739 * gdb.cell/mem-access.c: New file.
5740 * gdb.cell/mem-access.exp: New file.
5741 * gdb.cell/mem-access-spu.c: New file.
5742 * gdb.cell/ptype.exp: New file.
5743 * gdb.cell/registers.exp: New file.
5744 * gdb.cell/size.c: New file.
5745 * gdb.cell/sizeof.exp: New file.
5746 * gdb.cell/size-spu.c: New file.
5747 * gdb.cell/solib.exp: New file.
5748 * gdb.cell/solib-symbol.exp: New file.
5749
85e747d2
UW
57502009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5751
5752 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5753
58d6951d
DJ
57542009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5755
5756 * gdb.base/float.exp: Handle VFP registers.
5757
6e0a4f15
MS
57582009-07-14 Michael Snyder <msnyder@vmware.com>
5759
dcd5da87
MS
5760 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5761 to bring gdb to the beginning of the calling line.
5762
6e0a4f15
MS
5763 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5764 confusing the i386 epilogue unwinder.
5765
782b2b07
SS
57662009-07-14 Stan Shebs <stan@codesourcery.com>
5767
5768 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5769
f662c3bc
MS
57702009-07-14 Michael Snyder <msnyder@vmware.com>
5771
5772 * gdb.reverse/step-reverse.exp (stepi into function call):
5773 Call instruction may not be first instruction in the line.
5774 (reverse stepi from a function call): Used wrong line number.
5775
8f313923
JK
57762009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5777
5778 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5779
4662c76e
JK
57802009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5781
5782 Fix gdb.base/macscp.exp when using custom inputrc.
5783 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5784 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5785 env(TERM) set.
5786 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5787 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5788
aa81e255
JK
57892009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5790
5791 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5792 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5793 Change the compilation target to match the testcase name.
5794 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5795 testcase name.
5796 * a2-run.exp: Use for setup prepare_for_testing. Change the
5797 compilation target to match the testcase name.
5798 * gdb.base/commands.exp: Likewise.
5799 * gdb.base/finish.exp: Likewise.
5800 * gdb.base/float.exp: Likewise.
5801 * gdb.base/info-target.exp: Likewise.
5802 * gdb.base/relational.exp: Likewise.
5803 * gdb.base/term.exp: Likewise.
5804 * gdb.base/until.exp: Likewise.
5805 * gdb.base/volatile.exp: Likewise.
5806 * gdb.base/whatis-exp.exp: Likewise.
5807
4c93b1d7
HZ
58082009-07-11 Hui Zhu <teawater@gmail.com>
5809
5810 * gdb.base/help.exp (disassemble): Update expected help text.
5811
812f7342
TT
58122009-07-09 Tom Tromey <tromey@redhat.com>
5813
5814 * lib/gdb.exp: Handle TRANSCRIPT.
5815 (remote_spawn, remote_close, send_gdb): New procs.
5816
fbb8f299
PM
58172009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5818
5819 * gdb.python/python-prettyprint.c: Add counted null string
5820 structure.
5821 * gdb.python/python-prettyprint.exp: Print null string. Test for
5822 embedded nulls.
5823 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5824 * gdb.python/python-value.exp (test_value_in_inferior): Add
5825 variable length string fetch tests.
5826 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5827
c0ac0ec7
JK
58282009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5829
5830 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5831
30b66ecc
TT
58322009-07-07 Tom Tromey <tromey@redhat.com>
5833
5834 * gdb.base/call-rt-st.exp: Update for change to escape output.
5835 * gdb.base/callfuncs.exp: Likewise.
5836 * gdb.base/charset.exp: Likewise.
5837 * gdb.base/constvars.exp: Likewise.
5838 * gdb.base/long_long.exp: Likewise.
5839 * gdb.base/pointers.exp: Likewise.
5840 * gdb.base/printcmds.exp: Likewise.
5841 * gdb.base/setvar.exp: Likewise.
5842 * gdb.base/store.exp: Likewise.
5843 * gdb.cp/ref-types.exp: Likewise.
5844 * gdb.mi/mi-var-child.exp: Likewise.
5845 * gdb.mi/mi-var-display.exp: Likewise.
5846 * gdb.mi/mi2-var-display.exp: Likewise.
5847 * gdb.base/charset.exp: Test octal escape sequence length.
5848 Update for change to escape output.
5849
187c4a2b
JK
58502009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5851
5852 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5853
d80a43f9
DJ
58542009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5855
5856 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5857
047427a8
JK
58582009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5859
5860 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5861 gdbserver increasing $portnum if "Can't bind address" has been seen.
5862
8b5a0f4f
PA
58632009-07-05 Pedro Alves <pedro@codesourcery.com>
5864
5865 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5866 mingw32ce.
5867
7d93ba58
PA
58682009-07-05 Pedro Alves <pedro@codesourcery.com>
5869
5870 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5871 VFP format.
5872
2277426b
PA
58732009-07-02 Pedro Alves <pedro@codesourcery.com>
5874
5875 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5876 linux. Adjust to use "inferior", "info inferiors", "detach
5877 inferior" and "kill inferior" instead of "restart", "info fork",
5878 "detach fork" and "delete fork".
5879 * gdb.base/ending-run.exp: Spell out "info".
5880 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5881 the "kill" command.
5882
5af949e3
UW
58832009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5884
5885 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5886 change to prefix TLS offset in hex with 0x.
5887
5d3729b5
UW
58882009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5889
5890 * gdb.base/default.exp: Update test case for "x" changes.
5891
af589bd0
TG
58922009-07-01 Tristan Gingold <gingold@adacore.com>
5893
5894 * gdb.base/bigcore.exp: Make darwin untested.
5895
40974f91
JK
58962009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5897
5898 * gdb.base/completion.exp (directory completion): Create the directory.
5899 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5900 escapeuniquesub.
5901 (directory completion 2): Expect now ${escapeuniquesub}.
5902 (Glob remaining of directory test): Remove one excessive newline.
5903 Expect the real output.
5904
59dd3af6
JK
59052009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5906
5907 Fix `make check//%' target after `make check' has been ran.
5908 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5909 a mkdir call.
5910 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5911 (%/.dir): Remove.
5912
f4e164aa
JK
59132009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5914
5915 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5916 the expected result record.
5917
69af2122
JK
59182009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5919
5920 Remove racy FAILs relying just on the timeouts.
5921 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5922 (annotation_level 2): Remove racy FAILs.
5923
2fd481e1
PP
59242009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5925
5926 gdb/10275
889bf7c5
PA
5927 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5928
c38f313d
DJ
59292009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5930
5931 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5932
8b777f02
VP
59332009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5934
5935 * gdb.mi/mi-stack.exp: Testing symbolic options
5936 to -stack-list-locals and -stack-list-arguments.
5937
00c7eacf
JK
59382009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5939
5940 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5941
6bc80edc
TT
59422009-06-29 Tom Tromey <tromey@redhat.com>
5943
5944 * dg-extract-results.sh: New file.
5945 * Makefile.in (FORCE_PARALLEL): New variable.
5946 (CHECK_TARGET): New conditional variable.
5947 (check): Use CHECK_TARGET.
5948 (DO_RUNTEST): New variable.
5949 (check-single): New target.
5950 (TEST_DIRS): New variable.
5951 (TEST_TARGETS): Likewise.
5952 (check-parallel): New target.
5953 (check-gdb.%): New pattern.
5954 (BASE1_FILES): New variable.
5955 (BASE2_FILES): Likewise.
5956 (check-gdb.base%): New pattern.
5957 (%/.dir): New pattern.
5958 * configure: Rebuild.
5959 * aclocal.m4 (AM_CONDITIONAL): New defun.
5960 * configure.ac: Check whether user is using GNU make.
5961 (GMAKE): New conditional.
5962
794684b6
SW
59632009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5964
5965 * gdb.cp/namespace-nested-import.cc: New test.
5966 * gdb.cp/namespace-nested-import.exp: New test.
5967
edb3359d
DJ
59682009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5969
5970 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5971 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5972 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5973 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5974 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5975 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5976 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5977 gdb.opt/inline-markers.c: New files.
5978 * lib/gdb.exp (skip_inline_frame_tests): New function.
5979 (skip_inline_var_tests): New function.
5980
cf657a0c
AS
59812009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5982
5983 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5984 backtrace.
5985
28d41a99
MS
59862009-06-27 Michael Snyder <msnyder@vmware.com>
5987
5988 * gdb.reverse: New directory.
5989 * gdb.reverse/break-reverse.c: New test.
5990 * gdb.reverse/break-reverse.exp: New test.
5991 * gdb.reverse/consecutive-reverse.c: New test.
5992 * gdb.reverse/consecutive-reverse.exp: New test.
5993 * gdb.reverse/finish-reverse.c: New test.
5994 * gdb.reverse/finish-reverse.exp: New test.
5995 * gdb.reverse/machinestate.c: New test.
5996 * gdb.reverse/ms1.c: New test.
5997 * gdb.reverse/machinestate.exp: New test.
5998 * gdb.reverse/Makefile.in: New file.
5999 * gdb.reverse/shr2.c: New test.
6000 * gdb.reverse/solib-reverse.c: New test.
6001 * gdb.reverse/solib-reverse.exp: New test.
6002 * gdb.reverse/step-reverse.c: New test.
6003 * gdb.reverse/step-reverse.exp: New test.
6004 * gdb.reverse/until-reverse.c: New test.
6005 * gdb.reverse/ur1.c: New test.
6006 * gdb.reverse/until-reverse.exp: New test.
6007 * gdb.reverse/watch-reverse.c: New test.
6008 * gdb.reverse/watch-reverse.exp: New test.
6009 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6010 * configure: Regenerate.
6011
fe3c8b0d
DE
60122009-06-26 Doug Evans <dje@google.com>
6013
6014 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6015
3a72a602
PM
60162009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6017
6018 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6019 windows problem for 'file delete $binfile'.
6020
27aa8d6a
SW
60212009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6022
6023 * gdb.cp/namespace-using.exp: New test.
6024 * gdb.cp/namespace-using.cc: New test.
6025
8ac055f8
JB
60262009-05-20 Joel Brobecker <brobecker@adacore.com>
6027
6028 * gdb.ada/variant_record_packed_array: New testcase.
6029
85e306ed
TT
60302009-06-23 Tom Tromey <tromey@redhat.com>
6031
6032 * gdb.base/charset.exp (test_combination): Regression test.
6033 * gdb.base/charset.c (my_wchar_t): New typedef.
6034 (myvar): New global.
6035 (main): Set myvar.
6036
56643c5e
PM
60372009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6038
6039 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6040 target.
6041
1fac167a
UW
60422009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6043
6044 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6045
7ccb0be9
UW
60462009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6047
6048 * gdb.mi/gdb680.exp: Update test for error message.
6049
568d6575
UW
60502009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6051
6052 * gdb.base/annota1.exp: Allow multiple occurrences of the
6053 frames-invalid annotation.
6054 * gdb.cp/annota2.exp: Likewise.
6055
7cd1089b
PM
60562009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6057
6058 * gdb.cp/gdb2495.cc: New file.
6059 * gdb.cp/gdb2495.exp: New file.
6060
72c63395
JK
60612009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6062
6063 Report error on GDB crash during runto.
6064 * lib/gdb.exp (runto <eof>): New.
6065
3788363d
DJ
60662009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6067
6068 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6069 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6070 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6071 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6072 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6073 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6074 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6075 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6076 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6077 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6078 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6079 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6080 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6081 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6082 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6083 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6084 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6085 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6086 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6087 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6088 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6089 gdb.trace/passcount.exp, gdb.trace/report.exp,
6090 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6091 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6092 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6093 executable.
6094
17592de3
PA
60952009-06-07 Pedro Alves <pedro@codesourcery.com>
6096
6097 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6098 defined before referencing it.
6099
701e355d
DE
61002009-06-03 Doug Evans <dje@google.com>
6101
6102 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6103 * gdb.arch/i386-see.c: Ditto.
6104
f2292c65
PM
61052009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6106
6107 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6108 (check_macro): Return 1 if undefined.
6109 If first test fails, check if macro debug information is available,
6110 and report unsupported test if no macro information is found.
6111
5a437975
DE
61122009-05-29 Doug Evans <dje@google.com>
6113
6114 * gdb.threads/hand-call-in-threads.exp: New.
6115 * gdb.threads/hand-call-in-threads.c: New.
6116
c141c696
MS
61172009-05-29 Michael Snyder <msnyder@vmware.com>
6118
6119 * gdb.base/break-always.exp: Change "1" to "on".
6120 Add confirmation check.
6121
b3444185
PA
61222009-05-28 Pedro Alves <pedro@codesourcery.com>
6123
6124 * gdb.threads/threxit-hop-specific.c: New.
6125 * gdb.threads/threxit-hop-specific.exp: New.
6126 * gdb.threads/thread-execl.c: New.
6127 * gdb.threads/thread-execl.exp: New.
6128
b6313243
TT
61292009-05-27 Tom Tromey <tromey@redhat.com>
6130 Thiago Jung Bauermann <bauerman@br.ibm.com>
6131
6132 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6133 (mi_child_regexp): Likewise.
6134 (mi_list_varobj_children_range): Likewise.
6135 (mi_get_features): Likewise.
6136 (mi_list_varobj_children): Rewrite.
6137 * gdb.python/python-mi.exp: New file.
6138
a6bac58e
TT
61392009-05-27 Tom Tromey <tromey@redhat.com>
6140 Thiago Jung Bauermann <bauerman@br.ibm.com>
6141 Phil Muldoon <pmuldoon@redhat.com>
6142 Paul Pluzhnikov <ppluzhnikov@google.com>
6143
6144 * gdb.python/python-prettyprint.exp: New file.
6145 * gdb.python/python-prettyprint.c: New file.
6146 * gdb.python/python-prettyprint.py: New file.
6147 * gdb.base/display.exp: print/r is now valid.
6148
2c74e833
TT
61492009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6150 Tom Tromey <tromey@redhat.com>
6151 Pedro Alves <pedro@codesourcery.com>
6152 Paul Pluzhnikov <ppluzhnikov@google.com>
6153
6154 * gdb.python/python-template.exp: New file.
6155 * gdb.python/python-template.cc: New file.
6156 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6157 tests.
6158 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6159 Call it.
6160 (test_value_after_death): New proc.
6161 * gdb.python/python-value.c (PTR): New typedef.
6162 (main): New variable 'x'.
6163
89c73ade
TT
61642009-05-27 Tom Tromey <tromey@redhat.com>
6165
6166 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6167 tests.
6168 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6169 Call it.
6170
a75724bc
PA
61712009-05-27 Pedro Alves <pedro@codesourcery.com>
6172
6173 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6174
e58b0e63
PA
61752009-05-24 Pedro Alves <pedro@codesourcery.com>
6176
6177 * gdb.threads/fork-thread-pending.c: New.
6178 * gdb.threads/fork-thread-pending.exp: New.
6179
4ac36638
JK
61802009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6181
6182 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6183 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6184
889bf7c5 61852009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 6186
889bf7c5 6187 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 6188
b242c3c2
PA
61892009-05-17 Pedro Alves <pedro@codesourcery.com>
6190
6191 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6192 `gdb_get_line_number'. Call `callee' in both parent and child.
6193 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6194 `gdb_get_line_number' instead of hardcoding line numbers.
6195 (catch_fork_unpatch_child): New procedure to test detaching
6196 breakpoints from child fork.
6197 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6198 hardcoding line numbers.
6199 (do_fork_tests): Run `catch_fork_unpatch_child'.
6200
ee342b23
VP
62012009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6202
6203 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6204 of structure type enters or leaves the scope, it
6205 is reported by -var-update.
6206
e2009e98
DE
62072009-05-11 Doug Evans <dje@sebabeach.org>
6208
6209 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 6210 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
6211 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6212
00903456
JK
62132009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6214
6215 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6216
dc621c35
DE
62172009-04-30 Doug Evans <dje@google.com>
6218
6219 * gdb.threads/watchthreads2.exp: New testcase.
6220 * gdb.threads/watchthreads2.c: New testcase.
6221
9ab4e744
DE
62222009-04-29 Doug Evans <dje@google.com>
6223
6224 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6225 * gdb.cp/mb-ctor.cc: Ditto.
6226 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6227 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6228 * gdb.cp/mb-inline1.cc: Call it.
6229 * gdb.cp/mb-inline2.cc: Ditto.
6230 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6231 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6232
484086b7
JK
62332009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6234
6235 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6236 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6237 Replace all uses of `decimal' by `nonzero'.
6238 (info macro FROM_COMMANDLINE): New test.
6239
379a77b5
TT
62402009-04-27 Tom Tromey <tromey@redhat.com>
6241
6242 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6243
b92b73c2
DE
62442009-04-27 Doug Evans <dje@google.com>
6245
6246 * gdb.threads/watchthreads.c (main): Initialize args before starting
6247 the threads. Plus formatting cleanup.
6248 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6249 biased scheduling of one thread.
6250
945a118d
JG
62512009-04-27 Jerome Guitton <guitton@adacore.com>
6252
6253 * gdb.cp/templates.cc (GetMax): New template.
6254 (main): Declare two instances of GetMax.
6255 * gdb.cp/templates.exp: Add new test.
6256
d389af10
JK
62572009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6258
6259 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6260
e7f86de9
JM
62612009-04-22 Joseph Myers <joseph@codesourcery.com>
6262
6263 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6264
334cc82d
TT
62652009-04-15 Tom Tromey <tromey@redhat.com>
6266
6267 * gdb.base/charset.exp: Add regression test.
6268
d12672cc
JB
62692009-04-14 Joel Brobecker <brobecker@adacore.com>
6270
6271 * gdb.base/exe-lock.exp: New testcase.
6272
18e8c3bc
TT
62732009-04-13 Tom Tromey <tromey@redhat.com>
6274
6275 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6276 operator on Frame.
6277
5ecd5cbe
UW
62782009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6279
6280 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6281 * gdb.server/ext-attach.exp: Likewise.
6282
7309f756
VP
62832009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6284
6285 Eliminate some sleep usage.
6286
889bf7c5
PA
6287 * gdb.mi/basics.c (do_nothing): New.
6288 (main): Use do_nothing instead of printf, so that
6289 not to introduce race condition between output of
6290 inferiour and output of gdb. Do not use sleep as it
6291 is not generally available on embedded targets.
7309f756 6292
f4b95f6f
PA
62932009-04-02 Pedro Alves <pedro@codesourcery.com>
6294
6295 * gdb.server/ext-attach.exp: Expect an optional process id after
6296 "Detached from remote process".
6297
de40b933
JK
62982009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6299
6300 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6301 gdb.dwarf2/dw2-unresolved.exp: New.
6302
2ae101a4
PA
63032009-04-02 Pedro Alves <pedro@codesourcery.com>
6304
6305 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6306 mi_run_to_main.
6307
56a8e183
PA
63082009-04-02 Pedro Alves <pedro@codesourcery.com>
6309
6310 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6311 mi_run_to_main. Skip thread exit test on remote targets.
6312 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6313 mi_run_to_main.
6314 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6315 mi_run_to_main.
6316 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6317 when expecting ^connected. Detect when the target doesn't support
6318 non-stop mode.
6319 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6320 supported. Return -1 on error, 0 on success.
6321 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6322 (mi_runto): Return mi_runto_helper's result explicitly.
6323
c35fafde
PA
63242009-04-01 Pedro Alves <pedro@codesourcery.com>
6325
6326 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6327
f8a8dce6
JB
63282009-04-01 Tom Tromey <tromey@redhat.com>
6329
6330 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6331 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6332 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6333 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6334
71c25dea
TT
63352009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6336 Jan Kratochvil <jan.kratochvil@redhat.com>
6337
6338 PR gdb/931
6339 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6340 output.
6341 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6342 for gdb/931.
6343 * dw2-strp.S (DW_AT_language): Change to C++.
6344 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6345
02d9a9ce
JB
63462009-03-31 Joel Brobecker <brobecker@adacore.com>
6347
6348 * gdb.ada/tasks: New testcase.
6349
1042e4c0
SS
63502009-03-30 Stan Shebs <stan@codesourcery.com>
6351
6352 * gdb.trace/actions.exp: Update to match new info trace format.
6353 * gdb.trace/deltrace.exp: Ditto.
6354 * gdb.trace/infotrace.exp: Ditto.
6355 * gdb.trace/passcount.exp: Ditto.
6356 * gdb.trace/save-trace.exp: Ditto.
6357 * gdb.trace/while-stepping.exp: Ditto.
6358 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6359
f8f6f20b
TJB
63602009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6361
6362 * gdb.python/python-frame.c: New file.
6363 * gdb.python/python-frame.exp: New file.
6364
c0c6f777
TJB
63652009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6366
6367 * gdb.python/python-value.exp: Add tests for the address
6368 attribute.
6369
3cb51905
AS
63702009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6371
6372 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6373
88fc996f
DE
63742009-03-26 Doug Evans <dje@google.com>
6375
6376 * gdb.mi/mi-nonstop-exit.exp: New file.
6377 * gdb.mi/non-stop-exit.c: New file.
6378
56ef84b1
TT
63792009-03-26 Tom Tromey <tromey@redhat.com>
6380
6381 Update for change to prologue skipping:
6382 * gdb.mi/mi2-simplerun.exp: Update.
6383 * gdb.mi/mi2-break.exp: Update.
6384 * gdb.mi/mi-simplerun.exp: Update.
6385 * gdb.mi/mi-break.exp: Update.
6386 * gdb.base/ending-run.exp: Update.
6387
def2b000
TJB
63882009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6389
6390 * gdb.python/python-value.exp (test_value_in_inferior): Test
6391 gdb.Value.is_optimized_out attribute.
6392
442ddf59
JK
63932009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6394
6395 * gdb.dwarf2/dw2-noloc-main.c: New file.
6396 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6397 (.text): Remove.
6398 (.data): New.
6399 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6400 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6401 (DW_TAG_subprogram func_cu1, noloc): Remove.
6402 (main): New.
6403 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6404 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6405 (file_symbols): New procedure.
6406
a8df5de4
TT
64072009-03-25 Tom Tromey <tromey@redhat.com>
6408
6409 * gdb.base/charset.exp (valid_target_charset): New proc.
6410 Use it to skip tests on invalid charsets.
6411
cc1d7add
PM
64122009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6413
6414 * gdb.base/completion.exp: Add a test for directory completion.
6415
bcd5727b
JK
64162009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6417
6418 Fix a racy FAIL.
6419 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6420 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6421
cc924cad
TJB
64222009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6423
6424 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6425 * gdb.python/python-function.exp: Add test for function returning
6426 a GDB value.
6427
bc3b79fd
TJB
64282009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6429
6430 * gdb.python/python-function.exp: New file.
6431
6c7a06a3
TT
64322009-03-20 Tom Tromey <tromey@redhat.com>
6433
6434 * gdb.base/store.exp: Update for change to escape output.
6435 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6436 to escape output.
6437 * gdb.base/pointers.exp: Update for change to escape output.
6438 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6439 to escape output.
6440 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6441 escape output.
6442 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6443 to escape output.
6444 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6445 escape output.
6446 * gdb.base/setvar.exp: Update for change to escape output.
6447 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6448 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6449 to escape output.
6450 (test_print_string_constants): Likewise.
6451 * gdb.base/charset.exp (valid_host_charset): Check size of
6452 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6453 cases. Handle "auto"-related output.
6454 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6455 (uvar, Uvar): New globals.
6456
c31af87b
JG
64572009-03-19 Jerome Guitton <guitton@adacore.com>
6458
6459 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6460 deltas.
6461 * gdb.ada/fixed_points.exp: Ditto.
6462
51272cf2
PA
64632009-03-18 Pedro Alves <pedro@codesourcery.com>
6464
6465 * return-nodebug.c: Don't include stdio.h.
6466 (init): Delete.
6467 (func): Delete definition and provide extern declaration.
6468 (t): New.
6469 (main): Don't call printf. Call func and store its result in t.
6470 * return-nodebug1.c: New.
6471 * return-nodebug.exp: Don't expect stdio output. Instead, print
6472 the global variable t. Drop printf formatters and cast types from
6473 foreach loop. Don't use prepare_for_testing. Compile
6474 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6475 define FORMAT or CAST.
6476
d24948ac
PP
64772009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6478
6479 * gdb.base/solib-display.exp: Disable test for remote targers.
6480
61ff14c6
JK
64812009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6482
6483 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6484
cb4dce93
JK
64852009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6486
6487 Fix a racy FAIL.
6488 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6489 code from `follow parent, print pids'.
6490 (`follow child, print pids', `follow parent, print pids'): Call it.
6491 Replace `gdb_test "break..."' by gdb_breakpoint.
6492
f7c60c5e
VP
64932009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6494
6495 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 6496 sync and async modes.
f7c60c5e 6497
383ace49
JB
64982009-03-12 Joel Brobecker <brobecker@adacore.com>
6499
6500 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6501 that was checked in by mistake. Remove loading of ada.exp, since
6502 this is not necessary in this case.
6503
4ce102af
JB
65042009-03-12 Joel Brobecker <brobecker@adacore.com>
6505
6506 * gdb.ada/ptype_arith_binop.exp: New testcase.
6507
529a2aef
JB
65082009-03-12 Joel Brobecker <brobecker@adacore.com>
6509
6510 * gdb.ada/mod_from_name: New testcase.
6511
8a38181c
JB
65122009-03-12 Joel Brobecker <brobecker@adacore.com>
6513
6514 * gdb.ada/tick_last_segv: New testcase.
6515
11436dee
VP
65162009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6517
61ff14c6 6518 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 6519
1f31650a
VP
65202009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6521
61ff14c6
JK
6522 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6523 include the token in ^running and frame info in *stopped.
1f31650a 6524
a3247a22
PP
65252009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6526
6527 * solib-display.exp: New file.
6528 * solib-display-main.c: New file.
6529 * solib-display-lib.c: New file.
61ff14c6 6530
aae64587
PA
65312009-03-05 Pedro Alves <pedro@codesourcery.com>
6532
6533 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6534
44aabfbc
JK
65352009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6536
6537 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6538 (list_and_check_macro): Use more specific test name.
6539 (next to definition): Make the test names unique.
6540
c087fcd3
PM
65412009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6542
6543 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 6544
c86cf029
VP
65452009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6546
6547 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6548 notifications.
6549 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6550 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6551 * lib/mi-support.exp (library_loaded_re): New.
6552 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6553
3ea85240
VP
65542009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6555
6556 * gdb.gdb/observer.exp: Use test_notification observer, not
6557 normal_stop, everywhere.
6558 (test_normal_stop_notifications): Rename to...
6559 (test_notifications): ...this.
6560 (test_observer_normal_stop): Rename to...
6561 (test_observer): ...this.
6562
1903f0e6
DE
65632009-02-16 Doug Evans <dje@google.com>
6564
6565 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6566 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6567 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6568 (test_prefixed_syscall,test_int3): New tests.
6569 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6570 (test_prefixed_syscall,test_int3): New tests.
6571
1d33d6ba
VP
65722009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6573
3cb51905
AS
6574 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6575 (mi_expect_interrupt): Likewise.
6576 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6577 response.
1d33d6ba 6578
faafb047
PM
65792009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6580
6581 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6582 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6583 Replace calls to get_valueofx by get_hexadecimal_valueof.
6584
417e16e2
PM
65852009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6586
6587 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6588 (get_integer_valueof): New procedure.
6589 (get_sizeof): Use new get_integer_value_of.
6590 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6591 by get_integer_valueof.
6592
7065b901
TT
65932009-02-13 Tom Tromey <tromey@redhat.com>
6594
6595 * gdb.base/remote.exp (get_sizeof): Remove.
6596 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6597 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6598 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6599 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6600 (get_sizeof): Likewise.
6601
5d7cb8df
JK
66022009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6603
6604 PR fortran/9806
6605 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6606
b2febfff
PP
66072009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6608
6609 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6610
4aa995e1
PA
66112009-02-06 Pedro Alves <pedro@codesourcery.com>
6612
6613 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6614
d8906c6f
TJB
66152009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6616
6617 * gdb.python/python-cmd.exp: New file.
6618
ff4ab08d
TG
66192009-02-06 Tristan Gingold <gingold@adacore.com>
6620
6621 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6622
aacd552b
TG
66232009-02-05 Tristan Gingold <gingold@adacore.com>
6624
6625 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6626 pointer is dereferenced and use this signal name in regexp.
6627 * gdb.base/signull.exp: Ditto.
6628 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6629 * gdb.base/signull.c (main): Ditto.
6630
08c637de
TJB
66312009-02-04 Tom Tromey <tromey@redhat.com>
6632 Thiago Jung Bauermann <bauerman@br.ibm.com>
6633
6634 * gdb.python/python-value.exp: Use `gdb.history' instead of
6635 `gdb.value_from_history'.
6636 (test_value_numeric_ops): Add test for conversion of enum constant.
6637 * gdb.python/python-value.c (enum e): New type.
6638 (evalue): New global.
6639 (main): Use argv.
6640
20261af8
JG
66412009-02-04 Jerome Guitton <guitton@adacore.com>
6642
6643 * gdb.ada/uninitialized_vars: New test program.
6644 * gdb.ada/uninitialized_vars.exp: New testcase.
6645
52e44b43
TT
66462009-02-02 Tom Tromey <tromey@redhat.com>
6647
6648 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6649 * gdb.cp/pr2489.cc: Rename...
6650 * gdb.cp/pr9594.cc: ... to this.
6651
1c71341a
TT
66522009-02-02 Tom Tromey <tromey@redhat.com>
6653
6654 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6655 * gdb.cp/pr2489.cc: New file.
6656 * gdb.cp/cpcompletion.exp: New file.
6657
a4295225
TT
66582009-02-02 Tom Tromey <tromey@redhat.com>
6659
6660 PR exp/9059:
6661 * gdb.cp/call-c.exp: Add regression test.
6662 * gdb.cp/call-c.cc (FooHandle): New typedef.
6663 (main): New variable 'handle'.
6664
592375cd
VP
66652009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6666
6667 * lib/mi-support.exp (et_mi_thread_list)
6668 (check_mi_and_console_threads): Adjust for current thread in
6669 -thread-list-ids output.
6670
41447f92
VP
66712009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6672
889bf7c5
PA
6673 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6674 Call it.
41447f92 6675
35669430
DE
66762009-01-28 Doug Evans <dje@google.com>
6677
6678 * gdb.arch/amd64-disp-step.S: New file.
6679 * gdb.arch/amd64-disp-step.exp: New file.
6680 * gdb.arch/i386-disp-step.S: New file.
6681 * gdb.arch/i386-disp-step.exp: New file.
6682
09f00d9a
PM
66832009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6684
6685 * gdb.base/find.exp: Set newline variable
6686 using quotes instead of braces to fix cygwin failures.
6687
1e8fb976
PA
66882009-01-23 Pedro Alves <pedro@codesourcery.com>
6689
6690 * gdb.base/radix.exp: Add tests to ensure that that set
6691 input-radix 0 and set output-radix 0 are really rejected.
6692
da061712
PA
66932009-01-23 Pedro Alves <pedro@codesourcery.com>
6694
6695 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6696 copyright years.
6697
dd7e2d2b
PA
66982009-01-23 Pedro Alves <pedro@codesourcery.com>
6699
6700 PR gdb/9664:
6701 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6702
392452f6
PA
67032009-01-22 Pedro Alves <pedro@codesourcery.com>
6704
6705 PR c++/9631:
6706 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6707
8653e71c
PM
67082009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6709
6710 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6711 binfile definition to fix Windows OS failure.
6712
a12cc160
DJ
67132009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6714
6715 PR gdb/9346
6716 * gdb.base/interrupt.c (sigint_handler): New.
6717 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6718 on error.
6719 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6720 Test "signal SIGINT".
6721
b89667eb
DE
67222009-01-19 Doug Evans <dje@google.com>
6723
6724 * gdb.base/break.exp: Update expected gdb output.
6725 * gdb.base/sepdebug.exp: Ditto.
6726 * gdb.mi/mi-syn-frame.exp: Ditto.
6727 * gdb.mi/mi2-syn-frame.exp: Ditto.
6728 * gdb.base/call-signal-resume.exp: New file.
6729 * gdb.base/call-signals.c: New file.
6730 * gdb.base/unwindonsignal.exp: New file.
6731 * gdb.base/unwindonsignal.c: New file.
6732 * gdb.threads/interrupted-hand-call.exp: New file.
6733 * gdb.threads/interrupted-hand-call.c: New file.
6734 * gdb.threads/thread-unwindonsignal.exp: New file.
6735
adb483fe
DJ
67362009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6737
6738 * gdb.base/define.exp: Test defining and hooking prefix commands.
6739 * gdb.python/python.exp: Update test for "show user" output.
6740
60023297
JK
67412009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6742
6743 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6744 now the output exactly, using less wildcards. Expect also the output
6745 of gfortran-4.3. Update for the f-valprint.c modification from
6746 2008-04-22.
6747 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6748 Remove gdb_test test names where matching the command.
6749
ccc57cf9
PA
67502009-01-01 Pedro Alves <pedro@codesourcery.com>
6751
6752 PR breakpoints/9681:
6753 * gdb.base/watchpoint.exp: Add regression test.
6754
c7a6ca08
PA
67552008-12-31 Pedro Alves <pedro@codesourcery.com>
6756
6757 * gdb.threads/attach-into-signal.exp: Don't use
6758 gdb_suppress_entire_file.
6759 * gdb.threads/attach-stopped.exp: Ditto.
6760 * gdb.threads/attachstop-mt.exp: Ditto.
6761
3a031f65
PA
67622008-12-31 Pedro Alves <pedro@codesourcery.com>
6763
6764 PR gdb/8812:
6765 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6766
09e6485f
PA
67672008-12-29 Pedro Alves <pedro@codesourcery.com>
6768
6769 PR gdb/7536:
6770 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6771 and unsupported output radices are really rejected.
6772
0cd53049
JK
67732008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6774
6775 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6776
ba163c7e
TT
67772008-12-22 Tom Tromey <tromey@redhat.com>
6778
6779 * gdb.cp/punctuator.exp: New file.
6780
6f4de6c9
JK
67812008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6782
6783 * gdb.base/completion.exp (Completing non-existing component): New test.
6784
0f34d0b4
JK
67852008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6786
6787 Fix for PR gdb/8648.
6788 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6789 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6790 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6791 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6792
db2ad4c3
JK
67932008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6794
6795 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6796
bb5ef15e
DP
67972008-12-16 Christophe Lyon <christophe.lyon@st.com>
6798
6799 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6800 compiler actually generate code at the expected line number.
6801
90142adc
JZ
68022008-12-15 Jie Zhang <jie.zhang@analog.com>
6803
6804 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6805
fad6eecd
TT
68062008-12-12 Tom Tromey <tromey@redhat.com>
6807
6808 * gdb.base/commands.exp (redefine_hook_test): New proc.
6809 Call it.
6810
17c8aaf5
TT
68112008-12-11 Tom Tromey <tromey@redhat.com>
6812
6813 * gdb.base/macscp.exp: New regression test.
6814
7c8adf68
TT
68152008-12-11 Tom Tromey <tromey@redhat.com>
6816
6817 * gdb.base/macscp.exp: Print "address.addr".
6818 * gdb.base/macscp1.c (struct outer): New struct.
6819 (address): New global.
6820
b05dcbb7
TT
68212008-12-09 Tom Tromey <tromey@redhat.com>
6822
6823 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6824 Call it.
6825
2d476de1
DE
68262008-12-04 Doug Evans <dje@google.com>
6827
6828 * gdb.server/ext-run.exp: Relax regexp for init program.
6829
87bdc959
TG
68302008-12-03 Tristan Gingold <gingold@adacore.com>
6831
6832 * gdb.base/macscp.exp: Generate an object file during compilation
6833 to work around Darwin dsymutil limitations.
6834
e0740f77
JK
68352008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6836
6837 Test resolving external references to TLS variables.
6838 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6839 FILE2_THREAD_LOCAL.
6840 (testfile2, srcfile2): New variables.
6841 * gdb.threads/tls.c (file2_thread_local)
6842 (function_referencing_file2_thread_local): New.
6843 * gdb.threads/tls2.c: New file.
6844
67f0aac5
JB
68452008-11-28 Joel Brobecker <brobecker@adacore.com>
6846
6847 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
6848 rather than integer, as integer might not be big enough when
6849 on 64bit targets.
67f0aac5 6850
c332165e
JG
68512008-11-27 Jerome Guitton <guitton@adacore.com>
6852
6853 * gdb.cp/formatted-ref.exp: Add equality test.
6854 * gdb.ada/formatted_ref.exp: Ditto.
6855
fc9b693c
JK
68562008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6857
6858 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6859 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6860
a9c64011
AS
68612008-11-20 Andreas Schwab <schwab@suse.de>
6862
6863 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6864 matching syscall entry point.
6865 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6866 (tcatch_vfork_then_child_follow): Likewise. Finish through
6867 vfork even if we stopped at the syscall trampoline.
6868
e2fd701e
DE
68692008-11-20 Doug Evans <dje@google.com>
6870
6871 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6872
69abc51c
TJB
68732008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6874
6875 * gdb.arch/ppc-dfp.exp: New file.
6876 * gdb.arch/ppc-dfp.c: New file.
6877
c14c28ba
PP
68782008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6879
6880 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 6881
2e74121d
DE
68822008-11-17 Doug Evans <dje@google.com>
6883
6884 * gdb.mi/mi-syn-frame.exp: Update expected output.
6885 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6886
66bb093b
VP
68872008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6888
6889 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
6890 "thread N" results in =thread-selected.
6891 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6892 (mi_send_resuming_command_raw): Be prepared for
6893 =thread-selected.
6894
3d043ef6
VP
68952008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6896
a9c64011
AS
6897 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6898 * lib/mi-support.exp: Likewise.
3d043ef6 6899
808104c8
JB
69002008-11-16 Joel Brobecker <brobecker@adacore.com>
6901
6902 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6903 commands from the expected output for "help catch".
6904
00b22944
JB
69052008-11-15 Joel Brobecker <brobecker@adacore.com>
6906
6907 * gdb.ada/int_deref.exp: New testcase.
6908
59669435
TT
69092008-11-14 Nick Roberts <nickrob@snap.net.nz>
6910
6911 * gdb.mi/gdb2549.exp: New file.
6912
de04a248
DE
69132008-11-11 Doug Evans <dje@google.com>
6914
6915 * gdb.base/callexit.exp: New file.
6916 * gdb.base/callexit.c: New file.
6917
6b8ce727
DE
69182008-11-10 Doug Evans <dje@google.com>
6919
6920 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6921 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6922 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6923 (default_gdb_start,default_gdb_exit): Ditto.
6924 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6925 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6926 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6927 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6928 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6929 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6930
1b14b8aa
AS
69312008-11-03 Andreas Schwab <schwab@suse.de>
6932
6933 * gdb.base/hashline2.exp: Fix typo.
6934 * gdb.base/hashline3.exp: Likewise.
6935
f3134b88
TT
69362008-10-30 Tom Tromey <tromey@redhat.com>
6937
6938 * gdb.base/pointers.exp: Add test.
6939 * gdb.base/pointers.c (k, S): New typedefs.
6940 (instance): New global.
6941
c2226152
AS
69422008-10-30 Andreas Schwab <schwab@suse.de>
6943
6944 * gdb.base/args.exp: Add tests for newlines.
6945
462f405c
JB
69462008-10-30 Joel Brobecker <brobecker@adacore.com>
6947
6948 gdb.base/foll-exec.exp: Update the expected output of a couple
6949 of "info breakpoints" tests.
6950
79a45b7d
TT
69512008-10-28 Tom Tromey <tromey@redhat.com>
6952
6953 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6954
adc13a14
PA
69552008-10-24 Pedro Alves <pedro@codesourcery.com>
6956
6957 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6958 gdb_start_cmd.
6959 Use runto_main before any test that requires execution.
6960
252fbfc8
PA
69612008-10-23 Pedro Alves <pedro@codesourcery.com>
6962
6963 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6964 instead of SIGINT.
6965
28148e3d
JB
69662008-10-22 Joel Brobecker <brobecker@adacore.com>
6967
6968 * gdb.base/completion.exp: Update expected output following
6969 the addition of the "info tasks" command.
6970
c209f847
TT
69712008-10-22 Tom Tromey <tromey@redhat.com>
6972
6973 * gdb.base/exprs.exp (test_expr): Add test for string
6974 concatenation.
6975
f177e350
PA
69762008-10-19 Pedro Alves <pedro@codesourcery.com>
6977
6978 * configure.ac: Output gdb.python/Makefile.
6979 * configure: Regenerate.
6980 * gdb.python/Makefile.in: New.
6981
cce89356
JB
69822008-10-16 Joel Brobecker <brobecker@adacore.com>
6983
6984 * gdb.base/foll-fork.exp: Adjust the expected output to match
6985 the new description for fork/vfork catchpoints in the "info
6986 breakpoints" output.
6987
176d289d
TJB
69882008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6989
6990 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6991
a08702d6
TJB
69922008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6993
6994 * gdb.python/python-value.c: New file.
6995 * gdb.python/python-value.exp: New file.
6996
1c5cfe86
PA
69972008-10-15 Pedro Alves <pedro@codesourcery.com>
6998
6999 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7000
5a98ad69
DP
70012008-10-15 Denis Pilat <denis.pilat@st.com>
7002
41702f1b 7003 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 7004
dcb1a1e2
TT
70052008-10-09 Tom Tromey <tromey@redhat.com>
7006
7007 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7008 'fprintf' and 'stderr'.
7009
9124fe48
JB
70102008-10-07 Joel Brobecker <brobecker@adacore.com>
7011
7012 * gdb.ada/ref_tick_size.exp: New testcase.
7013
45452591
DE
70142008-10-06 Doug Evans <dje@google.com>
7015
7016 * gdb.dwarf2/dw2-cu-size.exp: New file.
7017 * gdb.dwarf2/dw2-cu-size.S: New file.
7018
7019 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7020 .Ltype_int for clarity.
7021
4fc5b208
PP
70222008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7023
7024 PR gdb/2384:
7025 * gdb.cp/gdb2384.exp: Extended to test more cases.
7026 * gdb.cp/gdb2384.cc: Likewise.
7027 * gdb.cp/gdb2384-base.h: Likewise.
7028 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 7029
d78df370
JK
70302008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7031
7032 * gdb.base/maint.exp (maint print type): Remove printing
7033 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7034
9a044a89
TT
70352008-09-30 Tom Tromey <tromey@redhat.com>
7036
7037 * gdb.base/macscp.exp: Add completion tests.
7038 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7039 (TWENTY_THREE): Likewise.
7040 (FORTY_EIGHT): Likewise.
7041
506800a9
TT
70422008-09-30 Tom Tromey <tromey@redhat.com>
7043
7044 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7045 everywhere.
7046 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7047
1a6f01b5
JK
70482008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7049
7050 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7051 testcase is derived from. Fix racy dependency on an expected PID
7052 number. No longer support the testcase on Linux kernel 2.4.x.
7053
2fae03e8
TT
70542008-09-27 Tom Tromey <tromey@redhat.com>
7055
7056 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7057 and varargs.
7058
1ad15515
PA
70592008-09-22 Pedro Alves <pedro@codesourcery.com>
7060
7061 * lib/mi-support.exp (mi_expect_interrupt): New.
7062 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7063 from gdb.mi/mi-nonstop.exp.
7064 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7065 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7066 lib/mi-support.exp.
7067 Use mi_check_thread_states throughout. Avoid ".*" and do not
7068 require an anchor after -exec-run.
7069
d0b76dc6
DJ
70702008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7071
7072 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7073 stop is pending. Avoid ".*" when two stops are pending.
7074 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7075 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7076 newlines in fullnames.
7077 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7078 (mi_expect_stop): Update comments. Only anchor in sync mode.
7079 Do not match newlines.
7080 (mi_send_resuming_command_raw): Always return status.
7081 (mi_get_stop_line): Do not match more than one line by accident.
7082 Only anchor in sync mode.
7083 (mi_run_inline_test): If -exec-next fails, give up.
7084
9990c830
UW
70852008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7086
7087 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7088 on SPU.
7089
ebcf6f00
JB
70902008-09-10 Joel Brobecker <brobecker@adacore.com>
7091
7092 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7093
b6db24e5
JB
70942008-09-10 Joel Brobecker <brobecker@adacore.com>
7095
7096 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7097 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7098 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7099 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7100 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7101 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7102 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7103 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7104 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7105 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7106 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7107 Include the "= " sequence in the expected output of print tests.
7108
2bf448e0
JB
71092008-09-10 Joel Brobecker <brobecker@adacore.com>
7110
7111 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7112 description for boolean types.
7113
d51fd4c8
PA
71142008-09-09 Pedro Alves <pedro@codesourcery.com>
7115
7116 * gdb.base/hook-stop-continue.c: New.
7117 * gdb.base/hook-stop-continue.exp: New.
7118
694182d2
DJ
71192008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7120
7121 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7122
3b8a7fc0
JG
71232008-09-08 Jerome Guitton <guitton@adacore.com>
7124
7125 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7126 (stack_check_probe_2, stack_check_probe_loop_1)
7127 (stack_check_probe_loop_2): New functions.
7128 (main): Add call to these new functions.
7129 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7130 functions, check that the breakpoint is inserted at the appropriate
7131 location.
7132 (insert_breakpoint): Slightly refine this procedure so that it can
7133 be called several times in the test.
7134
96cc0ae8
JG
71352008-09-08 Jerome Guitton <guitton@adacore.com>
7136
7137 * gdb.base/stack-checking.c: New file.
7138 * gdb.base/stack-checking.exp: New file.
7139
1f08b409
TJB
71402008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7141
7142 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7143 * gdb.arch/altivec-regs.exp: Likewise.
7144 * gdb.arch/vsx-regs.exp: Likewise.
7145
3099e1c4
TJB
71462008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7147
7148 * gdb.arch/ppc-fp.exp: New file.
7149 * gdb.arch/ppc-fp.c: New file.
7150
cc69bfc1
PP
71512008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7152
7153 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7154 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 7155
b02a33db
MS
71562008-09-04 Michael Snyder <msnyder@vmware.com>
7157
7158 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7159 as "at" (for non-debug functions such as _start).
7160
2992cbe0
UW
71612008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7162
7163 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7164 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7165 software watchpoints.
7166 * gdb.base/watch_thread_num.exp: Likewise.
7167
514f746b
AR
71682008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7169
7170 * gdb.arch/i386-bp_permanent.exp: New test.
7171
876cecd0
TT
71722008-08-24 Tom Tromey <tromey@redhat.com>
7173
7174 * gdb.base/maint.exp: Update "maint print type".
7175
80f73d71
VP
71762008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7177
7178 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7179 support. Adjust the order of "*running" notifications.
7180 * gdb.mi/non-stop.c: Don't cast from int to void* and
7181 back.
7182
d9c78d7d
MK
71832008-08-20 Mark Kettenis <kettenis@gnu.org>
7184
7185 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7186 expect to find it in the "info frame" output.
7187
97a2d1d3
DJ
71882008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7189
7190 * gdb.base/interp.exp: Always consume both prompts.
7191
b96e2927
PA
71922008-08-20 Pedro Alves <pedro@codesourcery.com>
7193
7194 * gdb.base/pending.exp: Test pending breakpoints without symbols
7195 loaded.
7196
8cf6e61a
VP
71972008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7198
7199 * lib/mi-support.exp (mi_expect_stop): Produce
7200 more details on failures.
7201 * gdb.mi/mi-nonstop.exp: New.
7202 * gdb.mi/non-stop.c: New.
7203
c6ebd6cf
VP
72042008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7205
a9c64011
AS
7206 * gdb.mi/mi-async.exp: Use 'set target-async'.
7207 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 7208
46a9b8ed
DJ
72092008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7210
7211 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7212
44feb3ce
TT
72132008-08-17 Tom Tromey <tromey@redhat.com>
7214
7215 * gdb.base/help.exp (help catch): Rewrite.
7216
311a4e6b
TJB
72172008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7218
7219 * gdb.base/define.exp: Test indented command documentation.
7220 * gdb.python/python.exp: Test indented multi-line command.
7221
604c2f83
LM
72222008-08-15 Luis Machado <luisgpm@br.ibm.com>
7223
7224 * testsuite/gdb.arch/vsx-regs.c: New source file.
7225 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7226 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7227
886a217c
TT
72282008-08-14 Tom Tromey <tromey@redhat.com>
7229
7230 * gdb.base/macscp.exp: Add regression test for "macro define" or
7231 "macro undef" with no arguments.
7232
c814a4f3
PP
72332008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7234
7235 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 7236
12ab8a60
UW
72372008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7238
7239 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7240
d57a3c85
TJB
72412008-08-06 Tom Tromey <tromey@redhat.com>
7242
7243 * gdb.python/python.exp: New file.
7244
c7b778ff
JK
72452008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7246
7247 Fix for PR gdb/1543.
7248 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7249 $LOCATION.
7250 (location): New variable.
7251 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7252 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7253 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7254 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7255 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7256 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7257 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7258 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7259 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7260 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7261 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7262 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7263 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7264 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7265 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7266 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7267 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7268 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7269 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7270 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7271 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7272 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7273 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7274 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7275 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7276 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7277 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7278 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7279 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7280 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7281 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7282 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7283 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7284 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7285 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7286 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7287 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7288 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7289 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7290 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7291 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7292 gdb.base/type-opaque.exp, gdb.base/until.exp,
7293 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7294 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7295 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7296 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7297 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7298 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7299 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7300 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7301 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7302 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7303 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7304 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7305 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7306 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7307 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7308 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7309 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7310 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7311 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7312 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7313 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7314 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7315 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7316 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7317 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7318 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7319 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7320 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7321 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7322 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7323 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7324 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7325 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7326 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7327 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7328 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7329 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7330 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7331 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7332 to bug-gdb@prep.ai.mit.edu .
7333
5e06a3d1
VP
73342008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7335
7336 * lib/mi-support.exp (mi_load_shlibs): New.
7337 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7338
9d81d21b
VP
73392008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7340
7341 * lib/mi-support.exp (get_mi_thread_list)
7342 (check_mi_and_console_threads): New, moved from ...
7343 * gdb.mi/mi-pthread.exp: ...here.
7344 * gdb.mi/gdb669.exp (get_mi_thread_list)
7345 (check_mi_and_console_threads): Delete.
7346 * gdb.mi/mi2-pthread.exp: Likewise.
7347
bae98fe0
TT
73482008-07-28 Tom Tromey <tromey@redhat.com>
7349
7350 * Makefile.in (just-check): Remove. Move body to...
7351 (check): ... here.
7352
57380f4e
DJ
73532008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7354
7355 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7356 Add a test for duplicated SIGINTs.
7357
e09490f1
DJ
73582008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7359
7360 * gdb.threads/schedlock.exp (get_args): Update to work for any
7361 value of NUM.
7362 (Top level): Report the number of threads that did not resume.
7363
6387b45f
DJ
73642008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7365
7366 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7367
62f64ff2
DJ
73682008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7369
7370 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7371 non-MI prompt.
7372
fa8de41e
TT
73732008-07-26 Tom Tromey <tromey@redhat.com>
7374
7375 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7376 (function_struct, function_struct_ptr): New globals.
7377 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7378 function pointer in a struct.
7379
ccb3ac8a
TT
73802008-07-26 Tom Tromey <tromey@redhat.com>
7381
7382 * gdb.base/macscp.exp: Add test for macro lexing bug.
7383
d7d9f01e
TT
73842008-07-18 Tom Tromey <tromey@redhat.com>
7385
7386 * gdb.base/macscp.exp: Add macro tests.
7387
9bf07184
PP
73882008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7389
7390 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7391
becf6477
PP
73922008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7393
7394 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7395
0709f7d3
PP
73962008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7397
7398 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 7399
7093c834
PP
74002008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7401
7402 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 7403
b432ffe3
JK
74042008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7405
7406 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7407
b1a268e5
VP
74082008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7409
7410 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7411
e2995f8e
KB
74122008-07-11 Kevin Buettner <kevinb@redhat.com>
7413
7414 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7415 of regexp to account for changes made to GDB in the printing of
7416 byte vectors.
7417
14032a66
TT
74182008-07-11 Tom Tromey <tromey@redhat.com>
7419
7420 * gdb.base/completion.exp: Add 'help' completion test.
7421
981505ef
JK
74222008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7423
7424 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7425
10568435
JK
74262008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7427
7428 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7429
4487aabf
PA
74302008-07-09 Pedro Alves <pedro@codesourcery.com>
7431
7432 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7433
a4a9b1c4
PA
74342008-07-09 Pedro Alves <pedro@codesourcery.com>
7435
7436 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7437
3c3185ac
JK
74382008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7439
7440 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7441
7ebd49dc
VP
74422008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7443
7444 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7445 previous commit. Add a comment.
7446
84e46146
PA
74472008-06-28 Pedro Alves <pedro@codesourcery.com>
7448
7449 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7450
0f8d4a2f
VP
74512008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7452
7453 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7454
f747e0ce
PA
74552008-06-27 Pedro Alves <pedro@codesourcery.com>
7456
7457 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7458 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7459 compiling an executable, link in an object that forces unbuffered
7460 output.
7461 * lib/set_unbuffered_mode.c: New file.
7462
734a5c36
JK
74632008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7464
7465 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7466
a2840c35
VP
74672008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7468
a9c64011
AS
7469 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7470 mi_expect_stop.
7471 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7472 Demand that *running is output.
7473 (detect_async): Perform checking every time.
7474 (mi_send_resuming_command): Extract everything into...
7475 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
7476 (mi_expect_stop): Don't accept any output before *stopped.
7477
6ae37fef
VP
74782008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7479
7480 Robustify mi-simplerun.
a9c64011
AS
7481 * gdb.mi/basics.c (main): Add a call to sleep.
7482 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7483 * gdb.mi/mi2-cli.exp: Likewise.
7484 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 7485
b4aa76f0 74862008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
7487
7488 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7489
e1ac3328
VP
74902008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7491
a9c64011
AS
7492 * gdb.mi/mi-console.exp: Adjust.
7493 * gdb.mi/mi-syn-frame.exp: Adjust.
7494 * gdb.mi/mi2-console.exp: Adjust.
7495 * gdb.mi/mi2-syn-frame.exp: Adjust.
7496 * lib/mi-support.exp (mi_run_cmd): Adjust.
7497 (mi_send_resuming_command): Adjust.
e1ac3328 7498
f7f9a841
VP
74992008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7500
7501 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
7502 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7503 testing of stopped.
7504 * gdb.mi/mi2-syn-frame.exp: Likewise.
7505 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7506 (async, detect_async): New.
7507 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7508 depending on if we're running in sync or async mode.
f7f9a841 7509
37cd5d19
TT
75102008-06-09 Tom Tromey <tromey@redhat.com>
7511
7512 * gdb.base/completion.exp: New tests for field name completion
7513 with spaces, and field name completion with '->'.
7514
65d12d83
TT
75152008-06-06 Tom Tromey <tromey@redhat.com>
7516
7517 * gdb.base/break1.c (struct some_struct): New struct.
7518 (values): New global.
7519 * gdb.base/completion.exp: Add field name completion test.
7520
ebfe2e3f
PP
75212008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7522
7523 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7524 to pointer.
7525 * gdb.cp/call-c.cc: Likewise.
7526
bcf6fc3a
NR
75272008-06-06 Nick Roberts <nickrob@snap.net.nz>
7528
7529 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7530 annotation.
7531
49fd4a42 75322008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 7533 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
7534
7535 * gdb.threads/execl.c, gdb.threads/execl1.c,
7536 gdb.threads/execl.exp: New tests.
a9c64011 7537
8a34ac3f
AR
75382008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7539 Daniel Jacobowitz <dan@codesourcery.com>
7540
7541 * gdb.cp/exception.exp: Activate test, make it work with pending
7542 catchpoints.
7543
86ae69ef
JK
75442008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7545
7546 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7547
f7f9ae2c
VP
75482008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7549
a9c64011
AS
7550 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7551 now printed.
7552 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 7553
2a2d4dc3
AS
75542008-05-27 Andreas Schwab <schwab@suse.de>
7555
7556 * gdb.base/frame-args.exp: Handle arguments that are optimized
7557 out.
7558
5099e4d9
LM
75592008-05-26 Luis Machado <luisgpm@br.ibm.com>
7560
7561 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7562 quiet for ppc32 and group options into a single variable.
7563
d9c36a91
JB
75642008-05-23 Joel Brobecker <brobecker@adacore.com>
7565
7566 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7567 of zero-size elements.
7568 * gdb.ada/null_array.exp: Test printing this new array.
7569
103a8671
JK
75702008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7571
7572 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7573
07a4cc1a 75742008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
7575
7576 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7577 of the "finish" command.
7578
55f996a7
NR
75792008-05-21 Nick Roberts <nickrob@snap.net.nz>
7580
7581 * gdb.base/annota1.exp: Test for new annotation.
7582
907fc202
UW
75832008-05-16 Pedro Alves <pedro@codesourcery.com>
7584
7585 * gdb.base/fixsection.exp: New file.
7586 * gdb.base/fixsection0.c: New file.
7587 * gdb.base/fixsection1.c: New file.
7588
e8f97270
UW
75892008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7590
7591 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7592 * gdb.base/annota3.exp: Likewise.
7593
ac0bb574
NF
75942008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7595
7596 * gdb.base/watch_thread_num.exp: Don't run tests that require
7597 watchpoints if the target doesn't support them.
7598
6fadd07a
DE
75992008-05-12 Doug Evans <dje@google.com>
7600
7601 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7602
6e9a4a30
JB
76032008-05-09 Joel Brobecker <brobecker@adacore.com>
7604
7605 * gdb.ada/assign_1.exp: New testcase.
7606
08388c79
DE
76072008-05-09 Doug Evans <dje@google.com>
7608
a3c83fae
DE
7609 * gdb.base/find.exp: New file.
7610 * gdb.base/find.c: New file.
08388c79 7611
bd5ddfe8
DJ
76122008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7613
7614 * gdb.base/commands.exp (watchpoint_command_test): Handle
7615 gdb,no_hardware_watchpoints.
7616 * gdb.base/float.exp: Allow ARM targets without floating point.
7617 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7618
b5dd68e2 76192008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 7620 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
7621
7622 * gdb.ada/lang_switch: New test program.
7623 * gdb.ada/lang_switch.exp: New testcase.
7624
382d13d1
DE
76252008-05-05 Doug Evans <dje@google.com>
7626
7627 * gdb.base/help.exp (disassemble): Update expected help text.
7628
9dd789d0
PA
76292008-05-04 Pedro Alves <pedro@codesourcery.com>
7630
7631 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7632
611c83ae
PA
76332008-05-04 Pedro Alves <pedro@codesourcery.com>
7634
7635 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7636 different times.
7637
ff013f42
JK
76382008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7639
7640 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7641 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7642 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7643 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7644
96dff6a2
VP
76452008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7646
7647 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7648 notification to appear.
7649
55cd6f92
DJ
76502008-05-04 Daniel Jacobowitz <dan@debian.org>
7651
7652 * gdb.base/fullname.c: New file.
7653 * gdb.base/fullname.exp: New file.
7654 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7655
d705c43c
PA
76562008-05-03 Pedro Alves <pedro@codesourcery.com>
7657
7658 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7659 expressions with macros.
7660
333222e1
JK
76612008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7662
7663 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7664
5ac01682
DJ
76652008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7666
7667 * gdb.base/completion.exp: Handle lack of other symbols beginning
7668 with "a".
7669
7670 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7671
237fc4c9
PA
76722008-05-02 Jim Blandy <jimb@codesourcery.com>
7673
7674 * gdb.asm/asmsrc1.s: Add scratch space.
7675
ed5e9466
DJ
76762008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7677 Daniel Jacobowitz <dan@codesourcery.com>
7678
7679 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7680 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7681 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7682
b39cc962
DJ
76832007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7684
7685 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7686
36d520f5
JB
76872008-05-01 Joel Brobecker <brobecker@adacore.com>
7688
7689 * gdb.base/info-target.exp: New testcase.
7690
8d4e3071
DJ
76912008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7692
7693 * gdb.cp/hang.exp: Use .cc instead of .C.
7694 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7695 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7696
6f3f3097
DJ
76972008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7698
7699 * gdb.base/gdb1250.exp: Remove perror.
7700 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7701
5550a914
PA
77022008-04-30 Pedro Alves <pedro@codesourcery.com>
7703
7704 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7705 .2byte.
7706
d848e687
DJ
77072008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7708
7709 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7710 (maybe_kfail): New.
7711
93b5768b
PA
77122008-04-25 Pedro Alves <pedro@codesourcery.com>
7713
7714 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7715
721c02de
VP
77162008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7717
a9c64011
AS
7718 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7719 * gdb.mi/mi2-syn-frame.exp: Likewise.
7720 * lib/mi-support.exp: Likewise.
721c02de 7721
74960c60
VP
77222008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7723
7724 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7725 to specify regexp for the location to stop at.
7726 * gdb.base/break-always.c: New.
7727 * gdb.base/break-always.exp: New.
7728
d24317b4
VP
77292008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7730
7731 * lib/mi-support.exp (mi_runto_helper): Adjust
7732 for the original-location field.
7733 (mi_create_breakpoint, mi_list_breakpoints): New.
7734 * gdb.mi/mi-break.exp: Adjust.
7735 * gdb.mi/mi2-break.exp: Adjust.
7736 * gdb.mi/mi-pending.exp: Adjust.
7737 * gdb.mi/mi-simplerun.exp: Adjust.
7738 * gdb.mi/mi2-simplerun.exp: Adjust.
7739 * gdb.mi/mi-syn-frame.exp: Adjust.
7740 * gdb.mi/mi2-syn-frame.exp: Adjust.
7741 * gdb.mi/mi-until.exp: Adjust.
7742 * gdb.mi/mi2-until.exp: Adjust.
7743 * gdb.mi/mi-var-display.exp: Adjust.
7744 * gdb.mi/mi2-var-display.exp: Adjust.
7745 * gdb.mi/mi-watch.exp: Adjust.
7746 * gdb.mi/mi2-watch.exp: Adjust.
7747
fdc59709 77482008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 7749
a9c64011
AS
7750 * aclocal.m4: Add override.m4.
7751 * configure: Regenerate.
fdc59709 7752
8e91f023
VP
77532008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7754
7755 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7756 '-var-update --all-values' reports new value even the type
7757 of a variable object has changed.
7758
233a11ab
CS
77592008-04-18 Craig Silverstein <csilvers@google.com>
7760
7761 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7762 files.
d24317b4 7763
9c1137ad
JB
77642008-04-18 Joel Brobecker <brobecker@adacore.com>
7765
7766 * gdb.ada/atomic_enum: New test program.
7767 * gdb.ada/atomic_enum.exp: New testcase.
7768
66d0bbc7
DE
77692008-04-17 Doug Evans <dje@google.com>
7770
7771 * gdb.opt/Makefile.in: Fix whitespace.
7772
100906b0
UW
77732008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7774
7775 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7776
4584e32e
DE
77772008-04-17 Doug Evans <dje@google.com>
7778
7779 * gdb.base/hashline1.exp: New testcase.
7780 * gdb.base/hashline2.exp: New testcase.
7781 * gdb.base/hashline2.exp: New testcase.
7782
0a320680
PA
77832008-04-17 Pedro Alves <pedro@codesourcery.com>
7784
7785 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7786
18ac113b
AR
77872008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7788
7789 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7790 temporary breakpoint to match "Temporary breakpoint".
7791 * gdb.base/break.exp (delete_breakpoints): Likewise.
7792 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7793 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7794 * gdb.base/display.exp: Likewise.
7795 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7796 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7797 * gdb.base/restore.exp (restore_tests): Likewise.
7798 * gdb.base/sepdebug.exp: Likewise.
7799 * gdb.base/watchpoint.exp: Likewise.
7800 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7801 * gdb.mi/mi-pending.exp: Likewise.
7802 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7803 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7804 * gdb.mi/mi-var-cmd.exp: Likewise.
7805 * gdb.mi/mi-var-display.exp: Likewise.
7806 * gdb.mi/mi2-cli.exp: Likewise.
7807 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7808 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7809 * gdb.mi/mi2-var-display.exp: Likewise.
7810 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7811 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7812 new "disp" field.
a9c64011 7813 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
7814 reason. This is to support fix for PR2424.
7815
add38693
JK
78162008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7817
7818 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7819
fcacd99f
VP
78202008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7821
7822 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 7823 field. Add more floating varobj tests.
fcacd99f 7824 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
7825 field.
7826 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7827 (main): Call do_at_tests.
7828 * lib/mi-support.exp (mi_create_floating_varobj)
7829 (mi_varobj_update_with_type_change): New.
fcacd99f 7830
de051565
MK
78312008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7832
7833 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7834 option of -var-evaluate-expression.
7835 * gdb.mi/mi2-var-display.exp: Likewise.
7836
dbc52822
VP
78372008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7838
7839 Introduce test setup helpers.
a9c64011
AS
7840 * lib/gdb.exp (build_executable, clean_restart)
7841 (prepare_for_testing): New.
7842 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7843 * gdb.base/return.exp: Likewise.
7844 * gdb.base/ending-run.exp: Likewise.
dbc52822 7845
473591da
NR
78462008-04-07 Nick Roberts <nickrob@snap.net.nz>
7847
7848 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7849 Interface (MI) responses.
7850
2b2d9e11
VP
78512008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7852
a9c64011
AS
7853 * gdb.cp/breakpoint.cc: New code to test conditions involving
7854 member variables.
7855 * gdb.cp/breakpoint.exp: Test condition involving member
7856 variables.
2b2d9e11 7857
bb378428
VP
78582008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7859
7860 * lib/mi-support.exp (mi_expect_stop): New.
7861 (mi_run_cmd): Change the
7862 token. Use mi_send_resuming_command, use
7863 mi_expect_stop.
7864 (mi_execute_to_helper): Rename to mi_execute_to.
7865 (mi_send_resuming_command): Add more error patterns.
7866 (mi_wait_for_stop): Renamed to...
7867 (mi_get_stop_line): ...this.
7868 (mi_run_inline_test): Adjust.
7869
7870 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7871 * gdb.mi/mi-console.exp: Likewise.
7872 * gdb.mi/mi-pending.exp: Likewise.
7873 * gdb.mi/mi-simplerun.exp: Likewise.
7874 * gdb.mi/mi-stack.exp: Likewise.
7875 * gdb.mi/mi-stepi.exp: Likewise.
7876 * gdb.mi/mi-syn-frame.exp: Add comment.
7877 * gdb.mi/mi-until.exp: Likewise.
7878 * gdb.mi/mi-var-display.exp: Likewise.
7879 * gdb.mi/mi-watch.exp: Likewise.
7880 * gdb.mi/mi2-cli.exp: Likewise.
7881 * gdb.mi/mi2-console.exp: Likewise.
7882 * gdb.mi/mi2-simplerun.exp: Likewise.
7883 * gdb.mi/mi2-stack.exp: Likewise.
7884 * gdb.mi/mi2-stepi.exp: Likewise.
7885 * gdb.mi/mi2-until.exp: Likewise.
7886 * gdb.mi/mi2-var-display.exp: Likewise.
7887 * gdb.mi/mi2-watch.exp: Likewise.
7888
62172bb9
UW
78892008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7890
7891 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7892
7893 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7894
a13e061a
PA
78952008-04-04 Pedro Alves <pedro@codesourcery.com>
7896
7897 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7898 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7899 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7900 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7901 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7902 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7903 expect an mi error duplicated in stderr.
7904
eae06beb
JB
79052008-04-03 Joel Brobecker <brobecker@adacore.com>
7906
7907 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7908 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7909 Add a couple of tests that verify the behavior when the new setting
7910 is set to "cancel" and "all".
7911 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7912 "ask" before we start the testing.
7913
79c6ced6
AR
79142008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7915
7916 * gdb.cp/casts.cc: Add class reference variables.
7917 * gdb.cp/casts.exp: New test cases for up/down casting references.
7918
6c2d1a6b
MK
79192008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7920
7921 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7922 instead of beginning to make an extra test pass.
7923 * gdb.mi/mi2-var-display.exp: Likewise.
7924
55b411d9
MR
79252008-03-31 Maciej W. Rozycki <macro@mips.com>
7926
7927 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7928
c6140da2
MD
79292008-03-31 Markus Deuling <deuling@de.ibm.com>
7930 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7931
7932 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7933 value. Add xfail for older kernels.
7934
79732189
AR
79352008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7936
7937 Bring mi-support in line with gdb.exp.
7938 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7939 (mi_gdb_start): New function.
7940
33c3676e
MR
79412008-03-28 Maciej W. Rozycki <macro@mips.com>
7942
7943 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7944
92e28119
VP
79452008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7946
7947 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7948 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 7949
9e8e3afe
VP
79502008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7951
7952 * lib/mi-support.exp (mi_create_varobj_checked): New.
7953 (mi_list_varobj_children): Allow to check for a
7954 value.
7955 (mi_list_array_varobj_children): New.
7956
7957 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7958 and mi_list_varobj_children, as opposed to hardcoding
7959 expected strings.
7960 * gdb.mi/gdb701.exp: Likewise.
7961 * gdb.mi/gdb792.exp: Likewise.
7962 * gdb.mi/mi-var-block.exp: Likewise.
7963 * gdb.mi/mi-var-cmd.exp: Likewise.
7964 * gdb.mi/mi-var-invalidate.exp: Likewise.
7965 * gdb.mi/mi2-var-block.exp: Likewise.
7966 * gdb.mi/mi2-var-child.exp: Likewise.
7967 * gdb.mi/mi2-var-cmd.exp: Likewise.
7968 * gdb.mi/mi2-var-display.exp: Likewise.
7969
9df50351
JK
79702008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7971
7972 Fix random false FAILs on i386.
7973 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7974
31e5d73a
DJ
79752008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7976
7977 PR gdb/544
7978 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7979
12f4afab
DJ
79802008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7981
7982 PR gdb/544
7983 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7984
b562a0cb
DJ
79852008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7986
7987 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7988 fixed PR gdb/544.
7989
17faa917
DJ
79902008-03-21 Pedro Alves <pedro@codesourcery.com>
7991
7992 * gdb.threads/fork-child-threads.exp: Test next over fork.
7993
6214f497
DJ
79942008-03-21 Chris Demetriou <cgd@google.com>
7995
7996 * gdb.base/break.exp (rbreak junk): New test for rbreak
7997 "Junk at end of arguments" issue.
7998
63092375
DJ
79992008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8000
8001 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8002 *& to work on created array elements.
8003 (Top level): Test print $pc with a file. Test string operations
8004 without a target.
8005 * gdb.base/ptype.exp: Do not expect *& to work on created array
8006 elements.
8007
b21991b0
DJ
80082008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8009
8010 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8011 gdb.threads/staticthreads.exp: Update exit query.
8012
c4b347c7
SL
80132008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8014
8015 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8016
fa4727a6
DJ
80172008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8018
8019 * gdb.base/watchpoint.c (global_ptr, func4): New.
8020 (main): Call func4.
8021 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8022 (test_inaccessible_watchpoint): New.
8023
2f34202f
MR
80242008-02-29 Maciej W. Rozycki <macro@mips.com>
8025
8026 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8027 select the largest.
8028
0d6ba1b1
DJ
80292008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8030
8031 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8032 frames-invalid annotations.
8033
e691325a
PM
80342008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8035
a9c64011 8036 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 8037
f85b5ecc
DE
80382008-02-27 Doug Evans <dje@google.com>
8039
8040 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8041 for bug 1738.
8042 (breakpoint_to_handler_entry): Ditto.
8043
b40e7bf3
JB
80442008-02-27 Joel Brobecker <brobecker@adacore.com>
8045
8046 * gdb.base/ending-run.exp: Use the first line of code inside
8047 function body to test breakpoints.
8048 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8049 location where the breakpoint is inserted when using the line
8050 where a function is declared. Fix typo in the description of
8051 one of the tests.
8052 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8053
2faca73a
PM
80542008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8055
8056 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 8057 tests.
2faca73a 8058
6f439c36
PM
80592008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8060
8061 * gdb.base/args.exp: avoid same output for tests
8062 with single quotes.
8063
54e52265
VP
80642008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8065
a9c64011
AS
8066 * gdb.base/annota1.exp: Adjust for 'info break'
8067 format changes.
8068 * gdb.base/annota3.exp: Likewise.
8069 * gdb.base/break.exp: Likewise.
8070 * gdb.base/condbreak.exp: Likewise.
8071 * gdb.base/pending.exp: Likewise.
8072 * gdb.base/sepdebug.exp: Likewise.
8073 * gdb.base/unload.exp: Likewise.
8074 * gdb.cp/ovldbreak.exp: Likewise.
8075 * gdb.mi/mi-pending.exp: Likewise.
54e52265 8076
897b09ca
DE
80772008-02-07 Doug Evans <dje@google.com>
8078
8079 * gdb.cp/mb-inline.exp: New.
8080 * gdb.cp/mb-inline.h: New.
8081 * gdb.cp/mb-inline1.cc: New.
8082 * gdb.cp/mb-inline2.cc: New.
8083
b1c32d35
PM
80842008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8085
8086 * gdb.pascal/floats.pas: New test program.
8087 * gdb.pascal/floats.exp: New testcase.
8088
1a4ca44a
TJB
80892008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8090
8091 * gdb.base/callfuncs.c (t_float_many_args): New function.
8092 (t_double_many_args): New function.
8093 * gdb.base/callfuncs.exp: Add tests for exceeding float
8094 and double parameters passed through the stack.
8095
439048e8
JB
80962008-02-05 Joel Brobecker <brobecker@adacore.com>
8097
8098 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8099 gdb.ada/complete/foo.adb: New files.
8100 * gdb.ada/complete.exp: New testcase.
8101
81fe8080
DE
81022008-02-03 Doug Evans <dje@google.com>
8103
301f0ecf
DE
8104 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8105
81fe8080
DE
8106 * gdb.cp/gdb2384.exp: New file.
8107 * gdb.cp/gdb2384.cc: New file.
8108 * gdb.cp/gdb2384-base.h: New file.
8109 * gdb.cp/gdb2384-base.cc: New file.
8110
4b071aec
DE
81112008-02-02 Doug Evans <dje@google.com>
8112
8113 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8114
61137ba6
JB
81152007-02-01 Joel Brobecker <brobecker@adacore.com>
8116
8117 * gdb.ada/sym_print_name: New test program.
8118 * gdb.ada/sym_print_name.exp: New testcase.
8119
81202007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
8121
8122 * gdb.ada/nested/hello.adb: New file.
8123 * gdb.ada/nested.exp: New testcase.
8124 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8125
98deb0da
VP
81262008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8127
8128 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
8129 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8130 don't cause future evaluations of function to report
8131 creation of internal breakpoints.
98deb0da 8132
723a2275
VP
81332008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8134
8135 * gdb.mi/mi-break.exp (test_error): New.
8136 Call it.
8137
fb546a2f
LM
81382008-01-31 Luis Machado <luisgpm@br.ibm.com>
8139
8140 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8141 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8142
2d8fd90a
PM
81432008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8144
8145 * gdb.pascal/integers.pas: New test program.
8146 * gdb.pascal/integers.exp: New testcase.
8147
a7fa0ded
PM
81482008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8149
8150 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8151
5e1a1926
TJB
81522008-01-30 Luis Machado <luisgpm@br.ibm.com>
8153
8154 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8155 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8156
8d04f9f0
JB
81572008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8158
8159 * gdb.ada/formatted_ref: New test program.
8160 * gdb.ada/formatted_ref.exp: New testcase.
8161
8162 * gdb.cp/formatted-ref.cc: New file.
8163 * gdb.cp/formatted-ref.exp: New testcase.
8164
ce75a98f
JB
81652008-01-30 Joel Brobecker <brobecker@adacore.com>
8166
8167 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8168
e835f6bf
NR
81692008-01-30 Nick Roberts <nickrob@snap.net.nz>
8170
8171 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8172 (test_file_list_exec_source_file): Update to new macro-info field.
8173
d118ef87
PH
81742008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8175
8176 * gdb.ada/exprs: New test program.
8177 * gdb.ada/exprs.exp: New testcase.
8178
7d35ab09
TJB
81792008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8180
8181 * dfp-test.c (DELTA, DELTA_B): New definitions.
8182 (double_val1, double_val2, double_val3, double_val4, double_val5,
8183 double_val6, double_val7, double_val8, double_val9, double_val10,
8184 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8185 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8186 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8187 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8188 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8189 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8190 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8191 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8192 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8193 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8194 dec128_val16): New global variables.
8195 (decimal_dec128_align): New function.
8196 (decimal_mixed): Likewise.
8197 (decimal_many_args_dec32): Likewise.
8198 (decimal_many_args_dec64): Likewise.
8199 (decimal_many_args_dec128): Likewise.
8200 (decimal_many_args_mixed): Likewise.
8201 * dfp-test.exp: Add tests calling new inferior functions.
8202
2d717e4f
DJ
82032008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8204
8205 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8206 gdb.server/ext-run.exp: New files.
8207 * lib/gdbserver-support.exp (gdbserver_download): New.
8208 (gdbserver_start): New. Update gdbserver expected
8209 output.
8210 (gdbserver_spawn): Use them.
8211 (gdbserver_start_extended): New.
8212
e85a822c
DJ
82132008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8214
8215 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8216 Run on GNU/Linux.
8217 (do_exec_tests): Check for systems which do not support catchpoints.
8218 Do not match START.
8219 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8220 Run on GNU/Linux. Enable verbose output.
8221 (check_fork_catchpoints): New.
8222 (explicit_fork_child_follow, catch_fork_child_follow)
8223 (tcatch_fork_parent_follow): Update expected messages.
8224 (do_fork_tests): Use check_fork_catchpoints.
8225 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8226 Run on GNU/Linux. Enable verbose output.
8227 (check_vfork_catchpoints): New.
8228 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8229 expected messages.
8230 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8231
401ea829
JB
82322008-01-29 Jim Blandy <jimb@red-bean.com>
8233
8234 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8235 host' errors.
8236 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8237
aceaf3ad
JB
82382008-01-29 Jim Blandy <jimb@red-bean.com>
8239
8240 * gdb.threads/sigthread.c: Use barriers to ensure that
8241 child_thread and child_thread_two are always initialized before we
8242 start to use them.
8243
a5606eee
VP
82442008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8245
8246 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
8247 * gdb.base/watchpoint-solib.c: New.
8248 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 8249
c55a82bb
PM
82502008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8251
8252 * gdb.base/gdb1056.exp: Add unsigned integer test.
8253
0993fe05
DE
82542008-01-28 Doug Evans <dje@google.com>
8255
8256 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8257
4fe42e7f
JB
82582008-01-27 Jim Blandy <jimb@codesourcery.com>
8259
c7a69933
JB
8260 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8261
4fe42e7f
JB
8262 * gdb.base/expand-psymtabs.exp: Doc fix.
8263
5def8285
MK
82642008-01-26 Mark Kettenis <kettenis@gnu.org>
8265
8266 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8267
5313c911
NR
82682008-01-24 Nick Roberts <nickrob@snap.net.nz>
8269
a9c64011 8270 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
8271 -var-set-format.
8272
93815fbf
VP
82732008-01-23 Chris Demetriou <cgd@google.com>
8274
8275 * gdb.threads/thread_events.c: New testcase source file.
8276 * gdb.threads/thread_events.exp: New testcase expect file.
8277
467a88ee
NR
82782008-01-23 Nick Roberts <nickrob@snap.net.nz>
8279
8280 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
8281
8282 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
8283 -var-set-format.
8284
d8f82aba
DJ
82852008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8286 Vladimir Prus <vladimir@codesourcery.com>
8287
8288 * gdb.base/float.exp: Allow missing floating point for m68k and
8289 PowerPC.
8290
60c46647
VP
82912008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8292
8293 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
8294 ignore count.
8295 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8296 * gdb.mi/mi-cli.exp: Adjust.
8297 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 8298
c7dd36a1
PA
82992008-01-17 Pedro Alves <pedro@codesourcery.com>
8300
8301 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8302 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8303 with dummy_ptr's address.
8304 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8305 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8306 all targets.
8307 * gdb.mi/mi2-var-child.exp: Likewise.
8308
39d5313e
JB
83092008-01-09 Joel Brobecker <brobecker@adacore.com>
8310
8311 * gdb.ada/null_array: New test program.
8312 * gdb.ada/null_array.exp: New testcase.
8313
0aea4bf3
LM
83142008-01-09 Luis Machado <luisgpm@br.ibm.com>
8315
8316 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8317 with required float modifiers.
8318
0b354900
JB
83192008-01-08 Joel Brobecker <brobecker@adacore.com>
8320
8321 * gdb.ada/funcall_param: New test program.
8322 * gdb.ada/funcall_param.exp: New testcase.
8323
cdb7f5d4
JB
83242008-01-08 Joel Brobecker <brobecker@adacore.com>
8325
8326 * gdb.ada/arrayparam: New test program.
8327 * gdb.ada/arrayparam.exp: New testcase.
8328
88e2547f
JB
83292008-01-08 Joel Brobecker <brobecker@adacore.com>
8330
8331 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8332 landed. Should also fix random failures in the test following it.
8333
f6867ce0
TJB
83342008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8335
8336 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8337 for expressions with decimal float values.
8338 (test_dfp_conversions): New function to test casts to and from
8339 decimal float types.
8340 Call test_dfp_conversions.
8341 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8342 elements.
8343 (main): Initialize ds.float4 and ds.double8 elements.
8344 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8345 string to new error message.
8346 (d64_set_tests): Likewise.
8347 (d128_set_tests): Likewise.
8348 Add tests for expressions with decimal float variables. Add tests for
8349 conversions to and from decimal float types.
8350
f9c11282
JB
83512008-01-05 Joel Brobecker <brobecker@adacore.com>
8352
8353 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8354 * gdb.ada/packed_tagged.exp: New testcase.
8355
0ecbca72
JB
83562008-01-04 Joel Brobecker <brobecker@adacore.com>
8357
8358 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8359 gdb.ada/homonym/homonym_main.adb: New files.
8360 * gdb.ada/homonym.exp: New testcase.
8361
c18d3d89
JB
83622008-01-04 Joel Brobecker <brobecker@adacore.com>
8363
8364 * gdb.ada/packed_array.exp: Add testing of references to
8365 a packed array.
8366
ecc7085b
JB
83672008-01-04 Joel Brobecker <brobecker@adacore.com>
8368
8369 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8370 New files.
8371 * gdb.ada/type_coercion.exp: New testcase.
8372
c474c922
JB
83732008-01-04 Joel Brobecker <brobecker@adacore.com>
8374
8375 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8376 gdb.ada/tagged/foo.adb: New file.
8377 * gdb.ada/tagged.exp: New testcase.
8378
9005b927
JB
83792008-01-04 Joel Brobecker <brobecker@adacore.com>
8380
8381 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8382 gdb.ada/ptype_field/foo.adb: New files.
8383 * gdb.ada/ptype_field.exp: New testcase.
8384
1a6aaad8
JB
83852008-01-03 Joel Brobecker <brobecker@adacore.com>
8386
8387 * gdb.ada/print_pc.exp: New testcase.
8388
0ef22f53
JB
83892008-01-03 Joel Brobecker <brobecker@adacore.com>
8390
8391 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8392 gdb.ada/taft_type/p.adb: New files.
8393 * gdb.ada/taft_type.exp: New testcase.
8394
1689ecf8
JB
83952008-01-03 Joel Brobecker <brobecker@adacore.com>
8396
8397 * gdb.ada/array_bounds/bar.adb: New file.
8398 * gdb.ada/array_bounds.exp: New testcase.
8399
a4d0b9c3
JB
84002008-01-03 Joel Brobecker <brobecker@adacore.com>
8401
8402 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8403 gdb.ada/arrayptr/foo.adb: New files.
8404 * gdb.ada/arrayptr.exp: New testcase.
8405
a31ace00
JB
84062008-01-03 Joel Brobecker <brobecker@adacore.com>
8407
8408 * gdb.base/set-lang-auto.exp: New testcase.
8409
a97fced3
JB
84102008-01-03 Joel Brobecker <brobecker@adacore.com>
8411
8412 * gdb.ada/fun_addr/foo.adb: New file.
8413 * gdb.ada/fun_addr.exp: New testcase.
8414
ef29ce1a
JK
84152008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8416
8417 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8418 New files
8419
0fafefe3
JB
84202008-01-02 Joel Brobecker <brobecker@adacore.com>
8421
8422 * array_subscript_addr/p.adb: New file.
a9c64011 8423 * array_subscript_addr.exp: New testcase.
0fafefe3 8424
c4359f8d
JB
84252008-01-02 Joel Brobecker <brobecker@adacore.com>
8426
a9c64011 8427 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
8428 New files.
8429 * gdb.ada/str_cmp_ref.exp: New testcase.
8430
1aa1b15b
JB
84312008-01-01 Joel Brobecker <brobecker@adacore.com>
8432
8433 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8434 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 8435 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 8436
81c9b2cf
JB
84372008-01-01 Joel Brobecker <brobecker@adacore.com>
8438
8439 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8440 gdb.ada/ref_param/pck.ads: New files.
8441 * gdb.ada/ref_param.exp: New testcase.
8442
319e4674
JB
84432008-01-01 Joel Brobecker <brobecker@adacore.com>
8444
8445 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8446 gdb.ada/interface/foo.adb: New files.
8447 * gdb.ada/interface.exp: New testcase.
8448
ef682c56
JB
84492007-12-31 Jim Blandy <jimb@codesourcery.com>
8450
8451 * gdb.base/multi-forks.exp: Consume all output from child
8452 processes before proceeding to next test.
8453
f6f3eb6c
JB
84542007-12-29 Jim Blandy <jimb@codesourcery.com>
8455
8456 * configure: Regenerated.
8457
f652e42f
JB
84582007-12-27 Joel Brobecker <brobecker@adacore.com>
8459
8460 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8461 gdb.ada/fixed_cmp/fixed.adb: New files.
8462 * gdb.ada/fixed_cmp.exp: New testcase.
8463
6943e596
JB
84642007-12-27 Joel Brobecker <brobecker@adacore.com>
8465
8466 * gdb.ada/boolean_expr.exp: New testcase.
8467
aad9a193
JB
84682007-12-26 Jim Blandy <jimb@codesourcery.com>
8469
8470 * gdb.base/multi-forks.exp: Doc fix.
8471
fb5f3683
JB
84722007-12-26 Joel Brobecker <brobecker@adacore.com>
8473
8474 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8475 * gdb.ada/char_param.exp: Do not compile our test program with
8476 -gnata, this is unnecessary.
8477 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8478
384e4a9c
JB
84792007-12-24 Joel Brobecker <brobecker@adacore.com>
8480
8481 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8482 gdb.ada/print_chars/foo.adb: New files.
8483 * gdb.ada/print_chars.exp: New testcase.
8484
01e044f7
JB
84852007-12-24 Joel Brobecker <brobecker@adacore.com>
8486
8487 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8488 gdb.ada/char_param/foo.adb: New files.
8489 * gdb.ada/char_param.exp: New testcase.
8490
0ce17860
JB
84912007-12-22 Jim Blandy <jimb@codesourcery.com>
8492
8493 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8494 hard-coding source line numbers into the test.
8495 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8496 gdb_get_line_number to find.
8497
919809b9
JB
84982007-12-22 Joel Brobecker <brobecker@adacore.com>
8499
8500 * gdb.base/ptype.c (highest): New struct type.
8501 (the_highest): New variable of that type.
8502 (main): Add dummy assignment to a field of variable the_highest.
8503 * gdb.base/ptype.exp: Test type printing of our new variable.
8504
abc8a88d
PM
85052007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8506
8507 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 8508 and record first explicitly generated thread number.
abc8a88d
PM
8509 Use that thread number for thread specific watchpoint test.
8510 Add iteration number to repetitive tests.
8511
5158f3e3
CES
85122007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8513 Jim Blandy <jimb@codesourcery.com>
8514
8515 * gdb.base/expand-psymtabs.c: New testcase
8516 source file.
8517 * gdb.base/expand-psymtabs.exp: New testcase
8518 expect file.
8519
37e4754d
LM
85202007-12-17 Luis Machado <luisgpm@br.ibm.com>
8521
8522 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8523 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8524
551e5d04
JB
85252007-12-17 Joel Brobecker <brobecker@adacore.com>
8526
8527 * gdb.ada/frame_args/foo.adb: New file.
8528 * gdb.ada/frame_args/pck.ads: New file.
8529 * gdb.ada/frame_args/pck.adb: New file.
8530 * gdb.ada/frame_args.exp: New testcase.
8531
a05ee097
JB
85322007-12-17 Joel Brobecker <brobecker@adacore.com>
8533
8534 * gdb.base/frame-args.c: New file.
8535 * gdb.base/frame-args.exp: New testcase.
8536
c162e8c9 85372007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 8538 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
8539
8540 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8541
afe8ab22 85422007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8543
afe8ab22
VP
8544 * gdb.mi/mi-pending.exp: New.
8545 * gdb.mi/mi-pending.c: New.
8546 * gdb.mi/mi-pendshr.c: New.
8547
dfdfb3ca
JB
85482007-12-06 Jim Blandy <jimb@codesourcery.com>
8549
8550 * gdb.base/default.exp: Update expected output for 'info catch'.
8551
b7fca990
JK
85522007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8553
8554 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8555 must be set to binary.
8556
6a1afc1e
PA
85572007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8558
8559 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8560
a6b151f1
DJ
85612007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8562
8563 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8564 gdb.mi/mi-file-transfer.exp: New.
8565
43039443
JK
85662007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8569
0ef2251b
MR
85702007-11-22 Maciej W. Rozycki <macro@mips.com>
8571
8572 * gdb.trace/backtrace.exp: Fix a typo.
8573 * gdb.trace/circ.exp: Likewise.
8574 * gdb.trace/collection.exp: Likewise.
8575 * gdb.trace/limits.exp: Likewise.
8576 * gdb.trace/report.exp: Likewise.
8577 * gdb.trace/tfind.exp: Likewise.
8578 * gdb.trace/while-dyn.exp: Likewise.
8579
5443631e
NR
85802007-11-21 Nick Roberts <nickrob@snap.net.nz>
8581
8582 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8583 objects of pointers that can't be dereferenced are now
8584 "noneditable".
8585
a4ce5b0d
UW
85862007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8587
8588 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8589 (target_cpu): Remove.
8590
d6e956e5
VP
85912007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8592
8593 * gdb.base/ending-run.exp: Expect the list of cleared
8594 breakpoint to come in natural order, not the reversed one.
a9c64011 8595
214270ab
VP
85962007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8597
8598 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8599 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 8600
1a619819
LM
86012007-11-05 Luis Machado <luisgpm@br.ibm.com>
8602
8603 * gdb.base/printcmds.exp: New function
8604 test_printf_with_dfp.
8605
5b01a6fa
DE
86062007-11-02 Doug Evans <dje@google.com>
8607
8608 * gdb.disasm/t01_mov.s: Remove carriage returns.
8609 * gdb.disasm/t02_mova.s: Ditto.
8610 * gdb.disasm/t03_add.s: Ditto.
8611 * gdb.disasm/t04_sub.s: Ditto.
8612 * gdb.disasm/t05_cmp.s: Ditto.
8613 * gdb.disasm/t06_ari2.s: Ditto.
8614 * gdb.disasm/t07_ari3.s: Ditto.
8615 * gdb.disasm/t08_or.s: Ditto.
8616 * gdb.disasm/t09_xor.s: Ditto.
8617 * gdb.disasm/t10_and.s: Ditto.
8618 * gdb.disasm/t11_logs.s: Ditto.
8619 * gdb.disasm/t12_bit.s: Ditto.
8620 * gdb.disasm/t13_otr.s: Ditto.
8621
ec33ab7f
JK
86222007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8623
8624 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8625
ae0d01ff
UW
86262007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8627
8628 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8629 provide DFP support.
8630
55eddb0f
DJ
86312007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8632
8633 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8634 Test "set powerpc vector-abi". Skip auto-detection tests for old
8635 toolchains.
8636
7020f05c
PA
86372007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8638
8639 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8640 with [string compare].
8641
84bc3db9
PA
86422007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8643
8644 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8645 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8646
5876dc88
LM
86472007-10-25 Luis Machado <luisgpm@br.ibm.com>
8648
8649 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8650 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8651 * gdb.opt/Makefile.in: New makefile.
8652 * Makefile.in: Create new directory "gdb.opt".
8653 * configure.ac: Add "gdb.opt" directory.
8654 * configure: Regenerated.
a9c64011 8655
c3ea9a14
DE
86562007-10-25 Doug Evans <dje@google.com>
8657
8658 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8659 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8660
a9c64011 86612007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
8662 Thiago Jung Bauermann <bauerman@br.ibm.com>
8663
8664 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8665 Floating Point expressions.
8666 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8667 Floating Point variables.
8668 * gdb.base/dfp-test.c: new file containing program with Decimal
8669 Floating variables, used by gdb.base/dfp-test.exp.
8670
62a24a2b
DJ
86712007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8672
8673 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8674
e7b1eae6
UW
86752007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8676
8677 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8678 compiling test case with GCC.
8679 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8680
c641edcc
UW
86812007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8682
8683 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8684 format changes.
8685
5e5ebfe6
MS
86862007-10-18 Michael Snyder <msnyder@specifix.com>
8687
8688 * gdb.base/dbx.exp: Add missing "-re " operator.
8689
e831e7b6
GM
86902007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8691
8692 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8693 * configure.ac: Removed trailing spaces after backslash.
8694 * gdb.modula2: New directory.
8695 * gdb.modula2/Makefile.in: New file.
8696 * gdb.modula2/unbounded-array.exp: New file.
8697 * gdb.modula2/unbounded1.c: New file.
8698
7cc46491
DJ
86992007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8700
8701 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8702
87032007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
8704
8705 * gdb.base/sigstep.c (main): Add checks for
8706 return values for setitimer call.
8707 Call setitimer again with itimer = ITIMER_REAL
8708 if first call to setitimer fails.
8709
e91528f0
KH
87102007-10-11 Kazu Hirata <kazu@codesourcery.com>
8711
8712 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8713 of $timeout.
8714
2ec9a4f8
DJ
87152007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8716
8717 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8718
87192007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
8720
8721 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8722 of gdb_expect call, to avoid interruption.
8723
64b2fa04
PA
87242007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8725
8726 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8727 (v_unsigned_long_long, v_long_long_array)
8728 (v_signed_long_long_array, v_unsigned_long_long_array)
8729 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8730 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8731 [!NO_LONG_LONG]: New.
8732 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8733 v_long_long_member.
8734
8735 (v_long_long_func, v_signed_long_long_func)
8736 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8737 (main) [!NO_LONG_LONG]: Initialize long long variants.
8738
8739 * gdb.base/whatis.exp: If board file requests no_long_long, build
8740 test with NO_LONG_LONG defined. Test long long, signed long long,
8741 and unsigned long long variants but only if board file doesn't
8742 disable it.
8743
a912286e 87442007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 8745 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
8746
8747 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8748 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8749 * configure: Regenerated.
8750 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8751 gdb.pascal/types.exp, lib/pascal.exp: New files.
8752
471ba8c9
DJ
87532007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8754
8755 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8756 call.
8757 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8758 to return to the call.
8759 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8760 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8761 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8762 * gdb.mi/mi-until.exp (test_until): Likewise.
8763 * gdb.mi/mi2-until.exp (test_until): Likewise.
8764
fef8a650
DJ
87652007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8766
8767 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8768 two-char array.
8769 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8770
d983da9c
DJ
87712007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8772
8773 * gdb.threads/watchthreads.c (thread_function): Sleep between
8774 iterations.
8775 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8776 at once for S/390. Generate matching fails and passes.
8777
17f62551
VP
87782007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8779
8780 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8781 the 'struct_declarations' variable to zeros.
a9c64011 8782
ed0616c6
VP
87832007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8784
8785 * gdb.cp/mb-ctor.cc: New.
8786 * gdb.cp/mb-ctor.exp: New.
8787 * gdb.cp/mb-templates.cc: New.
8788 * gdb.cp/mb-templates.exp: New.
8789
41f1b697
DJ
87902007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8791
8792 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8793
3f213f78
PA
87942007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8795
8796 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8797 targets.
8798 * configure: Regenerate.
8799
0d381245 88002007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8801
0d381245
VP
8802 * gdb.base/annota1.exp: Adjust for 'info break'
8803 format changes.
8804 * gdb.base/annota3.exp: Likewise.
8805 * gdb.base/break.exp: Likewise.
8806 * gdb.base/condbreak.exp: Likewise.
8807 * gdb.base/pending.exp: Likewise.
8808 * gdb.base/sepdebug.exp: Likewise.
8809 * gdb.base/unload.exp: Likewise.
8810 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 8811
fe3f5fa8
VP
88122007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8813
8814 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8815 messages.
8816 * gdb.base/chng-syms.exp: Likewise.
8817 * gdb.base/unload.exp: Likewise.
a9c64011 8818
a75cf6c0
DJ
88192007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8820
8821 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8822
18ecae38
DJ
88232007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8824
8825 * schedlock.c (NUM): Change to 1.
8826 (main): Use args[0] for the main thread.
8827 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8828 regardless of the number of threads.
8829
5509918f
MR
88302007-09-14 Maciej W. Rozycki <macro@mips.com>
8831
4a543daf
MR
8832 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8833 type down.
8834 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8835 test.
8836 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8837 watchpoint type down.
8838 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8839 test.
8840
88412007-09-14 Maciej W. Rozycki <macro@mips.com>
8842
5509918f
MR
8843 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8844 Move all the tests here and run them twice, once using software
8845 watchpoints and once using hardware watchpoints.
8846 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8847
40b53987
DJ
88482007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8849
8850 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8851 test.
8852
695e2681
MK
88532007-09-10 Mark Kettenis <kettenis@gnu.org>
8854
8b3fc8d8
MK
8855 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8856 build-id.
8857
695e2681
MK
8858 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8859 know about $ORIGIN. Calculate output dir from $dest instead of
8860 using ${objdir}/{$subdir}.
8861
58d69f29
MK
88622007-09-09 Mark Kettenis <kettenis@gnu.org>
8863
8864 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8865 gcore, before continuing with the test.
8866
3e347599
DJ
88672007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8868
8869 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8870 * gdb.mi/mi-watch.exp: Likewise.
8871
ea37ba09
DJ
88722007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8873 Jim Blandy <jimb@codesourcery.com>
8874
8875 * gdb.arch/i386-sse.exp: Do not expect character constants.
8876 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8877 * gdb.base/display.exp: Allow print/s.
8878 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8879 and unsigned char array changes.
8880
2025a643
DJ
88812007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8882
8883 * gdb.base/display.exp: Add tests for printf %p.
8884
26669a27
PA
88852007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8886
8887 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8888 the dll name to unicode.
8889
c8f021f8
JK
88902007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8891
8892 * gdb.base/default.exp (show version): Update the version text.
8893 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8894
4cf31eea
JK
88952007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8896
8897 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8898 New files.
8899
4935890f
JK
89002007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8901
8902 * lib/gdb.exp (build_id_debug_filename_get): New function.
8903 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8904 Remove the generate DEBUG file for the future testcase runs.
8905 New testcase for the NT_GNU_BUILD_ID retrieval.
8906 Move the final testing step to ...
8907 (test_different_dir): ... a new function.
8908 New parameter XFAIL to XFAIL all the tests performed.
8909 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8910 New parameter TYPE to PF_PREFIX all the tests performed.
8911
02142340
VP
89122007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8913
8914 * gdb.mi/mi-var-cp.cc (path_expression): New
8915 function.
8916 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8917
36acd84e
UW
89182007-08-27 Markus Deuling <deuling@de.ibm.com>
8919
8920 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8921 to fit into SPU Local Store memory.
8922
a896d121
JB
89232007-08-23 Joel Brobecker <brobecker@adacore.com>
8924
8925 * gdb.base/default.exp: Adjust the expected output of "info
8926 warranty" after the switch to GPLv3.
8927
7b433602
JB
89282007-08-23 Joel Brobecker <brobecker@adacore.com>
8929
8930 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8931 to 30000 (from 20000).
8932
e22f8b7c
JB
89332007-08-23 Joel Brobecker <brobecker@adacore.com>
8934
8935 Switch the license of all .exp files to GPLv3.
8936 Switch the license of all .f and .f90 files to GPLv3.
8937 Switch the license of all .s and .S files to GPLv3.
8938
5a0e3bd0
JB
89392007-08-23 Joel Brobecker <brobecker@adacore.com>
8940
8941 * configure.ac: Switch license to GPLv3.
8942
cc00619d
JB
89432007-08-23 Joel Brobecker <brobecker@adacore.com>
8944
8945 Switch the licensing to GPLv3 for all .ads and .adb files.
8946
8d26208a
DJ
89472007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8948
8949 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8950 and t_int_double.
8951 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8952
4fcb9948
JB
89532007-08-17 Joel Brobecker <brobecker@adacore.com>
8954
8955 * gdb.base/step-line.c: Switch license to GPL version 3, and
8956 update copyright year.
8957 * gdb.base/step-line.inp: Likewise.
8958
b9c34f67
JB
89592007-08-17 Joel Brobecker <brobecker@adacore.com>
8960
8961 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8962 changes inside gdb1555.c.
8963 * gdb.base/pending.exp: Likewise.
8964
2cc17678
DJ
89652007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8966
8967 * config/default.exp: New file.
8968
e48883f7
DJ
89692007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8970
8971 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8972 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8973
1ab80e5b
MR
89742007-07-30 Maciej W. Rozycki <macro@mips.com>
8975
8976 * gdb.base/dump.exp: Force the correct endianness for binary
8977 formats not carrying this information.
8978
aba471f5
DJ
89792007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8980
8981 * gdb.threads/staticthreads.exp: Match .*sem_post.
8982
d4e07204
DJ
89832007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8984
8985 * gdb.base/readline.exp (operate_and_get_next): Match the final
8986 prompt.
8987
2b97317d
KB
89882007-07-23 Kevin Buettner <kevinb@redhat.com>
8989
8990 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8991 to restarting SID.
8992
44efa07a
KB
89932007-07-18 Kevin Buettner <kevinb@redhat.com>
8994
8995 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8996 prior to `gdb_start'.
8997
7b5ebade
KB
89982007-07-18 Kevin Buettner <kevinb@redhat.com>
8999
9000 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9001 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9002 Remove call to gdb_unload.
9003
255e7678
DJ
90042007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9005 Daniel Jacobowitz <dan@codesourcery.com>
9006
9007 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9008 for __WIN32__.
9009 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9010 * gdb.base/unload.exp: Use shared library test routines.
9011
3a40aaa0
UW
90122007-07-03 Markus Deuling <deuling@de.ibm.com>
9013
9014 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9015 * gdb.base/solib-symbol-lib.c: Likewise.
9016 * gdb.base/solib-symbol-main.c: Likewise.
9017
b0f4b84b
DJ
90182007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9019
9020 * config/gdbserver.exp (gdb_reconnect): New.
9021 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9022 gdb.base/solib-disc.exp: New files.
9023 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9024 remote debugging".
9025 (gdb_compile): Add shlib_load flag.
9026 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9027 port.
9028 (gdbserver_reconnect): New.
9029
1b05479a
DJ
90302007-07-01 Nick Roberts <nickrob@snap.net.nz>
9031 Daniel Jacobowitz <dan@codesourcery.com>
9032
9033 * gdb.base/annota3.exp: Test for if construct.
9034
86f78eb2
DJ
90352007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9036
9037 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9038
6a2eb474 90392007-06-21 Chris Dearman <chris@mips.com>
a9c64011 9040 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
9041
9042 * gdb.base/display.exp: Allow a newline after display/i.
9043 * gdb.base/pc-fp.exp: Likewise.
9044 * gdb.base/sigbpt.exp: Likewise.
9045
f8b73d13
DJ
90462007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9047
9048 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9049 required features to be included.
9050
4339e69e
DJ
90512007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9052
9053 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9054 in info threads output.
9055
23d964e7
UW
90562007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9057 Markus Deuling <deuling@de.ibm.com>
9058
9059 * gdb.arch/spu-info.exp: New testcase.
9060 * gdb.arch/spu-info.c: New file.
9061
fd20f75b
DJ
90622007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9063
9064 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9065 tpcs_offset. Restore lr after the call.
9066 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9067
2226f861
DJ
90682007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9069
9070 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9071 (gdbserver_run): Kill any running gdbserver.
9072 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9073
d12371a9
MR
90742007-05-17 Maciej W. Rozycki <macro@mips.com>
9075
9076 * gdb.base/sigbpt.exp: Preset segv_addr.
9077
93f02886
DJ
90782007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9079
9080 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9081 (gdb_compile_shlib): Likewise.
9082 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9083 (default_gdb_init): Clear cleanfiles.
9084 (gdb_finish): Delete recorded cleanfiles.
9085 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9086
9087 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9088 Do not use isnative.
9089 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9090 gdb.base/so-impl-ld.exp: Likewise.
9091 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9092 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9093 gdb_compile.
9094
b04e06d7
VP
90952007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9096
9097 * config/unknown.exp: Remove.
9098
069ed931
UW
90992007-05-15 Markus Deuling <deuling@de.ibm.com>
9100
9101 * gdb.base/info-proc.exp: Check is_remote.
9102
09db0d03
UW
91032007-05-14 Markus Deuling <deuling@de.ibm.com>
9104
9105 * gdb.base/gcore.exp: Initialize variable core_supported.
9106
af2cbe8c
DJ
91072007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9108
9109 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9110
027c0295
DJ
91112007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9112
9113 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9114 * gdb.threads/print-threads.exp (test_all_threads): Allow
9115 negative and hexadecimal thread IDs.
9116
dc5000e7
DJ
91172007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9118
9119 * gdb.java/jprint.java (public): Avoid invalid call to static
9120 method.
9121
2e74ed18
DP
91222007-05-14 Denis Pilat <denis.pilat@st.com>
9123
9124 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9125 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9126 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9127 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9128 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9129
83547f02
UW
91302007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9131
9132 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 9133 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
9134 this mode.
9135 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9136 * gdb.base/spu.ld: New file.
9137
b18be20d
DJ
91382007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9139
9140 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9141
be444858
DJ
91422007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9143
9144 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9145
b1d53152
DJ
91462007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9147
9148 * gdb.java/jmain.exp: Handle demangled names with and without method
9149 signatures.
9150
d084b331
DJ
91512007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9152
9153 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9154 (have_a_very_merry_interrupt): Remove calls to puts.
9155 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9156 inferior output.
9157 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9158 test names.
9159
db9d7fc5
DJ
91602007-04-29 Markus Deuling <deuling@de.ibm.com>
9161 Daniel Jacobowitz <dan@codesourcery.com>
9162
9163 * gdb.base/auxv.exp (core_works): Also check is_remote.
9164 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9165
ef783a7d 91662007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 9167
ef783a7d
VP
9168 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9169 message, not the undefined 'module' variable.
9170 * gdb.base/siginfo.exp: Likewise.
9171 * gdb.base/sigstep.exp: Likewise.
9172 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9173 serialport.
9174 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9175
b7b73cae
CV
91762007-04-25 Corinna Vinschen <vinschen@redhat.com>
9177
9178 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9179 target sim fails. Return 0 otherwise.
9180 (gdb_load): Return prematurely if gdb_target_sim fails.
9181
7d90fdfa
DP
91822007-04-16 Denis Pilat <denis.pilat@st.com>
9183
9184 * gdb.base/setshow.exp: Reset height after having set it to 100.
9185
5d3e9c85
DP
91862007-04-16 Denis Pilat <denis.pilat@st.com>
9187
9188 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9189
18e75969
DP
91902007-04-16 Denis Pilat <denis.pilat@st.com>
9191
9192 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9193
25d5ea92
VP
91942007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9195
9196 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9197 tests. Run the frozen varobjs test.
9198 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 9199 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 9200
0b49cb80
JK
92012007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9202
9203 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9204 gdb.base/type-opaque.exp: New files.
9205
a73bafbc 92062007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
9207
9208 * gdb.mi/mi-var-child.c
a73bafbc
VP
9209 (do_children_tests): User char[2] instead of
9210 char so that automatic printing of pointers to char
9211 don't give unpredicable result.
9212 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9213 local variables.
9214 * gdb.mi/mi-var-child.exp: Step to right line
9215 of do_children_tests.
9216 * gdb.mi/mi2-var-child.exp: Likewise.
9217 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 9218 do_locals_tests.
a73bafbc
VP
9219 (do_children_tests): User char[2] instead of
9220 char so that automatic printing of pointers to char
a9c64011 9221 don't give unpredicable result.
a73bafbc 9222 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9223 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
9224 Pass test name to mi_wait_for_stop.
9225
7ce59000
DJ
92262007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9227
9228 * gdb.asm/asm-source.exp: Remove d10v case.
9229 * lib/gdb.exp (skip_cplus_tests): Likewise.
9230 * gdb.asm/d10v.inc: Deleted.
9231
20389057
DJ
92322007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9233
9234 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9235
8807d78b
DJ
92362007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9237
9238 * config/netware.exp: Delete file.
9239
aa3edb8e
JB
92402007-03-29 Joel Brobecker <brobecker@adacore.com>
9241
9242 * gdb.dwarf2/dw2-noloc.S: New file.
9243 * gdb.dwarf2/dw2-noloc.exp: New file.
9244
297561ac
PA
92452007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9246
9247 * gdb.cp/method2.cc: New test.
9248 * gdb.cp/method2.exp: New test.
9249 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9250
1f81bd39
DJ
92512007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9252
9253 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9254
9453113a
DJ
92552007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9256
9257 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9258
b741e217
DJ
92592007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9260
9261 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9262 (gdb_load): Delete, replace with...
9263 (gdb_reload): ...this.
9264 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9265 * gdb.server/server-mon.exp: Likewise.
9266 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9267 (gdb_start_cmd): New.
9268 (gdb_file_cmd): Save the last loaded file.
9269 (gdb_reload): New.
9270 (gdb_gnu_strip_debug): Use transform.
9271 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9272 support here. Use new $last_loaded_file. Check mtime.
9273 (gdb_target_cmd): Handle ObjC failure case.
9274 (infer_host_exec): Delete.
9275 (gdbserver_load): Rename to...
9276 (gdbserver_run): ...this. Simplify.
9277 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9278 (mi_gdb_load): Move most contents to a new function...
9279 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9280 (mi_run_cmd): Use mi_gdb_target_load.
9281 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9282 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9283 Use gdb_run_cmd.
9284 * gdb.base/charsign.exp: Remove incorrect comment.
9285 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9286 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9287 gdb.base/start.exp: Use gdb_start_cmd.
9288
446ab585 92892007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 9290 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
9291
9292 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9293 * gdb.base/signull.exp: Similarly.
9294
bbb88ebf
UW
92952007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9296
9297 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9298 messages available to test cases (like chng-sym.exp).
9299
cb8c4a99
AS
93002007-03-14 Andreas Schwab <schwab@suse.de>
9301
9302 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9303 format changes.
9304
4e463ff5
DJ
93052007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9306
9307 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9308 (optimized_1): New.
9309 (main): Call optimized_1.
9310 (gdb2029): Correct typos. Call gdb2029_marker.
9311 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9312 for gdb2029.
9313
b6db2c47
MK
93142007-03-12 Mark Kettenis <kettenis@gnu.org>
9315
9316 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9317 as tabs. Remove redundant test pattern.
9318
70ed3737
UW
93192007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9320
9321 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9322 for /a format output.
9323
47b67b60
DJ
93242007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9325
9326 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9327 collect output incrementally.
9328
b8953b0e
UW
93292007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9330
9331 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9332 for -var-create lpcharacter test.
9333 * gdb.mi/mi2-var-cmd.exp: Likewise.
9334
7acd5c40
UW
93352007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9336
9337 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9338 pass on targets where address zero is readable.
9339
9c6759c1
UW
93402007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9341
9342 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9343 just a single architecture.
9344
a2f1aeb4
UW
93452007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9346
9347 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9348 (fetch_all_registers): New function, uses gdb_test_multiple and
9349 exp_continue to fetch inferior output line-by-line.
9350 Replace all uses of do_get_all_registers by fetch_all_registers.
9351
46579ac2
UW
93522007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9353
9354 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9355 in target_info.
9356
fc133f24
MS
93572007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9358
a9c64011 9359 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
9360 consistancy; add a default (timeout) case.
9361
7646a51d
MS
93622007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9363
9364 * gdb.base/watchpoint.exp: Fix truncated comment.
9365
dcfff61f
MS
93662007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9367
9368 * Makefile.in: Remove spurious single-quotes from sed command.
9369
664e3ee9
DJ
93702007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9371
9372 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9373 func.
9374 * gdb.mi/mi2-var-cmd.exp: Likewise.
9375
d7cc6f2f
JB
93762007-02-27 Joel Brobecker <brobecker@adacore.com>
9377
a9c64011
AS
9378 * gdb.dwarf2/dw2-producer.S: New file.
9379 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
9380
93812007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
9382
9383 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9384 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9385 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9386 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9387 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9388 Revert tests to use mi_gdb_test and include value field in output
9389 of -var-create.
9390
93d42b30
DJ
93912007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9392
9393 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9394
c499ed39
DJ
93952007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9396
9397 * gdb.base/maint.exp: Remove full paths from test names.
9398 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9399 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9400
9836f81b
JB
94012007-02-27 Joel Brobecker <brobecker@adacore.com>
9402
9403 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9404
c74d0ad8
DJ
94052007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9406
9407 * gdb.server/server-mon.exp: New test.
9408
2711e456
DJ
94092007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9410
9411 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9412
ff6f572f
DJ
94132007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9414
9415 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9416 register capitalization.
9417
fada3feb
DP
94182007-02-13 Denis Pilat <denis.pilat@st.com>
9419
9420 * gdb.mi/mi-var-invalidate.exp: New file.
9421
fb1e4ffc
DJ
94222007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9423
9424 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9425
3da939d7
DJ
94262007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9427
9428 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9429
123dc839
DJ
94302007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9431
9432 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9433 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9434
877e3645 94352007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
9436
9437 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9438 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9439 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9440 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9441 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 9442 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 9443 Update tests to include value field in output of -var-create.
a9c64011 9444
3c0a2960
AS
94452007-02-08 Andreas Schwab <schwab@suse.de>
9446
9447 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9448
108546a0
DJ
94492007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9450
9451 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9452 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9453
d701dcab
DP
94542007-02-02 Denis Pilat <denis.pilat@st.com>
9455
9456 * gdb.threads/threadapply.exp: check that frame is not changed by
9457 the thread apply all command.
9458
783e3e2f
AS
94592007-01-31 Andreas Schwab <schwab@suse.de>
9460
6d9c3a87
AS
9461 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9462
3c50d7b9
AS
9463 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9464 in the dwarf sections.
9465 * gdb.dwarf2/mac-fileno.S: Likewise.
9466
783e3e2f
AS
9467 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9468 bspstore register on ia64.
9469
78ff580e
AS
94702007-01-29 Andreas Schwab <schwab@suse.de>
9471
cc8e9b12
AS
9472 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9473 "frame-begin" annotation.
9474
78ff580e
AS
9475 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9476 number of "frames-invalid" annotations.
9477
704a4f78
DJ
94782007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9479
9480 * gdb.base/commands.exp: Call if_commands_test.
9481 (gdb_test_no_prompt, if_commands_test): New.
9482
e741bf94
MK
94832007-01-28 Mark Kettenis <kettenis@gnu.org>
9484
9485 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9486
474d0ad3
AS
94872007-01-27 Andreas Schwab <schwab@suse.de>
9488
9489 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9490 .short/.int/.quad in the dwarf sections.
9491 * gdb.dwarf2/dw2-intercu.S: Likewise.
9492 * gdb.dwarf2/dw2-intermix.S: Likewise.
9493
e784b426
JK
94942007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9495
9496 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
9497 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9498 array.
e784b426
JK
9499 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9500 * gdb.base/setvar.exp: Likewise.
9501
37f08e04
AS
95022007-01-26 Andreas Schwab <schwab@suse.de>
9503
9a01813a
AS
9504 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9505 test.
9506
37f08e04
AS
9507 * gdb.base/multi-forks.exp ("restart $i"): Also match
9508 __kernel_syscall_via_break.
9509
6e2a9270
VP
95102007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9511
9512 * lib/mi-support.exp (mi_delete_varobj): New.
9513 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9514 testcase.
9515 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9516 (main): Call the above.
9517 (reference_update_test, base_in_reference_test)
9518 (reference_to_pointer): Delete the created varobjs.
a9c64011 9519
e515b470
DJ
95202007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9521
9522 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9523 * configure: Regenerated.
9524 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9525 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9526 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9527 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9528 * lib/gdb.exp (gdb_skip_xml_test): New function.
9529
08d8bcd7
DJ
95302007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9531
9532 * gdb.base/sigrepeat.exp: Correct error message.
9533
95342007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
9535 Daniel Jacobowitz <dan@codesourcery.com>
9536
9537 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9538 gdb.arch/i386-gnu-cfi-asm.S: New files.
9539
97c3f1f3
JK
95402007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9541
9542 * lib/gdb.exp: Abort on missing `site.exp'.
9543
cb1df416
DJ
95442007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9545 Daniel Jacobowitz <dan@codesourcery.com>
9546
9547 * gdb.base/included.c, gdb.base/included.exp,
9548 gdb.base/included.h: New files.
9549
35990120
DJ
95502007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9551
9552 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9553 (maximize_rlimit): Reduce limits on 64-bit systems.
9554
6e81a116 95552007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
9556
9557 From Marcus Deuling <deuling@de.ibm.com>:
9558 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9559 every case.
9560
6c3c41f3
NR
95612007-01-13 Nick Roberts <nickrob@snap.net.nz>
9562
9563 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9564 (test_path_specification): Use objdir instead of srcdir to always
9565 get an absolute filename.
9566
2f12c312
DJ
95672007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9568
9569 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9570
81121995
VP
95712007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9572
9573 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9574 Make sure the variable we're using is in scope.
9575 (reference_to_pointer): Likewise.
9576
4741b737
DJ
95772007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9578
9579 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9580 has no debug information.
9581
054410c3
DJ
95822007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9583
9584 * gdb.base/annota1.exp: Remove extra send_gdb.
9585
818f79f6
DJ
95862007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9587
9588 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9589
f7a6bb70
DJ
95902007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9591
9592 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9593
57e66780
DJ
95942007-01-08 Nick Roberts <nickrob@snap.net.nz>
9595 Daniel Jacobowitz <dan@codesourcery.com>
9596
9597 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9598 lcharacter or linteger change. Correct duplicated test name.
9599 * gdb.mi/mi2-var-cmd.exp: Likewise.
9600
3d799a95
DJ
96012007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9602
9603 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9604
96052007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 9606
a9c64011
AS
9607 * gdb.base/nofield.c: New file.
9608 * gdb.base/nofield.exp: New testcase.
51679ba9 9609
eafb94e8
NR
96102007-01-05 Nick Roberts <nickrob@snap.net.nz>
9611
9612 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9613
9614 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9615 test.
9616
5e572bb4
DJ
96172007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9618
9619 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9620
74a44383
DJ
96212007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9622
9623 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9624 when continuing.
9625
1b572db9
DJ
96262007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9627
9628 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9629 Expect ".exe" extension.
9630
381bc39b
DJ
96312007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9632
9633 * gdb.base/charset.exp: Add explicit filename to break.
9634 * gdb.base/dbx.exp: Add explicit filename to breaks.
9635
2b70e4c6
DJ
96362007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9637
9638 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9639 * gdb.mi/mi2-file.exp: Likewise.
9640
303b6f5d
DJ
96412007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9642
9643 Implement specification of MI tests as comments
9644 in C and C++ sources.
9645 * lib/mi-support.exp (mi_autotest_data): New variable.
9646 (mi_autotest_source): New variable.
9647 (count_newlines, mi_prepare_inline_tests)
9648 (mi_get_inline_test, mi_continue_to_line)
9649 (mi_run_inline_test, mi_tbreak)
9650 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9651 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9652 Run inline tests.
9653 * gdb.mi/mi-var-cp.cc: Define tests here.
9654
23da0d94
VP
96552007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9656
9657 Simplify usage of mi_continue_to.
9658 * lib/mi-support.exp (mi_runto_helper): Renamed
9659 from mi_runto, added new parameter 'run_or_continue'.
9660 (mi_runto): Use mi_runto_helper.
9661 (mi_continue_to): Accept just function name as parameter.
9662 Use mi_runto_helper.
9663 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9664 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 9665
f9e18282
JB
96662006-01-04 Joel Brobecker <brobecker@adacore.com>
9667
9668 Make this testcase a bit more realistic. The current code
9669 is too simplistic, and allows the compiler to optimize out
9670 some of the entities we need for this testcase.
9671 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9672 (Do_Nothing): Add extra parameter.
9673 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9674 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9675 by using a variable of type Void_Star.
9676
fd678c65
JB
96772006-01-04 Joel Brobecker <brobecker@adacore.com>
9678
9679 * gdb.ada/catch_ex/foo.adb: New file.
9680 * gdb.ada/catch_ex.exp: New testcase.
9681
05cfdb42
DJ
96822007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9683
9684 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9685 pass --image-base to linker.
9686
2e03ee74
DJ
96872007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9688 Daniel Jacobowitz <dan@codesourcery.com>
9689
9690 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9691 secondary prompts.
9692
0d5de010
DJ
96932007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9694
9695 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9696 output. Test the types of members and member pointers.
9697 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9698 gdb/2092.
9699 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9700 statement. Enable for GCC. Update expected output for some tests
9701 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9702 layout.
9703 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9704 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9705 (Diamond::vget_base): New.
9706 (main): Add new tests.
9707 * gdb.cp/printmethod.exp: Update expected output for member functions.
9708 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9709 print pEe->D::vg().
9710
61a771aa
DJ
97112007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9712
9713 * gdb.threads/tls.exp: Allow stops in sem_post.
9714
2fa63963
DJ
97152006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9716
9717 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9718 * gdb.base/annota3.exp: Likewise.
9719 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9720 again (instead of timing out).
9721 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9722 GCC bug 26475.
9723 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9724 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9725 test from jmisc1.exp.
9726 * gdb.java/jmisc1.exp: Delete.
9727 * gdb.java/jprint.exp: Adjust to work with method signatures including
9728 return types.
9729 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9730 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9731 * lib/java.exp (compile_java_from_source): Pass the correct type
9732 to target_compile.
9733
5eefc2b7
JB
97342006-12-31 Joel Brobecker <brobecker@adacore.com>
9735
9736 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9737 (stack_align_edx): New function.
9738 (stack_align_eax): New function.
9739 (main): Add calls to stack_align_edx and stack_align_eax.
9740 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9741 Add testing for the cases where the register used during a stack
9742 realignment is edx. Same for eax.
9743
227c54da
DJ
97442006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9745
9746 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9747 and generic PE targets.
9748
cab8ac94
JB
97492006-12-29 Joel Brobecker <brobecker@adacore.com>
9750
9751 * gdb.ada/array_return.exp: Update copyright date list.
9752
ba54f318
JB
97532006-12-27 Joel Brobecker <brobecker@adacore.com>
9754
9755 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9756 (Create_Small_Float_Vector): New function.
9757 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9758 function body.
9759 * gdb.ada/array_return/p.adb: Use new type and function from
9760 package Pck.
9761 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9762 able to print the value returned by a function returning an
9763 array of float.
9764
6b7a35dd
JB
97652006-12-20 Joel Brobecker <brobecker@adacore.com>
9766
9767 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9768 The associated tests should be PASSing.
9769
038224f6
VP
97702006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9771
9772 Test for base in references.
9773 * gdb.mi/mi-var-cp.cc: Add test code.
9774 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9775 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9776 * gdb.mi/mi2-watch.exp: Likewise.
9777 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9778 (mi_list_varobj_children): New function.
9779
b26ed50d
VP
97802006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9781
9782 * lib/mi-support.exp
9783 (mi_runto): Accept "()" after function name.
9784 (mi_create_varobj): New function.
9785 (mi_varobj_update): New function.
9786 (mi_Check_varobj_value): New function.
9787 * gdb.mi/mi-var-cp.exp: New file.
9788 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 9789
08232497
DJ
97902006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9791
9792 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9793 gdb.base/weaklib2.c: New files.
9794
d394c993 97952006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 9796
ac6c2fba
NS
9797 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9798 info. Adjust test names.
9799
8ec659a0 9800 * gdb.base/break.c (main): Move position of malloc.
d394c993 9801 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 9802
acd65feb
VP
98032006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9804
9805 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9806 assignement of arrays and function pointers.
9807 * gdb.mi/var-cmd.c: Add declaration necessary for above
9808 tests.
9809
f556d5e5
NS
98102006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9811
9812 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
9813
9814 * gdb.threads/linux-dp.exp: Read thread table before and after
9815 creating each philosopher and verify it.
9816
697bc68d
NS
98172006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9818 Paul Brook <paul@codesourcery.com>
9819 Daniel Jacobowitz <dan@codesourcery.com>
9820
9821 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 9822 main to remove duplication. Add start function of the form
697bc68d
NS
9823 '_*start[1-9]*'. Add RVDS start function.
9824
29d73ae4
DJ
98252006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9826
9827 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9828
c1d88655
UW
98292006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9830
9831 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9832 * gdb.asm/spu.inc: New file.
9833 * gdb.base/term.exp: Disable if [target_info exists noargs].
9834 * gdb.gdb/complaints.exp: Disable if ![isnative].
9835 * gdb.gdb/selftest.exp: Likewise.
9836 * gdb.gdb/observer.exp: Likewise.
9837 * gdb.gdb/xfullpath.exp: Likewise.
9838 * gdb.base/attach.exp: Disable on SPU target.
9839 * gdb.cp/bs145503.exp: Likewise.
9840 * gdb.cp/exception.exp: Likewise.
9841 * gdb.cp/userdef.exp: Likewise.
9842
32a13b1a
DJ
98432006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9844
9845 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9846
d8295fe9
VP
98472006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9848
9849 * gdb.base/completion.exp: Fix completion tests for
9850 'info' and 'info '.
9851 * gdb.base/help.exp (help_test_raw, test_class_help)
9852 (test_prefix_command_help): Move...
9853 * lib/gdb.exp: Here.
9854 * gdb.base/main.exp: Adjust.
9855 * gdb.cp/maint.exp: Adjust.
9856 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 9857
8c394015
VP
98582006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9859
9860 * gdb.stabs/weird.exp (print_weird_var): Use
9861 gdb_test_multiple instead of gdb_expect.
9862
027fc1bc
VP
98632006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9864
9865 * gdb.base/help.exp (help_test_raw): New.
9866 (test_class_help): New.
9867 (test_prefix_command_help): New.
9868 Adjust testcases.
9869
67609209
FR
98702006-11-09 Christophe Lyon <christophe.lyon@st.com>
9871
9872 * gdb.base/constvars.c (main): Write to crass and crips, so that
9873 they are allocated by the compiler.
9874
f73adfeb
AS
98752006-10-27 Andreas Schwab <schwab@suse.de>
9876
9877 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9878 "detach-fork".
9879
2f83a18e
DJ
98802006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9881
9882 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9883 of patterns.
9884
94277a38
DJ
98852006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9886
9887 * gdb.base/sepdebug.exp: Remove debug format test.
9888 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9889 Handle no-symtab.
9890 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9891
5bd2f6e2
DJ
98922006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9893
9894 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9895 int to pointer or pointer to int.
9896 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9897
8c008720
DJ
98982006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9899
9900 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9901
9e35dae4
DJ
99022006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9903
9904 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9905
d9639e13
DJ
99062006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9907
9908 PR c++/2116
9909 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9910
390a1bd0
JB
99112006-10-06 Joel Brobecker <brobecker@adacore.com>
9912
9913 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9914 the corresponding bug has been fixed in GDB (PR/2018).
9915
dd920c33
JB
99162006-10-06 Joel Brobecker <brobecker@adacore.com>
9917
9918 * gdb.base/subst.exp: New testcase.
9919
53bbefe9
JB
99202006-10-06 Joel Brobecker <brobecker@adacore.com>
9921
9922 * gdb.ada/array_return/pck.ads: Add copyright notice.
9923 * gdb.ada/array_return/pck.adb: Likewise.
9924 * gdb.ada/array_return/p.adb: Likewise.
9925 * gdb.ada/exec_changed/first.adb: Likewise.
9926 * gdb.ada/exec_changed/second.adb: Likewise.
9927
09851417
JB
99282006-10-06 Joel Brobecker <brobecker@adacore.com>
9929
9930 * gdb.ada/watch_arg/watch.adb: New file.
9931 * gdb.ada/watch_arg.exp: New testcase.
9932
041bf30d
VP
99332006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9934
9935 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 9936 via string_to_regexp.
041bf30d 9937 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 9938
f286fbdd 99392006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
9940
9941 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9942 Remove unused / obsolete files.
9943
7c07f349
NR
99442006-09-19 Nick Roberts <nickrob@snap.net.nz>
9945
9946 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9947
cd5ff84a
VP
99482006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9949
9950 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9951 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 9952 the number of frames.
cd5ff84a 9953
ae018d1a
DJ
99542006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9955
9956 * gdb.base/args.c (main): Add breakpoint marker.
9957 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9958 really test empty arguments.
9959 (args_load): Delete.
9960 (args_test): New.
9961
b399c549
NR
99622006-09-13 Nick Roberts <nickrob@snap.net.nz>
9963
9964 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 9965 check for one file.
b399c549 9966
2ab1eb7a
VP
99672006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9968
9969 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9970 HIGH_FRAME argument to -stack-list-locals can be larger than
9971 the number of frames.
a9c64011 9972
476308bf
FF
99732006-08-18 Fred Fish <fnf@specifix.com>
9974
9975 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9976 '$' in front of skip_vmx_tests_saved when setting that.
9977
8625200f
AS
99782006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9979
9980 * gdb.base/trace-commands.exp: New file.
9981
089ec8f1
DJ
99822006-08-10 Joel Brobecker <brobecker@adacore.com>
9983 Daniel Jacobowitz <dan@codesourcery.com>
9984
9985 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9986 expected output of the backtrace commands.
9987
b60f0898
JB
99882006-08-09 Joel Brobecker <brobecker@adacore.com>
9989
9990 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9991 untested followed by return combination.
9992 * gdb.arch/altivec-regs.exp: Likewise.
9993 * gdb.arch/e500-abi.exp: Likewise.
9994 * gdb.arch/e500-regs.exp: Likewise.
9995 * gdb.arch/gdb1291.exp: Likewise.
9996 * gdb.arch/gdb1431.exp: Likewise.
9997 * gdb.arch/gdb1558.exp: Likewise.
9998 * gdb.arch/i386-prologue.exp: Likewise.
9999 * gdb.arch/i386-unwind.exp: Likewise.
10000 * gdb.asm/asm-source.exp: Likewise.
10001 * gdb.base/a2-run.exp: Likewise.
10002 * gdb.base/advance.exp: Likewise.
10003 * gdb.base/all-bin.exp: Likewise.
10004 * gdb.base/annota1.exp: Likewise.
10005 * gdb.base/annota3.exp: Likewise.
10006 * gdb.base/args.exp: Likewise.
10007 * gdb.base/arithmet.exp: Likewise.
10008 * gdb.base/assign.exp: Likewise.
10009 * gdb.base/async.exp: Likewise.
10010 * gdb.base/attach.exp: Likewise.
10011 * gdb.base/bang.exp: Likewise.
10012 * gdb.base/bigcore.exp: Likewise.
10013 * gdb.base/bitfields.exp: Likewise.
10014 * gdb.base/bitfields2.exp: Likewise.
10015 * gdb.base/break.exp: Likewise.
10016 * gdb.base/call-sc.exp: Likewise.
10017 * gdb.base/call-strs.exp: Likewise.
10018 * gdb.base/callfuncs.exp: Likewise.
10019 * gdb.base/checkpoint.exp: Likewise.
10020 * gdb.base/chng-syms.exp: Likewise.
10021 * gdb.base/code-expr.exp: Likewise.
10022 * gdb.base/commands.exp: Likewise.
10023 * gdb.base/completion.exp: Likewise.
10024 * gdb.base/cond-expr.exp: Likewise.
10025 * gdb.base/condbreak.exp: Likewise.
10026 * gdb.base/consecutive.exp: Likewise.
10027 * gdb.base/constvars.exp: Likewise.
10028 * gdb.base/corefile.exp: Likewise.
10029 * gdb.base/cvexpr.exp: Likewise.
10030 * gdb.base/dbx.exp: Likewise.
10031 * gdb.base/define.exp: Likewise.
10032 * gdb.base/detach.exp: Likewise.
10033 * gdb.base/display.exp: Likewise.
10034 * gdb.base/dump.exp: Likewise.
10035 * gdb.base/ena-dis-br.exp: Likewise.
10036 * gdb.base/ending-run.exp: Likewise.
10037 * gdb.base/environ.exp: Likewise.
10038 * gdb.base/eval-skip.exp: Likewise.
10039 * gdb.base/exprs.exp: Likewise.
10040 * gdb.base/fileio.exp: Likewise.
10041 * gdb.base/finish.exp: Likewise.
10042 * gdb.base/float.exp: Likewise.
10043 * gdb.base/foll-exec.exp: Likewise.
10044 * gdb.base/foll-fork.exp: Likewise.
10045 * gdb.base/foll-vfork.exp: Likewise.
10046 * gdb.base/freebpcmd.exp: Likewise.
10047 * gdb.base/funcargs.exp: Likewise.
10048 * gdb.base/gcore.exp: Likewise.
10049 * gdb.base/gdb1090.exp: Likewise.
10050 * gdb.base/gdb1250.exp: Likewise.
10051 * gdb.base/huge.exp: Likewise.
10052 * gdb.base/info-proc.exp: Likewise.
10053 * gdb.base/interrupt.exp: Likewise.
10054 * gdb.base/jump.exp: Likewise.
10055 * gdb.base/langs.exp: Likewise.
10056 * gdb.base/lineinc.exp: Likewise.
10057 * gdb.base/list.exp: Likewise.
10058 * gdb.base/logical.exp: Likewise.
10059 * gdb.base/long_long.exp: Likewise.
10060 * gdb.base/macscp.exp: Likewise.
10061 * gdb.base/maint.exp: Likewise.
10062 * gdb.base/mips_pro.exp: Likewise.
10063 * gdb.base/miscexprs.exp: Likewise.
10064 * gdb.base/multi-forks.exp: Likewise.
10065 * gdb.base/opaque.exp: Likewise.
10066 * gdb.base/overlays.exp: Likewise.
10067 * gdb.base/pc-fp.exp: Likewise.
10068 * gdb.base/pointers.exp: Likewise.
10069 * gdb.base/printcmds.exp: Likewise.
10070 * gdb.base/psymtab.exp: Likewise.
10071 * gdb.base/ptype.exp: Likewise.
10072 * gdb.base/recurse.exp: Likewise.
10073 * gdb.base/relational.exp: Likewise.
10074 * gdb.base/relocate.exp: Likewise.
10075 * gdb.base/remote.exp: Likewise.
10076 * gdb.base/reread.exp: Likewise.
10077 * gdb.base/restore.exp: Likewise.
10078 * gdb.base/return.exp: Likewise.
10079 * gdb.base/return2.exp: Likewise.
10080 * gdb.base/scope.exp: Likewise.
10081 * gdb.base/sect-cmd.exp: Likewise.
10082 * gdb.base/sep.exp: Likewise.
10083 * gdb.base/sepdebug.exp: Likewise.
10084 * gdb.base/setshow.exp: Likewise.
10085 * gdb.base/setvar.exp: Likewise.
10086 * gdb.base/sigall.exp: Likewise.
10087 * gdb.base/sigbpt.exp: Likewise.
10088 * gdb.base/signals.exp: Likewise.
10089 * gdb.base/signull.exp: Likewise.
10090 * gdb.base/sizeof.exp: Likewise.
10091 * gdb.base/solib.exp: Likewise.
10092 * gdb.base/step-line.exp: Likewise.
10093 * gdb.base/step-test.exp: Likewise.
10094 * gdb.base/structs.exp: Likewise.
10095 * gdb.base/structs2.exp: Likewise.
10096 * gdb.base/term.exp: Likewise.
10097 * gdb.base/twice.exp: Likewise.
10098 * gdb.base/until.exp: Likewise.
10099 * gdb.base/varargs.exp: Likewise.
10100 * gdb.base/volatile.exp: Likewise.
10101 * gdb.base/watchpoint.exp: Likewise.
10102 * gdb.base/whatis-exp.exp: Likewise.
10103 * gdb.base/whatis.exp: Likewise.
10104 * gdb.cp/ambiguous.exp: Likewise.
10105 * gdb.cp/annota2.exp: Likewise.
10106 * gdb.cp/annota3.exp: Likewise.
10107 * gdb.cp/bool.exp: Likewise.
10108 * gdb.cp/breakpoint.exp: Likewise.
10109 * gdb.cp/casts.exp: Likewise.
10110 * gdb.cp/class2.exp: Likewise.
10111 * gdb.cp/classes.exp: Likewise.
10112 * gdb.cp/cplusfuncs.exp: Likewise.
10113 * gdb.cp/ctti.exp: Likewise.
10114 * gdb.cp/derivation.exp: Likewise.
10115 * gdb.cp/exception.exp: Likewise.
10116 * gdb.cp/gdb1355.exp: Likewise.
10117 * gdb.cp/hang.exp: Likewise.
10118 * gdb.cp/inherit.exp: Likewise.
10119 * gdb.cp/local.exp: Likewise.
10120 * gdb.cp/m-data.exp: Likewise.
10121 * gdb.cp/m-static.exp: Likewise.
10122 * gdb.cp/member-ptr.exp: Likewise.
10123 * gdb.cp/method.exp: Likewise.
10124 * gdb.cp/misc.exp: Likewise.
10125 * gdb.cp/namespace.exp: Likewise.
10126 * gdb.cp/overload.exp: Likewise.
10127 * gdb.cp/ovldbreak.exp: Likewise.
10128 * gdb.cp/pr-1023.exp: Likewise.
10129 * gdb.cp/pr-1210.exp: Likewise.
10130 * gdb.cp/pr-574.exp: Likewise.
10131 * gdb.cp/printmethod.exp: Likewise.
10132 * gdb.cp/psmang.exp: Likewise.
10133 * gdb.cp/ref-params.exp: Likewise.
10134 * gdb.cp/ref-types.exp: Likewise.
10135 * gdb.cp/rtti.exp: Likewise.
10136 * gdb.cp/templates.exp: Likewise.
10137 * gdb.cp/try_catch.exp: Likewise.
10138 * gdb.cp/userdef.exp: Likewise.
10139 * gdb.cp/virtfunc.exp: Likewise.
10140 * gdb.disasm/am33.exp: Likewise.
10141 * gdb.disasm/h8300s.exp: Likewise.
10142 * gdb.disasm/mn10300.exp: Likewise.
10143 * gdb.disasm/sh3.exp: Likewise.
10144 * gdb.disasm/t01_mov.exp: Likewise.
10145 * gdb.disasm/t02_mova.exp: Likewise.
10146 * gdb.disasm/t03_add.exp: Likewise.
10147 * gdb.disasm/t04_sub.exp: Likewise.
10148 * gdb.disasm/t05_cmp.exp: Likewise.
10149 * gdb.disasm/t06_ari2.exp: Likewise.
10150 * gdb.disasm/t07_ari3.exp: Likewise.
10151 * gdb.disasm/t08_or.exp: Likewise.
10152 * gdb.disasm/t09_xor.exp: Likewise.
10153 * gdb.disasm/t10_and.exp: Likewise.
10154 * gdb.disasm/t11_logs.exp: Likewise.
10155 * gdb.disasm/t12_bit.exp: Likewise.
10156 * gdb.disasm/t13_otr.exp: Likewise.
10157 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10158 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10159 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10160 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10161 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10162 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10163 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10164 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10165 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10166 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10167 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10168 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10169 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10170 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10171 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10172 * gdb.mi/gdb701.exp: Likewise.
10173 * gdb.mi/gdb792.exp: Likewise.
10174 * gdb.mi/mi-basics.exp: Likewise.
10175 * gdb.mi/mi-break.exp: Likewise.
10176 * gdb.mi/mi-cli.exp: Likewise.
10177 * gdb.mi/mi-console.exp: Likewise.
10178 * gdb.mi/mi-disassemble.exp: Likewise.
10179 * gdb.mi/mi-eval.exp: Likewise.
10180 * gdb.mi/mi-file.exp: Likewise.
10181 * gdb.mi/mi-read-memory.exp: Likewise.
10182 * gdb.mi/mi-regs.exp: Likewise.
10183 * gdb.mi/mi-return.exp: Likewise.
10184 * gdb.mi/mi-simplerun.exp: Likewise.
10185 * gdb.mi/mi-stack.exp: Likewise.
10186 * gdb.mi/mi-stepi.exp: Likewise.
10187 * gdb.mi/mi-syn-frame.exp: Likewise.
10188 * gdb.mi/mi-until.exp: Likewise.
10189 * gdb.mi/mi-var-block.exp: Likewise.
10190 * gdb.mi/mi-var-child.exp: Likewise.
10191 * gdb.mi/mi-var-cmd.exp: Likewise.
10192 * gdb.mi/mi-var-display.exp: Likewise.
10193 * gdb.mi/mi-watch.exp: Likewise.
10194 * gdb.mi/mi2-basics.exp: Likewise.
10195 * gdb.mi/mi2-break.exp: Likewise.
10196 * gdb.mi/mi2-cli.exp: Likewise.
10197 * gdb.mi/mi2-console.exp: Likewise.
10198 * gdb.mi/mi2-disassemble.exp: Likewise.
10199 * gdb.mi/mi2-eval.exp: Likewise.
10200 * gdb.mi/mi2-file.exp: Likewise.
10201 * gdb.mi/mi2-read-memory.exp: Likewise.
10202 * gdb.mi/mi2-regs.exp: Likewise.
10203 * gdb.mi/mi2-return.exp: Likewise.
10204 * gdb.mi/mi2-simplerun.exp: Likewise.
10205 * gdb.mi/mi2-stack.exp: Likewise.
10206 * gdb.mi/mi2-stepi.exp: Likewise.
10207 * gdb.mi/mi2-syn-frame.exp: Likewise.
10208 * gdb.mi/mi2-until.exp: Likewise.
10209 * gdb.mi/mi2-var-block.exp: Likewise.
10210 * gdb.mi/mi2-var-child.exp: Likewise.
10211 * gdb.mi/mi2-var-cmd.exp: Likewise.
10212 * gdb.mi/mi2-var-display.exp: Likewise.
10213 * gdb.mi/mi2-watch.exp: Likewise.
10214 * gdb.stabs/exclfwd.exp: Likewise.
10215 * gdb.stabs/weird.exp: Likewise.
10216 * gdb.threads/gcore-thread.exp: Likewise.
10217 * gdb.trace/actions.exp: Likewise.
10218 * gdb.trace/backtrace.exp: Likewise.
10219 * gdb.trace/circ.exp: Likewise.
10220 * gdb.trace/collection.exp: Likewise.
10221 * gdb.trace/deltrace.exp: Likewise.
10222 * gdb.trace/infotrace.exp: Likewise.
10223 * gdb.trace/limits.exp: Likewise.
10224 * gdb.trace/packetlen.exp: Likewise.
10225 * gdb.trace/passc-dyn.exp: Likewise.
10226 * gdb.trace/passcount.exp: Likewise.
10227 * gdb.trace/report.exp: Likewise.
10228 * gdb.trace/save-trace.exp: Likewise.
10229 * gdb.trace/tfind.exp: Likewise.
10230 * gdb.trace/tracecmd.exp: Likewise.
10231 * gdb.trace/while-dyn.exp: Likewise.
10232 * gdb.trace/while-stepping.exp: Likewise.
10233
f4b618d1
JB
102342006-08-08 Joel Brobecker <brobecker@adacore.com>
10235
10236 * gdb.base/step-bt.c: New file.
10237 * gdb.base/step-bt.exp: New testcase.
10238
3d00d119
DJ
102392006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10240
10241 * config/monitor.exp (gdb_load): Remove support for obsolete
10242 download-write-size.
10243 * gdb.base/remote.exp: Likewise. Update all callers of
10244 gdb_timed_load.
10245
017b5bd4
DJ
102462006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10247
10248 * cursal.exp: Pass binfile to gdb_load.
10249
837c599d
DJ
102502006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10251
10252 * gdb.base/cursal.exp: Add "" to gdb_load call.
10253
8dd4540b
MK
102542006-07-29 Mark Kettenis <kettenis@gnu.org>
10255
10256 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10257 NetBSD/ELF targets.
10258
ab5c9f60
DJ
102592006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10260
10261 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10262 operator*.
10263
4c42eaff
DJ
102642006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10265
10266 * gdb.base/completion.exp: Update for change in "file" behavior.
10267 * gdb.stabs/weird.exp: Likewise.
10268 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10269 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10270
0155cc76
NS
102712006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10272
10273 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10274 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10275
16026cd7
AS
102762006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10277
10278 * gdb.base/default.exp: Update source command error message.
10279 * gdb.base/help.exp: Update 'help source' message.
10280
16963cb6
DJ
102812006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10282
10283 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10284 test.
10285
6d7fd486
AS
102862006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10287
10288 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10289
29e8a844
DJ
102902006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10291
10292 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10293
6afcfa39
DJ
102942006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10295
10296 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10297
267a692b
MK
102982006-07-17 Mark Kettenis <kettenis@gnu.org>
10299
10300 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10301 *-*-openbsd* from targets for wich we expect ARM FPA floating
10302 point format.
10303
85d2fec4
NR
103042006-07-17 Nick Roberts <nickrob@snap.net.nz>
10305
10306 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10307
103082006-07-17 Mark Kettenis <kettenis@gnu.org>
10309
10310 * gdb.base/annota3.exp: Expect frame-begin annotation.
10311
85b4c6e8
JB
103122006-07-14 Joel Brobecker <brobecker@adacore.com>
10313
10314 * gdb.base/help.exp: Adjust "help unset" test to accept
10315 any list of unset commands.
10316
fb933624
DJ
103172006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10318 Daniel Jacobowitz <dan@codesourcery.com>
10319
10320 * gdb.cp/ref-params.exp: New test.
10321 * gdb.cp/ref-params.cc: New source file.
10322 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10323
1dff4b64
MK
103242006-07-08 Mark Kettenis <kettenis@gnu.org>
10325
10326 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10327 spaces/tabs in regular expressions since they might not be there.
10328
40d2e0e3
AS
103292006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10330
10331 * gdb.base/ifelse.exp: New file.
10332
f6c957d2
NS
103332006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10334
10335 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10336 line.
10337 * gdb.base/huge.exp: Loop over compilation to find a size that
10338 is acceptable.
10339 * gdb.base/remote.exp: Correct expected strings.
10340 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10341
b9c5a23d
DJ
103422006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10343
10344 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10345
9af2e58d
DJ
103462006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10347
10348 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10349 native.
10350
30930ca5
DJ
103512006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10352
10353 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10354 enable stabs testing.
10355
aa32fa1d
DJ
103562006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10357
bd4a4c80 10358 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
10359 gdb_test_multiple does.
10360
321fef15
DJ
103612006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10362
10363 * Makefile.in (host_alias): Remove.
10364 (target_alias): Use @target_noncanonical@.
10365 (site.exp): Don't set host_alias.
10366 * aclocal.m4: Remove contents. Include acx.m4.
10367 * configure: Regenerated.
10368 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10369
e1c2defa
NS
103702006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10371
e63b55d1
NS
10372 * lib/gdb.exp (gdb_load_cmd): New.
10373
5600ea19
NS
10374 * gdb.base/fileio.c: Add system(NULL) test.
10375 * gdb.base/fileio.exp: Check it.
10376
e1c2defa
NS
10377 * gdb.base/break.c: Add 10a breakpoint at }
10378 * gdb.base/break.exp: Add test for breakpoint at }
10379 * gdb.cp/anon-union.cc: Add code at end of function.
10380 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10381 * gdb.mi/var-cmd.c: Add code at end of function.
10382 * gdb.mi/mi-var-display.exp: Adjust end of next.
10383 * gdb.mi/mi2-var-display.exp: Likewise.
10384 * gdb.base/fileio.c: Add stop function and insert calls at
10385 stopping places.
10386 * gdb.base/fileio.exp: Breakpoint stop function and remove
10387 explicit line number references.
10388
6c0112ec
JB
103892006-05-19 Joel Brobecker <brobecker@adacore.com>
10390
a9c64011
AS
10391 * gdb.base/del.exp (test_delete_alias): New function.
10392 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 10393
154189a4
FF
103942006-05-18 Fred Fish <fnf@specifix.com>
10395
10396 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10397 required. Check for spurious output after program exits normally.
10398
582e64c2
FF
103992006-05-17 Fred Fish <fnf@specifix.com>
10400
10401 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10402 gdb_load, so it works in the simulator.
10403
8ef6493a
FF
104042006-05-11 Fred Fish <fnf@specifix.com>
10405
10406 * gdb.base/bang.exp: Ignore unexpected output between the
10407 "program exited normally" and the gdb prompt, as many other
10408 tests do.
10409
692b141c
MK
104102006-05-07 Mark Kettenis <kettenis@gnu.org>
10411
10412 * gdb.base/help.exp: Make "delete checkpoint" part option for
10413 "help d" and "help delete" tests.
10414
540b8a30
UW
104152006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10416
a9c64011 10417 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
10418 expected output in some mi_gdb_test statements.
10419 * gdb.mi/mi2-basics.exp: Likewise.
10420
9b6462d9
JB
104212006-05-05 Joel Brobecker <brobecker@adacore.com>
10422
10423 * gdb.base/del.c: New file.
10424 * gdb.base/del.exp: New testcase.
10425
954de43b
DM
104262006-05-05 David S. Miller <davem@sunset.davemloft.net>
10427
10428 * gdb.base/break.exp: Do not assume a breakpoint on
10429 main will actually be in $srcfile when optimizing.
1303f75e
DM
10430 * gdb.base/savedregs.exp: Do not require that the dummy
10431 frame location match up to a symbol and source file location.
c3242428
DM
10432 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10433 will get printed without a mi_cmd_data_list_register_values prefix.
10434 (*-data-list-register-*): Correct regular expressions to expect the new
10435 pseudo d? floating point registers.
10436 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 10437
c7e64c9a
DJ
104382006-05-05 Christophe Lyon <christophe.lyon@st.com>
10439
10440 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10441 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10442 is allocated by the compiler.
10443 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10444 anons, e, anone to force their allocation by the compiler.
10445
104462006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
10447
10448 * gdb.base/help.exp: Update expected text for help d and
10449 help delete.
10450
27ce9a6d
MK
104512006-05-02 Mark Kettenis <kettenis@gnu.org>
10452
10453 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10454 NetBSD/ELF targets.
10455
8608915f
MK
104562006-04-30 Mark Kettenis <kettenis@gnu.org>
10457
10458 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10459 single-step breakpoint fails; make this a KFAIL on
10460 sparc*-*-openbsd*.
10461 * gdb.base/siginfo.exp: Likewise.
10462 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10463
b8db102d
MS
104642006-04-26 Michael Snyder <msnyder@redhat.com>
10465
10466 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10467 which may have to consume output from other forks.
10468 Add tests to make sure that "delete fork" succeeded.
10469
c702009a
MS
104702006-04-20 Michael Snyder <msnyder@redhat.com>
10471
10472 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10473 Add support for the Renesas M32C and M16C.
10474
10475 * gdb.asm/asm-source.exp: Add m32c target.
10476 * gdb.asm/m32c.inc: Support for m32c target.
10477
e28493f2
AS
104782006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10479
10480 * gdb.base/commands.exp (recursive_source_test): New test.
10481
880da185
DM
104822006-04-04 David S. Miller <davem@sunset.davemloft.net>
10483
10484 * gdb.base/float.exp: Add pattern for sparc targets.
10485
61d9b92f
DJ
104862006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10487
10488 * gdb.base/commands.exp (stray_arg0_test): New test.
10489
bd717df8
PB
104902006-03-30 Paul Brook <paul@codesourcery.com>
10491
10492 * gdb.mi/mi-until.exp: kfail broken until command.
10493 * gdb.mi/mi2-until.exp: Ditto.
10494
ec793d3c
NR
104952006-03-27 Nick Roberts <nickrob@snap.net.nz>
10496
10497 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10498
831004b7
AO
104992006-03-08 Alexandre Oliva <aoliva@redhat.com>
10500
10501 * gdb.base/prelink.exp: Anchor tested-for regular expression
10502 on gdb prompt.
10503
effe49a0
PB
105042006-03-07 Paul Brook <paul@codesourcery.com>
10505
10506 * gdb.base/assign.exp: Correct fail message.
10507
e5461016
PB
105082006-03-07 Paul Brook <paul@codesourcery.com>
10509
10510 * lib/compiler.c: Extract armcc version number.
10511 * lib/compiler.cc: Ditto.
10512
fc91c6c2
PB
105132006-03-07 Paul Brook <paul@codesourcery.com>
10514
10515 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10516 additional_flags=-w.
10517 * gdb.arch/altivec-regs.exp: Ditto.
10518 * gdb.arch/e500-abi.exp: Ditto.
10519 * gdb.arch/e500-regs.exp: Ditto.
10520 * gdb.base/all-bin.exp: Ditto.
10521 * gdb.base/annota1.exp: Ditto.
10522 * gdb.base/annota3.exp: Ditto.
10523 * gdb.base/args.exp: Ditto.
10524 * gdb.base/arithmet.exp: Ditto.
10525 * gdb.base/assign.exp: Ditto.
10526 * gdb.base/async.exp: Ditto.
10527 * gdb.base/bang.exp: Ditto.
10528 * gdb.base/break.exp: Ditto.
10529 * gdb.base/call-rt-st.exp: Ditto.
10530 * gdb.base/completion.exp: Ditto.
10531 * gdb.base/cond-expr.exp: Ditto.
10532 * gdb.base/condbreak.exp: Ditto.
10533 * gdb.base/consecutive.exp: Ditto.
10534 * gdb.base/define.exp: Ditto.
10535 * gdb.base/display.exp: Ditto.
10536 * gdb.base/ena-dis-br.exp: Ditto.
10537 * gdb.base/environ.exp: Ditto.
10538 * gdb.base/eval-skip.exp: Ditto.
10539 * gdb.base/info-proc.exp: Ditto.
10540 * gdb.base/jump.exp: Ditto.
10541 * gdb.base/logical.exp: Ditto.
10542 * gdb.base/long_long.exp: Ditto.
10543 * gdb.base/maint.exp: Ditto.
10544 * gdb.base/miscexprs.exp: Ditto.
10545 * gdb.base/pc-fp.exp: Ditto.
10546 * gdb.base/pointers.exp: Ditto.
10547 * gdb.base/relational.exp: Ditto.
10548 * gdb.base/reread.exp: Ditto.
10549 * gdb.base/sect-cmd.exp: Ditto.
10550 * gdb.base/sep.exp: Ditto.
10551 * gdb.base/sepdebug.exp: Ditto.
10552 * gdb.base/until.exp: Ditto.
10553 * gdb.base/whatis-exp.exp: Ditto.
10554 * gdb.cp/annota2.exp: Ditto.
10555 * gdb.cp/annota3.exp: Ditto.
10556 * gdb.trace/actions.exp: Ditto.
10557 * gdb.trace/backtrace.exp: Ditto.
10558 * gdb.trace/circ.exp: Ditto.
10559 * gdb.trace/collection.exp: Ditto.
10560 * gdb.trace/deltrace.exp: Ditto.
10561 * gdb.trace/infotrace.exp: Ditto.
10562 * gdb.trace/limits.exp: Ditto.
10563 * gdb.trace/packetlen.exp: Ditto.
10564 * gdb.trace/passc-dyn.exp: Ditto.
10565 * gdb.trace/passcount.exp: Ditto.
10566 * gdb.trace/report.exp: Ditto.
10567 * gdb.trace/save-trace.exp: Ditto.
10568 * gdb.trace/tfind.exp: Ditto.
10569 * gdb.trace/tracecmd.exp: Ditto.
10570 * gdb.trace/while-dyn.exp: Ditto.
10571 * gdb.trace/while-stepping.exp: Ditto.
10572 * lib/gdb.exp: Ditto.
10573 (gdb_compile): Handle nowarning option.
10574
5f4a23d9
AO
105752006-03-07 Alexandre Oliva <aoliva@redhat.com>
10576
10577 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10578 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10579 Rename executable to prelinkt. Don't re-prelink if we didn't
10580 get a core file. Test prelink -u exit status to tell whether
10581 prelinking failed. Use gdb_test_multiple.
10582
9733fc94
DJ
105832006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10584
10585 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10586 (do_tests): Call it.
10587
cc10cae3
AO
105882006-02-28 Alexandre Oliva <aoliva@redhat.com>
10589
10590 * gdb.base/prelink.exp: New test.
10591 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10592
15c46491
WZ
105932006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10594
10595 * gdb.fortran/derived-type.f90: New file.
10596 * gdb.fortran/derived-type.exp: New testcase.
10597
5c9f7ded
DJ
105982006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10599
10600 * gdb.base/default.exp: Allow ';' as a directory separator.
10601
5b96932b
AS
106022006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10603
10604 * gdb.base/help.exp (help add-symbol-file): Update.
10605
1986bccd
AS
106062006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10607
10608 * gdb.base/help.exp (help load): Update expected results.
10609
a8b7528f
FF
106102006-02-19 Fred Fish <fnf@specifix.com>
10611
10612 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10613 specifix hex value as part of results.
10614 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 10615
f8261448
FF
106162006-02-16 Fred Fish <fnf@specifix.com>
10617
10618 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10619 ushort_addr, and slong_addr, so the typedefs are not optimized
10620 away.
10621 * gdb.base/whatis.exp: Add tests using type name for struct type,
10622 union type, enum type, and typedef.
a9c64011 10623
31d8bdd2
MK
106242006-02-13 Mark Kettenis <kettenis@gnu.org>
10625
10626 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10627
34e41e63
JB
106282006-02-13 Jim Blandy <jimb@redhat.com>
10629
10630 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10631 case where it takes two "next" commands to skip past the init
10632 call.
10633
ac6e4f31
FF
106342006-02-12 Fred Fish <fnf@specifix.com>
10635
10636 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10637 to handle cases where it takes two "next" commands to skip
10638 past the init call.
10639
2db2d571
JB
106402006-02-07 Joel Brobecker <brobecker@adacore.com>
10641
10642 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10643 on hppa32 targets.
10644
38fcd64c
DJ
106452006-02-06 Vladimir Prus <ghost@cs.msu.su>
10646
10647 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10648 field.
10649
1315ad46
MK
106502006-01-29 Mark Kettenis <kettenis@gnu.org>
10651
10652 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10653
5625b943
DJ
106542006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10655
10656 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10657 files.
10658
80df1bbe
DJ
106592006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10660
10661 * gdb.cp/maint.exp: Set complaints to a positive value.
10662
9078e690
DJ
106632006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10664
10665 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10666 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10667 function name.
10668
9c903399
DJ
106692006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10670
10671 * gdb.base/checkpoint.c: Update copyright notice. Include
10672 <stdlib.h>.
10673
761ae4d6
JB
106742006-01-04 Jim Blandy <jimb@redhat.com>
10675
10676 * gdb.asm/asm-source.exp: Independently provide default values for
10677 asm-flags and debug-flags. Use 'string equal' to do the
10678 comparison, not the implicit expr's '==' operator. Remove
10679 now-unneeded assignments to asm-flags. In h8300 case, place
10680 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10681
099ac3dd
MS
106822006-01-04 Michael Snyder <msnyder@redhat.com>
10683
10684 * gdb.base/checkpoint.c: New file.
10685 * gdb.base/checkpoint.exp: New file.
10686 * gdb.base/multi-fork.c: New file.
10687 * gdb.base/multi-fork.exp: New file.
10688 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10689
f4d85314
FF
106902006-01-04 Fred Fish <fnf@specifix.com>
10691
10692 * gdb.base/ptype.c (foo): Add typedef.
10693 (intfoo): Add function.
10694 * gdb.base/ptype1.c: New file.
10695 * gdb.base/ptype.exp: Handle compilation and linking with two
10696 source files. Test that proper type for "foo" is found based
10697 on source context rather than first match found in symtabs.
10698
a1b06f35
MK
106992005-12-28 Mark Kettenis <kettenis@gnu.org>
10700
10701 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10702 * gdb.asm/openbsd.inc: Indent commands.
10703
d082a1e2
MK
107042005-12-26 Mark Kettenis <kettenis@gnu.org>
10705
c65016bd
MK
10706 * gdb.base/freebpcmd.exp: Increase timeout.
10707
d082a1e2
MK
10708 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10709
d3c32a0e
DJ
107102005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10711
10712 * gdb.base/default.exp: Update check for "show version".
10713
9fdb1f50
RC
107142005-12-09 Randolph Chung <tausq@debian.org>
10715
10716 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10717 * gdb.asm/pa64.inc: New file.
10718
5f2c56f7
RC
107192005-12-09 Randolph Chung <tausq@debian.org>
10720
10721 * gdb.asm/common.inc: Indent commands.
10722 * gdb.asm/asmsrc1.s: Likewise.
10723 * gdb.asm/asmsrc2.s: Likewise.
10724
8117349c
RC
107252005-12-09 Randolph Chung <tausq@debian.org>
10726
10727 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10728 (get_addr_of_sym): Remove duplicate print.
10729 (gen_core): xfail hppa*-*-hpux*, update expected output.
10730 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10731 * gdb.arch/pa64-nullify.s: New file.
10732
8f07f25a
RC
107332005-12-09 Randolph Chung <tausq@debian.org>
10734
10735 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10736
55b39184
DJ
107372005-12-07 Christophe Lyon <christophe.lyon@st.com>
10738
10739 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10740 code generation for these functions.
10741 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10742 error message.
10743
31e2b00f
AS
107442005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10745
10746 * gdb.base/help.exp (help b, help br, help bre, help brea)
10747 (help break): Update the expected message.
10748
c3d0b56e
SC
107492005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10750
10751 * gdb.asm/m68hc11.inc: Setup the data section.
10752 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10753 script for this test.
10754 (m6812-*-*): Likewise.
10755
36ae0ea9
RC
107562005-11-09 Randolph Chung <tausq@debian.org>
10757
10758 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10759
9d6f42e9
WZ
107602005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10761
10762 * gdb.base/break.exp: Fix a comment typo.
10763
e2126a14
EZ
107642005-11-03 Jim Blandy <jimb@redhat.com>
10765
a9c64011
AS
10766 Checked in by Elena Zannoni <ezannoni@redhat.com>
10767
889bf7c5 10768 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 10769
e0ac7199
CV
107702005-11-02 Corinna Vinschen <vinschen@redhat.com>
10771
10772 * gdb.arch/gdb1558.c: Include stdio.h.
10773
31d3fb18
MK
107742005-10-31 Mark Kettenis <kettenis@gnu.org>
10775
10776 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10777
e52b687c
MK
107782005-10-31 Mark Kettenis <kettenis@gnu.org>
10779
10780 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10781
f4711d79
PG
107822005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10783
a9c64011
AS
10784 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10785 vscr" tests to better match output.
f4711d79 10786
987a9106
JB
107872005-10-12 Jim Blandy <jimb@redhat.com>
10788
10789 * gdb.base/structs.exp (any): New function.
10790 (test_struct_returns): Don't make any assumptions at all about
10791 what value the function returns when GDB can't set the return
10792 value.
10793
2336bb58
JB
107942005-10-09 Joel Brobecker <brobecker@adacore.com>
10795
10796 * gdb.ada/arrayidx/p.adb: New file.
10797 * gdb.ada/arrayidx.exp: New testcase
10798
107992005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
10800
10801 * gdb.ada/array_return/pck.ads: New file.
10802 * gdb.ada/array_return/pck.adb: New file.
10803 * gdb.ada/array_return/p.adb: New file.
10804 * gdb.ada/array_return.exp: New testcase.
10805
705335ea
JB
108062005-10-03 Joel Brobecker <brobecker@adacore.com>
10807
a9c64011
AS
10808 * gdb.base/arrayidx.c: New file.
10809 * gdb.base/arrayidx.exp: New testcase.
705335ea 10810
11ee9940
NR
108112005-09-29 Nick Roberts <nickrob@snap.net.nz>
10812
10813 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10814 frames-invalid and breakpoints-invalid are no longer generated
10815 with level 3 so don't expect them in the output.
10816
39fb8e9e
BR
108172005-09-27 Bob Rossi <bob@brasko.net>
10818
a9c64011 10819 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
10820 from test. Escape the | in mi_gdb_test call.
10821 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10822 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10823 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10824 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10825 expected regex's in mi_gdb_test calls.
10826 * lib/mi-support.exp: Remove arbitrary .* from tests.
10827 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10828 Fully anchor GDB/MI expected results in mi_gdb_test.
10829 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10830 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10831
2af48f68
PB
108322005-09-26 Paul Brook <paul@codesourcery.com>
10833
10834 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10835
f34502bc
WZ
108362005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10837
10838 * bfp-test.c: New file.
10839 * bfp-test.exp: New testcase.
10840
ca929517
WZ
108412005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10842
10843 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10844 of subarray and substring variable.
10845 * gdb.fortran/subarray.f: New source file for the test of subarray
10846 and substring variable evaluation.
10847 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10848 of string constant.
10849
c761af65
DJ
108502005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10851
10852 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10853 copyright dates.
10854
561d7a1d
PG
108552005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10856
10857 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10858 powerpc altivec' test with an almost identical 'info vector' test.
10859
b2b64cc9
PG
108602005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10861
a9c64011
AS
10862 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10863 vscr" tests to match output.
b2b64cc9 10864
6ac4d15a
PG
108652005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10866
a9c64011
AS
10867 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10868 output.
6ac4d15a 10869
40e55bef
BR
108702005-09-11 Bob Rossi <bob@brasko.net>
10871
889bf7c5
PA
10872 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10873 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10874 commands that return an MI output command and an asyncronous MI output
10875 command.
40e55bef
BR
10876 * gdb.mi/mi-console.exp: Ditto.
10877
3c7385ec
BR
108782005-09-11 Bob Rossi <bob@brasko.net>
10879
10880 * gdb.mi/mi-var-child.c: Include <string.h>.
10881
a6cd0eb3
DJ
108822005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10883
10884 * killed.exp: Correct gdb_expect syntax.
10885
2f168eed
CV
108862005-08-09 Corinna Vinschen <vinschen@redhat.com>
10887
10888 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10889
ecd3fd0f
BR
108902005-08-02 Bob Rossi <bob@brasko.net>
10891
10892 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10893 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10894 Change tests to inferior-tty-set/show.
10895 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10896 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10897 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10898 inferior. Use mi_gdb_test to get GDB and Inferior output.
10899 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10900 descriptor.
10901 (mi_inferior_tty_name): Add inferior PTY file name.
10902 (mi_gdb_start): Add INFERIOR_PTY parameter.
10903 (mi_gdb_test): Add IPATTERN parameter.
10904
f1ea48cb 109052005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 10906
f1ea48cb
BR
10907 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10908 parameter to mi_gdb_test.
10909 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10910
6e650a67
DJ
109112005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10912
10913 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10914 struct_declarations.
10915 * gdb.mi/mi-var-child.exp: Step over the initialization of
10916 struct_declarations.
10917
8be260b6
DJ
109182005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10919
10920 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10921 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10922 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10923 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10924 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10925 file.
10926
4e660f07
NR
109272005-07-27 Nick Roberts <nickrob@snap.net.nz>
10928
10929 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10930 (do_children_tests): Assign values to the extra elements.
10931
10932 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10933 them for tests for "-var-update --no-values" and
a9c64011 10934 "-var-update --all-values".
4e660f07
NR
10935 Add test for "-var-list-children --simple-values".
10936
10937 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10938
10939 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10940 "-stack-list-locals --simple-values" Improve doc strings and
10941 comments.
10942
6bdae935
MK
109432005-07-18 Mark Kettenis <kettenis@gnu.org>
10944
598b7a6f
MK
10945 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10946 *-*-openbsd*.
10947 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10948
6bdae935
MK
10949 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10950 sigaltsatck'.
10951
1323e929 109522005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 10953
1323e929
BR
10954 * gdb.base/default.exp (tty): Changed output of command.
10955 * gdb.base/help.exp (help tty): Ditto.
10956
b1a9c082
MK
109572005-07-12 Mark Kettenis <kettenis@gnu.org>
10958
10959 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10960
10a844a2
MK
109612005-07-10 Mark Kettenis <kettenis@gnu.org>
10962
10963 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10964 -stack-select-frame without arguments.
10965 (test_stack_frame_listing): Add test for newly implemented command
10966 -stack-info-frame.
10967
3cb3b8df
BR
109682005-07-06 Bob Rossi <bob@brasko.net>
10969
10970 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10971 command.
10972 (Copyright): Update copyright.
10973
a0c5fbcf
WZ
109742005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10975
10976 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10977 tests to evaluate exponentiation expression.
10978
984971d0
AS
109792005-06-29 Andreas Schwab <schwab@suse.de>
10980
10981 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10982 main to avoid warnings.
10983
10984 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10985
fe03833f
NR
109862005-06-20 Nick Roberts <nickrob@snap.net.nz>
10987
10988 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10989 -stack-select-frame without arguments.
10990 (test_stack_frame_listing): Add test for newly implemented command
10991 -stack-info-frame.
a9c64011 10992
7a55f279
WZ
109932005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10994
0ffa0ea5
DJ
10995 * gdb.fortran/array-element.f: New file.
10996 * gdb.fortran/array-element.exp: New testcase.
7a55f279 10997
26585198
DJ
109982005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10999
11000 * gdb.base/bigcore.exp: Correct checks for systems which can
11001 not dump a large core file.
11002
c1bd25fd
DJ
110032005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11004
11005 * gdb.base/relocate.c: Add a copyright notice.
11006 (dummy): Remove.
11007 * gdb.base/relocate.exp: Test printing the values of variables
11008 from a relocatable file.
11009
589e074d
DJ
110102005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11011
11012 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11013 excess MI output after an error.
11014
0915f927
JB
110152005-05-29 Joel Brobecker <brobecker@adacore.com>
11016
11017 * gdb.arch/alpha-step.c: New file.
11018 * gdb.arch/alpha-step.exp: New testcase.
11019
76ff342d
DJ
110202005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11021 Dennis Brueni <dennis@slickedit.com>
11022
11023 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11024 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11025 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11026 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11027 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11028 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11029 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11030
96b0c7ac
DJ
110312005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11032 Wu Zhou <woodzltc@cn.ibm.com>
11033
11034 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11035 IBM's xlc compiler.
11036 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11037 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11038
f21565d2
JB
110392005-05-13 Jim Blandy <jimb@redhat.com>
11040
11041 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11042 calling gdb_suppress_entire_file.
11043 * gdb.base/charset.exp: Same.
11044 * gdb.base/call-rt-st.exp: Same.
11045
6006a3a1
BR
110462005-05-05 Bob Rossi <bob_rossi@cox.net>
11047
11048 * lib/gdb.exp (fullname_syntax): Added global regex.
11049 (fullname_syntax_POSIX): Ditto.
11050 (fullname_syntax_UNC): Ditto.
11051 (fullname_syntax_DOS_CASE): Ditto.
11052 (fullname_syntax_DOS): Ditto.
11053 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11054 fullname_syntax variable to scope and use it.
11055 (test_file_list_exec_source_files): Ditto.
11056 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11057
c3b69c04
DJ
110582005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11059
11060 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11061
3c95e6af
PG
110622004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11063
a9c64011
AS
11064 * lib/gdb.exp (skip_altivec_tests): New function, based on
11065 check_vmx_hw_available from the GCC testsuite.
11066 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11067 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 11068
78df6c56
JB
110692005-05-02 Jim Blandy <jimb@redhat.com>
11070
11071 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11072 calling gdb_suppress_entire_file.
11073
1690f9cf
DJ
110742005-04-30 Randolph Chung <tausq@debian.org>
11075
11076 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11077 Slightly relax "sem_post" name checking.
11078
5ea106f7
PG
110792005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11080
11081 * gdb.base/unload.exp: Use new shared library infrastructure.
11082
bf7234cf
PG
110832005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11084
11085 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 11086 infrastructure.
bf7234cf 11087
547b869a
CV
110882005-04-29 Corinna Vinschen <vinschen@redhat.com>
11089
11090 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11091 * gdb.asm/h8300.inc: New file.
11092
f07e55f0
PG
110932005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11094
11095 * gdb.base/shlib-call.exp: Change to use new shared library
11096 infrastructure.
11097
3cbba3d1
PG
110982005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11099
a9c64011
AS
11100 * gdb.base/pending.exp: Change to use new shared library
11101 infrastructure.
3cbba3d1 11102
ed6df200
PG
111032005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11104
a9c64011
AS
11105 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11106 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 11107
8c8f4ebe
PG
111082005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11109
a9c64011
AS
11110 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11111 shared objects being adjusted and update copyright years.
8c8f4ebe 11112
607fbc54
DJ
111132005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11114
11115 * ChangeLog: Correct some 2003-01-13 dates.
11116 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11117 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11118 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11119 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11120 gdb.trace/tfind.exp: Update copyright years.
11121
57bf0e56
DJ
111222005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11123 Daniel Jacobowitz <dan@codesourcery.com>
11124
11125 * lib/gdb.exp (gdb_compile): Handle shlib=.
11126 (gdb_compile_shlib): New function.
11127
9b593790
PG
111282005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11129
a9c64011 11130 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 11131
9494c6a5
DJ
111322005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11133
11134 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11135 gdb.server.
11136 * configure.ac: Likewise.
11137 * configure: Regenerated.
11138 * gdb.gdbserver/Makefile.in: Moved to...
11139 * gdb.server/Makefile.in: ... here.
11140 * gdb.gdbserver/server.c: Moved to...
11141 * gdb.server/server.c: ... here.
11142 * gdb.gdbserver/server-run.exp: Moved to...
11143 * gdb.server/server-run.exp: ... here.
11144
6f8eac0e
DJ
111452005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11146
11147 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11148 * configure.ac: Create gdb.gdbserver/Makefile.
11149 * configure: Regenerated.
11150 * lib/gdbserver-support.exp: New file, derived from
11151 config/gdbserver.exp.
11152 * config/gdbserver.exp: Use gdbserver-support.exp.
11153 * gdb.gdbserver/Makefile.in: New file.
11154 * gdb.gdbserver/server.c: New file.
11155 * gdb.gdbserver/server-run.exp: New file.
11156
6e87504d
PG
111572005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11158
a9c64011
AS
11159 * lib/gdb.exp (test_compiler_info): Return compiler_info
11160 if no arguments are given.
6e87504d 11161
d1779be4
PG
111622005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11163
11164 * gdb.arch/altivec-abi.exp: Check for compiler and set
11165 use altivec' flag accordingly.
11166 * gdb.arch/altivec-regs.exp: Likewise.
11167
88750304
DJ
111682005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11169
11170 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11171
f3fb768d
AS
111722005-03-27 Andreas Schwab <schwab@suse.de>
11173
11174 * gdb.base/bigcore.c (main): Add missing mode argument in open
11175 call.
11176
7e813ac5
DJ
111772005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11178
11179 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11180 downloads.
11181 * config/gdbserver.exp (gdb_load): Likewise.
11182
8e3049aa
PB
111832005-03-14 Paul Brook <paul@codesourcery.com>
11184
11185 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11186 targets.
11187
a9df7c44
JB
111882005-03-09 Joel Brobecker <brobecker@adacore.com>
11189
11190 * gdb.dwarf2/dup-psym.S: New file.
11191 * gdb.dwarf2/dup-psym.exp: New testcase.
11192
9f0d94e8
JB
111932005-03-09 Joel Brobecker <brobecker@adacore.com>
11194
11195 * gdb.ada/exec_changed/first.adb: New file.
11196 * gdb.ada/exec_changed/second.adb: New file.
11197 * gdb.ada/exec_changed.exp: New testcase.
11198
5f579bc5
NS
111992005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11200
36e9969c
NS
11201 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11202 (A2): New class.
11203 (main): Test operator+.
11204 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11205 breakpoint test.
11206
5f579bc5
NS
11207 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11208 * gdb.base/signull.exp: Disable if gdb,nosignals.
11209 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11210 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11211 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11212 * gdb.mi/mi2-console.exp: Likewise.
11213 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11214 continue output at start.
11215 (gdb_collect_locals_test): Robustify regexp.
11216 * gdb.trace/passc-dyn.exp: Fix comment typo.
11217 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11218
be46087e
CV
112192005-03-08 Corinna Vinschen <vinschen@redhat.com>
11220
11221 * gdb.asm/asm-source.exp: Add iq2000 case.
11222 * gdb.asm/iq2000.inc: New file.
11223
384e1a61 112242005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 11225
384e1a61
MI
11226 * gdb.base/command.exp: Change hardcoded value to regular expression.
11227 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11228
584b6e9e
DJ
112292005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11230
11231 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11232 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11233 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11234 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11235 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11236
ab5b5d61
MK
112372005-03-05 Mark Kettenis <kettenis@gnu.org>
11238
11239 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11240 changes.
11241
ae051c1b
PG
112422004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11243
a9c64011
AS
11244 * lib/compiler.c: Add test for IBM's xlc compiler.
11245 * lib/compiler.cc: Likewise.
ae051c1b 11246
3f0f6ed2
JB
112472004-02-24 Joel Brobecker <brobecker@adacore.com>
11248
11249 * gdb.ada/fixed_points.exp: Create compilation object directory
11250 before running the test.
11251 * gdb.ada/null_record.exp: Likewise.
11252 * gdb.ada/packed_array.exp: Likewise.
11253 * gdb.ada/start.exp: Likewise.
11254
724f452b
JB
112552005-02-15 Joel Brobecker <brobecker@adacore.com>
11256
11257 * gdb.ada/packed_array/pa.adb: New file.
11258 * gdb.ada/packed_array.exp: New testcase.
11259
57f5cdfb 112602005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 11261
1f393151
MK
11262 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11263 files.
11264
ebdda337
MK
11265 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11266 on *-*-openbsd*. Correctly match whitespace in regukar
11267 expressions.
11268
cf309262
DJ
112692005-02-10 Daniel Jacobowitz <dan@debian.org>
11270
11271 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11272 PR exp/1821
11273 * gdb.base/gdb1821.c: New test file.
11274 * gdb.base/gdb1821.exp: New test file.
11275
3be49e7a
JB
112762005-02-09 Joel Brobecker <brobecker@adacore.com>
11277
11278 * gdb.base/start.c: New file.
11279 * gdb.base/start.exp: New testcase.
11280
e292e67d
JB
112812005-02-09 Joel Brobecker <brobecker@adacore.com>
11282
11283 * gdb.ada/start/dummy.adb: New file.
11284 * gdb.ada/start.exp: New testcase.
11285
dbdfa66c
CV
112862005-02-09 Corinna Vinschen <vinschen@redhat.com>
11287
11288 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11289 for printing symbols and statistics.
11290 Add test for using relative pathnames in "maint print msymbols" test.
11291 Mark "maint info sections DATA" XFAIL on Cygwin.
11292 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11293 tests.
11294
d7941671
AC
112952005-02-09 Andreas Schwab <schwab@suse.de>
11296
11297 Committed by Andrew Cagney <cagney@gnu.org>
11298 * gdb.base/remotetimeout.exp: New file.
11299
74e5ef44
MK
113002005-02-07 Mark Kettenis <kettenis@gnu.org>
11301
11302 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11303
464dd14d
JB
113042005-02-03 Joel Brobecker <brobecker@adacore.com>
11305
11306 * gdb.ada/gnat_ada.gpr: New file.
11307 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11308 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11309 * configure.ac: No longer generate gnat_ada.gpr.
11310 * configure: Regenerate.
11311 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11312 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11313 * gdb.ada/null_record/bar.ads: Likewise.
11314 * gdb.ada/null_record/bar.adb: Likewise.
11315 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11316 * gdb.ada/null_record.exp (testdir): New variable.
11317 (testfile): executable is now in testdir subdirectory.
11318 (srcfile): Use full path to the main compilation unit.
11319 * gdb.ada/fixed_points.exp: Same changes as above.
11320
30d756ae
NR
113212005-02-03 Nick Roberts <nickrob@snap.net.nz>
11322
11323 * gdb.base/interp.exp: New test.
11324
9d799f85
AC
113252005-01-24 Andrew Cagney <cagney@gnu.org>
11326
11327 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11328
15656118
AC
113292005-01-19 Andrew Cagney <cagney@gnu.org>
11330
a892c31b
AC
11331 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11332 configure.ac not configure.in.
11333
15656118
AC
11334 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11335 of powerpc*-*-*.
11336 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 11337 * gdb.base/list.exp (test_list_function)
15656118
AC
11338 (test_list_filename_and_function): Ditto.
11339 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11340
a7b01baf
AC
113412005-01-16 Andrew Cagney <cagney@gnu.org>
11342
17d92a02
AC
11343 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11344
a7b01baf
AC
11345 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11346
bc8332bb
AC
113472005-01-14 Andrew Cagney <cagney@gnu.org>
11348
11349 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11350 * gdb.mi/mi2-var-cmd.exp: Ditto.
11351
4d074752
CV
113522005-01-10 Corinna Vinschen <vinschen@redhat.com>
11353
11354 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11355
bec39cab
AC
113562005-01-07 Andrew Cagney <cagney@gnu.org>
11357
11358 * configure.ac: Rename configure.in, require autoconf 2.59.
11359 * configure: Re-generate.
11360 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11361 * gdb.stabs/configure: Re-generate.
11362 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11363 * gdb.hp/configure: Re-generate.
11364 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11365 autoconf 2.59.
11366 * gdb.hp/gdb.objdbg/configure: Re-generate.
11367 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11368 autoconf 2.59.
11369 * gdb.hp/gdb.defects/configure: Re-generate.
11370 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11371 autoconf 2.59.
11372 * gdb.hp/gdb.compat/configure: Re-generate.
11373 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11374 autoconf 2.59.
11375 * gdb.hp/gdb.base-hp/configure: Re-generate.
11376 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11377 autoconf 2.59.
11378 * gdb.hp/gdb.aCC/configure: Re-generate.
11379
f10b16d4
JB
113802004-12-15 Jim Blandy <jimb@redhat.com>
11381
11382 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11383 under NPTL when there is debugging info available for libpthread.
11384
fb6e1814
JG
113852004-12-13 Jerome Guitton <guitton@gnat.com>
11386
11387 * gdb.ada/fixed_points.c: New file.
11388 * gdb.ada/fixed_points.exp: New file.
11389
fe46cd3a
RC
113902004-12-03 Randolph Chung <tausq@debian.org>
11391
11392 * gdb.arch/pa-nullify.exp: New file.
11393 * gdb.arch/pa-nullify.s: New file.
11394
8de0841b
RC
113952004-11-30 Randolph Chung <tausq@debian.org>
11396
11397 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11398 instead of "tbug". Fix regexp to work properly with gdb_test.
11399
c8170782
PH
114002004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11401
11402 * gdb.base/bitfields2.exp: New test.
11403 * gdb.base/bitfields2.c: New file.
11404
954269c2
RE
114052004-11-28 Richard Earnshaw <rearnsha@arm.com>
11406
11407 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11408
0107feed
RC
114092004-11-16 Randolph Chung <tausq@debian.org>
11410
11411 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11412
f073ae8c
DJ
114132004-11-14 Daniel Jacobowitz <dan@debian.org>
11414
11415 * gdb.threads/threadapply.exp: Correct "macro details" test.
11416
19ad59e7
JJ
114172004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11418
11419 * gdb.threads/threadapply.exp: New test.
11420 * gdb.threads/threadapply.c: New file.
11421
9cf0961b
MK
114222004-11-07 Mark Kettenis <kettenis@gnu.org>
11423
11424 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11425 frames.
11426
c789492a
FL
114272004-11-05 Felix Lee <felix+log1@specifixinc.com>
11428
11429 * gdb.base/cursal.exp: New file.
11430 * gdb.base/cursal.c: New file.
11431
a1e167bb
AC
114322004-11-03 Andrew Cagney <cagney@gnu.org>
11433
11434 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11435
b7cbf173
MK
114362004-10-30 Mark Kettenis <kettenis@gnu.org>
11437
11438 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11439 NetBSD/ELF targets.
11440
88f9d34f
JB
114412004-10-29 Joel Brobecker <brobecker@gnat.com>
11442
11443 * gdb.threads/bp_in_thread.c: New file, copied from
11444 pthread_cond_wait.c.
11445 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11446 file, rather than reusing the .c file from another testcase.
11447
ca7d6a0c
JB
114482004-10-20 Joel Brobecker <brobecker@gnat.com>
11449
11450 * gdb.ada/null_record.exp: Check where we stopped after
11451 sending the start command, instead of where the associated
11452 temporary breakpoint was inserted.
11453
0d863d03
AC
114542004-10-14 Andrew Cagney <cagney@gnu.org>
11455
11456 * gdb.mi/gdb701.c (main): Return 0.
11457
d11e72cb
DJ
114582004-10-13 Daniel Jacobowitz <dan@debian.org>
11459
d40539a4 11460 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 11461
e1923096
JJ
114622004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11463
11464 * gdb.threads/schedlock.c: Add comment markers to use to find
11465 line numbers.
11466 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11467 comments.
11468 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11469 breakpoint lines.
11470
ec8ba2c9
DJ
114712004-10-12 Daniel Jacobowitz <dan@debian.org>
11472
11473 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11474
0eb3658b
DJ
114752004-10-12 Daniel Jacobowitz <dan@debian.org>
11476
11477 * configure.in: Add gdb.dwarf2.
11478 * configure: Regenerated.
11479 * Makefile.in: Add gdb.dwarf2.
11480 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11481 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11482 gdb.dwarf2/file1.txt: New files.
11483
a271cc33
OF
114842004-10-11 Orjan Friberg <orjanf@axis.com>
11485
a9c64011 11486 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
11487 of "run", since the latter doesn't work with remote targets. Adjust
11488 the breakpoint numbering accordingly.
11489 * gdb.threads/pthread_cond_wait.exp: Ditto.
11490
895ce074
MC
114912004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11492
11493 * gdb.base/overlays.exp: Update copyright years.
11494
6be3092d
KI
114952004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11496
11497 * gdb.base/overlays.exp: Disable if target is Linux.
11498
e05389b8
FL
114992004-10-06 Felix Lee <felix+log1@specifixinc.com>
11500
11501 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11502
73cb587d
KI
115032004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11504
11505 * gdb.asm/asm-source.exp: Add m32r-linux target.
11506 * gdb.asm/m32r-linux.inc: New file.
11507
3c0edcdc
AC
115082004-09-24 Andrew Cagney <cagney@redhat.com>
11509 David Anderson <anderson@redhat.com>
11510
11511 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11512 command fails, assume things will work.
11513 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11514 (_GNU_SOURCE): Define.
11515 (print_unsigned, print_hex): Change parameter to "long long".
11516 (print_byte_count): New function, use to print byte counts.
11517 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11518 O_LARGEFILE.
11519 (main): Compute an upper bound on a corefile in max_core_size.
11520 Limit memory chunk size to max_core_size. Limit total memory
11521 allocated to max_core_size.
11522
4bb3667f
AC
115232004-09-23 Andrew Cagney <cagney@gnu.org>
11524
11525 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11526 from a separate process with code that creates a corefile by
11527 making the inferior dump core.
11528
60fe1a51
MK
115292004-09-23 Mark Kettenis <kettenis@gnu.org>
11530
11531 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11532 block.
11533
8e937346
MC
115342004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11535
11536 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11537 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11538 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11539 Likewise.
11540
7213f6d6
JJ
115412004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11542
11543 * gdb.java/jprint.exp: New test case for java inferior call.
11544 * gdb.java/jprint.java: Ditto.
11545
eac69dca
JB
115462004-09-15 Joel Brobecker <brobecker@gnat.com>
11547
11548 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11549
22227696
MC
115502004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11551
11552 * gdb.threads/killed.c: Include <stdlib.h>.
11553 * gdb.threads/pthreads.c: Likewise.
11554
7dd403a4
MC
115552004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11556
11557 * gdb.threads/killed.c: Add copyright notice.
11558
33f2d567
JM
115592004-09-10 Jason Molenda (jmolenda@apple.com)
11560
a9c64011
AS
11561 * gdb.base/define.exp: Two new tests to verify zero space chars
11562 after 'if' and 'while' commands in a user-defined command is correctly
11563 parsed.
33f2d567 11564
e05b62ac
AC
115652004-09-08 Andrew Cagney <cagney@gnu.org>
11566
11567 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11568 delivery test with duplicate at end of file.
11569
9cbe82da
MK
115702004-09-06 Mark Kettenis <kettenis@jive.nl>
11571
11572 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11573
564803d9
MC
115742004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11575
11576 * config/hppro.exp: Removed.
11577
7c6807ce
MC
115782004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11579
11580 * config/sparclet.exp: Removed.
11581
bf7e26dd
MC
115822004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11583
11584 * config/udi.exp: Removed.
11585
714e341b
MC
115862004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11587
11588 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11589 of "exp_continue".
11590 (advancei): Likewise.
11591
1236e623
JJ
115922004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11593
11594 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11595
3bdcad15
MI
115962004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11597
228af206 11598 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
11599 to check for nodebug in executable.
11600 * gdb.gdb/observer.exp (setup_test): Likewise.
11601 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11602 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11603
c72b934c
AC
116042004-09-01 Andrew Cagney <cagney@gnu.org>
11605
11606 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11607 files.
11608
edd9b715
JJ
116092004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11610
11611 * gdb.base/unload.exp: Fix expected warning message to match
11612 latest format.
11613
fb4ce06b
CV
116142004-09-01 Corinna Vinschen <vinschen@redhat.com>
11615
11616 * gdb.base/call-rt-st.exp: Fix typos.
11617
ce78e7c3
MI
116182004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11619
11620 * gdb.threads/thread_check.exp: New testcase.
11621 * gdb.threads/thread_check.c: New testcase.
11622
2dedb159
AC
116232004-08-31 Andrew Cagney <cagney@gnu.org>
11624
11625 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11626 (skip_to_handler_entry): New procedures. Test stepping into a
11627 handler when the breakpoint is at the handler's entry point.
11628
68f53502
AC
116292004-08-30 Andrew Cagney <cagney@gnu.org>
11630
11631 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11632 gdb/1757.
11633
3e3ffd2b
MC
116342004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11635
11636 With code from Manoj Iyer <manjo@austin.ibm.com>:
11637 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11638 return value. Add an arm for "no debugging symbols found".
11639 Change a stray "error" to "perror".
11640 (gdb_run_cmd): Adapt to new return value.
11641 * gdb.base/remote.exp: Adapt to new return value.
11642 * gdb.gdb/complaints.exp: Likewise.
11643 * gdb.gdb/observer.exp: Likewise.
11644 * gdb.gdb/selftest.exp: Likewise.
11645 * gdb.gdb/xfullpath.exp: Likewise.
11646
4b6f5fd2
JB
116472004-08-27 Joel Brobecker <brobecker@gnat.com>
11648
11649 * gdb.threads/bp_in_thread.exp: New testcase.
11650
e5b25496
MC
116512004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11652
11653 Fix PR testsuite/1735.
11654 * gdb.threads/schedlock.c (thread_function): Add a cast
11655 to suppress a gcc warning.
11656 * gdb.threads/thread-specific.c (thread_function): Likewise.
11657
934353d6
MC
116582004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11659
11660 * gdb.base/unload.c: Include <stdlib.h>.
11661
f98a0aef 116622004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 11663
f98a0aef 11664 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
11665 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11666 synchronized after the "return".
11667
5a2e8882
MC
116682004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11669
11670 * gdb.mi/basics.c: Include <stdio.h>.
11671 * gdb.mi/pthreads.c: Include <stdlib.h>.
11672 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11673
a9640423
MC
116742004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11675
11676 * gdb.threads/schedlock.c: Add copyright notice.
11677
b04e311d
AC
116782004-08-25 Andrew Cagney <cagney@gnu.org>
11679
11680 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11681 (skip_over_handler, breakpoint_over_hander): New test procedures.
11682 (advance, advancei): Add a proper prefix, do not use
11683 rerun_to_main.
11684 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11685
7c27f15b
MC
116862004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11687
11688 * gdb.mi/basics.c: Add copyright notice.
11689 * gdb.mi/var-cmd.c: Add copyright notice.
11690
fffc87ae
MC
116912004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11692
11693 * lib/gdb.exp: Remove signed_keyword_not_used.
11694 * lib/compiler.c: Likewise.
11695 * lib/compiler.cc: Likewise.
11696
d782e0bf
MC
116972004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11698
11699 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11700 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11701
96033e83
MC
117022004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11703
11704 * gdb.base/whatis.c: Add copyright notice.
11705
cf38c229
MK
117062004-08-20 Mark Kettenis <kettenis@gnu.org>
11707
11708 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11709 it to skip the breakpoints encoded in the inline assembly.
11710
f4b49756
MC
117112004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11712
11713 * Makefile.in: Add gdb.fortran.
11714
2f193b69
MC
117152004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11716
11717 * gdb.base/call-sc.exp (test_scalar_returns):
11718 Fix cut-and-paste glitch in "Make fun return now".
11719
89a237cb
MC
117202004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11721
11722 * configure.in: Add gdb.fortran.
11723 * configure: Regenerate.
11724 * gdb.fortran/Makefile.in: New file.
11725 * lib/gdb.exp (skip_fortran_tests): New procedure.
11726
469aff8e
MC
117272004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11728
11729 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11730 reference to bug-gnu@prep.ai.mit.edu.
11731 * gdb.mi/mi-var-child.exp: Likewise.
11732 * gdb.mi/mi-var-cmd.exp: Likewise.
11733 * gdb.mi/mi-var-display.exp: Likewise.
11734 * gdb.mi/mi2-var-block.exp: Likewise.
11735 * gdb.mi/mi2-var-child.exp: Likewise.
11736 * gdb.mi/mi2-var-cmd.exp: Likewise.
11737 * gdb.mi/mi2-var-display.exp: Likewise.
11738
00b51b9f
MK
117392004-08-15 Mark Kettenis <kettenis@gnu.org>
11740
11741 * gdb.base/unload.c (main): Make local variable msg const.
11742
45f07fef
MC
117432004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11744
11745 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11746 to bug-gnu@prep.ai.mit.edu.
11747 * gdb.mi/mi-disassemble.exp: Likewise.
11748 * gdb.mi/mi-eval.exp: Likewise.
11749 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11750 default line number.
11751 * gdb.mi/mi-return.exp: Likewise.
11752 * gdb.mi/mi-simplerun.exp: Likewise.
11753 * gdb.mi/mi-stack.exp: Likewise.
11754 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11755 number with explicit range test.
11756 * gdb.mi/mi-watch.exp: Likewise.
11757 * gdb.mi/mi2-break.exp: Likewise.
11758 * gdb.mi/mi2-cli.exp: Likewise.
11759 * gdb.mi/mi2-disassemble.exp: Likewise.
11760 * gdb.mi/mi2-eval.exp: Likewise.
11761 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11762 default line number.
11763 * gdb.mi/mi2-return.exp: Likewise.
11764 * gdb.mi/mi2-simplerun.exp: Likewise.
11765 * gdb.mi/mi2-stack.exp: Likewise.
11766 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11767 number with explicit range test.
11768 * gdb.mi/mi2-watch.exp: Likewise.
11769
dd8c8ee7
MC
117702004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11771
11772 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11773 * gdb.cp/m-static.exp: Likewise.
11774 * gdb.cp/rtti.exp: Likewise.
11775
4e838464
MK
117762004-08-14 Mark Kettenis <kettenis@gnu.org>
11777
11778 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11779
8d8cb839
EZ
117802004-08-14 Eli Zaretskii <eliz@gnu.org>
11781
11782 * ChangeLog: Prefix Local Variables with semi-colons and indent
11783 the reference to older ChangeLog files, to fix fontification in
11784 Emacs.
11785
deea8bb0
MC
117862004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11787
11788 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11789 * gdb.mi/mi2-break.exp: Likewise.
11790
c3297504
MC
117912004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11792
11793 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11794
25808999
MC
117952004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11796
11797 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11798
226a8d71
MC
117992004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11800
11801 * gdb.cp/classes.exp: Remove unused declarations. Just let
11802 test names default instead of providing special names. Remove
11803 extraneous demangler test.
11804
37fdf854
JJ
118052004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11806
11807 * gdb.base/unload.exp: New test for breakpoints in dynamically
11808 loaded libraries.
11809 * gdb.base/unload.c: Ditto.
11810 * gdb.base/unloadshr.c: Ditto.
11811
2d3a7986
MC
118122004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11813
11814 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11815 cp_test_ptype_class.
11816 (test_enums): Likewise.
11817
c72b934c
AC
118182004-08-10 Andrew Cagney <cagney@gnu.org>
11819
11820 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11821 files.
11822
cc503c8a
AC
118232004-08-10 Andrew Cagney <cagney@gnu.org>
11824
11825 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11826 init_malloc call.
11827
902f2ccb
MC
118282004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11829
11830 * ChangeLog: Add copyright notice. The notice is copied
11831 from emacs 21.3 top level ChangeLog.
11832
78c90502
MC
118332004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11834
11835 * lib/cp-support.exp: New file.
11836 * lib/cp-support.exp (cp_test_type_class): New function.
11837 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11838 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11839 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11840 cp_test_ptype_class.
11841
88e5ea78
MC
118422004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11843
11844 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11845 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11846 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11847 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11848 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11849 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11850 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11851 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11852 gdb.mi/mi2-watch.exp: Update copyright years.
11853
6a89fc9c
MK
118542004-08-09 Mark Kettenis <kettenis@gnu.org>
11855
11856 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11857
1482e0de
MC
118582004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11859
11860 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11861 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11862 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11863 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11864 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11865 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11866 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11867 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11868 gdb.mi/mi-watch.exp: Update copyright years.
11869
1a5ce3f3
DJ
118702004-08-08 Daniel Jacobowitz <dan@debian.org>
11871
11872 PR gdb/1738
11873 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11874 from a breakpoint with a pending signal.
11875
04f6ecf2
DJ
118762004-08-08 Daniel Jacobowitz <dan@debian.org>
11877
11878 PR gdb/1736
11879 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11880 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11881 the prompt.
11882 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11883
54d90d35
DJ
118842004-08-08 Daniel Jacobowitz <dan@debian.org>
11885
11886 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11887
d2f6abb0
DJ
118882004-08-08 Daniel Jacobowitz <dan@debian.org>
11889
11890 PR gdb/1736
11891 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11892 for i?86-*-linux*.
11893
5598c03d
DJ
118942004-08-08 Daniel Jacobowitz <dan@debian.org>
11895
11896 * gdb.arch/i386-prologue.exp: Compile without debug information.
11897
c6fee705
MC
118982004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11899
11900 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11901 rather than asking gdb to search.
11902
dd90efdb
MC
119032004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11904
11905 * gdb.base/gcore.c: Include <string.h>.
11906
1e84bec1
MC
119072004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11908
11909 * gdb.base/gcore.c: Add copyright notice.
11910
e425eb2b
MC
119112004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11912
11913 * gdb.base/freebpcmd.c: Include <stdio.h>.
11914 * gdb.base/long_long.c: Include <string.h>.
11915 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11916 * gdb.base/siginfo.c: Include <string.h>.
11917 * gdb.base/sigstep.c: Include <string.h>.
11918
cb9aaed5
MC
119192004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11920
11921 * gdb.base/complex.c: Include <stdlib.h>.
11922
55944f3d
MC
119232004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11924
11925 * gdb.base/complex.c: Add copyright notice.
11926
7b2953d9
MC
119272004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11928
11929 * gdb.base/charset.c: Include <stdlib.h>.
11930
c9133d23
MC
119312004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11932
11933 * gdb.base/auxv.c: Include <stdlib.h>.
11934
0a8490ad
MC
119352004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11936
11937 * gdb.base/auxv.c: Add copyright notice.
11938
3426d5ec
MC
119392004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11940
11941 * gdb.base/coremaker.c: Add copyright notice.
11942 * gdb.base/coremaker2.c: Add copyright notice.
11943
8da195dd
AC
119442004-08-04 Andrew Cagney <cagney@gnu.org>
11945
11946 * gdb.base/store.exp: Update copyright.
11947 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11948 names, do not import gdb_prompt.
11949
8d394f98
AC
119502004-08-01 Andrew Cagney <cagney@gnu.org>
11951
11952 Fix PR testsuite/1729.
11953 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11954 not use capture_value with value 4.
11955 (capture_value): Add optional test name parameter.
11956 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11957 the prefix, pass to capture_value.
11958
b6702b23
MK
119592004-08-01 Mark Kettenis <kettenis@gnu.org>
11960
11961 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11962 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11963 (main): Call new function.
11964
c203e0ca
MC
119652004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11966
11967 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11968
a7995a30
MC
119692004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11970
11971 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11972
9366563b
MC
119732004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11974
b6eeaf26 11975 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
11976 Accept more values of vtbl pointer. Remove some messages
11977 about "obsolete gcc or gdb".
11978
2fc1f950
MC
119792004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11980
11981 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11982
c724d49b
MC
119832004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11984
11985 * gdb.base/asm-source.exp: Properly convert target board
11986 debug flags from gcc format to binutils format.
11987
736b0fce
MK
119882004-07-28 Mark Kettenis <kettenis@gnu.org>
11989
11990 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11991 gdb1718". PR backtrace/1718 partially fixed.
11992
5633ea5c
JJ
119932004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11994
11995 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11996
575eebb1
NC
119972004-07-26 Nick Clifton <nickc@redhat.com>
11998
11999 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12000 good default value for a specific architecture is available then
12001 set it to that value. Otherwise default to the -gstabs switch.
12002 Remove the -g... switches from the asm-flags variable. Allow the
12003 target board info to override the value if it wants to. Pass the
12004 switch on the assembler command line.
12005
62104619
MK
120062004-07-23 Mark Kettenis <kettenis@gnu.org>
12007
12008 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12009 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12010 (main): Call new function.
12011
4a1135b8
MC
120122004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12013
12014 Test for PR exp/1715.
12015 * gdb.base/radix.exp: Refactor common procedures. Make all
12016 test names unique. Change XFAIL to KFAIL.
12017
8a12c1f0
MC
120182004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12019
12020 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12021 * gdb.ada/gnat_ada.gin: ... to here.
12022 * configure.in: Use gnat_ada.gin.
12023 * configure: Regenerate.
12024
23b451cf
AC
120252004-07-20 Andrew Cagney <cagney@gnu.org>
12026
12027 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12028 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12029 XFAILs. Clean up test messages and comments. Check backtraces.
12030 Delete re-sync code.
12031
ab618a02
MC
120322004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12033
12034 Fix PR cli/740.
12035 * gdb.base/annota1.exp: Honor gdb,nosignals.
12036 * gdb.base/annota3.exp: Likewise.
12037
46dad340
MC
120382004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12039
12040 * lib/java.exp: Update copyright notice.
12041
756d8c70
AC
120422004-07-19 Andrew Cagney <cagney@gnu.org>
12043
12044 * gdb.base/selftest.exp: Copy file from here ...
12045 * gdb.gdb/selftest.exp: ... to here.
12046
586027e6
AC
120472004-07-16 Andrew Cagney <cagney@redhat.com>
12048
12049 * lib/insight-support.exp: Delete file.
12050 * lib/java.exp (java_init): Fix copyright.
12051
029d2200
AC
120522004-07-16 Andrew Cagney <cagney@gnu.org>
12053
12054 * gdb.base/restore.c: Append "prologue" to comments marking the a
12055 function's prologue.
12056 * gdb.base/restore.exp: Update copyright, re-indent.
12057 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12058 callerN" prefix where needed. Update patterns that match a
12059 function's prologue.
12060
653b62c5
MC
120612004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12062
12063 * gdb.base/restore.c: Add copyright notice.
12064
f7d690e5
AC
120652004-07-16 Andrew Cagney <cagney@gnu.org>
12066
12067 * gdb.base/logical.exp: Update copyright.
12068 (evaluate): New procedure. Use to re-implement tests using
12069 several tables.
12070
d629a7cb
MH
120712004-07-14 Martin Hunt <hunt@redhat.com>
12072
12073 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12074 which fixes some problems where init.tcl was not found.
12075
9c7bb332
AC
120762004-07-13 Andrew Cagney <cagney@gnu.org>
12077
6bf46641
AC
12078 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12079 (check_sizeof, check_valueof): Do not include the output in the
12080 test name. Use gdb_test.
12081 (get_valueof): Use gdb_test_multiple.
12082
c4ffd4c0
AC
12083 * gdb.base/step-test.exp: Update copyright. Use
12084 gdb_test_multiple. Ensure that test names do not include
12085 architecture dependent output.
12086
ab89363a
AC
12087 * gdb.gdb/observer.exp: Update copyright.
12088 (setup_test): Use gdb_test_multiple.
12089 (attach_first_observer, attach_second_observer)
12090 (attach_third_observer, detach_first_observer)
12091 (detach_second_observer, detach_third_observer)
12092 (reset_counters, check_counters): Make $message a prefix.
12093 (test_normal_stop_notifications): Add "args" parameter - a list of
12094 init functions to be called. Make $message a prefix,
12095 (test_observer_normal_stop): Change the message prefixes so that
12096 they are unique, pass the attach / detach procedures to
12097 test_normal_stop_notifications.
12098
ec58997a
AC
12099 * gdb.base/signull.exp (test_segv): Prefix all tests with
12100 "${name}". Clean up test messages.
12101
b475183b
AC
12102 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12103
9c7bb332
AC
12104 * gdb.base/ena-dis-br.exp: Update copyright.
12105 (break_at): New function. Replace send_gdb with gdb_test,
12106 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12107 ignore count, not stopped at bpt", with KFAIL.
12108
2dd95497
CV
121092004-07-13 Corinna Vinschen <vinschen@redhat.com>
12110
12111 * gdb.base/attach.exp: Remove cleanupfile handling.
12112
419e626b
AC
121132004-07-12 Andrew Cagney <cagney@gnu.org>
12114
12115 * gdb.base/annota1.exp: Cleanup corefile test name.
12116 * gdb.base/annota3.exp: Ditto.
12117
8b1b3228
AC
121182004-07-12 Andrew Cagney <cagney@gnu.org>
12119
78650829
AC
12120 * gdb.base/signals.exp: Clean up copyright, re-indent.
12121
8b1b3228
AC
12122 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12123 gdb_test and gdb_test_multiple.
12124
935c2760
JJ
121252004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12126
12127 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 12128 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
12129 provide line number info for first statement in main.
12130
1544280f
AC
121312004-07-08 Andrew Cagney <cagney@gnu.org>
12132
1279f4ff
AC
12133 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12134
1544280f
AC
12135 * gdb.base/sigbpt.exp: Make the common part of each test name a
12136 prefix instead of suffix.
12137
bcc82369
BR
121382004-07-07 Bob Rossi <bob_rossi@cox.net>
12139
12140 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12141 test from test_tbreak_creation_and_listing to
12142 test_file_list_exec_source_file
12143 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12144 Changed name of test from test_tbreak_creation_and_listing to
12145 test_file_list_exec_source_file
12146
23f4b0aa
JJ
121472004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12148
12149 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12150 the jmisc() constructor instead of <init>.
12151 * gdb.java/jmisc1.exp: Ditto.
12152
56401cd5
AC
121532004-07-07 Andrew Cagney <cagney@gnu.org>
12154
12155 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12156 corrupting the PC.
12157
44ae2f6a
MC
121582004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12159
12160 * gdb.cp/templates.exp: Accept whitespace change in demangler
12161 output.
12162
45a83408
AC
121632004-07-06 Andrew Cagney <cagney@gnu.org>
12164
12165 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12166
d205ad70
MC
121672004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12168
12169 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12170 * lib/compiler.cc: Likewise.
12171
06ea1a61
MC
121722004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12173
12174 * lib/compiler.cc: Work around string preprocessing problem
12175 with old hp c++ compiler.
12176 * lib/compiler.c: Likewise.
12177
daab1251
CV
121782004-06-29 Corinna Vinschen <vinschen@redhat.com>
12179
12180 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12181 directives to conditionalize symbol prefixing.
12182 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12183 additional_flags handling. Add underscore prefix for Cygwin.
12184 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12185 conditionalize symbol prefixing.
12186 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12187 additional_flags handling. Add underscore prefix for Cygwin.
12188
cc984116
CV
121892004-06-29 Corinna Vinschen <vinschen@redhat.com>
12190
12191 * gdb.base/bigcore.exp: Skip test on Cygwin.
12192
c279b077
MC
121932004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12194
12195 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12196 formats for "info register". Use gdb_test_multiple. Fix
12197 the "invalid register" test.
12198
0e915747
CV
121992004-06-28 Corinna Vinschen <vinschen@redhat.com>
12200
12201 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12202 PID for Cygwin. Add Cygwin specific strings to check for in some
12203 tests.
12204 (do_attach_tests): Add a test for user interaction when attaching
12205 to a process with no matching symbol table already loaded.
12206
11422c86
AC
122072004-06-26 Andrew Cagney <cagney@gnu.org>
12208
12209 Test PR java/1567 and PR java/1565.
12210 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12211 * gdb.java/jmisc2.exp: Delete file.
12212
cefbce26
MC
122132004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12214
12215 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12216
e19f872c
CV
122172004-06-25 Corinna Vinschen <vinschen@redhat.com>
12218
12219 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12220 attach process.
12221
d931ba3b
MC
122222004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12223
12224 * gdb.cp/pr-1553.exp: Remove.
12225
aef68c48
MC
122262004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12227
12228 * gdb.cp/pr-1553.cc: Remove.
12229 * gdb.cp/pr-1553.exp: Disable this test.
12230
8d5df71a
JB
122312004-06-20 Jim Blandy <jimb@redhat.com>
12232
a9c64011 12233 Fix PR testsuite/1680.
8d5df71a
JB
12234 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12235 regular expressions.
12236
4ac6f39d
MC
122372004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12238
12239 Fix PR testsuite/1679.
12240 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12241 Issue an UNSUPPORTED result instead.
12242
1b413552
JB
122432004-06-18 Jim Blandy <jimb@redhat.com>
12244
12245 * gdb.base/charset.exp: Only send a control-C if we see a new
12246 prompt and incomplete command.
12247
6daa6ebd
MC
122482004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12249
12250 * gdb.cp/pr-574.cc: Add copyright notice.
12251
51fa4ae0
JB
122522004-06-17 Jim Blandy <jimb@redhat.com>
12253
12254 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12255 cases where the regexp has no groups; this grabs random text from
12256 the previous test suite, whatever that was.
12257
8fea26c5
MC
122582004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12259
12260 * gdb.cp/printmethod.cc: Add copyright notice.
12261
1e3aeb41
MC
122622004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12263
12264 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12265
9d9030bc
AC
122662004-06-16 Andrew Cagney <cagney@gnu.org>
12267
12268 * gdb.base/signull.c: Update copyright. Include <string.h>.
12269 (bowler): Replace data_pointer with data_read
12270 and data_write cases. Add code_descriptor case.
12271 (zero, desc): New array and pointer.
12272 (data, code): Change to simple pointers.
12273 * gdb.base/signull.exp: Fix probe pattern matching a function
12274 descriptor SIGSEGV. Replace data_pointer with data_read and
12275 data_write tests.
12276
acd4ad44
AC
122772004-06-16 Andrew Cagney <cagney@gnu.org>
12278
12279 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12280
08fd625c
MC
122812004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12282
12283 * gdb.base/long_long.c: Add copyright notice.
12284
1903502c
MC
122852004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12286
12287 * gdb.base/long_long.exp: Remove reference to
12288 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12289 to gdb_breakpoint and gdb_continue_to_breakpoint.
12290
83313cb1
JB
122912004-06-14 Jim Blandy <jimb@redhat.com>
12292
12293 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12294 endian case.
12295
1bf404ef
AC
122962004-06-14 Andrew Cagney <cagney@gnu.org>
12297
12298 * gdb.base/gcore.exp (capture_command_output): Delete the always
12299 passing tests containing inferior values.
12300 * gdb.base/ending-run.exp: Do not include the breakpoint address
12301 in the test message. Update copyright.
12302 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12303 size in the test name, use gdb_test_multiple. Update copyright.
12304
ef220b33
MC
123052004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12306
12307 * gdb.cp/ref-types.cc: Add copyright notice.
12308
4f70a4c9
MC
123092004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12310
12311 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12312 hp_aCC_compiler.
12313 * lib/compiler.cc: Likewise.
12314 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12315 'set' commands. Log diagnostics for other lines. Set
12316 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12317
335928ac
MC
123182004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12319
12320 * gdb.cp/try_catch.cc: Add copyright notice.
12321
2efb12e8
MC
123222004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12323
12324 * gdb.cp/userdef.cc: Add copyright notice.
12325
0bbed51a
MC
123262004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12327
12328 * gdb.cp/virtfunc.cc: Add copyright notice.
12329
e12a46c9
RC
123302004-06-11 Randolph Chung <tausq@debian.org>
12331
12332 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12333 problem.
12334
338e05af
AC
123352004-06-10 Andrew Cagney <cagney@gnu.org>
12336
12337 * lib/compiler.cc, lib/compiler.c: Append either
12338 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12339 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12340 instead of gcc-3-3.
12341
dc3f10cb
AC
123422004-06-09 Andrew Cagney <cagney@gnu.org>
12343
b4d946af
AC
12344 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12345 gdb/1455, bug is specific to "long long" and "double".
a9c64011 12346
dc3f10cb
AC
12347 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12348 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12349 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12350 fixed.
12351
b5c0bfa2
AC
123522004-06-09 Andrew Cagney <cagney@gnu.org>
12353
12354 * gdb.base/structs.exp (test_struct_returns): Replace
12355 "return_value_unknown" and "finish_value_unknown" by
12356 "return_value_known" and "finish_value_known". Instead of
12357 "return_value_unknown" iff "finish_value_unknown", check
12358 "return_value_known" implies "finish_value_known".
12359
caeb605f
MH
123602004-06-08 Martin Hunt <hunt@redhat.com>
12361
12362 * gdb.base/float.exp: Add pattern for mips targets.
12363
c892bb64
RC
123642004-06-08 Randolph Chung <tausq@debian.org>
12365
12366 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12367 message for unknown architectures more clear.
12368
48306d3e
JB
123692004-06-08 Joel Brobecker <brobecker@gnat.com>
12370
12371 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12372 start the execution of the program.
12373
83ecb59f
JB
123742004-06-07 Jim Blandy <jimb@redhat.com>
12375
12376 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12377 * gdb.arch/i386-cpuid.h: New helper file.
12378
55264cb4
RC
123792004-06-07 Randolph Chung <tausq@debian.org>
12380
12381 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12382 has started.
12383
23cadb28
RM
123842004-06-04 Roland McGrath <roland@redhat.com>
12385
12386 Fix PR gdb/1647.
12387 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12388 differently to be robust to output buffering differences.
12389
51d01eda
MC
123902004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12391
12392 * gdb.threads/pthreads.exp: Update copyright years.
12393 (check_control_c): Change asynchronous 'after' to synchronous.
12394
f4fc3b93
RM
123952004-06-04 Roland McGrath <roland@redhat.com>
12396
12397 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12398 next gdb prompt.
12399
4013522b
MC
124002004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12401
12402 Fix PR gdb/1636.
12403 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12404 calls to synchronous.
12405
7a8f1e6b
JB
124062004-05-26 Jim Blandy <jimb@redhat.com>
12407
12408 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12409
81bb3443
RC
124102004-05-24 Randolph Chung <tausq@debian.org>
12411
12412 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12413 * gdb.asm/pa.inc: New file.
12414
8f5a3103
MK
124152004-05-22 Mark Kettenis <kettenis@gnu.org>
12416
12417 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12418
734b8fe8 124192004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 12420 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
12421
12422 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12423 GDB prompt.
12424
725603e1
UW
124252004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12426
f4fc3b93 12427 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
12428 setjmp/longjmp. Use sigaction instead of signal.
12429
8b923272 124302004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 12431 Michael Snyder <msnyder@redhat.com>
8b923272
JB
12432
12433 * gdb.threads/pthread_cond_wait.c: New file.
12434 * gdb.threads/pthread_cond_wait.exp: New testcase.
12435
8bfabb04
AC
124362004-05-13 Andrew Cagney <cagney@redhat.com>
12437
12438 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12439 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12440
42edda50
AC
124412004-05-11 Andrew Cagney <cagney@redhat.com>
12442
12443 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12444 fixed but revealed gdb/1639.
12445
d303a6c7
AC
124462004-05-10 Andrew Cagney <cagney@redhat.com>
12447
12448 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12449 func1" and "next to 2nd alarm", kernel bug avoided.
12450
bf08c2a1
DJ
124512004-05-10 Daniel Jacobowitz <dan@debian.org>
12452
12453 PR external/1568
12454 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12455 XFAIL if it is smaller than bytes_allocated.
12456 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12457 (main): Make chunks_allocated unsigned. Correct comment.
12458
c0586a34
JB
124592004-05-07 Joel Brobecker <brobecker@gnat.com>
12460
12461 * gdb.arch/powerpc-aix-prologue.c: New file.
12462 * gdb.arch/powerpc-aix-prologue.exp: New file.
12463
f2785d12
JB
124642004-05-07 Jim Blandy <jimb@redhat.com>
12465
12466 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12467 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12468
bd7f6e30
JB
124692004-05-06 Joel Brobecker <brobecker@gnat.com>
12470
12471 * gdb.base/sep.exp: No longer setup_kfail when the program was
12472 built with dwarf2.
12473
0a5e7efe
JI
124742004-05-05 Jim Ingham <jingham@apple.com>
12475
12476 * gdb.base/pending.exp: Make sure pending breakpoints
12477 preserve the ignore count.
f4fc3b93 12478
a8958849
MK
124792004-04-27 Jerome Guitton <guitton@gnat.com>
12480
12481 * i386-prologue.exp: Add testcase for jump instruction as first
12482 instruction of the real code.
12483 * i386-prologue.c (jump_at_beginning): New function.
12484
7e103f5b
MK
124852004-04-28 Mark Kettenis <kettenis@gnu.org>
12486
12487 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12488 x86_64-*-*.
12489
5d38b224
MK
124902004-04-28 Mark Kettenis <kettenis@gnu.org>
12491
12492 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12493 i*86-*-*.
12494
0ef32fd9
MK
124952004-04-25 Mark Kettenis <kettenis@gnu.org>
12496
12497 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12498 expression that checks the return type.
12499
71d7dd7c
AC
125002004-04-23 Andrew Cagney <cagney@redhat.com>
12501
12502 * gdb.base/call-sc.exp: New test of scalar call/return values.
12503 * gdb.base/call-sc.c: Ditto.
12504
1e9f977e
JJ
125052004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12506
12507 * gdb.threads/manythreads.c: Reduce thread stack size.
12508
899d9e3a
JJ
125092004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12510
12511 * gdb.threads/manythreads.c: Add copyright notice.
12512
61bcae62
AC
125132004-04-23 Andrew Cagney <cagney@redhat.com>
12514
12515 * gdb.base/siginfo.exp: Better handle step out of signal.
12516 * gdb.base/sigstep.exp: Ditto.
12517
7339a42e 125182004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 12519 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
12520
12521 * gdb.threads/manythreads.c: New testcase.
12522 * gdb.threads/manythreads.exp: Ditto.
12523
5c98409b
JB
125242004-04-22 Jim Blandy <jimb@redhat.com>
12525
12526 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12527 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12528
3b611f1a
MC
125292004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12530
12531 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12532
f0fd9238
AC
125332004-04-21 Andrew Cagney <cagney@redhat.com>
12534
12535 * gdb.base/sigstep.c: New file.
12536 * gdb.base/sigstep.exp: New file.
12537
90990674
JB
125382004-04-16 Joel Brobecker <brobecker@gnat.com>
12539
12540 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12541 call to observer_notify_normal_stop.
12542
78cef34b
AC
125432004-04-15 Andrew Cagney <cagney@redhat.com>
12544
12545 * gdb.base/siginfo.c: New file.
12546 * gdb.base/siginfo.exp: New file.
12547
d2343407
JB
125482004-04-12 J. Brobecker <brobecker@gnat.com>
12549
12550 * gdb.base/sep.exp: Fix typo in comment.
12551
a2dba3c8
JB
125522004-04-12 J. Brobecker <brobecker@gnat.com>
12553
12554 * gdb.base/sep.c: New file.
12555 * gdb.base/sep-proc.c: New file.
12556 * gdb.base/sep.exp: New testcase.
12557
15f7b60e
MK
125582004-04-09 Mark Kettenis <kettenis@gnu.org>
12559
12560 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12561 support.
12562
44f4de1a
AC
125632004-04-05 Andrew Cagney <cagney@redhat.com>
12564
12565 * gdb.base/sigaltstack.c: New file.
12566 * gdb.base/sigaltstack.exp: New file.
12567
ef04f396
JB
125682004-04-04 Joel Brobecker <brobecker@gnat.com>
12569
12570 * gdb.base/foll-fork.exp: Update the expected output for
12571 "help set follow-fork-mode", to match a change that was made
12572 to the help of this variable on 2004-01-13.
12573
d40d2c92
JB
125742004-04-01 Joel Brobecker <brobecker@gnat.com>
12575
12576 * lib/ada.exp: Add copyright notice.
12577 * bar.ads: Likewise.
12578 * bar.adb: Likewise.
12579 * null_record.adb: Likewise.
12580 * null_record.exp: Likewise.
12581 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12582
f86ef5a3
JB
125832004-04-01 Joel Brobecker <brobecker@gnat.com>
12584
12585 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12586 * configure: Regenerate.
12587
414e70e3
JB
125882004-04-01 Joel Brobecker <brobecker@gnat.com>
12589
12590 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12591 to build the application. Remove the message printed when in
12592 verbose mode, redundant with the UNSUPPORTED message above.
12593
f0aaee49
JB
125942004-03-31 Joel Brobecker <brobecker@gnat.com>
12595
12596 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12597 * gdb.ada (null_record.exp): New testcase.
12598
ac81cb54
JB
125992004-03-31 Joel Brobecker <brobecker@gnat.com>
12600
12601 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12602
854af2f7
JB
126032004-03-31 Joel Brobecker <brobecker@gnat.com>
12604
12605 * gdb.ada: New subdirectory.
12606 * gdb.ada/Makefile.in: New file.
12607 * gdb.ada/gnat_ada.gpr.in: New file.
12608
034cb681
JB
126092004-03-31 Joel Brobecker <brobecker@gnat.com>
12610
12611 * lib/ada.exp: New file.
12612
78a1a894
DJ
126132004-03-24 Daniel Jacobowitz <drow@mvista.com>
12614
12615 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12616 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12617
4b2b3b3e
AC
126182004-03-22 Andrew Cagney <cagney@redhat.com>
12619
12620 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12621 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12622 Problem identified by Ulrich Weigand.
12623
23c73aa3
DC
126242004-03-17 David Carlton <carlton@kealia.com>
12625
12626 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12627 PR c++/826.
12628
d63a86f8
RM
126292004-03-16 Roland McGrath <roland@redhat.com>
12630
12631 * gdb.base/auxv.exp: New file.
12632 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12633
0e02aa50
DC
126342004-03-12 David Carlton <carlton@kealia.com>
12635
12636 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12637 * gdb.cp/pr-1553.cc: Ditto.
12638 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12639 pass branch.
12640
c20b71be
MC
126412004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12642
12643 * gdb.cp/templates.exp: Accept more template types.
12644
c7414a01
MC
126452004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12646
12647 From Corinna Vinschen with modifications.
12648 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12649 local variable obj_with_enum.
12650 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12651 results with obj_with_enum.
12652
ed69573c
MC
126532004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12654
12655 * gdb.cp/classes.cc: New file, copied from misc.cc.
12656 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12657
28301461
MC
126582004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12659
12660 * gdb.cp/misc.cc: Add copyright notice.
12661
1198ecbe
DC
126622004-03-05 David Carlton <carlton@kealia.com>
12663
12664 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12665 * gdb.cp/rtti.h: Update copyright.
12666 (namespace n2::n3): New.
12667 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12668 (n2::n3::func3): New.
12669 (main): Call n2::n3::func3.
12670 * gdb.cp/rtti2.cc: Update copyright.
12671 (n2::create3): New.
12672
9e08c470
MK
126732004-03-04 Mark Kettenis <kettenis@gnu.org>
12674
12675 * gdb.asm/openbsd.inc: Fix typo.
12676
4bebc3aa
FF
126772004-03-03 Fred Fish <fnf@redhat.com>
12678
12679 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12680 "val" instead of unused "size". Update copyright year.
12681
6ea9fb37
DJ
126822004-02-29 Daniel Jacobowitz <drow@mvista.com>
12683
12684 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12685 to use unsigned char.
12686 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12687 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12688
23b23974
DJ
126892004-02-29 Daniel Jacobowitz <drow@mvista.com>
12690
12691 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12692 line of output.
12693
7574fd53
DJ
126942004-02-28 Daniel Jacobowitz <drow@mvista.com>
12695
12696 * gdb.base/relocate.c (dummy): Initialize.
12697
a195357f
DJ
126982004-02-28 Daniel Jacobowitz <drow@mvista.com>
12699
12700 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12701 a breakpoint at exit.
12702
72fd54a9
FF
127032004-02-27 Fred Fish <fnf@redhat.com>
12704
12705 * gdb.base/chng-syms.exp: Add expect condition to match failing
12706 case that isn't a timeout.
12707
b9d23137
AC
127082004-02-27 Andrew Cagney <cagney@redhat.com>
12709
12710 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12711 support.
12712
15d208f6 127132004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 12714
15d208f6
FF
12715 * gdb.arch/gdb1431.c: Remove.
12716 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12717 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12718 of "until" incorrectly.
12719
98f9cd2d
JB
127202004-02-26 J. Brobecker <brobecker@gnat.com>
12721
12722 * gdb.cp/class2.cc (empty): New class.
12723 (refer): New function.
12724 (main): Declare an object of type empty and use it.
12725 * gdb.cp/class2.exp: Print the value of an object of type empty.
12726
9b50c11b
JJ
127272004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12728
12729 * gdb.base/langs.exp: Update query string to match the
12730 new nquery format used for pending breakpoints.
12731
0dcd613f
AC
127322004-02-26 Andrew Cagney <cagney@redhat.com>
12733
12734 Fix PR i18n/1570.
12735 * gdb.base/charset.c: Update copyright notice.
12736 (main, init_string): Remove the escape character '\e' tests.
12737 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12738 * gdb.base/charset.exp (valid_host_charset): Ditto.
12739 * gdb.base/setvar.exp: Ditto.
12740
b8a56647
AC
127412004-02-24 Andrew Cagney <cagney@redhat.com>
12742
90d59e34
AC
12743 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12744 mmapped data in core file" PASS and FAIL messages consistent.
12745
b8a56647
AC
12746 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12747 setting a breakpoint. Work around PR java/1565.
12748
9f27c604
JJ
127492004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12750
12751 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12752 new nquery format.
12753 * gdb.base/pending.exp: Ditto.
12754
3224a706
MK
127552004-02-22 Mark Kettenis <kettenis@gnu.org>
12756
12757 * configure.in: Run stabs tests on *BSD.
12758 * configure: Regenerated.
12759
41e0a9ca
MK
127602004-02-21 Mark Kettenis <kettenis@gnu.org>
12761
12762 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12763
1e1b3428
FF
127642004-02-20 Fred Fish <fnf@redhat.com>
12765
12766 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12767 blank in test for "returns short", for consistency with other
12768 "returns xxx" tests. Update copyright year.
12769
f9a7572a
FF
127702004-02-19 Fred Fish <fnf@redhat.com>
12771
12772 New testcase for PR breakpoint/1558.
12773 * gdb.arch/gdb1558.exp: New file.
12774 * gdb.arch/gdb1558.c: New file.
12775
b2ce2854
EZ
127762004-02-19 Elena Zannoni <ezannoni@redhat.com>
12777
12778 * gdb.base/nodebug.exp: Fix typo.
12779
e7c9ff01
JB
127802004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12781
12782 Committed by Jim Blandy <jimb@redhat.com>.
12783
62f4b920
JB
12784 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12785
2db536a1
JB
12786 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12787
e7c9ff01
JB
12788 * gdb.base/float.exp: Support s390*-*-* targets.
12789
f3205b34
AF
127902004-02-17 Adam Fedor <fedor@gnu.org>
12791
12792 * gdb.base/gdb1555.exp: New file.
12793 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12794
9d62932d
EZ
127952004-02-17 Elena Zannoni <ezannoni@redhat.com>
12796
12797 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12798
344c9711
FF
127992004-02-16 Fred Fish <fnf@redhat.com>
12800
12801 * gdb.arch/gdb1291.c: Remove
12802 * gdb.arch/gdb1291.s: New test input file.
12803 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12804 fail. Test for correct result, known incorrect result, other
12805 failures and timeouts.
12806
2d822687
AC
128072004-02-16 Andrew Cagney <cagney@redhat.com>
12808
12809 * gdb.base/bigcore.exp: New file.
12810 * gdb.base/bigcore.c: New file.
12811
dac15b66
AC
128122004-02-13 Andrew Cagney <cagney@redhat.com>
12813
12814 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12815 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12816 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12817 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12818 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12819 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12820 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12821 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12822 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12823 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12824
6bdfc2c4
JJ
128252004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12826
12827 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12828 executed is an alloc instruction.
12829
87b3ede8
DC
128302004-02-11 David Carlton <carlton@kealia.com>
12831
12832 * gdb.cp/breakpoint.exp: New.
12833 * gdb.cp/breakpoint.cc: New.
12834
6e19e2bf
MC
128352004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12836
12837 Partial fix for PR gdb/1543.
12838 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12839 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12840 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12841 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12842 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12843 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12844 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12845 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12846 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12847 to bug-gdb@prep.ai.mit.edu .
12848 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12849 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12850 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12851 Likewise.
12852
5c5455dc
AC
128532004-02-10 Andrew Cagney <cagney@redhat.com>
12854
12855 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12856 using gdb_internal_error_resync.
12857
9cf689d7
DJ
128582004-02-09 Daniel Jacobowitz <drow@mvista.com>
12859
12860 * gdb.threads/thread-specific.exp: Stop early if no threads are
12861 found.
12862
d2dc51db
MC
128632004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12864
12865 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12866
14b1a056
DJ
128672004-02-08 Daniel Jacobowitz <drow@mvista.com>
12868
12869 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12870 breakpoints.
12871
83f66e8f
DJ
128722004-02-07 Daniel Jacobowitz <drow@mvista.com>
12873
12874 * config/sim.exp (gdb_load): Handle $arg == "".
12875 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12876 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12877
30fc0091
EZ
128782004-02-07 Elena Zannoni <ezannoni@redhat.com>
12879
a9c64011
AS
12880 * gdb.base/maint.exp: Update test to reflect
12881 obstack changes.
30fc0091 12882
4d806929
JJ
128832004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12884
12885 * gdb.base/pendshr.c (pendfunc): New function that calls
12886 pendfunc1.
12887 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12888
7bfdd688
FF
128892004-02-04 Fred Fish <fnf@redhat.com>
12890
12891 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12892 function symbols and update copyright years.
12893 * gdb.arch/gdb1291.c: Ditto.
12894
aaa08ee4
MC
128952004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12896
12897 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12898
dbad7755
MC
128992004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12900
12901 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12902
ec4646ef
MC
129032004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12904
12905 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12906
1b802196
FF
129072004-02-02 Fred Fish <fnf@redhat.com>
12908
12909 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12910 remote targets. Update copyright years.
12911
18fe2033
JJ
129122004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12913
12914 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12915 support.
12916 * gdb.base/langs.exp: Fix test which attempts to create
12917 breakpoint on non-existent function to handle new pending
12918 support.
12919 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12920 a breakpoint.
12921 * gdb.base/pending.exp: New test.
12922 * gdb.base/pending.c: New file.
12923 * gdb.base/pendshr.c: Ditto.
12924
8d577d32
DC
129252004-02-02 David Carlton <carlton@kealia.com>
12926
12927 * gdb.cp/overload.exp: Add overloadNamespace tests.
12928 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12929 (overloadNamespace, XXX): New.
12930 (main): Call XXX::marker2.
12931
3ad13771
FF
129322004-02-01 Fred Fish <fnf@redhat.com>
12933
12934 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12935 * gdb.base/finish.exp: Ditto.
12936 * gdb.base/gcore.exp: Ditto.
12937 * gdb.base/huge.exp: Ditto.
12938 * gdb.base/info-proc.exp: Ditto.
12939 * gdb.base/return2.exp: Ditto.
12940 * gdb.threads/gcore-thread.exp: Ditto.
12941
44c75849
DJ
129422004-02-01 Daniel Jacobowitz <drow@mvista.com>
12943
12944 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12945
005bc093
MK
129462004-02-01 Mark Kettenis <kettenis@gnu.org>
12947
12948 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12949 that opening the file succeeds on OpenBSD.
12950
c47cebdb
DJ
129512004-02-01 Daniel Jacobowitz <drow@mvista.com>
12952
12953 * gdb.threads/thread-specific.c: New file.
12954 * gdb.threads/threads-specific.exp: New test script.
12955 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12956 to expect_out.
12957
5a01311c
MK
129582004-02-01 Mark Kettenis <kettenis@gnu.org>
12959
12960 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12961 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12962 only on the "print_small_structs from print_long_arg_list" test.
12963
ce22a4f1
DJ
129642004-02-01 Daniel Jacobowitz <drow@mvista.com>
12965
12966 * gdb.base/completion.exp: Kill a stray backslash.
12967
12968 From Jim Ingham <jingham@apple.com>:
12969 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12970 agrees with the result from sending a tab.
12971
abbab9d3
DJ
129722004-01-31 Daniel Jacobowitz <drow@mvista.com>
12973
12974 * gdb.base/chng-syms.exp: Remove stray newline.
12975
53904d1e
MK
129762004-01-31 Mark Kettenis <kettenis@gnu.org>
12977
12978 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12979 *-*-openbsd*.
12980 * gdb.asm/openbsd.inc: New file.
12981
3a4b3aac
MK
129822004-01-30 Mark Kettenis <kettenis@gnu.org>
12983
12984 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12985 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12986 *-*solaris2*. Remove commented out default settings for
12987 asm-flags. Replace gdb_compile with target_link.
12988
ebac27b4
MC
129892004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12990
12991 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12992 for all tests. Remove old hp-ux and cygnus xfail cases.
12993
d8679d84
PH
129942004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12995
12996 * gdb.base/chng-syms.exp: New file.
12997 * gdb.base/chng-syms.c: New file.
12998
0a55bc22
MC
129992004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13000
13001 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13002 Provide arms for current output in all my configurations.
13003
94b8e876
MC
130042004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13005
13006 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13007 * lib/compiler.cc: Likewise.
13008 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13009 get the right preprocessor. Eval the output directly. Remove
13010 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13011 hp_f77_compiler and hp_f90_compiler completely.
13012 (gdb_preprocess): Delete.
13013 (get_compiler): Delete.
13014
7cf03d44
MK
130152004-01-24 Mark Kettenis <kettenis@gnu.org>
13016
13017 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13018 <string.h>.
13019
68b6dce9
NR
130202004-01-24 Nick Roberts <nick@nick.uklinux.net>
13021
13022 * gdb.mi/mi-stack.exp: Update copyright.
13023
b368761e
DC
130242004-01-23 David Carlton <carlton@kealia.com>
13025
13026 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13027 test for cp_lookup_transparent_type.
13028 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13029 call them.
13030
f2061b53
DJ
130312004-01-23 Daniel Jacobowitz <drow@mvista.com>
13032
13033 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13034 after -var-update.
13035
37fc574a
DC
130362004-01-23 David Carlton <carlton@kealia.com>
13037
13038 * gdb.cp/namespace.cc (C::ensureRefs): New.
13039 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13040
8e94b928
NR
130412004-01-20 Nick Roberts <nick@nick.uklinux.net>
13042
13043 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13044 case "-stack-list-locals 2".
13045 * gdb.mi/mi-var-child.exp: Test for case
13046 "-var-list-children --all-values NAME".
13047
997b0952
MC
130482004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13049
13050 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13051
52470da3
MK
130522004-01-18 Mark Kettenis <kettenis@gnu.org>
13053
7049b4b8
MK
13054 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13055 used with gdb_test_multiple.
13056
52470da3
MK
13057 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13058 read at address 0. This fixes PR testsuite/1504.
13059
da6012e5
DJ
130602004-01-18 Daniel Jacobowitz <drow@mvista.com>
13061
13062 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13063 Remove downloading, guessing the host executable, the calls to
13064 gdb_file_cmd and gdb_target_cmd, and "load" support.
13065 (infer_host_exec): New function broken out from gdb_load.
13066 (gdb_load): New wrapper for gdbserver_gdb_load.
13067 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13068 gdb_target_cmd. Use -target-select.
13069 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13070 Download binaries to the host. Clear last_mi_remote_file when
13071 we load a new binary.
13072 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13073 call gdbserver_gdb_load and mi_gdb_target_cmd.
13074
32c70722
MC
130752004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13076
13077 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13078 type patterns.
13079
b0cecf36
MC
130802004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13081
13082 * gdb.cp/templates.exp: Fix typo in test name of
13083 "print Foo<volatile char*>::foo".
13084
4120d7e6
MC
130852004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13086
13087 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13088
f679e530
BE
130892004-01-16 Ben Elliston <bje@wasabisystems.com>
13090
13091 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13092 (clean mostlyclean): Remove empty rm.
13093
091c48f6
MC
130942004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13095
13096 * gdb.base/setvar.exp: Add copyright years.
13097
3e5fc8d2
DC
130982004-01-14 David Carlton <carlton@bactrian.org>
13099
13100 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13101 PR c++/1511 and update coment.
13102 * gdb.cp/templates.exp: Update patterns to match current output.
13103 If changes involve something other than whitespace, KFAIL
13104 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13105
63d06c5c
DC
131062004-01-14 David Carlton <carlton@kealia.com>
13107
13108 * gdb.cp/namespace.exp: Add tests involving classes defined within
13109 namespaces.
13110 * gdb.cp/namespace.cc (C::CClass): New.
13111 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13112
a51dab88
EZ
131132004-01-14 Elena Zannoni <ezannoni@redhat.com>
13114
13115 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13116 what debug info we have. Print a better message if something goes
13117 wrong while producing the separate debug info file.
13118
a476ccc9
MC
131192004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13120
13121 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13122
f453692c
MC
131232004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13124
13125 * gdb.base/callfuncs.c: Add copyright notice.
13126
f40063a5
MC
131272004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13128
13129 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13130 inheritance. PR gdb/1498, PR gcc/13539.
13131
19ac3974
EZ
131322004-01-13 Elena Zannoni <ezannoni@redhat.com>
13133
a9c64011
AS
13134 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13135 test specific name.
13136 * gdb.mi/gdb669.exp: Ditto.
13137 * gdb.mi/mi-pthreads.exp: Ditto.
13138 * gdb.mi/mi1-pthreads.exp: Ditto.
13139 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 13140
56c97c6e
MC
131412004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13142
13143 * gdb.cp/member-ptr.cc: Add copyright notice.
13144
a0644324
MC
131452004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13146
13147 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13148 some patterns for recent versions of gcc and hpacc. Delete
13149 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13150 Delete tests that access a NULL pointer-to-member-data. This
13151 script is still disabled for gcc.
13152
32fabe09
EZ
131532004-01-12 Elena Zannoni <ezannoni@redhat.com>
13154
13155 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 13156 escaped correctly.
32fabe09 13157
1f8a6abb
EZ
131582004-01-12 Elena Zannoni <ezannoni@redhat.com>
13159
13160 * gdb.base/sepdebug.exp: New file.
13161 * gdb.base/sepdebug.c: New file.
13162 * lib/gdb.exp (separate_debug_filename): New procedure.
13163 (gdb_gnu_strip_debug): New procedure.
13164
48efe704
AC
131652004-01-12 Andrew Cagney <cagney@redhat.com>
13166
13167 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13168 * gdb.mi/ChangeLog-1999-2003: New file.
13169
a9415475
AC
131702004-01-12 Andrew Cagney <cagney@redhat.com>
13171
13172 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13173 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13174 or EEXIST", treat EBUSY as an XFAIL.
13175
83b8cf9d
MC
131762004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13177
13178 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13179 hp_cc_compiler.
13180
9939d2a8
MC
131812004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13182
13183 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13184 decorations.
13185
1ff8cadf
MC
131862004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13187
13188 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13189 and "(aCC)" decorations. Remove obsolete doco about old
13190 test results.
13191
6fa9022e
MC
131922004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13193
13194 * gdb.cp/exception.exp: Fix typo in doco.
13195
209721fe
MK
131962004-01-09 Mark Kettenis <kettenis@gnu.org>
13197
13198 * gdb.base/gdb1476.exp: Fix typo.
13199
ef11303e
MC
132002004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13201
13202 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13203 file.
13204
041ab88c
MC
132052004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13206
13207 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13208 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13209 Use gdb_compile. Remove restriction on gcc. Add some patterns
13210 for recent version of gdb. Delete second half, which was a copy
13211 of the first half with different build flags. This test is
13212 still disabled because it is still not ready for production.
13213
e36d075a
MC
132142004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13215
13216 * gdb.cp/exception.cc: Add copyright notice.
13217 * gdb.cp/exception.exp: Add a notice that this file is broken
13218 because of line number changes caused by addition of copyright
13219 notice.
13220
42b190ad
MC
132212004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13222
13223 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13224 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13225
8f25f06b
MC
132262004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13227
13228 * gdb.cp/classes.exp: Accept gnu abi 2.
13229 * gdb.cp/derivation.exp: Likewise.
13230 * gdb.cp/overload.exp: Likewise.
13231 * gdb.cp/virtfunc.exp: Likewise.
13232
06ded8b8
MC
132332004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13234
13235 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13236 semicolon after end of function.
13237
77c26ae3
MC
132382004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13239
13240 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13241 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13242 boilerplate code for compiling and running the program under
13243 test. Add some string method tests.
13244
20757486
MC
132452004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13246
13247 * gdb.cp/bs15503.cc: Add copyright notice.
13248 * gdb.cp/bs15503.exp: Adjust line number.
13249
0fd3b503
MC
132502004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13251
13252 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13253 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13254
10d1bea8
MC
132552004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13256
13257 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13258 hp_cc_compiler.
13259
2789202a
MC
132602004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13261
13262 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13263 * gdb.cp/ctti.exp: Use the marker instead of "next".
13264 With gcc, run further before bailing.
13265
b862f14c
MC
132662004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13267
13268 * gdb.cp/cttiadd.cc: Add copyright notice.
13269 * gdb.cp/cttiadd1.cc: Likewise.
13270 * gdb.cp/cttiadd2.cc: Likewise.
13271 * gdb.cp/cttiadd3.cc: Likewise.
13272
96da2469
MC
132732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13274
13275 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13276 Use gdb_test, gdb_test_multiple. Use floating-point values that
13277 have exact representations in IEEE-ish formats.
13278
053248ff
MC
132792004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13280
13281 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13282 compilers. Delete duplicate call to get_compiler_info.
13283 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13284 * gdb.base/volatile.exp: Likewise.
13285
84acecdd
MK
132862004-01-07 Mark Kettenis <kettenis@gnu.org>
13287
13288 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13289 memory at address 0.
13290
fe11a27f
MC
132912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13292
13293 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13294 to test for hp-ux assembler. Fix copyright years.
13295
60ad077b
AC
132962004-01-07 Andrew Cagney <cagney@redhat.com>
13297
13298 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13299
1c9b8f33
AC
133002004-01-07 Andrew Cagney <cagney@redhat.com>
13301
13302 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13303 when creating the read-only file. From analysis by Roland McGrath
13304 and Elena Zannoni.
13305
753ccc7a
MC
133062004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13307
13308 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13309
eca3e36b
MC
133102004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13311
13312 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13313 data pointers.
13314
f8d4bac4
MC
133152004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13316
13317 * gdb.cp/m-static.exp: Compile one source file at a time.
13318 Delete unused call to get_compiler_info.
13319
9b4e0f94
MC
133202004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13321
13322 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13323 * gdb.base/call-rt-st.exp: Likewise.
13324 * gdb.base/nodebug.exp: Likewise.
13325 * gdb.base/volatile.exp: Likewise.
13326 * gdb.cp/ref-types.exp: Likewise.
13327 * gdb.cp/templates.exp: Likewise.
13328
023c1024
MK
133292004-01-05 Mark Kettenis <kettenis@gnu.org>
13330
13331 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13332
19703c4a
MC
133332004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13334
13335 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13336 hppa*-hp-hpux*.
13337
18b67037
MK
133382004-01-04 Mark Kettenis <kettenis@gnu.org>
13339
ba6219c8
MK
13340 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13341 x86_64-*-*.
13342
18b67037
MK
13343 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13344 sparc64-*-* and sparc*-solaris2*.
13345
1bfbbb9d
MK
133462004-01-04 Mark Kettenis <kettenis@gnu.org>
13347
13348 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13349 return ${tests}" test. The ${tests} already mentions the
13350 filename.
13351
06846494
MC
133522004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13353
13354 * gdb.cp/local.exp: Accept gcc abi 2.
13355
3b0cb202
MC
133562004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13357
13358 * gdb.cp/templates.exp: Accept gcc abi 2.
13359
0643ec3f
MC
133602004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13361
13362 * lib/compiler.cc: Remove supports_template_debugging.
13363 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13364
d231d0b1
MC
133652004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13366
13367 * gdb.cp/namespace.exp: Accept gcc abi 2.
13368
44ffb27c
MC
133692004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13370
13371 * gdb.cp/method.exp: Accept gcc abi 2.
13372
184ad485
MC
133732004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13374
13375 * gdb.cp/classes.exp: Generate identical results as old version.
13376 * gdb.cp/derivation.exp: Likewise.
13377 * gdb.cp/overload.exp: Likewise.
13378 * gdb.cp/virtfunc.exp: Likewise.
13379
116f09e7
MC
133802004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13381
13382 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13383 mysterious bug with sourceware version of expect.
13384
b1379776
MC
133852004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13386
13387 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13388 current versions of gcc, including gcc abi 2. Remove gratuitous
13389 restart of test program. Use gdb_test_multiple and gdb_test for
13390 all tests. Add patterns to xfail missing "const" in "const char *"
13391 and kfail PR gdb/1155.
13392
6b7a4c0e
MC
133932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13394
13395 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13396 current versions of gcc, including gcc abi 2. Remove gratuitous
13397 restart of test program. Use gdb_test_multiple and gdb_test for
13398 all tests. Add patterns to kfail PR gdb/1498.
13399
51615d72
MC
134002003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13401
13402 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13403 current versions of gcc, including gcc abi 2. Use "breakpoint"
13404 and "continue" instead of restarting the target program. Use
13405 gdb_test_multiple and gdb_test for all tests.
13406
7b79a9d7
MK
134072004-01-01 Mark Kettenis <kettenis@gnu.org>
13408
13409 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13410 for *-*-solaris2*.
13411
1cd3489f
MC
134122003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13413
13414 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13415 current versions of gcc, including gcc abi 2. Use "breakpoint"
13416 and "continue" instead of restarting the target program several
13417 times. Use gdb_test_multiple and gdb_test for all tests.
13418
850742db
MC
134192003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13420
13421 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13422 source files.
13423
eb4bbda8
MC
134242003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13425
13426 * gdb.base/environ.exp: Handle compiling test case from multiple
13427 source files.
13428
e42c7771
MC
134292003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13430
13431 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13432
80e4b428
JB
134332003-12-17 Jim Blandy <jimb@redhat.com>
13434
5f06973a
JB
13435 * gdb.base/freebpcmd.c: Add copyright notice.
13436
80e4b428
JB
13437 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13438
0ab84fb7
MC
134392003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13440
13441 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13442
1b3bb3d0
JB
134432003-12-13 Jim Blandy <jimb@redhat.com>
13444
13445 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13446
3a4c9371
KB
134472003-12-12 Kevin Buettner <kevinb@redhat.com>
13448
13449 * gdb.asm/frv.inc: New file.
13450 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13451
a1dea79a
FF
134522003-12-09 Fred Fish <fnf@redhat.com>
13453
13454 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13455 functions to break1.c and leave prototypes behind. Add more
13456 "set breakpoint NN here" comments.
13457 * gdb.base/break1.c: New file.
13458
13459 * gdb.base/break.exp: Handle compiling test case from multiple
13460 source files and change source file references as needed.
13461 * gdb.base/completion.exp: Ditto.
13462 * gdb.base/condbreak.exp: Ditto.
13463 * gdb.base/define.exp: Ditto.
13464 * gdb.base/ena-dis-br.exp: Ditto.
13465 * gdb.base/info-proc.exp: Ditto.
13466 * gdb.base/maint.exp: Ditto.
13467 * gdb.base/until.exp: Ditto.
13468
13469 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13470 hardcoded line numbers.
13471 * gdb.base/define.exp: Ditto.
13472 * gdb.base/ena-dis-br.exp: Ditto.
13473 * gdb.base/maint.exp: Ditto.
13474 * gdb.base/until.exp: Ditto.
13475
13476 * gdb.base/completion.exp: Use "break1" for completion tests since
13477 "break" is no longer a unique prefix.
13478
5266b69c
AC
134792003-12-06 Andrew Cagney <cagney@redhat.com>
13480
13481 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13482 "return_value_unimplemented". When an unimplemented struct return
13483 architecture, report incorrect values as a KFAIL
13484
374451f0
MC
134852003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13486
13487 * gdb.cp/rtti.exp: Accept new wording of warning from
13488 cp_lookup_rtti_type.
13489
ba9b20a7
MC
134902003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13491
13492 Partial fix for PR testsuite/1456.
13493 * gdb.base/scope.exp (test_at_main): Replace references to
13494 gcc_compiled with calls to test_compiler_info.
13495 (test_at_foo): Likewise.
13496 (test_at_bar): Likewise.
13497
b74b6d0b
MC
134982003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13499
13500 Partial fix for PR testsuite/1456.
13501 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13502 to test_compiler_info.
13503
ccfa3402
MC
135042003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13505
13506 * gdb.base/so-impl-ld.exp: Update copyright notice.
13507
f6246aba
MC
135082003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13509
13510 Partial fix for PR testsuite/1456.
13511 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13512 to test_compiler_info.
13513
13ae734a
MC
135142003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13515
13516 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13517 from current versions of gdb. Clean up regular expressions.
13518 Delete redundant timeout case.
13519
d8e1cdee
MC
135202003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13521
13522 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13523 from current versions of gdb. Clean up regular expressions.
13524 Delete redundant timeout case.
13525
96457b64
MC
135262003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13527
13528 Partial fix for PR testsuite/1456.
13529 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13530 gcc_compiled with call to test_compiler_info.
13531
f35309fc
MC
135322003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13533
13534 Partial fix for PR testsuite/1456.
13535 * gdb.base/list.exp (test_list_function): Delete unused declaration
13536 of gcc_compiled.
13537
d7afdf9b
MC
135382003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13539
13540 Partial fix for PR testsuite/1456.
13541 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13542 call to test_compiler_info.
13543
71507b56
MK
135442003-11-29 Mark Kettenis <kettenis@gnu.org>
13545
13546 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13547 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13548 it to create the appropriate note.inc.
13549 * gdb.asm/asmsrc1.s: Include "note.inc".
13550 * gdb.asm/netbsd.inc: New file.
13551 * gdb.asm/empty.inc: New file.
13552
f81f93f7
MC
135532003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13554
13555 Partial fix for PR testsuite/1456.
13556 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13557 calls to test_compiler_info.
13558
9a77938e
MC
135592003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13560
13561 Partial fix for PR testsuite/1456.
13562 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13563 calls to test_compiler_info.
13564
e8367dc7
MK
135652003-11-27 Mark Kettenis <kettenis@gnu.org>
13566
13567 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13568 pattern for the KFAILs.
13569
526c61ee
AF
135702003-11-25 Adam Fedor <fedor@gnu.org>
13571
13572 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13573 * gdb.objc/objcdecode.m: New file.
13574
28f2d600
AF
135752003-11-25 Adam Fedor <fedor@gnu.org>
13576
13577 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13578 * gdb.objc/nondebug.m: New file.
13579
a3895cee
BE
135802003-11-26 Ben Elliston <bje@wasabisystems.com>
13581
13582 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13583 NetBSD as it does on FreeBSD. Modelled on a similar change by
13584 Mark Kettenis on 2003-05-30.
13585 (link-flags): Set to "--entry _start" regardless of target.
13586 Special linker flags are to be appended to $link-flags.
13587 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13588
c9f2c8a3
MC
135892003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13590
13591 * gdb.cp/method.exp: Accept output of new demangler.
13592
15a0587a 135932003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
13594
13595 * gdb/class2.exp: New file.
13596 * gdb/class2.cc: New file.
13597
3c00b570
MC
135982003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13599
13600 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13601 of new demangler.
13602
7027acc7
MK
136032003-11-23 Mark Kettenis <kettenis@gnu.org>
13604
13605 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13606 of gdb_test "run".
13607
b0e1598a
MK
136082003-11-23 Mark Kettenis <kettenis@gnu.org>
13609
13610 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13611 "continue" into "run".
13612
4d9eda44
MC
136132003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13614
13615 Partial fix for PR testsuite/1456.
13616 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13617 call to test_compiler_info.
13618 * gdb.cp/ctti.exp: Likewise.
13619 * gdb.cp/derivation.exp: Likewise.
13620 * gdb.cp/member-ptr.exp: Likewise.
13621 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13622 reference to gcc_compiled.
13623
136242003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
13625
13626 Fix PR testsuite/1463.
13627 * gdb.base/structs.exp (start_structs_test): Call
13628 get_debug_format before using the debug format.
13629
d422fe19
AC
136302003-11-22 Andrew Cagney <cagney@redhat.com>
13631
13632 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13633 * gdb.base/structs.exp: Use gdb_test_multiple.
13634
039cf96d
AC
136352003-11-20 Andrew Cagney <cagney@redhat.com>
13636
6882279b
AC
13637 * gdb.base/structs.exp: Handle and recover from internal errors.
13638 Replace "foo${n}" with "foo<n>" in test messages.
13639
e53890ae
AC
13640 * gdb.base/structs.exp: Update copyright. Rewrite.
13641 * gdb.base/structs.c: Update copyright. Rewrite.
13642
2b211c59
AC
13643 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13644 resync count exceeded.
d63a86f8 13645
039cf96d
AC
13646 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13647 from the internal error.
13648 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13649 Original from Jim Blandy.
13650 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 13651
eac98b22
AC
136522003-11-19 Andrew Cagney <cagney@redhat.com>
13653
13654 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13655 KFAIL.
13656
67455b2a
MK
136572003-11-17 Mark Kettenis <kettenis@gnu.org>
13658
13659 New testcase for PR backtrace/1435.
13660 * gdb.arch/i386-unwind.exp: New file.
13661 * gdb.arch/i386-unwind.c: New file.
13662
853d6e5b
AC
136632003-11-17 Andrew Cagney <cagney@redhat.com>
13664
13665 * lib/gdb.exp (compiler_info): New global.
13666 (test_compiler_info): New function.
13667 (get_compiler_info): Set compiler_info.
13668 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13669 "compiler_info" to gcc-<major>-<minor>.
13670
38cf6e11
MC
136712003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13672
13673 * gdb.trace/configure: Remove.
13674
a50d3602
EZ
136752003-11-13 Elena Zannoni <ezannoni@redhat.com>
13676
13677 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 13678 breakpoints.
a50d3602
EZ
13679 * gdb.base/break.exp: Remove all references to explicit line
13680 numbers.
13681
d9407aaa
NC
136822003-11-11 Nick Clifton <nickc@redhat.com>
13683
13684 * gdb.base/shreloc.exp: Do not run for targets which do not
13685 support shared objects.
13686
db488fc1
CV
136872003-11-10 Corinna Vinschen <vinschen@redhat.com>
13688
13689 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13690 Don't run tests if nofileio flag is given.
13691
6a90a18e
EZ
136922003-11-07 Elena Zannoni <ezannoni@redhat.com>
13693
13694 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 13695 as well as 'Watchpoint'.
6a90a18e 13696
0b915e9c
EZ
136972003-11-06 Elena Zannoni <ezannoni@redhat.com>
13698
13699 Reported by Jim Ingham <jingham@apple.com>:
13700 * gdb.base/annota1.exp: Match at least one occurrence of the
13701 signal handler annotation.
13702
d7e4b55f
EZ
137032003-11-06 Elena Zannoni <ezannoni@redhat.com>
13704
a9c64011
AS
13705 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13706 as well as 'Watchpoint'.
d7e4b55f 13707
2fe4e8d0
MC
137082003-11-05 Michael Chastain <mec@shout.net>
13709
13710 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13711
6ef88553
KW
137122003-11-03 Kris Warkentin <kewarken@qnx.com>
13713
13714 * gdb.arch/gdb1291.c: New test file.
13715 * gdb.arch/gdb1291.exp: New test script.
13716 * gdb.arch/gdb1431.c: New test file.
13717 * gdb.arch/gdb1431.exp: New test script.
13718
ae7dc4d8
MC
137192003-10-22 Michael Chastain <mec@shout.net>
13720
13721 * gdb.mi/pthreads.c: Add copyright notice.
13722
c39d7427
MC
137232003-10-22 Michael Chastain <mec@shout.net>
13724
13725 * gdb.threads/pthreads.c: Add copyright notice.
13726
8b7d96c1
MC
137272003-10-20 Michael Chastain <mec@shout.net>
13728
13729 * gdb.base/gdb1056.exp: New test script.
13730
d1d69fdd
DJ
137312003-10-13 Daniel Jacobowitz <drow@mvista.com>
13732
13733 * gdb.threads/killed.exp: Use gdb_run_cmd.
13734
7d605576
DJ
137352003-10-13 Daniel Jacobowitz <drow@mvista.com>
13736
13737 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13738 create a core file.
13739 * gdb.threads/gcore-thread.exp: Likewise.
13740
618ec112
CV
137412003-10-13 Corinna Vinschen <vinschen@redhat.com>
13742
13743 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13744 type, based on char type.
13745 (struct bit_flags_short_t): New bitfield type, based on short type.
13746 (init_bit_flags_char): New fuction.
13747 (init_bit_flags_short): Ditto.
13748 (print_bit_flags_char): Ditto.
13749 (print_bit_flags_short): Ditto.
13750 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13751
9367a73c
MC
137522003-10-11 Michael Chastain <mec@shout.net>
13753
13754 * gdb.base/call-rt-st.exp: Update copyright year.
13755
1decf120
KI
137562003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13757
13758 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13759 * gdb.disasm/sh3.s: Ditto.
13760
5445b2ae
DJ
137612003-10-07 Daniel Jacobowitz <drow@mvista.com>
13762
13763 * gdb.threads/switch-threads.exp: New test.
13764 * gdb.threads/switch-threads.c: New source file.
13765
aec24853
CV
137662003-10-07 Corinna Vinschen <vinschen@redhat.com>
13767
13768 * gdb.base/ending-run.exp: Add sh specific case.
13769
adc7428d
AC
137702003-10-06 Andrew Cagney <cagney@redhat.com>
13771
13772 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13773 * gdb.disasm/mn10200.exp: Delete obsolete file.
13774
c9d37158
DJ
137752003-09-29 Daniel Jacobowitz <drow@mvista.com>
13776
13777 * ChangeLog: Correct an entry command.exp -> commands.exp.
13778 * gdb.base/commands.exp (bp_deleted_in_command_test)
13779 (temporary_breakpoint_commands): Check noargs.
13780
79c2c32d
DC
137812003-09-25 David Carlton <carlton@kealia.com>
13782
13783 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13784 of some print tests, where appropriate. Add tests for C::D::cd,
13785 E::ce, F::cXfX, G::XgX.
13786 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13787
594e6d67
RE
137882003-09-25 Richard Earnshaw <rearnsha@arm.com>
13789
13790 * lib/java.exp (java_init): Import target_alias before using it.
13791
10f0d451
DC
137922003-09-25 David Carlton <carlton@kealia.com>
13793
13794 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13795
274bcba0
EZ
137962003-09-23 Elena Zannoni <ezannoni@redhat.com>
13797
d63a86f8 13798 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 13799 weirdness.
274bcba0 13800
cdbf20f7
MC
138012003-09-17 Michael Chastain <mec@shout.net>
13802
13803 * gdb.cp/gdb1355.exp: New file.
13804 * gdb.cp/gdb1355.c: New file.
13805
71e06f80
CV
138062003-09-15 Corinna Vinschen <vinschen@redhat.com>
13807
13808 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13809 * gdb.asm/sh.inc: New file.
13810
5c4e30ca
DC
138112003-09-11 David Carlton <carlton@kealia.com>
13812
bd45b7af
DC
13813 * gdb.cp/namespace.exp: Add tests for namespace types.
13814 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
13815 (test_namespace): New.
13816
1c199746
EZ
138172003-09-11 Elena Zannoni <ezannoni@redhat.com>
13818
a9c64011 13819 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 13820 * gdb.stabs/weird.exp: Ditto.
1c199746 13821
04ed252f
MC
138222003-09-08 Michael Chastain <mec@shout.net>
13823
13824 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13825
d8a2d9e7
MC
138262003-09-07 Michael Chastain <mec@shout.net>
13827
13828 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13829 'parse error'.
13830
161afb24
MK
138312003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13832
13833 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13834
49f2741a
MC
138352003-08-30 Michael Chastain <mec@shout.net>
13836
13837 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13838 * gdb.gdb/observer.exp: Ditto.
13839 * gdb.gdb/xfullpath.exp: Ditto.
13840
8afa723e
MK
138412003-08-29 Mark Kettenis <kettenis@gnu.org>
13842
13843 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13844 *-*-*bsd*.
13845
f31dfe3b
JJ
138462003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13847
13848 * gdb.base/dump.exp: Skip for ia64.
13849
4630e498
JJ
138502003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13851
13852 * gdb.asm/asm-source.exp: Add ia64 support.
13853 * gdb.asm/ia64.inc: New file.
13854
1105b7ef
MC
138552003-08-22 Michael Chastain <mec@shout.net>
13856
13857 * gdb.cp: New directory.
13858 * gdb.cp/*: Copy from gdb.c++/*.
13859 * gdb.c++/*: Remove.
13860 * Makefile.in: Change gdb.c++ to gdb.cp.
13861 * configure.in: Ditto.
13862 * configure: Regnerate.
13863
c945b932
MK
138642003-08-18 Mark Kettenis <kettenis@gnu.org>
13865
13866 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13867 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13868
2b66634b
DJ
138692003-08-17 Daniel Jacobowitz <drow@mvista.com>
13870
13871 * mi-var-display.exp (-var-list-children weird): Accept function
13872 pointers with argument types.
13873 * mi1-var-display.exp (-var-list-children weird): Likewise.
13874 * mi2-var-display.exp (-var-list-children weird): Likewise.
13875
a356f73b
DJ
138762003-08-17 Daniel Jacobowitz <drow@mvista.com>
13877
13878 * gdb.base/annota3.exp: Add missing newline.
13879
483417b8
MC
138802003-08-06 Michael Chastain <mec@shout.net>
13881
13882 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13883
c99c59c3
MS
138842003-08-12 Michael Snyder <msnyder@redhat.com>
13885
13886 * gdb.base/float.exp: Add test for SH.
13887
55ed7501
MK
138882003-08-10 Mark Kettenis <kettenis@gnu.org>
13889
13890 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13891
1a371f2e
EZ
138922003-08-07 Elena Zannoni <ezannoni@redhat.com>
13893
13894 * gdb.base/completion.exp: Remove reduntant completion test
13895 on filename.
13896
e0f353ce
EZ
138972003-08-07 Elena Zannoni <ezannoni@redhat.com>
13898
a9c64011
AS
13899 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13900 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13901 gdb.trace/save-trace.exp: Make sure that full pathnames are
13902 escaped correctly.
e0f353ce 13903
5710a1af 139042003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 13905
a9c64011
AS
13906 * configure.in: Don't generate config.h from config.hin.
13907 * configure: Regenerate.
13908 * config.hin: Remove file.
13909 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13910 * gdb.threads/pthreads.c: Ditto.
5710a1af 13911
dcd81ce9
DJ
139122003-08-07 Daniel Jacobowitz <drow@mvista.com>
13913
13914 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13915 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13916 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13917 Replace ld24 with seth/add3.
13918
6009d884
AC
139192003-08-02 Andrew Cagney <cagney@redhat.com>
13920
13921 * gdb.base/annota3.exp: New file.
13922 * gdb.base/annota3.c: New file.
13923 * gdb.c++/annota3.exp: New file.
13924 * gdb.c++/annota3.cc: New file.
13925
51514e06
MC
139262003-07-29 Michael Chastain <mec@shout.net>
13927
13928 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13929 actually failed.
13930 (do_pass): Likewise.
13931 * gdb.threads/tls.exp: Always initialize no_of_threads.
13932
4ee6625b
DJ
139332003-07-27 Daniel Jacobowitz <drow@mvista.com>
13934
13935 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13936 pattern.
13937 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13938 * gdb.threads/tls.exp: Recognize one case of the host library not
13939 supporting TLS.
13940
225f2bf6
AC
139412003-07-27 Andrew Cagney <cagney@redhat.com>
13942
13943 * gdb.base/fileio.exp: Use SH when running commands using
13944 remote_exec.
13945
bcb27c9f
DJ
139462003-07-24 Daniel Jacobowitz <drow@mvista.com>
13947
13948 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13949 * gdb.base/relocate.c (dummy): New padding array.
13950
3d67be83
MS
139512003-07-22 Michael Snyder <msnyder@redhat.com>
13952
d63a86f8 13953 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
13954
13955 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13956 patterns to be more general, accepting old and new output.
13957 Some output chars (such as '+') also must be quoted.
d63a86f8 13958 Some addresses are displayed numerically instead of
3d67be83
MS
13959 symbolically.
13960
57ba3b85
MS
139612003-07-23 Michael Snyder <msnyder@redhat.com>
13962
686d097c
MS
13963 * gdb.base/return2.exp: Don't test long-long return.
13964
57ba3b85
MS
13965 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13966 * gdb.disasm/t01_mov.exp: Ditto.
13967 * gdb.disasm/t02_mova.s: Ditto.
13968 * gdb.disasm/t02_mova.exp: Ditto.
13969 * gdb.disasm/t03_add.s: Ditto.
13970 * gdb.disasm/t03_add.exp: Ditto.
13971 * gdb.disasm/t04_sub.s: Ditto.
13972 * gdb.disasm/t04_sub.exp: Ditto.
13973 * gdb.disasm/t05_cmp.s: Ditto.
13974 * gdb.disasm/t05_cmp.exp: Ditto.
13975 * gdb.disasm/t06_ari2.s: Ditto.
13976 * gdb.disasm/t06_ari2.exp: Ditto.
13977 * gdb.disasm/t07_ari3.s: Ditto.
13978 * gdb.disasm/t07_ari3.exp: Ditto.
13979 * gdb.disasm/t08_or.s: Ditto.
13980 * gdb.disasm/t08_or.exp: Ditto.
13981 * gdb.disasm/t09_xor.s: Ditto.
13982 * gdb.disasm/t09_xor.exp: Ditto.
13983 * gdb.disasm/t10_and.s: Ditto.
13984 * gdb.disasm/t10_and.exp: Ditto.
13985 * gdb.disasm/t11_logs.s: Ditto.
13986 * gdb.disasm/t11_logs.exp: Ditto.
13987 * gdb.disasm/t12_bit.s: Ditto.
13988 * gdb.disasm/t12_bit.exp: Ditto.
13989 * gdb.disasm/t13_otr.s: Ditto.
13990 * gdb.disasm/t13_otr.exp: Ditto.
13991
e00759ef
EZ
139922003-07-22 Elena Zannoni <ezannoni@redhat.com>
13993
13994 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13995
8bc2021f
EZ
139962003-07-22 Elena Zannoni <ezannoni@redhat.com>
13997
a9c64011
AS
13998 * gdb.threads/tls.c : New file.
13999 * gdb.threads/tls.exp : New file.
14000 * gdb.threads/tls-main.c : New file.
14001 * gdb.threads/tls-shared.c : New file.
14002 * gdb.threads/tls-shared.exp : New file.
8bc2021f 14003
89320c4c
AS
140042003-07-22 Andreas Schwab <schwab@suse.de>
14005
14006 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14007
180dea7c
AS
140082003-07-20 Andreas Schwab <schwab@suse.de>
14009
14010 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14011 due to insn reordering.
14012
0714963c
AC
140132003-07-15 Andrew Cagney <cagney@redhat.com>
14014
14015 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14016
98a23b3f
MC
140172003-07-15 Michael Chastain <mec@shout.net>
14018
14019 * gdb.base/gdb1250.exp: New file.
14020 * gdb.base/gdb1250.c: New file.
14021
27e417a2
ML
140222003-07-09 Michal Ludvig <mludvig@suse.cz>
14023
14024 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14025 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14026
8bc2021f
EZ
140272003-07-09 Elena Zannoni <ezannoni@redhat.com>
14028
a9c64011
AS
14029 * gdb.threads/tls.c: New file.
14030 * gdb.threads/tls.exp: New file.
14031 * gdb.threads/tls-main.c: New file.
14032 * gdb.threads/tls-shared.c: New file.
14033 * gdb.threads/tls-shared.exp: New file.
8bc2021f 14034
d99968dc
EZ
140352003-07-09 Elena Zannoni <ezannoni@redhat.com>
14036
14037 * gdb.base/annota1.exp: Make sure that we properly escape the
14038 full path of the source file. Xfail more permissive patterns,
d63a86f8 14039 due to a compiler debug info problem.
d99968dc 14040
83876b3b
AS
140412003-07-07 Andreas Schwab <schwab@suse.de>
14042
2705e972
AS
14043 * gdb.asm/m68k.inc: New file.
14044 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14045
83876b3b
AS
14046 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14047 arguments"): Also match negative number.
14048
14049 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14050
3a871b37
DJ
140512003-07-03 Daniel Jacobowitz <drow@mvista.com>
14052
14053 * gdb.base/store.c (charest): New typedef.
14054 (add_char): Rename to add_charest, update.
14055 (wack_char): Rename to wack_charest, update types. Return l + r
14056 to keep r live across the call.
14057 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14058 (wack_double, wack_doublest): Return l + r to keep r live across
14059 the call.
14060 * gdb.base/store.exp: Accomodate store.c changes.
14061
b2a7f303
DC
140622003-06-30 David Carlton <carlton@kealia.com>
14063
14064 * gdb.c++/maint.exp (test_invalid_name): New.
14065 (test_first_component): Add tests for invalid names.
14066
3c6cb4a1
MC
140672003-06-29 Michael Chastain <mec@shout.net>
14068
14069 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14070 output of '<VTT for class>' for virtual base classes.
14071
f1c2644b
DJ
140722003-06-29 Daniel Jacobowitz <drow@mvista.com>
14073
14074 * gdb.base/completion.exp: Tab-complete "complet" instead of
14075 "compl".
14076 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14077
18080350
DJ
140782003-06-29 Daniel Jacobowitz <drow@mvista.com>
14079
14080 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14081 * gdb.base/volatile.exp: Likewise.
14082
f56973f8
DJ
140832003-06-29 Daniel Jacobowitz <drow@mvista.com>
14084
14085 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14086 gdb/1265.
14087
140882003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
14089 Daniel Jacobowitz <drow@mvista.com>
14090
14091 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14092 initial line count of 'captured_main' from 26 to 32.
14093 (test_with_self): Allow xmalloc call to be interleaved with the
14094 preceding two lines.
14095
e766d4d6
JB
140962003-06-24 Joel Brobecker <brobecker@gnat.com>
14097
14098 * gdb.base/bang.exp: New testcase.
14099
f125c9a4
JB
141002003-06-23 Joel Brobecker <brobecker@gnat.com>
14101
14102 * gdb.base/langs.exp: Add some tests for the "minimal" language
14103 support.
14104
6e25beaf
EZ
141052003-06-23 Elena Zannoni <ezannoni@redhat.com>
14106
14107 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14108 the testcase.
14109
2f816dda
DJ
141102003-06-22 Daniel Jacobowitz <drow@mvista.com>
14111
14112 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14113 offset.
14114
db5a5748
DJ
141152003-06-22 Daniel Jacobowitz <drow@mvista.com>
14116
14117 * gdb.c++/pr-1210.cc: New file.
14118 * gdb.c++/pr-1210.exp: New file.
14119
1df0c130
DJ
141202003-06-21 Daniel Jacobowitz <drow@mvista.com>
14121
14122 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14123 000-exec-continue.
14124
a92feac0
MK
141252003-06-15 Mark Kettenis <kettenis@gnu.org>
14126
14127 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14128 on *-*-*bsd* instead of *-*-freebsd*.
14129
81a58f5b
AC
141302003-06-14 Andrew Cagney <cagney@redhat.com>
14131
14132 * gdb.base/store.exp: Test longest and doublest. Test all
14133 parameters. Weaken return statement match.
14134 * gdb.base/store.c: Add longest and doublest - aka long long and
14135 long double functions. Put all parameters into local register
14136 variables. Use negative values.
14137
b257a0d3
AC
141382003-06-14 Andrew Cagney <cagney@redhat.com>
14139
14140 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14141 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14142 exit status.
14143 * gdb.base/fileio.exp: Disable target when nointerrupts and
14144 noinferiorio, instead of limiting it to remote. Use remote_exec
14145 instead of system.
d63a86f8 14146
21c38304
JJ
141472003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14148
14149 * gdb.base/float.exp: Add ia64 support.
14150
1bcdb424
CV
141512003-06-12 Corinna Vinschen <vinschen@redhat.com>
14152
14153 * gdb.base/fileio.exp: Run only on remote targets.
14154
6aeb981f
CV
141552003-06-10 Corinna Vinschen <vinschen@redhat.com>
14156
14157 * gdb.base/fileio.c: New file, testing File-I/O.
14158 * gdb.base/fileio.exp: Ditto.
14159
53df362e
RG
141602003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14161
14162 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14163 shared objects after relocation at load time (gdb PR/1132).
14164 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 14165 as above, part of the shared object relocation test.
53df362e 14166
ffee1b46
MK
141672003-06-08 Mark Kettenis <kettenis@gnu.org>
14168
b5ca3722
MK
14169 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14170 fully filled history list.
14171 * gdb.base/gdb_history: New file.
14172
03ed860d
MK
14173 * gdb.base/signals.exp: XFAIL "continue to func1" on
14174 i*86-*-freebsd*.
14175
ffee1b46
MK
14176 * gdb.base/attach.exp: When trying to attach to a nonexistent
14177 process, make it possible to specify the PID based on the target,
14178 and do so for *-*-freebsd*.
14179
d80dbb52
RH
141802003-06-02 Richard Henderson <rth@redhat.com>
14181
14182 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14183
6dd77b81
RH
141842003-06-02 Richard Henderson <rth@redhat.com>
14185
14186 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14187
f6347e16
RH
141882003-06-02 Richard Henderson <rth@redhat.com>
14189
14190 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14191
2c161407
DJ
141922003-06-01 Daniel Jacobowitz <drow@mvista.com>
14193
14194 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14195 of globalvar.
14196
572eb746
MK
141972003-06-01 Mark Kettenis <kettenis@gnu.org>
14198
14199 * gdb.asm/asm-source.exp: Check for memory read errors in
14200 disassembler test on *BSD too.
14201
9e9617a5
RH
142022003-06-01 Richard Henderson <rth@redhat.com>
14203
14204 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14205 for .frame.
14206 (gdbasm_call): Lose ldgp.
14207 (gdbasm_startup): Add frame information.
14208 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14209
7b34ad4e
MK
142102003-05-31 Mark Kettenis <kettenis@gnu.org>
14211
14212 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14213 i?86-*-*.
14214
10059fdf
MK
142152003-05-30 Mark Kettenis <kettenis@gnu.org>
14216
14217 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14218 FreeBSD.
14219
acf4b816
RH
142202003-05-29 Richard Henderson <rth@redhat.com>
14221
14222 * gdb.asm/alpha.inc: New file.
14223 * gdb.asm/asm-source.exp: Use it.
14224
e9ecd949
JB
142252003-05-29 Jim Blandy <jimb@redhat.com>
14226
14227 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14228 'core.PID'.
14229
e3e5a4f3
JB
142302003-05-22 Jim Blandy <jimb@redhat.com>
14231
14232 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14233 backtrace.
d63a86f8 14234
72fe3d25
DC
142352003-05-20 David Carlton <carlton@math.stanford.edu>
14236
14237 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14238 this time.
14239
58da2eb2
DC
142402003-05-19 David Carlton <carlton@bactrian.org>
14241
14242 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14243 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14244
1fcb5155
DC
142452003-05-19 David Carlton <carlton@bactrian.org>
14246
14247 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14248 namespace tests.
14249 Bump copyright date.
14250 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14251 (main): Call C::D::marker2.
14252 * gdb.c++/namespace1.cc: New file.
14253
85e85163
JJ
142542003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14255
14256 Roland McGrath <roland@redhat.com>
d63a86f8 14257 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
14258 there is no manager thread.
14259
a25fbfec
JJ
142602003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14261
d63a86f8
RM
14262 * gdb.threads/schedlock.exp: Remove assumption that all threads
14263 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
14264 in one of the child threads rather than the main thread.
14265
be375bae
JB
142662003-05-07 Jim Blandy <jimb@redhat.com>
14267
09bf6082
JB
14268 Add support for assembly source testing on the s390x.
14269 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14270 architecture.
14271 * gdb.asm/s390x.inc: New file.
14272
be375bae
JB
14273 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14274 succession of 'if' statements.
14275
00905d52
AC
142762003-05-05 Andrew Cagney <cagney@redhat.com>
14277
14278 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14279
b1e29e33
AC
142802003-05-05 Andrew Cagney <cagney@redhat.com>
14281
14282 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14283 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14284
e33d66ec
EZ
142852003-05-02 Elena Zannoni <ezannoni@redhat.com>
14286
14287 * gdb.base/charset.exp: Update based on new behavior of set/show
14288 charset commands.
14289
2b6fd0d8
AC
142902003-05-01 Andrew Cagney <cagney@redhat.com>
14291
14292 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14293 variable do not give memory errors.
14294
130cacce
AF
142952003-04-30 Adam Fedor <fedor@gnu.org>
14296
14297 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14298 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14299 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14300 gdb.objc/basicclass.m: : New files
14301
14302 * lib/gdb.exp (gdb_compile_objc): New procedure.
14303
bea71854
DJ
143042003-04-27 Daniel Jacobowitz <drow@mvista.com>
14305
14306 * gdb.base/signals.exp: Make backtrace tests more specific.
14307
0f20eeea
DC
143082003-04-23 David Carlton <carlton@bactrian.org>
14309
14310 * gdb.c++/maint.exp (test_first_component): Add tests for
14311 'operator' in more locations.
14312
c8c4d8dc
KB
143132003-04-16 Kevin Buettner <kevinb@redhat.com>
14314
14315 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14316
3fe60e3c
EZ
143172003-04-16 Elena Zannoni <ezannoni@redhat.com>
14318
14319 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 14320 func marke' instead. Update test name.
3fe60e3c 14321
9219021c
DC
143222003-04-15 David Carlton <carlton@math.stanford.edu>
14323
14324 * gdb.c++/maint.exp: New file.
14325
5dd55bdd
EZ
143262003-04-14 Elena Zannoni <ezannoni@redhat.com>
14327
14328 * gdb.threads/schedlock.c: Change type of thread function argument
14329 to long, to avoid warnings on 64-bit platforms.
14330
00890572
EZ
143312003-04-14 Elena Zannoni <ezannoni@redhat.com>
14332
a9c64011
AS
14333 * gdb.base/attach.exp: Add new message from ptrace in case of
14334 attaching to nonexistent process.
d63a86f8 14335
93201743
JB
143362003-04-11 Jim Blandy <jimb@redhat.com>
14337
14338 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14339 gdb.c++/userdef.cc: Place comments on the lines to which the
14340 marker function might return.
14341 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14342 gdb.c++/userdef.exp: Look for those comments to check that we've
14343 returned to the right place, instead of checking line numbers.
14344
2a11c64d
EZ
143452003-04-11 Elena Zannoni <ezannoni@redhat.com>
14346
a9c64011
AS
14347 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14348 match on sourcefile name, instead of directory name.
2a11c64d 14349
68ab8fc5
EZ
143502003-04-10 Elena Zannoni <ezannoni@redhat.com>
14351
d63a86f8 14352 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
14353 working directory name.
14354
5624293a
JB
143552003-04-09 Jim Blandy <jimb@redhat.com>
14356
14357 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14358 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14359 after an inferior function call, report the failure, but allow the
14360 test to continue.
14361
f1f02ee4
SC
143622003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14363
14364 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14365 with -DPROTOTYPES.
14366
6eb79af0
SC
143672003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14368
14369 * gdb.base/break.exp: Revert last patch.
14370
8dfb4cf0
SC
143712003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14372
14373 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14374 with -DPROTOTYPES.
14375
ed4c619a
AC
143762003-04-02 Andrew Cagney <cagney@redhat.com>
14377
14378 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14379 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14380 matching directories by the name breakpoint.
14381 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14382 Make "continue to marker1" consistent.
14383 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14384 message consistent.
14385 * lib/gdb.exp: Put "the program is no longer running", and "the
14386 program exited" in parenthesis.
14387 * lib/mi-support.exp: Ditto.
d63a86f8 14388
4e35d5f0 143892003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 14390
4e35d5f0
BR
14391 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14392
71900fe8
AC
143932003-03-29 Andrew Cagney <cagney@redhat.com>
14394
14395 * gdb.base/sizeof.c (main): Print the value of '\377'.
14396 * gdb.base/sizeof.exp: Check the sign of '\377'.
14397
c0655a16
MC
143982003-03-27 Michael Chastain <mec@shout.net>
14399
14400 * gdb.base/gdb1090.exp: New file.
14401 * gdb.base/gdb1090.cc: New file.
14402
5b2a3989
JB
144032003-03-27 J. Brobecker <brobecker@gnat.com>
14404
14405 * gdb.gdb/observer.exp: New regression test.
14406
79876890
MC
144072003-03-27 Michael Chastain <mec@shout.net>
14408
14409 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14410 * gdb.base/ptype.exp: Likewise.
14411
6eac95e3
CV
144122003-03-27 Corinna Vinschen <vinschen@redhat.com>
14413
14414 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14415
e8c71839
MC
144162003-03-26 Michael Chastain <mec@shout.net>
14417
14418 * gdb.base/ptype.exp: Actually use some typedef'd types.
14419
71b10041
SC
144202003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14421
14422 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14423 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14424
2512cf80
CV
144252003-03-20 Corinna Vinschen <vinschen@redhat.com>
14426
14427 * gdb.base/default.exp: Fix regular expression.
14428
0d195a4f
CV
144292003-03-20 Corinna Vinschen <vinschen@redhat.com>
14430
14431 * gdb.base/args.exp: Fix regular expression.
14432
8a2dbca8
CV
144332003-03-20 Corinna Vinschen <vinschen@redhat.com>
14434
14435 * gdb.base/help.exp: Allow Win32 child process.
14436
bf028682
CV
144372003-03-20 Corinna Vinschen <vinschen@redhat.com>
14438
14439 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14440 when stepping out of main().
14441
182dbe85
CV
144422003-03-20 Corinna Vinschen <vinschen@redhat.com>
14443
14444 * gdb.base/default.exp: Check for win32 specific message when calling
14445 "run" without executable.
14446
d67a6ba5
CV
144472003-03-20 Corinna Vinschen <vinschen@redhat.com>
14448
14449 * gdb.base/args.exp: Expect .exe in output.
14450
a955b5bb
CV
144512003-03-20 Corinna Vinschen <vinschen@redhat.com>
14452
14453 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14454 Cygwin native.
14455
bf6bad4b
AC
144562003-03-17 Andrew Cagney <cagney@redhat.com>
14457
14458 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14459 vector registes.
14460 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14461 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14462
293e9a31
DC
144632003-03-17 David Carlton <carlton@math.stanford.edu>
14464
14465 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14466 test, for PR breakpoints/38.
14467 Call test_watchpoint_and_breakpoint.
14468 * gdb.base/watchpoint.c (func3): New function.
14469 (main): Call func3.
14470
5330f2db
DC
144712003-03-04 David Carlton <carlton@math.stanford.edu>
14472
14473 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14474 Garply<Garply<char> >:: garply".
14475 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14476 with respect to PR c++/1111; note also PR c++/1113.
14477 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14478 respect to PR c++/1062.
14479 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14480
6ece72da
DC
144812003-03-03 David Carlton <carlton@math.stanford.edu>
14482
14483 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14484 with respect to PR c++/57.
14485 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14486 c++/826.
14487 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14488 respect to PR c++/57.
14489
85ca1584
DC
144902003-03-03 David Carlton <carlton@math.stanford.edu>
14491
14492 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14493 respect to PR c++/33 into FAILs.
14494
98e9c5b8
MC
144952003-03-03 Michael Chastain <mec@shout.net>
14496
7bedbf27
MC
14497 * configure.in: Update copyright years.
14498
144992003-03-03 Michael Chastain <mec@shout.net>
14500
14501 * Makefile.in: Update copyright years.
98e9c5b8 14502
f683e100
DC
145032003-02-28 David Carlton <carlton@math.stanford.edu>
14504
14505 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14506 print class instead of struct and/or superfluous protection
14507 specifiers, as long as the resulting output is equivalent to the
14508 source code.
14509 Delete FIXME from end of messages on tests that don't need
14510 fixing.
14511
a9e0cf2c
DC
145122003-02-28 David Carlton <carlton@math.stanford.edu>
14513
14514 * gdb.c++/templates.exp (do_tests): Allow const in the two
14515 Foo<volatile char *>::foo tests.
14516
e8d359df
MS
145172003-02-27 Michael Snyder <msnyder@redhat.com>
14518
d63a86f8 14519 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
14520 will be consistant.
14521
0b71dc91
DC
145222003-02-26 David Carlton <carlton@math.stanford.edu>
14523
14524 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14525 char *>::foo" test with respect to PR c++/33. Create a new test
14526 which is identical to that one except that it doesn't put the
14527 space between the "char" and the "*"; KFAIL it, too.
14528
dd14ab43
DC
145292003-02-26 David Carlton <carlton@math.stanford.edu>
14530
14531 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14532 template types into either PASSes or KFAILs (corresponding to PR
14533 c++/57). Tweak indentation. Update copyright.
14534
1146c7f1
SC
145352003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14536
14537 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14538
74641dfb
MC
145392003-02-13 Michael Chastain <mec@shout.net>
14540
14541 * gdb.base/exprs.exp: Remove i960 remnants.
14542 * gdb.base/funcargs.exp: Likewise.
14543 * gdb.base/list.exp: Likewise.
14544 * gdb.base/ptype.exp: Likewise.
14545
559cd2d0
DC
145462003-02-14 David Carlton <carlton@math.stanford.edu>
14547
14548 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14549 pEe->D::vg()" from XFAIL to KFAIL.
14550
c4f90d87
JM
145512003-02-13 Jason Molenda (jmolenda@apple.com)
14552
14553 * gdb.base/maint.exp: Update maint print statistics regexp to include
14554 new entries.
14555
cbc4d97c
MC
145562003-02-13 Michael Chastain <mec@shout.net>
14557
14558 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14559
40f235b7
MC
145602003-02-12 Michael Chastain <mec@shout.net>
14561
14562 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14563 * gdb.c++/inherit.exp: Likewise.
14564 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14565 * gdb.c++/templates.exp: Likewise.
14566 * gdb.c++/virtfunc.exp: Likewise.
14567
c56716b0
JM
145682003-02-06 Jason Molenda (jason-cl@molenda.com)
14569
14570 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14571 why the code is written that way.
14572
070afcf8
MC
145732003-02-05 Michael Chastain <mec@shout.net>
14574
14575 * gdb.base/dump.exp: Add missing copyright line.
14576
5d0331e5
JM
145772003-02-05 Jason Molenda (jason-cl@molenda.com)
14578
f7ae6d3e 14579 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
14580 at the beginning so the breakpoint doesn't get set on the loop.
14581
92851186
MC
145822003-02-05 Michael Chastain <mec@shout.net>
14583
14584 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14585 output for configurations with gcc 2.95.3.
14586
cbf1e085
AC
145872003-02-05 Keith Seitz <keiths@redhat.com>
14588 Andrew Cagney <ac131313@redhat.com>
14589
14590 * gdb.mi/mi-cli.exp: New file.
d63a86f8 14591
29518e1e
MC
145922003-02-04 Michael Chastain <mec@shout.net>
14593
14594 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14595 Call perror and then continue.
14596
5af1d5f3
MC
145972003-02-03 Michael Chastain <mec@shout.net>
14598
14599 * gdb.c++/pr-1023.cc: New file.
14600 * gdb.c++/pr-1023.exp: New file.
14601
6b549786
JB
146022003-02-05 Jim Blandy <jimb@redhat.com>
14603
14604 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14605 it's local to foobar. Check for it there, and check that it's not
14606 present in main.
14607 * gdb.c++/local.cc (marker2): New function.
14608 (foobar): Call marker1.
14609 (main): Call marker2 instead of marker1.
14610
67f16606
AC
146112003-02-04 Andrew Cagney <ac131313@redhat.com>
14612
14613 * gdb.disasm/mn10200.exp: Obsolete file.
14614 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14615 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14616 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14617
1c5cb38e
DC
146182003-02-04 David Carlton <carlton@math.stanford.edu>
14619
14620 * gdb.c++/overload.exp: Test intToChar(1).
14621 * gdb.c++/overload.cc (intToChar): New.
14622 (main): Call intToChar.
14623
d1fe6965
DC
146242003-02-03 David Carlton <carlton@math.stanford.edu>
14625
14626 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14627 'might_kfail' arg.
14628 KFAIL some of the continue_to_bp_overloaded calls, according to
14629 PR c++/1025.
14630
9ba61c5d
MC
146312003-02-01 Michael Chastain <mec@shout.net>
14632
14633 * gdb.base/advance.c (marker1): New marker function.
14634 * gdb.base/advance.exp: When the 'advance' command lands on the
14635 return breakpoint, it can legitimately stop on either the
14636 current line or the next line. Accommodate both outcomes.
14637 * gdb.base/until.exp: Likewise.
14638
e7494ffb
AC
146392003-02-02 Andrew Cagney <ac131313@redhat.com>
14640
14641 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14642 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14643 now a list, not a tuple.
14644 * gdb.mi/mi-var-display.exp: Ditto.
14645 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 14646
075559bc
AC
146472003-02-01 Andrew Cagney <ac131313@redhat.com>
14648
14649 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
14650 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14651 stack backtraces.
14652 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 14653
2bd4c7b1
MK
146542003-02-01 Mark Kettenis <kettenis@gnu.org>
14655
14656 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14657 gdb.mi/mi1-pthreads.exp: Return instead of calling
14658 gdb_suppress_entire_file.
14659
eabd8992
MS
146602003-02-01 Mark Salter <msalter@redhat.com>
14661
14662 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14663
71469e2f
MS
146642003-01-31 Mark Salter <msalter@redhat.com>
14665
14666 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14667 Support empty arg.
14668
38a94d44
MC
146692003-01-30 Michael Chastain <mec@shout.net>
14670
14671 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14672 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14673 has been fixed in gdb/readline on 2003-01-09.
14674
19ea9e73
MS
146752003-01-29 Michael Snyder <msnyder@redhat.com>
14676
e8d359df
MS
14677 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14678 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
14679 * gdb.base/args.exp: Skip if target does not support args passing.
14680
2307bd6a
DJ
146812003-01-22 Daniel Jacobowitz <drow@mvista.com>
14682
19ea9e73 14683 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
14684 gdb_test. Accept a list of expect arguments as the third
14685 parameter.
14686 (gdb_test): Use it.
14687
f2dd3617
EZ
146882003-01-20 Elena Zannoni <ezannoni@redhat.com>
14689
14690 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14691 allow for different test tree configurations. Update some
14692 tescases accordingly.
14693 * gdb.arch/altivec-regs.exp: Ditto.
14694 * gdb.asm/asm-source.exp: Ditto.
14695 * gdb.base/advance.exp: Ditto.
14696 * gdb.base/display.exp: Ditto.
d63a86f8 14697 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
14698 * gdb.base/mips_pro.exp: Ditto.
14699 * gdb.base/overlays.exp: Ditto.
14700 * gdb.base/relocate.exp: Ditto.
14701 * gdb.base/setshow.exp: Ditto.
14702 * gdb.base/step-line.exp: Ditto.
14703 * gdb.base/step-test.exp: Ditto.
14704 * gdb.base/until.exp: Ditto.
14705 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14706
c71cdefd
DC
147072003-01-17 David Carlton <carlton@math.stanford.edu>
14708
14709 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14710 corresponding to PR c++/945.
14711 Update copyright.
14712
fdba05d7
DC
147132003-01-17 David Carlton <carlton@math.stanford.edu>
14714
14715 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14716 corresponding to PR c++/68.
14717
147182003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
14719
14720 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14721 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14722 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14723
c362c33a
EZ
147242003-01-15 Elena Zannoni <ezannoni@redhat.com>
14725
0fbc361c
EZ
14726 * gdb.base/break.exp: Fix change of default location, because of
14727 removal of until tests.
14728 * gdb.base/help.exp: Update test for new 'until' help message.
14729 Add test for help on 'advance'.
a9c64011 14730 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 14731
dabf8a35
MK
147322003-01-15 Mark Kettenis <kettenis@gnu.org>
14733
14734 * gdb.base/default.exp: Adapt "info float" test for recent changes
14735 to that command. Add test for "info vector".
14736 * gdb.base/float.exp: New file. Add test for "info float" that
14737 resembles the old test in gdb.base/default.exp.
14738
a1769aca
DC
147392003-01-15 David Carlton <carlton@math.stanford.edu>
14740
14741 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14742
82025e13
EZ
147432003-01-15 Elena Zannoni <ezannoni@redhat.com>
14744
14745 * gdb.base/break.exp: Move the tests of until command from here...
14746 * gdb.base/until.exp: ... to here. New file. Add other tests.
14747 * gdb.base/advance.c: New file.
14748 * gdb.base/advance.exp: New file.
14749
8f9ab801
EZ
147502003-01-14 Elena Zannoni <ezannoni@redhat.com>
14751
a9c64011
AS
14752 * gdb.base/args.c: New file.
14753 * gdb.base/args.exp: New file.
8f9ab801 14754
9ae66589
DJ
147552003-01-14 Daniel Jacobowitz <drow@mvista.com>
14756
14757 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14758
8d77e5c3
DJ
147592003-01-14 Daniel Jacobowitz <drow@mvista.com>
14760
14761 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14762
12d2f0a1
DJ
147632003-01-14 Daniel Jacobowitz <drow@mvista.com>
14764
14765 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14766 dates.
14767
6ca37014
DJ
147682003-01-13 Daniel Jacobowitz <drow@mvista.com>
14769
14770 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14771
b0023472
DJ
147722003-01-13 Daniel Jacobowitz <drow@mvista.com>
14773
14774 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14775 (ptype &*"foo").
14776 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14777
607fbc54 147782003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
14779
14780 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14781 * gdb.mi/mi1-console.exp: Likewise.
14782
607fbc54 147832003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
14784
14785 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14786 * gdb.mi/mi1-console.exp: Likewise.
14787
a1fb14a2
DJ
147882003-01-13 Daniel Jacobowitz <drow@mvista.com>
14789
14790 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14791
c4cf40b7
DJ
147922003-01-09 Daniel Jacobowitz <drow@mvista.com>
14793
14794 * gdb.base/detach.exp: New test.
14795
696d5a5b
DJ
147962003-01-09 Daniel Jacobowitz <drow@mvista.com>
14797
14798 * Makefile.in (ALL_SUBDIRS): New variable.
14799 (subdirs, clean, distclean): Use it.
14800 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14801 regenerating Makefile, since it is generated from the top level.
14802 * gdb.asm/Makefile.in: Likewise.
14803 * gdb.base/Makefile.in: Likewise.
14804 * gdb.c++/Makefile.in: Likewise.
14805 * gdb.disasm/Makefile.in: Likewise.
14806 * gdb.java/Makefile.in: Likewise.
14807 * gdb.mi/Makefile.in: Likewise.
14808 * gdb.threads/Makefile.in: Likewise.
14809 * gdb.trace/Makefile.in: Likewise.
14810
754533e4
DC
148112003-01-09 David Carlton <carlton@math.stanford.edu>
14812
14813 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14814 Add copyright year 2003.
14815
d8b3e9ee
MC
148162003-01-06 Michael Chastain <mec@shout.net>
14817
14818 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14819 When selecting a thread, 'line' and 'file' are optional.
14820 * gdb.mi/mi1-pthreads.exp: Likewise.
14821
8e9e0fe6
AS
148222003-01-06 Andreas Schwab <schwab@suse.de>
14823
14824 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14825 failures.
14826
b5ab8ff3
DJ
148272003-01-04 Daniel Jacobowitz <drow@mvista.com>
14828
14829 Fix PR gdb/844
14830 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14831 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14832
14833 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14834 instead of calling gdb_suppress_entire_file.
14835 * gdb.threads/print-threads.exp: Likewise.
14836 * gdb.threads/schedlock.exp: Likewise.
14837
14838 * gdb.threads/killed.exp: Return instead of calling
14839 gdb_suppress_entire_file.
14840 * gdb.threads/linux-dp.exp: Likewise.
14841 * gdb.threads/pthreads.exp: Likewise.
14842
1e698235
DJ
148432003-01-04 Daniel Jacobowitz <drow@mvista.com>
14844
14845 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14846 stabs.
14847 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14848 * gdb.base/whatis.exp: Always allow (void) after function names.
14849
147ff08c
DJ
148502003-01-04 Daniel Jacobowitz <drow@mvista.com>
14851
14852 * gdb.c++/casts.exp: Correct regexp.
14853
dc62bfc2
MK
148542003-01-04 Mark Kettenis <kettenis@gnu.org>
14855
14856 * configure.in: Call AC_CONFIG_HEADER. Don't call
14857 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14858 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14859 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14860 aforementioned directories in the AC_OUPUT call.
14861 * config.hin: New file.
14862 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14863 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14864 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14865 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14866 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14867 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14868 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14869 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14870 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14871 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14872 gdb.threads/configure.in, gdb.threads/configure,
14873 gdb.threads/config.in, gdb.trace/configure.in,
14874 gdb.trace/configure: Removed.
14875
77afa639
MC
148762003-01-03 Michael Chastain <mec@shout.net>
14877
14878 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14879 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14880
7634bb6e
DJ
148812003-01-03 Daniel Jacobowitz <drow@mvista.com>
14882
14883 * gdb.base/store.exp: Fix regular expressions.
14884
b39c905e
MK
148852002-12-28 Mark Kettenis <kettenis@gnu.org>
14886
14887 * configure.in: Rewrite.
14888 * configure: Regenerated.
14889
0a8551dd
DC
148902003-01-03 David Carlton <carlton@math.stanford.edu>
14891
14892 * gdb.base/psymtab.exp: New file.
14893 * gdb.base/psymtab1.c: Ditto.
14894 * gdb.base/psymtab2.c: Ditto.
14895
c60b7188
AF
148962002-12-23 Adam Fedor <fedor@gnu.org>
14897
14898 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14899
ee73db83
DC
149002002-12-23 David Carlton <carlton@math.stanford.edu>
14901
14902 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14903 and current_directory initialization.
14904
d6c1774e
JB
149052002-12-22 Jim Blandy <jimb@redhat.com>
14906
f0a847b8
JB
14907 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14908 rather than as part of the output file name.
14909
d6c1774e
JB
14910 * gdb.base/attach.exp: There's no need to copy the test program to
14911 /tmp; that was only ever necessary on HP/UX, and this test is
14912 entirely disabled there anyway.
14913
f0708dbb
JB
149142002-12-21 Jim Blandy <jimb@redhat.com>
14915
4c2acfea
JB
14916 * gdb.c++/psmang.exp: Doc fix.
14917
f0708dbb
JB
14918 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14919 test.
14920
9579e000
DC
149212002-12-20 David Carlton <carlton@math.stanford.edu>
14922
14923 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14924
d1810171
MC
149252002-12-18 Michael Chastain <mec@shout.net>
14926
14927 * gdb.c++/annota2.exp: Add copyright year 2002.
14928
76565097
DC
149292002-12-17 David Carlton <carlton@math.stanford.edu>
14930
14931 * gdb.c++/try_catch.cc: Add marker comments.
14932 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14933 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14934 * gdb.c++/m-static.cc: Ditto.
14935 * gdb.c++/m-static1.cc: Ditto.
14936 * gdb.c++/try_catch.cc: Ditto.
14937
da81390b
JJ
149382002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14939
14940 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14941 to see whether we are using the new -environment-directory
14942 command which resets via -r or the old version of the command
14943 which may prompt the user. Part of fix for gdb/741.
14944
b304d130
AC
149452002-12-13 Andrew Cagney <ac131313@redhat.com>
14946
14947 * gdb.fortran/types.exp: Update obsolete comment.
14948 * gdb.fortran/exprs.exp: Ditto.
14949 * lib/gdb.exp: Delete obsolete code.
14950 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14951 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14952 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14953 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14954 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14955 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14956 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14957 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14958 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14959 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14960 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14961 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14962 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14963 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14964 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14965 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14966 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14967 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14968 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14969 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14970 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14971 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14972 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14973 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14974 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14975 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14976 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14977 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14978 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14979 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14980 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14981 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14982 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14983 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14984 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14985 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14986 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14987
a23b6e6a
DC
149882002-12-11 David Carlton <carlton@math.stanford.edu>
14989
14990 * gdb.c++/m-data.exp: Add test for members that shadow global
14991 variables: see PR gdb/804.
14992 * gdb.c++/m-data.cc: Ditto.
14993
6604731b
DJ
149942002-12-10 Daniel Jacobowitz <drow@mvista.com>
14995
14996 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14997
de46ecd7
DC
149982002-12-06 David Carlton <carlton@math.stanford.edu>
14999
15000 * gdb.base/store.c: Don't declare functions static.
15001
27e829d0
AC
150022002-12-04 Andrew Cagney <ac131313@redhat.com>
15003
15004 * gdb.base/store.exp, gdb.base/store.c: New files.
15005
92806416
DJ
150062002-12-03 Daniel Jacobowitz <drow@mvista.com>
15007
15008 * gdb.base/selftest.exp: Update for current gdb.
15009
3bcbaac5
DJ
150102002-12-03 Daniel Jacobowitz <drow@mvista.com>
15011
15012 * gdb.base/maint.exp: Only dump symbols from one source file
15013 or objfile.
15014
f4f00b1f
DJ
150152002-12-03 Daniel Jacobowitz <drow@mvista.com>
15016
15017 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15018 function call.
15019
f1c8a949
JB
150202002-11-25 Jim Blandy <jimb@redhat.com>
15021
15022 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15023 function appearing in error message.
15024
9e297a97
DJ
150252002-11-21 Daniel Jacobowitz <drow@mvista.com>
15026
15027 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15028
1f312e79
JJ
150292002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15030
d63a86f8
RM
15031 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15032 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
15033 should be in mi console format. This is part of fix for PR gdb/604.
15034
83c31e7d
FN
150352002-09-18 Fernando Nasser <fnasser@redhat.com>
15036
15037 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15038 which explicitly prints the zero offset as "+0".
15039
322b3f65
DJ
150402002-10-22 Daniel Jacobowitz <drow@mvista.com>
15041
15042 * gdb.threads/schedlock.c (args): Make unsigned.
15043
150442002-10-21 Daniel Jacobowitz <drow@mvista.com>
15045
15046 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15047 numbers. Allow "foo2|selected stack frame".
15048 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15049 * gdb.asm/asmsrc2.s: Likewise.
15050 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15051 comments.
15052 * gdb.asm/mips.inc: New file.
15053
5e2fe5b8
AF
150542002-10-18 Adam Fedor <fedor@gnu.org>
15055
15056 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15057 * gdb.base/help.exp: Likewise.
15058
abe1a5d0
KB
150592002-10-17 Kevin Buettner <kevinb@redhat.com>
15060
15061 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15062 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15063
10abb1d4
JB
150642002-10-02 Jim Blandy <jimb@redhat.com>
15065
15066 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15067
1f609b42
AC
150682002-10-01 Andrew Cagney <ac131313@redhat.com>
15069
15070 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15071 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15072 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15073 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15074 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15075 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15076 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15077
0aee02e4
AC
150782002-09-29 Andrew Cagney <ac131313@redhat.com>
15079
15080 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15081 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15082 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15083 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15084 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15085 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15086 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 15087
6fde09ad
KB
150882002-09-27 Kevin Buettner <kevinb@redhat.com>
15089
15090 * gdb.base/annota1.exp (info break): Make directory components of
15091 path optional since not all compilers emit this debug information.
15092
889bf7c5
PA
15093 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15094 step ends up stepping out of the function instead of stopping on
15095 the epilogue.
6fde09ad 15096
9e8aab75
KS
150972002-09-26 Keith Seitz <keiths@redhat.com>
15098
15099 * lib/insight-support.exp (gdbtk_start): Figure out where
15100 the insight executable is based on where gdb is. Use this
15101 executable to start insight instead of gdb.
15102
e36180d7
AC
151032002-09-25 Andrew Cagney <cagney@redhat.com>
15104
15105 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15106
9dd34b2b
AC
151072002-09-24 Andrew Cagney <ac131313@redhat.com>
15108
15109 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15110 test_isolated_complaints.
15111 (test_empty_complaint): New function.
15112 (test_empty_complaints): New function. Check no output when no
15113 complaints.
d63a86f8 15114
dea97812
KB
151152002-09-19 Jim Blandy <jimb@redhat.com>
15116
a9c64011 15117 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 15118
54951bd7
AC
151192002-09-19 Andrew Cagney <ac131313@redhat.com>
15120
15121 * gdb.gdb/complaints.exp: New file.
15122
dec43320
AC
151232002-09-18 Andrew Cagney <ac131313@redhat.com>
15124
15125 * gdb.base/maint.exp: Check `help maint internal-warning'.
15126
e70d6e3f
DC
151272002-09-18 David Carlton <carlton@math.stanford.edu>
15128
15129 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15130 numbers, and replace them by a single breakpoint after the
15131 constructors are all finished.
15132 Add test 4.
15133 * gdb.c++/m-static.cc: Add test 4.
15134 * gdb.c++/m-static.h: New file.
15135 * gdb.c++/m-static1.cc: New file.
15136
15137 * gdb.c++/printmethod.exp: New file.
15138 * gdb.c++/printmethod.cc: New file.
15139
15140 * gdb.c++/pr-574.exp: New file.
15141 * gdb.c++/pr-574.cc: New file.
15142
afb5c968
CV
151432002-09-18 Corinna Vinschen <vinschen@redhat.com>
15144
15145 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15146 embedded targets which never actually exit.
15147
31e45dee
FN
151482002-09-18 Fernando Nasser <fnasser@redhat.com>
15149
15150 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15151 "don't step after run" as unresolved or unsupported, instead of xfail.
15152
a283c5a1
CV
151532002-09-18 Corinna Vinschen <vinschen@redhat.com>
15154
15155 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15156 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15157 Add newline to expected string in "step out of main (status wrapper)"
15158 case.
15159
11350d2a
CV
151602002-09-18 Corinna Vinschen <vinschen@redhat.com>
15161
15162 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15163 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15164
0deec7d6
TT
151652002-09-17 Tom Tromey <tromey@redhat.com>
15166
15167 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15168 \000, not \0, in double-quoted string.
15169
b2b4a1b5
CV
151702002-09-14 Corinna Vinschen <vinschen@redhat.com>
15171
c9d37158 15172 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
15173 string after running the commands execution on breakpoint tests.
15174
1c56143a
CV
151752002-09-13 Corinna Vinschen <vinschen@redhat.com>
15176
15177 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15178
37f8da45
JB
151792002-09-12 Joel Brobecker <brobecker@gnat.com>
15180
15181 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15182
08b468e0
KS
151832002-09-10 Keith Seitz <keiths@redhat.com>
15184
15185 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15186 runto proc.
15187 (mi_run_to_main): Use mi_runto.
15188 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15189
dc360f58
KS
151902002-09-10 Keith Seitz <keiths@redhat.com>
15191
15192 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15193 regexp for stopping at main. Could have multiple event notifications.
15194 Don't assume that main was declared with no parameters.
15195 (mi_next): Use mi_step_to.
15196 (mi_step): Use mi_next_to.
15197
ce3abcfb
CV
151982002-09-09 Corinna Vinschen <vinschen@redhat.com>
15199
15200 * gdb.base/default.exp: Fix expected string in `info float' test.
15201
d1f5b980
BE
152022002-09-09 Ben Elliston <bje@redhat.com>
15203
15204 * config/mips.exp: Update comments.
15205 * config/mips-idt.exp: Likewise.
15206 * config/nind.exp: Likewise.
15207 * config/slite.exp: Likewise.
15208 * config/sparclet.exp: Likewise.
15209 * config/udi.exp: Likewise.
15210 * config/vx.exp: Likewise.
15211 * config/vxworks29k.exp: Likewise.
15212
2f71430b
JB
152132002-09-05 Jim Blandy <jimb@redhat.com>
15214
15215 * gdb.threads/killed.exp: Fix test failure message.
15216
7ddebc7e
KS
152172002-09-04 Keith Seitz <keiths@redhat.com>
15218
15219 * lib/mi-support.exp: Update copyright.
15220 (mi_gdb_test): Increase the priority of the expected pattern
15221 so that it matches gdb_test.
15222
0ae67eb3
KS
152232002-09-03 Keith Seitz <keiths@redhat.com>
15224
15225 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15226 Use integer comparison instead of string comparison for testing
15227 whether binary was built.
15228
38fc42c8
JB
152292002-09-03 Jim Blandy <jimb@redhat.com>
15230
15231 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15232
b6ff0e81
JB
152332002-08-29 Jim Blandy <jimb@redhat.com>
15234
15235 * gdb.threads/pthreads.exp: Move the portable thread compilation
15236 code into a function in lib/gdb.exp, and call that from here.
15237 * lib/gdb.exp (gdb_compile_pthreads): New function.
15238
07c98896
KS
152392002-08-29 Keith Seitz <keiths@redhat.com>
15240
15241 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15242 expect_out so that callers can get at it.
15243
0312286c
DJ
152442002-08-23 Daniel Jacobowitz <drow@mvista.com>
15245
15246 * gdb.threads/print-threads.c: New file.
15247 * gdb.threads/print-threads.exp: New file.
15248 * gdb.threads/schedlock.c: New file.
15249 * gdb.threads/schedlock.exp: New file.
15250
dd039bc4
EZ
152512002-08-22 Elena Zannoni <ezannoni@redhat.com>
15252
a9c64011
AS
15253 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15254 not altivec.c.
dd039bc4 15255
1f36144c
MK
152562002-08-17 Mark Kettenis <kettenis@gnu.org>
15257
15258 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15259 targets. The problem should be fixed now.
15260
16057ec7 152612002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
15262
15263 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15264 2002-07-24 change that removes final dots from error messages.
15265
3c1499ad
TT
152662002-08-13 Tom Tromey <tromey@redhat.com>
15267
15268 * gdb.base/readline.exp: New file.
15269
a20ce2c3
AC
152702002-08-01 Andrew Cagney <ac131313@redhat.com>
15271
15272 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15273 supress message.
15274
db034ac5
AC
152752002-08-01 Andrew Cagney <cagney@redhat.com>
15276
15277 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15278 CHILL_FOR_TARGET and CHILL_LIB.
15279 * configure.in (configdirs): Remove gdb.chill.
15280 * configure: Regenerate.
15281 * lib/gdb.exp: Obsolete references to chill.
15282 * gdb.fortran/types.exp: Ditto.
15283 * gdb.fortran/exprs.exp: Ditto.
15284
3e000b18
KB
152852002-07-30 Kevin Buettner <kevinb@redhat.com>
15286
15287 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15288 set Irix-specific compile and link flags.
15289
28f4966b
KB
152902002-07-29 Kevin Buettner <kevinb@redhat.com>
15291
15292 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15293 source files. The ``-o'' option doesn't work with the ``-E'' option
15294 when using the Irix compiler.
15295
46c0d5a6
DJ
152962002-07-19 Daniel Jacobowitz <drow@mvista.com>
15297
15298 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15299 Improve support for reusing an exec file. Copy exec file
15300 to target, and run gdbserver on the target instead of on the host.
15301
eecf4bed
JB
153022002-07-18 Jim Blandy <jimb@redhat.com>
15303
0f815cdf
JB
15304 * gdb.base/ending-run.exp: Don't expect to see the program end in
15305 some orderly fashion when we're running on a real stand-alone
15306 board.
15307
eecf4bed
JB
15308 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15309 targets that don't support interrupts.
15310
52d309e4
JB
153112002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15312
15313 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15314 systems.
15315 Move comments in expect statements to inside the actions, so that they
15316 don't get matched against.
15317
ff683d9e
MK
153182002-07-10 Mark Kettenis <kettenis@gnu.org>
15319
15320 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15321 function when asleep" test.
15322
b5356753
AC
153232002-07-10 Andrew Cagney <ac131313@redhat.com>
15324
15325 * gdb.base/page.exp: Rewrite to handle problems with very long
15326 `info set' output. Update copyright.
15327
6aa4d13a
AC
153282002-06-26 Andrew Cagney <ac131313@redhat.com>
15329
15330 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15331 gdb.threads-hp.
15332 * gdb.hp/configure: Regenerate.
15333 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15334 * gdb.hp/gdb.threads-hp/configure: Delete file.
15335 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15336
8cf8c2b8
AC
153372002-06-22 Andrew Cagney <ac131313@redhat.com>
15338
15339 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15340 setlocale, bindtextdomain and textdomain.
15341
6827a8f8
JB
153422002-06-11 Jim Blandy <jimb@redhat.com>
15343
919d772c
JB
15344 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15345 preprocessor macro information is present.
15346
6827a8f8
JB
15347 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15348 tests.
15349
c15b0d21
MS
153502002-06-06 Michael Snyder <msnyder@redhat.com>
15351
c5984d70
MS
15352 * gdb.base/overlays.exp: Record addresses of overlay
15353 functions in TCL variables rather than in GDB variables,
15354 to avoid having GDB convert them to pointers (with loss
15355 of information).
15356
d63a86f8 15357 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 15358 default linker script changes.
c15b0d21
MS
15359 * gdb.base/long_long.exp: Add check for sizeof (long double).
15360
be26fe0d
ML
153612002-06-06 Michal Ludvig <mludvig@suse.cz>
15362
15363 * gdb.asm/asm-source.exp: Add x86-64 target.
15364 * gdb.asm/x86_64.inc: New.
d63a86f8 15365
258093ca 153662002-05-30 Michael Chastain <mec@shout.net>
258093ca 15367
4b3153f1 15368 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
15369 * gdb.c++/m-static.cc: New file.
15370 * gdb.c++/m-static.exp: New file.
15371
241264c6
MS
153722002-05-28 Michael Snyder <msnyder@redhat.com>
15373
15374 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15375 precision.
15376
9bba8c8f 153772002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 15378
4b3153f1 15379 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
15380 * gdb.c++/m-data.cc: New file.
15381 * gdb.c++/m-data.exp: New file.
15382
153832002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 15384
4b3153f1 15385 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 15386 * gdb.c++/try_catch.cc: New file.
d63a86f8 15387 * gdb.c++/try_catch.exp: New file.
9bba8c8f 15388
def1b996
MC
153892002-05-27 Michael Chastain <mec@shout.net>
15390
15391 * gdb.c++/local.exp: Accept more nested types in output.
15392
522ba268
MC
153932002-05-26 Michael Chastain <mec@shout.net>
15394
15395 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15396
277254ba
MS
153972002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15398
15399 * lib/gdb.exp (gdb_wrapper_init): Just because
15400 gdb_wrapper_file exists, this does not mean that the file
15401 should not be rebuilt. That is what gdb_wrapper_initialized
15402 is for.
15403 (default_gdb_init): Reset gdb_wrapper_initialized.
15404
b61a8733
MS
154052002-05-23 Michael Snyder <msnyder@redhat.com>
15406
d63a86f8 15407 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
15408 the precision of the floating point test results.
15409 * gdb.base/call-rt-st.exp: Ditto.
15410
b61a8733
MS
15411 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15412 * gdb.base/call-rt-st.exp: Ditto.
15413
56f6e910
MC
154142002-05-19 Michael Chastain <mec@shout.net>
15415
15416 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15417
ad0b0016
EZ
154182002-05-19 Elena Zannoni <ezannoni@redhat.com>
15419
a9c64011
AS
15420 * configure.in (configdirs): Add gdb.arch.
15421 * configure: Regenerate.
ad0b0016 15422
f617d2b6
JB
154232002-05-17 Jim Blandy <jimb@redhat.com>
15424
15425 * gdb.base/completion.exp: Recognize the more detailed error
15426 messages produced by the macro expander's lexical analyzer.
15427
eac2a696
EZ
154282002-05-14 Elena Zannoni <ezannoni@redhat.com>
15429
a9c64011
AS
15430 * gdb.arch/altivec-abi.c: New file.
15431 * gdb.arch/altivec-abi.exp: New file.
15432 * gdb.arch/altivec-regs.c: New file.
15433 * gdb.arch/altivec-regs.exp: New file.
eac2a696 15434
2fdde8f8
DJ
154352002-05-14 Daniel Jacobowitz <drow@mvista.com>
15436
15437 * gdb.base/maint.exp (maint print type): Update for new type
15438 structure.
d63a86f8 15439
e31f1a7c
EZ
154402002-05-14 Elena Zannoni <ezannoni@redhat.com>
15441
15442 * gdb.arch: New directory.
15443 * gdb.arch/configure.in: New file.
15444 * gdb.arch/configure: New file.
15445 * gdb.arch/Makefile.in: New file.
15446
db589741
CV
154472002-05-13 Corinna Vinschen <vinschen@redhat.com>
15448
15449 * gdb.asm/asm-source.exp: Add v850 as supported target.
15450 * gdb.asm/v850.inc: New file.
15451
8ce2a7dc
DJ
154522002-05-13 Daniel Jacobowitz <drow@mvista.com>
15453
15454 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15455
df763c7f
DJ
154562002-05-12 Daniel Jacobowitz <drow@mvista.com>
15457
15458 * gdb.base/break.exp: Check 'break "marker2"'.
15459
377daeed
MS
154602002-05-10 Michael Snyder <msnyder@redhat.com>
15461
15462 * gdb.base/long_long.exp: Fix typo.
15463
c4b7bc2b
JB
154642002-05-10 Jim Blandy <jimb@redhat.com>
15465
ecac9a4e
JB
15466 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15467 a bug.
15468
c4b7bc2b
JB
15469 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15470 Recognize more detailed error message produced by the macro
15471 expander's lexical analyzer.
15472 * lib/gdb.exp (test_print_reject): Same.
15473
e71019a1
MK
154742002-05-09 Mark Kettenis <kettenis@gnu.org>
15475
15476 * gdb.c++/method.exp: Fix typo.
15477
fedfc8e6
MS
154782002-05-08 Michael Snyder <msnyder@redhat.com>
15479
166a1957
MS
15480 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15481 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 15482 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
15483 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15484 Add iftarget clause for strongarm.
d63a86f8 15485
f1c47eb2
MS
154862002-05-06 Michael Snyder <msnyder@redhat.com>
15487
cb9a9d3e
MS
15488 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15489 (gdb_continue_to_end): Accept output from status wrapper.
15490 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15491 Clean up fail messages to match pass messages.
15492
f1c47eb2
MS
15493 Enable the "needs_status_wrapper" testsuite feature.
15494 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15495 (gdb_compile): Conditionally call gdb_wrapper_init.
15496 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15497 * gdb.c++/method.exp: Recognize output from status wrapper.
15498
6079c749
BE
154992002-05-06 Ben Elliston <bje@redhat.com>
15500From Graydon Hoare <graydon@redhat.com>
15501
15502 * config/sid.exp: Include support for "rawsid" protocol.
15503
188baff3
JB
155042002-05-03 Jim Blandy <jimb@redhat.com>
15505
15506 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15507 * gdb.c++/hang3.C: New file.
15508
b9c07f0f
AC
155092002-05-04 Andrew Cagney <ac131313@redhat.com>
15510
15511 * gdb.base/default.exp: Remove obsolete code.
15512 * gdb.c++/misc.exp: Ditto. Update copyright.
15513 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15514 * gdb.base/whatis.exp: Ditto. Update copyright.
15515 * gdb.base/scope.exp: Ditto. Update copyright.
15516 * gdb.base/ptype.exp: Ditto. Update copyright.
15517 * gdb.base/printcmds.exp: Ditto. Update copyright.
15518 * gdb.base/opaque.exp: Ditto. Update copyright.
15519 * gdb.base/list.exp: Ditto.
15520 * gdb.base/funcargs.exp: Ditto. Update copyright.
15521 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15522 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15523 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15524 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15525 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15526 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15527
5c7a0397
MS
155282002-05-02 Michael Snyder <msnyder@redhat.com>
15529
d6dcc264 15530 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
15531 * gdb.base/long_long.exp: Add xscale target.
15532 * gdb.base/default.exp: Add xscale target.
15533
eb7f1c48
JB
155342002-05-01 Jim Blandy <jimb@redhat.com>
15535
15536 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15537 gdb.c++/hang.exp: New test.
15538
a6befae8
FF
155392002-05-01 Fred Fish <fnf@redhat.com>
15540
15541 * gdb.base/completion.exp: Handle completions of "./Make" for
15542 more than one completion possibility, as is the case when we
15543 build and test in the source tree.
15544
0a310277
AG
155452002-04-29 Anthony Green <green@redhat.com>
15546
15547 * gdb.java/jmisc1.exp: New file.
15548 * gdb.java/jmisc2.exp: New file.
15549
6ff9af88
DJ
155502002-04-24 Daniel Jacobowitz <drow@mvista.com>
15551
15552 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15553
96b3d632
EZ
155542002-04-23 Elena Zannoni <ezannoni@redhat.com>
15555
15556 * gdb.base/help.exp: Change 'help status' to allow for target
15557 dependent output differences.
15558
5019bb54
MC
155592002-04-22 Michael Chastain <mec@shout.net>
15560
15561 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15562
a805a116
MC
155632002-04-22 Michael Chastain <mec@shout.net>
15564
15565 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15566
a1706bfd
DM
155672002-04-17 David S. Miller <davem@redhat.com>
15568
15569 * gdb.asm/sparc64.inc: New file.
15570 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15571
a73a20a2
EZ
155722002-04-19 Elena Zannoni <ezannoni@redhat.com>
15573
15574 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15575 instruction file directly into the build tree. Clean up at end of
15576 test.
15577
ba678339
DM
155782002-04-18 David S. Miller <davem@redhat.com>
15579
15580 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15581 handle 64-bit platforms correctly.
15582 * gdb.base/maint.exp: Likewise.
15583
b03399da
KB
155842002-04-18 Kevin Buettner <kevinb@redhat.com>
15585
15586 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15587 ``-fpic'' when compiling files comprising a shared library, but
15588 it does need additional linker flags in order to find shared
15589 libraries at run time.
15590
e2004992
KB
155912002-04-18 Kevin Buettner <kevinb@redhat.com>
15592
15593 * gdb.base/cvexpr.c (use): New function.
15594 (main): Invoke use() on all global variables to prevent
15595 some linkers from deleting these otherwise unused symbols.
15596
d8937120
MC
155972002-04-17 Michael Chastain <mec@shout.net>
15598From David S. Miller <davem@redhat.com>
15599
15600 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15601 handle 64-bit platforms correctly.
15602
ffd61a58
MS
156032002-04-12 Michael Snyder <msnyder@redhat.com>
15604From Jim Blandy <jimb@redhat.com>
a9c64011 15605 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
15606 script can handle this instead.
15607 * gdb.base/bar.c (barx): Same.
15608 * gdb.base/baz.c (bazx): Same.
15609 * gdb.base/grbx.c (grbxx): Same.
15610
15611 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15612 manager doesn't automatically unmap overlays unnecessarily.
15613
6b8426a6
MH
156142002-04-10 Martin M. Hunt <hunt@redhat.com>
15615
15616 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15617 stepping out of main.
15618
34af4875
MC
156192002-04-09 Michael Chastain <mec@shout.net>
15620
15621 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15622 scope so that the nested scope tests will make sense.
15623 * gdb.c++/local.exp: Write patterns that actually work with gcc
15624 (the HP patterns "were never known to work with gcc").
15625 Keep the old aCC patterns too.
15626
2d1676a0
DJ
156272002-04-09 Daniel Jacobowitz <drow@mvista.com>
15628
15629 * gdb.base/attach.exp: Correct target board test.
15630
3a63e3f9
MC
156312002-04-08 Michael Chastain <mec@shout.net>
15632
15633 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15634 in a const method. Add some xfail and fail cases for configurations
15635 that do not emit the "const ...".
15636
f18dabd2
MC
156372002-04-07 Michael Chastain <mec@shout.net>
15638
15639 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15640 Accept "A * const" and "const A * const" as type of "this".
15641 Fix spelling of getFunky throughout. Make messages uniform.
15642
0fcddd82
EZ
156432002-04-07 Elena Zannoni <ezannoni@redhat.com>
15644
a9c64011 15645 Work around for PR gdb/285:
0fcddd82
EZ
15646 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15647
16a8534a
EZ
156482002-04-07 Elena Zannoni <ezannoni@redhat.com>
15649
15650 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15651 instructions file at run time instead of configure time.
15652 Sometimes we run the test in a directory that is not the one we
15653 configured in.
15654 * gdb.asm/configure.in: Delete creation of symlink.
15655 * gdb.asm/configure: Regenerate.
15656
24181d81
JB
156572002-04-05 J. Brobecker <brobecker@gnat.com>
15658
15659 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15660 xfullpath () function.
15661
7cdb7107
DJ
156622002-04-04 Daniel Jacobowitz <drow@mvista.com>
15663
15664 * gdb.asm/Makefile.in: Correct dependencies.
15665
15666 * gdb.asm/powerpc.inc: New file.
15667 * gdb.asm/asm-source.exp: Add PowerPC.
15668 * gdb.asm/configure.in: Likewise.
15669 * gdb.asm/configure: Regenerated.
15670
a7d17088
DJ
156712002-04-04 Daniel Jacobowitz <drow@mvista.com>
15672
15673 * gdb.base/relocate.exp: New file.
15674 * gdb.base/relocate.c: New file.
15675
cd721503
FF
156762002-04-04 Fred Fish <fnf@redhat.com>
15677
15678 * gdb.base/step-test.exp: Update comment regarding stopping in
15679 memcpy/bcopy calls inserted as part of the compiler runtime.
15680
b22ad7a7
MS
156812002-04-04 Michael Snyder <msnyder@redhat.com>
15682
15683 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15684
5f279fa6
DJ
156852002-04-03 Daniel Jacobowitz <drow@mvista.com>
15686
15687 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15688 (gdb_expect): Remove $notransfer hack.
15689
dd0fd3ce
DJ
156902002-04-02 Daniel Jacobowitz <drow@mvista.com>
15691
15692 * gdb.c++/classes.exp ("calling method for small class"): Match
15693 updated register output.
15694
1e50cda1
DJ
156952002-03-30 Daniel Jacobowitz <drow@mvista.com>
15696
15697 Fix PR gdb/452
15698 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15699 when finished. Make gdb_file_cmd send "exec-file" when
15700 appropriate.
15701
24015922
DJ
157022002-03-30 Daniel Jacobowitz <drow@mvista.com>
15703
15704 * gdb.base/attach.exp: Remove extra setup_xfail.
15705
dd7dfd64
MS
157062002-03-26 Michael Snyder <msnyder@redhat.com>
15707
15708 * gdb.base/default.exp: Add tests for dump, append, and restore.
15709 * gdb.base/help.exp: Add tests for dump, append, and restore.
15710 * gdb.base/dump.exp: New file, test dump, append and restore.
15711 * gdb.base/dump.c: New file.
15712
48b2f8d7
MS
157132002-03-27 Michael Snyder <msnyder@redhat.com>
15714
d63a86f8 15715 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
15716 clean-ups in help messages.
15717
05b4d525
FF
157182002-03-26 Fred Fish <fnf@redhat.com>
15719
15720 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15721 have debugging info for those functions and the compiler uses them
15722 internally to copy structs around.
15723
d7679631
FF
157242002-03-26 Fred Fish <fnf@redhat.com>
15725
15726 * gdb.base/list.exp: Revert the change made yesterday and add note
15727 about why we don't list the default lines for remote targets.
15728
523ac3f9
MS
157292002-03-25 Michael Snyder <msnyder@redhat.com>
15730
15731 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15732
754b2b8d
FF
157332002-03-25 Fred Fish <fnf@redhat.com>
15734
15735 * gdb.base/list.exp: This test works on remote targets so remove
15736 the short circuit for remote targets. Update copyright.
15737
33c3e192
FF
157382002-03-25 Fred Fish <fnf@redhat.com>
15739
15740 * gdb.base/attach.exp: Fix logic error that was suppressing this
15741 test for all non hppa*-*-hpux* targets, instead of the hp target.
15742 Move comments closer to the suppression point. Also now need to
15743 check that we are running natively.
15744
d43e73ee
MS
157452002-03-22 Michael Snyder <msnyder@redhat.com>
15746
882c8f02
MS
15747 * gdb.base/default.exp: Add test for gcore. Update copyright.
15748 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 15749
04c12f60
FF
157502002-03-06 Fred Fish <fnf@redhat.com>
15751
15752 * gdb.base/funcargs.c: Remove extraneous ';' character.
15753 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15754
b43df995
MC
157552002-03-04 Michael Chastain <mec@shout.net>
15756
15757 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15758 accommodate gcc v3 function signature.
15759 * gdb.mi/mi0-var-cmd-exp: Ditto.
15760
92362027
AC
157612002-02-24 Andrew Cagney <ac131313@redhat.com>
15762
15763 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15764 ``GNU/Linux'' or ``Linux kernel''
15765 * testsuite/gdb.threads/pthreads.c: Ditto.
15766
258ad32d
MC
157672002-02-24 Michael Chastain <mec@shout.net>
15768
15769 * gdb.threads/pthreads.c (thread1): Add a return statement.
15770 (thread2): Likewise.
15771 (foo): Likewise.
15772
04c3b3d4
MC
157732002-02-23 Michael Chastain <mec@shout.net>
15774
15775 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15776 to placate gcc.
15777
5a2a0a20
MC
157782002-02-23 Michael Chastain <mec@shout.net>
15779
15780 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15781 test "ptype bint". The test passes on all my stabs configurations.
15782
a640f7fc
JB
157832002-02-21 Jim Blandy <jimb@redhat.com>
15784
27924826
JB
15785 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15786 filename at a time, and watch for the ones we want to see.
15787
a640f7fc
JB
15788 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15789 types of pointers to prototyped functions.
15790
edcc8c75
AC
157912002-02-20 Andrew Cagney <ac131313@redhat.com>
15792
15793 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15794 signed, unsigned and straight char.
15795 (padding_char, padding_short, padding_int, padding_long,
15796 padding_long_long, padding_float, padding_double,
15797 padding_long_double): New global variables.
15798 (fill, fill_structs): New functions.
15799
15800 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15801 for correctly sized writes. Update copyright.
15802 (get_valueof): New procedure.
15803 (get_sizeof): Call get_valueof.
15804 (check_valueof): New procedure.
15805 (check_padding): New procedure.
15806
ac57ea44
MC
158072002-02-20 Michael Chastain <mec@shout.net>
15808
15809 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15810 to setup_xfail. Document some of the remaining calls.
15811
7a10c941
MC
158122002-02-18 Michael Chastain <mec@shout.net>
15813
15814 * gdb.c++/userdef.exp: Update copyright year.
15815
fb8acdcc
DJ
158162002-02-18 Daniel Jacobowitz <drow@mvista.com>
15817
15818 * gdb.c++/userdef.exp: Test overloaded operators properly.
15819 Remove xfails.
15820
fda6ae12
MS
158212002-02-14 Michael Snyder <msnyder@redhat.com>
15822
15823 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15824
676a0442
DJ
158252002-02-14 Daniel Jacobowitz <drow@mvista.com>
15826
15827 * gdb.base/a2-run.exp: Check for a remote target properly.
15828 * gdb.base/annota1.exp: Likewise.
15829 * gdb.base/list.exp: Likewise.
15830 * gdb.base/reread.exp: Likewise.
15831 * gdb.base/scope.exp: Likewise.
15832 * gdb.base/shlib-call.exp: Likewise.
15833 * gdb.base/term.exp: Likewise.
15834 * gdb.c++/annota2.exp: Likewise.
15835
78b4f468
RE
158362002-02-13 Richard Earnshaw <rearnsha@arm.com>
15837
15838 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15839
9a81ba51
MC
158402002-02-10 Michael Chastain <mec@shout.net>
15841
15842 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15843 (call_after_alloca): Ditto.
15844
004af6c7
DJ
158452002-02-10 Daniel Jacobowitz <drow@mvista.com>
15846
15847 * gdb.base/ending-run.exp: Guard "cont" test with
15848 gdb_skip_stdio_test.
15849
37225f62
JB
158502002-02-06 Jim Blandy <jimb@redhat.com>
15851
15852 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15853 from here...
15854 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15855 To here. Disable this test on non-HP platforms. Add big comment.
15856
fe6fdd96
MS
158572002-02-04 Michael Snyder <msnyder@redhat.com>
15858
15859 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15860 other than d10v and m32r.
15861
036fad3f
RE
158622002-02-02 Richard Earnshaw <rearnsha@arm.com>
15863
15864 * gdb.base/default.exp: Rewrite test patterns to reduce time
15865 taken to match them.
15866
7148ab62
DJ
158672002-01-30 Daniel Jacobowitz <drow@mvista.com>
15868
15869 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15870 Allow a start function above main.
15871 * gdb.threads/linux-dp.exp: Fix copyright date.
15872
396cc255
DJ
158732002-01-30 Daniel Jacobowitz <drow@mvista.com>
15874
a9c64011
AS
15875 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15876 (check_philosopher_stack): Check for manager thread before checking
15877 for a just-starting thread.
396cc255 15878
f038d31b
DJ
158792002-01-30 Daniel Jacobowitz <drow@mvista.com>
15880
15881 From Neil Booth <neil@daikokuya.demon.co.uk>:
15882 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15883 warnings.
15884
b3ff9d9a
FF
158852002-01-21 Fred Fish <fnf@redhat.com>
15886
15887 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15888 not caller.
15889
39ad761d
JB
158902002-01-21 Jim Blandy <jimb@redhat.com>
15891
15892 * gdb.base/reread.exp: Check that GDB properly re-reads the
15893 executable file when it changes while no inferior is running.
15894
aaf320fa
FF
158952002-01-21 Fred Fish <fnf@redhat.com>
15896
a9c64011
AS
15897 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15898 optionally accept the "shlib events" variation.
aaf320fa 15899
808a31f5
JB
159002002-01-21 Jim Blandy <jimb@redhat.com>
15901
15902 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15903 call `fflush' after every `printf', so that the output is produced
15904 at predictable points, regardless of whatever buffering does (or
15905 doesn't) take place.
15906 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15907 at different points.
15908
4420d5e2
DJ
159092002-01-20 Daniel Jacobowitz <drow@mvista.com>
15910
15911 * gdb.c++/inherit.exp: Update copyright years.
15912 * gdb.c++/method.exp: Likewise.
15913
3e36a0f4
DJ
159142002-01-20 Daniel Jacobowitz <drow@mvista.com>
15915
15916 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15917 artificial methods/arguments.
15918 * gdb.c++/derivation.exp: Likewise.
15919 * gdb.c++/inherit.exp: Likewise.
15920 * gdb.c++/method.exp: Likewise.
15921 * gdb.c++/virtfunc.exp: Likewise.
15922
b4ceaee6
AC
159232002-01-18 Andrew Cagney <ac131313@redhat.com>
15924
15925 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15926 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15927 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15928 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15929 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15930 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15931
ecace851
JB
159322002-01-17 Jim Blandy <jimb@redhat.com>
15933
15934 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15935 anchoring the pattern matching the entry point symbol's name.
15936
375fc983
AC
159372002-01-17 Andrew Cagney <ac131313@redhat.com>
15938
15939 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15940 continue/quit query. Update copyright.
15941
fe6fdd96
MS
159422002-01-14 Michael Snyder <msnyder@redhat.com>
15943
15944 * gdb.base/gcore.exp: Remove extra debugging output.
15945
e017c81f
DJ
159462002-01-13 Daniel Jacobowitz <drow@mvista.com>
15947
15948 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15949 for slightly dubious v2 mangled string.
15950
37ab3bf8
DJ
159512002-01-13 Daniel Jacobowitz <drow@mvista.com>
15952
15953 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15954
1bc05c3a 159552002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 15956
1bc05c3a 15957 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 15958
1bc05c3a
JM
15959 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15960 constructors.
15961 * gdb.c++/derivation.exp: Likewise.
15962 * gdb.c++/templates.exp: Likewise.
15963 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 15964
1bc05c3a
JM
159652002-01-10 Michael Snyder <msnyder@redhat.com>
15966
15967 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 15968
a911c360
MS
159692002-01-08 Michael Snyder <msnyder@redhat.com>
15970
15971 * gdb.base/gcore.exp: New test for generate-core-file command.
15972 * gdb.base/gcore.c: Testcase for above.
15973 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15974
ea2119ec
JM
159752002-01-08 Jason Merrill <jason@redhat.com>
15976
15977 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15978
68203136
FF
159792002-01-07 Fred Fish <fnf@redhat.com>
15980
15981 * gdb.c++/overload.exp: Remove unconditional xfails for:
15982 print foo_instance1.overloadargs(1)
15983 print foo_instance1.overloadargs(1, 2)
15984 print foo_instance1.overloadargs(1, 2, 3)
15985 print foo_instance1.overloadargs(1, 2, 3, 4)
15986 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15987 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15988 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15989 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15990 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15991 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15992 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15993 print foo_instance1.overload1arg()
15994 print foo_instance1.overload1arg((char)arg2)
15995 print foo_instance1.overload1arg((signed char)arg3)
15996 print foo_instance1.overload1arg((unsigned char)arg4)
15997 print foo_instance1.overload1arg((int)arg7)
15998 print foo_instance1.overload1arg((unsigned int)arg8)
15999 print foo_instance1.overload1arg((float)arg11)
16000 print foo_instance1.overload1arg((double)arg12)
d63a86f8 16001
21b9b5b1
MS
160022002-01-07 Michael Snyder <msnyder@redhat.com>
16003
16004 * gdb.base/huge.exp: New test. Print a very large target data object.
16005 (skip_huge_test): New test variable. Define if you want to skip this
16006 test. The test reads an 8 megabyte data object from the target, so it
16007 might be very time consuming on remote targets with a slow connection.
16008 * gdb.base/huge.c: New file. Test case for above.
16009
725f922e
FF
160102002-01-07 Fred Fish <fnf@redhat.com>
16011
16012 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16013 g_instance.bfoo, and g_instance.cfoo.
16014
889bf7c5 160152002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 16016
889bf7c5
PA
16017 * gdb.base/break.c (multi_line_if_conditional): New function.
16018 (multi_ilne_while_conditional): Likewise.
16019 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16020 IF or WHILE condition puts the breakpoint at the start of
16021 the condition.
f286b2c3 16022
634d57ec
JL
16023 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16024 hppa*-*-hpux* expected failure.
16025 * gdb.base/structs.exp (do_function_calls): Similarly.
16026
16027 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16028 watchpoints.
16029
9fbfe2dc
AC
160302002-01-06 Andrew Cagney <ac131313@redhat.com>
16031
16032 Fix PR gdb/66.
16033 * gdb.base/structs.exp: Replace skip for a29k with skip for
16034 gdb,cannot_call_functions.
16035 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16036 * gdb.base/callfuncs.exp: Ditto.
16037 * gdb.base/call-rt-st.exp: Ditto.
16038 * gdb.base/call-strs.exp: Ditto.
16039 * gdb.base/callfwmall.exp: Ditto.
16040 * gdb.base/scope.exp: Obsolete xfail a29k.
16041 * gdb.c++/misc.exp: Ditto.
16042 * gdb.c++/cplusfuncs.exp: Ditto.
16043 * gdb.base/ptype.exp: Ditto.
16044 * gdb.base/printcmds.exp: Ditto.
16045 * gdb.base/opaque.exp: Ditto.
16046 * gdb.base/list.exp: Ditto.
16047 * gdb.base/funcargs.exp: Ditto.
16048 * gdb.base/default.exp: Ditto.
16049
8ddad156
MS
160502002-01-04 Michael Snyder <msnyder@redhat.com>
16051
ca4976a6 16052 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
16053 * gdb.base/maint.exp: Add tests for maint info sections options.
16054
1b074332
JL
16055Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16056
16057 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16058
7d159115
CV
160592001-12-20 Corinna Vinschen <vinschen@redhat.com>
16060
16061 * gdb.asm/arm.inc: New file.
16062 * gdb.asm/asm-source.exp: Add arm targets.
16063 * gdb.asm/configure.in: Ditto.
16064 * gdb.asm/configure: Recreated from configure.in.
16065
8fb87725
JL
16066Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16067
afabe08c
JL
16068 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16069 with HP's compiler.
16070 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16071 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16072 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16073 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16074
16075 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16076 either HP's compilers or GCC.
16077
db521deb
JL
16078 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16079 a SIGBUS or SIGSEGV.
16080
16081 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16082
16083 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16084 can be compiled with either HP's compiler or GCC.
16085
cfa88ab7
JL
16086 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16087 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16088 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16089
ca344dff
JL
16090 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16091 to match current gdb output. Update due to using auto-solib-limit
16092 for limiting instead of overloading auto-solib-add.
16093 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16094 test program.
16095
3f3c6e55 16096 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
16097 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16098 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16099 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16100 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16101 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16102 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16103 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16104 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16105 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16106 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16107 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16108 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 16109
8fb87725
JL
16110 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16111 a SIGTRAP to the inferior.
16112
cf599fa7
CV
161132001-12-19 Corinna Vinschen <vinschen@redhat.com>
16114
16115 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16116 Substitute call to target_link by call to gdb_compile.
16117
2cd045cd
JL
16118Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16119
a9c64011
AS
16120 * gdb.base/break.exp: Fix HP specific search string when testing
16121 backtracing in a called function.
2cd045cd 16122
a9c64011
AS
16123 * gdb.base/constvars.exp: Only set lang to C++ if we're
16124 compiling the test with HP's compilers.
16125 * gdb.base/volatile.exp: Similarly.
2cd045cd 16126
99ebe9ac
JB
161272001-12-19 Jim Blandy <jimb@redhat.com>
16128
16129 * gdb.base/printcmds.exp: Expect the null character to be printed
16130 as '\0', and the '\013' to be printed as '\v'.
16131 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16132 * gdb.base/setvar.exp: Same.
16133
b9891b29
JB
161342001-12-17 Jim Blandy <jimb@redhat.com>
16135
0eba65ab
JB
16136 * gdb.base/completion.exp: Rather than completing very long
16137 filenames, which can make the readline library produce output we
16138 don't recognize, cd to the directory first, and then complete
16139 using nice, short relative paths.
16140
6970b5b1
JB
16141 * gdb.base/completion.exp: On some systems, there is, in fact, a
16142 variable named `b' in scope, since GDB treats all static
a9c64011
AS
16143 variables as being in scope. So use `no_var_named_this'
16144 instead of `b'.
6970b5b1 16145
b9891b29 16146 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 16147 can't find the core file's registers as a failure.
b9891b29 16148
e6ccd35f
JSC
161492001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16150
a9c64011
AS
16151 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16152 test expect string more specific.
e6ccd35f 16153
105ba819
CV
161542001-12-13 Corinna Vinschen <vinschen@redhat.com>
16155
16156 * gdb.asm/asm-source.exp: Add support for xstormy16.
16157 * gdb.asm/configure.in: Ditto.
16158 * gdb.asm/configure: Rebuild.
16159 * gdb.asm/xstormy16.inc: New file.
16160
e9e79dd9
FF
161612001-12-10 Fred Fish <fnf@redhat.com>
16162
16163 * gdb.base/maint.exp: Update to match changes in type dumping code.
16164
347dc97d
JB
161652001-12-10 Jim Blandy <jimb@redhat.com>
16166
16167 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
16168 matching the entry point symbol's name at the beginning of the
16169 line.
347dc97d 16170
5178b9d6
DJ
161712001-12-07 Daniel Jacobowitz <drow@mvista.com>
16172
16173 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16174 gdb.c++/inherit.exp, gdb.c++/method.exp,
16175 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16176 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16177 and class layout support.
16178
af890c52
DJ
161792001-12-07 Daniel Jacobowitz <drow@mvista.com>
16180
16181 * gdb.c++/classes.exp: Add test for static member function.
16182 * gdb.c++/misc.cc: Add class with static member function.
16183
7a345fb3
JB
161842001-12-07 Jim Blandy <jimb@redhat.com>
16185
f2e54a80 16186 If GDB says it can't find the struct the function returned, report
8032bf31
JB
16187 those tests as `unsupported'.
16188 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16189 Rewrite subsequent tests to use it.
16190
16191 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
16192 those tests as `unsupported'.
16193 * gdb.base/structs.exp (call_struct_func): New function.
16194 (do_function_calls): Use call_struct_func to call the functions
16195 returning structs.
16196
0bc69509
JB
16197 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16198 whether functions are prototyped or not, so we can't possibly pass
16199 arguments to t_float_values2 properly.
16200
7a345fb3
JB
16201 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16202 value of `timeout' for targets other than the mips*tx39-*.
16203
edb6ede1
MS
162042001-12-06 Michael Snyder <msnyder@redhat.com>
16205
d63a86f8 16206 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
16207 and detect whether the start symbol has a leading underscore.
16208
2d842f13
JB
162092001-12-04 Jim Blandy <jimb@redhat.com>
16210
16211 * gdb.base/completion.exp: Clarify indentation.
16212
68550daf
JB
162132001-12-03 Jim Blandy <jimb@redhat.com>
16214
16215 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16216 variables on the S/390, not `.word'.
16217
cd5195a8
JB
162182001-11-30 Jim Blandy <jimb@redhat.com>
16219
16220 Add assembly-source tests for s390-ibm-linux.
16221 * gdb.asm/s390.inc: New file.
16222 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16223 the S/390 architecture.
a9c64011 16224 * gdb.asm/configure: Regenerated.
cd5195a8 16225
ca9efc90
MS
162262001-11-30 Michael Snyder <msnyder@redhat.com>
16227
16228 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16229 next, info source, info sources, info line, global and static
16230 variables, and static functions.
16231 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16232 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16233 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16234 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16235 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16236 (gdbasm_leave): Restore frame pointer.
16237 (gdbasm_startup): Copy stack set-up from crt0.S.
16238
d0e66976
FN
162392001-11-26 Fernando Nasser <fnasser@redhat.com>
16240
16241 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16242 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16243 to a local (non-static) variable. Copy tstruct.a to a static buffer
16244 and return a pointer to that buffer.
16245 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16246
e2334072
MK
162472001-11-24 Mark Kettenis <kettenis@gnu.org>
16248
16249 * gdb.asm/configure.in: Fix recognition of ix86 target.
16250 * gdb.asm/configure: Regenerate.
16251
756caa3d
MS
162522001-11-21 Michael Snyder <msnyder@redhat.com>
16253
16254 * gdb.asm/sparc.inc: New file.
16255 * gdb.asm/asm-source.exp: Recognize sparc target.
16256 * gdb.asm/configure.in: Recognize sparc target.
16257 * gdb.asm/configure: Regenerate.
d63a86f8 16258
9a4d72d5
MS
162592001-11-21 Michael Snyder <msnyder@redhat.com>
16260
16261 * gdb.asm/m32r.inc: New file.
16262 * gdb.asm/asm-source.exp: Recognize m32r target.
16263 * gdb.asm/configure.in: Recognize m32r target.
16264 * gdb.asm/configure: Regenerate.
16265
a773d1cd
MS
162662001-11-20 Michael Snyder <msnyder@redhat.com>
16267
017ac23d
MS
16268 * gdb.asm/i386.inc: New file.
16269 * gdb.asm/asm-source.exp: Recognize ix86 target.
16270 * gdb.asm/configure.in: Recognize ix86 target.
16271 * gdb.asm/configure: Regenerate.
16272
a773d1cd
MS
16273 * gdb.c++/namespace.exp: Fix quotes in output messages.
16274
bb632afb
MS
162752001-11-14 Michael Snyder <msnyder@redhat.com>
16276
25d559ca 16277 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
16278 qualifier in a type cast expression, to designate an address
16279 in the instruction space (Harvard architecture).
16280
4749e309
MS
162812001-11-13 Michael Snyder <msnyder@redhat.com>
16282
16283 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16284 Tests for expressions using 'const' and 'volatile'.
16285
25050984
CV
162862001-11-13 Corinna Vinschen <vinschen@redhat.com>
16287
16288 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16289
1902c51f
DJ
162902001-11-12 Daniel Jacobowitz <drow@mvista.com>
16291
16292 * lib/mi-support.exp (mi_run_to_helper): Move comments
16293 outside of gdb_expect.
16294
dcf95b47
DJ
162952001-11-11 Daniel Jacobowitz <drow@mvista.com>
16296
16297 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16298 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16299 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16300 mi0_run_to): New functions.
16301 * gdb.mi/mi-simplerun.exp: Use them.
16302 * gdb.mi/mi0-simplerun.exp: Likewise.
16303 * gdb.mi/mi-var-cmd.exp: Likewise.
16304 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 16305
45b074e1
AC
163062001-11-10 Andrew Cagney <ac131313@redhat.com>
16307
16308 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16309 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16310
bf50d346
AC
163112001-11-09 Andrew Cagney <ac131313@redhat.com>
16312
16313 * gdb.base/restore.exp: Include $expected value in restored test
16314 message.
16315
9383332c
AC
163162001-11-09 Andrew Cagney <ac131313@redhat.com>
16317
16318 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16319 implemented.
16320
db62520a
MS
163212001-11-08 Michael Snyder <msnyder@redhat.com>
16322
16323 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16324 Add pass/fail message for stop at breakpoint in call dummy function.
16325
b5703437
MS
163262001-11-07 Michael Snyder <msnyder@redhat.com>
16327
d63a86f8
RM
16328 * gdb.c++/templates.exp (test_template_breakpoints):
16329 If we get an overload menu, but it does not match what
760f6330 16330 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
16331 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16332 making the whitespace optional. Argument for "new" may be
16333 "unsigned" as well as "unsigned int/long".
d63a86f8 16334 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
16335 making the whitespace optional. Also replace "(void) with
16336 "((void|)), making the keyword "void" optional.
d63a86f8 16337 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
16338 making the whitespace optional. Also replace "(void) with
16339 "((void|)), making the keyword "void" optional.
3bf40917
MS
16340 * gdb.base/callfuncs.c (t_float_values): This function must
16341 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 16342 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
16343 can be tested against both cases. Usually one case involves
16344 promotion of float to double, while the other does not.
16345 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
16346 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16347 includes a stack frame for "start".
16348
c8ab4e6d
JB
163492001-11-05 Jim Blandy <jimb@redhat.com>
16350
16351 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16352 pointers are 32 bits long, and that offsets of relocs are always
16353 stored in the data (REL-style), and not in the reloc entry itself
16354 (RELA-style).
16355 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16356 stabs.
16357
3f08ced9
MS
163582001-11-01 Michael Snyder <msnyder@redhat.com>
16359
16360 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16361 and regular expression operators by using quoting.
16362
cbfa24cd
MS
163632001-10-31 Michael Snyder <msnyder@redhat.com>
16364
16365 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16366 depending on what the symbol table contains.
16367 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16368 the output of the ptype command. Similarly, accept both "const &"
16369 and "const&".
16370
aaa68313
CV
163712001-10-31 Corinna Vinschen <vinschen@redhat.com>
16372
16373 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16374 symbol `STORAGE' to allow to choose the storage class of
16375 the local datastructures.
16376 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16377 compiler directive.
16378
91740388
MS
163792001-10-30 Michael Snyder <msnyder@redhat.com>
16380
16381 * gdb.base/jump.exp: Allow it to run for all targets.
16382
1b7c05e7
CV
163832001-10-29 Corinna Vinschen <vinschen@redhat.com>
16384
16385 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16386 with new double_array size.
16387 (main): Change storage class of all local variables to static.
16388 Reduce size of double_array to 9.
16389 * gdb.base/call-ar-st.exp: Increase timeout value.
16390 Change expected output for double array to match new size in
16391 call-ar-st.c.
16392
36a22261
CV
163932001-10-29 Corinna Vinschen <vinschen@redhat.com>
16394
16395 * gdb.base/ending-run.exp: Create identical output when passing
16396 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 16397 Stormy16 target.
36a22261 16398
92b8ae91
MK
163992001-10-28 Mark Kettenis <kettenis@gnu.org>
16400
16401 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16402 that we catch the expected failure under Linux/x86.
16403
cb135b83
OF
164042001-10-29 Orjan Friberg <orjanf@axis.com>
16405
16406 * gdb.base/setvar.exp: Escape curly braces.
16407 * gdb.stabs/weird.exp: Ditto.
16408
6884aa54
DJ
164092001-10-27 Daniel Jacobowitz <drow@mvista.com>
16410
16411 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16412 * gdm.mi/mi0-hack-cli.exp: Likewise.
16413
0398c9aa
AC
164142001-10-25 Andrew Cagney <ac131313@redhat.com>
16415
16416 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16417 messages.
16418
d20bf2e8
AC
164192001-10-21 Andrew Cagney <ac131313@redhat.com>
16420
16421 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16422 checking MI enabled.
16423
03dd63aa
CV
164242001-10-09 Corinna Vinschen <vinschen@redhat.com>
16425
16426 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16427
1d9d99f3
FCE
164282001-10-04 Frank Ch. Eigler <fche@redhat.com>
16429
16430 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16431 if gdb child process crashes, just signal an error.
16432
838ae6c4
JB
164332001-10-02 Jim Blandy <jimb@redhat.com>
16434
16435 * lib/gdb.exp (test_xfail_format): Simplify.
16436
16437 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16438 front of the variable name `format'. Simplify `if'.
16439
8f0cbc1c
DJ
164402001-10-01 Daniel Jacobowitz <drow@mvista.com>
16441
16442 * gdb.threads/pthreads.exp: Wait for output and delay
16443 before sending ^C.
16444
1f08dafd
DJ
164452001-10-01 Daniel Jacobowitz <drow@mvista.com>
16446
16447 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16448 some incorrect output instead of timing out.
16449 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16450
674f90ff
CV
164512001-09-28 Corinna Vinschen <vinschen@redhat.com>
16452
16453 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16454 check to allow additional `int'.
16455
9b284272
DJ
164562001-09-27 Daniel Jacobowitz <drow@mvista.com>
16457
16458 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16459 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16460
b55a4771
MS
164612001-09-27 Michael Snyder <msnyder@redhat.com>
16462
16463 * lib/gdb.exp (test_debug_format): New proc.
16464 (setup_xfail_format): Use new proc test_debug_format.
16465 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16466 proc; use new service proc test_debug_format.
16467 Replace all other "gcc_compiled" tests with this test.
16468 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16469 proc; use new service proc test_debug_format.
16470 Replace all other "gcc_compiled" tests with this test.
16471
164722001-09-27 Michael Snyder <msnyder@redhat.com>
16473
16474 * gdb.base/cvexpr.exp: New file.
16475 * gdb.base/cvexpr.c: New file
16476 Test for expressions using const and volatile keywords.
16477
4e6667ac
CV
164782001-09-26 Corinna Vinschen <vinschen@redhat.com>
16479
16480 * gdb.base/constvars.exp: Check for different orders of keywords
16481 and additional "int" strings in output.
16482
4f337972
AC
164832001-09-22 Andrew Cagney <ac131313@redhat.com>
16484
16485 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16486 responses from "help maint".
16487
2015650d
FCE
164882001-09-19 Frank Ch. Eigler <fche@redhat.com>
16489
16490 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16491 to localhost:NNN instead of :NNN, in case Xvfb is listening
16492 only on TCP.
16493
f3bcedc1
CV
164942001-09-19 Corinna Vinschen <vinschen@redhat.com>
16495
16496 * gdb.base/recurse.exp: When checking leaving the watchpoint
16497 scope, recognize when gdb is in function's epilogue and pass.
16498
6b819c92
KS
164992001-09-18 Keith Seitz <keiths@redhat.com>
16500
16501 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16502 support for running tests against sid targets.
16503 (gdbtk_done): Ditto.
16504
a10c9419
CV
165052001-09-18 Corinna Vinschen <vinschen@redhat.com>
16506
16507 * gdb.base/ending-run.c (main): Set stdout buffersize
16508 to the same reasonable value for any target.
16509 * gdb.base/ending-run.exp: Add a regular expression
16510 to make testsuite happy on Sanyo Stormy16 target.
16511
739d0d99
CV
165122001-09-17 Corinna Vinschen <vinschen@redhat.com>
16513
16514 * gdb.base/display.c (do_loops): Add float variable `f'.
16515 Increment f in loop.
16516 * gdb.base/display.exp: Increment timeout by 60 seconds.
16517 Change float display test to use variable `f'.
16518
1b8947f0
JB
165192001-09-17 Jim Blandy <jimb@redhat.com>
16520
16521 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16522 overflowing the limited breakpoint tables on some ROM monitors
16523 (like the ROM68K).
16524
9890ac81
FCE
165252001-09-15 Frank Ch. Eigler <fche@redhat.com>
16526
16527 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16528 the "-ac" (disable access control) flag.
16529
6db765ea
JH
165302001-08-30 Jeff Holcomb <jeffh@redhat.com>
16531
16532 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16533 ints.
16534
4c32cc04
KS
165352001-08-30 Keith Seitz <keiths@redhat.com>
16536
16537 * lib/gdb.exp: Move all insight-related functionality into
16538 separate file.
16539 * lib/insight-support.exp: New file.
16540
8d6e6f81
FCE
165412001-08-29 Frank Ch. Eigler <fche@redhat.com>
16542
16543 * config/sid.exp (sid_start): Never set sid verbosity; disable
16544 expect_background {} that consumed its stdout; tolerate </dev/null.
16545 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16546
6a90e1d0
AC
165472001-08-18 Andrew Cagney <ac131313@redhat.com>
16548
16549 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16550 CLI jump command to start it.
16551 (mi_run_to_main): Fail immediatly when unexpected output.
16552
1759b3c3
AC
165532001-08-18 Andrew Cagney <ac131313@redhat.com>
16554
16555 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16556 beginning of function. Fix PR gdb/191.
16557
61d11d80
FCE
165582001-08-16 Frank Ch. Eigler <fche@redhat.com>
16559
16560 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16561 what to force sid endianness to.
16562
942a4df2
KS
165632001-08-15 Keith Seitz <keiths@redhat.com>
16564
16565 * lib/gdb.exp (gdbtk_start): Don't set environment
16566 variables for TCL_LIBRARY and friends. Insight will
16567 now figure these out for itself.
16568
0521c418
MS
165692001-08-02 Michael Snyder <msnyder@redhat.com>
16570
16571 * gdb.base/completion.exp: Remove the symbol "a64l" from
16572 the expect string; this is target-specific, and not related
16573 to what is being tested.
16574
74a9a58a
DB
165752001-08-02 Dave Brolley <brolley@redhat.com>
16576
16577 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16578
c70819fa
MS
165792001-07-25 Michael Snyder <msnyder@redhat.com>
16580
c2b8fa57
MS
16581 * gdb.base/consecutive.exp: New file. Test stepping over
16582 breakpoints on consecutive instructions.
16583 * gdb.base/consecutive.c: New file.
16584
c70819fa
MS
16585 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16586 curly braces in regular expressions.
16587
2b1a1355
MS
165882001-07-25 Michael Snyder <msnyder@redhat.com>
16589
16590 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16591 legitimate output from stepping out of main.
16592
413eca6f
KS
165932001-07-22 Keith Seitz <keiths@redhat.com>
16594
16595 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16596 the empty string, do not run the tests.
16597
7e5a9322
SC
165982001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16599
16600 * gdb.base/long_long.exp: Detect size of pointer. Take into
16601 account 2-byte pointers when testing for p/a results.
16602
de58f10f
SC
166032001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16604
d63a86f8 16605 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
16606 and defined to 1K for m68hc11.
16607 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16608 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16609 (sizeof_random_data): New variable to tell the size of the data table;
16610 don't test past this size; always run to main.
16611
d6f5fea1
SC
166122001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16613
16614 * gdb.base/return2.exp: return of long long and double fails for
16615 68HC11; don't execute these tests on that platform.
16616 * gdb.base/return.exp: Return of a double fails for 68hc11.
16617
c477543d
SC
166182001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16619
16620 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16621 tests that print a float.
16622 * call-rt-st.exp: Likewise.
16623
63cf1c79
MK
166242001-07-12 Mark Kettenis <kettenis@gnu.org>
16625
16626 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16627 running this test on Linux.
16628
112f9ab5
MC
166292001-06-24 Michael Chastain <chastain@redhat.com>
16630
16631 * gdb.base/arithmet.exp: Remove some tests to make all test names
16632 unique.
16633
4970cb0f
MS
166342001-07-03 Michael Snyder <msnyder@redhat.com>
16635
16636 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16637 the output of the ptype command.
16638
d85da69f
MS
166392001-07-02 Michael Snyder <msnyder@redhat.com>
16640
4c8a82de
MS
16641 * gdb.base/completion.exp: Don't assume that break.c is the only
16642 source file that may contain functions named "marker".
d85da69f
MS
16643 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16644
8afc772b
AC
166452001-06-28 Andrew Cagney <ac131313@redhat.com>
16646
16647 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16648 of files to delete.
16649
16650 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16651 * gdb.disasm/h8300s.exp: New file.
16652 gdb.disasm/h8300s.s: Likewise.
16653
cff22675
AC
166542001-06-27 Andrew Cagney <ac131313@redhat.com>
16655
16656 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16657 empty breakpoint tables.
16658
68c81b54
AC
166592001-06-25 Andrew Cagney <ac131313@redhat.com>
16660
16661 * lib/mi-support.exp: Update args=... part of stop-reason
16662 patterns. Accept either a list or a tuple.
16663
2dd62704
AC
166642001-06-23 Andrew Cagney <ac131313@redhat.com>
16665
16666 * lib/mi-support.exp: Remove local emacs variable defining
16667 change-log-default-name.
16668
b4127474
MC
166692001-06-22 Michael Chastain <chastain@redhat.com>
16670
16671 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16672 This is operationally compatible with the previous version.
16673
8dbfb380
JB
166742001-06-13 Jim Blandy <jimb@redhat.com>
16675
16676 * lib/gdb.exp (gdb_test): Doc fix.
16677
f2d8c86d
MC
166782001-06-10 Michael Chastain <chastain@redhat.com>
16679
16680 * gdb.base/exprs.exp: Remove a duplicate test.
16681
81564d34
JB
166822001-06-06 Jim Blandy <jimb@redhat.com>
16683
16684 * gdb.base/return2.exp (main): Use values to test float and double
16685 returns that are not NaN's, to avoid being confused by IEEE
16686 comparison rules.
16687
da55addb
MS
166882001-06-04 Michael Snyder <msnyder@redhat.com>
16689
16690 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 16691 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
16692 rather than wait for 12 more tests to time out.
16693
42c65987
JB
166942001-06-06 Jim Blandy <jimb@redhat.com>
16695
b18bced9 16696 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 16697 Don't forget to match the GDB prompt.
b18bced9 16698
42c65987
JB
16699 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16700
5b41e5f0
JB
167012001-06-04 Jim Blandy <jimb@redhat.com>
16702
16703 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16704 command.
16705
015e046f
KB
167062001-05-31 Kevin Buettner <kevinb@redhat.com>
16707
16708 * gdb.base/annota1.exp (info break): Match four or more spaces
16709 after "Address".
16710
fb1ffbbe
MC
167112001-05-31 Michael Chastain <chastain@redhat.com>
16712
16713 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16714 (dm_type_int_star): Likewise.
16715 (dm_type_long_star): Likewise.
16716 (dm_type_void_star): Likewise.
16717
5ea2a32c
KB
167182001-05-29 Kevin Buettner <kevinb@redhat.com>
16719
16720 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16721 to a known value in order to get consistent results regardless
16722 of the setting of INPUTRC or the presence or contents of .inputrc.
16723
ae23c492
MS
167242001-05-24 Michael Snyder <msnyder@redhat.com>
16725
ac55707e
MS
16726 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16727 Don't require that the main thread and the manager thread are the
16728 first in the list.
16729
ae23c492
MS
16730 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16731 debugging. If test fails, issue an "unsupported" not a "fail".
16732
400071f1
JB
167332001-05-24 Jim Blandy <jimb@redhat.com>
16734
16735 Don't assume that short is shorter than int.
16736 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16737 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 16738 this isn't true.
400071f1
JB
16739 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16740 an int, is not equal to ~0 stored in an unsigned char. This tests
16741 the same thing that the previous test meant to, but works on
16742 16-bit machines, too.
16743 ("print unsigned char != (~0)"): Same test, complemented.
16744
0816a3e5
MS
167452001-05-24 Michael Snyder <msnyder@redhat.com>
16746
16747 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 16748 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
16749 and prevents dejagnu getting out of step.
16750
f6dc23a9
KB
167512001-05-23 Kevin Buettner <kevinb@redhat.com>
16752
16753 * gdb.base/finish.exp (finish_void): Revise pattern for
16754 stopping on the call statement to not permit stopping at
16755 the start of the instructions comprising the call sequence.
16756
7dbd117d
MC
167572001-05-19 Michael Chastain <chastain@redhat.com>
16758
16759 * gdb.base/callfuncs.exp: Make all test names unique.
16760 * gdb.base/commands.exp: Make all test names unique.
16761 * gdb.base/condbreak.exp: Make all test names unique.
16762 * gdb.base/dbx.exp: Make all test names unique.
16763 * gdb.base/default.exp: Make all test names unique.
16764 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16765 and TIMEOUT messages to their corresponding PASS message.
16766 * gdb.base/ending-run.exp: Make all test names unique.
16767 * gdb.base/long_long.exp: Remove duplicate test.
16768
6b0b0a9e
KB
167692001-05-21 Kevin Buettner <kevinb@redhat.com>
16770
16771 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16772 stop on the call statement as well as the statement after the
16773 call.
16774
2caa35cb
MS
167752001-05-21 Michael Snyder <msnyder@redhat.com>
16776
16777 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16778
40713331
EZ
167792001-05-10 Elena Zannoni <ezannoni@redhat.com>
16780
a9c64011
AS
16781 * gdb.base/completion.exp: Revamp test. Make it execute on all
16782 platforms.
40713331 16783
c2c1be8d
EZ
167842001-05-10 Elena Zannoni <ezannoni@redhat.com>
16785
a9c64011
AS
16786 * config/gdbserver.exp (gdb_load): Handle the case
16787 in which the arguments to gdbserver are given in the
16788 baseboard configuration file.
16789 Also handle the case in which the server needs to do a
16790 load.
2c9cd303 16791
9671de48
KS
167922001-05-07 Keith Seitz <keiths@cygnus.com>
16793
a9c64011
AS
16794 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16795 set up the display for testing.
16796 (gdbtk_start): Convert all paths to paths that tcl will like.
16797 Export target information to environment.
16798 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16799 necessary.
16800 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16801 (to_tcl_path): New proc to convert a given pathname into
16802 a path acceptible as an argument to a tcl command.
16803 (_gdbtk_export_target_info): New proc to export target info
16804 into the environment for gdbtk testing.
16805 (gdbtk_done): New proc to signal end-of-test.
9671de48 16806
5a360f47
JB
168072001-05-06 Jim Blandy <jimb@redhat.com>
16808
16809 * restore.c: Make the code of caller0 correspond to its comment.
16810
66c756c6
MS
168112001-05-03 Michael Snyder <msnyder@redhat.com>
16812
16813 * config/sid.exp (gdb_target_sid): Check for error messages.
16814 On error or timeout, don't make expect exit (which will terminate
16815 all subsequent tests); instead just make gdb exit.
d63a86f8 16816 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
16817 return a negative value.
16818
a966fde5
JB
168192001-04-24 Jim Blandy <jimb@redhat.com>
16820
851c18e0
JB
16821 * gdb.c++/templates.exp: If we see the prompt for the overload
16822 list, but we haven't recognized any of the longer patterns,
16823 arrange for this test to fail, not hang.
16824
a966fde5
JB
16825 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16826 variations.
16827
db144853
MC
168282001-04-22 Michael Chastain <chastain@redhat.com>
16829
16830 * gdb.c++/local.exp: Use the 'runto' library function.
16831 * gdb.c++/namespace.exp: Likewise.
16832 * gdb.c++/overload.exp: Likewise.
16833
3207ec21
KB
168342001-03-26 Kevin Buettner <kevinb@redhat.com>
16835
16836 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16837 * gdb.base/step-line.exp: New file. Test step/next in presence of
16838 #line directives.
16839 * gdb.base/step-line.c: New file. Test program for the above.
16840 * gdb.base/step-line.inp: New file. We pretend that this file has
16841 been transformed by some other tool into step-line.c.
16842
13b57657
JB
168432001-03-21 Jim Blandy <jimb@redhat.com>
16844
16845 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16846 unmangled operator names.
16847
754cbe1c
JB
168482001-03-20 Jim Blandy <jimb@redhat.com>
16849
16850 * gdb.threads/linux-dp.exp: Recognize an additional message
16851 generated by GDB when it doesn't understand how to debug threads
16852 on the target system.
16853
177495c9
AC
168542001-03-19 Andrew Cagney <ac131313@redhat.com>
16855
16856 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16857
f266096b
MC
168582001-03-12 Michael Chastain <chastain@redhat.com>
16859
16860 * gdb.c++/derivation.exp: Use the 'runto' library function.
16861
cac3c2ff
MC
168622001-03-12 Michael Chastain <chastain@redhat.com>
16863
16864 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16865
b6c11a24
MC
168662001-02-24 Michael Chastain <chastain@redhat.com>
16867
16868 * gdb.c++/ref-types.exp: Change handwritten code to library
16869 function 'runto'.
16870
6bae5bce
OF
168712001-03-16 Orjan Friberg <orjanf@axis.com>
16872
16873 * gdb.base/signals.exp: Set count to 0 explicitly.
16874
0015fd9a
MS
168752001-03-15 Mark Salter <msalter@redhat.com>
16876
16877 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16878 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
16879 (gdb_load): Add support for additional target_info: gdb_download_size
16880 and gdb_load_timeout.
0015fd9a 16881
fc33412a
DT
16882Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16883
16884 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
16885 file -- to prevent failing when the compile fails but we have no
16886 intention of running the tests anyway.
fc33412a
DT
16887
16888 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16889 tests if set.
16890
16891 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 16892 integers.
fc33412a
DT
16893
16894 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16895 * gdb.c++/namespace.exp: Ditto.
16896
115f06de
OF
168972001-03-07 Orjan Friberg <orjanf@axis.com>
16898
16899 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16900 * gdb.base/pointers.exp: Relax pattern match of decimals.
16901
b6ba6518
KB
169022001-03-06 Kevin Buettner <kevinb@redhat.com>
16903
16904 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16905 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16906 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16907 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16908 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16909 config/sh.exp, config/sid.exp, config/slite.exp,
16910 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16911 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16912 config/vxworks.exp, config/vxworks29k.exp,
16913 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16914 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16915 gdb.base/arithmet.exp, gdb.base/assign.exp,
16916 gdb.base/async.exp, gdb.base/attach.exp,
16917 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16918 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16919 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16920 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16921 gdb.base/commands.exp, gdb.base/completion.exp,
16922 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16923 gdb.base/constvars.exp, gdb.base/corefile.exp,
16924 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16925 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16926 gdb.base/ending-run.exp, gdb.base/environ.exp,
16927 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16928 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16929 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16930 gdb.base/funcargs.exp, gdb.base/help.exp,
16931 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16932 gdb.base/logical.exp, gdb.base/long_long.exp,
16933 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16934 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16935 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16936 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16937 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16938 gdb.base/regs.exp, gdb.base/relational.exp,
16939 gdb.base/remote.exp, gdb.base/reread.exp,
16940 gdb.base/restore.exp, gdb.base/return2.exp,
16941 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16942 gdb.base/selftest.exp, gdb.base/setshow.exp,
16943 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16944 gdb.base/sigall.exp, gdb.base/signals.exp,
16945 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16946 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16947 gdb.base/step-test.exp, gdb.base/structs.c,
16948 gdb.base/structs.exp, gdb.base/structs2.exp,
16949 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16950 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16951 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16952 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16953 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16954 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16955 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16956 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16957 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16958 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16959 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16960 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16961 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16962 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16963 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16964 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16965 gdb.trace/circ.exp, gdb.trace/collection.exp,
16966 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16967 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16968 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16969 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16970 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16971 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16972 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16973 notices.
16974
dc96c6c7 169752001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
16976
16977 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16978 first arg is int not float.
16979
dc96c6c7 169802001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
16981
16982 * gdb.base/reread.exp: Unsupported for non-native targets;
16983 doesn't work for remote debugging.
16984
9b0c4aeb
FN
169852001-02-19 Fernando Nasser <fnasser@redhat.com>
16986
16987 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
16988 * gdb.base/ending-run.exp: Properly handle the BSP state when
16989 stepping past the end of main.
9b0c4aeb 16990
02aa71d5
MC
169912001-02-19 John Moore <jmoore@redhat.com>
16992
16993 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16994 Converted HPUX fix for non-expected items following multiple
16995 step commands into general solution for all platforms.
16996
1fa449a4
MC
169972001-02-18 Michael Chastain <chastain@redhat.com>
16998
16999 * gdb.c++/classes.exp (do_tests): Change runto statements
17000 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17001 statements demangler agnostic.
17002 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17003 (gdb_virtfunc_restart): Likewise.
17004
b2f9ec70
MC
170052001-02-14 Michael Chastain <chastain@redhat.com>
17006
17007 * gdb.c++/inherit.exp (do_tests): Change runto statements
17008 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17009 statements demangler agnostic.
17010
cf74b8ca
AC
17011Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17012
17013 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
17014 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17015 before calling common_routine 15 times'' tests.
cf74b8ca 17016
99f78f56
MC
170172001-02-11 Michael Chastain <chastain@redhat.com>
17018
17019 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17020 Helps the test script figure out which demangler is in use.
17021 (dm_type_foo_ref): Ditto.
17022 (dm_type_int_star): Ditto.
17023 (dm_type_long_star): Ditto.
17024 (dm_type_unsigned_int): Ditto.
17025 (dm_type_void): Ditto.
17026 (dm_type_void_star): Ditto.
99707966 17027 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
17028 Probe the gdb demangler and set variables to accommodate
17029 formatting differences.
17030 (info_func_regexp): New function. Same as info_func, but
17031 matches against a regexp.
17032 (info_func): Match against a literal string.
17033 (print_addr_2): New function. Match against a literal string,
17034 which can be different from the input to gdb.
17035 (print_addr): Simply call print_addr_2 with the same argument twice.
17036 (test_lookup_operator_functions): Use demangler formatting variables.
17037 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17038 the tests in the same order as the C++ class declaration.
17039 (test_paddr_operator_functions): Ditto.
17040 (test_paddr_overloaded_functions): Ditto.
17041 (test_paddr_hairy_functions): Use demangler formatting variables.
17042 Add reference to gdb/19 for related tests.
17043 (do_tests): Call probe_demangler.
17044
1de8f023
KB
170452001-01-30 Kevin Buettner <kevinb@redhat.com>
17046
17047 * gdb.c++/templates.cc (printf): Remove unused function definition.
17048
ca3f91ed
MS
170492001-01-26 Felix Lee <flee@redhat.com>
17050
17051 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17052
170532001-01-25 matthew green <mrg@redhat.com>
17054
17055 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17056 up sid.
17057 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17058
170592001-01-25 matthew green <mrg@redhat.com>
17060
17061 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 17062 Deprecate $sid_spawn_id.
ca3f91ed
MS
17063 (sid_exit): Remove code necessary only for `spawn.'
17064
170652001-01-25 matthew green <mrg@redhat.com>
17066
17067 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17068
fb18ec4a
MC
170692001-01-28 Michael Chastain <chastain@redhat.com>
17070
17071 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17072 to call when tests fail. It takes gdb out of the overloaded
17073 function choice menu back to the main prompt, so that the test
17074 program stays synchronized.
17075 (set_bp_overloaded): New proc to collect all the common
17076 code for setting a breakpoint on an overloaded name. Calls
17077 take_gdb_out_of_choice_menu when needed.
17078 (menu_overload1arg): New variable to collect the repeated
17079 instances of the expected menu for an overloaded name. Change
17080 the regular expression to handle changes in g++ type encoding:
17081 "void" can be either "void" or "", and "unsigned int" can be
17082 either "unsigned int" or "unsigned".
17083 (continue_to_bp_overloaded): Change regular expressions to handle
17084 changes in g++ type encoding.
17085 (no proc): Call take_gdb_out_of_choice_menu when needed.
17086 Remove redundant calls to "info break". Accept either "canceled"
17087 or "cancelled". Change regular expressions in "info break"
17088 calls to handle changes in g++ type encoding. Give all tests
17089 unique strings.
17090
9c646a6e
BE
170912001-01-17 Ben Elliston <bje@redhat.com>
17092
17093 * config/sid.exp: New file.
17094
9549d9c1
AC
17095Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17096
17097 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17098
dc96c6c7 170992000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
17100
17101 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17102 Add a RE to accept a non-ascii char if one is ever presented.
17103
b4df4f68
FN
171042000-12-20 Fernando Nasser <fnasser@redhat.com>
17105
297dd0fd 17106 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 17107
dc96c6c7 171082000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 17109
d63a86f8 17110 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
17111 in regexp. One '\' does not suffice on Linux.
17112
4a7bddb6
MC
171132000-12-09 Michael Chastain <chastain@redhat.com>
17114
17115 * gdb.base/break.exp (test_clear_command): Use a marker function
17116 rather than 'main' for the test function. Also move this
17117 test to an execution point where the marker function names are
17118 guaranteed to be bound to functions. (Executing tests after a
17119 'finish' from main runs into name conflicts with local names
17120 in __libc_start_main).
17121
dc96c6c7 171222000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
17123
17124 * gdb.base/finish.exp: New test for gdb's "finish" command.
17125 * gdb.base/return2.exp: New test for gdb's "return" command.
17126 * gdb.base/return2.c: New source file for above.
17127
dc96c6c7 171282000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
17129
17130 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17131 * gdb.base/miscexprs.exp: Ditto.
17132 * gdb.base/pointers.exp: Ditto.
17133 * gdb.c++/derivation.exp: Ditto.
17134 * gdb.c++/local.exp: Ditto.
17135 * gdb.c++/namespace.exp: Ditto.
17136 * gdb.c++/overload.exp: Ditto.
17137 * gdb.c++/ref-types.exp: Ditto.
17138
dc96c6c7 171392000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
17140
17141 * gdb.base/constvars.exp: Test result of "up" command.
17142 * gdb.base/miscexprs.exp: Ditto.
17143 * gdb.base/pointers.exp: Ditto.
17144 * gdb.base/scope.exp: Ditto.
17145 * gdb.c++/derivation.exp: Ditto.
17146 * gdb.c++/local.exp: Ditto.
17147 * gdb.c++/namespace.exp: Ditto.
17148 * gdb.c++/overload.exp: Ditto.
17149 * gdb.c++/ref-types.exp: Ditto.
17150
44097287
FN
171512000-11-22 Michael Chastain <chastain@redhat.com>
17152
17153 * mips_pro.exp: Accept either "middle -> top -> main" or
17154 "middle -> main" in the backtrace, because gcc can optimize
17155 tail calls to jumps. Remove setup_xfail for the hppa case.
17156 Add a comment with the original warning messages from PR 3016,
17157 which was filed in 1993, to preserve them for posterity.
17158
9d2e1bab
ND
171592000-11-17 Nick Duffek <nsd@redhat.com>
17160
17161 * lib/gdb.exp (gdb_test): Override timeout with board info.
17162
1aca8eb7
ND
171632000-11-17 Nick Duffek <nsd@redhat.com>
17164
17165 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17166 the second kill and detach messages.
17167
93076499
ND
171682000-11-17 Nick Duffek <nsd@redhat.com>
17169
17170 * configure.in: Add AC_EXEEXT.
17171 * configure: Regenerate.
17172 * Makefile.in (just-check): Export EXEEXT.
17173 * lib/gdb.exp ($EXEEXT): Import from environment.
17174 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17175 expect "maint dump-me" on Cygwin.
17176 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17177 $EXEEXT.
17178
30e87cd3
ND
171792000-11-17 Nick Duffek <nsd@redhat.com>
17180
17181 * gdb.base/break.exp: Test backtrace and finish from called
17182 function on all platforms, not just HP-UX.
17183
dc96c6c7 171842000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
17185
17186 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17187 code from gdb_target_monitor, so it can be used independantly
17188 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 17189
dc96c6c7 171902000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
17191
17192 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17193 * gdb.base/corefile.exp: Expect the message "Program is being
17194 debugged already" when we send the "corefile" command, since
17195 the preceeding gdb_load may have connected gdb to a remote target.
17196 * gdb.base/display.exp: Disable hardware watchpoints if new
17197 board info variable "no_hardware_watchpoints" is true.
17198 Replace single-letter commands with more readable ones.
17199 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17200 if new board info variable "no_hardware_watchpoints" is true.
17201 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17202 to see if stdio (printf) testing is possible.
17203 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17204 board info variable "no_hardware_watchpoints" is true. Use new
17205 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17206
39124dea
FN
172072000-11-13 Fernando Nasser <fnasser@redhat.com>
17208
17209 From Orjan Friberg <orjanf@axis.com>:
17210 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17211 in array print pattern match.
17212
a9e2e984
FN
172132000-11-09 Fernando Nasser <fnasser@redhat.com>
17214
17215 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17216 spelling "cancelled" to U.S. spelling "canceled" to match changes
17217 made to gdb.
17218 * gdb.c++/ovldbreak.exp: Ditto.
17219
c7db355b
PS
172202000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17221
17222 * gdb.base/callfuncs.c (main): Moved to end of file, call
17223 t_double_values to initialize the FPU before inferior calls are made.
17224 * gdb.base/callfuncs.exp: Test for register preservation after calling
17225 inferior functions. Add tests for continuining, finishing and
17226 returning from a stop in a call dummy.
17227
dc96c6c7 172282000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
17229
17230 * gdb.base/commands.exp: Break up long lines, and re-indent.
17231
dc96c6c7 172322000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
17233
17234 * config/gdbserver.exp: Rewritten from the ground up, to make it
17235 compatible with the current dejagnu tree, and to make it work with
17236 the new "gdbserver" in libremote.
17237
dc96c6c7 172382000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17239
17240 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17241 * gdb.base/varargs.exp: Skip entire test if no printf support.
17242 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17243 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17244
dc96c6c7 172452000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
17246
17247 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17248 no floating point support.
17249 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17250 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17251 * gdb.base/call-rt-st.exp: Ditto.
17252 * gdb.base/call-strs.exp: Ditto.
17253
bac5fc66
JG
172542000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17255
17256 * gdb.base/sizeof.c: include <stdio.h>.
17257
17258 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
17259 'finish', otherwise uncaptured gdb_prompt would potentially
17260 throw remaining test points out of sync.
bac5fc66 17261
b22a6027
SB
172622000-07-26 Scott Bambrough <scottb@netwinder.org>
17263
17264 * gdb.base/recurse.exp: Run tests for all targets.
17265 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17266 gnu-oldld case on ARM.
17267 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17268 for ARM targets.
d63a86f8 17269
d8231941
AG
17270Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17271
17272 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17273 * gdb.java/configure: Rebuild.
17274
8caabe69
AG
17275Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17276
17277 * gdb.java/jv-exp.exp: New file.
17278
9d273ca3
AG
17279Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17280
17281 * configure: Rebuilt.
17282 * configure.in (configdirs): Add gdb.java.
17283 * gdb.java/jmisc.java: New file.
17284 * gdb.java/jmisc.exp: New file.
17285 * gdb.java/Makefile.in: New file.
17286 * gdb.java/configure: Rebuilt.
17287 * gdb.java/configure.in: New file.
17288 * lib/java.exp: New file.
17289
4f823a66
AC
17290Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17291
17292 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 17293 underflow.
4f823a66 17294
2391e11d
AC
17295Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17296
17297 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 17298 and the compilers sizes.
2391e11d 17299
54602222
ND
173002000-07-09 Nick Duffek <nsd@redhat.com>
17301
17302 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17303 (use_methods): New function.
17304 (main): Call use_methods().
17305 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17306 (do_tests): Call test_method_param_class.
17307
2bec0572
ND
173082000-07-09 Nick Duffek <nsd@redhat.com>
17309
17310 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17311 spelling.
17312 (test_enums): New procedure. Move enum tests from end of script
17313 to here. Set breakpoint on function name instead of line number.
17314 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17315 (enums2): New marker function.
17316 (enums1): New function.
17317 (main): Call enums1(). Move enum tests to enums1().
17318
78492fde
AC
17319Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17320
17321 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 17322 compile/link program. Update line numbers.
78492fde
AC
17323 * gdb.asm/d10v.inc: Define ``startup''.
17324 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 17325
49a2cef8
AC
17326Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17327
17328 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17329
3e6c8688
EZ
173302000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17331
17332 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 17333 of 'help maint print' command.
3e6c8688 17334
9ff5cbe9
AC
17335Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17336
17337 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 17338 they use gdb_expect_list.
9ff5cbe9 17339
17c579bd
AC
17340Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17341
17342 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
17343 memory-read-packet-size'' instead of ``set endian big'' to test
17344 long commands.
17c579bd 17345
e6d71bf3
DB
173462000-06-03 Daniel Berlin <dan@cgsoftware.com>
17347
17348 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 17349 g++, and stop skipping them.
e6d71bf3
DB
17350
17351 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17352 work under g++.
17353
d63a86f8 17354 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
17355 initialization.
17356
dc96c6c7 173572000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
17358
17359 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17360 the regular expression: accept an (almost) arbitrary sequence of
17361 "frames-invalid" and "breakpoints-invalid" messages both before
17362 and after the "starting" message.
17363
dc96c6c7 173642000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
17365
17366 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 17367
dc96c6c7 173682000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
17369
17370 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17371 Relax the regular expression a little, make it pass on Solaris 8.
17372
8216cda9
KB
173732000-05-12 Kevin Buettner <kevinb@redhat.com>
17374
17375 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 17376 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
17377 Instead, it is permissible for gdb to stop on the line of the
17378 call itself.
17379
1a570b2f
MS
173802000-05-12 Michael Snyder <msnyder@.cygnus.com>
17381
17382 * gdb.base/break.exp (bp on small function, optimized file):
17383 Add a second pass pattern. The behavior differs here between stabs
17384 and dwarf for one-line functions. Stabs preserves two line symbols
17385 (one before the prologue and one after) with the same line number,
17386 but dwarf regards these as duplicates and discards one of them.
17387 Therefore the address after the prologue (where the breakpoint is)
17388 has no exactly matching line symbol, and GDB reports the breakpoint
17389 as if it were in the middle of a line rather than at the beginning.
17390
dc96c6c7 173912000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 17392
d63a86f8 17393 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
17394 rather than "send_gdb" (for consistancy).
17395
7d418785
AC
17396Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17397
17398 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17399 * gdb.c++/templates.cc: Properly check for GCC version number.
17400 * lib/compiler.cc: Likewise
17401
dc96c6c7 174022000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 17403
d63a86f8 17404 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
17405 gdb may not stop at the first line of main, due to code motion.
17406
dc96c6c7 174072000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
17408
17409 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17410 This test depends on parsing the printf output from the target.
17411 Since the sparclet stub doesn't do stdio, this will never work.
17412 * gdb.base/call-rt-st.exp: ditto.
17413 * gdb.base/call-strs: ditto.
17414
dc96c6c7 174152000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
17416
17417 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17418
17419 * gdb.base/ending-run.exp: After connecting to a remote target,
17420 but before running, the target will appear to be in a random
17421 location. Specify both a file and a line for breakpoints.
17422 Also, the function that calls main may be called 'init'
17423 rather than 'start'.
17424
a5a51225
EZ
174252000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17426
17427 * gdb.base/help.exp: Update output for add-symbol-file command.
17428
7930cc7c
FN
174292000-04-10 Fernando Nasser <fnasser@cygnus.com>
17430
17431 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17432 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17433
23e37ab1
C
174342000-04-07 J.T. Conklin <jtc@redback.com>
17435
e93c542c
C
17436 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17437
23e37ab1
C
17438 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17439
591b8fa3
PDM
17440Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17441
17442 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 17443 values that can be represented exactly.
591b8fa3
PDM
17444 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17445 above change, and to not check against the directory part of the source
17446 file name.
17447 (step into print_long_arg_list): Likewise.
17448 (print print_small_structs from print_long_arg_list): Likewise.
17449 (print print_long_arg_list): Likewise.
17450
7a495180
EZ
174512000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17452
30b53638 17453 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 17454
beb998c6
AC
17455Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17456
17457 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17458
1c689132
DB
174592000-03-25 Daniel Berlin <dan@cgsoftware.com>
17460
17461 * gdb.base/commands.exp (deprecated_command_test): Add test for
17462 deprecate with no arguments.
17463
c1790a9d
JL
174642000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17465
17466 * gdb.base/break.exp: Add new test for setting breakpoints on
17467 optimized code so we can test breakpoints work even when function
17468 prologues may be optimized away
17469
003ba290
FN
174702000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17471
17472 From David Whedon <dwhedon@gordian.com>
a9c64011 17473 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 17474
6837a0a2
DB
174752000-03-22 Daniel Berlin <dan@cgsoftware.com>
17476
17477 * gdb.base/help.exp: Added test for new apropos command.
17478
b9593231
KB
174792000-03-21 Kevin Buettner <kevinb@redhat.com>
17480
17481 * gdb.base/pointers.c (usevar): New function.
17482 (main): Make sure that global variables v_int_pointer2, rptr,
17483 and y are all referenced someplace in the program by calling
17484 usevar() on them. [Some linkers delete symbols which are
17485 never referenced. The space remains, but there's no way to
17486 get a (symbolic) handle on the variable from the debugger.]
17487
751a959b
EZ
174882000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17489
17490 * gdb.base/printcmds.c: Add typedeffed arrays.
17491
17492 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 17493 procedure to test arrays that are typedef'd.
751a959b 17494
73a93a32
JI
174952000-03-13 James Ingham <jingham@leda.cygnus.com>
17496
17497 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 17498 the library directories.
73a93a32 17499
fb40c209
AC
17500Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17501
17502 * configure.in (configdirs): Add sub directory gdb.mi.
17503 * configure: Re-generate.
17504
17505 * gdb.mi: New directory.
d63a86f8 17506
ee4dd2c9
AC
175072000-02-25 Scott Bambrough <scottb@netwinder.org>
17508
17509 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 17510 a long long value as a double on ARM platforms.
ee4dd2c9 17511
70f0cc22
JB
175122000-02-16 Jim Blandy <jimb@redhat.com>
17513
17514 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17515 default source file is set properly before running this test.
17516
853819b8
EZ
175172000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17518
17519 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 17520 gdbtk/library directory, not in gdbtcl2.
853819b8 17521
dfcd3bfb
JM
175222000-02-04 Jim Blandy <jimb@redhat.com>
17523
17524 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17525 backslash from regexp pattern.
17526
17527 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17528 procedure. Use it to run all the "continue to bp overloaded"
17529 tests. Note that this changes the names of the tests slightly.
17530 If the breakpoint hit message includes a hex PC value, because
17531 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17532 from the real source code, still consider that a pass.
17533
17534 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17535 XFAIL here if the breakpoint message contains a hex address. Note
17536 similar change on 1999-11-02.
17537
17538 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17539
17540 * gdb.base/ptype.exp: Establish a default source file before
17541 calling get_debug_format.
17542
175432000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17544
17545 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17546
8b93c638
JM
175472000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17548
17549 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17550 of successive stepi commands -- while in the prologue we should see
17551 the function entry bracket.
17552
175532000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17554
17555 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17556 reach __change_mode() when stepping through the end of main().
17557
c5394b80
JM
175582000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17559
17560 * gdb.base/default.exp: Fix expected pattern.
17561 * gdb.base/help.exp: Same.
17562
0d06e24b
JM
175632000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17564
17565 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 17566 Don't use xfail's because that affects only the following test.
d63a86f8 17567
0d06e24b 17568 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 17569 solaris or linux.
0d06e24b
JM
17570
17571 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17572
dc96c6c7 175732000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 17574
d63a86f8 17575 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
17576 "A syntax error" rather than "A parse error". Accept both.
17577
175782000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17579
17580 * gdb.base/default.exp: Remove OS dependent string from "target
17581 remote" test.
17582 * gdb.base/help.exp: Same for "help target remote" test.
17583
c3f6f71d
JM
175842000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17585
17586 From Jim Kingdon <kingdon@redhat.com>:
17587
17588 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
17589 prompt (cleanup rather than necessity, but still might keep output
17590 from spilling to next test).
c3f6f71d
JM
17591
175922000-01-02 Fred Fish <fnf@cygnus.com>
17593
17594 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17595 AIX, which defines them in <sys/types.h>.
17596
ed9a39eb 175971999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 17598
ed9a39eb 17599 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 17600 float" test.
ed9a39eb
JM
17601
176021999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 17603
ed9a39eb 17604 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
17605
17606 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17607 outermost frame disallowed".
17608
176091999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17610
17611 * gdb.base/setvar.exp: New tests for setting the value of a struct
17612 with a constant list.
17613
176141999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17615
17616 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17617 require the user to type a cast before setting the value of a struct.
17618
de57eccd
JM
176191999-12-06 Jim Blandy <jimb@cygnus.com>
17620
17621 * gdb.base/default.exp: Expect the new 'info float' command on
17622 all i386 platforms.
17623
17624 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17625 LinuxThreads libraries that don't support debugging.
17626
c2d11a7d
JM
17627Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17628
17629 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
17630 Change the buffer type to ``unsigned char'' to simplify size
17631 arithmetic.
c2d11a7d
JM
17632
17633 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
17634 stub only handles 400-1 byte packets. Verify that the download
17635 worked.
c2d11a7d
JM
17636
176371999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17638
17639 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17640 tests, using UNRESOLVED for the untested cases. Also, does not wait
17641 for a timeout if the prompt was received before a recognizable pattern.
17642
176431999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17644
17645 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17646
176471999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17648
17649 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 17650 watchpoints.
c2d11a7d
JM
17651
176521999-11-24 Jason Merrill <jason@casey.cygnus.com>
17653
17654 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17655
17656 * gdb.c++/local.exp: Be more flexible in recognizing local class
17657 name mangling. Don't allow horribly truncated method names.
17658 * gdb.c++/derivation.exp: Expect protected inheritance.
17659 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17660 * gdb.c++/virtfunc.exp: Likewise.
17661 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17662 when printing a nested enum.
17663
176641999-11-22 Jim Blandy <jimb@cygnus.com>
17665
17666 * gdb.base/step-test.exp: Properly await GDB's response to setting
17667 a breakpoint on the call to large_struct_by_value.
17668
17669 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17670 just because we have debug info for the `start' function.
17671
176721999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17673
17674 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17675 "Unknown signal" messages, which indicate (on LinuxThreads) that
17676 GDB doesn't know how to debug threads on this system. This is
17677 better than hanging while philosopher 0 dumps chatter into gdb.log.
17678
176791999-11-18 Tom Tromey <tromey@cygnus.com>
17680
17681 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17682
176831999-11-18 Fred Fish <fnf@cygnus.com>
17684
17685 * gdb.base/coremaker2.c: Add sample program for generating
17686 cores that is more self contained than coremaker.c. Eventually
17687 I'll add more code to this and tie it into the testsuite.
17688
4ce44c66
JM
176891999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17690
17691 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17692
176931999-11-10 Jimmy Guo <guo@cup.hp.com>
17694
17695 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 17696 from $srcdir/lib/.
4ce44c66 17697 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 17698 and gdb.c++/.
4ce44c66
JM
17699
17700 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17701
d63a86f8 17702 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
17703 'continue with watch' test point.
17704
177051999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17706
17707 Merged from p2linux-990323-branch:
d63a86f8 17708
4ce44c66
JM
17709 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17710
11cf8741
JM
17711Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17712
17713 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 17714 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
17715
17716Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17717
17718 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 17719 gdb_expect_list.
11cf8741
JM
17720
17721Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17722
17723 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17724
177251999-11-03 Mark Salter <msalter@cygnus.com>
17726
17727 * gdb.base/break.exp: Fix "stub continue" pattern.
17728
177291999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17730
17731 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17732
177331999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17734
17735 * gdb.base/display.exp ("finish"): Add timeout clause.
17736
17737 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17738 plain prompt clause, so this doesn't have to time out in order to
17739 fail.
17740
17741 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 17742 breakpoint hit messages include an address.
11cf8741
JM
17743
17744 * gdb.base/display.exp: Don't forget to escape parens in regular
17745 expressions. Unix regexp notatation sucks.
17746
177471999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17748
17749 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 17750 order for 'signalled' message.
11cf8741 17751
5c44784c
JM
177521999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17753
17754 From Jimmy Guo <guo@cup.hp.com>:
17755 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17756 * gdb.base/annota1.c: Add code for tests to work with.
17757
177581999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17759
17760 * gdb.base/remote.exp: New test for remote downloading settings.
17761 * gdb.base/remote.c: New file with large .data.
17762
917317f4
JM
177631999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17764
17765 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17766 for LinuxThreads support, merged from the Code Fusion branch.
17767
17768Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17769
17770 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
17771 containing exp_continue into a while within an expect. Don't
17772 attempt a start more than three times. Check return value from
17773 gdb_load.
d63a86f8 17774
2df3850c
JM
17775Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17776
17777 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 17778 a pass case.
2df3850c 17779
2acceee2
JM
177801999-10-01 Kevin Buettner <kevinb@cygnus.com>
17781
17782 * gdb.base/break.c (main): Added a statement that we can step
17783 off of.
17784 * gdb.base/break.exp: Added tests for setting a breakpoint
17785 at an offset and stepping onto a breakpoint.
17786
177871999-10-01 Fred Fish <fnf@cygnus.com>
17788
d63a86f8 17789 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
17790 gdb output.
17791
c2c6d25f
JM
177921999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17793
17794 * gdb.base/break.exp: Code locations are in hex, don't forget!
17795 (For HP-UX.)
17796
177971999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17798
17799 * condbreak.exp: Use break.c as test program.
17800 * condbreak.c: Remove, redundant with break.c.
17801
178021999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17803
17804 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 17805 Z-packets if the target needs it.
c2c6d25f
JM
17806
178071999-09-13 James Ingham <jingham@leda.cygnus.com>
17808
17809 * gdb.c++/overload.exp: Added tests for listing overloaded
17810 functions with function pointers in the arg, explicitly calling
17811 out the version you want.
17812
cff3e48b
JM
178131999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17814
17815 * long_long.exp: Add variations of test cases that work for
17816 targets with 16-bit ints and 32-bit doubles.
17817
d4f3574e
SS
178181999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17819
17820 * break.c (main): Compare a possibly-uninitialized argc with an
17821 unlikely value that fits in 16 bits.
17822
178231999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17824
17825 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17826 0xfeeb, don't want negative numbers if ints are 16 bits.
17827
17828 * lib/gdb.exp (skip_cplus_tests): New proc.
17829 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
17830 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17831 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17832 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17833 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17834 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17835 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17836 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
17837
17838 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17839
17840Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17841
17842 * gdb.base/corefile.exp (up): Allow a parameter to appear
17843 in the frame that we're going up to.
17844
17845 From Jim Blandy <jimb@cygnus.com>:
17846
17847 * gdb.base/default.exp (info float): Expect some output now.
17848
17849 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17850 returning floating-point values to fail on the x86.
17851 * gdb.base/callfwmall.exp (do_function_calls): Same.
17852
17853 * gdb.base/list.exp (test_listsize): Correct expectations for
17854 listing line 1 with listsize 2. Also, listing a single line
17855 works now, as does listing three lines. [Kevin's note: There
17856 were a number of other cases fixed too where the expectations
17857 differed...]
17858
178591999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17860
17861 * gdb.base/selftest.exp: Add case for when version prints as
17862 constant string instead of char pointer.
17863
104c1213
JM
178641999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17865
17866 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 17867 stepping out of main.
104c1213
JM
17868
17869 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17870 G++ used.
17871
17872 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 17873 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
17874
17875 * gdb.c++/ovldbreak.exp: Update match string in test that
17876 includes a warning of multiple breakpoints.
17877
178781999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17879
17880 * gdb.base/display.exp: Improve precision of step-after-finish
17881 added yesterday.
17882
17883 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 17884 test.
104c1213
JM
17885
17886 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17887 configs when using G++, not just hppa*.
17888
178891999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17890
17891 * gdb.base/async.c: New file.
17892 * gdb.base/async.exp: New file.
17893
17894Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17895
17896 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17897 PA64.
17898
53a5351d
JM
17899Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17900
104c1213
JM
17901 * gdb.base/display.exp: "finish" can leave us mid-line on many
17902 targets, deal with it. Add a small constant to main, instead of
17903 1000 since main+1000 may not be a valid address in the target.
17904
53a5351d
JM
17905 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17906 on hpux11.
17907
17908 * gdb.base/attach.exp: Handle another hpux11 error message variant
17909 when attaching to a process that does not exist.
17910
179111999-08-19 J.T. Conklin <jtc@redback.com>
17912
17913 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 17914 characters in 'continue to 1241' test.
53a5351d
JM
17915
179161999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17917
17918 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17919 stop in print_long_arg_list, define and use a whitespace
17920 variable in print_small_structs test, add an XFAIL for Solaris.
17921 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17922 interested enough to fix.
17923
7be570e7
JM
179241999-08-13 Keith Seitz <keiths@cygnus.com>
17925
17926 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17927 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17928 proc knows about targets other than the natives.
17929 (test_assign): Use "gdb_run_cmd" to "run" the target.
17930 Check that we've actually hit the breakpoint at main.
17931 When we attempt to assign a value to a local variable, check
17932 that the variable is in the current scope, i.e., don't use
17933 a test with an empty result.
17934
17935Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17936
17937 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 17938 command.
7be570e7
JM
17939
179401999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17941
17942 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17943 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17944 gdb.compat, gdb.threads-hp.
17945 gdb.hp/configure, gdb.hp/configure.in: New files.
17946 gdb.hp/Makefile.in: Recurse into new subdirs.
17947 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17948 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17949 in object files.
17950 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17951
96baa820
JM
179521999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17953
17954 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 17955 funky printf, remove a bogus p/a test.
96baa820
JM
17956
179571999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17958
17959 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
17960 connected to the target. This is necessary when running not
17961 natively.
96baa820
JM
17962
179631999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17964
17965 * gdb.base/step-test.exp: Removed some extraneous messages.
17966
17967 * gdb.base/long_long.exp: Don't run memory examination tests
17968 on little-endian targets (they will need a different set of
17969 results to match).
17970
179711999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17972
17973 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17974 until somebody decides to fix GDB.
17975
17976 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 17977 constant as "ULL".
96baa820
JM
17978 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17979 matches for a couple x/2 commands.
17980
a0b3c4fd
JM
179811999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17982
17983 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17984 by merging in ref-types2 tests.
17985 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17986
17987 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17988 * gdb.c++/Makefile.in: Add standard actions.
17989 (EXECUTABLES): Rename from PROGS, update list.
17990 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17991 from gdb.hp.
17992 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17993 foo and bar locals.
17994 * gdb.c++/anon-union.exp: Fix tests to match.
17995 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17996 expect matches to handle output variations.
17997 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17998 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 17999 output, add HP alternatives for new and delete prints.
a0b3c4fd 18000 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 18001 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
18002 * gdb.c++/demangle.exp: Use $style when reporting failure.
18003 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18004 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18005 match alternatives.
18006 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 18007 compilers.
a0b3c4fd
JM
18008 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18009 * gdb.c++/method.exp: Add match alternatives.
18010 * gdb.c++/misc.cc: Add bool types.
18011 * gdb.c++/misc.exp: Add tests for bool types.
18012 * gdb.c++/overload.exp: Add xfails.
18013 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18014 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18015 add some more template parameter tests (only for HP currently).
18016 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18017 * gdb.c++/virtfunc.cc: Add return type and value for main.
18018 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18019 match alternatives.
d63a86f8 18020
a0b3c4fd
JM
180211999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18022
18023 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18024
180251999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18026
18027 * gdb.base/signals.exp: Don't expect getting a backtrace from
18028 within a signal handler to fail on Linux.
18029
180301999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18031
18032 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18033 * lib/gdb.exp: Remove some gratuitious semicolons.
18034 (delete_breakpoints): Increase timeout.
18035 (gdb_expect): Add -notransfer option.
18036 (gdb_test): Use -notransfer option.
18037 (get_compiler_info): Add f77 case.
18038 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 18039 case.
a0b3c4fd
JM
18040 (gdb_preprocess): Call get_compiler.
18041
18042 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18043 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
18044 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18045 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18046 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18047 third arg to gdb_test.
a0b3c4fd
JM
18048 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18049 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 18050 HP-UX xfails, add others.
a0b3c4fd
JM
18051 * gdb.base/completion.exp: Reflect name change of self-test.
18052 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
18053 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18054 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18055 HP failure number.
a0b3c4fd
JM
18056 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18057 useless HP-UX 10.30 references.
18058 * gdb.base/maint.exp: Loosen matches.
18059 * gdb.base/pointers.c (main): Declare more_code.
18060 * gdb.base/pointers.exp: Match on output of a `next'.
18061 * gdb.base/structs.c: Add prototypes.
18062 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18063 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18064
180651999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18066
18067 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 18068 command.
a0b3c4fd
JM
18069
180701999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18071
18072 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18073 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
18074
18075 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
18076 debug info. Deal with lack of signal hanlder info in stack.
18077
a9c64011 18078 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
18079 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18080
5a2468f5
JM
180811999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18082
18083 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 18084 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 18085
adf40b2e
JM
18086Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18087
18088 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 18089 a1-selftest.exp.
adf40b2e
JM
18090 * gdb.base/configure: Re-generate.
18091
180921999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18093
18094 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18095 in trying to run first and name is too long.
18096
18097 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18098 pointers2.c and pointers2.exp, respectively.
18099 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18100 doschk happier.
18101
43e526b9
JM
181021999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18103
18104 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18105 callfuncs2.c and callfuncs2.exp.
18106
18107 * gdb.base/list.exp: Remove mistaken xfails.
18108 * gdb.base/list0.h: Add optional prototypes.
18109
9846de1b
JM
18110Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18111
a9c64011 18112 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 18113 calling malloc.
a9c64011
AS
18114 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18115 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 18116 use.
9846de1b
JM
18117
181181999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18119
18120 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18121 * gdb.base/annota2.cc, annota2.exp: Move from here.
18122 * gdb.c++/annota2.cc, annota2.exp: To here.
18123 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18124
43ff13b4
JM
18125Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18126
18127 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 18128 a consistent format.
43ff13b4 18129
085dd6e6
JM
181301999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18131
18132 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18133 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18134 HP compilers, also set the globals $true and $false.
18135
18136 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
18137 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18138 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18139 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18140 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18141 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18142 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18143 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18144 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18145 whatis.c} Add C++ compatible function definitions and return
18146 types, add includes for library functions.
085dd6e6
JM
18147 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18148 * gdb.base/step-test.c (myglob): Rename from glob.
18149 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
18150 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18151 files, move here from gdb.hp.
085dd6e6 18152 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
18153 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18154 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18155 Adjust line numbers in regexps.
085dd6e6
JM
18156
18157 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18158 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18159 instead of 0/1.
18160
18161 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18162 foll-vfork.exp: New files, move here from gdb.hp.
18163 * gdb.base/page.exp: New file, test of pagination command.
18164
18165 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18166 recursion test.
18167 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18168
18169 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 18170 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
18171
18172 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 18173 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 18174 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 18175 watchpoint test.
085dd6e6
JM
18176 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18177 them work.
18178 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18179 expressions properly.
18180 * gdb.base/corefile.exp: Loosen the match slightly.
18181 * gdb.base/default.exp: Allow "Error accessing memory" message
18182 also.
18183 * gdb.base/display.exp: Skip over x/0 j if PA64.
18184 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18185 * gdb.base/interrupt.exp: Ditto.
18186 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18187 in use.
18188 * gdb.base/list.exp: Add xfails for HP-UX.
18189 * gdb.base/long_long.exp: Refine some of the numeric matches.
18190 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18191 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18192 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18193 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18194 * gdb.base/ptype.exp: Succeed on more varieties of output.
18195 * gdb.base/scope.exp: Add xfails for HP-UX.
18196 * gdb.base/sect-cmd.exp: Add more cases.
18197 * gdb.base/setvar.exp: Add xfails for HP-UX.
18198 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18199 * gdb.base/signals.exp: Match on void symbolically.
18200 * gdb.base/step-test.exp: Add case for PA64.
18201 * gdb.base/term.exp: Add exit and restart.
18202 * gdb.base/twice.exp: Clean up after self.
18203 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18204 * gdb.base/whatis.exp: Allow more ways to pass tests.
18205
18206 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 18207 no longer useful.
085dd6e6
JM
18208
18209Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18210
18211 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 18212 list of patterns.
085dd6e6 18213 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
18214 print_double_array(double_array)", "continuing to breakpoint
18215 1018", "print print_double_array(array_d)" and "continuing to
18216 1034" tests.
d63a86f8 18217
085dd6e6
JM
182181999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18219
a9c64011 18220 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
18221
182221999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18223
18224 * config/mt-*: Remove, these haven't been used since 1996.
18225
182261999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18227
18228 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 18229 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
18230 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18231
9e0b60a8
JM
182321999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18233
18234 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18235 simpler match case for the ptype of the big class.
18236
182371999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18238
18239 * gdb.exp: Fix test for gdb_prompt existence.
18240
182411999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18242
18243 * gdb.exp (gdb_test): Add fail after calls to perror.
18244
182451999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18246
18247 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18248
182491999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18250
18251 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18252
0f71a2f6
JM
18253Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18254
18255 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 18256 malloc() is linked in.
0f71a2f6
JM
18257
182581999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18259
18260 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18261 step at end.
18262
18263 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18264
182651999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18266
18267 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18268
cce74817
JM
18269Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18270
18271 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18272 * gdb.base/mips_pro.exp: Likewise.
18273
182741999-06-02 Keith Seitz <keiths@cygnus.com>
18275
18276 * gdb.c++/templates.cc: Change all "new" operators to throw
18277 an exception.
18278 * gdb.c++/cplusfuncs.cc: Likewise.
18279
18280 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18281
18282Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18283
18284 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
18285 * gdb.base/ending-run.exp: When stepping out of main, accept a
18286 step into an arbitrary assembler file.
cce74817 18287
392a587b
JM
182881999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18289
d63a86f8 18290 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 18291 "breakpoint-invalid" to be printed.
d63a86f8 18292 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
18293 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18294 * gdb.base/annota2.cc: Initialize a.x to 0.
18295
9e086581
JM
182961999-05-17 Keith Seitz <keiths@cygnus.com>
18297
18298 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18299 when "skip_float_tests" set.
18300 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18301 "print print_ten_doubles", and "step into print_long_arg_list".
18302 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18303 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18304 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18305 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18306 "skip_float_tests" is set.
18307 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18308 when "skip_float_tests" set.
d63a86f8 18309
cd0fc7c3
SS
183101999-05-06 Keith Seitz <keiths@cygnus.com>
18311
18312 * gdb.base/annota2.cc: Include stdio.h.
18313
18314Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18315
18316 * gdb.base/crossload.exp: Remove, this has been disabled ever
18317 since BFD stopped including all targets, and cross-GDB gets
18318 plenty of testing anyway.
18319 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
18320 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18321 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
18322 * gdb.base/README: Remove, was doc for this.
18323 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 18324 needed.
cd0fc7c3 18325
b83266a0
SS
183261999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18327
18328 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18329 output.
18330
18331 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18332 * gdb.base/annota2.exp: New file. More annotation tests.
18333 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18334 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18335
183361999-04-23 Angela Marie Thomas <angela@cygnus.com>
18337
18338 * config/cfdbug.exp: New file.
18339
7a292a7a
SS
183401999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18341
18342 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18343 Marcus Daniel's and Dale Hawkins's demangler crashes.
18344
18345 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
18346 test_lucid_style_demangling, test_arm_style_demangling,
18347 test_hp_style_demangling): Try Tom Tromey's core-dumping
18348 identifier under each demangling style.
7a292a7a
SS
18349
183501999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18351
18352 * gdb.c++/demangle.exp: Include the current demangling style
18353 in all test names.
18354 (current_demangling_style): New global variable.
18355 (set_demangling_style, test_demangling_core, test_demangling,
18356 test_demangling_exact): New functions.
18357 (test_gnu_style_demangling, test_lucid_style_demangling,
18358 test_arm_style_demangling, test_hp_style_demangling): Use those,
18359 instead of calling gdb_test and gdb_test_exact directly.
18360 (catch_demangling_errors): New function, which reports errors
18361 signalled by the demangling test functions in an orderly way.
18362 (do_tests): Use catch_demangling_errors.
18363
183641999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18365
18366 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 18367 grouping in expressions, not {}.
7a292a7a
SS
18368
18369 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 18370 initialized yet.
7a292a7a
SS
18371
183721999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18373
18374 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18375 are listed.
18376
183771999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18378
18379 * gdb.stabs/weird.exp: Test for CC being defined before
18380 looking at its value.
18381
183821999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18383
18384 * gdb.base/call-ar-st.exp: Remove stray '#'.
18385 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18386 "short int" and "long int".
18387 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 18388 change, to mollify finicky HP compiler.
7a292a7a
SS
18389 * gdb.hp/reg-test.exp (testfile): Fix file name.
18390 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 18391
7a292a7a
SS
18392 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18393 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18394 alternate form of enum ptype.
18395
c906108c
SS
183961999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18397
7a292a7a
SS
18398 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18399 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
18400 passing skip_hp_tests, so as not to waste time on guaranteed
18401 failure.
7a292a7a 18402
c906108c
SS
18403 * gdb.c++/overload.cc: Pass string instead of char addr, always
18404 init ccpfoo.
18405 * gdb.c++/templates.cc: Fix syntax error.
18406
7a292a7a
SS
18407Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18408
18409 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 18410 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
18411 command.
18412
184131999-03-18 James Ingham <jingham@cygnus.com>
18414
18415 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18416
18417 * gdb.c++/method.exp: It was testing an uninitialized int on the
18418 stack and assuming it was positive.
18419
18420 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18421
18422 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 18423 keep it from killing the rest of the tests.
7a292a7a
SS
18424 Use gdb_continue_to_end.
18425
18426 * gdb.base/sigall.exp: use gdb_continue_to_end.
18427
18428 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18429
18430 * gdb.base/display.exp: use runto_main, not run.
18431
d63a86f8
RM
18432 * gdb.base/default.exp: Check for the current error message in the
18433 r abbreviation test.
7a292a7a
SS
18434 Add strongarm to the targets that know info float.
18435
d63a86f8 18436 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
18437 run which doesn't work with monitors.
18438
18439 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18440
18441 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18442
18443 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
18444 program. Traps the case (in Cygmon) when the program never really
18445 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
18446 more places, so I used my name. Sorry Mark...
18447
18448 * config/monitor.exp (gdb_target_monitor): added another
18449 target_info parameter: remotebinarydownload. This will set the
18450 remotebinarydownload flag if this is causing some boards trouble.
18451
184521999-03-18 Mark Salter <msalter@cygnus.com>
18453
18454 * lib/gdb.exp (continue_to_exit): New function.
18455
18456 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18457 * gdb.base/ending-run.exp: Ditto.
18458 * gdb.base/step-test.exp: Ditto.
18459
184601999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18461
18462 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18463 (suggested by Art Haas <ahaas@neosoft.com>).
18464
184651999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18466
889bf7c5 18467 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
18468
18469Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18470
18471 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 18472 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
18473
184741999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18475
18476 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18477 a call to strlen; sometimes we do have sources.
18478
184791999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
18480
18481 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 18482 character, so GDB won't print garbage after its end.
d63a86f8 18483
c906108c
SS
18484 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18485 breakpoint there instead. Sometimes GCC emits memcpy to handle
18486 the large structures being passed by value, so we step into that
18487 instead of sum_array_print, which obscures what we're really testing.
18488 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
18489 the bizarre steps into memcpy, so do that here. Add check for
18490 stepping into function calls that pass large structures by value.
18491 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
18492 Remove all references to specific line numbers.
18493 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18494 New type and function.
18495 (main): Call large_struct_by_value, passing it a large struct by value.
18496 * lib/gdb.exp (gdb_get_line_number): New function.
18497
18498 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18499 more portable.
18500
7a292a7a
SS
185011999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18502
c906108c
SS
18503 * lib/gdb.exp: Doc fixes.
18504
7a292a7a
SS
185051999-03-05 Nick Clifton <nickc@cygnus.com>
18506
d63a86f8 18507 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
18508
185091999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18510
c906108c 18511 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
18512 commands. They're not germane to this test, and they don't work
18513 that way on remote targets.
c906108c 18514
3fc11d3e
JM
185151999-03-01 James Ingham <jingham@cygnus.com>
18516
18517 * Changelog entries merged over from gdb development branch.
18518
3fc11d3e
JM
18519 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18520
18521 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18522 for outputting results of test run.
18523
2d4a1622 18524 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
18525
18526 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 18527
7a292a7a
SS
185281999-02-25 Felix Lee <flee@cygnus.com>
18529
18530 * lib/gdb.exp (debug_format): initialize
18531
c906108c
SS
185321999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18533
18534 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18535 * gdb.base/call-rt-st.c: Ditto.
18536
c906108c
SS
185371999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18538
18539 * gdb.threads/pthreads.exp (horiz): New variable.
18540 (test_startup): Fix regexps that capture thread numbers.
18541
185421999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18543
18544 * gdb.base/smoke.exp: Disambiguate two test case names (both
18545 called ``print'').
18546
18547Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18548
18549 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 18550 compilation.
c906108c
SS
18551
185521999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18553
18554 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18555 actual output formatting.
18556 * gdb.base/smoke.exp: GDB removes leading 0's.
18557 * gdb.base/volatile.exp: Don't check type of remuneration;
18558 that variable is no longer defined in constvars.c.
18559 * gdb.base/step-test.c (main): Exit with explicit exit code.
18560 * gdb.base/step-test.exp: Remove two nexti checks--they are
18561 not portable.
18562
185631999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18564
18565 * gdb.base/help.exp ("help delete display"): Fix test to match
18566 gdb's output.
18567
18568 * gdb.base/long_long.c (known_types): Initialize values to zero.
18569 * gdb.base/long_long.exp: Step one more line
18570 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
18571 leading zeros. Explicitly ask for hex formatting. Use
18572 unique test case names.
c906108c
SS
18573
18574Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18575
d63a86f8 18576 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
18577
18578 * gdb.c++/method.exp: Add missing close brace.
18579
185801999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18581
18582 * gdb.base/maint.exp: Use 'set height 0' to disable page
18583 prompting, not 'set height 400'.
18584
18585 Fix a bunch of timeouts.
18586 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18587 four separate tests, so expect doesn't take forever to match a ton
18588 of text against a regexp with lots of .* forms.
18589 ("maint print psymbols", "maint print symbols"): Make some of
18590 these greps more selective, so that expect doesn't try to wade
18591 through huge piles of output and time out.
18592
18593 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18594
18595 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
18596 tests: one which doesn't expect shlib events to be reported, and
18597 another which does, but is XFAIL for all platforms other than
18598 HP/UX.
c906108c
SS
18599
18600 * gdb.base/break.exp: Teach the test suite that the `catch
18601 fork', `catch vfork', and `catch exec' commands produce error
18602 messages on platforms that don't provide these features.
18603
18604Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18605
18606 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
18607 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18608 (shortening names from solib_threshold.exp etc), won't run on
18609 anything but HP-UX for the foreseeable future.
c906108c 18610 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 18611 reflect move.
c906108c
SS
18612
18613Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18614
18615 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 18616 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
18617
18618Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18619
18620 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18621 successfully re-sets breakpoints in shared libraries.
18622 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18623
18624Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18625
d63a86f8
RM
18626 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18627 and compiled w/o GCC.
c906108c
SS
18628
18629 * gdb.hp/watch-cmd.exp: ditto.
18630
18631 * gdb.hp/watch-hp.exp: ditto.
18632
18633 * gdb.hp/xdb1.exp: ditto.
18634
18635 * gdb.hp/xdb2.exp: ditto.
18636
18637 * gdb.hp/dbx.exp: ditto.
18638
18639Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18640
18641 * constvars.c: Remove C++-isms.
18642 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 18643 with GCC.
c906108c
SS
18644
18645Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18646
18647 The following changes are part of the HP merge.
18648
18649 * gdb.base/break.exp: new tests to verify that catchpoints for
18650 fork, vfork, and exec don't trigger inappropriately.
18651
18652 * gdb.base/opaque.exp: compile one file at a time, then link.
18653
18654 * gdb.base/signals.exp: be more restrictive about which hppa
18655 systems receive a setup_xfail. new tests.
18656
18657 * gdb.base/solib_threshold.build: new file.
18658 * gdb.base/solib_threshold.exp: new file.
18659 * gdb.base/solib_threshold.link_opts: new file.
18660 * gdb.base/solib_threshold.mk: new file.
18661 * gdb.base/gen_solib_threshold.c: new file.
18662
18663 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18664 tests. New tests for enums inside classes.
18665
18666 * gdb.c++/compiler.cc: indicate support of template debugging.
18667
18668 * gdb.c++/demangle.exp: run hp style demangling tests.
18669
18670 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18671 tests.
18672
18673 * gdb.c++/misc.cc: changes to support new tests.
18674
18675 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18676 to support new tests.
18677
18678 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18679 gcc, then skip these tests.
18680
18681Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18682
18683 The following files are part of the HP merge; some had longer
18684 names at HP, but have been renamed to be no more than 14
18685 characters in length.
18686
18687 * gdb.hp/ambiguous.cc: new file.
18688 * gdb.hp/ambiguous.exp: new file.
18689 * gdb.hp/attach.exp: new file.
18690 * gdb.hp/attach2.exp: new file.
18691 * gdb.hp/classes-hp.exp: new file.
18692 * gdb.hp/ctti.exp: new file.
18693 * gdb.hp/ctti-add.cc: new file.
18694 * gdb.hp/ctti-add1.cc: new file.
18695 * gdb.hp/ctti-add2.cc: new file.
18696 * gdb.hp/ctti-add3.cc: new file.
18697 * gdb.hp/dbx.exp: new file.
18698 * gdb.hp/exception.cc: new file.
18699 * gdb.hp/exception.exp: new file.
18700 * gdb.hp/foll-exec.c: new file.
18701 * gdb.hp/foll-exec.exp: new file.
18702 * gdb.hp/foll-fork.c: new file.
18703 * gdb.hp/foll-fork.exp: new file.
18704 * gdb.hp/foll-vfork.c: new file.
18705 * gdb.hp/foll-vfork.exp: new file.
18706 * gdb.hp/inherit-hp.exp: new file.
18707 * gdb.hp/more-steps.exp: new file.
18708 * gdb.hp/namespace.cc: new file.
18709 * gdb.hp/namespace.exp: new file.
18710 * gdb.hp/optimize.exp: new file.
18711 * gdb.hp/pxdb.c: new file.
18712 * gdb.hp/pxdb.exp: new file.
18713 * gdb.hp/quicksort.exp: new file.
18714 * gdb.hp/reg-test.exp: new file.
18715 * gdb.hp/reg-test.s: new file.
18716 * gdb.hp/sized-enum.c: new file.
18717 * gdb.hp/sized-enum.exp: new file.
18718 * gdb.hp/start-stop.exp: new file.
18719 * gdb.hp/templ-hp.cc: new file.
18720 * gdb.hp/templ-hp.exp: new file.
18721 * gdb.hp/thr-lib.c: new file.
18722 * gdb.hp/thr-lib.exp: new file.
18723 * gdb.hp/thr-lib.h: new file.
18724 * gdb.hp/thr-liblib.c: new file.
18725 * gdb.hp/virtfun-hp.c: new file.
18726 * gdb.hp/virtfun-hp.exp: new file.
18727 * gdb.hp/watch-cmd.exp: new file.
18728 * gdb.hp/watch-hp.exp: new file.
18729 * gdb.hp/xdb1.exp: new file.
18730 * gdb.hp/xdb2.exp: new file.
18731 * gdb.hp/xdb3.exp: new file.
18732
18733Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18734
18735 The following files are part of the HP merge; some had longer
18736 names at HP, but have been renamed to be no more than 14
18737 characters in length.
18738
18739 * gdb.base/ss.h: new file.
18740 * gdb.base/call-ar-st.c: new file.
18741 * gdb.base/call-ar-st.exp: new file.
18742 * gdb.base/call-rt-st.c: new file.
18743 * gdb.base/call-rt-st-exp: new file.
18744 * gdb.base/call-strs.exp: new file.
18745 * gdb.base/ena-dis-br.exp: new file.
18746 * gdb.base/environ.exp: new file.
18747 * gdb.base/long_long.exp: new file.
18748 * gdb.base/sect-cmd.exp: new file.
18749 * gdb.base/shlib-cl2.exp: new file.
18750 * gdb.base/smoke.exp: new file.
18751 * gdb.base/so-impl-ld.c: new file.
18752 * gdb.base/so-impl-ld.exp: new file.
18753 * gdb.base/so-indr-cl.c: new file.
18754 * gdb.base/so-indr-cl.exp: new file.
18755 * gdb.base/varargs.exp: new file.
18756 * gdb.base/volatile.exp: new file.
18757 * gdb.base/whatis-exp.exp: new file.
7a292a7a 18758 * gdb.base/display.exp: new file.
c906108c
SS
18759 * gdb.c++/derivation.exp: new file.
18760 * gdb.c++/local.exp: new file.
18761 * gdb.c++/member-ptr.exp: new file.
18762 * gdb.c++/overload.exp: new file.
18763 * gdb.c++/ovldbreak.exp: new file.
18764 * gdb.c++/ref-types.exp: new file.
18765 * gdb.c++/ref-types2.exp: new file.
18766 * gdb.c++/userdef.exp: new file.
d63a86f8 18767
c906108c
SS
18768Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18769
18770 * gdb.base/default.exp: Reflect wording change in remote.c.
18771
dc96c6c7 18772Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18773
18774 * gdb.base/help.exp: Update to reflect current text.
18775
18776Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18777
18778 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18779 they're stack variables and contain garbage.
18780 * gdb.c++/anon-union.exp: new file.
18781
18782 The following changes were made by David Taylor
889bf7c5
PA
18783 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18784 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18785 in changes by HP.
c906108c
SS
18786
18787 * gdb.base/bitops.exp: new file.
18788 * gdb.base/default.exp: change expected messages for catch and
18789 info catch tests to reflect HP merge changes.
18790 * gdb.base/enable-disable-break.exp
18791 * gdb.base/ending-run.c: new file.
18792 * gdb.base/long_long.c: new file.
18793 * gdb.base/maint.exp: new file.
18794 * gdb.base/pointers2.exp: new file.
18795 * gdb.base/shlib-call2.exp: new file.
18796 * gdb.base/solib.exp: new file.
18797 * gdb.base/step-test.c: new file.
18798 * gdb.c++/anon-union.cc: new file.
18799 * gdb.c++/local.cc: new file.
18800 * gdb.c++/member-pointer.cc: new file.
18801 * gdb.c++/method.cc: new file.
18802 * gdb.c++/ref-types.cc: new file.
18803 * gdb.c++/ref-types2.cc: new file.
18804 * gdb.c++/userdef.cc: new file.
d63a86f8 18805
c906108c
SS
18806 * gdb.base/scope.exp: compile one file at a time, then link.
18807 * gdb.base/langs.exp: ditto.
18808 * gdb.base/list.exp: ditto.
d63a86f8 18809
c906108c
SS
18810Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18811
18812 The following changes were made by David Taylor
889bf7c5
PA
18813 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18814 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18815 in changes by HP.
d63a86f8 18816
c906108c
SS
18817 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18818 skip tests. When compiling pass c++ flag to gdb_compile.
18819 * gdb.c++/
d63a86f8 18820
c906108c
SS
18821 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18822 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18823 (skip_hp_tests): new function.
18824 (gdb_preprocess): new function.
18825
18826 * configure.in (hpdir): decide whether to configure gdb.hp.
18827 * configure: regenerated.
18828
18829 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18830 to delete on clean.
18831 (EXECUTABLES): update to reflect new additions.
18832 * gdb.base/commands.exp: update message expected.
18833 * gdb.base/default.exp: add copyright notice.
18834 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18835 * gdb.base/help.exp: update messages to reflect current text.
18836 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18837 targets for recurse tests.
18838 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18839 skip this file.
18840
18841 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18842 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18843 compilation.
18844 * gdb.c++/misc.exp: ditto.
18845 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18846 run the tests. tell gdb_compile that it's a c++ compilation.
18847
18848 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 18849
c906108c
SS
18850 * gdb.base/all-bin.exp: new file.
18851 * gdb.base/arithmet.exp: new file.
18852 * gdb.base/assign.exp: new file.
18853 * gdb.base/completion.exp: new file.
18854 * gdb.base/cond-expr.exp: new file.
18855 * gdb.base/condbreak.exp: new file.
18856 * gdb.base/define.exp: new file.
18857 * gdb.base/dollar.exp: new file.
18858 * gdb.base/environment.exp: new file.
18859 * gdb.base/eval-skip.exp: new file.
18860 * gdb.base/jump.exp: new file.
18861 * gdb.base/logical.exp: new file.
18862 * gdb.base/pointers.exp: new file.
18863 * gdb.base/relational.exp: new file.
18864 * gdb.base/section_command.exp: new file.
18865 * gdb.base/whatis-expr.exp: new file.
18866
18867 * gdb.base/all-types.c: new file.
18868 * gdb.base/call-array-struct.c: new file.
18869 * gdb.base/call-return-struct.c: new file.
18870 * gdb.base/call-strings.c: new file.
18871 * gdb.base/callfuncs2.c: new file.
18872 * gdb.base/condbreak.c: new file.
18873 * gdb.base/constvars.c: new file.
18874 * gdb.base/display.c: new file.
18875 * gdb.base/int-type.c: new file.
18876 * gdb.base/jump.c: new file.
18877 * gdb.base/miscexprs.c: new file.
18878 * gdb.base/pointers.c: new file.
18879 * gdb.base/pointers2.c: new file.
18880 * gdb.base/shmain.c: new file.
18881 * gdb.base/shr1.c: new file.
18882 * gdb.base/shr2.c: new file.
18883 * gdb.base/solib.c: new file.
18884 * gdb.base/solib1.c: new file.
18885 * gdb.base/solib2.c: new file.
18886 * gdb.base/varargs.c: new file.
18887 * gdb.c++/derivation.cc: new file.
18888 * gdb.c++/overload.cc: new file.
18889 * gdb.c++/ovldbreak.cc: new file.
18890 * gdb.hp/attach.c: new file.
18891 * gdb.hp/attach2.c: new file.
18892 * gdb.hp/average.c: new file.
18893 * gdb.hp/compiler.c: new file.
18894 * gdb.hp/compiler.cc: new file.
18895 * gdb.hp/execd-program.c: new file.
18896 * gdb.hp/follow-exec.c: new file.
18897 * gdb.hp/follow-fork.c: new file.
18898 * gdb.hp/follow-vfork-and-exec.c: new file.
18899 * gdb.hp/misc-hp.cc: new file.
18900 * gdb.hp/more-steps.c: new file.
18901 * gdb.hp/optimize.c: new file.
18902 * gdb.hp/quicksort.c: new file.
18903 * gdb.hp/run-hp.c: new file.
18904 * gdb.hp/start-stop.c: new file.
18905 * gdb.hp/sum.c: new file.
18906 * gdb.hp/templates-hp.cc: new file.
18907 * gdb.hp/thread-local-in-lib.c: new file.
18908 * gdb.hp/thread-local-in-lib.h: new file.
18909 * gdb.hp/thread-local-in-lib.lib.c: new file.
18910 * gdb.hp/vforked-program.c: new file.
18911 * gdb.hp/virtfunc-hp.cc: new file.
18912 * gdb.hp/watchpoint-hp.c: new file.
18913 * gdb.hp/xdb.c: new file.
18914 * gdb.hp/xdb0.c: new file.
18915 * gdb.hp/xdb0.h: new file.
18916 * gdb.hp/xdb1.c: new file.
18917
18918Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18919
18920 The following change was made by Edith Epstein
889bf7c5
PA
18921 <eepstein@cygnus.com> as part of a project to merge in changes
18922 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
18923
18924 * gdb.c++/demangle.exp: changed the expected output for some
18925 ARM-style mangling -- removed second reference to datatype.
889bf7c5 18926 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 18927 T1<char>::~T1<char>(void)
c906108c 18928 becomes,
a9c64011
AS
18929 maint demangle __dt__11T1__pt__2_cFv
18930 T1<char>::~T1(void)
c906108c 18931
889bf7c5 18932 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 18933
c906108c
SS
18934Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18935
18936 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18937 * gdb.trace/backtrace.exp: Likewise.
18938 * gdb.trace/circ.exp: Likewise.
18939 * gdb.trace/collection.exp: Likewise.
18940 * gdb.trace/deltrace.exp: Likewise.
18941 * gdb.trace/infotrace.exp: Likewise.
18942 * gdb.trace/limits.exp: Likewise.
18943 * gdb.trace/packetlen.exp: Likewise.
18944 * gdb.trace/passc-dyn.exp: Likewise.
18945 * gdb.trace/passcount.exp: Likewise.
18946 * gdb.trace/report.exp: Likewise.
18947 * gdb.trace/save-trace.exp: Likewise.
18948 * gdb.trace/tfind.exp: Likewise.
18949 * gdb.trace/tracecmd.exp: Likewise.
18950 * gdb.trace/while-dyn.exp: Likewise.
18951 * gdb.trace/while-stepping.exp: Likewise.
18952
189531998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18954
18955 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18956
18957Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18958
18959 From Brendan Kehoe:
18960 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18961 int return types.
18962
18963Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18964
18965 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 18966 remote dos host testing right.
c906108c
SS
18967
18968Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18969
18970 * gdb.base/corefile.exp: remove some xfails.
18971
18972Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18973
18974 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 18975 have different timestamps.
c906108c
SS
18976
18977Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18978
18979 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 18980 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
18981
18982Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18983
18984 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 18985 delta.
c906108c
SS
18986
18987Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18988
18989 * gdb.base/default.exp: Add brace missing from previous delta.
18990
18991Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18992
18993 * gdb.base/default.exp: Support test for info float for all
18994 varieties of arm toolchain.
18995
dc96c6c7 18996Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18997
18998 * gdb.trace/*.exp: remove "remote_download" command.
18999
dc96c6c7 19000Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19001
19002 * gdb.trace/*.exp: remove -gdwarf from compile.
19003
19004Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19005
19006 * gdb.trace/configure.in(AC_INIT): typo
19007 * gdb.trace/configure: regenerated
19008
dc96c6c7 19009Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19010
19011 * config/m68k-emc.exp: New file.
19012 * lib/<emc-support.exp trace-support.exp}: New files.
19013 * configure.in: add new test directory gdb.trace.
19014 * gdb.trace/{configure configure.in Makefile.in}: New files.
19015 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19016 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19017 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19018 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19019 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19020 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19021 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 19022
dc96c6c7 19023Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19024
19025 * gdb.c++/classes.exp: Change all regular expressions to match
19026 arbitrary combinations of newline/carriage-return, so that they
19027 will work equally well on Unix and Windows.
19028 * gdb.c++/inherit.exp: ditto.
19029 * gdb.c++/virtfunc.exp: ditto.
19030
190311998-08-11 Dawn Perchik <dawn@cygnus.com>
19032
19033 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19034
c2d11a7d
JM
19035Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19036
19037 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19038 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19039 to use a0-a3/d0-d3 as needed.
19040
19041Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19042
19043 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19044 * gdb.disasm/am33.exp: Corresponding changes.
19045
c906108c
SS
190461998-07-11 Felix Lee <flee@cygnus.com>
19047
19048 * gdb.base/callfuncs.exp: add cmp10 test.
19049 * gdb.base/callfuncs.c (cmp10): new function.
19050
19051Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19052
d63a86f8 19053 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
19054 into two parts to get around a synchronization problem in expect.
19055
3fc11d3e
JM
19056Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19057
19058 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19059
19060 * configure.in: Add options for gdbtk testsuite.
19061
19062 * configure: Regenerate.
19063
19064 * gdb.gdbtk: New directory to hold gdbtk tests.
19065
c906108c
SS
19066Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19067
19068 * gdb.fortran/types.exp: Escape brackets in expect patterns
19069 for test_float_literal_types_accepted tests.
19070 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19071 before run test.
19072
c2d11a7d
JM
19073Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19074
19075 * am33.exp: Just compile, do not link the testcase.
19076 * am33.s: Add ".am33" pseudoop to force am33 mode.
19077
c906108c
SS
190781998-06-25 Felix Lee <flee@cygnus.com>
19079
19080 * gdb.base/setshow.exp: make sure $pc is sane.
19081
19082 * gdb.stabs/weird.exp: split expect patterns properly.
19083
c2d11a7d
JM
19084Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19085
19086 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19087 * gdb.disasm/am33.exp: Run it.
19088
dc96c6c7 19089Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19090
19091 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19092 match processing (and eliminate spurious timeouts when running).
19093
dc96c6c7 19094Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19095
19096 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19097 exception test, but conditionalize it on target [mach | gnu].
19098
dc96c6c7 19099Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19100
19101 * gdb.base/overlays.exp: fixup compile line for linker script.
19102
19103Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19104
19105 * gdb.fortran/types.exp: don't guess at float size.
19106
19107Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19108
19109 * gdb.base/exprs.exp: delete test that depends on int size.
19110
19111Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19112
19113 * config/sim.exp: Removed checks for target triplets.
19114 (gdb_target_sim): Use gdb,target_sim_options.
19115
19116Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19117
19118 * gdb.base/reread.exp: New file.
19119 * gdb.base/reread1.c: New file.
19120 * gdb.base/reread2.c: New file.
19121
19122Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19123
19124 * config/sim.exp: Use 'target sim -sparclite' when running
19125 SPARClite programs.
19126
19127Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19128
19129 * gdb.base/structs2.exp: New file.
19130 * gdb.base/structs2.c: New file.
19131
19132Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19133
19134 * gdb.asm/common.inc: New file.
19135 * gdb.asm/d10v.inc: New file.
19136 * asm-source.exp: Pass -I's to gas to find .inc files.
19137 Update line numbers in expected output.
19138 * asmsrc1.s: Rewrite.
19139 * asmsrc2.s: Rewrite.
19140 * configure.in: Create arch.inc symlink.
19141 * configure: Regenerate.
19142 * Makefile.in (distclean): Delete arch.inc.
19143
19144Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19145
19146 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
19147 (t_enum_value2): ditto
19148 (t_enum_value3): ditto
19149 (main): ditto
c906108c
SS
19150Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19151
19152 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19153 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19154 change.
19155 Use gdb_test instead of send_gdb/gdb_expect sequences.
19156
19157Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19158
19159 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19160 not void.
19161
19162Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19163
19164 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
19165 subroutines. Used to test gdbs ability to single step through PC
19166 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
19167
19168Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19169
19170 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19171 more rigorous EGCS C++ error checking.
19172
19173Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19174
a9c64011
AS
19175 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19176 tests.
19177 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19178 function when asleep.
19179 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19180 for i*86 Linux and SVR4 signal handling problems.
19181 Remove linux xfail for `next to handler in signals_tests_1', fixed
19182 by recent infrun.c change.
19183 Limit backtrace to 10 frames to avoid timeout problems with infinite
19184 stack backtraces.
19185 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19186 target.[ch] change.
c906108c
SS
19187
19188Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19189
19190 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19191 for a newline from gdb before continuing.
19192 (default_gdb_exit): Just look for y or n.
19193 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19194 it does, fail the rests of the tests in the file.
19195
19196Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19197
19198 * config/cygmon.exp: New file.
19199
19200Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19201
19202 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 19203 main" test on remote targets.
c906108c
SS
19204
19205 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19206 run test on remote targets.
19207
19208Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19209
19210 * gdb.asm: New directory.
19211 * configure.in: Configure it.
19212 * configure: Regenerate.
19213 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19214 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19215
19216Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19217
19218 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19219
dc96c6c7 19220Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19221
a9c64011
AS
19222 * gdb.base/overlays (several files): Merge the two overlay
19223 managers into one. Change variables (foox, barx, bazx, grbxx)
19224 back into ints but force them to load in their proper sections.
c906108c
SS
19225
19226Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19227
19228 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 19229 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
19230 (D10VCopy): Handle memory regions crossing 16k boundaries.
19231 (D10VCopy): Transfer data in 32 bit chunks.
19232
19233Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19234
19235 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 19236 correct.
c906108c
SS
19237
19238 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 19239 map. Include space for printf in .text segment.
c906108c
SS
19240
19241 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 19242 updated d10v memory VMA/LMA map.
c906108c 19243 (D10VCopy): Call D10VTranslate.
d63a86f8 19244
c906108c
SS
19245Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19246
19247 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19248
19249 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
19250 that it won't be put into the .sdata - small data -
19251 section. Update reference.
c906108c
SS
19252 * gdb.base/baz.c (bazx, baz): Ditto.
19253 * gdb.base/foo.c (foox, foo): Ditto.
19254 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19255
19256 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 19257 to be arrays.
d63a86f8 19258
dc96c6c7 19259Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 19260
a9c64011
AS
19261 * gdb.base/overlays.exp: fix up and get working again.
19262 Add tests for backtraces from an overlay function.
d63a86f8 19263
c906108c
SS
19264Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19265
19266 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19267 "calling function with watchpoint enabled".
19268
19269Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19270
19271 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 19272 gdb_suppress_tests for d10v-*-*.
c906108c
SS
19273 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19274 pending review of whether it is useful or not.
19275
19276Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19277
19278 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19279
19280Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19281
19282 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19283 * config/dve.exp: New file to support Densan boards.
19284
19285Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19286
19287 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 19288 reads and BSD.
c906108c
SS
19289
19290Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19291
19292 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19293 response.
19294
19295 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19296
19297Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19298
19299 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 19300 test.
c906108c
SS
19301
19302 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 19303 target_sizeof_long and target_bigendian_p.
c906108c 19304 (structs_by_value, structs_by_reference): Check values according
889bf7c5 19305 to targets word size and endianess.
d63a86f8 19306
c906108c
SS
19307Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19308
19309 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 19310 output.
c906108c
SS
19311
19312Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19313
19314 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 19315 Update test of set args help to match source change.
c906108c
SS
19316
19317Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19318
19319 * gdb.base/default.exp: Expect help system output to be in
19320 alphabetical order.
19321 * gdb.base/help.exp: Ditto.
19322
19323Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19324
19325 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19326 "i*86-pc-linux-gnu*".
19327 * gdb.base/interrupt.exp: Ditto.
19328 * gdb.base/corefile.exp: Ditto.
19329
19330 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 19331 define vxworks when building the testcase.
c906108c
SS
19332
19333 * gdb.base/ptype.exp: Fix testnames to be unique.
19334 * gdb.base/radix.exp: Ditto.
19335 * gdb.base/term.exp: Ditto.
19336 * gdb.base/whatis.exp: Ditto.
19337 * gdb.c++/classes.exp: Ditto.
19338
19339Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19340
19341 * gdb.base/callfuncs.exp: Fix indentation.
19342
19343 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19344 suppress_flag has been set.
19345 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19346 target feature.
19347
19348Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19349
19350 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19351 the testcase.
19352
19353 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 19354 set_debug_traps() and breakpoint().
c906108c
SS
19355 * gdb.c++/misc.cc (main): Ditto.
19356 * gdb.c++/templates.cc (main): Ditto.
19357 * gdb.c++/virtfunc.cc (main): Ditto.
19358
19359Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19360
19361 * lib/gdb.exp(gdb_step_for_stub): New function.
19362 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19363 exists, reload the executable and do a "continue" instead of
19364 doing a jump.
19365 (runto_main): Use gdb_step_for_stub.
d63a86f8 19366
c906108c 19367 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 19368 tests to have unique names.
c906108c
SS
19369 * gdb.base/callfuncs.exp: Ditto.
19370 * gdb.base/commands.exp: Ditto.
19371 * gdb.base/default.exp: Ditto.
19372 * gdb.base/help.exp: Ditto.
19373 * gdb.base/list.exp: Ditto.
19374 * gdb.base/opaque.exp: Ditto.
19375 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19376 similar tests.
d63a86f8 19377
c906108c
SS
19378 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19379 * gdb.c++/cplusfuncs.cc: Ditto.
19380 * gdb.c++/virtfunc.cc: Ditto.
19381
19382 * config/monitor.exp: Keep track of the last file we saw, rather
19383 than trying to get the info from gdb.
19384
19385 * gdb.fortran/types.exp: Move comment to previous line.
19386
19387Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19388
19389 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 19390 target mode.
c906108c
SS
19391
19392Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19393
19394 From Bob Manson:
19395 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 19396 string from GDB when it connects.
c906108c
SS
19397
19398 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19399
19400Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19401
19402 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
19403 if we can't get a debug format from GDB (we may be testing an
19404 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
19405
19406 * gdb.stabs/weird.exp: Fix quoting.
19407
19408 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19409
19410Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19411
19412 * config/arm-ice.exp: New file.
19413
19414Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19415
19416 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 19417 until it has been modified to work with the new testsuite.
c906108c 19418
99707966 19419 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
19420 testcase won't compile, cause all of the testcases in the file to
19421 fail instead.
c906108c
SS
19422
19423 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19424 (gdb_clear_suppressed): New procedure.
19425 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19426 it contains a positive value.
19427
19428Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19429
19430 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19431
19432 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19433
19434Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19435
19436 * lib/gdb.exp (setup_xfail_format): New function.
19437 (get_debug_format): New function to get debug format.
19438 (debug_format): New global variable to hold last value set
19439 by get_debug_format.
19440 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 19441 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
19442 * gdb.c++/ptype.exp: Ditto.
19443 * gdb.c++/classes.exp: Ditto.
19444 * gdb.c++/cplusfuncs.exp: Ditto.
19445 * gdb.c++/inherit.exp: Ditto.
19446 * gdb.c++/templates.exp: Ditto.
19447 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 19448
c906108c
SS
19449Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19450
19451 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19452 host doesn't have a currently-open connection.
19453
19454 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
19455 any gdb stub target. Handle cases where gdb doesn't respond when
19456 interrupted in a sane fashion.
c906108c
SS
19457
19458 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 19459 same thing in a totally different way.
c906108c
SS
19460
19461 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 19462 setting "timeout".
c906108c 19463 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 19464 default_gdb_init now.
c906108c
SS
19465
19466Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19467
19468 * gdb.base/printcmds.exp: Fix "check for floating addition"
19469 regexp to accept results within approx +/- .01 of exact value.
19470 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19471
19472Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19473
19474 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 19475 properly.
c906108c
SS
19476 (gdb_expect): Add optional timeout parameter, and add timeout
19477 value to various calls.
19478 (gdb_suppress_tests): Only give one warning message per group.
19479
19480Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19481
19482 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
19483 global variables. Handle getting a value for $timeout more
19484 gracefully.
c906108c
SS
19485
19486Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19487
19488 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 19489 initialize.
c906108c 19490 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 19491 by a target configuration file.
c906108c
SS
19492 (gdb_expect): Pass the timeout to remote_expect.
19493
19494 * config/monitor.exp(gdb_load): Fix typo in regexp.
19495
19496Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19497
19498 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19499
19500Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19501
19502 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
19503 here. Call gdb_target_exec before rebooting the target, to make
19504 sure the connection to the target is closed.
c906108c
SS
19505 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19506 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19507 Also detect "Timeout reading from remote" error.
19508
19509 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
19510 gdb_target_monitor. Don't call gdb_file_cmd here; let
19511 gdb_target_monitor do it.
c906108c
SS
19512
19513 * gdb.disasm/hppa.exp: Don't use exec_output.
19514
19515Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19516
19517 * gdb.base/list.exp: If we're debugging a non-native target,
19518 try to set the pc register to point to the start of the
19519 program before doing the first list command.
19520
19521 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 19522 test_calls after restarting.
c906108c
SS
19523
19524 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 19525 reloading.
c906108c
SS
19526
19527 * gdb.base/watchpoint.exp: Fix typo.
19528
19529 * gdb.base/setshow.exp: Check for use_gdb_stub.
19530
19531 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 19532 stub case.
c906108c
SS
19533 * gdb.base/langs.exp: Ditto.
19534
19535 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
19536 gdb_load_offset. If we weren't given a file to load, figure out
19537 what the current file is and use it.
c906108c
SS
19538
19539 * config/i386-bozo.exp: New file.
19540
19541Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19542
19543 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19544 feature.
19545
19546 * config/proelf.exp: New entry.
19547
19548Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19549
19550 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19551 of regexps.
19552
19553 * gdb.base/watchpoint.exp: Don't run the test_stepping
19554 tests if gdb can't call functions on the target.
19555
19556 * gdb.base/setshow.exp: Don't run the set prompt tests if
19557 the board has gdb_prompt set.
19558
19559Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19560
19561 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19562 * gdb.base/commands.exp: Likewise.
19563 * gdb.base/setshow.exp: Likewise.
19564
19565Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19566
19567 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19568 feature.
19569
19570 * config/i960.exp: New file.
19571
19572Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19573
19574 * gdb.base/funcargs.exp: Check for gdb,short_int target
19575 feature instead of looking for explicit target triplets.
19576
dc96c6c7 19577Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 19578
d63a86f8 19579 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
19580 "p 123DEADBEEF", to check parse_number.
19581 * top.c: change "to enable to enable" to "to enable" in a couple
19582 of help strings.
19583
19584Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19585
19586 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19587 on the mn10300.
d63a86f8 19588
c906108c
SS
19589Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19590
19591 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19592 where the test executable is run with explicit args.
19593 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19594
19595Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19596
19597 * gdb.base/run.c: Use FAKEARGV to build test executable that
19598 does not require a command line arg, since most simulators
19599 don't currently support passing such an arg into the simulated
19600 program.
19601 * gdb.base/commands.exp: Change tests to insert the proper
19602 value as the arg to the first recursive factorial call. Change
19603 compilation line to define FAKEARGV at compile time.
19604
19605Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19606
19607 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19608 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19609 function with watchpoint enabled" test.
19610
19611Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19612
19613 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 19614 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
19615
19616 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 19617 "Tests restarted" messages.
c906108c
SS
19618
19619Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19620
19621 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19622
dc96c6c7 19623Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19624
19625 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19626 for INFO SYMBOL; add help tests for OVERLAY commands.
19627 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19628 add tests for OVERLAY commands
19629 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19630 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19631 * gdb.base/sigall.c: add usestubs code frag
19632 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 19633
c906108c
SS
19634Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19635
19636 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19637 failures.
19638 (gdb_stop_suppressing_tests): Note that tests have restarted.
19639
19640Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19641
19642 * config/h8300.exp: New file.
19643
19644Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19645
19646 * gdb.base/setshow.exp: Check for the existence of a
19647 feature, not its value.
19648
19649Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19650
19651 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19652
19653 * gdb.base/scope.exp: It's now init0(), not init().
19654
19655 * gdb.base/scope0.c: For now, change init() to be init0().
19656
19657 * config/monitor.exp: Use gdb_serial in preference to serial
19658 or netport.
19659
19660 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 19661 and it's not already set.
c906108c
SS
19662
19663Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19664
19665 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 19666 isn't using a stub and if it supports argument passing.
c906108c
SS
19667
19668Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19669
19670 * config/udi.exp(gdb_start): Make sure UDICONF is set
19671 properly before starting gdb.
19672
19673Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19674
19675 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19676 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19677 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19678
19679Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19680
19681 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 19682 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
19683
19684 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19685
19686 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19687
19688 * config/monitor.exp: Make sure we disconnect from the target.
19689 Also, try a reboot/reload cycle instead of failing if the
19690 load fails.
19691
19692Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19693
19694 * gdb.base/default.exp: Don't set match_max.
19695 * gdb.base/help.exp: Ditto.
19696 * gdb.base/list.exp: Ditto.
19697 * gdb.base/signals.exp: Ditto.
19698
19699 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19700 set, use remote_ld to download the testcase instead of
19701 the GDB loader.
19702
19703Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19704
19705 * config/vr5000.exp: New file.
19706
19707 * config/monitor.exp(gdb_target_monitor): Add pattern for
19708 "Ending remote" to detect errors in connecting.
19709
19710 * gdb.base/setshow.exp: Add .* within auto language test.
19711
19712 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19713 target feature.
19714
19715 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 19716 and reboot the board if necessary.
c906108c
SS
19717
19718 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19719 a set of tests. Remove print.* from the patterns being checked.
19720
19721Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19722
19723 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19724 refer to gdb_spawn_id.
19725
19726 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19727 longer used.
19728 * config/sparclet.exp: Ditto.
19729 * config/sparclet-old.exp: Ditto.
19730 * config/slite.exp: Ditto.
19731 * config/sim.exp: Ditto.
19732 * gdb.base/funcargs.exp: Ditto.
19733
19734 * lib/gdb.exp:Remove references to gdb_spawn_id.
19735 (gdb_expect): Move to remote.exp.
19736
19737Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19738
19739 * config/monitor.exp: Detect the "Couldn't establish connection"
19740 message from GDB.
19741
19742Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19743
19744 * gdb.base/bitfields.exp: Use runto instead of explicit
19745 gdb_run_cmd/gdb_expect sequences.
19746
19747 * gdb.base/break.exp(text_next_with_recursion): Add match for
19748 gdb_expect call.
19749
19750 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19751 We also need to handle the "A program is being debugged already"
19752 prompt from gdb. Use gdb_test to set the baud rate.
19753
19754 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19755 to 20000. Really. I mean it.
19756
19757Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19758
19759 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
19760 fails. If suppress_flag is set, skip perror message about not
19761 being able to send to GDB.
c906108c 19762 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 19763 GDB.
c906108c
SS
19764 (gdb_expect): If suppress_flag is set, always fail immediately.
19765 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19766 (gdb_init): Call gdb_stop_suppressing_tests.
19767 (default_gdb_exit): Ditto.
19768 (default_gdb_start): Ditto.
19769
19770 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 19771 gdb_stop_suppressing_tests as appropriate.
c906108c 19772 * gdb.base/break.exp: Ditto.
889bf7c5 19773 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
19774 * gdb.base/commands.exp: Ditto.
19775 * gdb.base/exprs.exp: Ditto.
889bf7c5 19776 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
19777 * gdb.base/list.exp: Ditto.
19778 * gdb.base/recurse.exp: Ditto.
889bf7c5 19779 * gdb.base/scope.exp: Ditto.
c906108c
SS
19780 * gdb.base/structs.exp: Ditto.
19781 * gdb.c++/inherit.exp: Ditto.
19782
19783Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19784
19785 * config/vr4300.exp: New file.
19786
99707966 19787 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 19788
99707966 19789 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
19790
19791Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19792
19793 * lib/gdb.exp(gdb_init): New function.
19794
19795 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 19796 for each individual variable set.
c906108c
SS
19797
19798 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19799 name.
19800
19801 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19802
19803 * gdb.base/scope.exp: Use gdb_test.
19804
19805 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19806 aborting; the testsuite driver will do that for us (see
19807 gdb_finish). Also, use gdb_test in a few more places.
19808
19809Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19810
19811 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19812
19813Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19814
19815 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19816 and "add_tests" are not at the same address.
19817
19818Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19819
19820 * gdb.base/ptype.exp: Use gdb_test.
19821
19822Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19823
19824 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19825 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19826 left in. No longer expect them to fail.
19827
19828 * gdb.stabs/*.mt; Deleted, no longer used.
19829 * gdb.stabs/configure.in: Remove references to target makefile
19830 frags.
19831 * gdb.stabs/configure: Rebuilt.
19832
19833 * gdb.disasm/*.mt: Deleted, no longer used.
19834 * gdb.disasm/configure.in: Remove references to target makefile
19835 frags. Use "sh3.s" as the unique filename for this directory.
19836 * gdb.disasm/configure: Rebuilt.
19837
19838 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19839 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19840 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19841
19842Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19843
19844 * config/udi.exp: Use mondfe,name instead of remote_host.
19845
19846Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19847
19848 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19849 a function with a watchpoint enabled on the mn10200.
19850
19851 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19852 before trying to create it!
19853
19854Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19855
19856 * config/vx.exp: Use hostname instead of netport.
19857
19858 * config/vxworks.exp: New file.
19859
19860 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19861
19862 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 19863 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
19864 occurs.
19865
19866 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19867 $gdb_spawn_id directly.
19868 (gdb_run_cmd): Try _start as well as start. Use the target feature
19869 gdb,start_symbol as the symbol to start from when jumping.
19870
19871Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19872
19873 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19874 redundant) test.
19875
19876 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19877 it doesn't lose for 16bit integer systems.
19878
19879Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19880
19881 * gdb.fortran/types.exp: If the target doesn't support "double"
19882 data types, then expect "real" types to only be 4 bytes.
19883
19884 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19885 call tests if the target doesn't support inferior function calls.
19886
19887 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19888 in printf tests.
19889
19890Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19891
19892 * gdb.base/help.exp: Disable "help set", "help show", and
19893 "help support". Simplify regexp for "help stack".
19894
19895 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19896 to 60 seconds. Temporarily set match_max to 15000 around the
19897 "info copying" test.
19898
19899 * gdb.base/nodebug.exp: Don't try to do an inferior function
19900 call if the target doesn't support them.
19901 * gdb.base/printcmds.exp: Likewise.
19902 * gdb.base/setvar.exp: Likewise.
19903 * gdb.base/structs.exp: Likewise.
19904 * gdb.c++/templates.exp: Likewise.
19905 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19906
19907 * gdb.base/recurse.exp: Enable for the mn10200.
19908
19909 * configure.in: Do configure gdb.stabs directory for *-*-elf
19910 targets.
19911 * configure: Rebuilt.
19912
19913 * gdb.base/break.exp: Check for gdb,noresults before testing
19914 exit status and/or results from the target.
19915 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19916 * lib/gdb.exp: Remove old (now bogus) initialization of
19917 noinferior, noargs, noresults and nosignals.
19918
19919Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19920
19921 * config/sh.exp: New file.
19922
19923 * config/slite.exp: Try to connect multiple times to the board
19924 before rebooting. Only send a "monitor run" if need_monitor_run
19925 is set.
19926
19927 * gdb.base/break.exp: Don't do the "stub continue" test if
19928 the target has gdb_stub set.
19929
19930 * gdb.base/callfuncs.exp: Increase the timeout.
19931
19932 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19933 if the target has gdb,noinferiorio set.
19934
19935 * gdb.base/list.exp: Increase match_max to 10000 characters.
19936
19937 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19938
19939 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19940 target.
19941
19942 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19943
19944Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19945
19946 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
19947 trying to delete the copy of gdb. Catch the file delete so we
19948 don't die if the delete fails; also, the file should be copied to
19949 the host, not to the build.
c906108c
SS
19950
19951Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19952
19953 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 19954 parenthesis in case it contains multiple regexps separated
c906108c
SS
19955 with |.
19956
19957 * gdb.base/watchpoint.exp: Use gdb_test.
19958 * gdb.base/default.exp: Ditto.
19959
19960Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19961
99707966 19962 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 19963
c906108c
SS
19964 * gdb.base/scope.exp: Use gdb_test.
19965 * gdb.c++/classes.exp: Ditto.
19966 * gdb.c++/inherit.exp: Ditto.
19967
19968Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19969
19970 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19971 remote_exec instead.
19972 * gdb.base/corefile.exp: Don't be ridiculous.
19973 * gdb.base/*.c: Add missing stub invocations.
19974
19975Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19976
19977 * config/slite.exp: Miscellaneous fixes.
19978
19979 * lib/gdb.exp: Fix runto.
19980
19981 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19982 the target.
19983
19984 * gdb.base/watchpoint.exp: Fix regexp.
19985
19986 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19987 close and wait commands, as the descriptor may now be
19988 invalid. Always call "remote_close host".
19989
19990Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19991
19992 Major rewrite for testsuite revision.
d63a86f8 19993
c906108c
SS
19994 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19995 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19996 instead of relying on spawn_id to always contain a valid
19997 spawn id.
19998 (get_compiler_info): New procedure to build the ${binfile}.ci
19999 file, instead of replicating this in N different places.
20000 (gdb_compile): New procedure.
d63a86f8 20001
c906108c 20002 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
20003 appropriate arguments) instead of compile. Use gdb_test in a lot
20004 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
20005 at the start of a testcase, as this is no longer done magically.
20006
20007 config/*-gdb.exp: Rename without the -gdb suffix.
20008
20009 config/mips.exp: Use remote_close instead of exit_remote_shell.
20010 config/monitor.exp: Use target_info instead of looking at
20011 baud, timeout, etc.
20012 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20013
20014Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20015
20016 * gdb.c++/templates.exp (test_ptype_of_templates),
20017 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20018 Update expect patterns for destructors and assignment operators
20019 to match corresponding c-typeprint.c changes.
20020 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20021 to destructor breakpoint test, GDB should be able to set the
20022 destructor breakpoint without specifying arguments.
20023
20024Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20025
20026 * gdb.threads/pthreads.exp: Change result for failure to compile due
20027 to lack of pthreads runtime support from an error to simply an
20028 unsupported test, per dejagnu standards.
20029
20030Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20031
20032 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20033 where GDB exits to reduce pattern match time.
20034 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20035
20036 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20037
dc96c6c7 20038Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20039
20040 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20041 * gdb.base/default.exp: ditto.
20042 * gdb.base/nodebug.exp: ditto.
20043 * gdb.base/printcmds.exp: ditto.
20044 * gdb.base/ptype.exp: ditto.
20045 * gdb.base/setvar.exp: ditto.
20046 * gdb.base/structs.exp: ditto.
20047 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20048
20049Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20050
20051 * configure, */configure: Rebuild with autoconf 2.12.
20052
20053Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20054
20055 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20056 use new i*86-pc-linux*-gnu quads.
20057 * gdb.base/corefile.exp: Ditto.
20058 * gdb.base/signals.exp: Ditto.
20059 * gdb.base/sigall.exp: Ditto.
20060 * gdb.base/interrupt.exp: Ditto.
20061
20062 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20063 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20064 RedHat 4.0.
d63a86f8 20065
c906108c 20066 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
20067 linux. This allows the test case to at least compile on latest
20068 linux, but still not run due to missing the threads runtime library.
c906108c
SS
20069
20070Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20071
20072 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20073 directory to search gdb directory. Accept and step over conditional
20074 stack alignment code. Consume $prompt in failure cases.
20075 Reset timeout to $oldtimeout instead of some arbitrary value.
20076 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20077 timeout problems with infinite stack backtraces.
20078 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20079 Accept function parameters for linkfunc member.
20080
20081Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20082
20083 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20084 (CXXFLAGS): Remove, unreferenced.
20085 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
20086 previous -B options and also add -B option to pick up cross compiled
20087 runtime.
c906108c
SS
20088 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20089 doing cross compiles.
20090 (target_alias): Declare global.
20091 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20092 to verify that gcc exists in build tree, and if so set CC to that
20093 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 20094
c906108c
SS
20095Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20096
20097 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20098 ptype test for anonymous union. Fixup testcase to match
20099 current gcc debug output.
20100
20101Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20102
20103 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20104 force argument to an unsigned long type.
20105
20106Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20107
20108 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 20109 tests and anonymous union print/ptype tests.
c906108c
SS
20110 * gdb.base/list.exp (test_forward-search): Increase timeout by
20111 5 minutes for the "search extremely long line" case.
20112 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20113 completely optional and that the pass/fail messages use the command as
20114 the message if that third arg is a null string.
20115 (gdb_test_exact): Arrange that a null string pattern means match a
20116 null string output rather than any output, which might include random
889bf7c5 20117 errors.
c906108c
SS
20118 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20119 backtrace test.
20120 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20121 always failing and failure is now exposed by gdb.exp changes.
20122
20123Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20124
20125 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20126 weren't being noted.
20127
20128Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20129
20130 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20131 * gdb.stabs/weird.exp: Remove v_comb xfails.
20132
dc96c6c7 20133Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20134
20135 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 20136 list.exp scope.exp watchpoint.exp]
c906108c 20137 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 20138
dc96c6c7 20139Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20140
20141 * config/monitor.exp: Increase download timeout to 1000 seconds.
20142
dc96c6c7 20143Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20144
20145 * config/m32r.exp: Increase timeout to 120 seconds.
20146
20147Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20148
20149 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20150 and accept older ordering as obsolescent gcc or gdb.
20151 * gdb.c++/templates.exp: Ditto.
20152 * gdb.c++/virtfunc.exp: Ditto.
20153
20154Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20155
20156 * gdb.base/coremaker.c: Add code to mmap some data so we
20157 can check that it ends up in the core file.
20158 * gdb.base/corefile.exp: Add test to read mmapped data
20159 from core file.
20160
dc96c6c7 20161Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20162
20163 * config/m32r.exp: New file.
20164
20165Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20166
20167 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20168 that cflags can contains -gstabs, and work correctly for other tests.
20169
dc96c6c7 20170Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20171
20172 * gdb.base/setshow.exp: New file, tests show and set.
20173 * gdb.base/setshow.c: New file, tests show and set.
20174 * gdb.base/help.exp: Add test for help set|show annotate.
20175 * gdb.base/default.exp: Add test for set|show annotate.
20176
20177Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20178
20179 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20180 errors unique.
20181 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20182 explicitly.
20183
20184Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20185
20186 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20187 and width commands. This is done elsewhere.
20188 * (gdb_start): Don't call gdb_start_sim here. That's already
20189 done in gdb_load. This fixes lots of failures in default.exp.
20190
20191Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20192
20193 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20194 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20195 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20196 in the same we we treat other failures (since it may be an expected
889bf7c5 20197 condition), rather than as an error.
c906108c
SS
20198 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20199 old test format.
20200
20201Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20202
20203 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20204 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 20205 twice. Nuke the duplicates.
c906108c 20206 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 20207 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
20208 Remove config.h along with other config files.
20209
20210Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20211
20212 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20213 "p func1 ()" and note that rests of tests are skipped.
20214 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20215 setup_xfails for "print func2::coremaker_local".
c906108c
SS
20216 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20217 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20218 affected by the previous run test.
20219 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20220 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20221 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20222 "pass int powerset tuple" and "pass modeless int powerset tuple".
20223 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20224 "real write 4" and "real write 8".
20225 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 20226 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
20227 "print \$i after tuple assign 2", and
20228 "print vs2 after tuple assign 2".
20229 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20230 meaningful error message and return -1 so the caller can
20231 suppress further tests and avoid a cascade of errors.
d63a86f8 20232
c906108c
SS
20233Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20234
20235 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20236 format for printing version.
20237 * gdb.base/default.exp: Ditto.
20238 * gdb.base/interrupt.exp: Fix problem with cascade of
20239 errors if child process dies while calling a function.
d63a86f8 20240
c906108c
SS
20241Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20242
20243 * Makefile.in (VPATH): Add
20244 * Makefile.in (Makefile, config.status): Fix rules so things get
20245 remade when necessary.
20246
20247Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20248
20249 * Makefile.in (just-check): Add path to sibling expect dir
20250 to environment variable specified by RPATH_ENVVAR.
20251
20252Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20253
20254 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20255 (just-check): Add shared library paths for libstdc++, tk,
20256 tcl, bfd, and opcodes to the environment variable specified
20257 in RPATH_ENVVAR.
20258 * configure.in: Add support to recognize --enable-shared flag
20259 and generate correct value for RPATH_ENVVAR.
20260 * configure: Regenerated with autoconf.
20261
20262Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20263
20264 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 20265 include all osf versions.
c906108c
SS
20266 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20267 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20268 when target is linux. When failing to build pthreads test
20269 executable, give more meaningful message.
20270 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20271 arg for pthread_create.
d63a86f8 20272
c906108c
SS
20273Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20274
20275 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 20276 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 20277 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 20278 and -lpthreads (everybody else).
c906108c
SS
20279 (test_startup): Fail gracefully if threads are not supported.
20280 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20281 "p/c array_index("abcdef",2)" when not gcc compiled.
20282 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20283 "print func2::coremaker_local" when not gcc compiled.
20284 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20285 "ptype on opaque struct tagname (statically)",
20286 "ptype on opaque struct tagname (dynamically) 1", and
20287 "ptype on opaque struct tagname (dynamically) 2"
20288 for not compiled with gcc.
20289 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20290 backtrace when compiled with gcc.
d63a86f8 20291 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
20292 than always return success.
20293
20294Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20295
20296 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20297
20298Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20299
20300 * gdb.base/structs.exp: Undo last change.
20301
20302Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20303
20304 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20305 encapsulate all the steps/nexts done during self test, starting
20306 at main, and makes them less sensitive to optimization issues.
20307 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20308 signal handler" test.
20309 * gdb.threads/pthreads.exp: Only run this for native configs.
20310 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20311 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20312 tests.
20313 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20314 for "runto test_calls(void)" test.
d63a86f8 20315
c906108c
SS
20316Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20317
20318 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20319 and don't expect address info in breakpoint confirmations.
20320
20321Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20322
20323 * gdb.base/list.exp (test_forward_search): Increase timeout
20324 temporarily by 60 seconds for searching extremely long line,
889bf7c5 20325 and then reset to old value when done. Increase expect input
c906108c
SS
20326 buffer to 10000.
20327
20328Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20329
20330 * gdb.base/list.exp (test_forward_search): Fix to handle very
20331 long source line without overflowing expect's input buffer.
20332
20333Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20334
20335 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20336 "buffer_full".
20337
20338 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20339 "buffer_full".
20340
20341 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20342 "buffer_full".
20343
20344 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20345 "buffer_full".
20346
20347Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20348
20349 * configure.in (configdirs): Add gdb.threads.
20350 * configure: Regenerated with autoconf.
20351 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20352 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20353 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 20354
c906108c
SS
20355Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20356
20357 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20358
20359Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20360
20361 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20362 each signal's status in the output of "handle all print".
20363 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20364 the \r\n sequence that immediately precedes the gdb prompt.
20365 * gdb.base/a1-selftest.exp: Save original timeout and restore
20366 after test.
20367
20368Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20369
20370 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20371 symbol.
20372
20373Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20374
20375 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20376
20377Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20378
20379 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20380 timeout by 60 seconds.
20381
20382Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20383
20384 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20385 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20386 error return.
20387
20388Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20389
20390 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20391 gdb initialization, also report how long dejagnu waited. Restore
20392 old timeout before doing error return. Temporarily increase timeout
889bf7c5 20393 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
20394
20395Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20396
20397 * lib/gdb.exp: Report timeout value for verbosity level 2.
20398 * config/gdbserver.exp: Ditto.
20399 * config/hppro.exp: Ditto.
20400 * config/mips-gdb.exp: Ditto.
20401 * config/monitor.exp: Ditto.
20402 * config/netware.exp: Ditto.
20403 * config/sim-gdb.exp: Ditto.
20404 * config/slite-gdb.exp: Ditto.
20405 * config/udi-gdb.exp: Ditto.
20406 * config/unix-gdb.exp: Ditto.
20407 * config/vx-gdb.exp: Ditto.
20408 * gdb.base/a1-selftest.exp: Ditto.
20409 * gdb.base/a2-run.exp: Ditto.
20410 * gdb.base/break.exp: Ditto.
20411 * gdb.base/corefile.exp: Ditto.
20412 * gdb.base/list.exp: Ditto.
20413 * gdb.base/recurse.exp: Ditto.
20414 * gdb.base/scope.exp: Ditto.
20415 * gdb.base/signals.exp: Ditto.
20416
20417Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20418
20419 * gdb.threads/Makefile.in (docdir): Removed.
20420
20421Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20422
20423 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 20424 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 20425 @srcdir@.
d63a86f8 20426 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
20427 autoconf 2.5 or higher.
20428 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20429
20430Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20431
20432 * configure: Regenerated.
20433 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20434 avoid name clashes with SunOS headers.
20435
20436Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20437
20438 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20439
20440Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20441
20442 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20443 prototype information ends up in the compiler info file.
20444
20445Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20446
20447 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20448 attempting to regenerate it. Eliminate use of a temporary file
20449 and just generate the info file directly. Source it immediately,
20450 for consistency of use.
20451 * gdb.base/corefile.exp: Ditto
20452 * gdb.base/exprs.exp: Ditto.
20453 * gdb.base/funcargs.exp: Ditto.
20454 * gdb.base/langs.exp: Ditto.
20455 * gdb.base/list.exp: Ditto.
20456 * gdb.base/mips_pro.exp: Ditto.
20457 * gdb.base/nodebug.exp: Ditto.
20458 * gdb.base/opaque.exp: Ditto.
20459 * gdb.base/ptype.exp: Ditto.
20460 * gdb.base/scope.exp: Ditto.
20461 * gdb.base/setvar.exp: Ditto.
20462 * gdb.base/signals.exp: Ditto.
20463 * gdb.base/whatis.exp: Ditto.
20464 * gdb.c++/templates.exp: Ditto.
20465 * gdb.c++/virtfunc.exp: Ditto.
20466 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 20467 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
20468
20469Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20470
20471 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20472 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20473 Increase timeout, a lot of single stepping might be needed if the
20474 target has no hardware watchpoints.
20475
20476Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20477
20478 * gdb.base/break.exp: Ignore compiler warnings when compiling
20479 break.c.
20480 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20481 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20482 from remote-sim.
20483 * gdb.base/exprs.exp: Add h8300 xfails.
20484 * gdb.base/funcargs.exp: Likewise.
20485 * gdb.base/nodebug.exp: Likewise.
20486 * gdb.base/printcmds.exp: Likewise.
20487 * gdb.base/ptype.exp: Likewise.
20488 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20489 h8300 xfails.
d63a86f8 20490 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
20491 on the h8300.
20492 * gdb.base/funcargs.c: Explicitly make last constant argument to
20493 call_after_alloca_subr an unsigned long type.
20494 * gdb.base/return.c: Include stdio.h.
20495
20496Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20497
20498 * config/abug.exp: New file for the older Motorola Bug monitor
20499 that runs on the mvme13x series VME boards.
20500 * config/monitor.exp: Use the new config array for target settings
20501 if they exist.
20502
20503Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20504
20505 * sim-gdb.exp: Make the SH simulator allocate less space when
20506 it is targeted.
20507
20508Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20509
20510 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20511 test.
20512
20513Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20514
20515 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20516 "rs6000-*-*" for "list function in include file" when gcc compiled.
20517 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20518 for "p ctable1[120]".
20519 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20520 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20521 Remove setup_xfail for "rs6000-*-*" for
20522 "print 'scope0.c'::filelocal before run".
20523 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20524 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20525 since some compilers don't allow both options to be given
20526 on the same command line. Create object file and move it.
d63a86f8 20527
c906108c
SS
20528Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20529
20530 * gdb.base/corefile.exp: Always regenerate the core file, since
20531 we always regenerate the coremaker program. Detect special case
20532 where registers cannot be read from core file.
d63a86f8 20533
c906108c
SS
20534Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20535
20536 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20537 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20538 * gdb.c++/templates.exp: Only match on basename of file since
20539 some formats like xcoff don't encode directory information.
20540 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20541 and rs6000 AIX xcoff targets.
20542 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20543 * configure: Regenerate.
20544 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20545 here, rather than in distclean.
d63a86f8 20546
c906108c
SS
20547Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20548
20549 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20550 defined, and use it to compile the test case with -O2. The
20551 native compilation still uses no optimization.
20552 * gdb.base/mips_pro.c: Remove inline assembly code since
20553 it is compiled PIC by default, which results in assembler
20554 warnings that make the testsuite think the compilation
20555 was unsuccessful.
20556
20557Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20558
20559 * gdb.c++/misc.exp: Add note to message for
20560 "print s.a for foo struct" that this is a known gcc 2.7.2
20561 and earlier bug.
20562
20563Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20564
20565 * gdb.base/break.exp: Fix pattern for matching "Delete all
20566 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20567 setup_xfail for deleting all breakpoints test. Fix various
20568 timeout messages to include "(timeout)".
20569 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20570 for "p t_float_values2(3.14159,float_val2)".
20571 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20572 for "continue to call2g" when gcc compiled.
20573 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20574 "up to foo in langs.exp", "show language at foo in langs.exp",
20575 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20576 and "show language at fsub in langs.exp".
20577 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20578 "list line 1 in include file", "list message for lines past EOF",
20579 "list function in include file", "list list0.h:foo", and
20580 "list filename:function; nonexistant function".
20581 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20582 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20583 and "ptype t_char_array" to be for native cc only.
d63a86f8 20584
c906108c
SS
20585Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20586
d63a86f8 20587 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 20588 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 20589 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
20590
20591Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20592
20593 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20594 "bt in signals.exp". This problem only appears when running
20595 the testsuite, and then only intermittently.
20596
20597Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20598
20599 * gdb.base/return.exp (return_tests): Differentiate between
20600 two tests of continuing.
20601
20602Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20603
20604 * */Makefile.in (maintainer-clean): Remove config.log.
20605 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20606 * gdb.c++/Makefile.in (PROGS): Add inherit.
20607 (clean): Remove *.ci.
20608
20609Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20610
20611 * gdb.c++/misc.cc: Add test code from Mike Stump.
20612 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20613
20614Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20615
20616 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20617 to "alpha-*-osf2*" and add comment.
20618 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
20619 setup_xfail for "step over execarg initialization" and
20620 "step over corearg initialization".
c906108c
SS
20621 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20622 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20623 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 20624 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
20625 "print func2::coremaker_local", and "backtrace in corefile.exp".
20626 * gdb.base/signals.exp: Build and source signals.ci.
20627 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20628 to be for gcc only.
20629 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 20630
c906108c
SS
20631Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20632
20633 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20634 Feb 3 procfs.c change.
20635
20636Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20637
20638 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20639
20640Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20641
20642 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20643 from dejagnu's apparent default of 10 seconds, which gives random
20644 results when running the tests over NFS on moderately loaded systems.
20645 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20646
20647Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20648
20649 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20650 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 20651 result reports.
c906108c
SS
20652
20653Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20654
20655 * configure.in (CY_AC_PATH_TCLH): Remove.
20656 * configure: Regenerate.
20657
20658Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20659
20660 * gdb.c++/Makefile.in (clean): Add missing '{'.
20661
20662Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20663
20664 * lib/gdb.exp: Provide a default value for noinferior.
20665
20666 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20667 Load libgloss.exp.
20668
20669Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20670
20671 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20672 the executable, not the .o to run the tests from.
20673
20674Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20675
20676 * gdb.base/break.exp: Don't test for program exit or exit status
20677 if $noresults if nonzero.
20678 * gdb.base/langs.exp: Likewise.
20679 * gdb.base/watchpoint.exp: Likewise.
20680
20681 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20682 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20683 trying to compile the testcase.
20684
20685Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20686
20687 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20688 * gdb.base/signals.exp (continue to handler): Likewise.
20689
20690Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20691
20692 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20693
20694 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20695
20696Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20697
20698 * gdb.base/corefile.exp: Recognize "not found" as failure
20699 when trying to determine if a core file was generated.
20700 If no core file was generate the first time, try again without
20701 the ulimit -c to work around braindamaged shells.
20702
20703Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20704
20705 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20706 [] tests with "test" and enclose string in quotes.
20707 * gdb.stabs/configure: Rebuild
d63a86f8 20708
c906108c
SS
20709Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20710
20711 Changes in sync with expect:
20712 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20713 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20714 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20715 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20716 argument to AC_REQUIRE.
20717 * configure: Regenerated.
20718
20719Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20720
20721 * gdb.base/corefile.exp: When generating a core, discard any
20722 error messages about ulimit not found and the "core dumped"
20723 message from the shell that runs the coredumper.
20724
20725Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20726
20727 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20728
20729 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20730 which sed script to run. Expect failure for v_comb test
20731 on PA targets too.
d63a86f8 20732
c906108c
SS
20733Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20734
20735 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 20736 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
20737
20738Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20739
20740 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20741 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 20742 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
20743 * lib/gdb.exp (default_gdb_start): Fix typo.
20744 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20745 messages to not include the full program name that caused
20746 the core dump since some systems (such as solaris) apparently
20747 truncate this path to about 80 characters.
20748 When generating a core file first try increasing the core file
20749 size limit to unlimited since some systems may default it to
20750 zero, and it is harmless to try it. Move the test for failing
20751 to generate a core file to where it will actually get executed.
20752 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20753 new gdb result from g++ debug info improvements and make old
20754 pattern obsolescent. Also account for size_t differences
20755 (may be int or long).
20756 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20757 initialization before function call is placed in the delay slot
20758 and thus appears to be skipped over by commands such as "next".
20759
20760Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20761
20762 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20763
20764Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20765
20766 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20767 input source file; fix code to compile test to deal with this
20768 convention.
20769 * gdb.c++/*.exp: Likewise.
20770
20771Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20772
20773 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20774 "bt in signals.exp".
20775
20776Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20777
20778 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20779 "step over execarg initialization" and
889bf7c5 20780 "step over corearg initialization".
c906108c
SS
20781
20782Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20783
20784 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20785 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20786
20787Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20788
20789 From Rob Savoye (rob@poseidon.cygnus.com)
20790 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20791 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
20792 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20793 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20794 configure.in}: Major reworking for autoconfig.
c906108c
SS
20795 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20796 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 20797 New files.
c906108c
SS
20798 * config/unix-gdb.exp: Make GDB global.
20799 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
20800 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20801 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20802 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20803 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20804 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 20805 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
20806 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20807 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20808 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20809 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 20810 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
20811 to returns as necessary, arrange for test to compile own testcase
20812 executable.
c906108c 20813 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 20814
c906108c
SS
20815Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20816
20817 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 20818 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
20819 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20820 "backtrace through signal handler".
20821
20822Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20823
20824 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20825 continuing from a job control stop signal.
20826 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20827
20828Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20829
20830 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20831 * gdb.base/corefile.exp: Likewise.
20832 * gdb.base/funcargs.exp: Likewise.
20833
20834Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20835
20836 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20837 * config/monitor.exp: Add support for setting baud rate.
20838
20839Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20840
20841 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20842 i*86-*-linux* xfails for "backtrace through signal handler".
20843 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20844 "print func2::coremaker_local".
20845 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 20846 alpha-dec-osf2* xfail for
c906108c
SS
20847 "delete all breakpoints when none".
20848
20849Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20850
20851 * gdb.base/break.exp: Change test that deletes all breakpoints
20852 when no user breakpoints are installed. A post 4.15 change
20853 causes gdb to no longer prompt in this case.
20854
20855Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20856
20857 * gdb.base/return.exp (return_tests): Change xfail for test
20858 "correct value returned double test" to stop xfailing at
20859 Solaris 2.5. Apparently the bug has been fixed.
20860
20861Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20862
20863 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20864 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20865
20866Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20867
20868 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20869 * gdb.disasm/hppa.s: Corresponding changes.
20870
20871Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20872
20873 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20874 makefile fragment.
20875 * config/mt-hpux: Deleted.
20876
20877Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20878
d63a86f8 20879 * Many files: When warning about suppressed tests due to a
c906108c
SS
20880 nonexistant test binary, avoid incrementing the warning count.
20881
20882Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20883
20884 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 20885
c906108c
SS
20886Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20887
20888 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20889 "sparc-*-solaris2*".
20890
20891Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20892
20893 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20894 Add global and local variables and initialize them.
20895 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20896 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20897 extracts the file name and terminating signal from the core file.
20898 * TODO: Remove note about tests for correct mapping of corefile.
20899 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20900 from optimizing it away.
20901 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20902 handles common blocks.
20903
20904Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20905
20906 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20907 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20908
20909Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20910
20911 * Makefile.in (maintainer-clean): New target, synonym for
20912 realclean.
20913 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20914 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20915 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20916 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20917 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20918 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20919
20920Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20921
20922 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20923 xfails when not gcc compiled for "print foo::funclocal".
20924 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20925 "print foo::funclocal at foo",
20926 "print 'scope1.c'::foo::funclocal at foo",
20927 "print foo::funclocal_bss at foo",
20928 "print 'scope1.c'::foo::funclocal_bss at foo",
20929 "print foo::funclocal_ro at foo",
20930 "print 'scope1.c'::foo::funclocal_ro at foo",
20931 "print bar::funclocal at foo" and
20932 "print 'scope1.c'::bar::funclocal at foo".
20933 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20934 gcc compiled for "print foo::funclocal at bar".
20935 Expand all messages to ensure that they identify that
20936 the test is at bar().
20937 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20938 gcc compiled for:
20939 "ptype on opaque struct pointer (statically)",
20940 "ptype on opaque struct tagname (statically)",
20941 "ptype on opaque struct pointer (dynamically) 1",
20942 "ptype on opaque struct tagname (dynamically) 1",
20943 "ptype on opaque struct pointer (dynamically) 2" and
20944 "ptype on opaque struct tagname (dynamically) 2
20945 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20946 gcc compiled for:
20947 "p datalocal"
20948 "whatis datalocal",
20949 "ptype datalocal",
20950 "p bsslocal",
20951 "whatis bsslocal", and
20952 "ptype bsslocal".
20953 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20954 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20955 when not gcc compiled.
20956 * gdb.base/funcargs.exp (float_and_integral_args): Add
20957 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20958 compiled.
20959 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20960 "backtrace from call6a" when not gcc compiled.
20961 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20962 "backtrace from call7a" when not gcc compiled.
20963 * gdb.base/callfuncs.exp (do_function_calls):
20964 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20965 "p t_char_array_values(char_array_val2,char_array_val1)",
20966 "p t_char_array_values(char_array_val1,char_array_val2)",
20967 "p t_char_array_values("carray 1","carray 2")",
20968 "p t_char_array_values("carray 1",char_array_val2)",
20969 "p t_char_array_values(char_array_val1,"carray 2")",
20970 "p sum_args(1,{2})",
20971 "p sum_args(2,{2,3})",
20972 "p sum_args(3,{2,3,4})",
20973 "p sum_args(4,{2,3,4,5})"
20974 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20975 "backtrace in corefile.exp" when not gcc compiled.
20976
20977Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20978
20979 * gdb.base/signals.exp: Rewrite `handle all print' test as
20980 a procedure. Accept blanks or TABs as whitespace, increase
20981 timeout and expect input buffer size for the large output
20982 from the command. Remove "i*86-*-bsdi2.0" xfail.
20983
20984Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20985
20986 * gdb.base/setvar.exp: Add new testcases for truncation when
20987 assigning invalid values to bitfields.
20988
20989Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20990
d63a86f8 20991 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
20992 mips-sgi-irix* xfail for
20993 "call inferior func with struct - returns char *"
20994 and fix test so that an optional (unsigned char *) cast is
889bf7c5 20995 accepted in the result.
c906108c
SS
20996
20997Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20998
20999 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21000 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21001 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21002 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21003 that accidentally got checked in.
21004
21005Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21006
d63a86f8 21007 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
21008 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21009 compiled test.
21010 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21011 Add mips-sgi-irix5* xfail for not gcc compiled.
21012 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21013 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21014 "p top", "whatis top", "p middle", and "whatis middle".
21015 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21016 "whatis signed char" for not gcc compiled.
21017 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21018 "set variable signed char=-1 (-1)" and
21019 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21020 * gdb.base/funcargs.exp (float_and_integral_args):
21021 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21022 Add mips-sgi-irix* xfail when not gcc compiled for
21023 "continue to call2b".
21024 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21025 "continue to call2g".
21026 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21027 "backtrace from call6a"
21028 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21029 "backtrace from call7k".
21030 Add mips-sgi-irix5* xfail when not gcc compiled for
21031 "backtrace from call7a".
21032 (localvars_after_alloca): Fix gdb_test cmds for
21033 "print * after runto ...".
21034 Remove rs6000-*-* xfails for
21035 "print i after runto localvars_after_alloca" and
21036 "print l after runto localvars_after_alloca"
21037 for all compilers.
21038 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 21039 when not compiled with gcc, for:
c906108c
SS
21040 "print signed char == (minus)",
21041 "print signed char != (minus)",
21042 "print signed char < (minus)",
21043 "print signed char > (minus)".
21044 * gdb.base/callfuncs.exp (do_function_calls):
21045 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21046 "call inferior func with struct - returns char *".
d63a86f8 21047 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
21048 "correct value returned double test" to include Solaris 2.4.
21049 * gdb.base/funcargs.exp (float_and_integral_args):
21050 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 21051
c906108c
SS
21052Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21053
21054 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21055 enumeration bitfields if compiling with GNU C.
21056 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21057 to empty' prompt.
21058
21059Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21060
21061 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21062 test for PRO targets.
21063
21064 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21065 breakpoints in the inferior at any given time by making
21066 two groups of breakpoints for call2*, call6* and call7*
21067 tests.
21068
21069Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21070
21071 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21072 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21073 from optimizing it away.
21074 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21075 "call inferior func with struct".
21076
21077Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21078
21079 * configure.in: Only configure gdb.chill for particular targets.
21080
21081Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21082
21083 * gdb.base/Makefile.in: Add action to .c.o transformation
21084 rule that generates a .ci file for each .o file and remove
21085 explicit .c.o rules except for callfuncs.o.
21086 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21087 generates a .ci file for each .o file and remove explicit
21088 .cc.o rules.
21089 (clean): Remove *.tmp *.ci files.
21090 (EXECUTABLES): Remove templ-info.exp.
21091 * gdb.base/compiler.c: New file.
21092 * gdb.c++/compiler.cc: New file
21093 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21094 Change rs6000-*-* xfail for
21095 "print 'scope0.c'::filelocal_ro" and
21096 "print 'scope1.c'::filelocal" and
21097 "print 'scope1.c'::filelocal_bss" and
21098 "print 'scope1.c'::filelocal_ro" and
21099 "print 'scope1.c'::foo::funclocal" and
21100 "print 'scope1.c'::foo::funclocal_ro" and
21101 "print 'scope1.c'::bar::funclocal" and
21102 "print 'scope0.c'::filelocal_ro" and
21103 "print 'scope1.c'::filelocal at foo" and
21104 "print 'scope1.c'::filelocal_bss at foo" and
21105 "print 'scope1.c'::filelocal_ro at foo" and
21106 "print 'scope1.c'::foo::funclocal at foo" and
21107 "print 'scope1.c'::foo::funclocal_bss at foo" and
21108 "print 'scope1.c'::foo::funclocal_ro at foo" and
21109 "print 'scope1.c'::bar::funclocal at foo" and
21110 "print 'scope0.c'::filelocal_ro" and
21111 "print 'scope1.c'::filelocal" and
21112 "print 'scope1.c'::filelocal_bss" and
21113 "print 'scope1.c'::filelocal_ro" and
21114 "print 'scope1.c'::foo::funclocal" and
21115 "print 'scope1.c'::foo::funclocal_bss" and
21116 "print 'scope1.c'::foo::funclocal_ro" and
21117 "print 'scope1.c'::bar::funclocal" and
21118 "print 'scope1.c'::bar::funclocal_bss"
21119 to only be xfail'd when not compiled with gcc.
d63a86f8 21120 Add rs6000-*-* xfail for
c906108c
SS
21121 "print 'scope0.c'::filelocal_bss before run"
21122 when compiled with gcc.
21123 (test_at_main): Add rs6000-*-* xfail for
21124 "print filelocal_ro in test_at_main"
21125 when compiled with gcc.
21126 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 21127 Add rs6000-*-aix* xfail for
c906108c
SS
21128 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21129 "ptype t_char_array", not compiled with gcc.
21130 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21131 xfail for "list foo (in include file)" when gcc compiled.
21132 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 21133 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
21134 "run to call0a" if not compiled with gcc.
21135 (unsigned_integral_args): Add rs6000-*-* xfail for
21136 "run to call1a" if not compiled with gcc.
21137 (float_and_integral_args): Add rs6000-*-* xfail for
21138 "run to call2a" if not compiled with gcc and for
21139 "continue to call2b" for any compiler.
21140 Add rs6000-*-* xfail to
21141 "print f1 after run to call2a" for gcc compiled.
21142 (discard_and_shuffle): Add rs6000-*-* xfail for
21143 "run to call6a".
21144 (shuffle_round_robin): Add rs6000-*-* xfail for
21145 "backtrace from call7a" if not compiled with gcc.
21146 Add rs6000-*-* xfail for
21147 "backtrace from call7b" if compiled with gcc.
21148 (call_after_alloca): Add rs6000-*-* xfail for
21149 "print c in call_after_alloca" and
21150 "print s in call_after_alloca" and
21151 "backtrace from call_after_alloca_subr"
21152 if not compiled with gcc.
21153 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21154 "print c in localvars_in_indirect_call" and
21155 "print c in localvars_in_indirect_call" and
21156 "backtrace in indirectly called function" and
21157 "stepping into indirectly called function"
21158 if not compiled with gcc.
21159 (localvars_after_alloca): Add rs6000-*-* xfail for
21160 "print c after runto localvars_after_alloca" and
21161 "print s after runto localvars_after_alloca" and
21162 "print i after runto localvars_after_alloca" and
21163 "print l after runto localvars_after_alloca"
21164 for all compilers.
21165 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21166 than whatis-info.exp.
21167 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21168 than opaque-info.exp.
21169 Setup rs6000-*-* xfail for
d63a86f8 21170 "ptype on opaque struct pointer (statically)" and
c906108c
SS
21171 "ptype on opaque struct pointer (dynamically)" when
21172 not compiled with gcc.
21173 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21174 rather than callf-info.exp.
21175 (do_function_calls): Add clear_xfail for rs6000-*-* for
21176 "p t_float_values2(3.14159,float_val2)". Seems to work
21177 fine there, both with xlc and gcc. Need to find out what
21178 it is doing right and fix other platforms.
21179 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21180 "call inferior func with struct - returns int",
21181 "call inferior func with struct - returns long",
21182 "call inferior func with struct - returns float",
21183 "call inferior func with struct - returns double",
21184 "call inferior func with struct - returns char *",
21185 but only if not gcc compiled (presumes xlc compiled).
21186 Change rs6000-*-* xfails for
21187 "call inferior func with struct - returns char" and
21188 " call inferior func with struct - returns short" to only
21189 xfail if not using gcc.
21190 (clean mostlyclean): Remove *.ci and *.tmp files.
21191 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21192 than templ-info.exp.
21193 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21194 Add rs6000-*-* xfail for "up to foo in langs.exp"
21195 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 21196 when not gcc compiled.
d63a86f8 21197
c906108c
SS
21198Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21199
21200 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21201 * gdb.base/corefile.exp: Likewise.
21202 * gdb.base/list.exp: Likewise.
21203 * gdb.base/scope.exp: Likewise.
21204 * gdb.base/siganls.exp: Likewise.
21205
21206 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21207 compiler output.
21208 * gdb.base/whatis.exp: Likewise.
21209
21210Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21211
21212 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21213 failure (opcode table has been fixed to match reality).
21214
21215Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21216
21217 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21218 "call inferior func with struct - returns char",
21219 "call inferior func with struct - returns short"
21220
21221 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21222 "print 'scope0.c'::filelocal at main",
21223 "print 'scope0.c'::filelocal_bss in test_at_main",
21224 "print 'scope0.c'::filelocal at foo",
21225 "print 'scope0.c'::filelocal_bss in test_at_foo",
21226 "print 'scope0.c'::filelocal at bar",
21227 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 21228
c906108c
SS
21229 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21230 in source file 1". This bug seems to have been fixed with both
21231 gcc and native cc (was native assembler bug?).
21232
21233Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21234
21235 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21236 "backtrace through signal handler" to "i*86-*-sysv4*".
21237 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21238 continue" case. Add "known SVR4 bug" to fail message.
21239 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21240 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21241 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21242 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21243 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21244 "up to foo in langs.exp", "show language at foo in
21245 langs.exp", "up to cppsub_ in langs.exp", "show
21246 language at cppsub_ in langs.exp", "up to fsub in
21247 langs.exp", and "show language at fsub in langs.exp".
21248 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21249 "bactrace in corefile.exp".
21250 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21251 "call inferior function with struct - returns float" and
21252 "call inferior function with struct - returns double".
d63a86f8 21253
c906108c
SS
21254Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21255
21256 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21257 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21258 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21259 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21260
21261Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21262
21263 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21264 (or overriden) "CHILL" macro rather then bare "gcc".
21265 Also look for ../../gcc/xgcc since that is what we will
21266 actually need, not "Makefile". Remove following assignment
21267 of CHILL to CHILL_FOR_TARGET because that results in
21268 recursive definition.
21269
21270Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21271
21272 * gdb.base/corefile.exp: Change xfail for backtrace in
21273 corefile.exp from linuxaout to all linux.
21274 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21275 cases where we miss the breakpoint at the signal handler
21276 for some reason. Setup xfail for linuxoldld/linuxaout and
21277 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21278 hitting SIGURG breakpoint.
21279 * gdb.base/signals.exp: Setup xfail for "next" acting like
21280 continue to add linuxoldld. Setup xfail for all linux for
21281 "next to handler in signals_tests_1", "backtrace in
21282 signals_tests_1", "continue to func1", "pass SIGUSR1",
21283 and continue to handler".
21284
21285Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21286
21287 * Update all FSF addresses except those in COPYING* files.
21288
21289Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21290
21291 * gdb.base/a2-run.exp: Change messages to be more explicit about
21292 the status of args, and quote binfile in results.
21293
21294Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21295
21296 * gdb.base/callfuncs.exp: Add tests for passing structs to
21297 inferior functions and return various types.
21298 * gdb.base/callfuncs.c: Add functions to receive a struct
21299 and return a member of the struct, in various types.
21300
21301Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21302
21303 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21304
21305Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21306
21307 * config/vxworks29k.exp: New file, sources vxworks.exp.
21308
21309Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21310
21311 * config/gdbremote.exp: New file. Testing framework using
21312 gdbserver.
21313
21314Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21315
21316 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21317 "call function when asleep" and "send end of file".
21318 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21319 for "backtrace in corefile.exp".
21320 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21321 for "backtrace through signal handler".
21322 * gdb.base/corefile.exp: Make sure we actually generate a core file
21323 before trying the core tests. Some systems allow the user to suppress
21324 generation of core files and default to that (linux for example).
21325 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21326 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21327
21328Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21329
21330 * gdb.threads: New directory with some crude multi-threaded
21331 gdb tests (step.exp and step2.exp).
21332 * config/mt-lynx (STEP_EXECUTABLE): Define.
21333 (THREADFLAGS): Define.
21334
21335Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21336
21337 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21338
21339 * gdb.base/signals.exp: Disable whole file for lynx until
21340 further notice.
21341
21342 * gdb.base/signals.exp: xfail test where "next" acts like
21343 "continue" for lynx.
21344
21345 * gdb.base/interrupt.exp: xfail test for calling function while
21346 inferior is asleep for lynx.
21347
21348 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21349 than one cr-lf after each command.
21350
21351Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21352
21353 * configure.in: Reinstate setting of stabsdirs variable, fix
21354 typo in setting up configdirs for native builds.
21355
21356 * gdb.base/return.exp: Fix typo in return double test.
21357 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21358 compiler from optimizing them away.
21359
21360Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21361
21362 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21363 sequences to be echo'd by gdb when using gdb_test.
21364 * gdb.chill/chexp.exp: Likewise.
21365 * gdb.fortran/exprs.exp: Likewise
21366
21367Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21368
21369 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21370 after the inferior gdb has started.
21371
21372 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21373 after each command.
21374 * gdb.base/funcargs.exp: Likewise.
21375 * gdb.base/gdbvars.exp: Likewise.
21376 * gdb.base/interrupt.exp: Likewise.
21377 * gdb.base/list.exp: Likewise.
21378 * gdb.base/watchpoint.exp: Likewise.
21379 * gdb.c++/demangle.exp: Likewise.
21380 * gdb.c++/inherit.exp: Likewise.
21381 * gdb.chill/chexp.exp: Likewise.
21382 * gdb.fortran/exprs.exp: Likewise.
21383
21384 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21385 test if we can't handle IO to/from the inferior.
21386
21387 * gdb.c++/misc.exp: Always check for a program already being
21388 started after sending a "run" command to gdb.
21389
21390 * gdb.base/twice.exp: Start with a fresh gdb.
21391
21392 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21393 only depend on gdb's expression code, not the chill runtime.
21394
21395 * gdb.base/return.c: Put return values into variables so we
21396 can have gdb print them rather than depending on the program
21397 to print them.
21398 * gdb.base/return.exp: Corresponding changes.
21399
21400 * lib/gdb.exp: Provide default value for noinferiorio.
21401 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21402 the inferior.
21403
21404 * gdb.base/break.exp: Always check for a program already being
21405 started after sending a "run" command to gdb.
21406 (text_next_with_recursion): Don't check the output from the
21407 program's printf statement. Instead just make sure the program
21408 exited.
21409
21410 * gdb.base/commands.exp: Protect tests which need arguments with
21411 $noargs conditionals.
21412
21413Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21414
21415 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21416 of structure member arrays to match gdb/valops.c:value_addr change.
21417
21418Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21419
21420 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21421 cases.
21422
21423Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21424
21425 * configure.in (configdirs): Remove gdb.chill from default list
21426 of subdirs and then add it back in only if doing a native build.
21427 The current chill compiler does not yet work in any cross build.
21428 * Revert all signal changes from Jul 6.
21429 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21430 for sh-hms targets, allowing these tests to link, with no other
21431 changes. Testing is suppressed by setting "nosignals" in site.exp.
21432
21433Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21434
21435 * configure.in (signaldirs): Define and add to configdirs for all
21436 targets except some specific ones that are known to not support signals.
21437 Also clean up formatting.
21438 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21439 (signals, sigall): Remove rules to build.
21440 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21441 Moved to new gdb.signals directory.
21442 * gdb.signals: New test directory.
21443 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21444 signals.c signals.exp}: New or moved files.
21445
21446Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21447
21448 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21449
21450Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21451
21452 * gdb.base/return.exp: Xfail `return double' test failure
21453 on at least Solaris 2.3 and handle future/past versions on
21454 a case by case basis as appropriate. Also update message
21455 to include i*86 failures.
21456
21457Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21458
21459 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21460
21461 * lib/gdb.exp: Fix comment which erroneously identified
21462 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21463 gdb_file_cmd not gdb_load).
21464 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21465
21466 * gdb.base/setvar.exp: Make test names consistent between pass and
21467 fail cases. Use gdb_test more.
21468
21469Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21470
21471 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21472
21473Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21474
21475 * gdb.base/help.exp: Fix expected help string for `show commands'.
21476
21477Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21478
21479 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21480
21481 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21482 of a text section.
21483
21484Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21485
21486 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21487 that loop eventually terminates. Fix Connection refused logic so
21488 that testsuite will expire nicely.
21489
21490Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21491
21492 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21493 config/rom68k.exp: New tcl glue for the appropriate monitors.
21494 These all just end up calling monitor.exp.
21495 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21496 refused' by retrying. Cleanup some timeout issues.
21497 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21498 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21499 callers don't have to set/restore global timeout variable.
21500
21501 * The following set of changes centralizes management of the global
21502 timeout variable. This way, it can be set in one target dependent
21503 place instead of dozens of places scattered throughout the test suite.
21504 If you need to lengthen a timeout, then you should either set timeout
21505 in one of the config/{target}.exp files, or multiply it by a factor.
21506 Setting it to an absolute value is always going to lose for some
21507 targets.
21508 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21509 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21510 * gdb.base/funcargs.exp: Don't set timeout.
21511 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21512 * gdb.base/printcmds.exp (test_print_string_constants
21513 test_print_array_constants): Don't set timeout.
21514 * gdb.base/ptype.exp: Don't set timeout.
21515 * gdb.base/recurse.exp: Don't set timeout.
21516 * gdb.base/return.exp: Don't set timeout.
21517 * gdb.base/watchpoint.exp: Don't set timeout.
21518 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21519 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21520
21521Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21522
21523 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21524
21525Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21526
21527 * lib/gdb.exp: Disable chill tests for irix5.
21528
21529Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21530
21531 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21532 each test pass or fail.
21533
21534Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21535
21536 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21537 xlc not gcc.
21538
21539Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21540
21541 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21542
21543Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21544
21545 * config/est.exp: Fix copyright and comments. Remove dead code.
21546 Use targetname, serialport and baud variables instead of fixed
21547 constants.
21548 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21549 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21550
21551Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21552
21553 * gdb.base/watchpoint.exp: Don't run
21554 test_watchpoint_triggered_in_syscall for sunos.
21555
21556Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21557
21558 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21559 they don't seem to exist. Do include stdio.h.
21560
21561Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21562
21563 * gdb.base/a1-selftest.exp: Add alpha xfail.
21564
21565Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21566
21567 * gdb.base/watchpoint.c (main): Prompt before calling read().
21568 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21569 Revise accordingly. Remove cruft about sending "123" several
21570 times, until it gets noticed. Clean up the "print buf[0]" stuff
21571 so that it passes or fails, and waits for prompts in the usual way.
21572
21573Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21574
21575 * gdb.base/recurse.exp: Fix comment.
21576
21577 * TODO: Remove item about printing variables in nodebug.exp. Add
21578 item about enabling tests which are only run on some targets.
21579
21580 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21581 fail, make test names unique, use new gdb_test convention
21582 regarding pattern, use gdb_test more, etc.).
21583
21584 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21585 fail, make test names unique, etc.).
21586
21587Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21588
21589 * gdb.base/nodebug.c: Change return type of top and middle to
21590 short.
21591 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21592 are fixed by the recent mdebugread.c changes. Allow `short ()'
21593 as type for top and middle.
21594
21595Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21596
21597 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21598 nearly as I can tell, the whole thing was an accident in Stu's
21599 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21600 to replace a send/expect pair with gdb_test, but ended up only
21601 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21602 of 30 Mar 1995 took care of it, but left this vestigial comment
21603 which I am now nuking.
21604
21605Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21606
21607 * gdb.base/break.exp: Look for different line number for
21608 breakpoint at main depending on usestubs.
21609
21610Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21611
21612 * gdb.base/list.exp: Adjust some alternate expect patterns to
21613 match recent list0.c change. Add alternate expect pattern for
21614 output from `list default lines around main' for optimizing
21615 compilers.
21616
21617Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21618
21619 * lib/gdb.exp: If nosignals is not set, set it to 0.
21620
21621Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21622
21623 * config/slite-gdb.exp: Responds to load symbol table prompt.
21624 * gdb.base/break.exp: Adjust line number, fix rerun.
21625 * gdb.base/langs0.c: Add #ifdef usestubs.
21626
21627Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21628
21629 * gdb.base/list.exp: Adjust line contents after adding new lines in
21630 list0.c. Also fix a syntax error.
21631
21632 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21633 * gdb.base/break.exp: ditto.
21634 * gdb.base/list.exp: ditto.
21635 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21636 * gdb.base/run.c: ditto.
21637 * gdb.base/list0.c: ditto.
21638 * gdb.base/funcargs.c: ditto.
21639
21640Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21641
21642 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21643 $targetname, $serialport and $baud instead of hardwired variables.
21644 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21645 target doesn't support signals.
21646
21647Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21648
21649 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21650
21651Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21652
21653 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21654 Don't rely on the value of an auto variable before it has been
21655 initialized. Use gdb_test more.
21656
21657Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21658
21659 * lib/gdb.exp (default_gdb_version): A version number must start
21660 with a digit, but other than that contains all characters up to
21661 the first whitespace character.
21662
21663Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21664
21665 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21666
21667Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21668
21669 * gdb.c++/*.exp: Warn if executable does not exist. The original
21670 reason for skipping the warning was that configure.in sometimes
21671 intentionally skipped building the executables but the tcl code
21672 had no way of knowing. That (a) was always bogus with respect to
21673 error handling, (b) is no longer true (right now there is no way
21674 to skip C++ tests).
21675
21676 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21677
21678Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21679
21680 * gdb.base/list.exp: Add expect patterns for output from
21681 SunPRO compiled executables.
21682 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21683 types.
21684
21685Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21686
21687 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21688 number (we are already testing that the correct source line text
21689 gets printed).
21690
21691 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21692 that is what is intended, but something needed to be done to get
21693 sunos4 native working again.
21694
21695 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21696
21697 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21698 apparently went with a (very) old xfail.
21699
21700Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21701
21702 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21703 runto_main is a proc in gdb.exp that will do 'step' for target use
21704 stubs.
21705 * gdb.base/exprs.exp: ditto.
21706 * gdb.base/interrupt.exp: ditto.
21707 * gdb.base/opaque.exp: ditto.
21708 * gdb.base/printcmds.exp: ditto.
21709 * gdb.base/ptype.exp: ditto.
21710 * gdb.base/scope.exp: ditto.
21711 * gdb.base/setvar.exp: ditto.
21712 * gdb.base/signals.exp: ditto.
21713 * gdb.base/twice.exp: ditto.
21714 * gdb.c++/classes.exp: ditto.
21715 * gdb.c++/inherit.exp: ditto.
21716 * gdb.c++/templates.exp: ditto.
21717 * gdb.base/break.exp: no run and hit main for stubs. Change line
21718 numbers for breakpoints and info breakpoint.
21719 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21720 breakpoint().
21721 * gdb.base/callfuncs.c: ditto.
21722 * gdb.base/exprs: ditto.
21723 * gdb.base/interrupt.c: ditto.
21724 * gdb.base/opaque0.c: ditto.
21725 * gdb.base/printcmds.c: ditto.
21726 * gdb.base/ptype.c: ditto.
21727 * gdb.base/scope0.c: ditto.
21728 * gdb.base/setvar.c: ditto.
21729 * gdb.base/signals.c: ditto.
21730 * gdb.base/twice.c: ditto.
21731 * gdb.c++/misc.cc: ditto.
21732 * gdb.c++/templates.cc: ditto.
21733
21734Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21735
21736 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21737
21738 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21739 somewhere between `read' and `main.c'. I'm pretty sure the
21740 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21741 and it isn't particularly useful.
21742
21743 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21744
21745Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21746
21747 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21748
21749Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21750
21751 * config/mt-slite: add LIBS and -nostdlib.
21752 * config/slite-gdb.exp: add this new file to support sparclite target.
21753
21754Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21755
21756 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21757
21758 * gdb.base/a2-run.exp: Change argument to istarget from
21759 "*-*-vxworks" to "*-*-vxworks*".
21760 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21761
21762Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21763
21764 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21765 will not runto main but do a 'step' to step out of breakpoint().
21766 * config/mt-slite: add -Dusestubs.
21767
21768Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21769
21770 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21771 instead of just @.
21772
21773 * gdb.base/signals.exp: Add test for "handle all print".
21774 * TODO: Remove "handle all print". Also remove item about
21775 checking copyright date (I don't like the idea of a spurious FAIL
21776 based on when we run the tests).
21777
21778 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21779 for SunOS4 (reason for failure not investigated). Remove
21780 redundant test for $binfile.
21781
21782 * gdb.base/nodebug.c (array_index): Call malloc.
21783
21784 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21785
21786Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21787
21788 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21789 conventions and slightly simplify the matching regexp.
21790
21791Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21792
21793 * gdb.base/break.exp: Update gdb_test invocation to use new
21794 convention.
21795
21796 * lib/gdb.exp: If noargs is not set, set it to 0.
21797
21798 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21799 tests unique.
21800
21801 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21802
21803Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21804
21805 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21806 one argument of type "<non-float parameter>".
21807
21808Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21809
21810 * config/rom68k.exp: New file to support Motorola IDP board.
21811 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21812 * gdb.base/break.c: Change things around so that this program
21813 doesn't depend upon args. This is necessary to make remote
21814 targets work (in general, they can't take args).
21815 * gdb.base/break.exp: Don't try to send args to program. Don't
21816 expect output. Also, replace lots of code with gdb_test.
21817
21818Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21819
21820 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21821 printing of '\'' (which is what the comment says we are testing,
21822 even though we were not), not '''.
21823 (test_integer_literals_rejected): Test that printing ''' is an error.
21824
21825 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21826 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21827 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21828 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21829 Use gdb_test not test_print_accept.
21830 * lib/gdb.exp: Remove test_print_accept.
21831
21832 * gdb.base/signals.exp (signal_tests_1): Make pass message
21833 consistent with fail message.
21834
21835 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21836 unsigned char; the bug (PR 1821) is fixed.
21837
21838 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21839
21840 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21841 successful tests--makes xfailing them work right.
21842
21843Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21844
21845 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21846 only \r\n, not .*. The test can pass .* as the last thing in
21847 $pattern if that is what it wants. In addition to providing this
21848 flexibility, this change should speed up pattern matching in cases
21849 where the pattern already ended with .* (there were a number of
21850 them). This change also helps catch bad patterns--in the old
21851 scheme the typo "char \*" instead of "char \\*" would pass. Now
21852 it is caught.
21853 * Many .exp files: Update callers.
21854
21855 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21856 clearer and does not spuriously match multiple ('s. Likewise for
21857 ) and *.
21858
21859 * gdb.base/nodebug.exp: Test ability to call a function and pass
21860 it a string (even with no debugging info).
21861
21862 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21863 "p '\'", which is the same as "p ''" once tcl gets done with
21864 quoting, to "p '\\'", which I suspect is what is intended (one
21865 backslash gets sent to GDB).
21866
21867 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21868
21869Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21870
21871 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21872 1817) was fixed literally years ago.
21873
21874Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21875
21876 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21877 test, it causes stepping out of call_after_alloca_subr with
21878 optimizing compilers.
21879 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21880 fails.
21881
21882 * gdb.c++/templates.exp: Source templ-info.exp only if
21883 the templates executable exists.
21884
21885 * gdb.c++/misc.cc (class Contains_static_instance,
21886 class Contains_nested_static_instance),
21887 gdb.c++/classes.exp (test_static_members): Test printing of
21888 a class that contains a static instance of the class.
21889
21890Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21891
21892 * gdb.base/langs2.c (cppsub_): Don't prototype.
21893 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21894 only, I believe).
21895
21896Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21897
21898 * lib/gdb.exp (skip_chill_tests): New procedure.
21899
21900 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21901
21902Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21903
21904 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21905 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21906
21907Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21908
21909 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21910
21911 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21912 disassemble 8, not 16, instructions for part 4.
21913
21914 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21915 support the latter anymore.
21916
21917 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21918 -DNO_PROTOTYPES.
21919 * gdb.base/callfuncs.c: Control use of prototypes based on
21920 NO_PROTOTYPES, not __STDC__.
21921 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21922 t_float_values2 tests if prototypes in use.
21923
21924 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21925 t_double_values): When checking differences against DELTA, check
21926 that difference is within the range (-DELTA,DELTA), not just
21927 (-infinity,DELTA).
21928
21929Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21930
21931 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21932 'file' command firts, then 'target', then 'load', this is due to gdb
21933 target set up.
21934 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21935
21936Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21937
21938 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21939 FP load/store variants.
21940 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21941
21942Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21943
21944 * gdb.base/term.exp: Do not give a warning if not native, it is
21945 not an abnormal condition.
21946
21947Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21948
21949 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21950 t_char_array".
21951
21952Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21953
21954 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21955 are getting the version number.
21956
21957 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21958 if not native, it is not an abnormal condition.
21959
21960Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21961
21962 * lib/gdb.exp: Just use "file exists", rather than undocumented
21963 dejagnu procedure "findfile".
21964
21965Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21966
21967 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21968 (LDFLAGS): Set to -Xlinker -Ur.
21969
21970 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21971 Removed, these values are set by lib/gdb.exp.
21972
21973 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21974
21975Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21976
21977 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21978 of replicating gdb startup code.
21979
21980 * config/mt-vxworks (LDFLAGS): Set to -r.
21981 (CFLAGS_FOR_TARGET): Removed.
21982
21983 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21984 (gdb) and gdb for vxworks uses (vxgdb).
21985
21986 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21987 executable is not in the tree and host != target, use sed and
21988 program_transform_name to determine the gdb name used by the
21989 target.
21990
21991 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21992 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21993
21994Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21995
21996 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21997 floats, chars, and shorts where there are ANSI-style function
21998 definitions.
21999
22000 * gdb.base/langs.exp, gdb.base/langs*: New test.
22001 * gdb.base/Makefile.in: Build it.
22002 * TODO: Remove item about checking that C names don't get C++
22003 demangling applied; this test tests it.
22004
22005Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22006
22007 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22008 went with the const70 xfail. The xfail went away a year ago.
22009
22010 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22011
22012 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22013 for hp300.
22014
22015 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22016
22017 * gdb.base/a1-selftest.exp: Don't run on hp300.
22018
22019Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22020
22021 * Makefile.in (site.exp): Set host_alias and target_alias as well
22022 as host_triplet and target_triplet.
22023
22024Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22025
22026 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22027
22028 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22029 places as other ecoff systems).
22030
22031 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22032 ultrix.
22033
22034Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22035
22036 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22037 remove them.
22038 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22039 variable and "variable" in addition to "data variable".
22040 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22041
22042 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22043 2.
22044 * gdb.base/list1.c (long_line): Add additional statement at start
22045 of function.
22046 * gdb.base/list.exp (test_forward_search): Update line number to
22047 reflect new statement.
22048
22049Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22050
22051 * gdb.base/signals.exp: Reinitialize searched source directories
22052 after gdb_start call.
22053
22054Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22055
22056 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22057 * gdb.stabs/Makefile.in: Likewise.
22058
22059 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22060 change. Instead split the tests into smaller pieces.
22061 * gdb.disasm/hppa.s: Corresponding changes.
22062
22063Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22064
22065 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22066 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22067
22068 * gdb.base/funcargs.exp: Modify many tests so that every test
22069 either passes or fails. Make some test names unique.
22070
22071Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22072
22073 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22074 Call stty to set interrupt character.
22075
22076 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22077 for HP assembler versus GNU assembler based on actual behavior of
22078 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22079
22080 * TODO: Suggest a few more stepping tests.
22081
22082Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22083
22084 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22085 restart GDB for h8300 after a continue.
22086 (return): Add pattern to match a29k-udi behavior.
22087 * gdb.base/nodebug.exp: Remove obsolete comment.
22088 * gdb.base/regs.exp: New file, testing of register displays.
22089 * gdb.base/return.exp: Fix typo in reference to $objdir.
22090 * gdb.base/whatis.exp: Always start with a fresh GDB.
22091
22092Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22093
22094 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22095 higher, these tests generate a lot of output.
22096
22097Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22098
22099 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22100 code following the catch silently ignored some errors; without the
22101 catch they should be thrown like any other tcl error. Also, the
22102 catch used "" instead of {} which meant all the callers who wanted
22103 to include one of the characters "[]$ had to quote it an extra time.
22104 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22105 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22106 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22107 Remove extra quoting.
22108
22109Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22110
22111 * gdb.base/commands.exp: Make test names unique; every test either
22112 passes or fails. Update some comments.
22113
22114 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22115
22116Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22117
22118 The following fixes a FAIL caused by the fact that the alpha stabs
22119 configuration didn't use the ".if alpha" code in weird.def.
22120 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22121 bit pointer, so the 32 bit version works even on the alpha.
22122 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22123 Remove the stuff which allowed us to have separate versions for
22124 alpha and everything else.
22125
22126 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22127 regexp which "info func operator\[\](" is supposed to match. Fix
22128 string to send to GDB. Note that GDB still doesn't work right. Add a
22129 new test for "info func .perator\[\](" which GDB does handle correctly.
22130
22131 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22132
22133Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22134
22135 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22136 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22137 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22138 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22139 it makes the tests harder to understand and confuses test-o-matic.
22140 The preferred style is that each test provides a PASS or a FAIL,
22141 and has a unique message (e.g. "continue #54" not just "continue")
22142 which is the same for the pass and the fail.
22143 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22144 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22145 to lib/gdb.exp.
22146 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22147 prt_accept which was basically the same thing. Likewise for
22148 test_print_reject and prt_reject.
22149 * lib/gdb.exp (test_print_reject): Add some more error message
22150 patterns to match from the former printcmds.exp (prt_reject).
22151 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22152 One defect of the passcount stuff is that some of it failed to
22153 report XPASS where appropriate.
22154 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22155 stuff before and after arg in expected pattern.
22156 (test_paddr_operator_functions): Re-do test without print_addr_of;
22157 this is the only test which seems to want extra stuff there.
22158
22159Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22160
22161 * gdb.base/nodebug.exp: Update new tests to reflect improved
22162 wording of gdb output.
22163
22164 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22165 and "ptype" work on variables in files compiled without -g.
22166 Replaces commented out "maint print msymbol" tests.
22167
22168Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22169
22170 * gdb.base/setvar.c (dummy): Call malloc.
22171
22172 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22173 losing with the irix4 sed.
22174
22175 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22176 ALRM" on irix4.
22177
22178Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22179
22180 * TODO: Remove items about corefile.exp testing new exec-file and
22181 backtrace; both are now done. Add items about printing enums.
22182
22183Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22184
22185 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22186 "get signal $thissig" test fails.
22187
22188 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22189
22190Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22191
22192 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22193 compiler warning with dec alpha compiler.
22194
22195 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22196 extra \n from gdb_test call (this explains why the prompt test
22197 that I removed yesterday was there).
22198 (user_defined_command_test): Remove extra \n and prompt test.
22199
22200 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22201 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22202 doesn't exist.
22203 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22204 Also remove alpha workaround, which turns out to be because
22205 SIGABRT == SIGLOST.
22206
22207 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22208
22209 * gdb.base/help.exp: Don't test "help show".
22210
22211Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22212
22213 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22214 "set print address" is on.
22215 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22216 pass prompt to gdb_test; gdb_test already looks for the prompt.
22217
22218 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22219
22220 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22221 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22222 was to make sure that gdb can read a core file. But (a) the "read
22223 the corefile" part didn't make it to a1-selftest.exp, we just
22224 delete the corefile after creating it, and (b) we test reading
22225 corefiles in corefile.exp anyway. Also, this test left around a
22226 xgdb process on Solaris.
22227
22228 * gdb.base/corefile.exp: Also test backtrace.
22229
22230Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22231
22232 * gdb.base/commands.exp: Test a simple user defined command with
22233 arguments and if/while statements; verify the full user command is
22234 printed by "show user".
22235
22236 * gdb.base/commands.exp: Test if/while commands as part of a
22237 breakpoint command list; verify they appear in breakpoint
22238 information.
22239
22240Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22241
22242 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22243 than by dividing by zero.
22244
22245Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22246
22247 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22248 performing an inferior call with watchpoints enabled.
22249 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22250 call.
22251
22252Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22253
22254 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22255 of "file" command.
22256
22257 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22258 Add additional pattern for when "int operator int(void);" appears
22259 in a different order.
22260
22261Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22262
22263 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22264
22265 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22266 and "signal" with ".*".
22267
22268Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22269
22270 * TODO: Add note about "handle all nostop".
22271
22272 * gdb.base/{sigall.c, sigall.exp}: New test.
22273 * gdb.base/Makefile.in: Add it.
22274
22275Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22276
22277 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22278 when invoking GDB, suppresses any windowing interface.
22279
22280Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22281
22282 * config/sim-gdb: New file, simulator testing support.
22283
22284Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22285
22286 * gdb.base/interrupt.exp: Test calling func1 twice.
22287
22288Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22289
22290 * gdb.base/list.exp (test_forward_search): Set timeout higher
22291 when we'll be getting lots of output from gdb.
22292
22293 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22294 "init_malloc" to after the expect statement. Run it if that
22295 regexp is taken, but also for two others which happen if source
22296 cannot be found.
22297
22298Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22299
22300 * gdb.base/printcmds.exp: New test, for printing register before
22301 program is running.
22302
22303Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22304
22305 * gdb.base/list.exp: Correct some alternate expect patterns
22306 to reflect changes in list1.c.
22307
22308Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22309
22310 * TODO: Add item regarding large frames.
22311
22312 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22313
22314 * TODO: Remove item about enabling return.exp; it
22315 is enabled. Suggest a few more "return" tests.
22316
22317Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22318
22319 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22320 anonymous unions.
22321
22322Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22323
22324 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22325 and pr-5646.o, so "make" is the same as "make all", not "make
22326 pr-4975.o".
22327
22328Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22329
22330 * gdb.base/list.exp: Adjust expectations to reflect changes in
22331 list1.c.
22332 (test_forward_search): New test proc.
22333 * gdb.base/list1.c (long_line): New function, has long source line.
22334
22335Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22336
22337 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22338 additional line of code that was added.
22339
22340Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22341
22342 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22343 tests so as not to overflow expect's input buffers.
22344 * gdb.disasm/hppa.exp: Corresponding changes.
22345
22346Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22347
22348 Beginnings of template debugging tests.
22349 * gdb.c++/templ-info.cc: New file to test for template
22350 debugging capability of the compiler.
22351 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22352 templ-info.cc.
22353 * gdb.c++/templates.cc: Add explicit template instantiations
22354 to enable compiling with -fno-implicit-templates. Add destructor
22355 and 'value' method to T5 class for template tests.
22356 * gdb.c++/templates.exp: Add testcases for printing of template
22357 types, setting breakpoints on template methods and calling a
d63a86f8 22358 template method.
c906108c
SS
22359
22360Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22361
22362 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22363 branch target since some assemblers (gas-2.5) may emit a
22364 relocation for the branch instead of resolving it in the
22365 assembler.
22366
22367Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22368
22369 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22370 through signal handler.
22371
22372Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22373
22374 * configure.in (*-*-netware): Use config/mt-netware.
22375
22376 * config/mt-netware: New file.
22377 * config/mt-i386-netware: Removed, separate configs for different
22378 netware architectures are no longer needed now that we have
22379 --with-headers.
22380
22381Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22382
22383 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22384 by the recent changes to use ANSI C arithmetic conversions.
22385
22386Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22387
22388 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22389 bug involving using inferior_pid to figure out whether to select a
22390 frame.
22391
22392Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22393
22394 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22395 match the current disassembler output.
22396
22397Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22398
22399 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22400 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22401 types, expect "int" as type of integer values (for now).
22402
22403Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22404
22405 * gdb.base/commands.exp: New tests for if/while commands.
22406
22407Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22408
22409 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22410 by .*, since hex values have different syntax in Chill mode.
22411
22412Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22413
22414 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22415 linefeed from expect pattern for repeated types with indices > 9.
22416
22417Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22418
22419 First part of Fortran test suite.
22420 * gdb.fortran: New directory.
22421 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22422
22423Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22424
22425 * gdb.base/default.exp: Update expect pattern for load command
22426 without arguments.
22427
22428Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22429
22430 * configure.in: Change i386 to i[345]86.
22431 * gdb.base/configure.in: Likewise.
22432 * gdb.c++/configure.in: Likewise.
22433 * gdb.chill/configure.in: Likewise.
22434
22435Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22436
22437 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22438 patterns, since that is not a valid context for comments.
22439
22440Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22441
22442 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22443 repeated types and repeated types with indices > 9.
22444
22445Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22446
22447 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22448 2417; old bug has been fixed.
22449
22450Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22451
22452 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22453 send the newline ourselves instead of assuming gdb_test will do
22454 so when passed an empty input string.
22455
22456 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22457 stabs testcode.
22458
22459Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22460
22461 * lib/gdb.exp (gdb_test): Don't send anything if the first
22462 argument is an empty string. This makes cases where we want to
22463 match output that is already in expect's buffers (for example,
22464 matching a breakpoint after gdb_run_cmd has been called) work
22465 reliably.
22466
22467Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22468
22469 * config/netware.exp: New file.
22470
22471Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22472
22473 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22474 the -B and -L prefixes so we can find the debugging stub.
22475
22476 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22477 there and we are using the gcc from the tree.
22478
22479 * gdb.base/types.c: Removed.
22480
22481 * gdb.base/configure.in: Look for makefile fragments in ../config.
22482 Recognize i386-*-netware.
22483 * gdb.c++/configure.in: Likewise.
22484
22485Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22486
22487 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22488 the correct TCL syntax.
22489
22490Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22491
22492 * gdb.base/opaque.exp: use runto instead of messing around with
22493 breakpoints. Simplify by using gdb_test.
22494
22495 * gdb.base/bitfields.exp: restart between tests on netware targets
22496 because breakpoints aren't relocated after target death. Run
22497 processes to completion.
22498
22499 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22500
22501Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22502
22503 * Makefile.in: Remove extra tabs that confuse some versions
22504 of "make". Use the newly built gdb to test with by default,
22505 rather than the first one in the tester's search path.
22506
22507Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22508
22509 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22510
22511 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22512 condition help.
22513
22514Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22515
22516 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22517
22518 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22519 running.
22520 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22521 * gdb.base/funcargs.exp: Likewise.
22522
22523 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22524 * gdb.base/funcargs.exp: Likewise.
22525
22526 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22527 message is "".
22528
22529Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22530
22531 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22532 return,signals,twice}.exp: Handle non-existant binaries
22533 consistantly.
22534
22535 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22536 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22537 might testing a cross development system.
22538
22539Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22540
22541 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22542 runtest script is relative to ${srcdir}, not ${rootdir}.
22543
22544Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22545
22546 * gdb.base/signals.exp: Allow for optionality of breakpoint
22547 address.
22548
22549Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22550
22551 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22552
22553Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22554
22555 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22556 for size_t definition.
22557 * gdb.c++/templates.cc: Likewise
22558
22559 * config/mt-i386-netware: New file.
22560
22561 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22562 defined.
22563
22564 * gdb.base/Makefile.in: Added support for systems that name core
22565 files by appending "core" to the program name.
22566 * gdb.base/a1-selftest.exp: Likewise.
22567
22568Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22569
22570 * gdb.base/return.exp: Add comment and message for `return double'
22571 test failure on Sparc Solaris.
22572
22573Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22574
22575 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22576
22577Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22578
22579 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22580 from optimizing them away.
22581 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22582 patterns to include default constructors and assignment operators,
22583 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22584 character in the output of the virtual base pointer.
22585
22586Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22587
22588 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22589 expression match in print_addr_of to avoid unintented matches.
22590 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22591 versions up to 2.5.8.
22592
22593Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22594
22595 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22596 included file to run under newer versions of expect.
22597 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22598 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22599 Remove xfail for the virtual table of BDDHookV.
22600
22601Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22602
22603 * lib/gdb.exp (string_to_regexp): Set a default result.
22604 (default_gdb_start): Fix misleading message.
22605
22606Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22607
22608 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22609 Remove all CC, etc definitions.
22610 * config/mt-hpux: New file.
22611 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22612 (CFLAGS, LDFLAGS): Define.
22613 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22614
22615 * Makefile.in (site.exp): Don't insert host_os, etc.
22616 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22617 (distclean): Check existence of subdir.
22618 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22619 * gdb.base/Makefile.in: General cleanup and simplification.
22620 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22621 to build executables. Use default rule to build .o files.
22622 (EXPECT, RUNTEST, CC): Fix relative pathname.
22623 (site.exp): Don't insert host_os, etc.
22624 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22625 and/or SIGUSR1 defined.
22626 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22627 * gdb.c++/Makefile.in: General cleanup and simplification.
22628 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22629 (CFLAGS): Remove.
22630 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22631
22632Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22633
22634 * gdb.base/recurse.exp: Misc changes to get tests running again
22635 after Kung's changes to the watchpoint code.
22636 * gdb.base/watchpoint.exp: Likewise.
22637
22638Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22639
22640 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22641
22642Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22643
22644 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22645 * lib/gdb.exp (default_gdb_start): Define.
22646 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22647 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22648 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22649 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22650 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22651 Don't call gdb_target_udi in between tests.
22652
22653Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22654
22655 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22656 (which was basically just a local version of the same thing). In
22657 addition to avoiding duplication, gdb_test_exact is faster.
22658 * lib/gdb.exp (gdb_test_exact): Fix typo.
22659
22660 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22661 don't give an error.
22662
22663 * gdb.base/term.exp: Call delete_breakpoints before starting.
22664
22665 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22666 (t10): Add comment.
22667
22668Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22669
22670 Reorganization of the GDB Test Suite.
22671
22672 * gdb.base: New directory, contains all the basic tests.
22673 * gdb.c++: New directory, tests specific to C++.
22674 * gdb.chill: New directory, tests specific to Chill.
22675 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22676 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22677 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22678 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22679 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22680 t30-31 to chill).
22681 * */gdbme.*: Rename to match appropriate expect scripts.
22682 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22683 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22684 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22685 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22686 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22687 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22688 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22689 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22690 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22691 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22692 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22693 gdb.c++/virtfunc.cc: New names of C++ files.
22694 * gdb.chill/chillvars.ch: New name of Chill file.
22695 * gdb.base/configure.in, gdb.c++/configure.in,
22696 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22697 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22698 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22699 * configure.in (configdirs): Update to reflect directory changes.
22700 (target_abbrev): No longer define for any configuration.
22701 * Makefile.in: Cosmetic improvements to header comments.
22702
22703Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22704
22705 Various changes to gdb.t31:
22706
22707 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22708 * gdbme.ch: Make all key-words and predefineds be upper-case.
22709 * chillvars.exp: Expect key-words and predefinds in upper-case.
22710
22711 * chillvars.exp: Use gdb_test_exact many places.
22712 Change expected output for arrays (which now includes index labels).
22713
22714 * pr-5020.exp, gdme.ch (module PR_5020):
22715 New test, for PR-5020.
22716
22717Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22718
22719 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22720 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22721
22722Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22723
22724 * Makefile.in: Fix bit-rot in definitions of CHILL,
22725 CHILL_FOR_TARGET and Chill_LIB.
22726 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22727 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22728 CHILL, and CHILL_LIB.
22729
22730Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22731
22732 * Revert the previous changes. Please see Rob's directory
22733 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22734
22735Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22736
22737 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
22738 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22739 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22740 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
22741 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22742 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22743 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22744 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22745 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22746 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22747 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22748 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22749 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22750 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22751 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22752 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22753 changes from 94Q1.
22754
22755Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22756
22757 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22758 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22759 Rob's new testing fragments.
22760
22761Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22762
22763 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 22764 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
22765
22766Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22767
22768 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22769 version also, match on casted version strings, and match on
22770 gdb startup case where the line numbers might be messed up.
22771
22772Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22773
22774 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 22775 (CFLAGS): Delete it from here.
c906108c
SS
22776
22777Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22778
22779 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22780
22781Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22782
22783 * Makefile.in (RUNTEST): Default to just "runtest".
22784
22785Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22786
22787 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22788 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22789 the code has been restructured.
22790
22791Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22792
22793 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22794 \n, not just one of each.
22795
22796 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22797 /bin/cc gives a warning if you do.
22798
22799Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22800
d63a86f8 22801 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
22802 __t10ListS_link1ZUiRCUiPT0
22803
22804Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22805
22806 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22807 on local variables in recursive functions.
22808
22809 * gdb.t07/Makefile.in: Build the new test.
22810
22811Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22812
22813 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22814 directly. Instead compare the return values from actual calls.
22815
22816Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22817
22818 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22819
22820Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22821
22822 * From Peter Schauer with minor modifications.
a9c64011
AS
22823 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22824 stops in mid-line in the caller. Add xfail for returning a float
22825 value on X86 targets.
c906108c
SS
22826
22827Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22828
22829 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22830 to avoid expect lossage.
22831 (fmem_LRbug_tests): Likewise.
22832 * gdb.disasm/hppa.s: Corresponding changes.
22833
22834 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22835 conditions to work with latest dejagnu/expect.
22836
22837 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22838 expected to fail on the PA.
22839 (backtrace in call with trampolines): Explicitly require main
22840 to be frame #1 (no trampolines should show up in backtrace).
22841
22842 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22843 "continue -expect".
22844 * gdb.t06/break.exp: Likewise.
22845 * gdb.t07/watchpoint.exp: Likewise.
22846 * gdb.t13/bitfields.exp: Likewise.
22847 * gdb.t15/{funcargs,return}.exp: Likewise.
22848 * gdb.stabs/weird.exp: Likewise.
22849 * config/{mips,udi}-gdb.exp: Likewise.
22850
22851 * hppa.sed: Enclose comments within a sed command to avoid
22852 losing with the old OSF1 sed.
22853
22854Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22855
22856 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22857 sequent dynix.
22858 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22859 * gdb.t15/funcargs.exp: Conditionally step again to really
22860 finish from marker_call_with_trampolines. Handle the case where
22861 the first step from within call_with_trampolines already steps
22862 us back to main.
22863 * gdb.t15/gdbme.c: Add comment to closing brace of
22864 call_with_trampolines for funcargs.exp.
22865
22866Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22867
d63a86f8 22868 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
22869 Fix typo(s).
22870
22871Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22872
22873 * gdb.t07/gdbme.c: More code for watchpoint testing.
22874
22875 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22876 "Hardware watchpoint" throughout file.
22877 (test_watchpoint_triggered_in_syscall): New test.
22878 (test_complex_watchpoint): New test.
22879
22880Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22881
22882 * gdbme.c (call_with_trampolines): New function to try and step
22883 into. Tests trampoline problems on the PA.
22884
22885 * funcargs.exp (localvars_in_indirect_call): No longer expect
22886 stepping into indirect call to fail on PAs.
22887 (test_stepping_over_trampolines): New test.
22888
22889Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22890
22891 * TODO: Add suggestions for static member function tests, and
22892 completion tests.
22893
22894Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22895
22896 * TODO: Add suggestions for "p/a" tests.
22897
22898 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22899 (default_gdb_exit): Replace all the hair with sending "quit" to
22900 the process with a simple close.
22901
22902Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22903
22904 * TODO: Add suggestions for shared library tests.
22905
22906Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22907
22908 * TODO: Add suggestions for x/s tests.
22909
22910Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22911
22912 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22913 "enable once", and "enable breakpoints once" with ".*".
22914
22915Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22916
22917 * TODO: Add suggestions about structure passing tests.
22918
22919Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22920
22921 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22922 the primary1 test, use work around if __GNUC__ < 2.
22923 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22924 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22925 Test for bad output rather than waiting for timeout. Issue
22926 second continue only if first continue failed.
22927
22928Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22929
22930 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22931 operator[] test with gdb_test because the old code didn't seem to
22932 be getting the quoting right with the new dejagnu.
22933
22934Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22935
22936 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22937 one from the path.
22938 * Makefile.in: Use a fresh expect if there is one, use runtest
22939 from the src tree if there is one.
d63a86f8 22940
c906108c
SS
22941Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22942
22943 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22944 next over recursive call. Revise the tests from that point on
22945 (which had been skipped) to match GDB's actual (correct) output.
22946
22947 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22948 with next over a breakpoint whose condition is false.
22949
22950 * gdb.t00/help.exp: Comment out "help set print" tests just like
22951 (and for same reason as) "help set" test.
22952
22953Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22954
22955 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22956 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22957
22958Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22959
22960 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22961 necessary gdb_target_udi.
22962
22963 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22964
22965 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22966 1838 and 2417; they are fixed.
22967
22968 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22969 gdb.t03/ptype.exp (ptype structure, ptype union):
22970 Remove xfails; the test is looser than when the xfails were added.
22971
22972 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22973 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22974
22975 * gdb.t01/run.exp: Only run shell test if isnative.
22976
22977 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22978 since "run" automatically loads if necessary. Call gdb_target_udi
22979 after the "file" since "file" kills any execution target.
22980
22981 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22982 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22983 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22984 argument for UDI.
22985
22986Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22987
22988 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22989
22990 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22991
22992Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22993
22994 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22995 properly quoting regexps. This makes the second argument to
22996 demangle a fixed string, which matches the callers, instead of a
22997 shell-style pattern which is what the previous implementation
22998 used. Update some of the callers.
22999
23000Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23001
23002 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23003 (comib_nullified_tests): Fix typo.
23004 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23005 strings. No longer expected to fail.
23006
23007 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23008 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23009 strings. No longer expected to fail.
23010
23011 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23012 string. No longer expected to fail.
23013
23014Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23015
23016 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23017 No longer expected to fail.
23018
23019 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23020 string. No longer expected to fail.
23021
23022Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23023
23024 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23025 only in the names (I probably got most of them). I was even
23026 generous with some which differed in underscores in names, and
23027 probably missed a few, and I *still* was able to remove almost a
23028 third of the file with almost no impact on testsuite coverage.
23029
23030Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23031
23032 * gdb.t00/default.exp: Match udi_attach error message as well as
23033 the one from child_attach.
23034
23035 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23036
23037 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23038
23039 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23040 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23041
23042 * Move test with enums and partial symbols back to
23043 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23044 Reverts the change of 26 May 93. Per today's change to
23045 stabs.texinfo, the behavior that weird.exp was expecting was
23046 unreasonable; what is important is that the compiler+gdb get
23047 things right, which happens with a recent gcc. Also fix the test
23048 to deal with native compilers which put out the stab gdb can't
23049 deal with.
23050
23051Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23052
23053 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23054 in the names. The main thing these accomplish is to slow things down.
23055 Many more such duplicates surely remain.
23056
23057 * gdb.t00/help.exp: Comment out "help support" test just like
23058 (and for same reason as) "help set" test.
23059
23060Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23061
23062 * gdb.t06/break.exp: Remove setup_xfails for
23063 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23064 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23065 about known bug in gcc to include up through 2.5.8.
23066 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23067 well as "_vb$".
23068 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23069 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23070 with latest gcc and gdb.
23071 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23072 well as "_vb$".
23073
23074Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23075
23076 * configure.in (hppa*-*-*): Also configure and build stabs-only
23077 tests.
23078
23079Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23080
23081 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23082 * gdb.t10/configure.in (hppa*-*-*): Use it.
23083
23084Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23085
23086 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23087
23088Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23089
23090 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23091 versions prior to 1.13.5.
23092
23093Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23094
23095 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23096 the prompt is at the start of a line.
23097
23098Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23099
23100 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23101 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23102 in the copr tests now.
23103 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23104 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23105 expected to fail.
23106
23107Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23108
23109 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23110 gdb.t31/chillvars.exp, lib/gdb.exp:
23111 Tweak to run under either version of expect.
23112 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23113 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23114 * gdb.t11/list.exp: Remove extraneous whitespace.
23115
23116Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23117
23118 * gdb.t16/printcmds.exp (test_print_strings): Accept
23119 "(unsigned char *) " before the string.
23120
23121 * TODO: Add notes about printing of fancy types and GDB expressions.
23122
23123Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23124
23125 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23126 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 23127 if doing mips-idt-ecoff.
c906108c
SS
23128
23129Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23130
23131 * Most .exp files: Tweak to run under either version of expect.
23132
23133Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23134
23135 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23136 xfails; I'm not sure why they are failing, but not because of PR 1806.
23137
23138Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23139
23140 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23141 defined in lib/gdb.exp.
23142
23143Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23144
23145 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23146 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23147 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23148 have to be typeless.
23149
23150Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23151
23152 * TODO: Add suggestion for copyright year test.
23153
23154Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23155
23156 * configure.in (*-*-lynxos*): Add stabs tests.
23157
23158Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23159
23160 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23161 so insert a tab before any assembler directive in column zero.
23162
23163 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23164 stores.
23165 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23166 stores.
23167 (fpu_short_memory_tests): Likewise.
23168
23169Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23170
23171 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23172 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23173 .stabs directives in comments.
23174
23175Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23176
23177 * TODO: New file, describing tests we could write.
23178 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23179
23180Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23181
23182 * gdb.t06/signals.exp: Add kludge to force re-sync.
23183
23184 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23185 to xgdb instead of gdb, get out of gdb.
23186
23187Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23188
23189 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23190 for info.
23191
23192Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23193
23194 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23195 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23196 * gdb.stabs/hppa.sed: New sed script for the PA.
23197
23198Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23199
23200 * gdb.stabs: Re-write weird.def and configuration to use sed
23201 instead of cpp. sed is portable and POSIX; cpp is neither.
23202
23203Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23204
23205 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23206
23207Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23208
23209 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23210
23211Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23212
23213 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23214 "_vb$".
23215 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23216 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23217
23218Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23219
23220 * lib/gdb.exp: Comment out code which depends on non-existent
23221 `transform' procedure.
23222
23223Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23224
23225 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23226 * lib/gdb.exp: Transform tool name.
23227 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23228 1.1's new error handling system.
23229
23230Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23231
23232 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23233
23234Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23235
23236 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23237 They made pattern matching so slow that timeouts happened on
23238 heavily loaded systems. Now any output from "show print" which
23239 gets us back to the GDB prompt is a PASS.
23240
23241Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23242
23243 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23244
23245Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23246
23247 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23248
23249 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23250 It is not from PR 3220.
23251
23252Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23253
23254 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23255 just started failing because they depended on the order the
23256 subcommands are presented, or exact docstring text. This kind of
23257 test is a pain and has minimal benefit.
23258
23259Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23260
23261 * gdb.t09/corefile.exp: At end of test, use "core" command with
23262 no arguments.
23263
23264Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23265
23266 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23267 17}/Makefile.in: Make it possible to run the testsuite with Sun
23268 make and CC = cross gcc by adding explicit build rules for .o
23269 files.
23270
23271Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23272
23273 * gdb.t15/funcargs.exp: Don't put comments on same line as
23274 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 23275
c906108c
SS
23276Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23277
23278 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23279
23280Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23281
23282 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23283 * gdb.t20/inherit.exp: remove three dumplicate entries.
23284
23285Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23286
23287 * gdb.t06/break.exp: For "next over recursive call", fail on any
23288 incorrect output, not just on "factorial (value=2)".
23289
23290Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23291
23292 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23293 working now. Add an xfail if accesing a bss variable causes
23294 a memory error if the target is not yet run.
23295
23296Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23297
23298 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23299 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23300 name of __st* demangling (2 strings). Did Kung really get the
23301 more than 95 others right without testing them?
23302
23303Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23304
23305 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23306
23307Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23308
23309 * configure.in (configdirs): Add gdb.disasm
23310 * gdb.disasm: New directory for GDB disassembler tests.
23311 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23312
23313Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23314
23315 * gdb.t00/help.exp: Don't test "help set".
23316
23317 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23318 from within expect statements. None of these happen anymore and
23319 they cause regressions to be silently unnoticed.
23320
23321 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23322 messages) about known failures with gcc cygnus-2.4.5-930417.
23323
23324 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23325 comp-info.exp so it gets built if it doesn't exist.
23326
23327 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23328 it is no longer used.
23329 * gdb.t13/comp-info.c: Removed.
23330
23331Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23332
23333 * gdb.t06/signals.exp: Add xfail for sun3.
23334
23335Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23336
23337 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23338 relevant because ^C doesn't get sent but failure can be reproduced
23339 interactively).
23340
23341Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23342
23343 * gdb.stabs/alpha.mt: New configuration file for alpha.
23344 * gdb.stabs/configure.in: Use it.
23345 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23346 sharing with alpha.mt, redefine long to word via preprocessor.
23347 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23348 for alpha.
23349 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23350 native cc.
23351 * gdb.t00/teststrategy.exp: Change expect string so that we
23352 consume the `(xgdb)' from the command echo and from the gdb prompt.
23353 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23354 gdb currently compares all values as long, so this failure probably
23355 applies to any configuration where LONGEST is bigger than a target int.
23356 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23357 with gcc.
23358 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23359 to handle opaque pointers, gcc is.
23360 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23361 as first argument. Include <sys/types.h> and change all operator
23362 new definitions to use size_t.
23363 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23364 now that we use size_t.
23365
23366Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23367
a9c64011 23368 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 23369 a long or float array cast all array members to the same type.
a9c64011 23370 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 23371 with 64 bit longs.
a9c64011 23372 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 23373 on alpha.
a9c64011 23374 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
23375
23376Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23377
23378 * gdb.t24 (demangle.exp): Constructors of templates have names like
23379 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23380 section 14.6 of the ARM.
23381
23382 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23383 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23384 accomplish little and slow down the testsuite.
23385
23386 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23387 Accept spaces various places.
23388
23389Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23390
23391 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23392 with watchpoint enabled.
23393
23394 * Makefile.in: Remove definition of CC and remove the second
23395 definition of CXX (the "CXX = gcc" one remains). These definitions
23396 were causing backquotes to be expanded within backquotes, which
23397 doesn't work.
23398
23399Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23400
23401 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23402
23403Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23404
a9c64011
AS
23405 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23406 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
23407 by mips cc and contains no stabs entries.
23408
23409Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23410
23411 * config/vx-gdb.exp: Use fake device to load files rather than
23412 NFS.
23413 * lib/gdb.exp: New proc to do "file" command.
23414 * config/unix-gdb.exp: Use new "file" proc.
23415
23416Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23417
23418 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23419 Rework board rebooting slightly.
23420 (gdb_exit): Don't exit from the remote shell; there isn't one.
23421 * gdb.stabs/weird.exp: If a program is being debugged already,
23422 kill it.
23423 * gdb.t04/setvar.exp: Stop and restart gdb.
23424 * gdb.t05/expr.exp: Likewise.
23425 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23426 restart gdb and reload the program.
23427 * gdb.t08/opaque.exp: Likewise.
23428 * gdb.t12/scope.exp: Likewise.
23429 * gdb.t13/bitfields.exp: Likewise.
23430 * gdb.t15/funcargs.exp: Likewise.
23431 * gdb.t20/classes.exp: Likewise.
23432 * gdb.t03/ptype.exp: Increase timeout.
23433 * gdb.t16/printcmds.exp (test_print_string_constants,
23434 test_print_array_constants): Likewise.
23435 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23436 * gdb.t20/classes.exp (do_tests): Likewise.
23437 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23438
23439Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23440
23441 * gdb.stabs: Renamed *wierd* to *weird*.
23442
23443Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23444
23445 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23446 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23447
23448Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23449
23450 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23451 (do_tests): Remove xfail for whatis on one_var and two_var.
23452
23453Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23454
23455 * Makefile.in: Made cross building work better by adding
23456 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23457
23458Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23459
23460 * gdb.t15/{return.c,return.exp,Makefile.in}:
23461 New test, currently commented out.
23462
23463Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23464
23465 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23466 still running and removes the leftover named socket so GDb can do
23467 clean restarts.
23468
23469Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23470
23471 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23472 console, not GDB.
23473 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23474 cross testing works better with "make check"
23475 * config/unix-gdb: Use default procedures for exit and version.
23476 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23477 with the newest VxWorks.
23478
23479Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23480
23481 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23482 old form.
23483
23484 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23485 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23486
23487 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23488
23489 * config/unix-gdb.exp: Remove this version of gdb_exit
23490 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23491 Rob says he'll look at it when he gets back to testing boards.
23492
23493Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23494
23495 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23496 an expected fail for certain ptype commands.
23497
23498 * gdb.t20/classes.exp: Update expected results of "ptype class
23499 Base1" to account for the constructor that now appears in the type.
23500
23501Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23502
23503 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23504 disappeared from list.
23505 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23506 "alldone" proc with call to cleanup and exit.
23507 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23508 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23509 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23510 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23511 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23512 "alldone" proc with simple returns that suppress remaining
23513 tests. The alldone proc went away many months ago.
23514
23515Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23516
23517 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23518
23519 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23520
23521Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23522
23523 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23524 as vax gdb will display them.
23525
23526Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23527
23528 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23529 optimizers.
23530
23531 * scope.exp: Change "bad value for localval" messages so each one
23532 is unique.
23533
23534 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23535 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23536
23537 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23538
23539Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23540
23541 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23542 doesn't exist (due to optimization).
23543
23544Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23545
23546 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23547 contains \r because the filename is long.
23548
23549 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23550 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23551
23552Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23553
23554 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23555 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23556 Ultrix.
23557 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23558 int tests.
23559 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23560
23561Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23562
23563 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23564
23565 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 23566 to match does not match the passing case but still matches the
c906108c
SS
23567 failing case.
23568
23569Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23570
23571 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23572
23573Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23574
23575 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23576 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23577 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23578 Remove various versions of gdb_exit.
23579 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23580 gdb_exit.
23581 * config/unix-gdb.exp: gdb_exit remains here, and should override
23582 the generic version, since it's doing a lot of wierd stuff that
23583 the other versions aren't. FIXME, fold it in, or abandon this
23584 version.
23585
23586Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23587
23588 * gdb.t24/demangle.exp: Add tests for PR 3220.
23589
23590Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23591
23592 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23593
23594Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23595
23596 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23597 "i386-*-*". Works for i486 as well.
23598
23599 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23600 bug, and expand domain of xfail to all SVR4 systems, since the
23601 actual problem is likely to be in generic SVR4 /proc support.
23602
23603Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23604
23605 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23606
23607Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23608
23609 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23610 xfails for other systems. Match a missing 'Continuing.' as an
23611 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23612
23613 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23614 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23615 Only issue warning for missing executables if -all option is used.
23616
23617 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23618 file if -all option is used. It's like an unpredictable XFAIL.
23619
23620Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23621
23622 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23623 for dynamically linked binaries.
23624
23625 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23626
23627Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23628
23629 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23630 to state that this is a known bug in old versions of g++.
23631
23632Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23633
23634 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23635 while waiting for `Continuing'.
23636
23637Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23638
23639 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23640 in text, data, and bss.
23641 * gdb.t10/nodebug.c: Add local and global test variables for
23642 initialized and uninitialized data.
23643
23644Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23645
23646 * config/unix-gdb.exp (gdb_exit): Add "wait".
23647
23648Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23649
23650 * gdb.t06/signals.exp: xfail the continue from the handler for all
23651 targets.
23652
23653 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23654 function with watchpoints enabled, the i386 call dummy starts with
23655 a call.
23656
23657 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23658 386 bsd names its corefiles.
23659
23660Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23661
23662 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23663 compilers don't grok it.
23664 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23665 with small octal ints rather than character constants, which
23666 are signed and might not fit if first promoted to int.
23667
23668Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23669
23670 * gdb.t09/Makefile.in (clean): Remove corefile.
23671
23672Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23673
23674 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23675
23676Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23677 and Jim Kingdon (kingdon@cygnus.com)
23678
23679 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23680 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23681 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23682
23683Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23684
23685 * gdb.t17/interrupt.exp: Add xfail for hppa.
23686
23687Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23688
23689 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23690 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23691 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23692 to determine signed-ness of bitfields and use the result to setup
23693 the xfail.
23694 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23695 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23696 call line is reached if necessary.
23697
23698Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23699
23700 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23701
23702Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23703
23704 * gdb.t06/break.exp: Also test `clear' command.
23705
23706Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23707
23708 * gdb.t00/teststrategy.exp: Remove extra quote.
23709
23710 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23711 watchpoint enabled to be for all non-68k machines.
23712
23713 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23714
23715Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23716
23717 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23718 targets use aout.mt instead of ecoff.mt as gas understands
23719 standard aout format.
23720
23721Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23722
23723 * lib/gdb.exp (runto): Don't insist that function we are running to
23724 was compiled with -g.
23725
23726 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23727
23728 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23729 to get back into the read system call.
23730 Accept leading newline in case where we woke it up.
23731
23732Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23733
23734 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23735 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23736 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23737 enable ecoff configuration.
23738
23739Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23740
23741 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23742
23743Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23744
23745 * gdb.t16/printcmds.exp: Add another printf test.
23746
23747Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23748
23749 * configure.in: If configured -with-stabs on any target, add
23750 stabsdirs to configdirs.
23751
23752Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23753
23754 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23755 fun" so pattern does not match the command itself.
23756
23757Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23758
23759 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23760
23761Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23762
23763 * gdb.t17/interrupt.exp: Test for more things.
23764
23765Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23766
23767 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23768 compiler arranges the code and line numbers.
23769
23770 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23771
23772Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23773
23774 * gdb.t00/help.exp: Increase expect input buffer size.
23775
23776Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23777
23778 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23779
23780 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23781
23782 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23783
23784 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23785 [0-9]*, not just [0-9].
23786
23787Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23788
23789 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23790
23791 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23792
23793Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23794
23795 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23796
23797Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23798
23799 * gdb.t06/signals.c: Add xfails for sun3.
23800
23801 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23802
23803 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23804 test_stepping tests.
23805
23806Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23807
23808 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23809
23810 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23811
23812 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23813 rather than actually putting it through cpp twice.
23814
23815 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23816
23817Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23818
23819 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23820 no longer needed.
23821
23822Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23823
23824 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23825
23826 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23827 C++ features prints as "struct", make it a pass, not an xfail.
23828
23829Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23830
23831 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23832 Don't require VA to print as "class" rather than "struct".
23833
23834Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23835
23836 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23837
23838Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23839
23840 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23841
23842Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23843
23844 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23845 order.
23846
23847Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23848
23849 * gdb.t16/printcmds.exp: Add printf tests.
23850
23851 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23852
23853 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23854
23855Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23856
23857 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23858 pass counts, to counteract any existing or future setup_xfails.
23859
23860Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23861
23862 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23863 {BEGIN,END}_COMMON for common block instead of STAB.
23864 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23865
23866 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23867 intp_var should be N_GSYM not N_LSYM.
23868 wierd-aout.S: Use a label for the value of the N_SO.
23869 wierd.def: Remove all backslashes.
23870 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23871
23872Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23873
23874 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23875 get the expected next to inheritance3.
23876
23877Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23878
23879 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23880 now that gcc-2.4 gets it right.
23881
23882Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23883
23884 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23885
23886 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23887 generating comp-info.exp which works for cross-compilation.
23888
23889Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23890
23891 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23892 "*-*-sysv4.*".
23893
23894Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23895
23896 * gdb.t01/run.exp: Start with a fresh gdb.
23897 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23898 SVR4.x.
23899
23900Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23901
23902 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23903 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23904 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23905 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23906 things to remove.
23907
23908Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23909
23910 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23911 test cases from bug reports.
23912
23913Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23914
23915 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23916 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23917 avoid spurious xfails.
23918 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23919 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23920 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23921
23922Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23923
23924 * gdb.t00/teststrategy.exp: Rework to provide more useful
23925 description of each test, fix problem with systems that define
23926 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23927 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23928 results for "next over recursive call" so timeouts aren't taken
23929 by error.
23930
23931Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23932
23933 * gdb.t12/scope.exp: Test printing of variables before run.
23934
23935 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23936 printed in wrong order due to sorting.
23937
23938Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23939
23940 * gdb.t00/teststrategy.exp: Fix expected results for printing
23941 user entered string constant. Is array of char, prints with no
23942 address.
23943
23944 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23945 commands.
23946 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23947 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23948 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23949 of struct of char arrays.
23950 * gdb.t00/radix.exp: New tests for radix commands.
23951
23952Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23953
23954 * gdb.t16/printcmd.exp: Print a variable before running program
23955 (with xfail for AIX).
23956
23957Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23958
23959 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23960
23961 * gdb.t16/printcmd.exp: Don't print variables before running program.
23962
23963 * gdb.t06/break.exp: Don't require envp argument to main.
23964
23965 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23966
23967 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23968 Add xfails for rs6000.
23969
23970 * gdb.t02/whatis.exp: Change other tests not to re-test something
23971 we already tested.
23972
23973 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23974 each type used has a variable of that type.
23975
23976Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23977
23978 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23979
23980Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23981
23982 * configure.in: change srctrigger to be a file, not a directory
23983
23984Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23985
23986 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23987
23988 * gdb.t11/list.exp: Fixed a couple of typos.
23989
23990Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23991
23992 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23993 is fixed and PR is closed.
23994 * gdb.t16 (gdbme.c): Add simple test string variable.
23995 * gdb.t16 (printcmds.exp): Add tests with simple test string
23996 variable, primarily for boundaries on "set print elements".
23997
23998Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23999
24000 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24001 Make leading 0's optional and don't expect a tab in the middle
24002 of the number.
24003
24004 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24005
24006 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24007 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24008 don't end command passed to gdb_test with newline.
24009
24010 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24011 signed keyword away, don't expect signed bitfields to be signed.
24012
24013 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24014 printing with only as many 1's as are in the field as well as printing
24015 with 32 1's (see comment).
24016
24017Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24018
24019 * gdb.t00/default.exp: Start with a fresh gdb.
24020 * configure.in (configdirs): Remove gdb.t31 until the chill
24021 compiler works again. It no longer is able to find chillrt0
24022 since it isn't in libchill.a anymore.
24023 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24024 wierd.o, make more modular.
24025 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24026 spurious newlines that caused problems.
24027
24028Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24029
24030 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24031 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24032 gdb.stabs/wierd.{exp,def}: Many new tests.
24033
24034 * gdb.t00/default.exp: update info line for new message.
24035
24036 * gdb.t02/{whatis.exp,gdbme.c}:
24037 Test that "char *" doesn't print as "caddr_t".
24038
24039Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24040
24041 * gdb.t00/help.exp: Use .* in place of some help messages which
24042 just changed.
24043 gdb.t00/default.exp: Update "info frame" test for new message.
24044 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24045 Remove some xfails
24046
24047Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24048
24049 * gdb.t03/{gdbme.c,ptype.exp}:
24050 Add tests for typedef'd struct and union without tags.
24051 Also check "whatis" on a variable of a typedef'd enum without a tag.
24052
24053 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24054 PRMS 1823; the bug still exists but isn't reproduced by this test
24055 anymore), and remove rs6000 XFAIL (the bug is fixed).
24056
24057 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24058 duplicated from whatis.exp. For those that are left, accept
24059 "long", "long int", or "int" for long variables (whatis.exp already
24060 has an XFAIL for "int", so no need to fail it here).
24061
24062 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24063 Deal with GCC's names for types now that GDB uses the compiler's names.
24064
24065 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24066 setup_xfail's for sunos4. If we #defined the signed keyword away,
24067 don't expect GDB to know that char it is signed.
24068
24069 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24070
24071Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24072
24073 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24074 should work on any system, regardless of debugging format.
24075 * gdb.t21/demangle.exp: Move to gdb.t24.
24076 * gdb.t24/demangle.exp: Move from gdb.t21.
24077 * gdb.t24/{Makefile.in, configure.in}: New files.
24078
24079Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24080
24081 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24082 * gdb.stabs: New directory.
24083
24084Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24085
24086 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24087 not just "Quit anyway?".
24088
24089Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24090
24091 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24092 that all setup_xfails are immediately followed by clear_xfails.
24093
24094Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24095
24096 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24097 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24098 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24099 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24100 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24101 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24102 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24103 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24104 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24105 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24106 gdb.t31/chillvars.exp, lib/gdb.exp:
24107 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24108 bug-gdb@prep.ai.mit.edu.
24109
24110Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24111
24112 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24113 with 0.0, not integer 0.
24114
24115Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24116
24117 * gdb.t06/break.exp: Update for "Kill the program" message change.
24118
24119Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24120
24121 * Makefile.in (GDBFLAGS): Set to -nx.
24122 * Makefile.in (site.exp): Use GDBFLAGS.
24123
24124Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24125
24126 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24127 Makefiles.
24128 (check): depend on just-check.
24129 (just-check): added so that tests can be run without a noop
24130 build pass.
24131
24132Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24133
24134 Switch to using configure's configdirs.
24135 * Makefile.in (Makefile): add configure.in dependency.
24136 (SUBDIRS): removed redundant assignment.
24137 * configure.in: switch subdirs assignment to configdirs.
24138 * gdb.t*/configure.in: new files.
24139
24140Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24141
24142 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24143 works.
24144
24145Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24146
24147 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24148 in explicit rules. Apparently this is not supported by some makes.
24149
24150Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24151
24152 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24153
24154Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24155
24156 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24157 disappeared.
24158
24159Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24160
24161 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24162
24163Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24164
24165 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24166 watchpoint problem that is now fixed.
24167 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24168 uninitialized convenience variables.
24169 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24170 structures.
24171
24172Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24173
24174 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24175 which causes expect to get out of sync with gdb on long output
24176 from help set.
24177 * gdb.t09/corefile.exp: Make expected pattern for core file
24178 failing signal and frame output format less sun specific.
24179
24180Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24181
24182 * gdb.t31/chillvars.exp: Add and remove initial dummy
24183 breakpoint, so that symbol table is forced in.
24184 (Needed at least on Sunos4, though it seems not SVR4.)
24185 * gdb.t31/chillvars.exp: Update for changed output format.
24186
24187Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24188
a9c64011 24189 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
24190
24191Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24192
24193 * Makefile.in: Added --srcdir when invoking runtest, removed the
24194 need for a local config file. (optional now)
24195
24196Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24197
24198 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24199 failure count used to force early termination. Add some more
24200 expected failures for gnu style demangling.
24201
24202Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24203
24204 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24205 pmi variable from gdb.t20/gdbme to get optimized away.
24206 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24207 Check for written corefile upon timeout _and_ eof.
24208
24209Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24210
24211 * config/unix-gdb.exp: Add missing return 0.
24212
24213Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24214
24215 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24216 test termination.
24217
24218Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24219
24220 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24221 disappeared.
24222
24223Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24224
24225 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24226 time as i860 support works.
24227
d63a86f8 24228 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
24229 "backtrace 100\r" rather than just "backtrace\r", to match last
24230 change.
24231
24232Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24233
24234 * config/udi-gdb.exp (gdb_exit): Remove close command.
24235 (gdb_target_udi): New procedure to set the UDI target.
24236 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24237 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24238 Added waits for prompts after several question responses. Added
24239 some more responses used by a29k-amd-udi-gdb.
24240 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24241 pass different arguments, restart UDI connection after program
24242 completion.
24243 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24244 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24245 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24246 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24247 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24248 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24249 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24250 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24251 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24252 after program completion.
24253 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24254 compiled with a SELECT_VECS setting.
24255 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24256 infinite recursion.
24257
24258 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24259 Added checks for COFF results, and made them expected failures for
24260 all targets. It would be better to make them expected failures
24261 for COFF targets only.
24262
24263Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24264
24265 * Makefile.in: add null dvi target, don't bother to recurse
24266 through test directories for info and install-info; rename
24267 $(datadir) to be dejagnu instead of deja-gnu
24268
24269Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24270
24271 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24272 compiler to coredump.
24273 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24274 code.
24275
24276Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24277
24278 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24279 coredump.
24280 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24281 code.
24282
24283Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24284
24285 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24286 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24287 which in a shell. Deletes xgdb when done.
24288 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24289 Tests the return from the "set height" or "set width" commands.
24290 Added a few return codes where needed.
24291
24292Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24293
24294 * Makefile.in (SUBDIRS): Add gdb.t17.
24295 * configure.in (subdirs): Add gdb.t17.
24296 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24297 files to test gdb's calling of functions in the inferior with
24298 the correct arguments and gdb's ability to retrieve any
24299 result returned.
24300
24301Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24302
24303 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24304 may be called after gdb goes away. Previous versions of expect
24305 needed these to avoid file descriptor leaks, but they cause
24306 errors with the current revision of expect.
24307 * gdb.t00/gdbvars.exp: Use -re on expected output after
24308 setting sevenbit-strings.
24309 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24310 to set sevenbit-strings consistent across tests.
24311 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24312 set sevenbit-strings consistent across tests.
24313
24314Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24315
24316 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24317 expected output to match current "expect" expectations.
24318
24319Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24320
24321 * gdb.t00/default.exp: Change expected output for default "source"
24322 command, to match new gdb behavior which requires a filename to
24323 source.
24324
24325Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24326
24327 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24328 expected fail for i486-*-* that misses the marker2 function.
24329 * gdb.t10/crossload.exp (bfddefault): Allow successful
24330 recognition of a format to pass even if no symbols are found.
24331 Explicitly catch failures where the format is not recognized
24332 or is ambiguous, and add the reason to the fail message.
24333 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24334 the cause is and invalid target and add reason to failure message.
24335 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24336 elf32-i386, elf32-sparc, and elf32-i860.
24337 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24338 Set up expected failure for 'filename'::variable scope resolution,
24339 which is now apparently broken on all targets.
24340 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24341 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24342 gdb.t23/templates.exp: Change failure for missing binfile into
24343 just a warning.
24344 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24345 references.
24346
24347Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24348
24349 * gdb.t00/default.exp: Add expected output for default "source"
24350 command, to match new gdb behavior.
24351 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24352
24353Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24354
24355 * config/*-gdb.exp: returns an error, rather than exiting on
24356 internal errors.
24357
24358Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24359
24360 * gdb.t03/gdbme.c: Add pointer to struct variable.
24361 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24362 referencing struct members.
24363
24364Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24365
24366 * configure.in (mips-idt-ecoff): New target.
24367 * config/mips-gdb.exp: New file for remote board using MIPS remote
24368 debugging protocol.
24369
24370 * Redid configuration scheme. Removed gdb.t*/configure.in.
24371 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24372 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24373 distclean targets. Built executables via .o files. Adjusted
24374 tests to account for source files in $(srcdir) rather than
24375 $(objdir).
24376 * lib/gdb.exp (runto): Don't expect () after the function name,
24377 because it may have arguments.
24378
24379Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24380
24381 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24382 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24383 expected failures for mips-idt-* and mips-sgi-*.
24384 * gdb.t00/default.exp (attach): Kill process if requested.
24385 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24386 that does not read core files.
24387 * gdb.t01/run.exp: Removed checks for exit status code.
24388 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24389 it is linked in.
24390 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24391 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24392 appropriate, rather than doing it by hand.
24393 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24394 execution.
24395 * gdb.t10/crossload.exp: Kill existing program if needed.
24396 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24397 appropriate, rather than doing it by hand. Always increase
24398 timeout for this test, not just for VxWorks.
24399
24400Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24401
24402 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24403 of Chill STRUCT types and STRUCT values.
24404 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24405 than "char".
24406 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 24407 struct2): New struct definitions and initializations to test
c906108c
SS
24408 simple Chill STRUCT types.
24409
24410Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24411
24412 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24413 the null byte at the end of strings.
24414 * gdb.t00/default.exp: Make show version insensitive to copyright
24415 date.
24416 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24417 to avoid dependencies on target char signedness.
24418 * gdb.t16/printcmds.exp: Update expected results for explicitly
24419 unsigned char.
24420 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24421 now work.
24422 * gdb.t21/demangle.exp: Add many more patterns for template
24423 demangling, most of them being expected failures.
24424 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24425 string we are matching for, to match on the whole string.
24426 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24427 and fix a whole bunch that had incorrect expected output but were
24428 passing anyway because of the bug in "proc demangle".
24429 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24430 type.
24431 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24432
24433Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24434
a9c64011
AS
24435 * gdb/testsuite: made modifications to testcases, etc., to allow
24436 them to work properly given the reorganization of deja-gnu and the
24437 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
24438
24439Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24440
24441 * gdb/testsuite: Initial creation of gdb/testsuite.
24442 Migrated dejagnu testcases and support files for testing nm to
24443 gdb/testsuite from deja-gnu. These files were moved "as is"
24444 with no modifications. This migration is part of a major overhaul
24445 of dejagnu. The modifications to these testcases, etc., which
24446 will allow them to work with the new version of dejagnu will be
24447 made in a future update.
48efe704 24448
8d8cb839 24449 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 24450\f
8d8cb839
EZ
24451;; Local Variables:
24452;; mode: change-log
24453;; left-margin: 8
24454;; fill-column: 74
24455;; version-control: never
24456;; End:
902f2ccb
MC
24457
24458 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 24459 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
24460 Copying and distribution of this file, with or without modification,
24461 are permitted provided the copyright notice and this notice are preserved.