]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix c++/16675 -- sizeof reference type should give the size of
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
245a5f0b
KS
12014-04-11 Keith Seitz <keiths@redhat.com>
2
3 PR c++/16675
4 * gdb.cp/cpsizeof.exp: New file.
5 * gdb.cp/cpsizeof.cc: New file.
6
58a84dcf
SA
72014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8
9 * mi-vla-c99.exp: New file.
10 * vla.c: New file.
11
c8655f75
SA
122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13
14 * gdb.base/vla-datatypes.c: New file.
15 * gdb.base/vla-datatypes.exp: New file.
16
024e13b4
SA
172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18
19 * gdb.base/vla-ptr.c: New file.
20 * gdb.base/vla-ptr.exp: New file.
21
1a237e0e
SA
222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
23
24 * gdb.base/vla-multi.c: New file.
25 * gdb.base/vla-multi.exp: New file.
26
504f3432
SA
272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
28
29 * gdb.dwarf2/count.exp: New file.
30
3bce8237
SA
312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
32
33 * vla-sideeffect.c: New file.
34 * vla-sideeffect.exp: New file.
35
322f9c21
YQ
362014-04-11 Yao Qi <yao@codesourcery.com>
37
38 * gdb.base/completion.exp: Check file exists before running tests
39 on file completion.
40
d708bcd1
PA
412014-04-10 Pedro Alves <palves@redhat.com>
42
43 * gdb.base/cond-eval-mode.c: New file.
44 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
45 prepare_for_testing to build the new file. Check result of
46 runto_main.
47 (test_break, test_watch): New procedures.
48 (top level): Use them.
49
ae1d2761
PM
502014-04-08 Pierre Muller <muller@sourceware.org>
51
52 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
53 Ctrl-V use for mingw hosts.
54
7af389b8
SC
552014-04-07 Siva Chandra Reddy <sivachandra@google.com>
56
57 * gdb.python/py-value.c: Improve test case.
58 * gdb.python/py-value.exp: Add new test.
59
5e703181
DE
602014-04-07 David Blaikie <dblaikie@gmail.com>
61
62 * lib/compiler.c: Identify the clang compiler.
63 * lib/compiler.cc: Ditto.
64
9810b410
YQ
652014-04-03 Yao Qi <yao@codesourcery.com>
66
67 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
68
98d1b8dc
AB
692014-04-01 Anton Blanchard <anton@samba.org>
70
71 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
72 messages unique.
73
3114cea1
AB
742014-04-01 Anton Blanchard <anton@samba.org>
75
76 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
77 prepare_for_testing.
78
62f7182c
AB
792014-04-01 Anton Blanchard <anton@samba.org>
80
81 * gdb.arch/ppc64-atomic-inst.c: Remove.
82 * gdb.arch/ppc64-atomic-inst.S: New file.
83 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
84
770e7fc7
DE
852014-03-31 Doug Evans <dje@google.com>
86
87 * gdb.base/print-symbol-loading-lib.c: New file.
88 * gdb.base/print-symbol-loading-main.c: New file.
89 * gdb.base/print-symbol-loading.exp: New file.
90
46e2bafa
YQ
912014-03-31 Yao Qi <yao@codesourcery.com>
92
93 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
94
8776cfe9
JB
952014-03-28 Joel Brobecker <brobecker@adacore.com>
96
97 * gdb.ada/mi_dyn_arr: New testcase.
98
5d1ef361
DE
992014-03-27 Doug Evans <dje@google.com>
100
101 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
102
b5bee914
YQ
1032014-03-27 Yao Qi <yao@codesourcery.com>
104
105 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
106 if target is nios2-*-*.
107
0d4d0e77
YQ
1082014-03-26 Yao Qi <yao@codesourcery.com>
109
110 * lib/gdb.exp (readline_is_used): New proc.
111 * gdb.base/completion.exp: Move tests on command complete up.
112 Skip the rest of tests if readline is not used.
113 * gdb.ada/complete.exp: Skp the test if readline is not
114 used.
115 * gdb.base/filesym.exp: Likewise.
116 * gdb.base/macscp.exp: Likewise.
117 * gdb.base/readline-ask.exp: Likewise.
118 * gdb.base/readline.exp: Likewise.
119 * gdb.python/py-cmd.exp: Likewise.
120 * gdb.trace/tfile.exp: Likewise.
121
29361eee
YQ
1222014-03-26 Yao Qi <yao@codesourcery.com>
123
124 * gdb.base/macscp.exp: Fix code format issues.
125
bc9a5525
UW
1262014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
127
128 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
129 * gdb.asm/powerpc64le.inc: New file.
130
d3839ede
PA
1312014-03-25 Pedro Alves <palves@redhat.com>
132 Doug Evans <dje@google.com>
133
134 * gdb.base/source-execution.c: New file.
135 * gdb.base/source-execution.exp: New file.
136 * gdb.base/source-execution.gdb: New file.
137
01672a57
DE
1382014-03-24 Doug Evans <dje@google.com>
139
140 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
141 using fission.
142
88bbeca9
HZ
1432014-03-24 Hui Zhu <hui@codesourcery.com>
144 Pedro Alves <palves@redhat.com>
145
146 PR breakpoints/16101
147 * gdb.base/dprintf.exp: Use unsupported rather than changing the
148 test pass/fail messages. Detect missing support for dprintf when
149 breakpoints are actually inserted.
150 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
151 breakpoints are actually inserted.
152 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
153 fails.
154
d2348791
JK
1552014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
156
157 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
158
feef67ab
DE
1592014-03-22 Doug Evans <xdje42@gmail.com>
160
161 * gdb.python/python.exp (python not supported): Verify multi-line
162 python command issues an error.
25d743f9 163 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 164 guile command issues an error.
feef67ab 165
ecebef6a
MR
1662014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
167
168 * gdb.threads/thread-specific.exp: Handle the lack of usable
169 $this_breakpoint and $this_thread.
170
ccdd1909
HZ
1712014-03-21 Hui Zhu <hui@codesourcery.com>
172
173 * gdb.base/attach.exp (do_command_attach_tests): New.
174
beb460e8
PA
1752014-03-20 Tom Tromey <tromey@redhat.com>
176 Pedro Alves <palves@redhat.com>
177
178 PR cli/15718
179 * gdb.base/condbreak-call-false.c: New file.
180 * gdb.base/condbreak-call-false.exp: New file.
181
40acf43a
PA
1822014-03-20 Pedro Alves <palves@redhat.com>
183
184 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
185 Delete.
186 (block_signals, unblock_signals): Delete.
187 (child_function_2, main): Remove references to deleted variable
188 and functions.
189
9f5e1e02
PA
1902014-03-20 Pedro Alves <palves@redhat.com>
191
192 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
193 Use pthread_kill to signal thread 2.
194 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
195 Adjust to make the test send itself a signal rather than using the
196 host's "kill" command.
197
99619bea
PA
1982014-03-20 Pedro Alves <palves@redhat.com>
199
200 * gdb.threads/multiple-step-overs.c: New file.
201 * gdb.threads/multiple-step-overs.exp: New file.
202 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
203 Adjust expected infrun debug output.
204
2adfaa28
PA
2052014-03-20 Pedro Alves <palves@redhat.com>
206
207 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
208 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
209
31e77af2
PA
2102014-03-20 Pedro Alves <palves@redhat.com>
211
212 PR breakpoints/7143
213 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
214 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
215 of gdb_test_multiple.
216 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
217 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
218
b9f437de
PA
2192014-03-20 Pedro Alves <palves@redhat.com>
220
221 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
222 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
223
05adc73e
PA
2242014-03-19 Pedro Alves <palves@redhat.com>
225
226 * gdb.base/async.exp: Remove early return.
227
6048b950
PA
2282014-03-19 Pedro Alves <palves@redhat.com>
229
230 * gdb.base/async.exp (step& tests): Pass explicit test messages.
231
8bcfb00a
PA
2322014-03-19 Pedro Alves <palves@redhat.com>
233
234 * gdb.base/async.exp (test_background): Expect \r\n after
235 "completed." in the fail pattern.
236
884e37dc
PA
2372014-03-19 Pedro Alves <palves@redhat.com>
238
239 * gdb.base/async.exp (test_background): New procedure.
240 Use it for all background execution command tests.
241
148e57e2
PA
2422014-03-19 Pedro Alves <palves@redhat.com>
243
244 * gdb.base/async.exp: Use prepare_for_testing.
245
f48088c7
PA
2462014-03-19 Pedro Alves <palves@redhat.com>
247
248 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
249 the same line.
250
e2f6c966
PA
2512014-03-19 Pedro Alves <palves@redhat.com>
252
253 * gdb.base/async.c (main): Add "jump here" and "until here" line
254 marker comments.
255 * gdb.base/async.exp (jump_here): New global.
256 (jump& test): Use it.
257 (until_here): New global.
258 (until& test): Use it.
259
c30568d4
PA
2602014-03-19 Pedro Alves <palves@redhat.com>
261
262 * gdb.base/async.exp: Don't frob gdb_protocol.
263
0172b6a7
DE
2642014-03-18 Doug Evans <xdje42@gmail.com>
265
266 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
267 Fix spelling of exec-done-display.
268
06c868a8
JK
2692014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
270
271 PR gdb/15358
272 * gdb.base/gdb-sigterm.c: New file.
273 * gdb.base/gdb-sigterm.exp: New file.
274
0c7e1a46
PA
2752014-03-18 Pedro Alves <palves@redhat.com>
276
277 PR gdb/13860
278 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
279 * lib/mi-support.exp (mi_expect_stop): Add special handling for
280 solib-event.
281
f7c77d93
JB
2822014-03-17 Joel Brobecker <brobecker@adacore.com>
283
284 * gdb.ada/pckd_arr_ren: New testcase.
285
5a1e8c7a
DE
2862014-03-13 Doug Evans <xdje42@gmail.com>
287
288 PR guile/16612
289 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
290 collect after discarding symbols.
291
350e1a76
DE
2922014-03-13 Ludovic Courtès <ludo@gnu.org>
293 Doug Evans <xdje42@gmail.com>
294
295 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
296 to history survives a gc.
297
a69900ae
PA
2982014-03-13 Pedro Alves <palves@redhat.com>
299
300 * gdb.base/default.exp: Don't test "target procfs".
301
5db9f0bd
PA
3022014-03-13 Pedro Alves <palves@redhat.com>
303
304 * gdb.base/default.exp: Update "target child" and "target procfs"
305 tests to not expect "Unix".
306
b3ccfe11
TT
3072014-03-12 Tom Tromey <tromey@redhat.com>
308
309 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
310 New procs. Add target-async tests.
311 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
312 Add target-async tests.
313
646f4417
AA
3142014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
315
316 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
317 'func_start' and 'func_end' for the beginning and end of the
318 function code, respectively.
319 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
320 'func_end' instead of 'func' and 'main'.
321
288c211f
AA
3222014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
323
324 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
325 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
326 generate the debug info assembler source.
327
e0c0f156
AA
3282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
329
330 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
331 * gdb.dwarf2/arr-subrange.exp: Likewise.
332 * gdb.dwarf2/dwz.exp: Likewise.
333 * gdb.dwarf2/method-ptr.exp: Likewise.
334 * gdb.dwarf2/missing-sig-type.exp: Likewise.
335 * gdb.dwarf2/subrange.exp: Likewise.
336 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
337 * gdb.dwarf2/implptrpiece.exp: Likewise.
338 * gdb.dwarf2/nostaticblock.exp: Likewise.
339
0e5c4555
AA
3402014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
341
342 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
343 directory to absolute path name arguments.
344
5ec18f2b
JG
3452014-03-10 Joel Brobecker <brobecker@adacore.com>
346
347 * gdb.ada/tagged_access: New testcase.
348
847fc4f2
MM
3492014-03-07 Markus Metzger <markus.t.metzger@intel.com>
350
351 * gdb.btrace/data.exp: Update expected output.
352
cc3da688
YQ
3532014-03-06 Yao Qi <yao@codesourcery.com>
354
355 * gdb.trace/pr16508.exp: New file.
356
0f26cec1
PA
3572014-03-05 Pedro Alves <palves@redhat.com>
358
359 PR gdb/16575
360 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
361 procedure.
362 (top level): Adjust to use it. Add tests that exercise breakpoint
363 interaction with the code-cache.
364
7a5a839f
LC
3652014-02-26 Ludovic Courtès <ludo@gnu.org>
366
367 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
368 test for 'history-append!'.
369
31aa7e4e
JB
3702014-02-26 Joel Brobecker <brobecker@adacore.com>
371
372 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
373 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
374 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
375 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
376 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
377 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
378
1b588015
JB
3792014-02-26 Joel Brobecker <brobecker@adacore.com>
380
381 * testsuite/gdb.python/py-pp-re-notag.c: New file.
382 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
383 * testsuite/gdb.python/py-pp-re-notag.p: New file.
384
55426c9d
JB
3852014-02-26 Joel Brobecker <brobecker@adacore.com>
386
387 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
388
dc53a7ad
JB
3892014-02-26 Joel Brobecker <brobecker@adacore.com>
390
391 * gdb.dwarf2/arr-stride.c: New file.
392 * gdb.dwarf2/arr-stride.exp: New file.
393
12ab52e9
PA
3942014-02-26 Pedro Alves <palves@redhat.com>
395
396 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
397 that won't ever trigger. Make sure that GDB reports the correct
398 breakpoint that caused the stop.
399
849c862e
JK
4002014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
401
402 PR gdb/16626
403 * gdb.base/auto-load-script: New file.
404 * gdb.base/auto-load.c: New file.
405 * gdb.base/auto-load.exp: New file.
406
71b7d793
JK
407 PR gdb/16626
408 * gdb.base/auto-load.exp: Fix out-of-srctree run.
409
e2f0d509
JK
4102014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 Fix dw2-icycle.exp -fsanitize=address GDB crash.
413 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
414
50cc37c8
DE
4152014-02-24 Doug Evans <dje@google.com>
416
417 * lib/gdb.exp (run_on_host): Log error output if program fails.
418
ea4758f2
PA
4192014-02-21 Pedro Alves <palves@redhat.com>
420
421 * gdb.threads/step-after-sr-lock.c: Rename to ...
422 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
423 * gdb.threads/step-after-sr-lock.exp: Rename to ...
424 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
425 ... this.
426
d7b30f67
SDJ
4272014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
428
429 PR tdep/16397
430 * gdb.arch/amd64-stap-special-operands.exp: New file.
431 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
432 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
433 * gdb.arch/amd64-stap-triplet.S: Likewise.
434 * gdb.arch/amd64-stap-triplet.c: Likewise.
435
83deb43f
JB
4362014-02-20 Joel Brobecker <brobecker@adacore.com>
437
438 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
439 in .section pseudo-op.
440
adde2bff
DE
4412014-02-20 lin zuojian <manjian2006@gmail.com>
442 Joel Brobecker <brobecker@adacore.com>
443 Doug Evans <xdje42@gmail.com>
444
445 PR symtab/16581
446 * gdb.dwarf2/dw2-icycle.S: New file.
447 * gdb.dwarf2/dw2-icycle.c: New file.
448 * gdb.dwarf2/dw2-icycle.exp: New file.
449
f7bd0f78
SC
4502014-02-19 Siva Chandra Reddy <sivachandra@google.com>
451
452 * gdb.python/py-value-cc.cc: Improve test case to enable testing
453 operations on gdb.Value objects.
454 * gdb.python/py-value-cc.exp: Add new test to test operations on
455 gdb.Value objects.
456
c17ef0d5
DE
4572014-02-18 Doug Evans <dje@google.com>
458
459 * Makefile.in (TESTS): New variable.
460 (expanded_tests, expanded_tests_or_none): New variables
461 (check-single): Pass $(expanded_tests_or_none) to runtest.
462 (check-parallel): Only run tests in $(TESTS) if non-empty.
463 (check/no-matching-tests-found): New rule.
464 * README: Document TESTS makefile variable.
465
5dd3176f
DE
4662014-02-18 Doug Evans <dje@google.com>
467
468 * Makefile.in (check-parallel): rm -rf outputs temp.
469
0b10be4f
JK
4702014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
471
472 Fix "ERROR: no fileid for" in the testsuite.
473 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
474
85f224e7
DE
4752014-02-12 Doug Evans <dje@google.com>
476
477 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
478 (MISCELLANEOUS): New variable.
479 (clean): rm -rf $(MISCELLANEOUS).
480 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
481 dwp live in the same directory as symlinks, with each symlink pointed
482 to a differently named file in a different directory.
483
149b30ff
DE
4842014-02-11 Doug Evans <dje@google.com>
485
486 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
487 of Tcl file commands.
488
1dfdac32
MK
4892014-02-10 Mark Kettenis <kettenis@gnu.org>
490
491 * gdb.threads/step-after-sr-lock.exp: Avoid executing
492 "kill -SIGUSR1 -1".
493
aa4fb036
JB
4942014-02-10 Joel Brobecker <brobecker@adacore.com>
495
496 * gdb.ada/tick_length_array_enum_idx: New testcase.
497
ed3ef339
DE
4982014-02-10 Doug Evans <xdje42@gmail.com>
499
500 * configure.ac (AC_OUTPUT): Add gdb.guile.
501 * configure: Regenerate.
502 * lib/gdb-guile.exp: New file.
503 * lib/gdb.exp (get_target_charset): New function.
504 * gdb.base/help.exp: Update expected output from "apropos apropos".
505 * gdb.guile/Makefile.in: New file.
506 * gdb.guile/guile.exp: New file.
507 * gdb.guile/scm-arch.c: New file.
508 * gdb.guile/scm-arch.exp: New file.
509 * gdb.guile/scm-block.c: New file.
510 * gdb.guile/scm-block.exp: New file.
511 * gdb.guile/scm-breakpoint.c: New file.
512 * gdb.guile/scm-breakpoint.exp: New file.
513 * gdb.guile/scm-disasm.c: New file.
514 * gdb.guile/scm-disasm.exp: New file.
515 * gdb.guile/scm-equal.c: New file.
516 * gdb.guile/scm-equal.exp: New file.
517 * gdb.guile/scm-error.exp: New file.
518 * gdb.guile/scm-error.scm: New file.
519 * gdb.guile/scm-frame-args.c: New file.
520 * gdb.guile/scm-frame-args.exp: New file.
521 * gdb.guile/scm-frame-args.scm: New file.
522 * gdb.guile/scm-frame-inline.c: New file.
523 * gdb.guile/scm-frame-inline.exp: New file.
524 * gdb.guile/scm-frame.c: New file.
525 * gdb.guile/scm-frame.exp: New file.
526 * gdb.guile/scm-generics.exp: New file.
527 * gdb.guile/scm-gsmob.exp: New file.
528 * gdb.guile/scm-iterator.c: New file.
529 * gdb.guile/scm-iterator.exp: New file.
530 * gdb.guile/scm-math.c: New file.
531 * gdb.guile/scm-math.exp: New file.
532 * gdb.guile/scm-objfile-script-gdb.in: New file.
533 * gdb.guile/scm-objfile-script.c: New file.
534 * gdb.guile/scm-objfile-script.exp: New file.
535 * gdb.guile/scm-objfile.c: New file.
536 * gdb.guile/scm-objfile.exp: New file.
537 * gdb.guile/scm-ports.exp: New file.
538 * gdb.guile/scm-pretty-print.c: New file.
539 * gdb.guile/scm-pretty-print.exp: New file.
540 * gdb.guile/scm-pretty-print.scm: New file.
541 * gdb.guile/scm-section-script.c: New file.
542 * gdb.guile/scm-section-script.exp: New file.
543 * gdb.guile/scm-section-script.scm: New file.
544 * gdb.guile/scm-symbol.c: New file.
545 * gdb.guile/scm-symbol.exp: New file.
546 * gdb.guile/scm-symtab-2.c: New file.
547 * gdb.guile/scm-symtab.c: New file.
548 * gdb.guile/scm-symtab.exp: New file.
549 * gdb.guile/scm-type.c: New file.
550 * gdb.guile/scm-type.exp: New file.
551 * gdb.guile/scm-value-cc.cc: New file.
552 * gdb.guile/scm-value-cc.exp: New file.
553 * gdb.guile/scm-value.c: New file.
554 * gdb.guile/scm-value.exp: New file.
555 * gdb.guile/source2.scm: New file.
556 * gdb.guile/types-module.cc: New file.
557 * gdb.guile/types-module.exp: New file.
558
7026a7c1
YQ
5592014-02-10 Yao Qi <yao@codesourcery.com>
560
561 PR testsuite/16543
562 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
563 * configure: Regenerated.
564 * Makefile.in: New file.
565
6c466447
AS
5662014-02-08 Andreas Schwab <schwab@linux-m68k.org>
567
568 * gdb.python/py-framefilter.exp: Fix typo.
569
6e854735
YQ
5702014-02-08 Yao Qi <yao@codesourcery.com>
571
572 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
573 that no =breakpoint-modified is emitted when breakpoints are
574 modified through MI commands.
575
d137e6dc
PA
5762014-02-07 Pedro Alves <pedro@codesourcery.com>
577 Pedro Alves <palves@redhat.com>
578
579 * gdb.threads/step-after-sr-lock.c: New file.
580 * gdb.threads/step-after-sr-lock.exp: New file.
581
b5ee5a50
PA
5822014-02-07 Pedro Alves <palves@redhat.com>
583
584 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
585
3c77faf3
JK
5862014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
587
588 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
589 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
590
6dddc817
DE
5912014-02-06 Doug Evans <xdje42@gmail.com>
592
593 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
594 output.
595
596 * gdb.gdb/python-interrupts.exp: New file.
597
de7b2893
YQ
5982014-02-05 Yao Qi <yao@codesourcery.com>
599
600 * gdb.trace/report.exp (use_collected_data): Test the output
601 of "info threads" and "info inferiors".
602
66d032ac
YQ
6032014-02-05 Yao Qi <yao@codesourcery.com>
604
605 Revert this patch:
606
607 2013-05-24 Yao Qi <yao@codesourcery.com>
608
609 * gdb.trace/tfile.exp: Test inferior and thread.
610
591a12a1
UW
6112014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
612
613 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
614 on a function.
615 * gdb.base/step-bt.c: Call hello via function pointer to make
616 sure its first instruction is executed on powerpc64le-linux.
617
0ff3e01f
UW
6182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
619
620 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
621
084ee545
UW
6222014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
623
624 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
625 of the test patterns for use on little-endian systems.
626
6ed14ff3
UW
6272014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
628
629 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
630 (decimal_vector): Fix for little-endian.
631
401e27fd
JM
6322014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
633
634 * gdb.arch/sparc-sysstep.exp: New file.
635 * gdb.arch/sparc-sysstep.c: Likewise.
636
637 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
638
8b924729
EBM
6392014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
640
641 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
642
fb151210
JB
6432014-01-23 Tom Tromey <tromey@redhat.com>
644
645 * gdb.ada/array_char_idx: New testcase.
646
0740f8d8
TT
6472014-01-23 Tom Tromey <tromey@redhat.com>
648
649 PR python/16487:
650 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
651 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
652 classes.
653
21909fa1
TT
6542014-01-23 Tom Tromey <tromey@redhat.com>
655
656 PR python/16491:
657 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
658 string from an inferior frame.
659 * gdb.python/py-framefilter-mi.exp: Update.
660
87ce2a04
DE
6612014-01-22 Doug Evans <dje@google.com>
662
663 * gdb.server/server-mon.exp: Add tests for "set debug-format".
664
237b092b
AA
6652014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
666
667 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
668
d674a709
AA
6692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
670
671 * gdb.trace/entry-values.exp: Remove excess space character from
672 regex patterns. Handle s390 call instruction.
673
20fa3390
AA
6742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
675
676 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
677 define "*_start" label. Make "name" static.
678 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
679 ${name} by references to ${name}_start.
680
78466714
AA
6812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
682
683 * gdb.base/info-macros.exp: Remove "debug" from the compile
684 options.
685
ec9f644a
IB
6862014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
687
688 * gdb.dlang/demangle.exp: New file.
689
94b1b47e
IB
6902014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
691
692 * gdb.dlang/primitive-types.exp: New file.
693
7f420862
IB
6942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
695
696 * configure.ac: Create gdb.dlang/Makefile.
697 * configure: Regenerate.
698 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
699 * gdb.dlang/Makefile.in: New file.
700 * lib/d-support.exp: New file.
701 * lib/gdb.exp (skip_d_tests): New proc.
702
52834460
MM
7032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
704
705 * gdb.btrace/delta.exp: Check reverse stepi.
706 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
707 * gdb.btrace/finish.exp: New.
708 * gdb.btrace/next.exp: New.
709 * gdb.btrace/nexti.exp: New.
710 * gdb.btrace/record_goto.c: Add comments.
711 * gdb.btrace/step.exp: New.
712 * gdb.btrace/stepi.exp: New.
713 * gdb.btrace/multi-thread-step.c: New.
714 * gdb.btrace/multi-thread-step.exp: New.
715 * gdb.btrace/rn-dl-bind.c: New.
716 * gdb.btrace/rn-dl-bind.exp: New.
717 * gdb.btrace/data.c: New.
718 * gdb.btrace/data.exp: New.
719 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
720
6e07b1d2
MM
7212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
722
723 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
724 * gdb.btrace/exception.exp: Update.
725 * gdb.btrace/instruction_history.exp: Update.
726 * gdb.btrace/record_goto.exp: Update.
727 * gdb.btrace/tailcall.exp: Update.
728 * gdb.btrace/unknown_functions.exp: Update.
729 * gdb.btrace/delta.exp: New.
730
0b722aec
MM
7312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
732
733 * gdb.btrace/record_goto.exp: Add backtrace test.
734 * gdb.btrace/tailcall.exp: Add backtrace test.
735
066ce621
MM
7362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
737
738 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
739 * gdb.btrace/record_goto.c: New.
740 * gdb.btrace/record_goto.exp: New.
741 * gdb.btrace/x86-record_goto.S: New.
742
0688d04e
MM
7432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
744
745 * gdb.btrace/function_call_history.exp: Update tests.
746 * gdb.btrace/instruction_history.exp: Update tests.
747
8710b709
MM
7482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
749
750 * gdb.btrace/function_call_history.exp: Fix expected field
751 order for "record function-call-history".
752 Add new tests for "record function-call-history /c".
753 * gdb.btrace/exception.cc: New.
754 * gdb.btrace/exception.exp: New.
755 * gdb.btrace/tailcall.exp: New.
756 * gdb.btrace/x86-tailcall.S: New.
757 * gdb.btrace/x86-tailcall.c: New.
758 * gdb.btrace/unknown_functions.c: New.
759 * gdb.btrace/unknown_functions.exp: New.
760 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
761
5de9129b
MM
7622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
763
764 * gdb.btrace/instruction_history.exp: Update.
765 * gdb.btrace/function_call_history.exp: Update.
766
23a7fe75
MM
7672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
768
769 * gdb.btrace/function_call_history.exp: Fix expected function
770 trace.
771 * gdb.btrace/instruction_history.exp: Initialize traced.
772 Remove traced_functions.
773
724c7dd8
MM
7742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
775
776 * gdb.btrace/function_call_history.exp: Update
777 * gdb.btrace/instruction_history.exp: Update.
778
6d78d93b
MM
7792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
780
781 * gdb.btrace/enable.exp: Update expected text.
782
93a360cc
OJ
7832014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
784
785 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
786 bytes.
787
3772b53f
MR
7882014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
789
790 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
791
596662fa
OJ
7922014-01-15 Omair Javaid <omair.javaid@linaro.org>
793
794 * lib/gdb.exp (supports_process_record): Return true for
795 arm*-linux*. (supports_reverse): Likewise.
796
b5b08fb4
SC
7972014-01-13 Siva Chandra Reddy <sivachandra@google.com>
798
799 PR python/15464
800 PR python/16113
801 * gdb.python/py-type.c: Enhance test case.
802 * gdb.python/py-value-cc.cc: Likewise
803 * gdb.python/py-type.exp: Add new tests.
804 * gdb.python/py-value-cc.exp: Likewise
805
52d7fb13
AA
8062014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
807 Pedro Alves <palves@redhat.com>
808
809 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
810 Make "name" extern.
811 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
812 references to ${name}_start by references to ${name}.
813
a2cd8cfe
JB
8142014-01-10 Joel Brobecker <brobecker@adacore.com>
815
816 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
817
4e23fced
JB
8182014-01-10 Joel Brobecker <brobecker@adacore.com>
819
820 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
821
c6a9e42c
PA
8222014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
823 Pedro Alves <palves@redhat.com>
824
825 * gdb.mi/mi-info-os.exp: Connect to the target with
826 mi_gdb_target_load.
827
b7ea362b
PA
8282014-01-08 Pedro Alves <palves@redhat.com>
829
830 * gdb.threads/reconnect-signal.c: New file.
831 * gdb.threads/reconnect-signal.exp: New file.
832
5e3f4fab
EBM
8332014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
834
835 * gdb.base/source-dir.exp: New file.
836
79301218
JB
8372014-01-07 Joel Brobecker <brobecker@adacore.com>
838
839 * gdb.ada/mi_interface: New testcase.
840
8e355c5d
JB
8412014-01-07 Joel Brobecker <brobecker@adacore.com>
842
843 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
844 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
845 gdb.ada/pp-rec-component/pck.ads: New files.
846
c0d48811
JB
8472014-01-07 Joel Brobecker <brobecker@adacore.com>
848
849 * gdb.python/py-pp-integral.c: New file.
850 * gdb.python/py-pp-integral.py: New file.
851 * gdb.python/py-pp-integral.exp: New file.
852
4924df79
GKB
8532013-12-19 Sergio Durigan Junior <sergiodj@redhat.com>
854
855 PR breakpoints/16297
856 * gdb.base/catch-syscall.c (read_syscall, pipe_syscall)
857 (write_syscall): New variables.
858 (main): Create a pipe, write 1 byte in it, and read 1 byte from
859 it.
860 * gdb.base/catch-syscall.exp (all_syscalls): Include "pipe,
861 "write" and "read" syscalls.
862 (fill_all_syscalls_numbers): Improve the way to obtain syscalls
863 numbers.
864
530e8392
KB
8652013-12-19 Keven Boell <keven.boell@intel.com>
866
867 * gdb.fortran/module.exp: Completion matches fortran module
868 names as well. ptype/whatis on modules return a proper type.
869 Add new check for having the correct scope.
870
7f9b20bb
KB
8712013-12-19 Keven Boell <keven.boell@intel.com>
872
873 * gdb.fortran/type.f90: New file.
874 * gdb.fortran/whatis_type.f90: New file.
875
2e0d821f
SDJ
8762013-12-18 Sergio Durigan Junior <sergiodj@redhat.com>
877
878 * gdb.base/catch-syscall.c: Include <sys/syscall.h>.
879 (close_syscall, chroot_syscall, exit_group_syscall): New
880 variables.
881 * gdb.base/catch-syscall.exp: Replace gdb_compile by
882 prepare_for_testing. Call fill_all_syscalls_numbers before
883 starting. Replace gdb_exit, gdb_start, gdb_reinitialize_dir and
884 gdb_load by clean_restart.
885 (check_info_bp_any_syscall, check_info_bp_specific_syscall)
886 (check_info_bp_many_syscalls): Remove global gdb_prompt.
887 (check_call_to_syscall): Likewise. Add global decimal. Improve
888 testing regex.
889 (check_return_from_syscall): Likewise.
890 (check_continue, insert_catch_syscall_with_arg): Remove global
891 gdb_prompt.
892 (insert_catch_syscall_with_many_args): Likewise. Add global
893 decimal. Fix $filter_str. Improve testing regex.
894 (check_for_program_end): Remove global gdb_prompt.
895 (test_catch_syscall_without_args): Likewise. Add global decimal.
896 Improve testing regex.
897 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
898 (test_catch_syscall_with_wrong_args)
899 (test_catch_syscall_restarting_inferior)
900 (test_catch_syscall_fail_nodatadir): Remove global gdb_prompt.
901 (do_syscall_tests): Likewise. Remove global srcdir.
902 (test_catch_syscall_without_args_noxml): Remove global gdb_prompt.
903 Add global last_syscall_number. Test for the exact syscall number
904 to be caught.
905 (test_catch_syscall_with_args_noxml): Remove global gdb_prompt.
906 Add global all_syscalls_numbers. Test each syscall number to be
907 caught, instead of only testing "close".
908 (test_catch_syscall_with_wrong_args_noxml): Remove global gdb_prompt.
909 (do_syscall_tests_without_xml): Likewise. Remove global srcdir.
910 Remove stale comment.
911 (fill_all_syscalls_numbers): Add global last_syscall_number. Fill
912 the correct syscall numbers using information from the inferior.
913
5ce0145d
PA
9142013-12-17 Pedro Alves <palves@redhat.com>
915
916 * gdb.trace/circ.exp: Expect frame info to be printed when
917 switching between frames with unavailable stack, but different
918 functions.
919
bdf22206
AB
9202013-12-17 Andrew Burgess <aburgess@broadcom.com>
921
922 * gdb.trace/unavailable-dwarf-piece.c: New file.
923 * gdb.trace/unavailable-dwarf-piece.exp: New file.
924
07d100d4
YQ
9252013-12-15 Yao Qi <yao@codesourcery.com>
926
927 * gdb.perf/skip-prologue.c: New.
928 * gdb.perf/skip-prologue.exp: New.
929 * gdb.perf/skip-prologue.py: New.
930
8a48ac95
JB
9312013-12-13 Joel Brobecker <brobecker@adacore.com>
932
933 * gdb.ada/arraydim: New testcase.
934
a16b0e22
SC
9352013-12-12 Siva Chandra Reddy <sivachandra@google.com>
936
937 PR python/16113
938 * gdb.python/py-value-cc.cc: Improve test case.
939 * gdb.python/py-value-cc.exp: Add new tests to test usage of
940 gdb.Field objects as subscripts on gdb.Value objects.
941
0987cf35
DE
9422013-12-10 Doug Evans <dje@google.com>
943
7b3fd68b 944 PR 16286
0987cf35
DE
945 * gdb.python/py-value.c: #include stdlib.h, string.h.
946 (str): New struct.
947 (main): New local xstr.
948 * gdb.python/py-value.exp (test_value_in_inferior): Add test to
949 fetch a value as a string with a length beyond the declared length
950 of the array.
951
409d8f48
AB
9522013-12-10 Andrew Burgess <aburgess@broadcom.com>
953
954 * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info,
955 update comment.
956
036e93df
JB
9572013-12-10 Joel Brobecker <brobecker@adacore.com>
958
959 * gdb.ada/int_deref.exp: Add test verifying that we print
960 the decoded symbol name when printing the address of Ada
961 symbols.
962
72bfa06c
JB
9632013-12-10 Joel Brobecker <brobecker@adacore.com>
964
965 * gdb.mi/mi-start.exp: Add test verifying that -list-features
966 contains "exec-run-start-option".
967
11ec5965
YQ
9682013-12-08 Yao Qi <yao@codesourcery.com>
969
970 * lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
971 (is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
972 (is_64_target, is_amd64_regs_target): Likewise.
973 (skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
974
594d8fa8
MF
9752013-12-07 Mike Frysinger <vapier@gentoo.org>
976
977 * gdb.ada/uninitialized_vars/parse_controlled.ads: Remove +x file mode.
978 * gdb.base/testenv.c: Likewise.
979
d9a196da
MF
9802013-12-07 Mike Frysinger <vapier@gentoo.org>
981
982 * gdb.hp/gdb.base-hp/so-thresh.sh: Change /bin/ksh to /bin/sh.
983 * gdb.hp/gdb.objdbg/tools/symaddr: Likewise.
984 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: Likewise.
985
782d47df
PA
9862013-12-06 Pedro Alves <palves@redhat.com>
987
988 * gdb.dwarf2/dw2-undefined-ret-addr.S: New file.
989 * gdb.dwarf2/dw2-undefined-ret-addr.c: New file.
990 * gdb.dwarf2/dw2-undefined-ret-addr.exp: New file.
991
399d6e30
DE
9922013-12-06 Doug Evans <dje@google.com>
993
994 * gdb.base/break.exp: Fix setting of $baz.
995
16b5a7cb
AB
9962013-12-06 Andrew Burgess <aburgess@broadcom.com>
997
998 * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
999 DW_OP_plus_uconst.
1000
f84bc218
KB
10012013-12-06 Keven Boell <keven.boell@intel.com>
1002
1003 * lib/mi-support.exp (mi_list_varobj_children_range): Add
1004 call to mi_list_array_varobj_children_with_index.
1005 (mi_list_array_varobj_children_with_index): New function.
1006 Add parameter to specify array start.
1007
489e41dd 10082013-12-03 Jose E. Marchesi <jose.marchesi@oracle.com>
f1300300
JM
1009
1010 * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a
1011 SIGPWR in sparc64.
1012
1013 * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR
1014 have the same signal number. Handle this situation.
1015
7fb1b8b1
JB
10162013-12-03 Joel Brobecker <brobecker@adacore.com>
1017
1018 * gdb.ada/dot_all: New testcase.
1019
2ea126fa
JB
10202013-12-03 Joel Brobecker <brobecker@adacore.com>
1021
1022 * gdb.mi/mi-undefined-cmd.exp: New testcase.
1023
6b7cbff1
JB
10242013-12-03 Joel Brobecker <brobecker@adacore.com>
1025
1026 * gdb.mi/mi-i-cmd.exp: New file.
1027
04affae3
JK
10282013-12-02 Doug Evans <dje@google.com>
1029
1030 * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
1031 at start.
1032 * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
1033 has been specified with a relative path and we have chdir'd before
1034 accessing the debug info.
1035
eebc056c
AB
10362013-11-28 Andrew Burgess <aburgess@broadcom.com>
1037
1038 * gdb.trace/unavailable.exp (gdb_collect_args_test): Update
1039 expected results.
1040 (gdb_collect_locals_test): Likewise.
1041 (gdb_collect_globals_test): Likewise.
1042
8b5e6dc2
YQ
10432013-11-28 Yao Qi <yao@codesourcery.com>
1044
1045 * lib/gdb.exp (with_gdb_prompt): New proc.
1046 * gdb.perf/disassemble.exp: New.
1047 * gdb.perf/disassemble.py: New.
1048
0db4ca18
LM
10492013-11-26 Luis Machado <lgustavo@codesourcery.com>
1050
1051 * gdb.base/callfuncs.c (main): Assign malloc's return value
1052 and free it afterwards.
1053 * gdb.base/charset-malloc.c (malloc_stub): Likewise.
1054 * gdb.base/printcmds.c (main): Likewise.
1055 * gdb.base/randomize.c (main): Free "p" and change breakpoint
1056 marker position.
1057 * gdb.base/setvar.c (dummy): Assign malloc's return value
1058 and free it afterwards.
1059
d24a9f15
AB
10602013-11-26 Andrew Burgess <aburgess@broadcom.com>
1061
1062 * gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
1063 gdb_test_multiple.
1064
15859968
TT
10652013-11-26 Tom Tromey <tromey@redhat.com>
1066
1067 * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove.
1068 * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove.
1069 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
1070
f7e3ecae
KS
10712013-11-25 Keith Seitz <keiths@redhat.com>
1072
1073 PR c++/14819
1074 * gdb.cp/impl-this.cc: New file.
1075 * gdb.cp/impl-this.exp: New file.
1076
23e9d3b9
YQ
10772013-11-25 Yao Qi <yao@codesourcery.com>
1078
1079 * gdb.perf/backtrace.c: New.
1080 * gdb.perf/backtrace.exp: New.
1081 * gdb.perf/backtrace.py: New.
1082
22825df7
YQ
10832013-11-24 Yao Qi <yao@codesourcery.com>
1084
1085 * gdb.perf/single-step.c: New.
1086 * gdb.perf/single-step.exp: New.
1087 * gdb.perf/single-step.py: New.
1088
c1ea7c01
DE
10892013-11-23 Doug Evans <xdje42@gmail.com>
1090
1091 * gdb.base/ena-dis-br.exp: Add missing quote to "step after continue
1092 with ignore count".
1093
35720eaa
DE
10942013-11-23 Doug Evans <xdje42@gmail.com>
1095
1096 * gdb.python/py-value.exp (test_lazy_strings): Tweak test names.
1097 (test_subscript_regression): Ditto.
1098 (top level): Run test_subscript_regression for c++ with "c++" prefix.
1099
3cd14e45
DE
11002013-11-23 Doug Evans <xdje42@gmail.com>
1101
1102 * gdb.python/py-type.exp (test_enums): Fix typo.
1103
985c818c
DE
11042013-11-23 Doug Evans <xdje42@gmail.com>
1105
1106 * gdb.python/py-symbol.exp: Add some comments. Make all test names
1107 unique.
1108
f873dd7a
DE
11092013-11-23 Doug Evans <xdje42@gmail.com>
1110
1111 * gdb.python/py-symbol.exp: Fix whitespace.
1112
38a502a4
DE
11132013-11-23 Doug Evans <xdje42@gmail.com>
1114
1115 * gdb.python/python.exp: Don't call skip_python_tests, we still want
1116 to test some things in the case where python is not configured in.
1117
c0621699
PA
11182013-11-22 Pedro Alves <palves@redhat.com>
1119
1120 * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
1121 * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this. Adjust.
1122 * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
1123 * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
1124 * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
1125 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
1126
f57e61cd
TT
11272013-11-22 Tom Tromey <tromey@redhat.com>
1128
1129 * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
1130
da2b2fdf
TT
11312013-11-22 Tom Tromey <tromey@redhat.com>
1132
1133 * gdb.dwarf2/dw2-bad-cfi.c: New file.
1134 * gdb.dwarf2/dw2-bad-cfi.exp: New file.
1135 * gdb.dwarf2/dw2-bad-cfi.S: New file.
1136
33f8fe58
PA
11372013-11-22 Pedro Alves <palves@redhat.com>
1138
1139 PR 16155
1140 * gdb.dwarf2/dw2-dup-frame.S: New file.
1141 * gdb.dwarf2/dw2-dup-frame.c: New file.
1142 * gdb.dwarf2/dw2-dup-frame.exp: New file.
1143
0a1e6121
YQ
11442013-11-22 Yao Qi <yao@codesourcery.com>
1145
1146 * lib/mi-support.exp (mi_create_dynamic_varobj): Update
1147 comment and add one more argument "has_more".
1148 * gdb.python/py-mi.exp: Callers update.
1149
0061ea24
YQ
11502013-11-22 Yao Qi <yao@codesourcery.com>
1151
1152 * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
1153 of mi_create_dynamic_varobj.
1154
069d6a0f
PA
11552013-11-20 Pedro Alves <palves@redhat.com>
1156
1157 * gdb.base/maint.exp (maint print objfiles): Consume one line at a
1158 time, and run it through all three milestone regexes.
1159
10d8cbd2
SA
11602013-11-20 Sanimir Agovic <sanimir.agovic@intel.com>
1161
1162 * gdb.base/eval-avoid-side-effects.exp: New file.
1163
57803a3c
WT
11642013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
1165
60650f2e
WT
1166 * gdb.arch/i386-mpx.c: New file
1167 * gdb.arch/i386-mpx.exp: New file.
1168
09748966
WT
11692013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
1170
1171 * gdb.python/py-pp-maint.exp: Consider new pretty-print added
1172 for bnd registers.
1173
60650f2e
WT
11742013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
1175
57803a3c
WT
1176 * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
1177 start and end equal 0.
1178
3e9ecad3
YQ
11792013-11-19 Yao Qi <yao@codesourcery.com>
1180
1181 * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
1182 (mi_list_varobj_children_range): Likewise.
1183
31b4ab9e
YQ
11842013-11-19 Yao Qi <yao@codesourcery.com>
1185
1186 * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
1187
4392c534
YQ
11882013-11-19 Yao Qi <yao@codesourcery.com>
1189
1190 * lib/mi-support.exp: Fix format.
1191
df7752b0
JB
11922013-11-19 Joel Brobecker <brobecker@adacore.com>
1193
1194 * gdb.ada/py_range: New testcase.
1195
176f037c
JB
11962013-11-18 Joel Brobecker <brobecker@adacore.com>
1197
1198 * mi-language.exp: Add "-list-features" test verifying that
1199 its output contains "language-option".
1200
ee4a1c63
JB
12012013-11-16 Joel Brobecker <brobecker@adacore.com>
1202
1203 * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
1204 * info_exc/foo.adb: Adjust to new exception name.
1205 * info_exc.exp: Adjust after exception renaming in const.ads.
1206 Update "info exception global" test to test "info exceptions
1207 global_gdb" instead.
1208
1209 * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
1210 * mi_exc_info/foo.adb (Adjust to new exception name.
1211 * mi_exc_info.exp: Adjust after exception renaming in const.ads.
1212 Update "-info-ada-exceptions global" test to test
1213 "-info-ada-exceptions global_gdb" instead.
1214
6ec41e1e
LM
12152013-11-15 Luis Machado <lgustavo@codesourcery.com>
1216
1217 * lib/mi-support.exp (mi_gdb_test): Expect different formats
1218 of inferior output for remote and native sessions.
1219 * gdb.mi/mi-console.exp: Remove obsolete comment.
1220 Check for semihosted inferior output pattern.
1221 (semihosted_string): New function.
1222
391d3400
JB
12232013-11-15 Joel Brobecker <brobecker@adacore.com>
1224
1225 * gdb.ada/info_exc.exp: Allow other global exceptions to be
1226 listed in the output of "info exceptions".
1227 * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
1228 listed in the output of "-info-ada-exceptions".
1229
e092da29
JB
12302013-11-15 Joel Brobecker <brobecker@adacore.com>
1231
1232 * gdb.ada/info_exc.exp: Start inferior before starting
1233 the "info exceptions" tests.
1234 * gdb.ada/mi_exc_info.exp: Start inferior before starting
1235 the "-info-ada-exceptions" tests.
1236
805e1f19
TT
12372013-11-15 Tom Tromey <tromey@redhat.com>
1238
1239 * gdb.cp/includefile: New file.
1240 * gdb.cp/filename.exp: New file.
1241 * gdb.cp/filename.cc: New file.
1242
9abb1bd6
DE
12432013-11-15 Doug Evans <xdje42@gmail.com>
1244
1245 * gdb.python/py-breakpoint.exp: Make tests have unique names.
1246
8abea1a1
DE
12472013-11-15 Doug Evans <xdje42@gmail.com>
1248
1249 * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
1250
330a7fce
DE
12512013-11-15 Doug Evans <xdje42@gmail.com>
1252
1253 * gdb.python/py-breakpoint.exp: Split up into several functions,
1254 each with their own test prefix.
1255
0acf8b65
JB
12562013-11-15 Joel Brobecker <brobecker@adacore.com>
1257
1258 * gdb.ada/O2_float_param: New testcase.
1259
496038b3
TT
12602013-11-14 Tom Tromey <tromey@redhat.com>
1261
1262 * Makefile.in (check-parallel): Print summary from gdb.sum.
1263
c7e8af9b
OJ
12642013-11-14 Omair Javaid <Omair.Javaid@linaro.org>
1265
1266 * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
1267 and function label names.
1268 * gdb.dwarf2/dw2-case-insensitive.c: Created function and
1269 compile unit labels.
1270
403cb6b1
JB
12712013-11-14 Joel Brobecker <brobecker@adacore.com>
1272
1273 * gdb.mi/mi-language.exp: New file.
1274
74921315
KS
12752013-09-17 Keith Seitz <keiths@redhat.com>
1276
1277 PR c++/7935
1278 PR c++/10541
1279 * gdb.cp/nsalias.exp: New file.
1280 * gdb.cp/nsalias.cc: New file.
1281 * gdb.cp/nsrecurs.exp: Remove kfails. Conditionally run
1282 tests only on known, working compiler versions.
1283
08c43050
TT
12842013-11-13 Tom Tromey <tromey@redhat.com>
1285
1286 * gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
1287 * gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
1288
0682e708
DE
12892013-11-12 Doug Evans <dje@google.com>
1290
1291 * gdb.base/fileio.exp: Make $dir2 writable after the test is done
1292 so that "rm -rf $builddir" Just Works.
1293
a7e332c2
JB
12942013-11-12 Joel Brobecker <brobecker@adacore.com>
1295
1296 * gdb.ada/mi_exc_info: New testcase.
1297
778865d3
JB
12982013-11-12 Joel Brobecker <brobecker@adacore.com>
1299
1300 * gdb.ada/info_exc: New testcase.
1301
304a8ac1
DE
13022013-11-11 Doug Evans <dje@google.com>
1303
1304 * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
1305 of testfile.
1306
bc79de95
PM
13072013-11-11 Phil Muldoon <pmuldoon@redhat.com>
1308
1309 * gdb.python/py-linetable.S: New file.
1310 * gdb.python/py-linetable.c: New file.
1311 * gdb.python/py-linetable.exp: New file.
1312
2df4d1d5
JB
13132013-11-11 Joel Brobecker <brobecker@adacore.com>
1314
1315 * gdb.ada/mi_ex_cond: New testcase.
1316
204b5331
DE
13172013-11-07 Doug Evans <dje@google.com>
1318
1319 PR 11786
1320 * gdb.base/gcore-relro-pie.c: New file.
1321 * gdb.base/gcore-relro-pie.exp: New file.
1322
92e32e33
PM
13232013-11-07 Phil Muldoon <pmuldoon@redhat.com>
1324
1325 * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
1326 * gdb.python/py-cmd.c: New File.
1327
f76c27b5
PM
13282013-11-07 Phil Muldoon <pmuldoon@redhat.com>
1329
1330 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
1331
79600f4f 13322013-11-06 Doug Evans <xdje42@gmail.com>
01e48c0c
DE
1333
1334 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
1335
6dbb6798
YQ
13362013-11-06 Yao Qi <yao@codesourcery.com>
1337
1338 * lib/gdb.exp (gdb_produce_source): New procedure.
1339 * gdb.perf/solib.c: New.
1340 * gdb.perf/solib.exp: New.
1341 * gdb.perf/solib.py: New.
1342
71c0c615
YQ
13432013-11-06 Yao Qi <yao@codesourcery.com>
1344
1345 * README: Mention performance tests.
1346
f27a1236
YQ
13472013-11-06 Yao Qi <yao@codesourcery.com>
1348
1349 * lib/perftest.exp: New.
1350 * gdb.perf/lib/perftest/__init__.py: New.
1351 * gdb.perf/lib/perftest/measure.py: New.
1352 * gdb.perf/lib/perftest/perftest.py: New.
1353 * gdb.perf/lib/perftest/reporter.py: New.
1354 * gdb.perf/lib/perftest/testresult.py: New.
1355
7636ccf9
YQ
13562013-11-06 Yao Qi <yao@codesourcery.com>
1357
1358 * Makefile.in (check-perf): New target.
1359 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
1360 * configure: Re-generated.
1361 * gdb.perf/Makefile.in: New.
1362
81208388
TT
13632013-11-04 Tom Tromey <tromey@redhat.com>
1364
1365 * Makefile.in (TEST_DIRS): Remove.
1366 (TEST_TARGETS, check-parallel): Rewrite.
1367 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
1368 (subdir_do, subdirs): Remove.
1369 (do-check-parallel, check/%): New targets.
1370 (clean): Remove outputs, temp, and cache directories.
1371 (saw_dash_j): New variable.
1372 (CHECK_TARGET): Use it.
1373 (check): Depend on all, site.exp. Rewrite.
1374 (check-single): Remove dependencies.
1375 (slow_tests, all_tests, reordered_tests): New variables.
1376
c63ffa1f
TT
13772013-11-04 Tom Tromey <tromey@redhat.com>
1378
1379 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
1380 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
1381 before loading binfile.
1382 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
1383 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
1384 before loading binfile.
1385
3fef966c
TT
13862013-11-04 Tom Tromey <tromey@redhat.com>
1387
1388 * gdb.base/foll-exec.c (main): Use BASEDIR.
1389 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
1390 * gdb.base/foll-vfork.c (main): Use BASEDIR.
1391 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
1392 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
1393 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
1394
24890efd
TT
13952013-11-04 Tom Tromey <tromey@redhat.com>
1396
1397 * gdb.base/argv0-symlink.exp: Compute executable's directory
1398 dynamically.
1399
c59ffcab
TT
14002013-11-04 Tom Tromey <tromey@redhat.com>
1401
1402 * gdb.asm/asm-source.exp: Use standard_output_file.
1403
479c8d68
TT
14042013-11-04 Tom Tromey <tromey@redhat.com>
1405
1406 * gdb.server/file-transfer.exp: Use standard_output_file.
1407
1e537771
TT
14082013-11-04 Tom Tromey <tromey@redhat.com>
1409
1410 * gdb.base/fullname.exp: Use standard_output_file,
1411 relative_filename.
1412 * gdb.base/hashline1.exp: Use standard_testfile,
1413 standard_output_file, relative_filename, clean_restart.
1414 * gdb.base/hashline2.exp: Use standard_testfile,
1415 standard_output_file.
1416 * gdb.base/hashline3.exp: Use standard_testfile,
1417 standard_output_file, relative_filename.
1418 * lib/gdb.exp (relative_filename): New proc.
1419
b44b82af
TT
14202013-11-04 Tom Tromey <tromey@redhat.com>
1421
1422 * gdb.base/fileio.c (test_open, test_write, test_read)
1423 (test_lseek, test_close, test_stat, test_fstat)
1424 (test_isatty, test_system, test_rename, test_unlink):
1425 Use OUTDIR define.
1426 * gdb.base/fileio.exp: Define OUTDIR during compilation.
1427 Use standard_output_file.
1428
59b28c5d
TT
14292013-11-04 Tom Tromey <tromey@redhat.com>
1430
1431 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
1432 defines.
1433 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
1434 compilation. Use prepare_for_testing, standard_output_file.
1435
08b3fe69
TT
14362013-11-04 Tom Tromey <tromey@redhat.com>
1437
1438 * gdb.base/advance.exp: Use standard_testfile and
1439 prepare_for_testing.
1440 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
1441 appropriate directory when local.
1442 * gdb.base/dump.exp: Use standard_output_file. Update all
1443 "dump" and "restore" filenames.
1444 * gdb.base/interact.exp: Use standard_output_file.
1445 * gdb.base/jit-so.exp: Don't download file when local.
1446 * gdb.base/jit.exp (compile_jit_test): Don't download file
1447 when local.
1448 * gdb.base/list.exp: Use gdb_remote_download.
1449 * gdb.base/maint.exp: Use standard_output_file.
1450 * gdb.base/prelink.exp: Use standard_output_file.
1451 * gdb.base/save-bp.exp: Use standard_output_file.
1452 * gdb.base/sepdebug.exp: Use standard_testfile,
1453 standard_output_file.
1454 (test_different_dir): Don't declare objdir.
1455 * gdb.base/solib-search.exp: Use standard_output_file.
1456 * gdb.base/step-line.exp: Use gdb_remote_download.
1457 * gdb.base/trace-commands.exp: Use standard_output_file.
1458
32cfb09d
TT
14592013-11-04 Tom Tromey <tromey@redhat.com>
1460
1461 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
1462 to compilation. Use standard_output_file.
1463 (test_tfind_tfile): Update.
1464 * gdb.trace/tfile.c (write_basic_trace_file)
1465 (write_error_trace_file): Use TFILE_DIR.
1466 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
1467 standard_output_file.
1468
84741506
TT
14692013-11-04 Tom Tromey <tromey@redhat.com>
1470
1471 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1472 Use "dwarf2 always-disassemble" for the "maint set" test.
1473 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
1474 standard_output_file.
1475 * gdb.mi/mi-logging.exp: Use standard_output_file.
1476
cfb7b9a3
TT
14772013-11-04 Tom Tromey <tromey@redhat.com>
1478
1479 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
1480 downloads conditional on remote host.
1481 (set_arch): Likewise.
1482 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
1483 (load_description): Use standard_output_file.
1484
bdfe0594
TT
14852013-11-04 Tom Tromey <tromey@redhat.com>
1486
1487 * gdb.gdb/selftest.exp: Use standard_output_file.
1488 * lib/selftest-support.exp (do_self_tests): Use
1489 standard_output_file.
1490
8c639e73
TT
14912013-11-04 Tom Tromey <tromey@redhat.com>
1492
1493 * gdb.stabs/weird.exp: Use gdb_remote_download and
1494 standard_output_file.
1495
5030a410
TT
14962013-11-04 Tom Tromey <tromey@redhat.com>
1497
1498 * gdb.base/gcore-buffer-overflow.exp: Use
1499 standard_output_file, not standard_testfile.
1500 * gdb.base/twice.exp: Use standard_testfile, not
1501 standard_output_file. Use gdb_remote_download.
1502
95d7853e
TT
15032013-11-04 Tom Tromey <tromey@redhat.com>
1504
1505 * lib/gdb.exp (get_compiler_info): Use log_file -info and
1506 restore from that.
1507
eab88b54
MR
15082013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
1509
1510 * gdb.cp/derivation.exp: s/perrro/perror/
1511
a1b0fbee
MR
15122013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
1513
1514 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
1515 `debugdir'.
1516
638aa5a1
AB
15172013-10-31 Andrew Burgess <aburgess@broadcom.com>
1518
1519 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
1520 tests and update expected error message.
1521 (test_watch_register_location): New tests.
1522 (do_tests): Call test_watch_register_location.
1523 * gdb.base/watchpoints.exp: Update expected error message.
1524
055e608a
UW
15252013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1526
1527 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
1528 the patterns in gdb_test_multiple.
1529
9ac69859
NB
15302013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
1531
1532 * gdb.base/sym-file-lib.c: New file.
1533 * gdb.base/sym-file-loader.c: New file.
1534 * gdb.base/sym-file-loader.h: New file.
1535 * gdb.base/sym-file-main.c: New file.
1536 * gdb.base/sym-file.exp: New file.
1537 * lib/gdb.exp (is_elf_target): New function.
1538
24ba476b
PA
15392013-10-29 Pedro Alves <palves@redhat.com>
1540
1541 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
1542 variable setting change-log-default-name to ChangeLog-mi.
1543
f69d9aef
AB
15442013-10-29 Andrew Burgess <aburgess@broadcom.com>
1545
1546 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
1547 Expect <unavailable> pattern.
1548
71193121
TV
15492013-10-28 Tom de Vries <tom@codesourcery.com>
1550
1551 * gdb.arch/thumb2-it.S (it_8): Fix typo.
1552
38095c27
AK
15532013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
1554
1555 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
1556 remote stubs where exit() behaviour is unreliable.
1557
686d4def
PA
15582013-10-25 Pedro Alves <palves@redhat.com>
1559
1560 * gdb.cp/m-static.exp: Adjust expected output of printing a
1561 nonexistent or optimized out static field. Also test printing the
1562 the "container" object.
1563
a35cfb40
MR
15642013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1565
1566 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
1567 if in the persistent mode.
1568 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
1569
bbe769cc
MR
15702013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1571
1572 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
1573 support core file generation" reply.
1574
95e4302a
JM
15752013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1576
1577 PR gdb/15986
1578 * gdb.base/run.c (main): gdb_get_line_number tag added for
1579 commands.exp.
1580 (factorial): Likewise.
1581
1582 * gdb.base/commands.exp (watchpoint_command_test): Use
1583 gdb_get_line_number in order to determine the locations in run.c
1584 where local_var is detected to go out of scope.
1585
4c406179
JM
15862013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1587
1588 * gdb.base/gnu_vector.exp: Care about endianness when casting
1589 scalars to vectors.
1590
bb6216d8
TT
15912013-10-18 Tom Tromey <tromey@redhat.com>
1592
1593 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
1594 of "binfile".
1595
e8369a73
AB
15962013-10-18 Andrew Burgess <aburgess@broadcom.com>
1597
1598 * gdb.base/watchpoints.exp: Add test for setting software
1599 watchpoints of different types before starting the inferior.
1600
776f04fa
PA
16012013-10-18 Pedro Alves <palves@redhat.com>
1602
1603 PR gdb/16062
1604 * gdb.threads/stepi-random-signal.c: New file.
1605 * gdb.threads/stepi-random-signal.exp: New file.
1606
e4b8388f
MR
16072013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
1608
1609 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1610 Fix comment typo.
1611 * lib/gdb.exp (gdb_init): Likewise.
1612
50b34a18
TT
16132013-10-17 Tom Tromey <tromey@redhat.com>
1614
1615 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
1616
3db258f5
TT
16172013-10-14 Tom Tromey <tromey@redhat.com>
1618
1619 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
1620 name to gdb_test_no_output.
1621
4856b6bc
JK
16222013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1623
1624 Canonicalize directories for EXEC_FILENAME.
1625 * gdb.base/argv0-symlink.exp
1626 (kept file symbolic link name for info inferiors): New.
1627 (kept directory symbolic link name): Setup kfail.
1628 (kept directory symbolic link name for info inferiors): New.
1629
9772d074
UW
16302013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
1631
1632 * gdb.arch/s390-multiarch.exp: New file.
1633 * gdb.arch/s390-multiarch.c: New file.
1634
2a3be966
JB
16352013-10-11 Joel Brobecker <brobecker@adacore.com>
1636
1637 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
1638 use the appropriate GDB/MI command instead, and verify
1639 the test output.
1640
7c647d61
JB
16412013-10-11 Joel Brobecker <brobecker@adacore.com>
1642
1643 * gdb.base/source-nofile.gdb: New file.
1644 * gdb.base/source.exp: Add two tests verifying the behavior when
1645 the "source" command is given a non-existant filename.
1646
bb66bd51
YQ
16472013-10-11 Yao Qi <yao@codesourcery.com>
1648
1649 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
1650 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
1651 and 'dlclose'.
1652 [!__WIN32__]: Include "dlfcn.h".
1653 * gdb.mi/mi-catch-load.exp: Set up kfail.
1654
4f424bb1
AK
16552013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1656
1657 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
1658 generated corefile" by argument "$test".
1659
578d3588
PA
16602013-10-09 Pedro Alves <palves@redhat.com>
1661
1662 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
1663 output.
1664
eb4ca471
PA
16652013-10-09 Pedro Alves <palves@redhat.com>
1666
1667 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
1668 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
1669 (test_catch_syscall_with_wrong_args)
1670 (test_catch_syscall_restarting_inferior)
1671 (test_catch_syscall_fail_nodatadir)
1672 (test_catch_syscall_without_args_noxml)
1673 (test_catch_syscall_with_args_noxml)
1674 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
1675
dc294be5
TT
16762013-10-08 Tom Tromey <tromey@redhat.com>
1677
1678 * gdb.dwarf2/dwzbuildid.exp: New file.
1679 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
1680 parameters.
1681 (Dwarf::_defer_output): Change "section" parameter to
1682 "section_spec"; update.
1683 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
1684 procs.
1685
c968bd18
JB
16862013-10-08 Joel Brobecker <brobecker@adacore.com>
1687
1688 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
1689
f44eeb11
TT
16902013-10-07 Tom Tromey <tromey@redhat.com>
1691
1692 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
1693 to 0.
1694
0c557179
SDJ
16952013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1696
1697 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
1698 $_exitcode is void when opening a corefile.
1699 * gdb.base/exitsignal.exp: New file.
1700 * gdb.base/segv.c: Likewise.
1701 * gdb.base/normal.c: Likewise.
1702
5713b9b5
JB
17032013-10-04 Joel Brobecker <brobecker@adacore.com>
1704
1705 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
1706
3f983d47
YZ
17072013-10-02 Vidya Praveen <vidyapraveen@arm.com>
1708
1709 * gdb.trace/entry-values.exp: Modify regular expression to scan for
1710 'bl' instruction instead of 'call' for ARM and AArch64 targets.
1711
901461f8
PA
17122013-10-02 Pedro Alves <palves@redhat.com>
1713
1714 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
1715 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
1716 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
1717 (not_saved_pattern): New.
1718 Replace use of the former with the latter.
1719
b477a5e6
PA
17202013-10-02 Pedro Alves <palves@redhat.com>
1721
1722 * README (Board Settings): Document "exit_is_reliable".
1723 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
1724 running to exit reliably reports program exits.
1725 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
1726 info.
1727 * boards/native-stdio-gdbserver.exp: Likewise.
1728
a49bed3a
DE
17292013-10-01 Doug Evans <dje@google.com>
1730
1731 * gdb.python/python.exp: Remove redundant print-stack tests.
1732 Make all print-stack test names unique. Fix spelling of print-stack.
1733
2ed2ad44
YQ
17342013-09-29 Yao Qi <yao@codesourcery.com>
1735
1736 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
1737 is remote.
1738
7d760051
UW
17392013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1740
1741 PR shlibs/8882
1742 * gdb.base/corefile.exp: Add a check to assure warning-free
1743 core-file load.
1744
82bf32bc
JK
17452013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1746
1747 * gdb.dwarf2/dwp-symlink.c: New file.
1748 * gdb.dwarf2/dwp-symlink.exp: New file.
1749
4fa7d390
DE
17502013-09-20 Doug Evans <dje@google.com>
1751
6b4646ce
DE
1752 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
1753 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
1754 file.
1755 * gdb.dwarf2/fission-loclists.S: Ditto.
1756 * gdb.dwarf2/fission-reread.S: Ditto.
1757 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
1758 build_executable_from_fission_assembler.
1759 * gdb.dwarf2/fission-loclists.exp: Ditto.
1760 * gdb.dwarf2/fission-reread.exp: Ditto.
1761
4fa7d390
DE
1762 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
1763 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
1764 (gdb_gnu_strip_debug): Ditto.
1765 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
1766 * gdb.arch/altivec-abi.exp: Ditto.
1767 * gdb.base/attach-pie-misread.exp: Ditto.
1768 * gdb.base/comprdebug.exp: Ditto.
1769 * gdb.base/dup-sect.exp: Ditto.
1770 * gdb.base/gnu-debugdata.exp: Ditto.
1771 * gdb.base/step-symless.exp: Ditto.
1772 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1773 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
1774 * gdb.dwarf2/gdb-index.exp: Ditto.
1775
e4c6a2c4
AB
17762013-09-18 Andrew Burgess <aburgess@broadcom.com>
1777
1778 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
1779 register to "<optimized out>", and also print the registers.
1780
a205fbfc
PA
17812013-09-18 Pedro Alves <palves@redhat.com>
1782
1783 PR server/15967
1784 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
1785 change text.
1786
ee47b2f8
YQ
17872013-09-18 Yao Qi <yao@codesourcery.com>
1788
1789 * gdb.server/wrapper.c: New.
1790 * gdb.server/wrapper.exp: New.
1791
49fa26b0
PA
17922013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
1793 Jan Kratochvil <jan.kartochvil@redhat.com>
1794 Pedro Alves <palves@redhat.com>
1795
1796 PR gdb/11568
1797 * gdb.thread/thread-specific-bp.c: New file.
1798 * gdb.thread/thread-specific-bp.exp: New file.
1799
e83b28bc
SDJ
18002013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
1801
1802 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
1803 convenience function.
1804
08d72866
PA
18052013-09-17 Pedro Alves <palves@redhat.com>
1806
1807 PR gdb/15911
1808 * gdb.threads/info-threads-cur-sal-2.c: New file.
1809 * gdb.threads/info-threads-cur-sal.c: New file.
1810 * gdb.threads/info-threads-cur-sal.exp: New file.
1811
57b0d98e
YQ
18122013-09-17 Yao Qi <yao@codesourcery.com>
1813
1814 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
1815 [__WIN32__]: Include "windows.h" and define macro dlopen
1816 and dlclose.
1817 [!__WIN32__]: Include "dlfcn.h".
1818 * gdb.base/catch-load.exp (one_catch_load_test): Match
1819 directory separator.
1820
0295a32e
DE
18212013-09-16 Doug Evans <dje@google.com>
1822
a587b477
DE
1823 * lib/gdb.exp (using_fission): New proc.
1824 * gdb.base/info-macros.exp: Skip test if using Fission.
1825
0295a32e
DE
1826 * gdb.base/break-interp.exp: Fix indentation.
1827
a280dbd1
SDJ
18282013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1829
1830 * gdb.base/gdbvars.c (foo_void): New function.
1831 (foo_int): Likewise.
1832 * gdb.base/gdbvars.exp (test_convenience_functions): New
1833 function. Call it.
1834
4ac33720
UW
18352013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1836
1837 * gdb.arch/s390-tdbregs.c: New file.
1838 * gdb.arch/s390-tdbregs.exp: New file.
1839
b866c52d
SS
18402013-09-12 Stan Shebs <stan@codesourcery.com>
1841
1842 * README: New file.
1843
dc59cba6
DE
18442013-09-12 Doug Evans <dje@google.com>
1845
1846 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
1847 added code to print event.inferior.
1848
edf9f00c
JK
18492013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1850
1851 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
1852 debug part of the binary.
1853
5423b017
JK
18542013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1855
1856 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
1857 (addlink): Add comment.
1858
9295cf6f
SA
18592013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
1860
1861 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
1862 canonical pathname.
1863
89e63ee4
DE
18642013-09-04 Doug Evans <dje@google.com>
1865
314bb8c3
DE
1866 * gdb.python/py-events.py (exit_handler): Verify we get the expected
1867 event.
1868 (continue_handler, new_objfile_handler): Ditto.
1869 (test_events): Rename command to "test-events".
1870 (test_newobj_events): Rename command to "test-objfile-events".
1871 * gdb.python/py-events.exp: Update.
1872 * gdb.python/py-evsignal.exp: Update.
1873 * gdb.python/py-evthreads.exp: Update.
1874
89e63ee4
DE
1875 * gdb.base/enumval.c (ZERO): New enum value.
1876 (main): Use it
1877 * gdb.base/enumval.exp: Test ability to print ZERO.
1878
18792013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
41dc8db8
MB
1880 Pedro Alves <palves@redhat.com>
1881
1882 * gdb.base/relocate.exp: Check that invalid options are
1883 rejected.
1884
26c2b53c
AB
18852013-08-30 Andrew Burgess <aburgess@broadcom.com>
1886
1887 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
1888 (my_static_symbol): Add comment.
1889 (main): Reference my_bss_symbol.
1890
96d9056e
PM
18912013-08-30 Phil Muldoon <pmuldoon@redhat.com>
1892
1893 * gdb.python/py-arch.exp: Tests for invalid architecture.
1894
489d4f4d
SA
18952013-08-29 Sterling Augustine <saugustine@google.com>
1896
1897 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
1898 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
1899 said conditional.
1900
5b791bb5
PM
19012013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1902
1903 * gdb.python/py-arch.exp: Load gdb-python.exp.
1904
8f28f522
PM
19052013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1906
1907 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
1908 itertools for imap attribute. Otherwise use map().
1909 (ElidingIterator): Define wrapper function __next__.
1910 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
1911 use exec (open (read ())) instead.
1912 * gdb.python/py-framefilter.exp: Ditto.
1913 * gdb.python/py-arch.exp: Update print based test to Python 3.x
1914 compliance.
1915 * gdb.python/py-frame.exp: Ditto.
1916 * gdb.python/py-type.exp: Ditto.
1917
1f0c4988
JK
19182013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1919
1920 PR gdb/15415
1921 * gdb.base/argv0-symlink.c: New file.
1922 * gdb.base/argv0-symlink.exp: New file.
1923
7893c162
TT
19242013-08-28 Tom Tromey <tromey@redhat.com>
1925
1926 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
1927 when saving index.
1928
6211c335
YQ
19292013-08-27 Yao Qi <yao@codesourcery.com>
1930
1931 * gdb.trace/entry-values.exp: Test unavailable entry value is
1932 not shown when option '--skip-unavailable' is specified.
1933 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
1934 Add tests for new option '--skip-unavailable'.
1935
ce4ea2bb
YQ
19362013-08-27 Yao Qi <yao@codesourcery.com>
1937
1938 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
1939 remote_download if it is empty.
1940
6e45f158
DE
19412013-08-26 Doug Evans <dje@google.com>
1942
779bd270
DE
1943 PR symtab/15885
1944 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
1945 (clean): rm -f *.gdb-index *.with-index.
1946 * gdb.dwarf2/gdb-index.exp: New testcase.
1947
6e45f158
DE
1948 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
1949 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
1950 run_on_host. All callers updated.
1951
b1224238
YQ
19522013-08-24 Yao Qi <yao@codesourcery.com>
1953
1954 * gdb.trace/entry-values.c (end): New
1955 (main): Call end.
1956 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
1957 tracepoint and collect data. Test entry value is unavailable.
1958
b39a8faf
YQ
19592013-08-24 Yao Qi <yao@codesourcery.com>
1960
1961 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
1962 * gdb.trace/entry-values.c: New.
1963 * gdb.trace/entry-values.exp: New.
1964
9eaabc75
MW
19652013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
1966
1967 PR gdb/15501
1968 * gdb.base/ena-dis-br.exp: Add test to verify
1969 enable/disable commands work correctly with
1970 multiple arguments that include multiple locations.
1971
9f948660
SDJ
19722013-08-22 Samuel Bronson <naesten@gmail.com>
1973
1974 ARM Linux support for `catch syscall'.
1975 * gdb.base/catch-syscall.exp: Test this on ARM now.
1976 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
1977
e630b974
TT
19782013-08-22 Tom Tromey <tromey@redhat.com>
1979
1980 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
1981 default addr_size.
1982 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
1983
f3a76454
TT
19842013-08-22 Tom Tromey <tromey@redhat.com>
1985
1986 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
1987 standard_temp_file.
1988
de5f37e1
TT
19892013-08-22 Tom Tromey <tromey@redhat.com>
1990
1991 * gdb.arch/amd64-byte.exp: Use standard_testfile,
1992 clean_restart.
1993 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
1994 * gdb.arch/amd64-dword.exp: Use standard_testfile,
1995 clean_restart.
1996 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
1997 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
1998 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
1999 * gdb.arch/amd64-word.exp: Use standard_testfile,
2000 clean_restart.
2001 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
2002 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
2003 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
2004 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
2005 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
2006 * gdb.arch/i386-signal.exp: Use standard_testfile.
2007 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
2008 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
2009 * gdb.arch/i386-unwind.exp: Use standard_testfile.
2010 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
2011
8448e842
TT
20122013-08-22 Tom Tromey <tromey@redhat.com>
2013
2014 * gdb.python/py-error.exp: Use gdb_remote_download.
2015 * gdb.python/py-mi.exp: Use gdb_remote_download.
2016 * gdb.python/py-objfile-script.exp: Use standard_output_file.
2017 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
2018 (run_lang_tests): Likewise.
2019 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
2020 filename.
2021 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
2022 compiling. Use gdb_remote_download. Update some tests.
2023 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2024 standard_output_file.
2025 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
2026 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
2027 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
2028 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
2029 standard_output_file.
2030
16cfcbc2
TT
20312013-08-22 Tom Tromey <tromey@redhat.com>
2032
2033 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
2034
44ee8174
TT
20352013-08-22 Tom Tromey <tromey@redhat.com>
2036
2037 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
2038 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
2039 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
2040 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
2041 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
2042 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
2043 * lib/gdb.exp (gdb_remote_download): New proc.
2044
7a218f88
TT
20452013-08-22 Tom Tromey <tromey@redhat.com>
2046
2047 * gdb.dwarf2/clztest.exp: Use standard_testfile.
2048 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
2049 * gdb.dwarf2/fission-base.S: Remove directory from
2050 DW_AT_GNU_dwo_name.
2051 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
2052 debug-file-directory.
2053 * gdb.dwarf2/fission-reread.S: Remove directory from
2054 DW_AT_GNU_dwo_name.
2055 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
2056 debug-file-directory.
2057
70cc1c23
DE
20582013-08-16 Doug Evans <dje@google.com>
2059
2060 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
2061 prelink complains about an unhandled DWARF version.
2062
61884d20
DE
20632013-08-14 Cary Coutant <ccoutant@google.com>
2064
2065 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
2066
5e92f71a
TT
20672013-08-13 Tom Tromey <tromey@redhat.com>
2068 Yao Qi <yao@codesourcery.com>
2069
2070 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
2071 * lib/gdb.exp: Handle GDB_PARALLEL.
2072 (default_gdb_version): Kill inotify_pid if it exists.
2073 (default_gdb_exit): Emit warning if the inotify log is not
2074 empty.
2075 (standard_output_file): Respect GDB_PARALLEL.
2076 (standard_temp_file): Likewise.
2077 (gdb_init): Start inotifywait if requested.
2078
5c30d39a
AB
20792013-08-13 Andrew Burgess <aburgess@broadcom.com>
2080
2081 * gdb.base/printcmds.exp (test_printf): Add test for printf of
2082 pointer with various flags.
2083
17e1c970
TT
20842013-08-13 Tom Tromey <tromey@redhat.com>
2085
2086 * lib/cache.exp: New file.
2087 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
2088 * lib/gdb.exp: Load cache.exp.
2089 (support_complex_tests, is_ilp32_target, is_lp64_target)
2090 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
2091 (gdb_skip_xml_test): Use gdb_caching_proc.
2092 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
2093
4e234898
TT
20942013-08-13 Tom Tromey <tromey@redhat.com>
2095
2096 * lib/gdb.exp (standard_temp_file): New proc.
2097 (support_complex_tests, is_ilp32_target, is_lp64_target)
2098 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
2099 standard_temp_file.
2100
53e981d9
TT
21012013-08-13 Tom Tromey <tromey@redhat.com>
2102
2103 * lib/gdb.exp (build_id_debug_filename_get): Use
2104 standard_output_file.
2105 * lib/prelink-support.exp (section_get)
2106 (build_executable_own_libs): Use standard_output_file.
2107
3f539315
TT
21082013-08-12 Tom Tromey <tromey@redhat.com>
2109
2110 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
2111
b4013987
AA
21122013-08-12 Ali Anwar <alianwar@codesourcery.com>
2113
2114 * gdb.base/break.exp: Test break via convenience variable
2115 with file name.
2116
f61d5529
DE
21172013-08-09 Doug Evans <dje@google.com>
2118
2119 * lib/future.exp (gdb_find_ldd): New proc.
2120 * lib/prelink-support.exp (build_executable_own_libs): Call it.
2121 Make "/usr/sbin/" in prelink path optional.
2122
1ed8d800
YQ
21232013-08-09 Yao Qi <yao@codesourcery.com>
2124
2125 * gdb.trace/collection.exp (gdb_collect_args_test): Set
2126 "only" and "both" to 'print entry-values' before selecting
2127 trace frame.
2128
82a0a75f
YQ
21292013-08-08 Yao Qi <yao@codesourcery.com>
2130
2131 * gdb.trace/mi-trace-unavailable.exp: Don't set
2132 "print entry-values" to "no".
2133 (test_trace_unavailable): Set various values to
2134 "print entry-values" to test that the output of
2135 '-stack-list-locals' is not affected, and then set
2136 set "print entry-values" to "no".
2137
ac52f9a2
DE
21382013-08-07 Doug Evans <dje@google.com>
2139
2140 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
2141 * gdb.python/py-value-cc.exp: Update.
2142 * gdb.python/py-value.exp: Use different names for .o files for
2143 C and C++. Only perform C++ tests if !skip_cplus_tests.
2144
bf6d8a91
TT
21452013-08-07 Tom Tromey <tromey@redhat.com>
2146
2147 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
2148
f9125b6c
TT
21492013-08-07 Tom Tromey <tromey@redhat.com>
2150
2151 * gdb.dwarf2/dwz.exp: New file.
2152
3a1115a0
TT
21532013-08-02 Tom Tromey <tromey@redhat.com>
2154
2155 * gdb.base/watchpoint.c (struct foo5): New.
2156 (nullptr): New global.
2157 * gdb.base/watchpoint.exp (test_watch_location): Add test.
2158
b846d303
DE
21592013-08-01 Doug Evans <dje@google.com>
2160
7ee85ab1
DE
2161 PR symtab/15691
2162 * gdb.dwarf2/fission-mix.exp: New file.
2163 * gdb.dwarf2/fission-mix.h: New file.
2164 * gdb.dwarf2/fission-mix.c: New file.
2165 * gdb.dwarf2/fission-mix2.c: New file.
2166
b846d303
DE
2167 PR symtab/15695
2168 * gdb.base/func-ptr.exp: New file.
2169 * gdb.base/func-ptr.c: New file.
2170
67d21849
YQ
21712013-08-01 Yao Qi <yao@codesourcery.com>
2172
2173 * gdb.python/py-sync-interp.c: New.
2174 * gdb.python/py-sync-interp.exp: New.
2175
de74e63a
YQ
21762013-07-31 Yao Qi <yao@codesourcery.com>
2177
2178 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
2179 'tdump' on stack frame 0 and 1 respectively.
2180
680558e8
YQ
21812013-07-31 Yao Qi <yao@codesourcery.com>
2182
2183 PR gdb/13443
2184 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
2185 'traceframe'. Wrap test with with_test_prefix.
2186 (top level): Update.
2187
48bbe0bf
YQ
21882013-07-31 Yao Qi <yao@codesourcery.com>
2189
2190 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
2191 'gdb_start'.
2192 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
2193 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
2194
11b4b7cc
AB
21952013-07-30 Andrew Burgess <aburgess@broadcom.com>
2196
2197 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
2198 when printing an optimized out value. Expect an error when using
2199 an optimized out value in an expression.
2200
b0c54aa5
AB
22012013-07-30 Andrew Burgess <aburgess@broadcom.com>
2202
2203 * gdb.dwarf2/pieces-optimized-out.exp: New file.
2204 * gdb.dwarf2/pieces-optimized-out.c: New file.
2205 * gdb.dwarf2/pieces-optimized-out.S: New file.
2206
97c85fc6
MB
22072013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
2208
2209 PR gdb/15715
2210 * gdb.base/setshow.exp: Test that relative paths passed to
2211 'set history filename' are converted to absolute paths.
2212
5b32ae97
KS
22132013-07-26 Keith Seitz <keiths@redhat.com>
2214
2215 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
2216 of f77.
2217 Allow for compiler variations of integer types.
2218 Use mi_create_varobj.
2219 Use mi_list_varobj_children for the immediate children of `array'.
2220 Add "has_more" attribute for grandchildren test.
2221
6f64ef53
PA
22222013-07-26 Pedro Alves <palves@redhat.com>
2223
2224 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
2225 files.
2226
fdc8aae8
AB
22272013-07-25 Andrew Burgess <aburgess@broadcom.com>
2228
2229 * gdb.mi/mi-reg-undefined.exp: New file.
2230 * gdb.mi/mi-reg-undefined.c: Likewise.
2231 * gdb.mi/mi-reg-undefined.S: Likewise.
2232
6fbe845e
AB
22332013-07-25 Andrew Burgess <aburgess@broadcom.com>
2234
2235 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
2236 z, o, and t output formats.
2237 * gdb.base/display.exp: Use 'k' as an undefined format now that
2238 'z' is defined.
2239
7b79b135
DE
22402013-07-24 Doug Evans <dje@google.com>
2241
2242 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
2243 "--" to switch.
2244
a0607b84
YQ
22452013-07-24 Yao Qi <yao@codesourcery.com>
2246
2247 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
2248 host.
2249 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
2250 Likewise. If host is remote, copy ${binfile} to host.
2251
2eb14a9b
YQ
22522013-07-23 Yao Qi <yao@codesourcery.com>
2253
2254 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
2255 message.
2256
5d0a3b53
WN
22572013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
2258
2259 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
2260 instructions and enable disp-step-syscall for arm targets.
2261
9a5911c0
WN
22622013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
2263
2264 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
2265 assembler errors on arm.
2266 * gdb.dwarf2/mac-fileno.S: Likewise.
2267 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2268 * gdb.dwarf2/pr13961.S: Likewise.
2269
fa876972
HZ
22702013-07-19 Hui Zhu <hui@codesourcery.com>
2271
2272 PR gdb/15692
2273 * gdb.mi/mi-dprintf.exp: Add double quotes test.
2274
1527aea8
YQ
22752013-07-19 Yao Qi <yao@codesourcery.com>
2276
2277 * gdb.trace/read-memory.exp (test_from_remote): Update test.
2278 (teset_from_exec): Likewise.
2279
73c1d57e
YQ
22802013-07-19 Yao Qi <yao@codesourcery.com>
2281
2282 * gdb.trace/read-memory.c: New.
2283 * gdb.trace/read-memory.exp: New.
2284
a075c3e5
YQ
22852013-07-19 Yao Qi <yao@codesourcery.com>
2286
2287 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
2288 $dest to link options if host is remote. Move the
2289 generated file to $dest.a on host if host is remote.
2290
623cc285
WN
22912013-07-18 Will Newton <will.newton@linaro.org>
2292
2293 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
2294 to ensure the test is linked against pthreads.
2295 * gdb.threads/tls-var-main.c: Likewise.
2296 * gdb.threads/tls-shared.c: Likewise.
2297
1f74d3b5
YQ
22982013-07-18 Yao Qi <yao@codesourcery.com>
2299
2300 * lib/future.exp (gdb_default_target_compile): Use tail name
2301 of $destfile as the output name of compile. Move the
2302 generated file to $destfile on build.
2303
f6dc277e
YQ
23042013-07-18 Yao Qi <yao@codesourcery.com>
2305
2306 * lib/gdb.exp (gdb_compile): Set
2307 gdb_saved_set_unbuffered_mode_obj to
2308 set_unbuffered_mode_saved.o if host is remote. Invoke
2309 remote_download to copy $unbuf_obj to host.
2310
e7045703
DE
23112013-07-17 Doug Evans <dje@google.com>
2312
2313 * gdb.python/py-frame-args.c: New file.
2314 * gdb.python/py-frame-args.py: New file.
2315 * gdb.python/py-frame-args.exp New file.
2316
5ea5559b
AB
23172013-07-16 Andrew Burgess <aburgess@broadcom.com>
2318
2319 * gdb.base/printcmds.exp (test_printf): Add tests for format
2320 strings with missing format specifier.
2321
4229ca0e
TT
23222013-07-16 Tom Tromey <tromey@redhat.com>
2323
2324 * gdb.ada/info_types.exp: Use standard_testfile.
2325
5ee657d5
TT
23262013-07-16 Tom Tromey <tromey@redhat.com>
2327
2328 * gdb.mi/mi-basics.exp: Use standard_output_file.
2329 (test_dir_specification, test_cwd_specification)
2330 (test_path_specification): Use testsubdir, not subdir and objdir.
2331
20e3d738
TT
23322013-07-16 Tom Tromey <tromey@redhat.com>
2333
2334 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
2335
7d7c6477
JB
23362013-07-09 Joel Brobecker <brobecker@adacore.com>
2337
2338 * gdb.ada/small_reg_param.exp: Accept optional entry value
2339 for parameter "w".
2340
52cd8b7d
JB
23412013-07-09 Joel Brobecker <brobecker@adacore.com>
2342
2343 * gdb.ada/small_reg_param.exp: Remove trailing space.
2344
2a998fc0
DE
23452013-07-09 Doug Evans <dje@google.com>
2346
2347 * gdb.base/default.exp: Update expected output of "show print array"
2348 and "show print pretty".
2349
0329e9fb
UW
23502013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2351
2352 * gdb.threads/wp-replication.exp: Stop counting available hardware
2353 watchpoints after NR_THREADS iterations.
2354
1953058f
AB
23552013-07-08 Andrew Burgess <aburgess@broadcom.com>
2356
2357 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
2358
7c0de741
YQ
23592013-07-07 Yao Qi <yao@codesourcery.com>
2360
2361 * boards/native-gdbserver.exp: Move invoke of
2362 process_multilib_options to gdbserver-base.exp.
2363 Move set_board_info 'compiler', 'gdb,noinferiorio',
2364 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
2365 gdbserver-base.exp.
2366 Move proc ${board}_download, ${board}_upload and
2367 ${board}_file to gdbserver-base.exp.
2368 * boards/native-extended-gdbserver.exp: Likewise.
2369 * boards/native-stdio-gdbserver.exp: Likewise.
2370 * boards/gdbserver-base.exp: New file.
2371
497a4c48
LM
23722013-07-05 Luis Machado <lgustavo@codesourcery.com>
2373
2374 * gdb.base/dump.exp: Remove arch-specific tests and do a
2375 generic data address check to set is64bitonly correctly.
2376
bb3f62fc
LM
23772013-07-05 Luis Machado <lgustavo@codesourcery.com>
2378
2379 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
2380 the register number instead of expecting only 0.
2381
005faa9d
WN
23822013-07-05 Will Newton <will.newton@linaro.org>
2383
2384 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
2385 in asm syntax to allow building on ARM.
2386
4767856f
YQ
23872013-07-05 Yao Qi <yao@codesourcery.com>
2388
2389 * boards/local-remote-host.exp: Remove obsolete comments.
2390 * boards/native-extended-gdbserver.exp: Likewise.
2391 * boards/native-gdbserver.exp: Likewise.
2392 * boards/native-stdio-gdbserver.exp: Likewise.
2393
691a26f5
AB
23942013-07-04 Andrew Burgess <aburgess@broadcom.com>
2395
2396 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
2397 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
2398 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
2399
4d142eaa
JK
24002013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2401
2402 * gdb.base/break-on-linker-gcd-function.exp: Replace
2403 prepare_for_testing by build_executable_from_specs and clean_restart.
2404
62cef515
TT
24052013-06-27 Tom Tromey <tromey@redhat.com>
2406
2407 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
2408 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
2409 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
2410 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
2411 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
2412 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
2413 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
2414 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
2415 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
2416 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
2417 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
2418 Use standard_testfile, standard_output_file, prepare_for_testing,
2419 clean_restart.
2420
0ab77f5f
TT
24212013-06-27 Tom Tromey <tromey@redhat.com>
2422
2423 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
2424 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
2425 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
2426 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2427 gdb.base/shreloc.exp, gdb.base/sigall.exp,
2428 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
2429 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
2430 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
2431 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
2432 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
2433 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
2434 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
2435 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
2436 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
2437 gdb.base/solib-weak.exp, gdb.base/source.exp,
2438 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
2439 gdb.base/stap-probe.exp, gdb.base/start.exp,
2440 gdb.base/step-break.exp, gdb.base/step-bt.exp,
2441 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
2442 gdb.base/step-test.exp, gdb.base/structs.exp,
2443 gdb.base/structs2.exp, gdb.base/structs3.exp,
2444 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
2445 standard_output_file, prepare_for_testing, clean_restart.
2446
822bd149
TT
24472013-06-27 Tom Tromey <tromey@redhat.com>
2448
2449 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
2450 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
2451 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
2452 gdb.base/pending.exp, gdb.base/permissions.exp,
2453 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
2454 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
2455 gdb.base/printcmds.exp, gdb.base/prologue.exp,
2456 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
2457 gdb.base/ptype.exp, gdb.base/randomize.exp,
2458 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
2459 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
2460 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
2461 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
2462 standard_testfile, standard_output_file, prepare_for_testing,
2463 clean_restart.
2464
f8b41b00
TT
24652013-06-27 Tom Tromey <tromey@redhat.com>
2466
a8c97a87
TT
2467 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
2468 gdb.base/huge.exp, gdb.base/included.exp,
2469 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
2470 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
2471 gdb.base/info-os.exp, gdb.base/info-proc.exp,
2472 gdb.base/info-target.exp, gdb.base/infoline.exp,
2473 gdb.base/interp.exp, gdb.base/interrupt.exp,
2474 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
2475 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
2476 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
2477 gdb.base/logical.exp, gdb.base/long_long.exp,
2478 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
2479 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
2480 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
2481 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
2482 standard_testfile, standard_output_file, prepare_for_testing,
2483 clean_restart.
2484
289f9037
TT
24852013-06-27 Tom Tromey <tromey@redhat.com>
2486
a8c97a87
TT
2487 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
2488 gdb.base/enumval.exp, gdb.base/environ.exp,
2489 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
2490 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
2491 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
2492 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
2493 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
2494 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
2495 gdb.base/fullname.exp, gdb.base/funcargs.exp,
2496 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
2497 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
2498 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
2499 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
2500 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
2501 gdb.base/gnu_vector.exp: Use standard_testfile,
2502 standard_output_file, prepare_for_testing, clean_restart.
289f9037 2503
f76495c8
TT
25042013-06-27 Tom Tromey <tromey@redhat.com>
2505
a8c97a87
TT
2506 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
2507 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
2508 gdb.base/call-strs.exp, gdb.base/callexit.exp,
2509 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
2510 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
2511 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
2512 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
2513 gdb.base/commands.exp, gdb.base/completion.exp,
2514 gdb.base/complex.exp, gdb.base/cond-expr.exp,
2515 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
2516 gdb.base/constvars.exp, gdb.base/corefile.exp,
2517 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
2518 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2519 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
2520 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
2521 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
2522 standard_output_file, prepare_for_testing, clean_restart.
2523
a64d2530
TT
25242013-06-27 Tom Tromey <tromey@redhat.com>
2525
a8c97a87
TT
2526 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
2527 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
2528 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
2529 gdb.base/async-shell.exp, gdb.base/async.exp,
2530 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
2531 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
2532 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
2533 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
2534 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
2535 gdb.base/break-on-linker-gcd-function.exp,
2536 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
2537 standard_output_file, prepare_for_testing, clean_restart.
2538
aaff8d73
YQ
25392013-06-26 Yao Qi <yao@codesourcery.com>
2540
2541 * gdb.trace/mi-trace-frame-collected.exp: New.
2542
a0743c90
YQ
25432013-06-25 Yao Qi <yao@codesourcery.com>
2544
2545 * boards/native-extended-gdbserver.exp: Set board_info
2546 'gdb,predefined_tsv'.
2547 * boards/native-gdbserver.exp: Likewise.
2548 * boards/native-stdio-gdbserver.exp: Likewise.
2549 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
2550 uploaded TSVs if target supports tracing.
2551 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
2552 tracing and target has predefined tsv.
2553
9d6e6e84
HZ
25542013-06-25 Yao Qi <yao@codesourcery.com>
2555 Hui Zhu <hui@codesourcery.com>
2556 Pedro Alves <palves@redhat.com>
2557
2558 PR breakpoints/15075
2559 PR breakpoints/15434
2560 * gdb.base/dprintf-next.c: New file.
2561 * gdb.base/dprintf-next.exp: New file.
2562 * gdb.base/dprintf-non-stop.c: New file.
2563 * gdb.base/dprintf-non-stop.exp: New file.
2564 * gdb.base/dprintf.exp: Don't check "continue" in the output
2565 of "info breakpoints".
2566 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2567 Don't check "continue" in script field.
2568
e7ab3185
TT
25692013-06-21 Tom Tromey <tromey@redhat.com>
2570
2571 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
2572 name in a test name.
2573
c898adb7
YQ
25742013-06-20 Yao Qi <yao@codesourcery.com>
2575
2576 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
2577 and set an action.
2578 (test_trace_unavailable): Test command -data-list-register-values
2579 in the context of traceframe and with option --skip-unavailable.
2580 * gdb.trace/trace-unavailable.c (foo): New.
2581 (main): Call it.
2582 * gdb.mi/gdb2549.exp: Update matching pattern.
2583
4d157a3d
MF
25842013-06-19 Mike Frysinger <vapier@gentoo.org>
2585
2586 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
2587 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
2588 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
2589 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
2590 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
2591
d69cace4
LM
25922013-06-19 Luis Machado <lgustavo@codesourcery.com>
2593
2594 * gdb.base/subst.exp: Delete default rules before further
2595 tests.
2596
9bdd0636
YQ
25972013-06-19 Yao Qi <yao@codesourcery.com>
2598
2599 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
2600 unsupported if it is not registered.
2601
427cd150
TT
26022013-06-18 Tom Tromey <tromey@redhat.com>
2603
2604 * gdb.base/random-signal.c: New file.
2605 * gdb.base/random-signal.exp: New file.
2606
6de7c271
WN
26072013-06-18 Will Newton <will.newton@linaro.org>
2608
2609 * gdb.base/skip.c: Use comma to evaluate results of foo()
2610 and bar() before passing to baz().
2611 * gdb.base/skip.c: baz() now takes one argument instead of
2612 two.
2613
5bd1ef56
TT
26142013-06-18 Tom Tromey <tromey@redhat.com>
2615
2616 * gdb.dwarf2/implptrpiece.exp: New file.
2617 * gdb.dwarf2/implptrconst.exp (d): New variable.
2618 Print d.
2619 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
2620
e379b391
TT
26212013-06-18 Tom Tromey <tromey@redhat.com>
2622
2623 * lib/selftest-support.exp (do_self_tests): Reject remote or
2624 non-native targets.
2625 * gdb.gdb/complaints.exp: Remove check.
2626 * gdb.gdb/observer.exp: Remove check.
2627 * gdb.gdb/xfullpath.exp: Remove check.
2628 * gdb.gdb/complaints.exp: Remove check.
2629
4ec70201
PA
26302013-06-07 Pedro Alves <palves@redhat.com>
2631
2632 * boards/native-extended-gdbserver.exp: Remove semicolon.
2633 * config/arm-ice.exp: Likewise.
2634 * config/bfin.exp: Likewise.
2635 * config/cygmon.exp: Likewise.
2636 * config/h8300.exp: Likewise.
2637 * config/monitor.exp: Likewise.
2638 * config/sid.exp: Likewise.
2639 * config/sim.exp: Likewise.
2640 * config/slite.exp: Likewise.
2641 * config/vx.exp: Likewise.
2642 * gdb.arch/i386-bp_permanent.exp: Likewise.
2643 * gdb.asm/asm-source.exp: Likewise.
2644 * gdb.base/args.exp: Likewise.
2645 * gdb.base/attach-pie-misread.exp: Likewise.
2646 * gdb.base/auxv.exp: Likewise.
2647 * gdb.base/bigcore.exp: Likewise.
2648 * gdb.base/bitfields2.exp: Likewise.
2649 * gdb.base/bitfields.exp: Likewise.
2650 * gdb.base/break.exp: Likewise.
2651 * gdb.base/break-interp.exp: Likewise.
2652 * gdb.base/callfuncs.exp: Likewise.
2653 * gdb.base/call-sc.exp: Likewise.
2654 * gdb.base/commands.exp: Likewise.
2655 * gdb.base/corefile.exp: Likewise.
2656 * gdb.base/dbx.exp: Likewise.
2657 * gdb.base/ending-run.exp: Likewise.
2658 * gdb.base/exprs.exp: Likewise.
2659 * gdb.base/funcargs.exp: Likewise.
2660 * gdb.base/hbreak2.exp: Likewise.
2661 * gdb.base/huge.exp: Likewise.
2662 * gdb.base/list.exp: Likewise.
2663 * gdb.base/memattr.exp: Likewise.
2664 * gdb.base/overlays.exp: Likewise.
2665 * gdb.base/printcmds.exp: Likewise.
2666 * gdb.base/recurse.exp: Likewise.
2667 * gdb.base/remotetimeout.exp: Likewise.
2668 * gdb.base/reread.exp: Likewise.
2669 * gdb.base/savedregs.exp: Likewise.
2670 * gdb.base/scope.exp: Likewise.
2671 * gdb.base/sepdebug.exp: Likewise.
2672 * gdb.base/setshow.exp: Likewise.
2673 * gdb.base/setvar.exp: Likewise.
2674 * gdb.base/sigaltstack.exp: Likewise.
2675 * gdb.base/siginfo-addr.exp: Likewise.
2676 * gdb.base/siginfo.exp: Likewise.
2677 * gdb.base/siginfo-obj.exp: Likewise.
2678 * gdb.base/sigrepeat.exp: Likewise.
2679 * gdb.base/sigstep.exp: Likewise.
2680 * gdb.base/structs.exp: Likewise.
2681 * gdb.base/testenv.exp: Likewise.
2682 * gdb.base/twice.exp: Likewise.
2683 * gdb.base/valgrind-db-attach.exp: Likewise.
2684 * gdb.base/valgrind-infcall.exp: Likewise.
2685 * gdb.base/varargs.exp: Likewise.
2686 * gdb.base/watchpoint.exp: Likewise.
2687 * gdb.cp/gdb1355.exp: Likewise.
2688 * gdb.cp/misc.exp: Likewise.
2689 * gdb.disasm/hppa.exp: Likewise.
2690 * gdb.disasm/t01_mov.exp: Likewise.
2691 * gdb.disasm/t02_mova.exp: Likewise.
2692 * gdb.disasm/t03_add.exp: Likewise.
2693 * gdb.disasm/t04_sub.exp: Likewise.
2694 * gdb.disasm/t05_cmp.exp: Likewise.
2695 * gdb.disasm/t06_ari2.exp: Likewise.
2696 * gdb.disasm/t07_ari3.exp: Likewise.
2697 * gdb.disasm/t08_or.exp: Likewise.
2698 * gdb.disasm/t09_xor.exp: Likewise.
2699 * gdb.disasm/t10_and.exp: Likewise.
2700 * gdb.disasm/t11_logs.exp: Likewise.
2701 * gdb.disasm/t12_bit.exp: Likewise.
2702 * gdb.disasm/t13_otr.exp: Likewise.
2703 * gdb.gdb/selftest.exp: Likewise.
2704 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2705 * gdb.mi/mi-reverse.exp: Likewise.
2706 * gdb.pascal/floats.exp: Likewise.
2707 * gdb.python/py-inferior.exp: Likewise.
2708 * gdb.threads/attach-into-signal.exp: Likewise.
2709 * gdb.threads/pthreads.exp: Likewise.
2710 * gdb.threads/thread_events.exp: Likewise.
2711 * gdb.threads/watchthreads.exp: Likewise.
2712 * gdb.trace/actions-changed.exp: Likewise.
2713 * gdb.trace/actions.exp: Likewise.
2714 * gdb.trace/ax.exp: Likewise.
2715 * gdb.trace/backtrace.exp: Likewise.
2716 * gdb.trace/change-loc.exp: Likewise.
2717 * gdb.trace/deltrace.exp: Likewise.
2718 * gdb.trace/disconnected-tracing.exp: Likewise.
2719 * gdb.trace/ftrace.exp: Likewise.
2720 * gdb.trace/infotrace.exp: Likewise.
2721 * gdb.trace/passc-dyn.exp: Likewise.
2722 * gdb.trace/passcount.exp: Likewise.
2723 * gdb.trace/pending.exp: Likewise.
2724 * gdb.trace/qtro.exp: Likewise.
2725 * gdb.trace/range-stepping.exp: Likewise.
2726 * gdb.trace/report.exp: Likewise.
2727 * gdb.trace/save-trace.exp: Likewise.
2728 * gdb.trace/status-stop.exp: Likewise.
2729 * gdb.trace/strace.exp: Likewise.
2730 * gdb.trace/tfile.exp: Likewise.
2731 * gdb.trace/tfind.exp: Likewise.
2732 * gdb.trace/trace-break.exp: Likewise.
2733 * gdb.trace/tracecmd.exp: Likewise.
2734 * gdb.trace/trace-mt.exp: Likewise.
2735 * gdb.trace/tspeed.exp: Likewise.
2736 * gdb.trace/tsv.exp: Likewise.
2737 * gdb.trace/while-stepping.exp: Likewise.
2738 * lib/gdb.exp: Likewise.
2739 * lib/gdbserver-support.exp: Likewise.
2740 * lib/java.exp: Likewise.
2741 * lib/mi-support.exp: Likewise.
2742 * lib/pascal.exp: Likewise.
2743 * lib/prompt.exp: Likewise.
2744 * lib/trace-support.exp: Likewise.
2745
47d48711
PA
27462013-06-07 Pedro Alves <palves@redhat.com>
2747
2748 * gdb.ada/info_types.c: Fix formating in copyright header.
2749 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
2750 * gdb.base/float.c: Likewise.
2751 * gdb.base/inferior-died.c: Likewise.
2752 * gdb.base/interp.c: Likewise.
2753 * gdb.base/jit-main.c: Likewise.
2754 * gdb.base/jit-solib.c: Likewise.
2755 * gdb.base/long_long.c: Likewise.
2756 * gdb.base/longjmp.c: Likewise.
2757 * gdb.base/nextoverexit.c: Likewise.
2758 * gdb.base/pr11022.c: Likewise.
2759 * gdb.base/prelink-lib.c: Likewise.
2760 * gdb.base/prelink.c: Likewise.
2761 * gdb.base/prologue.c: Likewise.
2762 * gdb.base/restore.c: Likewise.
2763 * gdb.base/sigchld.c: Likewise.
2764 * gdb.base/solib-search-lib1.c: Likewise.
2765 * gdb.base/solib-search-lib2.c: Likewise.
2766 * gdb.base/solib-search.c: Likewise.
2767 * gdb.base/solib-search.h: Likewise.
2768 * gdb.base/whatis.c: Likewise.
2769 * gdb.cp/abstract-origin.cc: Likewise.
2770 * gdb.cp/anon-struct.cc: Likewise.
2771 * gdb.cp/baseenum.cc: Likewise.
2772 * gdb.cp/bs15503.cc: Likewise.
2773 * gdb.cp/call-c-1.c: Likewise.
2774 * gdb.cp/call-c.cc: Likewise.
2775 * gdb.cp/class2.cc: Likewise.
2776 * gdb.cp/classes.cc: Likewise.
2777 * gdb.cp/cttiadd.cc: Likewise.
2778 * gdb.cp/cttiadd1.cc: Likewise.
2779 * gdb.cp/cttiadd2.cc: Likewise.
2780 * gdb.cp/cttiadd3.cc: Likewise.
2781 * gdb.cp/derivation.cc: Likewise.
2782 * gdb.cp/derivation2.cc: Likewise.
2783 * gdb.cp/dispcxx.cc: Likewise.
2784 * gdb.cp/exception.cc: Likewise.
2785 * gdb.cp/gdb2384-base.cc: Likewise.
2786 * gdb.cp/gdb2384-base.h: Likewise.
2787 * gdb.cp/gdb2384.cc: Likewise.
2788 * gdb.cp/gdb2495.cc: Likewise.
2789 * gdb.cp/mb-inline.h: Likewise.
2790 * gdb.cp/mb-inline1.cc: Likewise.
2791 * gdb.cp/mb-inline2.cc: Likewise.
2792 * gdb.cp/member-name.cc: Likewise.
2793 * gdb.cp/member-ptr.cc: Likewise.
2794 * gdb.cp/misc.cc: Likewise.
2795 * gdb.cp/namespace1.cc: Likewise.
2796 * gdb.cp/nextoverthrow.cc: Likewise.
2797 * gdb.cp/pr-574.cc: Likewise.
2798 * gdb.cp/pr9631.cc: Likewise.
2799 * gdb.cp/printmethod.cc: Likewise.
2800 * gdb.cp/psmang1.cc: Likewise.
2801 * gdb.cp/psmang2.cc: Likewise.
2802 * gdb.cp/psymtab-parameter.cc: Likewise.
2803 * gdb.cp/ptype-flags.cc: Likewise.
2804 * gdb.cp/ref-params.cc: Likewise.
2805 * gdb.cp/ref-types.cc: Likewise.
2806 * gdb.cp/smartp.cc: Likewise.
2807 * gdb.cp/try_catch.cc: Likewise.
2808 * gdb.cp/userdef.cc: Likewise.
2809 * gdb.cp/using-crash.cc: Likewise.
2810 * gdb.cp/virtfunc.cc: Likewise.
2811 * gdb.cp/virtfunc2.cc: Likewise.
2812 * gdb.dwarf2/callframecfa.S: Likewise.
2813 * gdb.dwarf2/dw2-ranges.c: Likewise.
2814 * gdb.dwarf2/dw2-ranges2.c: Likewise.
2815 * gdb.dwarf2/dw2-ranges3.c: Likewise.
2816 * gdb.dwarf2/dw2-restore.S: Likewise.
2817 * gdb.dwarf2/pieces.S: Likewise.
2818 * gdb.dwarf2/valop.S: Likewise.
2819 * gdb.java/jnpe.java: Likewise.
2820 * gdb.mi/mi-stepn.c: Likewise.
2821 * gdb.mi/mi-var-cp.cc: Likewise.
2822 * gdb.mi/mi-var-rtti.cc: Likewise.
2823 * gdb.mi/ns-stale-regcache.c: Likewise.
2824 * gdb.mi/pr11022.c: Likewise.
2825 * gdb.mi/solib-lib.c: Likewise.
2826 * gdb.mi/solib-main.c: Likewise.
2827 * gdb.python/py-arch.c: Likewise.
2828 * gdb.python/py-block.c: Likewise.
2829 * gdb.python/py-breakpoint.c: Likewise.
2830 * gdb.python/py-events.c: Likewise.
2831 * gdb.python/py-evthreads.c: Likewise.
2832 * gdb.python/py-explore.c: Likewise.
2833 * gdb.python/py-explore.cc: Likewise.
2834 * gdb.python/py-finish-breakpoint.c: Likewise.
2835 * gdb.python/py-finish-breakpoint2.cc: Likewise.
2836 * gdb.python/py-symbol.c: Likewise.
2837 * gdb.threads/execl.c: Likewise.
2838 * gdb.threads/execl1.c: Likewise.
2839
88ab5684
WN
28402013-06-07 Will Newton <will.newton@linaro.org>
2841
2842 * gdb.base/long_long.exp: Fix ARM EABI target glob.
2843
42daa7a0
WN
28442013-06-07 Will Newton <will.newton@linaro.org>
2845
2846 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
2847 and "starting".
2848
f4059ef3
WN
28492013-06-07 Will Newton <will.newton@linaro.org>
2850
2851 * gdb.cp/anon-struct.exp: Conditionalize constructor and
2852 destructor prototypes for ARM ABI.
2853 * gdb.cp/m-static.exp: Likewise.
2854
8cb5cc78
YQ
28552013-06-07 Yao Qi <yao@codesourcery.com>
2856
2857 * gdb.trace/mi-trace-unavailable.exp: New.
2858 * gdb.trace/trace-unavailable.c: New.
2859
c6cf1712
DE
28602013-06-06 Doug Evans <dje@google.com>
2861
2862 * gdb.cp/derivation.exp: Make tests have unique names.
2863
bf6be0f4
TT
28642013-06-06 Tom Tromey <tromey@redhat.com>
2865
2866 * gdb.base/dump.exp (capture_value): Don't put expression into
2867 test name if arguments passed in.
2868 Rename a couple more tests to make them unique.
2869
ebb022fa
TT
28702013-06-06 Tom Tromey <tromey@redhat.com>
2871
2872 * gdb.base/break-always.exp: Explicitly specify test name.
2873
69fc87c2
DE
28742013-06-05 Doug Evans <dje@google.com>
2875 Keith Seitz <keiths@redhat.com>
2876
2877 * gdb.cp/derivation2.cc: New file.
2878 * gdb.cp/derivation.cc (main): Call foo2.
2879 * gdb.cp/derivation.exp: Add tests for typedefs in another
2880 file, and when there's an active block.
2881
f993f39e
LM
28822013-06-05 Luis Machado <lgustavo@codesourcery.com>
2883
2884 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
2885 from targets that use function descriptors in the virtual tables.
2886 Handle presence of dot symbols.
2887
afacd7f3
GB
28882013-06-04 Gary Benson <gbenson@redhat.com>
2889
2890 * gdb.base/break-probes.exp: New file.
2891 * gdb.base/break-probes.c: Likewise.
2892 * gdb.base/break-probes-solib.c: Likewise.
2893 * gdb.base/info-shared.exp: New file.
2894 * gdb.base/info-shared.c: Likewise.
2895 * gdb.base/info-shared-solib1.c: Likewise.
2896 * gdb.base/info-shared-solib2.c: Likewise.
2897
a29a3fb7
GB
28982013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2899 Gary Benson <gbenson@redhat.com>
2900
2901 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
2902 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
2903 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
2904 to be set to "no" to indicate that no ld.so copy should be made.
2905 * gdb.base/break-interp.exp (solib_bp): New constant.
2906 (reach_1): Use the above instead of "_dl_debug_state".
2907 (test_attach): Likewise.
2908 (test_ld): Likewise.
2909 * gdb.threads/dlopen-libpthread.exp: New file.
2910 * gdb.threads/dlopen-libpthread.c: Likewise.
2911 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
2912 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
2913
62a813cc
YQ
29142013-05-30 Yao Qi <yao@codesourcery.com>
2915
2916 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2917 Add a test that no MI notification is emitted when executing
2918 -exec-arguments.
2919
8f56dad4
JK
29202013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2921
2922 PR testsuite/12649
2923 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
2924 $mi_gdb_prompt expectation by mi_expect_stop.
2925 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
2926 (mi info dprintf second time): Replace them by mi_send_resuming_command
2927 and mi_expect_stop.
2928
c588eb20
GB
29292013-05-24 Gary Benson <gbenson@redhat.com>
2930
2931 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
2932 backslash.
2933 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
2934 backslashes.
2935 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
2936 backslash.
2937
c0ea94eb
YQ
29382013-05-24 Yao Qi <yao@codesourcery.com>
2939
2940 * gdb.trace/tfile.exp: Test inferior and thread.
2941
db1ac436
YQ
29422013-05-24 Yao Qi <yao@codesourcery.com>
2943 Pedro Alves <palves@redhat.com>
2944
2945 * gdb.base/range-stepping.exp: Skip the rest of tests if the
2946 test fails.
2947 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2948 Return 0 if the test passes, otherwise return 1.
2949
b6abb10c
DE
29502013-05-23 Doug Evans <dje@google.com>
2951
2952 * boards/fission-dwp.exp: New file.
2953
bc5065a7
PA
29542013-05-23 Yao Qi <yao@codesourcery.com>
2955 Pedro Alves <palves@redhat.com>
2956
2957 * gdb.base/range-stepping.c: New file.
2958 * gdb.base/range-stepping.exp: New file.
2959 * gdb.trace/range-stepping.c: New file.
2960 * gdb.trace/range-stepping.exp: New file.
2961 * lib/range-stepping-support.exp: New file.
2962
5f2e6b00
TT
29632013-05-22 Tom Tromey <tromey@redhat.com>
2964
2965 * gdb.cp/class2.cc (main): New local 'aref'.
2966 * gdb.cp/class2.exp: Check printing of 'aref'.
2967
e6ba475a
DE
29682013-05-22 Doug Evans <dje@google.com>
2969
2970 * gdb.threads/wp-replication.c (main): Insert some code at the start
2971 to ensure the breakpoint on main is only hit once. Fix comment.
2972
52c935b6
KS
29732013-05-21 Keith Seitz <keiths@redhat.com>
2974 Pedro Alves <palves@redhat.com>
2975
2976 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
2977 gdb_expect.
2978 Add test to flush the remaining input buffer so that this
2979 file passes testsuite/12649.
2980
bd9673a4
PW
29812013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2982
2983 * gdb.base/catch-signal-fork.exp: New file.
2984 * gdb.base/catch-signal-fork.c: New file.
2985
69a97597
SA
29862013-05-21 Sterling Augustine <saugustine@google.com>
2987
2988 * boards/remote-stdio-gdbserver.exp: New file.
2989
44e97363
JK
29902013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2991
2992 PR testsuite/12649
2993 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
2994 racy matches.
2995
02392865
CG
29962013-05-21 Christian Groessler <chris@groessler.org>
2997
2998 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
2999 since it's not supported in all shells.
3000
c5867ab6
HZ
30012013-05-21 Hui Zhu <hui@codesourcery.com>
3002
3003 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
3004 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
3005
6c9e2db4
DE
30062013-05-20 Doug Evans <dje@google.com>
3007
3008 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
3009 (_handle_DW_TAG): Use it.
3010 (cu, tu): Replace parameters is_64, version, addr_size with options.
3011 All callers updated. Add Fission support.
3012 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
3013 * gdb.dwarf2/method-ptr.exp: Ditto.
3014 * gdb.dwarf2/nostaticblock.exp: Ditto.
3015 * gdb.dwarf2/subrange.exp: Ditto.
3016 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
3017
4a6e676c
TT
30182013-05-20 Tom Tromey <tromey@redhat.com>
3019
3020 * gdb.gdb/python-selftest.exp: New file.
3021
e19d3afb
DE
30222013-05-20 Doug Evans <dje@google.com>
3023
3024 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
3025 -fdebug-types-section.
3026
4d804846
JB
30272013-05-20 Joel Brobecker <brobecker@adacore.com>
3028
3029 * gdb.ada/float_param: New testcase.
3030
8d324e83
DE
30312013-05-17 Doug Evans <dje@google.com>
3032
7d0c9981
DE
3033 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
3034 Add tests for "maint check-symtabs", "maint expand-symtabs".
3035
8d324e83
DE
3036 * gdb.base/maint.exp: Remove testing of individual maint command
3037 help output.
3038
177aadc4
PA
30392013-05-16 Pedro Alves <palves@redhat.com>
3040
3041 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
3042 comment. Use gdb_test_no_output.
3043
b8fea896
JB
30442013-05-16 Joel Brobecker <brobecker@adacore.com>
3045
3046 * gdb.ada/complete.exp: Add test verifying completion using
3047 the "tab" key.
3048
52c935b6
KS
30492013-05-15 Keith Seitz <keiths@redhat.com>
3050
3051 * gdb.base/filesym.exp: New completer test.
3052 * gdb.base/filesym.c: New file.
3053
ed0f00b8
PA
30542013-05-15 Pedro Alves <palves@redhat.com>
3055
3056 * gdb.base/fixsection.c: Remove attribution.
3057 * gdb.base/watch-read.exp: Ditto.
3058
55fb6d27
TT
30592013-05-13 Tom Tromey <tromey@redhat.com>
3060
3061 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
3062 size and change type sizes to 4 bytes.
3063
ac1ca910
TT
30642013-05-13 Tom Tromey <tromey@redhat.com>
3065
3066 * gdb.base/exprs.exp (test_expr): Add regression test.
3067 * gdb.base/exprs.c (null_t_struct): New global.
3068
8414efef
MB
30692013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
3070
3071 * gdb.base/default.exp: Disable history saving.
3072 * gdb.base/setshow.exp: Likewise.
3073
9779ab84
PA
30742013-05-10 Pedro Alves <palves@redhat.com>
3075
3076 PR remote/15455
3077
3078 * gdb.trace/qtro.c: New file.
3079 * gdb.trace/qtro.exp: New file.
3080
1e611234
PM
30812013-05-10 Phil Muldoon <pmuldoon@redhat.com>
3082
3083 * gdb.python/py-framefilter.py: New File.
3084 * gdb.python/py-framefilter-mi.exp: Ditto.
3085 * gdb.python/py-framefilter.c: Ditto.
3086 * gdb.python/py-framefilter-mi.exp: Ditto.
3087 * gdb.python/py-framefilter-mi.c: Ditto,
3088 * gdb.python/py-framefilter-gdb.py.in: Ditto.
3089
5e4c3ac4
TT
30902013-05-08 Tom Tromey <tromey@redhat.com>
3091
3092 * gdb.base/solib-search.exp: Set test name for "set
3093 solib-search-path" test.
3094
993654a9
HAQ
30952013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
3096
3097 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
3098 (set_a_tracepoint): Set tracepoint before prologue.
3099 (run_trace_experiment): Test setup_tracepoints and 'break end'
3100 in it.
3101 (trace_buffer_normal): Remove.
3102 (gdb_trace_circular_tests): Remove. Move tests to...
3103 (top level): ...here. Call 'runto_main' before checking for
3104 trace support. Use commands to check the support for circular
3105 trace buffer and changing of trace buffer size. Add test
3106 to calculate size of single frame. Use this size to
3107 calculate the size of trace buffer. Use 'tfind pc func9'
3108 instead of 'tfind 9'. Use 'with_test_prefix'.
3109
c95aea6b
TT
31102013-05-07 Tom Tromey <tromey@redhat.com>
3111
3112 * lib/selftest-support.exp: New file.
3113 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
3114 do_self_tests.
3115 (setup_test, find_gdb): Remove.
3116 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
3117 do_self_tests.
3118 (setup_test, find_gdb): Remove.
3119 (test_observer): Don't call setup_test. Remove argument.
3120 * gdb.gdb/selftest.exp: Load selftest-support.exp.
3121 (find_gdb): Remove.
3122 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
3123 do_self_tests.
3124 (setup_test, find_gdb): Remove.
3125 (test_with_self): Don't call setup_test. Remove argument.
3126
1f031429
PA
31272013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3128
3129 * gdb.arch/system-gcore.exp: Remove.
3130 * gdb.arch/gcore.c: Remove.
3131 * gdb.base/gcore.exp: Add "info reg system".
3132
58ce7251
SDJ
31332013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
3134
3135 PR breakpoints/15413:
3136 * gdb.base/pending.exp: Add test for completion of the "condition"
3137 command for pending breakpoints.
3138 * gdb.linespec/linespec.ex: Add test for completion of the
3139 "condition" command when dealing with multiple locations.
3140
aacbb8a5
LM
31412013-05-07 Luis Machado <lgustavo@codesourcery.com>
3142
3143 * gdb.threads/wp-replication.c: New file.
3144 * gdb.threads/wp-replication.exp: New file.
3145
2dd6254d
SL
31462013-05-06 Sandra Loosemore <sandra@codesourcery.com>
3147
3148 * gdb.xml/tdesc-regs.exp: Add case for nios2.
3149
c2a96e8c
DE
31502013-05-06 Doug Evans <dje@google.com>
3151
b903e17e
DE
3152 * gdb.base/solib-search-lib1.c: New file.
3153 * gdb.base/solib-search-lib2.c: New file.
3154 * gdb.base/solib-search.c: New file.
3155 * gdb.base/solib-search.h: New file.
3156 * gdb.base/solib-search.exp: New file.
3157
fac51dd9
DE
3158 * lib/gdb.exp (gdb_core_cmd): New function.
3159 * gdb.arch/system-gcore.exp: Use it.
3160 * gdb.arch/vsx-regs.exp: Ditto.
3161 * gdb.base/gcore.exp: Ditto.
3162 * gdb.threads/gcore-thread.exp: Ditto.
3163
c2a96e8c
DE
3164 * gdb.reverse/shr.h: New file.
3165 * gdb.reverse/shr1.c: New file.
3166 * gdb.reverse/shr2.c: #include "shr.h".
3167 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
3168 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
3169 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
3170 Update tests using sleep/printf to use shr2.sl instead.
3171 * gdb.reverse/solib-reverse.exp: Ditto.
3172
b6807d98
TT
31732013-05-06 Tom Tromey <tromey@redhat.com>
3174
3175 * gdb.dwarf2/implptrconst.c: New file.
3176 * gdb.dwarf2/implptrconst.exp: New file.
3177 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
3178 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
3179 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
3180
96f7d3f1
PW
31812013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3182
3183 * gdb.base/catch-sig.c (main): Raise SIGINT.
3184 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
3185
1ebff1fd
HAQ
31862013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
3187
3188 * status-stop.exp (test_tstart_tstart): Check for error
3189 returned by the second 'tstart' command.
3190
f92b06da
WT
31912013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3192
3193 * gdb.xml/maint_print_struct.exp: New file.
3194 * gdb.xml/maint_print_struct.xml: New file.
3195
ff546935
TT
31962013-04-25 Tom Tromey <tromey@redhat.com>
3197
3198 * gdb.dwarf2/nostaticblock.exp: New file.
3199
bf9e4d0c
MB
32002013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
3201
3202 PR gdb/10462
3203 * gdb.base/setshow.exp: Add test case.
3204
a11cfd87
HZ
32052013-04-23 Hui Zhu <hui@codesourcery.com>
3206
3207 PR gdb/15293
a11cfd87
HZ
3208 * gdb.base/dprintf.exp: Add ignore command.
3209
2d9442cc
HZ
32102013-04-23 Hui Zhu <hui@codesourcery.com>
3211
3212 PR gdb/15165
2d9442cc
HZ
3213 * gdb.base/save-bp.exp: Add test for dprintf.
3214
0f3305ed
TT
32152013-04-22 Tom Tromey <tromey@redhat.com>
3216
3217 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
3218 notice_open_fds.
3219
d504301e
SDJ
32202013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
3221
3222 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
3223 ldflags.
3224
9991b207
SDJ
32252013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
3226
3227 * gdb.arch/arm-bl-branch-dest.c: New file.
3228 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
3229
433730c9
PA
32302013-04-19 Vladimir Kargov <kargov@gmail.com>
3231 Pedro Alves <palves@redhat.com>
3232
3233 * gdb.arch/i386-float.S: New file.
3234 * gdb.arch/i386-float.exp: New file.
3235
9a908334
LM
32362013-04-18 Luis Machado <lgustavo@codesourcery.com>
3237
3238 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
3239 type void *.
3240
4f22ed5c
DE
32412013-04-17 Doug Evans <dje@google.com>
3242
3243 * lib/dwarf.exp (Dwarf): New proc "tu".
3244 * gdb.dwarf2/missing-sig-type.exp: New file.
3245
a0d3f2f5
SCR
32462013-04-15 Siva Chandra Reddy <sivachandra@google.com>
3247
3248 Add option to link testcases with Pthreads library when
3249 using 'prepare_for_testing' in tests.
3250
3251 * lib/gdb.exp (build_executable_from_specs): Use
3252 gdb_compile_pthreads to compile if option "pthreads" is
3253 specified.
3254
cc16e6c9
TT
32552013-04-15 Tom Tromey <tromey@redhat.com>
3256
3257 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
3258
72f1fe8a
TT
32592013-04-15 Tom Tromey <tromey@redhat.com>
3260
3261 * gdb.base/default.exp: Update for $_exception.
3262 * gdb.cp/exceptprint.cc: New file.
3263 * gdb.cp/exceptprint.exp: New file.
3264 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
3265
6e72ca20
TT
32662013-04-15 Tom Tromey <tromey@redhat.com>
3267
3268 * gdb.cp/typeid.cc: New file.
3269 * gdb.cp/typeid.exp: New file.
3270
591f19e8
TT
32712013-04-15 Tom Tromey <tromey@redhat.com>
3272
3273 * gdb.cp/exception.exp: Add "catch rethrow" tests.
3274
da9160e4
YQ
32752013-04-13 Yao Qi <yao@codesourcery.com>
3276
3277 * gdb.base/completion.exp: Test completion of command
3278 'target ctf' if target ctf is supported.
3279
f81d1120
PA
32802013-04-10 Pedro Alves <palves@redhat.com>
3281
3282 * gdb.base/completion.exp: Test "set height", "set listsize" and
3283 "set trace-buffer-size" completion.
3284 * gdb.base/setshow.exp: Test "set height unlimited".
3285 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
3286 unlimited".
3287
393fd4c3
YQ
32882013-04-10 Yao Qi <yao@codesourcery.com>
3289
3290 * gdb.trace/actions.exp: Save trace data to CTF.
3291 Change to ctf target if GDB supports, read CTF data in ctf
3292 target, and check the actions of tracepoints.
3293 * gdb.trace/while-stepping.exp: Likewise.
3294 * gdb.trace/report.exp: Test GDB saves trace data to CTF
3295 format and read CTF trace file if GDB supports.
3296 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
3297 target is supported, change to ctf target, read trace data and
3298 check output of command "tstatus".
3299 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
3300 read CTF data by target ctf and call check_tsv.
3301
b7a273f8
YQ
33022013-04-10 Yao Qi <yao@codesourcery.com>
3303
3304 * gdb.trace/actions.exp (check_tracepoint): New.
3305 (top level): Start the tracing and check the actions of
3306 tracepoints. Save trace data to tfile format. Restart GDB
3307 and read trace file in tfile target. Check the actions of
3308 tracepoints again.
3309 * gdb.trace/while-stepping.exp: Likewise.
3310
f3786771
YQ
33112013-04-10 Yao Qi <yao@codesourcery.com>
3312
3313 * gdb.trace/report.exp: Use standard_output_file for saved
3314 trace file.
3315
5c2b4418
HZ
33162013-04-10 Hui Zhu <hui@codesourcery.com>
3317
3318 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
3319 (MISCELLANEOUS): Add dprintf-pendshr.sl.
3320 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
3321
f7543f0a
JK
33222013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3323
3324 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
3325 response.
3326
f6de8ec2
PA
33272013-04-08 Pedro Alves <palves@redhat.com>
3328
3329 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
3330 the location.
3331
b8abfd58
SL
33322013-04-04 Sandra Loosemore <sandra@codesourcery.com>
3333
3334 * gdb.cp/cplabel.exp: Allow empty directory in file reported
3335 for breakpoint location.
3336
156bffd0
SL
33372013-04-04 Sandra Loosemore <sandra@codesourcery.com>
3338
3339 * gdb.linespec/linespec.exp: Make dir/file:line tests
3340 conditional for non-remote hosts only.
3341
c9a6ce02
PA
33422013-04-04 Stan Shebs <stan@codesourcery.com>
3343 Pedro Alves <palves@redhat.com>
3344
3345 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
3346 * gdb.trace/actions-changed.c: New file.
3347 * gdb.trace/actions-changed.exp: New file.
3348 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
3349 (gdb_trace_setactions_command): ... this. Add "actions_command"
3350 parameter, and handle it.
3351 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
3352
4bd05f24
YQ
33532013-04-04 Yao Qi <yao@codesourcery.com>
3354
3355 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
3356 'step'.
3357
3758b5ce
YQ
33582013-04-03 Yao Qi <yao@codesourcery.com>
3359
3360 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
3361 "tfile-basic.tf".
3362 (test_tfind_tfile): Likewise.
3363
1dcaed0d
YQ
33642013-04-03 Yao Qi <yao@codesourcery.com>
3365
3366 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
3367 "tfile-basic.tf" instead of "basic.tf".
3368 (write_error_trace_file): Pass argument "tfile-error.tf"
3369 instead of "error.tf".
3370 * gdb.trace/tfile.exp: Update tfile names to
3371 "tfile-basic.tf" and "tfile-error.tf".
3372
0e7a53fc
SL
33732013-04-02 Sandra Loosemore <sandra@codesourcery.com>
3374
3375 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
3376 empty directory in file for breakpoint hit.
3377
9852c492
YQ
33782013-03-29 Yao Qi <yao@codesourcery.com>
3379
3380 * gdb.base/completion.exp: Test completion of commands
3381 "target core", "target tfile" and "target exec".
3382 * gdb.trace/tfile.exp: Test completion of command
3383 "target tfile".
3384
af312be7
JB
33852013-03-28 Joel Brobecker <brobecker@adacore.com>
3386
3387 * gdb.ada/win_fu_syms: New testcase.
3388
e4a48d9d
DE
33892013-03-28 Doug Evans <dje@google.com>
3390
3391 * gdb.base/maint.exp (maint print statistics): Update expected output.
3392
7f7cc265
PA
33932013-03-28 Pedro Alves <palves@redhat.com>
3394
3395 PR gdb/15294
3396
3397 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
3398 mean unlimited instead of $arg < 0.
3399 (test_listsize): Remove "listsize of 0 suppresses output" test.
3400 Test that "set listsize 0" ends up with an unlimited listsize.
3401
fc0da894
PA
34022013-03-28 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.base/list.exp (last_line): New global.
3405 (last_line_re): New global.
3406 (test_listsize, test_list_function, test_list_forward)
3407 (test_repeat_list_command, test_list_range)
3408 (test_list_filename_and_function): Use them.
3409 * gdb.base/list0.c: Comment the last line of the file with "last
3410 line".
3411
abe7b711
PA
34122013-03-28 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
3415 list the whole file.
3416
15b3979c
PA
34172013-03-28 Pedro Alves <palves@redhat.com>
3418
3419 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
3420 "set listsize".
3421
96811e3b
KS
34222013-03-26 Keith Seitz <keiths@redhat.com>
3423
3424 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
3425 from passing.
3426
4043f22b
PA
34272013-03-26 Pedro Alves <palves@redhat.com>
3428
3429 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
3430 until after GDB has run.
3431
14a1aa17
YQ
34322013-03-26 Yao Qi <yao@codesourcery.com>
3433
3434 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
3435 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
3436
99c819ee
MM
34372013-03-26 Markus Metzger <markus.t.metzger@intel.com>
3438
3439 * gdb.btrace/enable.exp: Add regression test.
3440
24955f63
TT
34412013-03-25 Tom Tromey <tromey@redhat.com>
3442
3443 * gdb.cp/m-static.exp: Add destructor-printing tests.
3444
fce632b6
TT
34452013-03-25 Tom Tromey <tromey@redhat.com>
3446
3447 * gdb.cp/m-static.exp: Add constructor ptype tests.
3448 * gdb.cp/m-static.cc (single_constructor): New class.
3449 (main): Make instance of single_constructor.
3450
598d3636
JK
34512013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3452 Pedro Alves <palves@redhat.com>
3453
3454 * gdb.server/server-kill.c: New file.
3455 * gdb.server/server-kill.exp: New file.
3456
c12440c9
PA
34572013-03-21 Pedro Alves <palves@redhat.com>
3458
3459 * gdb.trace/trace-buffer-size.exp (get default buffer size):
3460 Expect $gdb_prompt in gdb_test_multiple.
3461
bd712aed
DE
34622013-03-21 Doug Evans <dje@google.com>
3463
3464 * gdb.base/maint.exp: Update tests for per-command stats.
3465
b2f83c08
TT
34662013-03-21 Tom Tromey <tromey@redhat.com>
3467
3468 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
3469 * gdb.cp/misc.exp: Add test for FILENAME:: case.
3470
ef0026f0
PA
34712013-03-20 Pedro Alves <palves@redhat.com>
3472
3473 PR gdb/15289
3474
3475 * gdb.base/remote.exp: Test
3476 "set remote hardware-watchpoint-limit -1",
3477 "set remote hardware-breakpoint-limit -1",
3478 "set remote hardware-watchpoint-limit 2147483647" and
3479 "set remote hardware-breakpoint-limit 2147483647".
3480
3f1175a9
PA
34812013-03-20 Pedro Alves <palves@redhat.com>
3482 Yao Qi <yao@codesourcery.com>
3483
3484 * gdb.trace/tfile.c: Add comments.
3485 (nonconstglob): New global.
3486 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
3487 global that is not covered by the trace frame. Test
3488 disassembling.
3489
a09ae1c1
JK
34902013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3491
3492 * gdb.base/valgrind-infcall.exp
3493 (continue #$continue_count) <remote connection closed>
3494 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
3495 $valgrind_pid.
3496
9ce98649
TT
34972013-03-15 Tom Tromey <tromey@redhat.com>
3498
3499 * gdb.cp/overload.cc (intintfunc): New.
3500 * gdb.cp/overload.exp: Add regression test.
3501
0a251e08
YQ
35022013-03-15 Yao Qi <yao@codesourcery.com>
3503
3504 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
3505 using with_test_prefix.
3506 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
3507 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
3508 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
3509 * gdb.threads/watchpoint-fork.exp (test): Likewise.
3510 * gdb.base/break-interp.exp (test_core): Likewise.
3511 (test_attach_gdb): Likewise.
3512 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3513 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3514 Likewise.
3515 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3516 * gdb.base/jit.exp (one_jit_test): Likewise.
3517 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
3518 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
3519 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
3520 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
3521 Likewise.
3522 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3523 Likewise.
3524 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
3525 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
3526 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
3527 (tracepoint_change_loc_2): Likewise.
3528 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3529 Likewise.
3530 (disconnected_tfind): Likewise.
3531 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
3532 Likewise.
3533 (test_tfind_remote): Likewise.
3534 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
3535 Likewise.
3536 (test_pending_resolved): Likewise.
3537 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
3538 Likewise.
3539 (test_upload_tsv): Likewise.
3540 * gdb.trace/pending.exp (pending_tracepoint_resolved):
3541 Likewise.
3542 (pending_tracepoint_works): Likewise.
3543 * gdb.trace/report.exp (use_collected_data): Likewise.
3544 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
3545 Likewise.
3546 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
3547 * gdb.trace/strace.exp (strace_info_marker): Likewise.
3548 (strace_trace_on_same_addr): Likewise.
3549 (strace_trace_on_diff_addr): Likewise.
3550 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
3551 (gdb_collect_locals_test): Likewise.
3552 (gdb_unavailable_registers_test): Likewise.
3553 (gdb_collect_globals_test): Likewise.
3554
2c415c0f
YQ
35552013-03-15 Yao Qi <yao@codesourcery.com>
3556
3557 * gdb.base/condbreak.exp: Add semicolon back which was removed
3558 by my previous commit.
3559
ae59b1da
YQ
35602013-03-14 Yao Qi <yao@codesourcery.com>
3561
3562 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
3563 'return'.
3564 (gdb_target_monitor, gdb_load): Likewise.
3565 * config/sid.exp (gdb_load): Likewise.
3566 * config/slite.exp (gdb_load): Likewise.
3567 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
3568 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
3569 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
3570 (single_step_until): Likewise.
3571 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3572 * gdb.arch/system-gcore.exp: Likewise.
3573 * gdb.base/bigcore.exp (extract_heap): Likewise.
3574 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
3575 * gdb.base/call-ar-st.exp: Likewise.
3576 * gdb.base/call-rt-st.exp: Likewise.
3577 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
3578 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
3579 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
3580 * gdb.base/corefile.exp: Likewise.
3581 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
3582 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
3583 * gdb.base/fixsection.exp: Likewise.
3584 * gdb.base/funcargs.exp: Likewise.
3585 * gdb.base/gcore-buffer-overflow.exp: Likewise.
3586 * gdb.base/gcore-relro.exp: Likewise.
3587 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
3588 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
3589 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
3590 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
3591 * gdb.base/list.exp: Likewise.
3592 (set_listsize): Likewise.
3593 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
3594 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
3595 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
3596 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
3597 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
3598 * gdb.base/setvar.exp: Likewise.
3599 (test_set): Likewise.
3600 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
3601 * gdb.base/solib-overlap.exp: Likewise.
3602 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
3603 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
3604 * gdb.base/watchpoint.exp (initialize): Likewise.
3605 (test_simple_watchpoint): Likewise.
3606 (test_disabling_watchpoints): Likewise.
3607 (test_watchpoint_triggered_in_syscall): Likewise.
3608 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
3609 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
3610 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
3611 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
3612 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
3613 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
3614 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3615 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3616 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
3617 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
3618 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3619 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
3620 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
3621 * gdb.mi/gdb792.exp: Likewise.
3622 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
3623 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
3624 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
3625 * gdb.threads/gcore-thread.exp: Likewise.
3626 (load_core): Likewise.
3627 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
3628 (test_startup, check_control_c): Likewise.
3629 * gdb.threads/sigstep-threads.exp: Likewise.
3630 * gdb.threads/thread_check.exp: Likewise.
3631 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
3632 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
3633 (set_a_tracepoint, trace_buffer_normal): Likewise.
3634 (gdb_trace_circular_tests): Likewise.
3635 * gdb.trace/collection.exp: Likewise.
3636 * gdb.trace/disconnected-tracing.exp: Likewise.
3637 * gdb.trace/infotrace.exp: Likewise.
3638 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3639 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3640 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
3641 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
3642 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
3643 * gdb.trace/stap-trace.exp: Likewise.
3644 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
3645 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
3646 * gdb.trace/trace-buffer-size.exp: Likewise.
3647 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
3648 * gdb.trace/unavailable.exp: Likewise.
3649 * gdb.trace/while-dyn.exp: Likewise.
3650 * lib/fortran.exp (set_lang_fortran): Likewise.
3651 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
3652 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
3653 (default_gdb_start, get_compiler_info): Likewise.
3654 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
3655 (get_debug_format, setup_xfail_format): Likewise.
3656 (rerun_to_main, gdb_skip_float_test): Likewise.
3657 (build_id_debug_filename_get, get_remotetimeout): Likewise.
3658 * lib/java.exp (set_lang_java): Likewise.
3659 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
3660 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
3661 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
3662 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
3663 * lib/objc.exp (set_lang_objc): Likewise.
3664 * lib/pascal.exp (set_lang_pascal): Likewise.
3665 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
3666 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
3667 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
3668
bb869963
SDJ
36692013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
3670
3671 PR c++/15203
3672 PR c++/15210
3673 * gdb.cp/m-static.cc (keepalive_int): New function.
3674 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
3675 * gdb.cp/m-static.exp: New test for `sintvar'.
3676
e2be70a0
YQ
36772013-03-14 Yao Qi <yao@codesourcery.com>
3678
3679 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
3680 of 'tstatus' into tstatus_output.
3681 (top level): Save the trace data to tfile. Read trace file in
3682 tfile target. Check the trace status.
3683
8ddb1965
YQ
36842013-03-13 Yao Qi <yao@codesourcery.com>
3685
3686 * gdb.trace/tsv.exp (check_tsv): New.
3687 (top level): Save a tfile on current trace session. Call
3688 check_tsv on live target. Load the tfile with target tfile
3689 and call check_tsv again.
3690
045dd51f
YQ
36912013-03-13 Yao Qi <yao@codesourcery.com>
3692
3693 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
3694 Replace some "gdb_test" with "gdb_test_no_output".
3695
82d049ab
PH
36962013-03-12 Paul Hilfinger <hilfingr@adacore.com>
3697
3698 * gdb.ada/expr_delims.exp: New file.
3699 * gdb.ada/expr_delims/foo.adb: New file.
3700 * gdb.ada/expr_delims/pck.ads: New file.
3701 * gdb.ada/expr_delims/pck.adb: New file.
3702
cb8ea32b
KS
37032013-03-11 Keith Seitz <keiths@redhat.com>
3704
3705 * watchpoint.exp (test_no_hw_watchpoints): Add test using
3706 both condition and thread. Then delete the watchpoint.
3707
2f1d9bdd
MM
37082013-03-11 Christian Himpel <christian.himpel@intel.com>
3709
3710 * Makefile.in: Add btrace testsuite.
3711 * configure: Regenerated.
3712 * configure.ac: Add btrace testsuite.
3713 * gdb.btrace/Makefile.in: New file.
3714 * gdb.btrace/enable.c: New file.
3715 * gdb.btrace/enable.exp: New file.
3716 * gdb.btrace/function_call_history.c: New file.
3717 * gdb.btrace/function_call_history.exp: New file.
3718 * gdb.btrace/instruction_history.c: New file.
3719 * gdb.btrace/instruction_history.exp: New file.
3720 * gdb.btrace/instruction_history.S: New file.
3721 * lib/gdb.exp: Add btrace skip proc.
3722
05c56a9d
JK
37232013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3724
3725 Fix entry-values if the callee called a noreturn function.
3726 * gdb.arch/amd64-tailcall-noret.S: New file.
3727 * gdb.arch/amd64-tailcall-noret.c: New file.
3728 * gdb.arch/amd64-tailcall-noret.exp: New file.
3729
9112db09
JK
37302013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3731
3732 Fix entry-values in C++ across CUs.
3733 * gdb.arch/amd64-tailcall-cxx.exp: New file.
3734 * gdb.arch/amd64-tailcall-cxx1.S: New file.
3735 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
3736 * gdb.arch/amd64-tailcall-cxx2.S: New file.
3737 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
3738
be9a119c 37392013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
3740 Hafiz Abid Qadeer <abidh@codesourcery.com>
3741
3742 gdb/testsuite/
3743 * gdb.trace/trace-buffer-size.exp: New file.
3744 * gdb.trace/trace-buffer-size.c: New file.
3745
049109b0
PA
37462013-03-06 Pedro Alves <palves@redhat.com>
3747
3748 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
3749 doesn't support the tested optional feature, call "unsupported"
3750 with the same test message as the "pass" case, instead of calling
3751 "pass" with a different message. Use the same text for the "fail"
3752 cases too.
3753
4aa54120
YQ
37542013-03-06 Yao Qi <yao@codesourcery.com>
3755
3756 * gdb.trace/tstatus.exp: Remove the invocation of
3757 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
3758 (test_tracepoints): Don't set fast tracepoint.
3759 (top level): Don't check agent library is loaded or not.
3760
b8b71e63
YQ
37612013-03-06 Yao Qi <yao@codesourcery.com>
3762
3763 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
3764 parentheses by "\\".
3765
33f448b1
JK
37662013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3767
3768 * gdb.linespec/base/one/thefile.cc (twodup): New.
3769 (m): Call it.
3770 * gdb.linespec/base/two/thefile.cc (dupname): New.
3771 (n): Call it.
3772 * gdb.linespec/break-ask.exp: New file.
3773 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
3774
1c942fb9
YQ
37752013-02-28 Yao Qi <yao@codesourcery.com>
3776
3777 * gdb.trace/report.exp: Move some code to ...
3778 (use_collected_data): New.
3779 (top level): Call use_collected_data once on the live target.
3780 Save at file of the current trace session, load it with target
3781 tfile, and call use_collected_data again.
3782
5b967901
JK
37832013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3784
3785 * gdb.threads/fork-thread-pending.c (main): Add alarm.
3786
6447023f
JK
37872013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3788
3789 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
3790 Add final kill of ${valgrind_pid}.
3791
9f44fbc0
SCR
37922013-02-20 Siva Chandra Reddy <sivachandra@google.com>
3793
3794 * gdb.python/py-arch.c: New test case
3795 * gdb.python/py-arch.exp: New tests to test
3796 gdb.Architecture.disassemble
3797 * gdb.python/Makefile.in: Add py-arch to the list of
3798 EXECUTABLES.
3799
4c9ad8c2
TT
38002013-02-18 Tom Tromey <tromey@redhat.com>
3801
3802 * gdb.dwarf2/subrange.exp: New file.
3803
f5911ea1
HAQ
38042013-02-15 Pedro Alves <pedro@codesourcery.com>
3805 Hafiz Abid Qadeer <abidh@codesourcery.com>
3806
3807 * gdb.trace/tfile.exp: Add test for -trace-status command.
3808
420f4384
JK
38092013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3810
3811 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
3812 nanosleep by sleep.
3813
4819b3f8
PA
38142013-02-14 Pedro Alves <palves@redhat.com>
3815
3816 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
3817
1773c82c
HAQ
38182013-02-14 Pedro Alves <pedro@codesourcery.com>
3819 Hafiz Abid Qadeer <abidh@codesourcery.com>
3820
3821 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
3822
e234dfaf
TT
38232013-02-12 Tom Tromey <tromey@redhat.com>
3824
3825 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
3826 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
3827
6c01dd94
PA
38282013-02-12 Pedro Alves <palves@redhat.com>
3829
3830 * gdb.base/catch-signal.c: Update copyright years.
3831 * gdb.base/catch-signal.exp: Update copyright years.
3832 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
3833 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
3834 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
3835 * gdb.dwarf2/dw2-error.S: Update copyright years.
3836 * gdb.dwarf2/dw2-error.c: Update copyright years.
3837 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
3838 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
3839 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
3840
595fc67f
PA
38412013-02-12 Pedro Alves <palves@redhat.com>
3842
3843 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
3844 message.
3845 * gdb.base/sigaltstack.exp: Ditto.
3846 * gdb.base/siginfo.exp: Ditto.
3847 * gdb.base/sizeof.exp: Ditto.
3848
17282693
PA
38492013-02-12 Pedro Alves <palves@redhat.com>
3850
3851 * gdb.mi/mi-basics.exp: Tweak intro comment.
3852 * gdb.mi/mi-break.exp: Tweak intro comment.
3853 * gdb.mi/mi-console.exp: Tweak intro comment.
3854 * gdb.mi/mi-file.exp: Tweak intro comment.
3855 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
3856 * gdb.mi/mi-return.exp: Tweak intro comment.
3857 * gdb.mi/mi-stepi.exp: Tweak intro comment.
3858 * gdb.mi/mi-until.exp: Tweak intro comment.
3859 * gdb.mi/mi-watch.exp: Tweak intro comment.
3860
8a4ac37e
PA
38612013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3862
3863 * gdb.server/no-thread-db.exp: New file.
3864 * gdb.server/no-thread-db.c: New file.
3865 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
3866
c2792f5a
DE
38672013-02-11 Doug Evans <dje@google.com>
3868
3869 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
3870 two decfloats.
3871
d9e98382
SDJ
38722013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3873
3874 * gdb.base/bitfields.c (struct internalvartest): New declaration.
3875 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
3876
a321661a
JK
38772013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3878
3879 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
3880
134a2066
YQ
38812013-02-06 Yao Qi <yao@codesourcery.com>
3882
3883 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
3884 to ...
3885 (test_create_delete_modify_tsv): ... here. New test on modifying
3886 the initial value of a tsv.
3887
5a2dc60a
JK
38882013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3889
3890 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
3891 (cd .../rdir): ... here.
3892
233d95b5
JK
38932013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3894
3895 * gdb.linespec/base/one/header.h: New file.
3896 * gdb.linespec/base/two/header.h: New file.
3897 * gdb.linespec/macro-relative.c: New file.
3898 * gdb.linespec/macro-relative.exp: New file.
3899
fbd9ab74
JK
39002013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3901
3902 * gdb.base/fullpath-expand-func.c: New file.
3903 * gdb.base/fullpath-expand.c: New file.
3904 * gdb.base/fullpath-expand.exp: New file.
3905 * gdb.base/realname-expand-real.c: New file.
3906 * gdb.base/realname-expand.c: New file.
3907 * gdb.base/realname-expand.exp: New file.
3908
1b56eb55
JK
39092013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3910
3911 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
3912 * gdb.dwarf2/dw2-dir-file-name.c: New file.
3913
af529f8f
JK
39142013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3915
3916 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
3917 (compare_filenames_for_search does not match)
3918 (compare_filenames_for_search does match): New tests.
3919
f5b95b50
JK
39202013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3921
3922 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
3923
d47921b9
JK
39242013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3925
3926 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
3927
8a92335b
JK
39282013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3929
3930 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
3931 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
3932 ${binfile}.mini_debuginfo-debuglink and
3933 ${binfile}.mini_debuginfo-debuglink.xz.
3934
17f2157d
TT
39352013-02-01 Tom Tromey <tromey@redhat.com>
3936
3937 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
3938 attributes.
3939
d65f0a9c
TT
39402013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3941 Tom Tromey <tromey@redhat.com>
3942
3943 * gdb.dwarf2/method-ptr.exp: Link with c++.
3944 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
3945
f25c0135
TT
39462013-01-31 Tom Tromey <tromey@redhat.com>
3947
3948 * gdb.base/jit.exp (compile_jit_test): New proc.
3949 Add PIE tests.
3950
7078baeb
TT
39512013-01-31 Tom Tromey <tromey@redhat.com>
3952
3953 * gdb.dwarf2/method-ptr.cc: New file.
3954 * gdb.dwarf2/method-ptr.exp: New file.
3955
1d24041a
TT
39562013-01-31 Tom Tromey <tromey@redhat.com>
3957
3958 * lib/dwarf.exp (namespace Dwarf): New.
3959
8d9878a4
TT
39602013-01-29 Tom Tromey <tromey@redhat.com>
3961
3962 * gdb.dwarf2/fission-reread.exp: Add unload test.
3963
bed911e5
DE
39642013-01-28 Doug Evans <dje@google.com>
3965
3966 * gdb.dwarf2/fission-loclists.exp: New file.
3967 * gdb.dwarf2/fission-loclists.S: New file.
3968
e229648e
JK
39692013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3970
3971 Code cleanup.
3972 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
3973 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
3974 and prepare_for_testing.
3975 * gdb.base/store.exp: Likewise.
3976
86700f00
TT
39772013-01-25 Tom Tromey <tromey@redhat.com>
3978
3979 * gdb.python/py-explore.exp: Expect the gdb prompt.
3980
8954db33
AB
39812013-01-25 Andrew Burgess <aburgess@broadcom.com>
3982
3983 * gdb.base/gnu_vector.c: New variable for use in tests.
3984 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
3985 changes in scalar to vector casting and widening.
3986 * gdb.python/py-type.c: New variables for use in tests.
3987 * gdb.python/py-type.exp: Update vector related tests to reflect
3988 changes in scalar to vector casting and widening.
3989
2077afdd
TD
39902013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
3991
3992 * gdb.base/prologue-include.c: New file.
3993 * gdb.base/prologue-include.exp: New file.
3994 * gdb.base/prologue-include.h: New file.
3995
d7499464
HAQ
39962013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
3997
3998 PR gdb/13443
3999 * gdb.mi/mi-var-block.exp: Make test messages unique.
4000
e2a3e0f1
TT
40012013-01-23 Tom Tromey <tromey@redhat.com>
4002
4003 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
4004
152fcc9c
TT
40052013-01-23 Tom Tromey <tromey@redhat.com>
4006
4007 * gdb.cp/converts.cc (main): Initialize 'a'.
4008
bea883fd
SCR
40092013-01-23 Siva Chandra Reddy <sivachandra@google.com>
4010
4011 * testsuite/gdb.python/frame.exp: Add a test for
4012 gdb.Frame.architecture() method.
4013
0928e93d
PA
40142013-01-22 Pedro Alves <palves@redhat.com>
4015
4016 * gdb.base/annota1.exp (signal sent): No longer expect
4017 breakpoints-invalid.
4018 * gdb.cp/annota2.exp (continue until exit)
4019 (watch triggered on a.x): Ditto.
4020
9c97429f
PA
40212013-01-22 Pedro Alves <palves@redhat.com>
4022
4023 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
4024 Adjust tests to breakpoints-invalid changes.
4025 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
4026 variables.
4027 Adjust tests to breakpoints-invalid changes.
4028
187d10dd
PA
40292013-01-22 Pedro Alves <palves@redhat.com>
4030
4031 * gdb.base/annota1.exp (annotate ignore count change): Add
4032 expected output for failure case.
4033
ea3aedcb
TT
40342013-01-22 Tom Tromey <tromey@redhat.com>
4035
4036 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
4037 call.
4038
998580f1
MK
40392013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
4040
4041 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 4042 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
4043 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
4044 Also handle 'thread' field.
4045 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
4046 * gdb.mi/mi-watch.exp: Ditto.
4047 * lib/mi-support.exp: Ditto.
4048
8f1d5693
MK
40492013-01-21 Siva Chandra Reddy <sivachandra@google.com>
4050
4051 * gdb.python/py-explore.exp: Improve a test
4052
2d8c5d7c
DB
40532013-01-18  David Blaikie  <dblaikie@gmail.com>
4054
4055 * gdb.base/label.c (main): Correct the type of the second
4056 parameter.
4057
46f35228
TT
40582013-01-18 Tom Tromey <tromey@redhat.com>
4059
4060 * gdb.dwarf2/trace-crash.s: New file.
4061 * gdb.dwarf2/trace-crash.exp: New file.
4062
5965d69d
HAQ
40632013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
4064
43aaf8b6
PA
4065 PR gdb/13443
4066 * gdb.base/checkpoint.exp: Update test messages to make them
4067 unique.
5965d69d 4068
5ae4861a
YQ
40692013-01-18 Yao Qi <yao@codesourcery.com>
4070
4071 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
4072 output of 'info tracepoints'.
4073 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
4074 Likewise.
4075 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
4076 * gdb.trace/disconnected-tracing.c (struct foo): New.
4077
d84fca2c
JK
40782013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4079
4080 * gdb.dwarf2/dw2-dos-drive.S: New file.
4081 * gdb.dwarf2/dw2-dos-drive.exp: New file.
4082
aebb1cc9
DE
40832013-01-17 Doug Evans <dje@google.com>
4084
2782d512
DE
4085 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
4086 CXX_FOR_TARGET.
4087
aebb1cc9
DE
4088 * boards/cc-with-tweaks.exp: New file.
4089
db2b2972
TT
40902013-01-17 Tom Tromey <tromey@redhat.com>
4091
4092 * gdb.base/completion.exp: Add "set cp-abi" completion test.
4093
96343774
PA
40942013-01-17 Pedro Alves <palves@redhat.com>
4095
4096 Merge dg-extract-results.sh from upstream (svn 195224).
4097
4098 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 4099 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
4100
4101 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 4102 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
4103
4104 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 4105 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
4106
4107 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4108 * dg-extract-results.sh: Redirect grep output to /dev/null instead
4109 of grep -q.
4110
675921c0
SD
41112012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4112
4113 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
4114 interface.
4115 * gdb.base/jithost.c: New file.
4116 * gdb.base/jithost.h: New file.
4117 * gdb.base/jitreader.c : New file.
4118 * gdb.base/jit-protocol.h: New file.
4119
ab04a2af
TT
41202013-01-16 Tom Tromey <tromey@redhat.com>
4121
4122 * gdb.base/catch-signal.c: New file.
4123 * gdb.base/catch-signal.exp: New file.
4124
8ac3646f
TT
41252013-01-16 Tom Tromey <tromey@redhat.com>
4126
4127 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
4128
22fc223e
JK
41292013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4130
4131 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
4132
44478ab3
TT
41332013-01-14 Tom Tromey <tromey@redhat.com>
4134
4135 * gdb.base/completion.exp: Add "set gnutarget" test.
4136
06d66ee9
TT
41372013-01-14 Tom Tromey <tromey@redhat.com>
4138
4139 * gdb.dwarf2/dw2-restrict.S: New file.
4140 * gdb.dwarf2/dw2-restrict.c: New file.
4141 * gdb.dwarf2/dw2-restrict.exp: New file.
4142
c9bf0622
TT
41432013-01-14 Tom Tromey <tromey@redhat.com>
4144
4145 * gdb.dwarf2/dw2-error.exp: New file.
4146 * gdb.dwarf2/dw2-error.c: New file.
4147 * gdb.dwarf2/dw2-error.S: New file.
4148
5b12a61c
JK
41492013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4150
4151 * gdb.cp/parse-lang.cc: New file.
4152 * gdb.cp/parse-lang.exp: New file.
4153
f0a4b570
JK
41542013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4155
4156 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
4157 (set substitute-path): New test.
4158 (fullname present): Remove content.
4159 (substituted fullname): New test.
4160
f751cc97
JB
41612013-01-13 Joel Brobecker <brobecker@adacore.com>
4162
4163 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
4164 check. Move $gdb_py_is_py24 value check right after.
4165
04164e8e
JK
41662013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4167
4168 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
4169 targets.
4170
5bf480a5
YQ
41712013-01-11 Yao Qi <yao@codesourcery.com>
4172
4173 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
4174 for dprintf.
4175 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4176 Check the fields in "=breakpoint-created" for dprintf.
4177
f35a17b5
JK
41782012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4179
4180 * gdb.mi/mi-fullname-deleted.exp: New file.
4181
85817405
JK
41822012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4183
4184 * gdb.base/skip-solib.exp (info skip with pending file): Update the
4185 expected output.
4186 (info skip with pending file): Remove.
4187 (ignoring function in solib, info skip for function multiply): Update
4188 the expected output.
4189 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
4190 (info skip (delete 1), info skip after disabling all)
4191 (info skip after enabling all, info skip after disabling 4 2-3)
4192 (info skip after enabling 2-3, info skip 2-3)
4193 (info skip after deleting 2 3): Update the expected output.
4194 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
4195 statement to its initialization and return.
4196 * gdb.linespec/skip-two.exp: New file.
4197
27210e12
DE
41982012-12-19 Doug Evans <dje@google.com>
4199
4200 * gdb.base/maint.exp: Handle testing with .gdb_index.
4201
bb627a12
JB
42022012-12-19 Joel Brobecker <brobecker@adacore.com>
4203
4204 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
4205 Cavium to FSF.
4206
7785b880
JB
42072012-12-19 Joel Brobecker <brobecker@adacore.com>
4208
4209 * dg-extract-results.sh: Update contact info in copyright notice.
4210 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
4211 GPL v3 or later. Update contact info.
4212 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
4213 gdb.threads/watchpoint-fork-mt.c,
4214 gdb.threads/watchpoint-fork-parent.c,
4215 gdb.threads/watchpoint-fork-st.c,
4216 gdb.threads/watchpoint-fork.h: Likewise.
4217
f2a8bc8a
YQ
42182012-12-15 Yao Qi <yao@codesourcery.com>
4219
4220 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
4221 'installed' field in '=breakpoint-modified'.
4222 (test_reconnect): Check 'installed' field in
4223 '=breakpoint-modified' and '=breakpoint-created'.
4224
4225 * gdb.trace/actions.exp: Update test for 'installed' field.
4226 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
4227 (tracepoint_change_loc_2): Likewise.
4228 Check 'info tracepoint' display nothing else.
4229 * gdb.trace/deltrace.exp: Likewise.
4230 * gdb.trace/infotrace.exp: Likewise.
4231 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
4232 Likewise.
4233 * gdb.trace/passcount.exp: Likewise.
4234 * gdb.trace/tracecmd.exp: Likewise.
4235 * gdb.trace/while-stepping.exp: Likewise.
4236
6592e36f
TT
42372012-12-14 Tom Tromey <tromey@redhat.com>
4238
4239 * gdb.cp/member-name.exp: New file.
4240 * gdb.cp/member-name.cc: New file.
4241
7d27a96d
TT
42422012-12-14 Tom Tromey <tromey@redhat.com>
4243
4244 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
4245
f8c05d0d
DE
42462012-12-14 Doug Evans <dje@google.com>
4247
4248 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
4249 DW_OP_GNU_implicit_pointer is section-relative.
4250
451b7c33
TT
42512012-12-14 Tom Tromey <tromey@redhat.com>
4252
43aaf8b6 4253 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 4254
10e339df
PA
42552012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
4256
6fdff2c5 4257 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 4258
e780d813
DE
42592012-12-13 Doug Evans <dje@google.com>
4260
4261 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
4262 * gdb.multi/multi-arch.exp: Ditto.
4263
ca3dbcc8 42642012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 4265
ca3dbcc8
MG
4266 * gdb.mi/mi-catch-load-so.c: New. Clone of the
4267 catch load test library source file.
4268 * gdb.mi/mi-catch-load.c: New. Clone of the catch
4269 load test source file.
4270 * gdb.mi/mi-catch-load.exp: New. Test file for
4271 basic MI -catch-load and -catch-unload tests.
4272
2960a434
PK
42732012-12-11 Paul Koning <paul_koning@dell.com>
4274
4275 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
4276 exception.
4277 (_iterator_except): New function.
4278 (ArrayPrinter): Use _iterator function instead of local _iterator
4279 class for Python 3 compatibility.
4280 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 4281 _iterator.
2960a434
PK
4282 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
4283 execfile for Python 3 compatibility.
4284 * gdb.python/python.exp: Handle Python 2.4 exception traceback
4285 format in error_prompt test.
6fdff2c5 4286
9325cb04
PK
42872012-12-10 Paul Koning <paul_koning@dell.com>
4288
4289 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 4290 compatibility.
9325cb04
PK
4291 * gdb.python/py-block.exp: Ditto.
4292 * gdb.python/py-breakpoint.exp: Ditto.
4293 * gdb.python/py-cmd.exp: Ditto.
4294 * gdb.python/py-events.py: Ditto.
4295 * gdb.python/py-finish-breakpoint.py: Ditto.
4296 * gdb.python/py-finish-breakpoint2.exp: Ditto.
4297 * gdb.python/py-finish-breakpoint2.py: Ditto.
4298 * gdb.python/py-frame-inline.exp: Ditto.
4299 * gdb.python/py-frame.exp: Ditto.
4300 * gdb.python/py-infthread.exp: Ditto.
4301 * gdb.python/py-objfile.exp: Ditto.
4302 * gdb.python/py-parameter.exp: Ditto.
4303 * gdb.python/py-progspace.exp: Ditto.
4304 * gdb.python/py-prompt.exp: Ditto.
4305 * gdb.python/py-symbol.exp: Ditto.
4306 * gdb.python/py-symtab.exp: Ditto.
4307 * gdb.python/py-template.exp: Ditto.
4308 * gdb.python/py-value-cc.exp: Ditto.
4309 * gdb.python/python.exp: Ditto.
4310 * gdb.python/source2.py: Ditto.
4311 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 4312 compatibility.
9325cb04
PK
4313 Use sorted() function rather than sort() method.
4314 Accept either int or long values for enum values.
4315 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
4316 execfile for Python 3 compatibility.
4317 * gdb.python/py-evsignal.exp: Ditto.
4318 * gdb.python/py-evthreads.exp: Ditto.
4319 * gdb.python/py-mi.exp: Ditto.
4320 * gdb.python/py-pp-maint.exp: Ditto.
4321 * gdb.python/py-prettyprint.exp: Ditto.
4322 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 4323 Python 3 compatibility.
9325cb04
PK
4324 Skip tests for Python 2.4.
4325 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 4326 Python 3 compatibility.
9325cb04
PK
4327 Use byte string rather than character string in memory write test
4328 if Python 3.
4329 * gdb.python/py-pp-maint.py: Change class declarations to "new
4330 class" syntax.
4331 * gdb.python/py-prettyprint.py: Change iterator class to generator
4332 function for Python 3 compatibility.
4333 Make all classes "new style".
4334 Fix indentation issue and stray semicolon.
4335 * gdb.python/py-shared.expChange print syntax for Python 3
4336 compatibility.
4337 Define "long" if Python 3.
4338 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 4339 compatibility.
9325cb04
PK
4340 Accept either int or long values for enum values.
4341 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 4342 compatibility.
9325cb04
PK
4343 Skip "long" and "unicode" tests if Python 3.
4344 Accept either "type" or "class" in type checks.
4345 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
4346 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
4347
8b9737bf
TT
43482012-12-10 Tom Tromey <tromey@redhat.com>
4349
4350 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
4351 (test): Add "two_cu" argument.
4352 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
4353 for types; allow two CUs.
4354
1b80a9fa
JK
43552012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4356
4357 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
4358 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
4359
f0b6d50a
YQ
43602012-12-08 Yao Qi <yao@codesourcery.com>
4361 Pedro Alves <palves@redhat.com>
4362
4363 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
4364 '=breakpoint-created' when GDB merges the tracepoints of both
4365 sides.
4366
2f68a895
TT
43672012-12-07 Tom Tromey <tromey@redhat.com>
4368
4369 * gdb.base/break1.c (enum some_enum, union some_union): New.
4370 (some_enum_global, some_union_global, some_value): New globals.
4371 * gdb.base/completion.exp: Add tag completion tests.
4372
4fc5d43e
TT
43732012-12-07 Tom Tromey <tromey@redhat.com>
4374
4375 * gdb.base/completion.exp: Add tests for ptype and whatis
4376 completion.
4377
6559e013
JB
43782012-12-07 Joel Brobecker <brobecker@adacore.com>
4379
4380 * gdb.base/stale-infcall.exp: Fix copyright line.
4381
ae2b630d
JB
43822012-12-07 Joel Brobecker <brobecker@adacore.com>
4383
4384 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
4385
0ba2eb0f
TT
43862012-12-06 Pedro Alves <palves@redhat.com>
4387 Tom Tromey <tromey@redhat.com>
4388
4389 * gdb.base/exprs.exp: Add tests for cast to void.
4390
731145cb
TT
43912012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
4392
4393 * gdb.python/py-mi.exp: Correct expected results for attribute
4394 "dynamic" returned by -var-update.
4395 Add test case for correct handling of "diplayhint" for children
4396 of dynamic varobjs.
4397 * gdb.python/py-prettyprint.c (set_itme): New function.
4398 (bug_14741) New function.
4399 (main) Add call to bug_14741().
4400 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
4401
e58fcc15
UW
44022012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
4403
4404 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
4405 ${binfile}.funcsyms list.
4406
e9eb0d14
YQ
44072012-12-04 Yao Qi <yao@codesourcery.com>
4408
4409 PR gdb/13443
4410 * gdb.trace/actions.exp: Make test messages unique.
4411
4983028c
TT
44122012-11-29 Tom Tromey <tromey@redhat.com>
4413
4414 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
4415
ea5e6b0e
UW
44162012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
4417
4418 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
4419 * gdb.opencl/datatypes.exp: Likewise.
4420 * gdb.opencl/operators.exp: Likewise.
4421 * gdb.opencl/vec_comps.exp: Likewise.
4422
cdde3dfb
JG
44232012-11-29 Jerome Guitton <guitton@adacore.com>
4424
4425 * gdb.ada/iwide: New testcase.
4426
b50d69b5
JG
44272012-11-29 Jerome Guitton <guitton@adacore.com>
4428
4429 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
4430 ptype test.
4431
c2d3fccf
JG
44322012-11-29 Jerome Guitton <guitton@adacore.com>
4433
4434 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
4435 form {VARIANT_TYPE}ADDRESS.
4436
5edf51fe
YQ
44372012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
4438
4439 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
4440 (func): New function.
4441 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
4442 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
4443 pointers to members with pointer-to-function type.
4444
608e2dbb
TT
44452012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4446 Tom Tromey <tromey@redhat.com>
4447
4448 * gdb.base/gnu-debugdata.exp: New file.
4449 * gdb.base/gnu-debugdata.c: New file.
4450 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
4451 (gdb_unload): Return 0 on success.
4452
4648e588
JK
44532012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4454
4455 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
4456
17d6efc4
JB
44572012-11-26 Joel Brobecker <brobecker@adacore.com>
4458
4459 * gdb.base/empty_exe.exp: New testcase.
4460
ace21957
MF
44612012-11-20 Mike Frysinger <vapier@gentoo.org>
4462
4463 * gdb.base/completion.exp: Add test for help aliases completion.
4464
5c401a0a
YQ
44652012-11-20 Yao Qi <yao@codesourcery.com>
4466
4467 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
4468 Don't test 'maint set show-debug-regs'.
4469 Use command 'set remotecache' instead of
4470 'set circular-trace-buffer'.
4471
8dea366b
KS
44722012-11-16 Keith Seitz <keiths@redhat.com>
4473
4474 PR c++/13615
4475 * gdb.cp/baseenum.cc: New file.
4476 * gdb.cp/baseenum.exp: New file.
4477 * gdb.cp/derivation.cc (A): Add copyright.
4478 Add a typedef.
4479 (B): Use A::value_type instead of int. Change all references.
4480 (D): Use value_type instead of int. Change all references.
4481 (E): Likewise.
4482 (F); Likewise.
4483 (Z): New class.
4484 (ZZ): New class.
6fdff2c5 4485 (N, Base, Derived): New namespace and classes.
8dea366b
KS
4486 (main): Add instances of Z and ZZ.
4487 Make sure all symbols from N are kept.
4488 * gdb.cp/derivation.exp: Update typedef changes in tests.
4489 Add tests for class typedefs both before and after starting
4490 the inferior.
4491 Add tests for searching for a typedef while stopped in a
4492 method.
4493
5e34c6c3
LM
44942012-11-14 Luis Machado <lgustavo@codesourcery.com>
4495
4496 * gdb.mi/mi-var-create-rtti.c: New file.
4497 * gdb.mi/mi-var-create-rtti.exp: New file.
4498
5e487a5f
LM
44992012-11-14 Luis Machado <lgustavo@codesourcery.com>
4500
4501 * gdb.base/structs3.exp: Run to main before doing any tests.
4502
6d67b990
AB
45032012-11-14 Andrew Burgess <aburgess@broadcom.com>
4504
4505 * gdb.python/py-type.exp: Uniquify test names.
4506
e5d98164
YQ
45072012-11-14 Yao Qi <yao@codesourcery.com>
4508
4509 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
4510 (thread_function) [DEBUG]: Call 'printf'.
4511 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
4512 command line if 'DEBUG=1' is passed to test.
4513 Remove a pattern to match inferior's output.
4514
62747a60
TT
45152012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
4516
4517 * gdb.mi/mi-fill-memory.exp: New test.
4518
18a9fc12
TT
45192012-11-12 Tom Tromey <tromey@redhat.com>
4520
4521 * gdb.base/completion.exp: Update for "info type-printers".
4522 * gdb.python/py-typeprint.cc: New file.
4523 * gdb.python/py-typeprint.exp: New file.
4524 * gdb.python/py-typeprint.py: New file.
4525
bd69fc68
TT
45262012-11-12 Tom Tromey <tromey@redhat.com>
4527
4528 * gdb.base/call-sc.exp: Use "ptype/r".
4529 * gdb.base/volatile.exp: Don't expect "int".
4530 * gdb.cp/ptype-flags.cc: New file.
4531 * gdb.cp/ptype-flags.exp: New file.
4532 * gdb.cp/templates.exp: Use ptype/r.
4533 (test_ptype_of_templates, test_template_typedef): Likewise.
4534 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
4535 argument. Handle template names and template parameters.
4536 * gdb.mi/mi-var-cmd.exp: Accept "long".
4537 * gdb.mi/mi-var-child.exp: Accept "long".
4538 * gdb.mi/mi-var-display.exp: Accept "long".
4539 * gdb.mi/mi2-var-child.exp: Accept "long".
4540
b3720c3a
TT
45412012-11-12 Tom Tromey <tromey@redhat.com>
4542
4543 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
4544 "ptype" from calls to cp_test_ptype_class.
4545 (test_enums): Likewise.
4546 * gdb.cp/derivation.exp: Remove "ptype" from calls to
4547 cp_test_ptype_class.
4548 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
4549 calls to cp_test_ptype_class.
4550 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
4551 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
4552 from calls to cp_test_ptype_class.
4553 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
4554 command here. Change "in_command" argument to "in_exp".
4555
0d63ecda
KS
45562012-11-10 Keith Seitz <keiths@redhat.com>
4557
4558 PR gdb/14288
4559 * gdb.base/printcmds.c: Add invalid_XXX globals
4560 for repeated byte tests.
4561 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
4562 * gdb.base/wchar.c (main): Add and construct a wchar_t
4563 array with repeated characters.
4564 * gdb.base/wchar.exp: Add repeated character tests.
4565
ed8a1c2d
AB
45662012-11-09 Andrew Burgess <aburgess@broadcom.com>
4567
4568 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
4569 disassembly output.
4570
9107fc8d
PA
45712012-11-09 Pedro Alves <palves@redhat.com>
4572
4573 PR gdb/14306
4574
4575 * gdb.multi/multi-arch-exec.c: New file.
4576 * gdb.multi/multi-arch-exec.exp: New file.
4577
558a9d82
YQ
45782012-11-09 Yao Qi <yao@codesourcery.com>
4579
4580 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
4581 (top level): Call it.
4582
e714f336
YQ
45832012-11-09 Yao Qi <yao@codesourcery.com>
4584
4585 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
4586 typo.
4587
6ecd4729
PA
45882012-11-09 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.multi/multi-arch.exp: New.
4591
9015683b
TT
45922012-11-08 Tom Tromey <tromey@redhat.com>
4593
4594 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
4595 core files, if possible.
4596 * gdb.base/siginfo-thread.c: New file
4597 * gdb.base/siginfo-thread.exp: New file
4598
ea9f10bb
TT
45992012-11-08 Tom Tromey <tromey@redhat.com>
4600
4601 * gdb.base/comprdebug.exp: New file.
4602
f6592439
PA
46032012-11-06 Pedro Alves <palves@redhat.com>
4604
4605 PR gdb/14810
4606
4607 * gdb.base/disabled-location.c: New file.
4608 * gdb.base/disabled-location.exp: New file.
4609
2d338fa9
TT
46102012-11-06 Tom Tromey <tromey@redhat.com>
4611
4612 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
4613 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
4614 gdb_gcore_cmd.
4615 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
4616 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
4617 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
4618 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
4619 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
4620 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
4621 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
4622 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
4623 * lib/gdb.exp (gdb_gcore_cmd): New proc.
4624
68c9da30
PA
46252012-11-05 Pedro Alves <palves@redhat.com>
4626
4627 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
4628 procedure.
4629 (do_vfork_and_follow_child_tests_exec)
4630 (do_vfork_and_follow_child_tests_exit): Call it.
4631
a7c8c931
PA
46322012-11-05 Pedro Alves <palves@redhat.com>
4633
4634 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
4635 fails.
4636
6f6484cd
YQ
46372012-11-03 Yao Qi <yao@codesourcery.com>
4638
4639 Fix PR gdb/14617.
4640 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4641 Remove setup_kfail, and update test.
4642
b45627a0
TT
46432012-11-02 Tom Tromey <tromey@redhat.com>
4644
4645 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
4646 test.
4647
f50f4e56
PA
46482012-11-02 Pedro Alves <palves@redhat.com>
4649
4650 PR gdb/14766
4651
4652 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
4653 setup_kfail.
4654 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
4655 get registers".
4656
71ce889d
PA
46572012-11-02 Pedro Alves <palves@redhat.com>
4658
4659 * gdb.base/foll-vfork-exit.c: New file.
4660 * gdb.base/foll-vfork.exp (top level): New file-describing
4661 comment.
4662 (vfork_child_follow_to_exit): New procedure.
4663 (tcatch_vfork_then_child_follow): Rename as ...
4664 (tcatch_vfork_then_child_follow_exec): ... this.
4665 (tcatch_vfork_then_child_follow_exit): New procedure.
4666 (do_vfork_and_follow_parent_tests): New procedure, factored out
4667 from do_vfork_and_exec_tests.
4668 (do_vfork_and_follow_child_tests_exec): Ditto.
4669 (do_vfork_and_exec_tests): Delete.
4670 (do_vfork_and_follow_child_tests_exit): New procedure.
4671 (top level): Run tests with both the program that has the vfork
4672 child execing, and the program has the vfork child exiting.
4673
1e35b1a9
PA
46742012-11-02 Pedro Alves <palves@redhat.com>
4675
4676 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
4677 (check_vfork_catchpoints, vfork_parent_follow_through_step)
4678 (vfork_parent_follow_to_bp): Call it.
4679 (kill_child): Delete.
4680 (vfork_and_exec_child_follow_to_main_bp)
4681 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
4682 longer call kill_child.
4683 (tcatch_vfork_then_parent_follow): Call setup_gdb.
4684 (do_vfork_and_exec_tests): Don't runto_main before calling each
4685 test procedure.
4686 (top level): Don't clean restart and set verbose before running
4687 each test procedure.
4688
46892012-11-02 Pedro Alves <palves@redhat.com>
4690
4691 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
4692 (vfork_parent_follow_to_bp)
4693 (vfork_and_exec_child_follow_to_main_bp)
4694 (vfork_and_exec_child_follow_through_step)
4695 (tcatch_vfork_then_parent_follow)
4696 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4697 Use with_test_prefix.
4698
46992012-11-02 Pedro Alves <palves@redhat.com>
4700
4701 * gdb.base/foll-vfork.c: Add copyright header.
4702 * gdb.base/vforked-prog.c: Add copyright header.
4703
47042012-11-02 Pedro Alves <palves@redhat.com>
4705
4706 * gdb.base/foll-vfork.exp
4707 (vfork_and_exec_child_follow_through_step): Don't skip on
4708 non-HP/UX targets. Expect the next to only step one line on
4709 non-HP/UX targets, rather than stopping only after the exec.
4710
47112012-11-02 Pedro Alves <palves@redhat.com>
4712
4713 Don't hard code line numbers.
4714
4715 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
4716 Expect text from the sources instead of a line number.
4717 (vfork_parent_follow_to_bp)
4718 (vfork_and_exec_child_follow_to_main_bp)
4719 (vfork_and_exec_child_follow_through_step)
4720 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4721 Use gdb_get_line_number.
4722
47232012-11-02 Pedro Alves <palves@redhat.com>
4724
4725 Modernize.
4726
4727 * gdb.base/foll-vfork.exp: Use standard_testfile and
4728 build_executable. Pass descriptive string to untested.
4729 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
4730 (vfork_and_exec_child_follow_to_main_bp)
4731 (vfork_and_exec_child_follow_through_step)
4732 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
4733 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
4734 of send_gdb/gdb_expect.
4735
4736 (kill_child): New procedure.
4737 (vfork_and_exec_child_follow_to_main_bp)
4738 (vfork_and_exec_child_follow_through_step): Use it.
4739
f0559fff
YQ
47402012-11-02 Yao Qi <yao@codesourcery.com>
4741
4742 * gdb.base/setvar.exp: Test setting nested struct.
4743 * gdb.base/setvar.c (v_struct3): New.
4744
c207c6da
DE
47452012-11-01 Doug Evans <dje@google.com>
4746
4747 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
4748 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
4749 use them.
4750
2f27adfe
AB
47512012-10-31 Andrew Burgess <aburgess@broadcom.com>
4752
4753 PR cli/14772
4754 * gdb.base/gnu_vector.c (union_with_vector_1)
4755 (struct_with_vector_1): Add new struct and union for testing
4756 ptype.
4757 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
4758 structs / unions containing vectors.
4759
bb662ca6
YQ
47602012-10-25 Yao Qi <yao@codesourcery.com>
4761
4762 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
4763 'setup_kfail' instead of 'setup_kfail_for_target'.
4764 * gdb.base/varargs.exp: Likewise.
4765 * lib/gdb.exp (setup_kfail_for_target): Remove.
4766
635d23ff
MK
47672012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
4768
4769 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
4770
afdb064f
MK
47712012-10-25 Mark Kettenis <kettenis@gnu.org>
4772
4773 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
4774
d99dcf51
JB
47752012-10-24 Joel Brobecker <brobecker@adacore.com>
4776
4777 * gdb.ada/set_wstr: New testcase.
4778
32560274
JB
47792012-10-24 Joel Brobecker <brobecker@adacore.com>
4780
4781 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
4782
5ded5331
JB
47832012-10-24 Joel Brobecker <brobecker@adacore.com>
4784
4785 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
4786
d8d84291
MK
47872012-10-24 Mark Kettenis <kettenis@gnu.org>
4788
4789 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
4790
6e933c51
JK
47912012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4792
4793 * gdb.base/callfuncs.exp (do_function_calls): Fix
4794 setup_kfail_for_target for -m32 mode.
4795
274bd000
MK
47962012-10-23 Mark Kettenis <kettenis@gnu.org>
4797
4798 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
4799 are now fixed.
4800
545f743d
YQ
48012012-10-23 Yao Qi <yao@codesourcery.com>
4802
4803 * gdb.base/info-os.exp: Resume the inferior until it exits.
4804
48b56b6a 48052012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
4806
99c7d5a8 4807 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
4808 * gdb.base/print-file-var.exp: Likewise.
4809 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 4810
8de0566d
YQ
48112012-10-17 Yao Qi <yao@codesourcery.com>
4812
4813 * gdb.mi/mi-memory-changed.exp: New.
4814
44883546
YQ
48152012-10-16 Yao Qi <yao@codesourcery.com>
4816
4817 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
4818 returns true.
4819 Call gdb_load_shlibs.
4820 * gdb.reverse/solib-reverse.exp: Likewise.
4821
345f514a
KS
48222012-10-15 Keith Seitz <keiths@redhat.com>
4823
4824 * lib/cp-support.exp (cp_test_ptype_class): Add support
4825 for class typedefs.
4826
4827 * gdb.cp/derivation.exp: Add tests for g_instance.
4828
9e3a7d65
JK
48292012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4830
4831 Fix entry values resolving in inlined frames.
4832 * gdb.arch/amd64-entry-value-inline.S: New file.
4833 * gdb.arch/amd64-entry-value-inline.c: New file.
4834 * gdb.arch/amd64-entry-value-inline.exp: New file.
4835
21a7b089
JK
48362012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4837 Doug Evans <dje@google.com>
4838
4839 Fix recent gdb_breakpoint regression.
4840 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
4841 braces from the parameter.
4842 * gdb.java/jprint.exp: Likewise.
4843
2c47921e
DE
48442012-10-15 Doug Evans <dje@google.com>
4845
4846 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
4847
89398707
JB
48482012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
4849
4850 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
4851
801e4185
TT
48522012-10-15 Tom Tromey <tromey@redhat.com>
4853
4854 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
4855
74f910c8
TT
48562012-10-15 Tom Tromey <tromey@redhat.com>
4857
4858 * gdb.python/py-symbol.exp: Test symbol destructor.
4859
91567807
YQ
48602012-10-14 Yao Qi <yao@codesourcery.com>
4861
4862 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
4863 * gdb.mi/mi-cli.exp: New.
4864
4865 * gdb.mi/mi2-basics.exp: Remove.
4866 * gdb.mi/mi2-break.exp: Remove.
4867 * gdb.mi/mi2-console.exp: Remove.
4868 * gdb.mi/mi2-disassemble.exp: Remove.
4869 * gdb.mi/mi2-eval.exp: Remove.
4870 * gdb.mi/mi2-file.exp: Remove.
4871 * gdb.mi/mi2-hack-cli.exp: Remove.
4872 * gdb.mi/mi2-pthreads.exp: Remove.
4873 * gdb.mi/mi2-read-memory.exp: Remove.
4874 * gdb.mi/mi2-regs.exp: Remove.
4875 * gdb.mi/mi2-return.exp: Remove.
4876 * gdb.mi/mi2-simplerun.exp: Remove.
4877 * gdb.mi/mi2-stack.exp: Remove.
4878 * gdb.mi/mi2-stepi.exp: Remove.
4879 * gdb.mi/mi2-syn-frame.exp: Remove.
4880 * gdb.mi/mi2-until.exp: Remove.
4881 * gdb.mi/mi2-watch.exp: Remove.
4882 * gdb.mi/mi2-var-block.exp: Remove.
4883 * gdb.mi/mi2-var-cmd.exp: Remove.
4884 * gdb.mi/mi2-var-display.exp: Remove.
4885
87332029
YQ
48862012-10-12 Yao Qi <yao@codesourcery.com>
4887
4888 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
4889 trail '.*' on matching patterns.
4890
11fc9057
L
48912012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4892
4893 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
4894 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
4895 * gdb.arch/i386-disp-step.exp: Likewise.
4896 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4897 * gdb.arch/i386-prologue.exp: Likewise.
4898 * gdb.arch/i386-size-overlap.exp: Likewise.
4899 * gdb.arch/i386-size.exp: Likewise.
4900 * gdb.arch/i386-unwind.exp: Likewise.
4901
7d46bcdc
L
49022012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4903
4904 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
4905 * gdb.arch/i386-word.exp: Likewise.
4906
31224d9d
L
49072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4908
4909 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
4910 is_ilp32_target to set nr_regs.
4911 * gdb.arch/i386-sse.exp: Likewise.
4912
5b7d0050
DE
49132012-10-11 Doug Evans <dje@google.com>
4914
7c09e5a0
DE
4915 PR breakpoints/14643.
4916 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
4917 * gdb.linespec/thread.c: New file.
4918 * gdb.linespec/thread.exp: New file.
4919
5b7d0050
DE
4920 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
4921 Recognize "message" -> print pass and fail. Add eof case.
4922 (runto): Recognize message, no-message. Print pass/fail if requested,
4923 with same treatment as gdb_breakpoint.
4924 (runto_main): Pass no-message to runto.
4925 (gdb_internal_error_resync): Add log message.
4926 (gdb_file_cmd): Tweak internal error fail text for consistency.
4927
2e24f4aa
JK
49282012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4929
4930 Fix crash during stepping on ppc32.
4931 * gdb.base/step-symless.c: New file.
4932 * gdb.base/step-symless.exp: New file.
4933
aa14df25
DE
49342012-10-03 Doug Evans <dje@google.com>
4935
4936 PR symtab/14601
4937 * gdb.cp/using-crash.exp: New file.
4938 * gdb.cp/using-crash.cc: New file.
4939
975531db
DE
49402012-10-02 Doug Evans <dje@google.com>
4941
4942 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
4943 more consistent.
4944 (runto,gdb_debug_format): Ditto.
4945 (gdb_file_cmd): Watch for eof in nested gdb_expect.
4946 Clean up logging and error messages.
4947
b3dc46ff
AB
49482012-10-01 Andrew Burgess <aburgess@broadcom.com>
4949
4950 Test find command on unmapped memory.
4951 * gdb.base/find-unmapped.c: New file.
4952 * gdb.base/find-unmapped.exp: New file.
4953
45814d45
YQ
49542012-09-29 Yao Qi <yao@codesourcery.com>
4955
4956 * gdb.trace/mi-tracepoint-changed.exp: New.
4957 * gdb.mi/mi-breakpoint-changed.exp: New.
4958 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
4959 * gdb.mi/pendshr2.c: New.
4960
4c2786ba
YQ
49612012-09-28 Yao Qi <yao@codesourcery.com>
4962
4963 * gdb.mi/pr11022.exp: New.
4964 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
4965
7977e5d2
TT
49662012-09-27 Tom Tromey <tromey@redhat.com>
4967
4968 * gdb.cp/derivation.exp: Add regression test.
4969 * gdb.cp/derivation.cc (class V_base, class V_inter, class
4970 V_derived): New.
4971 (vderived): New global.
4972
0971de02
TT
49732012-09-26 Tom Tromey <tromey@redhat.com>
4974
4975 * gdb.dwarf2/dw2-common-block.S: New file.
4976 * gdb.dwarf2/dw2-common-block.exp: New file.
4977
4357ac6c
TT
49782012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4979
4980 * gdb.fortran/common-block.exp: New file.
4981 * gdb.fortran/common-block.f90: New file.
4982
6f380991
AB
49832012-09-26 Andrew Burgess <aburgess@broadcom.com>
4984
4985 * gdb.base/duplicate-bp.c: New file.
4986 * gdb.base/duplicate-bp.exp: New file.
4987
8ae551cf
YQ
49882012-09-26 Yao Qi <yao@codesourcery.com>
4989
4990 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
4991
4992 Revert:
4993 2012-09-21 Yao Qi <yao@codesourcery.com>
4994
4995 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4996
318102b9
SP
49972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4998
4999 * gdb.base/longest-types.c: New test case.
5000 * gdb.base/longest-types.exp: New test case.
5001
a1e5fd69
YQ
50022012-09-25 Yao Qi <yao@codesourcery.com>
5003
5004 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
5005
04e7407c
JK
50062012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5007
5008 Fix internal error on canonicalization of clang types.
5009 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
5010 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
5011 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
5012
9bf4bce9
JK
50132012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5014
5015 Fix disassemble without parameters in tailcall frame.
5016 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
5017
2603f7ee
AB
50182012-09-21 Andrew Burgess <aburgess@broadcom.com>
5019
5020 * gdb.dwarf2/dw2-op-out-param.S: New file.
5021 * gdb.dwarf2/dw2-op-out-param.exp: New file.
5022
a3569abd
YQ
50232012-09-21 Yao Qi <yao@codesourcery.com>
5024
5025 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
5026
a065d7af
YQ
50272012-09-21 Yao Qi <yao@codesourcery.com>
5028
5029 * gdb.mi/mi-cli.exp: Remove.
5030 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
5031
15544bd9
YQ
50322012-09-21 Yao Qi <yao@codesourcery.com>
5033
5034 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
5035 "=record-started" notification.
5036
82a90ccf
YQ
50372012-09-21 Yao Qi <yao@codesourcery.com>
5038
5039 * gdb.mi/mi-record-changed.exp: New.
5040 * gdb.mi/mi-reverse.exp: Adjust expected output.
5041
d7de8e3c
TT
50422012-09-20 Tom Tromey <tromey@redhat.com>
5043
5044 * gdb.python/python.exp: Test atexit.register.
5045
1aa99537
DE
50462012-09-20 Doug Evans <dje@google.com>
5047
05eade73
DE
5048 * boards/dwarf4-gdb-index.exp: New file.
5049
1aa99537
DE
5050 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
5051 while running the tests.
5052
4ae24af0
JB
50532012-09-18 Joel Brobecker <brobecker@adacore.com>
5054
5055 * gdb.ada/bp_reset: New testcase.
5056
bb25a15c
YQ
50572012-09-18 Yao Qi <yao@codesourcery.com>
5058
5059 * gdb.trace/mi-tsv-changed.exp: New.
5060
201b4506
YQ
50612012-09-18 Yao Qi <yao@codesourcery.com>
5062
5063 * gdb.trace/mi-traceframe-changed.exp: New.
5064
6fc1c773
YQ
50652012-09-17 Yao Qi <yao@codesourcery.com>
5066
5067 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
5068 when it is less than 0.
5069
1ab3b62c
JK
50702012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5071
5072 PR 14119
5073 * gdb.arch/amd64-tailcall-ret.S: New file.
5074 * gdb.arch/amd64-tailcall-ret.c: New file.
5075 * gdb.arch/amd64-tailcall-ret.exp: New file.
5076 * gdb.reverse/amd64-tailcall-reverse.S: New file.
5077 * gdb.reverse/amd64-tailcall-reverse.c: New file.
5078 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
5079
acf9414f
JK
50802012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5081
5082 PR 14548
5083 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
5084 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
5085 * gdb.reverse/singlejmp-reverse.S: New file.
5086 * gdb.reverse/singlejmp-reverse.c: New file.
5087 * gdb.reverse/singlejmp-reverse.exp: New file.
5088
666b578b
JK
50892012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5090
5091 Fix compatibility with old GCC (~4.1).
5092 * gdb.cp/converts.cc (my_enum_var): New variable.
5093
42056501
AB
50942012-09-14 Andrew Burgess <aburgess@broadcom.com>
5095
5096 * gdb.xml/tdesc-regs.exp: Update expected output for new
5097 vector_size syntax of vector types.
5098
b9516fa1
YPK
50992012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
5100
5101 Refactor Python "gdb" module into a proper Python package, by
5102 introducing a new "_gdb" module for code implemented in C, and
5103 using reload/__import__ instead of exec.
5104 * gdb.python/python.exp (Test stderr location): Update module
5105 location of GDB-specific sys.stderr.
5106 (Test stdout location): Ditto for sys.stdout.
5107
18dc9ad8
JK
51082012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5109
5110 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
5111
ea3a9873
KS
51122012-09-12 Keith Seitz <keiths@redhat.com>
5113
5114 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
5115 conversion statement.
5116
5941debb
DE
51172012-09-12 Doug Evans <dje@google.com>
5118
5119 * gdb.base/help.exp: Remove testing of individual command help text,
5120 too much of a maintenance burden. Instead, test the functionality
5121 of "help" itself.
5122
cfc35e02
DE
51232012-09-11 Doug Evans <dje@google.com>
5124
3a0ed5d7
DE
5125 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
5126 breakpoint.
5127
cfc35e02
DE
5128 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
5129 * gdb.dwarf2/fission-reread.S: Ditto.
5130 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
5131 * gdb.dwarf2/fission-reread.exp: Ditto.
5132
350b1b26
AB
51332012-09-11 Andrew Burgess <aburgess@broadcom.com>
5134
5135 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
5136
2fa15f23
JB
51372012-09-10 Joel Brobecker <brobecker@adacore.com>
5138
5139 * gdb.ada/optim_drec: New testcase.
5140
09be558e
DE
51412012-09-10 Doug Evans <dje@google.com>
5142
5143 * boards/fission.exp: Explicitly mark "board" as not remote.
5144
5b4f6e25
KS
51452012-09-10 Keith Seitz <keiths@redhat.com>
5146
5147 PR gdb/13483
5148 * gdb.cp/converts.cc (A::A): Add ctor.
5149 (A::member_): Add member.
5150 (enum my_enum): New enumeration.
5151 (main): Add calls to foo1_7 with various
5152 permitted arguments.
5153 * gdb.cp/converts.exp: Add tests for boolean
5154 conversions permitted by the standard.
5155
b4ca5ed9
YPK
51562012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
5157
5158 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
5159 avoid spurious results due to ~/.gdbinit.
5160 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
5161 $INTERNAL_GDBFLAGS in run command.
5162 * gdb.gdb/observer.exp (setup_test): Ditto.
5163 * gdb.gdb/selftest.exp (test_with_self): Ditto.
5164 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
5165
d54b30bb
DE
51662012-09-06 Doug Evans <dje@google.com>
5167
14910956
DE
5168 * boards/fission.exp: New file.
5169
d54b30bb
DE
5170 * gdb.python/py-value.exp: Use clean_restart.
5171
91b253e1
DE
51722012-09-05 Doug Evans <dje@google.com>
5173
5174 * gdb.base/info-macros.c: Fix whitespace.
5175
1292279a
PA
51762012-08-28 Pedro Alves <palves@redhat.com>
5177
5178 PR gdb/14428
5179
5180 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
5181
1c8cdcb1
JK
51822012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5183
5184 * gdb.base/break-caller-line.c: New file.
5185 * gdb.base/break-caller-line.exp: New file.
5186
1e8e8b51
JK
51872012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5188
5189 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
5190 * gdb.arch/i386-cfi-notcurrent.S: New file.
5191 * gdb.arch/i386-cfi-notcurrent.exp: New file.
5192
1591a1e8
PA
51932012-08-27 Wei-cheng Wang <cole945@gmail.com>
5194 Yao Qi <yao@codesourcery.com>
5195 Pedro Alves <palves@redhat.com>
5196
5197 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
5198 New procedures.
5199 (top level): Add overlap checking tests.
5200
4442ada7
TT
52012012-08-24 Tom Tromey <tromey@redhat.com>
5202
5203 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
5204 gdb_test_multiple fails for other reasons.
5205
e7d50cc9
YQ
52062012-08-24 Yao Qi <yao@codesourcery.com>
5207
5208 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
5209
dfbd5e7b
PA
52102012-08-23 Pedro Alves <palves@redhat.com>
5211
5212 * gdb.base/help.exp: Adjust to "handle" help text change.
5213
8d735b87
YQ
52142012-08-23 Yao Qi <yao@codesourcery.com>
5215
5216 * gdb.trace/disconnected-tracing.c (start, end): New.
5217 (main): Call start and end.
5218 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
5219 existing tests into this proc.
5220 (disconnected_tfind): New.
5221
61b1d759
YQ
52222012-08-23 Yao Qi <yao@codesourcery.com>
5223
5224 * boards/native-gdbserver.exp (${board}_upload): New.
5225 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
5226 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
5227 Execute tfile on remote target.
5228 Copy trace file from target to host.
5229
6ca1b147
JM
52302012-08-22 Joseph Myers <joseph@codesourcery.com>
5231
5232 * gdb.arch/thumb-bx-pc.S: New file.
5233 * gdb.arch/thumb-bx-pc.exp: New file.
5234
706e3705
TT
52352012-08-22 Tom Tromey <tromey@redhat.com>
5236
5237 * gdb.base/maint.exp: Update.
5238
b4893d48
TT
52392012-08-22 Tom Tromey <tromey@redhat.com>
5240
5241 * lib/gdb.exp (skip_unwinder_tests): New proc.
5242 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
5243 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
5244
45b7da81
TT
52452012-08-21 Tom Tromey <tromey@redhat.com>
5246
5247 * gdb.hp/gdb.aCC/exception.exp: Remove.
5248
f94363d7
AP
5249012-08-19 Andrew Pinski <apinski@cavium.com>
5250
5251 * gdb.arch/mips-octeon-bbit.c: New file.
5252 * gdb.arch/mips-octeon-bbit.exp: New Test.
5253
e5afdbd7
KS
5254012-08-19 Keith Seitz <keiths@redhat.com>
5255
5256 PR c++/14365
5257 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
5258 * gdb.dwarf2/dw2-anon-mptr.S: New file.
5259
c29e8b64
JK
52602012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5261
5262 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
5263 verbose -log by more specific untested call.
5264
15a7e7bc
YQ
52652012-08-18 Yao Qi <yao@codesourcery.com>
5266
5267 * gdb.trace/tfind.exp: Move tests on various command help before
5268 checking target supports trace.
5269 Fix the expected output of 'help tfind end'.
5270
a451cb65
KS
52712012-08-17 Keith Seitz <keiths@redhat.com>
5272
5273 PR c++/13356
5274 * gdb.base/default.exp: Update all "check type" tests.
5275 * gdb.base/help.exp: Likewise.
5276 * gdb.base/setshow.exp: Likewise.
5277 * gdb.cp/converts.cc (foo1_type_check): New function.
5278 (foo2_type_check): New function.
5279 (foo3_type_check): New function.
5280 (main): Call new functions.
5281 * converts.exp: Add tests for integer-to-pointer conversions
5282 with/without strict type-checking.
5283
dbf6a605
MF
52842012-08-16 Mike Frysinger <vapier@gentoo.org>
5285
5286 * gdb.base/help.exp: Update expected output.
5287
0c92d8c1
JB
52882012-08-16 Joel Brobecker <brobecker@adacore.com>
5289
5290 * gdb.ada/rdv_wait: New testcase.
5291
e56f7f42
JK
52922012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5293
5294 * gdb.base/attach-twice.exp: Remove excessive ps exec.
5295
f47f77df
DE
52962012-08-13 Doug Evans <dje@google.com>
5297
e202d6e8 5298 * gdb.base/help.exp: Update expected output.
f47f77df
DE
5299 * gdb.base/default.exp: Update expected output of "show convenience".
5300
a72c3253
DE
53012012-08-10 Doug Evans <dje@google.com>
5302
5303 * gdb.python/py-strfns.c: New file.
5304 * gdb.python/py-strfns.exp: New file.
5305 * gdb.python/py-type.exp (test_fields): Add vector tests.
5306
de0bea00
MF
53072012-08-10 Mike Frysinger <vapier@gentoo.org>
5308
5309 PR cli/10436:
5310 * gdb.base/completion.exp: Add tests for handle completion.
5311
5b9afe8a
YQ
53122012-08-09 Yao Qi <yao@codesourcery.com>
5313
5314 * gdb.mi/mi-cmd-param-changed.exp: New.
5315 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
5316 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
5317 * gdb.mi/mi2-prompt.exp: Likewise.
5318
4f485ebc
DE
53192012-08-08 Doug Evans <dje@google.com>
5320
5321 * gdb.base/debug-expr.c: New file.
5322 * gdb.base/debug-expr.exp: New file.
5323 * gdb.base/exprs.exp: Test {type} casts.
5324 * gdb.cp/debug-expr.exp: New file.
5325
5888842d
JK
53262012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5327
5328 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
5329 global variable loop, not a 'break'. Add loop count limit to 100.
5330 Add new fail case for terminated vgdb.
5331
4f69f4c2
JK
53322012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5333 Jean-Marc Saffroy <saffroy@gmail.com>
5334
5335 PR 11804
5336 * gdb.base/gcore-relro.exp: New file.
5337 * gdb.base/gcore-relro-main.c: New file.
5338 * gdb.base/gcore-relro-lib.c: New file.
5339
e2de5390
JK
53402012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5341
5342 Do not false FAIL with old GCCs.
5343 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
5344 GCC < 4.5 in $no_hw mode.
5345
606603c5
JK
53462012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5347
5348 * gdb.base/default.exp (cd): Accept new directory with no arguments.
5349
777f26c2
JK
53502012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5351
5352 * gdb.base/list.exp (test_only_end): New function.
5353 Call it.
5354
2c12abee
TT
53552012-08-06 Tom Tromey <tromey@redhat.com>
5356
5357 * gdb.python/py-mi.exp: Add test for printer whose children
5358 are a list.
5359 * gdb.python/py-prettyprint.c (struct children_as_list): New.
5360 (main): New variable children_as_list.
5361 * gdb.python/py-prettyprint.py (class pp_children_as_list):
5362 New.
5363 (register_pretty_printers): Register new printer.
5364
0eae2cf4
EBM
53652012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5366
5367 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
5368 symbols. Abort if vgdb remote connection is closed.
5369
09e0881d
DE
53702012-08-02 Doug Evans <dje@google.com>
5371
5372 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
5373
b40f514f
SDJ
53742012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
5375
5376 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
5377 s390x, PowerPC 64 and m68k-linux.
5378
11315ae0
UW
53792012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5380
5381 * gdb.base/annota1.exp: Accept no frames-invalid notification
5382 when starting up the program.
5383 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
5384 show a symbolic value as well.
5385 * gdb.server/server-exec-info.exp: Skip test when skipping
5386 gdbserver test and/or when skipping shared library tests.
5387 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
5388 avoid name conflicts with other tests.
5389
0547eeed
UW
53902012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5391
5392 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
5393 Fix wrong output on big-endian systems.
5394 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
5395 4-byte pointer types on 64-bit s390x.
5396
bdddb4de
UW
53972012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5398
5399 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
5400 marker comment at the beginning (after intialization).
5401 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
5402 breakpoint on marker comment instead of function begin.
5403 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
5404 PowerPC.
5405 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
5406 or 64-bit PowerPC.
5407 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
5408 gdb,no_hardware_watchpoints flag is set.
5409 (initialize): Remove now redundant can-use-hw-watchpoints change.
5410
5d206025
YQ
54112012-08-02 Yao Qi <yao@codesourcery.com>
5412 Pedro Alves <palves@redhat.com>
5413
5414 * boards/local-remote-host.exp: New.
5415
4f665099
UW
54162012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5417
5418 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
5419 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
5420 * gdb.base/print-file-var.exp: Likewise.
5421 * gdb.server/solib-list.exp: Skip on remote targets.
5422
b62e2b27
UW
54232012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5424
5425 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
5426 watchpoints on ARM. When expecting software watchpoints, tolerate
5427 (remote) targets that report unsupported hardware watchpoint only
5428 at continue time.
5429 (test_wide_location_2): Likewise.
5430
a967a851
JK
54312012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5432
5433 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
5434 valgrind versions.
5435
75d9f9ff 54362012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
5437
5438 * gdb.base/valgrind-infcall.c: New file.
5439 * gdb.base/valgrind-infcall.exp: New file.
5440
75d9f9ff
JK
5441 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
5442
1c9f2ed2
KS
54432012-07-30 Keith Seitz <keiths@redhat.com>
5444
5445 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
5446 linespecs.
5447
7f9b2034
DE
54482012-07-30 Doug Evans <dje@google.com>
5449
85220e01
DE
5450 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
5451 * gdb.dwarf2/pr13961.S: Ditto.
5452
7f9b2034
DE
5453 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
5454
4e969b4f
AB
54552012-07-30 Andrew Burgess <aburgess@broadcom.com>
5456
5457 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
5458 change its format immediately after reloading the binary.
5459
e7de8362
JK
54602012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5461
5462 Fix testsuite regression after --use-deprecated-index-sections removal.
5463 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
5464 string.
5465 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
5466
7255706c
YQ
54672012-07-27 Yao Qi <yao@codesourcery.com>
5468
5469 KFAIL for PR remote/14161.
5470 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
5471 Cleanup socket files.
5472 (strace_info_marker): Detach inferior.
5473
f2e8016f
TT
54742012-07-26 Tom Tromey <tromey@redhat.com>
5475
6fdff2c5 5476 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 5477
f66713d2
JK
54782012-07-26 Markus Metzger <markus.t.metzger@intel.com>
5479
5480 * gdb.python/py-inferior.c (thread): New function.
5481 (check_threads): New function.
5482 (test_threads): New function.
5483 * gdb.python/py-inferior.exp: Added test.
5484 Replaced runto with continue to breakpoint.
5485
8223e12c
TT
54862012-07-26 Tom Tromey <tromey@redhat.com>
5487
5488 * lib/ada.exp (standard_ada_testfile): New proc.
5489 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
5490 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
5491 * gdb.ada/array_return.exp: Use standard_ada_testfile.
5492 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
5493 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
5494 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
5495 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
5496 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
5497 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
5498 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
5499 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
5500 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
5501 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
5502 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
5503 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
5504 * gdb.ada/char_param.exp: Use standard_ada_testfile.
5505 * gdb.ada/complete.exp: Use standard_ada_testfile.
5506 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
5507 standard_output_file.
5508 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
5509 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
5510 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
5511 standard_output_file.
5512 * gdb.ada/exprs.exp: Use standard_ada_testfile.
5513 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
5514 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
5515 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
5516 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
5517 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
5518 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
5519 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
5520 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
5521 * gdb.ada/homonym.exp: Use standard_ada_testfile.
5522 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
5523 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
5524 * gdb.ada/interface.exp: Use standard_ada_testfile.
5525 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
5526 standard_output_file
5527 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
5528 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
5529 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
5530 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
5531 * gdb.ada/nested.exp: Use standard_ada_testfile.
5532 * gdb.ada/null_array.exp: Use standard_ada_testfile.
5533 * gdb.ada/null_record.exp: Use standard_ada_testfile.
5534 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
5535 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
5536 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
5537 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
5538 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
5539 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
5540 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
5541 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
5542 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
5543 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
5544 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
5545 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
5546 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
5547 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
5548 * gdb.ada/start.exp: Use standard_ada_testfile.
5549 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
5550 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
5551 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
5552 * gdb.ada/tagged.exp: Use standard_ada_testfile.
5553 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
5554 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
5555 * gdb.ada/tasks.exp: Use standard_ada_testfile.
5556 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
5557 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
5558 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
5559 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
5560 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
5561 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
5562 * gdb.ada/widewide.exp: Use standard_ada_testfile.
5563
bbec57e4
JK
55642012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5565
5566 Fix testsuite regression after --use-deprecated-index-sections removal.
5567 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
5568
9cc8e32c
JK
55692012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5570
5571 Fix compatibility with Tcl before 7.5.
5572 * lib/future.exp (lreverse): New function if it does not exist.
5573
ea5ca7b5
MK
55742012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
5575
5576 * gdb.mi/mi-pending.c: New method to set a second pending
5577 breakpoint.
5578 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
5579 condition.
5580
64776a0b
PA
55812012-07-20 Pedro Alves <palves@redhat.com>
5582
5583 PR threads/11692
5584 PR gdb/12203
5585
5586 * gdb.threads/create-fail.c: New file.
5587 * gdb.threads/create-fail.exp: New file.
5588
13e4e967
PA
55892012-07-19 Pedro Alves <palves@redhat.com>
5590
5591 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
5592 * config/vx.exp (gdb_start): Likewise.
5593 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
5594 * gdb.base/setvar.exp (test_set): Likewise.
5595 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
5596 * gdb.reverse/sigall-precsave.exp: Likewise.
5597 * gdb.reverse/sigall-reverse.exp: Likewise.
5598
b7aefa4d
PA
55992012-07-19 Pedro Alves <palves@redhat.com>
5600
5601 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
5602 handler before recording.
5603
608b4967
TT
56042012-07-19 Tom Tromey <tromey@redhat.com>
5605
5606 * gdb.cp/casts.exp: Add tests for typeof and decltype.
5607 * gdb.cp/casts.cc (decltype): New function.
5608 (main): Use it.
5609
b1e0c0fa
PA
56102012-07-19 Pedro Alves <palves@redhat.com>
5611
5612 * gdb.base/sigall.exp (signals): New list.
5613 <top level>: Loop over signals in the $signals list instead of
5614 calling a test function once per signal.
5615 * gdb.reverse/sigall-precsave.exp (signals): New list.
5616 <top level>: Loop over signals in the $signals list instead of
5617 calling a test function once per signal.
5618 * gdb.reverse/sigall-reverse.exp (signals): New list.
5619 <top level>: Loop over signals in the $signals list instead of
5620 calling a test function once per signal.
5621
6ace3df1
YQ
56222012-07-19 Yao Qi <yao@codesourcery.com>
5623
5624 * gdb.base/setshow.exp: Test 'set args ~'.
5625
263a0f8c
JK
56262012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5627
5628 * gdb.base/store.exp (check_set): Import gdb_prompt.
5629 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
5630 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
5631
8f043999
JK
56322012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5633
5634 PR 11914
5635 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
5636 (main): Call eval_sub.
5637 * gdb.python/py-prettyprint.exp:
5638 (python execfile ('py-prettyprint.py')): Move it earlier.
5639 New breakpoint for eval-break.
5640 (continue to breakpoint: eval-break, info locals): New test.
5641 (python execfile ('py-prettyprint.py')): Move it from here.
5642 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
5643 (register_pretty_printers): Register pp_eval_type.
5644
725c7b66
JK
56452012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5646
5647 Fix a testcase regression by me.
5648 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
5649 DW_FORM_data4.
5650
4359dff1
JK
56512012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5652 Doug Evans <dje@google.com>
5653
5654 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
5655 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
5656
61e44cfa
JK
56572012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5658
5659 Fix gdbserver run regression.
5660 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
5661
93c0ef37
TT
56622012-07-12 Tom Tromey <tromey@redhat.com>
5663
5664 * lib/gdb.exp (standard_testfile): Don't declare objdir.
5665 (clean_restart): Likewise.
5666 (core_find): Use standard_output_file.
5667
76027ef5
TT
56682012-07-12 Tom Tromey <tromey@redhat.com>
5669
5670 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
5671 * gdb.dwarf2/dw2-anonymous-func.exp: Use
5672 prepare_for_testing_full.
5673 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
5674 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
5675 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
5676 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
5677 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
5678 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
5679 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
5680 prepare_for_testing_full.
5681 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
5682 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
5683 prepare_for_testing_full.
5684 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
5685 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
5686 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
5687
85b4440a
TT
56882012-07-12 Tom Tromey <tromey@redhat.com>
5689
5690 * lib/gdb.exp (build_executable_from_specs): New proc, from
5691 build_executable.
5692 (build_executable): Use it.
5693 (prepare_for_testing_full): New proc.
5694
55baab26
TT
56952012-07-11 Tom Tromey <tromey@redhat.com>
5696
5697 * gdb.reverse/break-precsave.exp: Use standard_output_file.
5698 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
5699 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
5700 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
5701 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
5702 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
5703 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
5704 * gdb.reverse/step-precsave.exp: Use standard_output_file.
5705 * gdb.reverse/until-precsave.exp: Use standard_output_file.
5706 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
5707
298a9cf0
TT
57082012-07-10 Tom Tromey <tromey@redhat.com>
5709
5710 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
5711 standard_output_file.
5712 * gdb.mi/gdb2549.exp: Use standard_testfile.
5713 * gdb.mi/gdb669.exp: Use standard_testfile.
5714 * gdb.mi/gdb701.exp: Use standard_testfile.
5715 * gdb.mi/gdb792.exp: Use standard_testfile.
5716 * gdb.mi/mi-async.exp: Use standard_testfile.
5717 * gdb.mi/mi-basics.exp: Use standard_testfile.
5718 * gdb.mi/mi-break.exp: Use standard_testfile.
5719 * gdb.mi/mi-cli.exp: Use standard_testfile.
5720 * gdb.mi/mi-console.exp: Use standard_testfile.
5721 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
5722 * gdb.mi/mi-eval.exp: Use standard_testfile.
5723 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
5724 * gdb.mi/mi-file.exp: Use standard_testfile.
5725 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
5726 * gdb.mi/mi-logging.exp: Use standard_testfile.
5727 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
5728 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
5729 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
5730 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
5731 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
5732 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
5733 * gdb.mi/mi-pending.exp: Use standard_testfile,
5734 standard_output_file.
5735 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
5736 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
5737 * gdb.mi/mi-regs.exp: Use standard_testfile.
5738 * gdb.mi/mi-return.exp: Use standard_testfile.
5739 * gdb.mi/mi-reverse.exp: Use standard_testfile.
5740 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
5741 * gdb.mi/mi-solib.exp: Use standard_testfile,
5742 standard_output_file.
5743 * gdb.mi/mi-stack.exp: Use standard_testfile.
5744 * gdb.mi/mi-stepi.exp: Use standard_testfile.
5745 * gdb.mi/mi-stepn.exp: Use standard_testfile.
5746 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
5747 * gdb.mi/mi-until.exp: Use standard_testfile.
5748 * gdb.mi/mi-var-block.exp: Use standard_testfile.
5749 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
5750 * gdb.mi/mi-var-child.exp: Use standard_testfile.
5751 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
5752 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
5753 * gdb.mi/mi-var-display.exp: Use standard_testfile.
5754 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
5755 standard_output_file.
5756 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
5757 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
5758 * gdb.mi/mi-watch.exp: Use standard_testfile.
5759 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
5760 * gdb.mi/mi2-basics.exp: Use standard_testfile.
5761 * gdb.mi/mi2-break.exp: Use standard_testfile.
5762 * gdb.mi/mi2-cli.exp: Use standard_testfile.
5763 * gdb.mi/mi2-console.exp: Use standard_testfile.
5764 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
5765 * gdb.mi/mi2-eval.exp: Use standard_testfile.
5766 * gdb.mi/mi2-file.exp: Use standard_testfile.
5767 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
5768 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
5769 * gdb.mi/mi2-regs.exp: Use standard_testfile.
5770 * gdb.mi/mi2-return.exp: Use standard_testfile.
5771 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
5772 * gdb.mi/mi2-stack.exp: Use standard_testfile.
5773 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
5774 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
5775 * gdb.mi/mi2-until.exp: Use standard_testfile.
5776 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
5777 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
5778 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
5779 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
5780 * gdb.mi/mi2-watch.exp: Use standard_testfile.
5781
f5f3a911
TT
57822012-07-10 Tom Tromey <tromey@redhat.com>
5783
5784 * gdb.cp/abstract-origin.exp: Use standard_testfile.
5785 * gdb.cp/ambiguous.exp: Use standard_testfile,
5786 prepare_for_testing.
5787 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
5788 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
5789 * gdb.cp/anon-ns.exp: Use standard_testfile.
5790 * gdb.cp/anon-struct.exp: Use standard_testfile.
5791 * gdb.cp/anon-union.exp: Use standard_testfile,
5792 prepare_for_testing.
5793 * gdb.cp/arg-reference.exp: Use standard_testfile,
5794 prepare_for_testing.
5795 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
5796 * gdb.cp/breakpoint.exp: Use standard_testfile,
5797 prepare_for_testing.
5798 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
5799 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
5800 standard_output_file.
5801 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
5802 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
5803 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
5804 (test_static_members): Update.
5805 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
5806 * gdb.cp/converts.exp: Use standard_testfile.
5807 * gdb.cp/cp-relocate.exp: Use standard_testfile.
5808 * gdb.cp/cpcompletion.exp: Use standard_testfile,
5809 prepare_for_testing.
5810 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
5811 * gdb.cp/cplabel.exp: Use standard_testfile.
5812 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
5813 prepare_for_testing.
5814 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
5815 * gdb.cp/derivation.exp: Use standard_testfile,
5816 prepare_for_testing.
5817 * gdb.cp/destrprint.exp: Use standard_testfile.
5818 * gdb.cp/dispcxx.exp: Use standard_testfile.
5819 * gdb.cp/exception.exp: Use standard_testfile,
5820 prepare_for_testing.
5821 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
5822 * gdb.cp/extern-c.exp: Use standard_testfile,
5823 prepare_for_testing.
5824 * gdb.cp/formatted-ref.exp: Use standard_testfile,
5825 prepare_for_testing.
5826 * gdb.cp/fpointer.exp: Use standard_testfile.
5827 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
5828 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
5829 standard_output_file.
5830 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
5831 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
5832 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
5833 standard_output_file.
5834 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
5835 (do_tests): Update.
5836 * gdb.cp/koenig.exp: Use standard_testfile.
5837 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
5838 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
5839 * gdb.cp/m-static.exp: Use standard_testfile,
5840 prepare_for_testing.
5841 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
5842 * gdb.cp/mb-inline.exp: Use standard_testfile,
5843 prepare_for_testing.
5844 * gdb.cp/mb-templates.exp: Use standard_testfile,
5845 prepare_for_testing.
5846 * gdb.cp/member-ptr.exp: Use standard_testfile,
5847 prepare_for_testing.
5848 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
5849 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
5850 * gdb.cp/method2.exp: Use standard_testfile.
5851 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
5852 standard_output_file.
5853 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
5854 (do_tests): Update.
5855 * gdb.cp/namespace-enum.exp: Use standard_testfile,
5856 prepare_for_testing.
5857 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
5858 prepare_for_testing.
5859 * gdb.cp/namespace.exp: Use standard_testfile,
5860 prepare_for_testing.
5861 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
5862 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
5863 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
5864 * gdb.cp/nsimport.exp: Use standard_testfile,
5865 prepare_for_testing.
5866 * gdb.cp/nsnested.exp: Use standard_testfile.
5867 * gdb.cp/nsnoimports.exp: Use standard_testfile.
5868 * gdb.cp/nsrecurs.exp: Use standard_testfile,
5869 prepare_for_testing.
5870 * gdb.cp/nsstress.exp: Use standard_testfile,
5871 prepare_for_testing.
5872 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
5873 * gdb.cp/operator.exp: Use standard_testfile.
5874 * gdb.cp/oranking.exp: Use standard_testfile.
5875 * gdb.cp/overload-const.exp: Use standard_testfile.
5876 * gdb.cp/overload.exp: Use standard_testfile,
5877 prepare_for_testing.
5878 * gdb.cp/ovldbreak.exp: Use standard_testfile.
5879 * gdb.cp/ovsrch.exp: Use standard_testfile.
5880 * gdb.cp/paren-type.exp: Use standard_testfile.
5881 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
5882 prepare_for_testing.
5883 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
5884 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
5885 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
5886 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
5887 * gdb.cp/pr10728.exp: Use standard_testfile,
5888 standard_output_file.
5889 * gdb.cp/pr12028.exp: Use standard_testfile.
5890 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
5891 * gdb.cp/pr9167.exp: Use standard_testfile.
5892 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
5893 * gdb.cp/printmethod.exp: Use standard_testfile,
5894 prepare_for_testing.
5895 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
5896 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
5897 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
5898 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
5899 standard_output_file.
5900 * gdb.cp/readnow-language.exp: Use standard_testfile.
5901 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
5902 (gdb_start_again): Use clean_restart.
5903 * gdb.cp/ref-types.exp: Use standard_testfile,
5904 prepare_for_testing.
5905 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
5906 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
5907 * gdb.cp/smartp.exp: Use standard_testfile.
5908 * gdb.cp/static-method.exp: Use standard_testfile.
5909 * gdb.cp/static-print-quit.exp: Use standard_testfile.
5910 * gdb.cp/temargs.exp: Use standard_testfile.
5911 * gdb.cp/templates.exp: Use standard_testfile,
5912 prepare_for_testing.
5913 (do_tests): Update.
5914 * gdb.cp/try_catch.exp: Use standard_testfile,
5915 prepare_for_testing.
5916 * gdb.cp/typedef-operator.exp: Use standard_testfile.
5917 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
5918 * gdb.cp/virtbase.exp: Use standard_testfile,
5919 prepare_for_testing.
5920 * gdb.cp/virtfunc.exp: Use standard_testfile,
5921 prepare_for_testing.
5922 (do_tests): Update.
5923 * gdb.cp/virtfunc2.exp: Use standard_testfile,
5924 prepare_for_testing.
5925
686f09d0
TT
59262012-07-10 Tom Tromey <tromey@redhat.com>
5927
5928 * lib/gdb.exp (standard_testfile): Unset output variables from
5929 earlier invocations.
5930
9357e021
YQ
59312012-07-10 Yao Qi <yao@codesourcery.com>
5932
5933 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
5934 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
5935 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
5936 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
5937 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
5938 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
5939 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
5940 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
5941 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
5942 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
5943 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
5944 * gdb.mi/mi-var-display.exp: Likewise.
5945 * gdb.mi/mi-var-invalidate.exp: Likewise.
5946 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
5947 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
5948 * gdb.mi/mi2-console.exp: Likewise.
5949 * gdb.mi/mi2-disassemble.exp: Likewise.
5950 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
5951 * gdb.mi/mi2-read-memory.exp: Likewise.
5952 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
5953 * gdb.mi/mi2-simplerun.exp: Likewise.
5954 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
5955 * gdb.mi/mi2-syn-frame.exp: Likewise.
5956 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
5957 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
5958 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
5959
e314d629
TT
59602012-07-09 Tom Tromey <tromey@redhat.com>
5961
5962 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
5963 * gdb.base/callfuncs.exp: Add cast-based test.
5964 * gdb.base/callfuncs.c (voidfunc): New function.
5965
06928b3f
DE
59662012-07-08 Doug Evans <dje@google.com>
5967
5968 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
5969
32f11bad
JK
59702012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5971
5972 Fix XFAIL compatibility with old i386 systems.
5973 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
5974 Check also 'Cannot insert breakpoint 0'.
5975
76b83c51
JK
59762012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5977
5978 PR 14321
5979 * gdb.base/find.exp
5980 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
5981
a6fb9c08
TT
59822012-07-06 Tom Tromey <tromey@redhat.com>
5983
5984 * gdb.base/whatis.exp: Add test.
5985
71918a86
TT
59862012-07-06 Tom Tromey <tromey@redhat.com>
5987
5988 * gdb.base/whatis.exp: Add regression test.
5989
fcde5961
TT
59902012-07-06 Tom Tromey <tromey@redhat.com>
5991
5992 * gdb.base/whatis.exp: Add tests.
5993
f9cf0f4a
JK
59942012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5995
5996 PR 12649
5997 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
5998 gdb_test_multiple $gdb_prompt terminator.
5999
979ade8b
PA
60002012-07-04 Pedro Alves <palves@redhat.com>
6001
6002 * gdb.mi/mi-reverse.exp: Use supports_reverse and
6003 supports_process_record.
6004
8a980b44
PA
60052012-07-04 Pedro Alves <palves@redhat.com>
6006
6007 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
6008 endings.
6009 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
6010
855ba978
SS
60112012-07-03 Stan Shebs <stan@codesourcery.com>
6012
6013 * gdb.base/info-os.c (main): Retry resource acquisition until an
6014 available one is found.
6015 * gdb.base/info-os.exp: Collect resource keys from the program
6016 and use them in matching.
6017
fcb44371
JK
60182012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6019
6020 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
6021 Wrap the test into loop for corefile and core0file.
6022
08a67be6
JK
60232012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6024
6025 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
6026 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
6027 .note.GNU-stack.
6028
0f3c2347
JK
6029 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
6030
ff4a4500
SDJ
60312012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
6032
6033 * gdb.base/help.exp (help b, help br, help bre, help brea, help
6034 break): Include help message for the new `-probe' and `-probe-stap'
6035 options.
6036
d3ce09f5
SS
60372012-07-02 Stan Shebs <stan@codesourcery.com>
6038
6039 * gdb.base/dprintf.exp: Add agent style tests.
6040
a1624241
JK
60412012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6042
6043 * gdb.base/stale-infcall.c (infcall): New label test-next.
6044 (main): New labels test-pass and test-fail.
6045 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
6046 $test_fail_bpnum to test-fail.
6047 (test system longjmp tracking support): New test.
6048 Delete $test_fail_bpnum.
6049 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
6050 breakpoint.
6051
42e7ad6c
DE
60522012-06-30 Doug Evans <dje@google.com>
6053
6054 * gdb.dwarf2/fission-reread.S: New file.
6055 * gdb.dwarf2/fission-reread.exp: New file.
6056
37ce89eb
SS
60572012-06-28 Stan Shebs <stan@codesourcery.com>
6058
6059 * gdb.mi/mi-logging.exp: New file.
6060
e5ef252a
PA
60612012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6062 Pedro Alves <palves@redhat.com>
6063
6064 * gdb.threads/siginfo-threads.exp: New file.
6065 * gdb.threads/siginfo-threads.c: New file.
6066 * gdb.threads/sigstep-threads.exp: New file.
6067 * gdb.threads/sigstep-threads.c: New file.
6068
22f1fbae
TT
60692012-06-28 Tom Tromey <tromey@redhat.com>
6070
6071 * gdb.go/package.exp: Partially revert earlier patch; use
6072 gdb_compile again. Use standard_output_file.
6073
2e3cf129
DE
60742012-06-27 Doug Evans <dje@google.com>
6075
6076 * gdb.dwarf2/fission-base.c: New file.
6077 * gdb.dwarf2/fission-base.S: New file.
6078 * gdb.dwarf2/fission-base.exp: New file.
6079
785fd303
JK
60802012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6081
6082 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
6083
1bb9788d
TT
60842012-06-27 Tom Tromey <tromey@redhat.com>
6085
6086 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
6087 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
6088
c83ee902
TT
60892012-06-27 Tom Tromey <tromey@redhat.com>
6090
6091 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
6092 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
6093 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
6094 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
6095 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
6096 prepare_for_testing.
6097 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
6098 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
6099 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
6100 standard_testfile.
6101 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
6102 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
6103 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
6104 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
6105 prepare_for_testing.
6106 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
6107 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
6108 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
6109 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
6110 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
6111 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
6112 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
6113 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
6114 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
6115 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
6116 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
6117 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
6118 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
6119 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
6120 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
6121 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
6122 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
6123 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
6124 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
6125 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
6126 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
6127 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
6128 standard_output_file.
6129 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
6130 standard_output_file.
6131 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
6132 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
6133 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
6134 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
6135 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
6136 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
6137 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
6138 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
6139 * gdb.dwarf2/implptr.exp: Use standard_testfile.
6140 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
6141 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
6142 * gdb.dwarf2/pieces.exp: Use standard_testfile.
6143 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
6144 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
6145 * gdb.dwarf2/valop.exp: Use standard_testfile,
6146 prepare_for_testing.
6147
5204774b
TT
61482012-06-27 Tom Tromey <tromey@redhat.com>
6149
6150 * gdb.python/python.exp: Fix regexps in pagination tests.
6151
ee0bf529
SCR
61522012-06-26 Siva Chandra Reddy <sivachandra@google.com>
6153
6154 * gdb.python/py-symtab.exp: Add tests to test the new attribute
6155 'last' of gdb.Symtab_and_line.
6156 * gdb.python/py-symbol.c: Move break point comment to enable
6157 testing of gdb.Symtab_and_line.last.
6158
14fcc022
TT
61592012-06-26 Tom Tromey <tromey@redhat.com>
6160
6161 * gdb.threads/step.c: Remove.
6162 * gdb.threads/step.exp: Remove.
6163 * gdb.threads/step2.exp: Remove.
6164
0efbbabc
TT
61652012-06-26 Tom Tromey <tromey@redhat.com>
6166
6167 * gdb.threads/watchpoint-fork.exp (test): Use
6168 standard_output_file. Don't declare objdir.
6169 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
6170 standard_output_file.
6171 * gdb.threads/attach-stopped.exp: Use standard_testfile.
6172 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
6173 clean_restart. Remove incdir.
6174 * gdb.threads/corethreads.exp: Use standard_testfile.
6175 * gdb.threads/execl.exp: Use standard_testfile,
6176 standard_output_file, clean_restart.
6177 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
6178 clean_restart.
6179 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
6180 clean_restart.
6181 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
6182 incdir.
6183 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
6184 clean_restart. Remove incdir.
6185 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
6186 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
6187 clean_restart. Remove incdir.
6188 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
6189 Remove incdir.
6190 * gdb.threads/leader-exit.exp: Use standard_testfile.
6191 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
6192 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
6193 clean_restart.
6194 * gdb.threads/manythreads.exp: Use standard_testfile,
6195 clean_restart. Remove incdir.
6196 * gdb.threads/multi-create.exp: Use standard_testfile,
6197 clean_restart.
6198 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
6199 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
6200 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
6201 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
6202 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
6203 * gdb.threads/pending-step.exp: Use standard_testfile,
6204 clean_restart. Remove incdir.
6205 * gdb.threads/print-threads.exp: Use standard_testfile,
6206 clean_restart. Remove incdir.
6207 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
6208 clean_restart. Remove incdir.
6209 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
6210 Remove incdir.
6211 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
6212 incdir.
6213 * gdb.threads/sigthread.exp: Use standard_testfile,
6214 clean_restart.
6215 * gdb.threads/staticthreads.exp: Use standard_testfile,
6216 clean_restart. Remove incdir.
6217 * gdb.threads/switch-threads.exp: Use standard_testfile,
6218 clean_restart. Remove incdir.
6219 * gdb.threads/thread-execl.exp: Use standard_testfile,
6220 clean_restart. Remove incdir.
6221 * gdb.threads/thread-find.exp: Use standard_testfile,
6222 clean_restart.
6223 * gdb.threads/thread-specific.exp: Use standard_testfile,
6224 clean_restart. Remove incdir.
6225 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
6226 clean_restart. Remove incdir.
6227 * gdb.threads/thread_check.exp: Use standard_testfile,
6228 clean_restart. Remove incdir.
6229 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
6230 incdir.
6231 * gdb.threads/threadapply.exp: Use standard_testfile,
6232 clean_restart. Remove incdir.
6233 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
6234 clean_restart. Remove incdir.
6235 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
6236 clean_restart.
6237 * gdb.threads/tls-shared.exp: Use standard_testfile,
6238 clean_restart, standard_output_file.
6239 * gdb.threads/tls-var.exp: Use standard_testfile,
6240 standard_output_file.
6241 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
6242 Remove incdir.
6243 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
6244 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
6245 incdir.
6246 * gdb.threads/watchthreads2.exp: Use standard_testfile,
6247 clean_restart. Remove incdir.
6248
497a5eb0
TT
62492012-06-26 Tom Tromey <tromey@redhat.com>
6250
6251 * gdb.trace/actions.exp: Use standard_testfile.
6252 * gdb.trace/ax.exp: Use standard_testfile.
6253 * gdb.trace/backtrace.exp: Use standard_testfile.
6254 * gdb.trace/change-loc.exp: Use standard_testfile.
6255 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
6256 * gdb.trace/collection.exp: Use standard_testfile,
6257 prepare_for_testing.
6258 * gdb.trace/deltrace.exp: Use standard_testfile.
6259 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
6260 * gdb.trace/ftrace.exp: Use standard_testfile.
6261 * gdb.trace/infotrace.exp: Use standard_testfile.
6262 * gdb.trace/packetlen.exp: Use standard_testfile.
6263 * gdb.trace/passc-dyn.exp: Use standard_testfile.
6264 * gdb.trace/passcount.exp: Use standard_testfile.
6265 * gdb.trace/pending.exp: Use standard_testfile.
6266 * gdb.trace/report.exp: Use standard_testfile.
6267 * gdb.trace/save-trace.exp: Use standard_testfile.
6268 * gdb.trace/stap-trace.exp: Use standard_testfile.
6269 * gdb.trace/status-stop.exp: Use standard_testfile.
6270 * gdb.trace/strace.exp: Use standard_testfile.
6271 * gdb.trace/tfile.exp: Use standard_testfile.
6272 * gdb.trace/tfind.exp: Use standard_testfile.
6273 * gdb.trace/trace-break.exp: Use standard_testfile.
6274 * gdb.trace/trace-mt.exp: Use standard_testfile.
6275 * gdb.trace/tracecmd.exp: Use standard_testfile.
6276 * gdb.trace/tspeed.exp: Use standard_testfile.
6277 * gdb.trace/tstatus.exp: Use standard_testfile.
6278 * gdb.trace/tsv.exp: Use standard_testfile.
6279 * gdb.trace/unavailable.exp: Use standard_testfile,
6280 prepare_for_testing.
6281 * gdb.trace/while-dyn.exp: Use standard_testfile.
6282 * gdb.trace/while-stepping.exp: Use standard_testfile.
6283
7686c074
TT
62842012-06-26 Tom Tromey <tromey@redhat.com>
6285
6286 * gdb.reverse/break-precsave.exp: Use standard_testfile.
6287 * gdb.reverse/break-reverse.exp: Use standard_testfile.
6288 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
6289 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
6290 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
6291 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
6292 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
6293 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
6294 prepare_for_testing.
6295 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
6296 prepare_for_testing.
6297 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
6298 prepare_for_testing.
6299 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
6300 prepare_for_testing.
6301 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
6302 prepare_for_testing
6303 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
6304 * gdb.reverse/machinestate.exp: Use standard_testfile.
6305 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
6306 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
6307 build_executable.
6308 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
6309 build_executable.
6310 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
6311 standard_output_file.
6312 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
6313 standard_output_file.
6314 * gdb.reverse/step-precsave.exp: Use standard_testfile.
6315 * gdb.reverse/step-reverse.exp: Use standard_testfile.
6316 * gdb.reverse/until-precsave.exp: Use standard_testfile.
6317 * gdb.reverse/until-reverse.exp: Use standard_testfile.
6318 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
6319 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
6320
481fc100
TT
63212012-06-26 Tom Tromey <tromey@redhat.com>
6322
6323 * gdb.stabs/weird.exp: Remove directory-checking code. Use
6324 standard_output_file.
6325 * gdb.stabs/exclfwd.exp: Use standard_testfile,
6326 prepare_for_testing. Remove directory-checking code.
6327
7bb18ae2
TT
63282012-06-25 Tom Tromey <tromey@redhat.com>
6329
6330 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
6331 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
6332 build_executable, not prepare_for_testing.
6333 * gdb.multi/base.exp: Use standard_output_file. Use
6334 build_executable, not prepare_for_testing.
6335
cf09b3e4
TT
63362012-06-25 Tom Tromey <tromey@redhat.com>
6337
6338 * gdb.fortran/subarray.exp: Use standard_testfile,
6339 prepare_for_testing.
6340 * gdb.fortran/multi-dim.exp: Use standard_testfile.
6341 * gdb.fortran/module.exp: Use standard_testfile.
6342 * gdb.fortran/logical.exp: Use standard_testfile.
6343 * gdb.fortran/library-module.exp: Use standard_testfile,
6344 standard_output_file.
6345 * gdb.fortran/derived-type.exp: Use standard_testfile,
6346 prepare_for_testing.
6347 * gdb.fortran/complex.exp: Use standard_testfile,
6348 prepare_for_testing.
6349 * gdb.fortran/charset.exp: Use standard_testfile.
6350 * gdb.fortran/array-element.exp: Use standard_testfile,
6351 prepare_for_testing.
6352
18b5ff1b
KS
63532012-06-25 Keith Seitz <keiths@redhat.com>
6354
6355 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
6356 Change rbreak-related tests to KFAIL and add bugzilla numbers.
6357
17b77626
TT
63582012-06-25 Tom Tromey <tromey@redhat.com>
6359
6360 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
6361 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
6362 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
6363 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
6364
f91e3dc1
TT
63652012-06-25 Tom Tromey <tromey@redhat.com>
6366
6367 * gdb.linespec/ls-errs.exp: Use standard_testfile.
6368 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
6369 * gdb.linespec/linespec.exp: Use standard_testfile.
6370
a884434d
TT
63712012-06-25 Tom Tromey <tromey@redhat.com>
6372
6373 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
6374 prepare_for_testing.
6375
efc9d70a
TT
63762012-06-25 Tom Tromey <tromey@redhat.com>
6377
6378 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
6379 prepare_for_testing.
6380 * gdb.opt/inline-break.exp: Use standard_testfile,
6381 prepare_for_testing.
6382 * gdb.opt/inline-bt.exp: Use standard_testfile,
6383 prepare_for_testing.
6384 * gdb.opt/inline-cmds.exp: Use standard_testfile,
6385 prepare_for_testing.
6386 * gdb.opt/inline-locals.exp: Use standard_testfile,
6387 prepare_for_testing.
6388
e2fc92c6
TT
63892012-06-25 Tom Tromey <tromey@redhat.com>
6390
6391 * gdb.asm/asm-source.exp: Use standard_output_file,
6392 standard_testfile. Construct .o files in proper subdir.
6393
b0963d73
TT
63942012-06-25 Tom Tromey <tromey@redhat.com>
6395
6396 * gdb.server/ext-attach.exp: Use standard_testfile,
6397 prepare_for_testing.
6398 * gdb.server/ext-run.exp: Use standard_testfile,
6399 build_executable.
6400 * gdb.server/file-transfer.exp: Use standard_testfile,
6401 prepare_for_testing.
6402 * gdb.server/server-exec-info.exp: Use standard_testfile.
6403 * gdb.server/server-mon.exp: Use standard_testfile,
6404 prepare_for_testing.
6405 * gdb.server/server-run.exp: Use standard_testfile,
6406 build_executable.
6407 * gdb.server/solib-list.exp: Use standard_testfile,
6408 standard_output_file.
6409
8a3e1f8d
TT
64102012-06-25 Tom Tromey <tromey@redhat.com>
6411
6412 * lib/gdb.exp (standard_output_file): Use "file join".
6413 * gdb.go/chan.exp: Use standard_testfile.
6414 * gdb.go/handcall.exp: Use standard_testfile.
6415 * gdb.go/hello.exp: Use standard_testfile.
6416 * gdb.integers/chan.exp: Use standard_testfile.
6417 * gdb.go/methods.exp: Use standard_testfile.
6418 * gdb.go/package.exp: Use standard_testfile.
6419 * gdb.go/strings.exp: Use standard_testfile.
6420 * gdb.go/types.exp: Use standard_testfile.
6421 * gdb.go/unsafe.exp: Use standard_testfile.
6422
944a9061
MGD
64232012-06-25 Greta Yorsh <greta.yorsh@arm.com>
6424
6425 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
6426
1c06bd58
JK
64272012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6428
6429 Fix regression by the previous commit.
6430 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
6431
b4a58790
TT
64322012-06-22 Tom Tromey <tromey@redhat.com>
6433
6434 * gdb.python/lib-types.exp: Use standard_testfile,
6435 prepare_for_testing.
6436 * gdb.python/py-block.exp: Use standard_testfile.
6437 * gdb.python/py-breakpoint.exp: Use standard_testfile.
6438 * gdb.python/py-events.exp: Use standard_testfile,
6439 standard_output_file.
6440 * gdb.python/py-evsignal.exp: Use standard_testfile.
6441 * gdb.python/py-evethreads.exp: Use standard_testfile.
6442 * gdb.python/py-explore-cc.exp: Use standard_testfile.
6443 * gdb.python/py-explore.exp: Use standard_testfile.
6444 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
6445 standard_output_file.
6446 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
6447 prepare_for_testing.
6448 * gdb.python/py-frame-inline.exp: Use standard_testfile.
6449 * gdb.python/py-frame.exp: Use standard_testfile.
6450 * gdb.python/py-inferior.exp: Use standard_testfile.
6451 * gdb.python/py-infthread.exp: Use standard_testfile.
6452 * gdb.python/py-mi.exp: Use standard_testfile.
6453 * gdb.python/py-objfile-script.exp: Use standard_testfile,
6454 build_executable.
6455 * gdb.python/py-objfile.exp: Use standard_testfile.
6456 * gdb.python/py-pp-maint.exp: Use standard_testfile,
6457 prepare_for_testing.
6458 * gdb.python/py-prettyprint.exp: Use standard_testfile.
6459 * gdb.python/py-progspace.exp: Use standard_testfile,
6460 build_executable.
6461 * gdb.python/py-prompt.exp: Use standard_testfile,
6462 build_executable.
6463 * gdb.python/py-section-script.exp: Use standard_testfile,
6464 build_executable.
6465 * gdb.python/py-shared.exp: Use standard_testfile,
6466 standard_output_file, clean_restart.
6467 * gdb.python/py-symbol.exp: Use standard_output_file,
6468 prepare_for_testing.
6469 * gdb.python/py-symtab.exp: Use standard_output_file,
6470 prepare_for_testing
6471 * gdb.python/py-template.exp: Use standard_testfile.
6472 * gdb.python/py-type.exp: Use standard_testfile.
6473 * gdb.python/py-value-cc.exp: Use standard_testfile.
6474 * gdb.python/py-value.exp: Use standard_testfile.
6475 * gdb.python/python.exp: Use standard_testfile, build_executable.
6476
2c44deac
TT
64772012-06-22 Tom Tromey <tromey@redhat.com>
6478
6479 * gdb.objc/basicclass.exp: Use standard_testfile.
6480 (do_objc_tests): Don't declare objdir.
6481 * gdb.objc/nondebug.exp: Use standard_testfile.
6482 (do_objc_tests): Don't declare objdir.
6483 * gdb.objc/objcdecode.exp: Use standard_testfile.
6484 (do_objc_tests): Don't declare objdir.
6485
c24ccbce
TT
64862012-06-22 Tom Tromey <tromey@redhat.com>
6487
6488 * gdb.java/jmain.exp: Use standard_testfile.
6489 * gdb.java/jmisc.exp: Use standard_testfile.
6490 * gdb.java/jnpe.exp: Use standard_testfile.
6491 * gdb.java/jprint.exp: Use standard_testfile.
6492
0a6d0306
TT
64932012-06-22 Tom Tromey <tromey@redhat.com>
6494
6495 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
6496 (standard_output_file, standard_testfile): New procs.
6497 (build_executable, clean_restart): Use standard_output_file.
6498
6ea815ef
YQ
64992012-06-22 Yao Qi <yao@codesourcery.com>
6500
6501 * boards/native-gdbserver.exp: New proc ${board}_exec.
6502 * boards/native-stdio-gdbserver.exp: Likewise.
6503
4c93b1db
TT
65042012-06-21 Tom Tromey <tromey@redhat.com>
6505
6506 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
6507 (build_executable): Update.
6508 (get_compiler_info): Remove 'binfile' argument.
6509 * gdb.ada/arrayidx.exp: Update.
6510 * gdb.ada/null_array.exp: Update.
6511 * gdb.arch/altivec-abi.exp: Update.
6512 * gdb.arch/altivec-regs.exp: Update.
6513 * gdb.arch/amd64-byte.exp: Update.
6514 * gdb.arch/amd64-dword.exp: Update.
6515 * gdb.arch/amd64-word.exp: Update.
6516 * gdb.arch/i386-avx.exp: Update.
6517 * gdb.arch/i386-byte.exp: Update.
6518 * gdb.arch/i386-sse.exp: Update.
6519 * gdb.arch/i386-word.exp: Update.
6520 * gdb.arch/ppc-dfp.exp: Update.
6521 * gdb.arch/ppc-fp.exp: Update.
6522 * gdb.arch/vsx-regs.exp: Update.
6523 * gdb.base/all-bin.exp: Update.
6524 * gdb.base/annota1.exp: Update.
6525 * gdb.base/async.exp: Update.
6526 * gdb.base/attach.exp: Update.
6527 * gdb.base/break-interp.exp: Update.
6528 * gdb.base/call-ar-st.exp: Update.
6529 * gdb.base/call-rt-st.exp: Update.
6530 * gdb.base/call-sc.exp: Update.
6531 * gdb.base/callfuncs.exp: Update.
6532 * gdb.base/catch-load.exp: Update.
6533 * gdb.base/completion.exp: Update.
6534 * gdb.base/complex.exp: Update.
6535 * gdb.base/condbreak.exp: Update.
6536 * gdb.base/consecutive.exp: Update.
6537 * gdb.base/constvars.exp: Update.
6538 * gdb.base/corefile.exp: Update.
6539 * gdb.base/eval-skip.exp: Update.
6540 * gdb.base/expand-psymtabs.exp: Update.
6541 * gdb.base/exprs.exp: Update.
6542 * gdb.base/fileio.exp: Update.
6543 * gdb.base/fixsection.exp: Update.
6544 * gdb.base/funcargs.exp: Update.
6545 * gdb.base/gdb11530.exp: Update.
6546 * gdb.base/gdb1555.exp: Update.
6547 * gdb.base/gnu-ifunc.exp: Update.
6548 * gdb.base/gnu_vector.exp: Update.
6549 * gdb.base/info-macros.exp: Update.
6550 * gdb.base/jit-simple.exp: Update.
6551 * gdb.base/jit-so.exp: Update.
6552 * gdb.base/jit.exp: Update.
6553 * gdb.base/langs.exp: Update.
6554 * gdb.base/list.exp: Update.
6555 * gdb.base/logical.exp: Update.
6556 * gdb.base/long_long.exp: Update.
6557 * gdb.base/longjmp.exp: Update.
6558 * gdb.base/macscp.exp: Update.
6559 * gdb.base/mips_pro.exp: Update.
6560 * gdb.base/miscexprs.exp: Update.
6561 * gdb.base/morestack.exp: Update.
6562 * gdb.base/nodebug.exp: Update.
6563 * gdb.base/opaque.exp: Update.
6564 * gdb.base/pc-fp.exp: Update.
6565 * gdb.base/pending.exp: Update.
6566 * gdb.base/permissions.exp: Update.
6567 * gdb.base/pointers.exp: Update.
6568 * gdb.base/prelink.exp: Update.
6569 * gdb.base/printcmds.exp: Update.
6570 * gdb.base/psymtab.exp: Update.
6571 * gdb.base/ptype.exp: Update.
6572 * gdb.base/relational.exp: Update.
6573 * gdb.base/scope.exp: Update.
6574 * gdb.base/setvar.exp: Update.
6575 * gdb.base/shlib-call.exp: Update.
6576 * gdb.base/shreloc.exp: Update.
6577 * gdb.base/signals.exp: Update.
6578 * gdb.base/sizeof.exp: Update.
6579 * gdb.base/so-impl-ld.exp: Update.
6580 * gdb.base/so-indr-cl.exp: Update.
6581 * gdb.base/solib-disc.exp: Update.
6582 * gdb.base/solib-display.exp: Update.
6583 * gdb.base/solib-nodir.exp: Update.
6584 * gdb.base/solib-overlap.exp: Update.
6585 * gdb.base/solib-symbol.exp: Update.
6586 * gdb.base/solib-weak.exp: Update.
6587 * gdb.base/solib.exp: Update.
6588 * gdb.base/store.exp: Update.
6589 * gdb.base/structs.exp: Update.
6590 * gdb.base/structs2.exp: Update.
6591 * gdb.base/type-opaque.exp: Update.
6592 * gdb.base/unload.exp: Update.
6593 * gdb.base/varargs.exp: Update.
6594 * gdb.base/volatile.exp: Update.
6595 * gdb.base/watch_thread_num.exp: Update.
6596 * gdb.base/watchpoint-solib.exp: Update.
6597 * gdb.base/watchpoint.exp: Update.
6598 * gdb.base/watchpoints.exp: Update.
6599 * gdb.base/whatis.exp: Update.
6600 * gdb.cell/arch.exp: Update.
6601 * gdb.cell/break.exp: Update.
6602 * gdb.cell/bt.exp: Update.
6603 * gdb.cell/core.exp: Update.
6604 * gdb.cell/data.exp: Update.
6605 * gdb.cell/ea-cache.exp: Update.
6606 * gdb.cell/f-regs.exp: Update.
6607 * gdb.cell/fork.exp: Update.
6608 * gdb.cell/gcore.exp: Update.
6609 * gdb.cell/mem-access.exp: Update.
6610 * gdb.cell/ptype.exp: Update.
6611 * gdb.cell/registers.exp: Update.
6612 * gdb.cell/sizeof.exp: Update.
6613 * gdb.cell/solib-symbol.exp: Update.
6614 * gdb.cell/solib.exp: Update.
6615 * gdb.cp/ambiguous.exp: Update.
6616 * gdb.cp/breakpoint.exp: Update.
6617 * gdb.cp/bs15503.exp: Update.
6618 * gdb.cp/casts.exp: Update.
6619 * gdb.cp/class2.exp: Update.
6620 * gdb.cp/cpexprs.exp: Update.
6621 * gdb.cp/cplusfuncs.exp: Update.
6622 * gdb.cp/ctti.exp: Update.
6623 * gdb.cp/dispcxx.exp: Update.
6624 * gdb.cp/gdb1355.exp: Update.
6625 * gdb.cp/gdb2384.exp: Update.
6626 * gdb.cp/gdb2495.exp: Update.
6627 * gdb.cp/infcall-dlopen.exp: Update.
6628 * gdb.cp/local.exp: Update.
6629 * gdb.cp/m-data.exp: Update.
6630 * gdb.cp/m-static.exp: Update.
6631 * gdb.cp/mb-ctor.exp: Update.
6632 * gdb.cp/mb-inline.exp: Update.
6633 * gdb.cp/mb-templates.exp: Update.
6634 * gdb.cp/member-ptr.exp: Update.
6635 * gdb.cp/method.exp: Update.
6636 * gdb.cp/namespace.exp: Update.
6637 * gdb.cp/nextoverthrow.exp: Update.
6638 * gdb.cp/nsdecl.exp: Update.
6639 * gdb.cp/nsrecurs.exp: Update.
6640 * gdb.cp/nsstress.exp: Update.
6641 * gdb.cp/nsusing.exp: Update.
6642 * gdb.cp/pr-1023.exp: Update.
6643 * gdb.cp/pr-1210.exp: Update.
6644 * gdb.cp/pr-574.exp: Update.
6645 * gdb.cp/pr9631.exp: Update.
6646 * gdb.cp/printmethod.exp: Update.
6647 * gdb.cp/psmang.exp: Update.
6648 * gdb.cp/re-set-overloaded.exp: Update.
6649 * gdb.cp/rtti.exp: Update.
6650 * gdb.cp/shadow.exp: Update.
6651 * gdb.cp/templates.exp: Update.
6652 * gdb.cp/try_catch.exp: Update.
6653 * gdb.dwarf2/dw2-ranges.exp: Update.
6654 * gdb.dwarf2/pr10770.exp: Update.
6655 * gdb.fortran/library-module.exp: Update.
6656 * gdb.hp/gdb.aCC/optimize.exp: Update.
6657 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
6658 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
6659 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
6660 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
6661 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
6662 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
6663 * gdb.hp/gdb.compat/xdb1.exp: Update.
6664 * gdb.hp/gdb.compat/xdb2.exp: Update.
6665 * gdb.hp/gdb.compat/xdb3.exp: Update.
6666 * gdb.hp/gdb.defects/bs14602.exp: Update.
6667 * gdb.hp/gdb.defects/solib-d.exp: Update.
6668 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
6669 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
6670 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
6671 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
6672 * gdb.mi/gdb792.exp: Update.
6673 * gdb.mi/mi-pending.exp: Update.
6674 * gdb.mi/mi-solib.exp: Update.
6675 * gdb.mi/mi-var-cp.exp: Update.
6676 * gdb.opt/clobbered-registers-O2.exp: Update.
6677 * gdb.opt/inline-bt.exp: Update.
6678 * gdb.opt/inline-cmds.exp: Update.
6679 * gdb.opt/inline-locals.exp: Update.
6680 * gdb.python/py-events.exp: Update.
6681 * gdb.python/py-finish-breakpoint.exp: Update.
6682 * gdb.python/py-type.exp: Update.
6683 * gdb.reverse/solib-precsave.exp: Update.
6684 * gdb.reverse/solib-reverse.exp: Update.
6685 * gdb.server/solib-list.exp: Update.
6686 * gdb.stabs/weird.exp: Update.
6687 * gdb.threads/attach-into-signal.exp: Update.
6688 * gdb.threads/attach-stopped.exp: Update.
6689 * gdb.threads/tls-shared.exp: Update.
6690 * gdb.trace/change-loc.exp: Update.
6691 * gdb.trace/strace.exp: Update.
6692
95c391b6
TT
66932012-06-19 Tom Tromey <tromey@redhat.com>
6694
6695 * gdb.base/whatis.exp: Add tests.
6696
e910f0b6
TT
66972012-06-19 Tom Tromey <tromey@redhat.com>
6698
6699 * gdb.cp/m-static.cc (keepalive): New function.
6700 (gnu_obj_1::method): Use it.
6701
422d65e7
DE
67022012-06-18 Doug Evans <dje@google.com>
6703
6704 * gdb.base/info-fun.exp: New file.
6705 * gdb.base/info-fun.c: New file.
6706 * gdb.base/info-fun-solib.c: New file.
6707
e2e4d78b
JK
67082012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6709
6710 Remove stale dummy frames.
6711 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
6712 (maintenance info breakpoints): New tests.
6713 * gdb.base/stale-infcall.c: New file.
6714 * gdb.base/stale-infcall.exp: New file.
6715
1788b2d3
JK
67162012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6717
6718 * gdb.arch/amd64-entry-value-param.S: New file.
6719 * gdb.arch/amd64-entry-value-param.c: New file.
6720 * gdb.arch/amd64-entry-value-param.exp: New file.
6721
663b969e
TT
67222012-06-15 Tom Tromey <tromey@redhat.com>
6723
6724 * gdb.cp/namespace.exp: Add "show lang" test.
6725
8e09ad05
IS
67262012-06-15 Iain Sandoe <iain@codesourcery.com>
6727
6728 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
6729 case. (top level): Use gdb_file_cmd instead of gdb_load.
6730
f85e18ee
JK
67312012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6732
6733 PR tdep/14222
6734 * gdb.arch/i386-sse-stack-align.S: New file.
6735 * gdb.arch/i386-sse-stack-align.c: New file.
6736 * gdb.arch/i386-sse-stack-align.exp: New file.
6737
f3b5e280
KS
67382012-06-13 Keith Seitz <keiths@redhat.com>
6739
6740 PR breakpoints/13798 and mi/11541
6741 * gdb.linespec/ls-errs.exp: Add a few more tests for
6742 filenames with spaces and colons.
6743
50af5481
JK
67442012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6745
6746 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
6747 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
6748 (test_function): Call CV_f.
6749 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
6750 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
6751 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
6752 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
6753 (p CV_f(CV::i)): New tests.
6754
d55637df
TT
67552012-06-13 Tom Tromey <tromey@redhat.com>
6756
6757 * gdb.base/condbreak.exp: Add tests for "condition" completion.
6758
cc80f267
JK
67592012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6760
6761 Fix regression by the "ambiguous linespec" series.
6762 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
6763 tests.
6764
bb2af9cc
JK
67652012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6766
6767 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
6768 missing.
6769
e81a37f7
TT
67702012-06-11 Tom Tromey <tromey@redhat.com>
6771
6772 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
6773 location...
6774 (main): ...here.
6775
8efd7788
YQ
67762012-06-07 Yao Qi <yao@codesourcery.com>
6777
6778 * gdb.trace/strace.exp: Shorten some too-long lines.
6779
359f5fe6
PA
67802012-06-06 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.threads/clone-new-thread-event.c: New file.
6783 * gdb.threads/clone-new-thread-event.exp: New file.
6784
7b2fe205
YQ
67852012-06-06 Yao Qi <yao@codesourcery.com>
6786
6787 * gdb.base/dprintf.c (main): Add extra parameter when calling
6788 printf and fprintf.
6789 (bar): New function. It is a dead function, but to ensure
6790 'malloc' is linked explicitly.
6791
3eca55e8
YQ
67922012-06-06 Yao Qi <yao@codesourcery.com>
6793
6794 * gdb.base/info-proc.exp: Return if target doesn't support
6795 'info proc'.
6796
91cc9324
JK
67972012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6798
6799 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
6800 (run program with breakpoint commands): XFAIl if it is not.
6801
c56e7c43
JB
68022012-06-05 Joel Brobecker <brobecker@adacore.com>
6803
6804 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
6805 and add comment.
6806 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
6807 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
6808 "STOP" marker. Adjust testing strategy to make it work on
6809 all targets.
6810
6811 * gdb.base/print-file-var-main.c (main): Rewrite using local
6812 variables and adjust get_version_2's return value check.
6813 Add small comment.
6814 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
6815 marker. Adjust testing strategy to make it work on all targets.
6816
ccab2054
JB
68172012-06-05 Joel Brobecker <brobecker@adacore.com>
6818
6819 * gdb.ada/bad-task-bp-keyword: New testcase.
6820
d0d86158
JK
68212012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
6824 Simplify it to ...
6825 (symbol-file ${testfile1}): ... here.
6826 (test eliminated var my_global_symbol)
6827 (test eliminated var my_static_symbol)
6828 (test eliminated var my_global_func, get address of main): Wrap them to
6829 'single psymtabs' and 'single symtabs'
6830 (get address of my_global_symbol, get address of my_static_symbol)
6831 (get address of my_global_func, get address of main): Wrap them to
6832 'order1' and 'order2'.
6833
952cf74c
JK
6834 * gdb.base/code_elim.exp
6835 (add-symbol-file ${testfile1} 0x100000)
6836 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
6837 'order2'.
6838 (order1: add-symbol-file ${testfile1} 0x100000)
6839 (order1: add-symbol-file ${testfile2} 0x200000)
6840 (order2: add-symbol-file ${testfile2} 0x200000)
6841 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
6842 .bss as appropriate.
6843
0c5bf5a9
JK
68442012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6845
6846 * gdb.server/solib-list-lib.c: New file.
6847 * gdb.server/solib-list-main.c: New file.
6848 * gdb.server/solib-list.exp: New file.
6849
4196f325
MR
68502012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
6851
6852 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
6853 for 'set print symbol' change.
6854
bfb05775
JK
68552012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6856
6857 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
6858 .debug_abbrev_seg3.
6859
685b1105
JK
68602012-05-24 John Steele Scott <toojays@toojays.net>
6861
6862 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
6863 * gdb.dwarf2/dw2-icc-opaque.S: New file.
6864 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
6865
f3e0e960
SS
68662012-05-23 Stan Shebs <stan@codesourcery.com>
6867
6868 * gdb.mi/mi-info-os.exp: New file.
6869
11eb1b4d
KS
68702012-05-23 Keith Seitz <keiths@redhat.com>
6871
6872 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
6873 return -1 to suppress the rest of the tests.
6874 (compile_stap_bin): Return boolean success value.
6875
b1af9e97
TT
68762012-05-21 Tom Tromey <tromey@redhat.com>
6877
6878 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
6879 Remove kfails.
6880 (test_print_mi_member_types): Likewise.
6881
248537e3
TT
68822012-05-21 Tom Tromey <tromey@redhat.com>
6883
6884 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
6885 print symbol' change.
6886
d791e155
TJB
68872012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
6888
6889 * gdb.python/py-prompt.exp: Quit if the target is remote.
6890
e77afa2e
JK
68912012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6892
6893 Fix ERROR: internal buffer is full.
6894 * gdb.base/info-os.exp (expect_multiline): New function.
6895 (get process list, get process groups, get threads)
6896 (get file descriptors, get internet-domain sockets)
6897 (get shared-memory regions, get semaphores, get message queues): Use
6898 it for these tests.
6899
9cb709b6
TT
69002012-05-18 Tom Tromey <tromey@redhat.com>
6901
6902 * gdb.mi/mi-var-cmd.exp: Update.
6903 * gdb.objc/basicclass.exp (do_objc_tests): Update.
6904 * gdb.cp/virtbase.exp: Update.
6905 * gdb.cp/classes.exp (test_static_members): Update.
6906 * gdb.cp/casts.exp: Update.
6907 * gdb.base/pointers.exp: Update.
6908 * gdb.base/funcargs.exp (pointer_args): Update.
6909 (structs_by_reference): Update.
6910 * gdb.base/find.exp: Update.
6911 * gdb.base/call-strs.exp: Send "set print symbol off".
6912 * gdb.base/call-ar-st.exp: Update.
6913 * gdb.ada/fun_addr.exp: Update.
6914 * gdb.base/printcmds.exp (test_print_symbol): New proc.
6915 Call it.
6916 (test_print_repeats_10, test_print_strings)
6917 (test_print_char_arrays): Update.
6918
b012acdd
TT
69192012-05-18 Tom Tromey <tromey@redhat.com>
6920
6921 * gdb.base/charset.exp (string_display): Update.
6922
1d51a733
TT
69232012-05-18 Tom Tromey <tromey@redhat.com>
6924
6925 * gdb.mi/mi2-var-display.exp: Update.
6926 * gdb.mi/mi-var-display.exp: Update.
6927 * gdb.mi/mi-var-child.exp: Update.
6928 * gdb.cp/expand-psymtabs-cxx.exp: Update.
6929 * gdb.cp/cp-relocate.exp (get_func_address): Update.
6930
957df313
DE
69312012-05-17 Doug Evans <dje@google.com>
6932
682c7f7b
DE
6933 * info-macros.exp: Pass "debug" to prepare_for_testing.
6934
957df313
DE
6935 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
6936 * gdb.ada/Makefile.in (clean): Ditto.
6937 * gdb.arch/Makefile.in (clean): Ditto.
6938 * gdb.asm/Makefile.in (clean): Ditto.
6939 * gdb.base/Makefile.in (clean): Ditto.
6940 * gdb.cell/Makefile.in (clean): Ditto.
6941 * gdb.cp/Makefile.in (clean): Ditto.
6942 * gdb.disasm/Makefile.in (clean): Ditto.
6943 * gdb.dwarf2/Makefile.in (clean): Ditto.
6944 * gdb.fortran/Makefile.in (clean): Ditto.
6945 * gdb.go/Makefile.in (clean): Ditto.
6946 * gdb.hp/Makefile.in (clean): Ditto.
6947 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
6948 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
6949 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
6950 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
6951 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
6952 * gdb.java/Makefile.in (clean): Ditto.
6953 * gdb.linespec/Makefile.in (clean): Ditto.
6954 * gdb.mi/Makefile.in (clean): Ditto.
6955 * gdb.modula2/Makefile.in (clean): Ditto.
6956 * gdb.multi/Makefile.in (clean): Ditto.
6957 * gdb.objc/Makefile.in (clean): Ditto.
6958 * gdb.opencl/Makefile.in (clean): Ditto.
6959 * gdb.opt/Makefile.in (clean): Ditto.
6960 * gdb.pascal/Makefile.in (clean): Ditto.
6961 * gdb.python/Makefile.in (clean): Ditto.
6962 * gdb.reverse/Makefile.in (clean): Ditto.
6963 * gdb.server/Makefile.in (clean): Ditto.
6964 * gdb.stabs/Makefile.in (clean): Ditto.
6965 * gdb.threads/Makefile.in (clean): Ditto.
6966 * gdb.trace/Makefile.in (clean): Ditto.
6967 * gdb.xml/Makefile.in (clean): Ditto.
6968
abc9d0dc
TT
69692012-05-16 Tom Tromey <tromey@redhat.com>
6970
6971 * gdb.base/macscp1.c (macscp_expr): Add comment.
6972 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
6973
6a3a010b
MR
69742012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6975
6976 * gdb.base/return-nodebug.exp: Also test float and double types.
6977
01429c8e
JK
69782012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6979
6980 PR testsuite/12649
6981 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
6982
54115cd4
JK
6983 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
6984
0c5f383f
SDJ
69852012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
6986
6987 * gdb.base/stap-probe.exp (stap_test): Remove calls to
6988 `rerun_to_main'.
6989 (stap_test_no_debuginfo): Likewise.
6990
e7e0cddf
SS
69912012-05-14 Stan Shebs <stan@codesourcery.com>
6992
6993 * gdb.base/dprintf.c: New file.
6994 * gdb.base/dprintf.exp: New file.
6995
c772f8e7
HZ
69962012-05-14 Hui Zhu <hui_zhu@mentor.com>
6997
6998 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
6999 * gdb.trace/disconnected-tracing.c: New file.
7000 * gdb.trace/disconnected-tracing.exp: New file.
7001
7efc75aa
SCR
70022012-05-13 Siva Chandra Reddy <sivachandra@google.com>
7003
7004 * gdb.python/python.c: Add a new breakpoint comment.
7005 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
7006
85d4a676
SS
70072011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
7008
7009 * gdb.base/info-os.exp: New file.
7010 * gdb.base/info-os.c: New file.
7011
64ea88dc
JB
70122012-05-10 Joel Brobecker <brobecker@adacore.com>
7013
4647ab1b
JB
7014 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
7015 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
7016 New files.
64ea88dc 7017
afba63f1
JB
70182012-05-10 Joel Brobecker <brobecker@adacore.com>
7019
7020 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
7021 gdb.base/ctxobj.exp: New files.
7022
9d198b1e
TT
70232012-05-09 Tom Tromey <tromey@redhat.com>
7024
7025 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
7026
9bfee719
MR
70272012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
7028
7029 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
7030
3a7341d8
MR
70312012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
7032
7033 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
7034 before using it.
7035
52b3699b
TG
70362012-05-04 Tristan Gingold <gingold@adacore.com>
7037
7038 * gdb.base/set-noassign.exp: New test.
7039
a20ee7a4
SCR
70402012-05-03 Siva Chandra Reddy <sivachandra@google.com>
7041
7042 * gdb.python/py-symbol.exp: Add tests to test the new methods
7043 gdb.Symtab.global_block() and gdb.Symtab.static_block().
7044 * gdb.python/py-symbol.c: Add new struct to help test
7045 gdb.Symtab.static_block().
7046
bf2f0858
DE
70472012-05-03 Doug Evans <dje@google.com>
7048
7049 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
7050 commented out.
7051
2d4e0376
YQ
70522012-05-03 Yao Qi <yao@codesourcery.com>
7053
7054 * gdb.base/catch-syscall.exp: Skip it before compilation if target
7055 doesn't support.
7056 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
7057 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
7058
6d0bb9f3
YQ
70592012-05-03 Yao Qi <yao@codesourcery.com>
7060
7061 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
7062
fd820528
DE
70632012-04-30 Doug Evans <dje@google.com>
7064
7065 PR testsuite/13961
7066 * gdb.dwarf2/pr13961.S: New file.
7067 * gdb.dwarf2/pr13961.exp: New file.
7068
b9e219b9
YQ
70692012-04-29 Yao Qi <yao@codesourcery.com>
7070
7071 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
7072
3019eac3
DE
70732012-04-28 Doug Evans <dje@google.com>
7074
7075 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
7076 .Ltype_int_in_cu2. Use name "int2" instead of "int".
7077 All uses updated.
7078 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
7079 "ptype func_cu1" to expand cu2 before cu1.
7080
62e5f89c
SDJ
70812012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
7082 Tom Tromey <tromey@redhat.com>
7083
7084 * gdb.base/default.exp: Add `$_probe_arg*' convenience
7085 variables.
7086 * gdb.base/stap-probe.c: New file.
7087 * gdb.base/stap-probe.exp: New file.
7088 * gdb.trace/stap-trace.c: New file.
7089 * gdb.trace/stap-trace.exp: New file.
7090 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
7091 libgcc's unwinder.
7092
14132e89
MR
70932012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
7094
7095 * gdb.arch/mips16-thunks-inmain.c: New file.
7096 * gdb.arch/mips16-thunks-main.c: New file.
7097 * gdb.arch/mips16-thunks-sin.c: New file.
7098 * gdb.arch/mips16-thunks-sinfrob.c: New file.
7099 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
7100 * gdb.arch/mips16-thunks-sinmain.c: New file.
7101 * gdb.arch/mips16-thunks-sinmips16.c: New file.
7102 * gdb.arch/mips16-thunks.exp: New file.
7103
a766d390
DE
71042012-04-25 Doug Evans <dje@google.com>
7105
7106 * configure.ac: Create gdb.go/Makefile.
7107 * configure: Regenerate.
7108 * gdb.base/default.exp: Add "go" to "set language" testing.
7109 * gdb.go/Makefile.in: New file.
7110 * gdb.go/basic-types.exp: New file.
7111 * gdb.go/chan.exp: New file.
7112 * gdb.go/chan.go: New file.
7113 * gdb.go/handcall.exp: New file.
7114 * gdb.go/handcall.go: New file.
7115 * gdb.go/hello.exp: New file.
7116 * gdb.go/hello.go: New file.
7117 * gdb.go/integers.exp: New file.
7118 * gdb.go/integers.go: New file.
7119 * gdb.go/methods.exp: New file.
7120 * gdb.go/methods.go: New file.
7121 * gdb.go/package.exp: New file.
7122 * gdb.go/package1.go: New file.
7123 * gdb.go/package2.go: New file.
7124 * gdb.go/print.exp: New file.
7125 * gdb.go/strings.exp: New file.
7126 * gdb.go/strings.go: New file.
7127 * gdb.go/types.exp: New file.
7128 * gdb.go/types.go: New file.
7129 * gdb.go/unsafe.exp: New file.
7130 * gdb.go/unsafe.go: New file.
7131 * lib/future.exp: Add Go support.
7132 (gdb_find_go, gdb_find_go_linker): New procs.
7133 (gdb_default_target_compile): Add Go support.
7134 * lib/gdb.exp (skip_go_tests): New proc.
7135 * lib/go.exp: New file.
7136
e65f9ffb
TT
71372012-04-25 Tom Tromey <tromey@redhat.com>
7138
7139 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
7140
14e75d8e
JK
71412012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7142 Jan Kratochvil <jan.kratochvil@redhat.com>
7143
7144 PR symtab/7259:
7145 * gdb.base/enumval.c: New test case.
7146 * gdb.base/enumval.exp: New test case.
7147 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
7148 field.bitpos.
7149
f3525b70
PA
71502012-04-17 Pedro Alves <palves@redhat.com>
7151
7152 * Makefile.in (site.exp): Make site.exp source
7153 $srcdir/lib/append_gdb_boards_dir.exp.
7154 * lib/append_gdb_boards_dir.exp: New file.
7155
bccbefd2
JK
71562012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7157
7158 New option "set auto-load safe-path".
7159 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
7160 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
7161
bf88dd68
JK
71622012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7163
7164 auto-load: Implementation.
7165 * gdb.base/help.exp (test set height): Increase the height.
7166 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
7167 to ...
7168 (info auto-load python-scripts): ... here.
7169 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
7170 to ...
7171 (info auto-load python-scripts *): ... here.
7172
c0d4d1c0
YQ
71732012-04-16 Yao Qi <yao@codesourcery.com>
7174
7175 * lib/trace-support.exp (get_in_proc_agent): New.
7176 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
7177 of in process trace agent.
7178 * gdb.trace/ftrace.exp: Likewise.
7179 * gdb.trace/pending.exp: Likewise.
7180 * gdb.trace/trace-break.exp: Likewise.
7181 * gdb.trace/trace-mt.exp
7182 * gdb.trace/tspeed.exp: Likewise.
7183 * gdb.trace/tstatus.exp
7184 * gdb.trace/strace.exp: Likewise.
7185
cbf68a60
TS
71862012-04-16 Thomas Schwinge <thomas@codesourcery.com>
7187
dd6d3b70
TS
7188 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
7189 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
7190
cbf68a60
TS
7191 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
7192
8264ba82
AG
71932012-04-14 Anton Gorenkov <xgsa@yandex.ru>
7194
7195 PR mi/13393
7196 * gdb.mi/mi-var-rtti.cc: New file.
7197 * gdb.mi/mi-var-rtti.exp: New file.
7198 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
7199 function.
7200 (mi_varobj_update_with_type_change): updated to avoid code duplication.
7201
de0919f8 72022012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
7203
7204 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
7205 EXECUTABLES.
7206 * gdb.python/py-explore.c: C program used for testing the new
7207 'explore' command on C constructs.
7208 * gdb.python/py-explore.cc: C++ program used for testing the new
7209 'explore' command on C++ constructs.
7210 * gdb-python/py-explore.exp: Tests for the new 'explore'
7211 command on C constructs.
7212 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
7213 command on C++ constructs.
7214
a82da7dd
MK
72152012-04-07 Mark Kettenis <kettenis@gnu.org>
7216
7217 * gdb.base/funcargs.exp (complex_args): Fix typo.
7218
e127cba8
JK
72192012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7220
7221 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
7222 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
7223
40e084e1
KS
72242012-04-05 Keith Seitz <keiths@redhat.com>
7225
7226 * gdb.base/advance.exp: Update error message for
7227 "advance malformed" test.
7228 * gdb.base/break.exp: Likewise for "breakpoint with
7229 trailing garbage" test.
7230 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
7231 with trailing garbage" test.
7232 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
7233 trailng garbage" test.
7234 * gdb.base/until.exp: Likewise for "malformed until" test.
7235 * gdb.cp/ovldbreak.exp: Create the breakpoint table
7236 for "breakpoint info (after setting on all)".
7237 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
7238 tests.
7239 * gdb.cp/cplabel.cc: New file.
7240 * gdb.cp/cplabel.exp: New test.
7241 * gdb.linespec/ls-errs.c: New file.
7242 * gdb.linespec/ls-errs.exp: New test.
7243
a72c8f6a
JK
72442012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7245
7246 * gdb.trace/unavailable.exp
7247 (collect globals: print object on: print derived_partial)
7248 (collect globals: print object on: print derived_whole)
7249 (collect globals: print object off: print derived_partial)
7250 (collect globals: print object off: print derived_whole): Update
7251 expected output.
7252
f87a3023
KS
72532012-03-30 Keith Seitz <keiths@redhat.com>
7254
7255 * gdb.python: Add test for linespecs with commas.
7256
e2171b3c
KS
72572012-03-28 Keith Seitz <keiths@redhat.com>
7258
7259 * gdb.linespec/ls-dollar.cc: New file.
7260 * gdb.linespec/ls-dollar.exp: New test.
7261
72622012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
7263
7264 * gdb.cp/namespace.exp: Add breakpoint tests for functions
7265 starting with the global namespace.
7266
2f4e0a80
DE
72672012-03-23 Doug Evans <dje@google.com>
7268
7269 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
7270
7b282c5a
SCR
72712012-03-22 Siva Chandra Reddy <sivachandra@google.com>
7272
7273 * gdb.python/py-value.cc: Add test case for testing the
7274 methodology exposing C++ values to Python.
7275 * gdb.python/py-value-cc.exp: Add tests testing the methodology
7276 exposing C++ values to Python.
7277 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
7278
2e98ca53
JK
72792012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7280 Siddhesh Poyarekar <siddhesh@redhat.com>
7281
7282 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
7283 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
7284 (generate native core dump): Make the test unsupported if core cannot
7285 be generated.
7286
8320cc4f
JK
72872012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7288
7289 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
7290 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
7291 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
7292
3a69ffb2
JK
72932012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7294
7295 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
7296
8fabffee
DE
72972012-03-17 Doug Evans <dje@google.com>
7298
7299 * dg-extract-results.sh: Handle KFAILs.
7300
ab260dad
JK
73012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7302
7303 PR symtab/13777
7304 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
7305
53ba8333
JB
73062012-03-16 Joel Brobecker <brobecker@adacore.com>
7307
7308 * gdb.ada/set_pckd_arr_elt: New testcase.
7309
481860b3
GB
73102012-03-16 Gary Benson <gbenson@redhat.com>
7311
7312 PR breakpoints/10738
7313 * gdb.opt/inline-break.exp: New file.
7314 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
7315 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
7316 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
7317 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
7318 * gdb.base/async-shell.exp: Likewise.
7319 * lib/mi-support.exp (library_loaded_re): Likewise.
7320
410528f0
TT
73212012-03-15 Tom Tromey <tromey@redhat.com>
7322
7323 * gdb.cp/virtfunc2.exp: Update expected output.
7324 * gdb.cp/pr9631.exp: Update expected output.
7325 * gdb.cp/member-ptr.exp: Update expected output.
7326 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
7327 output.
7328 * gdb.cp/casts.exp: Update expected output.
7329
c4aeac85
TT
73302012-03-15 Tom Tromey <tromey@redhat.com>
7331
7332 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
7333 (test_info_vtbl): Likewise.
7334 (do_tests): Call test_info_vtbl.
7335 * gdb.cp/virtfunc.cc (va): New global.
7336
856d06f9
TS
73372012-03-15 Thomas Schwinge <thomas@codesourcery.com>
7338
7339 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
7340 describing DWARF data structures.
7341 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
7342 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
7343 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
7344 * gdb.dwarf2/dw2-entry-value.S: Likewise.
7345 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7346 * gdb.dwarf2/dw2-param-error.S: Likewise.
7347 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
7348 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
7349 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
7350 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
7351 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
7352 * gdb.dwarf2/pr11465.S: Likewise.
7353
e837f12a
JK
73542012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7355
7356 * gdb.mi/mi2-prompt.exp: New file.
7357
ccbb4f28
JB
73582012-03-13 Joel Brobecker <brobecker@adacore.com>
7359
7360 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
7361
32039130
JB
73622012-03-13 Joel Brobecker <brobecker@adacore.com>
7363
7364 * gdb.ada/bp_range_type: New testcase.
7365
16899756
DE
73662012-03-13 Doug Evans <dje@google.com>
7367
7368 * gdb.base/default.exp: Delete tests for symbol-reloading.
7369 * gdb.base/help.exp: Ditto.
7370 * gdb.base/setshow.exp: Ditto.
7371 * gdb.base/gdb_history: Delete references to symbol-reloading.
7372
87b0bb13
JK
73732012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7374
7375 * gdb.base/attach-twice.c: New files.
7376 * gdb.base/attach-twice.exp: New files.
7377
0d7941a9
KS
73782012-03-08 Keith Seitz <keiths@redhat.com>
7379
7380 * lib/gdb.exp (gdb_get_line_number): Throw an
7381 error instead of returning -1.
7382 * gdb.base/break.exp: Remove unused variable
7383 bp_location5.
7384 * gdb.base/hbreak2.exp: Likewise.
7385 * gdb.base/sepdebug.exp: Likewise.
7386
f4647387
YQ
73872012-03-08 Yao Qi <yao@codesourcery.com>
7388 Pedro Alves <palves@redhat.com>
7389
7390 Fix PR server/13392.
7391 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
7392 (tracepoint_change_loc_2): Remove kfail. Return if failed to
7393 download tracepoints.
7394 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
7395 (pending_tracepoint_resolved_during_trace): Likewise.
7396 (pending_tracepoint_installed_during_trace): Likewise.
7397 (pending_tracepoint_with_action_resolved): Likewise.
7398
83c532cb
KS
73992012-03-08 Keith Seitz <keiths@redhat.com>
7400
7401 * gdb.ada/array_bounds.exp: Get breakpoint for line
7402 with "START", not "STOP".
7403 * gdb.python/py-infthread.exp: Do not continue to
7404 line marked "Break here.", which is undefined.
7405
d6b6bbb7
LM
74062012-03-08 Luis Machado <lgustavo@codesourcery.com>
7407
7408 Revert:
7409
7410 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7411
7412 Implement testsuite workaround for PR breakpoints/13781.
7413 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7414 (set breakpoint condition-evaluation host): New conditional command.
7415
7fe25d9b
JK
74162012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7417
7418 Fix CU relative vs. absolute DIE offsets.
7419 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
7420 one.
7421
51898c15
JK
74222012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7423
7424 Fix false FAIL on distros with relro linkage as default.
7425 * gdb.reverse/solib-precsave.exp: Try to compile the test using
7426 -Wl,-z,norelro first.
7427
8131799e
JB
74282012-03-06 Joel Brobecker <brobecker@adacore.com>
7429
7430 * gdb.ada/bp_on_var: New testcase.
7431
ba241969
JB
74322012-03-06 Joel Brobecker <brobecker@adacore.com>
7433
7434 * gdb.ada/bp_enum_homonym: New testcase.
7435
abe49676
YQ
74362012-03-06 Yao Qi <yao@codesourcery.com>
7437
7438 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
7439 x86_64-*-* and i?86-*-*.
7440 Set up KFAIL for gdb/13808.
7441
d8df103b
TT
74422012-03-05 Tom Tromey <tromey@redhat.com>
7443
7444 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
7445 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
7446
b7b189f3
TT
74472012-03-05 Tom Tromey <tromey@redhat.com>
7448
7449 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
7450
69dc1c4d
YQ
74512012-03-04 Yao Qi <yao@codesourcery.com>
7452
7453 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
7454 messages for KFAIL.
7455
3f20c47f
JK
74562012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7457
7458 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
7459 (print one_two_three, indexes off, print few_reps, indexes off)
7460 (print many_reps, indexes off, print empty, indexes off)
7461 (print one_two_three, print few_reps, print many_reps, print empty):
7462 Call setup_xfail if $gcc_old.
7463
abf1152a
JK
74642012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7465
7466 Implement testsuite workaround for PR breakpoints/13781.
7467 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7468 (set breakpoint condition-evaluation host): New conditional command.
7469
a06715f8
JK
74702012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7471
7472 Code cleanup.
7473 * gdb.cp/mb-templates.exp: New variables executable. Use it for
7474 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
7475 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
7476 number 1 by $bpnum. Four times.
7477
5808517f
YQ
74782012-03-03 Yao Qi <yao@codesourcery.com>
7479
7480 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
7481
dfe2ac14
JK
74822012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7483
7484 Setup KFAIL for PR server/13796.
7485 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
7486
8bbc467a
JB
74872012-03-02 Joel Brobecker <brobecker@adacore.com>
7488
7489 * gdb.ada/operator_bp: New testcase.
7490
c0eac87f
JB
74912012-03-02 Joel Brobecker <brobecker@adacore.com>
7492
7493 * gdb.ada/info_locals_renaming: New testcase.
7494
4f42c881
TT
74952012-03-02 Tom Tromey <tromey@redhat.com>
7496
7497 * gdb.base/nextoverexit.c: New file.
7498 * gdb.base/nextoverexit.exp: New file.
7499
7380c0c9
EBM
75002012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7501
7502 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
7503 parameter.
7504
1faeff08
MR
75052012-03-01 Maciej W. Rozycki <macro@mips.com>
7506
7507 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
7508 core registers.
7509
320b6f49 75102012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
7511 Maciej W. Rozycki <macro@codesourcery.com>
7512 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
7513
7514 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
7515
ad5f7d6e
PA
75162012-03-01 Pedro Alves <palves@redhat.com>
7517
7518 PR gdb/13767
7519
7520 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
7521 (gdb_collect_globals_test): Call it.
7522
d3dc44a6
KS
75232012-03-01 Keith Seitz <keiths@redhat.com>
7524
7525 * gdb.cp/method2.exp: Output of overload menu is now
7526 alphabetized. Update tests for "break A::method".
7527 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
7528 of hard-coding them.
7529 Overload menu is alphabetized: rewrite to accommodate.
7530 Unset variables LINE and TYPES which are used in other tests.
7531 Compute the output of "info break".
7532 Update the breakpoint table after all breakpoints are deleted.
7533 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
7534 compute ACTUALS and the method body based on parameters.
7535 Update expected output accordingly.
7536 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
7537 unique comments to allow the use of gdb_get_line_number.
7538
75392012-03-01 Keith Seitz <keiths@redhat.com>
7540
7541 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
7542 some Tcl syntax.
7543 * gdb.cp/ovldbreak.exp: Likewise.
7544
7949c2a0
KS
75452012-03-01 Keith Seitz <keiths@redhat.com>
7546
7547 * gdb.base/help.exp (help show user): Update expected result
7548 for new doc string changes (add "non-python").
7549
7d74f244
DE
75502012-03-01 Scott J. Goldman <scottjg@vmware.com>
7551
7552 * gdb.python/py-cmd.exp: Add test to verify that python commands can
7553 be put in the user-defined category and that the commands appear in
7554 "help user-defined".
7555
1b611343
JB
75562012-02-29 Joel Brobecker <brobecker@adacore.com>
7557
7558 * gdb.ada/tagged_not_init: New testcase.
7559
99b1c762
JB
75602012-02-29 Joel Brobecker <brobecker@adacore.com>
7561
7562 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
7563 * gdb.ada/enum_idx_packed: New testcase.
7564
2d4a02ee
JB
75652012-02-29 Joel Brobecker <brobecker@adacore.com>
7566
7567 * gdb.ada/aliased_array: New testcase.
7568
2e6fda7d
JB
75692012-02-29 Joel Brobecker <brobecker@adacore.com>
7570
7571 * gdb.ada/whatis_array_val: New testcase.
7572
9a7f938f
JK
75732012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7574
7575 Fix disp-step-syscall.exp: fork: single step over fork.
7576 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
7577 whitespaces.
7578 (single step over $syscall): Remove its check.
7579 (single step over $syscall final pc): New check.
7580
8703a944
JK
75812012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7582
7583 Support processors without SSSE3.
7584 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
7585 pabsd into ...
7586 (ssse3_test): ... a new function.
7587 (main): Call ssse3_test.
7588 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
7589 Update expected values everywhere.
7590 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
7591 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
7592 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
7593 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
7594 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
7595 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
7596 Move these tests lower.
7597 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
7598 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
7599 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
7600 New tests.
7601
c03e6ccc
YQ
76022012-02-29 Yao Qi <yao@codesourcery.com>
7603 Pedro Alves <palves@redhat.com>
7604
7605 * gdb.trace/trace-mt.c: New.
7606 * gdb.trace/trace-mt.exp: New.
7607
7964b62a
TS
76082012-02-28 Thomas Schwinge <thomas@codesourcery.com>
7609
2c8910ba
TS
7610 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
7611 numbers instead of hardcoding them.
7612 * gdb.base/annota1.c: Provide suitable markers.
7613 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
7614 numbers instead of hardcoding them.
7615 * gdb.base/annota3.c: Provide suitable markers.
7616
7617 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
7618 * gdb.base/annota3.c: Likewise.
7619 * gdb.base/sigall.c: Likewise.
7620 * gdb.base/signals.c: Likewise.
7621 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 7622
5a41c0b7
MR
76232012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
7624
7625 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
7626 failure return path.
7627
ebbbe5c5
LM
76282012-02-27 Luis Machado <lgustavo@codesourcery.com>
7629
7630 * gdb.base/save-bp.exp: Account for new condition evaluator output.
7631
8d126d8a
LM
76322012-02-24 Luis Machado <lgustavo@codesourcery.com>
7633
7634 * gdb.base/cond-eval-mode.exp: New file.
7635
11337c2f
PA
76362012-02-24 Pedro Alves <palves@redhat.com>
7637
7638 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
7639 (top level): Use with_test_prefix.
7640
13fc3e3c
PA
76412012-02-24 Pedro Alves <palves@redhat.com>
7642
7643 * gdb.threads/attach-into-signal.exp (corefunc): Use
7644 with_test_prefix.
7645
07c1b626
JK
76462012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7647
7648 Fix false FAILs on old CPUs without SSE.
7649 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
7650 Return untested for Illegal instruction.
7651
596ba138
JK
76522012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7653
7654 Fix false FAILs with glibc debug infos installed.
7655 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
7656 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
7657
aeaa2474
SA
76582012-02-22 Sterling Augustine <saugustine@google.com>
7659
7660 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
7661 constant with cast.
7662
aed555c9
PA
76632012-02-21 Pedro Alves <palves@redhat.com>
7664
7665 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
7666
78afebb4
PA
76672012-02-21 Pedro Alves <palves@redhat.com>
7668
7669 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
7670
fdcfef12
PA
76712012-02-21 Pedro Alves <palves@redhat.com>
7672
7673 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
7674 with_test_prefix.
7675
0f4d39d5
PA
76762012-02-21 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
7679 with_test_prefix here.
7680 (top level): Do it here instead. Remove `:' from the
7681 with_test_prefix string.
7682 * gdb.base/attach-pie-misread.exp: Remove the leading space the
7683 the suffix `:' from the with_test_prefix prefix string.
7684 * gdb.base/break-interp.exp: Ditto.
7685 * gdb.base/catch-load.exp: Ditto.
7686 * gdb.base/disp-step-syscall.exp: Ditto.
7687 * gdb.base/jit-so.exp: Ditto.
7688 * gdb.base/jit.exp: Ditto.
7689 * gdb.base/sepdebug.exp: Ditto.
7690 * gdb.base/solib-display.exp: Ditto.
7691 * gdb.base/solib-overlap.exp: Ditto.
7692 * gdb.base/watch-cond-infcall.exp: Ditto.
7693 * gdb.base/watchpoint.exp: Ditto.
7694 * gdb.dwarf2/dw2-noloc.exp: Ditto.
7695 * gdb.mi/mi-watch.exp: Ditto.
7696 * gdb.mi/mi2-watch.exp: Ditto.
7697 * gdb.threads/non-ldr-exc-1.exp: Ditto.
7698 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7699 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7700 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7701 * gdb.threads/watchpoint-fork.exp: Ditto.
7702 * gdb.threads/watchthreads-reorder.exp: Ditto.
7703 * gdb.trace/change-loc.exp: Ditto.
7704 * gdb.trace/pending.exp: Ditto.
7705 * gdb.trace/status-stop.exp: Ditto.
7706 * gdb.trace/strace.exp: Ditto.
7707 * gdb.trace/trace-break.exp: Ditto.
7708 * gdb.trace/unavailable.exp: Ditto.
7709 * lib/gdb.exp (with_test_prefix): Always prefix with space and
7710 suffix with colon. Adjust leading comments.
7711
6a5870ce
PA
77122012-02-21 Pedro Alves <palves@redhat.com>
7713 Tom Tromey <tromey@redhat.com>
7714
7715 * lib/gdb.exp: Add description of test prefixes.
7716 (with_test_prefix): New procedure.
7717 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
7718 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
7719 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
7720 instead of lappend to append to pf_prefix.
7721 * gdb.base/catch-load.exp: Use with_test_prefix.
7722 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
7723 * gdb.base/jit-so.exp: Use with_test_prefix.
7724 * gdb.base/jit.exp: Use with_test_prefix.
7725 * gdb.base/return-nodebug.exp (do_test): Use append instead of
7726 lappend to append to pf_prefix.
7727 * gdb.base/sepdebug.exp: Use with_test_prefix.
7728 * gdb.base/solib-display.exp: Use with_test_prefix.
7729 * gdb.base/solib-overlap.exp: Use with_test_prefix.
7730 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
7731 * gdb.base/watchpoint.exp: Use with_test_prefix.
7732 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
7733 * gdb.mi/mi-watch.exp: Use with_test_prefix.
7734 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
7735 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
7736 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
7737 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
7738 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
7739 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
7740 append instead of lappend to append to pf_prefix.
7741 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
7742 * gdb.trace/change-loc.exp: Use with_test_prefix.
7743 * gdb.trace/pending.exp: Use with_test_prefix.
7744 * gdb.trace/status-stop.exp: Use with_test_prefix.
7745 * gdb.trace/strace.exp: Use with_test_prefix.
7746 * gdb.trace/trace-break.exp: Use with_test_prefix.
7747 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
7748 instead of lappend to append to pf_prefix.
7749
35dc4a6b
JK
77502012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7751
7752 Fix racy FAILs.
7753 * gdb.base/inferior-died.c (main): Add return of 0.
7754 * gdb.base/inferior-died.exp (continue): Fix expectation of
7755 asynchronous events.
7756 (p 1): New test.
7757
c5a006e6
PA
77582012-02-20 Pedro Alves <palves@redhat.com>
7759
7760 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
7761 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
7762 gdb's internal debug output. For the non-threaded case, look for
7763 "Program received signal SIGLARM", for the threaded case, peek at
7764 the thread's siginfo.
7765
cc51a170
PA
77662012-02-20 Pedro Alves <palves@redhat.com>
7767
7768 General cleanup, make output test messages unique, and build
7769 different executable files for the non-threaded and threaded
7770 cases.
7771
7772 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
7773 Delete.
7774 (executable_nothr, executable_thr): New globals.
7775 (top level): Adjust to delete both executables.
7776 (corefunc): New parameter $executable. Set $pf_prefix instead of
7777 hand writing a prefix in tests. Issue a clean_restart and enable
7778 lin-lwp debug output here.
7779 (top level): Adjust. Use build_executable. Don't start gdb here,
7780 and don't enable lin-lwp debug output here.
7781 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
7782
c755f03d
JK
77832012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7784
7785 Fix racy FAILs.
7786 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
7787 "continue" command.
7788
6bec5e0a
JK
77892012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7790
7791 Fix for gdbserver non-extended mode.
7792 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
7793 and gdb_run_cmd.
7794
2e8265fd
TT
77952012-02-17 Tom Tromey <tromey@redhat.com>
7796
7797 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
7798 * gdb.python/py-events.exp: Check 'dir' output.
7799 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
7800
9e507076
YQ
78012012-02-17 Yao Qi <yao@codesourcery.com>
7802
7803 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
7804
32d22ab1
TT
78052012-02-16 Tom Tromey <tromey@redhat.com>
7806
7807 * gdb.base/inferior-died.c: Don't include stdio.h.
7808
9addecb9
TT
78092012-02-16 Tom Tromey <tromey@redhat.com>
7810
7811 * gdb.base/inferior-died.c: New file.
7812 * gdb.base/inferior-died.exp: New file.
7813
4cb6da1c
AR
78142012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
7815
7816 * gdb.base/break-inline.exp: New file.
7817 * gdb.base/break-inline.c: New file.
7818
3af2590d
TT
78192012-02-15 Tom Tromey <tromey@redhat.com>
7820
7821 * gdb.base/pc-fp.exp: Add "info register" tests.
7822
29988831
TT
78232012-02-15 Tom Tromey <tromey@redhat.com>
7824
7825 * gdb.base/regs.exp: Remove.
7826
10010058
PA
78272012-02-15 Pedro Alves <palves@redhat.com>
7828
7829 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
7830 the target doesn't support tracepoints.
7831 * gdb.trace/circ.exp: Ditto.
7832 * gdb.trace/collection.exp: Ditto.
7833 * gdb.trace/packetlen.exp: Ditto.
7834 * gdb.trace/passc-dyn.exp: Ditto.
7835 * gdb.trace/report.exp: Ditto.
7836 * gdb.trace/tfind.exp: Ditto.
7837 * gdb.trace/tspeed.exp: Ditto.
7838 * gdb.trace/tsv.exp: Ditto.
7839 * gdb.trace/unavailable.exp: Ditto.
7840 * gdb.trace/while-dyn.exp: Ditto.
7841
a2e0062d
PA
78422012-02-15 Pedro Alves <palves@redhat.com>
7843
7844 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
7845 gdb_test_multiple, and call unsupported instead of fail, if the
7846 remote side does not support the request.
7847
a1999d40
PA
78482012-02-15 Pedro Alves <palves@redhat.com>
7849
7850 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
7851 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
7852 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
7853 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
7854 * gdb.server/server-run.exp: Make sure gdb is disconnected.
7855 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
7856 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
7857 doesn't start with "extended-" already.
7858
7cee1e54
PA
78592012-02-15 Pedro Alves <palves@redhat.com>
7860
7861 Support extended-remote. Avoid cascading timeouts.
7862
7863 * gdb.base/attach.exp (do_attach_tests): Add expected output for
7864 the extended-remote target. If attaching with no file fails, load
7865 the file manually.
7866 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
7867
816338b5
SS
78682012-02-14 Stan Shebs <stan@codesourcery.com>
7869
7870 * gdb.base/ena-dis-br.exp: Add enable count test.
7871
cc30c4bd
PA
78722012-02-13 Pedro Alves <palves@redhat.com>
7873
7874 * config/mips-idt.exp: Delete.
7875 * gdb.base/a2-run.exp: Remove mips-idt xfails.
7876 * gdb.base/bitfields.exp: Remove mips-idt restarts.
7877 * gdb.base/break.exp: Remove mips-idt references.
7878 * gdb.base/chng-syms.exp: Ditto.
7879 * gdb.base/default.exp: Ditto.
7880 * gdb.base/funcargs.exp (funcargs_reload): Delete.
7881 (top level): Don't call it.
7882 * gdb.base/opaque.exp: Remove mips-idt restarts.
7883 * gdb.base/ptype.exp: Remove mips-idt xfails.
7884 * gdb.base/scope.exp: Remove mips-idt restarts.
7885 * gdb.base/sepdebug.exp: Remove mips-idt references.
7886 * gdb.base/watchpoint.exp (maybe_clean_restart)
7887 (maybe_reinitialize): Delete.
7888 (test_disabling_watchpoints, test_disabling_watchpoints)
7889 (test_watchpoint_triggered_in_syscall)
7890 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7891 Don't call them.
7892
57008375
JK
78932012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7894
7895 * gdb.server/server-exec-info.exp: New file.
7896
4a2d9c08
PA
78972012-02-10 Pedro Alves <palves@redhat.com>
7898
7899 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
7900 always non-empty.
7901 (test_attach): Always pass $exec to test_attach_gdb.
7902
09fa21bd
TT
79032012-02-08 Tom Tromey <tromey@redhat.com>
7904
7905 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
7906 before inferior is started.
7907
f0823d2c
TT
79082012-02-07 Tom Tromey <tromey@redhat.com>
7909
7910 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
7911 Symbol.value.
7912 * gdb.python/py-symbol.c (qq): Set default value.
7913
79142012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
7915
7916 * gdb.python/py-symbol.c (qq): New global.
7917 * gdb.python/py-symbol.exp: Add test for frame-less
7918 lookup_symbol.
7919 * gdb.python/py-symtab.exp: Fix line number.
7920
f7e44f65
JB
79212012-02-03 Joel Brobecker <brobecker@adacore.com>
7922
7923 * gdb.ada/mi_task_arg: New testcase.
7924
4c9ed63c
PA
79252012-02-02 Pedro Alves <palves@redhat.com>
7926
7927 * gdb.reverse/until-precsave.exp: Also put "record save" under the
7928 extended timeout.
7929
c0b9f2c6
PA
79302012-02-02 Pedro Alves <palves@redhat.com>
7931
7932 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
7933 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
7934
5f8cefd7
PA
79352012-02-02 Pedro Alves <palves@redhat.com>
7936
7937 * gdb.base/term.exp: Rewrite.
7938 * gdb.base/term.c: New.
7939
2f3a2569
PA
79402012-02-02 Pedro Alves <palves@redhat.com>
7941
7942 * gdb.base/default.exp (run "r" abbreviation, run): Add
7943 extended-remote expected output.
7944
f149aabd
TT
79452012-02-02 Tom Tromey <tromey@redhat.com>
7946
7947 * gdb.cp/dispcxx.exp: New file.
7948 * gdb.cp/dispcxx.cc: New file.
7949
03bef283
TT
79502012-02-01 Tom Tromey <tromey@redhat.com>
7951
7952 * gdb.base/jit-simple.exp: New file.
7953 * gdb.base/jit-simple.c: New file.
7954
a79b18b5
YQ
79552012-01-30 Yao Qi <yao@codesourcery.com>
7956
7957 * gdb.base/skip.exp: Make test result unique.
7958
f0d1a53e
JK
79592012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7960
7961 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
7962 compatibility with valgrind-3.7.0.
7963
4b3c9f41
PA
79642012-01-27 Pedro Alves <palves@redhat.com>
7965
7966 * gdb.base/watchpoint.exp (no_hw): New global.
7967 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
7968 disable hw watchpoints.
7969 (test_wide_location_1, test_wide_location_2): If no_hw is set,
7970 don't expect hw watchpoints.
7971 (no_hw_watchpoints): Always clean restart.
7972 (do_tests): New procedure, factored out from the top level.
7973 (top level): Run tests twice. Once with hw watchpoints enabled,
7974 another time with hw watchpoints disabled.
7975
a13491c8
PA
79762012-01-27 Pedro Alves <palves@redhat.com>
7977
7978 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
7979 out from the top level.
7980 (top level): Call it instead.
7981
f2c8a051
PA
79822012-01-27 Pedro Alves <palves@redhat.com>
7983
7984 * gdb.base/watchpoint.exp (top level): Re-enable hardware
7985 watchpoints sooner.
7986
654d7a9e
PA
79872012-01-27 Pedro Alves <palves@redhat.com>
7988
7989 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
7990
274f47f3
PA
79912012-01-27 Pedro Alves <palves@redhat.com>
7992
7993 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
7994 "You may have requested too many hardware
7995 breakpoints/watchpoints".
7996
e4d63ba2
PA
79972012-01-27 Pedro Alves <palves@redhat.com>
7998
7999 * gdb.base/watchpoint.exp (maybe_clean_restart)
8000 (maybe_reinitialize): New.
8001 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
8002 expect "hit N times".
8003 (test_disabling_watchpoints, test_complex_watchpoint)
8004 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
8005 Call maybe_clean_restart.
8006 (top level): Use clean_restart. Remove "mips-idt-*"
8007 reinitialization.
8008
dbd95daf
PA
80092012-01-27 Pedro Alves <palves@redhat.com>
8010
8011 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
8012
f3ad2025
PA
80132012-01-27 Pedro Alves <palves@redhat.com>
8014
8015 * gdb.base/watchpoint.exp: Clean restart after tests that don't
8016 require `initialize' anymore. Remove unnecessary `initialize'
8017 calls.
8018
100aa3ae
PA
80192012-01-27 Pedro Alves <palves@redhat.com>
8020
8021 * gdb.base/watchpoint.exp (wp_set): Delete.
8022 (initialize, test_simple_watchpoint, top level): Remove dead code.
8023
c79a8e11
PA
80242012-01-27 Pedro Alves <palves@redhat.com>
8025
8026 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
8027 typo.
8028
048fe15a
PA
80292012-01-27 Pedro Alves <palves@redhat.com>
8030
8031 * config/extended-gdbserver.exp: New file.
8032 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
8033 comment.
8034 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
8035 * boards/native-extended-gdbserver.exp: New file.
8036
4033a6bf
PA
80372012-01-26 Pedro Alves <palves@redhat.com>
8038
8039 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
8040 and gdb_test_multiple.
8041
3d7f4b81
PA
80422012-01-26 Pedro Alves <palves@redhat.com>
8043
8044 Make test messages unique, and more identifiable.
8045 * gdb.multi/watchpoint-multi.exp: Change test messages.
8046
484abf42
TT
80472012-01-25 Tom Tromey <tromey@redhat.com>
8048
8049 * gdb.base/solib-disc.exp: Fix regexps.
8050
edcc5120
TT
80512012-01-24 Tom Tromey <tromey@redhat.com>
8052
8053 * lib/mi-support.exp (mi_expect_stop): Add special case for
8054 solib-event.
8055 * gdb.base/catch-load-so.c: New file.
8056 * gdb.base/catch-load.exp: New file.
8057 * gdb.base/catch-load.c: New file.
8058 * gdb.base/break-interp.exp (reach_1): Update regexp.
8059
30b91c90
JK
80602012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8061
8062 Fix fuzzy results.
8063 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
8064 lpsimple and func.
8065
53fe1783
GB
80662012-01-24 Gary Benson <gbenson@redhat.com>
8067
8068 Delete #if 0'd out code.
8069 * gdb.base/default.exp (info catch): Remove.
8070 * gdb.base/gdb_history (info catch): Likewise.
8071 * gdb.base/help.exp (info catch): Likewise.
8072
d0d8b0c6
JK
80732012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8074
8075 Fix watchpoints to be specific for each inferior.
8076 * gdb.multi/watchpoint-multi.c: New file.
8077 * gdb.multi/watchpoint-multi.exp: New file.
8078
4403d8e9
JK
80792012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8080
8081 Fix watchpoints across inferior fork.
8082 * gdb.threads/watchpoint-fork-child.c: New file.
8083 * gdb.threads/watchpoint-fork-mt.c: New file.
8084 * gdb.threads/watchpoint-fork-parent.c: New file.
8085 * gdb.threads/watchpoint-fork-st.c: New file.
8086 * gdb.threads/watchpoint-fork.exp: New file.
8087 * gdb.threads/watchpoint-fork.h: New file.
8088
050a2e1d
PA
80892012-01-23 Pedro Alves <palves@redhat.com>
8090
8091 * gdb.base/call-signal-resume.exp: Allow output after "return".
8092
6a52fb62
PA
80932012-01-20 Pedro Alves <palves@redhat.com>
8094
8095 * gdb.python/py-finish-breakpoint.py: Fix typo.
8096
145b16a9
UW
80972012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
8098
8099 * gdb.base/info-proc.exp: Also run on remote targets. Main
8100 "info proc" command is now always present; whether target supports
8101 actual info proc operation is detected when attempting to issue
8102 the command.
8103
26f6125e
JK
81042012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8105
8106 * .gdbinit: Remove.
8107
eb5227ce
PA
81082012-01-19 Pedro Alves <palves@redhat.com>
8109
8110 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
8111 look at the funtions' returns.
8112 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
8113 (jprint.print(int, int)): Change return type to int. Adjust.
8114
1db33378
PP
81152012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8116
8117 PR gdb/9538
8118 * gdb.base/sepdebug.exp: New test.
8119
b9736cf8
PA
81202012-01-18 Pedro Alves <palves@redhat.com>
8121
8122 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
8123 Allow output before ^done.
8124
4aac40c8
TT
81252012-01-16 Tom Tromey <tromey@redhat.com>
8126
8127 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
8128 Add tests for relative directory.
8129
cafec441
TT
81302012-01-16 Tom Tromey <tromey@redhat.com>
8131
8132 * gdb.base/printcmds.c (enum flag_enum): New.
8133 (three): New global.
8134 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
8135 enum printing.
8136 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
8137 FlagEnumerationPrinter.
8138 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
8139 * gdb.python/py-pp-maint.c (enum flag_enum): New.
8140 (fval): New global.
8141
abcc4978
PA
81422012-01-16 Pedro Alves <palves@redhat.com>
8143
8144 * lib/gdb.exp (banned_procedures): New variable.
8145 (banned_variables_traced): Rename to ...
8146 (banned_traced): ... this.
8147 (gdb_init): Also trace banned procedures.
8148 (gdb_finish): Also untrace banned procedures.
8149
97ccebe8
PA
81502012-01-16 Pedro Alves <palves@redhat.com>
8151
8152 Remove all calls to strace.
8153
2af7517b
JK
81542012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8155
8156 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
8157 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
8158
9241a8bc
PP
81592012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8160
8161 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
8162 * gdb.base/pie-execl.exp: Likewise.
8163
3848a17f
KS
81642012-01-12 Keith Seitz <keiths@redhat.com>
8165
8166 PR mi/10586
8167 * gdb.mi/var-cmd.c (struct anonymous): New structure.
8168 (do_anonymous_type_tests): New function.
8169 (main): Call do_anonymous_type_tests.
8170 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
8171 (verify_everything): New procedure.
8172 * gdb.mi/mi-var-cp.cc (class A): New class.
8173 (anonymous_structs_and_unions): New function.
8174 (main): Call anonymous_structs_and_unions.
8175 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
8176 (verify_everything): New procedure.
8177
440e2fca
KS
81782012-01-12 Keith Seitz <keiths@redhat.com>
8179
8180 * lib/mi-support.exp: Expand comments about PATH_EXPR.
8181 (varobj_tree::get_path_expr): Assume that all varobjs are
8182 compound unless they are known simple types.
8183 Adjust path expressions based on parent type, path parent type,
8184 and tree language.
8185 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
8186 the root varobj.
8187 (mi_walk_varobj_tree): Add LANGUAGE parameter.
8188
675399c9
PA
81892012-01-11 Pedro Alves <palves@redhat.com>
8190
8191 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
8192 core files on this machine" anymore.
8193
97ddaa9b
PH
81942012-01-11 Paul Hilfinger <hilfingr@adacore.com>
8195
8196 * gdb.base/watchpoint.c (recurser): Initialize local_x.
8197 (main): Repeat recurser call.
8198 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
8199 equivalent to 'local_x'.
8200
ea733575 82012012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 8202 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
8203
8204 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
8205
2ca0b532
PA
82062012-01-05 Pedro Alves <alves.ped@gmail.com>
8207
8208 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
8209 * gdb.python/py-events.c (first): Add bits for new "step N" test.
8210 * gdb.python/py-events.exp: Test that "step N" tripping on a
8211 breakpoint emits a breakpoint event.
8212
6e681866
JB
82132012-01-03 Joel Brobecker <brobecker@adacore.com>
8214
8215 * gdb.base/auxv.exp: Reformat the copyright notice.
8216
3c2d6aff
YQ
82172012-01-03 Yao Qi <yao@codesourcery.com>
8218
8219 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
8220 (strace_trace_on_diff_addr): New.
8221 * gdb.trace/strace.c: (main): Add two local variables.
8222
0852fee3
UW
82232011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
8224
8225 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
8226 * gdb.cell/gcore.exp: Likewise.
8227 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
8228 to verify the correct instance of main is selected.
8229
12c3e59c
JB
82302012-01-02 Joel Brobecker <brobecker@adacore.com>
8231
8232 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
8233 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
8234 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
8235 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
8236 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
8237 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
8238 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
8239 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
8240 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
8241 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
8242 gdb.threads/thread_check.c: Reformat copyright header.
8243
c0f378ec
EBM
82442011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
8245
e4a7ca93 8246 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
8247 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
8248 is not enabled.
8249
3bc96cfb
JK
82502011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8251
8252 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
8253 parameter to self_exec, adjust the function.
8254 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
8255 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
8256 (set var do_exit = 0): Remove test.
8257 (newline at end of file): Add one.
8258
095bcf5e
JB
82592011-12-27 Joel Brobecker <brobecker@adacore.com>
8260
8261 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
8262 New files.
8263
18d19bd1
JK
82642011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8265
8266 Fix racy FAILs.
8267 * gdb.threads/fork-thread-pending.c (barrier): New variable.
8268 (thread_function, thread_forker): Call pthread_barrier_wait for it.
8269 (main): Call pthread_barrier_init for it.
8270
e809353a
JK
82712011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8272
8273 Fix double send_gdb leading to racy FAILs.
8274 * gdb.base/break.exp (set silent break bp_location1): Replace
8275 3x send_gdb and gdb_expect by gdb_test.
8276 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
8277 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
8278 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
8279 instead of send_gdb. Twice.
8280 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
8281 3x send_gdb and gdb_expect by gdb_test.
8282 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
8283
da8cb7ec
JK
82842011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8285
8286 * gdb.linespec/linespec.exp: Compile using {c++}.
8287
ae1a303e
JK
82882011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8289
8290 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
8291 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
8292 (verify GCC PR debug/51668): New test.
8293
cc72b2a2
KP
82942011-12-23 Kevin Pouget <kevin.pouget@st.com>
8295
8296 Introduce gdb.FinishBreakpoint in Python.
8297 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
8298 py-finish-breakpoint2
8299 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
8300 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
8301 instead of line number.
8302 * gdb.python/py-finish-breakpoint.c: New file.
8303 * gdb.python/py-finish-breakpoint.exp: New file.
8304 * gdb.python/py-finish-breakpoint.py: New file.
8305 * gdb.python/py-finish-breakpoint2.cc: New file.
8306 * gdb.python/py-finish-breakpoint2.exp: New file.
8307 * gdb.python/py-finish-breakpoint2.py: New file.
8308
3b7962f9
JK
83092011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8310
8311 Partial fix of compatibility with gcc-4.7.
8312 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
8313 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
8314 Add comment to add a PASS case in the future.
8315
6538471c
JK
8316 Fix compatibility with gcc-4.7.
8317 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
8318
7052e42c
UW
83192011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
8320
8321 PR tdep/12797
8322 * gdb.base/callfuncs.exp: Remove KFAIL.
8323
9ac7f98e
JB
83242011-12-21 Joel Brobecker <brobecker@adacore.com>
8325
8326 * gdb.ada/task_bp: New testcase.
8327
f6eeced0
JK
83282011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8329
8330 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
8331 -DNO_SECTIONS.
8332 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
8333
72225e17
JK
83342011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8335
8336 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
8337 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
8338 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
8339 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
8340 conditional for gcc <= 4.5.
8341
13ac8d2c
JK
83422011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8343
8344 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
8345 by XFAIL.
8346 * gdb.cp/static-method.exp (info addr A::func())
8347 (list static-method.cc:xxx::(anonymous namespace)::A::func)
8348 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
8349 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
8350 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
8351 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
8352 (test value of F in k3_m): Likewise.
8353 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
8354 Likewise.
8355
049682ba
JK
83562011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8357
8358 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
8359 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
8360 Remove.
8361 * gdb.threads/attachstop-mt.c: Remove.
8362 * gdb.threads/attachstop-mt.exp: Remove.
8363
2c9d8796
MK
83642011-12-17 Mark Kettenis <kettenis@gnu.org>
8365
8366 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
8367
e0f9f062
DE
83682011-12-16 Doug Evans <dje@google.com>
8369
f4aa2101 8370 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
8371 * boards/native-gdbserver.exp: New file.
8372
e0f9f062
DE
8373 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
8374 gdbserver output.
8375 (gdbserver_default_get_remote_address): New function.
8376 (gdbserver_start): Call gdb,get_remote_address to compute argument
8377 to "target remote" command.
8378
80b6e756
PM
83792011-12-16 Phil Muldoon <pmuldoon@redhat.com>
8380
1c3ad6ab 8381 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
8382 python print-stack. Add set/show python print-stack
8383 off|full|message tests.
8384
1576bd00
YQ
83852011-12-15 Yao Qi <yao@codesourcery.com>
8386
8387 * gdb.trace/strace.c: New
8388 * gdb.trace/strace.exp: New.
8389
d6a0f6e0
TT
83902011-12-14 Tom Tromey <tromey@redhat.com>
8391
8392 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
8393
31015e1d
DE
83942011-12-14 Doug Evans <dje@google.com>
8395
8396 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
8397
7b50312a
PA
83982011-12-14 Pedro Alves <pedro@codesourcery.com>
8399
8400 PR threads/10729
8401
8402 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 8403 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 8404
924437bc
PA
84052011-12-13 Pedro Alves <pedro@codesourcery.com>
8406 Doug Evans <dje@google.com>
8407
8408 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
8409 (clean_restart): Remove references to the gdb_stub target board
8410 variable.
8411 (gdb_step_for_stub): Delete.
8412
8413 * gdb.base/annota1.exp: Remove all references to [target_info
8414 exists gdb_stub], gdb_step_for_stub and usestubs.
8415 * gdb.base/annota3.exp: Ditto.
8416 * gdb.base/async.exp: Ditto.
8417 * gdb.base/break.exp: Ditto.
8418 * gdb.base/code-expr.exp: Ditto.
8419 * gdb.base/commands.exp: Ditto.
8420 * gdb.base/completion.exp: Ditto.
8421 * gdb.base/condbreak.exp: Ditto.
8422 * gdb.base/consecutive.exp: Ditto.
8423 * gdb.base/cvexpr.exp: Ditto.
8424 * gdb.base/define.exp: Ditto.
8425 * gdb.base/display.exp: Ditto.
8426 * gdb.base/ena-dis-br.exp: Ditto.
8427 * gdb.base/environ.exp: Ditto.
8428 * gdb.base/gnu-ifunc.exp: Ditto.
8429 * gdb.base/maint.exp: Ditto.
8430 * gdb.base/pending.exp: Ditto.
8431 * gdb.base/sect-cmd.exp: Ditto.
8432 * gdb.base/sepdebug.exp: Ditto.
8433 * gdb.base/unload.exp: Ditto.
8434 * gdb.base/watchpoint-solib.exp: Ditto.
8435 * gdb.cp/annota2.exp: Ditto.
8436 * gdb.cp/annota3.exp: Ditto.
8437 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
8438 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
8439 * gdb.mi/mi-pending.exp: Ditto.
8440 * gdb.trace/circ.exp: Ditto.
8441 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
8442 * gdb.base/list.exp: Ditto.
8443
8444 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
8445 breakpoint function and all references to the usestubs macro.
8446 * gdb.base/exprs.c: Ditto.
8447 * gdb.base/freebpcmd.c: Ditto.
8448 * gdb.base/bitfields.c: Ditto.
8449 * gdb.base/bitfields2.c: Ditto.
8450 * gdb.base/break.c: Ditto.
8451 * gdb.base/call-sc.c: Ditto.
8452 * gdb.base/call-signals.c: Ditto.
8453 * gdb.base/callfuncs.c: Ditto.
8454 * gdb.base/charset.c: Ditto.
8455 * gdb.base/consecutive.c: Ditto.
8456 * gdb.base/constvars.c: Ditto.
8457 * gdb.base/funcargs.c: Ditto.
8458 * gdb.base/int-type.c: Ditto.
8459 * gdb.base/interrupt.c: Ditto.
8460 * gdb.base/langs0.c: Ditto.
8461 * gdb.base/list0.c: Ditto.
8462 * gdb.base/mips_pro.c: Ditto.
8463 * gdb.base/miscexprs.c: Ditto.
8464 * gdb.base/nodebug.c: Ditto.
8465 * gdb.base/opaque0.c: Ditto.
8466 * gdb.base/pointers.c: Ditto.
8467 * gdb.base/printcmds.c: Ditto.
8468 * gdb.base/ptype.c: Ditto.
8469 * gdb.base/recurse.c: Ditto.
8470 * gdb.base/reread1.c: Ditto.
8471 * gdb.base/reread2.c: Ditto.
8472 * gdb.base/restore.c: Ditto.
8473 * gdb.base/return.c: Ditto.
8474 * gdb.base/run.c: Ditto.
8475 * gdb.base/scope0.c: Ditto.
8476 * gdb.base/sepdebug.c: Ditto.
8477 * gdb.base/setshow.c: Ditto.
8478 * gdb.base/setvar.c: Ditto.
8479 * gdb.base/sigall.c: Ditto.
8480 * gdb.base/signals.c: Ditto.
8481 * gdb.base/structs.c: Ditto.
8482 * gdb.base/structs2.c: Ditto.
8483 * gdb.base/testenv.c: Ditto.
8484 * gdb.base/twice.c: Ditto.
8485 * gdb.base/unwindonsignal.c: Ditto.
8486 * gdb.base/watchpoint.c: Ditto.
8487 * gdb.base/watchpoints.c: Ditto.
8488 * gdb.base/whatis.c: Ditto.
8489 * gdb.cp/classes.cc: Ditto.
8490 * gdb.cp/cplusfuncs.cc: Ditto.
8491 * gdb.cp/derivation.cc: Ditto.
8492 * gdb.cp/formatted-ref.cc: Ditto.
8493 * gdb.cp/misc.cc: Ditto.
8494 * gdb.cp/overload.cc: Ditto.
8495 * gdb.cp/ovldbreak.cc: Ditto.
8496 * gdb.cp/ref-params.cc: Ditto.
8497 * gdb.cp/ref-types.cc: Ditto.
8498 * gdb.cp/templates.cc: Ditto.
8499 * gdb.cp/virtfunc.cc: Ditto.
8500 * gdb.hp/gdb.aCC/run.c: Ditto.
8501 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
8502 * gdb.hp/gdb.compat/xdb0.c: Ditto.
8503 * gdb.reverse/consecutive-reverse.c: Ditto.
8504 * gdb.reverse/sigall-reverse.c: Ditto.
8505 * gdb.reverse/until-reverse.c: Ditto.
8506 * gdb.reverse/watch-reverse.c: Ditto.
8507 * gdb.trace/actions.c: Ditto.
8508 * gdb.trace/circ.c: Ditto.
8509 * gdb.trace/collection.c: Ditto.
8510
fabde485
PA
85112011-12-13 Pedro Alves <pedro@codesourcery.com>
8512
8513 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
8514 (func6, func7): New.
8515 (main): Call func6 and func7.
8516 * gdb.base/watchpoint.exp (test_wide_location_1)
8517 (test_wide_location_2): New.
8518 (top level): Re-enable hardware watchpoints if necessary. Call
8519 test_wide_location_1 and test_wide_location_2.
8520
ff7d1690
YQ
85212011-12-11 Yao Qi <yao@codesourcery.com>
8522
8523 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
8524
a6af7abe
JB
85252011-12-11 Joel Brobecker <brobecker@adacore.com>
8526
8527 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
8528 expected output for unsupported case.
8529
61638e15
JK
85302011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8531
8532 PR testsuite/12649
8533 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
8534 Protect gdb_test_multiple by final $gdb_prompt match.
8535
0a00efc3
JK
85362011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8537
8538 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
8539 New variable, new test.
8540 (list static-method.cc:xxx::(anonymous namespace)::A::func)
8541 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
8542 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
8543 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
8544 them if HAVE_GCC_45682_FIXED is not set.
8545
4511b1ba
YQ
85462011-12-10 Yao Qi <yao@codesourcery.com>
8547
8548 * gdb.trace/status-stop.exp: New.
8549 * gdb.trace/status-stop.c: New.
8550
27949e73
JK
85512011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
8554 timeout.
8555
d8ea7931
TT
85562011-12-08 Tom Tromey <tromey@redhat.com>
8557
8558 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
8559 condition.
8560
1cc310d2
SS
85612011-12-07 Stan Shebs <stan@codesourcery.com>
8562
8563 * gdb.trace/tfind.exp: Update for output changes.
8564
d482a875
PA
85652011-12-07 Pedro Alves <pedro@codesourcery.com>
8566
8567 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
8568 throws "Cannot insert catchpoints in this configuration".
8569 * gdb.ada/mi_catch_ex.exp: Likewise.
8570
f0ba3972
PA
85712011-12-06 Pedro Alves <pedro@codesourcery.com>
8572
8573 * gdb.base/break-always.exp: Test changing memory at addresses
8574 with breakpoints inserted.
8575
f8eba3c6
TT
85762011-12-06 Joel Brobecker <brobecker@acacore.com>
8577
6fdff2c5
PA
8578 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
8579 involving a fully qualified function name.
f8eba3c6
TT
8580
85812011-12-06 Tom Tromey <tromey@redhat.com>
8582
8583 * gdb.ada/homonym.exp: Add three breakpoint tests.
8584
85852011-12-06 Tom Tromey <tromey@redhat.com>
8586
8587 * gdb.base/solib-weak.exp (do_test): Remove kfail.
8588 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
8589 * gdb.objc/objcdecode.exp: Update for output changes.
8590 * gdb.linespec/linespec.exp: New file.
8591 * gdb.linespec/lspec.cc: New file.
8592 * gdb.linespec/lspec.h: New file.
8593 * gdb.linespec/body.h: New file.
8594 * gdb.linespec/base/two/thefile.cc: New file.
8595 * gdb.linespec/base/one/thefile.cc: New file.
8596 * gdb.linespec/Makefile.in: New file.
8597 * gdb.cp/templates.exp (test_template_breakpoints): Update for
8598 output changes.
8599 * gdb.cp/re-set-overloaded.exp: Remove kfail.
8600 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
8601 makes one breakpoint.
8602 * gdb.cp/method2.exp (test_break): Update for output changes.
8603 * gdb.cp/mb-templates.exp: Update for output changes.
8604 * gdb.cp/mb-inline.exp: Update for output changes.
8605 * gdb.cp/mb-ctor.exp: Update for output changes.
8606 * gdb.cp/ovsrch.exp: Use fully-qualified names.
8607 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
8608 has multiple matches.
8609 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
8610 error message change.
8611 * gdb.base/list.exp (test_list_filename_and_number): Update for
8612 error message change.
8613 * gdb.base/break.exp: Disable pending breakpoints. Update for
8614 output changes.
8615 * configure.ac: Add gdb.linespec.
8616 * configure: Rebuild.
8617 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
8618
c642a434
UW
86192011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
8620
8621 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
8622 last_break register on s390*-*-* targets.
8623
b18003d1
JB
86242011-12-06 Joel Brobecker <brobecker@adacore.com>
8625
8626 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
8627 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
8628 of parameter X in procedure Foo.
8629
fe96589c
SS
86302011-12-05 Stan Shebs <stan@codesourcery.com>
8631
8632 * gdb.trace/tfind.exp: Update help string matches.
8633
1820ab47
JK
86342011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8635
8636 * gdb.server/ext-run.exp (get process list): Accept also systemd
8637 as PID 1.
8638
e11ac3a3
JK
86392011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8640 Pedro Alves <pedro@codesourcery.com>
8641
8642 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
8643 starting GDB.
8644 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
8645 $use_gdb_stub.
8646 * gdb.base/display.exp: Likewise.
8647 * gdb.base/ending-run.exp: Likewise.
8648 * gdb.base/list.exp (test_listsize): Likewise.
8649 * gdb.base/setshow.exp: Likewise.
8650 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
8651 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
8652 check by global $use_gdb_stub.
8653 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
8654 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
8655 (default_gdb_init): Unset global $use_gdb_stub.
8656 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
8657 by global $use_gdb_stub.
8658 * lib/gdbserver-support.exp: Extend comments for set_board_info
8659 gdb_protocol and gdb,socketport.
8660 (gdbserver_start_extended): Set global gdbserver_protocol and
8661 gdbserver_gdbport. Clear global use_gdb_stub.
8662 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
8663 from target use_gdb_stub.
8664 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
8665
1d41d75c
DE
86662011-12-03 Doug Evans <dje@google.com>
8667
8668 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
8669 (gdb_step_for_stub): Add comments.
8670
d6d7a51a
MR
86712011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
8672
8673 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
8674 to the caller.
8675 (gdb_test_multiple): Likewise.
8676
05acf274
JK
86772011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8678
8679 Fix gdb.mi/mi-solib.exp without system debug info installed.
8680 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
8681 expect attribute, return 0 for it. Update comments.
8682
2268b414
JK
86832011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8684
8685 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
8686 (corrupted list): Adjust the expectation.
8687
585861ea
JK
86882011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8689
8690 PR threads/13448
8691 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
8692 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
8693 * gdb.threads/tls-var-main.c: New file.
8694 * gdb.threads/tls-var.c: New file.
8695 * gdb.threads/tls-var.exp: New file.
8696
968643aa
JK
86972011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8698
8699 PR testsuite/12649
8700 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
8701 Protect gdb_test_multiple by final $gdb_prompt match.
8702 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
8703 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
8704 (test_tracepoints): Likewise.
8705
9750bca9
JK
87062011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8707
8708 PR breakpoints/13346
8709 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
8710 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
8711 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
8712
ac1349b7
JB
87132011-12-01 Joel Brobecker <brobecker@adacore.com>
8714
8715 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
8716 * gdb.ada/homonym/homonym.adb: For use of all types defined
8717 locally inside both Get_Value subprograms.
8718
26d44faf
JK
87192011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8720
8721 Fix racy FAILs.
8722 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
8723 of send_gdb.
8724
514f6425
UW
87252011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8726
8727 * gdb.base/testenv.exp: Skip on remote targets. Unset global
8728 environment variable after test completed.
8729
4255c8d2
UW
87302011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8731
8732 * gdb.base/solib-nodir.exp: Skip if remote target.
8733 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
8734 application. Call gdb_load_shlibs.
8735 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
8736
a35ad96a
JB
87372011-11-29 Joel Brobecker <brobecker@adacore.com>
8738
8739 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
8740
1a1d5513
JB
87412011-11-28 Joel Brobecker <brobecker@adacore.com>
8742
8743 * gdb.ada/fullname_bp: New testcase.
8744
50b4ddf8
JK
87452011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8746
8747 PR testsuite/12649
8748 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
8749 Wrap send_gdb into a new gdb_test.
8750
fb0aec57
JK
8751 Code cleanup.
8752 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
8753 Convert send_gdb and gdb_expect to gdb_test_multiple.
8754
2376d946
JK
87552011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8756
8757 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
8758
1eec78bd
KS
87592011-11-23 Keith Seitz <keiths@redhat.com>
8760
8761 * lib/mi-support.exp (varobj_tree): New namespace and procs.
8762 (mi_varobj_tree_test_children_callback): New proc.
8763 (mi_walk_varobj_tree): New proc.
8764
36dfb11c
TT
87652011-11-22 Tom Tromey <tromey@redhat.com>
8766
8767 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
8768 Add "use_mi_command" argument.
8769 (mi_run_cmd, mi_run_with_cli): New procs.
8770 * gdb.mi/solib-lib.c: New file.
8771 * gdb.mi/solib-main.c: New file.
8772 * gdb.mi/mi-solib.exp: New file.
8773
0e965dd0
DE
87742011-11-21 Doug Evans <dje@google.com>
8775
8776 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
8777 _Unwind_DebugHook is missing.
8778
f196051f
SS
87792011-11-20 Stan Shebs <stan@codesourcery.com>
8780
8781 * gdb.trace/tstatus.exp: New.
8782 * gdb.trace/actions.c: Include string.h.
8783
bfccc43c
YQ
87842011-11-18 Yao Qi <yao@codesourcery.com>
8785
8786 * gdb.trace/pending.exp: New.
8787 * gdb.trace/pending.c: New.
8788 * gdb.trace/pendshr1.c: New.
8789 * gdb.trace/pendshr2.c: New.
8790 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
8791 tracepoint location becomes pending.
8792 (tracepoint_change_loc_2): New.
8793
73cd8ab1
DM
87942011-11-16 David S. Miller <davem@davemloft.net>
8795
8796 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
8797 target is sparc*-*-linux*
8798
77426730
PK
87992011-11-15 Paul Koning <paul_koning@dell.com>
8800
8801 * gdb.python/py-type.exp: New testcases for exceptions on scalar
8802 types.
8803
ed59ded5
DE
88042011-11-14 Doug Evans <dje@google.com>
8805
8806 * gdb.base/shell.exp: New file.
8807
405f8e94
SS
88082011-11-14 Stan Shebs <stan@codesourcery.com>
8809
8810 * gdb.trace/ftrace.c: New.
8811 * gdb.trace/ftrace.exp: New.
8812
1e4d1764
YQ
88132011-11-14 Yao Qi <yao@codesourcery.com>
8814
8815 * gdb.trace/change-loc-1.c: New.
8816 * gdb.trace/change-loc-2.c: New.
8817 * gdb.trace/change-loc.c: New.
8818 * gdb.trace/change-loc.exp: New.
8819 * gdb.trace/change-loc.h: New.
8820 * gdb.trace/trace-break.c (marker): Define new symbol.
8821 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 8822 New.
1e4d1764
YQ
8823 (break_trace_same_addr_6): New.
8824
71eba9c2 88252011-11-12 Matt Rice <ratmice@gmail.com>
8826
8827 * gdb.base/info-macros.exp: Make tests for info definitions
8828 test info macro. Add tests for info macro argument processing.
8829 Rename a few tests.
8830
1d93e29a
KS
88312011-11-11 Keith Seitz <keiths@redhat.com>
8832
8833 PR gdb/12843
8834 * gdb.base/linespecs.exp: New file.
8835
a4b5b48a
DE
88362011-11-11 Doug Evans <dje@google.com>
8837
8838 * gdb.threads/print-threads.exp: Extend timeout for slower
8839 tests.
8840
f6b47be4
DE
88412011-11-10 Doug Evans <dje@google.com>
8842
792a0230
DE
8843 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
8844 "record to end of main" test.
8845
f6b47be4
DE
8846 * gdb.python/py-type.c (TS): New typedef.
8847 (ts): New global.
8848 * gdb.python/py-type.exp: Test field list of typedef.
8849
22355c90
JB
88502011-11-10 Joel Brobecker <brobecker@adacore.com>
8851
8852 * gdb.ada/small_reg_param: New testcase.
8853
a7860e76
TT
88542011-11-09 Tom Tromey <tromey@redhat.com>
8855
8856 * gdb.cp/destrprint.exp: New file.
8857 * gdb.cp/destrprint.cc: New file.
8858
72a2e3dc
MI
88592011-11-08 Meador Inge <meadori@codesourcery.com>
8860
8861 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
8862 (switch_stack_to_other): New test function.
8863 * gdb.arch/thumb-prologue.exp: New test cases.
8864
c7195df2 88652011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
8866
8867 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
8868
d3895d7d
YQ
88692011-11-08 Yao Qi <yao@codesourcery.com>
8870
8871 * gdb.exp (supports_process_record): New.
8872 (supports_reverse): New.
8873 * gdb.reverse/break-precsave.exp: Call support_process_record
8874 to run test conditionally.
8875 * gdb.reverse/consecutive-precsave.exp: Likewise.
8876 * gdb.reverse/i386-precsave.exp: Likewise.
8877 * gdb.reverse/machinestate-precsave.exp: Likewise.
8878 * gdb.reverse/solib-precsave.exp: Likewise.
8879 * gdb.reverse/step-precsave.exp: Likewise.
8880 * gdb.reverse/until-precsave.exp: Likewise.
8881 * gdb.reverse/watch-precsave.exp: Likewise.
8882 * gdb.reverse/break-reverse.exp: Call support_reverse to run
8883 test conditionally.
8884 * gdb.reverse/consecutive-reverse.exp: Likewise.
8885 * gdb.reverse/finish-precsave.exp: Likewise.
8886 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8887 * gdb.reverse/finish-reverse.exp: Likewise.
8888 * gdb.reverse/i386-reverse.exp: Likewise.
8889 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8890 * gdb.reverse/machinestate.exp: Likewise.
8891 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
8892 * gdb.reverse/sigall-precsave.exp: Likewise.
8893 * gdb.reverse/sigall-reverse.exp: Likewise.
8894 * gdb.reverse/solib-reverse.exp: Likewise.
8895 * gdb.reverse/step-reverse.exp: Likewise.
8896 * gdb.reverse/until-reverse.exp: Likewise.
8897 * gdb.reverse/watch-reverse.exp: Likewise.
8898
a59306a3
YQ
88992011-11-05 Yao Qi <yao@codesourcery.com>
8900
8901 * gdb.trace/trace-break.exp: Add test on setting two
8902 fast tracepoints at the same address.
8903
87769f59
JK
89042011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8905
8906 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
8907
3065dfb6
SS
89082011-11-02 Stan Shebs <stan@codesourcery.com>
8909
8910 * gdb.trace/collection.c: Add code using strings.
8911 * gdb.trace/collection.exp: Add tests of string collection.
8912
89e208db
JK
89132011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8914
8915 * gdb.base/skip-solib.exp (executable_main): New variable.
8916 (binfile_main): Base it on that.
8917 Use $executable_main in clean_restart calls. Drop gdb_exit and
8918 gdb_start calls.
8919
405e54e9
JK
89202011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8921
8922 Fix racy FAILs.
8923 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
8924 breakpoint_re globals import by async. Set string_regex to .* for
8925 async. Remove the optional thread_selected_re and breakpoint_re
8926 globals expectations.
8927
58e8570a
JM
89282011-11-01 Joseph Myers <joseph@codesourcery.com>
8929
8930 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
8931 well as Cygwin.
8932
7b35ec7f 89332011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
8934
8935 Add tests for skip command.
89e208db
JK
8936 * gdb.base/skip-solib-lib.c: New
8937 * gdb.base/skip-solib-main.c: New
8938 * gdb.base/skip-solib.exp: New
8939 * gdb.base/skip.c: New
8940 * gdb.base/skip.exp: New
8941 * gdb.base/skip1.c: New
8942 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 8943
b9fd1791
PA
89442011-10-31 Yao Qi <yao@codesourcery.com>
8945 Pedro Alves <pedro@codesourcery.com>
8946
6fdff2c5
PA
8947 * gdb.trace/trace-break.c: New.
8948 * gdb.trace/trace-break.exp: New.
b9fd1791 8949
4323fecc
JK
89502011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8951
8952 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
8953 break-here-2.
8954
0e5bf2a8
PA
89552011-10-28 Pedro Alves <pedro@codesourcery.com>
8956
8957 * gdb.threads/no-unwaited-for-left.c: New.
8958 * gdb.threads/no-unwaited-for-left.exp: New.
8959 * gdb.threads/non-ldr-exc-1.c: New.
8960 * gdb.threads/non-ldr-exc-1.exp: New.
8961 * gdb.threads/non-ldr-exc-2.c: New.
8962 * gdb.threads/non-ldr-exc-2.exp: New.
8963 * gdb.threads/non-ldr-exc-3.c: New.
8964 * gdb.threads/non-ldr-exc-3.exp: New.
8965 * gdb.threads/non-ldr-exc-4.c: New.
8966 * gdb.threads/non-ldr-exc-4.exp: New.
8967
3a3dad98
JK
89682011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8969
8970 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
8971 * gdb.base/attach-pie-misread.exp: Likewise.
8972 * gdb.base/break-interp.exp: Likewise.
8973 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
8974 testcases for use_gdb_stub.
8975 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
8976 (continue): New testcase.
8977 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
8978 * gdb.threads/attach-into-signal.exp: Likewise.
8979 * gdb.threads/attach-stopped.exp: Likewise.
8980 * gdb.threads/attachstop-mt.exp: Likewise.
8981
d6a5d40c
PK
89822011-10-28 Paul Koning <paul_koning@dell.com>
8983
8984 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
8985
ca539be8
JK
89862011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8987
8988 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
8989 (mi_gdb_test): Import globals thread_selected_re
8990 and breakpoint_re. Expect them optionally at the regex start.
8991
d234ef5c
DE
89922011-10-27 Doug Evans <dje@google.com>
8993
8994 * gdb.python/python.exp: Test source -s.
8995
ab964825
PK
89962011-10-26 Paul Koning <paul_koning@dell.com>
8997
8998 * gdb.python/lib-types.cc (struct A): New structure.
8999 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 9000
54d8a644
PK
90012011-10-25 Paul Koning <paul_koning@dell.com>
9002
9003 PR python/13327
d234ef5c 9004
54d8a644
PK
9005 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
9006 fetch_lazy method.
9007
b0221781
YQ
90082011-10-24 Yao Qi <yao@codesourcery.com>
9009
9010 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
9011 target is tic6x-*-*.
9012
6cda5a20
JB
90132011-10-21 Joel Brobecker <brobecker@adacore.com>
9014
9015 * gdb.ada/mi_task_info/task_switch.adb: New file.
9016 * gdb.ada/mi_task_info.exp: New file.
9017
5ed9db04
JK
90182011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9019
9020 * gdb.cp/expand-psymtabs-cxx.exp: New file.
9021 * gdb.cp/expand-psymtabs-cxx.cc: New file.
9022
9df2fbc4
PM
90232011-10-20 Phil Muldoon <pmuldoon@redhat.com>
9024
9025 PR python/12656
9026
9027 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
9028 global_block tests.
9029
736086ba
TT
90302011-10-18 Tom Tromey <tromey@redhat.com>
9031
9032 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
9033
4af31552
TT
90342011-10-18 Tom Tromey <tromey@redhat.com>
9035
9036 * gdb.base/source.exp: Don't include full file name in test name.
9037 * gdb.python/python.exp: Don't include full file name in test
9038 name.
9039
43136979
AR
90402011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9041
9042 * gdb.base/attach-pie-noexec.c: New files.
9043 * gdb.base/attach-pie-noexec.exp: New files.
9044
543a9323
JM
90452011-10-17 Joseph Myers <joseph@codesourcery.com>
9046
9047 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
9048 prompt for each extra line in command.
9049
21ae7a4d
JK
90502011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9051
9052 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
9053 Revert the part of:
9054 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9055 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
9056 Change the expected string.
9057
20ec36d9
JK
90582011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9059
9060 Fix results with system glibc debug info installed.
9061 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
9062 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
9063 Accept also __libc_ symbol prefix and no prefix.
9064
6501c2fc
KS
90652011-10-14 Keith Seitz <keiths@redhat.com>
9066
9067 PR c++/13225
9068 * gdb.cp/converts.cc (foo3_1): New function.
9069 (foo3_2): New functions.
9070 * gdb.cp/converts.exp: Add tests for int to pointer conversion
9071 and null pointer conversions of integer constant zero.
9072 Add test to check if all arguments are checked for incompatible
9073 conversion BADNESS.
9074
55b1fd0c
TT
90752011-10-14 Tom Tromey <tromey@redhat.com>
9076
9077 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
9078 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
9079 linespec.
9080
22c05d8a
JK
90812011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9082
9083 Fix internal error regression.
9084 * gdb.dwarf2/implptr-optimized-out.S: New file.
9085 * gdb.dwarf2/implptr-optimized-out.exp: New file.
9086
1d6edc3c
JK
90872011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9088
9089 Fix empty DWARF expressions DATA vs. SIZE conditionals.
9090 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
9091 (loclist): New.
9092 (4): New abbrev.
9093 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
9094 Use prepare_for_testing, remove clean_restart.
9095 (p arraynoloc, p arraycallnoloc): New tests.
9096
9ec72168
JK
90972011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9098
9099 * gdb.cp/namespace-enum.exp (executable): New variable.
9100 (binfile): Use ${objdir}/${subdir}/ prefix.
9101 Use ${executable} for clean_restart.
9102
9c6c53f7
SA
91032011-10-11 Sterling Augustine <saugustine@google.com>
9104
9105 * gdb.cp/Makefile.in: Add namespace-enum test.
9106 * gdb.cp/namespace-enum.exp: New file.
9107 * gdb.cp/namespace-enum.c: New file.
9108 * gdb.cp/namespace-enum-main.c: New file.
9109
fac7ceb3
UW
91102011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
9111
9112 * gdb.python/py-shared.exp: Relax filename check to handle remote:
9113 sysroot.
9114
941b2081
JK
91152011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9116
9117 Reimplement @entry in input expressions.
9118 * gdb.base/exprs.c (v_int_array_init): New variable.
9119 * gdb.base/exprs.exp (print v_int_array_init)
9120 (print *v_int_array_init@1, print *v_int_array_init@2)
9121 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
9122 (print v_int_array_init[1]@1): New tests.
9123
0344e878
JM
91242011-10-10 Joseph Myers <joseph@codesourcery.com>
9125
9126 * gdb.cp/gdb2495.exp: Do not include directories in filename in
9127 expected message.
9128
5a56e9c5
DE
91292011-10-09 Doug Evans <dje@google.com>
9130
9131 * gdb.base/alias.exp: Add tests for alias command.
9132
2bda9cc5
JK
91332011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9134
9135 * gdb.arch/amd64-entry-value.s: New file.
9136 * gdb.mi/mi2-amd64-entry-value.s: New file.
9137
a471c594
JK
91382011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9139
9140 Display @entry parameter values even for references.
9141 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
9142 functions.
9143 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
9144 reference and datap_input.
9145 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
9146 breakpoints.
9147 (continue to breakpoint: entry_reference: reference)
9148 (entry_reference: bt at entry)
9149 (continue to breakpoint: entry_reference: breakhere_reference)
9150 (entry_reference: bt, entry_reference: ptype regparam)
9151 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
9152 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
9153 (entry_reference: p regcopy, entry_reference: p nodataparam)
9154 (entry_reference: p nodataparam@entry): New tests.
9155
36b11add
JK
91562011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9157
9158 Support @entry in input expressions.
9159 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
9160 (entry_stack: p s1@entry, entry_stack: p s2@entry)
9161 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
9162 (tailcall: p j@entry): New tests.
9163 * gdb.cp/koenig.cc (A::entry): New function.
9164 (main): Call it.
9165 * gdb.cp/koenig.exp (p entry (c)): New test.
9166
e18b2753
JK
91672011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9168
9169 Display @entry parameter values (without references).
9170 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
9171 (different, validity, invalid): New functions.
9172 (main): Call them.
9173 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
9174 stacktest, breakhere_stacktest, different, breakhere_different,
9175 breakhere_validity and breakhere_invalid.
9176 (entry: bt): Update for @entry.
9177 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
9178 (entry_validity: *, entry_invalid: *): Many new tests.
9179 * gdb.base/break.exp
9180 (run until breakpoint set at small function, optimized file): Accept
9181 also the @entry suffix.
9182 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
9183 * gdb.mi/mi2-amd64-entry-value.c: New files.
9184 * gdb.mi/mi2-amd64-entry-value.exp: New files.
9185
2d6c5dc2
JK
91862011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9187
9188 Protect entry values against self tail calls.
9189 * gdb.arch/amd64-entry-value.cc (self2, self): New.
9190 (main): Call self.
9191 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
9192 (set debug entry-values 1, self: bt debug entry-values): New tests.
9193
111c6489
JK
91942011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9195
9196 Recognize virtual tail call frames.
9197 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
9198 (amb_b, amb_a): New.
9199 (main): Call a and b.
9200 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
9201 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
9202 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
9203 New tests.
9204
8e3b41a9
JK
92052011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9206
9207 Implement basic support for DW_TAG_GNU_call_site.
9208 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
9209 * gdb.arch/amd64-entry-value.cc: New file.
9210 * gdb.arch/amd64-entry-value.exp: New file.
9211
181cebd4
JK
92122011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9213
9214 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
9215 * gdb.dwarf2/implptr-64bit.S: New file.
9216 * gdb.dwarf2/implptr-64bit.exp: New file.
9217
741f5e3c
JK
92182011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9219
9220 Fix initial language detection with -readnow.
9221 * gdb.cp/readnow-language.cc: New file.
9222 * gdb.cp/readnow-language.exp: New file.
9223
a73d2258
JK
92242011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9225
9226 Fix printed anonymous struct name.
9227 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
9228
af369495
JM
92292011-10-09 Joseph Myers <joseph@codesourcery.com>
9230
9231 * gdb.base/solib-symbol.exp: Do not include directories in
9232 filenames in expected messages.
9233
1fa57852
DE
92342011-10-07 Doug Evans <dje@google.com>
9235
9236 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
9237
bd054e06
KP
92382011-10-07 Kevin Pouget <kevin.pouget@st.com>
9239
9240 Allow Python notification of new object-file loadings.
9241 * gdb.python/py-events.exp: Test newobjfile event.
9242 * gdb.python/py-events.py: Register newobjfile callback.
9243 * gdb.python/py-events.c: Add call to shared library
9244 * gdb.python/py-events-shlib.c: New file.
9245
8031b6f8
JM
92462011-10-06 Joseph Myers <joseph@codesourcery.com>
9247
9248 * gdb.base/fixsection.exp: Do not include directories in filename
9249 in expected message.
9250
7fea6923
PM
92512011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
9252
9253 Add tests for passing of environment variables to inferior.
9254 * gdb.base/testenv.c: New test source.
9255 * gdb.base/testenv.exp: New expect test.
9256
687f2a88
PK
92572011-10-04 Paul Koning <paul_koning@dell.com>
9258
9259 * gdb.python/py-value.c (main): Break before return.
9260
cb6be26b
KP
92612011-10-04 Kevin Pouget <kevin.pouget@st.com>
9262
9263 PR python/12691: Add the inferior to Python exited event
9264 * gdb.python/py-events.exp: Test the inferior attribute of exited
9265 event with a fork.
9266 * gdb.python/py-events.py: Print inferior number on exit.
9267 * gdb.python/py-events.c: Fork the inferior.
9268
fb213700
EBM
92692011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
9270
9271 * gdb.base/jit.exp: Add testcase name to log message
9272
aa2071bd
PK
92732011-10-03 Paul Koning <paul_koning@dell.com>
9274 Jan Kratochvil <jan.kratochvil@redhat.com>
9275
9276 * gdb.python/py-value.exp
9277 (python inval = gdb.parse_and_eval('*(int*)0'))
9278 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
9279 (set argc=2, python print argc_lazy): New tests.
9280
dd11a36c
JB
92812011-10-02 Joel Brobecker <brobecker@adacore.com>
9282
9283 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
9284
46f886f1
JK
92852011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9286 Pedro Alves <pedro@codesourcery.com>
9287
9288 * gdb.python/py-value.exp (test_value_in_inferior): New variable
9289 can_read_0, test for it.
9290 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
9291 (parse_and_eval with memory error): ... here, make it untested if
9292 can_read_0.
9293
c5cb204f
MP
92942011-09-30 Marek Polacek <mpolacek@redhat.com>
9295
9296 * gdb.python/python.exp (verify pagination beforehand)
9297 (verify pagination afterwards): Fix race by splitting the line.
9298
68fb0ec0
JM
92992011-09-29 Joseph Myers <joseph@codesourcery.com>
9300
9301 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
9302 for 64-bit multilibs from i?86-* targets.
9303
6aee0d90
MP
93042011-09-29 Marek Polacek <mpolacek@redhat.com>
9305
9306 * lib/gdb.exp: Fix a typo in one of the comments.
9307
e9101ff5
MP
93082011-09-29 Marek Polacek <mpolacek@redhat.com>
9309
9310 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
9311 matching pattern.
9312
7a81bdbf
PK
93132011-09-28 Paul Koning <paul_koning@dell.com>
9314
9315 * gdb.python/py-type.c (enum E): New.
9316 * gdb.python/py-type.exp (test_fields): Add tests for Python
9317 mapping access to fields.
9318 (test_enums): New test for field access on enums.
9319
6710bf39
SS
93202011-09-27 Stan Shebs <stan@codesourcery.com>
9321
9322 * gdb.trace/collection.exp: Test collection of $_ret.
9323
b2a6bdeb
AT
93242011-09-22 Andreas Tobler <andreast@fgznet.ch>
9325
9326 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
9327 list of compilation switches for <*-*-freebsd*>.
9328
3c9057f3
SS
93292011-09-19 Stan Shebs <stan@codesourcery.com>
9330
9331 * gdb.trace/tspeed.exp: New file.
9332 * gdb.trace/tspeed.c: New file.
9333
34518530
YQ
93342011-09-18 Yao Qi <yao@codesourcery.com>
9335
9336 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
9337 instructions.
9338 (test_adr_32bit, test_pop_pc): Likewise.
9339 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
9340 Thumb instructions.
9341 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
9342 in gdb_test_multiple.
9343 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
9344
ab254057
YQ
93452011-09-17 Yao Qi <yao@codesourcery.com>
9346
9347 * lib/gdb.exp (can_single_step_to_signal_handler): New.
9348 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
9349 support single step to signal handler.
9350
9c317b71
YQ
93512011-09-17 Yao Qi <yao@codesourcery.com>
9352
9353 * gdb.base/disp-step-fork.c: New.
9354 * gdb.base/disp-step-syscall.exp: New.
9355 * gdb.base/disp-step-vfork.c: New.
9356
a8123151
JB
93572011-09-16 Joel Brobecker <brobecker@adacore.com>
9358
9359 * gdb.ada/tasks.exp: Make the expected output for
9360 the `info tasks' tests more resilient to spacing
9361 changes.
9362
63a9aad8
JK
93632011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9364
9365 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
9366 (reached breakpoint 2, reached breakpoint 3): Update expected output.
9367
2aa48337
KP
93682011-09-15 Kevin Pouget <kevin.pouget@st.com>
9369
9370 PR Python/12692 Add gdb.selected_inferior() to Python interface.
9371 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
9372
6839b47f
KP
93732011-04-30 Kevin Pouget <kevin.pouget@st.com>
9374
9375 Handle multiple breakpoint hits in Python interface:
9376 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
9377 presence.
9378 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
9379 breakpoint hits.
9380
0935723e
JK
93812011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9382 Jan Kratochvil <jan.kratochvil@redhat.com>
9383
9384 * gdb.python/py-events.exp: Remove pretty printing comment.
9385 * gdb.python/py-evsignal.exp: New file.
9386 * gdb.python/py-evthreads.c: Include signal.h.
9387 (thread3): Remove variable count3. Remove variable bad and use raise
9388 instead.
9389 (thread2): Remove variable count2. Move thread3 pthread_create here,
9390 merge pthread_join to a single line.
9391 (main): Remove variable count1. Merge pthread_join with pthread_create
9392 to a single line.
9393 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
9394 KFAIL python/12966 for gdbserver. Test return value of
9395 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
9396 gdb_expect by gdb_test and gdb_test_multiple.
9397 (thread 2, thread 3): New tests.
9398
4801a9a3
PA
93992011-09-12 Matt Rice <ratmice@gmail.com>
9400 Pedro Alves <pedro@codesourcery.com>
9401
9402 PR gdb/13175
9403
9404 * gdb.base/interp.exp: New tests.
9405 * gdb.base/interp.c: New file.
9406
24ece742
DE
94072011-09-12 Doug Evans <dje@google.com>
9408
9409 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
9410 * gdb.dwarf2/typeddwarf.exp: Ditto.
9411
7f062217
JK
94122011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9413
9414 Fix compatibility with x32 arch.
9415 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
9416 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
9417 is_x86_like_target.
9418 * testsuite/gdb.trace/collection.exp: Likewise.
9419 * testsuite/gdb.trace/report.exp: Likewise.
9420 * testsuite/gdb.trace/unavailable.exp: Likewise.
9421 * testsuite/gdb.trace/while-dyn.exp: Likewise.
9422 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
9423 (is_x86_like_target): Check also is_amd64_regs_target.
9424
08711b9a
JK
94252011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9426
9427 PR breakpoints/12435
9428 * gdb.arch/amd64-prologue-xmm.c: New file.
9429 * gdb.arch/amd64-prologue-xmm.exp: New file.
9430 * gdb.arch/amd64-prologue-xmm.s: New file.
9431
b99b5f66
JK
94322011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9433
9434 * gdb.dwarf2/dw2-param-error-main.c: New file.
9435 * gdb.dwarf2/dw2-param-error.S: New file.
9436 * gdb.dwarf2/dw2-param-error.exp: New file.
9437
a391a2f6
PA
94382011-09-08 Pedro Alves <pedro@codesourcery.com>
9439
9440 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
9441 inferior's pid and look for a core dump named core.$pid. Use
9442 `remote_file' commands on the host instead of hand coding shell
9443 commands on the build.
9444 * gdb.base/valgrind-db-attach.exp: Kill the program before
9445 finishing the test.
9446
7d8e6458 94472011-09-02 Matt Rice <ratmice@gmail.com>
9448
9449 * lib/prompt.exp: New file for testing the first prompt.
9450 * gdb.python/py-prompt.exp: Ditto.
9451 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
9452
68e77c9e
PA
94532011-09-02 Pedro Alves <pedro@codesourcery.com>
9454
9455 * gdb.threads/gcore-thread.exp: Set the global core_supported to
9456 0, before testing gcore.
9457
9655e943
JK
94582011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9459
df6dc84d
JK
9460 * dw2-ifort-parameter-debug.S: Update copyright year.
9461 * dw2-ifort-parameter.c: Update copyright year.
9462 * dw2-ifort-parameter.exp: Update copyright year.
9463
9655e943
JK
9464 * dw2-ifort-parameter-debug.S: New file.
9465 * dw2-ifort-parameter.c: New file.
9466 * dw2-ifort-parameter.exp: New file.
9467
353d1d73
JK
94682011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9469
9470 * gdb.base/commands.exp (error_clears_commands_left): New function.
9471 (): Call it.
9472
5c07461a
JK
94732011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9474
9475 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
9476 (C): Initialize `a'.
9477 * gdb.mi/mi-inheritance-syntax-error.exp
9478 (-data-evaluate-expression $path): Expect `a' as 5.
9479
0d932b2f
MK
94802011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
9481
9482 PR mi/11912
9483 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
9484 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
9485 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
9486 keyword in output of -var-info-path-expression.
9487
bdb54049
JK
94882011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9489
9490 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
9491 * gdb.trace/collection.exp: Likewise.
9492 * gdb.trace/report.exp: Likewise.
9493 * gdb.trace/unavailable.exp: Likewise.
9494 * gdb.trace/while-dyn.exp: Likewise.
9495
59cde39c
KS
94962011-08-18 Keith Seitz <keiths@redhat.com>
9497
9498 PR c++/12266
9499 * gdb.cp/meth-typedefs.cc: New file.
9500 * gdb.cp/meth-typedefs.exp: New file.
9501
fa3a4f15
PM
95022011-08-17 Phil Muldoon <pmuldoon@redhat.com>
9503
6fdff2c5 9504 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 9505
c1049fca
JK
95062011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9507
9508 * gdb.arch/i386-dr3-watch.exp
9509 (watchpoint on gap1 does not fit debug registers)
9510 (delete all watchpoints): Fix racy expect strings.
9511
d93f7b5c
YQ
95122011-08-14 Yao Qi <yao@codesourcery.com>
9513
9514 * gdb.base/maint.exp: set data_section to ".neardata".
9515 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
9516 * gdb.base/savedregs.exp: Handle SIGILL.
9517 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
9518 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
9519
457e09f0
DE
95202011-08-12 Doug Evans <dje@google.com>
9521
9522 * gdb.python/py-symbol.exp: Add test for symbol.type.
9523
5d0bb2fb
UW
95242011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
9525
9526 * gdb.threads/pthreads.exp: Enable on non-native configurations.
9527 * gdb.mi/mi-pthreads.exp: Likewise.
9528 * gdb.mi/mi2-pthreads.exp: Likewise.
9529 * gdb.mi/gdb669.exp.exp: Likewise.
9530
fcdfa280
PA
95312011-08-09 Pedro Alves <pedro@codesourcery.com>
9532
9533 * lib/mi-support.exp (detect_async): Rename to...
9534 (mi_detect_async): ... this.
9535 * gdb.mi/mi-nonstop-exit.exp: Adjust.
9536 * gdb.mi/mi-nonstop.exp: Adjust.
9537 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
9538 * gdb.mi/mi-nsintrall.exp: Adjust.
9539 * gdb.mi/mi-nsmoribund.exp: Adjust.
9540 * gdb.mi/mi-nsthrexec.exp: Adjust.
9541
9d8fa392
PA
95422011-08-09 Pedro Alves <pedro@codesourcery.com>
9543
9544 * gdb.base/display.c (do_loops): New `p_i' local.
9545 * gdb.base/display.exp: Test displaying a variable that is
9546 temporarily at a bad address.
9547
b6cede78
JK
95482011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9549
9550 * gdb.dwarf2/dw2-op-stack-value.S: New file.
9551 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
9552
67bedb8c
JK
95532011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9554
9555 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
9556 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
9557 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 9558
af6e93b2
PA
95592011-08-05 Pedro Alves <pedro@codesourcery.com>
9560
9561 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
9562 procedure.
9563 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
9564
1cf0e11f
YQ
95652011-08-05 Yao Qi <yao@codesourcery.com>
9566
9567 * gdb.base/callfuncs.exp: Set language after main.
9568 * gdb.cp/cplusfuncs.exp: Likewise.
9569 * gdb.cp/inherit.exp: Likewise.
9570
a1e28cb2
UW
95712011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9572
9573 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
9574 * gdb.base/watch-vfork.exp: Skip on remote targets.
9575
d4f5bbb9
UW
95762011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9577
9578 * gdb.threads/thread-find.exp: Support remote targets.
9579
724f4f80
UW
95802011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9581
9582 * gdb.base/jit.exp: Download solib_binfile to target.
9583 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
9584 and call dlopen without full path name.
9585 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
9586 dlopen without full path name.
9587
934709f0
PW
95882011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9589
9590 * gdb.base/break-always.exp: Complete the test
9591 with duplicated breakpoints and enabling/disabling them.
9592
c26106c4
TT
95932011-08-02 Tom Tromey <tromey@redhat.com>
9594
9595 PR gdb/11289:
9596 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
9597
9300444e 95982011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
9599
9600 PR gdb/13045
9601 * gdb.base/float.exp: Add new test case for PR gdb/13045
9602 * gdb.base/float.c: New file.
9603
00bd41d6
PM
96042011-07-28 Phil Muldoon <pmuldoon@redhat.com>
9605
9606 * gdb.python/py-mi.exp: Test printers returning string hint, and
9607 also not returning a value.
9608 * gdb.python/py-prettyprint.c: Add testcase for above.
9609 * gdb.python/py-prettyprint.py: Add test printer for above.
9610
d24f74ce
JK
96112011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9612
9613 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
9614 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
9615 (.Ldie30) Add as field "data4".
9616 (.Ldie32) Rename field "b" to "shl".
9617 (abbrev4) Change for the "data4" field.
9618 (abbrev5, abbrev6) Remove.
9619 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
9620 (p &s.shl): ... here. Add comment.
9621 (p &s.data4): New.
9622
bb7da2bf
JK
96232011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9624
9625 Fix crash on lval_computed values.
9626 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
9627
11081198
JK
96282011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9629
9630 * gdb.base/help.exp (help whatis): Update the expected string.
9631
3c6e0cb3
JK
96322011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9633
9634 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
9635 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
9636 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
9637 Change the expected string.
9638
efa80663
PA
96392011-07-26 Pedro Alves <pedro@codesourcery.com>
9640
9641 * gdb.base/watchpoint.exp
9642 (test_disable_enable_software_watchpoint): New procedure.
9643 (top level): Run it.
9644
db8e4570
UW
96452011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
9646
9647 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
9648 executable file "${binfile}", C++ version "${binfile}-cxx".
9649 * gdb.python/py-prettyprint.exp: Likewise.
9650 * gdb.python/py-symbol.exp: Likewise.
9651 * gdb.python/py-type.exp: Likewise.
9652 * gdb.python/py-value.exp: Likewise.
9653 * gdb.python/py-template.exp (test_template_arg): Pass full executable
9654 file name instead of just suffix.
9655
543305c9
JK
96562011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9657
9658 Fix implicit pointer offsets.
9659 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
9660 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
9661 (continue to breakpoint: continue to baz breakpoint for implptr)
9662 (sanity check element 0, sanity check element 1)
9663 (enter the inlined function, check element 0 for the offset)
9664 (check element 1 for the offset)
9665 (continue to breakpoint: ignore the second baz breakpoint): New tests.
9666 (set foo breakpoint for implptr): Update the breakpoint number.
9667
b3215adc
UW
96682011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9669
9670 * gdb.python/py-mi.exp: Use different file names for different
9671 versions of the executable under test.
9672 * gdb.python/py-prettyprint.exp: Likewise.
9673 * gdb.python/py-symbol.exp: Likewise.
9674 * gdb.python/py-template.exp: Likewise.
9675 * gdb.python/py-type.exp: Likewise.
9676 * gdb.python/py-value.exp: Likewise.
9677
182b9acc
UW
96782011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9679
9680 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
9681 flag after restarting GDB if necessary.
9682
e6052b5d
UW
96832011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9684
9685 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
9686
1ced966e
PA
96872011-07-22 Pedro Alves <pedro@codesourcery.com>
9688
9689 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
9690 backend doesn't leave used debug registers behind.
9691
3543a589
TT
96922011-07-22 Tom Tromey <tromey@redhat.com>
9693
9694 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
9695 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
9696 argument.
9697 * gdb.dwarf2/typeddwarf-amd64.S: New file.
9698
14d15303 96992011-07-21 Matt Rice <ratmice@gmail.com>
9700
9701 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
9702 in mostlyclean rule. Add files ending in .core.
9703
9b158ba0 97042011-07-21 Matt Rice <ratmice@gmail.com>
9705
9706 PR macros/12999
9707 * gdb.base/info-macros.c: New test sources.
9708 * gdb.base/info-macros.exp: New tests.
9709
d17b6f81
PM
97102011-07-21 Phil Muldoon <pmuldoon@redhat.com>
9711
9712 * gdb.python/python.exp: Add prompt substitution tests.
9713
918dd910
JK
97142011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9715
9716 Fix crash if referenced CU is aged out.
9717 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
9718 New.
9719 * gdb.dwarf2/implptr.exp: Likewise.
9720
0e37a63c
JK
97212011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9722
9723 * gdb.dwarf2/implptr.S: Rebuilt.
9724 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
9725 (bar): Use them for j, k, l.
9726 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
9727 COMPILE.
9728 (print j in implptr:bar): Update for the intp typedef.
9729 (print p[0].x in implptr:foo): Use more exact regex.
9730
f65cf84c
TT
97312011-07-18 Tom Tromey <tromey@redhat.com>
9732
9733 * gdb.cp/static-method.exp: Add missing single quote.
9734
d5b4a7be
YQ
97352011-07-18 Yao Qi <yao@codesourcery.com>
9736
9737 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
9738 supported.
9739 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9740 * gdb.mi/mi-nonstop.exp: Likewise.
9741 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9742 * gdb.mi/mi-nsintrall.exp: Likewise.
9743 * gdb.mi/mi-nsmoribund.exp: Likewise.
9744 * gdb.mi/mi-nsthrexec.exp: Likewise.
9745 * gdb.python/py-evthreads.exp: Likewise.
9746
e9ea2662
JK
97472011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9748
9749 Code cleanup.
9750 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
9751 it. Substitute it instead of test_compiler_info everywhere.
9752
ce451573
UW
97532011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9754
9755 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
9756 remote targets as well.
9757
756d88a7
UW
97582011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9759
9760 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
9761 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
9762
31f83dc5
UW
97632011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9764
9765 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
9766 a remote machine, not the host.
9767 (gdb_compile_shlib): Set soname if target is remote.
9768
059241a0
PP
97692011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9770
9771 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
9772
28a0b48c 97732011-07-13 Matt Rice <ratmice@gmail.com>
9774
9775 * gdb.python/py-objfile-script-gdb.py: Renamed to
9776 py-objfile-script-gdb.py.in.
9777 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
9778 py-objfile-script-gdb.py.
9779 * gdb.python/py-objfile-script.exp: Update reference to
9780 py-objfile-script-gdb.py.
9781
9a771b67
JK
97822011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9783
9784 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
9785 reference undefined label.
9786
04ad99e6
JK
97872011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9788
9789 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
9790 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
9791 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
9792 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
9793
713389e0
PM
97942011-07-11 Phil Muldoon <pmuldoon@redhat.com>
9795
6fdff2c5 9796 PR python/12438
713389e0 9797 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 9798 deprecated tests. Add set/show python print-backtrace tests.
713389e0 9799
97d146f8
JK
98002011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9801
9802 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
9803 debug info.
9804
facde0e5 98052011-07-06 Matt Rice <ratmice@gmail.com>
9806
9807 * gdb.python/python.exp: Update filename paths.
9808 * gdb.python/py-symtab.exp: Ditto.
9809
438640d1
MP
98102011-07-06 Marek Polacek <mpolacek@redhat.com>
9811
9812 * gdb.python/py-evthreads.exp: Add missing `$'.
9813
33a365df
MF
98142011-07-06 Jie Zhang <jie.zhang@analog.com>
9815
9816 * config/bfin.exp: New file.
9817 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
9818 * gdb.asm/bfin.inc: New file.
9819
8f7ae686
MP
98202011-07-06 Marek Polacek <mpolacek@redhat.com>
9821
df46027d 9822 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
9823 the whole output.
9824
eb2a6f42
TT
98252011-07-05 Tom Tromey <tromey@redhat.com>
9826
9827 * gdb.java/jprint.java (jprint.hi): New field.
9828 * gdb.java/jprint.exp: Print string.
9829
177b42fe
TJB
98302011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
9831
9832 * gdb.base/call-sc.c: Fix typos.
9833 * gdb.base/ifelse.exp: Likewise.
9834 * gdb.base/structs.c: Likewise.
9835
3b2a0cf2
JB
98362011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9837
9838 * gdb.base/jit-so.exp: New test.
9839 * gdb.base/jit-dlmain.c: New file.
9840 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
9841
46fc714c
JK
98422011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9843
9844 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
9845 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
9846 * gdb.cp/pr9167.exp (p b): Likewise.
9847 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
9848 (test value of P in inner_m, test type of Z in inner_m): Call
9849 setup_xfail for gcc <= 4.5.
46fc714c 9850
418c7cf7
JK
98512011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9852
9853 * gdb.cp/paren-type.cc: New files.
9854 * gdb.cp/paren-type.exp: New files.
9855
3d50dd94
JK
98562011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9857
9858 Stop on first linespec terminator instead of eating what we can.
9859 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
9860 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
9861 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
9862 (break C::f()): ... this one.
9863 (break C::operator()()): New test.
9864 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
9865 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
9866 test.
9867
dcf9f4ab
JK
98682011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9869
9870 Fall back linespec to minimal symbols.
9871 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
9872 error message.
9873 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
9874 * gdb.cp/minsym-fallback-main.cc: New file.
9875 * gdb.cp/minsym-fallback.cc: New file.
9876 * gdb.cp/minsym-fallback.exp: New file.
9877 * gdb.cp/minsym-fallback.h: New file.
9878
3f542ed1
JK
98792011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9880
9881 * gdb.cp/no-dmgl-verbose.cc: New file.
9882 * gdb.cp/no-dmgl-verbose.exp: New file.
9883
98842011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
9885
9886 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
9887 __GI_.
9888 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
9889 (f): New function.
9890 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
9891 (complete p 'func<short>(): ... here.
9892 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
9893 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
9894 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
9895 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
9896 Make them KFAIL gcc/49546.
9897
00eb2c4a
JB
98982011-07-01 Joel Brobecker <brobecker@adacore.com>
9899
9900 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
9901
85a20c42
JK
99022011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9903
9904 Test GCC PR debug/49546.
9905 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
9906 (test type of F in k3_m, test value of F in k3_m): New.
9907 * gdb.cp/temargs.cc (struct S3, struct K3): New.
9908 (main): New variable k3. Call k3.k3_m.
9909
d2d43431
JB
99102011-07-01 Jean-Charles Delay <delay@adacore.com>
9911
9912 * gdb.ada/packed_array.exp: Fix expected outout.
9913
54ae186f
JB
99142011-07-01 Jean-Charles Delay <delay@adacore.com>
9915
9916 * gdb.ada/packed_array.exp: fixed expected output.
9917
8f17729f
JB
99182011-07-01 Joel Brobecker <brobecker@adacore.com>
9919
9920 * gdb.ada/same_enum: New testcase.
9921
f5aa6869
JB
99222011-07-01 Joel Brobecker <brobecker@adacore.com>
9923
9924 * gdb.ada/ptr_typedef: New testcase.
9925
828292f2
JB
99262011-07-01 Joel Brobecker <brobecker@adacore.com>
9927
9928 * gdb.ada/arrayptr.exp: Add ptype test.
9929
18920c42
JB
99302011-07-01 Joel Brobecker <brobecker@adacore.com>
9931
9932 * gdb.ada/char_enum: New testcase.
9933
3536d9e3 99342011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
9935
9936 * gdb.base/dump.exp (capture_pointer_with_type): New.
9937 Get value from address instead of name.
9938 Start GDB once, and do `dump' and `restore'
9939 tests together.
9940
db863c42
MF
99412011-06-30 Jie Zhang <jie.zhang@analog.com>
9942 Mike Frysinger <vapier@gentoo.org>
9943
9944 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
9945 helper functions for getting/setting remotetimeout variable.
9946 * lib/gdb.exp (gdb_load): If the target is remote, set
9947 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
9948 with $loadtimeout. Set $load_ok to 0 before doing the load.
9949 Instead of returning, immediately, set $load_ok to 0. Call
9950 set_remotetimeout with $oldremotetimeout, and then return if
9951 $load_ok is 1.
9952
e9e642a8
AB
99532011-06-30 Andrew Burgess <aburgess@broadcom.com>
9954
9955 * gdb.python/py-template.exp: Don't run this test if the target
9956 does not support c++ tests.
9957
32019081
JK
99582011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9959
9960 Fix non-only rename list for Fortran modules import.
9961 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
9962 tests.
9963 * gdb.fortran/module.f90 (module moduse): New.
9964 (program module): use moduse, test var_x, var_y and var_z.
9965
0ecee54c
TT
99662011-06-29 Tom Tromey <tromey@redhat.com>
9967
9968 PR testsuite/12040:
9969 * gdb.fortran/array-element.exp: Use f90, not f77.
9970 * gdb.fortran/complex.exp: Use f90, not f77.
9971 * gdb.fortran/derived-type.exp: Use f90, not f77.
9972 * gdb.fortran/library-module.exp: Use f90, not f77.
9973 * gdb.fortran/logical.exp: Use f90, not f77.
9974 * gdb.fortran/module.exp: Use f90, not f77.
9975 * gdb.fortran/multi-dim.exp: Use f90, not f77.
9976 * gdb.fortran/subarray.exp: Use f90, not f77.
9977
3b2b8fea
TT
99782011-06-29 Tom Tromey <tromey@redhat.com>
9979
9980 * gdb.fortran/charset.exp: New file.
9981 * gdb.fortran/charset.f90: New file.
9982
42159ca5
TT
99832011-06-29 Tom Tromey <tromey@redhat.com>
9984
9985 PR testsuite/12040:
9986 * lib/future.exp: New file, mostly extracted from ada.exp.
9987 Rewrote compatibility code to use rename.
9988 (gdb_find_gfortran): New proc.
9989 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
9990 gfortran patch.
9991 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
9992 Move to future.exp.
9993 * lib/gdb.exp: Always load future.exp.
9994
af69a5ce
YQ
99952011-06-28 Yao Qi <yao@codesourcery.com>
9996
9997 * gdb.cp/exception.cc: Don't include iostream.
9998 (bar): Remove print statement.
9999 (catcher): New.
10000 (main): Remove print statements. Call function catcher.
10001 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
10002 Set breakpoint on catcher, and check the value of parameter.
10003
ab5c6a72
YQ
100042011-06-23 Yao Qi <yao@codesourcery.com>
10005
6fdff2c5
PA
10006 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
10007 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 10008
9497469f
MP
100092011-06-23 Marek Polacek <mpolacek@redhat.com>
10010
10011 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
10012 mi_gdb_test.
10013
b9132588
MP
100142011-06-23 Marek Polacek <mpolacek@redhat.com>
10015
5d197ed0 10016 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 10017
e55595ca
MP
100182011-06-23 Marek Polacek <mpolacek@redhat.com>
10019
5d197ed0
MP
10020 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
10021
100222011-06-23 Marek Polacek <mpolacek@redhat.com>
10023
10024 * gdb.mi/mi2-basics.exp: Fix races. Honour the
10025 `test_exec_and_symbol_mi_operatons' return value.
10026 (test_mi_interpreter_selection): Use mi_gdb_test instead of
10027 gdb_test_multiple.
10028 (test_exec_and_symbol_mi_operatons): Likewise.
10029 (test_path_specification): Likewise.
e55595ca 10030
be777e08
YQ
100312011-06-23 Yao Qi <yao@codesourcery.com>
10032
10033 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
10034 supported.
10035 * lib/gdb.exp (support_displaced_stepping): New.
10036
615556d6
YQ
100372011-06-23 Yao Qi <yao@codesourcery.com>
10038
10039 * gdb.threads/execl.exp: Skip on remote target.
10040
833b0ca7
MP
100412011-06-21 Marek Polacek <mpolacek@redhat.com>
10042
5d197ed0 10043 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
10044 mi_gdb_test.
10045
1ee4023a
MP
100462011-06-20 Marek Polacek <mpolacek@redhat.com>
10047
5d197ed0 10048 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 10049
d0b1d624
MP
100502011-06-20 Marek Polacek <mpolacek@redhat.com>
10051
5d197ed0 10052 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
10053 mi_gdb_test.
10054
79aa92c1
MP
100552011-06-20 Marek Polacek <mpolacek@redhat.com>
10056
5d197ed0 10057 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 10058
5ce5db06
YQ
100592011-06-14 Yao Qi <yao@codesourcery.com>
10060
10061 gdb/testsuite/
10062 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
10063
533a737e
JK
100642011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10065
10066 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
10067
d0e53741
TT
100682011-06-10 Tom Tromey <tromey@redhat.com>
10069
10070 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
10071 Add tests for pointer-to-member-function.
10072 * gdb.cp/temargs.cc (S::somefunc): New function.
10073 (K2): New class.
10074 (main): Instantiate K2; call method.
10075
b5916bbd
JB
100762011-06-08 Joel Brobecker <brobecker@adacore.com>
10077
10078 * gdb.python/py-inferior.c (f2): Make str an array rather
10079 than a pointer.
10080 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
10081
5be4dfca
JK
100822011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10083
10084 * gdb.base/async-shell.c: New file.
10085 * gdb.base/async-shell.exp: New file.
10086
9f47e254
PA
100872011-06-06 Pedro Alves <pedro@codesourcery.com>
10088
10089 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
10090
64b9b334
JB
100912011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
10092
10093 From Stephen Kitt <steve@sk2.org>
10094 * gdb.base/help.exp: Adjust following some spelling corrections
10095 in GDB.
10096
dbc0f131
YQ
100972011-06-01 Yao Qi <yao@codesourcery.com>
10098
10099 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
10100
fd336a18
KS
101012010-05-31 Keith Seitz <keiths@redhat.com>
10102
10103 PR c++/12750
10104 * gdb.cp/static-method.cc: New file.
10105 * gdb.cp/static-method.exp: New file.
10106
fa8b9902
KS
101072010-05-31 Keith Seitz <keiths@redhat.com>
10108
10109 PR symtab/12704
10110 * gdb.cp/anon-ns.cc: New file.
10111 * gdb.cp/anon-ns.exp: New file.
10112
0a5b1e09
PA
101132011-05-31 Pedro Alves <pedro@codesourcery.com>
10114
10115 * gdb.arch/i386-dr3-watch.c: New file.
10116 * gdb.arch/i386-dr3-watch.exp: New file.
10117
0578b8d1
YQ
101182011-05-30 Yao Qi <yao@codesourcery.com>
10119
10120 * gdb.base/callfuncs.c (t_structs_fc): New.
10121 (t_structs_dc, t_structs_ldc): New.
10122 (t_double_many_args):
10123 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
10124 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
10125 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
10126 * gdb.base/callfuncs.exp: Call new functions.
10127
6680506e
YQ
101282011-05-30 Yao Qi <yao@codesourcery.com>
10129
ff4d2c60
YQ
10130 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
10131 Call rerun_and_prepare for each test to isolate effects.
10132
101332011-05-30 Yao Qi <yao@codesourcery.com>
10134
10135 * gdb.base/varargs.c (find_max_float_real): New.
10136 (find_max_double_real, find_max_long_double_real): New.
10137 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
10138 * lib/gdb.exp (setup_kfail_for_target): New.
10139
e43ec454
YQ
101402011-05-30 Yao Qi <yao@codesourcery.com>
10141
10142 * gdb.base/funcargs.c (callca, callcb, callcc): New.
10143 (callcd, callce, callcf, callc1a, callc1b): New.
10144 (callc2a, callc2b): New.
10145 * gdb.base/funcargs.exp (complex_args): New.
10146 (complex_integral_args, complex_float_integral_args): New.
10147 * lib/gdb.exp (support_complex_tests): New. Determine
10148 whether to run test cases on _Complex types.
10149
432b4d03
JK
101502011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10151
10152 * gdb.threads/leader-exit.c: New file.
10153 * gdb.threads/leader-exit.exp: New file.
10154
6caf069d
MP
101552011-05-27 Marek Polacek <mpolacek@redhat.com>
10156
9497469f 10157 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 10158
97fce28b
MP
101592011-05-27 Marek Polacek <mpolacek@redhat.com>
10160
10161 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
10162 remove the `supported' variable.
10163 * gdb.mi/mi-nonstop.exp: Likewise.
10164 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10165 * gdb.mi/mi-nsintrall.exp: Likewise.
10166 * gdb.mi/mi-nsmoribund.exp: Likewise.
10167 * gdb.mi/mi-nsthrexec.exp: Likewise.
10168
9da8c2a0
PA
101692011-05-26 Pedro Alves <pedro@codesourcery.com>
10170
10171 * gdb.reverse/finish-reverse-bkpt.exp: New test.
10172
2c03e5be
PA
101732011-05-26 Pedro Alves <pedro@codesourcery.com>
10174
10175 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
10176
2e21250d
KS
101772011-05-24 Keith Seitz <keiths@redhat.com>
10178
10179 PR breakpoint/12803
10180 * gdb.cp/cmpd-minsyms.cc (a): New method.
10181 (b): New method.
10182 (c): New method.
10183 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
10184
cdac0397
PA
101852011-05-24 Pedro Alves <pedro@codesourcery.com>
10186
10187 * gdb.base/commands.exp (watchpoint_command_test): Check that the
10188 watchpoint's command list didn't execute when the watchpoint went
10189 out of scope.
10190
ee5683ab
PM
101912011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
10192
10193 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
10194 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
10195 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
10196 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10197 * gdb.arch/i386-permbkpt.exp: Likewise.
10198 * gdb.arch/i386-prologue.exp: Likewise.
10199 * gdb.arch/i386-size-overlap.exp: Likewise.
10200 * gdb.arch/i386-size.exp: Likewise.
10201 * gdb.arch/i386-unwind.exp: Likewise.
10202 * gdb.reverse/i386-precsave.exp: Likewise.
10203 * gdb.reverse/i386-reverse.exp: Likewise.
10204 * gdb.reverse/i386-sse-reverse.exp: Likewise.
10205 * gdb.reverse/i387-env-reverse.exp: Likewise.
10206 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10207
c91c8c16
PA
102082011-05-24 Pedro Alves <pedro@codesourcery.com>
10209
10210 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
10211 file doesn't error, using MI.
10212
c50491a7
TT
102132011-05-23 Tom Tromey <tromey@redhat.com>
10214
10215 * gdb.base/charset.exp (string_display): Add tests to assign to
10216 arrays.
10217 * gdb.base/charset.c (short_array, int_array, long_array): New.
10218
4a07b7da
PA
102192011-05-20 Pedro Alves <pedro@codesourcery.com>
10220
10221 Cope with async mode.
10222
4a07b7da
PA
10223 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
10224 into gdb_test + mi_expect_stop.
10225
b275f2d2
PA
102262011-05-20 Pedro Alves <pedro@codesourcery.com>
10227
10228 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
10229 (callme): Remove printf call.
10230
eec52c44
PM
102312011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
10232
10233 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
10234 quote pattern to avoid problems with Cygwin/mingw expect versions.
10235 * gdb.base/default.exp (show convenience): Use double
10236 quote pattern for regular expressions.
10237
b3c8eb43
JK
102382011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10239
10240 Fix -readnow for -gdwarf-4 unused type units.
10241 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
10242 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
10243
ed731959
JK
102442011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10245
10246 * gdb.base/kill-after-signal.c: New file.
10247 * gdb.base/kill-after-signal.exp: New file.
10248
3b48433d
PA
102492011-05-16 Pedro Alves <pedro@codesourcery.com>
10250
10251 * gdb.ada/start.exp: Call untested with the correct test filename.
10252 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
10253 test filename. Make the test's binary unique.
10254 * gdb.arch/i386-signal.exp: Call untested with the correct test
10255 filename.
10256 * gdb.arch/i386-size-overlap.exp: Ditto.
10257 * gdb.arch/Makefile.in (EXECUTABLES): Update.
10258 * gdb.base/gcore-buffer-overflow.exp: Ditto.
10259 * gdb.cp/call-c.exp: Ditto.
10260 * gdb.mi/mi-reverse.exp: Call untested with the correct test
10261 filename. Make the test's binary unique.
10262 * gdb.mi/Makefile.in (EXECUTABLES): Update.
10263 * gdb.python/py-mi.exp: Ditto.
10264 * gdb.python/Makefile.in (EXECUTABLES): Update.
10265 * gdb.reverse/i386-precsave.exp: Ditto.
10266 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
10267 test filename.
10268 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10269 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
10270 unique.
10271 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
10272 test filename.
10273 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
10274 * gdb.trace/tfile.exp: Ditto.
10275
ba4a8bdd
YQ
102762011-05-14 Yao Qi <yao@codesourcery.com>
10277
10278 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
10279 type.
10280
dbaefcf7
DE
102812011-05-13 Doug Evans <dje@google.com>
10282
10283 * gdb.python/py-objfile-script.exp: New file.
10284 * gdb.python/py-objfile-script.c: New file.
10285 * gdb.python/py-objfile-script-gdb.py: New file.
10286 * testsuite/gdb.python/py-section-script.exp: Test
10287 "info auto-load-scripts".
10288
9930639c
TT
102892011-05-13 Tom Tromey <tromey@redhat.com>
10290
10291 * gdb.dwarf2/clztest.exp: New file.
10292 * gdb.dwarf2/clztest.c: New file.
10293 * gdb.dwarf2/clztest.S: New file.
10294
05272e11
DE
102952011-05-13 Doug Evans <dje@google.com>
10296
cc63ef9b
DE
10297 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
10298 String16 tests.
05272e11 10299
6edba76f
TT
103002011-05-13 Tom Tromey <tromey@redhat.com>
10301
10302 * lib/gdb.exp (is_x86_like_target): New proc.
10303 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
10304 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
10305 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
10306 -nostdlib to compiler.
10307 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
10308 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
10309 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
10310 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
10311 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
10312
028d0ed5
TJB
103132011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
10314
10315 * gdb.python/py-function.exp: Test setting a value from a function
10316 which executes a command.
10317
8a9b8146
TT
103182011-05-12 Tom Tromey <tromey@redhat.com>
10319
10320 * gdb.dwarf2/typeddwarf.S: New file.
10321 * gdb.dwarf2/typeddwarf.c: New file.
10322 * gdb.dwarf2/typeddwarf.exp: New file.
10323
10483e8e
MP
103242011-05-12 Marek Polacek <mpolacek@redhat.com>
10325
10326 * gdb.mi/mi-basics.exp: Fix races. Honour the
10327 `test_exec_and_symbol_mi_operatons' return value.
10328 (test_mi_interpreter_selection): Use mi_gdb_test instead of
10329 gdb_test_multiple.
10330 (test_exec_and_symbol_mi_operatons): Likewise.
10331 (test_path_specification): Likewise.
10332
faf067f1
JK
103332011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10334
10335 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
10336 (gdb_touch_execfile): Remove catch wrappers. New variable time.
10337 Replace `file copy' and `file rename' by `file mtime'. Twice.
10338
7ff911a3
JK
103392011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10340
10341 * gdb.base/readline-ask.c: New file.
10342 * gdb.base/readline-ask.exp: New file.
10343 * gdb.base/readline-ask.inputrc: New file.
10344
a536c6d7
UW
103452011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
10346
10347 * gdb.cell/bt.exp: Delete breakpoints before running to signal
10348 to avoid race condition.
10349 * gdb.cell/coremaker.c: Use small stack size.
10350 * gdb.cell/ea-standalone.exp: Use file name without path as
10351 argument to c_to.
10352 * gdb.cell/fork.exp: Allow other output when continuing to end.
10353
d472a426
JK
103542011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10355
10356 * gdb.threads/corethreads.c: New file.
10357 * gdb.threads/corethreads.exp: New file.
10358
103592011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
10360
10361 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
10362 Try to compile the test using -Wl,-z,norelro first.
10363 (load_core): New variable libthread_db_seen, initialize it.
10364 (zeroed-threads cannot be listed): Protect it by XFAIL on
10365 !$libthread_db_seen.
10366
8be455d7
JK
103672011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10368
10369 PR 12573
10370 * gdb.dwarf2/dw2-skip-prologue.S: New file.
10371 * gdb.dwarf2/dw2-skip-prologue.c: New file.
10372 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
10373
1976171a
JK
103742011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10375
10376 * gdb.cp/psymtab-parameter.cc: New file.
10377 * gdb.cp/psymtab-parameter.exp: New file.
10378
7db6f30f
JK
103792011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10380
10381 Fix a race.
10382 * gdb.cp/static-print-quit.exp (print c): Split to ...
10383 (print c - <return>, print c - q <return>, print c - to quit):
10384 ... these. Make the testfile untested on gdb-7.1.
10385
85161e9e 103862011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
10387
10388 * lib/gdb.exp (exec_target_file, exec_symbol_file,
10389 gdb_rename_execfile, gdb_touch_execfile): New.
10390 * gdb.base/reread.exp: Use new procs to handle multiple
10391 exec files.
10392
0c51be18
YQ
103932011-05-05 Yao Qi <yao@codesourcery.com>
10394
10395 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
10396 (test_adr_32bit, test_pop_pc): New.
10397 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
10398 (test_adr_32bit, test_pop_pc): New.
10399
4d393d60
JM
104002011-05-04 Joseph Myers <joseph@codesourcery.com>
10401
10402 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
10403 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
10404 targets.
10405 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
10406 handle targets.
10407
8ffd0459
JK
104082011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10409
10410 * gdb.base/completion.exp (complete help info wat): Rename to ...
10411 (complete 'help info wat'): ... here.
10412 Remove all `-re ".*' and `-re "^.*' redundant regexes.
10413 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
10414
8e28d804
PA
104152011-05-04 Pedro Alves <pedro@codesourcery.com>
10416
10417 * gdb.base/completion.exp: Use gdb_test_multiple instead of
10418 gdb_test and explicit $gdb_prompt/timeout matches.
10419
3eb2ef34
YQ
104202011-05-04 Yao Qi <yao@codesourcery.com>
10421
10422 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
10423 and __thumb2__.
10424
aaaf81a3
MP
104252011-05-03 Marek Polacek <mpolacek@redhat.com>
10426
10427 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
10428 in place of `gdb_test "delete breakpoints"'. This eliminates two
10429 testcases.
10430
c4cbc0df
PA
104312011-05-02 Pedro Alves <pedro@codesourcery.com>
10432
10433 PR testsuite/12649
10434 Fix races.
10435
10436 * gdb.base/completion.exp: Remove all sleep calls. Remove
10437 unnecessary regexs. Don't explicitly expect anything after the
10438 prompt. Eat the prompt if necessary.
10439
b4cbb4a3
EBM
104402011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
10441
10442 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
10443 accept to show the caller line again as well as the line after.
10444
d65aec65
PM
104452011-04-29 Phil Muldoon <pmuldoon@redhat.com>
10446
10447 PR mi/12531
10448
10449 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
10450 compile target.
10451 * gdb.python/py-prettyprint.exp: Add C++ object for
10452 CPLUS_FAKE_CHILD test.
10453
30852783
UW
104542011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
10455
10456 * gdb.base/signest.exp: New file.
10457 * gdb.base/signest.c: Likewise.
10458
c7b1f0d9
JK
104592011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10460
10461 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
10462 thread and breakpoint notifications.
10463
559a7a62
JK
104642011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10465
10466 * gdb.base/fortran-sym-case.c: New file.
10467 * gdb.base/fortran-sym-case.exp: New file.
10468 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
10469 * gdb.dwarf2/dw2-case-insensitive.c: New file.
10470 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
10471
8344e389
JK
104722011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10473
10474 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
10475 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
10476 false #1', `if true else false #2' and `if true else false #3'.
10477
2484c66b
UW
104782011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
10479
10480 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
10481 while delivering signal.
10482
8d3788bd
VP
104832011-04-27 Vladimir Prus <vladimir@codesourcery.com>
10484
10485 MI breakpoint notifications.
10486
10487 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
10488 * testsuite/gdb.mi/mi2-cli.exp: Adust.
10489 * testsuite/gdb.mi/mi-watch.exp: Adust.
10490 * testsuite/gdb.mi/mi2-watch.exp: Adust.
10491 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
10492 notifications.
8d3788bd 10493
3e03848b
JK
104942011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10495
10496 * gdb.base/gdbindex-stabs-dwarf.c: New file.
10497 * gdb.base/gdbindex-stabs.c: New file.
10498 * gdb.base/gdbindex-stabs.exp: New file.
10499
918c9108
YQ
105002011-04-25 Yao Qi <yao@codesourcery.com>
10501
10502 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
10503 with /*...*/.
10504 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
10505
90556b8c
JK
105062011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10507
10508 * gdb.python/py-value.exp (test_objfiles): Name the first test
10509 `py-value in file.filename'.
10510
03f2bd59
JK
105112011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10512
10513 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
10514 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
10515 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
10516 !gdbserver_reconnect_p..
10517 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
10518
7b08b9eb
JK
105192011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10520
10521 * gdb.cp/cpcompletion.exp (complete class methods)
10522 (complete class methods beginning with F): Move them above runto. New
10523 comment about the runto delimiter.
10524
b78974c3
PA
105252011-04-20 Pedro Alves <pedro@codesourcery.com>
10526
10527 * gdb.base/maint.exp: Test that "maint print registers" works
10528 without a running program.
10529
20429c40 105302011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 10531
20429c40
MP
10532 * gdb.base/setshow.exp: Fix racy tests.
10533 ($old_gdb_prompt): New variable.
10534
7a9dd1b2
TT
105352011-04-19 Tom Tromey <tromey@redhat.com>
10536
10537 * gdb.mi/mi-nsmoribund.exp:
10538 * gdb.hp/gdb.objdbg/objdbg01.exp:
10539 * gdb.base/structs.exp (test_struct_returns):
10540 * gdb.base/call-sc.exp (test_scalar_returns):
10541 * gdb.base/bigcore.exp: Remove duplicate words.
10542
02835898
JK
105432011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10544
10545 * gdb.base/break-interp-lib.c (v, vptr): New variables.
10546 * gdb.base/break-interp.exp (test_attach): New comment.
10547
254f582e
JK
105482011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10549
10550 * gdb.threads/gcore-thread.exp ($core0file): New variable.
10551 (clear __stack_user.next, clear stack_used.next)
10552 (save a zeroed-threads corefile): New test.
10553 Call core_load for $core0file.
10554 (zeroed-threads cannot be listed): New test.
10555
4fe85f5c
JK
105562011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10557
10558 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
10559 filename.
10560 ($srcfile): Preserve the original value.
10561 ($testfile): Match it the .exp filename.
10562 ($corefile): New variable. Substitute it around.
10563 Use clean_restart.
10564 ($prev_timeout): Remove.
10565 (load_core): Move core loading into this proc.
10566 Fix restore of $timeout if load_core fails.
10567
63524580
JK
105682011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10569
10570 * gdb.base/eu-strip-infcall.c: New file.
10571 * gdb.base/eu-strip-infcall.exp: New file.
10572
90359a16
JK
105732011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10574
10575 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
10576 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
10577
626e7282
JK
105782011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10579
10580 Fix Python access to inlined frames.
10581 * gdb.python/py-frame-inline.c: New file.
10582 * gdb.python/py-frame-inline.exp: New file.
10583
3363d018
EBM
105842011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
10585
10586 * gdb.base/gdb1090.exp: Change breakpoint location to read the
10587 content of 's24' correctly (avoiding "optimized out").
10588 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
10589
28781456
JK
105902011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10591
10592 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
10593
4a4106ca
TJB
105942011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
10595
10596 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
10597 expect a colon in watch -location output.
10598
d26ccb4f
JK
105992011-04-13 Marek Polacek <mpolacek@redhat.com>
10600
df46027d 10601 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
10602 New testcase `expect response to define backtrace'. Also remove
10603 redundant `default' block.
10604
e1ab1f9c
JK
106052011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10606
10607 * gdb.python/py-prettyprint.c (struct hint_error): New.
10608 (main): New variable hint_error.
10609 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
10610 "print hint_error".
10611 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
10612 (register_pretty_printers): Register it.
10613
0c2e6019
TT
106142011-04-04 Tom Tromey <tromey@redhat.com>
10615
10616 * gdb.cp/maint.exp (test_help): Update.
10617 (test_namespace): Likewise.
10618
af57139d
JB
106192011-04-01 Joel Brobecker <brobecker@adacore.com>
10620
10621 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
10622 * gdb.ada/arrayptr.exp: Add new tests.
10623
956a9fb9
JB
106242011-04-01 Joel Brobecker <brobecker@adacore.com>
10625
10626 * gdb.ada/mi_catch_ex: New testcase.
10627
d0c4d642
PA
106282011-04-01 Pedro Alves <pedro@codesourcery.com>
10629
10630 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
10631 base::overload(void) method without specifying "const".
10632
18819fa6
UW
106332011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
10634
10635 * gdb.arch/thumb-singlestep.S: New file.
10636 * gdb.arch/thumb-singlestep.exp: Likewise.
10637
a4c8e806
TT
106382011-03-31 Tom Tromey <tromey@redhat.com>
10639
10640 * gdb.python/py-prettyprint.py (exception_flag): New global.
10641 (NoStringContainerPrinter._iterator.next): Check it.
10642 * gdb.python/py-prettyprint.c (main): New variable nstype2.
10643 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
10644
53832f31
TT
106452011-03-29 Tom Tromey <tromey@redhat.com>
10646
10647 * gdb.cp/anon-struct.cc: New file.
10648 * gdb.cp/anon-struct.exp: New file.
10649
e4620230
JK
106502011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10651
10652 Test STT_GNU_IFUNC support.
10653 * gdb.base/gnu-ifunc-lib.c: New file.
10654 * gdb.base/gnu-ifunc.c: New file.
10655 * gdb.base/gnu-ifunc.exp: New file.
10656
d0fb5eae
JK
106572011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10658
10659 Support a ring of related breakpoints.
10660 * gdb.base/watchpoint-delete.c: New file.
10661 * gdb.base/watchpoint-delete.exp: New file.
10662
20106cfb
JK
106632011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10664
10665 * gdb.ada/arrayparam.exp (print first after function call): Use
10666 explicit package name. Add a comment
10667 (print lasta after function call): Rename ...
10668 (print last after function call): ... it and use explicit package
10669 name.
10670 (print length after function call): Use explicit package name.
10671 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
10672 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
10673 (multiple matches for symbol i): Rename ...
10674 (multiple matches for symbol integervar): ... it.
10675 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
10676 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
10677
e7ab5e63
AB
106782011-03-25 Andrew Burgess <aburgess@broadcom.com>
10679
10680 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
10681 environment variable to make grep output more predictable. Move
10682 all the environment setup into gdb_init so it's done once per test
10683 case rather than each time we start gdb.
10684
9ef07c8c
TT
106852011-03-24 Tom Tromey <tromey@redhat.com>
10686
10687 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
10688 test.
10689
dd90784c
JK
106902011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10691
10692 * gdb.dwarf2/dw2-entry-value-main.c: New file.
10693 * gdb.dwarf2/dw2-entry-value.S: New file.
10694 * gdb.dwarf2/dw2-entry-value.exp: New file.
10695
05775840
PM
106962011-03-22 Phil Muldoon <pmuldoon@redhat.com>
10697
6fdff2c5 10698 PR python/12183
05775840
PM
10699
10700 * gdb.python/py-function.exp: Add GdbError tests.
10701
8661b11b
PA
107022011-03-18 Pedro Alves <pedro@codesourcery.com>
10703
10704 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
10705 (reglocal_test_func, statlocal_test_func): New functions.
10706 (globals_test_func): Call new functions.
10707 * gdb.trace/unavailable.exp (gdb_collect_args_test)
10708 (gdb_collect_locals_test): New procedure.
10709 (gdb_trace_collection_test): Call new procedures.
10710
0fdb4f18
PA
107112011-03-18 Pedro Alves <pedro@codesourcery.com>
10712
10713 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
10714 (test_register, test_register_unavailable): New procedures.
10715 (gdb_unavailable_registers_test): New procedure.
10716 (gdb_trace_collection_test): Call it.
10717
99c3dc11
PM
107182011-03-18 Phil Muldoon <pmuldoon@redhat.com>
10719
6fdff2c5 10720 PR python/12149
99c3dc11
PM
10721
10722 * gdb.python/python.exp: Add gdb.write tests.
10723
29703da4
PM
107242010-03-17 Phil Muldoon <pmuldoon@redhat.com>
10725
10726 * gdb.python/Makefile.in: Add py-objfile.
10727 * gdb.python/py-objfile.exp: New file.
10728 * gdb.python/py-objfile.c: New file.
10729 * gdb.python/py-block.exp: Add is_valid tests.
10730 * gdb.python/py-inferior.exp: Ditto.
10731 * gdb.python/py-infthread.exp: Ditto.
10732 * gdb.python/py-symbol.exp: Ditto.
10733 * gdb.python/py-symtab.exp: Ditto.
10734
598997c8
KS
107352011-03-16 Keith Seitz <keiths@redhat.com>
10736
10737 PR c++/12273
10738 * gdb.cp/cmpd-minsyms.exp: New test.
10739 * gdb.cp/cmpd-minsyms.cc: New file.
10740
10741 PR c++/11734
10742 * gdb.cp/ovsrch.exp: New test.
10743 * gdb.cp/ovsrch.h: New file.
10744 * gdb.cp/ovsrch1.cc: New file.
10745 * gdb.cp/ovsrch2.cc: New file.
10746 * gdb.cp/ovsrch3.cc: New file.
10747 * gdb.cp/ovsrch4.cc: New file.
10748
c91513d8
PP
107492011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10750
10751 PR gdb/12528
10752 * gdb.base/Makefile.in: Adjust EXECUTABLES.
10753 * gdb.base/break-on-linker-gcd-function.exp: New test.
10754 * gdb.base/break-on-linker-gcd-function.cc: New file.
10755
7470fc63
AT
107562011-03-15 Andreas Tobler <andreast@fgznet.ch>
10757
10758 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
10759
959e7469
PM
107602011-03-15 Phil Muldoon <pmuldoon@redhat.com>
10761
10762 * lib/gdb.exp (gdb_unload): Add another termination case.
10763
9373cf26
JK
107642011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10765
10766 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
10767 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
10768 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
10769 Provide a stub byte there.
10770 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
10771 DW_AT_entry_pc.
10772 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
10773
24e9cda0
UW
107742011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
10775
10776 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
10777 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
10778 "generic ABI, auto".
10779 (altivec_abi_tests): Accept vectors returned by reference.
10780
7371cf6d
PM
107812010-03-14 Phil Muldoon <pmuldoon@redhat.com>
10782
10783 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
10784
ce77046a
UW
107852011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
10786
10787 * gdb.python/py-section-script.exp: Skip test if no Python support.
10788
176400c3
UW
107892011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
10790
10791 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
10792
ecec24e6
PM
107932011-03-10 Phil Muldoon <pmuldoon@redhat.com>
10794
10795 * gdb.python/py-parameter.exp: Update tests to the new Python
10796 parameter API. Add "no documentation" test. Add deprecated API
10797 backward compatibility test.
10798
5dbdd470
TT
107992011-03-09 Tom Tromey <tromey@redhat.com>
10800
10801 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
10802 gdb_continue_to_end.
10803
b66e66ee
MK
108042011-03-09 Mark Kettenis <kettenis@gnu.org>
10805
10806 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
10807 tabs.
10808
eceb0c5f
TT
108092011-03-09 Tom Tromey <tromey@redhat.com>
10810
10811 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
10812 parentheses.
10813 (gdb_continue_to_end): Add "allow_extra" parameter. Use
10814 $command.
10815 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
10816 argument to gdb_continue_to_end.
10817 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10818 argument to gdb_continue_to_end.
10819 * gdb.cp/annota3.exp: Fix regex.
10820 * gdb.cp/annota2.exp: Fix regex.
10821 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
10822 gdb_continue_to_end.
10823 * gdb.base/call-signal-resume.exp: Revert earlier patch.
10824 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
10825 gdb_continue_to_end.
10826
63154eca
PA
108272011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10828
10829 * gdb.server/ext-run.exp
10830 (load new file without any gdbserver inferior): New test.
10831
967d1f9b
TT
108322011-03-07 Tom Tromey <tromey@redhat.com>
10833
10834 * Makefile.in (TAGS): Rewrite.
10835
d68dcbb9
JK
108362011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10837
10838 * gdb.trace/report.exp (12.1: trace report #1): New match for the
10839 initial commands echo. New match for `Found trace'. Anchor all the
10840 other matches. Anchor and match for `No trace frame found' the final
10841 match.
10842
6bf58e63
TT
108432011-03-07 Tom Tromey <tromey@redhat.com>
10844
10845 * Makefile.in (TAGS): New target.
10846
fda326dd
TT
108472011-03-07 Tom Tromey <tromey@redhat.com>
10848
10849 * lib/opencl.exp (skip_opencl_tests): Update for exit message
10850 change.
10851 * lib/mi-support.exp (mi_gdb_test): Update for exit message
10852 change.
10853 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
10854 exit message change.
10855 (skip_altivec_tests): Update for exit message change.
10856 (skip_vsx_tests): Likewise.
10857 (gdb_continue_to_end): Likewise. Add 'command' argument.
10858 * lib/cell.exp (skip_cell_tests): Update for exit message change.
10859 * gdb.threads/tls.exp: Update for exit message change.
10860 * gdb.threads/thread-unwindonsignal.exp: Use
10861 gdb_continue_to_end.
10862 * gdb.threads/step.exp (step_it): Update for exit message change.
10863 (continue_all): Likewise.
10864 * gdb.threads/print-threads.exp (test_all_threads): Update for
10865 exit message change.
10866 * gdb.threads/interrupted-hand-call.exp: Use
10867 gdb_continue_to_end.
10868 * gdb.threads/execl.exp: Use gdb_continue_to_end.
10869 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
10870 gdb_continue_to_end.
10871 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
10872 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
10873 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
10874 * gdb.cp/method.exp: Update for exit message change.
10875 * gdb.cp/mb-templates.exp: Update for exit message change.
10876 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
10877 * gdb.cp/annota3.exp: Update for exit message change.
10878 * gdb.cp/annota2.exp: Update for exit message change.
10879 * gdb.cell/fork.exp: Use gdb_continue_to_end.
10880 * gdb.base/term.exp: Update for exit message change.
10881 * gdb.base/step-test.exp (test_i): Update for exit message change.
10882 * gdb.base/sigstep.exp (advance): Update for exit message change.
10883 (advancei): Likewise.
10884 * gdb.base/siginfo.exp: Update for exit message change.
10885 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
10886 * gdb.base/reread.exp: Use gdb_continue_to_end.
10887 * gdb.base/langs.exp: Use gdb_continue_to_end.
10888 * gdb.base/interrupt.exp: Update for exit message change.
10889 * gdb.base/gdb1555.exp: Update for exit message change.
10890 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
10891 * gdb.base/ending-run.exp: Update for exit message change.
10892 * gdb.base/chng-syms.exp: Update for exit message change.
10893 * gdb.base/checkpoint.exp: Update for exit message change.
10894 * gdb.base/catch-syscall.exp (check_for_program_end): Use
10895 gdb_continue_to_end.
10896 (test_catch_syscall_with_wrong_args): Likewise.
10897 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
10898 * gdb.base/break-interp.exp (test_ld): Update for exit message
10899 change.
10900 * gdb.base/bang.exp: Update for exit message change.
10901 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
10902 (do_call_attach_tests): Likewise.
10903 * gdb.base/a2-run.exp: Update for exit message change.
10904 * gdb.arch/ppc-dfp.exp: Update for exit message change.
10905 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
10906 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
10907
dd19bd70
JK
109082011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10909
10910 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
10911
30e62689
TT
109122011-03-03 Tom Tromey <tromey@redhat.com>
10913
10914 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
10915 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
10916 * gdb.hp/gdb.aCC/configure.ac: Remove.
10917 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
10918 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
10919 * gdb.hp/gdb.base-hp/configure.ac: Remove.
10920 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
10921 * gdb.hp/gdb.compat/configure (Makefile): Remove.
10922 * gdb.hp/gdb.compat/configure.ac: Remove.
10923 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
10924 * gdb.hp/gdb.defects/configure (Makefile): Remove.
10925 * gdb.hp/gdb.defects/configure.ac: Remove.
10926 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
10927 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
10928 * gdb.hp/gdb.objdbg/configure.ac: Remove.
10929 * gdb.hp/configure.ac: Remove.
10930 * gdb.hp/configure: Remove.
10931 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
10932 substitution.
10933 (Makefile): Remove rule.
10934 * gdb.cell/configure.ac: Remove.
10935 * gdb.cell/configure: Remove.
10936 * gdb.stabs/Makefile.in (Makefile): Remove.
10937 (distclean): Don't remove config.status or config.log.
10938 * gdb.stabs/configure (Makefile): Remove.
10939 * gdb.stabs/configure.ac: Remove.
10940 * configure: Rebuild.
10941 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
10942 Remove stabs- and cell-specific logic. Test for existence of
10943 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
10944 subdirectories, gdb.cell, and and gdb.stabs.
10945 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
10946
c171f854
JB
109472011-03-03 Joel Brobecker <brobecker@adacore.com>
10948
10949 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
10950 end of buffer.
10951
9a5193cb
JB
109522011-03-02 Joel Brobecker <brobecker@adacore.com>
10953
10954 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
10955 gdb_test when running a test where we expected no output back.
10956
9bb4c1bb
MS
109572011-02-28 Michael Snyder <msnyder@vmware.com>
10958
10959 * gdb.cp/overload.cc: Change initializer value to integer.
10960
3bd0f5ef
MS
109612011-02-27 Michael Snyder <msnyder@vmware.com>
10962
10963 * gdb.multi/base.exp: Add test for remove-inferiors.
10964
2279eaad
JB
109652011-02-26 Joel Brobecker <brobecker@adacore.com>
10966
10967 * gdb.python/py-frame.exp: Simplify the initialization phase
10968 using prepare_for_testing.
10969
c82c0b55
MS
109702011-02-25 Michael Snyder <msnyder@vmware.com>
10971
10972 * gdb.multi/base.exp: Add tests for info inferiors with args.
10973
1d94651b
JK
109742011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10975
10976 * gdb.dwarf2/dw2-ranges.S: Rename to ...
10977 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
10978 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
10979 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
10980 asmfile3. Comment the STABS (#3) file compilation. Compile
10981 everything through assembler. Provide KFAIL for symtab/12497.
10982 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
10983 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
10984 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
10985 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
10986
3bd0f5ef
MS
109872011-02-24 Michael Snyder <msnyder@vmware.com>
10988
10989 * gdb.base/break.exp: Add tests for delete breakpoints using
10990 convenience variables and value history references.
10991
12c1418e
MS
109922011-02-24 Michael Snyder <msnyder@vmware.com>
10993
10994 * gdb.base/break.exp: Remove debugging 'printf' accidentally
10995 left behind in previous check-in.
10996
e5a67952
MS
109972011-02-23 Michael Snyder <msnyder@vmware.com>
10998
10999 * gdb.base/break.exp: Add tests for "info break" with arguments.
11000 * gdb.trace/infotrace.exp: Update patterns for error and help.
11001 * gdb.base/completion.exp: Update pattern.
11002 * gdb.base/ena-dis-br.exp: Update pattern.
11003 * gdb.base/help.exp: Update patterns.
11004
110052011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
11006
11007 * gdb.base/memattr.exp: New test.
11008 * gdb.base/memattr.c: Test load for memattr.exp.
11009
6e6fbe60
DE
110102011-02-22 Doug Evans <dje@google.com>
11011
11012 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
11013
1d41d745
MS
110142011-02-22 Michael Snyder <msnyder@vmware.com>
11015
11016 * Makefile.in: Make more clean.
11017 * gdb.ada/Makefile.in: Ditto.
11018 * gdb.arch/Makefile.in: Ditto.
11019 * gdb.asm/Makefile.in: Ditto.
11020 * gdb.base/Makefile.in: Ditto.
11021 * gdb.cp/Makefile.in: Ditto.
11022 * gdb.dwarf2/Makefile.in: Ditto.
11023 * gdb.java/Makefile.in: Ditto.
11024 * gdb.mi/Makefile.in: Ditto.
11025 * gdb.modula2/Makefile.in: Ditto.
11026 * gdb.python/Makefile.in: Ditto.
11027 * gdb.server/Makefile.in: Ditto.
11028 * gdb.stabs/Makefile.in: Ditto.
11029 * gdb.threads/Makefile.in: Ditto.
11030 * gdb.trace/Makefile.in: Ditto.
11031
79ba84ca
MS
110322011-02-22 Michael Snyder <msnyder@vmware.com>
11033
df46027d 11034 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
11035 info threads.
11036
b9b35694
JB
110372011-02-22 Joel Brobecker <brobecker@adacore.com>
11038
11039 * gdb.python/py-breakpoint.exp: Fix the expected output of
11040 one of the "maint info breakpoints" tests to accept the output
11041 generated on platforms that do not have hardware watchpoints.
11042
8bfb830f
JB
110432011-02-22 Joel Brobecker <brobecker@adacore.com>
11044
11045 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
11046 clean_restart. Be a little stricter in the expected output
11047 for one of the tests. Fix a typo in one of the comments.
11048
c45f3c54
JB
110492011-02-22 Joel Brobecker <brobecker@adacore.com>
11050
11051 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
11052 Delete variable binfile, no longer use. Add or modify test
11053 comments to make them unique.
11054
b97c863c
MS
110552011-02-21 Michael Snyder <msnyder@vmware.com>
11056
11057 * Makefile.in: Update for make clean.
11058 * gdb.ada/Makefile.in: Ditto.
11059 * gdb.arch/Makefile.in: Ditto.
11060 * gdb.asm/Makefile.in: Ditto.
11061 * gdb.base/Makefile.in: Ditto.
11062 * gdb.cp/Makefile.in: Ditto.
11063 * gdb.dwarf2/Makefile.in: Ditto.
11064 * gdb.java/Makefile.in: Ditto.
11065 * gdb.mi/Makefile.in: Ditto.
11066 * gdb.modula2/Makefile.in: Ditto.
11067 * gdb.python/Makefile.in: Ditto.
11068 * gdb.server/Makefile.in: Ditto.
11069 * gdb.stabs/Makefile.in: Ditto.
11070 * gdb.threads/Makefile.in: Ditto.
11071 * gdb.trace/Makefile.in: Ditto.
11072
aea5b279
MS
110732011-02-21 Michael Snyder <msnyder@vmware.com>
11074
11075 * gdb.threads/thread-find.exp: Update patterns for changes in
11076 output of "info threads" command.
11077
e3039479
UW
110782011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
11079 Ulrich Weigand <uweigand@de.ibm.com>
11080
11081 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
11082 (skip_hw_watchpoint_tests): Likewise.
11083 (skip_hw_watchpoint_multi_tests): Likewise.
11084
b800ec70
UW
110852011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
11086
11087 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
11088 (skip_hw_watchpoint_tests): Likewise.
11089 (skip_hw_watchpoint_multi_tests): Likewise.
11090 (skip_hw_watchpoint_access_tests): Likewise.
11091
11092 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
11093 * gdb.base/pr11022.exp: Likewise.
11094 * gdb.base/watch-read.exp: Likewise.
11095 * gdb.base/watch_thread_num.exp: Likewise.
11096 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11097 * gdb.base/watchpoint-hw.exp: Likewise.
11098 * gdb.base/watchpoint.exp: Likewise.
11099 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
11100 * gdb.threads/watchthreads-reorder.exp: Likewise.
11101 * gdb.threads/watchthreads.exp: Likewise.
11102 * gdb.threads/watchthreads2.exp: Likewise.
11103
91033e37
JB
111042011-02-21 Joel Brobecker <brobecker@adacore.com>
11105
11106 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
11107 the debugger is unable to find the array bounds.
11108
eeaafae2
JK
111092011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11110
11111 * gdb.cp/typedef-operator.exp: New file.
11112 * gdb.cp/typedef-operator.cc: New file.
11113
e338d953
MS
111142011-02-17 Michael Snyder <msnyder@vmware.com>
11115
11116 * gdb.threads/thread-find.exp: Fix regular expressions.
11117
e67ad678
JB
111182011-02-17 Joel Brobecker <brobecker@adacore.com>
11119
11120 * gdb.ada/packed_array: Expand testcase to test printing of
11121 unconstrained packed array.
11122
93084bca
JB
111232011-02-17 Joel Brobecker <brobecker@adacore.com>
11124
11125 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
11126
a0c78a73
PA
111272011-02-16 Pedro Alves <pedro@codesourcery.com>
11128
f65d5553 11129 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
11130 (main): Initialize it before collecting, and and clear it
11131 afterwards.
f65d5553
PA
11132 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
11133 collecting with '{type} addr', where the addr expression is not an
11134 rvalue.
a0c78a73 11135
3dfcbbd2
KW
111362011-02-16 Ken Werner <ken.werner@de.ibm.com>
11137
11138 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
11139 a bool variable. Expect correct OpenCL names for vector types. Use the
11140 uc3 variable name instead of referring to the uchar3 built-in type.
11141 Escape the asterisk at the half pointer test.
11142
08807d5a
PA
111432011-02-16 Pedro Alves <pedro@codesourcery.com>
11144
f65d5553 11145 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
11146 (main): Initialize it before collecting, and and clear it
11147 afterwards.
f65d5553
PA
11148 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
11149 collecting overlapping memory ranges.
08807d5a 11150
60f98dde
MS
111512011-02-15 Michael Snyder <msnyder@vmware.com>
11152
11153 * gdb.base/default.exp: Add tests for thread commands.
11154 * gdb.base/help.exp: Add tests for thread commands.
11155 * gdb.threads/thread-find.exp: New test for thread find command.
11156
648cd113
KW
111572011-02-15 Ken Werner <ken.werner@de.ibm.com>
11158
11159 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
11160
494e194e
YQ
111612011-02-15 Yao Qi <yao@codesourcery.com>
11162
11163 PR tdep/12352
11164 * gdb.arch/arm-disp-step.S : New test for str instruction.
11165 * gdb.arch/arm-disp-step.exp : Likewise.
11166
d9492458
TJB
111672011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
11168
11169 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
11170 "vector_register2_vr" test strings. Test the extended floating
11171 point registers (F32~F63).
11172 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
11173 IBM XL C compiler. Make the test program use a register provided
11174 by the compiler for the lxvd2x instruction.
11175
8af8e3bc
PA
111762011-02-14 Pedro Alves <pedro@codesourcery.com>
11177
11178 * gdb.trace/unavailable.cc (class Base, class Middle, class
11179 Derived): New types.
11180 (derived_unavail, derived_partial, derived_whole): New globals.
11181 (virtual_partial): New global.
11182 (virtualp): Point at virtual_partial.
11183 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
11184 related to unavailable vptr.
11185
1b28d0b3
PA
111862011-02-14 Pedro Alves <pedro@codesourcery.com>
11187
11188 * gdb.trace/unavailable.cc (a, b, c): New globals.
11189 (main): Set and clear them.
11190 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
11191 `a' and `c', and check that `b' isn't collected, although `a' and
11192 `c' are.
11193
ec0a52e1
PA
111942011-02-14 Pedro Alves <pedro@codesourcery.com>
11195
11196 * gdb.trace/unavailable.cc (struct Virtual): New.
11197 (virtualp): New global pointer.
11198 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
11199 printing a pointer to an object whose type has a vtable, with
11200 print object on.
11201
24e6bcee
PA
112022011-02-14 Pedro Alves <pedro@codesourcery.com>
11203
11204 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
11205 value repeat handles unavailableness.
11206
39d37385
PA
112072011-02-14 Pedro Alves <pedro@codesourcery.com>
11208
11209 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
11210 tests for building arrays from unavailable values, subscripting
11211 non-memory rvalue unvailable arrays, and accessing fields or
11212 baseclasses of non-lazy unavailable values,
11213 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
11214 struct types.
11215 (g_smallstruct, g_smallstruct_b): New globals.
11216
06d72e16
PA
112172011-02-14 Pedro Alves <pedro@codesourcery.com>
11218
11219 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
11220
bc9a5551
JK
112212011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11222
11223 Fix const/volatile qualifiers of C++ types, PR c++/12328.
11224 * gdb.cp/overload-const.exp: New file.
11225 * gdb.cp/overload-const.cc: New file.
11226
54fcddd0
UW
112272011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
11228
11229 * gdb.opencl/callfuncs.cl: New file.
11230 * gdb.opencl/callfuncs.exp: New test.
11231 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
11232
d6dafb7c
UW
112332011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
11234
11235 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
11236 when computing result.
11237 * gdb.arch/altivec-abi.exp: Update expected results.
11238
a449c2d8
TJB
112392011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
11240
11241 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
11242 * gdb.base/jit.exp: Likewise.
11243 * gdb.base/pie-execl.exp: Likewise.
11244 * gdb.base/solib-nodir.exp: Likewise.
11245 * gdb.base/solib-overlap.exp: Likewise.
11246
764880b7
PA
112472011-02-07 Pedro Alves <pedro@codesourcery.com>
11248
11249 * gdb.trace/collection.c (global_pieces): New.
11250 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
11251 New procedure.
11252 (gdb_trace_collection_test): Call it.
11253
505500db
SW
112542011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
11255
11256 * gdb.python/py-evthreads.c: New file.
11257 * gdb.python/py-evthreads.exp: New file.
11258 * gdb.python/py-events.py: New file.
11259 * gdb.python/py-events.exp: New file.
11260 * gdb.python/py-events.c: New file.
11261
385203ed
DD
112622011-02-04 David Daney <ddaney@caviumnetworks.com>
11263
11264 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
11265
9011945e
AB
112662011-02-03 Andrew Burgess <aburgess@broadcom.com>
11267
11268 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
11269 gdb.base/disasm-end-cu.exp: New test for disassembling over the
11270 boundary between two compilation units.
11271
580688f3
PA
112722011-02-02 Pedro Alves <pedro@codesourcery.com>
11273
11274 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
11275 (Virtual): New structs.
11276 (virtual_o, virtual_middle_b): New globals.
11277 * gdb.cp/virtbase.exp: New tests.
11278
d3f0f853
PP
112792011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11280
11281 * gdb.base/jit.exp: New file.
11282 * gdb.base/jit-main.c: New file.
11283 * gdb.base/jit-solib.c: New file.
11284
b2030fb5
UW
112852011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
11286
11287 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
11288 proceed to initial kernel entry point.
11289 * gdb.opencl/datatypes.exp: Likewise.
11290 * gdb.opencl/operators.exp: Likewise.
11291 * gdb.opencl/vec_comps.exp: Likewise.
11292
2db19d1e
SW
112932011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
11294
11295 * gdb.cp/nsnested.cc: New.
11296 * gdb.cp/nsnested.exp: New.
11297 * gdb.cp/nsnoimports.exp: New.
11298 * gdb.cp/nsnoimports.cc: New.
11299
6b0c4c1f
JB
113002011-01-31 Joel Brobecker <brobecker@adacore.com>
11301
11302 * gdb.base/interact.exp: Add extra tests that verify that
11303 the value of the interactive-mode setting does not change
11304 after the script is sourced.
11305
80b23b6a
JK
113062011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11307
11308 * gdb.cp/noparam.exp: New file.
11309 * gdb.cp/noparam.cc: New file.
11310
ffd5ec24
PA
113112011-01-28 Pedro Alves <pedro@codesourcery.com>
11312
11313 * gdb.trace/tfile.exp: Test that with no traceframe selected,
11314 there's no stack or registers.
11315
a81766d8
TT
113162011-01-26 Tom Tromey <tromey@redhat.com>
11317
11318 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
11319 space before string output. Add test for "set print pretty off"
11320 case.
11321
585fdaa1
PA
113222011-01-25 Pedro Alves <pedro@codesourcery.com>
11323
11324 * gdb.base/frame-args.exp: Adjust.
11325 * gdb.dwarf2/dw2-noloc.exp: Adjust.
11326 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
11327 * gdb.dwarf2/pieces.exp: Adjust.
11328 * gdb.opt/clobbered-registers-O2.exp: Adjust.
11329 * gdb.opt/inline-locals.exp: Adjust.
11330 * gdb.threads/fork-child-threads.exp: Adjust.
11331
d468832a
KW
113322011-01-25 Ken Werner <ken.werner@de.ibm.com>
11333
11334 * gdb.opencl/convs_casts.cl: Move program scope variables into the
11335 OpenCL kernel function. Add a comment as marker. Add address space
11336 qualifiers for the remaining program scope variables.
11337 * gdb.opencl/datatypes.cl: Likewise.
11338 * gdb.opencl/operators.cl: Likewise.
11339 * gdb.opencl/vec_comps.cl: Likewise.
11340 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
11341 Add breakpoint at the marker comment.
11342 * gdb.opencl/datatypes.exp: Likewise.
11343 * gdb.opencl/operators.exp: Likewise.
11344 * gdb.opencl/vec_comps.exp: Likewise.
11345
490f124f
PA
113462011-01-24 Pedro Alves <pedro@codesourcery.com>
11347
11348 * gdb.base/printcmds.c (some_struct): New struct and instance.
11349 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
11350 procedure.
11351 <global scope>: Call it.
11352
6da78614
KW
113532011-01-21 Ken Werner <ken.werner@de.ibm.com>
11354
11355 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
11356 argument to the gdb_compile_opencl_hostapp call.
11357
ec64c9aa
YQ
113582011-01-19 Yao Qi <yao@codesourcery.com>
11359
11360 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
11361 positve list.
11362
810cfdbb
YQ
113632011-01-19 Yao Qi <yao@codesourcery.com>
11364
11365 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
11366 canonical form.
11367 Remove "xscale-*-*"
11368 * gdb.xml/tdesc-regs.exp: Likewise.
11369 * gdb.python/py-section-script.exp: Replace ARM target triplet
11370 with canonical form.
11371 Match arm*-*-symbianelf*.
11372 * gdb.base/dup-sect.exp: Likewise.
11373 * lib/dwarf.exp: New.
11374 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
11375 dwarf2_support.
11376 * gdb.dwarf2/dup-psym.exp: Likewise.
11377 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
11378 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11379 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
11380 * gdb.dwarf2/dw2-basic.exp: Likewise.
11381 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11382 * gdb.dwarf2/dw2-const.exp: Likewise.
11383 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
11384 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
11385 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11386 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
11387 * gdb.dwarf2/dw2-filename.exp: Likewise.
11388 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11389 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
11390 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11391 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11392 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
11393 * gdb.dwarf2/dw2-noloc.exp: Likewise.
11394 * gdb.dwarf2/dw2-op-call.exp: Likewise.
11395 * gdb.dwarf2/dw2-producer.exp: Likewise.
11396 * gdb.dwarf2/dw2-ranges.exp: Likewise.
11397 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
11398 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
11399 * gdb.dwarf2/dw2-strp.exp: Likewise.
11400 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
11401 * gdb.dwarf2/implptr.exp: Likewise.
11402 * gdb.dwarf2/mac-fileno.exp: Likewise.
11403 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
11404 * gdb.dwarf2/pieces.exp: Likewise.
11405 * gdb.dwarf2/pr11465.exp: Likewise.
11406 * gdb.dwarf2/valop.exp: Likewise.
11407 * gdb.dwarf2/watch-notconst.exp: Likewise.
11408 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
11409
4694da01
TT
114102011-01-19 Tom Tromey <tromey@redhat.com>
11411
11412 * gdb.python/py-infthread.exp: Add thread tests.
11413
b075872c
JB
114142011-01-14 Joel Brobecker <brobecker@adacore.com>
11415
11416 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
11417
2c3e6e24
JB
114182011-01-14 Joel Brobecker <brobecker@adacore.com>
11419
11420 * gdb.ada/widewide: New testcase.
11421
de8fa76c
JB
114222011-01-13 Joel Brobecker <brobecker@adacore.com>
11423
11424 * gdb.base/interact.exp: New testcase.
11425
1b05df00
TT
114262011-01-12 Tom Tromey <tromey@redhat.com>
11427
11428 * gdb.mi/gdb2549.exp: Update for error message changes.
11429 * gdb.mi/mi-cli.exp: Likewise.
11430 * gdb.mi/mi-disassemble.exp: Likewise.
11431 * gdb.mi/mi-pthreads.exp: Likewise.
11432 * gdb.mi/mi-regs.exp: Likewise.
11433 * gdb.mi/mi-stack.exp: Likewise.
11434 * gdb.mi/mi-var-block.exp: Likewise.
11435 * gdb.mi/mi-var-cmd.exp: Likewise.
11436 * gdb.mi/mi2-cli.exp: Likewise.
11437 * gdb.mi/mi2-disassemble.exp: Likewise.
11438 * gdb.mi/mi2-pthreads.exp: Likewise.
11439 * gdb.mi/mi2-regs.exp: Likewise.
11440 * gdb.mi/mi2-stack.exp: Likewise.
11441 * gdb.mi/mi2-var-block.exp: Likewise.
11442 * gdb.mi/mi2-var-cmd.exp: Likewise.
11443
c2ff108b
JK
114442011-01-12 Andrew Burgess <aburgess@broadcom.com>
11445 Jan Kratochvil <jan.kratochvil@redhat.com>
11446
11447 PR fortran/11104 and DWARF unbound arrays detection.
11448 * gdb.fortran/multi-dim.exp: New file.
11449 * gdb.fortran/multi-dim.f90: New file.
11450
b716877b
AB
114512011-01-12 Andrew Burgess <aburgess@broadcom.com>
11452
11453 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
11454 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
11455 add new tests for opcode dumping.
11456
6c162d5e
TT
114572011-01-11 Tom Tromey <tromey@redhat.com>
11458
11459 * gdb.python/py-infthread.exp: Load gdb-python.exp.
11460
77b06cd7
TJB
114612010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
11462
11463 Convert hardware watchpoints to use breakpoint_ops.
11464 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
11465 type is not supported.
11466 * gdb.base/foll-fork.exp: Likewise.
11467 * gdb.base/foll-vfork.exp: Likewise.
11468
f39a75d0
PM
114692011-01-10 Phil Muldoon <pmuldoon@redhat.com>
11470
11471 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
11472 Use load_lib gdb-python.exp.
11473 * gdb.python/python.exp: Ditto.
11474 * gdb.python/py-function.exp: Ditto.
11475
fc529d80
AS
114762011-01-09 Andreas Schwab <schwab@linux-m68k.org>
11477
11478 * gdb.threads/tls.exp ("info address me"): Fix expected output.
11479
fb03cb59
JK
114802011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11481
11482 * configure: Regenerate.
11483
d8e22779
TT
114842011-01-06 Tom Tromey <tromey@redhat.com>
11485
11486 * gdb.python/py-frame.exp: Test gdb.newest_frame.
11487
09050809
JB
114882011-01-06 Joel Brobecker <brobecker@adacore.com>
11489
fc529d80
AS
11490 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
11491 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
11492 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11493 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
11494 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
11495 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11496 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
11497 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
11498 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
11499 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
11500 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
11501 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
11502 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
11503 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11504 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11505 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
11506 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
11507 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
11508 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11509 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
11510 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
11511 gdb.ada/uninitialized_vars.exp,
11512 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
11513 Simplify by using clean_restart.
09050809 11514
8ed5dd9e
JB
115152011-01-06 Joel Brobecker <brobecker@adacore.com>
11516
11517 Add marker to be used as anchor for inserting breakpoints.
11518 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
11519 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
11520 Likewise.
11521
11522 Remove uses of gdb_start_cmd.
11523 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
11524 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
11525
11526 Do not run testcase if testing with GDBserver.
11527 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
11528 if testing with GDBserver.
11529
368a124f
JB
115302011-01-06 Joel Brobecker <brobecker@adacore.com>
11531
11532 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
11533 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
11534 copyright header.
11535
44944448
JB
115362011-01-05 Joel Brobecker <brobecker@adacore.com>
11537
11538 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
11539 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
11540 testsuite/gdb.fortran/complex.f,
11541 testsuite/gdb.fortran/derived-type.f90,
11542 testsuite/gdb.fortran/library-module-lib.f90,
11543 testsuite/gdb.fortran/library-module-main.f90,
11544 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
11545 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
11546 Copyright year update.
11547
31886ea6
JB
115482011-01-05 Joel Brobecker <brobecker@adacore.com>
11549
11550 * gdb.base/langs1.f: Add copyright header.
11551
ebedcab5
JK
115522011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11553
11554 * gdb.base/morestack.exp: New file.
11555 * gdb.base/morestack.c: New file.
11556
de1eb2f9
JK
115572011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11558
11559 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
11560
9e87a409
JB
115612010-12-29 Joel Brobecker <brobecker@adacore.com>
11562
11563 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
11564 * gdb.ada/arrayptr.exp: Add test printing that new variable.
11565
720d1a40
JB
115662010-12-29 Joel Brobecker <brobecker@adacore.com>
11567
11568 * gdb.ada/lang_switch.exp: Correct expected parameter value.
11569
a283af87
AS
115702010-12-25 Andreas Schwab <schwab@linux-m68k.org>
11571
5d3d9cba
AS
11572 * gdb.threads/tls.exp: Fix typo.
11573
a283af87
AS
11574 * gdb.threads/thread-specific.exp (get_thread_list): Update.
11575 * gdb.threads/execl.exp: Update.
11576
2a20745c
YQ
115772010-12-23 Yao Qi <yao@codesourcery.com>
11578
11579 * gdb.arch/arm-disp-step.exp: New.
11580 * gdb.arch/arm-disp-step.S: New.
11581
a7658b96
TT
115822010-12-21 Tom Tromey <tromey@redhat.com>
11583
11584 * gdb.threads/execl.exp: Update.
11585 * gdb.threads/linux-dp.exp: Update.
11586 * gdb.threads/manythreads.exp: Update.
11587 * gdb.threads/tls.exp: Update.
11588
5b79abe7
TT
115892010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11590
11591 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
11592 (NextOverThrowDerivates) <resumebpt>: New.
11593 (resumebpt_test): New.
11594 (main): Call resumebpt_test.
11595 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
11596
0914bcdb
SS
115972010-12-12 Stan Shebs <stan@codesourcery.com>
11598
11599 * gdb.trace/tsv.exp: Test print command on trace state variables.
11600
305aeedc
TT
116012010-12-09 Tom Tromey <tromey@redhat.com>
11602
11603 * gdb.base/interp.exp: Add regression test.
11604
186c406b
TT
116052010-12-09 Tom Tromey <tromey@redhat.com>
11606
11607 * gdb.java/jnpe.java: New file.
11608 * gdb.java/jnpe.exp: New file.
11609 * gdb.cp/nextoverthrow.exp: New file.
11610 * gdb.cp/nextoverthrow.cc: New file.
11611
aae1c79a
DE
116122010-12-07 Doug Evans <dje@google.com>
11613
11614 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
11615 of data-directory.
11616 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
11617 updated.
11618 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
11619
60f98dde 116202010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
11621
11622 * gdb.base/callfuncs.exp: Test for skip_float_tests.
11623 * gdb.base/call-sc.exp: Ditto.
11624 * gdb.base/finish.exp: Ditto.
11625 * gdb.base/return.exp: Ditto.
11626 * gdb.base/return2.exp: Ditto.
11627
5fa290c1
DE
116282010-11-30 Doug Evans <dje@google.com>
11629
11630 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
11631 (gdb_expect_list): Fix spelling errors in comments.
11632 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
11633 send_gdb/gdb_expect_list where applicable.
11634 * gdb.base/call-ar-st.exp: Ditto.
11635 * gdb.base/funcargs.exp: Ditto.
11636 * gdb.base/gcore.exp: Ditto.
11637 * gdb.base/page.exp: Ditto.
11638 * gdb.base/sigaltstack.exp: Ditto.
11639 * gdb.base/siginfo.exp: Ditto.
11640 * gdb.base/sigstep.exp: Ditto.
11641 * gdb.base/trace-commands.exp: Ditto.
11642
4e04c971
DE
116432010-11-29 Doug Evans <dje@google.com>
11644
11645 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
11646 printer-name;subprinter-name.
11647
8cf6f0b1
TT
116482010-11-29 Tom Tromey <tromey@redhat.com>
11649
11650 * gdb.dwarf2/implptr.exp: New file.
11651 * gdb.dwarf2/implptr.c: New file.
11652 * gdb.dwarf2/implptr.S: New file.
11653
94b6973e
PM
116542010-11-29 Phil Muldoon <pmuldoon@redhat.com>
11655
fc529d80 11656 PR python/12199
94b6973e
PM
11657
11658 * gdb.python/py-breakpoint.exp: Test the delete method.
11659
8358c15c
JK
116602010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11661
11662 Fix step_resume_breakpoint unsaved during an infcall.
11663 * gdb.base/step-resume-infcall.exp: New file.
11664 * gdb.base/step-resume-infcall.c: New file.
11665
f6df29bc
TJB
116662010-11-24 Edjunior Machado <emachado@br.ibm.com>
11667
11668 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
11669
f2b5a5cf
TJB
116702010-11-24 Edjunior Machado <emachado@br.ibm.com>
11671
11672 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
11673 on ppc64's symbols; "finish" and "return" commands must accept to
11674 show the caller line again as well as the line after.
11675 * gdb.asm/powerpc64.inc: New file.
11676
6b0ecdc2
DE
116772010-11-23 Doug Evans <dje@google.com>
11678
11679 * lib/gdb.exp (gdb_test_sequence): New function.
11680 (gdb_expect_list): Add verbose -log call for each pattern.
11681 * gdb.base/signals.exp (test_handle_all_print): Call it.
11682 Reduce timeout increment from 6 minutes to 1 minute.
11683 * gdb.server/ext-run.exp: Call it.
11684
ea976c60
PM
116852010-11-23 Phil Muldoon <pmuldoon@redhat.com>
11686
f2b5a5cf 11687 PR python/12212
ea976c60
PM
11688
11689 * gdb.python/python.exp: Check that selected_thread raises an
11690 error when no inferior is loaded.
11691
c0efa795
JK
116922010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11693
11694 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
11695 * gdb.dwarf2/dw2-stack-boundary.S: New file.
11696
ec3aa567
JK
116972010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11698
11699 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
11700 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
11701
d8249011
DE
117022010-11-18 Doug Evans <dje@google.com>
11703
11704 * gdb.server/ext-run.exp: Fix intermittent failures.
11705
d4eba7d1
NF
117062010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11707
11708 * gdb.stabs/gdb11479.exp: Use runto_main.
11709
b04c2f88
NF
117102010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11711
11712 * gdb.base/break-entry.exp: Skip if using a stub.
11713
ae9d7ce4
NF
117142010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11715
11716 * gdb.python/py-inferior.exp: Pack values in target endianness.
11717
621c8364
TT
117182010-11-12 Tom Tromey <tromey@redhat.com>
11719
11720 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
11721 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
11722 MemoryError.
11723 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
11724 type.
11725 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
11726 MemoryError.
11727 (test_subscript_regression): Update exception type.
11728
84f4c1fe
PM
117292010-11-11 Phil Muldoon <pmuldoon@redhat.com>
11730
11731 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
11732 breakpoint tests.
11733
a1442452
PA
117342010-11-09 Pedro Alves <pedro@codesourcery.com>
11735
11736 * gdb.base/watchpoint.exp: Test "watch -location" with an
11737 innacessible location.
11738
efd11a33
JK
117392010-11-09 Edjunior Machado <emachado@br.ibm.com>
11740 Luis Machado <luisgpm@br.ibm.com>
11741
11742 * gdb.base/maint.exp: Expect "." prefix.
11743 * gdb.base/nodebug.exp: Expect "." Likewise.
11744 * gdb.base/sepsymtab.exp: Expect "." Likewise.
11745 * gdb.base/watchpoint-cond-gone.exp: Likewise.
11746 * gdb.base/watchpoint.exp: Expect a software watch to be created for
11747 POWER server processors.
11748
aa00efb5
JK
117492010-11-08 Edjunior Machado <emachado@br.ibm.com>
11750 Luis Machado <luisgpm@br.ibm.com>
11751
11752 * gdb.base/break-entry.exp: convert entry point for
11753 ppc64 and expect leading `.' on ppc64's symbols
11754
99e7ae30
DE
117552010-11-05 Doug Evans <dje@google.com>
11756
11757 * gdb.base/help.exp: Update expected output.
b521dba8
DE
11758 * gdb.python/py-param.exp: Delete, contents moved to ...
11759 * gdb.python/py-parameter.exp: ... here. New file.
11760 Add test for gdb.parameter ("directories").
99e7ae30 11761
f4b8a18d
KW
117622010-11-05 Ken Werner <ken.werner@de.ibm.com>
11763
11764 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
11765 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
11766 * configure: Regenerate.
11767 * gdb.opencl/Makefile.in: New File.
11768 * gdb.opencl/datatypes.exp: Likewise.
11769 * gdb.opencl/datatypes.cl: Likewise.
11770 * gdb.opencl/operators.exp: Likewise.
11771 * gdb.opencl/operators.cl: Likewise.
11772 * gdb.opencl/vec_comps.exp: Likewise.
11773 * gdb.opencl/vec_comps.cl: Likewise.
11774 * gdb.opencl/convs_casts.exp: Likewise.
11775 * gdb.opencl/convs_casts.cl: Likewise.
11776 * lib/opencl.exp: Likewise.
11777 * lib/opencl_hostapp.c: Likewise.
11778 * lib/opencl_kernel.cl: Likewise.
11779 * lib/cl_util.c: Likewise.
11780 * lib/cl_util.c: Likewise.
11781 * gdb.base/default.exp (set language): Add "opencl" to the list of
11782 languages.
11783
a9d5ef47
SW
117842010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
11785
11786 * gdb.cp/overload.exp: Added test for inheritance overload.
11787 * gdb.cp/overload.cc: Ditto.
11788 * gdb.cp/oranking.exp: Removed releveant kfails.
11789
03eb1c79
JK
117902010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11791 Joel Brobecker <brobecker@adacore.com>
11792
11793 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
11794 check test_compiler_info.
11795
dbc98a8b
KW
117962010-11-03 Ken Werner <ken.werner@de.ibm.com>
11797
11798 * gdb.base/gnu_vector.exp: Adjust expect messages.
11799
120bd360
KW
118002010-11-03 Ken Werner <ken.werner@de.ibm.com>
11801
11802 * gdb.base/gnu_vector.exp: Add unary operator tests.
11803
c37f7098
KW
118042010-11-03 Ken Werner <ken.werner@de.ibm.com>
11805
11806 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
11807
7b51bc51
DE
118082010-11-02 Doug Evans <dje@google.com>
11809
11810 * gdb.python/py-pp-maint.c: New file.
11811 * gdb.python/py-pp-maint.exp: New file.
11812 * gdb.python/py-pp-maint.py: New file.
11813
50c97f38
TT
118142010-11-02 Tom Tromey <tromey@redhat.com>
11815
11816 * gdb.base/default.exp: Remove "scheme" from language list.
11817
a289b8f6
JK
118182010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11819
11820 Revert:
11821 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11822 * gdb.threads/sigstep-threads.exp: New file.
11823 * gdb.threads/sigstep-threads.c: New file.
11824
cd017491
MS
118252010-10-20 Michael Snyder <msnyder@vmware.com>
11826
11827 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
11828
8e6a5956
UW
118292010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11830
11831 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
11832 Skip test completely if gdb,no_hardware_watchpoints.
11833
2c04da0d
UW
118342010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11835
11836 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
11837 strict, but do not check for any particular function name within libc.
11838
79afc5ef
SW
118392010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11840
11841 * gdb.cp/smartp.exp: New test.
11842 * gdb.cp/smartp.cc : New test.
11843
026ffab7
SW
118442010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11845
11846 * gdb.cp/converts.exp: Test pointer to bool conversion.
11847 Test pointer to long conversion.
11848 * gdb.cp/oranking.exp: Removed relevant kfail.
11849
3a772aa4
TT
118502010-10-18 Tom Tromey <tromey@redhat.com>
11851
11852 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
11853 argument to lazy_string.
11854 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
11855 (pp_ls.to_string): Use it.
11856 * gdb.python/py-prettyprint.c (main): Move declarations to top.
11857 Add "estring2" local.
11858
5fc3827b
JK
118592010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11860
11861 Fix s390x compatibility.
11862 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
11863 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
11864
8aeb23f3
JK
118652010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11866
11867 * gdb.threads/sigstep-threads.exp: New file.
11868 * gdb.threads/sigstep-threads.c: New file.
11869
c1e56572
JK
118702010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11871
11872 * gdb.base/pie-execl.exp: New file.
11873 * gdb.base/pie-execl.c: New file.
11874
92163a10
JK
118752010-10-13 Doug Evans <dje@google.com>
11876 Jan Kratochvil <jan.kratochvil@redhat.com>
11877
11878 PR exp/12117
11879 * gdb.cp/ptype-cv-cp.cc: New file.
11880 * gdb.cp/ptype-cv-cp.exp: New file.
11881
7062b0a0
SW
118822010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
11883
11884 * gdb.cp/converts.cc: New test program.
11885 * gdb.cp/converts.exp: New test.
11886 * gdb.cp/overload.exp: Added test for void* vs int*.
11887 * gdb.cp/overload.exp: Ditto.
11888 * gdb.cp/oranking.exp: Removed related kfail.
11889
0e3509db
DE
118902010-10-13 Doug Evans <dje@google.com>
11891
11892 * lib/gdb-python.exp (gdb_check_python_config): New function.
11893 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
11894 * gdb.python/lib-types.cc: New file.
11895 * gdb.python/lib-types.exp: New file.
11896
8dc78533
JK
118972010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11898
11899 * gdb.python/py-error.exp: New file.
11900 * gdb.python/py-error.py: New file.
11901
93c17e06
JK
119022010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11903
11904 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
11905 gdb_test_multiple.
11906
d8b34041
JK
119072010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11908
11909 * gdb.base/break-interp.exp: Use ldlags for linking flags.
11910 * gdb.base/prelink.exp: Likewise.
11911 * gdb.base/solib-nodir.exp: Likewise.
11912 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
11913 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
11914 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
11915
e0cc584e
UW
119162010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
11917
11918 * break-interp.exp (test_ld): Use two separate gdb_expect statements
11919 for the "info files" test to avoid timeouts on slow machines.
11920
cfc353b1
JK
119212010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11922
11923 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
11924 (main): Make openlib dummy call.
11925
d3d7896d
JK
119262010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11927
11928 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
11929 * break-interp.exp (reach): Move the core body ...
11930 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
11931 (test_ld): Provide always real argument, even to the linker. Replace
11932 dl_main by _dl_debug_state.
11933
5e533c94
JK
119342010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11935
11936 Fix results of prelinked PIEs on ppc*.
11937 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
11938 Accept also DISPLACEMENT "PRESENT".
11939 (main): Replace "ZERO" displacements by "PRESENT".
11940
33540610
SW
119412010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
11942
11943 * gdb.cp/oranking.exp: New test.
11944 * gdb.cp/oranking.cc: New test program.
11945
3bdf2bbd
KW
119462010-10-08 Ken Werner <ken.werner@de.ibm.com>
11947
11948 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
11949 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
11950
2f608a3a
KW
119512010-10-06 Ken Werner <ken.werner@de.ibm.com>
11952
11953 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
11954 lush, lynx) New constant.
11955 * gdb.base/constvars.exp: Test const array types.
11956 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
11957
aa2e2d8d
DE
119582010-10-06 Doug Evans <dje@google.com>
11959
11960 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
11961 of syscall staging area.
11962
2844d6b5
KW
119632010-10-06 Ken Werner <ken.werner@de.ibm.com>
11964
11965 * gdb.base/gnu_vector.c: Add variable c4.
11966 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
11967 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11968
7d8ac8bb
MR
119692010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
11970
11971 * gdb.arch/altivec-abi.exp: Fix a typo.
11972
84a02e58
MR
119732010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
11974
11975 * lib/mi-support.exp (thread_selected_re): Correct pattern used
11976 to match a thread ID.
11977
b18e6318
JK
119782010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11979
11980 Fix s390x testcase compatibility.
11981 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
11982
a2c09bd0
DE
119832010-10-01 Doug Evans <dje@google.com>
11984
11985 * lib/gdb-python.exp: New file.
11986 * gdb.python/py-block.exp: Use it.
11987 * gdb.python/py-breakpoint.exp: Ditto.
11988 * gdb.python/py-frame.exp: Ditto.
11989 * gdb.python/py-inferior.exp: Ditto.
11990 * gdb.python/py-param.exp: Ditto.
11991 * gdb.python/py-prettyprint.exp: Ditto.
11992 * gdb.python/py-shared.exp: Ditto.
11993 * gdb.python/py-symbol.exp: Ditto.
11994 * gdb.python/py-symtab.exp: Ditto.
11995 * gdb.python/py-type.exp: Ditto.
11996 * gdb.python/py-value.exp: Ditto.
11997 * gdb.python/python.exp: Ditto.
11998
38f12cfc
TT
119992010-09-30 Tom Tromey <tromey@redhat.com>
12000
12001 * gdb.base/anon.exp: New file.
12002 * gdb.base/anon.c: New file.
12003
9ae8282d
TT
120042010-09-30 Tom Tromey <tromey@redhat.com>
12005
12006 * gdb.base/completion.exp: Test completion through anonymous
12007 union.
12008 * gdb.base/break1.c (struct some_struct): Add anonymous union.
12009
e9e07ba6
JK
120102010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12011
12012 Fix printing parameters of inlined functions.
12013 * gdb.dwarf2/dw2-inline-param.exp: New file.
12014 * gdb.dwarf2/dw2-inline-param-main.c: New file.
12015 * gdb.dwarf2/dw2-inline-param.S: New file.
12016
cd2effb2
JK
120172010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12018
12019 PR corefiles/12071.
12020 * gdb.base/corefile.exp (quit with a process, no question: load core)
12021 (quit with a core file): New tests.
12022
bceffbf3
JK
120232010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12024
12025 Fix GDB crash on inferior calls with self-referencing classes.
12026 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
12027 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
12028 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
12029
1736ad11
JK
120302010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12031
12032 Fix lost siginfo_t for inferior calls.
12033 * gdb.base/siginfo-infcall.exp: New file.
12034 * gdb.base/siginfo-infcall.c: New file.
12035
a176ad92
JB
120362010-09-22 Joel Brobecker <brobecker@adacore.com>
12037
12038 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
12039
c2b0a229
JK
120402010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12041
12042 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
12043 New test.
12044 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
12045
e8ae22d1
JB
120462010-09-22 Joel Brobecker <brobecker@adacore.com>
12047
12048 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
12049 type of our const type.
12050
ec322823
SW
120512010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
12052
12053 * gdb.cp/pr12028.cc: New.
12054 * gdb.cp/pr12028.exp: New.
12055
72929c62
JB
120562010-09-22 Joel Brobecker <brobecker@adacore.com>
12057
12058 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
12059
875b4ff5 120602010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 12061 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
12062
12063 PR mi/11407
12064 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
12065 * gdb.mi/dw2-ref-missing-frame-main.c New File.
12066 * gdb.mi/dw2-ref-missing-frame.S New File.
12067 * gdb.mi/dw2-ref-missing-frame.exp New File.
12068
7155d578
TT
120692010-09-14 Tom Tromey <tromey@redhat.com>
12070
12071 PR symtab/8399:
12072 * gdb.threads/tls.exp: Remove kfail. Update expected output.
12073
515ed532
TT
120742010-09-14 Tom Tromey <tromey@redhat.com>
12075
12076 PR exp/11803:
12077 * gdb.threads/tls.exp: Use C++.
12078 (check_thread_local): Use K::another_thread_local.
12079 * gdb.threads/tls.c (class K): New.
12080 (another_thread_local): Now a member of K.
12081 (spin): Update. No longer K&R C.
12082
450ca57c
SW
120832010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
12084
12085 * gdb.cp/koenig.cc: created class for testing member lookup.
12086 * gdb.cp/koenig.exp: Added test for member lookup.
12087
dbd492a3
JK
120882010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12089
12090 Fix false FAILs on sourcetree topdir directory containing "kill".
12091 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
12092 source line matching regexp.
12093
8d4d924b
JK
120942010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12095
12096 * gdb.python/python.exp (set height 0, collect help from uiout)
12097 (verify help to uiout): New tests.
12098
8e64f2a0
JK
120992010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12100
12101 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
12102 is_lp64_target to check 64bit target.
12103
4569eed2
JK
121042010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12105
12106 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
12107 (test_ld) <powerpc64-*>: New.
12108
5e1617b1
DJ
121092010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
12110
12111 * gdb.cp/templates.exp (test_template_args): Allow "struct".
12112
c767944b
DJ
121132010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
12114
12115 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
12116 (FunctionArg::method): New function.
12117 (empty, arg): New variables.
12118 (main): Call arg.method.
12119 * gdb.cp/templates.exp (test_template_args): New function.
12120 (do_tests): Call it.
12121
27d3a3fc
UW
121222010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
12123
12124 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
12125 of "next" to proceed over pthread_exit call.
12126
55b7ce7f
UW
121272010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
12128
12129 * gdb.base/maint.exp: Avoid wildcards against potentially very long
12130 "maint print statistics" output to prevent expect timeouts.
12131
809df446
JK
121322010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12133
12134 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
12135 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12136 (test_float_rejected): ... here.
12137 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
12138 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12139 (test_float_rejected): ... here.
12140 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
12141 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12142 (test_float_rejected): ... here.
12143 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
12144 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12145 (test_float_rejected): ... here.
12146
8464be76
DJ
121472010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
12148
12149 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
12150 before disabling hardware watchpoints.
12151 (test_inaccessible_watchpoint): Check that hardware watchpoints
12152 are used. Test for watchpoints on a constant address.
12153
14dba4b4
JK
121542010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12155
12156 * gdb.base/ui-redirect.exp: New file.
12157
3f3540e1 121582010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 12159 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
12160
12161 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
12162
0f254bb7
DE
121632010-08-31 Doug Evans <dje@google.com>
12164
12165 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
12166
03f17ccf
TT
121672010-08-30 Tom Tromey <tromey@redhat.com>
12168
12169 PR python/11792:
12170 * gdb.python/py-value.exp (test_subscript_regression): Add
12171 dynamic_type test.
12172
640617ad
DJ
121732010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
12174
12175 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
12176 instead of running to main. Do not test the main function.
12177 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
12178 Add new main.
12179
2ed91d1b
PA
121802010-08-26 Pedro Alves <pedro@codesourcery.com>
12181
12182 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
12183 one test.
12184
673bfd45
DE
121852010-08-24 Doug Evans <dje@google.com>
12186
12187 PR symtab/11942
12188 * gdb.dwarf2/dw4-sig-types.cc: New file.
12189 * gdb.dwarf2/dw4-sig-types.h: New file.
12190 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
12191 * gdb.dwarf2/dw4-sig-types.exp: New file.
12192
f9ffd4bb
TT
121932010-08-23 Tom Tromey <tromey@redhat.com>
12194
12195 PR python/11145:
12196 * gdb.python/py-value.c (Base, Derived): New types.
12197 (base): New global.
12198 * gdb.python/py-value.exp (test_subscript_regression): Add
12199 dynamic_cast test.
12200
d839c8a4
TT
122012010-08-23 Tom Tromey <tromey@redhat.com>
12202
12203 PR python/10676:
12204 * gdb.python/py-type.exp (test_fields): Add tests for type
12205 equality.
12206
702c2711
TT
122072010-08-23 Tom Tromey <tromey@redhat.com>
12208
12209 PR python/11915:
12210 * gdb.python/py-type.exp (test_fields): Add tests for array.
12211
832bafd3
KS
122122010-08-23 Keith Seitz <keiths@redhat.com>
12213
12214 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
12215 have any children. Create a new abbrev for it.
12216 Add missing terminal sequence to .debug_abbrev.
12217
c37bf528
KS
122182010-08-20 Keith Seitz <keiths@redhat.com>
12219
12220 PR symtab/11465:
12221 * gdb.dwarf2/pr11465.exp: New test.
12222 * gdb.dwarf2/pr11465.S: New file.
12223 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
12224 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
12225
4572cbac
TJB
122262010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
12227
12228 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
12229 registers. Update data sets with the new v2_double element in the
12230 VSX register union. Add vector_register3_vr data set for the AltiVec
12231 registers. Use gdb_test_no_output instead of send_gdb.
12232
e7fbb131
PA
122332010-08-19 Pedro Alves <pedro@codesourcery.com>
12234
12235 * gdb.python/py-shared.exp: New file, factored out from
12236 python.exp.
12237 * gdb.python/py-shared.c: New file.
12238 * gdb.python/py-shared-sl.c: New file.
12239 * gdb.python/python-1.c: New file.
12240 * gdb.python/python-sl.c: Delete.
12241 * gdb.python/python.c: Mention python-1.c.
12242 * gdb.python/python.exp: Move shared library tests to
12243 py-shared.exp.
12244 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
12245 (MISCELLANEOUS): New.
12246 (clean mostlyclean): Also remove $MISCELLANEOUS.
12247
d30f5e1f
DE
122482010-08-19 Doug Evans <dje@google.com>
12249
12250 PR exp/11926
12251 * gdb.base/printcmds.exp (test_float_accepted): New function.
12252 Move existing float tests there. Add tests for floats with suffixes.
12253 (test_float_rejected): New function.
12254 * gdb.java/jv-print.exp (test_float_accepted): New function.
12255 (test_float_rejected): New function.
12256 * gdb.objc/print.exp: New file.
12257 * gdb.pascal/print.exp: New file.
12258 * lib/objc.exp: New file.
12259
7b3fd859
PM
122602010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
12261
12262 * gdb.base/default.exp (info set): Avoid full buffer error and force
12263 reading up to final gdb prompt.
12264 (show): Likewise.
12265
c92817ce
TT
122662010-08-18 Tom Tromey <tromey@redhat.com>
12267
12268 PR symtab/11919:
12269 * gdb.base/completion.exp: Add test.
12270
f1208f9e
DE
122712010-08-18 Doug Evans <dje@google.com>
12272
12273 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
12274 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
12275 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
12276 Simplify, early exit if runto_main fails.
12277 * gdb.fortran/exprs.exp: load_lib fortran.exp.
12278 (set_lang_fortran): Moved to lib/fortran.exp.
12279 * gdb.fortran/types.exp: load_lib fortran.exp.
12280 (set_lang_fortran): Moved to lib/fortran.exp.
12281 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
12282 * gdb.java/jprint.exp (set_lang_java): Ditto.
12283 * gdb.java/jv-exp.exp: load_lib java.exp.
12284 If set_lang_java fails, issue a warning instead of failure to be
12285 consistent with other set_lang_foo uses.
12286 (set_lang_java): Moved to lib/java.exp.
12287 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
12288 If set_lang_java fails, issue a warning instead of failure to be
12289 consistent with other set_lang_foo uses.
12290 * gdb.pascal/types.exp: load_lib pascal.exp.
12291 (set_lang_pascal): Moved to lib/pascal.exp.
12292 * lib/fortran.exp: New file.
12293 * lib/java.exp (set_lang_java): New function.
12294 * lib/pascal.exp (set_lang_pascal): New function.
12295
2f06b485
YQ
122962010-08-18 Yao Qi <yao@codesourcery.com
12297
12298 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
12299 func_nofb_start and func_loopfb_start, so that address of functions
12300 is equal to these labels on Thumb.
12301
96e25403
YQ
123022010-08-18 Yao Qi <yao@codesourcery.com>
12303
12304 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
12305 to reflect latest c source file.
12306
36e6adc4
JK
123072010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12308
12309 * gdb.cp/infcall-dlopen.exp: New file.
12310 * gdb.cp/infcall-dlopen.cc: New file.
12311 * gdb.cp/infcall-dlopen-lib.cc: New file.
12312
f431efe5
PA
123132010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12314 Pedro Alves <pedro@codesourcery.com>
12315
12316 PR breakpoints/11371
12317
12318 * gdb.base/watch-cond-infcall.exp: New file.
12319 * gdb.base/watch-cond-infcall.c: New file.
12320
06a64a0b
TT
123212010-08-16 Tom Tromey <tromey@redhat.com>
12322
12323 * gdb.base/help.exp: Update.
12324 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
12325 watchpoint.
12326 (test_watch_location): New proc.
12327 (test_watchpoint_in_big_blob): Delete watchpoint.
12328 * gdb.base/watchpoint.c (func5): New function.
12329 (main): Call it.
12330
70ebf4ed
DE
123312010-08-16 Doug Evans <dje@google.com>
12332
12333 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
12334
ca5c20b6
PM
123352010-08-11 Phil Muldoon <pmuldoon@redhat.com>
12336
12337 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
12338 tests.
12339
7346b668
KW
123402010-08-11 Ken Werner <ken.werner@de.ibm.com>
12341
12342 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
12343 * gdb.base/gnu_vector.c: New File.
12344 * gdb.base/gnu_vector.exp: Likewise.
12345
cb2e07a6
PM
123462010-08-11 Phil Muldoon <pmuldoon@redhat.com>
12347
12348 * gdb.python/python.c: New File.
12349 * gdb.python/python-sl.c: New File.
12350 * gdb.python/python.exp: Test solib_address and decode_line
12351 * functions.
12352
5da1313b
JK
123532010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12354
12355 * gdb.python/python.exp (show height, set height 10)
12356 (verify pagination beforehand, verify pagination beforehand: q)
12357 (gdb.execute does not page, verify pagination afterwards)
12358 (verify pagination afterwards: q): New.
12359
49c3ccf7
DE
123602010-08-02 Doug Evans <dje@google.com>
12361
12362 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
12363 because of an older gcc, change test2
12364 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
12365 to unsupported.
12366
42c0c4f1
KH
123672010-07-30 Kazu Hirata <kazu@codesourcery.com>
12368
12369 * gdb.base/break-always.exp: Do not expect full paths to file
12370 names.
12371 * gdb.base/commands.exp: Likewise.
12372
d3765805
DE
123732010-07-30 Doug Evans <dje@google.com>
12374
c98ee71b
DE
12375 * gdb.cp/temargs.exp: For new tests that require newer gccs,
12376 xfail them when run with older gccs.
12377
fd961404
DE
12378 * lib/gdb.exp (build_executable): Forward "c++" option to
12379 get_compiler_info.
12380
999adef4
DE
12381 * gdb.python/py-type.exp (test_template): Mark as xfail tests
12382 "python print ttype.template_argument(1)" and
12383 "python print isinstance(ttype.template_argument(1), gdb.Value)"
12384 if using gcc 4.4 or earlier.
12385
d3765805
DE
12386 * gdb.base/valgrind-db-attach.exp: Use unique test name for
12387 attach-to-debugger handling.
12388
1276c759
JK
123892010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12390
12391 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
12392 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
12393 (main): Use copyreloc.
12394 * gdb.base/prelink.exp (split debug of executable)
12395 (.dynbss vs. .bss address shift): New tests.
12396
88caa9b9
PA
123972010-07-29 Pedro Alves <pedro@codesourcery.com>
12398
12399 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
12400 in gdb_test_multiple.
12401
c6f2ac43
PA
124022010-07-29 Pedro Alves <pedro@codesourcery.com>
12403
12404 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
12405 environment.
12406
326fd672
TT
124072010-07-28 Tom Tromey <tromey@redhat.com>
12408
12409 PR python/11060:
12410 * gdb.python/py-type.c (Temargs): New template.
12411 (temvar): New variable.
12412 * gdb.python/py-type.exp (test_template): New proc.
12413
3ce3b1ba
PA
124142010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12415
12416 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
12417 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
12418
34eaf542
TT
124192010-07-28 Tom Tromey <tromey@redhat.com>
12420
12421 PR c++/9946:
12422 * gdb.cp/temargs.exp: New file.
12423 * gdb.cp/temargs.cc: New file.
12424
d41b819e
JK
124252010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12426
12427 * gdb.base/help.exp (help disassemble): Update the content.
12428
26ab7092
JK
124292010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12430
12431 * gdb.threads/ia64-sigill.exp: New file.
12432 * gdb.threads/ia64-sigill.c: New file.
12433
5283e9e1
TT
124342010-07-27 Tom Tromey <tromey@redhat.com>
12435
12436 * gdb.opt/inline-cmds.c (ATTR): New define.
12437 (func1): Use it.
12438 (func2): Likewise.
12439 (func3): Likewise.
12440 (outer_inline1): Likewise.
12441 (outer_inline2): Likewise.
12442 * gdb.opt/inline-bt.c (ATTR): New define.
12443 (func1): Use it.
12444 (func2): Likewise.
12445 * gdb.opt/inline-locals.c (ATTR): New define.
12446 (func1): Use it.
12447 (func2): Likewise.
12448
e992ef73
TT
124492010-07-27 Tom Tromey <tromey@redhat.com>
12450
12451 * gdb.stabs/gdb11479.c (hack): New function.
12452 (test): Use it.
12453 (test2): Use it.
12454 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
12455 (int32_search_buf, int64_search_buf): No longer static.
12456 (x): Remove.
12457 * gdb.base/relocate.c (hack): New function.
12458
5374244e
PM
124592010-07-27 Phil Muldoon <pmuldoon@redhat.com>
12460
12461 * gdb.python/py-value.exp (test_inferior_function_call): New function.
12462 * gdb.python/py-value.c (func1): New function.
12463 (func2): Likewise.
12464
a99aee83
CV
124652010-07-26 Corinna Vinschen <vinschen@redhat.com>
12466
12467 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
12468 as not to clash with .data section.
12469
a04ba985
JG
124702010-07-26 Jerome Guitton <guitton@adacore.com>
12471
12472 * gdb.base/code_elim.exp: New file.
12473 * gdb.base/code_elim1.c: New file.
12474 * gdb.base/code_elim2.c: New file.
12475
23bd0f7c
PA
124762010-07-21 Pedro Alves <pedro@codesourcery.com>
12477
12478 PR symtab/11827
12479
12480 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
12481 (some_volatile_enum): New variable.
12482 * gdb.base/printcmds.exp (test_print_enums): New.
12483 <top level>: Call it.
12484
883df6dd
SW
124852010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
12486
12487 * gdb.cp/fpointer.cc: New test.
12488 * gdb.cp/fpointer.exp: New test.
12489
569b05a5
JK
124902010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12491
12492 * gdb.base/solib-nodir.exp: New file.
12493 * lib/gdb.exp (runto): New case for a GDB internal error.
12494
51d7d803
JK
124952010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12496 Ulrich Weigand <uweigand@de.ibm.com>
12497 Tom Tromey <tromey@redhat.com>
12498
12499 * gdb.base/charset-malloc.c: New file.
12500 * gdb.base/charset.c (malloc_stub): New prototype.
12501 (main): Call it instead of malloc itself.
12502 * gdb.base/charset.exp: Use only prepare_for_testing.
12503 (binfile): Remove the variable.
12504
c0edd9ed
JK
125052010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12506
12507 Make core files the process_stratum.
12508 * gdb.base/corefile.exp (run: load core again)
12509 (run: sanity check we see the core file, run: with core)
12510 (run: core file is cleared, attach: load core again)
12511 (attach: sanity check we see the core file, attach: with core)
12512 (attach: core file is cleared): New tests.
12513 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
12514
3cbaedff
KW
125152010-07-14 Ken Werner <ken.werner@de.ibm.com>
12516
12517 * gdb.arch/altivec-abi.exp: New tests.
12518
91158a56
TT
125192010-07-13 Tom Tromey <tromey@redhat.com>
12520
12521 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
12522 (main): Use it.
12523 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
12524
0f5238ed
TT
125252010-07-13 Tom Tromey <tromey@redhat.com>
12526
12527 * gdb.base/label.exp: New file.
12528 * gdb.base/label.c: New file.
12529
add265ae
L
125302010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
12531 H.J. Lu <hongjiu.lu@intel.com>
12532
12533 * lib/gdb.exp (is_ilp32_target): New.
12534 (is_lp64_target): Likewise.
12535
12536 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
12537 target.
12538 * gdb.arch/amd64-disp-step.exp: Likewise.
12539 * gdb.arch/amd64-dword.exp: Likewise.
12540 * gdb.arch/amd64-i386-address.exp: Likewise.
12541 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 12542
add265ae
L
12543 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
12544 target.
12545 * gdb.arch/i386-bp_permanent.exp: Likewise.
12546 * gdb.arch/i386-byte.exp: Likewise.
12547 * gdb.arch/i386-disp-step.exp: Likewise.
12548 * gdb.arch/i386-gnu-cfi.exp: Likewise.
12549 * gdb.arch/i386-prologue.exp: Likewise.
12550 * gdb.arch/i386-size-overlap.exp: Likewise.
12551 * gdb.arch/i386-size.exp: Likewise.
12552 * gdb.arch/i386-sse.exp: Likewise.
12553 * gdb.arch/i386-unwind.exp: Likewise.
12554 * gdb.arch/i386-word.exp: Likewise.
12555
12556 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
12557 test only when building 64-bit executables. Do not hard-code
12558 -m64 option.
12559
2dfb8c17
DE
125602010-07-07 Doug Evans <dje@google.com>
12561
12562 * lib/gdb.exp (gdb_test_list_exact): New function.
12563 * gdb.base/default.exp (show convenience): Call it, add tests for
12564 $_sdata = void, $_thread = 0.
12565
4e5799b6
JK
125662010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12567 Joel Brobecker <brobecker@adacore.com>
12568
12569 Fix re-run of PIE executable, PR shlibs/11776.
12570 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
12571 Remove $displacement_main to match the solib-svr4.c change. New "kill"
12572 and re-"run" of the inferior.
12573
1a219cc7
JK
125742010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12575 Joel Brobecker <brobecker@adacore.com>
12576
12577 Cope with missing /usr/sbin/prelink.
12578 * lib/prelink-support.exp (prelink_no):
12579 <result == 1 && $output is "no such file or directory">: New.
12580 (prelink_yes): Likewise. Return on failed prelink_no.
12581
5e3b36f8
JK
125822010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12583 Joel Brobecker <brobecker@adacore.com>
12584
12585 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
12586 build_executable by build_executable_own_libs. Replace "prelink -R"
12587 execution by a call of prelink_yes. Comment why "prelink -r" needs no
12588 change.
12589 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
12590 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
12591 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
12592 Replace build_executable by build_executable_own_libs's function
12593 build_executable_own_libs.
12594 (prelinkNO): Create new stub to call prelink_no.
12595 (prelinkYES): Create new stub to call prelink_yes.
12596 (test_attach): Rename calls of copy to file_copy.
12597 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
12598 (copy): Move to ...
12599 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
12600 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
12601 * gdb.base/prelink.exp: Disable testcase also for is_remote and
12602 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
12603 special flags by gdb_compile_shlib. Replace second gdb_compile by
12604 build_executable_own_libs. Replace "prelink -R" execution by a call of
12605 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
12606 a second call of prelink_yes. Replace restart commands by
12607 clean_restart.
12608 (prelink): Rename to ...
12609 (seen displacement message): ... this test. Extend its expectation
12610 strictness.
12611
86e4bafc
JK
126122010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12613
12614 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
12615 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
12616 displacement message exactly once.
12617
3cd07d20
JK
126182010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12619 Joel Brobecker <brobecker@adacore.com>
12620
12621 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
12622 its restore after the <$relink_args != ""> loop. new comment.
12623
0a1e94c7
JK
126242010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12625 Joel Brobecker <brobecker@adacore.com>
12626
12627 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
12628 code for it. New variable relink_args.
12629 (prelinkYES): Call prelinkNO.
12630 (test_attach): Accept new parameter relink_args. Re-prelink the binary
12631 in such case. Move the core code to ...
12632 (test_attach_gdb): ... a new function. Send GDB command "file".
12633 Extend expected "Attaching to " string.
12634
2f70bcfb
TT
126352010-07-02 Tom Tromey <tromey@redhat.com>
12636
12637 * gdb.base/bitops.exp: Remove extraneous "pass".
12638
a17ac5b0
TT
126392010-07-02 Ken Werner <ken.werner@de.ibm.com>
12640
12641 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
12642
dc10affe
PA
126432010-07-01 Pedro Alves <pedro@codesourcery.com>
12644
d41c0fc8
PA
12645 * gdb.base/help.exp: Adjust expected output.
12646
126472010-07-01 Pedro Alves <pedro@codesourcery.com>
12648
12649 * gdb.base/help.exp: Adjust expected output.
dc10affe 12650
0a600c36
JK
126512010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12652
12653 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
12654 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
12655 c++/11702.
12656
37cc8bfe
JK
126572010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12658 Doug Evans <dje@google.com>
12659
12660 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
12661 add .dynamic entry'.
12662
254e6b9e
DE
126632010-06-29 Doug Evans <dje@google.com>
12664
12665 Test PR c++/11702.
12666 * gdb.cp/m-static.exp: Add testcase.
12667 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
12668
595939de 126692010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
12670 Tom Tromey <tromey@redhat.com>
12671 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
12672
12673 * gdb.python/py-inferior.c: New File.
12674 * gdb.python/py-infthread.c: New File.
12675 * gdb.python/py-inferior.exp: New File.
12676 * gdb.python/py-infthread.exp: New File.
12677
98751a41
JK
126782010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12679
12680 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
12681 (ptype ::C::OtherFileClass typedefs): New.
12682 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
12683 (C::OtherFileClass::cOtherFileClassVar2): New.
12684 (C::OtherFileClass::cOtherFileClassVar_use): Use also
12685 cOtherFileClassVar2.
12686 (C::cOtherFileType2, C::cOtherFileVar2): New.
12687 (C::cOtherFileVar_use): use also cOtherFileVar2.
12688 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
12689
41f62f39
JK
126902010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12691
12692 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
12693 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
12694 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
12695 (print ::C::cOtherFileVar)
12696 (whatis C::OtherFileClass::cOtherFileClassType)
12697 (whatis ::C::OtherFileClass::cOtherFileClassType)
12698 (print C::OtherFileClass::cOtherFileClassVar)
12699 (print ::cOtherFileClassVar)
12700 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
12701 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
12702 trailing content.
12703 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
12704 (C::OtherFileClass::cOtherFileClassVar)
12705 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
12706 (C::cOtherFileVar, C::cOtherFileVar_use): New.
12707
af53d231
JK
127082010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12709
12710 Test PR c++/11703 and PR gdb/1448.
12711 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
12712 gdb/1448.
12713
9655fd1a
JK
127142010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12715
12716 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
12717 (main) <rtti_data>: New.
12718 * gdb.cp/virtbase.exp (print rtti_data): New.
12719
824cc8dd
JK
127202010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12721 Joel Brobecker <brobecker@adacore.com>
12722
12723 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
12724
6036c742
JK
127252010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12726
12727 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
12728
de6a0421
DE
127292010-06-28 Doug Evans <dje@google.com>
12730
12731 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
12732
b2dae948
DE
127332010-06-27 Doug Evans <dje@google.com>
12734
12735 * gdb.cp/m-static.exp: Update expected test output.
12736
0f3bb72e
PH
127372010-06-25 Paul Hilfinger <hilfinger@adacore.com>
12738
889bf7c5
PA
12739 * gdb.gdb/selftest.exp: Adjust expected message for
12740 capturing start-up runtime.
0f3bb72e 12741
bc9f0842
TT
127422010-06-25 Tom Tromey <tromey@redhat.com>
12743
12744 PR python/10808:
12745 * gdb.python/python.exp: Add new tests.
12746
099ef718
SW
127472010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
12748
12749 * gdb.cp/operator.cc: Created an import loop.
12750 * gdb.cp/operator.exp: Added testcase for import loop.
12751
5868a632
JK
127522010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12753
12754 Test PR python/11407.
12755 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
12756 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
12757 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
12758 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
12759 executable_nofb and executable_fb. New variables srcsfile, objsfile,
12760 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
12761 binfile. Call gdb_compile with clean_restart twice.
12762 (func_nofb print, func_nofb backtrace, func_loopfb print)
12763 (func_loopfb backtrace): New.
12764
af76db58
JK
127652010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12766
12767 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
12768 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
12769 by a hand made one.
12770 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
12771 i?86 requirement. Remove variables srcfile and binfile. New variable
12772 sources, executable_nofb and executable_fb. Call prepare_for_testing.
12773
f2c7657e
UW
127742010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12775
12776 * gdb.cell/dwarfaddr.exp: New file.
12777 * gdb.cell/dwarfaddr.S: New file.
12778
628fe4e4
JK
127792010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12780
12781 Test PR 9436.
12782 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
12783
f1421989
HZ
127842010-06-24 Hui Zhu <teawater@gmail.com>
12785
12786 * gdb.base/eval.exp: New file.
12787
d03285ec
UW
127882010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12789
12790 * gdb.cell/fork.exp: New file.
12791 * gdb.cell/fork.c: Likewise.
12792 * gdb.cell/fork-spu.c: Likewise.
12793
41b2c92d
PM
127942010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
12795
12796 * lib/gdb.exp (banned_variables_traced): New global variable.
12797 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
12798 (gdb_init): Use `trace add variable' instead of obsolete
12799 `trace variable'.
12800
d5bc977f
DE
128012010-06-21 Doug Evans <dje@google.com>
12802
12803 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
12804
d2ed6730
UW
128052010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12806
12807 * gdb.arch/spu-ls.exp: New file.
12808 * gdb.arch/spu-ls.c: Likewise.
12809
6aed2dbc
SS
128102010-06-18 Stan Shebs <stan@codesourcery.com>
12811
12812 * gdb.threads/thread-specific.exp: Add tests of $_thread.
12813
e0756905
UW
128142010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12815
12816 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
12817 * gdb.base/watch-cond.exp: Likewise.
12818 * gdb.python/py-breakpoint.exp: Likewise.
12819
d8053d4d
PA
128202010-06-18 Pedro Alves <pedro@codesourcery.com>
12821
12822 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
12823 clean_restart, make sure every test has a distinct message, and
12824 that messages don't include the executable' full path.
12825
81ce510c
DE
128262010-06-17 Doug Evans <dje@google.com>
12827
12828 * gdb.arch/i386-size.exp: Updated expected output for
12829 DISASSEMBLY_OMIT_FNAME.
12830
65d79d4b
SDJ
128312010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12832 Sergio Durigan Junior <sergiodj@redhat.com>
12833
12834 * gdb.base/watch-notconst.c: New file.
12835 * gdb.base/watch-notconst.S: New file.
12836 * gdb.base/watch-notconst2.c: New file.
12837 * gdb.base/watch-notconst2.S: New file.
12838 * gdb.base/watch-notconst.exp: New file.
12839 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
12840 (func4): Add operations on `global_ptr_ptr'.
12841 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
12842 routine to test watchpoints created with a constant expression.
12843 (test_inaccessible_watchpoint): Include tests for watchpoints
12844 created with a constant expression.
12845
df0f4836
KB
128462010-06-14 Kevin Buettner <kevinb@redhat.com>
12847
12848 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12849 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
12850 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
12851 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
12852 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12853 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12854 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
12855 of `_start'.
12856
b769def5
UW
128572010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12858
12859 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
12860 not supported on the target.
12861 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12862 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12863 * gdb.mi/mi-nsintrall.exp: Likewise.
12864 * gdb.mi/mi-nsmoribund.exp: Likewise.
12865 * gdb.mi/mi-nsthrexec.exp: Likewise.
12866
d914c394
SS
128672010-06-11 Stan Shebs <stan@codesourcery.com>
12868
12869 * gdb.base/permissions.exp: New file.
12870
128712010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
12872
12873 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
12874 does not support ELF executable class.
12875
f3ce5b9c
UW
128762010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12877
12878 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
12879
8e46892c
JK
128802010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12881
12882 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
12883 (runto): Catch "The target does not support running in non-stop mode.".
12884
6cc55c64
MS
128852010-06-11 Michael Snyder <msnyder@vmware.com>
12886
12887 * gdb.base/setshow.exp (set language asm): Don't use
12888 gdb_test_no_output, fails on some targets.
12889
caddefa4
UW
128902010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12891
12892 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
12893 * gdb.cp/pr9167.exp: Likewise.
12894
468b1aa7
UW
128952010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12896
12897 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
12898
5c3552dc
UW
128992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12900
12901 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
12902
02e6fe6a
UW
129032010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12904
12905 * gdb.base/charset.c (main): Make sure malloc gets linked in.
12906
0e03807e
TT
129072010-06-11 Tom Tromey <tromey@redhat.com>
12908
12909 PR gdb/9977, PR exp/11636::
12910 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
12911 (pieces_test_f6): Update expected output.
12912
2bdf28a0
JK
129132010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12914
12915 * gdb.base/moribund-step.exp: New.
12916
f6978de9
MS
129172010-06-08 Michael Snyder <msnyder@vmware.com>
12918
12919 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 12920 * gdb.ada/boolean_expr.exp:
f6978de9
MS
12921 * gdb.ada/frame_args.exp: Ditto.
12922 * gdb.ada/lang_switch.exp: Ditto.
12923 * gdb.ada/ptype_arith_binop.exp: Ditto.
12924 * gdb.ada/ref_param.exp: Ditto.
12925 * gdb.ada/type_coercion.exp:Ditto.
12926
12927 * gdb.asm/asm-source.exp: Ditto.
12928
12929 * gdb.base/attach.exp: Ditto.
12930 * gdb.base/bitfields2.exp: Ditto.
12931 * gdb.base/call-signal-resume.exp: Ditto.
12932 * gdb.base/callfuncs.exp: Ditto.
12933 * gdb.base/commands.exp: Ditto.
12934 * gdb.base/dbx.exp: Ditto.
12935 * gdb.base/default.exp: Ditto.
12936 * gdb.base/dump.exp: Ditto.
12937 * gdb.base/exprs.exp: Ditto.
12938 * gdb.base/freebpcmd.exp: Ditto.
12939 * gdb.base/interrupt.exp: Ditto.
12940 * gdb.base/list.exp: Ditto.
12941 * gdb.base/long_long.exp: Ditto.
12942 * gdb.base/maint.exp: Ditto.
12943 * gdb.base/ptype.exp: Ditto.
12944 * gdb.base/return.exp: Ditto.
12945 * gdb.base/setshow.exp: Ditto.
12946 * gdb.base/sigbpt.exp: Ditto.
12947 * gdb.base/sigrepeat.exp: Ditto.
12948
12949 * gdb.cp/classes.exp: Ditto.
12950
12951 * gdb.dwarf2/dw2-restore.exp: Ditto.
12952
12953 * gdb.gdb/selftest.exp: Ditto.
12954
12955 * gdb.multi/base.exp: Ditto.
12956 * gdb.multi/bkpt-multi-exec.exp: Ditto.
12957
12958 * gdb.python/py-block.exp: Ditto.
12959 * gdb.python/py-prettyprint.exp: Ditto.
12960 * gdb.python/py-template.exp: Ditto.
12961
12962 * gdb.server/ext-attach.exp: Ditto.
12963 * gdb.server/ext-run.exp: Ditto.
12964 * gdb.server/server-mon.exp: Ditto.
12965
12966 * gdb.threads/fork-thread-pending.exp: Ditto.
12967 * gdb.threads/hand-call-in-threads.exp: Ditto.
12968 * gdb.threads/interrupted-hand-call.exp: Ditto.
12969 * gdb.threads/linux-dp.exp: Ditto.
12970 * gdb.threads/manythreads.exp: Ditto.
12971 * gdb.threads/print-threads.exp: Ditto.
12972 * gdb.threads/pthreads.exp: Ditto.
12973 * gdb.threads/schedlock.exp: Ditto.
12974 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12975 * gdb.threads/threadapply.exp: Ditto.
12976
de7ff789
MS
129772010-06-08 Michael Snyder <msnyder@vmware.com>
12978
889bf7c5 12979 * gdb.ada/exec_changed.exp:
de7ff789
MS
12980 Use ".*" instead of "" as wildcard regexp.
12981
12982 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
12983 * gdb.base/call-ar-st.exp: Ditto.
12984 * gdb.base/checkpoint.exp: Ditto.
12985 * gdb.base/default.exp: Ditto.
12986 * gdb.base/dump.exp: Ditto.
12987 * gdb.base/ending-run.exp: Ditto.
12988 * gdb.base/fileio.exp: Ditto.
12989 * gdb.base/miscexprs.exp: Ditto.
12990 * gdb.base/pointers.exp: Ditto.
12991 * gdb.base/readline.exp: Ditto.
12992 * gdb.base/reread.exp: Ditto.
12993 * gdb.base/restore.exp: Ditto.
12994 * gdb.base/shlib-call.exp: Ditto.
12995 * gdb.base/valgrind-db-attach.exp: Ditto.
12996 * gdb.base/volatile.exp: Ditto.
12997 * gdb.base/watchpoints.exp: Ditto.
12998
12999 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
13000
13001 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
13002 * gdb.python/py-value.exp: Ditto.
13003
13004 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
13005 * gdb.trace/circ.exp: Ditto.
13006 * gdb.trace/collection.exp: Ditto.
13007 * gdb.trace/packetlen.exp: Ditto.
13008 * gdb.trace/passc-dyn.exp: Ditto.
13009 * gdb.trace/report.exp: Ditto.
13010 * gdb.trace/tfile.exp: Ditto.
13011 * gdb.trace/tfind.exp: Ditto.
13012 * gdb.trace/while-dyn.exp: Ditto.
13013
3bebe2f2
JK
130142010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13015
13016 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
13017
5c631832
JK
130182010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13019
13020 Test PR 10640.
13021 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
13022
4c3376c8
SW
130232010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
13024
13025 * gdb.cp/koenig.exp: Test for ADL operators.
13026 * gdb.cp/koenig.cc: Added ADL operators.
13027 * gdb.cp/operator.exp: New test.
13028 * gdb.cp/operator.cc: New test.
13029
dc226d5a
MS
130302010-06-04 Michael Snyder <msnyder@vmware.com>
13031
dfb88a23
MS
13032 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
13033 * gdb.base/pending.exp: Ditto.
f7ae76b3 13034
dc226d5a
MS
13035 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
13036
967cf477
DE
130372010-06-04 Doug Evans <dje@google.com>
13038
13039 * gdb.python/py-prettyprint.exp: Add new test for enabled and
13040 disabled printers.
13041 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
13042 (enable_lookup_function): New function.
13043
eb801841
TT
130442010-06-04 Tom Tromey <tromey@redhat.com>
13045
13046 * gdb.python/py-value.exp (test_value_hash): Don't test equality
13047 of hash and id.
13048
38979823
JK
130492010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13050
13051 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
13052 newline.
13053 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
13054 (empty verbose non-noisy clear, empty verbose noisy clear)
13055 (empty non-verbose noisy clear): Likewise.
13056
35ec993f
MS
130572010-06-03 Michael Snyder <msnyder@vmware.com>
13058
13059 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
13060 * gdb.base/display.exp: Ditto.
13061 * gdb.base/find.exp: Ditto.
13062 * gdb.base/ifelse.exp: Ditto.
13063 * gdb.base/multi-forks.exp: Ditto.
13064 * gdb.base/recurse.exp: Ditto.
13065 * gdb.base/setshow.exp: Ditto.
13066 * gdb.base/value-double-free.exp: Ditto.
13067 * gdb.base/watch-vfork.exp: Ditto.
13068 * gdb.base/watch_thread_num.exp: Ditto.
13069 * gdb.base/watchpoint-solib.exp: Ditto.
13070 * gdb.base/watchpoint.exp: Ditto.
13071 * gdb.base/watchpoints.exp: Ditto.
13072
13073 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
13074 * gdb.cp/overload.exp: Ditto.
13075 * gdb.cp/virtfunc.exp: Ditto.
13076
13077 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
13078
889bf7c5 13079 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
13080 Replace gdb_test with gdb_test_no_output.
13081
889bf7c5 13082 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
13083 Replace gdb_test with gdb_test_no_output.
13084 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
13085 * gdb.threads/watchthreads.exp: Ditto.
13086 * gdb.threads/watchthreads2.exp: Ditto.
13087
13088 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
13089 * gdb.trace/tfind.exp: Ditto.
13090
c22decce
JB
130912010-06-03 Joel Brobecker <brobecker@adacore.com>
13092
13093 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
13094 successful test if message is the empty string.
13095
fd5700c7
JK
130962010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13097
13098 * gdb.fortran/module.exp (stopped language detection): New test.
13099
f55ee35c
JK
131002010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13101
13102 Support DW_TAG_module as separate namespaces.
13103 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
13104 gdb.fortran/library-module-lib.f90: New.
13105 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
13106 (print i): Remove.
13107 (continue to breakpoint: i-is-1, print var_i value 1)
13108 (continue to breakpoint: i-is-2, print var_i value 2)
13109 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
13110 (print var_d, print var_i value 14, ptype modmany, complete `modm)
13111 (complete `modmany, complete `modmany`, complete `modmany`var)
13112 (show language, setting breakpoint at module): New tests.
13113 * gdb.fortran/module.f90 (module mod): Remove.
13114 (module mod1, module mod2, module modmany, subroutine sub1)
13115 (subroutine sub2, program module): New.
13116
b8e8282f
JK
131172010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13118
13119 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
13120 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
13121 * gdb.cp/anon-union.exp (pass): Rename to ...
13122 (print z 2): ... here.
b8e8282f 13123
019ebafc
MS
131242010-06-02 Michael Snyder <msnyder@vmware.com>
13125
e68d8fd4
MS
13126 * gdb.trace/actions.exp: Use gdb_test_no_output.
13127 * gdb.trace/circ.exp: Ditto.
13128 * gdb.trace/packetlen.exp: Ditto.
13129 * gdb.trace/save-trace.exp: Ditto.
13130 * gdb.trace/tracecmd.exp: Ditto.
13131 * gdb.trace/tsv.exp: Ditto.
13132
12b5d08a
MS
13133 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
13134 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
13135 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
13136 * gdb.threads/manythreads.exp: Ditto.
13137 * gdb.threads/print-threads.exp: Ditto.
13138 * gdb.threads/pthreads.exp: Ditto.
13139 * gdb.threads/schedlock.exp: Ditto.
13140 * gdb.threads/staticthreads.exp: Ditto.
13141 * gdb.threads/thread-specific.exp: Ditto.
13142 * gdb.threads/thread-unwindonsignal.exp: Ditto.
13143 * gdb.threads/threadapply.exp: Ditto.
13144 * gdb.threads/watchthreads.exp: Ditto.
13145 * gdb.threads/watchthreads2.exp: Ditto.
13146
89493308
MS
13147 * gdb.python/py-block.exp: Use gdb_test_no_output.
13148 * gdb.python/py-prettyprint.exp: Ditto.
13149 * gdb.python/py-template.exp: Ditto.
13150 * gdb.python/py-value.exp: Ditto.
13151
13152 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
13153 * gdb.reverse/watch-reverse.exp: Ditto.
13154
13155 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
13156 * gdb.server/ext-run.exp: Ditto.
13157
019ebafc
MS
13158 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
13159 * gdb.dwarf2/dw2-compressed.exp: Ditto.
13160 * gdb.dwarf2/dw2-intercu.exp: Ditto.
13161 * gdb.dwarf2/dw2-intermix.exp: Ditto.
13162 * gdb.dwarf2/dw2-producer.exp: Ditto.
13163 * gdb.dwarf2/mac-fileno.exp: Ditto.
13164
13165 * gdb.gdb/observer.exp: Use gdb_test_no_output.
13166 * gdb.gdb/selftest.exp: Ditto.
13167
13168 * gdb.multi/base.exp: Use gdb_test_no_output.
13169
13170 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
13171
3e0ca3a5
JK
131722010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13173
13174 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
13175
9db70545
MS
131762010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
13177
a8d52276
MS
13178 * gdb.cp/class2.exp: Use gdb_test_no_output.
13179 * gdb.cp/classes.exp: Ditto.
13180 * gdb.cp/extern-c.exp: Ditto.
13181 * gdb.cp/inherit.exp: Ditto.
13182 * gdb.cp/maint.exp: Ditto.
13183 * gdb.cp/mb-inline.exp: Ditto.
13184 * gdb.cp/mb-templates.exp: Ditto.
13185 * gdb.cp/method2.exp: Ditto.
13186 * gdb.cp/misc.exp: Ditto.
13187 * gdb.cp/ovldbreak.exp: Ditto.
13188 * gdb.cp/punctuator.exp: Ditto.
13189 * gdb.cp/templates.exp: Ditto.
13190 * gdb.cp/virtbase.exp: Ditto.
13191
889bf7c5 13192 * gdb.threads/attach-stopped.exp:
9db70545 13193 Replace uses of send_gdb / gdb_expect.
889bf7c5 13194 * gdb.threads/attachstop-mt.exp:
9db70545 13195 Replace uses of send_gdb / gdb_expect.
889bf7c5 13196 * gdb.threads/gcore-thread.exp:
9db70545 13197 Replace uses of send_gdb / gdb_expect.
889bf7c5 13198 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
13199 Replace uses of send_gdb / gdb_expect.
13200 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 13201 * gdb.threads/print-threads.exp:
9db70545
MS
13202 Replace uses of send_gdb / gdb_expect.
13203 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
13204 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
13205 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
13206
13207 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
13208 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
13209 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
13210 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
13211 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
13212 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
13213 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
13214 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
13215 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
13216 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
13217 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
13218
359cc68c
JK
132192010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13220
13221 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
13222
7d3fe98e
SW
132232010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
13224
13225 * gdb.cp/koenig.exp: Added new test case.
13226 * gdb.cp/koenig.cc: Ditto.
13227
27d3a1a2
MS
132282010-06-01 Michael Snyder <msnyder@vmware.com>
13229
13230 * gdb.base/arithmet.exp: Use gdb_test_no_output.
13231 * gdb.base/arrayidx.exp: Ditto.
13232 * gdb.base/attach.exp: Ditto.
13233 * gdb.base/auxv.exp: Ditto.
13234 * gdb.base/bigcre.exp: Ditto.
13235 * gdb.base/break-always.exp: Ditto.
13236 * gdb.base/break-interp.exp: Ditto.
13237 * gdb.base/break.exp: Ditto.
13238 * gdb.base/breakpoint-shadow.exp: Ditto.
13239 * gdb.base/call-ar-st.exp: Ditto.
13240 * gdb.base/call-sc.exp: Ditto.
13241 * gdb.base/call-signal-resume.exp: Ditto.
13242 * gdb.base/callfuncs.exp: Ditto.
13243 * gdb.base/catch-syscall.exp: Ditto.
13244 * gdb.base/charset.exp: Ditto.
13245 * gdb.base/code-expr.exp: Ditto.
13246 * gdb.base/commands.exp: Ditto.
13247 * gdb.base/cond-expr.exp: Ditto.
13248 * gdb.base/condbreak.exp: Ditto.
13249 * gdb.base/cursal.exp: Ditto.
13250 * gdb.base/cvexpr.exp: Ditto.
13251 * gdb.base/default.exp: Ditto.
13252 * gdb.base/del.exp: Ditto.
13253 * gdb.base/detach.exp: Ditto.
13254 * gdb.base/display.exp: Ditto.
13255 * gdb.base/ena-dis-br.exp: Ditto.
13256 * gdb.base/eval-skip.exp: Ditto.
13257 * gdb.base/foll-fork.exp: Ditto.
13258 * gdb.base/foll-vfork.exp: Ditto.
13259 * gdb.base/frame-args.exp: Ditto.
13260 * gdb.base/funcargs.exp: Ditto.
13261 * gdb.base/gcore-buffer-overflow.exp: Ditto.
13262 * gdb.base/gdbvars.exp: Ditto.
13263 * gdb.base/help.exp: Ditto.
13264 * gdb.base/ifelse.exp: Ditto.
13265 * gdb.base/included.exp: Ditto.
13266 * gdb.base/list.exp: Ditto.
13267 * gdb.base/macscp.exp: Ditto.
13268 * gdb.base/maint.exp: Ditto.
13269 * gdb.base/multi-fork.exp: Ditto.
13270 * gdb.base/overlays.exp: Ditto.
13271 * gdb.base/page.exp: Ditto.
13272 * gdb.base/pending.exp: Ditto.
13273 * gdb.base/pointers.exp: Ditto.
13274 * gdb.base/pr11022.exp: Ditto.
13275 * gdb.base/prelink.exp: Ditto.
13276 * gdb.base/printcmds.exp: Ditto.
13277 * gdb.base/psymtab.exp: Ditto.
13278 * gdb.base/randomize.exp: Ditto.
13279 * gdb.base/relational.exp: Ditto.
13280 * gdb.base/relocate.exp: Ditto.
13281 * gdb.base/remote.exp: Ditto.
13282 * gdb.base/sepdebug.exp: Ditto.
13283 * gdb.base/set-lang-auto.exp: Ditto.
13284 * gdb.base/setshow.exp: Ditto.
13285 * gdb.base/setvar.exp: Ditto.
13286 * gdb.base/signals.exp: Ditto.
13287 * gdb.base/signull.exp: Ditto.
13288 * gdb.base/sigstep.exp: Ditto.
13289 * gdb.base/sizeof.exp: Ditto.
13290 * gdb.base/solib-disc.exp: Ditto.
13291 * gdb.base/store.exp: Ditto.
13292 * gdb.base/structs.exp: Ditto.
13293 * gdb.base/structs2.exp: Ditto.
13294 * gdb.base/subst.exp: Ditto.
13295 * gdb.base/term.exp: Ditto.
13296 * gdb.base/trace-commands.exp: Ditto.
13297 * gdb.base/unwindonsignal.exp: Ditto.
13298 * gdb.base/valgrind-db-attach.exp: Ditto.
13299 * gdb.base/varargs.exp: Ditto.
13300 * gdb.base/watch-cond.exp: Ditto.
13301 * gdb.base/watch_thread_num.exp: Ditto.
13302 * gdb.base/watchpoint-cond-gone.exp: Ditto.
13303 * gdb.base/watchpoint.exp: Ditto.
13304 * gdb.base/whatis-exp.exp: Ditto.
13305
f8d3bf8f
MS
133062010-06-01 Michael Snyder <msnyder@vmware.com>
13307
13308 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
13309 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
13310 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
13311 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
13312 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
13313 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
13314 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
13315 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
13316 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
13317 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
13318 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
13319 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
13320 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
13321 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
13322 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
13323
3f9e0d32
JK
133242010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13325
13326 * gdb.base/commands.exp (begin commands on watch): Remove excessive
13327 trailing newline.
13328 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
13329 * gdb.java/jmisc.exp (p *args\n): Rename to ...
13330 (p *args): ... here and remove excessive trailing newline.
13331
f629457d
JB
133322010-05-31 Joel Brobecker <brobecker@adacore.com>
13333
13334 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
13335
09eef106
JK
133362010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
13337
13338 Accept the new Linux kernel "t (tracing stop)" string.
13339 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
13340 Update comment.
13341 (state_wait) <T (tracing stop)>: New.
13342 (main): Update the state_wait expect string.
13343
94f31136
PA
133442010-05-28 Pedro Alves <pedro@codesourcery.com>
13345
13346 * limits.c, limits.exp: Delete files.
13347 * Makefile.in (clean mostlyclean): Adjust.
13348 * tracecmd.exp: Adjust.
13349
096554ab
JK
133502010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13351
13352 * gdb.base/tui-layout.exp: New.
13353
27d3a1a2 133542010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 13355
889bf7c5 13356 * gdb.reverse/break-precsave.exp:
bcd2dc50 13357 Replace uses of send_gdb / gdb_expect.
889bf7c5 13358 * gdb.reverse/break-reverse.exp:
bcd2dc50 13359 Replace uses of send_gdb / gdb_expect.
889bf7c5 13360 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 13361 Replace uses of send_gdb / gdb_expect.
889bf7c5 13362 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 13363 Replace uses of send_gdb / gdb_expect.
889bf7c5 13364 * gdb.reverse/finish-precsave.exp:
bcd2dc50 13365 Replace uses of send_gdb / gdb_expect.
889bf7c5 13366 * gdb.reverse/finish-reverse.exp:
bcd2dc50 13367 Replace uses of send_gdb / gdb_expect.
889bf7c5 13368 * gdb.reverse/i386-precsave.exp:
bcd2dc50 13369 Replace uses of send_gdb / gdb_expect.
889bf7c5 13370 * gdb.reverse/i386-reverse.exp:
bcd2dc50 13371 Replace uses of send_gdb / gdb_expect.
889bf7c5 13372 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 13373 Replace uses of send_gdb / gdb_expect.
889bf7c5 13374 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 13375 Replace uses of send_gdb / gdb_expect.
889bf7c5 13376 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 13377 Replace uses of send_gdb / gdb_expect.
889bf7c5 13378 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 13379 Replace uses of send_gdb / gdb_expect.
889bf7c5 13380 * gdb.reverse/machinestate.exp:
bcd2dc50 13381 Replace uses of send_gdb / gdb_expect.
889bf7c5 13382 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 13383 Replace uses of send_gdb / gdb_expect.
889bf7c5 13384 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 13385 Replace uses of send_gdb / gdb_expect.
889bf7c5 13386 * gdb.reverse/solib-precsave.exp:
bcd2dc50 13387 Replace uses of send_gdb / gdb_expect.
889bf7c5 13388 * gdb.reverse/solib-reverse.exp:
bcd2dc50 13389 Replace uses of send_gdb / gdb_expect.
889bf7c5 13390 * gdb.reverse/step-precsave.exp:
bcd2dc50 13391 Replace uses of send_gdb / gdb_expect.
889bf7c5 13392 * gdb.reverse/step-reverse.exp:
bcd2dc50 13393 Replace uses of send_gdb / gdb_expect.
889bf7c5 13394 * gdb.reverse/until-precsave.exp:
bcd2dc50 13395 Replace uses of send_gdb / gdb_expect.
889bf7c5 13396 * gdb.reverse/until-reverse.exp:
bcd2dc50 13397 Replace uses of send_gdb / gdb_expect.
889bf7c5 13398 * gdb.reverse/watch-precsave.exp:
bcd2dc50 13399 Replace uses of send_gdb / gdb_expect.
889bf7c5 13400 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
13401 Replace uses of send_gdb / gdb_expect.
13402
3def43e0
JK
134032010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13404
13405 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
13406 excessive newline.
13407
27d3a1a2 134082010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
13409
13410 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
13411 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
13412 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
13413 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
13414 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
13415 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
13416 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
13417 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
13418 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
13419 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
13420 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
13421 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
13422 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
13423 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
13424 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
13425 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
13426 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
13427 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
13428 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 13429
27d3a1a2 134302010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 13431
22454424
MS
13432 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
13433 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
13434
13435 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
13436 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
13437 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
13438
889bf7c5 13439 * gdb.reverse/consecutive-reverse.exp:
22454424 13440 Replace uses of send_gdb / gdb_expect.
889bf7c5 13441 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
13442 Replace uses of send_gdb / gdb_expect.
13443
13444 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
13445 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
13446 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 13447 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
13448 Replace uses of send_gdb / gdb_expect.
13449 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
13450 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
13451 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
13452 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
13453 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
13454 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
13455 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
13456 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
13457 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
13458
134592010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 13460
22454424 13461 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13462
22454424 13463 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13464
22454424
MS
13465 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
13466 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
13467 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
13468 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
13469 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
13470 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
13471 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
13472 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
13473 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13474
6e5f2c59
TT
134752010-05-25 Tom Tromey <tromey@redhat.com>
13476
13477 * gdb.base/macscp.exp: Add missing space after setup_kfail.
13478
bbc8b958
TT
134792010-05-25 Tom Tromey <tromey@redhat.com>
13480
13481 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
13482 argument order.
13483 * gdb.base/macscp.exp: Fix setup_kfail argument order.
13484 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
13485 order.
13486 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
13487 order.
13488 * gdb.base/call-sc.exp (setup_kfails): Remove.
13489 (setup_compiler_kfails): Remove.
13490 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
13491 argument order.
13492 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
13493 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
13494 (advancei): Fix setup_kfail argument order.
13495 * gdb.base/radix.exp: Fix setup_kfail argument order.
13496 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
13497 order.
13498 * gdb.base/structs.exp (setup_kfails): Remove.
13499 (setup_compiler_kfails): Fix setup_kfail argument order.
13500 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
13501 order.
13502 * gdb.java/jmain.exp: Fix setup_kfail argument order.
13503 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
13504 setup_kfail argument order.
13505 * gdb.cp/overload.exp: Fix setup_kfail argument order.
13506
83d1babf
TT
135072010-05-25 Tom Tromey <tromey@redhat.com>
13508
13509 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
13510
6acb16a2
MS
135112010-05-25 Michael Snyder <msnyder@vmware.com>
13512
13513 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
13514 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
13515 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
13516 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
13517 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
13518 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
13519 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
13520 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
13521 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
13522 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
13523 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
13524 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
13525 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
13526 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
13527 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
13528 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
13529 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
13530 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
13531 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
13532 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
13533 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
13534 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
13535 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
13536 * gdb.base/default.exp: Replace send_gdb with gdb_test.
13537 * gdb.base/define.exp: Replace send_gdb with gdb_test.
13538 * gdb.base/display.exp: Replace send_gdb with gdb_test.
13539 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
13540 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
13541 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
13542 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
13543 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
13544 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
13545 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
13546 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
13547 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
13548 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
13549 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
13550 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
13551 * gdb.base/help.exp: Replace send_gdb with gdb_test.
13552 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
13553 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
13554 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
13555 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
13556 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
13557 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
13558 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
13559 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 13560 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
13561
135622010-05-25 Doug Evans <dje@google.com>
13563
13564 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
13565 gdb.string_to_argv.
ad3986f0 13566
d3b1e874
TT
135672010-05-21 Tom Tromey <tromey@redhat.com>
13568
13569 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
13570 Call it.
13571 * gdb.dwarf2/pieces.S: Update.
13572 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
13573
cb826367
TT
135742010-05-21 Tom Tromey <tromey@redhat.com>
13575
13576 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
13577 Call it.
13578 * gdb.dwarf2/pieces.c (struct C): New.
13579 (f6): New function.
13580 * gdb.dwarf2/pieces.S: Replace.
13581
74de6778
TT
135822010-05-21 Tom Tromey <tromey@redhat.com>
13583
13584 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
13585 Call it.
13586
afd74c5f
TT
135872010-05-21 Tom Tromey <tromey@redhat.com>
13588
13589 * gdb.dwarf2.pieces.exp: New file.
13590 * gdb.dwarf2.pieces.S: New file.
13591 * gdb.dwarf2.pieces.c: New file.
13592
a7b75dfd 135932010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 13594 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
13595
13596 * lib/gdb.exp (gdb_test_no_output): New function.
13597 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
13598 when testing commands that should produce no output.
13599
c81c812a
JB
136002010-05-17 Joel Brobecker <brobecker@adacore.com>
13601
13602 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
13603 parameter that we want to watch being a constant.
13604
0cce5bd9
JB
136052010-05-17 Joel Brobecker <brobecker@adacore.com>
13606
13607 * gdb.ada/cond_lang: New testcase.
13608
47050449
JB
136092010-05-17 Joel Brobecker <brobecker@adacore.com>
13610
13611 * lib/gdb.exp (banned_variables): New variable/constant.
13612 (gdb_init): Add write trace on variables listed in banned_variables.
13613 (gdb_finish): Remove write traces on variables listed in
13614 banned_variables.
13615
77c01586
JB
136162010-05-17 Joel Brobecker <brobecker@adacore.com>
13617
13618 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
13619 * gdb.cp/koenig.exp: Likewise.
13620
88d4aea7
PM
136212010-05-14 Phil Muldoon <pmuldoon@redhat.com>
13622
889bf7c5 13623 PR python/11482
88d4aea7
PM
13624
13625 * gdb.python/py-value.exp (test_value_hash): New function.
13626
f5a010c0
PM
136272010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
13628
13629 PR exp/11530.
13630 * gdb.base/gdb11530.c: New file.
13631 * gdb.base/gdb11530.exp: New file.
13632
8ef4892f
JK
136332010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13634
13635 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
13636 * gdb.dwarf2/dw2-modula2-self-type.S: New.
13637
7322dca9
SW
136382010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
13639
13640 * gdb.cp/koenig.exp: New test.
13641 * gdb.cp/koenig.cc: New test program.
13642
02e7ea18
JB
136432010-05-05 Joel Brobecker <brobecker@adacore.com>
13644
13645 Remove the use of prms_id and bug_id throughout the testsuite.
13646
e1c34c5d
PM
136472010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
13648
13649 PR exp/11349.
13650 * testsuite/gdb.cp/ref-types.exp: Add test to examine
13651 use a reference local variable.
13652
8e1d0c49
JK
136532010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13654
13655 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
13656 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
13657 variable different_dir. Move debugfile into a full directory pathname
13658 under DIFFERENT_DIR.
13659 * lib/gdb.exp (separate_debug_filename): Remove.
13660 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
13661 variable debug_dir and mkdir of it. Update function comments.
13662
e66408ed
PA
136632010-04-29 Pedro Alves <pedro@codesourcery.com>
13664
13665 PR gdb/11557
13666
13667 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
13668 files.
13669
d7b32ed3
PM
136702010-04-29 Phil Muldoon <pmuldoon@redhat.com>
13671
889bf7c5 13672 * gdb.python/py-param.exp: New File.
d7b32ed3 13673
6aecb9c2
JB
136742010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
13675
13676 * gdb.base/default.exp: Fix "set language" test.
13677
bdf92a1c
PM
136782010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
13679
13680 PR breakpoints/11531.
13681 * gdb.base/gdb11531.c: New file.
13682 * gdb.base/gdb11531.exp: New file.
13683
3f172e24
TT
136842010-04-26 Tom Tromey <tromey@redhat.com>
13685
13686 * gdb.base/completion.exp: Add tests for completion and deprecated
13687 commands.
13688
64af4c92
JK
136892010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13690
13691 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
13692 (print /x char_array): Escape curly brackets.
13693
492928e4
JK
136942010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13695
13696 Fix deadlock on looped list of loaded shared objects.
13697 * gdb.base/solib-corrupted.exp: New.
13698
66d09542
DE
136992010-04-23 Doug Evans <dje@google.com>
13700
13701 * gdb.python/py-section-script.c: New file.
13702 * gdb.python/py-section-script.exp: New file.
13703 * gdb.python/py-section-script.py: New file.
13704
8bd10a10
CM
137052010-04-20 Chris Moller <cmoller@redhat.com>
13706
13707 PR 10179
13708
13709 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
13710 * gdb.base/pr10179-a.c:
13711 * gdb.base/pr10179-b.c:
13712 * gdb.base/pr10179.exp: New files.
13713
c0201579
JK
137142010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13715
13716 Fix crashes on dangling display expressions.
13717 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
13718 is SEP.
13719 (lib_flags): Remove the "debug" keyword.
13720 (libsepdebug): New variable for iterating new loop.
13721 (save_pf_prefix): New variable wrapping the loop.
13722 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
13723 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
13724
793b0ff8
PM
137252010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13726
13727 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
13728
097f51f7
PM
137292010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13730
13731 PR stabs/11479.
13732 * gdb.stabs/gdb11479.exp: New file.
13733 * gdb.stabs/gdb11479.c: New file.
13734
9a22f0d0
PM
137352010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13736
13737 * gdb.base/charset.c (Strin16, String32): New variables.
13738 * gdb.base/charset.exp (gdb_test): Test correct display
13739 of 16 or 32 bit strings.
13740
137412010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
13742
13743 PR 9167
13744 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
13745 * gdb.cp/pr9167.cc: New file.
13746 * gdb.cp/pr9167.exp: New file.
13747
13748
6e354e5e
PM
137492010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
13750
13751 PR pascal/11492.
13752 * gdb.pascal/gdb11492.pas: New file.
13753 * gdb.pascal/gdb11492.exp: New file.
13754
be942545
JB
137552010-04-20 Joel Brobecker <brobecker@adacore.com>
13756
1667e6e3 13757 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 13758
0c3acc09
JB
137592010-04-20 Joel Brobecker <brobecker@adacore.com>
13760
13761 * gdb.ada/dyn_loc: New testcase.
13762
ec31cde5
CM
137632010-04-20 Chris Moller <cmoller@redhat.com>
13764
13765 PR 10867
889bf7c5 13766
ec31cde5
CM
13767 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
13768 * gdb.cp/pr10687.cc: New file.
13769 * gdb.cp/pr10687.exp: New file.
13770
13771
ce4b0682
SDJ
137722010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13773 Sergio Durigan Junior <sergiodj@redhat.com>
13774
13775 * gdb.fortran/logical.exp: New testcase.
13776 * gdb.fortran/logical.f90: New file.
13777
3436961f
DE
137782010-04-19 Doug Evans <dje@google.com>
13779
13780 * gdb.base/help.exp (help source): Update expected output.
13781
4d836c09
JK
137822010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13783
13784 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
13785 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
13786 gdb_exit and return.
13787 (executable): New variable.
13788 (binfile): Use it.
13789
6149aea9
PA
137902010-04-19 Pedro Alves <pedro@codesourcery.com>
13791
13792 PR breakpoints/8554.
13793
13794 * gdb.trace/save-trace.exp: Adjust.
13795
ed41462c
L
137962010-04-17 H.J. Lu <hongjiu.lu@intel.com>
13797
13798 PR corefiles/11511
13799 * gdb.arch/system-gcore.exp: New.
13800 * gdb.arch/gcore.c: Likewise.
13801
3f7b2faa
DE
138022010-04-15 Doug Evans <dje@google.com>
13803
fa33c3cd
DE
13804 * gdb.python/py-progspace.c: New file.
13805 * gdb.python/py-progspace.exp: New file.
13806
3f7b2faa
DE
13807 * gdb.base/source.exp: Add tests for "source -s".
13808
79f283fe
PM
138092010-04-14 Phil Muldoon <pmuldoon@redhat.com>
13810
13811 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
13812 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
13813 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
13814 * gdb.python/py-mi.exp: New test for to_string returning None.
13815
fc8eb08a
PM
138162010-04-12 Phil Muldoon <pmuldoon@redhat.com>
13817
13818 * gdb.python/py-breakpoint.c: Make result global.
13819
26e197f6
JK
138202010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13821
13822 Fix non-GNU make compatibility.
13823 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
13824
adc36818
PM
138252010-04-09 Phil Muldoon <pmuldoon@redhat.com>
13826
13827 * gdb.python/py-breakpoint.exp: New File.
13828 * gdb.python/py-breakpoint.C: Ditto.
13829
64e17368
SS
138302010-04-08 Stan Shebs <stan@codesourcery.com>
13831
13832 * gdb.trace/actions.exp: Clear default-collect.
13833 * gdb.trace/save-trace.exp: Clear default-collect.
13834
fff5cc64
PM
138352010-04-08 Phil Muldoon <pmuldoon@redhat.com>
13836
13837 * gdb.python/py-value: Add null string variable.
13838 (test_lazy_string): Test zero length, NULL address lazy
13839 strings.
13840
a055a187
L
138412010-04-07 H.J. Lu <hongjiu.lu@intel.com>
13842
13843 * gdb.arch/i386-avx.c: New.
13844 * gdb.arch/i386-avx.exp: Likewise.
13845
13846 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
13847
96e39866
DE
138482010-04-06 Doug Evans <dje@google.com>
13849
13850 * gdb.base/source-test.gdb: New file.
13851 * gdb.base/source.exp: Test source -v.
13852
5984a431
UW
138532010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13854
13855 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
13856
ec8a089a
PM
138572010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
13858
13859 * gdb.stabs/aout.sed: Convert all backslash to double backslash
13860 within one line, unless it is followed by a double quote.
13861 * gdb.stabs/hppa.sed: Idem.
13862 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
13863 * gdb.stabs/weird.exp: Check for correct parsing of
13864 char and string constants.
ec8a089a
PM
13865 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
13866 in .stabs to .stabx substitution.
13867
fce3c1f0
SS
138682010-04-05 Stan Shebs <stan@codesourcery.com>
13869
13870 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
13871 constant global.
13872 * gdb.trace/tfile.exp: Try to print them.
13873
d77f58be
SS
138742010-04-04 Stan Shebs <stan@codesourcery.com>
13875
13876 * gdb.base/completion.exp: Update for new "info watchpoints".
13877 * gdb.base/default.exp: Ditto.
13878 * gdb.base/help.exp: Ditto.
13879 * gdb.base/watchpoint.exp: Ditto.
13880 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 13881
af54718e
SS
138822010-04-04 Stan Shebs <stan@codesourcery.com>
13883
13884 * gdb.trace/tfile.exp: Sharpen tfind test.
13885
74d1f91e
JK
138862010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13887
13888 * gdb.base/break-entry.exp: New.
13889
eb8e76db 138902010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 13891 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
13892
13893 * gdb.reverse/i386-sse-reverse.exp: New file.
13894 * gdb.reverse/i386-sse-reverse.c: New file.
13895
bf65cad8
PA
138962010-04-02 Pedro Alves <pedro@codesourcery.com>
13897
13898 * gdb.trace/tfind.exp: Adjust expected disassembly output.
13899
fff87407
SS
139002010-04-01 Stan Shebs <stan@codesourcery.com>
13901
13902 * gdb.trace/actions.exp: Tweak expected output.
13903 * gdb.trace/while-stepping.exp: Tweak expected output.
13904
fe01d668
L
139052010-04-01 H.J. Lu <hongjiu.lu@intel.com>
13906
13907 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
13908
86b17b60
PA
139092010-04-01 Pedro Alves <pedro@codesourcery.com>
13910
13911 * gdb.base/commands.exp: Adjust.
13912 * gdb.cp/extern-c.exp: Adjust.
13913
2c58c0a9
PA
139142010-04-01 Pedro Alves <pedro@codesourcery.com>
13915
13916 * gdb.trace/collection.c (local_test_func): Define a local struct,
13917 and instanciate it.
13918
0db9b91c
PA
139192010-04-01 Pedro Alves <pedro@codesourcery.com>
13920
13921 * gdb.trace/collection.exp (gdb_collect_args_test)
13922 (gdb_collect_argarray_test): XFAIL the tests that assume the
13923 argarray argument's elements are collected.
13924
8072405b
JK
139252010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
13926
13927 * gdb.dwarf2/dw2-bad-parameter-type.exp,
13928 gdb.dwarf2/dw2-bad-parameter-type.S: New.
13929
8bf6485c
SS
139302010-03-31 Stan Shebs <stan@codesourcery.com>
13931
13932 * gdb.trace/save-trace.exp: Test save/restore of default-collect
13933 and tracepoint conditionals.
13934 (gdb_verify_tracepoints): Delete unused return.
13935
fd7f724a
KS
139362010-03-26 Keith Seitz <keiths@redhat.com>
13937
13938 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
13939 appear in the output before main.
13940 Remove KFAIL for gdb/2215 aka bz 9320.
13941
8d9e7719
DE
139422010-03-30 Doug Evans <dje@google.com>
13943
0906dd0b
DE
13944 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
13945 by dejagnu.
13946 * gdb.arch/amd64-dword.exp: Ditto.
13947
8d9e7719
DE
13948 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
13949 match.
13950 (break printf): Ditto.
13951
1da644f0
SW
139522010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
13953
13954 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
13955 gcc < 4.4.
13956 * gdb.cp/shadow.exp: Ditto.
13957
a8121990
PA
139582010-03-29 Pedro Alves <pedro@codesourcery.com>
13959
13960 * gdb.trace/collection.exp (run_trace_experiment): Make sure
13961 "tstart" is silent.
13962
6e79d367
PA
139632010-03-29 Pedro Alves <pedro@codesourcery.com>
13964
13965 * gdb.trace/collection.exp (executable): New.
13966 (binfile): Use it.
13967 (fpreg, spreg, pcreg): New.
13968 (test_register): Use gdb_test_multiple. Pass /x to print.
13969 (prepare_for_trace_test): New.
13970 (run_trace_experiment): Use "continue", not gdb_run_cmd.
13971 (gdb_collect_args_test, gdb_collect_argstruct_test)
13972 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
13973 prepare_for_trace_test.
13974 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
13975 fpreg, spreg and pcreg.
13976 (gdb_collect_expression_test, gdb_collect_globals_test): Use
13977 prepare_for_trace_test.
13978 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
13979 try to detect tracing support here. Don't set breakpoints at
13980 `begin' or `end' here.
13981 <global scope>: Use clean_restart. Run to main before checking
13982 for tracing support. Check for for tracing support here.
13983
09248348
JK
139842010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13985
13986 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
13987 " as $displacement" to "seen displacement message".
13988
d350db38
PA
139892010-03-28 Pedro Alves <pedro@codesourcery.com>
13990
13991 * gdb.trace/while-dyn.exp (executable): New variable.
13992 (binfile): Use it.
13993 (test_while_stepping): New function. Move most tests here. Call
13994 it once for each of the while-stepping, stepping and ws aliases.
13995
907af001
UW
139962010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13997
13998 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
13999 that do not provide the tagless_struct type name at all.
14000 (test_print_anon_union): Do not check value of uninitialized
14001 union member. Do not use cp_test_ptype_class, so we can accept
14002 "long" as well as "long int".
14003
610197fd
PA
140042010-03-26 Pedro Alves <pedro@codesourcery.com>
14005
14006 * gdb.trace/tfile.c (tohex, bin2hex): New.
14007 (write_error_trace_file): Hexify error description.
14008
6c28cbf2
SS
140092010-03-25 Stan Shebs <stan@codesourcery.com>
14010
14011 * gdb.trace/tfile.c: Generate an additional trace file, improve
14012 portability.
14013 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
14014 files in a better way.
14015
e62b8c7e
KS
140162010-03-25 Keith Seitz <keiths@redhat.com>
14017
14018 * gdb.java/jprint.exp: XFAIL printing of static class members
14019 because of GCC debuginfo problem.
14020
82ccf5a5
JK
140212010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14022
14023 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
14024
293e2f9e
DJ
140252010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
14026
14027 * gdb.base/completion.exp: Allow long instead of long int.
14028 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
14029 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
14030 variable p.
14031 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
14032 * gdb.base/pointers.exp: Allow long instead of long int.
14033 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
14034 * gdb.base/step-line.exp: Allow a directory before the source file name.
14035
95a42b64
TT
140362010-03-24 Tom Tromey <tromey@redhat.com>
14037
14038 PR breakpoints/9352:
14039 * gdb.base/default.exp: Update.
14040 * gdb.base/commands.exp: Update.
14041 * gdb.cp/extern-c.exp: Test setting commands on multiple
14042 breakpoints at once.
14043
2390201f
DJ
140442010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
14045
14046 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
14047 if gdb,nosignals.
14048 * gdb.base/watchpoints.c: Do not include unnecessary headers.
14049 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
14050 exited".
14051
8c9a6790
SS
140522010-03-24 Stan Shebs <stan@codesourcery.com>
14053
14054 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
14055
a6c727b2
DJ
140562010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
14057
14058 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
14059 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
14060 argument. Handle "short" and "long".
14061 (Top level): Pass overprototyped output for old_fptr and xptr.
14062
4dfd5423
PA
140632010-03-23 Pedro Alves <pedro@codesourcery.com>
14064
14065 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
14066 format strings and add casts to avoid compiler warnings.
14067
140682010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
14069
14070 * lib/trace-support.exp (gdb_trace_setactions):
14071 Don't expect whitespace after ">" prompt.
14072 * gdb.trace/actions.exp: Adjust for output changes.
14073 * gdb.trace/while-stepping.exp: Likewise.
14074
c847d045
JK
140752010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14076
14077 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
14078 and r157645).
14079
5f717f1d
JK
140802010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14081
14082 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
14083 New.
14084
7d6d51d5
DJ
140852010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
14086
14087 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
14088 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
14089
3b11a015
SS
140902010-03-19 Stan Shebs <stan@codesourcery.com>
14091
14092 * gdb.trace/ax.exp: New file.
14093
d7d158ed
DE
140942010-03-19 Doug Evans <dje@google.com>
14095
6bb85cd1
DE
14096 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
14097 output from gcc.
14098
d7d158ed
DE
14099 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
14100 named /usr/sbin/prelink<foo>.
14101
4daf5ac0
SS
141022010-03-18 Stan Shebs <stan@codesourcery.com>
14103
14104 * gdb.trace/circ.exp: Test circular-trace-buffer.
14105 * gdb.trace/tfile.exp: Update tstatus test.
14106
e8d05480
JB
141072010-03-18 Joel Brobecker <brobecker@adacore.com>
14108
14109 * gdb.dwarf2/dw2-anonymous-func.S: New file.
14110 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
14111
441b986a
UW
141122010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14113
14114 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
14115
4247603b
PA
141162010-03-18 Pedro Alves <pedro@codesourcery.com>
14117
14118 * gdb.base/default.exp: Adjust the expected output of the finish
14119 and until commands when the inferior is not being run.
14120
13387711
SW
141212010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
14122
14123 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
14124 * gdb.cp/nsusing.exp: Ditto.
14125
6e31430b
TT
141262010-03-15 Tom Tromey <tromey@redhat.com>
14127
14128 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
14129 * gdb.cp/userdef.cc (operator==): New function.
14130 (main): New locals mem1, mem2.
14131
e2d69cb5
JZ
141322010-03-15 Jie Zhang <jie@codesourcery.com>
14133
14134 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
14135 Declare and use new loadtimeout variable.
14136
f572f0a9
DJ
141372010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
14138
14139 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
14140 Use gdb_load later.
14141
51f4c0b0
PA
141422010-03-14 Pedro Alves <pedro@codesourcery.com>
14143
14144 * gdb.base/solib-disc.c (main): Make format of fprintf a string
14145 literal. Add missing endlines to prints to stderr.
14146
1c809c68
TT
141472010-03-12 Tom Tromey <tromey@redhat.com>
14148
14149 PR c++/9708:
14150 * gdb.cp/m-static.exp: Add regression test.
14151 * gdb.cp/m-static.cc (method): New method.
14152 (main): Call it.
14153
00ae8fef
SW
141542010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
14155
14156 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
14157 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
14158
759f0f0b
PA
141592010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
14160
21e24d21
PA
14161 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
14162
141632010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
14164
759f0f0b
PA
14165 * lib/gdb.exp (skip_stl_tests): New.
14166 (gdb_compile): Symbian needs -ldl.
14167 (shlib_target_file): New.
14168 (shlib_symbol_file): New.
14169 (gdb_load_shlibs): Use shlib_target_file.
14170 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
14171 * gdb.cp/exception.exp: Use skip_stl_tests.
14172 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
14173 * gdb.cp/try_catch.exp: Use skip_stl_tests.
14174 * gdb.cp/mb-templates.exp: Ditto.
14175 * gdb.base/commands.exp: Relax regexes.
14176 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
14177 shlib_target_file and shlib_symbol_file.
14178 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
14179 sections.
14180 * gdb.base/ending-run.exp: Accept E32Main for symbian.
14181 * gdb.base/solib-disc.exp: Use
14182 shlib_target_file and shlib_symbol_file.
14183 * gdb.base/unload.exp: Don't skip on symbian. Use
14184 shlib_target_file and shlib_symbol_file.
14185 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
14186
6a8f2671 141872010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 14188
6a8f2671
PA
14189 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
14190 * gdb.trace/report.exp: Adjust for x86 and x86_64.
14191 Issue a tfind end before looking for a tracepoint frame.
14192 * gdb.trace/tfind.exp: Adjust tstatus output.
14193 Adjust disassembly output.
14194 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
14195
ccf26247
JK
141962010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14197
14198 * gdb.base/break-interp.exp: Create new displacement parameter value
14199 for the test_ld calls.
14200 (reach): New parameter displacement, verify its content. New push of
14201 pf_prefix "reach-$func:". Import global expect_out.
14202 (test_core): New parameter displacement, verify its content. New push
14203 of pf_prefix "core:". New command "set verbose on". Import global
14204 expect_out.
14205 (test_attach): New parameter displacement, verify its content. New
14206 push of pf_prefix "attach:". New command "set verbose on". Import
14207 global expect_out.
14208 (test_ld): New parameter displacement, pass it to the reach, test_core
14209 and test_attach calls and verify its content in the "ld.so exit" test.
14210 * gdb.base/prelink.exp: Remove gdb_exit and final return.
14211 (prelink): Update expected text, use gdb_test.
14212
e469c7fb
DE
142132010-03-10 Doug Evans <dje@google.com>
14214
14215 * gdb.base/checkpoint.exp: Fix comment.
14216 Lengthen timeout while doing >600 checkpoints test.
14217 Rename duplicate "kill all one" test to keep test names unique.
14218
60e1c644
PA
142192010-03-10 Pedro Alves <pedro@codesourcery.com>
14220
14221 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
14222
cec808ec
KS
142232010-03-08 Keith Seitz <keiths@redhat.com>
14224
889bf7c5
PA
14225 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
14226 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
14227 (dm_type_long): New function.
14228 (dm_type_unsigned_short): New function.
14229 (dm_type_unsigned_long): New function.
14230 (myint): New typedef.
14231 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
14232 long, unsigned shor and long, operator char*, and typedef.
14233 (test_lookup_operator_functions): Add operator char* test.
14234 (test_paddr_operator_functions): Likewise.
14235 (test_paddr_overloaded_functions): Use probe values for
14236 short, long, and unsigned short and long.
14237 (test_paddr_hairy_functions): If the demangler probe detected
14238 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
14239 demangler.
14240 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
14241 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
14242 and "print null_pmf".
14243 Add test "ptype a.*pmf".
14244 * gdb.cp/overload.exp: Allow optional "int" to appear with
14245 "short" and "long".
14246 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
14247 long expect value for men_overload1arg.
14248 Allow "int" to appear with "short" and "long".
14249 When testing "info break", add argument for main (void).
14250 Also allow "int" to appear with "short" and "long".
14251 Ditto with "unsigned" and "long long".
cec808ec
KS
14252 * gdb.java/jmain.exp: Do not enclose methods names in single
14253 quotes.
14254 * gdb.java/jmisc.exp: Likewise.
14255 * gdb.java/jprint.exp: Likewise.
14256 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
14257
14258 From Jan Kratochvil <jan.kratochvil@redhat.com>:
14259 * gdb.cp/exception.exp (backtrace after first throw)
14260 (backtrace after second throw): Allow a namespace before __cxa_throw.
14261 (backtrace after first catch, backtrace after second catch): Allow
14262 a namespace before __cxa_begin_catch.
14263
14264 * gdb.cp/cpexprs.exp: New file.
14265 * gdb.cp/cpexprs.cc: New file.
14266
14267 From Daniel Jacobowitz <dan@codesourcery.com>
14268 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
14269 to use string_to_regexp.
14270 (ctor, dtor): New functions. Use them to match constructor
14271 and destructor function types.
14272 (Top level): Use runto_main.
14273
f870a310
TT
142742010-03-05 Tom Tromey <tromey@redhat.com>
14275
14276 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
14277 gdb.target_charset.
14278 (pp_ns.to_string): Likewise.
14279
0c199f28
KS
142802010-03-04 Keith Seitz <keiths@redhat.com>
14281
14282 * gdb.cp/overload.exp: Test that the filename portion of a linespec
14283 can be quoted. Test that both the filename and function/line
14284 portions can be quoted at the same time.
14285
c7437ca6
PA
142862010-03-04 Pedro Alves <pedro@codesourcery.com>
14287
14288 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
14289
b111b805
DE
142902010-03-03 Doug Evans <dje@google.com>
14291
24486cb7
DE
14292 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
14293 libc contains libpthread.
14294
b111b805
DE
14295 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
14296 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
14297 of gdb_compile. Add another pattern to match android backtrace.
14298
a0e0ef55
TT
142992010-03-03 Tom Tromey <tromey@redhat.com>
14300
14301 PR gdb/11345:
14302 * gdb.base/printcmds.exp (test_printf): Add test.
14303
1ba53b71
L
143042010-03-02 H.J. Lu <hongjiu.lu@intel.com>
14305
14306 * gdb.arch/amd64-byte.exp: New.
14307 * gdb.arch/amd64-dword.exp: Likewise.
14308 * gdb.arch/amd64-pseudo.c: Likewise.
14309 * gdb.arch/amd64-word.exp: Likewise.
14310 * gdb.arch/i386-byte.exp: Likewise.
14311 * gdb.arch/i386-pseudo.c: Likewise.
14312 * gdb.arch/i386-word.exp: Likewise.
14313
f5dff777
DJ
143142010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
14315
14316 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
14317 types. Add structreg, bitfields, and flags registers.
14318 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
14319 registers.
14320
90884b2b
L
143212010-03-01 H.J. Lu <hongjiu.lu@intel.com>
14322
14323 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
14324 (load_description): Set architecture if defined.
14325
dc00d89f
PM
143262010-02-28 Phil Muldoon <pmuldoon@redhat.com>
14327
14328 * gdb.python/py-frame.exp: Add read_var block tests.
14329 * gdb.python/py-frame.c (block): New function.
14330
0e095b7e
JK
143312010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14332 Daniel Jacobowitz <dan@codesourcery.com>
14333
14334 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
14335
624f1a65
DM
143362010-02-25 David S. Miller <davem@davemloft.net>
14337
14338 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
14339 fix logic for setting all_syscalls_numbers.
14340
f3e9a817
PM
143412010-02-24 Phil Muldoon <pmuldoon@redhat.com>
14342
14343 * Makefile.in: Add py-block and py-symbol.
14344 * gdb.python/py-symbol.exp: New File.
14345 * gdb.python/py-symtab.exp: New File.
14346 * gdb.python/py-block.exp: New File.
14347 * gdb.python/py-symbol.c: New File.
14348 * gdb.python/py-block.c: New File.
14349
f6bbabf0
PM
143502010-02-24 Phil Muldoon <pmuldoon@redhat.com>
14351
14352 PR python/11314
14353 * lib/gdb.exp (skip_python_tests): New function.
14354 * gdb.python/py-cmd.exp: Use skip_python_tests.
14355 * gdb.python/py-frame.exp: Likewise.
14356 * gdb.python/py-function.exp: Likewise.
14357 * gdb.python/py-prettyprint.exp: Likewise.
14358 * gdb.python/py-template.exp: Likewise.
14359 * gdb.python/py-type.exp: Likewise.
14360 * gdb.python/py-value.exp: Likewise.
14361
85d721b8
PA
143622010-02-22 Pedro Alves <pedro@codesourcery.com>
14363
14364 PR9605
14365
14366 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
14367
48e32051
TT
143682010-02-19 Tom Tromey <tromey@redhat.com>
14369
14370 PR c++/8693, PR c++/9496:
14371 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
14372 regression tests.
14373
ac9c0048
JK
143742010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14375
14376 Fix compatibility with m68k as.
14377 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
14378 Use only /* comments */.
14379
57bb97a4
UW
143802010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14381
14382 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
14383 * configure: Regenerate.
14384
7d1bf85c
DJ
143852010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
14386
14387 * gdb.python/py-type.exp: Check for Python support.
14388
061b5285
PA
143892010-02-17 Pedro Alves <pedro@codesourcery.com>
14390
14391 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
14392 `regsub' syntax available.
14393
f8a8bc2c
PA
143942010-02-17 Pedro Alves <pedro@codesourcery.com>
14395
14396 * gdb.base/shmain.c (main): Remove printf call.
14397 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
14398 * gdb.base/unload.c (main): Make format of fprintf a string
14399 literal. Add missing endlines to prints to stderr.
14400 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
14401
6f451e5e
TT
144022010-02-17 Tom Tromey <tromey@redhat.com>
14403
14404 * gdb.java/jprint.java (jprint.props): New field.
14405 * gdb.java/jprint.exp (set_lang_java): Add regression test.
14406
12d79008
PA
144072010-02-17 Pedro Alves <pedro@codesourcery.com>
14408
ef801a0e 14409 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
14410 available.
14411
d252f7e5
DJ
144122010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14413
14414 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
14415 creation to support remote host testing.
14416
67bdab6c
DJ
144172010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14418
14419 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
14420 Recognize "command not found".
14421
bb391223
DJ
144222010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14423
14424 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
14425 single-stepping.
14426
70362913
DJ
144272010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14428
14429 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
14430 if arguments are not supported.
14431
493f3c00
DJ
144322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14433
14434 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
14435 be const or non-const.
14436
8034c749
DJ
144372010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14438
14439 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
14440 mi_send_resuming_command to send -exec-continue.
14441
791dfb64
DJ
144422010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14443
14444 * gdb.base/list.exp (test_list_filename_and_function): Add test
14445 with single quotes.
14446 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
14447 matching.
14448 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
14449 Add KFAIL'd tests for PR gdb/11289.
14450
7c5fe868
DJ
144512010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14452
14453 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
14454
fdc498b8
DJ
144552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14456
14457 * gdb.base/comp-dir/subdir/dummy.txt: New file.
14458 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
14459 a temporary directory.
14460
b519e2a6
DJ
144612010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14462
14463 * gdb.base/charset.exp: Use a single regular expression to match
14464 show host-charset and show target-charset output.
14465
74164c56
JK
144662010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14467
14468 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
14469 "Illegal process-id" expect string more exact.
14470 (attach to digits-starting nonsense is prohibited): New.
14471
701ed6dc
JK
144722010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14473
14474 * gdb.base/prelink.exp (set verbose on): New.
14475
889bf7c5 144762010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
14477
14478 * mi-reverse.exp: New file. Test for reverse option to the
14479 following MI commands: exec-continue, exec-finish, exec-next,
14480 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 14481
dadf0e9c
JB
144822010-02-09 Joel Brobecker <brobecker@adacore.com>
14483
14484 * gdb.ada/ptype_tagged_param: New testcase.
14485
714f19d5
TT
144862010-02-08 Tom Tromey <tromey@redhat.com>
14487
14488 PR c++/8017:
14489 * gdb.cp/overload.exp: Add tests.
14490 * gdb.cp/overload.cc (struct K): New.
14491 (namespace N): New.
14492 (main): Call new functions.
14493 (K::staticoverload): Define.
14494
889bf7c5 144952010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
14496
14497 PR gdb/10728
14498 * gdb.cp/pr10728-x.h: New file.
14499 * gdb.cp/pr10728-x.cc: New file.
14500 * gdb.cp/pr10728-y.cc: New file.
14501 * gdb.cp/pr10728.exp: New file.
14502 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
14503
889bf7c5 145042010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
14505
14506 PR gdb/9067
14507 * gdb.cp/pr9067.exp: New
14508 * gdb.cp/pr9067.cc: New
14509 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
14510
7b356089
JB
145112010-02-08 Joel Brobecker <brobecker@adacore.com>
14512
14513 * lib/gdb.exp (gdb_test_timeout): New global variable.
14514 Set it to timeout if not already set.
14515 (gdb_init): Reset the value of timeout to gdb_test_timeout.
14516
1be00882
DE
145172010-02-05 Doug Evans <dje@google.com>
14518
14519 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
14520 user.
14521
82856980
SW
145222010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
14523
14524 PR c++/7935:
14525 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
14526
1a334831
TT
145272010-02-04 Tom Tromey <tromey@redhat.com>
14528
14529 * gdb.cp/virtbase.exp: Make test case names unique.
14530
9c3c02fd
TT
145312010-02-02 Tom Tromey <tromey@redhat.com>
14532
14533 * gdb.cp/virtbase.exp: Add regression tests.
14534 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
14535 (main): Instantiate RHC.
14536
0cc2414c
TT
145372010-02-02 Tom Tromey <tromey@redhat.com>
14538
14539 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
14540 type-printing change.
14541
edf3d5f3
TT
145422010-02-02 Tom Tromey <tromey@redhat.com>
14543
14544 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
14545 * gdb.cp/virtbase.cc: New file.
14546 * gdb.cp/virtbase.exp: New file.
14547 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
14548
e4b7f41c
JK
145492010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14550
14551 PR libc/11214:
14552 * gdb.threads/current-lwp-dead.c: Include features.h.
14553 (HAS_NOMMU): New.
14554 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
14555
b381ea14
JK
145562010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14557
14558 * gdb.base/symbol-without-target_section.exp,
14559 gdb.base/symbol-without-target_section.c: New.
14560
c593ac0e
DJ
145612010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14562
14563 * gdb.base/bigcore.exp: Reset increased timeout.
14564 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
14565
db25f29d
DJ
145662010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14567
14568 * gdb.base/gcore.exp (capture_command_output): Use
14569 gdb_test_multiple.
14570
f9d67f43
DJ
145712010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14572
14573 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
14574 * gdb.arch/thumb2-it.exp (test_it_break): New function.
14575 (Top level): Call it.
14576
177321bd
DJ
145772010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14578
14579 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
14580
97f2ed50
DJ
145812010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14582
14583 * gdb.base/call-strs.exp, gdb.base/default.exp,
14584 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
14585 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
14586 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
14587 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
14588 gdb.base/watchpoint-solib.exp: Save and restore timeout.
14589 * gdb.base/ending-run.exp: Correct restore of timeout.
14590 * gdb.base/page.exp: Remove unnecessary timeout setting.
14591
e4e2711a
JB
145922010-01-29 Joel Brobecker <brobecker@adacore.com>
14593
14594 * gdb.ada/rec_return: New testcase.
14595
ba581dc1
JB
145962010-01-29 Joel Brobecker <brobecker@adacore.com>
14597
14598 * gdb.ada/call_pn: New testcase.
14599
4ea95be9
DJ
146002010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
14601
14602 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
14603 (Top level): Use it to resume.
14604 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
14605 the Thumb mode displaced stepping error as unsupported.
14606
df83a9bf
SW
146072010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
14608
889bf7c5
PA
14609 * gdb.cp/nsusing.exp: Added more tests.
14610 * gdb.cp/nsrecurs.exp: Ditto.
14611 * gdb.cp/nsusing.cc: Added test functions.
14612 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 14613
40b27cdc
JK
146142010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14615
14616 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
14617 absolute directory pathnames in gdb.sum file.
14618
de958931
SW
146192010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
14620
14621 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
14622 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
14623
708ead4e
TT
146242010-01-26 Tom Tromey <tromey@redhat.com>
14625
14626 PR exp/7643:
14627 * gdb.base/printcmds.exp (test_print_string_constants): Remove
14628 setup_kfail.
14629
b14e635e
SW
146302010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
14631
14632 * gdb.cp/nsrecurs.exp: New test.
14633 * gdb.cp/nsrecurs.cc: New test program.
14634 * gdb.cp/nsstress.exp: New test.
14635 * gdb.cp/nsstress.cc: New test program.
14636 * gdb.cp/nsdecl.exp: New test.
14637 * gdb.cp/nsdecl.cc: New test program.
14638
8540c487
SW
146392010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
14640
14641 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
14642 imported into file scope.
14643 Marked test as xfail.
14644 * gdb.cp/namespace-using.cc (marker5): New function.
14645 * gdb.cp/shadow.exp: New test.
14646 * gdb.cp/shadow.cc: New test program.
14647 * gdb.cp/nsimport.exp: New test.
14648 * gdb.cp/nsimport.cc: New test program.
14649
421d5d99
TT
146502010-01-25 Tom Tromey <tromey@redhat.com>
14651
14652 PR gdb/11049:
14653 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
14654 with "set print null-stop on".
14655
691f8dc1
JK
146562010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14657
14658 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
14659 Adjust it for DISASSEMBLY_OMIT_FNAME.
14660
0b92b5bb
TT
146612010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14662
14663 PR symtab/11199:
14664 * gdb.dwarf2/member-ptr-forwardref.exp,
14665 gdb.dwarf2/member-ptr-forwardref.S: New.
14666
23787403
JK
146672010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14668
14669 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
14670 (thread1_func): Protect thread1_tid with thread1_tid_cond by
14671 thread1_tid_mutex. Remove gdbstop_mutex handling.
14672 (thread2_func): Protect thread2_tid with thread2_tid_cond by
14673 thread2_tid_mutex. Remove gdbstop_mutex handling.
14674 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
14675 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
14676 pthread_cond_wait conditionalizations by while loops.
14677
b966cb8a
TT
146782010-01-20 Tom Tromey <tromey@redhat.com>
14679
14680 PR backtrace/10770:
14681 * gdb.dwarf2/pr10770.exp: New file.
14682 * gdb.dwarf2/pr10770.c: New file.
14683 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
14684
fcae584b
VP
146852010-01-20 Vladimir Prus <vladimir@codesourcery.com>
14686
14687 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
14688 that target was removed, and the test always runs native anyway.
14689
a0f49112
JK
146902010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14691
14692 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
14693 gdb.base/watchpoint-cond-gone-stripped.c: New.
14694
ceeb3d5a
TT
146952010-01-19 Tom Tromey <tromey@redhat.com>
14696
14697 PR c++/8000:
14698 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
14699 existing tests.
14700 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
14701 (main): Use AAA::SomeEnum.
14702
dd322c54
JK
147032010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14704
14705 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
14706 (test_ignore_count): Declare line_callme_body global.
14707 (run to breakpoint with ignore count): Use line_callme_body.
14708 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
14709 (set line_main_hello, set line_main_return): Reindent.
14710 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
14711 New.
14712 (continue to callee4): Use line_callee4_body.
14713 (check *stopped from CLI command): Use line_callee4_next.
14714 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
14715 (set line_main_hello, set line_main_return): Reindent.
14716 (set line_callee4_head, set line_callee4_body): New.
14717 (continue to callee4): Use line_callee4_body.
14718
4e8f195d
TT
147192010-01-18 Tom Tromey <tromey@redhat.com>
14720
14721 PR c++/9680:
14722 * gdb.cp/casts.cc: Add new classes and variables.
14723 * gdb.cp/casts.exp: Test new operators.
14724
9e14a9ba
JB
147252010-01-18 Tom Tromey <tromey@redhat.com>
14726 Thiago Jung Bauermann <bauerman@br.ibm.com>
14727
14728 * gdb.python/source2.py: New file.
14729 * gdb.python/source1: New file.
14730 * gdb.python/python.exp: Test "source" command.
14731
00bf0b85
SS
147322010-01-15 Stan Shebs <stan@codesourcery.com>
14733
14734 * gdb.trace/tfile.c: New file.
14735 * gdb.trace/tfile.exp: New file.
889bf7c5 14736
55235ad7
JK
147372010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14738
14739 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
14740
9f2982ff
JK
147412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14742
14743 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
14744
bbfba9ed
JK
147452010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14746
14747 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
14748 (libfunc): New parameter action. Implement also selectable "sleep".
14749 * gdb.base/break-interp-main.c: Include assert.h.
14750 (libfunc): New parameter action.
14751 (main): New parameters argc and argv. Assert argc. Pass argv.
14752 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
14753 (test_attach): New proc.
14754 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
14755 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
14756
61f0d762
JK
147572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14758
14759 * gdb.base/break-interp.exp (test_core): New proc.
14760 (test_ld): Call it.
14761
06a6f270
JK
147622010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14763
14764 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
14765 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
14766 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
14767 and gdb_compile_shlib. Use new -Wl compiler options.
14768 (dl bt, main bt): New tests.
14769
51bee8e9
JK
147702010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14771
14772 Support PIEs with no symfile_objfile.
14773 * gdb.base/break-interp.exp: New argument at the test_ld calls.
14774 (test_ld): New parameter trynosym.
14775 (test_ld <$trynosym>): New block.
14776
b8040f19
JK
147772010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14778
14779 * gdb.base/break-interp.exp: New file.
14780
be759fcf
PM
147812010-01-13 Phil Muldoon <pmuldoon@redhat.com>
14782
14783 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
14784 * gdb.python/py-prettyprint.py (pp_ls): New printer.
14785 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
14786 test.
14787 * gdb.python/py-prettyprint.c: Define lazystring test structure.
14788 * gdb.python/py-mi.exp: Add lazy string test.
14789
dc146f7c
VP
147902010-01-13 Vladimir Prus <vladimir@codesourcery.com>
14791
14792 * lib/mi-support.exp (mi_check_thread_states): Handle
14793 core number in thread listing.
14794
b4ba55a1
JB
147952010-01-12 Joel Brobecker <brobecker@adacore.com>
14796
14797 * gdb.base/maint.exp: Adjust the expected output for the
14798 "maint print type" test. Use gdb_test_multiple instead of
14799 gdb_sent/gdb_expect.
14800
08e24bd4
DE
148012010-01-11 Doug Evans <dje@google.com>
14802
6496a609
DE
14803 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
14804 from gdbserver_download. All callers updated.
14805
08e24bd4
DE
14806 * gdb.server/ext-run.exp: "info os processes" requires xml support.
14807
b5cfddf5
JK
148082010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14809
14810 Implement binary numbers parsing.
14811 * gdb.base/printcmds.exp (test_integer_literals_accepted)
14812 (test_integer_literals_rejected): New binary tests.
14813
3725885a
RW
148142010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14815
14816 * gdb.cell/configure: Regenerate.
14817
37aeb5df
JK
148182010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14819
14820 * gdb.base/corefile.exp: Move the core finding block out and call it as
14821 core_find, new variable $corefile, replace corefile by $corefile and
14822 [file tail $corefile] for usage vs. test names resp.
14823 * lib/gdb.exp (core_find): Move it as a new function here. New
14824 parameter binfile and deletefiles. New variable $destcore. Pre-delete
14825 $destcore. Return "" on error.
14826
d521f563
JK
148272010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14828
14829 Workaround PR binutils/10802.
14830 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
14831 (twice).
14832
28f24826
DJ
148332010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14834
14835 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
14836
2de75e71
JB
148372010-01-08 Joel Brobecker <brobecker@adacore.com>
14838
14839 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
14840 call, to avoid interruption.
14841
fe00719b 148422010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
14843
14844 * gdb.stabs/weird.def (args93): New.
14845
d0ef5df8
DE
148462010-01-07 Doug Evans <dje@google.com>
14847
14848 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
14849
3a08d52f
TT
148502010-01-07 Tom Tromey <tromey@redhat.com>
14851
14852 * gdb.base/source.exp: Use correct line number.
14853
7a697b8d
SS
148542010-01-05 Stan Shebs <stan@codesourcery.com>
14855
14856 * gdb.trace/tracecmd.exp: Test ftrace.
14857
7803799a
UW
148582010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14859
14860 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
14861
c54eabfa
JK
148622010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14863
14864 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
14865 "uint_for_mi_testing".
14866
02e7ef19
JB
148672010-01-01 Joel Brobecker <brobecker@adacore.com>
14868
14869 Test indented comment in file being sourced.
14870 * gdb.base/commands.exp: Test indented comment in file being sourced.
14871
abd775ce
JB
148722010-01-01 Joel Brobecker <brobecker@adacore.com>
14873
14874 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
14875 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
14876 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
14877 notice.
14878
79b55b82
JB
148792010-01-01 Joel Brobecker <brobecker@adacore.com>
14880
14881 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
14882 notice.
14883
8997583e
JK
148842010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14885
14886 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
14887 missing $after_stopped and comma (,) expectation.
14888
6da95a67
SS
148892009-12-31 Stan Shebs <stan@codesourcery.com>
14890
14891 * gdb.trace/actions.exp: Test teval action.
889bf7c5 14892
218d2fc6
TJB
148932009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14894
14895 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
14896 (top level): Call test_watchpoint_in_big_blob.
14897 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
14898 watchpoints.
14899 (func3): Write to buf.
14900
236f1d4d
SS
149012009-12-29 Stan Shebs <stan@codesourcery.com>
14902
14903 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 14904
f61e138d
SS
149052009-12-28 Stan Shebs <stan@codesourcery.com>
14906
14907 * gdb.trace/tsv.exp: New file.
14908 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 14909
0219b378
DJ
149102009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
14911
14912 * gdb.base/find.c (main): Reference search buffers.
14913 * gdb.base/included.c (main): Reference integer.
14914 * gdb.base/ptype.c (charfoo): Declare.
14915 (intfoo): Call charfoo.
14916 * gdb.base/scope0.c (useitp): New function.
14917 (usestatics): Use useitp.
14918 (useit): Add a type for val.
14919 * gdb.base/scope1.c (useit1): Take a pointer argument.
14920 (usestatics1): Update calls to useit1.
14921 * gdb.cp/call-c.cc: Declare foo.
14922 (main): Call foo.
14923 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
14924 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
14925 (main): Call C::ensureRefs and ensureOtherRefs.
14926 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
14927 variables.
14928 (ensureOtherRefs): New function.
14929 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
14930 * gdb.cp/templates.cc (main): Call t5i.value.
14931
3f78692f
JK
149322009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14933
14934 Fix compatibility with G++-4.5.
14935 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
14936 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
14937 (uncaught return): Remove.
14938
429374b8
JK
149392009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14940 Phil Muldoon <pmuldoon@redhat.com>
14941
14942 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
14943 (bp_location13, bp_location14, bp_location17, bp_location18)
14944 (marker3_proto, marker4_proto): New variables.
14945 (breakpoint info): Update output.
14946 (run until breakpoint at marker3, run until breakpoint at marker4): New
14947 tests.
14948
859825b8
JK
149492009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14950
14951 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
14952 Replace the printf call of Y by provided "y-set-1" label. New block
14953 for the second shared library.
14954 * gdb.base/unload.exp: Compile also the second library, call
14955 gdb_load_shlibs also for it. Use now gdb_breakpoint.
14956 (single pending breakpoint info): Rename to ...
14957 (pending breakpoint info before run): ... this extended test.
14958 (libfile2, libname2, libsrcfile2, libsrc2)
14959 (lib_sl2): New variables.
14960 (exec_opts): Set also SHLIB_NAME2.
14961 (pending breakpoint info on first run at shrfunc1)
14962 (pending breakpoint info on second run at shrfunc1)
14963 (pending breakpoint info on second run at shrfunc2)
14964 (print y from libfile, print y from libfile2): New tests.
14965 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
14966 * gdb.base/unloadshr2.c: New.
14967
e6a386cd
HZ
149682009-12-22 Hui Zhu <teawater@gmail.com>
14969
14970 * gdb.reverse/sigall-reverse.exp: Adjust.
14971
9e19b45e
VP
149722009-12-21 Vladimir Prus <vladimir@codesourcery.com>
14973
14974 PR gdb/10884
14975
14976 * gdb.mi/var-cmd.c (do_bitfield_tests): New
14977 (main): Call do_bitfield_tests.
aacf5b1e 14978 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 14979
d53a7b30
JB
149802009-12-20 Joel Brobecker <brobecker@adacore.com>
14981
14982 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
14983 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
14984 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
14985 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
14986 gdb.modula2/unbounded1.c: Update copyright header.
14987
191ca0a1
CM
149882009-12-10 Chris Moller <moller@mollerware.com>
14989
14990 PR gdb/9399
14991 * gdb.cp/virtfunc2.exp: New tests
14992 * gdb.cp/virtfunc2.cc: New tests
14993 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
14994
0fa6cf1b
MS
149952009-12-10 Oza Pawandeep (paawan1982@yahoo.com
14996
14997 * gdb.reverse/i387-env-reverse.c: New file.
14998 * gdb.reverse/i387-env-reverse.exp: New file.
14999 * gdb.reverse/i387-stack-reverse.c: New file.
15000 * gdb.reverse/i387-stack-reverse.exp: New file.
15001
361ae042
PM
150022009-12-08 Phil Muldoon <pmuldoon@redhat.com>
15003
15004 * gdb.python/py-type.exp (test_range): New test.
15005
bfd31e71
PM
150062009-12-03 Phil Muldoon <pmuldoon@redhat.com>
15007
15008 PR python/10805
15009
15010 * gdb.python/py-type.exp: New file.
15011 * gdb.python/py-type.c: New file.
15012 * Makefile.in: Add py-type.
15013
57a1d736
TT
150142009-12-03 Tom Tromey <tromey@redhat.com>
15015
15016 * gdb.python/py-value.exp (test_parse_and_eval): New
15017 function.
15018
1f3b5d1b
PP
150192009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15020
15021 PR gdb/11022
15022
15023 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
15024 * gdb.base/pr11022.c: New test.
15025
8b7dbdc9
JK
150262009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15027
15028 Fix spurious false FAILs.
15029 * gdb.base/structs.c (chartest): New.
15030 (main): Fill-in chartest.
15031 * gdb.base/structs.exp (anychar_re, first): New.
15032 (start_structs_test): Import global anychar_re and first.
15033 New gdb_test call "set print elements 300; ${testfile}"
15034 (start_structs_test <$first>): New block.
15035 (any): Import global anychar_re. New variable ac. Use ${ac}.
15036
6a53b2ec
JK
150372009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15038
15039 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
15040
d7167b4c
JK
150412009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15042
15043 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
15044 Force $srcfile file.
15045 * gdb.base/foll-fork.c (callee): Comment out the printf call.
15046
b1798462
UW
150472009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15048
15049 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
15050 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
15051 * gdb.threads/watchthreads-reorder.exp: Likewise.
15052
b6199126
DJ
150532009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
15054
15055 PR gdb/8704
15056
15057 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
15058 "if", and "thread". Correct matching in the previous test.
15059
b22a0510
DJ
150602009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
15061
15062 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
15063
930636d2
MS
150642009-11-23 Michael Snyder <msnyder@vmware.com>
15065
15066 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
15067 * gdb.reverse-watch-precsave.exp: Ditto.
15068
21a0512e
PP
150692009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
15070
15071 * gdb.asm/asm-source.exp: Adjust.
15072 * gdb.base/help.exp: Adjust.
889bf7c5 15073
fc30d5e0
PA
150742009-11-22 Pedro Alves <pedro@codesourcery.com>
15075
15076 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
15077 (do_syscall_tests_without_xml): Set data-directory to
15078 /the/path/to/nowhere.
15079
f6bc2008
PA
150802009-11-21 Pedro Alves <pedro@codesourcery.com>
15081
15082 * gdb.threads/local-watch-wrong-thread.c,
15083 gdb.threads/local-watch-wrong-thread.exp: New files.
15084
8c2fb5de
PA
150852009-11-21 Pedro Alves <pedro@codesourcery.com>
15086
15087 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
15088 assume new `regsub' syntax available.
15089
ebec9a0f
PA
150902009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15091
a79d3c27
JK
15092 * gdb.base/watchpoint-hw-hit-once.exp,
15093 gdb.base/watchpoint-hw-hit-once.c: New.
15094
150952009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15096
15097 * gdb.threads/watchthreads-reorder.exp,
15098 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 15099
276a961b
MK
151002009-11-17 Nathan Sidwell <nathan@codesourcery.com>
15101
15102 * gdb.xml/tdesc-regs.exp: Use for m68k.
15103
4867c1fb
PA
151042009-11-15 Pedro Alves <pedro@codesourcery.com>
15105
15106 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
15107
f6838f81
DJ
151082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15109
15110 * lib/gdb.exp (current_target_name): New procedure.
15111 (gdb_wrapper_target): New variable.
15112 (gdb_wrapper_init): Set gdb_wrapper_target.
15113 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
15114 wrapper.
15115
4ac4dd3f
DJ
151162009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15117
15118 * gdb.base/remote.exp: Delete the slowest load test.
15119 Do not load with fixed packet sizes.
15120
a7881759
DJ
151212009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15122
15123 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
15124
97a5b505
DJ
151252009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15126
15127 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
15128 srcfile when setting a breakpoint.
15129
d3e1fc54
DJ
151302009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
15131
15132 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
15133 macros.
15134
7cbcbded
DJ
151352009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15136
15137 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
15138 to be in memory.
15139 * gdb.base/display.c (force_mem): New.
15140 (do_loops): Use it. Add breakpoint comments.
15141 (do_vars): Add a breakpoint comment.
15142 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
15143 line numbers.
15144
bdea3a92
NF
151452009-11-13 Nathan Froyd <froydnj@codesourcery.com>
15146
15147 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
15148 instead of a bare "run".
15149
269f82e5
PP
151502009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15151
15152 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 15153
a69b7d9d
DJ
151542009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15155
15156 * lib/cell.exp (skip_cell_tests): Clean up test files before
15157 returning.
15158
b598bfda
DJ
151592009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15160
15161 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
15162 and the breakpoint menu. Do not call perror if a prompt is seen.
15163 Consume the following GDB prompt.
15164 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
15165 * gdb.cp/namespace.exp: Use gdb_test.
15166 * gdb.cp/templates.exp: Use gdb_test.
15167 (test_template_breakpoints): Use gdb_test_multiple.
15168
87728fa0
DJ
151692009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15170
15171 * gdb.base/break1.c (struct some_struct, values): Move earlier.
15172 (marker4): Reference values.
15173
b67c692f
DJ
151742009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15175
15176 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
15177 is missing.
15178
f0df251a
DJ
151792009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15180
15181 * gdb.base/break.c (need_malloc): New.
15182 * gdb.base/constvars.c (main): Reference crass and crisp.
15183 * gdb.base/gdb1821.c (main): Reference bar.
15184 * gdb.cp/gdb1355.cc (main): Reference s1.
15185 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
15186 (main): Call them.
15187 * gdb.cp/hang2.cc (dummy2): Define.
15188 * gdb.cp/hang3.cc (dummy3): Define.
15189 * gdb.cp/m-data.cc (main): Reference shadow.
15190
bdf7534a
NF
151912009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15192 Nathan Froyd <froydnj@codesourcery.com>
15193
15194 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
15195 remote host.
15196
f24fce77
NF
151972009-11-12 Nathan Froyd <froydnj@codesourcery.com>
15198
15199 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
15200 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
15201 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15202 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15203 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15204 * gdb.dwarf2/dw2-producer.exp: Likewise.
15205 * gdb.dwarf2/mac-fileno.exp: Likewise.
15206 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
15207 py-prettyprint.py to the remote host.
15208 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
15209
40f0318e
KS
152102009-11-11 Keith Seitz <keiths@redhat.com>
15211
15212 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
15213 use it instead of "Foo".
15214 * gdb.cp/classes.exp (do_tests): Add a test to access
15215 a method through a typedef'd class name.
15216
f3d9f7fb
NF
152172009-11-11 Nathan Froyd <froydnj@codesourcery.com>
15218
15219 * gdb.base/long_long.exp: Permit leading zeros on floating-point
15220 exponents.
15221 * gdb.base/pointers.exp: Likewise.
15222 * gdb.cp/ref-types.exp: Likewise.
15223
a4216f37
KS
152242009-11-11 Keith Seitz <keiths@redhat.com>
15225
15226 * gdb.cp/cplusfuncs.cc (class foo): Add operators
15227 new[] and delete[].
15228 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
15229 "void".
15230 (probe_demangler): Remove all single-quoting of
15231 method and variable names.
15232 (info_func_regexp): Remove the word "void" from any
15233 occurrence of "(void)".
15234 (print_addr_2): Remove all single-quoting of
15235 method names.
15236 (print_addr_2_kfail): Likewise.
15237 (print_addr): Single-quote C function names before
15238 passing to print_addr_2.
15239 (test_paddr_operator_functions): Remove single-quoting
15240 for method names.
15241 Add tests for operator new[] and operator delete[].
15242
9b14d7aa
JK
152432009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15244
15245 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
15246
85feb311
KS
152472009-11-09 Keith Seitz <keiths@redhat.com>
15248
15249 * gdb.cp/overload.exp: Add tests for resolving overloaded
15250 methods in expression parsing/evaluation.
15251
fa335448
DJ
152522009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
15253
15254 * lib/gdb.exp (default_gdb_version): Use --version instead of
15255 --command.
15256
ec3c07fc
NS
152572009-11-10 Nathan Sidwell <nathan@codesourcery.com>
15258
15259 * lib/gdb.exp (gdb_compile_test): New.
15260 (skip_ada_tests, skip_java_tests): New.
15261 (gdb_compile): Use gdb_compile_test for f77.
15262 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
15263 * lib/java.exp (compile_java_from_source): Remove runtests check,
15264 use gdb_compile_test to record result.
15265 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
15266 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
15267 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
15268 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
15269 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
15270 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
15271 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
15272 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
15273 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
15274 adjust gdb_compile invocations.
15275
b8b4e42b
JK
152762009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15277
15278 * Makefile.in (abs_builddir): New.
15279 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
15280 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
15281 `$(abs_builddir)/site.exp'.
15282
f8b7eaf3
DJ
152832009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
15284
15285 * config/m68k-emc.exp, lib/emc-support.exp,
15286 gdb.trace/gdb_c_test.c: Delete.
15287 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
15288 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15289 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15290 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15291 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15292 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
15293 casing for m68k-*-elf.
15294
c4187697
NS
152952009-11-03 Pedro Alves <pedro@codesourcery.com>
15296
15297 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
15298 * gdb.arch/i386-prologue.exp: Likewise.
15299 * gdb.arch/i386-unwind.exp: Likewise.
15300
db16b772
DJ
153012009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
15302
15303 * lib/gdb.exp (gdb_expect): Fix timeout typo.
15304
bcf71277
DJ
153052009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
15306
15307 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
15308
0105cee2
DJ
153092009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
15310
15311 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
15312
24ddea62
JK
153132009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15314
15315 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
15316
287ccc17
JK
153172009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15318
15319 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
15320 * gdb.base/sepdebug2.c: New file.
15321
08bca259 153222009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
15323
15324 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
15325 the modified warnings for catch syscall. Verify if GDB was compiled
15326 with support for lib expat, and choose which tests to run depending
15327 on this.
15328
5d4e2b76
VP
153292009-10-30 Vladimir Prus <vladimir@codesourcery.com>
15330
15331 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
15332 that composite commands are parsed OK. And also test
15333 that breakpoint commands do work.
15334
240e538a
MS
153352009-10-23 Michael Snyder <msnyder@vmware.com>
15336
15337 gdb.reverse/consecutive-precsave.exp: Change expect pattern
15338 to allow for new disassembly style.
15339
9c419145
PP
153402009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15341
15342 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 15343
02506ff1
MS
153442009-10-22 Michael Snyder <msnyder@vmware.com>
15345
15346 * gdb.reverse/break-precsave.exp: New test.
15347 * gdb.reverse/consecutive-precsave.exp: Ditto.
15348 * gdb.reverse/finish-precsave.exp: Ditto.
15349 * gdb.reverse/i386-precsave.exp: Ditto.
15350 * gdb.reverse/machinestate-precsave.exp: Ditto.
15351 * gdb.reverse/sigall-precsave.exp: Ditto.
15352 * gdb.reverse/solilb-precsave.exp: Ditto.
15353 * gdb.reverse/step-precsave.exp: Ditto.
15354 * gdb.reverse/until-precsave.exp: Ditto.
15355 * gdb.reverse/watch-precsave.exp: Ditto.
15356
4cf866a3
MS
153572009-10-22 Michael Snyder <msnyder@vmware.com>
15358
15359 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
15360 for gdb_expect. Adjust one test's expect strings for the new
15361 format of disassemble.
15362 * gdb.reverse/finish-reverse.exp: Delete 'return'.
15363 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
15364 gdb_test_multiple.
15365 * gdb.reverse/step-reverse.exp: Delete 'return'.
15366 * gdb.reverse/until-reverse.exp: Delete blank lines.
15367 * gdb.reverse/watch-reverse.exp: Delete blank lines.
15368
2b28d209
PP
153692009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
15370
15371 * gdb.base/consecutive.exp: Adjust.
15372 * gdb.base/display.exp: Likewise.
15373 * gdb.base/pc-fp.exp: Likewise.
15374 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 15375
33b9c32b
MS
153762009-10-19 Michael Snyder <msnyder@vmware.com>
15377
15378 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
15379 * gdb.reverse/finish-reverse.c: Ditto.
15380 * gdb.reverse/sigall-reverse.c: Ditto.
15381 * gdb.reverse/solib-reverse.c: Ditto.
15382 * gdb.reverse/step-reverse.c: Ditto.
15383 * gdb.reverse/watch-reverse.c: Ditto.
15384
6c95b8df
PA
153852009-10-19 Pedro Alves <pedro@codesourcery.com>
15386 Stan Shebs <stan@codesourcery.com>
15387
15388 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
15389 * gdb.base/foll-exec.exp: Adjust to expect a process id before
15390 "Executing new program".
15391 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
15392 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
15393 left listed after having been killed.
15394 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
15395 * gdb.base/maint.exp: Adjust test.
15396
15397 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
15398 * gdb.multi/Makefile.in: New.
15399 * gdb.multi/base.exp: New.
15400 * gdb.multi/goodbye.c: New.
15401 * gdb.multi/hangout.c: New.
15402 * gdb.multi/hello.c: New.
15403 * gdb.multi/bkpt-multi-exec.c: New.
15404 * gdb.multi/bkpt-multi-exec.exp: New.
15405 * gdb.multi/crashme.c: New.
15406
279017b7
TG
154072009-10-13 Tristan Gingold <gingold@adacore.com>
15408
15409 * gdb.base/sepdebug.exp: Check debug info are found.
15410
0413d738
PA
154112009-10-08 Pedro Alves <pedro@codesourcery.com>
15412
15413 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
15414 bits.
15415
c628eecc
JK
154162009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15417
15418 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
15419
38af1bfe
JB
154202009-10-07 Joel Brobecker <brobecker@adacore.com>
15421
15422 * gdb.base/watchpoints.c: Add copyright header. Reformat one
15423 of the comments.
15424
2b0adecd
PM
154252009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
15426
15427 * gdb.base/annota1.exp: Remove obsolete match_max increase.
15428 * gdb.base/annota3.exp: Idem.
15429 * gdb.base/maint.exp: Idem.
15430
8d417781
PM
154312009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
15432
889bf7c5 15433 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
15434 to default.
15435
bb61102d
PM
154362009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
15437
889bf7c5 15438 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
15439 mingw and cygwin targets.
15440
ace5c364
PM
154412009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
15442 Pedro Alves <pedro@codesourcery.com>
15443
889bf7c5 15444 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
15445 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
15446
c2d494a0
PM
154472009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
15448
e1b52ce2
PM
15449 * gdb.base/shr1.c: Use %p in format string.
15450 * gdb.base/unload.c: Avoid warning in fprintf.
15451 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 15452
209f53f5
PM
154532009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
15454
15455 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
15456 long type.
15457 (test_unlink): Correct printf string.
15458 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
15459 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
15460
8172766a
JK
154612009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15462
15463 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
15464 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
15465 * gdb.arch/ia64-breakpoint-shadow.S: New file.
15466
0f73703c
UW
154672009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15468
15469 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
15470 * gdb.objc/nondebug.exp: Likewise.
15471
b32306ca
UW
154722009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15473
15474 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
15475 target_info setting.
15476
15477 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
15478 that detect new threads during "info threads".
15479
0057022f
UW
154802009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15481
15482 * gdb.threads/manythreads.c (main): Increase thread stack size
15483 to 2*PTHREAD_STACK_MIN.
15484 * gdb.threads/multi-create.c (main): Likewise.
15485 (create_function): Likewise.
15486
f29c0325
UW
154872009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15488
15489 * gdb.base/dump.exp: Pass difference of pointer types instead
15490 of integer types as offset to restore in intarr3.srec case.
15491
fcb34849
UW
154922009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15493
15494 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
15495
d5142e3b
UW
154962009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15497
15498 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
15499
087b74b2 155002009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 15501
087b74b2
PM
15502 New test for two watchpoints, with disabling of
15503 the first inserted.
15504 * testsuite/gdb.base/watchpoints.c: New file.
15505 * testsuite/gdb.base/watchpoints.exp: New file.
15506
96c07c5b
TT
155072009-09-25 Tom Tromey <tromey@redhat.com>
15508
15509 * gdb.base/charset.exp: Test utf-16 strings with Python.
15510
b8899f2b
TT
155112009-09-25 Tom Tromey <tromey@redhat.com>
15512
15513 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
15514 UCS-4.
15515 * gdb.base/charset.c (utf_32_string): Rename.
15516 (init_utf32): Rename.
15517 (main): Update.
15518
329719ec
TT
155192009-09-22 Tom Tromey <tromey@redhat.com>
15520
15521 * gdb.python/py-function.exp: Add regression tests.
15522
11ef0d76
KS
155232009-09-21 Keith Seitz <keiths@redhat.com>
15524
15525 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
15526 with invalid operator.
15527
3fe8f3b3
KS
155282009-09-21 Keith Seitz <keiths@redhat.com>
15529
15530 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
15531 and destructor using typedef name of class.
15532 * gdb.cp/classes.cc (class Base1): Add a destructor.
15533 (base1): New typedef.
15534 (use_methods): Instanitate an object of type base1.
15535 * gdb.cp/templates.exp (test_template_typedef): New procedure.
15536 (do_tests): Call test_template_typedef.
15537 * gdb.cp/templates.cc (Baz::~Baz): New method.
15538 (intBazOne): New typedef.
15539 (main): Instantiate intBazOne.
15540
7a9fe101
PM
155412009-09-21 Phil Muldoon <pmuldoon@redhat.com>
15542
15543 PR python/10633
15544
15545 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
15546 Function.
15547 (run_lang_tests): Add print elements test.
15548
2e4d963f
PM
155492009-09-21 Phil Muldoon <pmuldoon@redhat.com>
15550
15551 * gdb.python/py-value.exp (test_subscript_regression): New
15552 function. Test for invalid subscripts.
15553 * gdb.python/py-value.c (main): Add test array, and pointer to it.
15554 (ptr_ref): New function.
15555
ec7e75e7
PP
155562009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15557
15558 * gdb.base/default.exp: Fix "show convenience".
15559
0cc7d26f
TT
155602009-09-15 Tom Tromey <tromey@redhat.com>
15561
15562 * lib/mi-support.exp (mi_create_varobj): Update.
15563 (mi_create_floating_varobj): Likewise.
15564 (mi_create_dynamic_varobj): New proc.
15565 (mi_varobj_update): Update.
15566 (mi_varobj_update_with_type_change): Likewise.
15567 (mi_varobj_update_kv_helper): New proc.
15568 (mi_varobj_update_dynamic_helper): Rewrite.
15569 (mi_varobj_update_dynamic): New proc.
15570 (mi_list_varobj_children): Update.
15571 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
15572 * gdb.python/python-prettyprint.py (pp_outer): New class.
15573 (pp_nullstr): Likewise.
15574 (lookup_function): Register new printers.
15575 * gdb.python/python-prettyprint.c (struct substruct): New type.
15576 (struct outerstruct): Likewise.
15577 (substruct_test): New function.
15578 (struct nullstr): New type.
15579 (string_1, string_2): New globals.
15580 (main): Add new tests.
15581 * gdb.python/python-mi.exp: Added regression tests.
15582 * gdb.mi/mi2-var-display.exp: Update.
15583 * gdb.mi/mi2-var-cmd.exp: Update.
15584 * gdb.mi/mi2-var-child.exp: Update.
15585 * gdb.mi/mi2-var-block.exp: Update.
15586 * gdb.mi/mi-var-invalidate.exp: Update.
15587 * gdb.mi/mi-var-display.exp: Update.
15588 * gdb.mi/mi-var-cmd.exp: Update.
15589 * gdb.mi/mi-var-child.exp: Update.
15590 * gdb.mi/mi-var-block.exp: Update.
15591 * gdb.mi/mi-break.exp: Update.
15592 * gdb.mi/gdb701.exp: Update.
15593
a96d9b2e
SDJ
155942009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
15595
15596 * Makefile.in: Inclusion of catch-syscall object.
15597 * gdb.base/catch-syscall.c: New file.
15598 * gdb.base/catch-syscall.exp: New file.
15599
b43b923a
MS
156002009-09-12 Michael Snyder <msnyder@vmware.com>
15601
15602 * gdb.reverse/step-reverse.exp: Explicitly check for targets
15603 that can support reverse debuggnig.
15604
cec03d70
TT
156052009-09-11 Tom Tromey <tromey@redhat.com>
15606
15607 * gdb.dwarf2/valop.S: New file.
15608 * gdb.dwarf2/valop.exp: New file.
15609
e23bb3fc
MK
156102009-09-11 Mark Kettenis <kettenis@gnu.org>
15611
15612 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
15613
37c3696d
DE
156142009-09-10 Doug Evans <dje@google.com>
15615
15616 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
15617 Add $gdb_prompt to second breakpoint regexp.
15618
5172aecb
JB
156192009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
15620
15621 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
15622 names, add missing ones.
15623 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
15624 * gdb.python/py-frame.c: Rename from python-frame.c.
15625 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
15626 testfile name.
15627 * gdb.python/py-function.exp: Rename from python-function.exp.
15628 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
15629 testfile name.
15630 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
15631 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
15632 Adjust testfile name.
15633 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
15634 * gdb.python/py-template.cc: Rename from python-template.cc.
15635 * gdb.python/py-template.exp: Rename from python-template.exp.
15636 Adjust testfile name.
15637 * gdb.python/py-value.c: Rename from python-value.c.
15638 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
15639 testfile name.
15640
b554e4bd
JK
156412009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15642
15643 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
15644 $bpt2address.
15645 (Second breakpoint address is valid on ia64)
15646 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
15647
9a68ae16
JM
156482009-09-03 Joseph Myers <joseph@codesourcery.com>
15649
15650 * gdb.base/ending-run.exp: Restrict regular expression matching
15651 line number to require closing brace following.
15652
146b9145
DE
156532009-09-03 Doug Evans <dje@google.com>
15654
15655 * gdb.base/store.exp (check_set): Fix typo in expected value message.
15656
787d21e1
TT
156572009-09-02 Tom Tromey <tromey@redhat.com>
15658
15659 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
15660
e7802207
TT
156612009-09-02 Tom Tromey <tromey@redhat.com>
15662
15663 * gdb.dwarf2/callframecfa.exp: New file.
15664 * gdb.dwarf2/callframecfa.S: New file.
15665
817aadd2
JK
156662009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15667
15668 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
15669 gdb.base/solib-overlap-main.c: New.
15670
4a76eae5
DJ
156712009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
15672
15673 PR gdb/10565
15674
15675 * gdb.base/bitfields.c (struct container, container): New.
15676 (main): Initialize it and call break5.
15677 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
15678
d4b96c9a
JK
156792009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15680
15681 Support constant DW_AT_data_member_location by GCC PR debug/40659.
15682 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
15683
4e22772d
JK
156842009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15685
15686 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
15687
2efab443
MS
156882009-08-26 Michael Snyder <msnyder@vmware.com>
15689
15690 * gdb.base/i386-reverse.c: New file.
15691 * gdb.base/i386-reverse.exp: New file.
15692 * gdb.base/Makefile.in: Add new files to be removed.
15693
07ab73a0
JM
156942009-08-26 Joseph Myers <joseph@codesourcery.com>
15695
15696 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
15697 environment-pwd for remote host.
15698 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
15699
676accff
KS
157002009-08-24 Keith Seitz <keiths@redhat.com>
15701
15702 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
15703 Add two new C++ completer tests which limit the output to a
889bf7c5 15704 given class.
676accff 15705
f9f7ad22
MS
157062009-08-24 Michael Snyder <msnyder@vmware.com>
15707
15708 * gdb.base/del.exp: Fix typo in comment.
15709 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
15710
81ecdfbb
RW
157112009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15712
15713 * configure: Regenerate.
15714 * gdb.hp/configure: Likewise.
15715 * gdb.hp/gdb.aCC/configure: Likewise.
15716 * gdb.hp/gdb.base-hp/configure: Likewise.
15717 * gdb.hp/gdb.compat/configure: Likewise.
15718 * gdb.hp/gdb.defects/configure: Likewise.
15719 * gdb.hp/gdb.objdbg/configure: Likewise.
15720 * gdb.stabs/configure: Likewise.
15721
cab0c772
UW
157222009-08-19 Doug Evans <dje@google.com>
15723
15724 * gdb.base/gdbvars.c: New file.
15725 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
15726
b8fa0bfa
PA
157272009-08-14 Pedro Alves <pedro@codesourcery.com>
15728
15729 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15730 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
15731
b84aa90a
PA
157322009-08-13 Pedro Alves <pedro@codesourcery.com>
15733
15734 * gdb.base/default.exp: Adjust "set language test": it's now an
15735 enum command. Larger help string moved to "help set language".
15736 * gdb.base/help.exp: Adjust "help set language" expected output,
15737 now lists all known languages.
15738
0d8f9b2c
NF
157392009-08-11 Nathan Froyd <froydnj@codesourcery.com>
15740
15741 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
15742 all frame arguments.
15743 * gdb.arch/altivec-regs.exp: Likewise.
15744
bda180e0
TT
157452009-08-07 Tom Tromey <tromey@redhat.com>
15746
15747 * gdb.base/setshow.exp: Add tests for changes to set language, set
15748 check range, and set check type.
15749
48cb2d85
VP
157502009-08-03 Vladimir Prus <vladimir@codesourcery.com>
15751
15752 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
15753 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 15754 Call it.
48cb2d85 15755
1ea34204
UW
157562009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15757
15758 * configure.ac: Run gdb.cell tests when appropriate.
15759 * configure: Regenerate.
15760 * lib/cell.exp: New file.
15761 * gdb.cell: New directory.
15762 * gdb.cell/configure.ac: New file.
15763 * gdb.cell/configure: New file.
15764 * gdb.cell/Makefile.in: New file.
15765 * gdb.cell/arch.exp: New file.
15766 * gdb.cell/break.c: New file.
15767 * gdb.cell/break.exp: New file.
15768 * gdb.cell/break-spu.c: New file.
15769 * gdb.cell/bt.c: New file.
15770 * gdb.cell/bt2-spu.c: New file.
15771 * gdb.cell/bt-spu.c: New file.
15772 * gdb.cell/bt.exp: New file.
15773 * gdb.cell/coremaker.c: New file.
15774 * gdb.cell/coremaker-spu.c: New file.
15775 * gdb.cell/core.exp: New file.
15776 * gdb.cell/gcore.exp: New file.
15777 * gdb.cell/data.c: New file.
15778 * gdb.cell/data.exp: New file.
15779 * gdb.cell/data-spu.c: New file.
15780 * gdb.cell/ea-cache.exp: New file.
15781 * gdb.cell/ea-cache.c: New file.
15782 * gdb.cell/ea-cache-spu.c: New file.
15783 * gdb.cell/ea-standalone.c: New file.
15784 * gdb.cell/ea-standalone.exp: New file.
15785 * gdb.cell/ea-test.c: New file.
15786 * gdb.cell/ea-test.exp: New file.
15787 * gdb.cell/f-regs.exp: New file.
15788 * gdb.cell/mem-access.c: New file.
15789 * gdb.cell/mem-access.exp: New file.
15790 * gdb.cell/mem-access-spu.c: New file.
15791 * gdb.cell/ptype.exp: New file.
15792 * gdb.cell/registers.exp: New file.
15793 * gdb.cell/size.c: New file.
15794 * gdb.cell/sizeof.exp: New file.
15795 * gdb.cell/size-spu.c: New file.
15796 * gdb.cell/solib.exp: New file.
15797 * gdb.cell/solib-symbol.exp: New file.
15798
85e747d2
UW
157992009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15800
15801 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
15802
58d6951d
DJ
158032009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
15804
15805 * gdb.base/float.exp: Handle VFP registers.
15806
6e0a4f15
MS
158072009-07-14 Michael Snyder <msnyder@vmware.com>
15808
dcd5da87
MS
15809 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
15810 to bring gdb to the beginning of the calling line.
15811
6e0a4f15
MS
15812 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
15813 confusing the i386 epilogue unwinder.
15814
782b2b07
SS
158152009-07-14 Stan Shebs <stan@codesourcery.com>
15816
15817 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
15818
f662c3bc
MS
158192009-07-14 Michael Snyder <msnyder@vmware.com>
15820
15821 * gdb.reverse/step-reverse.exp (stepi into function call):
15822 Call instruction may not be first instruction in the line.
15823 (reverse stepi from a function call): Used wrong line number.
15824
8f313923
JK
158252009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15826
15827 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
15828
4662c76e
JK
158292009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15830
15831 Fix gdb.base/macscp.exp when using custom inputrc.
15832 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
15833 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
15834 env(TERM) set.
15835 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
15836 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
15837
aa81e255
JK
158382009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15839
15840 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
15841 * gdb.base/annota1.exp (thread_test): Import global $testfile.
15842 Change the compilation target to match the testcase name.
15843 * gdb.base/sect-cmd.exp: Change the compilation target to match the
15844 testcase name.
15845 * a2-run.exp: Use for setup prepare_for_testing. Change the
15846 compilation target to match the testcase name.
15847 * gdb.base/commands.exp: Likewise.
15848 * gdb.base/finish.exp: Likewise.
15849 * gdb.base/float.exp: Likewise.
15850 * gdb.base/info-target.exp: Likewise.
15851 * gdb.base/relational.exp: Likewise.
15852 * gdb.base/term.exp: Likewise.
15853 * gdb.base/until.exp: Likewise.
15854 * gdb.base/volatile.exp: Likewise.
15855 * gdb.base/whatis-exp.exp: Likewise.
15856
4c93b1d7
HZ
158572009-07-11 Hui Zhu <teawater@gmail.com>
15858
15859 * gdb.base/help.exp (disassemble): Update expected help text.
15860
812f7342
TT
158612009-07-09 Tom Tromey <tromey@redhat.com>
15862
15863 * lib/gdb.exp: Handle TRANSCRIPT.
15864 (remote_spawn, remote_close, send_gdb): New procs.
15865
fbb8f299
PM
158662009-07-10 Phil Muldoon <pmuldoon@redhat.com>
15867
15868 * gdb.python/python-prettyprint.c: Add counted null string
15869 structure.
15870 * gdb.python/python-prettyprint.exp: Print null string. Test for
15871 embedded nulls.
15872 * gdb.python/python-prettyprint.py (pp_ns): New Function.
15873 * gdb.python/python-value.exp (test_value_in_inferior): Add
15874 variable length string fetch tests.
15875 * gdb.python/python-value.c (main): Add strings for string fetch tests.
15876
c0ac0ec7
JK
158772009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15878
15879 * gdb.base/dump.exp (inaccessible memory is reported): New test.
15880
30b66ecc
TT
158812009-07-07 Tom Tromey <tromey@redhat.com>
15882
15883 * gdb.base/call-rt-st.exp: Update for change to escape output.
15884 * gdb.base/callfuncs.exp: Likewise.
15885 * gdb.base/charset.exp: Likewise.
15886 * gdb.base/constvars.exp: Likewise.
15887 * gdb.base/long_long.exp: Likewise.
15888 * gdb.base/pointers.exp: Likewise.
15889 * gdb.base/printcmds.exp: Likewise.
15890 * gdb.base/setvar.exp: Likewise.
15891 * gdb.base/store.exp: Likewise.
15892 * gdb.cp/ref-types.exp: Likewise.
15893 * gdb.mi/mi-var-child.exp: Likewise.
15894 * gdb.mi/mi-var-display.exp: Likewise.
15895 * gdb.mi/mi2-var-display.exp: Likewise.
15896 * gdb.base/charset.exp: Test octal escape sequence length.
15897 Update for change to escape output.
15898
187c4a2b
JK
158992009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15900
15901 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
15902
d80a43f9
DJ
159032009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
15904
15905 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
15906
047427a8
JK
159072009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15908
15909 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
15910 gdbserver increasing $portnum if "Can't bind address" has been seen.
15911
8b5a0f4f
PA
159122009-07-05 Pedro Alves <pedro@codesourcery.com>
15913
15914 * gdb.base/ending-run.exp: Add "step out of main" pattern for
15915 mingw32ce.
15916
7d93ba58
PA
159172009-07-05 Pedro Alves <pedro@codesourcery.com>
15918
15919 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
15920 VFP format.
15921
2277426b
PA
159222009-07-02 Pedro Alves <pedro@codesourcery.com>
15923
15924 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
15925 linux. Adjust to use "inferior", "info inferiors", "detach
15926 inferior" and "kill inferior" instead of "restart", "info fork",
15927 "detach fork" and "delete fork".
15928 * gdb.base/ending-run.exp: Spell out "info".
15929 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
15930 the "kill" command.
15931
5af949e3
UW
159322009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15933
15934 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
15935 change to prefix TLS offset in hex with 0x.
15936
5d3729b5
UW
159372009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15938
15939 * gdb.base/default.exp: Update test case for "x" changes.
15940
af589bd0
TG
159412009-07-01 Tristan Gingold <gingold@adacore.com>
15942
15943 * gdb.base/bigcore.exp: Make darwin untested.
15944
40974f91
JK
159452009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15946
15947 * gdb.base/completion.exp (directory completion): Create the directory.
15948 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
15949 escapeuniquesub.
15950 (directory completion 2): Expect now ${escapeuniquesub}.
15951 (Glob remaining of directory test): Remove one excessive newline.
15952 Expect the real output.
15953
59dd3af6
JK
159542009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15955
15956 Fix `make check//%' target after `make check' has been ran.
15957 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
15958 a mkdir call.
15959 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
15960 (%/.dir): Remove.
15961
f4e164aa
JK
159622009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15963
15964 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
15965 the expected result record.
15966
69af2122
JK
159672009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15968
15969 Remove racy FAILs relying just on the timeouts.
15970 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
15971 (annotation_level 2): Remove racy FAILs.
15972
2fd481e1
PP
159732009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15974
15975 gdb/10275
889bf7c5
PA
15976 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
15977
c38f313d
DJ
159782009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
15979
15980 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
15981
8b777f02
VP
159822009-06-30 Vladimir Prus <vladimir@codesourcery.com>
15983
15984 * gdb.mi/mi-stack.exp: Testing symbolic options
15985 to -stack-list-locals and -stack-list-arguments.
15986
00c7eacf
JK
159872009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15988
15989 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
15990
6bc80edc
TT
159912009-06-29 Tom Tromey <tromey@redhat.com>
15992
15993 * dg-extract-results.sh: New file.
15994 * Makefile.in (FORCE_PARALLEL): New variable.
15995 (CHECK_TARGET): New conditional variable.
15996 (check): Use CHECK_TARGET.
15997 (DO_RUNTEST): New variable.
15998 (check-single): New target.
15999 (TEST_DIRS): New variable.
16000 (TEST_TARGETS): Likewise.
16001 (check-parallel): New target.
16002 (check-gdb.%): New pattern.
16003 (BASE1_FILES): New variable.
16004 (BASE2_FILES): Likewise.
16005 (check-gdb.base%): New pattern.
16006 (%/.dir): New pattern.
16007 * configure: Rebuild.
16008 * aclocal.m4 (AM_CONDITIONAL): New defun.
16009 * configure.ac: Check whether user is using GNU make.
16010 (GMAKE): New conditional.
16011
794684b6
SW
160122009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
16013
16014 * gdb.cp/namespace-nested-import.cc: New test.
16015 * gdb.cp/namespace-nested-import.exp: New test.
16016
edb3359d
DJ
160172009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
16018
16019 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
16020 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
16021 * gdb.opt/Makefile.in (EXECUTABLES): Update.
16022 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
16023 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
16024 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
16025 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
16026 gdb.opt/inline-markers.c: New files.
16027 * lib/gdb.exp (skip_inline_frame_tests): New function.
16028 (skip_inline_var_tests): New function.
16029
cf657a0c
AS
160302009-06-27 Andreas Schwab <schwab@linux-m68k.org>
16031
16032 * gdb.cp/exception.exp: Don't require $hex before inner frame in
16033 backtrace.
16034
28d41a99
MS
160352009-06-27 Michael Snyder <msnyder@vmware.com>
16036
16037 * gdb.reverse: New directory.
16038 * gdb.reverse/break-reverse.c: New test.
16039 * gdb.reverse/break-reverse.exp: New test.
16040 * gdb.reverse/consecutive-reverse.c: New test.
16041 * gdb.reverse/consecutive-reverse.exp: New test.
16042 * gdb.reverse/finish-reverse.c: New test.
16043 * gdb.reverse/finish-reverse.exp: New test.
16044 * gdb.reverse/machinestate.c: New test.
16045 * gdb.reverse/ms1.c: New test.
16046 * gdb.reverse/machinestate.exp: New test.
16047 * gdb.reverse/Makefile.in: New file.
16048 * gdb.reverse/shr2.c: New test.
16049 * gdb.reverse/solib-reverse.c: New test.
16050 * gdb.reverse/solib-reverse.exp: New test.
16051 * gdb.reverse/step-reverse.c: New test.
16052 * gdb.reverse/step-reverse.exp: New test.
16053 * gdb.reverse/until-reverse.c: New test.
16054 * gdb.reverse/ur1.c: New test.
16055 * gdb.reverse/until-reverse.exp: New test.
16056 * gdb.reverse/watch-reverse.c: New test.
16057 * gdb.reverse/watch-reverse.exp: New test.
16058 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
16059 * configure: Regenerate.
16060
fe3c8b0d
DE
160612009-06-26 Doug Evans <dje@google.com>
16062
16063 * gdb.base/psymtab.exp: Turn off pending breakpoints.
16064
3a72a602
PM
160652009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
16066
16067 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
16068 windows problem for 'file delete $binfile'.
16069
27aa8d6a
SW
160702009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
16071
16072 * gdb.cp/namespace-using.exp: New test.
16073 * gdb.cp/namespace-using.cc: New test.
16074
8ac055f8
JB
160752009-05-20 Joel Brobecker <brobecker@adacore.com>
16076
16077 * gdb.ada/variant_record_packed_array: New testcase.
16078
85e306ed
TT
160792009-06-23 Tom Tromey <tromey@redhat.com>
16080
16081 * gdb.base/charset.exp (test_combination): Regression test.
16082 * gdb.base/charset.c (my_wchar_t): New typedef.
16083 (myvar): New global.
16084 (main): Set myvar.
16085
56643c5e
PM
160862009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
16087
16088 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
16089 target.
16090
1fac167a
UW
160912009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16092
16093 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
16094
7ccb0be9
UW
160952009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16096
16097 * gdb.mi/gdb680.exp: Update test for error message.
16098
568d6575
UW
160992009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16100
16101 * gdb.base/annota1.exp: Allow multiple occurrences of the
16102 frames-invalid annotation.
16103 * gdb.cp/annota2.exp: Likewise.
16104
7cd1089b
PM
161052009-06-15 Phil Muldoon <pmuldoon@redhat.com>
16106
16107 * gdb.cp/gdb2495.cc: New file.
16108 * gdb.cp/gdb2495.exp: New file.
16109
72c63395
JK
161102009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16111
16112 Report error on GDB crash during runto.
16113 * lib/gdb.exp (runto <eof>): New.
16114
3788363d
DJ
161152009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
16116
16117 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
16118 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
16119 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
16120 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
16121 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
16122 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
16123 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
16124 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
16125 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
16126 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
16127 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
16128 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
16129 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16130 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
16131 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
16132 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
16133 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
16134 gdb.server/server-mon.exp, gdb.server/server-run.exp,
16135 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16136 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16137 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
16138 gdb.trace/passcount.exp, gdb.trace/report.exp,
16139 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
16140 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
16141 gdb.trace/while-stepping.exp: Use a unique name for the compiled
16142 executable.
16143
17592de3
PA
161442009-06-07 Pedro Alves <pedro@codesourcery.com>
16145
16146 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
16147 defined before referencing it.
16148
701e355d
DE
161492009-06-03 Doug Evans <dje@google.com>
16150
16151 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
16152 * gdb.arch/i386-see.c: Ditto.
16153
f2292c65
PM
161542009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
16155
16156 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
16157 (check_macro): Return 1 if undefined.
16158 If first test fails, check if macro debug information is available,
16159 and report unsupported test if no macro information is found.
16160
5a437975
DE
161612009-05-29 Doug Evans <dje@google.com>
16162
16163 * gdb.threads/hand-call-in-threads.exp: New.
16164 * gdb.threads/hand-call-in-threads.c: New.
16165
c141c696
MS
161662009-05-29 Michael Snyder <msnyder@vmware.com>
16167
16168 * gdb.base/break-always.exp: Change "1" to "on".
16169 Add confirmation check.
16170
b3444185
PA
161712009-05-28 Pedro Alves <pedro@codesourcery.com>
16172
16173 * gdb.threads/threxit-hop-specific.c: New.
16174 * gdb.threads/threxit-hop-specific.exp: New.
16175 * gdb.threads/thread-execl.c: New.
16176 * gdb.threads/thread-execl.exp: New.
16177
b6313243
TT
161782009-05-27 Tom Tromey <tromey@redhat.com>
16179 Thiago Jung Bauermann <bauerman@br.ibm.com>
16180
16181 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
16182 (mi_child_regexp): Likewise.
16183 (mi_list_varobj_children_range): Likewise.
16184 (mi_get_features): Likewise.
16185 (mi_list_varobj_children): Rewrite.
16186 * gdb.python/python-mi.exp: New file.
16187
a6bac58e
TT
161882009-05-27 Tom Tromey <tromey@redhat.com>
16189 Thiago Jung Bauermann <bauerman@br.ibm.com>
16190 Phil Muldoon <pmuldoon@redhat.com>
16191 Paul Pluzhnikov <ppluzhnikov@google.com>
16192
16193 * gdb.python/python-prettyprint.exp: New file.
16194 * gdb.python/python-prettyprint.c: New file.
16195 * gdb.python/python-prettyprint.py: New file.
16196 * gdb.base/display.exp: print/r is now valid.
16197
2c74e833
TT
161982009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
16199 Tom Tromey <tromey@redhat.com>
16200 Pedro Alves <pedro@codesourcery.com>
16201 Paul Pluzhnikov <ppluzhnikov@google.com>
16202
16203 * gdb.python/python-template.exp: New file.
16204 * gdb.python/python-template.cc: New file.
16205 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
16206 tests.
16207 * gdb.python/python-value.exp (py_objfile_tests): New proc.
16208 Call it.
16209 (test_value_after_death): New proc.
16210 * gdb.python/python-value.c (PTR): New typedef.
16211 (main): New variable 'x'.
16212
89c73ade
TT
162132009-05-27 Tom Tromey <tromey@redhat.com>
16214
16215 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
16216 tests.
16217 * gdb.python/python-value.exp (py_objfile_tests): New proc.
16218 Call it.
16219
a75724bc
PA
162202009-05-27 Pedro Alves <pedro@codesourcery.com>
16221
16222 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
16223
e58b0e63
PA
162242009-05-24 Pedro Alves <pedro@codesourcery.com>
16225
16226 * gdb.threads/fork-thread-pending.c: New.
16227 * gdb.threads/fork-thread-pending.exp: New.
16228
4ac36638
JK
162292009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16230
16231 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
16232 * gdb.dwarf2/dw2-strp.S (a_string2): New.
16233
889bf7c5 162342009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 16235
889bf7c5 16236 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 16237
b242c3c2
PA
162382009-05-17 Pedro Alves <pedro@codesourcery.com>
16239
16240 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
16241 `gdb_get_line_number'. Call `callee' in both parent and child.
16242 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
16243 `gdb_get_line_number' instead of hardcoding line numbers.
16244 (catch_fork_unpatch_child): New procedure to test detaching
16245 breakpoints from child fork.
16246 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
16247 hardcoding line numbers.
16248 (do_fork_tests): Run `catch_fork_unpatch_child'.
16249
ee342b23
VP
162502009-05-17 Vladimir Prus <vladimir@codesourcery.com>
16251
16252 * gdb.mi/mi-cmd-var.exp: Check that when varobj
16253 of structure type enters or leaves the scope, it
16254 is reported by -var-update.
16255
e2009e98
DE
162562009-05-11 Doug Evans <dje@sebabeach.org>
16257
16258 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 16259 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
16260 * gdb.threads/schedlock.c (main): Fix off-by-one error.
16261
00903456
JK
162622009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16263
16264 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
16265
dc621c35
DE
162662009-04-30 Doug Evans <dje@google.com>
16267
16268 * gdb.threads/watchthreads2.exp: New testcase.
16269 * gdb.threads/watchthreads2.c: New testcase.
16270
9ab4e744
DE
162712009-04-29 Doug Evans <dje@google.com>
16272
16273 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
16274 * gdb.cp/mb-ctor.cc: Ditto.
16275 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
16276 * gdb.cp/mb-inline.h (multi_line_foo): New function.
16277 * gdb.cp/mb-inline1.cc: Call it.
16278 * gdb.cp/mb-inline2.cc: Ditto.
16279 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
16280 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
16281
484086b7
JK
162822009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
16283
16284 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
16285 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
16286 Replace all uses of `decimal' by `nonzero'.
16287 (info macro FROM_COMMANDLINE): New test.
16288
379a77b5
TT
162892009-04-27 Tom Tromey <tromey@redhat.com>
16290
16291 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
16292
b92b73c2
DE
162932009-04-27 Doug Evans <dje@google.com>
16294
16295 * gdb.threads/watchthreads.c (main): Initialize args before starting
16296 the threads. Plus formatting cleanup.
16297 * gdb.threads/watchthreads.exp: Avoid errant failures due to
16298 biased scheduling of one thread.
16299
945a118d
JG
163002009-04-27 Jerome Guitton <guitton@adacore.com>
16301
16302 * gdb.cp/templates.cc (GetMax): New template.
16303 (main): Declare two instances of GetMax.
16304 * gdb.cp/templates.exp: Add new test.
16305
d389af10
JK
163062009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16307
16308 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
16309
e7f86de9
JM
163102009-04-22 Joseph Myers <joseph@codesourcery.com>
16311
16312 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
16313
334cc82d
TT
163142009-04-15 Tom Tromey <tromey@redhat.com>
16315
16316 * gdb.base/charset.exp: Add regression test.
16317
d12672cc
JB
163182009-04-14 Joel Brobecker <brobecker@adacore.com>
16319
16320 * gdb.base/exe-lock.exp: New testcase.
16321
18e8c3bc
TT
163222009-04-13 Tom Tromey <tromey@redhat.com>
16323
16324 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
16325 operator on Frame.
16326
5ecd5cbe
UW
163272009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16328
16329 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
16330 * gdb.server/ext-attach.exp: Likewise.
16331
7309f756
VP
163322009-04-03 Vladimir Prus <vladimir@codesourcery.com>
16333
16334 Eliminate some sleep usage.
16335
889bf7c5
PA
16336 * gdb.mi/basics.c (do_nothing): New.
16337 (main): Use do_nothing instead of printf, so that
16338 not to introduce race condition between output of
16339 inferiour and output of gdb. Do not use sleep as it
16340 is not generally available on embedded targets.
7309f756 16341
f4b95f6f
PA
163422009-04-02 Pedro Alves <pedro@codesourcery.com>
16343
16344 * gdb.server/ext-attach.exp: Expect an optional process id after
16345 "Detached from remote process".
16346
de40b933
JK
163472009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16348
16349 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
16350 gdb.dwarf2/dw2-unresolved.exp: New.
16351
2ae101a4
PA
163522009-04-02 Pedro Alves <pedro@codesourcery.com>
16353
16354 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
16355 mi_run_to_main.
16356
56a8e183
PA
163572009-04-02 Pedro Alves <pedro@codesourcery.com>
16358
16359 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
16360 mi_run_to_main. Skip thread exit test on remote targets.
16361 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
16362 mi_run_to_main.
16363 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
16364 mi_run_to_main.
16365 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
16366 when expecting ^connected. Detect when the target doesn't support
16367 non-stop mode.
16368 (mi_run_cmd): Detect if non-stop mode was requested by isn't
16369 supported. Return -1 on error, 0 on success.
16370 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
16371 (mi_runto): Return mi_runto_helper's result explicitly.
16372
c35fafde
PA
163732009-04-01 Pedro Alves <pedro@codesourcery.com>
16374
16375 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
16376
f8a8dce6
JB
163772009-04-01 Tom Tromey <tromey@redhat.com>
16378
16379 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
16380 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
16381 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
16382 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
16383
71c25dea
TT
163842009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
16385 Jan Kratochvil <jan.kratochvil@redhat.com>
16386
16387 PR gdb/931
16388 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
16389 output.
16390 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
16391 for gdb/931.
16392 * dw2-strp.S (DW_AT_language): Change to C++.
16393 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
16394
02d9a9ce
JB
163952009-03-31 Joel Brobecker <brobecker@adacore.com>
16396
16397 * gdb.ada/tasks: New testcase.
16398
1042e4c0
SS
163992009-03-30 Stan Shebs <stan@codesourcery.com>
16400
16401 * gdb.trace/actions.exp: Update to match new info trace format.
16402 * gdb.trace/deltrace.exp: Ditto.
16403 * gdb.trace/infotrace.exp: Ditto.
16404 * gdb.trace/passcount.exp: Ditto.
16405 * gdb.trace/save-trace.exp: Ditto.
16406 * gdb.trace/while-stepping.exp: Ditto.
16407 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
16408
f8f6f20b
TJB
164092009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16410
16411 * gdb.python/python-frame.c: New file.
16412 * gdb.python/python-frame.exp: New file.
16413
c0c6f777
TJB
164142009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
16415
16416 * gdb.python/python-value.exp: Add tests for the address
16417 attribute.
16418
3cb51905
AS
164192009-03-29 Andreas Schwab <schwab@linux-m68k.org>
16420
16421 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
16422
88fc996f
DE
164232009-03-26 Doug Evans <dje@google.com>
16424
16425 * gdb.mi/mi-nonstop-exit.exp: New file.
16426 * gdb.mi/non-stop-exit.c: New file.
16427
56ef84b1
TT
164282009-03-26 Tom Tromey <tromey@redhat.com>
16429
16430 Update for change to prologue skipping:
16431 * gdb.mi/mi2-simplerun.exp: Update.
16432 * gdb.mi/mi2-break.exp: Update.
16433 * gdb.mi/mi-simplerun.exp: Update.
16434 * gdb.mi/mi-break.exp: Update.
16435 * gdb.base/ending-run.exp: Update.
16436
def2b000
TJB
164372009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
16438
16439 * gdb.python/python-value.exp (test_value_in_inferior): Test
16440 gdb.Value.is_optimized_out attribute.
16441
442ddf59
JK
164422009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16443
16444 * gdb.dwarf2/dw2-noloc-main.c: New file.
16445 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
16446 (.text): Remove.
16447 (.data): New.
16448 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
16449 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
16450 (DW_TAG_subprogram func_cu1, noloc): Remove.
16451 (main): New.
16452 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
16453 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
16454 (file_symbols): New procedure.
16455
a8df5de4
TT
164562009-03-25 Tom Tromey <tromey@redhat.com>
16457
16458 * gdb.base/charset.exp (valid_target_charset): New proc.
16459 Use it to skip tests on invalid charsets.
16460
cc1d7add
PM
164612009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
16462
16463 * gdb.base/completion.exp: Add a test for directory completion.
16464
bcd5727b
JK
164652009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16466
16467 Fix a racy FAIL.
16468 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
16469 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
16470
cc924cad
TJB
164712009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
16472
16473 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
16474 * gdb.python/python-function.exp: Add test for function returning
16475 a GDB value.
16476
bc3b79fd
TJB
164772009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
16478
16479 * gdb.python/python-function.exp: New file.
16480
6c7a06a3
TT
164812009-03-20 Tom Tromey <tromey@redhat.com>
16482
16483 * gdb.base/store.exp: Update for change to escape output.
16484 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
16485 to escape output.
16486 * gdb.base/pointers.exp: Update for change to escape output.
16487 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
16488 to escape output.
16489 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
16490 escape output.
16491 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
16492 to escape output.
16493 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
16494 escape output.
16495 * gdb.base/setvar.exp: Update for change to escape output.
16496 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
16497 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
16498 to escape output.
16499 (test_print_string_constants): Likewise.
16500 * gdb.base/charset.exp (valid_host_charset): Check size of
16501 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
16502 cases. Handle "auto"-related output.
16503 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
16504 (uvar, Uvar): New globals.
16505
c31af87b
JG
165062009-03-19 Jerome Guitton <guitton@adacore.com>
16507
16508 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
16509 deltas.
16510 * gdb.ada/fixed_points.exp: Ditto.
16511
51272cf2
PA
165122009-03-18 Pedro Alves <pedro@codesourcery.com>
16513
16514 * return-nodebug.c: Don't include stdio.h.
16515 (init): Delete.
16516 (func): Delete definition and provide extern declaration.
16517 (t): New.
16518 (main): Don't call printf. Call func and store its result in t.
16519 * return-nodebug1.c: New.
16520 * return-nodebug.exp: Don't expect stdio output. Instead, print
16521 the global variable t. Drop printf formatters and cast types from
16522 foreach loop. Don't use prepare_for_testing. Compile
16523 return-nodebug.c and return-nodebug1.c in separate steps. Don't
16524 define FORMAT or CAST.
16525
d24948ac
PP
165262009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16527
16528 * gdb.base/solib-display.exp: Disable test for remote targers.
16529
61ff14c6
JK
165302009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16531
16532 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
16533
cb4dce93
JK
165342009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16535
16536 Fix a racy FAIL.
16537 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
16538 code from `follow parent, print pids'.
16539 (`follow child, print pids', `follow parent, print pids'): Call it.
16540 Replace `gdb_test "break..."' by gdb_breakpoint.
16541
f7c60c5e
VP
165422009-03-13 Vladimir Prus <vladimir@codesourcery.com>
16543
16544 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 16545 sync and async modes.
f7c60c5e 16546
383ace49
JB
165472009-03-12 Joel Brobecker <brobecker@adacore.com>
16548
16549 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
16550 that was checked in by mistake. Remove loading of ada.exp, since
16551 this is not necessary in this case.
16552
4ce102af
JB
165532009-03-12 Joel Brobecker <brobecker@adacore.com>
16554
16555 * gdb.ada/ptype_arith_binop.exp: New testcase.
16556
529a2aef
JB
165572009-03-12 Joel Brobecker <brobecker@adacore.com>
16558
16559 * gdb.ada/mod_from_name: New testcase.
16560
8a38181c
JB
165612009-03-12 Joel Brobecker <brobecker@adacore.com>
16562
16563 * gdb.ada/tick_last_segv: New testcase.
16564
11436dee
VP
165652009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16566
61ff14c6 16567 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 16568
1f31650a
VP
165692009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16570
61ff14c6
JK
16571 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
16572 include the token in ^running and frame info in *stopped.
1f31650a 16573
a3247a22
PP
165742009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16575
16576 * solib-display.exp: New file.
16577 * solib-display-main.c: New file.
16578 * solib-display-lib.c: New file.
61ff14c6 16579
aae64587
PA
165802009-03-05 Pedro Alves <pedro@codesourcery.com>
16581
16582 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
16583
44aabfbc
JK
165842009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16585
16586 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
16587 (list_and_check_macro): Use more specific test name.
16588 (next to definition): Make the test names unique.
16589
c087fcd3
PM
165902009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
16591
16592 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 16593
c86cf029
VP
165942009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16595
16596 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
16597 notifications.
16598 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
16599 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
16600 * lib/mi-support.exp (library_loaded_re): New.
16601 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
16602
3ea85240
VP
166032009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16604
16605 * gdb.gdb/observer.exp: Use test_notification observer, not
16606 normal_stop, everywhere.
16607 (test_normal_stop_notifications): Rename to...
16608 (test_notifications): ...this.
16609 (test_observer_normal_stop): Rename to...
16610 (test_observer): ...this.
16611
1903f0e6
DE
166122009-02-16 Doug Evans <dje@google.com>
16613
16614 * gdb.arch/amd64-disp-step.S (test_int3): New test.
16615 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
16616 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
16617 (test_prefixed_syscall,test_int3): New tests.
16618 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
16619 (test_prefixed_syscall,test_int3): New tests.
16620
1d33d6ba
VP
166212009-02-14 Vladimir Prus <vladimir@codesourcery.com>
16622
3cb51905
AS
16623 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
16624 (mi_expect_interrupt): Likewise.
16625 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
16626 response.
1d33d6ba 16627
faafb047
PM
166282009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16629
16630 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
16631 * gdb.base/pc-fp.exp (get_valueofx): Remove.
16632 Replace calls to get_valueofx by get_hexadecimal_valueof.
16633
417e16e2
PM
166342009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16635
16636 * lib/gdb.exp (get_valueof): Accept anything as a return value.
16637 (get_integer_valueof): New procedure.
16638 (get_sizeof): Use new get_integer_value_of.
16639 * gdb.base/sizeof.exp: Replace all uses of get_valueof
16640 by get_integer_valueof.
16641
7065b901
TT
166422009-02-13 Tom Tromey <tromey@redhat.com>
16643
16644 * gdb.base/remote.exp (get_sizeof): Remove.
16645 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
16646 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
16647 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
16648 * lib/gdb.exp (get_valueof): Move from long_long.exp.
16649 (get_sizeof): Likewise.
16650
5d7cb8df
JK
166512009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16652
16653 PR fortran/9806
16654 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
16655
b2febfff
PP
166562009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16657
16658 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
16659
4aa995e1
PA
166602009-02-06 Pedro Alves <pedro@codesourcery.com>
16661
16662 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
16663
d8906c6f
TJB
166642009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16665
16666 * gdb.python/python-cmd.exp: New file.
16667
ff4ab08d
TG
166682009-02-06 Tristan Gingold <gingold@adacore.com>
16669
16670 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
16671
aacd552b
TG
166722009-02-05 Tristan Gingold <gingold@adacore.com>
16673
16674 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
16675 pointer is dereferenced and use this signal name in regexp.
16676 * gdb.base/signull.exp: Ditto.
16677 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
16678 * gdb.base/signull.c (main): Ditto.
16679
08c637de
TJB
166802009-02-04 Tom Tromey <tromey@redhat.com>
16681 Thiago Jung Bauermann <bauerman@br.ibm.com>
16682
16683 * gdb.python/python-value.exp: Use `gdb.history' instead of
16684 `gdb.value_from_history'.
16685 (test_value_numeric_ops): Add test for conversion of enum constant.
16686 * gdb.python/python-value.c (enum e): New type.
16687 (evalue): New global.
16688 (main): Use argv.
16689
20261af8
JG
166902009-02-04 Jerome Guitton <guitton@adacore.com>
16691
16692 * gdb.ada/uninitialized_vars: New test program.
16693 * gdb.ada/uninitialized_vars.exp: New testcase.
16694
52e44b43
TT
166952009-02-02 Tom Tromey <tromey@redhat.com>
16696
16697 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
16698 * gdb.cp/pr2489.cc: Rename...
16699 * gdb.cp/pr9594.cc: ... to this.
16700
1c71341a
TT
167012009-02-02 Tom Tromey <tromey@redhat.com>
16702
16703 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
16704 * gdb.cp/pr2489.cc: New file.
16705 * gdb.cp/cpcompletion.exp: New file.
16706
a4295225
TT
167072009-02-02 Tom Tromey <tromey@redhat.com>
16708
16709 PR exp/9059:
16710 * gdb.cp/call-c.exp: Add regression test.
16711 * gdb.cp/call-c.cc (FooHandle): New typedef.
16712 (main): New variable 'handle'.
16713
592375cd
VP
167142009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16715
16716 * lib/mi-support.exp (et_mi_thread_list)
16717 (check_mi_and_console_threads): Adjust for current thread in
16718 -thread-list-ids output.
16719
41447f92
VP
167202009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16721
889bf7c5
PA
16722 * gdb.mi/mi-break.exp (test_disabled_creation): New.
16723 Call it.
41447f92 16724
35669430
DE
167252009-01-28 Doug Evans <dje@google.com>
16726
16727 * gdb.arch/amd64-disp-step.S: New file.
16728 * gdb.arch/amd64-disp-step.exp: New file.
16729 * gdb.arch/i386-disp-step.S: New file.
16730 * gdb.arch/i386-disp-step.exp: New file.
16731
09f00d9a
PM
167322009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
16733
16734 * gdb.base/find.exp: Set newline variable
16735 using quotes instead of braces to fix cygwin failures.
16736
1e8fb976
PA
167372009-01-23 Pedro Alves <pedro@codesourcery.com>
16738
16739 * gdb.base/radix.exp: Add tests to ensure that that set
16740 input-radix 0 and set output-radix 0 are really rejected.
16741
da061712
PA
167422009-01-23 Pedro Alves <pedro@codesourcery.com>
16743
16744 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
16745 copyright years.
16746
dd7e2d2b
PA
167472009-01-23 Pedro Alves <pedro@codesourcery.com>
16748
16749 PR gdb/9664:
16750 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
16751
392452f6
PA
167522009-01-22 Pedro Alves <pedro@codesourcery.com>
16753
16754 PR c++/9631:
16755 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
16756
8653e71c
PM
167572009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
16758
16759 * gdb.server/file-transfer.exp: Use EXEEXT variable for
16760 binfile definition to fix Windows OS failure.
16761
a12cc160
DJ
167622009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16763
16764 PR gdb/9346
16765 * gdb.base/interrupt.c (sigint_handler): New.
16766 (main): Install a SIGINT handler if SIGNALS is defined. Exit
16767 on error.
16768 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
16769 Test "signal SIGINT".
16770
b89667eb
DE
167712009-01-19 Doug Evans <dje@google.com>
16772
16773 * gdb.base/break.exp: Update expected gdb output.
16774 * gdb.base/sepdebug.exp: Ditto.
16775 * gdb.mi/mi-syn-frame.exp: Ditto.
16776 * gdb.mi/mi2-syn-frame.exp: Ditto.
16777 * gdb.base/call-signal-resume.exp: New file.
16778 * gdb.base/call-signals.c: New file.
16779 * gdb.base/unwindonsignal.exp: New file.
16780 * gdb.base/unwindonsignal.c: New file.
16781 * gdb.threads/interrupted-hand-call.exp: New file.
16782 * gdb.threads/interrupted-hand-call.c: New file.
16783 * gdb.threads/thread-unwindonsignal.exp: New file.
16784
adb483fe
DJ
167852009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
16786
16787 * gdb.base/define.exp: Test defining and hooking prefix commands.
16788 * gdb.python/python.exp: Update test for "show user" output.
16789
60023297
JK
167902009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16791
16792 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
16793 now the output exactly, using less wildcards. Expect also the output
16794 of gfortran-4.3. Update for the f-valprint.c modification from
16795 2008-04-22.
16796 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
16797 Remove gdb_test test names where matching the command.
16798
ccc57cf9
PA
167992009-01-01 Pedro Alves <pedro@codesourcery.com>
16800
16801 PR breakpoints/9681:
16802 * gdb.base/watchpoint.exp: Add regression test.
16803
c7a6ca08
PA
168042008-12-31 Pedro Alves <pedro@codesourcery.com>
16805
16806 * gdb.threads/attach-into-signal.exp: Don't use
16807 gdb_suppress_entire_file.
16808 * gdb.threads/attach-stopped.exp: Ditto.
16809 * gdb.threads/attachstop-mt.exp: Ditto.
16810
3a031f65
PA
168112008-12-31 Pedro Alves <pedro@codesourcery.com>
16812
16813 PR gdb/8812:
16814 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
16815
09e6485f
PA
168162008-12-29 Pedro Alves <pedro@codesourcery.com>
16817
16818 PR gdb/7536:
16819 * gdb.base/radix.exp: Add tests to ensure invalid input radices
16820 and unsupported output radices are really rejected.
16821
0cd53049
JK
168222008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16823
16824 * gdb.cp/punctuator.exp: Backslash the '$' signs.
16825
ba163c7e
TT
168262008-12-22 Tom Tromey <tromey@redhat.com>
16827
16828 * gdb.cp/punctuator.exp: New file.
16829
6f4de6c9
JK
168302008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16831
16832 * gdb.base/completion.exp (Completing non-existing component): New test.
16833
0f34d0b4
JK
168342008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16835
16836 Fix for PR gdb/8648.
16837 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
16838 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
16839 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
16840 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
16841
db2ad4c3
JK
168422008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16843
16844 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
16845
bb5ef15e
DP
168462008-12-16 Christophe Lyon <christophe.lyon@st.com>
16847
16848 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
16849 compiler actually generate code at the expected line number.
16850
90142adc
JZ
168512008-12-15 Jie Zhang <jie.zhang@analog.com>
16852
16853 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
16854
fad6eecd
TT
168552008-12-12 Tom Tromey <tromey@redhat.com>
16856
16857 * gdb.base/commands.exp (redefine_hook_test): New proc.
16858 Call it.
16859
17c8aaf5
TT
168602008-12-11 Tom Tromey <tromey@redhat.com>
16861
16862 * gdb.base/macscp.exp: New regression test.
16863
7c8adf68
TT
168642008-12-11 Tom Tromey <tromey@redhat.com>
16865
16866 * gdb.base/macscp.exp: Print "address.addr".
16867 * gdb.base/macscp1.c (struct outer): New struct.
16868 (address): New global.
16869
b05dcbb7
TT
168702008-12-09 Tom Tromey <tromey@redhat.com>
16871
16872 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
16873 Call it.
16874
2d476de1
DE
168752008-12-04 Doug Evans <dje@google.com>
16876
16877 * gdb.server/ext-run.exp: Relax regexp for init program.
16878
87bdc959
TG
168792008-12-03 Tristan Gingold <gingold@adacore.com>
16880
16881 * gdb.base/macscp.exp: Generate an object file during compilation
16882 to work around Darwin dsymutil limitations.
16883
e0740f77
JK
168842008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16885
16886 Test resolving external references to TLS variables.
16887 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
16888 FILE2_THREAD_LOCAL.
16889 (testfile2, srcfile2): New variables.
16890 * gdb.threads/tls.c (file2_thread_local)
16891 (function_referencing_file2_thread_local): New.
16892 * gdb.threads/tls2.c: New file.
16893
67f0aac5
JB
168942008-11-28 Joel Brobecker <brobecker@adacore.com>
16895
16896 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
16897 rather than integer, as integer might not be big enough when
16898 on 64bit targets.
67f0aac5 16899
c332165e
JG
169002008-11-27 Jerome Guitton <guitton@adacore.com>
16901
16902 * gdb.cp/formatted-ref.exp: Add equality test.
16903 * gdb.ada/formatted_ref.exp: Ditto.
16904
fc9b693c
JK
169052008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16906
16907 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
16908 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
16909
a9c64011
AS
169102008-11-20 Andreas Schwab <schwab@suse.de>
16911
16912 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
16913 matching syscall entry point.
16914 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16915 (tcatch_vfork_then_child_follow): Likewise. Finish through
16916 vfork even if we stopped at the syscall trampoline.
16917
e2fd701e
DE
169182008-11-20 Doug Evans <dje@google.com>
16919
16920 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
16921
69abc51c
TJB
169222008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
16923
16924 * gdb.arch/ppc-dfp.exp: New file.
16925 * gdb.arch/ppc-dfp.c: New file.
16926
c14c28ba
PP
169272008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16928
16929 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 16930
2e74121d
DE
169312008-11-17 Doug Evans <dje@google.com>
16932
16933 * gdb.mi/mi-syn-frame.exp: Update expected output.
16934 * gdb.mi/mi2-syn-frame.exp: Update expected output.
16935
66bb093b
VP
169362008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16937
16938 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
16939 "thread N" results in =thread-selected.
16940 * lib/mi-support (mi_run_cmd, mi_expect_stop)
16941 (mi_send_resuming_command_raw): Be prepared for
16942 =thread-selected.
16943
3d043ef6
VP
169442008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16945
a9c64011
AS
16946 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
16947 * lib/mi-support.exp: Likewise.
3d043ef6 16948
808104c8
JB
169492008-11-16 Joel Brobecker <brobecker@adacore.com>
16950
16951 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
16952 commands from the expected output for "help catch".
16953
00b22944
JB
169542008-11-15 Joel Brobecker <brobecker@adacore.com>
16955
16956 * gdb.ada/int_deref.exp: New testcase.
16957
59669435
TT
169582008-11-14 Nick Roberts <nickrob@snap.net.nz>
16959
16960 * gdb.mi/gdb2549.exp: New file.
16961
de04a248
DE
169622008-11-11 Doug Evans <dje@google.com>
16963
16964 * gdb.base/callexit.exp: New file.
16965 * gdb.base/callexit.c: New file.
16966
6b8ce727
DE
169672008-11-10 Doug Evans <dje@google.com>
16968
16969 * lib/gdb.exp (GDBFLAGS): Move -nx ...
16970 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
16971 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
16972 (default_gdb_start,default_gdb_exit): Ditto.
16973 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
16974 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
16975 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
16976 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
16977 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
16978 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
16979
1b14b8aa
AS
169802008-11-03 Andreas Schwab <schwab@suse.de>
16981
16982 * gdb.base/hashline2.exp: Fix typo.
16983 * gdb.base/hashline3.exp: Likewise.
16984
f3134b88
TT
169852008-10-30 Tom Tromey <tromey@redhat.com>
16986
16987 * gdb.base/pointers.exp: Add test.
16988 * gdb.base/pointers.c (k, S): New typedefs.
16989 (instance): New global.
16990
c2226152
AS
169912008-10-30 Andreas Schwab <schwab@suse.de>
16992
16993 * gdb.base/args.exp: Add tests for newlines.
16994
462f405c
JB
169952008-10-30 Joel Brobecker <brobecker@adacore.com>
16996
16997 gdb.base/foll-exec.exp: Update the expected output of a couple
16998 of "info breakpoints" tests.
16999
79a45b7d
TT
170002008-10-28 Tom Tromey <tromey@redhat.com>
17001
17002 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
17003
adc13a14
PA
170042008-10-24 Pedro Alves <pedro@codesourcery.com>
17005
17006 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
17007 gdb_start_cmd.
17008 Use runto_main before any test that requires execution.
17009
252fbfc8
PA
170102008-10-23 Pedro Alves <pedro@codesourcery.com>
17011
17012 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
17013 instead of SIGINT.
17014
28148e3d
JB
170152008-10-22 Joel Brobecker <brobecker@adacore.com>
17016
17017 * gdb.base/completion.exp: Update expected output following
17018 the addition of the "info tasks" command.
17019
c209f847
TT
170202008-10-22 Tom Tromey <tromey@redhat.com>
17021
17022 * gdb.base/exprs.exp (test_expr): Add test for string
17023 concatenation.
17024
f177e350
PA
170252008-10-19 Pedro Alves <pedro@codesourcery.com>
17026
17027 * configure.ac: Output gdb.python/Makefile.
17028 * configure: Regenerate.
17029 * gdb.python/Makefile.in: New.
17030
cce89356
JB
170312008-10-16 Joel Brobecker <brobecker@adacore.com>
17032
17033 * gdb.base/foll-fork.exp: Adjust the expected output to match
17034 the new description for fork/vfork catchpoints in the "info
17035 breakpoints" output.
17036
176d289d
TJB
170372008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17038
17039 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
17040
a08702d6
TJB
170412008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
17042
17043 * gdb.python/python-value.c: New file.
17044 * gdb.python/python-value.exp: New file.
17045
1c5cfe86
PA
170462008-10-15 Pedro Alves <pedro@codesourcery.com>
17047
17048 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
17049
5a98ad69
DP
170502008-10-15 Denis Pilat <denis.pilat@st.com>
17051
41702f1b 17052 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 17053
dcb1a1e2
TT
170542008-10-09 Tom Tromey <tromey@redhat.com>
17055
17056 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
17057 'fprintf' and 'stderr'.
17058
9124fe48
JB
170592008-10-07 Joel Brobecker <brobecker@adacore.com>
17060
17061 * gdb.ada/ref_tick_size.exp: New testcase.
17062
45452591
DE
170632008-10-06 Doug Evans <dje@google.com>
17064
17065 * gdb.dwarf2/dw2-cu-size.exp: New file.
17066 * gdb.dwarf2/dw2-cu-size.S: New file.
17067
17068 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
17069 .Ltype_int for clarity.
17070
4fc5b208
PP
170712008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
17072
17073 PR gdb/2384:
17074 * gdb.cp/gdb2384.exp: Extended to test more cases.
17075 * gdb.cp/gdb2384.cc: Likewise.
17076 * gdb.cp/gdb2384-base.h: Likewise.
17077 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 17078
d78df370
JK
170792008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17080
17081 * gdb.base/maint.exp (maint print type): Remove printing
17082 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
17083
9a044a89
TT
170842008-09-30 Tom Tromey <tromey@redhat.com>
17085
17086 * gdb.base/macscp.exp: Add completion tests.
17087 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
17088 (TWENTY_THREE): Likewise.
17089 (FORTY_EIGHT): Likewise.
17090
506800a9
TT
170912008-09-30 Tom Tromey <tromey@redhat.com>
17092
17093 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
17094 everywhere.
17095 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
17096
1a6f01b5
JK
170972008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
17098
17099 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
17100 testcase is derived from. Fix racy dependency on an expected PID
17101 number. No longer support the testcase on Linux kernel 2.4.x.
17102
2fae03e8
TT
171032008-09-27 Tom Tromey <tromey@redhat.com>
17104
17105 * gdb.base/macscp.exp: Add tests for stringification, splicing,
17106 and varargs.
17107
1ad15515
PA
171082008-09-22 Pedro Alves <pedro@codesourcery.com>
17109
17110 * lib/mi-support.exp (mi_expect_interrupt): New.
17111 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
17112 from gdb.mi/mi-nonstop.exp.
17113 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
17114 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
17115 lib/mi-support.exp.
17116 Use mi_check_thread_states throughout. Avoid ".*" and do not
17117 require an anchor after -exec-run.
17118
d0b76dc6
DJ
171192008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
17120
17121 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
17122 stop is pending. Avoid ".*" when two stops are pending.
17123 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
17124 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
17125 newlines in fullnames.
17126 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
17127 (mi_expect_stop): Update comments. Only anchor in sync mode.
17128 Do not match newlines.
17129 (mi_send_resuming_command_raw): Always return status.
17130 (mi_get_stop_line): Do not match more than one line by accident.
17131 Only anchor in sync mode.
17132 (mi_run_inline_test): If -exec-next fails, give up.
17133
9990c830
UW
171342008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17135
17136 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
17137 on SPU.
17138
ebcf6f00
JB
171392008-09-10 Joel Brobecker <brobecker@adacore.com>
17140
17141 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
17142
b6db24e5
JB
171432008-09-10 Joel Brobecker <brobecker@adacore.com>
17144
17145 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
17146 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
17147 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
17148 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
17149 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
17150 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
17151 gdb.ada/interface.exp, gdb.ada/null_array.exp,
17152 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
17153 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
17154 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
17155 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
17156 Include the "= " sequence in the expected output of print tests.
17157
2bf448e0
JB
171582008-09-10 Joel Brobecker <brobecker@adacore.com>
17159
17160 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
17161 description for boolean types.
17162
d51fd4c8
PA
171632008-09-09 Pedro Alves <pedro@codesourcery.com>
17164
17165 * gdb.base/hook-stop-continue.c: New.
17166 * gdb.base/hook-stop-continue.exp: New.
17167
694182d2
DJ
171682008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
17169
17170 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
17171
3b8a7fc0
JG
171722008-09-08 Jerome Guitton <guitton@adacore.com>
17173
17174 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
17175 (stack_check_probe_2, stack_check_probe_loop_1)
17176 (stack_check_probe_loop_2): New functions.
17177 (main): Add call to these new functions.
17178 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
17179 functions, check that the breakpoint is inserted at the appropriate
17180 location.
17181 (insert_breakpoint): Slightly refine this procedure so that it can
17182 be called several times in the test.
17183
96cc0ae8
JG
171842008-09-08 Jerome Guitton <guitton@adacore.com>
17185
17186 * gdb.base/stack-checking.c: New file.
17187 * gdb.base/stack-checking.exp: New file.
17188
1f08b409
TJB
171892008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
17190
17191 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
17192 * gdb.arch/altivec-regs.exp: Likewise.
17193 * gdb.arch/vsx-regs.exp: Likewise.
17194
3099e1c4
TJB
171952008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
17196
17197 * gdb.arch/ppc-fp.exp: New file.
17198 * gdb.arch/ppc-fp.c: New file.
17199
cc69bfc1
PP
172002008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17201
17202 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
17203 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 17204
b02a33db
MS
172052008-09-04 Michael Snyder <msnyder@vmware.com>
17206
17207 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
17208 as "at" (for non-debug functions such as _start).
17209
2992cbe0
UW
172102008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17211
17212 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
17213 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
17214 software watchpoints.
17215 * gdb.base/watch_thread_num.exp: Likewise.
17216
514f746b
AR
172172008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
17218
17219 * gdb.arch/i386-bp_permanent.exp: New test.
17220
876cecd0
TT
172212008-08-24 Tom Tromey <tromey@redhat.com>
17222
17223 * gdb.base/maint.exp: Update "maint print type".
17224
80f73d71
VP
172252008-08-21 Vladimir Prus <vladimir@codesourcery.com>
17226
17227 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
17228 support. Adjust the order of "*running" notifications.
17229 * gdb.mi/non-stop.c: Don't cast from int to void* and
17230 back.
17231
d9c78d7d
MK
172322008-08-20 Mark Kettenis <kettenis@gnu.org>
17233
17234 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
17235 expect to find it in the "info frame" output.
17236
97a2d1d3
DJ
172372008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
17238
17239 * gdb.base/interp.exp: Always consume both prompts.
17240
b96e2927
PA
172412008-08-20 Pedro Alves <pedro@codesourcery.com>
17242
17243 * gdb.base/pending.exp: Test pending breakpoints without symbols
17244 loaded.
17245
8cf6e61a
VP
172462008-08-19 Vladimir Prus <vladimir@codesourcery.com>
17247
17248 * lib/mi-support.exp (mi_expect_stop): Produce
17249 more details on failures.
17250 * gdb.mi/mi-nonstop.exp: New.
17251 * gdb.mi/non-stop.c: New.
17252
c6ebd6cf
VP
172532008-08-19 Vladimir Prus <vladimir@codesourcery.com>
17254
a9c64011
AS
17255 * gdb.mi/mi-async.exp: Use 'set target-async'.
17256 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 17257
46a9b8ed
DJ
172582008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
17259
17260 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
17261
44feb3ce
TT
172622008-08-17 Tom Tromey <tromey@redhat.com>
17263
17264 * gdb.base/help.exp (help catch): Rewrite.
17265
311a4e6b
TJB
172662008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
17267
17268 * gdb.base/define.exp: Test indented command documentation.
17269 * gdb.python/python.exp: Test indented multi-line command.
17270
604c2f83
LM
172712008-08-15 Luis Machado <luisgpm@br.ibm.com>
17272
17273 * testsuite/gdb.arch/vsx-regs.c: New source file.
17274 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
17275 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
17276
886a217c
TT
172772008-08-14 Tom Tromey <tromey@redhat.com>
17278
17279 * gdb.base/macscp.exp: Add regression test for "macro define" or
17280 "macro undef" with no arguments.
17281
c814a4f3
PP
172822008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17283
17284 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 17285
12ab8a60
UW
172862008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17287
17288 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
17289
d57a3c85
TJB
172902008-08-06 Tom Tromey <tromey@redhat.com>
17291
17292 * gdb.python/python.exp: New file.
17293
c7b778ff
JK
172942008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17295
17296 Fix for PR gdb/1543.
17297 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
17298 $LOCATION.
17299 (location): New variable.
17300 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
17301 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
17302 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
17303 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
17304 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
17305 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
17306 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
17307 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
17308 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
17309 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
17310 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
17311 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
17312 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
17313 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
17314 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17315 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
17316 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
17317 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
17318 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
17319 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17320 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
17321 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
17322 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
17323 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
17324 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
17325 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
17326 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
17327 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
17328 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
17329 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
17330 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
17331 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
17332 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
17333 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
17334 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
17335 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
17336 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
17337 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17338 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
17339 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
17340 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
17341 gdb.base/type-opaque.exp, gdb.base/until.exp,
17342 gdb.base/value-double-free.c, gdb.base/varargs.exp,
17343 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
17344 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
17345 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
17346 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
17347 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
17348 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
17349 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
17350 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
17351 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
17352 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
17353 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
17354 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
17355 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
17356 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
17357 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
17358 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17359 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
17360 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
17361 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
17362 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
17363 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
17364 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
17365 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
17366 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17367 gdb.pascal/types.exp, gdb.stabs/weird.exp,
17368 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
17369 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
17370 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
17371 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
17372 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
17373 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
17374 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17375 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
17376 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17377 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
17378 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17379 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17380 lib/mi-support.exp, lib/trace-support.exp: Remove reference
17381 to bug-gdb@prep.ai.mit.edu .
17382
5e06a3d1
VP
173832008-07-31 Vladimir Prus <vladimir@codesourcery.com>
17384
17385 * lib/mi-support.exp (mi_load_shlibs): New.
17386 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
17387
9d81d21b
VP
173882008-07-30 Vladimir Prus <vladimir@codesourcery.com>
17389
17390 * lib/mi-support.exp (get_mi_thread_list)
17391 (check_mi_and_console_threads): New, moved from ...
17392 * gdb.mi/mi-pthread.exp: ...here.
17393 * gdb.mi/gdb669.exp (get_mi_thread_list)
17394 (check_mi_and_console_threads): Delete.
17395 * gdb.mi/mi2-pthread.exp: Likewise.
17396
bae98fe0
TT
173972008-07-28 Tom Tromey <tromey@redhat.com>
17398
17399 * Makefile.in (just-check): Remove. Move body to...
17400 (check): ... here.
17401
57380f4e
DJ
174022008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17403
17404 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
17405 Add a test for duplicated SIGINTs.
17406
e09490f1
DJ
174072008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17408
17409 * gdb.threads/schedlock.exp (get_args): Update to work for any
17410 value of NUM.
17411 (Top level): Report the number of threads that did not resume.
17412
6387b45f
DJ
174132008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17414
17415 * gdb.dwarf2/dw2-compressed.S: Also define __start.
17416
62f64ff2
DJ
174172008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17418
17419 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
17420 non-MI prompt.
17421
fa8de41e
TT
174222008-07-26 Tom Tromey <tromey@redhat.com>
17423
17424 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
17425 (function_struct, function_struct_ptr): New globals.
17426 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
17427 function pointer in a struct.
17428
ccb3ac8a
TT
174292008-07-26 Tom Tromey <tromey@redhat.com>
17430
17431 * gdb.base/macscp.exp: Add test for macro lexing bug.
17432
d7d9f01e
TT
174332008-07-18 Tom Tromey <tromey@redhat.com>
17434
17435 * gdb.base/macscp.exp: Add macro tests.
17436
9bf07184
PP
174372008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17438
17439 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
17440
becf6477
PP
174412008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17442
17443 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
17444
0709f7d3
PP
174452008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
17446
17447 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 17448
7093c834
PP
174492008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
17450
17451 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 17452
b432ffe3
JK
174532008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17454
17455 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
17456
b1a268e5
VP
174572008-07-12 Vladimir Prus <vladimir@codesourcery.com>
17458
17459 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
17460
e2995f8e
KB
174612008-07-11 Kevin Buettner <kevinb@redhat.com>
17462
17463 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
17464 of regexp to account for changes made to GDB in the printing of
17465 byte vectors.
17466
14032a66
TT
174672008-07-11 Tom Tromey <tromey@redhat.com>
17468
17469 * gdb.base/completion.exp: Add 'help' completion test.
17470
981505ef
JK
174712008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17472
17473 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
17474
10568435
JK
174752008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17476
17477 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
17478
4487aabf
PA
174792008-07-09 Pedro Alves <pedro@codesourcery.com>
17480
17481 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
17482
a4a9b1c4
PA
174832008-07-09 Pedro Alves <pedro@codesourcery.com>
17484
17485 * gdb.base/fullname.exp: Restore pwd if compiling failed.
17486
3c3185ac
JK
174872008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17488
17489 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
17490
7ebd49dc
VP
174912008-06-28 Vladimir Prus <vladimir@codesourcery.com>
17492
17493 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
17494 previous commit. Add a comment.
17495
84e46146
PA
174962008-06-28 Pedro Alves <pedro@codesourcery.com>
17497
17498 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
17499
0f8d4a2f
VP
175002008-06-28 Vladimir Prus <vladimir@codesourcery.com>
17501
17502 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
17503
f747e0ce
PA
175042008-06-27 Pedro Alves <pedro@codesourcery.com>
17505
17506 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
17507 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
17508 compiling an executable, link in an object that forces unbuffered
17509 output.
17510 * lib/set_unbuffered_mode.c: New file.
17511
734a5c36
JK
175122008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17513
17514 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
17515
a2840c35
VP
175162008-06-25 Vladimir Prus <vladimir@codesourcery.com>
17517
a9c64011
AS
17518 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
17519 mi_expect_stop.
17520 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
17521 Demand that *running is output.
17522 (detect_async): Perform checking every time.
17523 (mi_send_resuming_command): Extract everything into...
17524 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
17525 (mi_expect_stop): Don't accept any output before *stopped.
17526
6ae37fef
VP
175272008-06-13 Vladimir Prus <vladimir@codesourcery.com>
17528
17529 Robustify mi-simplerun.
a9c64011
AS
17530 * gdb.mi/basics.c (main): Add a call to sleep.
17531 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
17532 * gdb.mi/mi2-cli.exp: Likewise.
17533 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 17534
b4aa76f0 175352008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
17536
17537 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
17538
e1ac3328
VP
175392008-06-10 Vladimir Prus <vladimir@codesourcery.com>
17540
a9c64011
AS
17541 * gdb.mi/mi-console.exp: Adjust.
17542 * gdb.mi/mi-syn-frame.exp: Adjust.
17543 * gdb.mi/mi2-console.exp: Adjust.
17544 * gdb.mi/mi2-syn-frame.exp: Adjust.
17545 * lib/mi-support.exp (mi_run_cmd): Adjust.
17546 (mi_send_resuming_command): Adjust.
e1ac3328 17547
f7f9a841
VP
175482008-06-10 Vladimir Prus <vladimir@codesourcery.com>
17549
17550 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
17551 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
17552 testing of stopped.
17553 * gdb.mi/mi2-syn-frame.exp: Likewise.
17554 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
17555 (async, detect_async): New.
17556 (mi_expect_stop, mi_continue_to_line): Adjust expectation
17557 depending on if we're running in sync or async mode.
f7f9a841 17558
37cd5d19
TT
175592008-06-09 Tom Tromey <tromey@redhat.com>
17560
17561 * gdb.base/completion.exp: New tests for field name completion
17562 with spaces, and field name completion with '->'.
17563
65d12d83
TT
175642008-06-06 Tom Tromey <tromey@redhat.com>
17565
17566 * gdb.base/break1.c (struct some_struct): New struct.
17567 (values): New global.
17568 * gdb.base/completion.exp: Add field name completion test.
17569
ebfe2e3f
PP
175702008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17571
17572 * gdb.cp/call-c.exp: Test for incorrect handling of reference
17573 to pointer.
17574 * gdb.cp/call-c.cc: Likewise.
17575
bcf6fc3a
NR
175762008-06-06 Nick Roberts <nickrob@snap.net.nz>
17577
17578 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
17579 annotation.
17580
49fd4a42 175812008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 17582 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
17583
17584 * gdb.threads/execl.c, gdb.threads/execl1.c,
17585 gdb.threads/execl.exp: New tests.
a9c64011 17586
8a34ac3f
AR
175872008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
17588 Daniel Jacobowitz <dan@codesourcery.com>
17589
17590 * gdb.cp/exception.exp: Activate test, make it work with pending
17591 catchpoints.
17592
86ae69ef
JK
175932008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
17594
17595 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
17596
f7f9ae2c
VP
175972008-05-28 Vladimir Prus <vladimir@codesourcery.com>
17598
a9c64011
AS
17599 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
17600 now printed.
17601 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 17602
2a2d4dc3
AS
176032008-05-27 Andreas Schwab <schwab@suse.de>
17604
17605 * gdb.base/frame-args.exp: Handle arguments that are optimized
17606 out.
17607
5099e4d9
LM
176082008-05-26 Luis Machado <luisgpm@br.ibm.com>
17609
17610 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
17611 quiet for ppc32 and group options into a single variable.
17612
d9c36a91
JB
176132008-05-23 Joel Brobecker <brobecker@adacore.com>
17614
17615 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
17616 of zero-size elements.
17617 * gdb.ada/null_array.exp: Test printing this new array.
17618
103a8671
JK
176192008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17620
17621 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
17622
07a4cc1a 176232008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
17624
17625 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
17626 of the "finish" command.
17627
55f996a7
NR
176282008-05-21 Nick Roberts <nickrob@snap.net.nz>
17629
17630 * gdb.base/annota1.exp: Test for new annotation.
17631
907fc202
UW
176322008-05-16 Pedro Alves <pedro@codesourcery.com>
17633
17634 * gdb.base/fixsection.exp: New file.
17635 * gdb.base/fixsection0.c: New file.
17636 * gdb.base/fixsection1.c: New file.
17637
e8f97270
UW
176382008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17639
17640 * gdb.base/annota1.exp: Accept printf@... in place of printf.
17641 * gdb.base/annota3.exp: Likewise.
17642
ac0bb574
NF
176432008-05-13 Nathan Froyd <froydnj@codesourcery.com>
17644
17645 * gdb.base/watch_thread_num.exp: Don't run tests that require
17646 watchpoints if the target doesn't support them.
17647
6fadd07a
DE
176482008-05-12 Doug Evans <dje@google.com>
17649
17650 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
17651
6e9a4a30
JB
176522008-05-09 Joel Brobecker <brobecker@adacore.com>
17653
17654 * gdb.ada/assign_1.exp: New testcase.
17655
08388c79
DE
176562008-05-09 Doug Evans <dje@google.com>
17657
a3c83fae
DE
17658 * gdb.base/find.exp: New file.
17659 * gdb.base/find.c: New file.
08388c79 17660
bd5ddfe8
DJ
176612008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
17662
17663 * gdb.base/commands.exp (watchpoint_command_test): Handle
17664 gdb,no_hardware_watchpoints.
17665 * gdb.base/float.exp: Allow ARM targets without floating point.
17666 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
17667
b5dd68e2 176682008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 17669 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
17670
17671 * gdb.ada/lang_switch: New test program.
17672 * gdb.ada/lang_switch.exp: New testcase.
17673
382d13d1
DE
176742008-05-05 Doug Evans <dje@google.com>
17675
17676 * gdb.base/help.exp (disassemble): Update expected help text.
17677
9dd789d0
PA
176782008-05-04 Pedro Alves <pedro@codesourcery.com>
17679
17680 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
17681
611c83ae
PA
176822008-05-04 Pedro Alves <pedro@codesourcery.com>
17683
17684 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
17685 different times.
17686
ff013f42
JK
176872008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17688
17689 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
17690 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
17691 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
17692 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
17693
96dff6a2
VP
176942008-05-04 Vladimir Prus <vladimir@codesourcery.com>
17695
17696 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
17697 notification to appear.
17698
55cd6f92
DJ
176992008-05-04 Daniel Jacobowitz <dan@debian.org>
17700
17701 * gdb.base/fullname.c: New file.
17702 * gdb.base/fullname.exp: New file.
17703 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
17704
d705c43c
PA
177052008-05-03 Pedro Alves <pedro@codesourcery.com>
17706
17707 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
17708 expressions with macros.
17709
333222e1
JK
177102008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17711
17712 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
17713
5ac01682
DJ
177142008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
17715
17716 * gdb.base/completion.exp: Handle lack of other symbols beginning
17717 with "a".
17718
17719 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
17720
237fc4c9
PA
177212008-05-02 Jim Blandy <jimb@codesourcery.com>
17722
17723 * gdb.asm/asmsrc1.s: Add scratch space.
17724
ed5e9466
DJ
177252008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17726 Daniel Jacobowitz <dan@codesourcery.com>
17727
17728 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
17729 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
17730 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
17731
b39cc962
DJ
177322007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
17733
17734 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
17735
36d520f5
JB
177362008-05-01 Joel Brobecker <brobecker@adacore.com>
17737
17738 * gdb.base/info-target.exp: New testcase.
17739
8d4e3071
DJ
177402008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17741
17742 * gdb.cp/hang.exp: Use .cc instead of .C.
17743 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
17744 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
17745
6f3f3097
DJ
177462008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17747
17748 * gdb.base/gdb1250.exp: Remove perror.
17749 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
17750
5550a914
PA
177512008-04-30 Pedro Alves <pedro@codesourcery.com>
17752
17753 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
17754 .2byte.
17755
d848e687
DJ
177562008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
17757
17758 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
17759 (maybe_kfail): New.
17760
93b5768b
PA
177612008-04-25 Pedro Alves <pedro@codesourcery.com>
17762
17763 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
17764
721c02de
VP
177652008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17766
a9c64011
AS
17767 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
17768 * gdb.mi/mi2-syn-frame.exp: Likewise.
17769 * lib/mi-support.exp: Likewise.
721c02de 17770
74960c60
VP
177712008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17772
17773 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
17774 to specify regexp for the location to stop at.
17775 * gdb.base/break-always.c: New.
17776 * gdb.base/break-always.exp: New.
17777
d24317b4
VP
177782008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17779
17780 * lib/mi-support.exp (mi_runto_helper): Adjust
17781 for the original-location field.
17782 (mi_create_breakpoint, mi_list_breakpoints): New.
17783 * gdb.mi/mi-break.exp: Adjust.
17784 * gdb.mi/mi2-break.exp: Adjust.
17785 * gdb.mi/mi-pending.exp: Adjust.
17786 * gdb.mi/mi-simplerun.exp: Adjust.
17787 * gdb.mi/mi2-simplerun.exp: Adjust.
17788 * gdb.mi/mi-syn-frame.exp: Adjust.
17789 * gdb.mi/mi2-syn-frame.exp: Adjust.
17790 * gdb.mi/mi-until.exp: Adjust.
17791 * gdb.mi/mi2-until.exp: Adjust.
17792 * gdb.mi/mi-var-display.exp: Adjust.
17793 * gdb.mi/mi2-var-display.exp: Adjust.
17794 * gdb.mi/mi-watch.exp: Adjust.
17795 * gdb.mi/mi2-watch.exp: Adjust.
17796
fdc59709 177972008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 17798
a9c64011
AS
17799 * aclocal.m4: Add override.m4.
17800 * configure: Regenerate.
fdc59709 17801
8e91f023
VP
178022008-04-19 Vladimir Prus <vladimir@codesourcery.com>
17803
17804 * gdb.mi/var-cmd.c (do_at_tests): Verify that
17805 '-var-update --all-values' reports new value even the type
17806 of a variable object has changed.
17807
233a11ab
CS
178082008-04-18 Craig Silverstein <csilvers@google.com>
17809
17810 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
17811 files.
d24317b4 17812
9c1137ad
JB
178132008-04-18 Joel Brobecker <brobecker@adacore.com>
17814
17815 * gdb.ada/atomic_enum: New test program.
17816 * gdb.ada/atomic_enum.exp: New testcase.
17817
66d0bbc7
DE
178182008-04-17 Doug Evans <dje@google.com>
17819
17820 * gdb.opt/Makefile.in: Fix whitespace.
17821
100906b0
UW
178222008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
17823
17824 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
17825
4584e32e
DE
178262008-04-17 Doug Evans <dje@google.com>
17827
17828 * gdb.base/hashline1.exp: New testcase.
17829 * gdb.base/hashline2.exp: New testcase.
17830 * gdb.base/hashline2.exp: New testcase.
17831
0a320680
PA
178322008-04-17 Pedro Alves <pedro@codesourcery.com>
17833
17834 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
17835
18ac113b
AR
178362008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
17837
17838 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
17839 temporary breakpoint to match "Temporary breakpoint".
17840 * gdb.base/break.exp (delete_breakpoints): Likewise.
17841 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
17842 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
17843 * gdb.base/display.exp: Likewise.
17844 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
17845 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
17846 * gdb.base/restore.exp (restore_tests): Likewise.
17847 * gdb.base/sepdebug.exp: Likewise.
17848 * gdb.base/watchpoint.exp: Likewise.
17849 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
17850 * gdb.mi/mi-pending.exp: Likewise.
17851 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
17852 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
17853 * gdb.mi/mi-var-cmd.exp: Likewise.
17854 * gdb.mi/mi-var-display.exp: Likewise.
17855 * gdb.mi/mi2-cli.exp: Likewise.
17856 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
17857 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
17858 * gdb.mi/mi2-var-display.exp: Likewise.
17859 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
17860 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
17861 new "disp" field.
a9c64011 17862 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
17863 reason. This is to support fix for PR2424.
17864
add38693
JK
178652008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17866
17867 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
17868
fcacd99f
VP
178692008-04-13 Vladimir Prus <vladimir@codesourcery.com>
17870
17871 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 17872 field. Add more floating varobj tests.
fcacd99f 17873 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
17874 field.
17875 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
17876 (main): Call do_at_tests.
17877 * lib/mi-support.exp (mi_create_floating_varobj)
17878 (mi_varobj_update_with_type_change): New.
fcacd99f 17879
de051565
MK
178802008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
17881
17882 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
17883 option of -var-evaluate-expression.
17884 * gdb.mi/mi2-var-display.exp: Likewise.
17885
dbc52822
VP
178862008-04-07 Vladimir Prus <vladimir@codesourcery.com>
17887
17888 Introduce test setup helpers.
a9c64011
AS
17889 * lib/gdb.exp (build_executable, clean_restart)
17890 (prepare_for_testing): New.
17891 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
17892 * gdb.base/return.exp: Likewise.
17893 * gdb.base/ending-run.exp: Likewise.
dbc52822 17894
473591da
NR
178952008-04-07 Nick Roberts <nickrob@snap.net.nz>
17896
17897 * gdb.mi/mi-async.exp: New test for asynchronous Machine
17898 Interface (MI) responses.
17899
2b2d9e11
VP
179002008-04-06 Vladimir Prus <vladimir@codesourcery.com>
17901
a9c64011
AS
17902 * gdb.cp/breakpoint.cc: New code to test conditions involving
17903 member variables.
17904 * gdb.cp/breakpoint.exp: Test condition involving member
17905 variables.
2b2d9e11 17906
bb378428
VP
179072008-04-05 Vladimir Prus <vladimir@codesourcery.com>
17908
17909 * lib/mi-support.exp (mi_expect_stop): New.
17910 (mi_run_cmd): Change the
17911 token. Use mi_send_resuming_command, use
17912 mi_expect_stop.
17913 (mi_execute_to_helper): Rename to mi_execute_to.
17914 (mi_send_resuming_command): Add more error patterns.
17915 (mi_wait_for_stop): Renamed to...
17916 (mi_get_stop_line): ...this.
17917 (mi_run_inline_test): Adjust.
17918
17919 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
17920 * gdb.mi/mi-console.exp: Likewise.
17921 * gdb.mi/mi-pending.exp: Likewise.
17922 * gdb.mi/mi-simplerun.exp: Likewise.
17923 * gdb.mi/mi-stack.exp: Likewise.
17924 * gdb.mi/mi-stepi.exp: Likewise.
17925 * gdb.mi/mi-syn-frame.exp: Add comment.
17926 * gdb.mi/mi-until.exp: Likewise.
17927 * gdb.mi/mi-var-display.exp: Likewise.
17928 * gdb.mi/mi-watch.exp: Likewise.
17929 * gdb.mi/mi2-cli.exp: Likewise.
17930 * gdb.mi/mi2-console.exp: Likewise.
17931 * gdb.mi/mi2-simplerun.exp: Likewise.
17932 * gdb.mi/mi2-stack.exp: Likewise.
17933 * gdb.mi/mi2-stepi.exp: Likewise.
17934 * gdb.mi/mi2-until.exp: Likewise.
17935 * gdb.mi/mi2-var-display.exp: Likewise.
17936 * gdb.mi/mi2-watch.exp: Likewise.
17937
62172bb9
UW
179382008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17939
17940 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
17941
17942 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
17943
a13e061a
PA
179442008-04-04 Pedro Alves <pedro@codesourcery.com>
17945
17946 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
17947 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
17948 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17949 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
17950 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
17951 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
17952 expect an mi error duplicated in stderr.
17953
eae06beb
JB
179542008-04-03 Joel Brobecker <brobecker@adacore.com>
17955
17956 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
17957 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
17958 Add a couple of tests that verify the behavior when the new setting
17959 is set to "cancel" and "all".
17960 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
17961 "ask" before we start the testing.
17962
79c6ced6
AR
179632008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
17964
17965 * gdb.cp/casts.cc: Add class reference variables.
17966 * gdb.cp/casts.exp: New test cases for up/down casting references.
17967
6c2d1a6b
MK
179682008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
17969
17970 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
17971 instead of beginning to make an extra test pass.
17972 * gdb.mi/mi2-var-display.exp: Likewise.
17973
55b411d9
MR
179742008-03-31 Maciej W. Rozycki <macro@mips.com>
17975
17976 * gdb.base/break.exp: Mark failures as such. Fix formatting.
17977
c6140da2
MD
179782008-03-31 Markus Deuling <deuling@de.ibm.com>
17979 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17980
17981 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
17982 value. Add xfail for older kernels.
17983
79732189
AR
179842008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
17985
17986 Bring mi-support in line with gdb.exp.
17987 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
17988 (mi_gdb_start): New function.
17989
33c3676e
MR
179902008-03-28 Maciej W. Rozycki <macro@mips.com>
17991
17992 * gdb.mi/mi-var-cmd.exp: Fix a typo.
17993
92e28119
VP
179942008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17995
17996 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
17997 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 17998
9e8e3afe
VP
179992008-03-26 Vladimir Prus <vladimir@codesourcery.com>
18000
18001 * lib/mi-support.exp (mi_create_varobj_checked): New.
18002 (mi_list_varobj_children): Allow to check for a
18003 value.
18004 (mi_list_array_varobj_children): New.
18005
18006 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
18007 and mi_list_varobj_children, as opposed to hardcoding
18008 expected strings.
18009 * gdb.mi/gdb701.exp: Likewise.
18010 * gdb.mi/gdb792.exp: Likewise.
18011 * gdb.mi/mi-var-block.exp: Likewise.
18012 * gdb.mi/mi-var-cmd.exp: Likewise.
18013 * gdb.mi/mi-var-invalidate.exp: Likewise.
18014 * gdb.mi/mi2-var-block.exp: Likewise.
18015 * gdb.mi/mi2-var-child.exp: Likewise.
18016 * gdb.mi/mi2-var-cmd.exp: Likewise.
18017 * gdb.mi/mi2-var-display.exp: Likewise.
18018
9df50351
JK
180192008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18020
18021 Fix random false FAILs on i386.
18022 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
18023
31e5d73a
DJ
180242008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
18025
18026 PR gdb/544
18027 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
18028
12f4afab
DJ
180292008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
18030
18031 PR gdb/544
18032 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
18033
b562a0cb
DJ
180342008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
18035
18036 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
18037 fixed PR gdb/544.
18038
17faa917
DJ
180392008-03-21 Pedro Alves <pedro@codesourcery.com>
18040
18041 * gdb.threads/fork-child-threads.exp: Test next over fork.
18042
6214f497
DJ
180432008-03-21 Chris Demetriou <cgd@google.com>
18044
18045 * gdb.base/break.exp (rbreak junk): New test for rbreak
18046 "Junk at end of arguments" issue.
18047
63092375
DJ
180482008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
18049
18050 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
18051 *& to work on created array elements.
18052 (Top level): Test print $pc with a file. Test string operations
18053 without a target.
18054 * gdb.base/ptype.exp: Do not expect *& to work on created array
18055 elements.
18056
b21991b0
DJ
180572008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
18058
18059 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
18060 gdb.threads/staticthreads.exp: Update exit query.
18061
c4b347c7
SL
180622008-03-07 Sandra Loosemore <sandra@codesourcery.com>
18063
18064 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
18065
fa4727a6
DJ
180662008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
18067
18068 * gdb.base/watchpoint.c (global_ptr, func4): New.
18069 (main): Call func4.
18070 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
18071 (test_inaccessible_watchpoint): New.
18072
2f34202f
MR
180732008-02-29 Maciej W. Rozycki <macro@mips.com>
18074
18075 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
18076 select the largest.
18077
0d6ba1b1
DJ
180782008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
18079
18080 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
18081 frames-invalid annotations.
18082
e691325a
PM
180832008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
18084
a9c64011 18085 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 18086
f85b5ecc
DE
180872008-02-27 Doug Evans <dje@google.com>
18088
18089 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
18090 for bug 1738.
18091 (breakpoint_to_handler_entry): Ditto.
18092
b40e7bf3
JB
180932008-02-27 Joel Brobecker <brobecker@adacore.com>
18094
18095 * gdb.base/ending-run.exp: Use the first line of code inside
18096 function body to test breakpoints.
18097 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
18098 location where the breakpoint is inserted when using the line
18099 where a function is declared. Fix typo in the description of
18100 one of the tests.
18101 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
18102
2faca73a
PM
181032008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
18104
18105 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 18106 tests.
2faca73a 18107
6f439c36
PM
181082008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
18109
18110 * gdb.base/args.exp: avoid same output for tests
18111 with single quotes.
18112
54e52265
VP
181132008-02-26 Vladimir Prus <vladimir@codesourcery.com>
18114
a9c64011
AS
18115 * gdb.base/annota1.exp: Adjust for 'info break'
18116 format changes.
18117 * gdb.base/annota3.exp: Likewise.
18118 * gdb.base/break.exp: Likewise.
18119 * gdb.base/condbreak.exp: Likewise.
18120 * gdb.base/pending.exp: Likewise.
18121 * gdb.base/sepdebug.exp: Likewise.
18122 * gdb.base/unload.exp: Likewise.
18123 * gdb.cp/ovldbreak.exp: Likewise.
18124 * gdb.mi/mi-pending.exp: Likewise.
54e52265 18125
897b09ca
DE
181262008-02-07 Doug Evans <dje@google.com>
18127
18128 * gdb.cp/mb-inline.exp: New.
18129 * gdb.cp/mb-inline.h: New.
18130 * gdb.cp/mb-inline1.cc: New.
18131 * gdb.cp/mb-inline2.cc: New.
18132
b1c32d35
PM
181332008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
18134
18135 * gdb.pascal/floats.pas: New test program.
18136 * gdb.pascal/floats.exp: New testcase.
18137
1a4ca44a
TJB
181382008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
18139
18140 * gdb.base/callfuncs.c (t_float_many_args): New function.
18141 (t_double_many_args): New function.
18142 * gdb.base/callfuncs.exp: Add tests for exceeding float
18143 and double parameters passed through the stack.
18144
439048e8
JB
181452008-02-05 Joel Brobecker <brobecker@adacore.com>
18146
18147 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
18148 gdb.ada/complete/foo.adb: New files.
18149 * gdb.ada/complete.exp: New testcase.
18150
81fe8080
DE
181512008-02-03 Doug Evans <dje@google.com>
18152
301f0ecf
DE
18153 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
18154
81fe8080
DE
18155 * gdb.cp/gdb2384.exp: New file.
18156 * gdb.cp/gdb2384.cc: New file.
18157 * gdb.cp/gdb2384-base.h: New file.
18158 * gdb.cp/gdb2384-base.cc: New file.
18159
4b071aec
DE
181602008-02-02 Doug Evans <dje@google.com>
18161
18162 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
18163
61137ba6
JB
181642007-02-01 Joel Brobecker <brobecker@adacore.com>
18165
18166 * gdb.ada/sym_print_name: New test program.
18167 * gdb.ada/sym_print_name.exp: New testcase.
18168
181692007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
18170
18171 * gdb.ada/nested/hello.adb: New file.
18172 * gdb.ada/nested.exp: New testcase.
18173 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
18174
98deb0da
VP
181752008-02-01 Vladimir Prus <vladimir@codesourcery.com>
18176
18177 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
18178 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
18179 don't cause future evaluations of function to report
18180 creation of internal breakpoints.
98deb0da 18181
723a2275
VP
181822008-02-01 Vladimir Prus <vladimir@codesourcery.com>
18183
18184 * gdb.mi/mi-break.exp (test_error): New.
18185 Call it.
18186
fb546a2f
LM
181872008-01-31 Luis Machado <luisgpm@br.ibm.com>
18188
18189 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
18190 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
18191
2d8fd90a
PM
181922008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
18193
18194 * gdb.pascal/integers.pas: New test program.
18195 * gdb.pascal/integers.exp: New testcase.
18196
a7fa0ded
PM
181972008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
18198
18199 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
18200
5e1a1926
TJB
182012008-01-30 Luis Machado <luisgpm@br.ibm.com>
18202
18203 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
18204 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
18205
8d04f9f0
JB
182062008-01-30 Paul Hilfinger <hilfinger@adacore.com>
18207
18208 * gdb.ada/formatted_ref: New test program.
18209 * gdb.ada/formatted_ref.exp: New testcase.
18210
18211 * gdb.cp/formatted-ref.cc: New file.
18212 * gdb.cp/formatted-ref.exp: New testcase.
18213
ce75a98f
JB
182142008-01-30 Joel Brobecker <brobecker@adacore.com>
18215
18216 * gdb.base/ptype.exp: Add testing of "ptype $pc".
18217
e835f6bf
NR
182182008-01-30 Nick Roberts <nickrob@snap.net.nz>
18219
18220 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
18221 (test_file_list_exec_source_file): Update to new macro-info field.
18222
d118ef87
PH
182232008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
18224
18225 * gdb.ada/exprs: New test program.
18226 * gdb.ada/exprs.exp: New testcase.
18227
7d35ab09
TJB
182282008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
18229
18230 * dfp-test.c (DELTA, DELTA_B): New definitions.
18231 (double_val1, double_val2, double_val3, double_val4, double_val5,
18232 double_val6, double_val7, double_val8, double_val9, double_val10,
18233 double_val11, double_val12, double_val13, double_val14, dec32_val1,
18234 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
18235 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
18236 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
18237 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
18238 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
18239 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
18240 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
18241 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
18242 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
18243 dec128_val16): New global variables.
18244 (decimal_dec128_align): New function.
18245 (decimal_mixed): Likewise.
18246 (decimal_many_args_dec32): Likewise.
18247 (decimal_many_args_dec64): Likewise.
18248 (decimal_many_args_dec128): Likewise.
18249 (decimal_many_args_mixed): Likewise.
18250 * dfp-test.exp: Add tests calling new inferior functions.
18251
2d717e4f
DJ
182522008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18253
18254 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
18255 gdb.server/ext-run.exp: New files.
18256 * lib/gdbserver-support.exp (gdbserver_download): New.
18257 (gdbserver_start): New. Update gdbserver expected
18258 output.
18259 (gdbserver_spawn): Use them.
18260 (gdbserver_start_extended): New.
18261
e85a822c
DJ
182622008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18263
18264 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
18265 Run on GNU/Linux.
18266 (do_exec_tests): Check for systems which do not support catchpoints.
18267 Do not match START.
18268 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
18269 Run on GNU/Linux. Enable verbose output.
18270 (check_fork_catchpoints): New.
18271 (explicit_fork_child_follow, catch_fork_child_follow)
18272 (tcatch_fork_parent_follow): Update expected messages.
18273 (do_fork_tests): Use check_fork_catchpoints.
18274 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
18275 Run on GNU/Linux. Enable verbose output.
18276 (check_vfork_catchpoints): New.
18277 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
18278 expected messages.
18279 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
18280
401ea829
JB
182812008-01-29 Jim Blandy <jimb@red-bean.com>
18282
18283 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
18284 host' errors.
18285 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
18286
aceaf3ad
JB
182872008-01-29 Jim Blandy <jimb@red-bean.com>
18288
18289 * gdb.threads/sigthread.c: Use barriers to ensure that
18290 child_thread and child_thread_two are always initialized before we
18291 start to use them.
18292
a5606eee
VP
182932008-01-29 Vladimir Prus <vladimir@codesourcery.com>
18294
18295 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
18296 * gdb.base/watchpoint-solib.c: New.
18297 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 18298
c55a82bb
PM
182992008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
18300
18301 * gdb.base/gdb1056.exp: Add unsigned integer test.
18302
0993fe05
DE
183032008-01-28 Doug Evans <dje@google.com>
18304
18305 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
18306
4fe42e7f
JB
183072008-01-27 Jim Blandy <jimb@codesourcery.com>
18308
c7a69933
JB
18309 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
18310
4fe42e7f
JB
18311 * gdb.base/expand-psymtabs.exp: Doc fix.
18312
5def8285
MK
183132008-01-26 Mark Kettenis <kettenis@gnu.org>
18314
18315 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18316
5313c911
NR
183172008-01-24 Nick Roberts <nickrob@snap.net.nz>
18318
a9c64011 18319 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
18320 -var-set-format.
18321
93815fbf
VP
183222008-01-23 Chris Demetriou <cgd@google.com>
18323
18324 * gdb.threads/thread_events.c: New testcase source file.
18325 * gdb.threads/thread_events.exp: New testcase expect file.
18326
467a88ee
NR
183272008-01-23 Nick Roberts <nickrob@snap.net.nz>
18328
18329 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
18330
18331 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
18332 -var-set-format.
18333
d8f82aba
DJ
183342008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18335 Vladimir Prus <vladimir@codesourcery.com>
18336
18337 * gdb.base/float.exp: Allow missing floating point for m68k and
18338 PowerPC.
18339
60c46647
VP
183402008-01-22 Vladimir Prus <vladimir@codesourcery.com>
18341
18342 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
18343 ignore count.
18344 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
18345 * gdb.mi/mi-cli.exp: Adjust.
18346 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 18347
c7dd36a1
PA
183482008-01-17 Pedro Alves <pedro@codesourcery.com>
18349
18350 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
18351 and 'dummy_ptr' integer pointer. Initialize struct_declarations
18352 with dummy_ptr's address.
18353 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
18354 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
18355 all targets.
18356 * gdb.mi/mi2-var-child.exp: Likewise.
18357
39d5313e
JB
183582008-01-09 Joel Brobecker <brobecker@adacore.com>
18359
18360 * gdb.ada/null_array: New test program.
18361 * gdb.ada/null_array.exp: New testcase.
18362
0aea4bf3
LM
183632008-01-09 Luis Machado <luisgpm@br.ibm.com>
18364
18365 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
18366 with required float modifiers.
18367
0b354900
JB
183682008-01-08 Joel Brobecker <brobecker@adacore.com>
18369
18370 * gdb.ada/funcall_param: New test program.
18371 * gdb.ada/funcall_param.exp: New testcase.
18372
cdb7f5d4
JB
183732008-01-08 Joel Brobecker <brobecker@adacore.com>
18374
18375 * gdb.ada/arrayparam: New test program.
18376 * gdb.ada/arrayparam.exp: New testcase.
18377
88e2547f
JB
183782008-01-08 Joel Brobecker <brobecker@adacore.com>
18379
18380 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
18381 landed. Should also fix random failures in the test following it.
18382
f6867ce0
TJB
183832008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
18384
18385 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
18386 for expressions with decimal float values.
18387 (test_dfp_conversions): New function to test casts to and from
18388 decimal float types.
18389 Call test_dfp_conversions.
18390 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
18391 elements.
18392 (main): Initialize ds.float4 and ds.double8 elements.
18393 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
18394 string to new error message.
18395 (d64_set_tests): Likewise.
18396 (d128_set_tests): Likewise.
18397 Add tests for expressions with decimal float variables. Add tests for
18398 conversions to and from decimal float types.
18399
f9c11282
JB
184002008-01-05 Joel Brobecker <brobecker@adacore.com>
18401
18402 * gdb.ada/packed_tagged/comp_bug.adb: New file.
18403 * gdb.ada/packed_tagged.exp: New testcase.
18404
0ecbca72
JB
184052008-01-04 Joel Brobecker <brobecker@adacore.com>
18406
18407 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
18408 gdb.ada/homonym/homonym_main.adb: New files.
18409 * gdb.ada/homonym.exp: New testcase.
18410
c18d3d89
JB
184112008-01-04 Joel Brobecker <brobecker@adacore.com>
18412
18413 * gdb.ada/packed_array.exp: Add testing of references to
18414 a packed array.
18415
ecc7085b
JB
184162008-01-04 Joel Brobecker <brobecker@adacore.com>
18417
18418 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
18419 New files.
18420 * gdb.ada/type_coercion.exp: New testcase.
18421
c474c922
JB
184222008-01-04 Joel Brobecker <brobecker@adacore.com>
18423
18424 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
18425 gdb.ada/tagged/foo.adb: New file.
18426 * gdb.ada/tagged.exp: New testcase.
18427
9005b927
JB
184282008-01-04 Joel Brobecker <brobecker@adacore.com>
18429
18430 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
18431 gdb.ada/ptype_field/foo.adb: New files.
18432 * gdb.ada/ptype_field.exp: New testcase.
18433
1a6aaad8
JB
184342008-01-03 Joel Brobecker <brobecker@adacore.com>
18435
18436 * gdb.ada/print_pc.exp: New testcase.
18437
0ef22f53
JB
184382008-01-03 Joel Brobecker <brobecker@adacore.com>
18439
18440 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
18441 gdb.ada/taft_type/p.adb: New files.
18442 * gdb.ada/taft_type.exp: New testcase.
18443
1689ecf8
JB
184442008-01-03 Joel Brobecker <brobecker@adacore.com>
18445
18446 * gdb.ada/array_bounds/bar.adb: New file.
18447 * gdb.ada/array_bounds.exp: New testcase.
18448
a4d0b9c3
JB
184492008-01-03 Joel Brobecker <brobecker@adacore.com>
18450
18451 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
18452 gdb.ada/arrayptr/foo.adb: New files.
18453 * gdb.ada/arrayptr.exp: New testcase.
18454
a31ace00
JB
184552008-01-03 Joel Brobecker <brobecker@adacore.com>
18456
18457 * gdb.base/set-lang-auto.exp: New testcase.
18458
a97fced3
JB
184592008-01-03 Joel Brobecker <brobecker@adacore.com>
18460
18461 * gdb.ada/fun_addr/foo.adb: New file.
18462 * gdb.ada/fun_addr.exp: New testcase.
18463
ef29ce1a
JK
184642008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18465
18466 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
18467 New files
18468
0fafefe3
JB
184692008-01-02 Joel Brobecker <brobecker@adacore.com>
18470
18471 * array_subscript_addr/p.adb: New file.
a9c64011 18472 * array_subscript_addr.exp: New testcase.
0fafefe3 18473
c4359f8d
JB
184742008-01-02 Joel Brobecker <brobecker@adacore.com>
18475
a9c64011 18476 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
18477 New files.
18478 * gdb.ada/str_cmp_ref.exp: New testcase.
18479
1aa1b15b
JB
184802008-01-01 Joel Brobecker <brobecker@adacore.com>
18481
18482 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
18483 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 18484 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 18485
81c9b2cf
JB
184862008-01-01 Joel Brobecker <brobecker@adacore.com>
18487
18488 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
18489 gdb.ada/ref_param/pck.ads: New files.
18490 * gdb.ada/ref_param.exp: New testcase.
18491
319e4674
JB
184922008-01-01 Joel Brobecker <brobecker@adacore.com>
18493
18494 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
18495 gdb.ada/interface/foo.adb: New files.
18496 * gdb.ada/interface.exp: New testcase.
18497
ef682c56
JB
184982007-12-31 Jim Blandy <jimb@codesourcery.com>
18499
18500 * gdb.base/multi-forks.exp: Consume all output from child
18501 processes before proceeding to next test.
18502
f6f3eb6c
JB
185032007-12-29 Jim Blandy <jimb@codesourcery.com>
18504
18505 * configure: Regenerated.
18506
f652e42f
JB
185072007-12-27 Joel Brobecker <brobecker@adacore.com>
18508
18509 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
18510 gdb.ada/fixed_cmp/fixed.adb: New files.
18511 * gdb.ada/fixed_cmp.exp: New testcase.
18512
6943e596
JB
185132007-12-27 Joel Brobecker <brobecker@adacore.com>
18514
18515 * gdb.ada/boolean_expr.exp: New testcase.
18516
aad9a193
JB
185172007-12-26 Jim Blandy <jimb@codesourcery.com>
18518
18519 * gdb.base/multi-forks.exp: Doc fix.
18520
fb5f3683
JB
185212007-12-26 Joel Brobecker <brobecker@adacore.com>
18522
18523 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
18524 * gdb.ada/char_param.exp: Do not compile our test program with
18525 -gnata, this is unnecessary.
18526 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
18527
384e4a9c
JB
185282007-12-24 Joel Brobecker <brobecker@adacore.com>
18529
18530 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
18531 gdb.ada/print_chars/foo.adb: New files.
18532 * gdb.ada/print_chars.exp: New testcase.
18533
01e044f7
JB
185342007-12-24 Joel Brobecker <brobecker@adacore.com>
18535
18536 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
18537 gdb.ada/char_param/foo.adb: New files.
18538 * gdb.ada/char_param.exp: New testcase.
18539
0ce17860
JB
185402007-12-22 Jim Blandy <jimb@codesourcery.com>
18541
18542 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
18543 hard-coding source line numbers into the test.
18544 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
18545 gdb_get_line_number to find.
18546
919809b9
JB
185472007-12-22 Joel Brobecker <brobecker@adacore.com>
18548
18549 * gdb.base/ptype.c (highest): New struct type.
18550 (the_highest): New variable of that type.
18551 (main): Add dummy assignment to a field of variable the_highest.
18552 * gdb.base/ptype.exp: Test type printing of our new variable.
18553
abc8a88d
PM
185542007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
18555
18556 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 18557 and record first explicitly generated thread number.
abc8a88d
PM
18558 Use that thread number for thread specific watchpoint test.
18559 Add iteration number to repetitive tests.
18560
5158f3e3
CES
185612007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18562 Jim Blandy <jimb@codesourcery.com>
18563
18564 * gdb.base/expand-psymtabs.c: New testcase
18565 source file.
18566 * gdb.base/expand-psymtabs.exp: New testcase
18567 expect file.
18568
37e4754d
LM
185692007-12-17 Luis Machado <luisgpm@br.ibm.com>
18570
18571 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
18572 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
18573
551e5d04
JB
185742007-12-17 Joel Brobecker <brobecker@adacore.com>
18575
18576 * gdb.ada/frame_args/foo.adb: New file.
18577 * gdb.ada/frame_args/pck.ads: New file.
18578 * gdb.ada/frame_args/pck.adb: New file.
18579 * gdb.ada/frame_args.exp: New testcase.
18580
a05ee097
JB
185812007-12-17 Joel Brobecker <brobecker@adacore.com>
18582
18583 * gdb.base/frame-args.c: New file.
18584 * gdb.base/frame-args.exp: New testcase.
18585
c162e8c9 185862007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 18587 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
18588
18589 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
18590
afe8ab22 185912007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18592
afe8ab22
VP
18593 * gdb.mi/mi-pending.exp: New.
18594 * gdb.mi/mi-pending.c: New.
18595 * gdb.mi/mi-pendshr.c: New.
18596
dfdfb3ca
JB
185972007-12-06 Jim Blandy <jimb@codesourcery.com>
18598
18599 * gdb.base/default.exp: Update expected output for 'info catch'.
18600
b7fca990
JK
186012007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18602
18603 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
18604 must be set to binary.
18605
6a1afc1e
PA
186062007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
18607
18608 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
18609
a6b151f1
DJ
186102007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
18611
18612 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
18613 gdb.mi/mi-file-transfer.exp: New.
18614
43039443
JK
186152007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18616
18617 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
18618
0ef2251b
MR
186192007-11-22 Maciej W. Rozycki <macro@mips.com>
18620
18621 * gdb.trace/backtrace.exp: Fix a typo.
18622 * gdb.trace/circ.exp: Likewise.
18623 * gdb.trace/collection.exp: Likewise.
18624 * gdb.trace/limits.exp: Likewise.
18625 * gdb.trace/report.exp: Likewise.
18626 * gdb.trace/tfind.exp: Likewise.
18627 * gdb.trace/while-dyn.exp: Likewise.
18628
5443631e
NR
186292007-11-21 Nick Roberts <nickrob@snap.net.nz>
18630
18631 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
18632 objects of pointers that can't be dereferenced are now
18633 "noneditable".
18634
a4ce5b0d
UW
186352007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18636
18637 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
18638 (target_cpu): Remove.
18639
d6e956e5
VP
186402007-10-15 Vladimir Prus <vladimir@codesourcery.com>
18641
18642 * gdb.base/ending-run.exp: Expect the list of cleared
18643 breakpoint to come in natural order, not the reversed one.
a9c64011 18644
214270ab
VP
186452007-11-07 Vladimir Prus <vladimir@codesourcery.com>
18646
18647 * gdb.mi/mi-var-child.c (do_child_deletion): New.
18648 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 18649
1a619819
LM
186502007-11-05 Luis Machado <luisgpm@br.ibm.com>
18651
18652 * gdb.base/printcmds.exp: New function
18653 test_printf_with_dfp.
18654
5b01a6fa
DE
186552007-11-02 Doug Evans <dje@google.com>
18656
18657 * gdb.disasm/t01_mov.s: Remove carriage returns.
18658 * gdb.disasm/t02_mova.s: Ditto.
18659 * gdb.disasm/t03_add.s: Ditto.
18660 * gdb.disasm/t04_sub.s: Ditto.
18661 * gdb.disasm/t05_cmp.s: Ditto.
18662 * gdb.disasm/t06_ari2.s: Ditto.
18663 * gdb.disasm/t07_ari3.s: Ditto.
18664 * gdb.disasm/t08_or.s: Ditto.
18665 * gdb.disasm/t09_xor.s: Ditto.
18666 * gdb.disasm/t10_and.s: Ditto.
18667 * gdb.disasm/t11_logs.s: Ditto.
18668 * gdb.disasm/t12_bit.s: Ditto.
18669 * gdb.disasm/t13_otr.s: Ditto.
18670
ec33ab7f
JK
186712007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18672
18673 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
18674
ae0d01ff
UW
186752007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18676
18677 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
18678 provide DFP support.
18679
55eddb0f
DJ
186802007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
18681
18682 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
18683 Test "set powerpc vector-abi". Skip auto-detection tests for old
18684 toolchains.
18685
7020f05c
PA
186862007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18687
18688 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
18689 with [string compare].
18690
84bc3db9
PA
186912007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18692
18693 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
18694 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
18695
5876dc88
LM
186962007-10-25 Luis Machado <luisgpm@br.ibm.com>
18697
18698 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
18699 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
18700 * gdb.opt/Makefile.in: New makefile.
18701 * Makefile.in: Create new directory "gdb.opt".
18702 * configure.ac: Add "gdb.opt" directory.
18703 * configure: Regenerated.
a9c64011 18704
c3ea9a14
DE
187052007-10-25 Doug Evans <dje@google.com>
18706
18707 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
18708 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
18709
a9c64011 187102007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
18711 Thiago Jung Bauermann <bauerman@br.ibm.com>
18712
18713 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
18714 Floating Point expressions.
18715 * gdb.base/dfp-test.exp: new file adding tests for Decimal
18716 Floating Point variables.
18717 * gdb.base/dfp-test.c: new file containing program with Decimal
18718 Floating variables, used by gdb.base/dfp-test.exp.
18719
62a24a2b
DJ
187202007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
18721
18722 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
18723
e7b1eae6
UW
187242007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18725
18726 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
18727 compiling test case with GCC.
18728 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
18729
c641edcc
UW
187302007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18731
18732 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18733 format changes.
18734
5e5ebfe6
MS
187352007-10-18 Michael Snyder <msnyder@specifix.com>
18736
18737 * gdb.base/dbx.exp: Add missing "-re " operator.
18738
e831e7b6
GM
187392007-10-16 Gaius Mulley <gaius@glam.ac.uk>
18740
18741 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
18742 * configure.ac: Removed trailing spaces after backslash.
18743 * gdb.modula2: New directory.
18744 * gdb.modula2/Makefile.in: New file.
18745 * gdb.modula2/unbounded-array.exp: New file.
18746 * gdb.modula2/unbounded1.c: New file.
18747
7cc46491
DJ
187482007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
18749
18750 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
18751
187522007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
18753
18754 * gdb.base/sigstep.c (main): Add checks for
18755 return values for setitimer call.
18756 Call setitimer again with itimer = ITIMER_REAL
18757 if first call to setitimer fails.
18758
e91528f0
KH
187592007-10-11 Kazu Hirata <kazu@codesourcery.com>
18760
18761 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
18762 of $timeout.
18763
2ec9a4f8
DJ
187642007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18765
18766 * gdb.server/server-run.exp: Test for dynamic linker symbols.
18767
187682007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
18769
18770 * lib/gdb.exp (gdb_run_cmd): Move comment outside
18771 of gdb_expect call, to avoid interruption.
18772
64b2fa04
PA
187732007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
18774
18775 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
18776 (v_unsigned_long_long, v_long_long_array)
18777 (v_signed_long_long_array, v_unsigned_long_long_array)
18778 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
18779 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
18780 [!NO_LONG_LONG]: New.
18781 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
18782 v_long_long_member.
18783
18784 (v_long_long_func, v_signed_long_long_func)
18785 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
18786 (main) [!NO_LONG_LONG]: Initialize long long variants.
18787
18788 * gdb.base/whatis.exp: If board file requests no_long_long, build
18789 test with NO_LONG_LONG defined. Test long long, signed long long,
18790 and unsigned long long variants but only if board file doesn't
18791 disable it.
18792
a912286e 187932007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 18794 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
18795
18796 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
18797 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
18798 * configure: Regenerated.
18799 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
18800 gdb.pascal/types.exp, lib/pascal.exp: New files.
18801
471ba8c9
DJ
188022007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
18803
18804 * gdb.cp/classes.exp (do_tests): Always step to the line after the
18805 call.
18806 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
18807 to return to the call.
18808 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
18809 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
18810 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
18811 * gdb.mi/mi-until.exp (test_until): Likewise.
18812 * gdb.mi/mi2-until.exp (test_until): Likewise.
18813
fef8a650
DJ
188142007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
18815
18816 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
18817 two-char array.
18818 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
18819
d983da9c
DJ
188202007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
18821
18822 * gdb.threads/watchthreads.c (thread_function): Sleep between
18823 iterations.
18824 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
18825 at once for S/390. Generate matching fails and passes.
18826
17f62551
VP
188272007-09-27 Vladimir Prus <vladimir@codesourcery.com>
18828
18829 * gdb.mi/var-cmd.c (do_children_tests): Initialize
18830 the 'struct_declarations' variable to zeros.
a9c64011 18831
ed0616c6
VP
188322007-09-24 Vladimir Prus <vladimir@codesourcery.com>
18833
18834 * gdb.cp/mb-ctor.cc: New.
18835 * gdb.cp/mb-ctor.exp: New.
18836 * gdb.cp/mb-templates.cc: New.
18837 * gdb.cp/mb-templates.exp: New.
18838
41f1b697
DJ
188392007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
18840
18841 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
18842
3f213f78
PA
188432007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
18844
18845 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
18846 targets.
18847 * configure: Regenerate.
18848
0d381245 188492007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18850
0d381245
VP
18851 * gdb.base/annota1.exp: Adjust for 'info break'
18852 format changes.
18853 * gdb.base/annota3.exp: Likewise.
18854 * gdb.base/break.exp: Likewise.
18855 * gdb.base/condbreak.exp: Likewise.
18856 * gdb.base/pending.exp: Likewise.
18857 * gdb.base/sepdebug.exp: Likewise.
18858 * gdb.base/unload.exp: Likewise.
18859 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 18860
fe3f5fa8
VP
188612007-09-22 Vladimir Prus <vladimir@codesourcery.com>
18862
18863 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
18864 messages.
18865 * gdb.base/chng-syms.exp: Likewise.
18866 * gdb.base/unload.exp: Likewise.
a9c64011 18867
a75cf6c0
DJ
188682007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
18869
18870 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
18871
18ecae38
DJ
188722007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
18873
18874 * schedlock.c (NUM): Change to 1.
18875 (main): Use args[0] for the main thread.
18876 * schedlock.exp: Only expect two threads. Only issue one pass or fail
18877 regardless of the number of threads.
18878
5509918f
MR
188792007-09-14 Maciej W. Rozycki <macro@mips.com>
18880
4a543daf
MR
18881 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
18882 type down.
18883 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18884 test.
18885 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
18886 watchpoint type down.
18887 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18888 test.
18889
188902007-09-14 Maciej W. Rozycki <macro@mips.com>
18891
5509918f
MR
18892 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
18893 Move all the tests here and run them twice, once using software
18894 watchpoints and once using hardware watchpoints.
18895 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
18896
40b53987
DJ
188972007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
18898
18899 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
18900 test.
18901
695e2681
MK
189022007-09-10 Mark Kettenis <kettenis@gnu.org>
18903
8b3fc8d8
MK
18904 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
18905 build-id.
18906
695e2681
MK
18907 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
18908 know about $ORIGIN. Calculate output dir from $dest instead of
18909 using ${objdir}/{$subdir}.
18910
58d69f29
MK
189112007-09-09 Mark Kettenis <kettenis@gnu.org>
18912
18913 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
18914 gcore, before continuing with the test.
18915
3e347599
DJ
189162007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
18917
18918 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
18919 * gdb.mi/mi-watch.exp: Likewise.
18920
ea37ba09
DJ
189212007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18922 Jim Blandy <jimb@codesourcery.com>
18923
18924 * gdb.arch/i386-sse.exp: Do not expect character constants.
18925 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
18926 * gdb.base/display.exp: Allow print/s.
18927 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
18928 and unsigned char array changes.
18929
2025a643
DJ
189302007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18931
18932 * gdb.base/display.exp: Add tests for printf %p.
18933
26669a27
PA
189342007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
18935
18936 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
18937 the dll name to unicode.
18938
c8f021f8
JK
189392007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18940
18941 * gdb.base/default.exp (show version): Update the version text.
18942 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
18943
4cf31eea
JK
189442007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18945
18946 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
18947 New files.
18948
4935890f
JK
189492007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18950
18951 * lib/gdb.exp (build_id_debug_filename_get): New function.
18952 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
18953 Remove the generate DEBUG file for the future testcase runs.
18954 New testcase for the NT_GNU_BUILD_ID retrieval.
18955 Move the final testing step to ...
18956 (test_different_dir): ... a new function.
18957 New parameter XFAIL to XFAIL all the tests performed.
18958 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
18959 New parameter TYPE to PF_PREFIX all the tests performed.
18960
02142340
VP
189612007-08-31 Vladimir Prus <vladimir@codesourcery.com>
18962
18963 * gdb.mi/mi-var-cp.cc (path_expression): New
18964 function.
18965 * gdb.mi/mi-var-cp.exp: Run path exression tests.
18966
36acd84e
UW
189672007-08-27 Markus Deuling <deuling@de.ibm.com>
18968
18969 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
18970 to fit into SPU Local Store memory.
18971
a896d121
JB
189722007-08-23 Joel Brobecker <brobecker@adacore.com>
18973
18974 * gdb.base/default.exp: Adjust the expected output of "info
18975 warranty" after the switch to GPLv3.
18976
7b433602
JB
189772007-08-23 Joel Brobecker <brobecker@adacore.com>
18978
18979 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
18980 to 30000 (from 20000).
18981
e22f8b7c
JB
189822007-08-23 Joel Brobecker <brobecker@adacore.com>
18983
18984 Switch the license of all .exp files to GPLv3.
18985 Switch the license of all .f and .f90 files to GPLv3.
18986 Switch the license of all .s and .S files to GPLv3.
18987
5a0e3bd0
JB
189882007-08-23 Joel Brobecker <brobecker@adacore.com>
18989
18990 * configure.ac: Switch license to GPLv3.
18991
cc00619d
JB
189922007-08-23 Joel Brobecker <brobecker@adacore.com>
18993
18994 Switch the licensing to GPLv3 for all .ads and .adb files.
18995
8d26208a
DJ
189962007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
18997
18998 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
18999 and t_int_double.
19000 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
19001
4fcb9948
JB
190022007-08-17 Joel Brobecker <brobecker@adacore.com>
19003
19004 * gdb.base/step-line.c: Switch license to GPL version 3, and
19005 update copyright year.
19006 * gdb.base/step-line.inp: Likewise.
19007
b9c34f67
JB
190082007-08-17 Joel Brobecker <brobecker@adacore.com>
19009
19010 * gdb.base/gdb1555.exp: Make expected output immune to formatting
19011 changes inside gdb1555.c.
19012 * gdb.base/pending.exp: Likewise.
19013
2cc17678
DJ
190142007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
19015
19016 * config/default.exp: New file.
19017
e48883f7
DJ
190182007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19019
19020 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
19021 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
19022
1ab80e5b
MR
190232007-07-30 Maciej W. Rozycki <macro@mips.com>
19024
19025 * gdb.base/dump.exp: Force the correct endianness for binary
19026 formats not carrying this information.
19027
aba471f5
DJ
190282007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
19029
19030 * gdb.threads/staticthreads.exp: Match .*sem_post.
19031
d4e07204
DJ
190322007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
19033
19034 * gdb.base/readline.exp (operate_and_get_next): Match the final
19035 prompt.
19036
2b97317d
KB
190372007-07-23 Kevin Buettner <kevinb@redhat.com>
19038
19039 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
19040 to restarting SID.
19041
44efa07a
KB
190422007-07-18 Kevin Buettner <kevinb@redhat.com>
19043
19044 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
19045 prior to `gdb_start'.
19046
7b5ebade
KB
190472007-07-18 Kevin Buettner <kevinb@redhat.com>
19048
19049 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
19050 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
19051 Remove call to gdb_unload.
19052
255e7678
DJ
190532007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
19054 Daniel Jacobowitz <dan@codesourcery.com>
19055
19056 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
19057 for __WIN32__.
19058 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
19059 * gdb.base/unload.exp: Use shared library test routines.
19060
3a40aaa0
UW
190612007-07-03 Markus Deuling <deuling@de.ibm.com>
19062
19063 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
19064 * gdb.base/solib-symbol-lib.c: Likewise.
19065 * gdb.base/solib-symbol-main.c: Likewise.
19066
b0f4b84b
DJ
190672007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
19068
19069 * config/gdbserver.exp (gdb_reconnect): New.
19070 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
19071 gdb.base/solib-disc.exp: New files.
19072 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
19073 remote debugging".
19074 (gdb_compile): Add shlib_load flag.
19075 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
19076 port.
19077 (gdbserver_reconnect): New.
19078
1b05479a
DJ
190792007-07-01 Nick Roberts <nickrob@snap.net.nz>
19080 Daniel Jacobowitz <dan@codesourcery.com>
19081
19082 * gdb.base/annota3.exp: Test for if construct.
19083
86f78eb2
DJ
190842007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
19085
19086 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
19087
6a2eb474 190882007-06-21 Chris Dearman <chris@mips.com>
a9c64011 19089 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
19090
19091 * gdb.base/display.exp: Allow a newline after display/i.
19092 * gdb.base/pc-fp.exp: Likewise.
19093 * gdb.base/sigbpt.exp: Likewise.
19094
f8b73d13
DJ
190952007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19096
19097 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
19098 required features to be included.
19099
4339e69e
DJ
191002007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19101
19102 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
19103 in info threads output.
19104
23d964e7
UW
191052007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19106 Markus Deuling <deuling@de.ibm.com>
19107
19108 * gdb.arch/spu-info.exp: New testcase.
19109 * gdb.arch/spu-info.c: New file.
19110
fd20f75b
DJ
191112007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
19112
19113 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
19114 tpcs_offset. Restore lr after the call.
19115 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
19116
2226f861
DJ
191172007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
19118
19119 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
19120 (gdbserver_run): Kill any running gdbserver.
19121 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
19122
d12371a9
MR
191232007-05-17 Maciej W. Rozycki <macro@mips.com>
19124
19125 * gdb.base/sigbpt.exp: Preset segv_addr.
19126
93f02886
DJ
191272007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
19128
19129 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
19130 (gdb_compile_shlib): Likewise.
19131 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
19132 (default_gdb_init): Clear cleanfiles.
19133 (gdb_finish): Delete recorded cleanfiles.
19134 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
19135
19136 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
19137 Do not use isnative.
19138 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
19139 gdb.base/so-impl-ld.exp: Likewise.
19140 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
19141 * gdb.base/unload.exp: Likewise. Do not pass empty option to
19142 gdb_compile.
19143
b04e06d7
VP
191442007-05-15 Vladimir Prus <vladimir@codesourcery.com>
19145
19146 * config/unknown.exp: Remove.
19147
069ed931
UW
191482007-05-15 Markus Deuling <deuling@de.ibm.com>
19149
19150 * gdb.base/info-proc.exp: Check is_remote.
19151
09db0d03
UW
191522007-05-14 Markus Deuling <deuling@de.ibm.com>
19153
19154 * gdb.base/gcore.exp: Initialize variable core_supported.
19155
af2cbe8c
DJ
191562007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
19157
19158 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
19159
027c0295
DJ
191602007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
19161
19162 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
19163 * gdb.threads/print-threads.exp (test_all_threads): Allow
19164 negative and hexadecimal thread IDs.
19165
dc5000e7
DJ
191662007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
19167
19168 * gdb.java/jprint.java (public): Avoid invalid call to static
19169 method.
19170
2e74ed18
DP
191712007-05-14 Denis Pilat <denis.pilat@st.com>
19172
19173 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
19174 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
19175 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19176 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
19177 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
19178
83547f02
UW
191792007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19180
19181 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 19182 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
19183 this mode.
19184 * gdb.base/ovlymgr.c: Provide stubs for spu target.
19185 * gdb.base/spu.ld: New file.
19186
b18be20d
DJ
191872007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
19188
19189 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
19190
be444858
DJ
191912007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
19192
19193 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
19194
b1d53152
DJ
191952007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
19196
19197 * gdb.java/jmain.exp: Handle demangled names with and without method
19198 signatures.
19199
d084b331
DJ
192002007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
19201
19202 * gdb.mi/mi-syn-frame.c (main, foo, bar)
19203 (have_a_very_merry_interrupt): Remove calls to puts.
19204 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
19205 inferior output.
19206 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
19207 test names.
19208
db9d7fc5
DJ
192092007-04-29 Markus Deuling <deuling@de.ibm.com>
19210 Daniel Jacobowitz <dan@codesourcery.com>
19211
19212 * gdb.base/auxv.exp (core_works): Also check is_remote.
19213 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
19214
ef783a7d 192152007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 19216
ef783a7d
VP
19217 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
19218 message, not the undefined 'module' variable.
19219 * gdb.base/siginfo.exp: Likewise.
19220 * gdb.base/sigstep.exp: Likewise.
19221 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
19222 serialport.
19223 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
19224
b7b73cae
CV
192252007-04-25 Corinna Vinschen <vinschen@redhat.com>
19226
19227 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
19228 target sim fails. Return 0 otherwise.
19229 (gdb_load): Return prematurely if gdb_target_sim fails.
19230
7d90fdfa
DP
192312007-04-16 Denis Pilat <denis.pilat@st.com>
19232
19233 * gdb.base/setshow.exp: Reset height after having set it to 100.
19234
5d3e9c85
DP
192352007-04-16 Denis Pilat <denis.pilat@st.com>
19236
19237 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
19238
18e75969
DP
192392007-04-16 Denis Pilat <denis.pilat@st.com>
19240
19241 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
19242
25d5ea92
VP
192432007-04-14 Vladimir Prus <vladimir@codesourcery.com>
19244
19245 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
19246 tests. Run the frozen varobjs test.
19247 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 19248 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 19249
0b49cb80
JK
192502007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19251
19252 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
19253 gdb.base/type-opaque.exp: New files.
19254
a73bafbc 192552007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
19256
19257 * gdb.mi/mi-var-child.c
a73bafbc
VP
19258 (do_children_tests): User char[2] instead of
19259 char so that automatic printing of pointers to char
19260 don't give unpredicable result.
19261 * gdb.mi/var-cmd.c (do_locals_test): Initialize
19262 local variables.
19263 * gdb.mi/mi-var-child.exp: Step to right line
19264 of do_children_tests.
19265 * gdb.mi/mi2-var-child.exp: Likewise.
19266 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 19267 do_locals_tests.
a73bafbc
VP
19268 (do_children_tests): User char[2] instead of
19269 char so that automatic printing of pointers to char
a9c64011 19270 don't give unpredicable result.
a73bafbc 19271 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 19272 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
19273 Pass test name to mi_wait_for_stop.
19274
7ce59000
DJ
192752007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19276
19277 * gdb.asm/asm-source.exp: Remove d10v case.
19278 * lib/gdb.exp (skip_cplus_tests): Likewise.
19279 * gdb.asm/d10v.inc: Deleted.
19280
20389057
DJ
192812007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19282
19283 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
19284
8807d78b
DJ
192852007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19286
19287 * config/netware.exp: Delete file.
19288
aa3edb8e
JB
192892007-03-29 Joel Brobecker <brobecker@adacore.com>
19290
19291 * gdb.dwarf2/dw2-noloc.S: New file.
19292 * gdb.dwarf2/dw2-noloc.exp: New file.
19293
297561ac
PA
192942007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
19295
19296 * gdb.cp/method2.cc: New test.
19297 * gdb.cp/method2.exp: New test.
19298 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
19299
1f81bd39
DJ
193002007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
19301
19302 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
19303
9453113a
DJ
193042007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
19305
19306 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
19307
b741e217
DJ
193082007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
19309
19310 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
19311 (gdb_load): Delete, replace with...
19312 (gdb_reload): ...this.
19313 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
19314 * gdb.server/server-mon.exp: Likewise.
19315 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
19316 (gdb_start_cmd): New.
19317 (gdb_file_cmd): Save the last loaded file.
19318 (gdb_reload): New.
19319 (gdb_gnu_strip_debug): Use transform.
19320 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
19321 support here. Use new $last_loaded_file. Check mtime.
19322 (gdb_target_cmd): Handle ObjC failure case.
19323 (infer_host_exec): Delete.
19324 (gdbserver_load): Rename to...
19325 (gdbserver_run): ...this. Simplify.
19326 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
19327 (mi_gdb_load): Move most contents to a new function...
19328 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
19329 (mi_run_cmd): Use mi_gdb_target_load.
19330 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
19331 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
19332 Use gdb_run_cmd.
19333 * gdb.base/charsign.exp: Remove incorrect comment.
19334 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
19335 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
19336 gdb.base/start.exp: Use gdb_start_cmd.
19337
446ab585 193382007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 19339 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
19340
19341 * gdb.base/sigbpt.exp: Fix the message when skipping test.
19342 * gdb.base/signull.exp: Similarly.
19343
bbb88ebf
UW
193442007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19345
19346 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
19347 messages available to test cases (like chng-sym.exp).
19348
cb8c4a99
AS
193492007-03-14 Andreas Schwab <schwab@suse.de>
19350
19351 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
19352 format changes.
19353
4e463ff5
DJ
193542007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
19355
19356 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
19357 (optimized_1): New.
19358 (main): Call optimized_1.
19359 (gdb2029): Correct typos. Call gdb2029_marker.
19360 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
19361 for gdb2029.
19362
b6db2c47
MK
193632007-03-12 Mark Kettenis <kettenis@gnu.org>
19364
19365 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
19366 as tabs. Remove redundant test pattern.
19367
70ed3737
UW
193682007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19369
19370 * gdb.base/long_long.exp: Accept optional symbol name in <...>
19371 for /a format output.
19372
47b67b60
DJ
193732007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
19374
19375 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
19376 collect output incrementally.
19377
b8953b0e
UW
193782007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19379
19380 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
19381 for -var-create lpcharacter test.
19382 * gdb.mi/mi2-var-cmd.exp: Likewise.
19383
7acd5c40
UW
193842007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19385
19386 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
19387 pass on targets where address zero is readable.
19388
9c6759c1
UW
193892007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19390
19391 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
19392 just a single architecture.
19393
a2f1aeb4
UW
193942007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19395
19396 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
19397 (fetch_all_registers): New function, uses gdb_test_multiple and
19398 exp_continue to fetch inferior output line-by-line.
19399 Replace all uses of do_get_all_registers by fetch_all_registers.
19400
46579ac2
UW
194012007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19402
19403 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
19404 in target_info.
19405
fc133f24
MS
194062007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19407
a9c64011 19408 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
19409 consistancy; add a default (timeout) case.
19410
7646a51d
MS
194112007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19412
19413 * gdb.base/watchpoint.exp: Fix truncated comment.
19414
dcfff61f
MS
194152007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19416
19417 * Makefile.in: Remove spurious single-quotes from sed command.
19418
664e3ee9
DJ
194192007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
19420
19421 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
19422 func.
19423 * gdb.mi/mi2-var-cmd.exp: Likewise.
19424
d7cc6f2f
JB
194252007-02-27 Joel Brobecker <brobecker@adacore.com>
19426
a9c64011
AS
19427 * gdb.dwarf2/dw2-producer.S: New file.
19428 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
19429
194302007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
19431
19432 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19433 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19434 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19435 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19436 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
19437 Revert tests to use mi_gdb_test and include value field in output
19438 of -var-create.
19439
93d42b30
DJ
194402007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
19441
19442 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
19443
c499ed39
DJ
194442007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
19445
19446 * gdb.base/maint.exp: Remove full paths from test names.
19447 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
19448 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
19449
9836f81b
JB
194502007-02-27 Joel Brobecker <brobecker@adacore.com>
19451
19452 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
19453
c74d0ad8
DJ
194542007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19455
19456 * gdb.server/server-mon.exp: New test.
19457
2711e456
DJ
194582007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19459
19460 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
19461
ff6f572f
DJ
194622007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19463
19464 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
19465 register capitalization.
19466
fada3feb
DP
194672007-02-13 Denis Pilat <denis.pilat@st.com>
19468
19469 * gdb.mi/mi-var-invalidate.exp: New file.
19470
fb1e4ffc
DJ
194712007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19472
19473 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
19474
3da939d7
DJ
194752007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19476
19477 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
19478
123dc839
DJ
194792007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19480
19481 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
19482 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
19483
877e3645 194842007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
19485
19486 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19487 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19488 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19489 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19490 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 19491 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 19492 Update tests to include value field in output of -var-create.
a9c64011 19493
3c0a2960
AS
194942007-02-08 Andreas Schwab <schwab@suse.de>
19495
19496 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
19497
108546a0
DJ
194982007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
19499
19500 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
19501 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
19502
d701dcab
DP
195032007-02-02 Denis Pilat <denis.pilat@st.com>
19504
19505 * gdb.threads/threadapply.exp: check that frame is not changed by
19506 the thread apply all command.
19507
783e3e2f
AS
195082007-01-31 Andreas Schwab <schwab@suse.de>
19509
6d9c3a87
AS
19510 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
19511
3c50d7b9
AS
19512 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
19513 in the dwarf sections.
19514 * gdb.dwarf2/mac-fileno.S: Likewise.
19515
783e3e2f
AS
19516 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
19517 bspstore register on ia64.
19518
78ff580e
AS
195192007-01-29 Andreas Schwab <schwab@suse.de>
19520
cc8e9b12
AS
19521 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
19522 "frame-begin" annotation.
19523
78ff580e
AS
19524 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
19525 number of "frames-invalid" annotations.
19526
704a4f78
DJ
195272007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
19528
19529 * gdb.base/commands.exp: Call if_commands_test.
19530 (gdb_test_no_prompt, if_commands_test): New.
19531
e741bf94
MK
195322007-01-28 Mark Kettenis <kettenis@gnu.org>
19533
19534 * gdb.threads/sigthread.c (NSIGS): Make bigger.
19535
474d0ad3
AS
195362007-01-27 Andreas Schwab <schwab@suse.de>
19537
19538 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
19539 .short/.int/.quad in the dwarf sections.
19540 * gdb.dwarf2/dw2-intercu.S: Likewise.
19541 * gdb.dwarf2/dw2-intermix.S: Likewise.
19542
e784b426
JK
195432007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19544
19545 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
19546 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
19547 array.
e784b426
JK
19548 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
19549 * gdb.base/setvar.exp: Likewise.
19550
37f08e04
AS
195512007-01-26 Andreas Schwab <schwab@suse.de>
19552
9a01813a
AS
19553 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
19554 test.
19555
37f08e04
AS
19556 * gdb.base/multi-forks.exp ("restart $i"): Also match
19557 __kernel_syscall_via_break.
19558
6e2a9270
VP
195592007-01-24 Vladimir Prus <vladimir@codesourcery.com>
19560
19561 * lib/mi-support.exp (mi_delete_varobj): New.
19562 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
19563 testcase.
19564 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
19565 (main): Call the above.
19566 (reference_update_test, base_in_reference_test)
19567 (reference_to_pointer): Delete the created varobjs.
a9c64011 19568
e515b470
DJ
195692007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
19570
19571 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
19572 * configure: Regenerated.
19573 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
19574 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
19575 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
19576 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
19577 * lib/gdb.exp (gdb_skip_xml_test): New function.
19578
08d8bcd7
DJ
195792007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
19580
19581 * gdb.base/sigrepeat.exp: Correct error message.
19582
195832007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
19584 Daniel Jacobowitz <dan@codesourcery.com>
19585
19586 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
19587 gdb.arch/i386-gnu-cfi-asm.S: New files.
19588
97c3f1f3
JK
195892007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19590
19591 * lib/gdb.exp: Abort on missing `site.exp'.
19592
cb1df416
DJ
195932007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19594 Daniel Jacobowitz <dan@codesourcery.com>
19595
19596 * gdb.base/included.c, gdb.base/included.exp,
19597 gdb.base/included.h: New files.
19598
35990120
DJ
195992007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19600
19601 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
19602 (maximize_rlimit): Reduce limits on 64-bit systems.
19603
6e81a116 196042007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
19605
19606 From Marcus Deuling <deuling@de.ibm.com>:
19607 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
19608 every case.
19609
6c3c41f3
NR
196102007-01-13 Nick Roberts <nickrob@snap.net.nz>
19611
19612 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
19613 (test_path_specification): Use objdir instead of srcdir to always
19614 get an absolute filename.
19615
2f12c312
DJ
196162007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
19617
19618 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
19619
81121995
VP
196202007-01-11 Vladimir Prus <vladimir@codesourcery.com>
19621
19622 * gdb.mi/mi-var-cp.cc (reference_update_tests):
19623 Make sure the variable we're using is in scope.
19624 (reference_to_pointer): Likewise.
19625
4741b737
DJ
196262007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19627
19628 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
19629 has no debug information.
19630
054410c3
DJ
196312007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19632
19633 * gdb.base/annota1.exp: Remove extra send_gdb.
19634
818f79f6
DJ
196352007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19636
19637 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
19638
f7a6bb70
DJ
196392007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19640
19641 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
19642
57e66780
DJ
196432007-01-08 Nick Roberts <nickrob@snap.net.nz>
19644 Daniel Jacobowitz <dan@codesourcery.com>
19645
19646 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
19647 lcharacter or linteger change. Correct duplicated test name.
19648 * gdb.mi/mi2-var-cmd.exp: Likewise.
19649
3d799a95
DJ
196502007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
19651
19652 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
19653
196542007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 19655
a9c64011
AS
19656 * gdb.base/nofield.c: New file.
19657 * gdb.base/nofield.exp: New testcase.
51679ba9 19658
eafb94e8
NR
196592007-01-05 Nick Roberts <nickrob@snap.net.nz>
19660
19661 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
19662
19663 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
19664 test.
19665
5e572bb4
DJ
196662007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19667
19668 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
19669
74a44383
DJ
196702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19671
19672 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
19673 when continuing.
19674
1b572db9
DJ
196752007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19676
19677 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
19678 Expect ".exe" extension.
19679
381bc39b
DJ
196802007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19681
19682 * gdb.base/charset.exp: Add explicit filename to break.
19683 * gdb.base/dbx.exp: Add explicit filename to breaks.
19684
2b70e4c6
DJ
196852007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19686
19687 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
19688 * gdb.mi/mi2-file.exp: Likewise.
19689
303b6f5d
DJ
196902007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19691
19692 Implement specification of MI tests as comments
19693 in C and C++ sources.
19694 * lib/mi-support.exp (mi_autotest_data): New variable.
19695 (mi_autotest_source): New variable.
19696 (count_newlines, mi_prepare_inline_tests)
19697 (mi_get_inline_test, mi_continue_to_line)
19698 (mi_run_inline_test, mi_tbreak)
19699 (mi_send_resuming_command, mi_wait_for_stop): New functions.
19700 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
19701 Run inline tests.
19702 * gdb.mi/mi-var-cp.cc: Define tests here.
19703
23da0d94
VP
197042007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19705
19706 Simplify usage of mi_continue_to.
19707 * lib/mi-support.exp (mi_runto_helper): Renamed
19708 from mi_runto, added new parameter 'run_or_continue'.
19709 (mi_runto): Use mi_runto_helper.
19710 (mi_continue_to): Accept just function name as parameter.
19711 Use mi_runto_helper.
19712 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
19713 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 19714
f9e18282
JB
197152006-01-04 Joel Brobecker <brobecker@adacore.com>
19716
19717 Make this testcase a bit more realistic. The current code
19718 is too simplistic, and allows the compiler to optimize out
19719 some of the entities we need for this testcase.
19720 * gdb.ada/null_record/bar.ads (Void_Star): New type.
19721 (Do_Nothing): Add extra parameter.
19722 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
19723 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
19724 by using a variable of type Void_Star.
19725
fd678c65
JB
197262006-01-04 Joel Brobecker <brobecker@adacore.com>
19727
19728 * gdb.ada/catch_ex/foo.adb: New file.
19729 * gdb.ada/catch_ex.exp: New testcase.
19730
05cfdb42
DJ
197312007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
19732
19733 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
19734 pass --image-base to linker.
19735
2e03ee74
DJ
197362007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19737 Daniel Jacobowitz <dan@codesourcery.com>
19738
19739 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
19740 secondary prompts.
19741
0d5de010
DJ
197422007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19743
19744 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
19745 output. Test the types of members and member pointers.
19746 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
19747 gdb/2092.
19748 * gdb.cp/member-ptr.exp: Search for a comment instead of a
19749 statement. Enable for GCC. Update expected output for some tests
19750 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
19751 layout.
19752 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
19753 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
19754 (Diamond::vget_base): New.
19755 (main): Add new tests.
19756 * gdb.cp/printmethod.exp: Update expected output for member functions.
19757 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
19758 print pEe->D::vg().
19759
61a771aa
DJ
197602007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19761
19762 * gdb.threads/tls.exp: Allow stops in sem_post.
19763
2fa63963
DJ
197642006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
19765
19766 * gdb.base/annota1.exp: Allow .*printf in backtraces.
19767 * gdb.base/annota3.exp: Likewise.
19768 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
19769 again (instead of timing out).
19770 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
19771 GCC bug 26475.
19772 * gdb.java/jmisc.exp: Adjust to work with method signatures including
19773 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
19774 test from jmisc1.exp.
19775 * gdb.java/jmisc1.exp: Delete.
19776 * gdb.java/jprint.exp: Adjust to work with method signatures including
19777 return types.
19778 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
19779 * gdb.threads/linux-dp.exp: Don't be confused by program output.
19780 * lib/java.exp (compile_java_from_source): Pass the correct type
19781 to target_compile.
19782
5eefc2b7
JB
197832006-12-31 Joel Brobecker <brobecker@adacore.com>
19784
19785 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
19786 (stack_align_edx): New function.
19787 (stack_align_eax): New function.
19788 (main): Add calls to stack_align_edx and stack_align_eax.
19789 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
19790 Add testing for the cases where the register used during a stack
19791 realignment is edx. Same for eax.
19792
227c54da
DJ
197932006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
19794
19795 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
19796 and generic PE targets.
19797
cab8ac94
JB
197982006-12-29 Joel Brobecker <brobecker@adacore.com>
19799
19800 * gdb.ada/array_return.exp: Update copyright date list.
19801
ba54f318
JB
198022006-12-27 Joel Brobecker <brobecker@adacore.com>
19803
19804 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
19805 (Create_Small_Float_Vector): New function.
19806 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
19807 function body.
19808 * gdb.ada/array_return/p.adb: Use new type and function from
19809 package Pck.
19810 * gdb.ada/array_return.exp: Add a test verifying that GDB is
19811 able to print the value returned by a function returning an
19812 array of float.
19813
6b7a35dd
JB
198142006-12-20 Joel Brobecker <brobecker@adacore.com>
19815
19816 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
19817 The associated tests should be PASSing.
19818
038224f6
VP
198192006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19820
19821 Test for base in references.
19822 * gdb.mi/mi-var-cp.cc: Add test code.
19823 * gdb.mi/mi-var-cp.exp: Test for bases in references.
19824 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
19825 * gdb.mi/mi2-watch.exp: Likewise.
19826 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
19827 (mi_list_varobj_children): New function.
19828
b26ed50d
VP
198292006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19830
19831 * lib/mi-support.exp
19832 (mi_runto): Accept "()" after function name.
19833 (mi_create_varobj): New function.
19834 (mi_varobj_update): New function.
19835 (mi_Check_varobj_value): New function.
19836 * gdb.mi/mi-var-cp.exp: New file.
19837 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 19838
08232497
DJ
198392006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
19840
19841 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
19842 gdb.base/weaklib2.c: New files.
19843
d394c993 198442006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 19845
ac6c2fba
NS
19846 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
19847 info. Adjust test names.
19848
8ec659a0 19849 * gdb.base/break.c (main): Move position of malloc.
d394c993 19850 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 19851
acd65feb
VP
198522006-11-28 Vladimir Prus <vladimir@codesourcery.com>
19853
19854 * gdb.mi/mi-var-cmd.exp: Check -var-update after
19855 assignement of arrays and function pointers.
19856 * gdb.mi/var-cmd.c: Add declaration necessary for above
19857 tests.
19858
f556d5e5
NS
198592006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19860
19861 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
19862
19863 * gdb.threads/linux-dp.exp: Read thread table before and after
19864 creating each philosopher and verify it.
19865
697bc68d
NS
198662006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19867 Paul Brook <paul@codesourcery.com>
19868 Daniel Jacobowitz <dan@codesourcery.com>
19869
19870 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 19871 main to remove duplication. Add start function of the form
697bc68d
NS
19872 '_*start[1-9]*'. Add RVDS start function.
19873
29d73ae4
DJ
198742006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19875
19876 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
19877
c1d88655
UW
198782006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19879
19880 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
19881 * gdb.asm/spu.inc: New file.
19882 * gdb.base/term.exp: Disable if [target_info exists noargs].
19883 * gdb.gdb/complaints.exp: Disable if ![isnative].
19884 * gdb.gdb/selftest.exp: Likewise.
19885 * gdb.gdb/observer.exp: Likewise.
19886 * gdb.gdb/xfullpath.exp: Likewise.
19887 * gdb.base/attach.exp: Disable on SPU target.
19888 * gdb.cp/bs145503.exp: Likewise.
19889 * gdb.cp/exception.exp: Likewise.
19890 * gdb.cp/userdef.exp: Likewise.
19891
32a13b1a
DJ
198922006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19893
19894 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
19895
d8295fe9
VP
198962006-11-10 Vladimir Prus <vladimir@codesourcery.com>
19897
19898 * gdb.base/completion.exp: Fix completion tests for
19899 'info' and 'info '.
19900 * gdb.base/help.exp (help_test_raw, test_class_help)
19901 (test_prefix_command_help): Move...
19902 * lib/gdb.exp: Here.
19903 * gdb.base/main.exp: Adjust.
19904 * gdb.cp/maint.exp: Adjust.
19905 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 19906
8c394015
VP
199072006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19908
19909 * gdb.stabs/weird.exp (print_weird_var): Use
19910 gdb_test_multiple instead of gdb_expect.
19911
027fc1bc
VP
199122006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19913
19914 * gdb.base/help.exp (help_test_raw): New.
19915 (test_class_help): New.
19916 (test_prefix_command_help): New.
19917 Adjust testcases.
19918
67609209
FR
199192006-11-09 Christophe Lyon <christophe.lyon@st.com>
19920
19921 * gdb.base/constvars.c (main): Write to crass and crips, so that
19922 they are allocated by the compiler.
19923
f73adfeb
AS
199242006-10-27 Andreas Schwab <schwab@suse.de>
19925
19926 * gdb.base/multi-forks.exp: Use "detach fork" instead of
19927 "detach-fork".
19928
2f83a18e
DJ
199292006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
19930
19931 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
19932 of patterns.
19933
94277a38
DJ
199342006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19935
19936 * gdb.base/sepdebug.exp: Remove debug format test.
19937 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
19938 Handle no-symtab.
19939 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
19940
5bd2f6e2
DJ
199412006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19942
19943 * gdb.threads/manythreads.c (thread_function, main): Don't cast
19944 int to pointer or pointer to int.
19945 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
19946
8c008720
DJ
199472006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
19948
19949 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
19950
9e35dae4
DJ
199512006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19952
19953 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
19954
d9639e13
DJ
199552006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
19956
19957 PR c++/2116
19958 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
19959
390a1bd0
JB
199602006-10-06 Joel Brobecker <brobecker@adacore.com>
19961
19962 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
19963 the corresponding bug has been fixed in GDB (PR/2018).
19964
dd920c33
JB
199652006-10-06 Joel Brobecker <brobecker@adacore.com>
19966
19967 * gdb.base/subst.exp: New testcase.
19968
53bbefe9
JB
199692006-10-06 Joel Brobecker <brobecker@adacore.com>
19970
19971 * gdb.ada/array_return/pck.ads: Add copyright notice.
19972 * gdb.ada/array_return/pck.adb: Likewise.
19973 * gdb.ada/array_return/p.adb: Likewise.
19974 * gdb.ada/exec_changed/first.adb: Likewise.
19975 * gdb.ada/exec_changed/second.adb: Likewise.
19976
09851417
JB
199772006-10-06 Joel Brobecker <brobecker@adacore.com>
19978
19979 * gdb.ada/watch_arg/watch.adb: New file.
19980 * gdb.ada/watch_arg.exp: New testcase.
19981
041bf30d
VP
199822006-10-02 Vladimir Prus <vladimir@codesourcery.com>
19983
19984 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 19985 via string_to_regexp.
041bf30d 19986 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 19987
f286fbdd 199882006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
19989
19990 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
19991 Remove unused / obsolete files.
19992
7c07f349
NR
199932006-09-19 Nick Roberts <nickrob@snap.net.nz>
19994
19995 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
19996
cd5ff84a
VP
199972006-09-17 Vladimir Prus <vladimir@codesourcery.com>
19998
19999 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
20000 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 20001 the number of frames.
cd5ff84a 20002
ae018d1a
DJ
200032006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
20004
20005 * gdb.base/args.c (main): Add breakpoint marker.
20006 * gdb.base/args.exp: Use args_test for tests. Add new tests which
20007 really test empty arguments.
20008 (args_load): Delete.
20009 (args_test): New.
20010
b399c549
NR
200112006-09-13 Nick Roberts <nickrob@snap.net.nz>
20012
20013 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 20014 check for one file.
b399c549 20015
2ab1eb7a
VP
200162006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
20017
20018 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
20019 HIGH_FRAME argument to -stack-list-locals can be larger than
20020 the number of frames.
a9c64011 20021
476308bf
FF
200222006-08-18 Fred Fish <fnf@specifix.com>
20023
20024 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
20025 '$' in front of skip_vmx_tests_saved when setting that.
20026
8625200f
AS
200272006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
20028
20029 * gdb.base/trace-commands.exp: New file.
20030
089ec8f1
DJ
200312006-08-10 Joel Brobecker <brobecker@adacore.com>
20032 Daniel Jacobowitz <dan@codesourcery.com>
20033
20034 * gdb.base/step-bt.exp: Make hexadecimal address optional in
20035 expected output of the backtrace commands.
20036
b60f0898
JB
200372006-08-09 Joel Brobecker <brobecker@adacore.com>
20038
20039 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
20040 untested followed by return combination.
20041 * gdb.arch/altivec-regs.exp: Likewise.
20042 * gdb.arch/e500-abi.exp: Likewise.
20043 * gdb.arch/e500-regs.exp: Likewise.
20044 * gdb.arch/gdb1291.exp: Likewise.
20045 * gdb.arch/gdb1431.exp: Likewise.
20046 * gdb.arch/gdb1558.exp: Likewise.
20047 * gdb.arch/i386-prologue.exp: Likewise.
20048 * gdb.arch/i386-unwind.exp: Likewise.
20049 * gdb.asm/asm-source.exp: Likewise.
20050 * gdb.base/a2-run.exp: Likewise.
20051 * gdb.base/advance.exp: Likewise.
20052 * gdb.base/all-bin.exp: Likewise.
20053 * gdb.base/annota1.exp: Likewise.
20054 * gdb.base/annota3.exp: Likewise.
20055 * gdb.base/args.exp: Likewise.
20056 * gdb.base/arithmet.exp: Likewise.
20057 * gdb.base/assign.exp: Likewise.
20058 * gdb.base/async.exp: Likewise.
20059 * gdb.base/attach.exp: Likewise.
20060 * gdb.base/bang.exp: Likewise.
20061 * gdb.base/bigcore.exp: Likewise.
20062 * gdb.base/bitfields.exp: Likewise.
20063 * gdb.base/bitfields2.exp: Likewise.
20064 * gdb.base/break.exp: Likewise.
20065 * gdb.base/call-sc.exp: Likewise.
20066 * gdb.base/call-strs.exp: Likewise.
20067 * gdb.base/callfuncs.exp: Likewise.
20068 * gdb.base/checkpoint.exp: Likewise.
20069 * gdb.base/chng-syms.exp: Likewise.
20070 * gdb.base/code-expr.exp: Likewise.
20071 * gdb.base/commands.exp: Likewise.
20072 * gdb.base/completion.exp: Likewise.
20073 * gdb.base/cond-expr.exp: Likewise.
20074 * gdb.base/condbreak.exp: Likewise.
20075 * gdb.base/consecutive.exp: Likewise.
20076 * gdb.base/constvars.exp: Likewise.
20077 * gdb.base/corefile.exp: Likewise.
20078 * gdb.base/cvexpr.exp: Likewise.
20079 * gdb.base/dbx.exp: Likewise.
20080 * gdb.base/define.exp: Likewise.
20081 * gdb.base/detach.exp: Likewise.
20082 * gdb.base/display.exp: Likewise.
20083 * gdb.base/dump.exp: Likewise.
20084 * gdb.base/ena-dis-br.exp: Likewise.
20085 * gdb.base/ending-run.exp: Likewise.
20086 * gdb.base/environ.exp: Likewise.
20087 * gdb.base/eval-skip.exp: Likewise.
20088 * gdb.base/exprs.exp: Likewise.
20089 * gdb.base/fileio.exp: Likewise.
20090 * gdb.base/finish.exp: Likewise.
20091 * gdb.base/float.exp: Likewise.
20092 * gdb.base/foll-exec.exp: Likewise.
20093 * gdb.base/foll-fork.exp: Likewise.
20094 * gdb.base/foll-vfork.exp: Likewise.
20095 * gdb.base/freebpcmd.exp: Likewise.
20096 * gdb.base/funcargs.exp: Likewise.
20097 * gdb.base/gcore.exp: Likewise.
20098 * gdb.base/gdb1090.exp: Likewise.
20099 * gdb.base/gdb1250.exp: Likewise.
20100 * gdb.base/huge.exp: Likewise.
20101 * gdb.base/info-proc.exp: Likewise.
20102 * gdb.base/interrupt.exp: Likewise.
20103 * gdb.base/jump.exp: Likewise.
20104 * gdb.base/langs.exp: Likewise.
20105 * gdb.base/lineinc.exp: Likewise.
20106 * gdb.base/list.exp: Likewise.
20107 * gdb.base/logical.exp: Likewise.
20108 * gdb.base/long_long.exp: Likewise.
20109 * gdb.base/macscp.exp: Likewise.
20110 * gdb.base/maint.exp: Likewise.
20111 * gdb.base/mips_pro.exp: Likewise.
20112 * gdb.base/miscexprs.exp: Likewise.
20113 * gdb.base/multi-forks.exp: Likewise.
20114 * gdb.base/opaque.exp: Likewise.
20115 * gdb.base/overlays.exp: Likewise.
20116 * gdb.base/pc-fp.exp: Likewise.
20117 * gdb.base/pointers.exp: Likewise.
20118 * gdb.base/printcmds.exp: Likewise.
20119 * gdb.base/psymtab.exp: Likewise.
20120 * gdb.base/ptype.exp: Likewise.
20121 * gdb.base/recurse.exp: Likewise.
20122 * gdb.base/relational.exp: Likewise.
20123 * gdb.base/relocate.exp: Likewise.
20124 * gdb.base/remote.exp: Likewise.
20125 * gdb.base/reread.exp: Likewise.
20126 * gdb.base/restore.exp: Likewise.
20127 * gdb.base/return.exp: Likewise.
20128 * gdb.base/return2.exp: Likewise.
20129 * gdb.base/scope.exp: Likewise.
20130 * gdb.base/sect-cmd.exp: Likewise.
20131 * gdb.base/sep.exp: Likewise.
20132 * gdb.base/sepdebug.exp: Likewise.
20133 * gdb.base/setshow.exp: Likewise.
20134 * gdb.base/setvar.exp: Likewise.
20135 * gdb.base/sigall.exp: Likewise.
20136 * gdb.base/sigbpt.exp: Likewise.
20137 * gdb.base/signals.exp: Likewise.
20138 * gdb.base/signull.exp: Likewise.
20139 * gdb.base/sizeof.exp: Likewise.
20140 * gdb.base/solib.exp: Likewise.
20141 * gdb.base/step-line.exp: Likewise.
20142 * gdb.base/step-test.exp: Likewise.
20143 * gdb.base/structs.exp: Likewise.
20144 * gdb.base/structs2.exp: Likewise.
20145 * gdb.base/term.exp: Likewise.
20146 * gdb.base/twice.exp: Likewise.
20147 * gdb.base/until.exp: Likewise.
20148 * gdb.base/varargs.exp: Likewise.
20149 * gdb.base/volatile.exp: Likewise.
20150 * gdb.base/watchpoint.exp: Likewise.
20151 * gdb.base/whatis-exp.exp: Likewise.
20152 * gdb.base/whatis.exp: Likewise.
20153 * gdb.cp/ambiguous.exp: Likewise.
20154 * gdb.cp/annota2.exp: Likewise.
20155 * gdb.cp/annota3.exp: Likewise.
20156 * gdb.cp/bool.exp: Likewise.
20157 * gdb.cp/breakpoint.exp: Likewise.
20158 * gdb.cp/casts.exp: Likewise.
20159 * gdb.cp/class2.exp: Likewise.
20160 * gdb.cp/classes.exp: Likewise.
20161 * gdb.cp/cplusfuncs.exp: Likewise.
20162 * gdb.cp/ctti.exp: Likewise.
20163 * gdb.cp/derivation.exp: Likewise.
20164 * gdb.cp/exception.exp: Likewise.
20165 * gdb.cp/gdb1355.exp: Likewise.
20166 * gdb.cp/hang.exp: Likewise.
20167 * gdb.cp/inherit.exp: Likewise.
20168 * gdb.cp/local.exp: Likewise.
20169 * gdb.cp/m-data.exp: Likewise.
20170 * gdb.cp/m-static.exp: Likewise.
20171 * gdb.cp/member-ptr.exp: Likewise.
20172 * gdb.cp/method.exp: Likewise.
20173 * gdb.cp/misc.exp: Likewise.
20174 * gdb.cp/namespace.exp: Likewise.
20175 * gdb.cp/overload.exp: Likewise.
20176 * gdb.cp/ovldbreak.exp: Likewise.
20177 * gdb.cp/pr-1023.exp: Likewise.
20178 * gdb.cp/pr-1210.exp: Likewise.
20179 * gdb.cp/pr-574.exp: Likewise.
20180 * gdb.cp/printmethod.exp: Likewise.
20181 * gdb.cp/psmang.exp: Likewise.
20182 * gdb.cp/ref-params.exp: Likewise.
20183 * gdb.cp/ref-types.exp: Likewise.
20184 * gdb.cp/rtti.exp: Likewise.
20185 * gdb.cp/templates.exp: Likewise.
20186 * gdb.cp/try_catch.exp: Likewise.
20187 * gdb.cp/userdef.exp: Likewise.
20188 * gdb.cp/virtfunc.exp: Likewise.
20189 * gdb.disasm/am33.exp: Likewise.
20190 * gdb.disasm/h8300s.exp: Likewise.
20191 * gdb.disasm/mn10300.exp: Likewise.
20192 * gdb.disasm/sh3.exp: Likewise.
20193 * gdb.disasm/t01_mov.exp: Likewise.
20194 * gdb.disasm/t02_mova.exp: Likewise.
20195 * gdb.disasm/t03_add.exp: Likewise.
20196 * gdb.disasm/t04_sub.exp: Likewise.
20197 * gdb.disasm/t05_cmp.exp: Likewise.
20198 * gdb.disasm/t06_ari2.exp: Likewise.
20199 * gdb.disasm/t07_ari3.exp: Likewise.
20200 * gdb.disasm/t08_or.exp: Likewise.
20201 * gdb.disasm/t09_xor.exp: Likewise.
20202 * gdb.disasm/t10_and.exp: Likewise.
20203 * gdb.disasm/t11_logs.exp: Likewise.
20204 * gdb.disasm/t12_bit.exp: Likewise.
20205 * gdb.disasm/t13_otr.exp: Likewise.
20206 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
20207 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
20208 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20209 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
20210 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
20211 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
20212 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
20213 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
20214 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
20215 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
20216 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
20217 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
20218 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
20219 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
20220 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
20221 * gdb.mi/gdb701.exp: Likewise.
20222 * gdb.mi/gdb792.exp: Likewise.
20223 * gdb.mi/mi-basics.exp: Likewise.
20224 * gdb.mi/mi-break.exp: Likewise.
20225 * gdb.mi/mi-cli.exp: Likewise.
20226 * gdb.mi/mi-console.exp: Likewise.
20227 * gdb.mi/mi-disassemble.exp: Likewise.
20228 * gdb.mi/mi-eval.exp: Likewise.
20229 * gdb.mi/mi-file.exp: Likewise.
20230 * gdb.mi/mi-read-memory.exp: Likewise.
20231 * gdb.mi/mi-regs.exp: Likewise.
20232 * gdb.mi/mi-return.exp: Likewise.
20233 * gdb.mi/mi-simplerun.exp: Likewise.
20234 * gdb.mi/mi-stack.exp: Likewise.
20235 * gdb.mi/mi-stepi.exp: Likewise.
20236 * gdb.mi/mi-syn-frame.exp: Likewise.
20237 * gdb.mi/mi-until.exp: Likewise.
20238 * gdb.mi/mi-var-block.exp: Likewise.
20239 * gdb.mi/mi-var-child.exp: Likewise.
20240 * gdb.mi/mi-var-cmd.exp: Likewise.
20241 * gdb.mi/mi-var-display.exp: Likewise.
20242 * gdb.mi/mi-watch.exp: Likewise.
20243 * gdb.mi/mi2-basics.exp: Likewise.
20244 * gdb.mi/mi2-break.exp: Likewise.
20245 * gdb.mi/mi2-cli.exp: Likewise.
20246 * gdb.mi/mi2-console.exp: Likewise.
20247 * gdb.mi/mi2-disassemble.exp: Likewise.
20248 * gdb.mi/mi2-eval.exp: Likewise.
20249 * gdb.mi/mi2-file.exp: Likewise.
20250 * gdb.mi/mi2-read-memory.exp: Likewise.
20251 * gdb.mi/mi2-regs.exp: Likewise.
20252 * gdb.mi/mi2-return.exp: Likewise.
20253 * gdb.mi/mi2-simplerun.exp: Likewise.
20254 * gdb.mi/mi2-stack.exp: Likewise.
20255 * gdb.mi/mi2-stepi.exp: Likewise.
20256 * gdb.mi/mi2-syn-frame.exp: Likewise.
20257 * gdb.mi/mi2-until.exp: Likewise.
20258 * gdb.mi/mi2-var-block.exp: Likewise.
20259 * gdb.mi/mi2-var-child.exp: Likewise.
20260 * gdb.mi/mi2-var-cmd.exp: Likewise.
20261 * gdb.mi/mi2-var-display.exp: Likewise.
20262 * gdb.mi/mi2-watch.exp: Likewise.
20263 * gdb.stabs/exclfwd.exp: Likewise.
20264 * gdb.stabs/weird.exp: Likewise.
20265 * gdb.threads/gcore-thread.exp: Likewise.
20266 * gdb.trace/actions.exp: Likewise.
20267 * gdb.trace/backtrace.exp: Likewise.
20268 * gdb.trace/circ.exp: Likewise.
20269 * gdb.trace/collection.exp: Likewise.
20270 * gdb.trace/deltrace.exp: Likewise.
20271 * gdb.trace/infotrace.exp: Likewise.
20272 * gdb.trace/limits.exp: Likewise.
20273 * gdb.trace/packetlen.exp: Likewise.
20274 * gdb.trace/passc-dyn.exp: Likewise.
20275 * gdb.trace/passcount.exp: Likewise.
20276 * gdb.trace/report.exp: Likewise.
20277 * gdb.trace/save-trace.exp: Likewise.
20278 * gdb.trace/tfind.exp: Likewise.
20279 * gdb.trace/tracecmd.exp: Likewise.
20280 * gdb.trace/while-dyn.exp: Likewise.
20281 * gdb.trace/while-stepping.exp: Likewise.
20282
f4b618d1
JB
202832006-08-08 Joel Brobecker <brobecker@adacore.com>
20284
20285 * gdb.base/step-bt.c: New file.
20286 * gdb.base/step-bt.exp: New testcase.
20287
3d00d119
DJ
202882006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
20289
20290 * config/monitor.exp (gdb_load): Remove support for obsolete
20291 download-write-size.
20292 * gdb.base/remote.exp: Likewise. Update all callers of
20293 gdb_timed_load.
20294
017b5bd4
DJ
202952006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
20296
20297 * cursal.exp: Pass binfile to gdb_load.
20298
837c599d
DJ
202992006-08-01 Nathan Sidwell <nathan@codesourcery.com>
20300
20301 * gdb.base/cursal.exp: Add "" to gdb_load call.
20302
8dd4540b
MK
203032006-07-29 Mark Kettenis <kettenis@gnu.org>
20304
20305 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
20306 NetBSD/ELF targets.
20307
ab5c9f60
DJ
203082006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
20309
20310 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
20311 operator*.
20312
4c42eaff
DJ
203132006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
20314
20315 * gdb.base/completion.exp: Update for change in "file" behavior.
20316 * gdb.stabs/weird.exp: Likewise.
20317 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
20318 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
20319
0155cc76
NS
203202006-07-24 Nathan Sidwell <nathan@codesourcery.com>
20321
20322 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
20323 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
20324
16026cd7
AS
203252006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
20326
20327 * gdb.base/default.exp: Update source command error message.
20328 * gdb.base/help.exp: Update 'help source' message.
20329
16963cb6
DJ
203302006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
20331
20332 * gdb.cp/bs15503.exp: Update comment for no longer crashing
20333 test.
20334
6d7fd486
AS
203352006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
20336
20337 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
20338
29e8a844
DJ
203392006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
20340
20341 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
20342
6afcfa39
DJ
203432006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
20344
20345 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
20346
267a692b
MK
203472006-07-17 Mark Kettenis <kettenis@gnu.org>
20348
20349 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
20350 *-*-openbsd* from targets for wich we expect ARM FPA floating
20351 point format.
20352
85d2fec4
NR
203532006-07-17 Nick Roberts <nickrob@snap.net.nz>
20354
20355 * gdb.cp/annota3.exp: Expect frame-begin annotation.
20356
203572006-07-17 Mark Kettenis <kettenis@gnu.org>
20358
20359 * gdb.base/annota3.exp: Expect frame-begin annotation.
20360
85b4c6e8
JB
203612006-07-14 Joel Brobecker <brobecker@adacore.com>
20362
20363 * gdb.base/help.exp: Adjust "help unset" test to accept
20364 any list of unset commands.
20365
fb933624
DJ
203662006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
20367 Daniel Jacobowitz <dan@codesourcery.com>
20368
20369 * gdb.cp/ref-params.exp: New test.
20370 * gdb.cp/ref-params.cc: New source file.
20371 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
20372
1dff4b64
MK
203732006-07-08 Mark Kettenis <kettenis@gnu.org>
20374
20375 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
20376 spaces/tabs in regular expressions since they might not be there.
20377
40d2e0e3
AS
203782006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
20379
20380 * gdb.base/ifelse.exp: New file.
20381
f6c957d2
NS
203822006-07-04 Nathan Sidwell <nathan@codesourcery.com>
20383
20384 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
20385 line.
20386 * gdb.base/huge.exp: Loop over compilation to find a size that
20387 is acceptable.
20388 * gdb.base/remote.exp: Correct expected strings.
20389 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
20390
b9c5a23d
DJ
203912006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20392
20393 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
20394
9af2e58d
DJ
203952006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20396
20397 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
20398 native.
20399
30930ca5
DJ
204002006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20401
20402 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
20403 enable stabs testing.
20404
aa32fa1d
DJ
204052006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20406
bd4a4c80 20407 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
20408 gdb_test_multiple does.
20409
321fef15
DJ
204102006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20411
20412 * Makefile.in (host_alias): Remove.
20413 (target_alias): Use @target_noncanonical@.
20414 (site.exp): Don't set host_alias.
20415 * aclocal.m4: Remove contents. Include acx.m4.
20416 * configure: Regenerated.
20417 * configure.ac: Use ACX_NONCANONICAL_TARGET.
20418
e1c2defa
NS
204192006-06-13 Nathan Sidwell <nathan@codesourcery.com>
20420
e63b55d1
NS
20421 * lib/gdb.exp (gdb_load_cmd): New.
20422
5600ea19
NS
20423 * gdb.base/fileio.c: Add system(NULL) test.
20424 * gdb.base/fileio.exp: Check it.
20425
e1c2defa
NS
20426 * gdb.base/break.c: Add 10a breakpoint at }
20427 * gdb.base/break.exp: Add test for breakpoint at }
20428 * gdb.cp/anon-union.cc: Add code at end of function.
20429 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
20430 * gdb.mi/var-cmd.c: Add code at end of function.
20431 * gdb.mi/mi-var-display.exp: Adjust end of next.
20432 * gdb.mi/mi2-var-display.exp: Likewise.
20433 * gdb.base/fileio.c: Add stop function and insert calls at
20434 stopping places.
20435 * gdb.base/fileio.exp: Breakpoint stop function and remove
20436 explicit line number references.
20437
6c0112ec
JB
204382006-05-19 Joel Brobecker <brobecker@adacore.com>
20439
a9c64011
AS
20440 * gdb.base/del.exp (test_delete_alias): New function.
20441 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 20442
154189a4
FF
204432006-05-18 Fred Fish <fnf@specifix.com>
20444
20445 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
20446 required. Check for spurious output after program exits normally.
20447
582e64c2
FF
204482006-05-17 Fred Fish <fnf@specifix.com>
20449
20450 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
20451 gdb_load, so it works in the simulator.
20452
8ef6493a
FF
204532006-05-11 Fred Fish <fnf@specifix.com>
20454
20455 * gdb.base/bang.exp: Ignore unexpected output between the
20456 "program exited normally" and the gdb prompt, as many other
20457 tests do.
20458
692b141c
MK
204592006-05-07 Mark Kettenis <kettenis@gnu.org>
20460
20461 * gdb.base/help.exp: Make "delete checkpoint" part option for
20462 "help d" and "help delete" tests.
20463
540b8a30
UW
204642006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20465
a9c64011 20466 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
20467 expected output in some mi_gdb_test statements.
20468 * gdb.mi/mi2-basics.exp: Likewise.
20469
9b6462d9
JB
204702006-05-05 Joel Brobecker <brobecker@adacore.com>
20471
20472 * gdb.base/del.c: New file.
20473 * gdb.base/del.exp: New testcase.
20474
954de43b
DM
204752006-05-05 David S. Miller <davem@sunset.davemloft.net>
20476
20477 * gdb.base/break.exp: Do not assume a breakpoint on
20478 main will actually be in $srcfile when optimizing.
1303f75e
DM
20479 * gdb.base/savedregs.exp: Do not require that the dummy
20480 frame location match up to a symbol and source file location.
c3242428
DM
20481 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
20482 will get printed without a mi_cmd_data_list_register_values prefix.
20483 (*-data-list-register-*): Correct regular expressions to expect the new
20484 pseudo d? floating point registers.
20485 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 20486
c7e64c9a
DJ
204872006-05-05 Christophe Lyon <christophe.lyon@st.com>
20488
20489 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
20490 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
20491 is allocated by the compiler.
20492 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
20493 anons, e, anone to force their allocation by the compiler.
20494
204952006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
20496
20497 * gdb.base/help.exp: Update expected text for help d and
20498 help delete.
20499
27ce9a6d
MK
205002006-05-02 Mark Kettenis <kettenis@gnu.org>
20501
20502 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
20503 NetBSD/ELF targets.
20504
8608915f
MK
205052006-04-30 Mark Kettenis <kettenis@gnu.org>
20506
20507 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
20508 single-step breakpoint fails; make this a KFAIL on
20509 sparc*-*-openbsd*.
20510 * gdb.base/siginfo.exp: Likewise.
20511 * gdb.base/sigstep.exp (advance, advancei): Likewise.
20512
b8db102d
MS
205132006-04-26 Michael Snyder <msnyder@redhat.com>
20514
20515 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
20516 which may have to consume output from other forks.
20517 Add tests to make sure that "delete fork" succeeded.
20518
c702009a
MS
205192006-04-20 Michael Snyder <msnyder@redhat.com>
20520
20521 * 2006-03-22 Jim Blandy <jimb@redhat.com>
20522 Add support for the Renesas M32C and M16C.
20523
20524 * gdb.asm/asm-source.exp: Add m32c target.
20525 * gdb.asm/m32c.inc: Support for m32c target.
20526
e28493f2
AS
205272006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
20528
20529 * gdb.base/commands.exp (recursive_source_test): New test.
20530
880da185
DM
205312006-04-04 David S. Miller <davem@sunset.davemloft.net>
20532
20533 * gdb.base/float.exp: Add pattern for sparc targets.
20534
61d9b92f
DJ
205352006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
20536
20537 * gdb.base/commands.exp (stray_arg0_test): New test.
20538
bd717df8
PB
205392006-03-30 Paul Brook <paul@codesourcery.com>
20540
20541 * gdb.mi/mi-until.exp: kfail broken until command.
20542 * gdb.mi/mi2-until.exp: Ditto.
20543
ec793d3c
NR
205442006-03-27 Nick Roberts <nickrob@snap.net.nz>
20545
20546 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
20547
831004b7
AO
205482006-03-08 Alexandre Oliva <aoliva@redhat.com>
20549
20550 * gdb.base/prelink.exp: Anchor tested-for regular expression
20551 on gdb prompt.
20552
effe49a0
PB
205532006-03-07 Paul Brook <paul@codesourcery.com>
20554
20555 * gdb.base/assign.exp: Correct fail message.
20556
e5461016
PB
205572006-03-07 Paul Brook <paul@codesourcery.com>
20558
20559 * lib/compiler.c: Extract armcc version number.
20560 * lib/compiler.cc: Ditto.
20561
fc91c6c2
PB
205622006-03-07 Paul Brook <paul@codesourcery.com>
20563
20564 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
20565 additional_flags=-w.
20566 * gdb.arch/altivec-regs.exp: Ditto.
20567 * gdb.arch/e500-abi.exp: Ditto.
20568 * gdb.arch/e500-regs.exp: Ditto.
20569 * gdb.base/all-bin.exp: Ditto.
20570 * gdb.base/annota1.exp: Ditto.
20571 * gdb.base/annota3.exp: Ditto.
20572 * gdb.base/args.exp: Ditto.
20573 * gdb.base/arithmet.exp: Ditto.
20574 * gdb.base/assign.exp: Ditto.
20575 * gdb.base/async.exp: Ditto.
20576 * gdb.base/bang.exp: Ditto.
20577 * gdb.base/break.exp: Ditto.
20578 * gdb.base/call-rt-st.exp: Ditto.
20579 * gdb.base/completion.exp: Ditto.
20580 * gdb.base/cond-expr.exp: Ditto.
20581 * gdb.base/condbreak.exp: Ditto.
20582 * gdb.base/consecutive.exp: Ditto.
20583 * gdb.base/define.exp: Ditto.
20584 * gdb.base/display.exp: Ditto.
20585 * gdb.base/ena-dis-br.exp: Ditto.
20586 * gdb.base/environ.exp: Ditto.
20587 * gdb.base/eval-skip.exp: Ditto.
20588 * gdb.base/info-proc.exp: Ditto.
20589 * gdb.base/jump.exp: Ditto.
20590 * gdb.base/logical.exp: Ditto.
20591 * gdb.base/long_long.exp: Ditto.
20592 * gdb.base/maint.exp: Ditto.
20593 * gdb.base/miscexprs.exp: Ditto.
20594 * gdb.base/pc-fp.exp: Ditto.
20595 * gdb.base/pointers.exp: Ditto.
20596 * gdb.base/relational.exp: Ditto.
20597 * gdb.base/reread.exp: Ditto.
20598 * gdb.base/sect-cmd.exp: Ditto.
20599 * gdb.base/sep.exp: Ditto.
20600 * gdb.base/sepdebug.exp: Ditto.
20601 * gdb.base/until.exp: Ditto.
20602 * gdb.base/whatis-exp.exp: Ditto.
20603 * gdb.cp/annota2.exp: Ditto.
20604 * gdb.cp/annota3.exp: Ditto.
20605 * gdb.trace/actions.exp: Ditto.
20606 * gdb.trace/backtrace.exp: Ditto.
20607 * gdb.trace/circ.exp: Ditto.
20608 * gdb.trace/collection.exp: Ditto.
20609 * gdb.trace/deltrace.exp: Ditto.
20610 * gdb.trace/infotrace.exp: Ditto.
20611 * gdb.trace/limits.exp: Ditto.
20612 * gdb.trace/packetlen.exp: Ditto.
20613 * gdb.trace/passc-dyn.exp: Ditto.
20614 * gdb.trace/passcount.exp: Ditto.
20615 * gdb.trace/report.exp: Ditto.
20616 * gdb.trace/save-trace.exp: Ditto.
20617 * gdb.trace/tfind.exp: Ditto.
20618 * gdb.trace/tracecmd.exp: Ditto.
20619 * gdb.trace/while-dyn.exp: Ditto.
20620 * gdb.trace/while-stepping.exp: Ditto.
20621 * lib/gdb.exp: Ditto.
20622 (gdb_compile): Handle nowarning option.
20623
5f4a23d9
AO
206242006-03-07 Alexandre Oliva <aoliva@redhat.com>
20625
20626 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
20627 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
20628 Rename executable to prelinkt. Don't re-prelink if we didn't
20629 get a core file. Test prelink -u exit status to tell whether
20630 prelinking failed. Use gdb_test_multiple.
20631
9733fc94
DJ
206322006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
20633
20634 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
20635 (do_tests): Call it.
20636
cc10cae3
AO
206372006-02-28 Alexandre Oliva <aoliva@redhat.com>
20638
20639 * gdb.base/prelink.exp: New test.
20640 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
20641
15c46491
WZ
206422006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
20643
20644 * gdb.fortran/derived-type.f90: New file.
20645 * gdb.fortran/derived-type.exp: New testcase.
20646
5c9f7ded
DJ
206472006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
20648
20649 * gdb.base/default.exp: Allow ';' as a directory separator.
20650
5b96932b
AS
206512006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20652
20653 * gdb.base/help.exp (help add-symbol-file): Update.
20654
1986bccd
AS
206552006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20656
20657 * gdb.base/help.exp (help load): Update expected results.
20658
a8b7528f
FF
206592006-02-19 Fred Fish <fnf@specifix.com>
20660
20661 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
20662 specifix hex value as part of results.
20663 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 20664
f8261448
FF
206652006-02-16 Fred Fish <fnf@specifix.com>
20666
20667 * gdb.base/whatis.c: Define variables using typedefs char_addr,
20668 ushort_addr, and slong_addr, so the typedefs are not optimized
20669 away.
20670 * gdb.base/whatis.exp: Add tests using type name for struct type,
20671 union type, enum type, and typedef.
a9c64011 20672
31d8bdd2
MK
206732006-02-13 Mark Kettenis <kettenis@gnu.org>
20674
20675 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
20676
34e41e63
JB
206772006-02-13 Jim Blandy <jimb@redhat.com>
20678
20679 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
20680 case where it takes two "next" commands to skip past the init
20681 call.
20682
ac6e4f31
FF
206832006-02-12 Fred Fish <fnf@specifix.com>
20684
20685 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
20686 to handle cases where it takes two "next" commands to skip
20687 past the init call.
20688
2db2d571
JB
206892006-02-07 Joel Brobecker <brobecker@adacore.com>
20690
20691 * gdb.ada/array_return.exp: Mark the last test as expected to fail
20692 on hppa32 targets.
20693
38fcd64c
DJ
206942006-02-06 Vladimir Prus <ghost@cs.msu.su>
20695
20696 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
20697 field.
20698
1315ad46
MK
206992006-01-29 Mark Kettenis <kettenis@gnu.org>
20700
20701 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
20702
5625b943
DJ
207032006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
20704
20705 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
20706 files.
20707
80df1bbe
DJ
207082006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
20709
20710 * gdb.cp/maint.exp: Set complaints to a positive value.
20711
9078e690
DJ
207122006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20713
20714 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
20715 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
20716 function name.
20717
9c903399
DJ
207182006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20719
20720 * gdb.base/checkpoint.c: Update copyright notice. Include
20721 <stdlib.h>.
20722
761ae4d6
JB
207232006-01-04 Jim Blandy <jimb@redhat.com>
20724
20725 * gdb.asm/asm-source.exp: Independently provide default values for
20726 asm-flags and debug-flags. Use 'string equal' to do the
20727 comparison, not the implicit expr's '==' operator. Remove
20728 now-unneeded assignments to asm-flags. In h8300 case, place
20729 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
20730
099ac3dd
MS
207312006-01-04 Michael Snyder <msnyder@redhat.com>
20732
20733 * gdb.base/checkpoint.c: New file.
20734 * gdb.base/checkpoint.exp: New file.
20735 * gdb.base/multi-fork.c: New file.
20736 * gdb.base/multi-fork.exp: New file.
20737 * gdb.base/pi.txt: New file (data for checkpoint.c test).
20738
f4d85314
FF
207392006-01-04 Fred Fish <fnf@specifix.com>
20740
20741 * gdb.base/ptype.c (foo): Add typedef.
20742 (intfoo): Add function.
20743 * gdb.base/ptype1.c: New file.
20744 * gdb.base/ptype.exp: Handle compilation and linking with two
20745 source files. Test that proper type for "foo" is found based
20746 on source context rather than first match found in symtabs.
20747
a1b06f35
MK
207482005-12-28 Mark Kettenis <kettenis@gnu.org>
20749
20750 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
20751 * gdb.asm/openbsd.inc: Indent commands.
20752
d082a1e2
MK
207532005-12-26 Mark Kettenis <kettenis@gnu.org>
20754
c65016bd
MK
20755 * gdb.base/freebpcmd.exp: Increase timeout.
20756
d082a1e2
MK
20757 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
20758
d3c32a0e
DJ
207592005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
20760
20761 * gdb.base/default.exp: Update check for "show version".
20762
9fdb1f50
RC
207632005-12-09 Randolph Chung <tausq@debian.org>
20764
20765 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
20766 * gdb.asm/pa64.inc: New file.
20767
5f2c56f7
RC
207682005-12-09 Randolph Chung <tausq@debian.org>
20769
20770 * gdb.asm/common.inc: Indent commands.
20771 * gdb.asm/asmsrc1.s: Likewise.
20772 * gdb.asm/asmsrc2.s: Likewise.
20773
8117349c
RC
207742005-12-09 Randolph Chung <tausq@debian.org>
20775
20776 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
20777 (get_addr_of_sym): Remove duplicate print.
20778 (gen_core): xfail hppa*-*-hpux*, update expected output.
20779 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
20780 * gdb.arch/pa64-nullify.s: New file.
20781
8f07f25a
RC
207822005-12-09 Randolph Chung <tausq@debian.org>
20783
20784 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
20785
55b39184
DJ
207862005-12-07 Christophe Lyon <christophe.lyon@st.com>
20787
20788 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
20789 code generation for these functions.
20790 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
20791 error message.
20792
31e2b00f
AS
207932005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
20794
20795 * gdb.base/help.exp (help b, help br, help bre, help brea)
20796 (help break): Update the expected message.
20797
c3d0b56e
SC
207982005-11-11 Stephane Carrez <stcarrez@nerim.fr>
20799
20800 * gdb.asm/m68hc11.inc: Setup the data section.
20801 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
20802 script for this test.
20803 (m6812-*-*): Likewise.
20804
36ae0ea9
RC
208052005-11-09 Randolph Chung <tausq@debian.org>
20806
20807 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
20808
9d6f42e9
WZ
208092005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
20810
20811 * gdb.base/break.exp: Fix a comment typo.
20812
e2126a14
EZ
208132005-11-03 Jim Blandy <jimb@redhat.com>
20814
a9c64011
AS
20815 Checked in by Elena Zannoni <ezannoni@redhat.com>
20816
889bf7c5 20817 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 20818
e0ac7199
CV
208192005-11-02 Corinna Vinschen <vinschen@redhat.com>
20820
20821 * gdb.arch/gdb1558.c: Include stdio.h.
20822
31d3fb18
MK
208232005-10-31 Mark Kettenis <kettenis@gnu.org>
20824
20825 * gdb.asm/asm-source.exp: Use -e instead of --entry.
20826
e52b687c
MK
208272005-10-31 Mark Kettenis <kettenis@gnu.org>
20828
20829 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
20830
f4711d79
PG
208312005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
20832
a9c64011
AS
20833 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20834 vscr" tests to better match output.
f4711d79 20835
987a9106
JB
208362005-10-12 Jim Blandy <jimb@redhat.com>
20837
20838 * gdb.base/structs.exp (any): New function.
20839 (test_struct_returns): Don't make any assumptions at all about
20840 what value the function returns when GDB can't set the return
20841 value.
20842
2336bb58
JB
208432005-10-09 Joel Brobecker <brobecker@adacore.com>
20844
20845 * gdb.ada/arrayidx/p.adb: New file.
20846 * gdb.ada/arrayidx.exp: New testcase
20847
208482005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
20849
20850 * gdb.ada/array_return/pck.ads: New file.
20851 * gdb.ada/array_return/pck.adb: New file.
20852 * gdb.ada/array_return/p.adb: New file.
20853 * gdb.ada/array_return.exp: New testcase.
20854
705335ea
JB
208552005-10-03 Joel Brobecker <brobecker@adacore.com>
20856
a9c64011
AS
20857 * gdb.base/arrayidx.c: New file.
20858 * gdb.base/arrayidx.exp: New testcase.
705335ea 20859
11ee9940
NR
208602005-09-29 Nick Roberts <nickrob@snap.net.nz>
20861
20862 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
20863 frames-invalid and breakpoints-invalid are no longer generated
20864 with level 3 so don't expect them in the output.
20865
39fb8e9e
BR
208662005-09-27 Bob Rossi <bob@brasko.net>
20867
a9c64011 20868 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
20869 from test. Escape the | in mi_gdb_test call.
20870 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
20871 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
20872 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
20873 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
20874 expected regex's in mi_gdb_test calls.
20875 * lib/mi-support.exp: Remove arbitrary .* from tests.
20876 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
20877 Fully anchor GDB/MI expected results in mi_gdb_test.
20878 * lib/gdb.exp (string_to_regexp): Escape the ] character.
20879 * gdb.base/sizeof.exp: Remove escape character. Correct test.
20880
2af48f68
PB
208812005-09-26 Paul Brook <paul@codesourcery.com>
20882
20883 * long_long.exp: Exclude eabi targets from arm FPA float format test.
20884
f34502bc
WZ
208852005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20886
20887 * bfp-test.c: New file.
20888 * bfp-test.exp: New testcase.
20889
ca929517
WZ
208902005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20891
20892 * gdb.fortran/subarray.exp: New testcase to test the evaluation
20893 of subarray and substring variable.
20894 * gdb.fortran/subarray.f: New source file for the test of subarray
20895 and substring variable evaluation.
20896 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
20897 of string constant.
20898
c761af65
DJ
208992005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
20900
20901 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
20902 copyright dates.
20903
561d7a1d
PG
209042005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
20905
20906 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
20907 powerpc altivec' test with an almost identical 'info vector' test.
20908
b2b64cc9
PG
209092005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20910
a9c64011
AS
20911 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20912 vscr" tests to match output.
b2b64cc9 20913
6ac4d15a
PG
209142005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20915
a9c64011
AS
20916 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
20917 output.
6ac4d15a 20918
40e55bef
BR
209192005-09-11 Bob Rossi <bob@brasko.net>
20920
889bf7c5
PA
20921 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
20922 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
20923 commands that return an MI output command and an asyncronous MI output
20924 command.
40e55bef
BR
20925 * gdb.mi/mi-console.exp: Ditto.
20926
3c7385ec
BR
209272005-09-11 Bob Rossi <bob@brasko.net>
20928
20929 * gdb.mi/mi-var-child.c: Include <string.h>.
20930
a6cd0eb3
DJ
209312005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
20932
20933 * killed.exp: Correct gdb_expect syntax.
20934
2f168eed
CV
209352005-08-09 Corinna Vinschen <vinschen@redhat.com>
20936
20937 * lib/mi-support.exp (mi_gdb_load): Fix typo.
20938
ecd3fd0f
BR
209392005-08-02 Bob Rossi <bob@brasko.net>
20940
20941 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
20942 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
20943 Change tests to inferior-tty-set/show.
20944 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
20945 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
20946 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
20947 inferior. Use mi_gdb_test to get GDB and Inferior output.
20948 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
20949 descriptor.
20950 (mi_inferior_tty_name): Add inferior PTY file name.
20951 (mi_gdb_start): Add INFERIOR_PTY parameter.
20952 (mi_gdb_test): Add IPATTERN parameter.
20953
f1ea48cb 209542005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 20955
f1ea48cb
BR
20956 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
20957 parameter to mi_gdb_test.
20958 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
20959
6e650a67
DJ
209602005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20961
20962 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
20963 struct_declarations.
20964 * gdb.mi/mi-var-child.exp: Step over the initialization of
20965 struct_declarations.
20966
8be260b6
DJ
209672005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20968
20969 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
20970 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
20971 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
20972 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
20973 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
20974 file.
20975
4e660f07
NR
209762005-07-27 Nick Roberts <nickrob@snap.net.nz>
20977
20978 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
20979 (do_children_tests): Assign values to the extra elements.
20980
20981 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
20982 them for tests for "-var-update --no-values" and
a9c64011 20983 "-var-update --all-values".
4e660f07
NR
20984 Add test for "-var-list-children --simple-values".
20985
20986 * gdb.mi/basics.c (callee4): Add integer array D[3]...
20987
20988 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
20989 "-stack-list-locals --simple-values" Improve doc strings and
20990 comments.
20991
6bdae935
MK
209922005-07-18 Mark Kettenis <kettenis@gnu.org>
20993
598b7a6f
MK
20994 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
20995 *-*-openbsd*.
20996 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
20997
6bdae935
MK
20998 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
20999 sigaltsatck'.
21000
1323e929 210012005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 21002
1323e929
BR
21003 * gdb.base/default.exp (tty): Changed output of command.
21004 * gdb.base/help.exp (help tty): Ditto.
21005
b1a9c082
MK
210062005-07-12 Mark Kettenis <kettenis@gnu.org>
21007
21008 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
21009
10a844a2
MK
210102005-07-10 Mark Kettenis <kettenis@gnu.org>
21011
21012 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
21013 -stack-select-frame without arguments.
21014 (test_stack_frame_listing): Add test for newly implemented command
21015 -stack-info-frame.
21016
3cb3b8df
BR
210172005-07-06 Bob Rossi <bob@brasko.net>
21018
21019 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
21020 command.
21021 (Copyright): Update copyright.
21022
a0c5fbcf
WZ
210232005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
21024
21025 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
21026 tests to evaluate exponentiation expression.
21027
984971d0
AS
210282005-06-29 Andreas Schwab <schwab@suse.de>
21029
21030 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
21031 main to avoid warnings.
21032
21033 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
21034
fe03833f
NR
210352005-06-20 Nick Roberts <nickrob@snap.net.nz>
21036
21037 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
21038 -stack-select-frame without arguments.
21039 (test_stack_frame_listing): Add test for newly implemented command
21040 -stack-info-frame.
a9c64011 21041
7a55f279
WZ
210422005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
21043
0ffa0ea5
DJ
21044 * gdb.fortran/array-element.f: New file.
21045 * gdb.fortran/array-element.exp: New testcase.
7a55f279 21046
26585198
DJ
210472005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
21048
21049 * gdb.base/bigcore.exp: Correct checks for systems which can
21050 not dump a large core file.
21051
c1bd25fd
DJ
210522005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
21053
21054 * gdb.base/relocate.c: Add a copyright notice.
21055 (dummy): Remove.
21056 * gdb.base/relocate.exp: Test printing the values of variables
21057 from a relocatable file.
21058
589e074d
DJ
210592005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
21060
21061 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
21062 excess MI output after an error.
21063
0915f927
JB
210642005-05-29 Joel Brobecker <brobecker@adacore.com>
21065
21066 * gdb.arch/alpha-step.c: New file.
21067 * gdb.arch/alpha-step.exp: New testcase.
21068
76ff342d
DJ
210692005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
21070 Dennis Brueni <dennis@slickedit.com>
21071
21072 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
21073 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
21074 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
21075 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
21076 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
21077 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
21078 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
21079
96b0c7ac
DJ
210802005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
21081 Wu Zhou <woodzltc@cn.ibm.com>
21082
21083 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
21084 IBM's xlc compiler.
21085 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
21086 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
21087
f21565d2
JB
210882005-05-13 Jim Blandy <jimb@redhat.com>
21089
21090 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
21091 calling gdb_suppress_entire_file.
21092 * gdb.base/charset.exp: Same.
21093 * gdb.base/call-rt-st.exp: Same.
21094
6006a3a1
BR
210952005-05-05 Bob Rossi <bob_rossi@cox.net>
21096
21097 * lib/gdb.exp (fullname_syntax): Added global regex.
21098 (fullname_syntax_POSIX): Ditto.
21099 (fullname_syntax_UNC): Ditto.
21100 (fullname_syntax_DOS_CASE): Ditto.
21101 (fullname_syntax_DOS): Ditto.
21102 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
21103 fullname_syntax variable to scope and use it.
21104 (test_file_list_exec_source_files): Ditto.
21105 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
21106
c3b69c04
DJ
211072005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
21108
21109 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
21110
3c95e6af
PG
211112004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
21112
a9c64011
AS
21113 * lib/gdb.exp (skip_altivec_tests): New function, based on
21114 check_vmx_hw_available from the GCC testsuite.
21115 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
21116 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 21117
78df6c56
JB
211182005-05-02 Jim Blandy <jimb@redhat.com>
21119
21120 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
21121 calling gdb_suppress_entire_file.
21122
1690f9cf
DJ
211232005-04-30 Randolph Chung <tausq@debian.org>
21124
21125 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
21126 Slightly relax "sem_post" name checking.
21127
5ea106f7
PG
211282005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
21129
21130 * gdb.base/unload.exp: Use new shared library infrastructure.
21131
bf7234cf
PG
211322005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
21133
21134 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 21135 infrastructure.
bf7234cf 21136
547b869a
CV
211372005-04-29 Corinna Vinschen <vinschen@redhat.com>
21138
21139 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
21140 * gdb.asm/h8300.inc: New file.
21141
f07e55f0
PG
211422005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
21143
21144 * gdb.base/shlib-call.exp: Change to use new shared library
21145 infrastructure.
21146
3cbba3d1
PG
211472005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
21148
a9c64011
AS
21149 * gdb.base/pending.exp: Change to use new shared library
21150 infrastructure.
3cbba3d1 21151
ed6df200
PG
211522005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
21153
a9c64011
AS
21154 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
21155 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 21156
8c8f4ebe
PG
211572005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
21158
a9c64011
AS
21159 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
21160 shared objects being adjusted and update copyright years.
8c8f4ebe 21161
607fbc54
DJ
211622005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
21163
21164 * ChangeLog: Correct some 2003-01-13 dates.
21165 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
21166 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
21167 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
21168 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
21169 gdb.trace/tfind.exp: Update copyright years.
21170
57bf0e56
DJ
211712005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
21172 Daniel Jacobowitz <dan@codesourcery.com>
21173
21174 * lib/gdb.exp (gdb_compile): Handle shlib=.
21175 (gdb_compile_shlib): New function.
21176
9b593790
PG
211772005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
21178
a9c64011 21179 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 21180
9494c6a5
DJ
211812005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
21182
21183 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
21184 gdb.server.
21185 * configure.ac: Likewise.
21186 * configure: Regenerated.
21187 * gdb.gdbserver/Makefile.in: Moved to...
21188 * gdb.server/Makefile.in: ... here.
21189 * gdb.gdbserver/server.c: Moved to...
21190 * gdb.server/server.c: ... here.
21191 * gdb.gdbserver/server-run.exp: Moved to...
21192 * gdb.server/server-run.exp: ... here.
21193
6f8eac0e
DJ
211942005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
21195
21196 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
21197 * configure.ac: Create gdb.gdbserver/Makefile.
21198 * configure: Regenerated.
21199 * lib/gdbserver-support.exp: New file, derived from
21200 config/gdbserver.exp.
21201 * config/gdbserver.exp: Use gdbserver-support.exp.
21202 * gdb.gdbserver/Makefile.in: New file.
21203 * gdb.gdbserver/server.c: New file.
21204 * gdb.gdbserver/server-run.exp: New file.
21205
6e87504d
PG
212062005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
21207
a9c64011
AS
21208 * lib/gdb.exp (test_compiler_info): Return compiler_info
21209 if no arguments are given.
6e87504d 21210
d1779be4
PG
212112005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
21212
21213 * gdb.arch/altivec-abi.exp: Check for compiler and set
21214 use altivec' flag accordingly.
21215 * gdb.arch/altivec-regs.exp: Likewise.
21216
88750304
DJ
212172005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
21218
21219 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
21220
f3fb768d
AS
212212005-03-27 Andreas Schwab <schwab@suse.de>
21222
21223 * gdb.base/bigcore.c (main): Add missing mode argument in open
21224 call.
21225
7e813ac5
DJ
212262005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
21227
21228 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
21229 downloads.
21230 * config/gdbserver.exp (gdb_load): Likewise.
21231
8e3049aa
PB
212322005-03-14 Paul Brook <paul@codesourcery.com>
21233
21234 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
21235 targets.
21236
a9df7c44
JB
212372005-03-09 Joel Brobecker <brobecker@adacore.com>
21238
21239 * gdb.dwarf2/dup-psym.S: New file.
21240 * gdb.dwarf2/dup-psym.exp: New testcase.
21241
9f0d94e8
JB
212422005-03-09 Joel Brobecker <brobecker@adacore.com>
21243
21244 * gdb.ada/exec_changed/first.adb: New file.
21245 * gdb.ada/exec_changed/second.adb: New file.
21246 * gdb.ada/exec_changed.exp: New testcase.
21247
5f579bc5
NS
212482005-03-08 Nathan Sidwell <nathan@codesourcery.com>
21249
36e9969c
NS
21250 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
21251 (A2): New class.
21252 (main): Test operator+.
21253 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
21254 breakpoint test.
21255
5f579bc5
NS
21256 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
21257 * gdb.base/signull.exp: Disable if gdb,nosignals.
21258 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
21259 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
21260 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
21261 * gdb.mi/mi2-console.exp: Likewise.
21262 * gdb.trace/collection.exp (run_trace_experiment): Consume the
21263 continue output at start.
21264 (gdb_collect_locals_test): Robustify regexp.
21265 * gdb.trace/passc-dyn.exp: Fix comment typo.
21266 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
21267
be46087e
CV
212682005-03-08 Corinna Vinschen <vinschen@redhat.com>
21269
21270 * gdb.asm/asm-source.exp: Add iq2000 case.
21271 * gdb.asm/iq2000.inc: New file.
21272
384e1a61 212732005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 21274
384e1a61
MI
21275 * gdb.base/command.exp: Change hardcoded value to regular expression.
21276 * gdb.base/float.exp: Add powerpc to the list of targets checked.
21277
584b6e9e
DJ
212782005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
21279
21280 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
21281 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
21282 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
21283 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
21284 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
21285
ab5b5d61
MK
212862005-03-05 Mark Kettenis <kettenis@gnu.org>
21287
21288 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
21289 changes.
21290
ae051c1b
PG
212912004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
21292
a9c64011
AS
21293 * lib/compiler.c: Add test for IBM's xlc compiler.
21294 * lib/compiler.cc: Likewise.
ae051c1b 21295
3f0f6ed2
JB
212962004-02-24 Joel Brobecker <brobecker@adacore.com>
21297
21298 * gdb.ada/fixed_points.exp: Create compilation object directory
21299 before running the test.
21300 * gdb.ada/null_record.exp: Likewise.
21301 * gdb.ada/packed_array.exp: Likewise.
21302 * gdb.ada/start.exp: Likewise.
21303
724f452b
JB
213042005-02-15 Joel Brobecker <brobecker@adacore.com>
21305
21306 * gdb.ada/packed_array/pa.adb: New file.
21307 * gdb.ada/packed_array.exp: New testcase.
21308
57f5cdfb 213092005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 21310
1f393151
MK
21311 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
21312 files.
21313
ebdda337
MK
21314 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
21315 on *-*-openbsd*. Correctly match whitespace in regukar
21316 expressions.
21317
cf309262
DJ
213182005-02-10 Daniel Jacobowitz <dan@debian.org>
21319
21320 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
21321 PR exp/1821
21322 * gdb.base/gdb1821.c: New test file.
21323 * gdb.base/gdb1821.exp: New test file.
21324
3be49e7a
JB
213252005-02-09 Joel Brobecker <brobecker@adacore.com>
21326
21327 * gdb.base/start.c: New file.
21328 * gdb.base/start.exp: New testcase.
21329
e292e67d
JB
213302005-02-09 Joel Brobecker <brobecker@adacore.com>
21331
21332 * gdb.ada/start/dummy.adb: New file.
21333 * gdb.ada/start.exp: New testcase.
21334
dbdfa66c
CV
213352005-02-09 Corinna Vinschen <vinschen@redhat.com>
21336
21337 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
21338 for printing symbols and statistics.
21339 Add test for using relative pathnames in "maint print msymbols" test.
21340 Mark "maint info sections DATA" XFAIL on Cygwin.
21341 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
21342 tests.
21343
d7941671
AC
213442005-02-09 Andreas Schwab <schwab@suse.de>
21345
21346 Committed by Andrew Cagney <cagney@gnu.org>
21347 * gdb.base/remotetimeout.exp: New file.
21348
74e5ef44
MK
213492005-02-07 Mark Kettenis <kettenis@gnu.org>
21350
21351 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
21352
464dd14d
JB
213532005-02-03 Joel Brobecker <brobecker@adacore.com>
21354
21355 * gdb.ada/gnat_ada.gpr: New file.
21356 * gdb.ada/gnat_ada.gin: Delete, no longer used.
21357 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
21358 * configure.ac: No longer generate gnat_ada.gpr.
21359 * configure: Regenerate.
21360 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
21361 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
21362 * gdb.ada/null_record/bar.ads: Likewise.
21363 * gdb.ada/null_record/bar.adb: Likewise.
21364 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
21365 * gdb.ada/null_record.exp (testdir): New variable.
21366 (testfile): executable is now in testdir subdirectory.
21367 (srcfile): Use full path to the main compilation unit.
21368 * gdb.ada/fixed_points.exp: Same changes as above.
21369
30d756ae
NR
213702005-02-03 Nick Roberts <nickrob@snap.net.nz>
21371
21372 * gdb.base/interp.exp: New test.
21373
9d799f85
AC
213742005-01-24 Andrew Cagney <cagney@gnu.org>
21375
21376 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
21377
15656118
AC
213782005-01-19 Andrew Cagney <cagney@gnu.org>
21379
a892c31b
AC
21380 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
21381 configure.ac not configure.in.
21382
15656118
AC
21383 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
21384 of powerpc*-*-*.
21385 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 21386 * gdb.base/list.exp (test_list_function)
15656118
AC
21387 (test_list_filename_and_function): Ditto.
21388 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
21389
a7b01baf
AC
213902005-01-16 Andrew Cagney <cagney@gnu.org>
21391
17d92a02
AC
21392 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
21393
a7b01baf
AC
21394 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
21395
bc8332bb
AC
213962005-01-14 Andrew Cagney <cagney@gnu.org>
21397
21398 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
21399 * gdb.mi/mi2-var-cmd.exp: Ditto.
21400
4d074752
CV
214012005-01-10 Corinna Vinschen <vinschen@redhat.com>
21402
21403 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
21404
bec39cab
AC
214052005-01-07 Andrew Cagney <cagney@gnu.org>
21406
21407 * configure.ac: Rename configure.in, require autoconf 2.59.
21408 * configure: Re-generate.
21409 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
21410 * gdb.stabs/configure: Re-generate.
21411 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
21412 * gdb.hp/configure: Re-generate.
21413 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
21414 autoconf 2.59.
21415 * gdb.hp/gdb.objdbg/configure: Re-generate.
21416 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
21417 autoconf 2.59.
21418 * gdb.hp/gdb.defects/configure: Re-generate.
21419 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
21420 autoconf 2.59.
21421 * gdb.hp/gdb.compat/configure: Re-generate.
21422 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
21423 autoconf 2.59.
21424 * gdb.hp/gdb.base-hp/configure: Re-generate.
21425 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
21426 autoconf 2.59.
21427 * gdb.hp/gdb.aCC/configure: Re-generate.
21428
f10b16d4
JB
214292004-12-15 Jim Blandy <jimb@redhat.com>
21430
21431 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
21432 under NPTL when there is debugging info available for libpthread.
21433
fb6e1814
JG
214342004-12-13 Jerome Guitton <guitton@gnat.com>
21435
21436 * gdb.ada/fixed_points.c: New file.
21437 * gdb.ada/fixed_points.exp: New file.
21438
fe46cd3a
RC
214392004-12-03 Randolph Chung <tausq@debian.org>
21440
21441 * gdb.arch/pa-nullify.exp: New file.
21442 * gdb.arch/pa-nullify.s: New file.
21443
8de0841b
RC
214442004-11-30 Randolph Chung <tausq@debian.org>
21445
21446 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
21447 instead of "tbug". Fix regexp to work properly with gdb_test.
21448
c8170782
PH
214492004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
21450
21451 * gdb.base/bitfields2.exp: New test.
21452 * gdb.base/bitfields2.c: New file.
21453
954269c2
RE
214542004-11-28 Richard Earnshaw <rearnsha@arm.com>
21455
21456 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
21457
0107feed
RC
214582004-11-16 Randolph Chung <tausq@debian.org>
21459
21460 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
21461
f073ae8c
DJ
214622004-11-14 Daniel Jacobowitz <dan@debian.org>
21463
21464 * gdb.threads/threadapply.exp: Correct "macro details" test.
21465
19ad59e7
JJ
214662004-11-11 Jeff Johnston <jjohnstn@redhat.com>
21467
21468 * gdb.threads/threadapply.exp: New test.
21469 * gdb.threads/threadapply.c: New file.
21470
9cf0961b
MK
214712004-11-07 Mark Kettenis <kettenis@gnu.org>
21472
21473 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
21474 frames.
21475
c789492a
FL
214762004-11-05 Felix Lee <felix+log1@specifixinc.com>
21477
21478 * gdb.base/cursal.exp: New file.
21479 * gdb.base/cursal.c: New file.
21480
a1e167bb
AC
214812004-11-03 Andrew Cagney <cagney@gnu.org>
21482
21483 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
21484
b7cbf173
MK
214852004-10-30 Mark Kettenis <kettenis@gnu.org>
21486
21487 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
21488 NetBSD/ELF targets.
21489
88f9d34f
JB
214902004-10-29 Joel Brobecker <brobecker@gnat.com>
21491
21492 * gdb.threads/bp_in_thread.c: New file, copied from
21493 pthread_cond_wait.c.
21494 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
21495 file, rather than reusing the .c file from another testcase.
21496
ca7d6a0c
JB
214972004-10-20 Joel Brobecker <brobecker@gnat.com>
21498
21499 * gdb.ada/null_record.exp: Check where we stopped after
21500 sending the start command, instead of where the associated
21501 temporary breakpoint was inserted.
21502
0d863d03
AC
215032004-10-14 Andrew Cagney <cagney@gnu.org>
21504
21505 * gdb.mi/gdb701.c (main): Return 0.
21506
d11e72cb
DJ
215072004-10-13 Daniel Jacobowitz <dan@debian.org>
21508
d40539a4 21509 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 21510
e1923096
JJ
215112004-10-12 Jeff Johnston <jjohnstn@redhat.com>
21512
21513 * gdb.threads/schedlock.c: Add comment markers to use to find
21514 line numbers.
21515 * gdb.threads/schedlock.exp: Adjust regex to handle the new
21516 comments.
21517 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
21518 breakpoint lines.
21519
ec8ba2c9
DJ
215202004-10-12 Daniel Jacobowitz <dan@debian.org>
21521
21522 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
21523
0eb3658b
DJ
215242004-10-12 Daniel Jacobowitz <dan@debian.org>
21525
21526 * configure.in: Add gdb.dwarf2.
21527 * configure: Regenerated.
21528 * Makefile.in: Add gdb.dwarf2.
21529 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
21530 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
21531 gdb.dwarf2/file1.txt: New files.
21532
a271cc33
OF
215332004-10-11 Orjan Friberg <orjanf@axis.com>
21534
a9c64011 21535 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
21536 of "run", since the latter doesn't work with remote targets. Adjust
21537 the breakpoint numbering accordingly.
21538 * gdb.threads/pthread_cond_wait.exp: Ditto.
21539
895ce074
MC
215402004-10-08 Michael Chastain <mec.gnu@mindspring.com>
21541
21542 * gdb.base/overlays.exp: Update copyright years.
21543
6be3092d
KI
215442004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
21545
21546 * gdb.base/overlays.exp: Disable if target is Linux.
21547
e05389b8
FL
215482004-10-06 Felix Lee <felix+log1@specifixinc.com>
21549
21550 * config/gdbserver.exp (gdb_load): Use right filename on remote.
21551
73cb587d
KI
215522004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
21553
21554 * gdb.asm/asm-source.exp: Add m32r-linux target.
21555 * gdb.asm/m32r-linux.inc: New file.
21556
3c0edcdc
AC
215572004-09-24 Andrew Cagney <cagney@redhat.com>
21558 David Anderson <anderson@redhat.com>
21559
21560 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
21561 command fails, assume things will work.
21562 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
21563 (_GNU_SOURCE): Define.
21564 (print_unsigned, print_hex): Change parameter to "long long".
21565 (print_byte_count): New function, use to print byte counts.
21566 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
21567 O_LARGEFILE.
21568 (main): Compute an upper bound on a corefile in max_core_size.
21569 Limit memory chunk size to max_core_size. Limit total memory
21570 allocated to max_core_size.
21571
4bb3667f
AC
215722004-09-23 Andrew Cagney <cagney@gnu.org>
21573
21574 * gdb.base/bigcore.exp: Replace the code that creates a corefile
21575 from a separate process with code that creates a corefile by
21576 making the inferior dump core.
21577
60fe1a51
MK
215782004-09-23 Mark Kettenis <kettenis@gnu.org>
21579
21580 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
21581 block.
21582
8e937346
MC
215832004-09-23 Michael Chastain <mec.gnu@mindspring.com>
21584
21585 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
21586 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
21587 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
21588 Likewise.
21589
7213f6d6
JJ
215902004-09-20 Jeff Johnston <jjohnstn@redhat.com>
21591
21592 * gdb.java/jprint.exp: New test case for java inferior call.
21593 * gdb.java/jprint.java: Ditto.
21594
eac69dca
JB
215952004-09-15 Joel Brobecker <brobecker@gnat.com>
21596
21597 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
21598
22227696
MC
215992004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21600
21601 * gdb.threads/killed.c: Include <stdlib.h>.
21602 * gdb.threads/pthreads.c: Likewise.
21603
7dd403a4
MC
216042004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21605
21606 * gdb.threads/killed.c: Add copyright notice.
21607
33f2d567
JM
216082004-09-10 Jason Molenda (jmolenda@apple.com)
21609
a9c64011
AS
21610 * gdb.base/define.exp: Two new tests to verify zero space chars
21611 after 'if' and 'while' commands in a user-defined command is correctly
21612 parsed.
33f2d567 21613
e05b62ac
AC
216142004-09-08 Andrew Cagney <cagney@gnu.org>
21615
21616 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
21617 delivery test with duplicate at end of file.
21618
9cbe82da
MK
216192004-09-06 Mark Kettenis <kettenis@jive.nl>
21620
21621 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
21622
564803d9
MC
216232004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21624
21625 * config/hppro.exp: Removed.
21626
7c6807ce
MC
216272004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21628
21629 * config/sparclet.exp: Removed.
21630
bf7e26dd
MC
216312004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21632
21633 * config/udi.exp: Removed.
21634
714e341b
MC
216352004-09-02 Michael Chastain <mec.gnu@mindspring.com>
21636
21637 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
21638 of "exp_continue".
21639 (advancei): Likewise.
21640
1236e623
JJ
216412004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21642
21643 * gdb.base/unload.exp: Fix so messages aren't duplicated.
21644
3bdcad15
MI
216452004-09-01 Manoj Iyer <manjo@austin.ibm.com>
21646
228af206 21647 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
21648 to check for nodebug in executable.
21649 * gdb.gdb/observer.exp (setup_test): Likewise.
21650 * gdb.gdb/selftest.exp (test_with_self): Likewise.
21651 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
21652
c72b934c
AC
216532004-09-01 Andrew Cagney <cagney@gnu.org>
21654
21655 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21656 files.
21657
edd9b715
JJ
216582004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21659
21660 * gdb.base/unload.exp: Fix expected warning message to match
21661 latest format.
21662
fb4ce06b
CV
216632004-09-01 Corinna Vinschen <vinschen@redhat.com>
21664
21665 * gdb.base/call-rt-st.exp: Fix typos.
21666
ce78e7c3
MI
216672004-08-31 Manoj Iyer <manjo@austin.ibm.com>
21668
21669 * gdb.threads/thread_check.exp: New testcase.
21670 * gdb.threads/thread_check.c: New testcase.
21671
2dedb159
AC
216722004-08-31 Andrew Cagney <cagney@gnu.org>
21673
21674 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
21675 (skip_to_handler_entry): New procedures. Test stepping into a
21676 handler when the breakpoint is at the handler's entry point.
21677
68f53502
AC
216782004-08-30 Andrew Cagney <cagney@gnu.org>
21679
21680 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
21681 gdb/1757.
21682
3e3ffd2b
MC
216832004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21684
21685 With code from Manoj Iyer <manjo@austin.ibm.com>:
21686 * lib/gdb.exp (gdb_file_cmd): Return more information in the
21687 return value. Add an arm for "no debugging symbols found".
21688 Change a stray "error" to "perror".
21689 (gdb_run_cmd): Adapt to new return value.
21690 * gdb.base/remote.exp: Adapt to new return value.
21691 * gdb.gdb/complaints.exp: Likewise.
21692 * gdb.gdb/observer.exp: Likewise.
21693 * gdb.gdb/selftest.exp: Likewise.
21694 * gdb.gdb/xfullpath.exp: Likewise.
21695
4b6f5fd2
JB
216962004-08-27 Joel Brobecker <brobecker@gnat.com>
21697
21698 * gdb.threads/bp_in_thread.exp: New testcase.
21699
e5b25496
MC
217002004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21701
21702 Fix PR testsuite/1735.
21703 * gdb.threads/schedlock.c (thread_function): Add a cast
21704 to suppress a gcc warning.
21705 * gdb.threads/thread-specific.c (thread_function): Likewise.
21706
934353d6
MC
217072004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21708
21709 * gdb.base/unload.c: Include <stdlib.h>.
21710
f98a0aef 217112004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 21712
f98a0aef 21713 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
21714 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
21715 synchronized after the "return".
21716
5a2e8882
MC
217172004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21718
21719 * gdb.mi/basics.c: Include <stdio.h>.
21720 * gdb.mi/pthreads.c: Include <stdlib.h>.
21721 * gdb.mi/var-cmd.c: Include <stdlib.h>.
21722
a9640423
MC
217232004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21724
21725 * gdb.threads/schedlock.c: Add copyright notice.
21726
b04e311d
AC
217272004-08-25 Andrew Cagney <cagney@gnu.org>
21728
21729 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
21730 (skip_over_handler, breakpoint_over_hander): New test procedures.
21731 (advance, advancei): Add a proper prefix, do not use
21732 rerun_to_main.
21733 * gdb.base/sigstep.c (main): Change to use an infinite loop.
21734
7c27f15b
MC
217352004-08-24 Michael Chastain <mec.gnu@mindspring.com>
21736
21737 * gdb.mi/basics.c: Add copyright notice.
21738 * gdb.mi/var-cmd.c: Add copyright notice.
21739
fffc87ae
MC
217402004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21741
21742 * lib/gdb.exp: Remove signed_keyword_not_used.
21743 * lib/compiler.c: Likewise.
21744 * lib/compiler.cc: Likewise.
21745
d782e0bf
MC
217462004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21747
21748 * gdb.base/whatis.c: Remove conditional disabling of "signed".
21749 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
21750
96033e83
MC
217512004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21752
21753 * gdb.base/whatis.c: Add copyright notice.
21754
cf38c229
MK
217552004-08-20 Mark Kettenis <kettenis@gnu.org>
21756
21757 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
21758 it to skip the breakpoints encoded in the inline assembly.
21759
f4b49756
MC
217602004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21761
21762 * Makefile.in: Add gdb.fortran.
21763
2f193b69
MC
217642004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21765
21766 * gdb.base/call-sc.exp (test_scalar_returns):
21767 Fix cut-and-paste glitch in "Make fun return now".
21768
89a237cb
MC
217692004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21770
21771 * configure.in: Add gdb.fortran.
21772 * configure: Regenerate.
21773 * gdb.fortran/Makefile.in: New file.
21774 * lib/gdb.exp (skip_fortran_tests): New procedure.
21775
469aff8e
MC
217762004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21777
21778 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
21779 reference to bug-gnu@prep.ai.mit.edu.
21780 * gdb.mi/mi-var-child.exp: Likewise.
21781 * gdb.mi/mi-var-cmd.exp: Likewise.
21782 * gdb.mi/mi-var-display.exp: Likewise.
21783 * gdb.mi/mi2-var-block.exp: Likewise.
21784 * gdb.mi/mi2-var-child.exp: Likewise.
21785 * gdb.mi/mi2-var-cmd.exp: Likewise.
21786 * gdb.mi/mi2-var-display.exp: Likewise.
21787
00b51b9f
MK
217882004-08-15 Mark Kettenis <kettenis@gnu.org>
21789
21790 * gdb.base/unload.c (main): Make local variable msg const.
21791
45f07fef
MC
217922004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21793
21794 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
21795 to bug-gnu@prep.ai.mit.edu.
21796 * gdb.mi/mi-disassemble.exp: Likewise.
21797 * gdb.mi/mi-eval.exp: Likewise.
21798 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
21799 default line number.
21800 * gdb.mi/mi-return.exp: Likewise.
21801 * gdb.mi/mi-simplerun.exp: Likewise.
21802 * gdb.mi/mi-stack.exp: Likewise.
21803 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
21804 number with explicit range test.
21805 * gdb.mi/mi-watch.exp: Likewise.
21806 * gdb.mi/mi2-break.exp: Likewise.
21807 * gdb.mi/mi2-cli.exp: Likewise.
21808 * gdb.mi/mi2-disassemble.exp: Likewise.
21809 * gdb.mi/mi2-eval.exp: Likewise.
21810 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
21811 default line number.
21812 * gdb.mi/mi2-return.exp: Likewise.
21813 * gdb.mi/mi2-simplerun.exp: Likewise.
21814 * gdb.mi/mi2-stack.exp: Likewise.
21815 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
21816 number with explicit range test.
21817 * gdb.mi/mi2-watch.exp: Likewise.
21818
dd8c8ee7
MC
218192004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21820
21821 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
21822 * gdb.cp/m-static.exp: Likewise.
21823 * gdb.cp/rtti.exp: Likewise.
21824
4e838464
MK
218252004-08-14 Mark Kettenis <kettenis@gnu.org>
21826
21827 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
21828
8d8cb839
EZ
218292004-08-14 Eli Zaretskii <eliz@gnu.org>
21830
21831 * ChangeLog: Prefix Local Variables with semi-colons and indent
21832 the reference to older ChangeLog files, to fix fontification in
21833 Emacs.
21834
deea8bb0
MC
218352004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21836
21837 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
21838 * gdb.mi/mi2-break.exp: Likewise.
21839
c3297504
MC
218402004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21841
21842 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
21843
25808999
MC
218442004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21845
21846 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
21847
226a8d71
MC
218482004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21849
21850 * gdb.cp/classes.exp: Remove unused declarations. Just let
21851 test names default instead of providing special names. Remove
21852 extraneous demangler test.
21853
37fdf854
JJ
218542004-08-12 Jeff Johnston <jjohnstn@redhat.com>
21855
21856 * gdb.base/unload.exp: New test for breakpoints in dynamically
21857 loaded libraries.
21858 * gdb.base/unload.c: Ditto.
21859 * gdb.base/unloadshr.c: Ditto.
21860
2d3a7986
MC
218612004-08-12 Michael Chastain <mec.gnu@mindspring.com>
21862
21863 * gdb.cp/classes.exp (test_ptype_class_objects): Call
21864 cp_test_ptype_class.
21865 (test_enums): Likewise.
21866
c72b934c
AC
218672004-08-10 Andrew Cagney <cagney@gnu.org>
21868
21869 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21870 files.
21871
cc503c8a
AC
218722004-08-10 Andrew Cagney <cagney@gnu.org>
21873
21874 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
21875 init_malloc call.
21876
902f2ccb
MC
218772004-08-10 Michael Chastain <mec.gnu@mindspring.com>
21878
21879 * ChangeLog: Add copyright notice. The notice is copied
21880 from emacs 21.3 top level ChangeLog.
21881
78c90502
MC
218822004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21883
21884 * lib/cp-support.exp: New file.
21885 * lib/cp-support.exp (cp_test_type_class): New function.
21886 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
21887 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
21888 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
21889 cp_test_ptype_class.
21890
88e5ea78
MC
218912004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21892
21893 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
21894 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
21895 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
21896 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
21897 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
21898 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
21899 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
21900 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
21901 gdb.mi/mi2-watch.exp: Update copyright years.
21902
6a89fc9c
MK
219032004-08-09 Mark Kettenis <kettenis@gnu.org>
21904
21905 * gdb.base/sigaltstack.exp: Provide proper anchoring.
21906
1482e0de
MC
219072004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21908
21909 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
21910 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
21911 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
21912 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
21913 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
21914 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
21915 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
21916 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
21917 gdb.mi/mi-watch.exp: Update copyright years.
21918
1a5ce3f3
DJ
219192004-08-08 Daniel Jacobowitz <dan@debian.org>
21920
21921 PR gdb/1738
21922 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
21923 from a breakpoint with a pending signal.
21924
04f6ecf2
DJ
219252004-08-08 Daniel Jacobowitz <dan@debian.org>
21926
21927 PR gdb/1736
21928 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
21929 * gdb.base/sigaltstack.exp (finish_test): Consume output until
21930 the prompt.
21931 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
21932
54d90d35
DJ
219332004-08-08 Daniel Jacobowitz <dan@debian.org>
21934
21935 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
21936
d2f6abb0
DJ
219372004-08-08 Daniel Jacobowitz <dan@debian.org>
21938
21939 PR gdb/1736
21940 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
21941 for i?86-*-linux*.
21942
5598c03d
DJ
219432004-08-08 Daniel Jacobowitz <dan@debian.org>
21944
21945 * gdb.arch/i386-prologue.exp: Compile without debug information.
21946
c6fee705
MC
219472004-08-08 Michael Chastain <mec.gnu@mindspring.com>
21948
21949 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
21950 rather than asking gdb to search.
21951
dd90efdb
MC
219522004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21953
21954 * gdb.base/gcore.c: Include <string.h>.
21955
1e84bec1
MC
219562004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21957
21958 * gdb.base/gcore.c: Add copyright notice.
21959
e425eb2b
MC
219602004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21961
21962 * gdb.base/freebpcmd.c: Include <stdio.h>.
21963 * gdb.base/long_long.c: Include <string.h>.
21964 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
21965 * gdb.base/siginfo.c: Include <string.h>.
21966 * gdb.base/sigstep.c: Include <string.h>.
21967
cb9aaed5
MC
219682004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21969
21970 * gdb.base/complex.c: Include <stdlib.h>.
21971
55944f3d
MC
219722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21973
21974 * gdb.base/complex.c: Add copyright notice.
21975
7b2953d9
MC
219762004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21977
21978 * gdb.base/charset.c: Include <stdlib.h>.
21979
c9133d23
MC
219802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21981
21982 * gdb.base/auxv.c: Include <stdlib.h>.
21983
0a8490ad
MC
219842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21985
21986 * gdb.base/auxv.c: Add copyright notice.
21987
3426d5ec
MC
219882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21989
21990 * gdb.base/coremaker.c: Add copyright notice.
21991 * gdb.base/coremaker2.c: Add copyright notice.
21992
8da195dd
AC
219932004-08-04 Andrew Cagney <cagney@gnu.org>
21994
21995 * gdb.base/store.exp: Update copyright.
21996 (check_set, up_set, check_struct, up_struct): Add a prefix to test
21997 names, do not import gdb_prompt.
21998
8d394f98
AC
219992004-08-01 Andrew Cagney <cagney@gnu.org>
22000
22001 Fix PR testsuite/1729.
22002 * gdb.base/dump.exp: Add test name to callers of capture_value, do
22003 not use capture_value with value 4.
22004 (capture_value): Add optional test name parameter.
22005 (test_reload_saved_value, test_restore_saved_value): Use $msg as
22006 the prefix, pass to capture_value.
22007
b6702b23
MK
220082004-08-01 Mark Kettenis <kettenis@gnu.org>
22009
22010 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
22011 * gdb.arch/i386-prologue.c (standard): New prototype and function.
22012 (main): Call new function.
22013
c203e0ca
MC
220142004-07-31 Michael Chastain <mec.gnu@mindspring.com>
22015
22016 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
22017
a7995a30
MC
220182004-07-31 Michael Chastain <mec.gnu@mindspring.com>
22019
22020 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
22021
9366563b
MC
220222004-07-31 Michael Chastain <mec.gnu@mindspring.com>
22023
b6eeaf26 22024 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
22025 Accept more values of vtbl pointer. Remove some messages
22026 about "obsolete gcc or gdb".
22027
2fc1f950
MC
220282004-07-30 Michael Chastain <mec.gnu@mindspring.com>
22029
22030 * gdb.cp/classes.exp: Accept more varieties of ptype output.
22031
c724d49b
MC
220322004-07-30 Michael Chastain <mec.gnu@mindspring.com>
22033
22034 * gdb.base/asm-source.exp: Properly convert target board
22035 debug flags from gcc format to binutils format.
22036
736b0fce
MK
220372004-07-28 Mark Kettenis <kettenis@gnu.org>
22038
22039 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
22040 gdb1718". PR backtrace/1718 partially fixed.
22041
5633ea5c
JJ
220422004-07-27 Jeff Johnston <jjohnstn@redhat.com>
22043
22044 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
22045
575eebb1
NC
220462004-07-26 Nick Clifton <nickc@redhat.com>
22047
22048 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
22049 good default value for a specific architecture is available then
22050 set it to that value. Otherwise default to the -gstabs switch.
22051 Remove the -g... switches from the asm-flags variable. Allow the
22052 target board info to override the value if it wants to. Pass the
22053 switch on the assembler command line.
22054
62104619
MK
220552004-07-23 Mark Kettenis <kettenis@gnu.org>
22056
22057 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
22058 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
22059 (main): Call new function.
22060
4a1135b8
MC
220612004-07-22 Michael Chastain <mec.gnu@mindspring.com>
22062
22063 Test for PR exp/1715.
22064 * gdb.base/radix.exp: Refactor common procedures. Make all
22065 test names unique. Change XFAIL to KFAIL.
22066
8a12c1f0
MC
220672004-07-20 Michael Chastain <mec.gnu@mindspring.com>
22068
22069 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
22070 * gdb.ada/gnat_ada.gin: ... to here.
22071 * configure.in: Use gnat_ada.gin.
22072 * configure: Regenerate.
22073
23b451cf
AC
220742004-07-20 Andrew Cagney <cagney@gnu.org>
22075
22076 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
22077 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
22078 XFAILs. Clean up test messages and comments. Check backtraces.
22079 Delete re-sync code.
22080
ab618a02
MC
220812004-07-19 Michael Chastain <mec.gnu@mindspring.com>
22082
22083 Fix PR cli/740.
22084 * gdb.base/annota1.exp: Honor gdb,nosignals.
22085 * gdb.base/annota3.exp: Likewise.
22086
46dad340
MC
220872004-07-19 Michael Chastain <mec.gnu@mindspring.com>
22088
22089 * lib/java.exp: Update copyright notice.
22090
756d8c70
AC
220912004-07-19 Andrew Cagney <cagney@gnu.org>
22092
22093 * gdb.base/selftest.exp: Copy file from here ...
22094 * gdb.gdb/selftest.exp: ... to here.
22095
586027e6
AC
220962004-07-16 Andrew Cagney <cagney@redhat.com>
22097
22098 * lib/insight-support.exp: Delete file.
22099 * lib/java.exp (java_init): Fix copyright.
22100
029d2200
AC
221012004-07-16 Andrew Cagney <cagney@gnu.org>
22102
22103 * gdb.base/restore.c: Append "prologue" to comments marking the a
22104 function's prologue.
22105 * gdb.base/restore.exp: Update copyright, re-indent.
22106 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
22107 callerN" prefix where needed. Update patterns that match a
22108 function's prologue.
22109
653b62c5
MC
221102004-07-16 Michael Chastain <mec.gnu@mindspring.com>
22111
22112 * gdb.base/restore.c: Add copyright notice.
22113
f7d690e5
AC
221142004-07-16 Andrew Cagney <cagney@gnu.org>
22115
22116 * gdb.base/logical.exp: Update copyright.
22117 (evaluate): New procedure. Use to re-implement tests using
22118 several tables.
22119
d629a7cb
MH
221202004-07-14 Martin Hunt <hunt@redhat.com>
22121
22122 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
22123 which fixes some problems where init.tcl was not found.
22124
9c7bb332
AC
221252004-07-13 Andrew Cagney <cagney@gnu.org>
22126
6bf46641
AC
22127 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
22128 (check_sizeof, check_valueof): Do not include the output in the
22129 test name. Use gdb_test.
22130 (get_valueof): Use gdb_test_multiple.
22131
c4ffd4c0
AC
22132 * gdb.base/step-test.exp: Update copyright. Use
22133 gdb_test_multiple. Ensure that test names do not include
22134 architecture dependent output.
22135
ab89363a
AC
22136 * gdb.gdb/observer.exp: Update copyright.
22137 (setup_test): Use gdb_test_multiple.
22138 (attach_first_observer, attach_second_observer)
22139 (attach_third_observer, detach_first_observer)
22140 (detach_second_observer, detach_third_observer)
22141 (reset_counters, check_counters): Make $message a prefix.
22142 (test_normal_stop_notifications): Add "args" parameter - a list of
22143 init functions to be called. Make $message a prefix,
22144 (test_observer_normal_stop): Change the message prefixes so that
22145 they are unique, pass the attach / detach procedures to
22146 test_normal_stop_notifications.
22147
ec58997a
AC
22148 * gdb.base/signull.exp (test_segv): Prefix all tests with
22149 "${name}". Clean up test messages.
22150
b475183b
AC
22151 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
22152
9c7bb332
AC
22153 * gdb.base/ena-dis-br.exp: Update copyright.
22154 (break_at): New function. Replace send_gdb with gdb_test,
22155 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
22156 ignore count, not stopped at bpt", with KFAIL.
22157
2dd95497
CV
221582004-07-13 Corinna Vinschen <vinschen@redhat.com>
22159
22160 * gdb.base/attach.exp: Remove cleanupfile handling.
22161
419e626b
AC
221622004-07-12 Andrew Cagney <cagney@gnu.org>
22163
22164 * gdb.base/annota1.exp: Cleanup corefile test name.
22165 * gdb.base/annota3.exp: Ditto.
22166
8b1b3228
AC
221672004-07-12 Andrew Cagney <cagney@gnu.org>
22168
78650829
AC
22169 * gdb.base/signals.exp: Clean up copyright, re-indent.
22170
8b1b3228
AC
22171 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
22172 gdb_test and gdb_test_multiple.
22173
935c2760
JJ
221742004-07-08 Jeff Johnston <jjohnstn@redhat.com>
22175
22176 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 22177 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
22178 provide line number info for first statement in main.
22179
1544280f
AC
221802004-07-08 Andrew Cagney <cagney@gnu.org>
22181
1279f4ff
AC
22182 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
22183
1544280f
AC
22184 * gdb.base/sigbpt.exp: Make the common part of each test name a
22185 prefix instead of suffix.
22186
bcc82369
BR
221872004-07-07 Bob Rossi <bob_rossi@cox.net>
22188
22189 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
22190 test from test_tbreak_creation_and_listing to
22191 test_file_list_exec_source_file
22192 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
22193 Changed name of test from test_tbreak_creation_and_listing to
22194 test_file_list_exec_source_file
22195
23f4b0aa
JJ
221962004-07-07 Jeff Johnston <jjohnstn@redhat.com>
22197
22198 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
22199 the jmisc() constructor instead of <init>.
22200 * gdb.java/jmisc1.exp: Ditto.
22201
56401cd5
AC
222022004-07-07 Andrew Cagney <cagney@gnu.org>
22203
22204 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
22205 corrupting the PC.
22206
44ae2f6a
MC
222072004-07-06 Michael Chastain <mec.gnu@mindspring.com>
22208
22209 * gdb.cp/templates.exp: Accept whitespace change in demangler
22210 output.
22211
45a83408
AC
222122004-07-06 Andrew Cagney <cagney@gnu.org>
22213
22214 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
22215
d205ad70
MC
222162004-07-02 Michael Chastain <mec.gnu@mindspring.com>
22217
22218 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
22219 * lib/compiler.cc: Likewise.
22220
06ea1a61
MC
222212004-06-30 Michael Chastain <mec.gnu@mindspring.com>
22222
22223 * lib/compiler.cc: Work around string preprocessing problem
22224 with old hp c++ compiler.
22225 * lib/compiler.c: Likewise.
22226
daab1251
CV
222272004-06-29 Corinna Vinschen <vinschen@redhat.com>
22228
22229 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
22230 directives to conditionalize symbol prefixing.
22231 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
22232 additional_flags handling. Add underscore prefix for Cygwin.
22233 * gdb.arch/i386-unwind.c: Use preprocessor directives to
22234 conditionalize symbol prefixing.
22235 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
22236 additional_flags handling. Add underscore prefix for Cygwin.
22237
cc984116
CV
222382004-06-29 Corinna Vinschen <vinschen@redhat.com>
22239
22240 * gdb.base/bigcore.exp: Skip test on Cygwin.
22241
c279b077
MC
222422004-06-28 Michael Chastain <mec.gnu@mindspring.com>
22243
22244 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
22245 formats for "info register". Use gdb_test_multiple. Fix
22246 the "invalid register" test.
22247
0e915747
CV
222482004-06-28 Corinna Vinschen <vinschen@redhat.com>
22249
22250 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
22251 PID for Cygwin. Add Cygwin specific strings to check for in some
22252 tests.
22253 (do_attach_tests): Add a test for user interaction when attaching
22254 to a process with no matching symbol table already loaded.
22255
11422c86
AC
222562004-06-26 Andrew Cagney <cagney@gnu.org>
22257
22258 Test PR java/1567 and PR java/1565.
22259 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
22260 * gdb.java/jmisc2.exp: Delete file.
22261
cefbce26
MC
222622004-06-26 Michael Chastain <mec.gnu@mindspring.com>
22263
22264 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
22265
e19f872c
CV
222662004-06-25 Corinna Vinschen <vinschen@redhat.com>
22267
22268 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
22269 attach process.
22270
d931ba3b
MC
222712004-06-23 Michael Chastain <mec.gnu@mindspring.com>
22272
22273 * gdb.cp/pr-1553.exp: Remove.
22274
aef68c48
MC
222752004-06-22 Michael Chastain <mec.gnu@mindspring.com>
22276
22277 * gdb.cp/pr-1553.cc: Remove.
22278 * gdb.cp/pr-1553.exp: Disable this test.
22279
8d5df71a
JB
222802004-06-20 Jim Blandy <jimb@redhat.com>
22281
a9c64011 22282 Fix PR testsuite/1680.
8d5df71a
JB
22283 * gdb.arch/i386-sse.exp: Properly quote curly braces in
22284 regular expressions.
22285
4ac6f39d
MC
222862004-06-19 Michael Chastain <mec.gnu@mindspring.com>
22287
22288 Fix PR testsuite/1679.
22289 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
22290 Issue an UNSUPPORTED result instead.
22291
1b413552
JB
222922004-06-18 Jim Blandy <jimb@redhat.com>
22293
22294 * gdb.base/charset.exp: Only send a control-C if we see a new
22295 prompt and incomplete command.
22296
6daa6ebd
MC
222972004-06-18 Michael Chastain <mec.gnu@mindspring.com>
22298
22299 * gdb.cp/pr-574.cc: Add copyright notice.
22300
51fa4ae0
JB
223012004-06-17 Jim Blandy <jimb@redhat.com>
22302
22303 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
22304 cases where the regexp has no groups; this grabs random text from
22305 the previous test suite, whatever that was.
22306
8fea26c5
MC
223072004-06-17 Michael Chastain <mec.gnu@mindspring.com>
22308
22309 * gdb.cp/printmethod.cc: Add copyright notice.
22310
1e3aeb41
MC
223112004-06-16 Michael Chastain <mec.gnu@mindspring.com>
22312
22313 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
22314
9d9030bc
AC
223152004-06-16 Andrew Cagney <cagney@gnu.org>
22316
22317 * gdb.base/signull.c: Update copyright. Include <string.h>.
22318 (bowler): Replace data_pointer with data_read
22319 and data_write cases. Add code_descriptor case.
22320 (zero, desc): New array and pointer.
22321 (data, code): Change to simple pointers.
22322 * gdb.base/signull.exp: Fix probe pattern matching a function
22323 descriptor SIGSEGV. Replace data_pointer with data_read and
22324 data_write tests.
22325
acd4ad44
AC
223262004-06-16 Andrew Cagney <cagney@gnu.org>
22327
22328 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
22329
08fd625c
MC
223302004-06-15 Michael Chastain <mec.gnu@mindspring.com>
22331
22332 * gdb.base/long_long.c: Add copyright notice.
22333
1903502c
MC
223342004-06-15 Michael Chastain <mec.gnu@mindspring.com>
22335
22336 * gdb.base/long_long.exp: Remove reference to
22337 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
22338 to gdb_breakpoint and gdb_continue_to_breakpoint.
22339
83313cb1
JB
223402004-06-14 Jim Blandy <jimb@redhat.com>
22341
22342 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
22343 endian case.
22344
1bf404ef
AC
223452004-06-14 Andrew Cagney <cagney@gnu.org>
22346
22347 * gdb.base/gcore.exp (capture_command_output): Delete the always
22348 passing tests containing inferior values.
22349 * gdb.base/ending-run.exp: Do not include the breakpoint address
22350 in the test message. Update copyright.
22351 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
22352 size in the test name, use gdb_test_multiple. Update copyright.
22353
ef220b33
MC
223542004-06-14 Michael Chastain <mec.gnu@mindspring.com>
22355
22356 * gdb.cp/ref-types.cc: Add copyright notice.
22357
4f70a4c9
MC
223582004-06-14 Michael Chastain <mec.gnu@mindspring.com>
22359
22360 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
22361 hp_aCC_compiler.
22362 * lib/compiler.cc: Likewise.
22363 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
22364 'set' commands. Log diagnostics for other lines. Set
22365 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
22366
335928ac
MC
223672004-06-13 Michael Chastain <mec.gnu@mindspring.com>
22368
22369 * gdb.cp/try_catch.cc: Add copyright notice.
22370
2efb12e8
MC
223712004-06-12 Michael Chastain <mec.gnu@mindspring.com>
22372
22373 * gdb.cp/userdef.cc: Add copyright notice.
22374
0bbed51a
MC
223752004-06-11 Michael Chastain <mec.gnu@mindspring.com>
22376
22377 * gdb.cp/virtfunc.cc: Add copyright notice.
22378
e12a46c9
RC
223792004-06-11 Randolph Chung <tausq@debian.org>
22380
22381 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
22382 problem.
22383
338e05af
AC
223842004-06-10 Andrew Cagney <cagney@gnu.org>
22385
22386 * lib/compiler.cc, lib/compiler.c: Append either
22387 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
22388 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
22389 instead of gcc-3-3.
22390
dc3f10cb
AC
223912004-06-09 Andrew Cagney <cagney@gnu.org>
22392
b4d946af
AC
22393 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
22394 gdb/1455, bug is specific to "long long" and "double".
a9c64011 22395
dc3f10cb
AC
22396 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
22397 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
22398 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
22399 fixed.
22400
b5c0bfa2
AC
224012004-06-09 Andrew Cagney <cagney@gnu.org>
22402
22403 * gdb.base/structs.exp (test_struct_returns): Replace
22404 "return_value_unknown" and "finish_value_unknown" by
22405 "return_value_known" and "finish_value_known". Instead of
22406 "return_value_unknown" iff "finish_value_unknown", check
22407 "return_value_known" implies "finish_value_known".
22408
caeb605f
MH
224092004-06-08 Martin Hunt <hunt@redhat.com>
22410
22411 * gdb.base/float.exp: Add pattern for mips targets.
22412
c892bb64
RC
224132004-06-08 Randolph Chung <tausq@debian.org>
22414
22415 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
22416 message for unknown architectures more clear.
22417
48306d3e
JB
224182004-06-08 Joel Brobecker <brobecker@gnat.com>
22419
22420 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
22421 start the execution of the program.
22422
83ecb59f
JB
224232004-06-07 Jim Blandy <jimb@redhat.com>
22424
22425 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
22426 * gdb.arch/i386-cpuid.h: New helper file.
22427
55264cb4
RC
224282004-06-07 Randolph Chung <tausq@debian.org>
22429
22430 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
22431 has started.
22432
23cadb28
RM
224332004-06-04 Roland McGrath <roland@redhat.com>
22434
22435 Fix PR gdb/1647.
22436 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
22437 differently to be robust to output buffering differences.
22438
51d01eda
MC
224392004-06-04 Michael Chastain <mec.gnu@mindspring.com>
22440
22441 * gdb.threads/pthreads.exp: Update copyright years.
22442 (check_control_c): Change asynchronous 'after' to synchronous.
22443
f4fc3b93
RM
224442004-06-04 Roland McGrath <roland@redhat.com>
22445
22446 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
22447 next gdb prompt.
22448
4013522b
MC
224492004-06-02 Michael Chastain <mec.gnu@mindspring.com>
22450
22451 Fix PR gdb/1636.
22452 * gdb.threads/manythreads.exp: Change asynchronous 'after'
22453 calls to synchronous.
22454
7a8f1e6b
JB
224552004-05-26 Jim Blandy <jimb@redhat.com>
22456
22457 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
22458
81bb3443
RC
224592004-05-24 Randolph Chung <tausq@debian.org>
22460
22461 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
22462 * gdb.asm/pa.inc: New file.
22463
8f5a3103
MK
224642004-05-22 Mark Kettenis <kettenis@gnu.org>
22465
22466 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
22467
734b8fe8 224682004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 22469 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
22470
22471 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
22472 GDB prompt.
22473
725603e1
UW
224742004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22475
f4fc3b93 22476 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
22477 setjmp/longjmp. Use sigaction instead of signal.
22478
8b923272 224792004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 22480 Michael Snyder <msnyder@redhat.com>
8b923272
JB
22481
22482 * gdb.threads/pthread_cond_wait.c: New file.
22483 * gdb.threads/pthread_cond_wait.exp: New testcase.
22484
8bfabb04
AC
224852004-05-13 Andrew Cagney <cagney@redhat.com>
22486
22487 * gdb.base/signull.exp, gdb.base/signull.c: New files.
22488 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
22489
42edda50
AC
224902004-05-11 Andrew Cagney <cagney@redhat.com>
22491
22492 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
22493 fixed but revealed gdb/1639.
22494
d303a6c7
AC
224952004-05-10 Andrew Cagney <cagney@redhat.com>
22496
22497 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
22498 func1" and "next to 2nd alarm", kernel bug avoided.
22499
bf08c2a1
DJ
225002004-05-10 Daniel Jacobowitz <dan@debian.org>
22501
22502 PR external/1568
22503 * gdb.base/bigcore.exp: Check the size of the dumped core file.
22504 XFAIL if it is smaller than bytes_allocated.
22505 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
22506 (main): Make chunks_allocated unsigned. Correct comment.
22507
c0586a34
JB
225082004-05-07 Joel Brobecker <brobecker@gnat.com>
22509
22510 * gdb.arch/powerpc-aix-prologue.c: New file.
22511 * gdb.arch/powerpc-aix-prologue.exp: New file.
22512
f2785d12
JB
225132004-05-07 Jim Blandy <jimb@redhat.com>
22514
22515 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
22516 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
22517
bd7f6e30
JB
225182004-05-06 Joel Brobecker <brobecker@gnat.com>
22519
22520 * gdb.base/sep.exp: No longer setup_kfail when the program was
22521 built with dwarf2.
22522
0a5e7efe
JI
225232004-05-05 Jim Ingham <jingham@apple.com>
22524
22525 * gdb.base/pending.exp: Make sure pending breakpoints
22526 preserve the ignore count.
f4fc3b93 22527
a8958849
MK
225282004-04-27 Jerome Guitton <guitton@gnat.com>
22529
22530 * i386-prologue.exp: Add testcase for jump instruction as first
22531 instruction of the real code.
22532 * i386-prologue.c (jump_at_beginning): New function.
22533
7e103f5b
MK
225342004-04-28 Mark Kettenis <kettenis@gnu.org>
22535
22536 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
22537 x86_64-*-*.
22538
5d38b224
MK
225392004-04-28 Mark Kettenis <kettenis@gnu.org>
22540
22541 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
22542 i*86-*-*.
22543
0ef32fd9
MK
225442004-04-25 Mark Kettenis <kettenis@gnu.org>
22545
22546 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
22547 expression that checks the return type.
22548
71d7dd7c
AC
225492004-04-23 Andrew Cagney <cagney@redhat.com>
22550
22551 * gdb.base/call-sc.exp: New test of scalar call/return values.
22552 * gdb.base/call-sc.c: Ditto.
22553
1e9f977e
JJ
225542004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22555
22556 * gdb.threads/manythreads.c: Reduce thread stack size.
22557
899d9e3a
JJ
225582004-04-23 Jeff Johnston <jjohnstn@redhat.com>
22559
22560 * gdb.threads/manythreads.c: Add copyright notice.
22561
61bcae62
AC
225622004-04-23 Andrew Cagney <cagney@redhat.com>
22563
22564 * gdb.base/siginfo.exp: Better handle step out of signal.
22565 * gdb.base/sigstep.exp: Ditto.
22566
7339a42e 225672004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 22568 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
22569
22570 * gdb.threads/manythreads.c: New testcase.
22571 * gdb.threads/manythreads.exp: Ditto.
22572
5c98409b
JB
225732004-04-22 Jim Blandy <jimb@redhat.com>
22574
22575 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
22576 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
22577
3b611f1a
MC
225782004-04-21 Michael Chastain <mec.gnu@mindspring.com>
22579
22580 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
22581
f0fd9238
AC
225822004-04-21 Andrew Cagney <cagney@redhat.com>
22583
22584 * gdb.base/sigstep.c: New file.
22585 * gdb.base/sigstep.exp: New file.
22586
90990674
JB
225872004-04-16 Joel Brobecker <brobecker@gnat.com>
22588
22589 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
22590 call to observer_notify_normal_stop.
22591
78cef34b
AC
225922004-04-15 Andrew Cagney <cagney@redhat.com>
22593
22594 * gdb.base/siginfo.c: New file.
22595 * gdb.base/siginfo.exp: New file.
22596
d2343407
JB
225972004-04-12 J. Brobecker <brobecker@gnat.com>
22598
22599 * gdb.base/sep.exp: Fix typo in comment.
22600
a2dba3c8
JB
226012004-04-12 J. Brobecker <brobecker@gnat.com>
22602
22603 * gdb.base/sep.c: New file.
22604 * gdb.base/sep-proc.c: New file.
22605 * gdb.base/sep.exp: New testcase.
22606
15f7b60e
MK
226072004-04-09 Mark Kettenis <kettenis@gnu.org>
22608
22609 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
22610 support.
22611
44f4de1a
AC
226122004-04-05 Andrew Cagney <cagney@redhat.com>
22613
22614 * gdb.base/sigaltstack.c: New file.
22615 * gdb.base/sigaltstack.exp: New file.
22616
ef04f396
JB
226172004-04-04 Joel Brobecker <brobecker@gnat.com>
22618
22619 * gdb.base/foll-fork.exp: Update the expected output for
22620 "help set follow-fork-mode", to match a change that was made
22621 to the help of this variable on 2004-01-13.
22622
d40d2c92
JB
226232004-04-01 Joel Brobecker <brobecker@gnat.com>
22624
22625 * lib/ada.exp: Add copyright notice.
22626 * bar.ads: Likewise.
22627 * bar.adb: Likewise.
22628 * null_record.adb: Likewise.
22629 * null_record.exp: Likewise.
22630 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
22631
f86ef5a3
JB
226322004-04-01 Joel Brobecker <brobecker@gnat.com>
22633
22634 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
22635 * configure: Regenerate.
22636
414e70e3
JB
226372004-04-01 Joel Brobecker <brobecker@gnat.com>
22638
22639 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
22640 to build the application. Remove the message printed when in
22641 verbose mode, redundant with the UNSUPPORTED message above.
22642
f0aaee49
JB
226432004-03-31 Joel Brobecker <brobecker@gnat.com>
22644
22645 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
22646 * gdb.ada (null_record.exp): New testcase.
22647
ac81cb54
JB
226482004-03-31 Joel Brobecker <brobecker@gnat.com>
22649
22650 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
22651
854af2f7
JB
226522004-03-31 Joel Brobecker <brobecker@gnat.com>
22653
22654 * gdb.ada: New subdirectory.
22655 * gdb.ada/Makefile.in: New file.
22656 * gdb.ada/gnat_ada.gpr.in: New file.
22657
034cb681
JB
226582004-03-31 Joel Brobecker <brobecker@gnat.com>
22659
22660 * lib/ada.exp: New file.
22661
78a1a894
DJ
226622004-03-24 Daniel Jacobowitz <drow@mvista.com>
22663
22664 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
22665 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
22666
4b2b3b3e
AC
226672004-03-22 Andrew Cagney <cagney@redhat.com>
22668
22669 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
22670 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
22671 Problem identified by Ulrich Weigand.
22672
23c73aa3
DC
226732004-03-17 David Carlton <carlton@kealia.com>
22674
22675 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
22676 PR c++/826.
22677
d63a86f8
RM
226782004-03-16 Roland McGrath <roland@redhat.com>
22679
22680 * gdb.base/auxv.exp: New file.
22681 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
22682
0e02aa50
DC
226832004-03-12 David Carlton <carlton@kealia.com>
22684
22685 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
22686 * gdb.cp/pr-1553.cc: Ditto.
22687 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
22688 pass branch.
22689
c20b71be
MC
226902004-03-12 Michael Chastain <mec.gnu@mindspring.com>
22691
22692 * gdb.cp/templates.exp: Accept more template types.
22693
c7414a01
MC
226942004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22695
22696 From Corinna Vinschen with modifications.
22697 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
22698 local variable obj_with_enum.
22699 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
22700 results with obj_with_enum.
22701
ed69573c
MC
227022004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22703
22704 * gdb.cp/classes.cc: New file, copied from misc.cc.
22705 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
22706
28301461
MC
227072004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22708
22709 * gdb.cp/misc.cc: Add copyright notice.
22710
1198ecbe
DC
227112004-03-05 David Carlton <carlton@kealia.com>
22712
22713 * gdb.cp/rtti.exp: Add 'print *obj3' test.
22714 * gdb.cp/rtti.h: Update copyright.
22715 (namespace n2::n3): New.
22716 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
22717 (n2::n3::func3): New.
22718 (main): Call n2::n3::func3.
22719 * gdb.cp/rtti2.cc: Update copyright.
22720 (n2::create3): New.
22721
9e08c470
MK
227222004-03-04 Mark Kettenis <kettenis@gnu.org>
22723
22724 * gdb.asm/openbsd.inc: Fix typo.
22725
4bebc3aa
FF
227262004-03-03 Fred Fish <fnf@redhat.com>
22727
22728 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
22729 "val" instead of unused "size". Update copyright year.
22730
6ea9fb37
DJ
227312004-02-29 Daniel Jacobowitz <drow@mvista.com>
22732
22733 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
22734 to use unsigned char.
22735 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
22736 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
22737
23b23974
DJ
227382004-02-29 Daniel Jacobowitz <drow@mvista.com>
22739
22740 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
22741 line of output.
22742
7574fd53
DJ
227432004-02-28 Daniel Jacobowitz <drow@mvista.com>
22744
22745 * gdb.base/relocate.c (dummy): Initialize.
22746
a195357f
DJ
227472004-02-28 Daniel Jacobowitz <drow@mvista.com>
22748
22749 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
22750 a breakpoint at exit.
22751
72fd54a9
FF
227522004-02-27 Fred Fish <fnf@redhat.com>
22753
22754 * gdb.base/chng-syms.exp: Add expect condition to match failing
22755 case that isn't a timeout.
22756
b9d23137
AC
227572004-02-27 Andrew Cagney <cagney@redhat.com>
22758
22759 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
22760 support.
22761
15d208f6 227622004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 22763
15d208f6
FF
22764 * gdb.arch/gdb1431.c: Remove.
22765 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
22766 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
22767 of "until" incorrectly.
22768
98f9cd2d
JB
227692004-02-26 J. Brobecker <brobecker@gnat.com>
22770
22771 * gdb.cp/class2.cc (empty): New class.
22772 (refer): New function.
22773 (main): Declare an object of type empty and use it.
22774 * gdb.cp/class2.exp: Print the value of an object of type empty.
22775
9b50c11b
JJ
227762004-02-26 Jeff Johnston <jjohnstn@redhat.com>
22777
22778 * gdb.base/langs.exp: Update query string to match the
22779 new nquery format used for pending breakpoints.
22780
0dcd613f
AC
227812004-02-26 Andrew Cagney <cagney@redhat.com>
22782
22783 Fix PR i18n/1570.
22784 * gdb.base/charset.c: Update copyright notice.
22785 (main, init_string): Remove the escape character '\e' tests.
22786 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
22787 * gdb.base/charset.exp (valid_host_charset): Ditto.
22788 * gdb.base/setvar.exp: Ditto.
22789
b8a56647
AC
227902004-02-24 Andrew Cagney <cagney@redhat.com>
22791
90d59e34
AC
22792 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
22793 mmapped data in core file" PASS and FAIL messages consistent.
22794
b8a56647
AC
22795 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
22796 setting a breakpoint. Work around PR java/1565.
22797
9f27c604
JJ
227982004-02-23 Jeff Johnston <jjohnstn@redhat.com>
22799
22800 * lib/gdb.exp (gdb_breakpoint): Update query string to match
22801 new nquery format.
22802 * gdb.base/pending.exp: Ditto.
22803
3224a706
MK
228042004-02-22 Mark Kettenis <kettenis@gnu.org>
22805
22806 * configure.in: Run stabs tests on *BSD.
22807 * configure: Regenerated.
22808
41e0a9ca
MK
228092004-02-21 Mark Kettenis <kettenis@gnu.org>
22810
22811 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
22812
1e1b3428
FF
228132004-02-20 Fred Fish <fnf@redhat.com>
22814
22815 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
22816 blank in test for "returns short", for consistency with other
22817 "returns xxx" tests. Update copyright year.
22818
f9a7572a
FF
228192004-02-19 Fred Fish <fnf@redhat.com>
22820
22821 New testcase for PR breakpoint/1558.
22822 * gdb.arch/gdb1558.exp: New file.
22823 * gdb.arch/gdb1558.c: New file.
22824
b2ce2854
EZ
228252004-02-19 Elena Zannoni <ezannoni@redhat.com>
22826
22827 * gdb.base/nodebug.exp: Fix typo.
22828
e7c9ff01
JB
228292004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22830
22831 Committed by Jim Blandy <jimb@redhat.com>.
22832
62f4b920
JB
22833 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
22834
2db536a1
JB
22835 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
22836
e7c9ff01
JB
22837 * gdb.base/float.exp: Support s390*-*-* targets.
22838
f3205b34
AF
228392004-02-17 Adam Fedor <fedor@gnu.org>
22840
22841 * gdb.base/gdb1555.exp: New file.
22842 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
22843
9d62932d
EZ
228442004-02-17 Elena Zannoni <ezannoni@redhat.com>
22845
22846 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
22847
344c9711
FF
228482004-02-16 Fred Fish <fnf@redhat.com>
22849
22850 * gdb.arch/gdb1291.c: Remove
22851 * gdb.arch/gdb1291.s: New test input file.
22852 * gdb.arch/gdb1291.exp: Expand test to check case that should not
22853 fail. Test for correct result, known incorrect result, other
22854 failures and timeouts.
22855
2d822687
AC
228562004-02-16 Andrew Cagney <cagney@redhat.com>
22857
22858 * gdb.base/bigcore.exp: New file.
22859 * gdb.base/bigcore.c: New file.
22860
dac15b66
AC
228612004-02-13 Andrew Cagney <cagney@redhat.com>
22862
22863 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
22864 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
22865 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
22866 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
22867 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
22868 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
22869 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
22870 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
22871 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
22872 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
22873
6bdfc2c4
JJ
228742004-02-11 Jeff Johnston <jjohnstn@redhat.com>
22875
22876 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
22877 executed is an alloc instruction.
22878
87b3ede8
DC
228792004-02-11 David Carlton <carlton@kealia.com>
22880
22881 * gdb.cp/breakpoint.exp: New.
22882 * gdb.cp/breakpoint.cc: New.
22883
6e19e2bf
MC
228842004-02-11 Michael Chastain <mec.gnu@mindspring.com>
22885
22886 Partial fix for PR gdb/1543.
22887 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
22888 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
22889 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
22890 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
22891 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
22892 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
22893 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
22894 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
22895 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
22896 to bug-gdb@prep.ai.mit.edu .
22897 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
22898 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
22899 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
22900 Likewise.
22901
5c5455dc
AC
229022004-02-10 Andrew Cagney <cagney@redhat.com>
22903
22904 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
22905 using gdb_internal_error_resync.
22906
9cf689d7
DJ
229072004-02-09 Daniel Jacobowitz <drow@mvista.com>
22908
22909 * gdb.threads/thread-specific.exp: Stop early if no threads are
22910 found.
22911
d2dc51db
MC
229122004-02-09 Michael Chastain <mec.gnu@mindspring.com>
22913
22914 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
22915
14b1a056
DJ
229162004-02-08 Daniel Jacobowitz <drow@mvista.com>
22917
22918 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
22919 breakpoints.
22920
83f66e8f
DJ
229212004-02-07 Daniel Jacobowitz <drow@mvista.com>
22922
22923 * config/sim.exp (gdb_load): Handle $arg == "".
22924 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
22925 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
22926
30fc0091
EZ
229272004-02-07 Elena Zannoni <ezannoni@redhat.com>
22928
a9c64011
AS
22929 * gdb.base/maint.exp: Update test to reflect
22930 obstack changes.
30fc0091 22931
4d806929
JJ
229322004-02-04 Jeff Johnston <jjohnstn@redhat.com>
22933
22934 * gdb.base/pendshr.c (pendfunc): New function that calls
22935 pendfunc1.
22936 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
22937
7bfdd688
FF
229382004-02-04 Fred Fish <fnf@redhat.com>
22939
22940 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
22941 function symbols and update copyright years.
22942 * gdb.arch/gdb1291.c: Ditto.
22943
aaa08ee4
MC
229442004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22945
22946 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
22947
dbad7755
MC
229482004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22949
22950 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
22951
ec4646ef
MC
229522004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22953
22954 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
22955
1b802196
FF
229562004-02-02 Fred Fish <fnf@redhat.com>
22957
22958 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
22959 remote targets. Update copyright years.
22960
18fe2033
JJ
229612004-02-02 Jeff Johnston <jjohnstn@redhat.com>
22962
22963 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
22964 support.
22965 * gdb.base/langs.exp: Fix test which attempts to create
22966 breakpoint on non-existent function to handle new pending
22967 support.
22968 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
22969 a breakpoint.
22970 * gdb.base/pending.exp: New test.
22971 * gdb.base/pending.c: New file.
22972 * gdb.base/pendshr.c: Ditto.
22973
8d577d32
DC
229742004-02-02 David Carlton <carlton@kealia.com>
22975
22976 * gdb.cp/overload.exp: Add overloadNamespace tests.
22977 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
22978 (overloadNamespace, XXX): New.
22979 (main): Call XXX::marker2.
22980
3ad13771
FF
229812004-02-01 Fred Fish <fnf@redhat.com>
22982
22983 * gdb.base/dump.exp: Use runto_main instead of "runto main".
22984 * gdb.base/finish.exp: Ditto.
22985 * gdb.base/gcore.exp: Ditto.
22986 * gdb.base/huge.exp: Ditto.
22987 * gdb.base/info-proc.exp: Ditto.
22988 * gdb.base/return2.exp: Ditto.
22989 * gdb.threads/gcore-thread.exp: Ditto.
22990
44c75849
DJ
229912004-02-01 Daniel Jacobowitz <drow@mvista.com>
22992
22993 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
22994
005bc093
MK
229952004-02-01 Mark Kettenis <kettenis@gnu.org>
22996
22997 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
22998 that opening the file succeeds on OpenBSD.
22999
c47cebdb
DJ
230002004-02-01 Daniel Jacobowitz <drow@mvista.com>
23001
23002 * gdb.threads/thread-specific.c: New file.
23003 * gdb.threads/threads-specific.exp: New test script.
23004 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
23005 to expect_out.
23006
5a01311c
MK
230072004-02-01 Mark Kettenis <kettenis@gnu.org>
23008
23009 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
23010 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
23011 only on the "print_small_structs from print_long_arg_list" test.
23012
ce22a4f1
DJ
230132004-02-01 Daniel Jacobowitz <drow@mvista.com>
23014
23015 * gdb.base/completion.exp: Kill a stray backslash.
23016
23017 From Jim Ingham <jingham@apple.com>:
23018 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
23019 agrees with the result from sending a tab.
23020
abbab9d3
DJ
230212004-01-31 Daniel Jacobowitz <drow@mvista.com>
23022
23023 * gdb.base/chng-syms.exp: Remove stray newline.
23024
53904d1e
MK
230252004-01-31 Mark Kettenis <kettenis@gnu.org>
23026
23027 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
23028 *-*-openbsd*.
23029 * gdb.asm/openbsd.inc: New file.
23030
3a4b3aac
MK
230312004-01-30 Mark Kettenis <kettenis@gnu.org>
23032
23033 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
23034 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
23035 *-*solaris2*. Remove commented out default settings for
23036 asm-flags. Replace gdb_compile with target_link.
23037
ebac27b4
MC
230382004-01-29 Michael Chastain <mec.gnu@mindspring.com>
23039
23040 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
23041 for all tests. Remove old hp-ux and cygnus xfail cases.
23042
d8679d84
PH
230432004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
23044
23045 * gdb.base/chng-syms.exp: New file.
23046 * gdb.base/chng-syms.c: New file.
23047
0a55bc22
MC
230482004-01-24 Michael Chastain <mec.gnu@mindspring.com>
23049
23050 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
23051 Provide arms for current output in all my configurations.
23052
94b8e876
MC
230532004-01-24 Michael Chastain <mec.gnu@mindspring.com>
23054
23055 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
23056 * lib/compiler.cc: Likewise.
23057 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
23058 get the right preprocessor. Eval the output directly. Remove
23059 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
23060 hp_f77_compiler and hp_f90_compiler completely.
23061 (gdb_preprocess): Delete.
23062 (get_compiler): Delete.
23063
7cf03d44
MK
230642004-01-24 Mark Kettenis <kettenis@gnu.org>
23065
23066 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
23067 <string.h>.
23068
68b6dce9
NR
230692004-01-24 Nick Roberts <nick@nick.uklinux.net>
23070
23071 * gdb.mi/mi-stack.exp: Update copyright.
23072
b368761e
DC
230732004-01-23 David Carlton <carlton@kealia.com>
23074
23075 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
23076 test for cp_lookup_transparent_type.
23077 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
23078 call them.
23079
f2061b53
DJ
230802004-01-23 Daniel Jacobowitz <drow@mvista.com>
23081
23082 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
23083 after -var-update.
23084
37fc574a
DC
230852004-01-23 David Carlton <carlton@kealia.com>
23086
23087 * gdb.cp/namespace.cc (C::ensureRefs): New.
23088 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
23089
8e94b928
NR
230902004-01-20 Nick Roberts <nick@nick.uklinux.net>
23091
23092 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
23093 case "-stack-list-locals 2".
23094 * gdb.mi/mi-var-child.exp: Test for case
23095 "-var-list-children --all-values NAME".
23096
997b0952
MC
230972004-01-18 Michael Chastain <mec.gnu@mindspring.com>
23098
23099 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
23100
52470da3
MK
231012004-01-18 Mark Kettenis <kettenis@gnu.org>
23102
7049b4b8
MK
23103 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
23104 used with gdb_test_multiple.
23105
52470da3
MK
23106 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
23107 read at address 0. This fixes PR testsuite/1504.
23108
da6012e5
DJ
231092004-01-18 Daniel Jacobowitz <drow@mvista.com>
23110
23111 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
23112 Remove downloading, guessing the host executable, the calls to
23113 gdb_file_cmd and gdb_target_cmd, and "load" support.
23114 (infer_host_exec): New function broken out from gdb_load.
23115 (gdb_load): New wrapper for gdbserver_gdb_load.
23116 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
23117 gdb_target_cmd. Use -target-select.
23118 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
23119 Download binaries to the host. Clear last_mi_remote_file when
23120 we load a new binary.
23121 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
23122 call gdbserver_gdb_load and mi_gdb_target_cmd.
23123
32c70722
MC
231242004-01-17 Michael Chastain <mec.gnu@mindspring.com>
23125
23126 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
23127 type patterns.
23128
b0cecf36
MC
231292004-01-17 Michael Chastain <mec.gnu@mindspring.com>
23130
23131 * gdb.cp/templates.exp: Fix typo in test name of
23132 "print Foo<volatile char*>::foo".
23133
4120d7e6
MC
231342004-01-15 Michael Chastain <mec.gnu@mindspring.com>
23135
23136 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
23137
f679e530
BE
231382004-01-16 Ben Elliston <bje@wasabisystems.com>
23139
23140 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
23141 (clean mostlyclean): Remove empty rm.
23142
091c48f6
MC
231432004-01-15 Michael Chastain <mec.gnu@mindspring.com>
23144
23145 * gdb.base/setvar.exp: Add copyright years.
23146
3e5fc8d2
DC
231472004-01-14 David Carlton <carlton@bactrian.org>
23148
23149 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
23150 PR c++/1511 and update coment.
23151 * gdb.cp/templates.exp: Update patterns to match current output.
23152 If changes involve something other than whitespace, KFAIL
23153 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
23154
63d06c5c
DC
231552004-01-14 David Carlton <carlton@kealia.com>
23156
23157 * gdb.cp/namespace.exp: Add tests involving classes defined within
23158 namespaces.
23159 * gdb.cp/namespace.cc (C::CClass): New.
23160 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
23161
a51dab88
EZ
231622004-01-14 Elena Zannoni <ezannoni@redhat.com>
23163
23164 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
23165 what debug info we have. Print a better message if something goes
23166 wrong while producing the separate debug info file.
23167
a476ccc9
MC
231682004-01-14 Michael Chastain <mec.gnu@mindspring.com>
23169
23170 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
23171
f453692c
MC
231722004-01-14 Michael Chastain <mec.gnu@mindspring.com>
23173
23174 * gdb.base/callfuncs.c: Add copyright notice.
23175
f40063a5
MC
231762004-01-13 Michael Chastain <mec.gnu@mindspring.com>
23177
23178 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
23179 inheritance. PR gdb/1498, PR gcc/13539.
23180
19ac3974
EZ
231812004-01-13 Elena Zannoni <ezannoni@redhat.com>
23182
a9c64011
AS
23183 * gdb.threads/gcore-thread.exp: Prefix name of binary with
23184 test specific name.
23185 * gdb.mi/gdb669.exp: Ditto.
23186 * gdb.mi/mi-pthreads.exp: Ditto.
23187 * gdb.mi/mi1-pthreads.exp: Ditto.
23188 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 23189
56c97c6e
MC
231902004-01-12 Michael Chastain <mec.gnu@mindspring.com>
23191
23192 * gdb.cp/member-ptr.cc: Add copyright notice.
23193
a0644324
MC
231942004-01-12 Michael Chastain <mec.gnu@mindspring.com>
23195
23196 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
23197 some patterns for recent versions of gcc and hpacc. Delete
23198 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
23199 Delete tests that access a NULL pointer-to-member-data. This
23200 script is still disabled for gcc.
23201
32fabe09
EZ
232022004-01-12 Elena Zannoni <ezannoni@redhat.com>
23203
23204 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 23205 escaped correctly.
32fabe09 23206
1f8a6abb
EZ
232072004-01-12 Elena Zannoni <ezannoni@redhat.com>
23208
23209 * gdb.base/sepdebug.exp: New file.
23210 * gdb.base/sepdebug.c: New file.
23211 * lib/gdb.exp (separate_debug_filename): New procedure.
23212 (gdb_gnu_strip_debug): New procedure.
23213
48efe704
AC
232142004-01-12 Andrew Cagney <cagney@redhat.com>
23215
23216 * gdb.mi/ChangeLog: Delete file. Renamed to ...
23217 * gdb.mi/ChangeLog-1999-2003: New file.
23218
a9415475
AC
232192004-01-12 Andrew Cagney <cagney@redhat.com>
23220
23221 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
23222 "Renaming a directory to a non-empty directory returns ENOTEMPTY
23223 or EEXIST", treat EBUSY as an XFAIL.
23224
83b8cf9d
MC
232252004-01-11 Michael Chastain <mec.gnu@mindspring.com>
23226
23227 * gdb.base/scope.exp: Remove obsolete setup_xfail for
23228 hp_cc_compiler.
23229
9939d2a8
MC
232302004-01-10 Michael Chastain <mec.gnu@mindspring.com>
23231
23232 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
23233 decorations.
23234
1ff8cadf
MC
232352004-01-10 Michael Chastain <mec.gnu@mindspring.com>
23236
23237 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
23238 and "(aCC)" decorations. Remove obsolete doco about old
23239 test results.
23240
6fa9022e
MC
232412004-01-09 Michael Chastain <mec.gnu@mindspring.com>
23242
23243 * gdb.cp/exception.exp: Fix typo in doco.
23244
209721fe
MK
232452004-01-09 Mark Kettenis <kettenis@gnu.org>
23246
23247 * gdb.base/gdb1476.exp: Fix typo.
23248
ef11303e
MC
232492004-01-09 Michael Chastain <mec.gnu@mindspring.com>
23250
23251 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
23252 file.
23253
041ab88c
MC
232542004-01-09 Michael Chastain <mec.gnu@mindspring.com>
23255
23256 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
23257 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
23258 Use gdb_compile. Remove restriction on gcc. Add some patterns
23259 for recent version of gdb. Delete second half, which was a copy
23260 of the first half with different build flags. This test is
23261 still disabled because it is still not ready for production.
23262
e36d075a
MC
232632004-01-08 Michael Chastain <mec.gnu@mindspring.com>
23264
23265 * gdb.cp/exception.cc: Add copyright notice.
23266 * gdb.cp/exception.exp: Add a notice that this file is broken
23267 because of line number changes caused by addition of copyright
23268 notice.
23269
42b190ad
MC
232702004-01-08 Michael Chastain <mec.gnu@mindspring.com>
23271
23272 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
23273 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
23274
8f25f06b
MC
232752004-01-08 Michael Chastain <mec.gnu@mindspring.com>
23276
23277 * gdb.cp/classes.exp: Accept gnu abi 2.
23278 * gdb.cp/derivation.exp: Likewise.
23279 * gdb.cp/overload.exp: Likewise.
23280 * gdb.cp/virtfunc.exp: Likewise.
23281
06ded8b8
MC
232822004-01-08 Michael Chastain <mec.gnu@mindspring.com>
23283
23284 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
23285 semicolon after end of function.
23286
77c26ae3
MC
232872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23288
23289 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
23290 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
23291 boilerplate code for compiling and running the program under
23292 test. Add some string method tests.
23293
20757486
MC
232942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23295
23296 * gdb.cp/bs15503.cc: Add copyright notice.
23297 * gdb.cp/bs15503.exp: Adjust line number.
23298
0fd3b503
MC
232992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23300
23301 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
23302 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
23303
10d1bea8
MC
233042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23305
23306 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
23307 hp_cc_compiler.
23308
2789202a
MC
233092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23310
23311 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
23312 * gdb.cp/ctti.exp: Use the marker instead of "next".
23313 With gcc, run further before bailing.
23314
b862f14c
MC
233152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23316
23317 * gdb.cp/cttiadd.cc: Add copyright notice.
23318 * gdb.cp/cttiadd1.cc: Likewise.
23319 * gdb.cp/cttiadd2.cc: Likewise.
23320 * gdb.cp/cttiadd3.cc: Likewise.
23321
96da2469
MC
233222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23323
23324 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
23325 Use gdb_test, gdb_test_multiple. Use floating-point values that
23326 have exact representations in IEEE-ish formats.
23327
053248ff
MC
233282004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23329
23330 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
23331 compilers. Delete duplicate call to get_compiler_info.
23332 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
23333 * gdb.base/volatile.exp: Likewise.
23334
84acecdd
MK
233352004-01-07 Mark Kettenis <kettenis@gnu.org>
23336
23337 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
23338 memory at address 0.
23339
fe11a27f
MC
233402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23341
23342 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
23343 to test for hp-ux assembler. Fix copyright years.
23344
60ad077b
AC
233452004-01-07 Andrew Cagney <cagney@redhat.com>
23346
23347 * gdb.base/fileio.c (strerrno): Add "EBUSY".
23348
1c9b8f33
AC
233492004-01-07 Andrew Cagney <cagney@redhat.com>
23350
23351 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
23352 when creating the read-only file. From analysis by Roland McGrath
23353 and Elena Zannoni.
23354
753ccc7a
MC
233552004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23356
23357 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
23358
eca3e36b
MC
233592004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23360
23361 * gdb.base/cvexpr.c: Be type-safe with function pointers and
23362 data pointers.
23363
f8d4bac4
MC
233642004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23365
23366 * gdb.cp/m-static.exp: Compile one source file at a time.
23367 Delete unused call to get_compiler_info.
23368
9b4e0f94
MC
233692004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23370
23371 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
23372 * gdb.base/call-rt-st.exp: Likewise.
23373 * gdb.base/nodebug.exp: Likewise.
23374 * gdb.base/volatile.exp: Likewise.
23375 * gdb.cp/ref-types.exp: Likewise.
23376 * gdb.cp/templates.exp: Likewise.
23377
023c1024
MK
233782004-01-05 Mark Kettenis <kettenis@gnu.org>
23379
23380 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
23381
19703c4a
MC
233822004-01-05 Michael Chastain <mec.gnu@mindspring.com>
23383
23384 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
23385 hppa*-hp-hpux*.
23386
18b67037
MK
233872004-01-04 Mark Kettenis <kettenis@gnu.org>
23388
ba6219c8
MK
23389 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23390 x86_64-*-*.
23391
18b67037
MK
23392 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23393 sparc64-*-* and sparc*-solaris2*.
23394
1bfbbb9d
MK
233952004-01-04 Mark Kettenis <kettenis@gnu.org>
23396
23397 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
23398 return ${tests}" test. The ${tests} already mentions the
23399 filename.
23400
06846494
MC
234012004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23402
23403 * gdb.cp/local.exp: Accept gcc abi 2.
23404
3b0cb202
MC
234052004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23406
23407 * gdb.cp/templates.exp: Accept gcc abi 2.
23408
0643ec3f
MC
234092004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23410
23411 * lib/compiler.cc: Remove supports_template_debugging.
23412 * gdb.cp/templates.exp: Do not test supports_template_debugging.
23413
d231d0b1
MC
234142004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23415
23416 * gdb.cp/namespace.exp: Accept gcc abi 2.
23417
44ffb27c
MC
234182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23419
23420 * gdb.cp/method.exp: Accept gcc abi 2.
23421
184ad485
MC
234222004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23423
23424 * gdb.cp/classes.exp: Generate identical results as old version.
23425 * gdb.cp/derivation.exp: Likewise.
23426 * gdb.cp/overload.exp: Likewise.
23427 * gdb.cp/virtfunc.exp: Likewise.
23428
116f09e7
MC
234292004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23430
23431 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
23432 mysterious bug with sourceware version of expect.
23433
b1379776
MC
234342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23435
23436 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
23437 current versions of gcc, including gcc abi 2. Remove gratuitous
23438 restart of test program. Use gdb_test_multiple and gdb_test for
23439 all tests. Add patterns to xfail missing "const" in "const char *"
23440 and kfail PR gdb/1155.
23441
6b7a4c0e
MC
234422004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23443
23444 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
23445 current versions of gcc, including gcc abi 2. Remove gratuitous
23446 restart of test program. Use gdb_test_multiple and gdb_test for
23447 all tests. Add patterns to kfail PR gdb/1498.
23448
51615d72
MC
234492003-12-31 Michael Chastain <mec.gnu@mindspring.com>
23450
23451 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
23452 current versions of gcc, including gcc abi 2. Use "breakpoint"
23453 and "continue" instead of restarting the target program. Use
23454 gdb_test_multiple and gdb_test for all tests.
23455
7b79a9d7
MK
234562004-01-01 Mark Kettenis <kettenis@gnu.org>
23457
23458 * gdb.asm/asm-source.exp: Update copyright year. Link statically
23459 for *-*-solaris2*.
23460
1cd3489f
MC
234612003-12-31 Michael Chastain <mec.gnu@mindspring.com>
23462
23463 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
23464 current versions of gcc, including gcc abi 2. Use "breakpoint"
23465 and "continue" instead of restarting the target program several
23466 times. Use gdb_test_multiple and gdb_test for all tests.
23467
850742db
MC
234682003-12-18 Michael Chastain <mec.gnu@mindspring.com>
23469
23470 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
23471 source files.
23472
eb4bbda8
MC
234732003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23474
23475 * gdb.base/environ.exp: Handle compiling test case from multiple
23476 source files.
23477
e42c7771
MC
234782003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23479
23480 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
23481
80e4b428
JB
234822003-12-17 Jim Blandy <jimb@redhat.com>
23483
5f06973a
JB
23484 * gdb.base/freebpcmd.c: Add copyright notice.
23485
80e4b428
JB
23486 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
23487
0ab84fb7
MC
234882003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23489
23490 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
23491
1b3bb3d0
JB
234922003-12-13 Jim Blandy <jimb@redhat.com>
23493
23494 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
23495
3a4c9371
KB
234962003-12-12 Kevin Buettner <kevinb@redhat.com>
23497
23498 * gdb.asm/frv.inc: New file.
23499 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
23500
a1dea79a
FF
235012003-12-09 Fred Fish <fnf@redhat.com>
23502
23503 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
23504 functions to break1.c and leave prototypes behind. Add more
23505 "set breakpoint NN here" comments.
23506 * gdb.base/break1.c: New file.
23507
23508 * gdb.base/break.exp: Handle compiling test case from multiple
23509 source files and change source file references as needed.
23510 * gdb.base/completion.exp: Ditto.
23511 * gdb.base/condbreak.exp: Ditto.
23512 * gdb.base/define.exp: Ditto.
23513 * gdb.base/ena-dis-br.exp: Ditto.
23514 * gdb.base/info-proc.exp: Ditto.
23515 * gdb.base/maint.exp: Ditto.
23516 * gdb.base/until.exp: Ditto.
23517
23518 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
23519 hardcoded line numbers.
23520 * gdb.base/define.exp: Ditto.
23521 * gdb.base/ena-dis-br.exp: Ditto.
23522 * gdb.base/maint.exp: Ditto.
23523 * gdb.base/until.exp: Ditto.
23524
23525 * gdb.base/completion.exp: Use "break1" for completion tests since
23526 "break" is no longer a unique prefix.
23527
5266b69c
AC
235282003-12-06 Andrew Cagney <cagney@redhat.com>
23529
23530 * gdb.base/structs.exp (test_struct_returns): When applicable, set
23531 "return_value_unimplemented". When an unimplemented struct return
23532 architecture, report incorrect values as a KFAIL
23533
374451f0
MC
235342003-12-05 Michael Chastain <mec.gnu@mindspring.com>
23535
23536 * gdb.cp/rtti.exp: Accept new wording of warning from
23537 cp_lookup_rtti_type.
23538
ba9b20a7
MC
235392003-12-05 Michael Chastain <mec.gnu@mindspring.com>
23540
23541 Partial fix for PR testsuite/1456.
23542 * gdb.base/scope.exp (test_at_main): Replace references to
23543 gcc_compiled with calls to test_compiler_info.
23544 (test_at_foo): Likewise.
23545 (test_at_bar): Likewise.
23546
b74b6d0b
MC
235472003-12-04 Michael Chastain <mec.gnu@mindspring.com>
23548
23549 Partial fix for PR testsuite/1456.
23550 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
23551 to test_compiler_info.
23552
ccfa3402
MC
235532003-12-03 Michael Chastain <mec.gnu@mindspring.com>
23554
23555 * gdb.base/so-impl-ld.exp: Update copyright notice.
23556
f6246aba
MC
235572003-12-02 Michael Chastain <mec.gnu@mindspring.com>
23558
23559 Partial fix for PR testsuite/1456.
23560 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
23561 to test_compiler_info.
23562
13ae734a
MC
235632003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23564
23565 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
23566 from current versions of gdb. Clean up regular expressions.
23567 Delete redundant timeout case.
23568
d8e1cdee
MC
235692003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23570
23571 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
23572 from current versions of gdb. Clean up regular expressions.
23573 Delete redundant timeout case.
23574
96457b64
MC
235752003-12-01 Michael Chastain <mec.gnu@mindspring.com>
23576
23577 Partial fix for PR testsuite/1456.
23578 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
23579 gcc_compiled with call to test_compiler_info.
23580
f35309fc
MC
235812003-11-30 Michael Chastain <mec.gnu@mindspring.com>
23582
23583 Partial fix for PR testsuite/1456.
23584 * gdb.base/list.exp (test_list_function): Delete unused declaration
23585 of gcc_compiled.
23586
d7afdf9b
MC
235872003-11-29 Michael Chastain <mec.gnu@mindspring.com>
23588
23589 Partial fix for PR testsuite/1456.
23590 * gdb.base/complex.exp: Replace reference to gcc_compiled with
23591 call to test_compiler_info.
23592
71507b56
MK
235932003-11-29 Mark Kettenis <kettenis@gnu.org>
23594
23595 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
23596 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
23597 it to create the appropriate note.inc.
23598 * gdb.asm/asmsrc1.s: Include "note.inc".
23599 * gdb.asm/netbsd.inc: New file.
23600 * gdb.asm/empty.inc: New file.
23601
f81f93f7
MC
236022003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23603
23604 Partial fix for PR testsuite/1456.
23605 * gdb.base/constvars.exp: Replace references to gcc_compiled with
23606 calls to test_compiler_info.
23607
9a77938e
MC
236082003-11-27 Michael Chastain <mec.gnu@mindspring.com>
23609
23610 Partial fix for PR testsuite/1456.
23611 * gdb.base/volatile.exp: Replace references to gcc_compiled with
23612 calls to test_compiler_info.
23613
e8367dc7
MK
236142003-11-27 Mark Kettenis <kettenis@gnu.org>
23615
23616 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
23617 pattern for the KFAILs.
23618
526c61ee
AF
236192003-11-25 Adam Fedor <fedor@gnu.org>
23620
23621 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
23622 * gdb.objc/objcdecode.m: New file.
23623
28f2d600
AF
236242003-11-25 Adam Fedor <fedor@gnu.org>
23625
23626 * gdb.objc/nondebug.exp: Test for PR objc/1236.
23627 * gdb.objc/nondebug.m: New file.
23628
a3895cee
BE
236292003-11-26 Ben Elliston <bje@wasabisystems.com>
23630
23631 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23632 NetBSD as it does on FreeBSD. Modelled on a similar change by
23633 Mark Kettenis on 2003-05-30.
23634 (link-flags): Set to "--entry _start" regardless of target.
23635 Special linker flags are to be appended to $link-flags.
23636 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
23637
c9f2c8a3
MC
236382003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23639
23640 * gdb.cp/method.exp: Accept output of new demangler.
23641
15a0587a 236422003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
23643
23644 * gdb/class2.exp: New file.
23645 * gdb/class2.cc: New file.
23646
3c00b570
MC
236472003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23648
23649 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
23650 of new demangler.
23651
7027acc7
MK
236522003-11-23 Mark Kettenis <kettenis@gnu.org>
23653
23654 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
23655 of gdb_test "run".
23656
b0e1598a
MK
236572003-11-23 Mark Kettenis <kettenis@gnu.org>
23658
23659 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
23660 "continue" into "run".
23661
4d9eda44
MC
236622003-11-23 Michael Chastain <mec.gnu@mindspring.com>
23663
23664 Partial fix for PR testsuite/1456.
23665 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
23666 call to test_compiler_info.
23667 * gdb.cp/ctti.exp: Likewise.
23668 * gdb.cp/derivation.exp: Likewise.
23669 * gdb.cp/member-ptr.exp: Likewise.
23670 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
23671 reference to gcc_compiled.
23672
236732003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
23674
23675 Fix PR testsuite/1463.
23676 * gdb.base/structs.exp (start_structs_test): Call
23677 get_debug_format before using the debug format.
23678
d422fe19
AC
236792003-11-22 Andrew Cagney <cagney@redhat.com>
23680
23681 * lib/gdb.exp (gdb_test_multiple): Add simple example.
23682 * gdb.base/structs.exp: Use gdb_test_multiple.
23683
039cf96d
AC
236842003-11-20 Andrew Cagney <cagney@redhat.com>
23685
6882279b
AC
23686 * gdb.base/structs.exp: Handle and recover from internal errors.
23687 Replace "foo${n}" with "foo<n>" in test messages.
23688
e53890ae
AC
23689 * gdb.base/structs.exp: Update copyright. Rewrite.
23690 * gdb.base/structs.c: Update copyright. Rewrite.
23691
2b211c59
AC
23692 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
23693 resync count exceeded.
d63a86f8 23694
039cf96d
AC
23695 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
23696 from the internal error.
23697 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
23698 Original from Jim Blandy.
23699 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 23700
eac98b22
AC
237012003-11-19 Andrew Cagney <cagney@redhat.com>
23702
23703 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
23704 KFAIL.
23705
67455b2a
MK
237062003-11-17 Mark Kettenis <kettenis@gnu.org>
23707
23708 New testcase for PR backtrace/1435.
23709 * gdb.arch/i386-unwind.exp: New file.
23710 * gdb.arch/i386-unwind.c: New file.
23711
853d6e5b
AC
237122003-11-17 Andrew Cagney <cagney@redhat.com>
23713
23714 * lib/gdb.exp (compiler_info): New global.
23715 (test_compiler_info): New function.
23716 (get_compiler_info): Set compiler_info.
23717 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
23718 "compiler_info" to gcc-<major>-<minor>.
23719
38cf6e11
MC
237202003-11-15 Michael Chastain <mec.gnu@mindspring.com>
23721
23722 * gdb.trace/configure: Remove.
23723
a50d3602
EZ
237242003-11-13 Elena Zannoni <ezannoni@redhat.com>
23725
23726 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 23727 breakpoints.
a50d3602
EZ
23728 * gdb.base/break.exp: Remove all references to explicit line
23729 numbers.
23730
d9407aaa
NC
237312003-11-11 Nick Clifton <nickc@redhat.com>
23732
23733 * gdb.base/shreloc.exp: Do not run for targets which do not
23734 support shared objects.
23735
db488fc1
CV
237362003-11-10 Corinna Vinschen <vinschen@redhat.com>
23737
23738 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
23739 Don't run tests if nofileio flag is given.
23740
6a90a18e
EZ
237412003-11-07 Elena Zannoni <ezannoni@redhat.com>
23742
23743 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 23744 as well as 'Watchpoint'.
6a90a18e 23745
0b915e9c
EZ
237462003-11-06 Elena Zannoni <ezannoni@redhat.com>
23747
23748 Reported by Jim Ingham <jingham@apple.com>:
23749 * gdb.base/annota1.exp: Match at least one occurrence of the
23750 signal handler annotation.
23751
d7e4b55f
EZ
237522003-11-06 Elena Zannoni <ezannoni@redhat.com>
23753
a9c64011
AS
23754 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
23755 as well as 'Watchpoint'.
d7e4b55f 23756
2fe4e8d0
MC
237572003-11-05 Michael Chastain <mec@shout.net>
23758
23759 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
23760
6ef88553
KW
237612003-11-03 Kris Warkentin <kewarken@qnx.com>
23762
23763 * gdb.arch/gdb1291.c: New test file.
23764 * gdb.arch/gdb1291.exp: New test script.
23765 * gdb.arch/gdb1431.c: New test file.
23766 * gdb.arch/gdb1431.exp: New test script.
23767
ae7dc4d8
MC
237682003-10-22 Michael Chastain <mec@shout.net>
23769
23770 * gdb.mi/pthreads.c: Add copyright notice.
23771
c39d7427
MC
237722003-10-22 Michael Chastain <mec@shout.net>
23773
23774 * gdb.threads/pthreads.c: Add copyright notice.
23775
8b7d96c1
MC
237762003-10-20 Michael Chastain <mec@shout.net>
23777
23778 * gdb.base/gdb1056.exp: New test script.
23779
d1d69fdd
DJ
237802003-10-13 Daniel Jacobowitz <drow@mvista.com>
23781
23782 * gdb.threads/killed.exp: Use gdb_run_cmd.
23783
7d605576
DJ
237842003-10-13 Daniel Jacobowitz <drow@mvista.com>
23785
23786 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
23787 create a core file.
23788 * gdb.threads/gcore-thread.exp: Likewise.
23789
618ec112
CV
237902003-10-13 Corinna Vinschen <vinschen@redhat.com>
23791
23792 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
23793 type, based on char type.
23794 (struct bit_flags_short_t): New bitfield type, based on short type.
23795 (init_bit_flags_char): New fuction.
23796 (init_bit_flags_short): Ditto.
23797 (print_bit_flags_char): Ditto.
23798 (print_bit_flags_short): Ditto.
23799 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
23800
9367a73c
MC
238012003-10-11 Michael Chastain <mec@shout.net>
23802
23803 * gdb.base/call-rt-st.exp: Update copyright year.
23804
1decf120
KI
238052003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
23806
23807 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
23808 * gdb.disasm/sh3.s: Ditto.
23809
5445b2ae
DJ
238102003-10-07 Daniel Jacobowitz <drow@mvista.com>
23811
23812 * gdb.threads/switch-threads.exp: New test.
23813 * gdb.threads/switch-threads.c: New source file.
23814
aec24853
CV
238152003-10-07 Corinna Vinschen <vinschen@redhat.com>
23816
23817 * gdb.base/ending-run.exp: Add sh specific case.
23818
adc7428d
AC
238192003-10-06 Andrew Cagney <cagney@redhat.com>
23820
23821 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
23822 * gdb.disasm/mn10200.exp: Delete obsolete file.
23823
c9d37158
DJ
238242003-09-29 Daniel Jacobowitz <drow@mvista.com>
23825
23826 * ChangeLog: Correct an entry command.exp -> commands.exp.
23827 * gdb.base/commands.exp (bp_deleted_in_command_test)
23828 (temporary_breakpoint_commands): Check noargs.
23829
79c2c32d
DC
238302003-09-25 David Carlton <carlton@kealia.com>
23831
23832 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
23833 of some print tests, where appropriate. Add tests for C::D::cd,
23834 E::ce, F::cXfX, G::XgX.
23835 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
23836
594e6d67
RE
238372003-09-25 Richard Earnshaw <rearnsha@arm.com>
23838
23839 * lib/java.exp (java_init): Import target_alias before using it.
23840
10f0d451
DC
238412003-09-25 David Carlton <carlton@kealia.com>
23842
23843 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
23844
274bcba0
EZ
238452003-09-23 Elena Zannoni <ezannoni@redhat.com>
23846
d63a86f8 23847 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 23848 weirdness.
274bcba0 23849
cdbf20f7
MC
238502003-09-17 Michael Chastain <mec@shout.net>
23851
23852 * gdb.cp/gdb1355.exp: New file.
23853 * gdb.cp/gdb1355.c: New file.
23854
71e06f80
CV
238552003-09-15 Corinna Vinschen <vinschen@redhat.com>
23856
23857 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
23858 * gdb.asm/sh.inc: New file.
23859
5c4e30ca
DC
238602003-09-11 David Carlton <carlton@kealia.com>
23861
bd45b7af
DC
23862 * gdb.cp/namespace.exp: Add tests for namespace types.
23863 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
23864 (test_namespace): New.
23865
1c199746
EZ
238662003-09-11 Elena Zannoni <ezannoni@redhat.com>
23867
a9c64011 23868 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 23869 * gdb.stabs/weird.exp: Ditto.
1c199746 23870
04ed252f
MC
238712003-09-08 Michael Chastain <mec@shout.net>
23872
23873 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
23874
d8a2d9e7
MC
238752003-09-07 Michael Chastain <mec@shout.net>
23876
23877 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
23878 'parse error'.
23879
161afb24
MK
238802003-09-07 Mark Kettenis <m.kettenis@osp.nl>
23881
23882 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
23883
49f2741a
MC
238842003-08-30 Michael Chastain <mec@shout.net>
23885
23886 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
23887 * gdb.gdb/observer.exp: Ditto.
23888 * gdb.gdb/xfullpath.exp: Ditto.
23889
8afa723e
MK
238902003-08-29 Mark Kettenis <kettenis@gnu.org>
23891
23892 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
23893 *-*-*bsd*.
23894
f31dfe3b
JJ
238952003-08-28 Jeff Johnston <jjohnstn@redhat.com>
23896
23897 * gdb.base/dump.exp: Skip for ia64.
23898
4630e498
JJ
238992003-08-25 Jeff Johnston <jjohnstn@redhat.com>
23900
23901 * gdb.asm/asm-source.exp: Add ia64 support.
23902 * gdb.asm/ia64.inc: New file.
23903
1105b7ef
MC
239042003-08-22 Michael Chastain <mec@shout.net>
23905
23906 * gdb.cp: New directory.
23907 * gdb.cp/*: Copy from gdb.c++/*.
23908 * gdb.c++/*: Remove.
23909 * Makefile.in: Change gdb.c++ to gdb.cp.
23910 * configure.in: Ditto.
23911 * configure: Regnerate.
23912
c945b932
MK
239132003-08-18 Mark Kettenis <kettenis@gnu.org>
23914
23915 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
23916 * gdb.arch/i386-prologue.c (gdb1338): Add function.
23917
2b66634b
DJ
239182003-08-17 Daniel Jacobowitz <drow@mvista.com>
23919
23920 * mi-var-display.exp (-var-list-children weird): Accept function
23921 pointers with argument types.
23922 * mi1-var-display.exp (-var-list-children weird): Likewise.
23923 * mi2-var-display.exp (-var-list-children weird): Likewise.
23924
a356f73b
DJ
239252003-08-17 Daniel Jacobowitz <drow@mvista.com>
23926
23927 * gdb.base/annota3.exp: Add missing newline.
23928
483417b8
MC
239292003-08-06 Michael Chastain <mec@shout.net>
23930
23931 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
23932
c99c59c3
MS
239332003-08-12 Michael Snyder <msnyder@redhat.com>
23934
23935 * gdb.base/float.exp: Add test for SH.
23936
55ed7501
MK
239372003-08-10 Mark Kettenis <kettenis@gnu.org>
23938
23939 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
23940
1a371f2e
EZ
239412003-08-07 Elena Zannoni <ezannoni@redhat.com>
23942
23943 * gdb.base/completion.exp: Remove reduntant completion test
23944 on filename.
23945
e0f353ce
EZ
239462003-08-07 Elena Zannoni <ezannoni@redhat.com>
23947
a9c64011
AS
23948 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
23949 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
23950 gdb.trace/save-trace.exp: Make sure that full pathnames are
23951 escaped correctly.
e0f353ce 23952
5710a1af 239532003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 23954
a9c64011
AS
23955 * configure.in: Don't generate config.h from config.hin.
23956 * configure: Regenerate.
23957 * config.hin: Remove file.
23958 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
23959 * gdb.threads/pthreads.c: Ditto.
5710a1af 23960
dcd81ce9
DJ
239612003-08-07 Daniel Jacobowitz <drow@mvista.com>
23962
23963 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23964 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
23965 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
23966 Replace ld24 with seth/add3.
23967
6009d884
AC
239682003-08-02 Andrew Cagney <cagney@redhat.com>
23969
23970 * gdb.base/annota3.exp: New file.
23971 * gdb.base/annota3.c: New file.
23972 * gdb.c++/annota3.exp: New file.
23973 * gdb.c++/annota3.cc: New file.
23974
51514e06
MC
239752003-07-29 Michael Chastain <mec@shout.net>
23976
23977 * gdb.threads/tls.c (spin): Check errno only if sem_wait
23978 actually failed.
23979 (do_pass): Likewise.
23980 * gdb.threads/tls.exp: Always initialize no_of_threads.
23981
4ee6625b
DJ
239822003-07-27 Daniel Jacobowitz <drow@mvista.com>
23983
23984 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
23985 pattern.
23986 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
23987 * gdb.threads/tls.exp: Recognize one case of the host library not
23988 supporting TLS.
23989
225f2bf6
AC
239902003-07-27 Andrew Cagney <cagney@redhat.com>
23991
23992 * gdb.base/fileio.exp: Use SH when running commands using
23993 remote_exec.
23994
bcb27c9f
DJ
239952003-07-24 Daniel Jacobowitz <drow@mvista.com>
23996
23997 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23998 * gdb.base/relocate.c (dummy): New padding array.
23999
3d67be83
MS
240002003-07-22 Michael Snyder <msnyder@redhat.com>
24001
d63a86f8 24002 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
24003
24004 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
24005 patterns to be more general, accepting old and new output.
24006 Some output chars (such as '+') also must be quoted.
d63a86f8 24007 Some addresses are displayed numerically instead of
3d67be83
MS
24008 symbolically.
24009
57ba3b85
MS
240102003-07-23 Michael Snyder <msnyder@redhat.com>
24011
686d097c
MS
24012 * gdb.base/return2.exp: Don't test long-long return.
24013
57ba3b85
MS
24014 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
24015 * gdb.disasm/t01_mov.exp: Ditto.
24016 * gdb.disasm/t02_mova.s: Ditto.
24017 * gdb.disasm/t02_mova.exp: Ditto.
24018 * gdb.disasm/t03_add.s: Ditto.
24019 * gdb.disasm/t03_add.exp: Ditto.
24020 * gdb.disasm/t04_sub.s: Ditto.
24021 * gdb.disasm/t04_sub.exp: Ditto.
24022 * gdb.disasm/t05_cmp.s: Ditto.
24023 * gdb.disasm/t05_cmp.exp: Ditto.
24024 * gdb.disasm/t06_ari2.s: Ditto.
24025 * gdb.disasm/t06_ari2.exp: Ditto.
24026 * gdb.disasm/t07_ari3.s: Ditto.
24027 * gdb.disasm/t07_ari3.exp: Ditto.
24028 * gdb.disasm/t08_or.s: Ditto.
24029 * gdb.disasm/t08_or.exp: Ditto.
24030 * gdb.disasm/t09_xor.s: Ditto.
24031 * gdb.disasm/t09_xor.exp: Ditto.
24032 * gdb.disasm/t10_and.s: Ditto.
24033 * gdb.disasm/t10_and.exp: Ditto.
24034 * gdb.disasm/t11_logs.s: Ditto.
24035 * gdb.disasm/t11_logs.exp: Ditto.
24036 * gdb.disasm/t12_bit.s: Ditto.
24037 * gdb.disasm/t12_bit.exp: Ditto.
24038 * gdb.disasm/t13_otr.s: Ditto.
24039 * gdb.disasm/t13_otr.exp: Ditto.
24040
e00759ef
EZ
240412003-07-22 Elena Zannoni <ezannoni@redhat.com>
24042
24043 * gdb.threads/tls.exp :Add kfail for 'info address' case.
24044
8bc2021f
EZ
240452003-07-22 Elena Zannoni <ezannoni@redhat.com>
24046
a9c64011
AS
24047 * gdb.threads/tls.c : New file.
24048 * gdb.threads/tls.exp : New file.
24049 * gdb.threads/tls-main.c : New file.
24050 * gdb.threads/tls-shared.c : New file.
24051 * gdb.threads/tls-shared.exp : New file.
8bc2021f 24052
89320c4c
AS
240532003-07-22 Andreas Schwab <schwab@suse.de>
24054
24055 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
24056
180dea7c
AS
240572003-07-20 Andreas Schwab <schwab@suse.de>
24058
24059 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
24060 due to insn reordering.
24061
0714963c
AC
240622003-07-15 Andrew Cagney <cagney@redhat.com>
24063
24064 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
24065
98a23b3f
MC
240662003-07-15 Michael Chastain <mec@shout.net>
24067
24068 * gdb.base/gdb1250.exp: New file.
24069 * gdb.base/gdb1250.c: New file.
24070
27e417a2
ML
240712003-07-09 Michal Ludvig <mludvig@suse.cz>
24072
24073 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
24074 expansion of size_t to 'unsigned long', not only to 'unsigned'.
24075
8bc2021f
EZ
240762003-07-09 Elena Zannoni <ezannoni@redhat.com>
24077
a9c64011
AS
24078 * gdb.threads/tls.c: New file.
24079 * gdb.threads/tls.exp: New file.
24080 * gdb.threads/tls-main.c: New file.
24081 * gdb.threads/tls-shared.c: New file.
24082 * gdb.threads/tls-shared.exp: New file.
8bc2021f 24083
d99968dc
EZ
240842003-07-09 Elena Zannoni <ezannoni@redhat.com>
24085
24086 * gdb.base/annota1.exp: Make sure that we properly escape the
24087 full path of the source file. Xfail more permissive patterns,
d63a86f8 24088 due to a compiler debug info problem.
d99968dc 24089
83876b3b
AS
240902003-07-07 Andreas Schwab <schwab@suse.de>
24091
2705e972
AS
24092 * gdb.asm/m68k.inc: New file.
24093 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
24094
83876b3b
AS
24095 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
24096 arguments"): Also match negative number.
24097
24098 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
24099
3a871b37
DJ
241002003-07-03 Daniel Jacobowitz <drow@mvista.com>
24101
24102 * gdb.base/store.c (charest): New typedef.
24103 (add_char): Rename to add_charest, update.
24104 (wack_char): Rename to wack_charest, update types. Return l + r
24105 to keep r live across the call.
24106 (wack_short, wack_int, wack_long, wack_longest, wack_float)
24107 (wack_double, wack_doublest): Return l + r to keep r live across
24108 the call.
24109 * gdb.base/store.exp: Accomodate store.c changes.
24110
b2a7f303
DC
241112003-06-30 David Carlton <carlton@kealia.com>
24112
24113 * gdb.c++/maint.exp (test_invalid_name): New.
24114 (test_first_component): Add tests for invalid names.
24115
3c6cb4a1
MC
241162003-06-29 Michael Chastain <mec@shout.net>
24117
24118 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
24119 output of '<VTT for class>' for virtual base classes.
24120
f1c2644b
DJ
241212003-06-29 Daniel Jacobowitz <drow@mvista.com>
24122
24123 * gdb.base/completion.exp: Tab-complete "complet" instead of
24124 "compl".
24125 * gdb.base/complex.exp, gdb.base/complex.c: New files.
24126
18080350
DJ
241272003-06-29 Daniel Jacobowitz <drow@mvista.com>
24128
24129 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
24130 * gdb.base/volatile.exp: Likewise.
24131
f56973f8
DJ
241322003-06-29 Daniel Jacobowitz <drow@mvista.com>
24133
24134 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
24135 gdb/1265.
24136
241372003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
24138 Daniel Jacobowitz <drow@mvista.com>
24139
24140 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
24141 initial line count of 'captured_main' from 26 to 32.
24142 (test_with_self): Allow xmalloc call to be interleaved with the
24143 preceding two lines.
24144
e766d4d6
JB
241452003-06-24 Joel Brobecker <brobecker@gnat.com>
24146
24147 * gdb.base/bang.exp: New testcase.
24148
f125c9a4
JB
241492003-06-23 Joel Brobecker <brobecker@gnat.com>
24150
24151 * gdb.base/langs.exp: Add some tests for the "minimal" language
24152 support.
24153
6e25beaf
EZ
241542003-06-23 Elena Zannoni <ezannoni@redhat.com>
24155
24156 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
24157 the testcase.
24158
2f816dda
DJ
241592003-06-22 Daniel Jacobowitz <drow@mvista.com>
24160
24161 * gdb.base/relocate.exp: Test add-symbol-file with a variable
24162 offset.
24163
db5a5748
DJ
241642003-06-22 Daniel Jacobowitz <drow@mvista.com>
24165
24166 * gdb.c++/pr-1210.cc: New file.
24167 * gdb.c++/pr-1210.exp: New file.
24168
1df0c130
DJ
241692003-06-21 Daniel Jacobowitz <drow@mvista.com>
24170
24171 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
24172 000-exec-continue.
24173
a92feac0
MK
241742003-06-15 Mark Kettenis <kettenis@gnu.org>
24175
24176 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
24177 on *-*-*bsd* instead of *-*-freebsd*.
24178
81a58f5b
AC
241792003-06-14 Andrew Cagney <cagney@redhat.com>
24180
24181 * gdb.base/store.exp: Test longest and doublest. Test all
24182 parameters. Weaken return statement match.
24183 * gdb.base/store.c: Add longest and doublest - aka long long and
24184 long double functions. Put all parameters into local register
24185 variables. Use negative values.
24186
b257a0d3
AC
241872003-06-14 Andrew Cagney <cagney@redhat.com>
24188
24189 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
24190 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
24191 exit status.
24192 * gdb.base/fileio.exp: Disable target when nointerrupts and
24193 noinferiorio, instead of limiting it to remote. Use remote_exec
24194 instead of system.
d63a86f8 24195
21c38304
JJ
241962003-06-12 Jeff Johnston <jjohnstn@redhat.com>
24197
24198 * gdb.base/float.exp: Add ia64 support.
24199
1bcdb424
CV
242002003-06-12 Corinna Vinschen <vinschen@redhat.com>
24201
24202 * gdb.base/fileio.exp: Run only on remote targets.
24203
6aeb981f
CV
242042003-06-10 Corinna Vinschen <vinschen@redhat.com>
24205
24206 * gdb.base/fileio.c: New file, testing File-I/O.
24207 * gdb.base/fileio.exp: Ditto.
24208
53df362e
RG
242092003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
24210
24211 * gdb.base/shreloc.exp: New file, check symbol values obtained from
24212 shared objects after relocation at load time (gdb PR/1132).
24213 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 24214 as above, part of the shared object relocation test.
53df362e 24215
ffee1b46
MK
242162003-06-08 Mark Kettenis <kettenis@gnu.org>
24217
b5ca3722
MK
24218 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
24219 fully filled history list.
24220 * gdb.base/gdb_history: New file.
24221
03ed860d
MK
24222 * gdb.base/signals.exp: XFAIL "continue to func1" on
24223 i*86-*-freebsd*.
24224
ffee1b46
MK
24225 * gdb.base/attach.exp: When trying to attach to a nonexistent
24226 process, make it possible to specify the PID based on the target,
24227 and do so for *-*-freebsd*.
24228
d80dbb52
RH
242292003-06-02 Richard Henderson <rth@redhat.com>
24230
24231 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
24232
6dd77b81
RH
242332003-06-02 Richard Henderson <rth@redhat.com>
24234
24235 * gdb.base/selftest.exp: Next over lim_at_start initialization.
24236
f6347e16
RH
242372003-06-02 Richard Henderson <rth@redhat.com>
24238
24239 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
24240
2c161407
DJ
242412003-06-01 Daniel Jacobowitz <drow@mvista.com>
24242
24243 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
24244 of globalvar.
24245
572eb746
MK
242462003-06-01 Mark Kettenis <kettenis@gnu.org>
24247
24248 * gdb.asm/asm-source.exp: Check for memory read errors in
24249 disassembler test on *BSD too.
24250
9e9617a5
RH
242512003-06-01 Richard Henderson <rth@redhat.com>
24252
24253 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
24254 for .frame.
24255 (gdbasm_call): Lose ldgp.
24256 (gdbasm_startup): Add frame information.
24257 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
24258
7b34ad4e
MK
242592003-05-31 Mark Kettenis <kettenis@gnu.org>
24260
24261 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
24262 i?86-*-*.
24263
10059fdf
MK
242642003-05-30 Mark Kettenis <kettenis@gnu.org>
24265
24266 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
24267 FreeBSD.
24268
acf4b816
RH
242692003-05-29 Richard Henderson <rth@redhat.com>
24270
24271 * gdb.asm/alpha.inc: New file.
24272 * gdb.asm/asm-source.exp: Use it.
24273
e9ecd949
JB
242742003-05-29 Jim Blandy <jimb@redhat.com>
24275
24276 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
24277 'core.PID'.
24278
e3e5a4f3
JB
242792003-05-22 Jim Blandy <jimb@redhat.com>
24280
24281 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
24282 backtrace.
d63a86f8 24283
72fe3d25
DC
242842003-05-20 David Carlton <carlton@math.stanford.edu>
24285
24286 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
24287 this time.
24288
58da2eb2
DC
242892003-05-19 David Carlton <carlton@bactrian.org>
24290
24291 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
24292 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
24293
1fcb5155
DC
242942003-05-19 David Carlton <carlton@bactrian.org>
24295
24296 * gdb.c++/namespace.exp: Add namespace scope and anonymous
24297 namespace tests.
24298 Bump copyright date.
24299 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
24300 (main): Call C::D::marker2.
24301 * gdb.c++/namespace1.cc: New file.
24302
85e85163
JJ
243032003-05-14 Jeff Johnston <jjohnstn@redhat.com>
24304
24305 Roland McGrath <roland@redhat.com>
d63a86f8 24306 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
24307 there is no manager thread.
24308
a25fbfec
JJ
243092003-05-08 Jeff Johnston <jjohnstn@redhat.com>
24310
d63a86f8
RM
24311 * gdb.threads/schedlock.exp: Remove assumption that all threads
24312 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
24313 in one of the child threads rather than the main thread.
24314
be375bae
JB
243152003-05-07 Jim Blandy <jimb@redhat.com>
24316
09bf6082
JB
24317 Add support for assembly source testing on the s390x.
24318 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
24319 architecture.
24320 * gdb.asm/s390x.inc: New file.
24321
be375bae
JB
24322 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
24323 succession of 'if' statements.
24324
00905d52
AC
243252003-05-05 Andrew Cagney <cagney@redhat.com>
24326
24327 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
24328
b1e29e33
AC
243292003-05-05 Andrew Cagney <cagney@redhat.com>
24330
24331 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
24332 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
24333
e33d66ec
EZ
243342003-05-02 Elena Zannoni <ezannoni@redhat.com>
24335
24336 * gdb.base/charset.exp: Update based on new behavior of set/show
24337 charset commands.
24338
2b6fd0d8
AC
243392003-05-01 Andrew Cagney <cagney@redhat.com>
24340
24341 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
24342 variable do not give memory errors.
24343
130cacce
AF
243442003-04-30 Adam Fedor <fedor@gnu.org>
24345
24346 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
24347 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
24348 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
24349 gdb.objc/basicclass.m: : New files
24350
24351 * lib/gdb.exp (gdb_compile_objc): New procedure.
24352
bea71854
DJ
243532003-04-27 Daniel Jacobowitz <drow@mvista.com>
24354
24355 * gdb.base/signals.exp: Make backtrace tests more specific.
24356
0f20eeea
DC
243572003-04-23 David Carlton <carlton@bactrian.org>
24358
24359 * gdb.c++/maint.exp (test_first_component): Add tests for
24360 'operator' in more locations.
24361
c8c4d8dc
KB
243622003-04-16 Kevin Buettner <kevinb@redhat.com>
24363
24364 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
24365
3fe60e3c
EZ
243662003-04-16 Elena Zannoni <ezannoni@redhat.com>
24367
24368 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 24369 func marke' instead. Update test name.
3fe60e3c 24370
9219021c
DC
243712003-04-15 David Carlton <carlton@math.stanford.edu>
24372
24373 * gdb.c++/maint.exp: New file.
24374
5dd55bdd
EZ
243752003-04-14 Elena Zannoni <ezannoni@redhat.com>
24376
24377 * gdb.threads/schedlock.c: Change type of thread function argument
24378 to long, to avoid warnings on 64-bit platforms.
24379
00890572
EZ
243802003-04-14 Elena Zannoni <ezannoni@redhat.com>
24381
a9c64011
AS
24382 * gdb.base/attach.exp: Add new message from ptrace in case of
24383 attaching to nonexistent process.
d63a86f8 24384
93201743
JB
243852003-04-11 Jim Blandy <jimb@redhat.com>
24386
24387 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24388 gdb.c++/userdef.cc: Place comments on the lines to which the
24389 marker function might return.
24390 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24391 gdb.c++/userdef.exp: Look for those comments to check that we've
24392 returned to the right place, instead of checking line numbers.
24393
2a11c64d
EZ
243942003-04-11 Elena Zannoni <ezannoni@redhat.com>
24395
a9c64011
AS
24396 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
24397 match on sourcefile name, instead of directory name.
2a11c64d 24398
68ab8fc5
EZ
243992003-04-10 Elena Zannoni <ezannoni@redhat.com>
24400
d63a86f8 24401 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
24402 working directory name.
24403
5624293a
JB
244042003-04-09 Jim Blandy <jimb@redhat.com>
24405
24406 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24407 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
24408 after an inferior function call, report the failure, but allow the
24409 test to continue.
24410
f1f02ee4
SC
244112003-04-05 Stephane Carrez <stcarrez@nerim.fr>
24412
24413 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24414 with -DPROTOTYPES.
24415
6eb79af0
SC
244162003-04-05 Stephane Carrez <stcarrez@nerim.fr>
24417
24418 * gdb.base/break.exp: Revert last patch.
24419
8dfb4cf0
SC
244202003-04-04 Stephane Carrez <stcarrez@nerim.fr>
24421
24422 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24423 with -DPROTOTYPES.
24424
ed4c619a
AC
244252003-04-02 Andrew Cagney <cagney@redhat.com>
24426
24427 * gdb.base/callfuncs.exp: Make "print add" messages unique.
24428 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
24429 matching directories by the name breakpoint.
24430 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
24431 Make "continue to marker1" consistent.
24432 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
24433 message consistent.
24434 * lib/gdb.exp: Put "the program is no longer running", and "the
24435 program exited" in parenthesis.
24436 * lib/mi-support.exp: Ditto.
d63a86f8 24437
4e35d5f0 244382003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 24439
4e35d5f0
BR
24440 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
24441
71900fe8
AC
244422003-03-29 Andrew Cagney <cagney@redhat.com>
24443
24444 * gdb.base/sizeof.c (main): Print the value of '\377'.
24445 * gdb.base/sizeof.exp: Check the sign of '\377'.
24446
c0655a16
MC
244472003-03-27 Michael Chastain <mec@shout.net>
24448
24449 * gdb.base/gdb1090.exp: New file.
24450 * gdb.base/gdb1090.cc: New file.
24451
5b2a3989
JB
244522003-03-27 J. Brobecker <brobecker@gnat.com>
24453
24454 * gdb.gdb/observer.exp: New regression test.
24455
79876890
MC
244562003-03-27 Michael Chastain <mec@shout.net>
24457
24458 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
24459 * gdb.base/ptype.exp: Likewise.
24460
6eac95e3
CV
244612003-03-27 Corinna Vinschen <vinschen@redhat.com>
24462
24463 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
24464
e8c71839
MC
244652003-03-26 Michael Chastain <mec@shout.net>
24466
24467 * gdb.base/ptype.exp: Actually use some typedef'd types.
24468
71b10041
SC
244692003-03-21 Stephane Carrez <stcarrez@nerim.fr>
24470
24471 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
24472 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
24473
2512cf80
CV
244742003-03-20 Corinna Vinschen <vinschen@redhat.com>
24475
24476 * gdb.base/default.exp: Fix regular expression.
24477
0d195a4f
CV
244782003-03-20 Corinna Vinschen <vinschen@redhat.com>
24479
24480 * gdb.base/args.exp: Fix regular expression.
24481
8a2dbca8
CV
244822003-03-20 Corinna Vinschen <vinschen@redhat.com>
24483
24484 * gdb.base/help.exp: Allow Win32 child process.
24485
bf028682
CV
244862003-03-20 Corinna Vinschen <vinschen@redhat.com>
24487
24488 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
24489 when stepping out of main().
24490
182dbe85
CV
244912003-03-20 Corinna Vinschen <vinschen@redhat.com>
24492
24493 * gdb.base/default.exp: Check for win32 specific message when calling
24494 "run" without executable.
24495
d67a6ba5
CV
244962003-03-20 Corinna Vinschen <vinschen@redhat.com>
24497
24498 * gdb.base/args.exp: Expect .exe in output.
24499
a955b5bb
CV
245002003-03-20 Corinna Vinschen <vinschen@redhat.com>
24501
24502 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
24503 Cygwin native.
24504
bf6bad4b
AC
245052003-03-17 Andrew Cagney <cagney@redhat.com>
24506
24507 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
24508 vector registes.
24509 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
24510 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
24511
293e9a31
DC
245122003-03-17 David Carlton <carlton@math.stanford.edu>
24513
24514 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
24515 test, for PR breakpoints/38.
24516 Call test_watchpoint_and_breakpoint.
24517 * gdb.base/watchpoint.c (func3): New function.
24518 (main): Call func3.
24519
5330f2db
DC
245202003-03-04 David Carlton <carlton@math.stanford.edu>
24521
24522 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
24523 Garply<Garply<char> >:: garply".
24524 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
24525 with respect to PR c++/1111; note also PR c++/1113.
24526 (test_template_breakpoints): KFAIL "constructor breakpoint" with
24527 respect to PR c++/1062.
24528 KFAIL "destructor breakpoint" with respect to PR c++/1112.
24529
6ece72da
DC
245302003-03-03 David Carlton <carlton@math.stanford.edu>
24531
24532 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
24533 with respect to PR c++/57.
24534 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
24535 c++/826.
24536 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
24537 respect to PR c++/57.
24538
85ca1584
DC
245392003-03-03 David Carlton <carlton@math.stanford.edu>
24540
24541 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
24542 respect to PR c++/33 into FAILs.
24543
98e9c5b8
MC
245442003-03-03 Michael Chastain <mec@shout.net>
24545
7bedbf27
MC
24546 * configure.in: Update copyright years.
24547
245482003-03-03 Michael Chastain <mec@shout.net>
24549
24550 * Makefile.in: Update copyright years.
98e9c5b8 24551
f683e100
DC
245522003-02-28 David Carlton <carlton@math.stanford.edu>
24553
24554 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
24555 print class instead of struct and/or superfluous protection
24556 specifiers, as long as the resulting output is equivalent to the
24557 source code.
24558 Delete FIXME from end of messages on tests that don't need
24559 fixing.
24560
a9e0cf2c
DC
245612003-02-28 David Carlton <carlton@math.stanford.edu>
24562
24563 * gdb.c++/templates.exp (do_tests): Allow const in the two
24564 Foo<volatile char *>::foo tests.
24565
e8d359df
MS
245662003-02-27 Michael Snyder <msnyder@redhat.com>
24567
d63a86f8 24568 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
24569 will be consistant.
24570
0b71dc91
DC
245712003-02-26 David Carlton <carlton@math.stanford.edu>
24572
24573 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
24574 char *>::foo" test with respect to PR c++/33. Create a new test
24575 which is identical to that one except that it doesn't put the
24576 space between the "char" and the "*"; KFAIL it, too.
24577
dd14ab43
DC
245782003-02-26 David Carlton <carlton@math.stanford.edu>
24579
24580 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
24581 template types into either PASSes or KFAILs (corresponding to PR
24582 c++/57). Tweak indentation. Update copyright.
24583
1146c7f1
SC
245842003-02-23 Stephane Carrez <stcarrez@nerim.fr>
24585
24586 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
24587
74641dfb
MC
245882003-02-13 Michael Chastain <mec@shout.net>
24589
24590 * gdb.base/exprs.exp: Remove i960 remnants.
24591 * gdb.base/funcargs.exp: Likewise.
24592 * gdb.base/list.exp: Likewise.
24593 * gdb.base/ptype.exp: Likewise.
24594
559cd2d0
DC
245952003-02-14 David Carlton <carlton@math.stanford.edu>
24596
24597 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
24598 pEe->D::vg()" from XFAIL to KFAIL.
24599
c4f90d87
JM
246002003-02-13 Jason Molenda (jmolenda@apple.com)
24601
24602 * gdb.base/maint.exp: Update maint print statistics regexp to include
24603 new entries.
24604
cbc4d97c
MC
246052003-02-13 Michael Chastain <mec@shout.net>
24606
24607 * gdb.c++/inherit.exp: Remove call to get_debug_format.
24608
40f235b7
MC
246092003-02-12 Michael Chastain <mec@shout.net>
24610
24611 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
24612 * gdb.c++/inherit.exp: Likewise.
24613 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
24614 * gdb.c++/templates.exp: Likewise.
24615 * gdb.c++/virtfunc.exp: Likewise.
24616
c56716b0
JM
246172003-02-06 Jason Molenda (jason-cl@molenda.com)
24618
24619 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
24620 why the code is written that way.
24621
070afcf8
MC
246222003-02-05 Michael Chastain <mec@shout.net>
24623
24624 * gdb.base/dump.exp: Add missing copyright line.
24625
5d0331e5
JM
246262003-02-05 Jason Molenda (jason-cl@molenda.com)
24627
f7ae6d3e 24628 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
24629 at the beginning so the breakpoint doesn't get set on the loop.
24630
92851186
MC
246312003-02-05 Michael Chastain <mec@shout.net>
24632
24633 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
24634 output for configurations with gcc 2.95.3.
24635
cbf1e085
AC
246362003-02-05 Keith Seitz <keiths@redhat.com>
24637 Andrew Cagney <ac131313@redhat.com>
24638
24639 * gdb.mi/mi-cli.exp: New file.
d63a86f8 24640
29518e1e
MC
246412003-02-04 Michael Chastain <mec@shout.net>
24642
24643 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
24644 Call perror and then continue.
24645
5af1d5f3
MC
246462003-02-03 Michael Chastain <mec@shout.net>
24647
24648 * gdb.c++/pr-1023.cc: New file.
24649 * gdb.c++/pr-1023.exp: New file.
24650
6b549786
JB
246512003-02-05 Jim Blandy <jimb@redhat.com>
24652
24653 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
24654 it's local to foobar. Check for it there, and check that it's not
24655 present in main.
24656 * gdb.c++/local.cc (marker2): New function.
24657 (foobar): Call marker1.
24658 (main): Call marker2 instead of marker1.
24659
67f16606
AC
246602003-02-04 Andrew Cagney <ac131313@redhat.com>
24661
24662 * gdb.disasm/mn10200.exp: Obsolete file.
24663 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
24664 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
24665 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
24666
1c5cb38e
DC
246672003-02-04 David Carlton <carlton@math.stanford.edu>
24668
24669 * gdb.c++/overload.exp: Test intToChar(1).
24670 * gdb.c++/overload.cc (intToChar): New.
24671 (main): Call intToChar.
24672
d1fe6965
DC
246732003-02-03 David Carlton <carlton@math.stanford.edu>
24674
24675 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
24676 'might_kfail' arg.
24677 KFAIL some of the continue_to_bp_overloaded calls, according to
24678 PR c++/1025.
24679
9ba61c5d
MC
246802003-02-01 Michael Chastain <mec@shout.net>
24681
24682 * gdb.base/advance.c (marker1): New marker function.
24683 * gdb.base/advance.exp: When the 'advance' command lands on the
24684 return breakpoint, it can legitimately stop on either the
24685 current line or the next line. Accommodate both outcomes.
24686 * gdb.base/until.exp: Likewise.
24687
e7494ffb
AC
246882003-02-02 Andrew Cagney <ac131313@redhat.com>
24689
24690 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
24691 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
24692 now a list, not a tuple.
24693 * gdb.mi/mi-var-display.exp: Ditto.
24694 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 24695
075559bc
AC
246962003-02-01 Andrew Cagney <ac131313@redhat.com>
24697
24698 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
24699 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
24700 stack backtraces.
24701 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 24702
2bd4c7b1
MK
247032003-02-01 Mark Kettenis <kettenis@gnu.org>
24704
24705 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24706 gdb.mi/mi1-pthreads.exp: Return instead of calling
24707 gdb_suppress_entire_file.
24708
eabd8992
MS
247092003-02-01 Mark Salter <msalter@redhat.com>
24710
24711 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
24712
71469e2f
MS
247132003-01-31 Mark Salter <msalter@redhat.com>
24714
24715 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
24716 Support empty arg.
24717
38a94d44
MC
247182003-01-30 Michael Chastain <mec@shout.net>
24719
24720 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
24721 This was a workaround for a UTF-8 bug in readline 4.3. The bug
24722 has been fixed in gdb/readline on 2003-01-09.
24723
19ea9e73
MS
247242003-01-29 Michael Snyder <msnyder@redhat.com>
24725
e8d359df
MS
24726 * gdb.base/maint.exp: Allow for leading underscore in symbol.
24727 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
24728 * gdb.base/args.exp: Skip if target does not support args passing.
24729
2307bd6a
DJ
247302003-01-22 Daniel Jacobowitz <drow@mvista.com>
24731
19ea9e73 24732 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
24733 gdb_test. Accept a list of expect arguments as the third
24734 parameter.
24735 (gdb_test): Use it.
24736
f2dd3617
EZ
247372003-01-20 Elena Zannoni <ezannoni@redhat.com>
24738
24739 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
24740 allow for different test tree configurations. Update some
24741 tescases accordingly.
24742 * gdb.arch/altivec-regs.exp: Ditto.
24743 * gdb.asm/asm-source.exp: Ditto.
24744 * gdb.base/advance.exp: Ditto.
24745 * gdb.base/display.exp: Ditto.
d63a86f8 24746 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
24747 * gdb.base/mips_pro.exp: Ditto.
24748 * gdb.base/overlays.exp: Ditto.
24749 * gdb.base/relocate.exp: Ditto.
24750 * gdb.base/setshow.exp: Ditto.
24751 * gdb.base/step-line.exp: Ditto.
24752 * gdb.base/step-test.exp: Ditto.
24753 * gdb.base/until.exp: Ditto.
24754 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
24755
c71cdefd
DC
247562003-01-17 David Carlton <carlton@math.stanford.edu>
24757
24758 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
24759 corresponding to PR c++/945.
24760 Update copyright.
24761
fdba05d7
DC
247622003-01-17 David Carlton <carlton@math.stanford.edu>
24763
24764 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
24765 corresponding to PR c++/68.
24766
247672003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
24768
24769 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
24770 (test_paddr_hairy_functions): Call print_addr_2_kfail for
24771 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
24772
c362c33a
EZ
247732003-01-15 Elena Zannoni <ezannoni@redhat.com>
24774
0fbc361c
EZ
24775 * gdb.base/break.exp: Fix change of default location, because of
24776 removal of until tests.
24777 * gdb.base/help.exp: Update test for new 'until' help message.
24778 Add test for help on 'advance'.
a9c64011 24779 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 24780
dabf8a35
MK
247812003-01-15 Mark Kettenis <kettenis@gnu.org>
24782
24783 * gdb.base/default.exp: Adapt "info float" test for recent changes
24784 to that command. Add test for "info vector".
24785 * gdb.base/float.exp: New file. Add test for "info float" that
24786 resembles the old test in gdb.base/default.exp.
24787
a1769aca
DC
247882003-01-15 David Carlton <carlton@math.stanford.edu>
24789
24790 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
24791
82025e13
EZ
247922003-01-15 Elena Zannoni <ezannoni@redhat.com>
24793
24794 * gdb.base/break.exp: Move the tests of until command from here...
24795 * gdb.base/until.exp: ... to here. New file. Add other tests.
24796 * gdb.base/advance.c: New file.
24797 * gdb.base/advance.exp: New file.
24798
8f9ab801
EZ
247992003-01-14 Elena Zannoni <ezannoni@redhat.com>
24800
a9c64011
AS
24801 * gdb.base/args.c: New file.
24802 * gdb.base/args.exp: New file.
8f9ab801 24803
9ae66589
DJ
248042003-01-14 Daniel Jacobowitz <drow@mvista.com>
24805
24806 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
24807
8d77e5c3
DJ
248082003-01-14 Daniel Jacobowitz <drow@mvista.com>
24809
24810 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
24811
12d2f0a1
DJ
248122003-01-14 Daniel Jacobowitz <drow@mvista.com>
24813
24814 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
24815 dates.
24816
6ca37014
DJ
248172003-01-13 Daniel Jacobowitz <drow@mvista.com>
24818
24819 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
24820
b0023472
DJ
248212003-01-13 Daniel Jacobowitz <drow@mvista.com>
24822
24823 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
24824 (ptype &*"foo").
24825 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
24826
607fbc54 248272003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
24828
24829 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
24830 * gdb.mi/mi1-console.exp: Likewise.
24831
607fbc54 248322003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
24833
24834 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
24835 * gdb.mi/mi1-console.exp: Likewise.
24836
a1fb14a2
DJ
248372003-01-13 Daniel Jacobowitz <drow@mvista.com>
24838
24839 * gdb.c++/overload.exp: Remove some fixed XFAILs.
24840
c4cf40b7
DJ
248412003-01-09 Daniel Jacobowitz <drow@mvista.com>
24842
24843 * gdb.base/detach.exp: New test.
24844
696d5a5b
DJ
248452003-01-09 Daniel Jacobowitz <drow@mvista.com>
24846
24847 * Makefile.in (ALL_SUBDIRS): New variable.
24848 (subdirs, clean, distclean): Use it.
24849 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
24850 regenerating Makefile, since it is generated from the top level.
24851 * gdb.asm/Makefile.in: Likewise.
24852 * gdb.base/Makefile.in: Likewise.
24853 * gdb.c++/Makefile.in: Likewise.
24854 * gdb.disasm/Makefile.in: Likewise.
24855 * gdb.java/Makefile.in: Likewise.
24856 * gdb.mi/Makefile.in: Likewise.
24857 * gdb.threads/Makefile.in: Likewise.
24858 * gdb.trace/Makefile.in: Likewise.
24859
754533e4
DC
248602003-01-09 David Carlton <carlton@math.stanford.edu>
24861
24862 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
24863 Add copyright year 2003.
24864
d8b3e9ee
MC
248652003-01-06 Michael Chastain <mec@shout.net>
24866
24867 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
24868 When selecting a thread, 'line' and 'file' are optional.
24869 * gdb.mi/mi1-pthreads.exp: Likewise.
24870
8e9e0fe6
AS
248712003-01-06 Andreas Schwab <schwab@suse.de>
24872
24873 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
24874 failures.
24875
b5ab8ff3
DJ
248762003-01-04 Daniel Jacobowitz <drow@mvista.com>
24877
24878 Fix PR gdb/844
24879 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
24880 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
24881
24882 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
24883 instead of calling gdb_suppress_entire_file.
24884 * gdb.threads/print-threads.exp: Likewise.
24885 * gdb.threads/schedlock.exp: Likewise.
24886
24887 * gdb.threads/killed.exp: Return instead of calling
24888 gdb_suppress_entire_file.
24889 * gdb.threads/linux-dp.exp: Likewise.
24890 * gdb.threads/pthreads.exp: Likewise.
24891
1e698235
DJ
248922003-01-04 Daniel Jacobowitz <drow@mvista.com>
24893
24894 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
24895 stabs.
24896 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
24897 * gdb.base/whatis.exp: Always allow (void) after function names.
24898
147ff08c
DJ
248992003-01-04 Daniel Jacobowitz <drow@mvista.com>
24900
24901 * gdb.c++/casts.exp: Correct regexp.
24902
dc62bfc2
MK
249032003-01-04 Mark Kettenis <kettenis@gnu.org>
24904
24905 * configure.in: Call AC_CONFIG_HEADER. Don't call
24906 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
24907 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
24908 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
24909 aforementioned directories in the AC_OUPUT call.
24910 * config.hin: New file.
24911 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24912 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
24913 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
24914 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
24915 pass -I$objdir instead of -I$objdir/$subdir in compilation.
24916 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
24917 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
24918 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
24919 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
24920 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
24921 gdb.threads/configure.in, gdb.threads/configure,
24922 gdb.threads/config.in, gdb.trace/configure.in,
24923 gdb.trace/configure: Removed.
24924
77afa639
MC
249252003-01-03 Michael Chastain <mec@shout.net>
24926
24927 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
24928 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
24929
7634bb6e
DJ
249302003-01-03 Daniel Jacobowitz <drow@mvista.com>
24931
24932 * gdb.base/store.exp: Fix regular expressions.
24933
b39c905e
MK
249342002-12-28 Mark Kettenis <kettenis@gnu.org>
24935
24936 * configure.in: Rewrite.
24937 * configure: Regenerated.
24938
0a8551dd
DC
249392003-01-03 David Carlton <carlton@math.stanford.edu>
24940
24941 * gdb.base/psymtab.exp: New file.
24942 * gdb.base/psymtab1.c: Ditto.
24943 * gdb.base/psymtab2.c: Ditto.
24944
c60b7188
AF
249452002-12-23 Adam Fedor <fedor@gnu.org>
24946
24947 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
24948
ee73db83
DC
249492002-12-23 David Carlton <carlton@math.stanford.edu>
24950
24951 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
24952 and current_directory initialization.
24953
d6c1774e
JB
249542002-12-22 Jim Blandy <jimb@redhat.com>
24955
f0a847b8
JB
24956 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
24957 rather than as part of the output file name.
24958
d6c1774e
JB
24959 * gdb.base/attach.exp: There's no need to copy the test program to
24960 /tmp; that was only ever necessary on HP/UX, and this test is
24961 entirely disabled there anyway.
24962
f0708dbb
JB
249632002-12-21 Jim Blandy <jimb@redhat.com>
24964
4c2acfea
JB
24965 * gdb.c++/psmang.exp: Doc fix.
24966
f0708dbb
JB
24967 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
24968 test.
24969
9579e000
DC
249702002-12-20 David Carlton <carlton@math.stanford.edu>
24971
24972 * gdb.c++/annota2.exp: KFAIL annotate-quit.
24973
d1810171
MC
249742002-12-18 Michael Chastain <mec@shout.net>
24975
24976 * gdb.c++/annota2.exp: Add copyright year 2002.
24977
76565097
DC
249782002-12-17 David Carlton <carlton@math.stanford.edu>
24979
24980 * gdb.c++/try_catch.cc: Add marker comments.
24981 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
24982 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
24983 * gdb.c++/m-static.cc: Ditto.
24984 * gdb.c++/m-static1.cc: Ditto.
24985 * gdb.c++/try_catch.cc: Ditto.
24986
da81390b
JJ
249872002-12-16 Jeff Johnston <jjohnstn@redhat.com>
24988
24989 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
24990 to see whether we are using the new -environment-directory
24991 command which resets via -r or the old version of the command
24992 which may prompt the user. Part of fix for gdb/741.
24993
b304d130
AC
249942002-12-13 Andrew Cagney <ac131313@redhat.com>
24995
24996 * gdb.fortran/types.exp: Update obsolete comment.
24997 * gdb.fortran/exprs.exp: Ditto.
24998 * lib/gdb.exp: Delete obsolete code.
24999 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
25000 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
25001 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
25002 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
25003 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
25004 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
25005 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
25006 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
25007 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
25008 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
25009 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
25010 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
25011 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
25012 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
25013 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
25014 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
25015 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
25016 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
25017 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
25018 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
25019 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
25020 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
25021 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
25022 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
25023 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
25024 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
25025 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
25026 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
25027 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
25028 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
25029 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
25030 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
25031 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
25032 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
25033 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
25034 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
25035 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
25036
a23b6e6a
DC
250372002-12-11 David Carlton <carlton@math.stanford.edu>
25038
25039 * gdb.c++/m-data.exp: Add test for members that shadow global
25040 variables: see PR gdb/804.
25041 * gdb.c++/m-data.cc: Ditto.
25042
6604731b
DJ
250432002-12-10 Daniel Jacobowitz <drow@mvista.com>
25044
25045 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
25046
de46ecd7
DC
250472002-12-06 David Carlton <carlton@math.stanford.edu>
25048
25049 * gdb.base/store.c: Don't declare functions static.
25050
27e829d0
AC
250512002-12-04 Andrew Cagney <ac131313@redhat.com>
25052
25053 * gdb.base/store.exp, gdb.base/store.c: New files.
25054
92806416
DJ
250552002-12-03 Daniel Jacobowitz <drow@mvista.com>
25056
25057 * gdb.base/selftest.exp: Update for current gdb.
25058
3bcbaac5
DJ
250592002-12-03 Daniel Jacobowitz <drow@mvista.com>
25060
25061 * gdb.base/maint.exp: Only dump symbols from one source file
25062 or objfile.
25063
f4f00b1f
DJ
250642002-12-03 Daniel Jacobowitz <drow@mvista.com>
25065
25066 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
25067 function call.
25068
f1c8a949
JB
250692002-11-25 Jim Blandy <jimb@redhat.com>
25070
25071 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
25072 function appearing in error message.
25073
9e297a97
DJ
250742002-11-21 Daniel Jacobowitz <drow@mvista.com>
25075
25076 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
25077
1f312e79
JJ
250782002-11-08 Jeff Johnston <jjohnstn@redhat.com>
25079
d63a86f8
RM
25080 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
25081 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
25082 should be in mi console format. This is part of fix for PR gdb/604.
25083
83c31e7d
FN
250842002-09-18 Fernando Nasser <fnasser@redhat.com>
25085
25086 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
25087 which explicitly prints the zero offset as "+0".
25088
322b3f65
DJ
250892002-10-22 Daniel Jacobowitz <drow@mvista.com>
25090
25091 * gdb.threads/schedlock.c (args): Make unsigned.
25092
250932002-10-21 Daniel Jacobowitz <drow@mvista.com>
25094
25095 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
25096 numbers. Allow "foo2|selected stack frame".
25097 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
25098 * gdb.asm/asmsrc2.s: Likewise.
25099 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
25100 comments.
25101 * gdb.asm/mips.inc: New file.
25102
5e2fe5b8
AF
251032002-10-18 Adam Fedor <fedor@gnu.org>
25104
25105 * gdb.base/default.exp: Update expected output to include 'ObjC'.
25106 * gdb.base/help.exp: Likewise.
25107
abe1a5d0
KB
251082002-10-17 Kevin Buettner <kevinb@redhat.com>
25109
25110 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
25111 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
25112
10abb1d4
JB
251132002-10-02 Jim Blandy <jimb@redhat.com>
25114
25115 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
25116
1f609b42
AC
251172002-10-01 Andrew Cagney <ac131313@redhat.com>
25118
25119 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
25120 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
25121 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
25122 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
25123 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
25124 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
25125 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
25126
0aee02e4
AC
251272002-09-29 Andrew Cagney <ac131313@redhat.com>
25128
25129 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
25130 * mi0-disassemble.exp, mi0-eval.exp: Delete.
25131 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
25132 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
25133 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
25134 * mi0-var-block.exp, mi0-var-child.exp: Delete.
25135 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 25136
6fde09ad
KB
251372002-09-27 Kevin Buettner <kevinb@redhat.com>
25138
25139 * gdb.base/annota1.exp (info break): Make directory components of
25140 path optional since not all compilers emit this debug information.
25141
889bf7c5
PA
25142 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
25143 step ends up stepping out of the function instead of stopping on
25144 the epilogue.
6fde09ad 25145
9e8aab75
KS
251462002-09-26 Keith Seitz <keiths@redhat.com>
25147
25148 * lib/insight-support.exp (gdbtk_start): Figure out where
25149 the insight executable is based on where gdb is. Use this
25150 executable to start insight instead of gdb.
25151
e36180d7
AC
251522002-09-25 Andrew Cagney <cagney@redhat.com>
25153
25154 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
25155
9dd34b2b
AC
251562002-09-24 Andrew Cagney <ac131313@redhat.com>
25157
25158 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
25159 test_isolated_complaints.
25160 (test_empty_complaint): New function.
25161 (test_empty_complaints): New function. Check no output when no
25162 complaints.
d63a86f8 25163
dea97812
KB
251642002-09-19 Jim Blandy <jimb@redhat.com>
25165
a9c64011 25166 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 25167
54951bd7
AC
251682002-09-19 Andrew Cagney <ac131313@redhat.com>
25169
25170 * gdb.gdb/complaints.exp: New file.
25171
dec43320
AC
251722002-09-18 Andrew Cagney <ac131313@redhat.com>
25173
25174 * gdb.base/maint.exp: Check `help maint internal-warning'.
25175
e70d6e3f
DC
251762002-09-18 David Carlton <carlton@math.stanford.edu>
25177
25178 * gdb.c++/m-static.exp: Remove breakpoints depending on line
25179 numbers, and replace them by a single breakpoint after the
25180 constructors are all finished.
25181 Add test 4.
25182 * gdb.c++/m-static.cc: Add test 4.
25183 * gdb.c++/m-static.h: New file.
25184 * gdb.c++/m-static1.cc: New file.
25185
25186 * gdb.c++/printmethod.exp: New file.
25187 * gdb.c++/printmethod.cc: New file.
25188
25189 * gdb.c++/pr-574.exp: New file.
25190 * gdb.c++/pr-574.cc: New file.
25191
afb5c968
CV
251922002-09-18 Corinna Vinschen <vinschen@redhat.com>
25193
25194 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
25195 embedded targets which never actually exit.
25196
31e45dee
FN
251972002-09-18 Fernando Nasser <fnasser@redhat.com>
25198
25199 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
25200 "don't step after run" as unresolved or unsupported, instead of xfail.
25201
a283c5a1
CV
252022002-09-18 Corinna Vinschen <vinschen@redhat.com>
25203
25204 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
25205 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
25206 Add newline to expected string in "step out of main (status wrapper)"
25207 case.
25208
11350d2a
CV
252092002-09-18 Corinna Vinschen <vinschen@redhat.com>
25210
25211 * lib/gdb.exp (rerun_to_main): Allow restarting application.
25212 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
25213
0deec7d6
TT
252142002-09-17 Tom Tromey <tromey@redhat.com>
25215
25216 * gdb.base/printcmds.exp (test_print_string_constants): Expect
25217 \000, not \0, in double-quoted string.
25218
b2b4a1b5
CV
252192002-09-14 Corinna Vinschen <vinschen@redhat.com>
25220
c9d37158 25221 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
25222 string after running the commands execution on breakpoint tests.
25223
1c56143a
CV
252242002-09-13 Corinna Vinschen <vinschen@redhat.com>
25225
25226 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
25227
37f8da45
JB
252282002-09-12 Joel Brobecker <brobecker@gnat.com>
25229
25230 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
25231
08b468e0
KS
252322002-09-10 Keith Seitz <keiths@redhat.com>
25233
25234 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
25235 runto proc.
25236 (mi_run_to_main): Use mi_runto.
25237 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
25238
dc360f58
KS
252392002-09-10 Keith Seitz <keiths@redhat.com>
25240
25241 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
25242 regexp for stopping at main. Could have multiple event notifications.
25243 Don't assume that main was declared with no parameters.
25244 (mi_next): Use mi_step_to.
25245 (mi_step): Use mi_next_to.
25246
ce3abcfb
CV
252472002-09-09 Corinna Vinschen <vinschen@redhat.com>
25248
25249 * gdb.base/default.exp: Fix expected string in `info float' test.
25250
d1f5b980
BE
252512002-09-09 Ben Elliston <bje@redhat.com>
25252
25253 * config/mips.exp: Update comments.
25254 * config/mips-idt.exp: Likewise.
25255 * config/nind.exp: Likewise.
25256 * config/slite.exp: Likewise.
25257 * config/sparclet.exp: Likewise.
25258 * config/udi.exp: Likewise.
25259 * config/vx.exp: Likewise.
25260 * config/vxworks29k.exp: Likewise.
25261
2f71430b
JB
252622002-09-05 Jim Blandy <jimb@redhat.com>
25263
25264 * gdb.threads/killed.exp: Fix test failure message.
25265
7ddebc7e
KS
252662002-09-04 Keith Seitz <keiths@redhat.com>
25267
25268 * lib/mi-support.exp: Update copyright.
25269 (mi_gdb_test): Increase the priority of the expected pattern
25270 so that it matches gdb_test.
25271
0ae67eb3
KS
252722002-09-03 Keith Seitz <keiths@redhat.com>
25273
25274 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
25275 Use integer comparison instead of string comparison for testing
25276 whether binary was built.
25277
38fc42c8
JB
252782002-09-03 Jim Blandy <jimb@redhat.com>
25279
25280 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
25281
b6ff0e81
JB
252822002-08-29 Jim Blandy <jimb@redhat.com>
25283
25284 * gdb.threads/pthreads.exp: Move the portable thread compilation
25285 code into a function in lib/gdb.exp, and call that from here.
25286 * lib/gdb.exp (gdb_compile_pthreads): New function.
25287
07c98896
KS
252882002-08-29 Keith Seitz <keiths@redhat.com>
25289
25290 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
25291 expect_out so that callers can get at it.
25292
0312286c
DJ
252932002-08-23 Daniel Jacobowitz <drow@mvista.com>
25294
25295 * gdb.threads/print-threads.c: New file.
25296 * gdb.threads/print-threads.exp: New file.
25297 * gdb.threads/schedlock.c: New file.
25298 * gdb.threads/schedlock.exp: New file.
25299
dd039bc4
EZ
253002002-08-22 Elena Zannoni <ezannoni@redhat.com>
25301
a9c64011
AS
25302 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
25303 not altivec.c.
dd039bc4 25304
1f36144c
MK
253052002-08-17 Mark Kettenis <kettenis@gnu.org>
25306
25307 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
25308 targets. The problem should be fixed now.
25309
16057ec7 253102002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
25311
25312 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
25313 2002-07-24 change that removes final dots from error messages.
25314
3c1499ad
TT
253152002-08-13 Tom Tromey <tromey@redhat.com>
25316
25317 * gdb.base/readline.exp: New file.
25318
a20ce2c3
AC
253192002-08-01 Andrew Cagney <ac131313@redhat.com>
25320
25321 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
25322 supress message.
25323
db034ac5
AC
253242002-08-01 Andrew Cagney <cagney@redhat.com>
25325
25326 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
25327 CHILL_FOR_TARGET and CHILL_LIB.
25328 * configure.in (configdirs): Remove gdb.chill.
25329 * configure: Regenerate.
25330 * lib/gdb.exp: Obsolete references to chill.
25331 * gdb.fortran/types.exp: Ditto.
25332 * gdb.fortran/exprs.exp: Ditto.
25333
3e000b18
KB
253342002-07-30 Kevin Buettner <kevinb@redhat.com>
25335
25336 * gdb.base/shlib-call.exp (additional_flags): Conditionally
25337 set Irix-specific compile and link flags.
25338
28f4966b
KB
253392002-07-29 Kevin Buettner <kevinb@redhat.com>
25340
25341 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
25342 source files. The ``-o'' option doesn't work with the ``-E'' option
25343 when using the Irix compiler.
25344
46c0d5a6
DJ
253452002-07-19 Daniel Jacobowitz <drow@mvista.com>
25346
25347 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
25348 Improve support for reusing an exec file. Copy exec file
25349 to target, and run gdbserver on the target instead of on the host.
25350
eecf4bed
JB
253512002-07-18 Jim Blandy <jimb@redhat.com>
25352
0f815cdf
JB
25353 * gdb.base/ending-run.exp: Don't expect to see the program end in
25354 some orderly fashion when we're running on a real stand-alone
25355 board.
25356
eecf4bed
JB
25357 * gdb.base/interrupt.exp: Correct logic for skipping tests on
25358 targets that don't support interrupts.
25359
52d309e4
JB
253602002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
25361
25362 * gdb.base/attach.exp: Add patterns to match output from /proc-based
25363 systems.
25364 Move comments in expect statements to inside the actions, so that they
25365 don't get matched against.
25366
ff683d9e
MK
253672002-07-10 Mark Kettenis <kettenis@gnu.org>
25368
25369 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
25370 function when asleep" test.
25371
b5356753
AC
253722002-07-10 Andrew Cagney <ac131313@redhat.com>
25373
25374 * gdb.base/page.exp: Rewrite to handle problems with very long
25375 `info set' output. Update copyright.
25376
6aa4d13a
AC
253772002-06-26 Andrew Cagney <ac131313@redhat.com>
25378
25379 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
25380 gdb.threads-hp.
25381 * gdb.hp/configure: Regenerate.
25382 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
25383 * gdb.hp/gdb.threads-hp/configure: Delete file.
25384 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
25385
8cf8c2b8
AC
253862002-06-22 Andrew Cagney <ac131313@redhat.com>
25387
25388 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
25389 setlocale, bindtextdomain and textdomain.
25390
6827a8f8
JB
253912002-06-11 Jim Blandy <jimb@redhat.com>
25392
919d772c
JB
25393 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
25394 preprocessor macro information is present.
25395
6827a8f8
JB
25396 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
25397 tests.
25398
c15b0d21
MS
253992002-06-06 Michael Snyder <msnyder@redhat.com>
25400
c5984d70
MS
25401 * gdb.base/overlays.exp: Record addresses of overlay
25402 functions in TCL variables rather than in GDB variables,
25403 to avoid having GDB convert them to pointers (with loss
25404 of information).
25405
d63a86f8 25406 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 25407 default linker script changes.
c15b0d21
MS
25408 * gdb.base/long_long.exp: Add check for sizeof (long double).
25409
be26fe0d
ML
254102002-06-06 Michal Ludvig <mludvig@suse.cz>
25411
25412 * gdb.asm/asm-source.exp: Add x86-64 target.
25413 * gdb.asm/x86_64.inc: New.
d63a86f8 25414
258093ca 254152002-05-30 Michael Chastain <mec@shout.net>
258093ca 25416
4b3153f1 25417 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
25418 * gdb.c++/m-static.cc: New file.
25419 * gdb.c++/m-static.exp: New file.
25420
241264c6
MS
254212002-05-28 Michael Snyder <msnyder@redhat.com>
25422
25423 * gdb.base/call-ar-st.exp: Allow for reduced floating point
25424 precision.
25425
9bba8c8f 254262002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 25427
4b3153f1 25428 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
25429 * gdb.c++/m-data.cc: New file.
25430 * gdb.c++/m-data.exp: New file.
25431
254322002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 25433
4b3153f1 25434 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 25435 * gdb.c++/try_catch.cc: New file.
d63a86f8 25436 * gdb.c++/try_catch.exp: New file.
9bba8c8f 25437
def1b996
MC
254382002-05-27 Michael Chastain <mec@shout.net>
25439
25440 * gdb.c++/local.exp: Accept more nested types in output.
25441
522ba268
MC
254422002-05-26 Michael Chastain <mec@shout.net>
25443
25444 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
25445
277254ba
MS
254462002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
25447
25448 * lib/gdb.exp (gdb_wrapper_init): Just because
25449 gdb_wrapper_file exists, this does not mean that the file
25450 should not be rebuilt. That is what gdb_wrapper_initialized
25451 is for.
25452 (default_gdb_init): Reset gdb_wrapper_initialized.
25453
b61a8733
MS
254542002-05-23 Michael Snyder <msnyder@redhat.com>
25455
d63a86f8 25456 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
25457 the precision of the floating point test results.
25458 * gdb.base/call-rt-st.exp: Ditto.
25459
b61a8733
MS
25460 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
25461 * gdb.base/call-rt-st.exp: Ditto.
25462
56f6e910
MC
254632002-05-19 Michael Chastain <mec@shout.net>
25464
25465 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
25466
ad0b0016
EZ
254672002-05-19 Elena Zannoni <ezannoni@redhat.com>
25468
a9c64011
AS
25469 * configure.in (configdirs): Add gdb.arch.
25470 * configure: Regenerate.
ad0b0016 25471
f617d2b6
JB
254722002-05-17 Jim Blandy <jimb@redhat.com>
25473
25474 * gdb.base/completion.exp: Recognize the more detailed error
25475 messages produced by the macro expander's lexical analyzer.
25476
eac2a696
EZ
254772002-05-14 Elena Zannoni <ezannoni@redhat.com>
25478
a9c64011
AS
25479 * gdb.arch/altivec-abi.c: New file.
25480 * gdb.arch/altivec-abi.exp: New file.
25481 * gdb.arch/altivec-regs.c: New file.
25482 * gdb.arch/altivec-regs.exp: New file.
eac2a696 25483
2fdde8f8
DJ
254842002-05-14 Daniel Jacobowitz <drow@mvista.com>
25485
25486 * gdb.base/maint.exp (maint print type): Update for new type
25487 structure.
d63a86f8 25488
e31f1a7c
EZ
254892002-05-14 Elena Zannoni <ezannoni@redhat.com>
25490
25491 * gdb.arch: New directory.
25492 * gdb.arch/configure.in: New file.
25493 * gdb.arch/configure: New file.
25494 * gdb.arch/Makefile.in: New file.
25495
db589741
CV
254962002-05-13 Corinna Vinschen <vinschen@redhat.com>
25497
25498 * gdb.asm/asm-source.exp: Add v850 as supported target.
25499 * gdb.asm/v850.inc: New file.
25500
8ce2a7dc
DJ
255012002-05-13 Daniel Jacobowitz <drow@mvista.com>
25502
25503 * gdb.c++/annota2.exp (annotate-quit): Add comment.
25504
df763c7f
DJ
255052002-05-12 Daniel Jacobowitz <drow@mvista.com>
25506
25507 * gdb.base/break.exp: Check 'break "marker2"'.
25508
377daeed
MS
255092002-05-10 Michael Snyder <msnyder@redhat.com>
25510
25511 * gdb.base/long_long.exp: Fix typo.
25512
c4b7bc2b
JB
255132002-05-10 Jim Blandy <jimb@redhat.com>
25514
ecac9a4e
JB
25515 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
25516 a bug.
25517
c4b7bc2b
JB
25518 * gdb.base/printcmds.exp (test_integer_literals_rejected):
25519 Recognize more detailed error message produced by the macro
25520 expander's lexical analyzer.
25521 * lib/gdb.exp (test_print_reject): Same.
25522
e71019a1
MK
255232002-05-09 Mark Kettenis <kettenis@gnu.org>
25524
25525 * gdb.c++/method.exp: Fix typo.
25526
fedfc8e6
MS
255272002-05-08 Michael Snyder <msnyder@redhat.com>
25528
166a1957
MS
25529 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
25530 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 25531 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
25532 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
25533 Add iftarget clause for strongarm.
d63a86f8 25534
f1c47eb2
MS
255352002-05-06 Michael Snyder <msnyder@redhat.com>
25536
cb9a9d3e
MS
25537 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
25538 (gdb_continue_to_end): Accept output from status wrapper.
25539 * gdb.base/ending-run.exp: Add case for output from status wrapper.
25540 Clean up fail messages to match pass messages.
25541
f1c47eb2
MS
25542 Enable the "needs_status_wrapper" testsuite feature.
25543 * lib/gdb.exp (gdb_wrapper_init): New procedure.
25544 (gdb_compile): Conditionally call gdb_wrapper_init.
25545 * gdb.base/a2-run.exp: Recognize output from status wrapper.
25546 * gdb.c++/method.exp: Recognize output from status wrapper.
25547
6079c749
BE
255482002-05-06 Ben Elliston <bje@redhat.com>
25549From Graydon Hoare <graydon@redhat.com>
25550
25551 * config/sid.exp: Include support for "rawsid" protocol.
25552
188baff3
JB
255532002-05-03 Jim Blandy <jimb@redhat.com>
25554
25555 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
25556 * gdb.c++/hang3.C: New file.
25557
b9c07f0f
AC
255582002-05-04 Andrew Cagney <ac131313@redhat.com>
25559
25560 * gdb.base/default.exp: Remove obsolete code.
25561 * gdb.c++/misc.exp: Ditto. Update copyright.
25562 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
25563 * gdb.base/whatis.exp: Ditto. Update copyright.
25564 * gdb.base/scope.exp: Ditto. Update copyright.
25565 * gdb.base/ptype.exp: Ditto. Update copyright.
25566 * gdb.base/printcmds.exp: Ditto. Update copyright.
25567 * gdb.base/opaque.exp: Ditto. Update copyright.
25568 * gdb.base/list.exp: Ditto.
25569 * gdb.base/funcargs.exp: Ditto. Update copyright.
25570 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
25571 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
25572 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
25573 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
25574 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
25575 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
25576
5c7a0397
MS
255772002-05-02 Michael Snyder <msnyder@redhat.com>
25578
d6dcc264 25579 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
25580 * gdb.base/long_long.exp: Add xscale target.
25581 * gdb.base/default.exp: Add xscale target.
25582
eb7f1c48
JB
255832002-05-01 Jim Blandy <jimb@redhat.com>
25584
25585 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
25586 gdb.c++/hang.exp: New test.
25587
a6befae8
FF
255882002-05-01 Fred Fish <fnf@redhat.com>
25589
25590 * gdb.base/completion.exp: Handle completions of "./Make" for
25591 more than one completion possibility, as is the case when we
25592 build and test in the source tree.
25593
0a310277
AG
255942002-04-29 Anthony Green <green@redhat.com>
25595
25596 * gdb.java/jmisc1.exp: New file.
25597 * gdb.java/jmisc2.exp: New file.
25598
6ff9af88
DJ
255992002-04-24 Daniel Jacobowitz <drow@mvista.com>
25600
25601 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
25602
96b3d632
EZ
256032002-04-23 Elena Zannoni <ezannoni@redhat.com>
25604
25605 * gdb.base/help.exp: Change 'help status' to allow for target
25606 dependent output differences.
25607
5019bb54
MC
256082002-04-22 Michael Chastain <mec@shout.net>
25609
25610 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
25611
a805a116
MC
256122002-04-22 Michael Chastain <mec@shout.net>
25613
25614 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
25615
a1706bfd
DM
256162002-04-17 David S. Miller <davem@redhat.com>
25617
25618 * gdb.asm/sparc64.inc: New file.
25619 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
25620
a73a20a2
EZ
256212002-04-19 Elena Zannoni <ezannoni@redhat.com>
25622
25623 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
25624 instruction file directly into the build tree. Clean up at end of
25625 test.
25626
ba678339
DM
256272002-04-18 David S. Miller <davem@redhat.com>
25628
25629 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
25630 handle 64-bit platforms correctly.
25631 * gdb.base/maint.exp: Likewise.
25632
b03399da
KB
256332002-04-18 Kevin Buettner <kevinb@redhat.com>
25634
25635 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
25636 ``-fpic'' when compiling files comprising a shared library, but
25637 it does need additional linker flags in order to find shared
25638 libraries at run time.
25639
e2004992
KB
256402002-04-18 Kevin Buettner <kevinb@redhat.com>
25641
25642 * gdb.base/cvexpr.c (use): New function.
25643 (main): Invoke use() on all global variables to prevent
25644 some linkers from deleting these otherwise unused symbols.
25645
d8937120
MC
256462002-04-17 Michael Chastain <mec@shout.net>
25647From David S. Miller <davem@redhat.com>
25648
25649 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
25650 handle 64-bit platforms correctly.
25651
ffd61a58
MS
256522002-04-12 Michael Snyder <msnyder@redhat.com>
25653From Jim Blandy <jimb@redhat.com>
a9c64011 25654 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
25655 script can handle this instead.
25656 * gdb.base/bar.c (barx): Same.
25657 * gdb.base/baz.c (bazx): Same.
25658 * gdb.base/grbx.c (grbxx): Same.
25659
25660 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
25661 manager doesn't automatically unmap overlays unnecessarily.
25662
6b8426a6
MH
256632002-04-10 Martin M. Hunt <hunt@redhat.com>
25664
25665 * gdb.base/ending-run.exp: Fix pattern for Mips targets
25666 stepping out of main.
25667
34af4875
MC
256682002-04-09 Michael Chastain <mec@shout.net>
25669
25670 * gdb.c++/local.cc (main): Move call to marker1() inside nested
25671 scope so that the nested scope tests will make sense.
25672 * gdb.c++/local.exp: Write patterns that actually work with gcc
25673 (the HP patterns "were never known to work with gcc").
25674 Keep the old aCC patterns too.
25675
2d1676a0
DJ
256762002-04-09 Daniel Jacobowitz <drow@mvista.com>
25677
25678 * gdb.base/attach.exp: Correct target board test.
25679
3a63e3f9
MC
256802002-04-08 Michael Chastain <mec@shout.net>
25681
25682 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
25683 in a const method. Add some xfail and fail cases for configurations
25684 that do not emit the "const ...".
25685
f18dabd2
MC
256862002-04-07 Michael Chastain <mec@shout.net>
25687
25688 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
25689 Accept "A * const" and "const A * const" as type of "this".
25690 Fix spelling of getFunky throughout. Make messages uniform.
25691
0fcddd82
EZ
256922002-04-07 Elena Zannoni <ezannoni@redhat.com>
25693
a9c64011 25694 Work around for PR gdb/285:
0fcddd82
EZ
25695 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
25696
16a8534a
EZ
256972002-04-07 Elena Zannoni <ezannoni@redhat.com>
25698
25699 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
25700 instructions file at run time instead of configure time.
25701 Sometimes we run the test in a directory that is not the one we
25702 configured in.
25703 * gdb.asm/configure.in: Delete creation of symlink.
25704 * gdb.asm/configure: Regenerate.
25705
24181d81
JB
257062002-04-05 J. Brobecker <brobecker@gnat.com>
25707
25708 * gdb.gdb/xfullpath.exp: New test, to exercise the new
25709 xfullpath () function.
25710
7cdb7107
DJ
257112002-04-04 Daniel Jacobowitz <drow@mvista.com>
25712
25713 * gdb.asm/Makefile.in: Correct dependencies.
25714
25715 * gdb.asm/powerpc.inc: New file.
25716 * gdb.asm/asm-source.exp: Add PowerPC.
25717 * gdb.asm/configure.in: Likewise.
25718 * gdb.asm/configure: Regenerated.
25719
a7d17088
DJ
257202002-04-04 Daniel Jacobowitz <drow@mvista.com>
25721
25722 * gdb.base/relocate.exp: New file.
25723 * gdb.base/relocate.c: New file.
25724
cd721503
FF
257252002-04-04 Fred Fish <fnf@redhat.com>
25726
25727 * gdb.base/step-test.exp: Update comment regarding stopping in
25728 memcpy/bcopy calls inserted as part of the compiler runtime.
25729
b22ad7a7
MS
257302002-04-04 Michael Snyder <msnyder@redhat.com>
25731
25732 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
25733
5f279fa6
DJ
257342002-04-03 Daniel Jacobowitz <drow@mvista.com>
25735
25736 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
25737 (gdb_expect): Remove $notransfer hack.
25738
dd0fd3ce
DJ
257392002-04-02 Daniel Jacobowitz <drow@mvista.com>
25740
25741 * gdb.c++/classes.exp ("calling method for small class"): Match
25742 updated register output.
25743
1e50cda1
DJ
257442002-03-30 Daniel Jacobowitz <drow@mvista.com>
25745
25746 Fix PR gdb/452
25747 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
25748 when finished. Make gdb_file_cmd send "exec-file" when
25749 appropriate.
25750
24015922
DJ
257512002-03-30 Daniel Jacobowitz <drow@mvista.com>
25752
25753 * gdb.base/attach.exp: Remove extra setup_xfail.
25754
dd7dfd64
MS
257552002-03-26 Michael Snyder <msnyder@redhat.com>
25756
25757 * gdb.base/default.exp: Add tests for dump, append, and restore.
25758 * gdb.base/help.exp: Add tests for dump, append, and restore.
25759 * gdb.base/dump.exp: New file, test dump, append and restore.
25760 * gdb.base/dump.c: New file.
25761
48b2f8d7
MS
257622002-03-27 Michael Snyder <msnyder@redhat.com>
25763
d63a86f8 25764 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
25765 clean-ups in help messages.
25766
05b4d525
FF
257672002-03-26 Fred Fish <fnf@redhat.com>
25768
25769 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
25770 have debugging info for those functions and the compiler uses them
25771 internally to copy structs around.
25772
d7679631
FF
257732002-03-26 Fred Fish <fnf@redhat.com>
25774
25775 * gdb.base/list.exp: Revert the change made yesterday and add note
25776 about why we don't list the default lines for remote targets.
25777
523ac3f9
MS
257782002-03-25 Michael Snyder <msnyder@redhat.com>
25779
25780 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
25781
754b2b8d
FF
257822002-03-25 Fred Fish <fnf@redhat.com>
25783
25784 * gdb.base/list.exp: This test works on remote targets so remove
25785 the short circuit for remote targets. Update copyright.
25786
33c3e192
FF
257872002-03-25 Fred Fish <fnf@redhat.com>
25788
25789 * gdb.base/attach.exp: Fix logic error that was suppressing this
25790 test for all non hppa*-*-hpux* targets, instead of the hp target.
25791 Move comments closer to the suppression point. Also now need to
25792 check that we are running natively.
25793
d43e73ee
MS
257942002-03-22 Michael Snyder <msnyder@redhat.com>
25795
882c8f02
MS
25796 * gdb.base/default.exp: Add test for gcore. Update copyright.
25797 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 25798
04c12f60
FF
257992002-03-06 Fred Fish <fnf@redhat.com>
25800
25801 * gdb.base/funcargs.c: Remove extraneous ';' character.
25802 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
25803
b43df995
MC
258042002-03-04 Michael Chastain <mec@shout.net>
25805
25806 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
25807 accommodate gcc v3 function signature.
25808 * gdb.mi/mi0-var-cmd-exp: Ditto.
25809
92362027
AC
258102002-02-24 Andrew Cagney <ac131313@redhat.com>
25811
25812 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
25813 ``GNU/Linux'' or ``Linux kernel''
25814 * testsuite/gdb.threads/pthreads.c: Ditto.
25815
258ad32d
MC
258162002-02-24 Michael Chastain <mec@shout.net>
25817
25818 * gdb.threads/pthreads.c (thread1): Add a return statement.
25819 (thread2): Likewise.
25820 (foo): Likewise.
25821
04c3b3d4
MC
258222002-02-23 Michael Chastain <mec@shout.net>
25823
25824 * gdb.threads/linux-dp.c (philosopher): Add a return statement
25825 to placate gcc.
25826
5a2a0a20
MC
258272002-02-23 Michael Chastain <mec@shout.net>
25828
25829 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
25830 test "ptype bint". The test passes on all my stabs configurations.
25831
a640f7fc
JB
258322002-02-21 Jim Blandy <jimb@redhat.com>
25833
27924826
JB
25834 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
25835 filename at a time, and watch for the ones we want to see.
25836
a640f7fc
JB
25837 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
25838 types of pointers to prototyped functions.
25839
edcc8c75
AC
258402002-02-20 Andrew Cagney <ac131313@redhat.com>
25841
25842 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
25843 signed, unsigned and straight char.
25844 (padding_char, padding_short, padding_int, padding_long,
25845 padding_long_long, padding_float, padding_double,
25846 padding_long_double): New global variables.
25847 (fill, fill_structs): New functions.
25848
25849 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
25850 for correctly sized writes. Update copyright.
25851 (get_valueof): New procedure.
25852 (get_sizeof): Call get_valueof.
25853 (check_valueof): New procedure.
25854 (check_padding): New procedure.
25855
ac57ea44
MC
258562002-02-20 Michael Chastain <mec@shout.net>
25857
25858 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
25859 to setup_xfail. Document some of the remaining calls.
25860
7a10c941
MC
258612002-02-18 Michael Chastain <mec@shout.net>
25862
25863 * gdb.c++/userdef.exp: Update copyright year.
25864
fb8acdcc
DJ
258652002-02-18 Daniel Jacobowitz <drow@mvista.com>
25866
25867 * gdb.c++/userdef.exp: Test overloaded operators properly.
25868 Remove xfails.
25869
fda6ae12
MS
258702002-02-14 Michael Snyder <msnyder@redhat.com>
25871
25872 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
25873
676a0442
DJ
258742002-02-14 Daniel Jacobowitz <drow@mvista.com>
25875
25876 * gdb.base/a2-run.exp: Check for a remote target properly.
25877 * gdb.base/annota1.exp: Likewise.
25878 * gdb.base/list.exp: Likewise.
25879 * gdb.base/reread.exp: Likewise.
25880 * gdb.base/scope.exp: Likewise.
25881 * gdb.base/shlib-call.exp: Likewise.
25882 * gdb.base/term.exp: Likewise.
25883 * gdb.c++/annota2.exp: Likewise.
25884
78b4f468
RE
258852002-02-13 Richard Earnshaw <rearnsha@arm.com>
25886
25887 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
25888
9a81ba51
MC
258892002-02-10 Michael Chastain <mec@shout.net>
25890
25891 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
25892 (call_after_alloca): Ditto.
25893
004af6c7
DJ
258942002-02-10 Daniel Jacobowitz <drow@mvista.com>
25895
25896 * gdb.base/ending-run.exp: Guard "cont" test with
25897 gdb_skip_stdio_test.
25898
37225f62
JB
258992002-02-06 Jim Blandy <jimb@redhat.com>
25900
25901 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
25902 from here...
25903 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
25904 To here. Disable this test on non-HP platforms. Add big comment.
25905
fe6fdd96
MS
259062002-02-04 Michael Snyder <msnyder@redhat.com>
25907
25908 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
25909 other than d10v and m32r.
25910
036fad3f
RE
259112002-02-02 Richard Earnshaw <rearnsha@arm.com>
25912
25913 * gdb.base/default.exp: Rewrite test patterns to reduce time
25914 taken to match them.
25915
7148ab62
DJ
259162002-01-30 Daniel Jacobowitz <drow@mvista.com>
25917
25918 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
25919 Allow a start function above main.
25920 * gdb.threads/linux-dp.exp: Fix copyright date.
25921
396cc255
DJ
259222002-01-30 Daniel Jacobowitz <drow@mvista.com>
25923
a9c64011
AS
25924 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
25925 (check_philosopher_stack): Check for manager thread before checking
25926 for a just-starting thread.
396cc255 25927
f038d31b
DJ
259282002-01-30 Daniel Jacobowitz <drow@mvista.com>
25929
25930 From Neil Booth <neil@daikokuya.demon.co.uk>:
25931 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
25932 warnings.
25933
b3ff9d9a
FF
259342002-01-21 Fred Fish <fnf@redhat.com>
25935
25936 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
25937 not caller.
25938
39ad761d
JB
259392002-01-21 Jim Blandy <jimb@redhat.com>
25940
25941 * gdb.base/reread.exp: Check that GDB properly re-reads the
25942 executable file when it changes while no inferior is running.
25943
aaf320fa
FF
259442002-01-21 Fred Fish <fnf@redhat.com>
25945
a9c64011
AS
25946 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
25947 optionally accept the "shlib events" variation.
aaf320fa 25948
808a31f5
JB
259492002-01-21 Jim Blandy <jimb@redhat.com>
25950
25951 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
25952 call `fflush' after every `printf', so that the output is produced
25953 at predictable points, regardless of whatever buffering does (or
25954 doesn't) take place.
25955 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
25956 at different points.
25957
4420d5e2
DJ
259582002-01-20 Daniel Jacobowitz <drow@mvista.com>
25959
25960 * gdb.c++/inherit.exp: Update copyright years.
25961 * gdb.c++/method.exp: Likewise.
25962
3e36a0f4
DJ
259632002-01-20 Daniel Jacobowitz <drow@mvista.com>
25964
25965 * gdb.c++/classes.exp: Update for improved v3 support and skipping
25966 artificial methods/arguments.
25967 * gdb.c++/derivation.exp: Likewise.
25968 * gdb.c++/inherit.exp: Likewise.
25969 * gdb.c++/method.exp: Likewise.
25970 * gdb.c++/virtfunc.exp: Likewise.
25971
b4ceaee6
AC
259722002-01-18 Andrew Cagney <ac131313@redhat.com>
25973
25974 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
25975 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
25976 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
25977 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
25978 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
25979 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
25980
ecace851
JB
259812002-01-17 Jim Blandy <jimb@redhat.com>
25982
25983 * gdb.asm/asm-source.exp (info symbol): Take another shot at
25984 anchoring the pattern matching the entry point symbol's name.
25985
375fc983
AC
259862002-01-17 Andrew Cagney <ac131313@redhat.com>
25987
25988 * gdb.base/maint.exp: Update ``maint internal-error'' to match
25989 continue/quit query. Update copyright.
25990
fe6fdd96
MS
259912002-01-14 Michael Snyder <msnyder@redhat.com>
25992
25993 * gdb.base/gcore.exp: Remove extra debugging output.
25994
e017c81f
DJ
259952002-01-13 Daniel Jacobowitz <drow@mvista.com>
25996
25997 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
25998 for slightly dubious v2 mangled string.
25999
37ab3bf8
DJ
260002002-01-13 Daniel Jacobowitz <drow@mvista.com>
26001
26002 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
26003
1bc05c3a 260042002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 26005
1bc05c3a 26006 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 26007
1bc05c3a
JM
26008 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
26009 constructors.
26010 * gdb.c++/derivation.exp: Likewise.
26011 * gdb.c++/templates.exp: Likewise.
26012 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 26013
1bc05c3a
JM
260142002-01-10 Michael Snyder <msnyder@redhat.com>
26015
26016 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 26017
a911c360
MS
260182002-01-08 Michael Snyder <msnyder@redhat.com>
26019
26020 * gdb.base/gcore.exp: New test for generate-core-file command.
26021 * gdb.base/gcore.c: Testcase for above.
26022 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
26023
ea2119ec
JM
260242002-01-08 Jason Merrill <jason@redhat.com>
26025
26026 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
26027
68203136
FF
260282002-01-07 Fred Fish <fnf@redhat.com>
26029
26030 * gdb.c++/overload.exp: Remove unconditional xfails for:
26031 print foo_instance1.overloadargs(1)
26032 print foo_instance1.overloadargs(1, 2)
26033 print foo_instance1.overloadargs(1, 2, 3)
26034 print foo_instance1.overloadargs(1, 2, 3, 4)
26035 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
26036 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
26037 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
26038 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
26039 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
26040 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
26041 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
26042 print foo_instance1.overload1arg()
26043 print foo_instance1.overload1arg((char)arg2)
26044 print foo_instance1.overload1arg((signed char)arg3)
26045 print foo_instance1.overload1arg((unsigned char)arg4)
26046 print foo_instance1.overload1arg((int)arg7)
26047 print foo_instance1.overload1arg((unsigned int)arg8)
26048 print foo_instance1.overload1arg((float)arg11)
26049 print foo_instance1.overload1arg((double)arg12)
d63a86f8 26050
21b9b5b1
MS
260512002-01-07 Michael Snyder <msnyder@redhat.com>
26052
26053 * gdb.base/huge.exp: New test. Print a very large target data object.
26054 (skip_huge_test): New test variable. Define if you want to skip this
26055 test. The test reads an 8 megabyte data object from the target, so it
26056 might be very time consuming on remote targets with a slow connection.
26057 * gdb.base/huge.c: New file. Test case for above.
26058
725f922e
FF
260592002-01-07 Fred Fish <fnf@redhat.com>
26060
26061 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
26062 g_instance.bfoo, and g_instance.cfoo.
26063
889bf7c5 260642002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 26065
889bf7c5
PA
26066 * gdb.base/break.c (multi_line_if_conditional): New function.
26067 (multi_ilne_while_conditional): Likewise.
26068 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
26069 IF or WHILE condition puts the breakpoint at the start of
26070 the condition.
f286b2c3 26071
634d57ec
JL
26072 * gdb.base/selftest.exp (backtrace through signal handler): Remove
26073 hppa*-*-hpux* expected failure.
26074 * gdb.base/structs.exp (do_function_calls): Similarly.
26075
26076 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
26077 watchpoints.
26078
9fbfe2dc
AC
260792002-01-06 Andrew Cagney <ac131313@redhat.com>
26080
26081 Fix PR gdb/66.
26082 * gdb.base/structs.exp: Replace skip for a29k with skip for
26083 gdb,cannot_call_functions.
26084 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
26085 * gdb.base/callfuncs.exp: Ditto.
26086 * gdb.base/call-rt-st.exp: Ditto.
26087 * gdb.base/call-strs.exp: Ditto.
26088 * gdb.base/callfwmall.exp: Ditto.
26089 * gdb.base/scope.exp: Obsolete xfail a29k.
26090 * gdb.c++/misc.exp: Ditto.
26091 * gdb.c++/cplusfuncs.exp: Ditto.
26092 * gdb.base/ptype.exp: Ditto.
26093 * gdb.base/printcmds.exp: Ditto.
26094 * gdb.base/opaque.exp: Ditto.
26095 * gdb.base/list.exp: Ditto.
26096 * gdb.base/funcargs.exp: Ditto.
26097 * gdb.base/default.exp: Ditto.
26098
8ddad156
MS
260992002-01-04 Michael Snyder <msnyder@redhat.com>
26100
ca4976a6 26101 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
26102 * gdb.base/maint.exp: Add tests for maint info sections options.
26103
1b074332
JL
26104Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
26105
26106 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
26107
7d159115
CV
261082001-12-20 Corinna Vinschen <vinschen@redhat.com>
26109
26110 * gdb.asm/arm.inc: New file.
26111 * gdb.asm/asm-source.exp: Add arm targets.
26112 * gdb.asm/configure.in: Ditto.
26113 * gdb.asm/configure: Recreated from configure.in.
26114
8fb87725
JL
26115Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
26116
afabe08c
JL
26117 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
26118 with HP's compiler.
26119 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
26120 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
26121 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
26122 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
26123
26124 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
26125 either HP's compilers or GCC.
26126
db521deb
JL
26127 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
26128 a SIGBUS or SIGSEGV.
26129
26130 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
26131
26132 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
26133 can be compiled with either HP's compiler or GCC.
26134
cfa88ab7
JL
26135 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
26136 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
26137 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
26138
ca344dff
JL
26139 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
26140 to match current gdb output. Update due to using auto-solib-limit
26141 for limiting instead of overloading auto-solib-add.
26142 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
26143 test program.
26144
3f3c6e55 26145 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
26146 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
26147 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
26148 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
26149 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
26150 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
26151 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
26152 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
26153 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
26154 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
26155 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
26156 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
26157 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 26158
8fb87725
JL
26159 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
26160 a SIGTRAP to the inferior.
26161
cf599fa7
CV
261622001-12-19 Corinna Vinschen <vinschen@redhat.com>
26163
26164 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
26165 Substitute call to target_link by call to gdb_compile.
26166
2cd045cd
JL
26167Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
26168
a9c64011
AS
26169 * gdb.base/break.exp: Fix HP specific search string when testing
26170 backtracing in a called function.
2cd045cd 26171
a9c64011
AS
26172 * gdb.base/constvars.exp: Only set lang to C++ if we're
26173 compiling the test with HP's compilers.
26174 * gdb.base/volatile.exp: Similarly.
2cd045cd 26175
99ebe9ac
JB
261762001-12-19 Jim Blandy <jimb@redhat.com>
26177
26178 * gdb.base/printcmds.exp: Expect the null character to be printed
26179 as '\0', and the '\013' to be printed as '\v'.
26180 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
26181 * gdb.base/setvar.exp: Same.
26182
b9891b29
JB
261832001-12-17 Jim Blandy <jimb@redhat.com>
26184
0eba65ab
JB
26185 * gdb.base/completion.exp: Rather than completing very long
26186 filenames, which can make the readline library produce output we
26187 don't recognize, cd to the directory first, and then complete
26188 using nice, short relative paths.
26189
6970b5b1
JB
26190 * gdb.base/completion.exp: On some systems, there is, in fact, a
26191 variable named `b' in scope, since GDB treats all static
a9c64011
AS
26192 variables as being in scope. So use `no_var_named_this'
26193 instead of `b'.
6970b5b1 26194
b9891b29 26195 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 26196 can't find the core file's registers as a failure.
b9891b29 26197
e6ccd35f
JSC
261982001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
26199
a9c64011
AS
26200 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
26201 test expect string more specific.
e6ccd35f 26202
105ba819
CV
262032001-12-13 Corinna Vinschen <vinschen@redhat.com>
26204
26205 * gdb.asm/asm-source.exp: Add support for xstormy16.
26206 * gdb.asm/configure.in: Ditto.
26207 * gdb.asm/configure: Rebuild.
26208 * gdb.asm/xstormy16.inc: New file.
26209
e9e79dd9
FF
262102001-12-10 Fred Fish <fnf@redhat.com>
26211
26212 * gdb.base/maint.exp: Update to match changes in type dumping code.
26213
347dc97d
JB
262142001-12-10 Jim Blandy <jimb@redhat.com>
26215
26216 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
26217 matching the entry point symbol's name at the beginning of the
26218 line.
347dc97d 26219
5178b9d6
DJ
262202001-12-07 Daniel Jacobowitz <drow@mvista.com>
26221
26222 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
26223 gdb.c++/inherit.exp, gdb.c++/method.exp,
26224 gdb.c++/namespace.exp, gdb.c++/templates.exp,
26225 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
26226 and class layout support.
26227
af890c52
DJ
262282001-12-07 Daniel Jacobowitz <drow@mvista.com>
26229
26230 * gdb.c++/classes.exp: Add test for static member function.
26231 * gdb.c++/misc.cc: Add class with static member function.
26232
7a345fb3
JB
262332001-12-07 Jim Blandy <jimb@redhat.com>
26234
f2e54a80 26235 If GDB says it can't find the struct the function returned, report
8032bf31
JB
26236 those tests as `unsupported'.
26237 * gdb.base/call-rt-st.exp (print_struct_call): New function.
26238 Rewrite subsequent tests to use it.
26239
26240 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
26241 those tests as `unsupported'.
26242 * gdb.base/structs.exp (call_struct_func): New function.
26243 (do_function_calls): Use call_struct_func to call the functions
26244 returning structs.
26245
0bc69509
JB
26246 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
26247 whether functions are prototyped or not, so we can't possibly pass
26248 arguments to t_float_values2 properly.
26249
7a345fb3
JB
26250 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
26251 value of `timeout' for targets other than the mips*tx39-*.
26252
edb6ede1
MS
262532001-12-06 Michael Snyder <msnyder@redhat.com>
26254
d63a86f8 26255 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
26256 and detect whether the start symbol has a leading underscore.
26257
2d842f13
JB
262582001-12-04 Jim Blandy <jimb@redhat.com>
26259
26260 * gdb.base/completion.exp: Clarify indentation.
26261
68550daf
JB
262622001-12-03 Jim Blandy <jimb@redhat.com>
26263
26264 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
26265 variables on the S/390, not `.word'.
26266
cd5195a8
JB
262672001-11-30 Jim Blandy <jimb@redhat.com>
26268
26269 Add assembly-source tests for s390-ibm-linux.
26270 * gdb.asm/s390.inc: New file.
26271 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
26272 the S/390 architecture.
a9c64011 26273 * gdb.asm/configure: Regenerated.
cd5195a8 26274
ca9efc90
MS
262752001-11-30 Michael Snyder <msnyder@redhat.com>
26276
26277 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
26278 next, info source, info sources, info line, global and static
26279 variables, and static functions.
26280 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
26281 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
26282 * gdb.asm/asmsrc1.s: Add a static function and some variables.
26283 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
26284 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
26285 (gdbasm_leave): Restore frame pointer.
26286 (gdbasm_startup): Copy stack set-up from crt0.S.
26287
d0e66976
FN
262882001-11-26 Fernando Nasser <fnasser@redhat.com>
26289
26290 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
26291 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
26292 to a local (non-static) variable. Copy tstruct.a to a static buffer
26293 and return a pointer to that buffer.
26294 * gdb.base/callfwmall.c (t_structs_a): Ditto.
26295
e2334072
MK
262962001-11-24 Mark Kettenis <kettenis@gnu.org>
26297
26298 * gdb.asm/configure.in: Fix recognition of ix86 target.
26299 * gdb.asm/configure: Regenerate.
26300
756caa3d
MS
263012001-11-21 Michael Snyder <msnyder@redhat.com>
26302
26303 * gdb.asm/sparc.inc: New file.
26304 * gdb.asm/asm-source.exp: Recognize sparc target.
26305 * gdb.asm/configure.in: Recognize sparc target.
26306 * gdb.asm/configure: Regenerate.
d63a86f8 26307
9a4d72d5
MS
263082001-11-21 Michael Snyder <msnyder@redhat.com>
26309
26310 * gdb.asm/m32r.inc: New file.
26311 * gdb.asm/asm-source.exp: Recognize m32r target.
26312 * gdb.asm/configure.in: Recognize m32r target.
26313 * gdb.asm/configure: Regenerate.
26314
a773d1cd
MS
263152001-11-20 Michael Snyder <msnyder@redhat.com>
26316
017ac23d
MS
26317 * gdb.asm/i386.inc: New file.
26318 * gdb.asm/asm-source.exp: Recognize ix86 target.
26319 * gdb.asm/configure.in: Recognize ix86 target.
26320 * gdb.asm/configure: Regenerate.
26321
a773d1cd
MS
26322 * gdb.c++/namespace.exp: Fix quotes in output messages.
26323
bb632afb
MS
263242001-11-14 Michael Snyder <msnyder@redhat.com>
26325
25d559ca 26326 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
26327 qualifier in a type cast expression, to designate an address
26328 in the instruction space (Harvard architecture).
26329
4749e309
MS
263302001-11-13 Michael Snyder <msnyder@redhat.com>
26331
26332 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
26333 Tests for expressions using 'const' and 'volatile'.
26334
25050984
CV
263352001-11-13 Corinna Vinschen <vinschen@redhat.com>
26336
26337 * gdb.asm/asm-sources.exp: Allow defining linker flags.
26338
1902c51f
DJ
263392001-11-12 Daniel Jacobowitz <drow@mvista.com>
26340
26341 * lib/mi-support.exp (mi_run_to_helper): Move comments
26342 outside of gdb_expect.
26343
dcf95b47
DJ
263442001-11-11 Daniel Jacobowitz <drow@mvista.com>
26345
26346 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
26347 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
26348 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
26349 mi0_run_to): New functions.
26350 * gdb.mi/mi-simplerun.exp: Use them.
26351 * gdb.mi/mi0-simplerun.exp: Likewise.
26352 * gdb.mi/mi-var-cmd.exp: Likewise.
26353 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 26354
45b074e1
AC
263552001-11-10 Andrew Cagney <ac131313@redhat.com>
26356
26357 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
26358 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
26359
bf50d346
AC
263602001-11-09 Andrew Cagney <ac131313@redhat.com>
26361
26362 * gdb.base/restore.exp: Include $expected value in restored test
26363 message.
26364
9383332c
AC
263652001-11-09 Andrew Cagney <ac131313@redhat.com>
26366
26367 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
26368 implemented.
26369
db62520a
MS
263702001-11-08 Michael Snyder <msnyder@redhat.com>
26371
26372 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
26373 Add pass/fail message for stop at breakpoint in call dummy function.
26374
b5703437
MS
263752001-11-07 Michael Snyder <msnyder@redhat.com>
26376
d63a86f8
RM
26377 * gdb.c++/templates.exp (test_template_breakpoints):
26378 If we get an overload menu, but it does not match what
760f6330 26379 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
26380 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
26381 making the whitespace optional. Argument for "new" may be
26382 "unsigned" as well as "unsigned int/long".
d63a86f8 26383 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
26384 making the whitespace optional. Also replace "(void) with
26385 "((void|)), making the keyword "void" optional.
d63a86f8 26386 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
26387 making the whitespace optional. Also replace "(void) with
26388 "((void|)), making the keyword "void" optional.
3bf40917
MS
26389 * gdb.base/callfuncs.c (t_float_values): This function must
26390 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 26391 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
26392 can be tested against both cases. Usually one case involves
26393 promotion of float to double, while the other does not.
26394 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
26395 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
26396 includes a stack frame for "start".
26397
c8ab4e6d
JB
263982001-11-05 Jim Blandy <jimb@redhat.com>
26399
26400 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
26401 pointers are 32 bits long, and that offsets of relocs are always
26402 stored in the data (REL-style), and not in the reloc entry itself
26403 (RELA-style).
26404 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
26405 stabs.
26406
3f08ced9
MS
264072001-11-01 Michael Snyder <msnyder@redhat.com>
26408
26409 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
26410 and regular expression operators by using quoting.
26411
cbfa24cd
MS
264122001-10-31 Michael Snyder <msnyder@redhat.com>
26413
26414 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
26415 depending on what the symbol table contains.
26416 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
26417 the output of the ptype command. Similarly, accept both "const &"
26418 and "const&".
26419
aaa68313
CV
264202001-10-31 Corinna Vinschen <vinschen@redhat.com>
26421
26422 * gdb.base/miscexprs.c (main): Add usage of preprocessor
26423 symbol `STORAGE' to allow to choose the storage class of
26424 the local datastructures.
26425 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
26426 compiler directive.
26427
91740388
MS
264282001-10-30 Michael Snyder <msnyder@redhat.com>
26429
26430 * gdb.base/jump.exp: Allow it to run for all targets.
26431
1b7c05e7
CV
264322001-10-29 Corinna Vinschen <vinschen@redhat.com>
26433
26434 * gdb.base/call-ar-st.c (print_double_array): Match for loop
26435 with new double_array size.
26436 (main): Change storage class of all local variables to static.
26437 Reduce size of double_array to 9.
26438 * gdb.base/call-ar-st.exp: Increase timeout value.
26439 Change expected output for double array to match new size in
26440 call-ar-st.c.
26441
36a22261
CV
264422001-10-29 Corinna Vinschen <vinschen@redhat.com>
26443
26444 * gdb.base/ending-run.exp: Create identical output when passing
26445 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 26446 Stormy16 target.
36a22261 26447
92b8ae91
MK
264482001-10-28 Mark Kettenis <kettenis@gnu.org>
26449
26450 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
26451 that we catch the expected failure under Linux/x86.
26452
cb135b83
OF
264532001-10-29 Orjan Friberg <orjanf@axis.com>
26454
26455 * gdb.base/setvar.exp: Escape curly braces.
26456 * gdb.stabs/weird.exp: Ditto.
26457
6884aa54
DJ
264582001-10-27 Daniel Jacobowitz <drow@mvista.com>
26459
26460 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
26461 * gdm.mi/mi0-hack-cli.exp: Likewise.
26462
0398c9aa
AC
264632001-10-25 Andrew Cagney <ac131313@redhat.com>
26464
26465 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
26466 messages.
26467
d20bf2e8
AC
264682001-10-21 Andrew Cagney <ac131313@redhat.com>
26469
26470 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
26471 checking MI enabled.
26472
03dd63aa
CV
264732001-10-09 Corinna Vinschen <vinschen@redhat.com>
26474
26475 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
26476
1d9d99f3
FCE
264772001-10-04 Frank Ch. Eigler <fche@redhat.com>
26478
26479 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
26480 if gdb child process crashes, just signal an error.
26481
838ae6c4
JB
264822001-10-02 Jim Blandy <jimb@redhat.com>
26483
26484 * lib/gdb.exp (test_xfail_format): Simplify.
26485
26486 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
26487 front of the variable name `format'. Simplify `if'.
26488
8f0cbc1c
DJ
264892001-10-01 Daniel Jacobowitz <drow@mvista.com>
26490
26491 * gdb.threads/pthreads.exp: Wait for output and delay
26492 before sending ^C.
26493
1f08dafd
DJ
264942001-10-01 Daniel Jacobowitz <drow@mvista.com>
26495
26496 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
26497 some incorrect output instead of timing out.
26498 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
26499
674f90ff
CV
265002001-09-28 Corinna Vinschen <vinschen@redhat.com>
26501
26502 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
26503 check to allow additional `int'.
26504
9b284272
DJ
265052001-09-27 Daniel Jacobowitz <drow@mvista.com>
26506
26507 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
26508 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
26509
b55a4771
MS
265102001-09-27 Michael Snyder <msnyder@redhat.com>
26511
26512 * lib/gdb.exp (test_debug_format): New proc.
26513 (setup_xfail_format): Use new proc test_debug_format.
26514 * gdb.base/constvars.exp (local_compiler_xfail_check): New
26515 proc; use new service proc test_debug_format.
26516 Replace all other "gcc_compiled" tests with this test.
26517 * gdb.base/volatile.exp (local_compiler_xfail_check): New
26518 proc; use new service proc test_debug_format.
26519 Replace all other "gcc_compiled" tests with this test.
26520
265212001-09-27 Michael Snyder <msnyder@redhat.com>
26522
26523 * gdb.base/cvexpr.exp: New file.
26524 * gdb.base/cvexpr.c: New file
26525 Test for expressions using const and volatile keywords.
26526
4e6667ac
CV
265272001-09-26 Corinna Vinschen <vinschen@redhat.com>
26528
26529 * gdb.base/constvars.exp: Check for different orders of keywords
26530 and additional "int" strings in output.
26531
4f337972
AC
265322001-09-22 Andrew Cagney <ac131313@redhat.com>
26533
26534 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
26535 responses from "help maint".
26536
2015650d
FCE
265372001-09-19 Frank Ch. Eigler <fche@redhat.com>
26538
26539 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
26540 to localhost:NNN instead of :NNN, in case Xvfb is listening
26541 only on TCP.
26542
f3bcedc1
CV
265432001-09-19 Corinna Vinschen <vinschen@redhat.com>
26544
26545 * gdb.base/recurse.exp: When checking leaving the watchpoint
26546 scope, recognize when gdb is in function's epilogue and pass.
26547
6b819c92
KS
265482001-09-18 Keith Seitz <keiths@redhat.com>
26549
26550 * lib/insight-support.exp (_gdbtk_export_target_info): Add
26551 support for running tests against sid targets.
26552 (gdbtk_done): Ditto.
26553
a10c9419
CV
265542001-09-18 Corinna Vinschen <vinschen@redhat.com>
26555
26556 * gdb.base/ending-run.c (main): Set stdout buffersize
26557 to the same reasonable value for any target.
26558 * gdb.base/ending-run.exp: Add a regular expression
26559 to make testsuite happy on Sanyo Stormy16 target.
26560
739d0d99
CV
265612001-09-17 Corinna Vinschen <vinschen@redhat.com>
26562
26563 * gdb.base/display.c (do_loops): Add float variable `f'.
26564 Increment f in loop.
26565 * gdb.base/display.exp: Increment timeout by 60 seconds.
26566 Change float display test to use variable `f'.
26567
1b8947f0
JB
265682001-09-17 Jim Blandy <jimb@redhat.com>
26569
26570 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
26571 overflowing the limited breakpoint tables on some ROM monitors
26572 (like the ROM68K).
26573
9890ac81
FCE
265742001-09-15 Frank Ch. Eigler <fche@redhat.com>
26575
26576 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
26577 the "-ac" (disable access control) flag.
26578
6db765ea
JH
265792001-08-30 Jeff Holcomb <jeffh@redhat.com>
26580
26581 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
26582 ints.
26583
4c32cc04
KS
265842001-08-30 Keith Seitz <keiths@redhat.com>
26585
26586 * lib/gdb.exp: Move all insight-related functionality into
26587 separate file.
26588 * lib/insight-support.exp: New file.
26589
8d6e6f81
FCE
265902001-08-29 Frank Ch. Eigler <fche@redhat.com>
26591
26592 * config/sid.exp (sid_start): Never set sid verbosity; disable
26593 expect_background {} that consumed its stdout; tolerate </dev/null.
26594 Attempt to set endianness override in "sid" protocol mode. Cleanup.
26595
6a90e1d0
AC
265962001-08-18 Andrew Cagney <ac131313@redhat.com>
26597
26598 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
26599 CLI jump command to start it.
26600 (mi_run_to_main): Fail immediatly when unexpected output.
26601
1759b3c3
AC
266022001-08-18 Andrew Cagney <ac131313@redhat.com>
26603
26604 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
26605 beginning of function. Fix PR gdb/191.
26606
61d11d80
FCE
266072001-08-16 Frank Ch. Eigler <fche@redhat.com>
26608
26609 * config/sid.exp (sid_start): Don't warn if we cannot figure out
26610 what to force sid endianness to.
26611
942a4df2
KS
266122001-08-15 Keith Seitz <keiths@redhat.com>
26613
26614 * lib/gdb.exp (gdbtk_start): Don't set environment
26615 variables for TCL_LIBRARY and friends. Insight will
26616 now figure these out for itself.
26617
0521c418
MS
266182001-08-02 Michael Snyder <msnyder@redhat.com>
26619
26620 * gdb.base/completion.exp: Remove the symbol "a64l" from
26621 the expect string; this is target-specific, and not related
26622 to what is being tested.
26623
74a9a58a
DB
266242001-08-02 Dave Brolley <brolley@redhat.com>
26625
26626 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
26627
c70819fa
MS
266282001-07-25 Michael Snyder <msnyder@redhat.com>
26629
c2b8fa57
MS
26630 * gdb.base/consecutive.exp: New file. Test stepping over
26631 breakpoints on consecutive instructions.
26632 * gdb.base/consecutive.c: New file.
26633
c70819fa
MS
26634 * gdb.base/call-rt-st.exp: Use double-backslash to quote
26635 curly braces in regular expressions.
26636
2b1a1355
MS
266372001-07-25 Michael Snyder <msnyder@redhat.com>
26638
26639 * gdb.base/ending-run.exp: Accept "Program exited normally" as
26640 legitimate output from stepping out of main.
26641
413eca6f
KS
266422001-07-22 Keith Seitz <keiths@redhat.com>
26643
26644 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
26645 the empty string, do not run the tests.
26646
7e5a9322
SC
266472001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26648
26649 * gdb.base/long_long.exp: Detect size of pointer. Take into
26650 account 2-byte pointers when testing for p/a results.
26651
de58f10f
SC
266522001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26653
d63a86f8 26654 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
26655 and defined to 1K for m68hc11.
26656 (random_data): Reduce table to 1K for embedded platforms (68hc11).
26657 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
26658 (sizeof_random_data): New variable to tell the size of the data table;
26659 don't test past this size; always run to main.
26660
d6f5fea1
SC
266612001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26662
26663 * gdb.base/return2.exp: return of long long and double fails for
26664 68HC11; don't execute these tests on that platform.
26665 * gdb.base/return.exp: Return of a double fails for 68hc11.
26666
c477543d
SC
266672001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26668
26669 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
26670 tests that print a float.
26671 * call-rt-st.exp: Likewise.
26672
63cf1c79
MK
266732001-07-12 Mark Kettenis <kettenis@gnu.org>
26674
26675 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
26676 running this test on Linux.
26677
112f9ab5
MC
266782001-06-24 Michael Chastain <chastain@redhat.com>
26679
26680 * gdb.base/arithmet.exp: Remove some tests to make all test names
26681 unique.
26682
4970cb0f
MS
266832001-07-03 Michael Snyder <msnyder@redhat.com>
26684
26685 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
26686 the output of the ptype command.
26687
d85da69f
MS
266882001-07-02 Michael Snyder <msnyder@redhat.com>
26689
4c8a82de
MS
26690 * gdb.base/completion.exp: Don't assume that break.c is the only
26691 source file that may contain functions named "marker".
d85da69f
MS
26692 * gdb.base/corefile.exp: Quote the curly braces in regexp.
26693
8afc772b
AC
266942001-06-28 Andrew Cagney <ac131313@redhat.com>
26695
26696 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
26697 of files to delete.
26698
26699 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
26700 * gdb.disasm/h8300s.exp: New file.
26701 gdb.disasm/h8300s.s: Likewise.
26702
cff22675
AC
267032001-06-27 Andrew Cagney <ac131313@redhat.com>
26704
26705 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
26706 empty breakpoint tables.
26707
68c81b54
AC
267082001-06-25 Andrew Cagney <ac131313@redhat.com>
26709
26710 * lib/mi-support.exp: Update args=... part of stop-reason
26711 patterns. Accept either a list or a tuple.
26712
2dd62704
AC
267132001-06-23 Andrew Cagney <ac131313@redhat.com>
26714
26715 * lib/mi-support.exp: Remove local emacs variable defining
26716 change-log-default-name.
26717
b4127474
MC
267182001-06-22 Michael Chastain <chastain@redhat.com>
26719
26720 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
26721 This is operationally compatible with the previous version.
26722
8dbfb380
JB
267232001-06-13 Jim Blandy <jimb@redhat.com>
26724
26725 * lib/gdb.exp (gdb_test): Doc fix.
26726
f2d8c86d
MC
267272001-06-10 Michael Chastain <chastain@redhat.com>
26728
26729 * gdb.base/exprs.exp: Remove a duplicate test.
26730
81564d34
JB
267312001-06-06 Jim Blandy <jimb@redhat.com>
26732
26733 * gdb.base/return2.exp (main): Use values to test float and double
26734 returns that are not NaN's, to avoid being confused by IEEE
26735 comparison rules.
26736
da55addb
MS
267372001-06-04 Michael Snyder <msnyder@redhat.com>
26738
26739 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 26740 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
26741 rather than wait for 12 more tests to time out.
26742
42c65987
JB
267432001-06-06 Jim Blandy <jimb@redhat.com>
26744
b18bced9 26745 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 26746 Don't forget to match the GDB prompt.
b18bced9 26747
42c65987
JB
26748 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
26749
5b41e5f0
JB
267502001-06-04 Jim Blandy <jimb@redhat.com>
26751
26752 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
26753 command.
26754
015e046f
KB
267552001-05-31 Kevin Buettner <kevinb@redhat.com>
26756
26757 * gdb.base/annota1.exp (info break): Match four or more spaces
26758 after "Address".
26759
fb1ffbbe
MC
267602001-05-31 Michael Chastain <chastain@redhat.com>
26761
26762 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
26763 (dm_type_int_star): Likewise.
26764 (dm_type_long_star): Likewise.
26765 (dm_type_void_star): Likewise.
26766
5ea2a32c
KB
267672001-05-29 Kevin Buettner <kevinb@redhat.com>
26768
26769 * gdb.base/completion.exp (INPUTRC): Set this environment variable
26770 to a known value in order to get consistent results regardless
26771 of the setting of INPUTRC or the presence or contents of .inputrc.
26772
ae23c492
MS
267732001-05-24 Michael Snyder <msnyder@redhat.com>
26774
ac55707e
MS
26775 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
26776 Don't require that the main thread and the manager thread are the
26777 first in the list.
26778
ae23c492
MS
26779 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
26780 debugging. If test fails, issue an "unsupported" not a "fail".
26781
400071f1
JB
267822001-05-24 Jim Blandy <jimb@redhat.com>
26783
26784 Don't assume that short is shorter than int.
26785 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
26786 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 26787 this isn't true.
400071f1
JB
26788 ("print unsigned char == (~0)"): Add test that verifies that ~0,
26789 an int, is not equal to ~0 stored in an unsigned char. This tests
26790 the same thing that the previous test meant to, but works on
26791 16-bit machines, too.
26792 ("print unsigned char != (~0)"): Same test, complemented.
26793
0816a3e5
MS
267942001-05-24 Michael Snyder <msnyder@redhat.com>
26795
26796 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 26797 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
26798 and prevents dejagnu getting out of step.
26799
f6dc23a9
KB
268002001-05-23 Kevin Buettner <kevinb@redhat.com>
26801
26802 * gdb.base/finish.exp (finish_void): Revise pattern for
26803 stopping on the call statement to not permit stopping at
26804 the start of the instructions comprising the call sequence.
26805
7dbd117d
MC
268062001-05-19 Michael Chastain <chastain@redhat.com>
26807
26808 * gdb.base/callfuncs.exp: Make all test names unique.
26809 * gdb.base/commands.exp: Make all test names unique.
26810 * gdb.base/condbreak.exp: Make all test names unique.
26811 * gdb.base/dbx.exp: Make all test names unique.
26812 * gdb.base/default.exp: Make all test names unique.
26813 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
26814 and TIMEOUT messages to their corresponding PASS message.
26815 * gdb.base/ending-run.exp: Make all test names unique.
26816 * gdb.base/long_long.exp: Remove duplicate test.
26817
6b0b0a9e
KB
268182001-05-21 Kevin Buettner <kevinb@redhat.com>
26819
26820 * gdb.base/finish.exp (finish_void): Allow "finish" command to
26821 stop on the call statement as well as the statement after the
26822 call.
26823
2caa35cb
MS
268242001-05-21 Michael Snyder <msnyder@redhat.com>
26825
26826 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
26827
40713331
EZ
268282001-05-10 Elena Zannoni <ezannoni@redhat.com>
26829
a9c64011
AS
26830 * gdb.base/completion.exp: Revamp test. Make it execute on all
26831 platforms.
40713331 26832
c2c1be8d
EZ
268332001-05-10 Elena Zannoni <ezannoni@redhat.com>
26834
a9c64011
AS
26835 * config/gdbserver.exp (gdb_load): Handle the case
26836 in which the arguments to gdbserver are given in the
26837 baseboard configuration file.
26838 Also handle the case in which the server needs to do a
26839 load.
2c9cd303 26840
9671de48
KS
268412001-05-07 Keith Seitz <keiths@cygnus.com>
26842
a9c64011
AS
26843 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
26844 set up the display for testing.
26845 (gdbtk_start): Convert all paths to paths that tcl will like.
26846 Export target information to environment.
26847 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
26848 necessary.
26849 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
26850 (to_tcl_path): New proc to convert a given pathname into
26851 a path acceptible as an argument to a tcl command.
26852 (_gdbtk_export_target_info): New proc to export target info
26853 into the environment for gdbtk testing.
26854 (gdbtk_done): New proc to signal end-of-test.
9671de48 26855
5a360f47
JB
268562001-05-06 Jim Blandy <jimb@redhat.com>
26857
26858 * restore.c: Make the code of caller0 correspond to its comment.
26859
66c756c6
MS
268602001-05-03 Michael Snyder <msnyder@redhat.com>
26861
26862 * config/sid.exp (gdb_target_sid): Check for error messages.
26863 On error or timeout, don't make expect exit (which will terminate
26864 all subsequent tests); instead just make gdb exit.
d63a86f8 26865 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
26866 return a negative value.
26867
a966fde5
JB
268682001-04-24 Jim Blandy <jimb@redhat.com>
26869
851c18e0
JB
26870 * gdb.c++/templates.exp: If we see the prompt for the overload
26871 list, but we haven't recognized any of the longer patterns,
26872 arrange for this test to fail, not hang.
26873
a966fde5
JB
26874 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
26875 variations.
26876
db144853
MC
268772001-04-22 Michael Chastain <chastain@redhat.com>
26878
26879 * gdb.c++/local.exp: Use the 'runto' library function.
26880 * gdb.c++/namespace.exp: Likewise.
26881 * gdb.c++/overload.exp: Likewise.
26882
3207ec21
KB
268832001-03-26 Kevin Buettner <kevinb@redhat.com>
26884
26885 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
26886 * gdb.base/step-line.exp: New file. Test step/next in presence of
26887 #line directives.
26888 * gdb.base/step-line.c: New file. Test program for the above.
26889 * gdb.base/step-line.inp: New file. We pretend that this file has
26890 been transformed by some other tool into step-line.c.
26891
13b57657
JB
268922001-03-21 Jim Blandy <jimb@redhat.com>
26893
26894 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
26895 unmangled operator names.
26896
754cbe1c
JB
268972001-03-20 Jim Blandy <jimb@redhat.com>
26898
26899 * gdb.threads/linux-dp.exp: Recognize an additional message
26900 generated by GDB when it doesn't understand how to debug threads
26901 on the target system.
26902
177495c9
AC
269032001-03-19 Andrew Cagney <ac131313@redhat.com>
26904
26905 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
26906
f266096b
MC
269072001-03-12 Michael Chastain <chastain@redhat.com>
26908
26909 * gdb.c++/derivation.exp: Use the 'runto' library function.
26910
cac3c2ff
MC
269112001-03-12 Michael Chastain <chastain@redhat.com>
26912
26913 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
26914
b6c11a24
MC
269152001-02-24 Michael Chastain <chastain@redhat.com>
26916
26917 * gdb.c++/ref-types.exp: Change handwritten code to library
26918 function 'runto'.
26919
6bae5bce
OF
269202001-03-16 Orjan Friberg <orjanf@axis.com>
26921
26922 * gdb.base/signals.exp: Set count to 0 explicitly.
26923
0015fd9a
MS
269242001-03-15 Mark Salter <msalter@redhat.com>
26925
26926 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
26927 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
26928 (gdb_load): Add support for additional target_info: gdb_download_size
26929 and gdb_load_timeout.
0015fd9a 26930
fc33412a
DT
26931Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
26932
26933 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
26934 file -- to prevent failing when the compile fails but we have no
26935 intention of running the tests anyway.
fc33412a
DT
26936
26937 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
26938 tests if set.
26939
26940 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 26941 integers.
fc33412a
DT
26942
26943 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
26944 * gdb.c++/namespace.exp: Ditto.
26945
115f06de
OF
269462001-03-07 Orjan Friberg <orjanf@axis.com>
26947
26948 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
26949 * gdb.base/pointers.exp: Relax pattern match of decimals.
26950
b6ba6518
KB
269512001-03-06 Kevin Buettner <kevinb@redhat.com>
26952
26953 * Makefile.in, config/abug.exp, config/cfdbug.exp,
26954 config/cpu32bug.exp, config/dve.exp, config/est.exp,
26955 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
26956 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
26957 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
26958 config/sh.exp, config/sid.exp, config/slite.exp,
26959 config/sparclet.exp, config/udi.exp, config/unknown.exp,
26960 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
26961 config/vxworks.exp, config/vxworks29k.exp,
26962 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
26963 gdb.base/all-bin.exp, gdb.base/annota1.exp,
26964 gdb.base/arithmet.exp, gdb.base/assign.exp,
26965 gdb.base/async.exp, gdb.base/attach.exp,
26966 gdb.base/bitfields.exp, gdb.base/bitops.exp,
26967 gdb.base/break.exp, gdb.base/call-ar-st.exp,
26968 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
26969 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
26970 gdb.base/commands.exp, gdb.base/completion.exp,
26971 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
26972 gdb.base/constvars.exp, gdb.base/corefile.exp,
26973 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
26974 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
26975 gdb.base/ending-run.exp, gdb.base/environ.exp,
26976 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
26977 gdb.base/finish.exp, gdb.base/foll-exec.exp,
26978 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
26979 gdb.base/funcargs.exp, gdb.base/help.exp,
26980 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
26981 gdb.base/logical.exp, gdb.base/long_long.exp,
26982 gdb.base/maint.exp, gdb.base/mips_pro.exp,
26983 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
26984 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
26985 gdb.base/pointers.exp, gdb.base/printcmds.exp,
26986 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
26987 gdb.base/regs.exp, gdb.base/relational.exp,
26988 gdb.base/remote.exp, gdb.base/reread.exp,
26989 gdb.base/restore.exp, gdb.base/return2.exp,
26990 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
26991 gdb.base/selftest.exp, gdb.base/setshow.exp,
26992 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
26993 gdb.base/sigall.exp, gdb.base/signals.exp,
26994 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
26995 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
26996 gdb.base/step-test.exp, gdb.base/structs.c,
26997 gdb.base/structs.exp, gdb.base/structs2.exp,
26998 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
26999 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
27000 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
27001 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
27002 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
27003 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
27004 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
27005 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
27006 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
27007 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
27008 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
27009 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
27010 gdb.fortran/types.exp, gdb.java/jmisc.exp,
27011 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
27012 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
27013 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
27014 gdb.trace/circ.exp, gdb.trace/collection.exp,
27015 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
27016 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
27017 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
27018 gdb.trace/report.exp, gdb.trace/save-trace.exp,
27019 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
27020 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
27021 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
27022 notices.
27023
dc96c6c7 270242001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
27025
27026 * gdb.base/varargs.c (find_max_double): Fix printf format string:
27027 first arg is int not float.
27028
dc96c6c7 270292001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
27030
27031 * gdb.base/reread.exp: Unsupported for non-native targets;
27032 doesn't work for remote debugging.
27033
9b0c4aeb
FN
270342001-02-19 Fernando Nasser <fnasser@redhat.com>
27035
27036 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
27037 * gdb.base/ending-run.exp: Properly handle the BSP state when
27038 stepping past the end of main.
9b0c4aeb 27039
02aa71d5
MC
270402001-02-19 John Moore <jmoore@redhat.com>
27041
27042 * gdb.base/commands.exp (infrun_breakpoint_command_test):
27043 Converted HPUX fix for non-expected items following multiple
27044 step commands into general solution for all platforms.
27045
1fa449a4
MC
270462001-02-18 Michael Chastain <chastain@redhat.com>
27047
27048 * gdb.c++/classes.exp (do_tests): Change runto statements
27049 from "runto 'foo(void)'" to "runto 'foo'". This makes the
27050 statements demangler agnostic.
27051 * gdb.c++/virtfunc.exp (do_tests): Likewise.
27052 (gdb_virtfunc_restart): Likewise.
27053
b2f9ec70
MC
270542001-02-14 Michael Chastain <chastain@redhat.com>
27055
27056 * gdb.c++/inherit.exp (do_tests): Change runto statements
27057 from "runto 'foo(void)'" to "runto 'foo'". This makes the
27058 statements demangler agnostic.
27059
cf74b8ca
AC
27060Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
27061
27062 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
27063 ``continue to bkpt at common_routine in thread 2'' and ``stopped
27064 before calling common_routine 15 times'' tests.
cf74b8ca 27065
99f78f56
MC
270662001-02-11 Michael Chastain <chastain@redhat.com>
27067
27068 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
27069 Helps the test script figure out which demangler is in use.
27070 (dm_type_foo_ref): Ditto.
27071 (dm_type_int_star): Ditto.
27072 (dm_type_long_star): Ditto.
27073 (dm_type_unsigned_int): Ditto.
27074 (dm_type_void): Ditto.
27075 (dm_type_void_star): Ditto.
99707966 27076 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
27077 Probe the gdb demangler and set variables to accommodate
27078 formatting differences.
27079 (info_func_regexp): New function. Same as info_func, but
27080 matches against a regexp.
27081 (info_func): Match against a literal string.
27082 (print_addr_2): New function. Match against a literal string,
27083 which can be different from the input to gdb.
27084 (print_addr): Simply call print_addr_2 with the same argument twice.
27085 (test_lookup_operator_functions): Use demangler formatting variables.
27086 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
27087 the tests in the same order as the C++ class declaration.
27088 (test_paddr_operator_functions): Ditto.
27089 (test_paddr_overloaded_functions): Ditto.
27090 (test_paddr_hairy_functions): Use demangler formatting variables.
27091 Add reference to gdb/19 for related tests.
27092 (do_tests): Call probe_demangler.
27093
1de8f023
KB
270942001-01-30 Kevin Buettner <kevinb@redhat.com>
27095
27096 * gdb.c++/templates.cc (printf): Remove unused function definition.
27097
ca3f91ed
MS
270982001-01-26 Felix Lee <flee@redhat.com>
27099
27100 * sid.exp (sid_exit): Pass host, not target, to remote_close.
27101
271022001-01-25 matthew green <mrg@redhat.com>
27103
27104 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
27105 up sid.
27106 (sid_exit): Call `remote_pop_conn' after GDB is gone.
27107
271082001-01-25 matthew green <mrg@redhat.com>
27109
27110 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 27111 Deprecate $sid_spawn_id.
ca3f91ed
MS
27112 (sid_exit): Remove code necessary only for `spawn.'
27113
271142001-01-25 matthew green <mrg@redhat.com>
27115
27116 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
27117
fb18ec4a
MC
271182001-01-28 Michael Chastain <chastain@redhat.com>
27119
27120 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
27121 to call when tests fail. It takes gdb out of the overloaded
27122 function choice menu back to the main prompt, so that the test
27123 program stays synchronized.
27124 (set_bp_overloaded): New proc to collect all the common
27125 code for setting a breakpoint on an overloaded name. Calls
27126 take_gdb_out_of_choice_menu when needed.
27127 (menu_overload1arg): New variable to collect the repeated
27128 instances of the expected menu for an overloaded name. Change
27129 the regular expression to handle changes in g++ type encoding:
27130 "void" can be either "void" or "", and "unsigned int" can be
27131 either "unsigned int" or "unsigned".
27132 (continue_to_bp_overloaded): Change regular expressions to handle
27133 changes in g++ type encoding.
27134 (no proc): Call take_gdb_out_of_choice_menu when needed.
27135 Remove redundant calls to "info break". Accept either "canceled"
27136 or "cancelled". Change regular expressions in "info break"
27137 calls to handle changes in g++ type encoding. Give all tests
27138 unique strings.
27139
9c646a6e
BE
271402001-01-17 Ben Elliston <bje@redhat.com>
27141
27142 * config/sid.exp: New file.
27143
9549d9c1
AC
27144Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
27145
27146 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
27147
dc96c6c7 271482000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
27149
27150 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
27151 Add a RE to accept a non-ascii char if one is ever presented.
27152
b4df4f68
FN
271532000-12-20 Fernando Nasser <fnasser@redhat.com>
27154
297dd0fd 27155 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 27156
dc96c6c7 271572000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 27158
d63a86f8 27159 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
27160 in regexp. One '\' does not suffice on Linux.
27161
4a7bddb6
MC
271622000-12-09 Michael Chastain <chastain@redhat.com>
27163
27164 * gdb.base/break.exp (test_clear_command): Use a marker function
27165 rather than 'main' for the test function. Also move this
27166 test to an execution point where the marker function names are
27167 guaranteed to be bound to functions. (Executing tests after a
27168 'finish' from main runs into name conflicts with local names
27169 in __libc_start_main).
27170
dc96c6c7 271712000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
27172
27173 * gdb.base/finish.exp: New test for gdb's "finish" command.
27174 * gdb.base/return2.exp: New test for gdb's "return" command.
27175 * gdb.base/return2.c: New source file for above.
27176
dc96c6c7 271772000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
27178
27179 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
27180 * gdb.base/miscexprs.exp: Ditto.
27181 * gdb.base/pointers.exp: Ditto.
27182 * gdb.c++/derivation.exp: Ditto.
27183 * gdb.c++/local.exp: Ditto.
27184 * gdb.c++/namespace.exp: Ditto.
27185 * gdb.c++/overload.exp: Ditto.
27186 * gdb.c++/ref-types.exp: Ditto.
27187
dc96c6c7 271882000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
27189
27190 * gdb.base/constvars.exp: Test result of "up" command.
27191 * gdb.base/miscexprs.exp: Ditto.
27192 * gdb.base/pointers.exp: Ditto.
27193 * gdb.base/scope.exp: Ditto.
27194 * gdb.c++/derivation.exp: Ditto.
27195 * gdb.c++/local.exp: Ditto.
27196 * gdb.c++/namespace.exp: Ditto.
27197 * gdb.c++/overload.exp: Ditto.
27198 * gdb.c++/ref-types.exp: Ditto.
27199
44097287
FN
272002000-11-22 Michael Chastain <chastain@redhat.com>
27201
27202 * mips_pro.exp: Accept either "middle -> top -> main" or
27203 "middle -> main" in the backtrace, because gcc can optimize
27204 tail calls to jumps. Remove setup_xfail for the hppa case.
27205 Add a comment with the original warning messages from PR 3016,
27206 which was filed in 1993, to preserve them for posterity.
27207
9d2e1bab
ND
272082000-11-17 Nick Duffek <nsd@redhat.com>
27209
27210 * lib/gdb.exp (gdb_test): Override timeout with board info.
27211
1aca8eb7
ND
272122000-11-17 Nick Duffek <nsd@redhat.com>
27213
27214 * gdb.base/display.exp: Don't kill running stub. Add "again" to
27215 the second kill and detach messages.
27216
93076499
ND
272172000-11-17 Nick Duffek <nsd@redhat.com>
27218
27219 * configure.in: Add AC_EXEEXT.
27220 * configure: Regenerate.
27221 * Makefile.in (just-check): Export EXEEXT.
27222 * lib/gdb.exp ($EXEEXT): Import from environment.
27223 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
27224 expect "maint dump-me" on Cygwin.
27225 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
27226 $EXEEXT.
27227
30e87cd3
ND
272282000-11-17 Nick Duffek <nsd@redhat.com>
27229
27230 * gdb.base/break.exp: Test backtrace and finish from called
27231 function on all platforms, not just HP-UX.
27232
dc96c6c7 272332000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
27234
27235 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
27236 code from gdb_target_monitor, so it can be used independantly
27237 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 27238
dc96c6c7 272392000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
27240
27241 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
27242 * gdb.base/corefile.exp: Expect the message "Program is being
27243 debugged already" when we send the "corefile" command, since
27244 the preceeding gdb_load may have connected gdb to a remote target.
27245 * gdb.base/display.exp: Disable hardware watchpoints if new
27246 board info variable "no_hardware_watchpoints" is true.
27247 Replace single-letter commands with more readable ones.
27248 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
27249 if new board info variable "no_hardware_watchpoints" is true.
27250 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
27251 to see if stdio (printf) testing is possible.
27252 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
27253 board info variable "no_hardware_watchpoints" is true. Use new
27254 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
27255
39124dea
FN
272562000-11-13 Fernando Nasser <fnasser@redhat.com>
27257
27258 From Orjan Friberg <orjanf@axis.com>:
27259 * gdb.base/printcmds.exp: Escape curly braces followed by a number
27260 in array print pattern match.
27261
a9e2e984
FN
272622000-11-09 Fernando Nasser <fnasser@redhat.com>
27263
27264 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
27265 spelling "cancelled" to U.S. spelling "canceled" to match changes
27266 made to gdb.
27267 * gdb.c++/ovldbreak.exp: Ditto.
27268
c7db355b
PS
272692000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27270
27271 * gdb.base/callfuncs.c (main): Moved to end of file, call
27272 t_double_values to initialize the FPU before inferior calls are made.
27273 * gdb.base/callfuncs.exp: Test for register preservation after calling
27274 inferior functions. Add tests for continuining, finishing and
27275 returning from a stop in a call dummy.
27276
dc96c6c7 272772000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
27278
27279 * gdb.base/commands.exp: Break up long lines, and re-indent.
27280
dc96c6c7 272812000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
27282
27283 * config/gdbserver.exp: Rewritten from the ground up, to make it
27284 compatible with the current dejagnu tree, and to make it work with
27285 the new "gdbserver" in libremote.
27286
dc96c6c7 272872000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
27288
27289 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
27290 * gdb.base/varargs.exp: Skip entire test if no printf support.
27291 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
27292 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
27293
dc96c6c7 272942000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
27295
27296 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
27297 no floating point support.
27298 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
27299 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
27300 * gdb.base/call-rt-st.exp: Ditto.
27301 * gdb.base/call-strs.exp: Ditto.
27302
bac5fc66
JG
273032000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
27304
27305 * gdb.base/sizeof.c: include <stdio.h>.
27306
27307 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
27308 'finish', otherwise uncaptured gdb_prompt would potentially
27309 throw remaining test points out of sync.
bac5fc66 27310
b22a6027
SB
273112000-07-26 Scott Bambrough <scottb@netwinder.org>
27312
27313 * gdb.base/recurse.exp: Run tests for all targets.
27314 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
27315 gnu-oldld case on ARM.
27316 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
27317 for ARM targets.
d63a86f8 27318
d8231941
AG
27319Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
27320
27321 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
27322 * gdb.java/configure: Rebuild.
27323
8caabe69
AG
27324Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
27325
27326 * gdb.java/jv-exp.exp: New file.
27327
9d273ca3
AG
27328Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
27329
27330 * configure: Rebuilt.
27331 * configure.in (configdirs): Add gdb.java.
27332 * gdb.java/jmisc.java: New file.
27333 * gdb.java/jmisc.exp: New file.
27334 * gdb.java/Makefile.in: New file.
27335 * gdb.java/configure: Rebuilt.
27336 * gdb.java/configure.in: New file.
27337 * lib/java.exp: New file.
27338
4f823a66
AC
27339Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
27340
27341 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 27342 underflow.
4f823a66 27343
2391e11d
AC
27344Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
27345
27346 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 27347 and the compilers sizes.
2391e11d 27348
54602222
ND
273492000-07-09 Nick Duffek <nsd@redhat.com>
27350
27351 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
27352 (use_methods): New function.
27353 (main): Call use_methods().
27354 * gdb.c++/classes.exp (test_method_param_class): New procedure.
27355 (do_tests): Call test_method_param_class.
27356
2bec0572
ND
273572000-07-09 Nick Duffek <nsd@redhat.com>
27358
27359 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
27360 spelling.
27361 (test_enums): New procedure. Move enum tests from end of script
27362 to here. Set breakpoint on function name instead of line number.
27363 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
27364 (enums2): New marker function.
27365 (enums1): New function.
27366 (main): Call enums1(). Move enum tests to enums1().
27367
78492fde
AC
27368Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
27369
27370 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 27371 compile/link program. Update line numbers.
78492fde
AC
27372 * gdb.asm/d10v.inc: Define ``startup''.
27373 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 27374
49a2cef8
AC
27375Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
27376
27377 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
27378
3e6c8688
EZ
273792000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27380
27381 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 27382 of 'help maint print' command.
3e6c8688 27383
9ff5cbe9
AC
27384Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
27385
27386 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 27387 they use gdb_expect_list.
9ff5cbe9 27388
17c579bd
AC
27389Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
27390
27391 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
27392 memory-read-packet-size'' instead of ``set endian big'' to test
27393 long commands.
17c579bd 27394
e6d71bf3
DB
273952000-06-03 Daniel Berlin <dan@cgsoftware.com>
27396
27397 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 27398 g++, and stop skipping them.
e6d71bf3
DB
27399
27400 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
27401 work under g++.
27402
d63a86f8 27403 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
27404 initialization.
27405
dc96c6c7 274062000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
27407
27408 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
27409 the regular expression: accept an (almost) arbitrary sequence of
27410 "frames-invalid" and "breakpoints-invalid" messages both before
27411 and after the "starting" message.
27412
dc96c6c7 274132000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
27414
27415 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 27416
dc96c6c7 274172000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
27418
27419 * gdb.base/annota1.exp (annotate-signal-handler-caller):
27420 Relax the regular expression a little, make it pass on Solaris 8.
27421
8216cda9
KB
274222000-05-12 Kevin Buettner <kevinb@redhat.com>
27423
27424 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 27425 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
27426 Instead, it is permissible for gdb to stop on the line of the
27427 call itself.
27428
1a570b2f
MS
274292000-05-12 Michael Snyder <msnyder@.cygnus.com>
27430
27431 * gdb.base/break.exp (bp on small function, optimized file):
27432 Add a second pass pattern. The behavior differs here between stabs
27433 and dwarf for one-line functions. Stabs preserves two line symbols
27434 (one before the prologue and one after) with the same line number,
27435 but dwarf regards these as duplicates and discards one of them.
27436 Therefore the address after the prologue (where the breakpoint is)
27437 has no exactly matching line symbol, and GDB reports the breakpoint
27438 as if it were in the middle of a line rather than at the beginning.
27439
dc96c6c7 274402000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 27441
d63a86f8 27442 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
27443 rather than "send_gdb" (for consistancy).
27444
7d418785
AC
27445Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
27446
27447 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
27448 * gdb.c++/templates.cc: Properly check for GCC version number.
27449 * lib/compiler.cc: Likewise
27450
dc96c6c7 274512000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 27452
d63a86f8 27453 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
27454 gdb may not stop at the first line of main, due to code motion.
27455
dc96c6c7 274562000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
27457
27458 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
27459 This test depends on parsing the printf output from the target.
27460 Since the sparclet stub doesn't do stdio, this will never work.
27461 * gdb.base/call-rt-st.exp: ditto.
27462 * gdb.base/call-strs: ditto.
27463
dc96c6c7 274642000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
27465
27466 * gdb.base/miscexprs.exp: make sizeof long array test portable.
27467
27468 * gdb.base/ending-run.exp: After connecting to a remote target,
27469 but before running, the target will appear to be in a random
27470 location. Specify both a file and a line for breakpoints.
27471 Also, the function that calls main may be called 'init'
27472 rather than 'start'.
27473
a5a51225
EZ
274742000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27475
27476 * gdb.base/help.exp: Update output for add-symbol-file command.
27477
7930cc7c
FN
274782000-04-10 Fernando Nasser <fnasser@cygnus.com>
27479
27480 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27481 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
27482
23e37ab1
C
274832000-04-07 J.T. Conklin <jtc@redback.com>
27484
e93c542c
C
27485 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
27486
23e37ab1
C
27487 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
27488
591b8fa3
PDM
27489Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
27490
27491 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 27492 values that can be represented exactly.
591b8fa3
PDM
27493 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
27494 above change, and to not check against the directory part of the source
27495 file name.
27496 (step into print_long_arg_list): Likewise.
27497 (print print_small_structs from print_long_arg_list): Likewise.
27498 (print print_long_arg_list): Likewise.
27499
7a495180
EZ
275002000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27501
30b53638 27502 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 27503
beb998c6
AC
27504Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
27505
27506 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
27507
1c689132
DB
275082000-03-25 Daniel Berlin <dan@cgsoftware.com>
27509
27510 * gdb.base/commands.exp (deprecated_command_test): Add test for
27511 deprecate with no arguments.
27512
c1790a9d
JL
275132000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
27514
27515 * gdb.base/break.exp: Add new test for setting breakpoints on
27516 optimized code so we can test breakpoints work even when function
27517 prologues may be optimized away
27518
003ba290
FN
275192000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
27520
27521 From David Whedon <dwhedon@gordian.com>
a9c64011 27522 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 27523
6837a0a2
DB
275242000-03-22 Daniel Berlin <dan@cgsoftware.com>
27525
27526 * gdb.base/help.exp: Added test for new apropos command.
27527
b9593231
KB
275282000-03-21 Kevin Buettner <kevinb@redhat.com>
27529
27530 * gdb.base/pointers.c (usevar): New function.
27531 (main): Make sure that global variables v_int_pointer2, rptr,
27532 and y are all referenced someplace in the program by calling
27533 usevar() on them. [Some linkers delete symbols which are
27534 never referenced. The space remains, but there's no way to
27535 get a (symbolic) handle on the variable from the debugger.]
27536
751a959b
EZ
275372000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27538
27539 * gdb.base/printcmds.c: Add typedeffed arrays.
27540
27541 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 27542 procedure to test arrays that are typedef'd.
751a959b 27543
73a93a32
JI
275442000-03-13 James Ingham <jingham@leda.cygnus.com>
27545
27546 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 27547 the library directories.
73a93a32 27548
fb40c209
AC
27549Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
27550
27551 * configure.in (configdirs): Add sub directory gdb.mi.
27552 * configure: Re-generate.
27553
27554 * gdb.mi: New directory.
d63a86f8 27555
ee4dd2c9
AC
275562000-02-25 Scott Bambrough <scottb@netwinder.org>
27557
27558 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 27559 a long long value as a double on ARM platforms.
ee4dd2c9 27560
70f0cc22
JB
275612000-02-16 Jim Blandy <jimb@redhat.com>
27562
27563 * gdb.base/break.exp ("breakpoint line number"): Make sure the
27564 default source file is set properly before running this test.
27565
853819b8
EZ
275662000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27567
27568 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 27569 gdbtk/library directory, not in gdbtcl2.
853819b8 27570
dfcd3bfb
JM
275712000-02-04 Jim Blandy <jimb@redhat.com>
27572
27573 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
27574 backslash from regexp pattern.
27575
27576 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
27577 procedure. Use it to run all the "continue to bp overloaded"
27578 tests. Note that this changes the names of the tests slightly.
27579 If the breakpoint hit message includes a hex PC value, because
27580 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
27581 from the real source code, still consider that a pass.
27582
27583 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
27584 XFAIL here if the breakpoint message contains a hex address. Note
27585 similar change on 1999-11-02.
27586
27587 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
27588
27589 * gdb.base/ptype.exp: Establish a default source file before
27590 calling get_debug_format.
27591
275922000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
27593
27594 * gdb.base/watchpoint.exp: Remove duplication of test messages.
27595
8b93c638
JM
275962000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27597
27598 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
27599 of successive stepi commands -- while in the prologue we should see
27600 the function entry bracket.
27601
276022000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27603
27604 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
27605 reach __change_mode() when stepping through the end of main().
27606
c5394b80
JM
276072000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
27608
27609 * gdb.base/default.exp: Fix expected pattern.
27610 * gdb.base/help.exp: Same.
27611
0d06e24b
JM
276122000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27613
27614 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 27615 Don't use xfail's because that affects only the following test.
d63a86f8 27616
0d06e24b 27617 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 27618 solaris or linux.
0d06e24b
JM
27619
27620 * gdb.base/selftest.exp: Update to reflect changes to main.c.
27621
dc96c6c7 276222000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 27623
d63a86f8 27624 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
27625 "A syntax error" rather than "A parse error". Accept both.
27626
276272000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
27628
27629 * gdb.base/default.exp: Remove OS dependent string from "target
27630 remote" test.
27631 * gdb.base/help.exp: Same for "help target remote" test.
27632
c3f6f71d
JM
276332000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27634
27635 From Jim Kingdon <kingdon@redhat.com>:
27636
27637 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
27638 prompt (cleanup rather than necessity, but still might keep output
27639 from spilling to next test).
c3f6f71d
JM
27640
276412000-01-02 Fred Fish <fnf@cygnus.com>
27642
27643 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
27644 AIX, which defines them in <sys/types.h>.
27645
ed9a39eb 276461999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 27647
ed9a39eb 27648 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 27649 float" test.
ed9a39eb
JM
27650
276511999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 27652
ed9a39eb 27653 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
27654
27655 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
27656 outermost frame disallowed".
27657
276581999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
27659
27660 * gdb.base/setvar.exp: New tests for setting the value of a struct
27661 with a constant list.
27662
276631999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27664
27665 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
27666 require the user to type a cast before setting the value of a struct.
27667
de57eccd
JM
276681999-12-06 Jim Blandy <jimb@cygnus.com>
27669
27670 * gdb.base/default.exp: Expect the new 'info float' command on
27671 all i386 platforms.
27672
27673 * gdb.threads/linux-dp.exp: Expand our ability to recognize
27674 LinuxThreads libraries that don't support debugging.
27675
c2d11a7d
JM
27676Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27677
27678 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
27679 Change the buffer type to ``unsigned char'' to simplify size
27680 arithmetic.
c2d11a7d
JM
27681
27682 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
27683 stub only handles 400-1 byte packets. Verify that the download
27684 worked.
c2d11a7d
JM
27685
276861999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
27687
27688 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
27689 tests, using UNRESOLVED for the untested cases. Also, does not wait
27690 for a timeout if the prompt was received before a recognizable pattern.
27691
276921999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
27693
27694 * lib/gdb.exp (gdb_expect_list): Fix spelling.
27695
276961999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27697
27698 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 27699 watchpoints.
c2d11a7d
JM
27700
277011999-11-24 Jason Merrill <jason@casey.cygnus.com>
27702
27703 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
27704
27705 * gdb.c++/local.exp: Be more flexible in recognizing local class
27706 name mangling. Don't allow horribly truncated method names.
27707 * gdb.c++/derivation.exp: Expect protected inheritance.
27708 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
27709 * gdb.c++/virtfunc.exp: Likewise.
27710 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
27711 when printing a nested enum.
27712
277131999-11-22 Jim Blandy <jimb@cygnus.com>
27714
27715 * gdb.base/step-test.exp: Properly await GDB's response to setting
27716 a breakpoint on the call to large_struct_by_value.
27717
27718 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
27719 just because we have debug info for the `start' function.
27720
277211999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
27722
27723 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
27724 "Unknown signal" messages, which indicate (on LinuxThreads) that
27725 GDB doesn't know how to debug threads on this system. This is
27726 better than hanging while philosopher 0 dumps chatter into gdb.log.
27727
277281999-11-18 Tom Tromey <tromey@cygnus.com>
27729
27730 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
27731
277321999-11-18 Fred Fish <fnf@cygnus.com>
27733
27734 * gdb.base/coremaker2.c: Add sample program for generating
27735 cores that is more self contained than coremaker.c. Eventually
27736 I'll add more code to this and tie it into the testsuite.
27737
4ce44c66
JM
277381999-11-12 Stan Shebs <shebs@andros.cygnus.com>
27739
27740 * gdb.base/dollar.exp: Remove, now in gdb.hp.
27741
277421999-11-10 Jimmy Guo <guo@cup.hp.com>
27743
27744 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 27745 from $srcdir/lib/.
4ce44c66 27746 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 27747 and gdb.c++/.
4ce44c66
JM
27748
27749 * gdb.c++/derivation.exp: remove redundant get compiler info code.
27750
d63a86f8 27751 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
27752 'continue with watch' test point.
27753
277541999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
27755
27756 Merged from p2linux-990323-branch:
d63a86f8 27757
4ce44c66
JM
27758 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
27759
11cf8741
JM
27760Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
27761
27762 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 27763 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
27764
27765Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
27766
27767 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 27768 gdb_expect_list.
11cf8741
JM
27769
27770Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
27771
27772 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
27773
277741999-11-03 Mark Salter <msalter@cygnus.com>
27775
27776 * gdb.base/break.exp: Fix "stub continue" pattern.
27777
277781999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
27779
27780 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
27781
277821999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
27783
27784 * gdb.base/display.exp ("finish"): Add timeout clause.
27785
27786 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
27787 plain prompt clause, so this doesn't have to time out in order to
27788 fail.
27789
27790 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 27791 breakpoint hit messages include an address.
11cf8741
JM
27792
27793 * gdb.base/display.exp: Don't forget to escape parens in regular
27794 expressions. Unix regexp notatation sucks.
27795
277961999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27797
27798 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 27799 order for 'signalled' message.
11cf8741 27800
5c44784c
JM
278011999-11-01 Stan Shebs <shebs@andros.cygnus.com>
27802
27803 From Jimmy Guo <guo@cup.hp.com>:
27804 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
27805 * gdb.base/annota1.c: Add code for tests to work with.
27806
278071999-10-26 Frank Ch. Eigler <fche@cygnus.com>
27808
27809 * gdb.base/remote.exp: New test for remote downloading settings.
27810 * gdb.base/remote.c: New file with large .data.
27811
917317f4
JM
278121999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
27813
27814 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
27815 for LinuxThreads support, merged from the Code Fusion branch.
27816
27817Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
27818
27819 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
27820 containing exp_continue into a while within an expect. Don't
27821 attempt a start more than three times. Check return value from
27822 gdb_load.
d63a86f8 27823
2df3850c
JM
27824Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
27825
27826 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 27827 a pass case.
2df3850c 27828
2acceee2
JM
278291999-10-01 Kevin Buettner <kevinb@cygnus.com>
27830
27831 * gdb.base/break.c (main): Added a statement that we can step
27832 off of.
27833 * gdb.base/break.exp: Added tests for setting a breakpoint
27834 at an offset and stepping onto a breakpoint.
27835
278361999-10-01 Fred Fish <fnf@cygnus.com>
27837
d63a86f8 27838 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
27839 gdb output.
27840
c2c6d25f
JM
278411999-09-18 Jim Blandy <jimb@cris.red-bean.com>
27842
27843 * gdb.base/break.exp: Code locations are in hex, don't forget!
27844 (For HP-UX.)
27845
278461999-09-17 Stan Shebs <shebs@andros.cygnus.com>
27847
27848 * condbreak.exp: Use break.c as test program.
27849 * condbreak.c: Remove, redundant with break.c.
27850
278511999-09-15 Stan Shebs <shebs@andros.cygnus.com>
27852
27853 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 27854 Z-packets if the target needs it.
c2c6d25f
JM
27855
278561999-09-13 James Ingham <jingham@leda.cygnus.com>
27857
27858 * gdb.c++/overload.exp: Added tests for listing overloaded
27859 functions with function pointers in the arg, explicitly calling
27860 out the version you want.
27861
cff3e48b
JM
278621999-09-09 Stan Shebs <shebs@andros.cygnus.com>
27863
27864 * long_long.exp: Add variations of test cases that work for
27865 targets with 16-bit ints and 32-bit doubles.
27866
d4f3574e
SS
278671999-09-08 Stan Shebs <shebs@andros.cygnus.com>
27868
27869 * break.c (main): Compare a possibly-uninitialized argc with an
27870 unlikely value that fits in 16 bits.
27871
278721999-09-07 Stan Shebs <shebs@andros.cygnus.com>
27873
27874 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
27875 0xfeeb, don't want negative numbers if ints are 16 bits.
27876
27877 * lib/gdb.exp (skip_cplus_tests): New proc.
27878 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
27879 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
27880 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
27881 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
27882 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
27883 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
27884 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
27885 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
27886
27887 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
27888
27889Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
27890
27891 * gdb.base/corefile.exp (up): Allow a parameter to appear
27892 in the frame that we're going up to.
27893
27894 From Jim Blandy <jimb@cygnus.com>:
27895
27896 * gdb.base/default.exp (info float): Expect some output now.
27897
27898 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
27899 returning floating-point values to fail on the x86.
27900 * gdb.base/callfwmall.exp (do_function_calls): Same.
27901
27902 * gdb.base/list.exp (test_listsize): Correct expectations for
27903 listing line 1 with listsize 2. Also, listing a single line
27904 works now, as does listing three lines. [Kevin's note: There
27905 were a number of other cases fixed too where the expectations
27906 differed...]
27907
279081999-09-02 Stan Shebs <shebs@andros.cygnus.com>
27909
27910 * gdb.base/selftest.exp: Add case for when version prints as
27911 constant string instead of char pointer.
27912
104c1213
JM
279131999-08-25 Stan Shebs <shebs@andros.cygnus.com>
27914
27915 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 27916 stepping out of main.
104c1213
JM
27917
27918 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
27919 G++ used.
27920
27921 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 27922 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
27923
27924 * gdb.c++/ovldbreak.exp: Update match string in test that
27925 includes a warning of multiple breakpoints.
27926
279271999-08-24 Stan Shebs <shebs@andros.cygnus.com>
27928
27929 * gdb.base/display.exp: Improve precision of step-after-finish
27930 added yesterday.
27931
27932 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 27933 test.
104c1213
JM
27934
27935 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
27936 configs when using G++, not just hppa*.
27937
279381999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27939
27940 * gdb.base/async.c: New file.
27941 * gdb.base/async.exp: New file.
27942
27943Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
27944
27945 * gdb.base/break.exp: Tweak PA specific tests to properly handle
27946 PA64.
27947
53a5351d
JM
27948Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
27949
104c1213
JM
27950 * gdb.base/display.exp: "finish" can leave us mid-line on many
27951 targets, deal with it. Add a small constant to main, instead of
27952 1000 since main+1000 may not be a valid address in the target.
27953
53a5351d
JM
27954 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
27955 on hpux11.
27956
27957 * gdb.base/attach.exp: Handle another hpux11 error message variant
27958 when attaching to a process that does not exist.
27959
279601999-08-19 J.T. Conklin <jtc@redback.com>
27961
27962 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 27963 characters in 'continue to 1241' test.
53a5351d
JM
27964
279651999-08-17 Stan Shebs <shebs@andros.cygnus.com>
27966
27967 * gdb.base/call-ar-st.exp: Add a shorter match case for the
27968 stop in print_long_arg_list, define and use a whitespace
27969 variable in print_small_structs test, add an XFAIL for Solaris.
27970 * gdb.base/dbx.exp: XFAIL func commands until somebody is
27971 interested enough to fix.
27972
7be570e7
JM
279731999-08-13 Keith Seitz <keiths@cygnus.com>
27974
27975 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
27976 (dbx_gdb_load): Remove. Use gdb_load instead, since that
27977 proc knows about targets other than the natives.
27978 (test_assign): Use "gdb_run_cmd" to "run" the target.
27979 Check that we've actually hit the breakpoint at main.
27980 When we attempt to assign a value to a local variable, check
27981 that the variable is in the current scope, i.e., don't use
27982 a test with an empty result.
27983
27984Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
27985
27986 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 27987 command.
7be570e7
JM
27988
279891999-08-09 Stan Shebs <shebs@andros.cygnus.com>
27990
27991 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27992 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
27993 gdb.compat, gdb.threads-hp.
27994 gdb.hp/configure, gdb.hp/configure.in: New files.
27995 gdb.hp/Makefile.in: Recurse into new subdirs.
27996 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
27997 gdb.hp/gdb.objdbg: New directory, tests for debugging info
27998 in object files.
27999 gdb.hp/tools: New directory, aux tools for HP-specific tests.
28000
96baa820
JM
280011999-08-05 Stan Shebs <shebs@andros.cygnus.com>
28002
28003 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 28004 funky printf, remove a bogus p/a test.
96baa820
JM
28005
280061999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28007
28008 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
28009 connected to the target. This is necessary when running not
28010 natively.
96baa820
JM
28011
280121999-08-03 Stan Shebs <shebs@andros.cygnus.com>
28013
28014 * gdb.base/step-test.exp: Removed some extraneous messages.
28015
28016 * gdb.base/long_long.exp: Don't run memory examination tests
28017 on little-endian targets (they will need a different set of
28018 results to match).
28019
280201999-08-02 Stan Shebs <shebs@andros.cygnus.com>
28021
28022 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
28023 until somebody decides to fix GDB.
28024
28025 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 28026 constant as "ULL".
96baa820
JM
28027 * gdb.base/long_long.exp: Loosen x/c test, add partial result
28028 matches for a couple x/2 commands.
28029
a0b3c4fd
JM
280301999-07-30 Stan Shebs <shebs@andros.cygnus.com>
28031
28032 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
28033 by merging in ref-types2 tests.
28034 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
28035
28036 From Jimmy Guo <guo@cup.hp.com> and others at HP:
28037 * gdb.c++/Makefile.in: Add standard actions.
28038 (EXECUTABLES): Rename from PROGS, update list.
28039 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
28040 from gdb.hp.
28041 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
28042 foo and bar locals.
28043 * gdb.c++/anon-union.exp: Fix tests to match.
28044 * gdb.c++/classes.exp: Run if HP compiler used, add extra
28045 expect matches to handle output variations.
28046 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
28047 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 28048 output, add HP alternatives for new and delete prints.
a0b3c4fd 28049 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 28050 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
28051 * gdb.c++/demangle.exp: Use $style when reporting failure.
28052 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
28053 * gdb.c++/inherit.exp: Run if HP compiler used, add some
28054 match alternatives.
28055 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 28056 compilers.
a0b3c4fd
JM
28057 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
28058 * gdb.c++/method.exp: Add match alternatives.
28059 * gdb.c++/misc.cc: Add bool types.
28060 * gdb.c++/misc.exp: Add tests for bool types.
28061 * gdb.c++/overload.exp: Add xfails.
28062 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
28063 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
28064 add some more template parameter tests (only for HP currently).
28065 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
28066 * gdb.c++/virtfunc.cc: Add return type and value for main.
28067 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
28068 match alternatives.
d63a86f8 28069
a0b3c4fd
JM
280701999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28071
28072 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
28073
280741999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
28075
28076 * gdb.base/signals.exp: Don't expect getting a backtrace from
28077 within a signal handler to fail on Linux.
28078
280791999-07-29 Stan Shebs <shebs@andros.cygnus.com>
28080
28081 From Jimmy Guo <guo@cup.hp.com> and others at HP:
28082 * lib/gdb.exp: Remove some gratuitious semicolons.
28083 (delete_breakpoints): Increase timeout.
28084 (gdb_expect): Add -notransfer option.
28085 (gdb_test): Use -notransfer option.
28086 (get_compiler_info): Add f77 case.
28087 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 28088 case.
a0b3c4fd
JM
28089 (gdb_preprocess): Call get_compiler.
28090
28091 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
28092 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
28093 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
28094 gdb.base/long_long.exp, gdb.base/printcmds.exp,
28095 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
28096 third arg to gdb_test.
a0b3c4fd
JM
28097 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
28098 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 28099 HP-UX xfails, add others.
a0b3c4fd
JM
28100 * gdb.base/completion.exp: Reflect name change of self-test.
28101 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
28102 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
28103 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
28104 HP failure number.
a0b3c4fd
JM
28105 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
28106 useless HP-UX 10.30 references.
28107 * gdb.base/maint.exp: Loosen matches.
28108 * gdb.base/pointers.c (main): Declare more_code.
28109 * gdb.base/pointers.exp: Match on output of a `next'.
28110 * gdb.base/structs.c: Add prototypes.
28111 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
28112 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
28113
281141999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28115
28116 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 28117 command.
a0b3c4fd
JM
28118
281191999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28120
28121 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
28122 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
28123
28124 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
28125 debug info. Deal with lack of signal hanlder info in stack.
28126
a9c64011 28127 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
28128 * gdb.base/annota1.exp: If printf has debug info, deal with it.
28129
5a2468f5
JM
281301999-07-19 Stan Shebs <shebs@andros.cygnus.com>
28131
28132 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 28133 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 28134
adf40b2e
JM
28135Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
28136
28137 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 28138 a1-selftest.exp.
adf40b2e
JM
28139 * gdb.base/configure: Re-generate.
28140
281411999-07-12 Stan Shebs <shebs@andros.cygnus.com>
28142
28143 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
28144 in trying to run first and name is too long.
28145
28146 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
28147 pointers2.c and pointers2.exp, respectively.
28148 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
28149 doschk happier.
28150
43e526b9
JM
281511999-07-08 Stan Shebs <shebs@andros.cygnus.com>
28152
28153 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
28154 callfuncs2.c and callfuncs2.exp.
28155
28156 * gdb.base/list.exp: Remove mistaken xfails.
28157 * gdb.base/list0.h: Add optional prototypes.
28158
9846de1b
JM
28159Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
28160
a9c64011 28161 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 28162 calling malloc.
a9c64011
AS
28163 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
28164 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 28165 use.
9846de1b
JM
28166
281671999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28168
28169 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
28170 * gdb.base/annota2.cc, annota2.exp: Move from here.
28171 * gdb.c++/annota2.cc, annota2.exp: To here.
28172 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
28173
43ff13b4
JM
28174Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
28175
28176 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 28177 a consistent format.
43ff13b4 28178
085dd6e6
JM
281791999-06-25 Stan Shebs <shebs@andros.cygnus.com>
28180
28181 From Jimmy Guo <guo@cup.hp.com> and others at HP:
28182 * lib/gdb.exp (get_compiler_info): Add detection for assorted
28183 HP compilers, also set the globals $true and $false.
28184
28185 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
28186 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
28187 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
28188 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
28189 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
28190 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
28191 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
28192 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
28193 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
28194 whatis.c} Add C++ compatible function definitions and return
28195 types, add includes for library functions.
085dd6e6
JM
28196 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
28197 * gdb.base/step-test.c (myglob): Rename from glob.
28198 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
28199 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
28200 files, move here from gdb.hp.
085dd6e6 28201 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
28202 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
28203 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
28204 Adjust line numbers in regexps.
085dd6e6
JM
28205
28206 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
28207 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
28208 instead of 0/1.
28209
28210 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
28211 foll-vfork.exp: New files, move here from gdb.hp.
28212 * gdb.base/page.exp: New file, test of pagination command.
28213
28214 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
28215 recursion test.
28216 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
28217
28218 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 28219 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
28220
28221 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 28222 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 28223 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 28224 watchpoint test.
085dd6e6
JM
28225 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
28226 them work.
28227 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
28228 expressions properly.
28229 * gdb.base/corefile.exp: Loosen the match slightly.
28230 * gdb.base/default.exp: Allow "Error accessing memory" message
28231 also.
28232 * gdb.base/display.exp: Skip over x/0 j if PA64.
28233 * gdb.base/funcargs.exp: Add xfails for HP-UX.
28234 * gdb.base/interrupt.exp: Ditto.
28235 * gdb.base/langs.exp: Add symbolic matches governed by compiler
28236 in use.
28237 * gdb.base/list.exp: Add xfails for HP-UX.
28238 * gdb.base/long_long.exp: Refine some of the numeric matches.
28239 * gdb.base/mips_pro.exp: Xfail on HP-UX.
28240 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
28241 * gdb.base/nodebug.exp: Succeed on more varieties of output.
28242 * gdb.base/opaque.exp: Remove some HP-UX xfails.
28243 * gdb.base/ptype.exp: Succeed on more varieties of output.
28244 * gdb.base/scope.exp: Add xfails for HP-UX.
28245 * gdb.base/sect-cmd.exp: Add more cases.
28246 * gdb.base/setvar.exp: Add xfails for HP-UX.
28247 * gdb.base/shlib-call.exp: Loosen some matches slightly.
28248 * gdb.base/signals.exp: Match on void symbolically.
28249 * gdb.base/step-test.exp: Add case for PA64.
28250 * gdb.base/term.exp: Add exit and restart.
28251 * gdb.base/twice.exp: Clean up after self.
28252 * gdb.base/varargs.exp: Disable overload resolution explicitly.
28253 * gdb.base/whatis.exp: Allow more ways to pass tests.
28254
28255 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 28256 no longer useful.
085dd6e6
JM
28257
28258Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
28259
28260 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 28261 list of patterns.
085dd6e6 28262 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
28263 print_double_array(double_array)", "continuing to breakpoint
28264 1018", "print print_double_array(array_d)" and "continuing to
28265 1034" tests.
d63a86f8 28266
085dd6e6
JM
282671999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
28268
a9c64011 28269 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
28270
282711999-06-24 Stan Shebs <shebs@andros.cygnus.com>
28272
28273 * config/mt-*: Remove, these haven't been used since 1996.
28274
282751999-06-22 Stan Shebs <shebs@andros.cygnus.com>
28276
28277 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 28278 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
28279 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
28280
9e0b60a8
JM
282811999-06-18 Stan Shebs <shebs@andros.cygnus.com>
28282
28283 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
28284 simpler match case for the ptype of the big class.
28285
282861999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
28287
28288 * gdb.exp: Fix test for gdb_prompt existence.
28289
282901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
28291
28292 * gdb.exp (gdb_test): Add fail after calls to perror.
28293
282941999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
28295
28296 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
28297
282981999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
28299
28300 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
28301
0f71a2f6
JM
28302Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
28303
28304 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 28305 malloc() is linked in.
0f71a2f6
JM
28306
283071999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
28308
28309 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
28310 step at end.
28311
28312 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
28313
283141999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
28315
28316 * gdb.java/jv-print.exp: New file. (Our first Java test!)
28317
cce74817
JM
28318Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
28319
28320 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
28321 * gdb.base/mips_pro.exp: Likewise.
28322
283231999-06-02 Keith Seitz <keiths@cygnus.com>
28324
28325 * gdb.c++/templates.cc: Change all "new" operators to throw
28326 an exception.
28327 * gdb.c++/cplusfuncs.cc: Likewise.
28328
28329 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
28330
28331Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
28332
28333 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
28334 * gdb.base/ending-run.exp: When stepping out of main, accept a
28335 step into an arbitrary assembler file.
cce74817 28336
392a587b
JM
283371999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28338
d63a86f8 28339 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 28340 "breakpoint-invalid" to be printed.
6fdff2c5
PA
28341 * gdb.base/annota2.exp: Revise line number for main
28342 breakpoint. Allow any number of "frames-invalid" and
28343 "breakpoint-invalid" to be printed.
392a587b
JM
28344 * gdb.base/annota2.cc: Initialize a.x to 0.
28345
9e086581
JM
283461999-05-17 Keith Seitz <keiths@cygnus.com>
28347
6fdff2c5
PA
28348 * gdb.base/call-ar-st.exp: Skip
28349 "print print_double_array (double_array)" when "skip_float_tests" set.
28350 Ditto for "print print_double_array(array_d)",
28351 "print print_small_structs", "print print_ten_doubles", and
28352 "step into print_long_arg_list".
28353 Don't assume we can step into "print_long_arg_list": we could step
28354 into memcpy.
28355 * gdb.base/call-rt-st.exp: Don't run float-related tests when
28356 "skip_float_tests" is set: "print print_one_double(*d1)"
28357 and "print print_two_floats(*f3)".
9e086581
JM
28358 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
28359 "skip_float_tests" is set.
6fdff2c5
PA
28360 * gdb.base/varargs.exp: Skip
28361 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
28362 "skip_float_tests" set.
d63a86f8 28363
cd0fc7c3
SS
283641999-05-06 Keith Seitz <keiths@cygnus.com>
28365
28366 * gdb.base/annota2.cc: Include stdio.h.
28367
28368Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
28369
28370 * gdb.base/crossload.exp: Remove, this has been disabled ever
28371 since BFD stopped including all targets, and cross-GDB gets
28372 plenty of testing anyway.
28373 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
28374 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
28375 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
28376 * gdb.base/README: Remove, was doc for this.
28377 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 28378 needed.
cd0fc7c3 28379
b83266a0
SS
283801999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28381
28382 * gdb.base/call-ar-st.exp: Fix one regular expression in test
28383 output.
28384
28385 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
28386 * gdb.base/annota2.exp: New file. More annotation tests.
28387 * gdb.base/annota1.c: New file. Source file for annota1.exp.
28388 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
28389
283901999-04-23 Angela Marie Thomas <angela@cygnus.com>
28391
28392 * config/cfdbug.exp: New file.
28393
7a292a7a
SS
283941999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
28395
28396 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
28397 Marcus Daniel's and Dale Hawkins's demangler crashes.
28398
28399 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
28400 test_lucid_style_demangling, test_arm_style_demangling,
28401 test_hp_style_demangling): Try Tom Tromey's core-dumping
28402 identifier under each demangling style.
7a292a7a
SS
28403
284041999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
28405
28406 * gdb.c++/demangle.exp: Include the current demangling style
28407 in all test names.
28408 (current_demangling_style): New global variable.
28409 (set_demangling_style, test_demangling_core, test_demangling,
28410 test_demangling_exact): New functions.
28411 (test_gnu_style_demangling, test_lucid_style_demangling,
28412 test_arm_style_demangling, test_hp_style_demangling): Use those,
28413 instead of calling gdb_test and gdb_test_exact directly.
28414 (catch_demangling_errors): New function, which reports errors
28415 signalled by the demangling test functions in an orderly way.
28416 (do_tests): Use catch_demangling_errors.
28417
284181999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
28419
28420 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 28421 grouping in expressions, not {}.
7a292a7a
SS
28422
28423 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 28424 initialized yet.
7a292a7a
SS
28425
284261999-04-01 Stan Shebs <shebs@andros.cygnus.com>
28427
28428 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
28429 are listed.
28430
284311999-03-26 Stan Shebs <shebs@andros.cygnus.com>
28432
28433 * gdb.stabs/weird.exp: Test for CC being defined before
28434 looking at its value.
28435
284361999-03-25 Stan Shebs <shebs@andros.cygnus.com>
28437
28438 * gdb.base/call-ar-st.exp: Remove stray '#'.
28439 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
28440 "short int" and "long int".
28441 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 28442 change, to mollify finicky HP compiler.
7a292a7a
SS
28443 * gdb.hp/reg-test.exp (testfile): Fix file name.
28444 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 28445
7a292a7a
SS
28446 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
28447 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
28448 alternate form of enum ptype.
28449
c906108c
SS
284501999-03-23 Stan Shebs <shebs@andros.cygnus.com>
28451
7a292a7a
SS
28452 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
28453 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
28454 passing skip_hp_tests, so as not to waste time on guaranteed
28455 failure.
7a292a7a 28456
c906108c
SS
28457 * gdb.c++/overload.cc: Pass string instead of char addr, always
28458 init ccpfoo.
28459 * gdb.c++/templates.cc: Fix syntax error.
28460
7a292a7a
SS
28461Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28462
28463 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 28464 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
28465 command.
28466
284671999-03-18 James Ingham <jingham@cygnus.com>
28468
28469 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
28470
28471 * gdb.c++/method.exp: It was testing an uninitialized int on the
28472 stack and assuming it was positive.
28473
28474 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
28475
28476 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 28477 keep it from killing the rest of the tests.
7a292a7a
SS
28478 Use gdb_continue_to_end.
28479
28480 * gdb.base/sigall.exp: use gdb_continue_to_end.
28481
28482 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
28483
28484 * gdb.base/display.exp: use runto_main, not run.
28485
d63a86f8
RM
28486 * gdb.base/default.exp: Check for the current error message in the
28487 r abbreviation test.
7a292a7a
SS
28488 Add strongarm to the targets that know info float.
28489
d63a86f8 28490 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
28491 run which doesn't work with monitors.
28492
6fdff2c5
PA
28493 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
28494 1034 test.
7a292a7a
SS
28495
28496 * gdb.base/break.exp: use the gdb_continue_to_end proc.
28497
6fdff2c5
PA
28498 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
28499 end of a program. Traps the case (in Cygmon) when the program
28500 never really exits. Same as Mark's continue_to_exit, but I had
28501 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
28502
28503 * config/monitor.exp (gdb_target_monitor): added another
28504 target_info parameter: remotebinarydownload. This will set the
28505 remotebinarydownload flag if this is causing some boards trouble.
28506
285071999-03-18 Mark Salter <msalter@cygnus.com>
28508
28509 * lib/gdb.exp (continue_to_exit): New function.
28510
28511 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
28512 * gdb.base/ending-run.exp: Ditto.
28513 * gdb.base/step-test.exp: Ditto.
28514
285151999-03-16 Stan Shebs <shebs@andros.cygnus.com>
28516
28517 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
28518 (suggested by Art Haas <ahaas@neosoft.com>).
28519
285201999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
28521
889bf7c5 28522 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
28523
28524Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
28525
28526 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 28527 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
28528
285291999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
28530
28531 * gdb.base/call-strs.exp: Don't assume that `step' will step over
28532 a call to strlen; sometimes we do have sources.
28533
285341999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
28535
28536 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 28537 character, so GDB won't print garbage after its end.
d63a86f8 28538
c906108c
SS
28539 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
28540 breakpoint there instead. Sometimes GCC emits memcpy to handle
28541 the large structures being passed by value, so we step into that
28542 instead of sum_array_print, which obscures what we're really testing.
28543 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
28544 the bizarre steps into memcpy, so do that here. Add check for
28545 stepping into function calls that pass large structures by value.
28546 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
28547 Remove all references to specific line numbers.
28548 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
28549 New type and function.
28550 (main): Call large_struct_by_value, passing it a large struct by value.
28551 * lib/gdb.exp (gdb_get_line_number): New function.
28552
28553 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
28554 more portable.
28555
7a292a7a
SS
285561999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
28557
c906108c
SS
28558 * lib/gdb.exp: Doc fixes.
28559
7a292a7a
SS
285601999-03-05 Nick Clifton <nickc@cygnus.com>
28561
d63a86f8 28562 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
28563
285641999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
28565
c906108c 28566 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
28567 commands. They're not germane to this test, and they don't work
28568 that way on remote targets.
c906108c 28569
3fc11d3e
JM
285701999-03-01 James Ingham <jingham@cygnus.com>
28571
28572 * Changelog entries merged over from gdb development branch.
28573
3fc11d3e
JM
28574 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
28575
28576 * lib/gdb.exp (gdbtk_analyze_results): Generic function
28577 for outputting results of test run.
28578
2d4a1622 28579 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
28580
28581 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 28582
7a292a7a
SS
285831999-02-25 Felix Lee <flee@cygnus.com>
28584
28585 * lib/gdb.exp (debug_format): initialize
28586
c906108c
SS
285871999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
28588
28589 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
28590 * gdb.base/call-rt-st.c: Ditto.
28591
c906108c
SS
285921999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
28593
28594 * gdb.threads/pthreads.exp (horiz): New variable.
28595 (test_startup): Fix regexps that capture thread numbers.
28596
285971999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
28598
28599 * gdb.base/smoke.exp: Disambiguate two test case names (both
28600 called ``print'').
28601
28602Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28603
28604 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 28605 compilation.
c906108c
SS
28606
286071999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28608
28609 * gdb.base/miscexprs.exp: Change patterns to match GDB's
28610 actual output formatting.
28611 * gdb.base/smoke.exp: GDB removes leading 0's.
28612 * gdb.base/volatile.exp: Don't check type of remuneration;
28613 that variable is no longer defined in constvars.c.
28614 * gdb.base/step-test.c (main): Exit with explicit exit code.
28615 * gdb.base/step-test.exp: Remove two nexti checks--they are
28616 not portable.
28617
286181999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28619
28620 * gdb.base/help.exp ("help delete display"): Fix test to match
28621 gdb's output.
28622
28623 * gdb.base/long_long.c (known_types): Initialize values to zero.
28624 * gdb.base/long_long.exp: Step one more line
28625 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
28626 leading zeros. Explicitly ask for hex formatting. Use
28627 unique test case names.
c906108c
SS
28628
28629Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28630
d63a86f8 28631 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
28632
28633 * gdb.c++/method.exp: Add missing close brace.
28634
286351999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
28636
28637 * gdb.base/maint.exp: Use 'set height 0' to disable page
28638 prompting, not 'set height 400'.
28639
28640 Fix a bunch of timeouts.
28641 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
28642 four separate tests, so expect doesn't take forever to match a ton
28643 of text against a regexp with lots of .* forms.
28644 ("maint print psymbols", "maint print symbols"): Make some of
28645 these greps more selective, so that expect doesn't try to wade
28646 through huge piles of output and time out.
28647
28648 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
28649
28650 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
28651 tests: one which doesn't expect shlib events to be reported, and
28652 another which does, but is XFAIL for all platforms other than
28653 HP/UX.
c906108c
SS
28654
28655 * gdb.base/break.exp: Teach the test suite that the `catch
28656 fork', `catch vfork', and `catch exec' commands produce error
28657 messages on platforms that don't provide these features.
28658
28659Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28660
28661 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
28662 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
28663 (shortening names from solib_threshold.exp etc), won't run on
28664 anything but HP-UX for the foreseeable future.
c906108c 28665 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 28666 reflect move.
c906108c
SS
28667
28668Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
28669
28670 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 28671 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
28672
28673Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
28674
28675 * gdb.base/shlib-call.exp: add test cases to verify that gdb
28676 successfully re-sets breakpoints in shared libraries.
28677 * gdb.base/shmain.c (main): return 0, don't fall off the end.
28678
28679Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28680
d63a86f8
RM
28681 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
28682 and compiled w/o GCC.
c906108c
SS
28683
28684 * gdb.hp/watch-cmd.exp: ditto.
28685
28686 * gdb.hp/watch-hp.exp: ditto.
28687
28688 * gdb.hp/xdb1.exp: ditto.
28689
28690 * gdb.hp/xdb2.exp: ditto.
28691
28692 * gdb.hp/dbx.exp: ditto.
28693
28694Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
28695
28696 * constvars.c: Remove C++-isms.
28697 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 28698 with GCC.
c906108c
SS
28699
28700Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
28701
28702 The following changes are part of the HP merge.
28703
28704 * gdb.base/break.exp: new tests to verify that catchpoints for
28705 fork, vfork, and exec don't trigger inappropriately.
28706
28707 * gdb.base/opaque.exp: compile one file at a time, then link.
28708
28709 * gdb.base/signals.exp: be more restrictive about which hppa
28710 systems receive a setup_xfail. new tests.
28711
28712 * gdb.base/solib_threshold.build: new file.
28713 * gdb.base/solib_threshold.exp: new file.
28714 * gdb.base/solib_threshold.link_opts: new file.
28715 * gdb.base/solib_threshold.mk: new file.
28716 * gdb.base/gen_solib_threshold.c: new file.
28717
28718 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
28719 tests. New tests for enums inside classes.
28720
28721 * gdb.c++/compiler.cc: indicate support of template debugging.
28722
28723 * gdb.c++/demangle.exp: run hp style demangling tests.
28724
28725 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
28726 tests.
28727
28728 * gdb.c++/misc.cc: changes to support new tests.
28729
28730 * gdb.c++/templates.cc: changes to support HP's compiler; changes
28731 to support new tests.
28732
28733 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
28734 gcc, then skip these tests.
28735
28736Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
28737
28738 The following files are part of the HP merge; some had longer
28739 names at HP, but have been renamed to be no more than 14
28740 characters in length.
28741
28742 * gdb.hp/ambiguous.cc: new file.
28743 * gdb.hp/ambiguous.exp: new file.
28744 * gdb.hp/attach.exp: new file.
28745 * gdb.hp/attach2.exp: new file.
28746 * gdb.hp/classes-hp.exp: new file.
28747 * gdb.hp/ctti.exp: new file.
28748 * gdb.hp/ctti-add.cc: new file.
28749 * gdb.hp/ctti-add1.cc: new file.
28750 * gdb.hp/ctti-add2.cc: new file.
28751 * gdb.hp/ctti-add3.cc: new file.
28752 * gdb.hp/dbx.exp: new file.
28753 * gdb.hp/exception.cc: new file.
28754 * gdb.hp/exception.exp: new file.
28755 * gdb.hp/foll-exec.c: new file.
28756 * gdb.hp/foll-exec.exp: new file.
28757 * gdb.hp/foll-fork.c: new file.
28758 * gdb.hp/foll-fork.exp: new file.
28759 * gdb.hp/foll-vfork.c: new file.
28760 * gdb.hp/foll-vfork.exp: new file.
28761 * gdb.hp/inherit-hp.exp: new file.
28762 * gdb.hp/more-steps.exp: new file.
28763 * gdb.hp/namespace.cc: new file.
28764 * gdb.hp/namespace.exp: new file.
28765 * gdb.hp/optimize.exp: new file.
28766 * gdb.hp/pxdb.c: new file.
28767 * gdb.hp/pxdb.exp: new file.
28768 * gdb.hp/quicksort.exp: new file.
28769 * gdb.hp/reg-test.exp: new file.
28770 * gdb.hp/reg-test.s: new file.
28771 * gdb.hp/sized-enum.c: new file.
28772 * gdb.hp/sized-enum.exp: new file.
28773 * gdb.hp/start-stop.exp: new file.
28774 * gdb.hp/templ-hp.cc: new file.
28775 * gdb.hp/templ-hp.exp: new file.
28776 * gdb.hp/thr-lib.c: new file.
28777 * gdb.hp/thr-lib.exp: new file.
28778 * gdb.hp/thr-lib.h: new file.
28779 * gdb.hp/thr-liblib.c: new file.
28780 * gdb.hp/virtfun-hp.c: new file.
28781 * gdb.hp/virtfun-hp.exp: new file.
28782 * gdb.hp/watch-cmd.exp: new file.
28783 * gdb.hp/watch-hp.exp: new file.
28784 * gdb.hp/xdb1.exp: new file.
28785 * gdb.hp/xdb2.exp: new file.
28786 * gdb.hp/xdb3.exp: new file.
28787
28788Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
28789
28790 The following files are part of the HP merge; some had longer
28791 names at HP, but have been renamed to be no more than 14
28792 characters in length.
28793
28794 * gdb.base/ss.h: new file.
28795 * gdb.base/call-ar-st.c: new file.
28796 * gdb.base/call-ar-st.exp: new file.
28797 * gdb.base/call-rt-st.c: new file.
28798 * gdb.base/call-rt-st-exp: new file.
28799 * gdb.base/call-strs.exp: new file.
28800 * gdb.base/ena-dis-br.exp: new file.
28801 * gdb.base/environ.exp: new file.
28802 * gdb.base/long_long.exp: new file.
28803 * gdb.base/sect-cmd.exp: new file.
28804 * gdb.base/shlib-cl2.exp: new file.
28805 * gdb.base/smoke.exp: new file.
28806 * gdb.base/so-impl-ld.c: new file.
28807 * gdb.base/so-impl-ld.exp: new file.
28808 * gdb.base/so-indr-cl.c: new file.
28809 * gdb.base/so-indr-cl.exp: new file.
28810 * gdb.base/varargs.exp: new file.
28811 * gdb.base/volatile.exp: new file.
28812 * gdb.base/whatis-exp.exp: new file.
7a292a7a 28813 * gdb.base/display.exp: new file.
c906108c
SS
28814 * gdb.c++/derivation.exp: new file.
28815 * gdb.c++/local.exp: new file.
28816 * gdb.c++/member-ptr.exp: new file.
28817 * gdb.c++/overload.exp: new file.
28818 * gdb.c++/ovldbreak.exp: new file.
28819 * gdb.c++/ref-types.exp: new file.
28820 * gdb.c++/ref-types2.exp: new file.
28821 * gdb.c++/userdef.exp: new file.
d63a86f8 28822
c906108c
SS
28823Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
28824
28825 * gdb.base/default.exp: Reflect wording change in remote.c.
28826
dc96c6c7 28827Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28828
28829 * gdb.base/help.exp: Update to reflect current text.
28830
28831Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
28832
28833 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
28834 they're stack variables and contain garbage.
28835 * gdb.c++/anon-union.exp: new file.
28836
28837 The following changes were made by David Taylor
889bf7c5
PA
28838 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28839 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28840 in changes by HP.
c906108c
SS
28841
28842 * gdb.base/bitops.exp: new file.
28843 * gdb.base/default.exp: change expected messages for catch and
28844 info catch tests to reflect HP merge changes.
28845 * gdb.base/enable-disable-break.exp
28846 * gdb.base/ending-run.c: new file.
28847 * gdb.base/long_long.c: new file.
28848 * gdb.base/maint.exp: new file.
28849 * gdb.base/pointers2.exp: new file.
28850 * gdb.base/shlib-call2.exp: new file.
28851 * gdb.base/solib.exp: new file.
28852 * gdb.base/step-test.c: new file.
28853 * gdb.c++/anon-union.cc: new file.
28854 * gdb.c++/local.cc: new file.
28855 * gdb.c++/member-pointer.cc: new file.
28856 * gdb.c++/method.cc: new file.
28857 * gdb.c++/ref-types.cc: new file.
28858 * gdb.c++/ref-types2.cc: new file.
28859 * gdb.c++/userdef.cc: new file.
d63a86f8 28860
c906108c
SS
28861 * gdb.base/scope.exp: compile one file at a time, then link.
28862 * gdb.base/langs.exp: ditto.
28863 * gdb.base/list.exp: ditto.
d63a86f8 28864
c906108c
SS
28865Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
28866
28867 The following changes were made by David Taylor
889bf7c5
PA
28868 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28869 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28870 in changes by HP.
d63a86f8 28871
c906108c
SS
28872 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
28873 skip tests. When compiling pass c++ flag to gdb_compile.
28874 * gdb.c++/
d63a86f8 28875
c906108c
SS
28876 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
28877 test for on hppa*-*-hpux*; use args to see if c++ was specified.
28878 (skip_hp_tests): new function.
28879 (gdb_preprocess): new function.
28880
28881 * configure.in (hpdir): decide whether to configure gdb.hp.
28882 * configure: regenerated.
28883
28884 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
28885 to delete on clean.
28886 (EXECUTABLES): update to reflect new additions.
28887 * gdb.base/commands.exp: update message expected.
28888 * gdb.base/default.exp: add copyright notice.
28889 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
28890 * gdb.base/help.exp: update messages to reflect current text.
28891 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
28892 targets for recurse tests.
28893 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
28894 skip this file.
28895
28896 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
28897 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
28898 compilation.
28899 * gdb.c++/misc.exp: ditto.
28900 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
28901 run the tests. tell gdb_compile that it's a c++ compilation.
28902
28903 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 28904
c906108c
SS
28905 * gdb.base/all-bin.exp: new file.
28906 * gdb.base/arithmet.exp: new file.
28907 * gdb.base/assign.exp: new file.
28908 * gdb.base/completion.exp: new file.
28909 * gdb.base/cond-expr.exp: new file.
28910 * gdb.base/condbreak.exp: new file.
28911 * gdb.base/define.exp: new file.
28912 * gdb.base/dollar.exp: new file.
28913 * gdb.base/environment.exp: new file.
28914 * gdb.base/eval-skip.exp: new file.
28915 * gdb.base/jump.exp: new file.
28916 * gdb.base/logical.exp: new file.
28917 * gdb.base/pointers.exp: new file.
28918 * gdb.base/relational.exp: new file.
28919 * gdb.base/section_command.exp: new file.
28920 * gdb.base/whatis-expr.exp: new file.
28921
28922 * gdb.base/all-types.c: new file.
28923 * gdb.base/call-array-struct.c: new file.
28924 * gdb.base/call-return-struct.c: new file.
28925 * gdb.base/call-strings.c: new file.
28926 * gdb.base/callfuncs2.c: new file.
28927 * gdb.base/condbreak.c: new file.
28928 * gdb.base/constvars.c: new file.
28929 * gdb.base/display.c: new file.
28930 * gdb.base/int-type.c: new file.
28931 * gdb.base/jump.c: new file.
28932 * gdb.base/miscexprs.c: new file.
28933 * gdb.base/pointers.c: new file.
28934 * gdb.base/pointers2.c: new file.
28935 * gdb.base/shmain.c: new file.
28936 * gdb.base/shr1.c: new file.
28937 * gdb.base/shr2.c: new file.
28938 * gdb.base/solib.c: new file.
28939 * gdb.base/solib1.c: new file.
28940 * gdb.base/solib2.c: new file.
28941 * gdb.base/varargs.c: new file.
28942 * gdb.c++/derivation.cc: new file.
28943 * gdb.c++/overload.cc: new file.
28944 * gdb.c++/ovldbreak.cc: new file.
28945 * gdb.hp/attach.c: new file.
28946 * gdb.hp/attach2.c: new file.
28947 * gdb.hp/average.c: new file.
28948 * gdb.hp/compiler.c: new file.
28949 * gdb.hp/compiler.cc: new file.
28950 * gdb.hp/execd-program.c: new file.
28951 * gdb.hp/follow-exec.c: new file.
28952 * gdb.hp/follow-fork.c: new file.
28953 * gdb.hp/follow-vfork-and-exec.c: new file.
28954 * gdb.hp/misc-hp.cc: new file.
28955 * gdb.hp/more-steps.c: new file.
28956 * gdb.hp/optimize.c: new file.
28957 * gdb.hp/quicksort.c: new file.
28958 * gdb.hp/run-hp.c: new file.
28959 * gdb.hp/start-stop.c: new file.
28960 * gdb.hp/sum.c: new file.
28961 * gdb.hp/templates-hp.cc: new file.
28962 * gdb.hp/thread-local-in-lib.c: new file.
28963 * gdb.hp/thread-local-in-lib.h: new file.
28964 * gdb.hp/thread-local-in-lib.lib.c: new file.
28965 * gdb.hp/vforked-program.c: new file.
28966 * gdb.hp/virtfunc-hp.cc: new file.
28967 * gdb.hp/watchpoint-hp.c: new file.
28968 * gdb.hp/xdb.c: new file.
28969 * gdb.hp/xdb0.c: new file.
28970 * gdb.hp/xdb0.h: new file.
28971 * gdb.hp/xdb1.c: new file.
28972
28973Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
28974
28975 The following change was made by Edith Epstein
889bf7c5
PA
28976 <eepstein@cygnus.com> as part of a project to merge in changes
28977 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
28978
28979 * gdb.c++/demangle.exp: changed the expected output for some
28980 ARM-style mangling -- removed second reference to datatype.
889bf7c5 28981 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 28982 T1<char>::~T1<char>(void)
c906108c 28983 becomes,
a9c64011
AS
28984 maint demangle __dt__11T1__pt__2_cFv
28985 T1<char>::~T1(void)
c906108c 28986
889bf7c5 28987 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 28988
c906108c
SS
28989Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
28990
28991 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
28992 * gdb.trace/backtrace.exp: Likewise.
28993 * gdb.trace/circ.exp: Likewise.
28994 * gdb.trace/collection.exp: Likewise.
28995 * gdb.trace/deltrace.exp: Likewise.
28996 * gdb.trace/infotrace.exp: Likewise.
28997 * gdb.trace/limits.exp: Likewise.
28998 * gdb.trace/packetlen.exp: Likewise.
28999 * gdb.trace/passc-dyn.exp: Likewise.
29000 * gdb.trace/passcount.exp: Likewise.
29001 * gdb.trace/report.exp: Likewise.
29002 * gdb.trace/save-trace.exp: Likewise.
29003 * gdb.trace/tfind.exp: Likewise.
29004 * gdb.trace/tracecmd.exp: Likewise.
29005 * gdb.trace/while-dyn.exp: Likewise.
29006 * gdb.trace/while-stepping.exp: Likewise.
29007
290081998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
29009
29010 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
29011
29012Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
29013
29014 From Brendan Kehoe:
29015 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
29016 int return types.
29017
29018Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
29019
29020 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 29021 remote dos host testing right.
c906108c
SS
29022
29023Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
29024
29025 * gdb.base/corefile.exp: remove some xfails.
29026
29027Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
29028
29029 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 29030 have different timestamps.
c906108c
SS
29031
29032Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
29033
29034 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 29035 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
29036
29037Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
29038
29039 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 29040 delta.
c906108c
SS
29041
29042Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
29043
29044 * gdb.base/default.exp: Add brace missing from previous delta.
29045
29046Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
29047
29048 * gdb.base/default.exp: Support test for info float for all
29049 varieties of arm toolchain.
29050
dc96c6c7 29051Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29052
29053 * gdb.trace/*.exp: remove "remote_download" command.
29054
dc96c6c7 29055Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29056
29057 * gdb.trace/*.exp: remove -gdwarf from compile.
29058
29059Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
29060
29061 * gdb.trace/configure.in(AC_INIT): typo
29062 * gdb.trace/configure: regenerated
29063
dc96c6c7 29064Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29065
29066 * config/m68k-emc.exp: New file.
29067 * lib/<emc-support.exp trace-support.exp}: New files.
29068 * configure.in: add new test directory gdb.trace.
29069 * gdb.trace/{configure configure.in Makefile.in}: New files.
29070 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
29071 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
29072 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
29073 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
29074 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
29075 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
29076 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 29077
dc96c6c7 29078Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29079
29080 * gdb.c++/classes.exp: Change all regular expressions to match
29081 arbitrary combinations of newline/carriage-return, so that they
29082 will work equally well on Unix and Windows.
29083 * gdb.c++/inherit.exp: ditto.
29084 * gdb.c++/virtfunc.exp: ditto.
29085
290861998-08-11 Dawn Perchik <dawn@cygnus.com>
29087
29088 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
29089
c2d11a7d
JM
29090Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
29091
29092 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
29093 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
29094 to use a0-a3/d0-d3 as needed.
29095
29096Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
29097
29098 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
29099 * gdb.disasm/am33.exp: Corresponding changes.
29100
c906108c
SS
291011998-07-11 Felix Lee <flee@cygnus.com>
29102
29103 * gdb.base/callfuncs.exp: add cmp10 test.
29104 * gdb.base/callfuncs.c (cmp10): new function.
29105
29106Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
29107
d63a86f8 29108 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
29109 into two parts to get around a synchronization problem in expect.
29110
3fc11d3e
JM
29111Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
29112
29113 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
29114
29115 * configure.in: Add options for gdbtk testsuite.
29116
29117 * configure: Regenerate.
29118
29119 * gdb.gdbtk: New directory to hold gdbtk tests.
29120
c906108c
SS
29121Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
29122
29123 * gdb.fortran/types.exp: Escape brackets in expect patterns
29124 for test_float_literal_types_accepted tests.
29125 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
29126 before run test.
29127
c2d11a7d
JM
29128Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
29129
29130 * am33.exp: Just compile, do not link the testcase.
29131 * am33.s: Add ".am33" pseudoop to force am33 mode.
29132
c906108c
SS
291331998-06-25 Felix Lee <flee@cygnus.com>
29134
29135 * gdb.base/setshow.exp: make sure $pc is sane.
29136
29137 * gdb.stabs/weird.exp: split expect patterns properly.
29138
c2d11a7d
JM
29139Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
29140
29141 * gdb.disasm/am33.s: New disassembler testfile for the am33.
29142 * gdb.disasm/am33.exp: Run it.
29143
dc96c6c7 29144Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29145
29146 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
29147 match processing (and eliminate spurious timeouts when running).
29148
dc96c6c7 29149Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29150
29151 * gdb.base/signals.exp (test_handle_all_print): put back Mach
29152 exception test, but conditionalize it on target [mach | gnu].
29153
dc96c6c7 29154Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29155
29156 * gdb.base/overlays.exp: fixup compile line for linker script.
29157
29158Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
29159
29160 * gdb.fortran/types.exp: don't guess at float size.
29161
29162Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
29163
29164 * gdb.base/exprs.exp: delete test that depends on int size.
29165
29166Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
29167
29168 * config/sim.exp: Removed checks for target triplets.
29169 (gdb_target_sim): Use gdb,target_sim_options.
29170
29171Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
29172
29173 * gdb.base/reread.exp: New file.
29174 * gdb.base/reread1.c: New file.
29175 * gdb.base/reread2.c: New file.
29176
29177Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
29178
29179 * config/sim.exp: Use 'target sim -sparclite' when running
29180 SPARClite programs.
29181
29182Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
29183
29184 * gdb.base/structs2.exp: New file.
29185 * gdb.base/structs2.c: New file.
29186
29187Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
29188
29189 * gdb.asm/common.inc: New file.
29190 * gdb.asm/d10v.inc: New file.
29191 * asm-source.exp: Pass -I's to gas to find .inc files.
29192 Update line numbers in expected output.
29193 * asmsrc1.s: Rewrite.
29194 * asmsrc2.s: Rewrite.
29195 * configure.in: Create arch.inc symlink.
29196 * configure: Regenerate.
29197 * Makefile.in (distclean): Delete arch.inc.
29198
29199Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
29200
29201 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
29202 (t_enum_value2): ditto
29203 (t_enum_value3): ditto
29204 (main): ditto
c906108c
SS
29205Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
29206
29207 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
29208 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
29209 change.
29210 Use gdb_test instead of send_gdb/gdb_expect sequences.
29211
29212Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
29213
29214 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
29215 not void.
29216
29217Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
29218
29219 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
29220 subroutines. Used to test gdbs ability to single step through PC
29221 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
29222
29223Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
29224
29225 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
29226 more rigorous EGCS C++ error checking.
29227
29228Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29229
a9c64011
AS
29230 * gdb.base/help.exp: Clean up `help set args' and `help show args'
29231 tests.
29232 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
29233 function when asleep.
29234 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
29235 for i*86 Linux and SVR4 signal handling problems.
29236 Remove linux xfail for `next to handler in signals_tests_1', fixed
29237 by recent infrun.c change.
29238 Limit backtrace to 10 frames to avoid timeout problems with infinite
29239 stack backtraces.
29240 Adjust expect pattern in `handle all print' test to match Apr 28 1997
29241 target.[ch] change.
c906108c
SS
29242
29243Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
29244
29245 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
29246 for a newline from gdb before continuing.
29247 (default_gdb_exit): Just look for y or n.
29248 (gdb_test): Detect abnormal exit from GDB running on DOS; if
29249 it does, fail the rests of the tests in the file.
29250
29251Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
29252
29253 * config/cygmon.exp: New file.
29254
29255Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
29256
29257 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 29258 main" test on remote targets.
c906108c
SS
29259
29260 * gdb.base/scope.exp: Fix problem with filelocal_bss before
29261 run test on remote targets.
29262
29263Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
29264
29265 * gdb.asm: New directory.
29266 * configure.in: Configure it.
29267 * configure: Regenerate.
29268 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
29269 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
29270
29271Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
29272
29273 * config/mn10300-eval.exp: New file to support MN10300 eval board.
29274
dc96c6c7 29275Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 29276
a9c64011
AS
29277 * gdb.base/overlays (several files): Merge the two overlay
29278 managers into one. Change variables (foox, barx, bazx, grbxx)
29279 back into ints but force them to load in their proper sections.
c906108c
SS
29280
29281Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
29282
29283 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 29284 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
29285 (D10VCopy): Handle memory regions crossing 16k boundaries.
29286 (D10VCopy): Transfer data in 32 bit chunks.
29287
29288Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
29289
29290 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 29291 correct.
c906108c
SS
29292
29293 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 29294 map. Include space for printf in .text segment.
c906108c
SS
29295
29296 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 29297 updated d10v memory VMA/LMA map.
c906108c 29298 (D10VCopy): Call D10VTranslate.
d63a86f8 29299
c906108c
SS
29300Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
29301
29302 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
29303
29304 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
29305 that it won't be put into the .sdata - small data -
29306 section. Update reference.
c906108c
SS
29307 * gdb.base/baz.c (bazx, baz): Ditto.
29308 * gdb.base/foo.c (foox, foo): Ditto.
29309 * gdb.base/grbx.c (grbxx, grbx): Ditto.
29310
29311 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 29312 to be arrays.
d63a86f8 29313
dc96c6c7 29314Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 29315
a9c64011
AS
29316 * gdb.base/overlays.exp: fix up and get working again.
29317 Add tests for backtraces from an overlay function.
d63a86f8 29318
c906108c
SS
29319Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
29320
29321 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
29322 "calling function with watchpoint enabled".
29323
29324Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
29325
29326 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 29327 gdb_suppress_tests for d10v-*-*.
c906108c
SS
29328 * lib/gdb.exp (gdb_suppress_tests): Disable this function
29329 pending review of whether it is useful or not.
29330
29331Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
29332
29333 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
29334
29335Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
29336
29337 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
29338 * config/dve.exp: New file to support Densan boards.
29339
29340Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
29341
29342 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 29343 reads and BSD.
c906108c
SS
29344
29345Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
29346
29347 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
29348 response.
29349
29350 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
29351
29352Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
29353
29354 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 29355 test.
c906108c
SS
29356
29357 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 29358 target_sizeof_long and target_bigendian_p.
c906108c 29359 (structs_by_value, structs_by_reference): Check values according
889bf7c5 29360 to targets word size and endianess.
d63a86f8 29361
c906108c
SS
29362Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
29363
29364 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 29365 output.
c906108c
SS
29366
29367Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
29368
29369 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 29370 Update test of set args help to match source change.
c906108c
SS
29371
29372Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
29373
29374 * gdb.base/default.exp: Expect help system output to be in
29375 alphabetical order.
29376 * gdb.base/help.exp: Ditto.
29377
29378Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
29379
29380 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
29381 "i*86-pc-linux-gnu*".
29382 * gdb.base/interrupt.exp: Ditto.
29383 * gdb.base/corefile.exp: Ditto.
29384
29385 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 29386 define vxworks when building the testcase.
c906108c
SS
29387
29388 * gdb.base/ptype.exp: Fix testnames to be unique.
29389 * gdb.base/radix.exp: Ditto.
29390 * gdb.base/term.exp: Ditto.
29391 * gdb.base/whatis.exp: Ditto.
29392 * gdb.c++/classes.exp: Ditto.
29393
29394Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
29395
29396 * gdb.base/callfuncs.exp: Fix indentation.
29397
29398 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
29399 suppress_flag has been set.
29400 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
29401 target feature.
29402
29403Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
29404
29405 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
29406 the testcase.
29407
29408 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 29409 set_debug_traps() and breakpoint().
c906108c
SS
29410 * gdb.c++/misc.cc (main): Ditto.
29411 * gdb.c++/templates.cc (main): Ditto.
29412 * gdb.c++/virtfunc.cc (main): Ditto.
29413
29414Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
29415
29416 * lib/gdb.exp(gdb_step_for_stub): New function.
29417 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
29418 exists, reload the executable and do a "continue" instead of
29419 doing a jump.
29420 (runto_main): Use gdb_step_for_stub.
d63a86f8 29421
c906108c 29422 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 29423 tests to have unique names.
c906108c
SS
29424 * gdb.base/callfuncs.exp: Ditto.
29425 * gdb.base/commands.exp: Ditto.
29426 * gdb.base/default.exp: Ditto.
29427 * gdb.base/help.exp: Ditto.
29428 * gdb.base/list.exp: Ditto.
29429 * gdb.base/opaque.exp: Ditto.
29430 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
29431 similar tests.
d63a86f8 29432
c906108c
SS
29433 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
29434 * gdb.c++/cplusfuncs.cc: Ditto.
29435 * gdb.c++/virtfunc.cc: Ditto.
29436
29437 * config/monitor.exp: Keep track of the last file we saw, rather
29438 than trying to get the info from gdb.
29439
29440 * gdb.fortran/types.exp: Move comment to previous line.
29441
29442Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
29443
29444 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 29445 target mode.
c906108c
SS
29446
29447Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
29448
29449 From Bob Manson:
29450 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 29451 string from GDB when it connects.
c906108c
SS
29452
29453 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
29454
29455Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
29456
29457 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
29458 if we can't get a debug format from GDB (we may be testing an
29459 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
29460
29461 * gdb.stabs/weird.exp: Fix quoting.
29462
29463 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
29464
29465Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
29466
29467 * config/arm-ice.exp: New file.
29468
29469Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
29470
29471 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 29472 until it has been modified to work with the new testsuite.
c906108c 29473
99707966 29474 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
29475 testcase won't compile, cause all of the testcases in the file to
29476 fail instead.
c906108c
SS
29477
29478 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
29479 (gdb_clear_suppressed): New procedure.
29480 (gdb_stop_suppressing_tests): Only clear suppress_flag if
29481 it contains a positive value.
29482
29483Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
29484
29485 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
29486
29487 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
29488
29489Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
29490
29491 * lib/gdb.exp (setup_xfail_format): New function.
29492 (get_debug_format): New function to get debug format.
29493 (debug_format): New global variable to hold last value set
29494 by get_debug_format.
29495 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 29496 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
29497 * gdb.c++/ptype.exp: Ditto.
29498 * gdb.c++/classes.exp: Ditto.
29499 * gdb.c++/cplusfuncs.exp: Ditto.
29500 * gdb.c++/inherit.exp: Ditto.
29501 * gdb.c++/templates.exp: Ditto.
29502 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 29503
c906108c
SS
29504Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
29505
29506 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
29507 host doesn't have a currently-open connection.
29508
29509 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
29510 any gdb stub target. Handle cases where gdb doesn't respond when
29511 interrupted in a sane fashion.
c906108c
SS
29512
29513 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 29514 same thing in a totally different way.
c906108c
SS
29515
29516 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 29517 setting "timeout".
c906108c 29518 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 29519 default_gdb_init now.
c906108c
SS
29520
29521Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
29522
29523 * gdb.base/printcmds.exp: Fix "check for floating addition"
29524 regexp to accept results within approx +/- .01 of exact value.
29525 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
29526
29527Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
29528
29529 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 29530 properly.
c906108c
SS
29531 (gdb_expect): Add optional timeout parameter, and add timeout
29532 value to various calls.
29533 (gdb_suppress_tests): Only give one warning message per group.
29534
29535Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
29536
29537 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
29538 global variables. Handle getting a value for $timeout more
29539 gracefully.
c906108c
SS
29540
29541Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29542
29543 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 29544 initialize.
c906108c 29545 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 29546 by a target configuration file.
c906108c
SS
29547 (gdb_expect): Pass the timeout to remote_expect.
29548
29549 * config/monitor.exp(gdb_load): Fix typo in regexp.
29550
29551Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
29552
29553 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
29554
29555Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
29556
29557 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
29558 here. Call gdb_target_exec before rebooting the target, to make
29559 sure the connection to the target is closed.
c906108c
SS
29560 (gdb_load): Pass the name of the executable to gdb_target_monitor.
29561 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
29562 Also detect "Timeout reading from remote" error.
29563
29564 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
29565 gdb_target_monitor. Don't call gdb_file_cmd here; let
29566 gdb_target_monitor do it.
c906108c
SS
29567
29568 * gdb.disasm/hppa.exp: Don't use exec_output.
29569
29570Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
29571
29572 * gdb.base/list.exp: If we're debugging a non-native target,
29573 try to set the pc register to point to the start of the
29574 program before doing the first list command.
29575
29576 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 29577 test_calls after restarting.
c906108c
SS
29578
29579 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 29580 reloading.
c906108c
SS
29581
29582 * gdb.base/watchpoint.exp: Fix typo.
29583
29584 * gdb.base/setshow.exp: Check for use_gdb_stub.
29585
29586 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 29587 stub case.
c906108c
SS
29588 * gdb.base/langs.exp: Ditto.
29589
29590 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
29591 gdb_load_offset. If we weren't given a file to load, figure out
29592 what the current file is and use it.
c906108c
SS
29593
29594 * config/i386-bozo.exp: New file.
29595
29596Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
29597
29598 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
29599 feature.
29600
29601 * config/proelf.exp: New entry.
29602
29603Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
29604
29605 * lib/gdb.exp: Remove spurious .* patterns at the beginning
29606 of regexps.
29607
29608 * gdb.base/watchpoint.exp: Don't run the test_stepping
29609 tests if gdb can't call functions on the target.
29610
29611 * gdb.base/setshow.exp: Don't run the set prompt tests if
29612 the board has gdb_prompt set.
29613
29614Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
29615
29616 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
29617 * gdb.base/commands.exp: Likewise.
29618 * gdb.base/setshow.exp: Likewise.
29619
29620Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
29621
29622 * config/monitor.exp(gdb_start): Look for gdb_prompt target
29623 feature.
29624
29625 * config/i960.exp: New file.
29626
29627Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
29628
29629 * gdb.base/funcargs.exp: Check for gdb,short_int target
29630 feature instead of looking for explicit target triplets.
29631
dc96c6c7 29632Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 29633
d63a86f8 29634 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
29635 "p 123DEADBEEF", to check parse_number.
29636 * top.c: change "to enable to enable" to "to enable" in a couple
29637 of help strings.
29638
29639Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
29640
29641 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
29642 on the mn10300.
d63a86f8 29643
c906108c
SS
29644Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
29645
29646 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
29647 where the test executable is run with explicit args.
29648 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
29649
29650Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
29651
29652 * gdb.base/run.c: Use FAKEARGV to build test executable that
29653 does not require a command line arg, since most simulators
29654 don't currently support passing such an arg into the simulated
29655 program.
29656 * gdb.base/commands.exp: Change tests to insert the proper
29657 value as the arg to the first recursive factorial call. Change
29658 compilation line to define FAKEARGV at compile time.
29659
29660Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
29661
29662 * gdb.base/recurse.exp: Enable these tests for the mn10300.
29663 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
29664 function with watchpoint enabled" test.
29665
29666Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
29667
29668 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 29669 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
29670
29671 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 29672 "Tests restarted" messages.
c906108c
SS
29673
29674Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
29675
29676 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
29677
dc96c6c7 29678Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29679
29680 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
29681 for INFO SYMBOL; add help tests for OVERLAY commands.
29682 * gdb.base/default.exp: add tests for INFO SYMBOL command;
29683 add tests for OVERLAY commands
29684 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
29685 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
29686 * gdb.base/sigall.c: add usestubs code frag
29687 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 29688
c906108c
SS
29689Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
29690
29691 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
29692 failures.
29693 (gdb_stop_suppressing_tests): Note that tests have restarted.
29694
29695Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
29696
29697 * config/h8300.exp: New file.
29698
29699Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
29700
29701 * gdb.base/setshow.exp: Check for the existence of a
29702 feature, not its value.
29703
29704Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
29705
29706 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
29707
29708 * gdb.base/scope.exp: It's now init0(), not init().
29709
29710 * gdb.base/scope0.c: For now, change init() to be init0().
29711
29712 * config/monitor.exp: Use gdb_serial in preference to serial
29713 or netport.
29714
29715 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 29716 and it's not already set.
c906108c
SS
29717
29718Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
29719
29720 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 29721 isn't using a stub and if it supports argument passing.
c906108c
SS
29722
29723Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
29724
29725 * config/udi.exp(gdb_start): Make sure UDICONF is set
29726 properly before starting gdb.
29727
29728Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
29729
29730 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
29731 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
29732 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
29733
29734Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
29735
29736 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 29737 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
29738
29739 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
29740
29741 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
29742
29743 * config/monitor.exp: Make sure we disconnect from the target.
29744 Also, try a reboot/reload cycle instead of failing if the
29745 load fails.
29746
29747Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
29748
29749 * gdb.base/default.exp: Don't set match_max.
29750 * gdb.base/help.exp: Ditto.
29751 * gdb.base/list.exp: Ditto.
29752 * gdb.base/signals.exp: Ditto.
29753
29754 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
29755 set, use remote_ld to download the testcase instead of
29756 the GDB loader.
29757
29758Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
29759
29760 * config/vr5000.exp: New file.
29761
29762 * config/monitor.exp(gdb_target_monitor): Add pattern for
29763 "Ending remote" to detect errors in connecting.
29764
29765 * gdb.base/setshow.exp: Add .* within auto language test.
29766
29767 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
29768 target feature.
29769
29770 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 29771 and reboot the board if necessary.
c906108c
SS
29772
29773 * gdb.base/setvar.exp(test_set): Handle multiple prints within
29774 a set of tests. Remove print.* from the patterns being checked.
29775
29776Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
29777
29778 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
29779 refer to gdb_spawn_id.
29780
29781 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
29782 longer used.
29783 * config/sparclet.exp: Ditto.
29784 * config/sparclet-old.exp: Ditto.
29785 * config/slite.exp: Ditto.
29786 * config/sim.exp: Ditto.
29787 * gdb.base/funcargs.exp: Ditto.
29788
29789 * lib/gdb.exp:Remove references to gdb_spawn_id.
29790 (gdb_expect): Move to remote.exp.
29791
29792Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
29793
29794 * config/monitor.exp: Detect the "Couldn't establish connection"
29795 message from GDB.
29796
29797Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
29798
29799 * gdb.base/bitfields.exp: Use runto instead of explicit
29800 gdb_run_cmd/gdb_expect sequences.
29801
29802 * gdb.base/break.exp(text_next_with_recursion): Add match for
29803 gdb_expect call.
29804
29805 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
29806 We also need to handle the "A program is being debugged already"
29807 prompt from gdb. Use gdb_test to set the baud rate.
29808
29809 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
29810 to 20000. Really. I mean it.
29811
29812Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29813
29814 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
29815 fails. If suppress_flag is set, skip perror message about not
29816 being able to send to GDB.
c906108c 29817 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 29818 GDB.
c906108c
SS
29819 (gdb_expect): If suppress_flag is set, always fail immediately.
29820 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
29821 (gdb_init): Call gdb_stop_suppressing_tests.
29822 (default_gdb_exit): Ditto.
29823 (default_gdb_start): Ditto.
29824
29825 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 29826 gdb_stop_suppressing_tests as appropriate.
c906108c 29827 * gdb.base/break.exp: Ditto.
889bf7c5 29828 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
29829 * gdb.base/commands.exp: Ditto.
29830 * gdb.base/exprs.exp: Ditto.
889bf7c5 29831 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
29832 * gdb.base/list.exp: Ditto.
29833 * gdb.base/recurse.exp: Ditto.
889bf7c5 29834 * gdb.base/scope.exp: Ditto.
c906108c
SS
29835 * gdb.base/structs.exp: Ditto.
29836 * gdb.c++/inherit.exp: Ditto.
29837
29838Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
29839
29840 * config/vr4300.exp: New file.
29841
99707966 29842 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 29843
99707966 29844 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
29845
29846Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
29847
29848 * lib/gdb.exp(gdb_init): New function.
29849
29850 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 29851 for each individual variable set.
c906108c
SS
29852
29853 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
29854 name.
29855
29856 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
29857
29858 * gdb.base/scope.exp: Use gdb_test.
29859
29860 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
29861 aborting; the testsuite driver will do that for us (see
29862 gdb_finish). Also, use gdb_test in a few more places.
29863
29864Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
29865
29866 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
29867
29868Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
29869
29870 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
29871 and "add_tests" are not at the same address.
29872
29873Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
29874
29875 * gdb.base/ptype.exp: Use gdb_test.
29876
29877Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
29878
29879 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
29880 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
29881 left in. No longer expect them to fail.
29882
29883 * gdb.stabs/*.mt; Deleted, no longer used.
29884 * gdb.stabs/configure.in: Remove references to target makefile
29885 frags.
29886 * gdb.stabs/configure: Rebuilt.
29887
29888 * gdb.disasm/*.mt: Deleted, no longer used.
29889 * gdb.disasm/configure.in: Remove references to target makefile
29890 frags. Use "sh3.s" as the unique filename for this directory.
29891 * gdb.disasm/configure: Rebuilt.
29892
29893 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
29894 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
29895 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
29896
29897Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
29898
29899 * config/udi.exp: Use mondfe,name instead of remote_host.
29900
29901Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
29902
29903 * gdb.base/watchpoint.exp: Don't expect a failure when calling
29904 a function with a watchpoint enabled on the mn10200.
29905
29906 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
29907 before trying to create it!
29908
29909Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
29910
29911 * config/vx.exp: Use hostname instead of netport.
29912
29913 * config/vxworks.exp: New file.
29914
29915 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
29916
29917 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 29918 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
29919 occurs.
29920
29921 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
29922 $gdb_spawn_id directly.
29923 (gdb_run_cmd): Try _start as well as start. Use the target feature
29924 gdb,start_symbol as the symbol to start from when jumping.
29925
29926Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
29927
29928 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
29929 redundant) test.
29930
29931 * gdb.base/recurse.exp: Relax final value test for 'b' so that
29932 it doesn't lose for 16bit integer systems.
29933
29934Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
29935
29936 * gdb.fortran/types.exp: If the target doesn't support "double"
29937 data types, then expect "real" types to only be 4 bytes.
29938
29939 * gdb.c++/virtfunc.exp: Expect failure for virtual function
29940 call tests if the target doesn't support inferior function calls.
29941
29942 * gdb.base/printcmds.exp: Allow minor deviation in FP values
29943 in printf tests.
29944
29945Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
29946
29947 * gdb.base/help.exp: Disable "help set", "help show", and
29948 "help support". Simplify regexp for "help stack".
29949
29950 * gdb.base/default.exp: Set match_max to 5000 and the timeout
29951 to 60 seconds. Temporarily set match_max to 15000 around the
29952 "info copying" test.
29953
29954 * gdb.base/nodebug.exp: Don't try to do an inferior function
29955 call if the target doesn't support them.
29956 * gdb.base/printcmds.exp: Likewise.
29957 * gdb.base/setvar.exp: Likewise.
29958 * gdb.base/structs.exp: Likewise.
29959 * gdb.c++/templates.exp: Likewise.
29960 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
29961
29962 * gdb.base/recurse.exp: Enable for the mn10200.
29963
29964 * configure.in: Do configure gdb.stabs directory for *-*-elf
29965 targets.
29966 * configure: Rebuilt.
29967
29968 * gdb.base/break.exp: Check for gdb,noresults before testing
29969 exit status and/or results from the target.
29970 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
29971 * lib/gdb.exp: Remove old (now bogus) initialization of
29972 noinferior, noargs, noresults and nosignals.
29973
29974Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
29975
29976 * config/sh.exp: New file.
29977
29978 * config/slite.exp: Try to connect multiple times to the board
29979 before rebooting. Only send a "monitor run" if need_monitor_run
29980 is set.
29981
29982 * gdb.base/break.exp: Don't do the "stub continue" test if
29983 the target has gdb_stub set.
29984
29985 * gdb.base/callfuncs.exp: Increase the timeout.
29986
29987 * gdb.base/interrupt.exp: Don't even try to compile the testcase
29988 if the target has gdb,noinferiorio set.
29989
29990 * gdb.base/list.exp: Increase match_max to 10000 characters.
29991
29992 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
29993
29994 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
29995 target.
29996
29997 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
29998
29999Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
30000
30001 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
30002 trying to delete the copy of gdb. Catch the file delete so we
30003 don't die if the delete fails; also, the file should be copied to
30004 the host, not to the build.
c906108c
SS
30005
30006Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
30007
30008 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 30009 parenthesis in case it contains multiple regexps separated
c906108c
SS
30010 with |.
30011
30012 * gdb.base/watchpoint.exp: Use gdb_test.
30013 * gdb.base/default.exp: Ditto.
30014
30015Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
30016
99707966 30017 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 30018
c906108c
SS
30019 * gdb.base/scope.exp: Use gdb_test.
30020 * gdb.c++/classes.exp: Ditto.
30021 * gdb.c++/inherit.exp: Ditto.
30022
30023Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
30024
30025 * gdb.base/crossload.exp: Don't use execute_anywhere, use
30026 remote_exec instead.
30027 * gdb.base/corefile.exp: Don't be ridiculous.
30028 * gdb.base/*.c: Add missing stub invocations.
30029
30030Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
30031
30032 * config/slite.exp: Miscellaneous fixes.
30033
30034 * lib/gdb.exp: Fix runto.
30035
30036 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
30037 the target.
30038
30039 * gdb.base/watchpoint.exp: Fix regexp.
30040
30041 * lib/gdb.exp(default_gdb_exit): Add a catch to the
30042 close and wait commands, as the descriptor may now be
30043 invalid. Always call "remote_close host".
30044
30045Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
30046
30047 Major rewrite for testsuite revision.
d63a86f8 30048
c906108c
SS
30049 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
30050 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
30051 instead of relying on spawn_id to always contain a valid
30052 spawn id.
30053 (get_compiler_info): New procedure to build the ${binfile}.ci
30054 file, instead of replicating this in N different places.
30055 (gdb_compile): New procedure.
d63a86f8 30056
c906108c 30057 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
30058 appropriate arguments) instead of compile. Use gdb_test in a lot
30059 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
30060 at the start of a testcase, as this is no longer done magically.
30061
30062 config/*-gdb.exp: Rename without the -gdb suffix.
30063
30064 config/mips.exp: Use remote_close instead of exit_remote_shell.
30065 config/monitor.exp: Use target_info instead of looking at
30066 baud, timeout, etc.
30067 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
30068
30069Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30070
30071 * gdb.c++/templates.exp (test_ptype_of_templates),
30072 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
30073 Update expect patterns for destructors and assignment operators
30074 to match corresponding c-typeprint.c changes.
30075 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
30076 to destructor breakpoint test, GDB should be able to set the
30077 destructor breakpoint without specifying arguments.
30078
30079Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
30080
30081 * gdb.threads/pthreads.exp: Change result for failure to compile due
30082 to lack of pthreads runtime support from an error to simply an
30083 unsupported test, per dejagnu standards.
30084
30085Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30086
30087 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
30088 where GDB exits to reduce pattern match time.
30089 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
30090
30091 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
30092
dc96c6c7 30093Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
30094
30095 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
30096 * gdb.base/default.exp: ditto.
30097 * gdb.base/nodebug.exp: ditto.
30098 * gdb.base/printcmds.exp: ditto.
30099 * gdb.base/ptype.exp: ditto.
30100 * gdb.base/setvar.exp: ditto.
30101 * gdb.base/structs.exp: ditto.
30102 * gdb.base/setshow.c: Guard against uninitialized values of argc.
30103
30104Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
30105
30106 * configure, */configure: Rebuild with autoconf 2.12.
30107
30108Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
30109
30110 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
30111 use new i*86-pc-linux*-gnu quads.
30112 * gdb.base/corefile.exp: Ditto.
30113 * gdb.base/signals.exp: Ditto.
30114 * gdb.base/sigall.exp: Ditto.
30115 * gdb.base/interrupt.exp: Ditto.
30116
30117 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
30118 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
30119 RedHat 4.0.
d63a86f8 30120
c906108c 30121 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
30122 linux. This allows the test case to at least compile on latest
30123 linux, but still not run due to missing the threads runtime library.
c906108c
SS
30124
30125Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30126
30127 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
30128 directory to search gdb directory. Accept and step over conditional
30129 stack alignment code. Consume $prompt in failure cases.
30130 Reset timeout to $oldtimeout instead of some arbitrary value.
30131 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
30132 timeout problems with infinite stack backtraces.
30133 * gdb.base/ptype.exp (ptype struct link, union tu_link):
30134 Accept function parameters for linkfunc member.
30135
30136Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
30137
30138 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
30139 (CXXFLAGS): Remove, unreferenced.
30140 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
30141 previous -B options and also add -B option to pick up cross compiled
30142 runtime.
c906108c
SS
30143 (TARGET_INCLUDES): Add for -I options and add code to initialize when
30144 doing cross compiles.
30145 (target_alias): Declare global.
30146 (xgcc): Set variable to full path of gcc in build tree. Use findfile
30147 to verify that gcc exists in build tree, and if so set CC to that
30148 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 30149
c906108c
SS
30150Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
30151
30152 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
30153 ptype test for anonymous union. Fixup testcase to match
30154 current gcc debug output.
30155
30156Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
30157
30158 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
30159 force argument to an unsigned long type.
30160
30161Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
30162
30163 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 30164 tests and anonymous union print/ptype tests.
c906108c
SS
30165 * gdb.base/list.exp (test_forward-search): Increase timeout by
30166 5 minutes for the "search extremely long line" case.
30167 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
30168 completely optional and that the pass/fail messages use the command as
30169 the message if that third arg is a null string.
30170 (gdb_test_exact): Arrange that a null string pattern means match a
30171 null string output rather than any output, which might include random
889bf7c5 30172 errors.
c906108c
SS
30173 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
30174 backtrace test.
30175 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
30176 always failing and failure is now exposed by gdb.exp changes.
30177
30178Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
30179
30180 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
30181 weren't being noted.
30182
30183Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30184
30185 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
30186 * gdb.stabs/weird.exp: Remove v_comb xfails.
30187
dc96c6c7 30188Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
30189
30190 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 30191 list.exp scope.exp watchpoint.exp]
c906108c 30192 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 30193
dc96c6c7 30194Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
30195
30196 * config/monitor.exp: Increase download timeout to 1000 seconds.
30197
dc96c6c7 30198Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
30199
30200 * config/m32r.exp: Increase timeout to 120 seconds.
30201
30202Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
30203
30204 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
30205 and accept older ordering as obsolescent gcc or gdb.
30206 * gdb.c++/templates.exp: Ditto.
30207 * gdb.c++/virtfunc.exp: Ditto.
30208
30209Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
30210
30211 * gdb.base/coremaker.c: Add code to mmap some data so we
30212 can check that it ends up in the core file.
30213 * gdb.base/corefile.exp: Add test to read mmapped data
30214 from core file.
30215
dc96c6c7 30216Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
30217
30218 * config/m32r.exp: New file.
30219
30220Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
30221
30222 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
30223 that cflags can contains -gstabs, and work correctly for other tests.
30224
dc96c6c7 30225Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
30226
30227 * gdb.base/setshow.exp: New file, tests show and set.
30228 * gdb.base/setshow.c: New file, tests show and set.
30229 * gdb.base/help.exp: Add test for help set|show annotate.
30230 * gdb.base/default.exp: Add test for set|show annotate.
30231
30232Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
30233
30234 * testsuite/gdb.base/break.exp: Make backtrace from factorial
30235 errors unique.
30236 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
30237 explicitly.
30238
30239Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
30240
30241 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
30242 and width commands. This is done elsewhere.
30243 * (gdb_start): Don't call gdb_start_sim here. That's already
30244 done in gdb_load. This fixes lots of failures in default.exp.
30245
30246Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
30247
30248 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
30249 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
30250 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
30251 in the same we we treat other failures (since it may be an expected
889bf7c5 30252 condition), rather than as an error.
c906108c
SS
30253 * gdb.base/signals.exp (test_handle_all_print): Revert back to
30254 old test format.
30255
30256Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
30257
30258 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
30259 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 30260 twice. Nuke the duplicates.
c906108c 30261 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 30262 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
30263 Remove config.h along with other config files.
30264
30265Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
30266
30267 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
30268 "p func1 ()" and note that rests of tests are skipped.
30269 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 30270 setup_xfails for "print func2::coremaker_local".
c906108c
SS
30271 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
30272 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
30273 affected by the previous run test.
30274 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
30275 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
30276 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
30277 "pass int powerset tuple" and "pass modeless int powerset tuple".
30278 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
30279 "real write 4" and "real write 8".
30280 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 30281 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
30282 "print \$i after tuple assign 2", and
30283 "print vs2 after tuple assign 2".
30284 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
30285 meaningful error message and return -1 so the caller can
30286 suppress further tests and avoid a cascade of errors.
d63a86f8 30287
c906108c
SS
30288Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
30289
30290 * gdb.base/a1-selftest.exp: Tweak tests to account for new
30291 format for printing version.
30292 * gdb.base/default.exp: Ditto.
30293 * gdb.base/interrupt.exp: Fix problem with cascade of
30294 errors if child process dies while calling a function.
d63a86f8 30295
c906108c
SS
30296Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
30297
30298 * Makefile.in (VPATH): Add
30299 * Makefile.in (Makefile, config.status): Fix rules so things get
30300 remade when necessary.
30301
30302Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
30303
30304 * Makefile.in (just-check): Add path to sibling expect dir
30305 to environment variable specified by RPATH_ENVVAR.
30306
30307Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
30308
30309 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
30310 (just-check): Add shared library paths for libstdc++, tk,
30311 tcl, bfd, and opcodes to the environment variable specified
30312 in RPATH_ENVVAR.
30313 * configure.in: Add support to recognize --enable-shared flag
30314 and generate correct value for RPATH_ENVVAR.
30315 * configure: Regenerated with autoconf.
30316
30317Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
30318
30319 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 30320 include all osf versions.
c906108c
SS
30321 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
30322 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
30323 when target is linux. When failing to build pthreads test
30324 executable, give more meaningful message.
30325 * gdb.threads/pthreads.c: Hpux also uses old definition of second
30326 arg for pthread_create.
d63a86f8 30327
c906108c
SS
30328Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
30329
30330 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 30331 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 30332 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 30333 and -lpthreads (everybody else).
c906108c
SS
30334 (test_startup): Fail gracefully if threads are not supported.
30335 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
30336 "p/c array_index("abcdef",2)" when not gcc compiled.
30337 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
30338 "print func2::coremaker_local" when not gcc compiled.
30339 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
30340 "ptype on opaque struct tagname (statically)",
30341 "ptype on opaque struct tagname (dynamically) 1", and
30342 "ptype on opaque struct tagname (dynamically) 2"
30343 for not compiled with gcc.
30344 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
30345 backtrace when compiled with gcc.
d63a86f8 30346 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
30347 than always return success.
30348
30349Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
30350
30351 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
30352
30353Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
30354
30355 * gdb.base/structs.exp: Undo last change.
30356
30357Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
30358
30359 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
30360 encapsulate all the steps/nexts done during self test, starting
30361 at main, and makes them less sensitive to optimization issues.
30362 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
30363 signal handler" test.
30364 * gdb.threads/pthreads.exp: Only run this for native configs.
30365 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
30366 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
30367 tests.
30368 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
30369 for "runto test_calls(void)" test.
d63a86f8 30370
c906108c
SS
30371Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
30372
30373 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
30374 and don't expect address info in breakpoint confirmations.
30375
30376Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
30377
30378 * gdb.base/list.exp (test_forward_search): Increase timeout
30379 temporarily by 60 seconds for searching extremely long line,
889bf7c5 30380 and then reset to old value when done. Increase expect input
c906108c
SS
30381 buffer to 10000.
30382
30383Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
30384
30385 * gdb.base/list.exp (test_forward_search): Fix to handle very
30386 long source line without overflowing expect's input buffer.
30387
30388Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
30389
30390 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
30391 "buffer_full".
30392
30393 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
30394 "buffer_full".
30395
30396 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
30397 "buffer_full".
30398
30399 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
30400 "buffer_full".
30401
30402Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
30403
30404 * configure.in (configdirs): Add gdb.threads.
30405 * configure: Regenerated with autoconf.
30406 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
30407 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
30408 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 30409
c906108c
SS
30410Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
30411
30412 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
30413
30414Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
30415
30416 * gdb.base/signals.exp (test_handle_all_print): Test separately for
30417 each signal's status in the output of "handle all print".
30418 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
30419 the \r\n sequence that immediately precedes the gdb prompt.
30420 * gdb.base/a1-selftest.exp: Save original timeout and restore
30421 after test.
30422
30423Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
30424
30425 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
30426 symbol.
30427
30428Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
30429
30430 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
30431
30432Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
30433
30434 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
30435 timeout by 60 seconds.
30436
30437Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
30438
30439 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
30440 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
30441 error return.
30442
30443Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
30444
30445 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
30446 gdb initialization, also report how long dejagnu waited. Restore
30447 old timeout before doing error return. Temporarily increase timeout
889bf7c5 30448 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
30449
30450Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
30451
30452 * lib/gdb.exp: Report timeout value for verbosity level 2.
30453 * config/gdbserver.exp: Ditto.
30454 * config/hppro.exp: Ditto.
30455 * config/mips-gdb.exp: Ditto.
30456 * config/monitor.exp: Ditto.
30457 * config/netware.exp: Ditto.
30458 * config/sim-gdb.exp: Ditto.
30459 * config/slite-gdb.exp: Ditto.
30460 * config/udi-gdb.exp: Ditto.
30461 * config/unix-gdb.exp: Ditto.
30462 * config/vx-gdb.exp: Ditto.
30463 * gdb.base/a1-selftest.exp: Ditto.
30464 * gdb.base/a2-run.exp: Ditto.
30465 * gdb.base/break.exp: Ditto.
30466 * gdb.base/corefile.exp: Ditto.
30467 * gdb.base/list.exp: Ditto.
30468 * gdb.base/recurse.exp: Ditto.
30469 * gdb.base/scope.exp: Ditto.
30470 * gdb.base/signals.exp: Ditto.
30471
30472Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
30473
30474 * gdb.threads/Makefile.in (docdir): Removed.
30475
30476Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
30477
30478 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 30479 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 30480 @srcdir@.
d63a86f8 30481 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
30482 autoconf 2.5 or higher.
30483 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
30484
30485Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
30486
30487 * configure: Regenerated.
30488 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
30489 avoid name clashes with SunOS headers.
30490
30491Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
30492
30493 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
30494
30495Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
30496
30497 * gdb.base/callfuncs.exp: Finish last change -- make sure the
30498 prototype information ends up in the compiler info file.
30499
30500Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
30501
30502 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
30503 attempting to regenerate it. Eliminate use of a temporary file
30504 and just generate the info file directly. Source it immediately,
30505 for consistency of use.
30506 * gdb.base/corefile.exp: Ditto
30507 * gdb.base/exprs.exp: Ditto.
30508 * gdb.base/funcargs.exp: Ditto.
30509 * gdb.base/langs.exp: Ditto.
30510 * gdb.base/list.exp: Ditto.
30511 * gdb.base/mips_pro.exp: Ditto.
30512 * gdb.base/nodebug.exp: Ditto.
30513 * gdb.base/opaque.exp: Ditto.
30514 * gdb.base/ptype.exp: Ditto.
30515 * gdb.base/scope.exp: Ditto.
30516 * gdb.base/setvar.exp: Ditto.
30517 * gdb.base/signals.exp: Ditto.
30518 * gdb.base/whatis.exp: Ditto.
30519 * gdb.c++/templates.exp: Ditto.
30520 * gdb.c++/virtfunc.exp: Ditto.
30521 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 30522 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
30523
30524Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30525
30526 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
30527 it got fixed by the recent lookup_minimal_symbol_by_pc change.
30528 Increase timeout, a lot of single stepping might be needed if the
30529 target has no hardware watchpoints.
30530
30531Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
30532
30533 * gdb.base/break.exp: Ignore compiler warnings when compiling
30534 break.c.
30535 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
30536 * gdb.base/default.exp: Add h8300 xfails. Handle messages
30537 from remote-sim.
30538 * gdb.base/exprs.exp: Add h8300 xfails.
30539 * gdb.base/funcargs.exp: Likewise.
30540 * gdb.base/nodebug.exp: Likewise.
30541 * gdb.base/printcmds.exp: Likewise.
30542 * gdb.base/ptype.exp: Likewise.
30543 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
30544 h8300 xfails.
d63a86f8 30545 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
30546 on the h8300.
30547 * gdb.base/funcargs.c: Explicitly make last constant argument to
30548 call_after_alloca_subr an unsigned long type.
30549 * gdb.base/return.c: Include stdio.h.
30550
30551Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
30552
30553 * config/abug.exp: New file for the older Motorola Bug monitor
30554 that runs on the mvme13x series VME boards.
30555 * config/monitor.exp: Use the new config array for target settings
30556 if they exist.
30557
30558Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
30559
30560 * sim-gdb.exp: Make the SH simulator allocate less space when
30561 it is targeted.
30562
30563Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
30564
30565 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
30566 test.
30567
30568Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
30569
30570 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
30571 "rs6000-*-*" for "list function in include file" when gcc compiled.
30572 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
30573 for "p ctable1[120]".
30574 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
30575 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
30576 Remove setup_xfail for "rs6000-*-*" for
30577 "print 'scope0.c'::filelocal before run".
30578 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
30579 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
30580 since some compilers don't allow both options to be given
30581 on the same command line. Create object file and move it.
d63a86f8 30582
c906108c
SS
30583Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
30584
30585 * gdb.base/corefile.exp: Always regenerate the core file, since
30586 we always regenerate the coremaker program. Detect special case
30587 where registers cannot be read from core file.
d63a86f8 30588
c906108c
SS
30589Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
30590
30591 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
30592 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
30593 * gdb.c++/templates.exp: Only match on basename of file since
30594 some formats like xcoff don't encode directory information.
30595 * gdb.stabs/weird.exp: Use the right sed script for powerpc
30596 and rs6000 AIX xcoff targets.
30597 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
30598 * configure: Regenerate.
30599 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
30600 here, rather than in distclean.
d63a86f8 30601
c906108c
SS
30602Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
30603
30604 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
30605 defined, and use it to compile the test case with -O2. The
30606 native compilation still uses no optimization.
30607 * gdb.base/mips_pro.c: Remove inline assembly code since
30608 it is compiled PIC by default, which results in assembler
30609 warnings that make the testsuite think the compilation
30610 was unsuccessful.
30611
30612Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
30613
30614 * gdb.c++/misc.exp: Add note to message for
30615 "print s.a for foo struct" that this is a known gcc 2.7.2
30616 and earlier bug.
30617
30618Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
30619
30620 * gdb.base/break.exp: Fix pattern for matching "Delete all
30621 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
30622 setup_xfail for deleting all breakpoints test. Fix various
30623 timeout messages to include "(timeout)".
30624 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
30625 for "p t_float_values2(3.14159,float_val2)".
30626 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
30627 for "continue to call2g" when gcc compiled.
30628 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
30629 "up to foo in langs.exp", "show language at foo in langs.exp",
30630 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
30631 and "show language at fsub in langs.exp".
30632 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
30633 "list line 1 in include file", "list message for lines past EOF",
30634 "list function in include file", "list list0.h:foo", and
30635 "list filename:function; nonexistant function".
30636 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
30637 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
30638 and "ptype t_char_array" to be for native cc only.
d63a86f8 30639
c906108c
SS
30640Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
30641
d63a86f8 30642 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 30643 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 30644 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
30645
30646Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
30647
30648 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
30649 "bt in signals.exp". This problem only appears when running
30650 the testsuite, and then only intermittently.
30651
30652Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
30653
30654 * gdb.base/return.exp (return_tests): Differentiate between
30655 two tests of continuing.
30656
30657Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
30658
30659 * */Makefile.in (maintainer-clean): Remove config.log.
30660 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
30661 * gdb.c++/Makefile.in (PROGS): Add inherit.
30662 (clean): Remove *.ci.
30663
30664Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
30665
30666 * gdb.c++/misc.cc: Add test code from Mike Stump.
30667 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
30668
30669Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
30670
30671 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
30672 to "alpha-*-osf2*" and add comment.
30673 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
30674 setup_xfail for "step over execarg initialization" and
30675 "step over corearg initialization".
c906108c
SS
30676 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
30677 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
30678 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 30679 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
30680 "print func2::coremaker_local", and "backtrace in corefile.exp".
30681 * gdb.base/signals.exp: Build and source signals.ci.
30682 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
30683 to be for gcc only.
30684 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 30685
c906108c
SS
30686Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30687
30688 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
30689 Feb 3 procfs.c change.
30690
30691Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
30692
30693 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
30694
30695Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
30696
30697 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
30698 from dejagnu's apparent default of 10 seconds, which gives random
30699 results when running the tests over NFS on moderately loaded systems.
30700 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
30701
30702Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
30703
30704 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
30705 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 30706 result reports.
c906108c
SS
30707
30708Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
30709
30710 * configure.in (CY_AC_PATH_TCLH): Remove.
30711 * configure: Regenerate.
30712
30713Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
30714
30715 * gdb.c++/Makefile.in (clean): Add missing '{'.
30716
30717Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
30718
30719 * lib/gdb.exp: Provide a default value for noinferior.
30720
30721 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
30722 Load libgloss.exp.
30723
30724Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
30725
30726 * gdb.disasm/hppa.exp: Compile directly into an executable, use
30727 the executable, not the .o to run the tests from.
30728
30729Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
30730
30731 * gdb.base/break.exp: Don't test for program exit or exit status
30732 if $noresults if nonzero.
30733 * gdb.base/langs.exp: Likewise.
30734 * gdb.base/watchpoint.exp: Likewise.
30735
30736 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
30737 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
30738 trying to compile the testcase.
30739
30740Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
30741
30742 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
30743 * gdb.base/signals.exp (continue to handler): Likewise.
30744
30745Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
30746
30747 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
30748
30749 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
30750
30751Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
30752
30753 * gdb.base/corefile.exp: Recognize "not found" as failure
30754 when trying to determine if a core file was generated.
30755 If no core file was generate the first time, try again without
30756 the ulimit -c to work around braindamaged shells.
30757
30758Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
30759
30760 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
30761 [] tests with "test" and enclose string in quotes.
30762 * gdb.stabs/configure: Rebuild
d63a86f8 30763
c906108c
SS
30764Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
30765
30766 Changes in sync with expect:
30767 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
30768 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
30769 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
30770 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
30771 argument to AC_REQUIRE.
30772 * configure: Regenerated.
30773
30774Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
30775
30776 * gdb.base/corefile.exp: When generating a core, discard any
30777 error messages about ulimit not found and the "core dumped"
30778 message from the shell that runs the coredumper.
30779
30780Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
30781
30782 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
30783
30784 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
30785 which sed script to run. Expect failure for v_comb test
30786 on PA targets too.
d63a86f8 30787
c906108c
SS
30788Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
30789
30790 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 30791 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
30792
30793Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
30794
30795 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
30796 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 30797 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
30798 * lib/gdb.exp (default_gdb_start): Fix typo.
30799 * gdb.base/corefile.exp: Allow "Core was generated by ..."
30800 messages to not include the full program name that caused
30801 the core dump since some systems (such as solaris) apparently
30802 truncate this path to about 80 characters.
30803 When generating a core file first try increasing the core file
30804 size limit to unlimited since some systems may default it to
30805 zero, and it is harmless to try it. Move the test for failing
30806 to generate a core file to where it will actually get executed.
30807 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
30808 new gdb result from g++ debug info improvements and make old
30809 pattern obsolescent. Also account for size_t differences
30810 (may be int or long).
30811 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
30812 initialization before function call is placed in the delay slot
30813 and thus appears to be skipped over by commands such as "next".
30814
30815Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
30816
30817 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
30818
30819Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
30820
30821 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
30822 input source file; fix code to compile test to deal with this
30823 convention.
30824 * gdb.c++/*.exp: Likewise.
30825
30826Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
30827
30828 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
30829 "bt in signals.exp".
30830
30831Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
30832
30833 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
30834 "step over execarg initialization" and
889bf7c5 30835 "step over corearg initialization".
c906108c
SS
30836
30837Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
30838
30839 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
30840 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
30841
30842Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
30843
30844 From Rob Savoye (rob@poseidon.cygnus.com)
30845 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
30846 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
30847 configure.in}, gdb.disasm/{Makefile.in, configure.in},
30848 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
30849 configure.in}: Major reworking for autoconfig.
c906108c
SS
30850 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
30851 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 30852 New files.
c906108c
SS
30853 * config/unix-gdb.exp: Make GDB global.
30854 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
30855 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
30856 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
30857 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
30858 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
30859 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 30860 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
30861 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
30862 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
30863 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
30864 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 30865 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
30866 to returns as necessary, arrange for test to compile own testcase
30867 executable.
c906108c 30868 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 30869
c906108c
SS
30870Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
30871
30872 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 30873 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
30874 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
30875 "backtrace through signal handler".
30876
30877Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30878
30879 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
30880 continuing from a job control stop signal.
30881 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
30882
30883Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
30884
30885 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
30886 * gdb.base/corefile.exp: Likewise.
30887 * gdb.base/funcargs.exp: Likewise.
30888
30889Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
30890
30891 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
30892 * config/monitor.exp: Add support for setting baud rate.
30893
30894Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
30895
30896 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
30897 i*86-*-linux* xfails for "backtrace through signal handler".
30898 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
30899 "print func2::coremaker_local".
30900 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 30901 alpha-dec-osf2* xfail for
c906108c
SS
30902 "delete all breakpoints when none".
30903
30904Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
30905
30906 * gdb.base/break.exp: Change test that deletes all breakpoints
30907 when no user breakpoints are installed. A post 4.15 change
30908 causes gdb to no longer prompt in this case.
30909
30910Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
30911
30912 * gdb.base/return.exp (return_tests): Change xfail for test
30913 "correct value returned double test" to stop xfailing at
30914 Solaris 2.5. Apparently the bug has been fixed.
30915
30916Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
30917
30918 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
30919 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
30920
30921Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
30922
30923 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
30924 * gdb.disasm/hppa.s: Corresponding changes.
30925
30926Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
30927
30928 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
30929 makefile fragment.
30930 * config/mt-hpux: Deleted.
30931
30932Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
30933
d63a86f8 30934 * Many files: When warning about suppressed tests due to a
c906108c
SS
30935 nonexistant test binary, avoid incrementing the warning count.
30936
30937Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
30938
30939 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 30940
c906108c
SS
30941Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30942
30943 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
30944 "sparc-*-solaris2*".
30945
30946Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30947
30948 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
30949 Add global and local variables and initialize them.
30950 * gdb.base/corefile.exp: Test correct mapping of corefile sections
30951 by printing variables. Remove rs6000 and powerpc xfails, BFD now
30952 extracts the file name and terminating signal from the core file.
30953 * TODO: Remove note about tests for correct mapping of corefile.
30954 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
30955 from optimizing it away.
30956 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
30957 handles common blocks.
30958
30959Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
30960
30961 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
30962 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
30963
30964Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
30965
30966 * Makefile.in (maintainer-clean): New target, synonym for
30967 realclean.
30968 * gdb.base/Makefile.in (maintainer-clean): Likewise.
30969 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
30970 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
30971 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
30972 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
30973 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
30974
30975Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
30976
30977 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
30978 xfails when not gcc compiled for "print foo::funclocal".
30979 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
30980 "print foo::funclocal at foo",
30981 "print 'scope1.c'::foo::funclocal at foo",
30982 "print foo::funclocal_bss at foo",
30983 "print 'scope1.c'::foo::funclocal_bss at foo",
30984 "print foo::funclocal_ro at foo",
30985 "print 'scope1.c'::foo::funclocal_ro at foo",
30986 "print bar::funclocal at foo" and
30987 "print 'scope1.c'::bar::funclocal at foo".
30988 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
30989 gcc compiled for "print foo::funclocal at bar".
30990 Expand all messages to ensure that they identify that
30991 the test is at bar().
30992 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
30993 gcc compiled for:
30994 "ptype on opaque struct pointer (statically)",
30995 "ptype on opaque struct tagname (statically)",
30996 "ptype on opaque struct pointer (dynamically) 1",
30997 "ptype on opaque struct tagname (dynamically) 1",
30998 "ptype on opaque struct pointer (dynamically) 2" and
30999 "ptype on opaque struct tagname (dynamically) 2
31000 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
31001 gcc compiled for:
31002 "p datalocal"
31003 "whatis datalocal",
31004 "ptype datalocal",
31005 "p bsslocal",
31006 "whatis bsslocal", and
31007 "ptype bsslocal".
31008 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
31009 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
31010 when not gcc compiled.
31011 * gdb.base/funcargs.exp (float_and_integral_args): Add
31012 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
31013 compiled.
31014 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
31015 "backtrace from call6a" when not gcc compiled.
31016 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
31017 "backtrace from call7a" when not gcc compiled.
31018 * gdb.base/callfuncs.exp (do_function_calls):
31019 Add "hppa*-*-hpux*" xfail when not gcc compiled for
31020 "p t_char_array_values(char_array_val2,char_array_val1)",
31021 "p t_char_array_values(char_array_val1,char_array_val2)",
31022 "p t_char_array_values("carray 1","carray 2")",
31023 "p t_char_array_values("carray 1",char_array_val2)",
31024 "p t_char_array_values(char_array_val1,"carray 2")",
31025 "p sum_args(1,{2})",
31026 "p sum_args(2,{2,3})",
31027 "p sum_args(3,{2,3,4})",
31028 "p sum_args(4,{2,3,4,5})"
31029 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
31030 "backtrace in corefile.exp" when not gcc compiled.
31031
31032Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31033
31034 * gdb.base/signals.exp: Rewrite `handle all print' test as
31035 a procedure. Accept blanks or TABs as whitespace, increase
31036 timeout and expect input buffer size for the large output
31037 from the command. Remove "i*86-*-bsdi2.0" xfail.
31038
31039Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31040
31041 * gdb.base/setvar.exp: Add new testcases for truncation when
31042 assigning invalid values to bitfields.
31043
31044Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
31045
d63a86f8 31046 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
31047 mips-sgi-irix* xfail for
31048 "call inferior func with struct - returns char *"
31049 and fix test so that an optional (unsigned char *) cast is
889bf7c5 31050 accepted in the result.
c906108c
SS
31051
31052Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
31053
31054 * gdb.base/funcargs.exp (float_and_integral_args): Remove
31055 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
31056 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
31057 * gdb.base/signals.exp: Remove duplicate "handle all print" test
31058 that accidentally got checked in.
31059
31060Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
31061
d63a86f8 31062 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
31063 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
31064 compiled test.
31065 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
31066 Add mips-sgi-irix5* xfail for not gcc compiled.
31067 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
31068 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
31069 compiled for "p top", "whatis top", "p middle", and "whatis
31070 middle".
c906108c
SS
31071 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
31072 "whatis signed char" for not gcc compiled.
31073 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
31074 "set variable signed char=-1 (-1)" and
31075 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
31076 * gdb.base/funcargs.exp (float_and_integral_args):
31077 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
31078 Add mips-sgi-irix* xfail when not gcc compiled for
31079 "continue to call2b".
31080 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
31081 "continue to call2g".
6fdff2c5
PA
31082 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
31083 compiled for "backtrace from call6a"
31084 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
31085 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
31086 when not gcc compiled for "backtrace from call7a".
c906108c
SS
31087 (localvars_after_alloca): Fix gdb_test cmds for
31088 "print * after runto ...".
31089 Remove rs6000-*-* xfails for
31090 "print i after runto localvars_after_alloca" and
31091 "print l after runto localvars_after_alloca"
31092 for all compilers.
31093 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 31094 when not compiled with gcc, for:
c906108c
SS
31095 "print signed char == (minus)",
31096 "print signed char != (minus)",
31097 "print signed char < (minus)",
31098 "print signed char > (minus)".
31099 * gdb.base/callfuncs.exp (do_function_calls):
31100 Add mips-sgi-irix* xfail, when compiled with native compiler, for
31101 "call inferior func with struct - returns char *".
d63a86f8 31102 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
31103 "correct value returned double test" to include Solaris 2.4.
31104 * gdb.base/funcargs.exp (float_and_integral_args):
31105 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 31106
c906108c
SS
31107Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31108
31109 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
31110 enumeration bitfields if compiling with GNU C.
31111 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
31112 to empty' prompt.
31113
31114Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
31115
31116 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
31117 test for PRO targets.
31118
31119 * gdb.base/funcargs.exp: Avoid ever setting more than 8
31120 breakpoints in the inferior at any given time by making
31121 two groups of breakpoints for call2*, call6* and call7*
31122 tests.
31123
31124Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31125
31126 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
31127 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
31128 from optimizing it away.
31129 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
31130 "call inferior func with struct".
31131
31132Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
31133
31134 * configure.in: Only configure gdb.chill for particular targets.
31135
31136Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
31137
31138 * gdb.base/Makefile.in: Add action to .c.o transformation
31139 rule that generates a .ci file for each .o file and remove
31140 explicit .c.o rules except for callfuncs.o.
31141 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
31142 generates a .ci file for each .o file and remove explicit
31143 .cc.o rules.
31144 (clean): Remove *.tmp *.ci files.
31145 (EXECUTABLES): Remove templ-info.exp.
31146 * gdb.base/compiler.c: New file.
31147 * gdb.c++/compiler.cc: New file
31148 * gdb.base/scope.exp: Source gdb.base/scope.ci.
31149 Change rs6000-*-* xfail for
31150 "print 'scope0.c'::filelocal_ro" and
31151 "print 'scope1.c'::filelocal" and
31152 "print 'scope1.c'::filelocal_bss" and
31153 "print 'scope1.c'::filelocal_ro" and
31154 "print 'scope1.c'::foo::funclocal" and
31155 "print 'scope1.c'::foo::funclocal_ro" and
31156 "print 'scope1.c'::bar::funclocal" and
31157 "print 'scope0.c'::filelocal_ro" and
31158 "print 'scope1.c'::filelocal at foo" and
31159 "print 'scope1.c'::filelocal_bss at foo" and
31160 "print 'scope1.c'::filelocal_ro at foo" and
31161 "print 'scope1.c'::foo::funclocal at foo" and
31162 "print 'scope1.c'::foo::funclocal_bss at foo" and
31163 "print 'scope1.c'::foo::funclocal_ro at foo" and
31164 "print 'scope1.c'::bar::funclocal at foo" and
31165 "print 'scope0.c'::filelocal_ro" and
31166 "print 'scope1.c'::filelocal" and
31167 "print 'scope1.c'::filelocal_bss" and
31168 "print 'scope1.c'::filelocal_ro" and
31169 "print 'scope1.c'::foo::funclocal" and
31170 "print 'scope1.c'::foo::funclocal_bss" and
31171 "print 'scope1.c'::foo::funclocal_ro" and
31172 "print 'scope1.c'::bar::funclocal" and
31173 "print 'scope1.c'::bar::funclocal_bss"
31174 to only be xfail'd when not compiled with gcc.
d63a86f8 31175 Add rs6000-*-* xfail for
c906108c
SS
31176 "print 'scope0.c'::filelocal_bss before run"
31177 when compiled with gcc.
31178 (test_at_main): Add rs6000-*-* xfail for
31179 "print filelocal_ro in test_at_main"
31180 when compiled with gcc.
31181 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 31182 Add rs6000-*-aix* xfail for
c906108c
SS
31183 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
31184 "ptype t_char_array", not compiled with gcc.
31185 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
31186 xfail for "list foo (in include file)" when gcc compiled.
31187 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 31188 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
31189 "run to call0a" if not compiled with gcc.
31190 (unsigned_integral_args): Add rs6000-*-* xfail for
31191 "run to call1a" if not compiled with gcc.
31192 (float_and_integral_args): Add rs6000-*-* xfail for
31193 "run to call2a" if not compiled with gcc and for
31194 "continue to call2b" for any compiler.
31195 Add rs6000-*-* xfail to
31196 "print f1 after run to call2a" for gcc compiled.
31197 (discard_and_shuffle): Add rs6000-*-* xfail for
31198 "run to call6a".
31199 (shuffle_round_robin): Add rs6000-*-* xfail for
31200 "backtrace from call7a" if not compiled with gcc.
31201 Add rs6000-*-* xfail for
31202 "backtrace from call7b" if compiled with gcc.
31203 (call_after_alloca): Add rs6000-*-* xfail for
31204 "print c in call_after_alloca" and
31205 "print s in call_after_alloca" and
31206 "backtrace from call_after_alloca_subr"
31207 if not compiled with gcc.
31208 (localvars_in_indirect_call): Add rs6000-*-* xfail for
31209 "print c in localvars_in_indirect_call" and
31210 "print c in localvars_in_indirect_call" and
31211 "backtrace in indirectly called function" and
31212 "stepping into indirectly called function"
31213 if not compiled with gcc.
31214 (localvars_after_alloca): Add rs6000-*-* xfail for
31215 "print c after runto localvars_after_alloca" and
31216 "print s after runto localvars_after_alloca" and
31217 "print i after runto localvars_after_alloca" and
31218 "print l after runto localvars_after_alloca"
31219 for all compilers.
31220 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
31221 than whatis-info.exp.
31222 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
31223 than opaque-info.exp.
31224 Setup rs6000-*-* xfail for
d63a86f8 31225 "ptype on opaque struct pointer (statically)" and
c906108c
SS
31226 "ptype on opaque struct pointer (dynamically)" when
31227 not compiled with gcc.
31228 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
31229 rather than callf-info.exp.
31230 (do_function_calls): Add clear_xfail for rs6000-*-* for
31231 "p t_float_values2(3.14159,float_val2)". Seems to work
31232 fine there, both with xlc and gcc. Need to find out what
31233 it is doing right and fix other platforms.
31234 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
31235 "call inferior func with struct - returns int",
31236 "call inferior func with struct - returns long",
31237 "call inferior func with struct - returns float",
31238 "call inferior func with struct - returns double",
31239 "call inferior func with struct - returns char *",
31240 but only if not gcc compiled (presumes xlc compiled).
31241 Change rs6000-*-* xfails for
31242 "call inferior func with struct - returns char" and
31243 " call inferior func with struct - returns short" to only
31244 xfail if not using gcc.
31245 (clean mostlyclean): Remove *.ci and *.tmp files.
31246 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
31247 than templ-info.exp.
31248 * gdb.base/langs.exp: Source gdb.base/langs.ci.
31249 Add rs6000-*-* xfail for "up to foo in langs.exp"
31250 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 31251 when not gcc compiled.
d63a86f8 31252
c906108c
SS
31253Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31254
31255 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
31256 * gdb.base/corefile.exp: Likewise.
31257 * gdb.base/list.exp: Likewise.
31258 * gdb.base/scope.exp: Likewise.
31259 * gdb.base/siganls.exp: Likewise.
31260
31261 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
31262 compiler output.
31263 * gdb.base/whatis.exp: Likewise.
31264
31265Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
31266
31267 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
31268 failure (opcode table has been fixed to match reality).
31269
31270Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
31271
31272 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
31273 "call inferior func with struct - returns char",
31274 "call inferior func with struct - returns short"
31275
31276 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
31277 "print 'scope0.c'::filelocal at main",
31278 "print 'scope0.c'::filelocal_bss in test_at_main",
31279 "print 'scope0.c'::filelocal at foo",
31280 "print 'scope0.c'::filelocal_bss in test_at_foo",
31281 "print 'scope0.c'::filelocal at bar",
31282 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 31283
c906108c
SS
31284 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
31285 in source file 1". This bug seems to have been fixed with both
31286 gcc and native cc (was native assembler bug?).
31287
31288Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
31289
31290 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
31291 "backtrace through signal handler" to "i*86-*-sysv4*".
31292 * gdb.base/signals.exp: Add xfail for "'next' behaved as
31293 continue" case. Add "known SVR4 bug" to fail message.
31294 Add "i*86-*-bsdi2.0" xfail for "handle all print".
31295 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
31296 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
31297 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
31298 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
31299 "up to foo in langs.exp", "show language at foo in
31300 langs.exp", "up to cppsub_ in langs.exp", "show
31301 language at cppsub_ in langs.exp", "up to fsub in
31302 langs.exp", and "show language at fsub in langs.exp".
31303 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
31304 "bactrace in corefile.exp".
31305 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
31306 "call inferior function with struct - returns float" and
31307 "call inferior function with struct - returns double".
d63a86f8 31308
c906108c
SS
31309Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
31310
31311 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
31312 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
31313 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
31314 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
31315
31316Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
31317
31318 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
31319 (or overriden) "CHILL" macro rather then bare "gcc".
31320 Also look for ../../gcc/xgcc since that is what we will
31321 actually need, not "Makefile". Remove following assignment
31322 of CHILL to CHILL_FOR_TARGET because that results in
31323 recursive definition.
31324
31325Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
31326
31327 * gdb.base/corefile.exp: Change xfail for backtrace in
31328 corefile.exp from linuxaout to all linux.
31329 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
31330 cases where we miss the breakpoint at the signal handler
31331 for some reason. Setup xfail for linuxoldld/linuxaout and
31332 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
31333 hitting SIGURG breakpoint.
31334 * gdb.base/signals.exp: Setup xfail for "next" acting like
31335 continue to add linuxoldld. Setup xfail for all linux for
31336 "next to handler in signals_tests_1", "backtrace in
31337 signals_tests_1", "continue to func1", "pass SIGUSR1",
31338 and continue to handler".
31339
31340Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
31341
31342 * Update all FSF addresses except those in COPYING* files.
31343
31344Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
31345
31346 * gdb.base/a2-run.exp: Change messages to be more explicit about
31347 the status of args, and quote binfile in results.
31348
31349Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
31350
31351 * gdb.base/callfuncs.exp: Add tests for passing structs to
31352 inferior functions and return various types.
31353 * gdb.base/callfuncs.c: Add functions to receive a struct
31354 and return a member of the struct, in various types.
31355
31356Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31357
31358 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
31359
31360Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
31361
31362 * config/vxworks29k.exp: New file, sources vxworks.exp.
31363
31364Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31365
31366 * config/gdbremote.exp: New file. Testing framework using
31367 gdbserver.
31368
31369Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
31370
31371 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
31372 "call function when asleep" and "send end of file".
31373 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
31374 for "backtrace in corefile.exp".
31375 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
31376 for "backtrace through signal handler".
31377 * gdb.base/corefile.exp: Make sure we actually generate a core file
31378 before trying the core tests. Some systems allow the user to suppress
31379 generation of core files and default to that (linux for example).
31380 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
31381 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
31382
31383Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31384
31385 * gdb.threads: New directory with some crude multi-threaded
31386 gdb tests (step.exp and step2.exp).
31387 * config/mt-lynx (STEP_EXECUTABLE): Define.
31388 (THREADFLAGS): Define.
31389
31390Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
31391
31392 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
31393
31394 * gdb.base/signals.exp: Disable whole file for lynx until
31395 further notice.
31396
31397 * gdb.base/signals.exp: xfail test where "next" acts like
31398 "continue" for lynx.
31399
31400 * gdb.base/interrupt.exp: xfail test for calling function while
31401 inferior is asleep for lynx.
31402
31403 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
31404 than one cr-lf after each command.
31405
31406Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31407
31408 * configure.in: Reinstate setting of stabsdirs variable, fix
31409 typo in setting up configdirs for native builds.
31410
31411 * gdb.base/return.exp: Fix typo in return double test.
31412 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
31413 compiler from optimizing them away.
31414
31415Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
31416
31417 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
31418 sequences to be echo'd by gdb when using gdb_test.
31419 * gdb.chill/chexp.exp: Likewise.
31420 * gdb.fortran/exprs.exp: Likewise
31421
31422Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31423
31424 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
31425 after the inferior gdb has started.
31426
31427 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
31428 after each command.
31429 * gdb.base/funcargs.exp: Likewise.
31430 * gdb.base/gdbvars.exp: Likewise.
31431 * gdb.base/interrupt.exp: Likewise.
31432 * gdb.base/list.exp: Likewise.
31433 * gdb.base/watchpoint.exp: Likewise.
31434 * gdb.c++/demangle.exp: Likewise.
31435 * gdb.c++/inherit.exp: Likewise.
31436 * gdb.chill/chexp.exp: Likewise.
31437 * gdb.fortran/exprs.exp: Likewise.
31438
31439 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
31440 test if we can't handle IO to/from the inferior.
31441
31442 * gdb.c++/misc.exp: Always check for a program already being
31443 started after sending a "run" command to gdb.
31444
31445 * gdb.base/twice.exp: Start with a fresh gdb.
31446
31447 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
31448 only depend on gdb's expression code, not the chill runtime.
31449
31450 * gdb.base/return.c: Put return values into variables so we
31451 can have gdb print them rather than depending on the program
31452 to print them.
31453 * gdb.base/return.exp: Corresponding changes.
31454
31455 * lib/gdb.exp: Provide default value for noinferiorio.
31456 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
31457 the inferior.
31458
31459 * gdb.base/break.exp: Always check for a program already being
31460 started after sending a "run" command to gdb.
31461 (text_next_with_recursion): Don't check the output from the
31462 program's printf statement. Instead just make sure the program
31463 exited.
31464
31465 * gdb.base/commands.exp: Protect tests which need arguments with
31466 $noargs conditionals.
31467
31468Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31469
31470 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
31471 of structure member arrays to match gdb/valops.c:value_addr change.
31472
31473Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
31474
31475 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
31476 cases.
31477
31478Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
31479
31480 * configure.in (configdirs): Remove gdb.chill from default list
31481 of subdirs and then add it back in only if doing a native build.
31482 The current chill compiler does not yet work in any cross build.
31483 * Revert all signal changes from Jul 6.
31484 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
31485 for sh-hms targets, allowing these tests to link, with no other
31486 changes. Testing is suppressed by setting "nosignals" in site.exp.
31487
31488Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
31489
31490 * configure.in (signaldirs): Define and add to configdirs for all
31491 targets except some specific ones that are known to not support signals.
31492 Also clean up formatting.
31493 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
31494 (signals, sigall): Remove rules to build.
31495 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
31496 Moved to new gdb.signals directory.
31497 * gdb.signals: New test directory.
31498 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
31499 signals.c signals.exp}: New or moved files.
31500
31501Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
31502
31503 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
31504
31505Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
31506
31507 * gdb.base/return.exp: Xfail `return double' test failure
31508 on at least Solaris 2.3 and handle future/past versions on
31509 a case by case basis as appropriate. Also update message
31510 to include i*86 failures.
31511
31512Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31513
31514 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
31515
31516 * lib/gdb.exp: Fix comment which erroneously identified
31517 gdb_file_cmd as gdb_load (the 19 May change was in fact to
31518 gdb_file_cmd not gdb_load).
31519 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
31520
31521 * gdb.base/setvar.exp: Make test names consistent between pass and
31522 fail cases. Use gdb_test more.
31523
31524Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31525
31526 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
31527
31528Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31529
31530 * gdb.base/help.exp: Fix expected help string for `show commands'.
31531
31532Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
31533
31534 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
31535
31536 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
31537 of a text section.
31538
31539Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
31540
31541 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
31542 that loop eventually terminates. Fix Connection refused logic so
31543 that testsuite will expire nicely.
31544
31545Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
31546
31547 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
31548 config/rom68k.exp: New tcl glue for the appropriate monitors.
31549 These all just end up calling monitor.exp.
31550 * config/monitor.exp (gdb_target_monitor): Handle `Connection
31551 refused' by retrying. Cleanup some timeout issues.
31552 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
31553 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
31554 callers don't have to set/restore global timeout variable.
31555
31556 * The following set of changes centralizes management of the global
31557 timeout variable. This way, it can be set in one target dependent
31558 place instead of dozens of places scattered throughout the test suite.
31559 If you need to lengthen a timeout, then you should either set timeout
31560 in one of the config/{target}.exp files, or multiply it by a factor.
31561 Setting it to an absolute value is always going to lose for some
31562 targets.
31563 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
31564 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
31565 * gdb.base/funcargs.exp: Don't set timeout.
31566 * gdb.base/list.exp (test_forward_search): Only use local timeout.
31567 * gdb.base/printcmds.exp (test_print_string_constants
31568 test_print_array_constants): Don't set timeout.
31569 * gdb.base/ptype.exp: Don't set timeout.
31570 * gdb.base/recurse.exp: Don't set timeout.
31571 * gdb.base/return.exp: Don't set timeout.
31572 * gdb.base/watchpoint.exp: Don't set timeout.
31573 * gdb.c++/classes.exp (do_tests): Don't set timeout.
31574 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
31575
31576Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
31577
31578 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
31579
31580Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31581
31582 * lib/gdb.exp: Disable chill tests for irix5.
31583
31584Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31585
31586 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
31587 each test pass or fail.
31588
31589Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31590
31591 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
31592 xlc not gcc.
31593
31594Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
31595
31596 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
31597
31598Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
31599
31600 * config/est.exp: Fix copyright and comments. Remove dead code.
31601 Use targetname, serialport and baud variables instead of fixed
31602 constants.
31603 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
31604 * config/cpu32bug.exp: New file to support cpu32bug monitors.
31605
31606Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31607
31608 * gdb.base/watchpoint.exp: Don't run
31609 test_watchpoint_triggered_in_syscall for sunos.
31610
31611Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31612
31613 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
31614 they don't seem to exist. Do include stdio.h.
31615
31616Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31617
31618 * gdb.base/a1-selftest.exp: Add alpha xfail.
31619
31620Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31621
31622 * gdb.base/watchpoint.c (main): Prompt before calling read().
31623 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31624 Revise accordingly. Remove cruft about sending "123" several
31625 times, until it gets noticed. Clean up the "print buf[0]" stuff
31626 so that it passes or fails, and waits for prompts in the usual way.
31627
31628Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31629
31630 * gdb.base/recurse.exp: Fix comment.
31631
31632 * TODO: Remove item about printing variables in nodebug.exp. Add
31633 item about enabling tests which are only run on some targets.
31634
31635 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
31636 fail, make test names unique, use new gdb_test convention
31637 regarding pattern, use gdb_test more, etc.).
31638
31639 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
31640 fail, make test names unique, etc.).
31641
31642Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31643
31644 * gdb.base/nodebug.c: Change return type of top and middle to
31645 short.
31646 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
31647 are fixed by the recent mdebugread.c changes. Allow `short ()'
31648 as type for top and middle.
31649
31650Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31651
31652 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
31653 nearly as I can tell, the whole thing was an accident in Stu's
31654 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
31655 to replace a send/expect pair with gdb_test, but ended up only
31656 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
31657 of 30 Mar 1995 took care of it, but left this vestigial comment
31658 which I am now nuking.
31659
31660Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31661
31662 * gdb.base/break.exp: Look for different line number for
31663 breakpoint at main depending on usestubs.
31664
31665Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31666
31667 * gdb.base/list.exp: Adjust some alternate expect patterns to
31668 match recent list0.c change. Add alternate expect pattern for
31669 output from `list default lines around main' for optimizing
31670 compilers.
31671
31672Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31673
31674 * lib/gdb.exp: If nosignals is not set, set it to 0.
31675
31676Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
31677
31678 * config/slite-gdb.exp: Responds to load symbol table prompt.
31679 * gdb.base/break.exp: Adjust line number, fix rerun.
31680 * gdb.base/langs0.c: Add #ifdef usestubs.
31681
31682Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
31683
31684 * gdb.base/list.exp: Adjust line contents after adding new lines in
31685 list0.c. Also fix a syntax error.
31686
31687 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
31688 * gdb.base/break.exp: ditto.
31689 * gdb.base/list.exp: ditto.
31690 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
31691 * gdb.base/run.c: ditto.
31692 * gdb.base/list0.c: ditto.
31693 * gdb.base/funcargs.c: ditto.
31694
31695Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
31696
31697 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
31698 $targetname, $serialport and $baud instead of hardwired variables.
31699 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
31700 target doesn't support signals.
31701
31702Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
31703
31704 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
31705
31706Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31707
31708 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
31709 Don't rely on the value of an auto variable before it has been
31710 initialized. Use gdb_test more.
31711
31712Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31713
31714 * lib/gdb.exp (default_gdb_version): A version number must start
31715 with a digit, but other than that contains all characters up to
31716 the first whitespace character.
31717
31718Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31719
31720 * gdb.base/commands.exp (breakpoint_command_test): New tests.
31721
31722Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31723
31724 * gdb.c++/*.exp: Warn if executable does not exist. The original
31725 reason for skipping the warning was that configure.in sometimes
31726 intentionally skipped building the executables but the tcl code
31727 had no way of knowing. That (a) was always bogus with respect to
31728 error handling, (b) is no longer true (right now there is no way
31729 to skip C++ tests).
31730
31731 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
31732
31733Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31734
31735 * gdb.base/list.exp: Add expect patterns for output from
31736 SunPRO compiled executables.
31737 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
31738 types.
31739
31740Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31741
31742 * gdb.base/break.exp (test_next_with_recursion): Accept any line
31743 number (we are already testing that the correct source line text
31744 gets printed).
31745
31746 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
31747 that is what is intended, but something needed to be done to get
31748 sunos4 native working again.
31749
31750 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
31751
31752 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
31753 apparently went with a (very) old xfail.
31754
31755Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
31756
31757 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
31758 runto_main is a proc in gdb.exp that will do 'step' for target use
31759 stubs.
31760 * gdb.base/exprs.exp: ditto.
31761 * gdb.base/interrupt.exp: ditto.
31762 * gdb.base/opaque.exp: ditto.
31763 * gdb.base/printcmds.exp: ditto.
31764 * gdb.base/ptype.exp: ditto.
31765 * gdb.base/scope.exp: ditto.
31766 * gdb.base/setvar.exp: ditto.
31767 * gdb.base/signals.exp: ditto.
31768 * gdb.base/twice.exp: ditto.
31769 * gdb.c++/classes.exp: ditto.
31770 * gdb.c++/inherit.exp: ditto.
31771 * gdb.c++/templates.exp: ditto.
31772 * gdb.base/break.exp: no run and hit main for stubs. Change line
31773 numbers for breakpoints and info breakpoint.
31774 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
31775 breakpoint().
31776 * gdb.base/callfuncs.c: ditto.
31777 * gdb.base/exprs: ditto.
31778 * gdb.base/interrupt.c: ditto.
31779 * gdb.base/opaque0.c: ditto.
31780 * gdb.base/printcmds.c: ditto.
31781 * gdb.base/ptype.c: ditto.
31782 * gdb.base/scope0.c: ditto.
31783 * gdb.base/setvar.c: ditto.
31784 * gdb.base/signals.c: ditto.
31785 * gdb.base/twice.c: ditto.
31786 * gdb.c++/misc.cc: ditto.
31787 * gdb.c++/templates.cc: ditto.
31788
31789Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31790
31791 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
31792
31793 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
31794 somewhere between `read' and `main.c'. I'm pretty sure the
31795 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
31796 and it isn't particularly useful.
31797
31798 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
31799
31800Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31801
31802 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
31803
31804Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
31805
31806 * config/mt-slite: add LIBS and -nostdlib.
31807 * config/slite-gdb.exp: add this new file to support sparclite target.
31808
31809Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
31810
31811 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
31812
31813 * gdb.base/a2-run.exp: Change argument to istarget from
31814 "*-*-vxworks" to "*-*-vxworks*".
31815 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
31816
31817Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
31818
31819 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
31820 will not runto main but do a 'step' to step out of breakpoint().
31821 * config/mt-slite: add -Dusestubs.
31822
31823Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31824
31825 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
31826 instead of just @.
31827
31828 * gdb.base/signals.exp: Add test for "handle all print".
31829 * TODO: Remove "handle all print". Also remove item about
31830 checking copyright date (I don't like the idea of a spurious FAIL
31831 based on when we run the tests).
31832
31833 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
31834 for SunOS4 (reason for failure not investigated). Remove
31835 redundant test for $binfile.
31836
31837 * gdb.base/nodebug.c (array_index): Call malloc.
31838
31839 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
31840
31841Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
31842
31843 * gdb.base/recurse.exp: Update gdb_test invocation to use new
31844 conventions and slightly simplify the matching regexp.
31845
31846Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31847
31848 * gdb.base/break.exp: Update gdb_test invocation to use new
31849 convention.
31850
31851 * lib/gdb.exp: If noargs is not set, set it to 0.
31852
31853 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
31854 tests unique.
31855
31856 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
31857
31858Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31859
31860 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
31861 one argument of type "<non-float parameter>".
31862
31863Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
31864
31865 * config/rom68k.exp: New file to support Motorola IDP board.
31866 * gdb.base/a2-run.exp: Skip this file if noargs is set.
31867 * gdb.base/break.c: Change things around so that this program
31868 doesn't depend upon args. This is necessary to make remote
31869 targets work (in general, they can't take args).
31870 * gdb.base/break.exp: Don't try to send args to program. Don't
31871 expect output. Also, replace lots of code with gdb_test.
31872
31873Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31874
31875 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
31876 printing of '\'' (which is what the comment says we are testing,
31877 even though we were not), not '''.
31878 (test_integer_literals_rejected): Test that printing ''' is an error.
31879
31880 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31881 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
31882 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
31883 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
31884 Use gdb_test not test_print_accept.
31885 * lib/gdb.exp: Remove test_print_accept.
31886
31887 * gdb.base/signals.exp (signal_tests_1): Make pass message
31888 consistent with fail message.
31889
31890 * gdb.base/whatis.exp: Remove xfails for printing char vs.
31891 unsigned char; the bug (PR 1821) is fixed.
31892
31893 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
31894
31895 * gdb.base/scope.exp (test_at_localscopes): Call pass for
31896 successful tests--makes xfailing them work right.
31897
31898Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31899
31900 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
31901 only \r\n, not .*. The test can pass .* as the last thing in
31902 $pattern if that is what it wants. In addition to providing this
31903 flexibility, this change should speed up pattern matching in cases
31904 where the pattern already ended with .* (there were a number of
31905 them). This change also helps catch bad patterns--in the old
31906 scheme the typo "char \*" instead of "char \\*" would pass. Now
31907 it is caught.
31908 * Many .exp files: Update callers.
31909
31910 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
31911 clearer and does not spuriously match multiple ('s. Likewise for
31912 ) and *.
31913
31914 * gdb.base/nodebug.exp: Test ability to call a function and pass
31915 it a string (even with no debugging info).
31916
31917 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
31918 "p '\'", which is the same as "p ''" once tcl gets done with
31919 quoting, to "p '\\'", which I suspect is what is intended (one
31920 backslash gets sent to GDB).
31921
31922 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
31923
31924Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31925
31926 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
31927 1817) was fixed literally years ago.
31928
31929Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31930
31931 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
31932 test, it causes stepping out of call_after_alloca_subr with
31933 optimizing compilers.
31934 (localvars_in_indirect_call): Consume GDB prompt if `finish'
31935 fails.
31936
31937 * gdb.c++/templates.exp: Source templ-info.exp only if
31938 the templates executable exists.
31939
31940 * gdb.c++/misc.cc (class Contains_static_instance,
31941 class Contains_nested_static_instance),
31942 gdb.c++/classes.exp (test_static_members): Test printing of
31943 a class that contains a static instance of the class.
31944
31945Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31946
31947 * gdb.base/langs2.c (cppsub_): Don't prototype.
31948 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
31949 only, I believe).
31950
31951Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31952
31953 * lib/gdb.exp (skip_chill_tests): New procedure.
31954
31955 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
31956
31957Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
31958
31959 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
31960 each expect pattern. Cuts runtime from 12 to about 4 seconds.
31961
31962Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31963
31964 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
31965
31966 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
31967 disassemble 8, not 16, instructions for part 4.
31968
31969 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
31970 support the latter anymore.
31971
31972 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
31973 -DNO_PROTOTYPES.
31974 * gdb.base/callfuncs.c: Control use of prototypes based on
31975 NO_PROTOTYPES, not __STDC__.
31976 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
31977 t_float_values2 tests if prototypes in use.
31978
31979 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
31980 t_double_values): When checking differences against DELTA, check
31981 that difference is within the range (-DELTA,DELTA), not just
31982 (-infinity,DELTA).
31983
31984Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
31985
31986 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
31987 'file' command firts, then 'target', then 'load', this is due to gdb
31988 target set up.
31989 * config/mips-gdb.exp: Fix a couple regular exp bugs.
31990
31991Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
31992
31993 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
31994 FP load/store variants.
31995 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
31996
31997Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31998
31999 * gdb.base/term.exp: Do not give a warning if not native, it is
32000 not an abnormal condition.
32001
32002Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
32003
32004 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
32005 t_char_array".
32006
32007Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
32008
32009 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
32010 are getting the version number.
32011
32012 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
32013 if not native, it is not an abnormal condition.
32014
32015Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32016
32017 * lib/gdb.exp: Just use "file exists", rather than undocumented
32018 dejagnu procedure "findfile".
32019
32020Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
32021
32022 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
32023 (LDFLAGS): Set to -Xlinker -Ur.
32024
32025 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
32026 Removed, these values are set by lib/gdb.exp.
32027
32028 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
32029
32030Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
32031
32032 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
32033 of replicating gdb startup code.
32034
32035 * config/mt-vxworks (LDFLAGS): Set to -r.
32036 (CFLAGS_FOR_TARGET): Removed.
32037
32038 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
32039 (gdb) and gdb for vxworks uses (vxgdb).
32040
32041 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
32042 executable is not in the tree and host != target, use sed and
32043 program_transform_name to determine the gdb name used by the
32044 target.
32045
32046 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
32047 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
32048
32049Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32050
32051 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
32052 floats, chars, and shorts where there are ANSI-style function
32053 definitions.
32054
32055 * gdb.base/langs.exp, gdb.base/langs*: New test.
32056 * gdb.base/Makefile.in: Build it.
32057 * TODO: Remove item about checking that C names don't get C++
32058 demangling applied; this test tests it.
32059
32060Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32061
32062 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
32063 went with the const70 xfail. The xfail went away a year ago.
32064
32065 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
32066
32067 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
32068 for hp300.
32069
32070 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
32071
32072 * gdb.base/a1-selftest.exp: Don't run on hp300.
32073
32074Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32075
32076 * Makefile.in (site.exp): Set host_alias and target_alias as well
32077 as host_triplet and target_triplet.
32078
32079Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32080
32081 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
32082
32083 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
32084 places as other ecoff systems).
32085
32086 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
32087 ultrix.
32088
32089Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32090
32091 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
32092 remove them.
32093 * gdb.base/nodebug.exp: Accept "function" in addition to "text
32094 variable and "variable" in addition to "data variable".
32095 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
32096
32097 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
32098 2.
32099 * gdb.base/list1.c (long_line): Add additional statement at start
32100 of function.
32101 * gdb.base/list.exp (test_forward_search): Update line number to
32102 reflect new statement.
32103
32104Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32105
32106 * gdb.base/signals.exp: Reinitialize searched source directories
32107 after gdb_start call.
32108
32109Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
32110
32111 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
32112 * gdb.stabs/Makefile.in: Likewise.
32113
32114 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
32115 change. Instead split the tests into smaller pieces.
32116 * gdb.disasm/hppa.s: Corresponding changes.
32117
32118Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32119
32120 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
32121 Quote ^C when passing it to stty. For some shells ^ is a pipe.
32122
32123 * gdb.base/funcargs.exp: Modify many tests so that every test
32124 either passes or fails. Make some test names unique.
32125
32126Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32127
32128 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
32129 Call stty to set interrupt character.
32130
32131 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
32132 for HP assembler versus GNU assembler based on actual behavior of
32133 $(CC), rather than assuming that $(AS) is always the GNU assembler.
32134
32135 * TODO: Suggest a few more stepping tests.
32136
32137Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
32138
32139 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
32140 restart GDB for h8300 after a continue.
32141 (return): Add pattern to match a29k-udi behavior.
32142 * gdb.base/nodebug.exp: Remove obsolete comment.
32143 * gdb.base/regs.exp: New file, testing of register displays.
32144 * gdb.base/return.exp: Fix typo in reference to $objdir.
32145 * gdb.base/whatis.exp: Always start with a fresh GDB.
32146
32147Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32148
32149 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
32150 higher, these tests generate a lot of output.
32151
32152Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32153
32154 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
32155 code following the catch silently ignored some errors; without the
32156 catch they should be thrown like any other tcl error. Also, the
32157 catch used "" instead of {} which meant all the callers who wanted
32158 to include one of the characters "[]$ had to quote it an extra time.
32159 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
32160 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
32161 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
32162 Remove extra quoting.
32163
32164Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
32165
32166 * gdb.base/commands.exp: Make test names unique; every test either
32167 passes or fails. Update some comments.
32168
32169 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
32170
32171Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32172
32173 The following fixes a FAIL caused by the fact that the alpha stabs
32174 configuration didn't use the ".if alpha" code in weird.def.
32175 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
32176 bit pointer, so the 32 bit version works even on the alpha.
32177 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
32178 Remove the stuff which allowed us to have separate versions for
32179 alpha and everything else.
32180
32181 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
32182 regexp which "info func operator\[\](" is supposed to match. Fix
32183 string to send to GDB. Note that GDB still doesn't work right. Add a
32184 new test for "info func .perator\[\](" which GDB does handle correctly.
32185
32186 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
32187
32188Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32189
32190 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
32191 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
32192 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
32193 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
32194 it makes the tests harder to understand and confuses test-o-matic.
32195 The preferred style is that each test provides a PASS or a FAIL,
32196 and has a unique message (e.g. "continue #54" not just "continue")
32197 which is the same for the pass and the fail.
32198 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
32199 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
32200 to lib/gdb.exp.
32201 * gdb.base/printcmds.exp: Use test_print_accept. Remove
32202 prt_accept which was basically the same thing. Likewise for
32203 test_print_reject and prt_reject.
32204 * lib/gdb.exp (test_print_reject): Add some more error message
32205 patterns to match from the former printcmds.exp (prt_reject).
32206 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
32207 One defect of the passcount stuff is that some of it failed to
32208 report XPASS where appropriate.
32209 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
32210 stuff before and after arg in expected pattern.
32211 (test_paddr_operator_functions): Re-do test without print_addr_of;
32212 this is the only test which seems to want extra stuff there.
32213
32214Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32215
32216 * gdb.base/nodebug.exp: Update new tests to reflect improved
32217 wording of gdb output.
32218
32219 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
32220 and "ptype" work on variables in files compiled without -g.
32221 Replaces commented out "maint print msymbol" tests.
32222
32223Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32224
32225 * gdb.base/setvar.c (dummy): Call malloc.
32226
32227 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
32228 losing with the irix4 sed.
32229
32230 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
32231 ALRM" on irix4.
32232
32233Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32234
32235 * TODO: Remove items about corefile.exp testing new exec-file and
32236 backtrace; both are now done. Add items about printing enums.
32237
32238Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32239
32240 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
32241 "get signal $thissig" test fails.
32242
32243 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
32244
32245Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32246
32247 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
32248 compiler warning with dec alpha compiler.
32249
32250 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
32251 extra \n from gdb_test call (this explains why the prompt test
32252 that I removed yesterday was there).
32253 (user_defined_command_test): Remove extra \n and prompt test.
32254
32255 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
32256 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
32257 doesn't exist.
32258 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
32259 Also remove alpha workaround, which turns out to be because
32260 SIGABRT == SIGLOST.
32261
32262 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
32263
32264 * gdb.base/help.exp: Don't test "help show".
32265
32266Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32267
32268 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
32269 "set print address" is on.
32270 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
32271 pass prompt to gdb_test; gdb_test already looks for the prompt.
32272
32273 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
32274
32275 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
32276 was a vestige of the manual TESTSTRATEGY, and the purpose of it
32277 was to make sure that gdb can read a core file. But (a) the "read
32278 the corefile" part didn't make it to a1-selftest.exp, we just
32279 delete the corefile after creating it, and (b) we test reading
32280 corefiles in corefile.exp anyway. Also, this test left around a
32281 xgdb process on Solaris.
32282
32283 * gdb.base/corefile.exp: Also test backtrace.
32284
32285Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
32286
32287 * gdb.base/commands.exp: Test a simple user defined command with
32288 arguments and if/while statements; verify the full user command is
32289 printed by "show user".
32290
32291 * gdb.base/commands.exp: Test if/while commands as part of a
32292 breakpoint command list; verify they appear in breakpoint
32293 information.
32294
32295Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32296
32297 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
32298 than by dividing by zero.
32299
32300Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
32301
32302 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
32303 performing an inferior call with watchpoints enabled.
32304 * gdb.base/watchpoint.c (main): Delete second unnecessary read
32305 call.
32306
32307Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32308
32309 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
32310 of "file" command.
32311
32312 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
32313 Add additional pattern for when "int operator int(void);" appears
32314 in a different order.
32315
32316Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32317
32318 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
32319
32320 * gdb.base/help.exp: Replace most of docstrings for "info signals"
32321 and "signal" with ".*".
32322
32323Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32324
32325 * TODO: Add note about "handle all nostop".
32326
32327 * gdb.base/{sigall.c, sigall.exp}: New test.
32328 * gdb.base/Makefile.in: Add it.
32329
32330Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
32331
32332 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
32333 when invoking GDB, suppresses any windowing interface.
32334
32335Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
32336
32337 * config/sim-gdb: New file, simulator testing support.
32338
32339Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
32340
32341 * gdb.base/interrupt.exp: Test calling func1 twice.
32342
32343Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
32344
32345 * gdb.base/list.exp (test_forward_search): Set timeout higher
32346 when we'll be getting lots of output from gdb.
32347
32348 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
32349 "init_malloc" to after the expect statement. Run it if that
32350 regexp is taken, but also for two others which happen if source
32351 cannot be found.
32352
32353Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32354
32355 * gdb.base/printcmds.exp: New test, for printing register before
32356 program is running.
32357
32358Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32359
32360 * gdb.base/list.exp: Correct some alternate expect patterns
32361 to reflect changes in list1.c.
32362
32363Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32364
32365 * TODO: Add item regarding large frames.
32366
32367 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
32368
32369 * TODO: Remove item about enabling return.exp; it
32370 is enabled. Suggest a few more "return" tests.
32371
32372Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32373
32374 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
32375 anonymous unions.
32376
32377Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32378
32379 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
32380 and pr-5646.o, so "make" is the same as "make all", not "make
32381 pr-4975.o".
32382
32383Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
32384
32385 * gdb.base/list.exp: Adjust expectations to reflect changes in
32386 list1.c.
32387 (test_forward_search): New test proc.
32388 * gdb.base/list1.c (long_line): New function, has long source line.
32389
32390Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
32391
32392 * gdb.base/a1-selftest.exp: Change initial stepping to know about
32393 additional line of code that was added.
32394
32395Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
32396
32397 * gdb.disasm/hppa.s: Break the large branching tests into smaller
32398 tests so as not to overflow expect's input buffers.
32399 * gdb.disasm/hppa.exp: Corresponding changes.
32400
32401Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32402
32403 Beginnings of template debugging tests.
32404 * gdb.c++/templ-info.cc: New file to test for template
32405 debugging capability of the compiler.
32406 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
32407 templ-info.cc.
32408 * gdb.c++/templates.cc: Add explicit template instantiations
32409 to enable compiling with -fno-implicit-templates. Add destructor
32410 and 'value' method to T5 class for template tests.
32411 * gdb.c++/templates.exp: Add testcases for printing of template
32412 types, setting breakpoints on template methods and calling a
d63a86f8 32413 template method.
c906108c
SS
32414
32415Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
32416
32417 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
32418 branch target since some assemblers (gas-2.5) may emit a
32419 relocation for the branch instead of resolving it in the
32420 assembler.
32421
32422Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32423
32424 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
32425 through signal handler.
32426
32427Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32428
32429 * configure.in (*-*-netware): Use config/mt-netware.
32430
32431 * config/mt-netware: New file.
32432 * config/mt-i386-netware: Removed, separate configs for different
32433 netware architectures are no longer needed now that we have
32434 --with-headers.
32435
32436Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32437
32438 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
32439 by the recent changes to use ANSI C arithmetic conversions.
32440
32441Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32442
32443 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
32444 bug involving using inferior_pid to figure out whether to select a
32445 frame.
32446
32447Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
32448
32449 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
32450 match the current disassembler output.
32451
32452Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
32453
32454 * gdb.fortran/exprs.exp: Expect VOID instead of void.
32455 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
32456 types, expect "int" as type of integer values (for now).
32457
32458Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
32459
32460 * gdb.base/commands.exp: New tests for if/while commands.
32461
32462Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
32463
32464 * lib/gdb.exp (runto): Replace sub-pattern for hex value
32465 by .*, since hex values have different syntax in Chill mode.
32466
32467Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32468
32469 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
32470 linefeed from expect pattern for repeated types with indices > 9.
32471
32472Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
32473
32474 First part of Fortran test suite.
32475 * gdb.fortran: New directory.
32476 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
32477
32478Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32479
32480 * gdb.base/default.exp: Update expect pattern for load command
32481 without arguments.
32482
32483Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
32484
32485 * configure.in: Change i386 to i[345]86.
32486 * gdb.base/configure.in: Likewise.
32487 * gdb.c++/configure.in: Likewise.
32488 * gdb.chill/configure.in: Likewise.
32489
32490Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
32491
32492 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
32493 patterns, since that is not a valid context for comments.
32494
32495Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
32496
32497 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
32498 repeated types and repeated types with indices > 9.
32499
32500Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
32501
32502 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
32503 2417; old bug has been fixed.
32504
32505Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
32506
32507 * gdb.base/interrupt.exp: When trying to wake up the inferior,
32508 send the newline ourselves instead of assuming gdb_test will do
32509 so when passed an empty input string.
32510
32511 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
32512 stabs testcode.
32513
32514Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32515
32516 * lib/gdb.exp (gdb_test): Don't send anything if the first
32517 argument is an empty string. This makes cases where we want to
32518 match output that is already in expect's buffers (for example,
32519 matching a breakpoint after gdb_run_cmd has been called) work
32520 reliably.
32521
32522Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32523
32524 * config/netware.exp: New file.
32525
32526Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32527
32528 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
32529 the -B and -L prefixes so we can find the debugging stub.
32530
32531 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
32532 there and we are using the gcc from the tree.
32533
32534 * gdb.base/types.c: Removed.
32535
32536 * gdb.base/configure.in: Look for makefile fragments in ../config.
32537 Recognize i386-*-netware.
32538 * gdb.c++/configure.in: Likewise.
32539
32540Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32541
32542 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
32543 the correct TCL syntax.
32544
32545Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32546
32547 * gdb.base/opaque.exp: use runto instead of messing around with
32548 breakpoints. Simplify by using gdb_test.
32549
32550 * gdb.base/bitfields.exp: restart between tests on netware targets
32551 because breakpoints aren't relocated after target death. Run
32552 processes to completion.
32553
32554 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
32555
32556Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
32557
32558 * Makefile.in: Remove extra tabs that confuse some versions
32559 of "make". Use the newly built gdb to test with by default,
32560 rather than the first one in the tester's search path.
32561
32562Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
32563
32564 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
32565
32566 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
32567 condition help.
32568
32569Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32570
32571 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
32572
32573 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
32574 running.
32575 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
32576 * gdb.base/funcargs.exp: Likewise.
32577
32578 * gdb.base/bitfields.exp: Simplify by using gdb_test.
32579 * gdb.base/funcargs.exp: Likewise.
32580
32581 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
32582 message is "".
32583
32584Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32585
32586 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
32587 return,signals,twice}.exp: Handle non-existant binaries
32588 consistantly.
32589
32590 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
32591 * gdb.base/Makefile.in: Don't try to generate a core dump, we
32592 might testing a cross development system.
32593
32594Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32595
32596 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
32597 runtest script is relative to ${srcdir}, not ${rootdir}.
32598
32599Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
32600
32601 * gdb.base/signals.exp: Allow for optionality of breakpoint
32602 address.
32603
32604Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32605
32606 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
32607
32608Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32609
32610 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
32611 for size_t definition.
32612 * gdb.c++/templates.cc: Likewise
32613
32614 * config/mt-i386-netware: New file.
32615
32616 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
32617 defined.
32618
32619 * gdb.base/Makefile.in: Added support for systems that name core
32620 files by appending "core" to the program name.
32621 * gdb.base/a1-selftest.exp: Likewise.
32622
32623Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32624
32625 * gdb.base/return.exp: Add comment and message for `return double'
32626 test failure on Sparc Solaris.
32627
32628Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
32629
32630 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
32631
32632Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32633
32634 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
32635 from optimizing them away.
32636 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
32637 patterns to include default constructors and assignment operators,
32638 to match gcc versions beyond 2.5.8. Accept any cplus demangling
32639 character in the output of the virtual base pointer.
32640
32641Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32642
32643 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
32644 expression match in print_addr_of to avoid unintented matches.
32645 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
32646 versions up to 2.5.8.
32647
32648Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32649
32650 * gdb.base/list.exp: Tweak alternate pattern for listing of an
32651 included file to run under newer versions of expect.
32652 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
32653 consecutive >'s in templates to accomodate recent cplus-dem.c change.
32654 Remove xfail for the virtual table of BDDHookV.
32655
32656Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
32657
32658 * lib/gdb.exp (string_to_regexp): Set a default result.
32659 (default_gdb_start): Fix misleading message.
32660
32661Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
32662
32663 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
32664 Remove all CC, etc definitions.
32665 * config/mt-hpux: New file.
32666 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
32667 (CFLAGS, LDFLAGS): Define.
32668 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
32669
32670 * Makefile.in (site.exp): Don't insert host_os, etc.
32671 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
32672 (distclean): Check existence of subdir.
32673 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
32674 * gdb.base/Makefile.in: General cleanup and simplification.
32675 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32676 to build executables. Use default rule to build .o files.
32677 (EXPECT, RUNTEST, CC): Fix relative pathname.
32678 (site.exp): Don't insert host_os, etc.
32679 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
32680 and/or SIGUSR1 defined.
32681 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
32682 * gdb.c++/Makefile.in: General cleanup and simplification.
32683 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32684 (CFLAGS): Remove.
32685 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
32686
32687Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
32688
32689 * gdb.base/recurse.exp: Misc changes to get tests running again
32690 after Kung's changes to the watchpoint code.
32691 * gdb.base/watchpoint.exp: Likewise.
32692
32693Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
32694
32695 * lib/gdb.exp (string_to_regexp): Convert {\} also.
32696
32697Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
32698
32699 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
32700 * lib/gdb.exp (default_gdb_start): Define.
32701 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
32702 gdb.base/funcargs.exp, gdb.base/opaque.exp,
32703 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
32704 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
32705 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
32706 Don't call gdb_target_udi in between tests.
32707
32708Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32709
32710 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
32711 (which was basically just a local version of the same thing). In
32712 addition to avoiding duplication, gdb_test_exact is faster.
32713 * lib/gdb.exp (gdb_test_exact): Fix typo.
32714
32715 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
32716 don't give an error.
32717
32718 * gdb.base/term.exp: Call delete_breakpoints before starting.
32719
32720 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
32721 (t10): Add comment.
32722
32723Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32724
32725 Reorganization of the GDB Test Suite.
32726
32727 * gdb.base: New directory, contains all the basic tests.
32728 * gdb.c++: New directory, tests specific to C++.
32729 * gdb.chill: New directory, tests specific to Chill.
32730 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
32731 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
32732 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
32733 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
32734 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
32735 t30-31 to chill).
32736 * */gdbme.*: Rename to match appropriate expect scripts.
32737 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
32738 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
32739 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
32740 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
32741 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
32742 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
32743 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
32744 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
32745 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
32746 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
32747 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
32748 gdb.c++/virtfunc.cc: New names of C++ files.
32749 * gdb.chill/chillvars.ch: New name of Chill file.
32750 * gdb.base/configure.in, gdb.c++/configure.in,
32751 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
32752 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
32753 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
32754 * configure.in (configdirs): Update to reflect directory changes.
32755 (target_abbrev): No longer define for any configuration.
32756 * Makefile.in: Cosmetic improvements to header comments.
32757
32758Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
32759
32760 Various changes to gdb.t31:
32761
32762 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
32763 * gdbme.ch: Make all key-words and predefineds be upper-case.
32764 * chillvars.exp: Expect key-words and predefinds in upper-case.
32765
32766 * chillvars.exp: Use gdb_test_exact many places.
32767 Change expected output for arrays (which now includes index labels).
32768
32769 * pr-5020.exp, gdme.ch (module PR_5020):
32770 New test, for PR-5020.
32771
32772Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
32773
32774 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
32775 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
32776
32777Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
32778
32779 * Makefile.in: Fix bit-rot in definitions of CHILL,
32780 CHILL_FOR_TARGET and Chill_LIB.
32781 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
32782 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
32783 CHILL, and CHILL_LIB.
32784
32785Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
32786
32787 * Revert the previous changes. Please see Rob's directory
32788 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
32789
32790Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
32791
32792 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
32793 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
32794 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
32795 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
32796 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
32797 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
32798 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
32799 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
32800 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
32801 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
32802 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
32803 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
32804 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
32805 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
32806 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
32807 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
32808 changes from 94Q1.
32809
32810Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
32811
32812 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
32813 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
32814 Rob's new testing fragments.
32815
32816Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
32817
32818 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 32819 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
32820
32821Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32822
32823 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
32824 version also, match on casted version strings, and match on
32825 gdb startup case where the line numbers might be messed up.
32826
32827Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
32828
32829 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 32830 (CFLAGS): Delete it from here.
c906108c
SS
32831
32832Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
32833
32834 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
32835
32836Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
32837
32838 * Makefile.in (RUNTEST): Default to just "runtest".
32839
32840Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32841
32842 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
32843 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
32844 the code has been restructured.
32845
32846Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32847
32848 * gdb.t00/default.exp (set write): Allow any number of \r and/or
32849 \n, not just one of each.
32850
32851 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
32852 /bin/cc gives a warning if you do.
32853
32854Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
32855
d63a86f8 32856 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
32857 __t10ListS_link1ZUiRCUiPT0
32858
32859Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32860
32861 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
32862 on local variables in recursive functions.
32863
32864 * gdb.t07/Makefile.in: Build the new test.
32865
32866Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32867
32868 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
32869 directly. Instead compare the return values from actual calls.
32870
32871Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
32872
32873 * Makefile.in (check): Set TCL_LIBRARY for runtest.
32874
32875Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32876
32877 * From Peter Schauer with minor modifications.
a9c64011
AS
32878 * gdb.t15/return.exp (return_tests): Handle targets where "return"
32879 stops in mid-line in the caller. Add xfail for returning a float
32880 value on X86 targets.
c906108c
SS
32881
32882Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32883
32884 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
32885 to avoid expect lossage.
32886 (fmem_LRbug_tests): Likewise.
32887 * gdb.disasm/hppa.s: Corresponding changes.
32888
32889 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
32890 conditions to work with latest dejagnu/expect.
32891
32892 * gdb.t15/funcargs.exp (finish from indirect call): No longer
32893 expected to fail on the PA.
32894 (backtrace in call with trampolines): Explicitly require main
32895 to be frame #1 (no trampolines should show up in backtrace).
32896
32897 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
32898 "continue -expect".
32899 * gdb.t06/break.exp: Likewise.
32900 * gdb.t07/watchpoint.exp: Likewise.
32901 * gdb.t13/bitfields.exp: Likewise.
32902 * gdb.t15/{funcargs,return}.exp: Likewise.
32903 * gdb.stabs/weird.exp: Likewise.
32904 * config/{mips,udi}-gdb.exp: Likewise.
32905
32906 * hppa.sed: Enclose comments within a sed command to avoid
32907 losing with the old OSF1 sed.
32908
32909Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32910
32911 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
32912 sequent dynix.
32913 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
32914 * gdb.t15/funcargs.exp: Conditionally step again to really
32915 finish from marker_call_with_trampolines. Handle the case where
32916 the first step from within call_with_trampolines already steps
32917 us back to main.
32918 * gdb.t15/gdbme.c: Add comment to closing brace of
32919 call_with_trampolines for funcargs.exp.
32920
32921Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32922
d63a86f8 32923 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
32924 Fix typo(s).
32925
32926Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32927
32928 * gdb.t07/gdbme.c: More code for watchpoint testing.
32929
32930 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
32931 "Hardware watchpoint" throughout file.
32932 (test_watchpoint_triggered_in_syscall): New test.
32933 (test_complex_watchpoint): New test.
32934
32935Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32936
32937 * gdbme.c (call_with_trampolines): New function to try and step
32938 into. Tests trampoline problems on the PA.
32939
32940 * funcargs.exp (localvars_in_indirect_call): No longer expect
32941 stepping into indirect call to fail on PAs.
32942 (test_stepping_over_trampolines): New test.
32943
32944Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32945
32946 * TODO: Add suggestions for static member function tests, and
32947 completion tests.
32948
32949Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32950
32951 * TODO: Add suggestions for "p/a" tests.
32952
32953 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
32954 (default_gdb_exit): Replace all the hair with sending "quit" to
32955 the process with a simple close.
32956
32957Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32958
32959 * TODO: Add suggestions for shared library tests.
32960
32961Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32962
32963 * TODO: Add suggestions for x/s tests.
32964
32965Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32966
32967 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
32968 "enable once", and "enable breakpoints once" with ".*".
32969
32970Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32971
32972 * TODO: Add suggestions about structure passing tests.
32973
32974Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32975
32976 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
32977 the primary1 test, use work around if __GNUC__ < 2.
32978 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
32979 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
32980 Test for bad output rather than waiting for timeout. Issue
32981 second continue only if first continue failed.
32982
32983Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32984
32985 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
32986 operator[] test with gdb_test because the old code didn't seem to
32987 be getting the quoting right with the new dejagnu.
32988
32989Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
32990
32991 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
32992 one from the path.
32993 * Makefile.in: Use a fresh expect if there is one, use runtest
32994 from the src tree if there is one.
d63a86f8 32995
c906108c
SS
32996Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32997
32998 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
32999 next over recursive call. Revise the tests from that point on
33000 (which had been skipped) to match GDB's actual (correct) output.
33001
33002 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
33003 with next over a breakpoint whose condition is false.
33004
33005 * gdb.t00/help.exp: Comment out "help set print" tests just like
33006 (and for same reason as) "help set" test.
33007
33008Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33009
33010 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
33011 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
33012
33013Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33014
33015 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
33016 necessary gdb_target_udi.
33017
33018 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
33019
33020 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
33021 1838 and 2417; they are fixed.
33022
33023 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
33024 gdb.t03/ptype.exp (ptype structure, ptype union):
33025 Remove xfails; the test is looser than when the xfails were added.
33026
33027 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
33028 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
33029
33030 * gdb.t01/run.exp: Only run shell test if isnative.
33031
33032 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
33033 since "run" automatically loads if necessary. Call gdb_target_udi
33034 after the "file" since "file" kills any execution target.
33035
33036 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
33037 GDB. GDB doesn't work that way (not anymore at least) on UDI.
33038 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
33039 argument for UDI.
33040
33041Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
33042
33043 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
33044
33045 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
33046
33047Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33048
33049 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
33050 properly quoting regexps. This makes the second argument to
33051 demangle a fixed string, which matches the callers, instead of a
33052 shell-style pattern which is what the previous implementation
33053 used. Update some of the callers.
33054
33055Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33056
33057 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
33058 (comib_nullified_tests): Fix typo.
33059 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
33060 strings. No longer expected to fail.
33061
33062 * gdb.disasm/hppa.s (addib_tests): Fix typo.
33063 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
33064 strings. No longer expected to fail.
33065
33066 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
33067 string. No longer expected to fail.
33068
33069Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33070
33071 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
33072 No longer expected to fail.
33073
33074 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
33075 string. No longer expected to fail.
33076
33077Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33078
33079 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
33080 only in the names (I probably got most of them). I was even
33081 generous with some which differed in underscores in names, and
33082 probably missed a few, and I *still* was able to remove almost a
33083 third of the file with almost no impact on testsuite coverage.
33084
33085Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33086
33087 * gdb.t00/default.exp: Match udi_attach error message as well as
33088 the one from child_attach.
33089
33090 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
33091
33092 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
33093
33094 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
33095 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
33096
33097 * Move test with enums and partial symbols back to
33098 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
33099 Reverts the change of 26 May 93. Per today's change to
33100 stabs.texinfo, the behavior that weird.exp was expecting was
33101 unreasonable; what is important is that the compiler+gdb get
33102 things right, which happens with a recent gcc. Also fix the test
33103 to deal with native compilers which put out the stab gdb can't
33104 deal with.
33105
33106Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33107
33108 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
33109 in the names. The main thing these accomplish is to slow things down.
33110 Many more such duplicates surely remain.
33111
33112 * gdb.t00/help.exp: Comment out "help support" test just like
33113 (and for same reason as) "help set" test.
33114
33115Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
33116
33117 * gdb.t06/break.exp: Remove setup_xfails for
33118 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
33119 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
33120 about known bug in gcc to include up through 2.5.8.
33121 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
33122 well as "_vb$".
33123 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
33124 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
33125 with latest gcc and gdb.
33126 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
33127 well as "_vb$".
33128
33129Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33130
33131 * configure.in (hppa*-*-*): Also configure and build stabs-only
33132 tests.
33133
33134Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33135
33136 * gdb.t10/hppa.mt: A makefile fragment for the PA.
33137 * gdb.t10/configure.in (hppa*-*-*): Use it.
33138
33139Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33140
33141 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
33142
33143Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33144
33145 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
33146 versions prior to 1.13.5.
33147
33148Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33149
33150 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
33151 the prompt is at the start of a line.
33152
33153Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33154
33155 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
33156 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
33157 in the copr tests now.
33158 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
33159 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
33160 expected to fail.
33161
33162Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
33163
33164 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
33165 gdb.t31/chillvars.exp, lib/gdb.exp:
33166 Tweak to run under either version of expect.
33167 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
33168 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
33169 * gdb.t11/list.exp: Remove extraneous whitespace.
33170
33171Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33172
33173 * gdb.t16/printcmds.exp (test_print_strings): Accept
33174 "(unsigned char *) " before the string.
33175
33176 * TODO: Add notes about printing of fancy types and GDB expressions.
33177
33178Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
33179
33180 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
33181 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 33182 if doing mips-idt-ecoff.
c906108c
SS
33183
33184Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
33185
33186 * Most .exp files: Tweak to run under either version of expect.
33187
33188Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33189
33190 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
33191 xfails; I'm not sure why they are failing, but not because of PR 1806.
33192
33193Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
33194
33195 * config/unix-gdb.exp: Remove gdb_unload cause it's already
33196 defined in lib/gdb.exp.
33197
33198Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33199
33200 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
33201 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
33202 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
33203 have to be typeless.
33204
33205Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33206
33207 * TODO: Add suggestion for copyright year test.
33208
33209Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
33210
33211 * configure.in (*-*-lynxos*): Add stabs tests.
33212
33213Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
33214
33215 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
33216 so insert a tab before any assembler directive in column zero.
33217
33218 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
33219 stores.
33220 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
33221 stores.
33222 (fpu_short_memory_tests): Likewise.
33223
33224Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33225
33226 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
33227 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
33228 .stabs directives in comments.
33229
33230Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33231
33232 * TODO: New file, describing tests we could write.
33233 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
33234
33235Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33236
33237 * gdb.t06/signals.exp: Add kludge to force re-sync.
33238
33239 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
33240 to xgdb instead of gdb, get out of gdb.
33241
33242Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
33243
33244 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
33245 for info.
33246
33247Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
33248
33249 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
33250 * gdb.stabs/configure.in (hppa*-*-*): Use it.
33251 * gdb.stabs/hppa.sed: New sed script for the PA.
33252
33253Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33254
33255 * gdb.stabs: Re-write weird.def and configuration to use sed
33256 instead of cpp. sed is portable and POSIX; cpp is neither.
33257
33258Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33259
33260 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
33261
33262Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33263
33264 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
33265
33266Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33267
33268 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
33269 "_vb$".
33270 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
33271 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
33272
33273Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33274
33275 * lib/gdb.exp: Comment out code which depends on non-existent
33276 `transform' procedure.
33277
33278Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
33279
33280 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
33281 * lib/gdb.exp: Transform tool name.
33282 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
33283 1.1's new error handling system.
33284
33285Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33286
33287 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
33288
33289Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33290
33291 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
33292 They made pattern matching so slow that timeouts happened on
33293 heavily loaded systems. Now any output from "show print" which
33294 gets us back to the GDB prompt is a PASS.
33295
33296Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
33297
33298 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
33299
33300Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33301
33302 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
33303
33304 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
33305 It is not from PR 3220.
33306
33307Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33308
33309 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
33310 just started failing because they depended on the order the
33311 subcommands are presented, or exact docstring text. This kind of
33312 test is a pain and has minimal benefit.
33313
33314Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33315
33316 * gdb.t09/corefile.exp: At end of test, use "core" command with
33317 no arguments.
33318
33319Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
33320
33321 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
33322 17}/Makefile.in: Make it possible to run the testsuite with Sun
33323 make and CC = cross gcc by adding explicit build rules for .o
33324 files.
33325
33326Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33327
33328 * gdb.t15/funcargs.exp: Don't put comments on same line as
33329 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 33330
c906108c
SS
33331Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33332
33333 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
33334
33335Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
33336
33337 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
33338 * gdb.t20/inherit.exp: remove three dumplicate entries.
33339
33340Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33341
33342 * gdb.t06/break.exp: For "next over recursive call", fail on any
33343 incorrect output, not just on "factorial (value=2)".
33344
33345Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33346
33347 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
33348 working now. Add an xfail if accesing a bss variable causes
33349 a memory error if the target is not yet run.
33350
33351Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33352
33353 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
33354 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
33355 name of __st* demangling (2 strings). Did Kung really get the
33356 more than 95 others right without testing them?
33357
33358Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
33359
33360 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
33361
33362Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
33363
33364 * configure.in (configdirs): Add gdb.disasm
33365 * gdb.disasm: New directory for GDB disassembler tests.
33366 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
33367
33368Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33369
33370 * gdb.t00/help.exp: Don't test "help set".
33371
33372 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
33373 from within expect statements. None of these happen anymore and
33374 they cause regressions to be silently unnoticed.
33375
33376 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
33377 messages) about known failures with gcc cygnus-2.4.5-930417.
33378
33379 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
33380 comp-info.exp so it gets built if it doesn't exist.
33381
33382 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
33383 it is no longer used.
33384 * gdb.t13/comp-info.c: Removed.
33385
33386Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33387
33388 * gdb.t06/signals.exp: Add xfail for sun3.
33389
33390Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33391
33392 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
33393 relevant because ^C doesn't get sent but failure can be reproduced
33394 interactively).
33395
33396Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33397
33398 * gdb.stabs/alpha.mt: New configuration file for alpha.
33399 * gdb.stabs/configure.in: Use it.
33400 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
33401 sharing with alpha.mt, redefine long to word via preprocessor.
33402 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
33403 for alpha.
33404 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
33405 native cc.
33406 * gdb.t00/teststrategy.exp: Change expect string so that we
33407 consume the `(xgdb)' from the command echo and from the gdb prompt.
33408 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
33409 gdb currently compares all values as long, so this failure probably
33410 applies to any configuration where LONGEST is bigger than a target int.
33411 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
33412 with gcc.
33413 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
33414 to handle opaque pointers, gcc is.
33415 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
33416 as first argument. Include <sys/types.h> and change all operator
33417 new definitions to use size_t.
33418 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
33419 now that we use size_t.
33420
33421Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33422
a9c64011 33423 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 33424 a long or float array cast all array members to the same type.
a9c64011 33425 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 33426 with 64 bit longs.
a9c64011 33427 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 33428 on alpha.
a9c64011 33429 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
33430
33431Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33432
33433 * gdb.t24 (demangle.exp): Constructors of templates have names like
33434 vector<int>::vector(int) not vector<int>::vector<int>(int). See
33435 section 14.6 of the ARM.
33436
33437 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
33438 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
33439 accomplish little and slow down the testsuite.
33440
33441 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
33442 Accept spaces various places.
33443
33444Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33445
33446 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
33447 with watchpoint enabled.
33448
33449 * Makefile.in: Remove definition of CC and remove the second
33450 definition of CXX (the "CXX = gcc" one remains). These definitions
33451 were causing backquotes to be expanded within backquotes, which
33452 doesn't work.
33453
33454Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
33455
33456 * gdb.t17/callfuncs.exp: Add "return 0" to end.
33457
33458Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33459
a9c64011
AS
33460 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
33461 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
33462 by mips cc and contains no stabs entries.
33463
33464Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
33465
33466 * config/vx-gdb.exp: Use fake device to load files rather than
33467 NFS.
33468 * lib/gdb.exp: New proc to do "file" command.
33469 * config/unix-gdb.exp: Use new "file" proc.
33470
33471Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
33472
33473 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
33474 Rework board rebooting slightly.
33475 (gdb_exit): Don't exit from the remote shell; there isn't one.
33476 * gdb.stabs/weird.exp: If a program is being debugged already,
33477 kill it.
33478 * gdb.t04/setvar.exp: Stop and restart gdb.
33479 * gdb.t05/expr.exp: Likewise.
33480 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
33481 restart gdb and reload the program.
33482 * gdb.t08/opaque.exp: Likewise.
33483 * gdb.t12/scope.exp: Likewise.
33484 * gdb.t13/bitfields.exp: Likewise.
33485 * gdb.t15/funcargs.exp: Likewise.
33486 * gdb.t20/classes.exp: Likewise.
33487 * gdb.t03/ptype.exp: Increase timeout.
33488 * gdb.t16/printcmds.exp (test_print_string_constants,
33489 test_print_array_constants): Likewise.
33490 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
33491 * gdb.t20/classes.exp (do_tests): Likewise.
33492 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
33493
33494Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
33495
33496 * gdb.stabs: Renamed *wierd* to *weird*.
33497
33498Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
33499
33500 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
33501 for timeout. Add "known gcc 2.4.5 bug" to failure message.
33502
33503Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
33504
33505 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
33506 (do_tests): Remove xfail for whatis on one_var and two_var.
33507
33508Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
33509
33510 * Makefile.in: Made cross building work better by adding
33511 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
33512
33513Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33514
33515 * gdb.t15/{return.c,return.exp,Makefile.in}:
33516 New test, currently commented out.
33517
33518Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
33519
33520 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
33521 still running and removes the leftover named socket so GDb can do
33522 clean restarts.
33523
33524Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
33525
33526 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
33527 console, not GDB.
33528 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
33529 cross testing works better with "make check"
33530 * config/unix-gdb: Use default procedures for exit and version.
33531 * config/vx-gdb.exp: Cleaned up and massaged back to working order
33532 with the newest VxWorks.
33533
33534Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33535
33536 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
33537 old form.
33538
33539 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
33540 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
33541
33542 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
33543
33544 * config/unix-gdb.exp: Remove this version of gdb_exit
33545 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
33546 Rob says he'll look at it when he gets back to testing boards.
33547
33548Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
33549
33550 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
33551 an expected fail for certain ptype commands.
33552
33553 * gdb.t20/classes.exp: Update expected results of "ptype class
33554 Base1" to account for the constructor that now appears in the type.
33555
33556Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
33557
33558 * configure.in (configdirs): Restore gdb.t04, which mysteriously
33559 disappeared from list.
33560 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
33561 "alldone" proc with call to cleanup and exit.
33562 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
33563 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
33564 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
33565 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
33566 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
33567 "alldone" proc with simple returns that suppress remaining
33568 tests. The alldone proc went away many months ago.
33569
33570Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33571
33572 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
33573
33574 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
33575
33576Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33577
33578 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
33579 as vax gdb will display them.
33580
33581Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33582
33583 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
33584 optimizers.
33585
33586 * scope.exp: Change "bad value for localval" messages so each one
33587 is unique.
33588
33589 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
33590 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
33591
33592 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
33593
33594Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33595
33596 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
33597 doesn't exist (due to optimization).
33598
33599Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33600
33601 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
33602 contains \r because the filename is long.
33603
33604 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
33605 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
33606
33607Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33608
33609 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
33610 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
33611 Ultrix.
33612 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
33613 int tests.
33614 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
33615
33616Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
33617
33618 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
33619
33620 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 33621 to match does not match the passing case but still matches the
c906108c
SS
33622 failing case.
33623
33624Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33625
33626 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
33627
33628Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
33629
33630 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
33631 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
33632 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
33633 Remove various versions of gdb_exit.
33634 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
33635 gdb_exit.
33636 * config/unix-gdb.exp: gdb_exit remains here, and should override
33637 the generic version, since it's doing a lot of wierd stuff that
33638 the other versions aren't. FIXME, fold it in, or abandon this
33639 version.
33640
33641Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33642
33643 * gdb.t24/demangle.exp: Add tests for PR 3220.
33644
33645Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33646
33647 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
33648
33649Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
33650
33651 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
33652 "i386-*-*". Works for i486 as well.
33653
33654 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
33655 bug, and expand domain of xfail to all SVR4 systems, since the
33656 actual problem is likely to be in generic SVR4 /proc support.
33657
33658Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33659
33660 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
33661
33662Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
33663
33664 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
33665 xfails for other systems. Match a missing 'Continuing.' as an
33666 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
33667
33668 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
33669 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
33670 Only issue warning for missing executables if -all option is used.
33671
33672 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
33673 file if -all option is used. It's like an unpredictable XFAIL.
33674
33675Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33676
33677 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
33678 for dynamically linked binaries.
33679
33680 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
33681
33682Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33683
33684 * gdb.t20/inherit.exp: Change message for "print tagless struct"
33685 to state that this is a known bug in old versions of g++.
33686
33687Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33688
33689 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
33690 while waiting for `Continuing'.
33691
33692Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
33693
33694 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
33695 in text, data, and bss.
33696 * gdb.t10/nodebug.c: Add local and global test variables for
33697 initialized and uninitialized data.
33698
33699Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33700
33701 * config/unix-gdb.exp (gdb_exit): Add "wait".
33702
33703Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33704
33705 * gdb.t06/signals.exp: xfail the continue from the handler for all
33706 targets.
33707
33708 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
33709 function with watchpoints enabled, the i386 call dummy starts with
33710 a call.
33711
33712 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
33713 386 bsd names its corefiles.
33714
33715Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
33716
33717 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
33718 compilers don't grok it.
33719 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
33720 with small octal ints rather than character constants, which
33721 are signed and might not fit if first promoted to int.
33722
33723Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
33724
33725 * gdb.t09/Makefile.in (clean): Remove corefile.
33726
33727Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33728
33729 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
33730
33731Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33732 and Jim Kingdon (kingdon@cygnus.com)
33733
33734 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
33735 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
33736 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
33737
33738Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33739
33740 * gdb.t17/interrupt.exp: Add xfail for hppa.
33741
33742Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33743
33744 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
33745 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
33746 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
33747 to determine signed-ness of bitfields and use the result to setup
33748 the xfail.
33749 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
33750 * gdb.t15/funcargs.exp: Use them to step until the second indirect
33751 call line is reached if necessary.
33752
33753Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33754
33755 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
33756
33757Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33758
33759 * gdb.t06/break.exp: Also test `clear' command.
33760
33761Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33762
33763 * gdb.t00/teststrategy.exp: Remove extra quote.
33764
33765 * gdb.t07/watchpoint.exp: Change xfail for calling function with
33766 watchpoint enabled to be for all non-68k machines.
33767
33768 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
33769
33770Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33771
33772 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
33773 targets use aout.mt instead of ecoff.mt as gas understands
33774 standard aout format.
33775
33776Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33777
33778 * lib/gdb.exp (runto): Don't insist that function we are running to
33779 was compiled with -g.
33780
33781 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
33782
33783 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
33784 to get back into the read system call.
33785 Accept leading newline in case where we woke it up.
33786
33787Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33788
33789 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
33790 to make the stabs test work on ecoff systems using gcc and -with-stabs.
33791 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
33792 enable ecoff configuration.
33793
33794Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33795
33796 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
33797
33798Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33799
33800 * gdb.t16/printcmds.exp: Add another printf test.
33801
33802Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
33803
33804 * configure.in: If configured -with-stabs on any target, add
33805 stabsdirs to configdirs.
33806
33807Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33808
33809 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
33810 fun" so pattern does not match the command itself.
33811
33812Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33813
33814 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
33815
33816Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33817
33818 * gdb.t17/interrupt.exp: Test for more things.
33819
33820Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33821
33822 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
33823 compiler arranges the code and line numbers.
33824
33825 * gdb.t17/interrupt.exp: Don't send \n after ^C.
33826
33827Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33828
33829 * gdb.t00/help.exp: Increase expect input buffer size.
33830
33831Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33832
33833 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
33834
33835 * gdb.t07/watchpoint.exp: Add xfail for hppa.
33836
33837 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
33838
33839 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
33840 [0-9]*, not just [0-9].
33841
33842Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33843
33844 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
33845
33846 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
33847
33848Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33849
33850 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
33851
33852Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33853
33854 * gdb.t06/signals.c: Add xfails for sun3.
33855
33856 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
33857
33858 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
33859 test_stepping tests.
33860
33861Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33862
33863 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
33864
33865 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
33866
33867 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
33868 rather than actually putting it through cpp twice.
33869
33870 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
33871
33872Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
33873
33874 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
33875 no longer needed.
33876
33877Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33878
33879 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
33880
33881 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
33882 C++ features prints as "struct", make it a pass, not an xfail.
33883
33884Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33885
33886 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
33887 Don't require VA to print as "class" rather than "struct".
33888
33889Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
33890
33891 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
33892
33893Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33894
33895 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
33896
33897Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33898
33899 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
33900 order.
33901
33902Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33903
33904 * gdb.t16/printcmds.exp: Add printf tests.
33905
33906 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
33907
33908 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
33909
33910Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
33911
33912 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
33913 pass counts, to counteract any existing or future setup_xfails.
33914
33915Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33916
33917 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
33918 {BEGIN,END}_COMMON for common block instead of STAB.
33919 * gdb.stabs/wierd.exp: Add xfail for rs6000.
33920
33921 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
33922 intp_var should be N_GSYM not N_LSYM.
33923 wierd-aout.S: Use a label for the value of the N_SO.
33924 wierd.def: Remove all backslashes.
33925 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
33926
33927Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33928
33929 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
33930 get the expected next to inheritance3.
33931
33932Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33933
33934 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
33935 now that gcc-2.4 gets it right.
33936
33937Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33938
33939 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
33940
33941 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
33942 generating comp-info.exp which works for cross-compilation.
33943
33944Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
33945
33946 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
33947 "*-*-sysv4.*".
33948
33949Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
33950
33951 * gdb.t01/run.exp: Start with a fresh gdb.
33952 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
33953 SVR4.x.
33954
33955Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
33956
33957 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
33958 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
33959 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
33960 Makefile.in (distclean, realclean): Remove gdbme.c from list of
33961 things to remove.
33962
33963Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
33964
33965 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
33966 test cases from bug reports.
33967
33968Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
33969
33970 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
33971 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
33972 avoid spurious xfails.
33973 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
33974 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
33975 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
33976
33977Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
33978
33979 * gdb.t00/teststrategy.exp: Rework to provide more useful
33980 description of each test, fix problem with systems that define
33981 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
33982 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
33983 results for "next over recursive call" so timeouts aren't taken
33984 by error.
33985
33986Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
33987
33988 * gdb.t12/scope.exp: Test printing of variables before run.
33989
33990 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
33991 printed in wrong order due to sorting.
33992
33993Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
33994
33995 * gdb.t00/teststrategy.exp: Fix expected results for printing
33996 user entered string constant. Is array of char, prints with no
33997 address.
33998
33999 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
34000 commands.
34001 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
34002 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
34003 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
34004 of struct of char arrays.
34005 * gdb.t00/radix.exp: New tests for radix commands.
34006
34007Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
34008
34009 * gdb.t16/printcmd.exp: Print a variable before running program
34010 (with xfail for AIX).
34011
34012Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
34013
34014 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
34015
34016 * gdb.t16/printcmd.exp: Don't print variables before running program.
34017
34018 * gdb.t06/break.exp: Don't require envp argument to main.
34019
34020 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
34021
34022 * gdb.t02/whatis.exp, gdb.t11/list.exp:
34023 Add xfails for rs6000.
34024
34025 * gdb.t02/whatis.exp: Change other tests not to re-test something
34026 we already tested.
34027
34028 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
34029 each type used has a variable of that type.
34030
34031Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
34032
34033 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
34034
34035Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
34036
34037 * configure.in: change srctrigger to be a file, not a directory
34038
34039Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
34040
34041 * configure.in (mips-idt-ecoff*): Added trailing '*'.
34042
34043 * gdb.t11/list.exp: Fixed a couple of typos.
34044
34045Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
34046
34047 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
34048 is fixed and PR is closed.
34049 * gdb.t16 (gdbme.c): Add simple test string variable.
34050 * gdb.t16 (printcmds.exp): Add tests with simple test string
34051 variable, primarily for boundaries on "set print elements".
34052
34053Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
34054
34055 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
34056 Make leading 0's optional and don't expect a tab in the middle
34057 of the number.
34058
34059 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
34060
34061 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
34062 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
34063 don't end command passed to gdb_test with newline.
34064
34065 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
34066 signed keyword away, don't expect signed bitfields to be signed.
34067
34068 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
34069 printing with only as many 1's as are in the field as well as printing
34070 with 32 1's (see comment).
34071
34072Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
34073
34074 * gdb.t00/default.exp: Start with a fresh gdb.
34075 * configure.in (configdirs): Remove gdb.t31 until the chill
34076 compiler works again. It no longer is able to find chillrt0
34077 since it isn't in libchill.a anymore.
34078 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
34079 wierd.o, make more modular.
34080 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
34081 spurious newlines that caused problems.
34082
34083Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34084
34085 * Move test with enums and partial symbols from gdb.t03/ptype.exp
34086 to gdb.stabs/wierd.exp since GCC has worked around the bug.
34087 gdb.stabs/wierd.{exp,def}: Many new tests.
34088
34089 * gdb.t00/default.exp: update info line for new message.
34090
34091 * gdb.t02/{whatis.exp,gdbme.c}:
34092 Test that "char *" doesn't print as "caddr_t".
34093
34094Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34095
34096 * gdb.t00/help.exp: Use .* in place of some help messages which
34097 just changed.
34098 gdb.t00/default.exp: Update "info frame" test for new message.
34099 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
34100 Remove some xfails
34101
34102Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34103
34104 * gdb.t03/{gdbme.c,ptype.exp}:
34105 Add tests for typedef'd struct and union without tags.
34106 Also check "whatis" on a variable of a typedef'd enum without a tag.
34107
34108 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
34109 PRMS 1823; the bug still exists but isn't reproduced by this test
34110 anymore), and remove rs6000 XFAIL (the bug is fixed).
34111
34112 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
34113 duplicated from whatis.exp. For those that are left, accept
34114 "long", "long int", or "int" for long variables (whatis.exp already
34115 has an XFAIL for "int", so no need to fail it here).
34116
34117 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
34118 Deal with GCC's names for types now that GDB uses the compiler's names.
34119
34120 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
34121 setup_xfail's for sunos4. If we #defined the signed keyword away,
34122 don't expect GDB to know that char it is signed.
34123
34124 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
34125
34126Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
34127
34128 * configure.in (configdirs): Add gdb.t24 for C++ tests that
34129 should work on any system, regardless of debugging format.
34130 * gdb.t21/demangle.exp: Move to gdb.t24.
34131 * gdb.t24/demangle.exp: Move from gdb.t21.
34132 * gdb.t24/{Makefile.in, configure.in}: New files.
34133
34134Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34135
34136 * configure.in: Do gdb.stabs and C++ tests only for stabs.
34137 * gdb.stabs: New directory.
34138
34139Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34140
34141 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
34142 not just "Quit anyway?".
34143
34144Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
34145
34146 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
34147 that all setup_xfails are immediately followed by clear_xfails.
34148
34149Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
34150
34151 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
34152 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
34153 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
34154 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
34155 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
34156 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
34157 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
34158 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
34159 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
34160 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
34161 gdb.t31/chillvars.exp, lib/gdb.exp:
34162 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
34163 bug-gdb@prep.ai.mit.edu.
34164
34165Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
34166
34167 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
34168 with 0.0, not integer 0.
34169
34170Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
34171
34172 * gdb.t06/break.exp: Update for "Kill the program" message change.
34173
34174Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
34175
34176 * Makefile.in (GDBFLAGS): Set to -nx.
34177 * Makefile.in (site.exp): Use GDBFLAGS.
34178
34179Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
34180
34181 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
34182 Makefiles.
34183 (check): depend on just-check.
34184 (just-check): added so that tests can be run without a noop
34185 build pass.
34186
34187Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
34188
34189 Switch to using configure's configdirs.
34190 * Makefile.in (Makefile): add configure.in dependency.
34191 (SUBDIRS): removed redundant assignment.
34192 * configure.in: switch subdirs assignment to configdirs.
34193 * gdb.t*/configure.in: new files.
34194
34195Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
34196
34197 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
34198 works.
34199
34200Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
34201
34202 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
34203 in explicit rules. Apparently this is not supported by some makes.
34204
34205Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
34206
34207 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
34208
34209Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34210
34211 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
34212 disappeared.
34213
34214Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
34215
34216 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
34217
34218Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
34219
34220 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
34221 watchpoint problem that is now fixed.
34222 * gdb.t30/chexp.exp: Remove setup_xfail for printing
34223 uninitialized convenience variables.
34224 * gdb.t31/chillvars.exp: Fix expected patterns for printing
34225 structures.
34226
34227Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34228
34229 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
34230 which causes expect to get out of sync with gdb on long output
34231 from help set.
34232 * gdb.t09/corefile.exp: Make expected pattern for core file
34233 failing signal and frame output format less sun specific.
34234
34235Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
34236
34237 * gdb.t31/chillvars.exp: Add and remove initial dummy
34238 breakpoint, so that symbol table is forced in.
34239 (Needed at least on Sunos4, though it seems not SVR4.)
34240 * gdb.t31/chillvars.exp: Update for changed output format.
34241
34242Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
34243
a9c64011 34244 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
34245
34246Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
34247
34248 * Makefile.in: Added --srcdir when invoking runtest, removed the
34249 need for a local config file. (optional now)
34250
34251Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
34252
34253 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
34254 failure count used to force early termination. Add some more
34255 expected failures for gnu style demangling.
34256
34257Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34258
34259 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
34260 pmi variable from gdb.t20/gdbme to get optimized away.
34261 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
34262 Check for written corefile upon timeout _and_ eof.
34263
34264Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34265
34266 * config/unix-gdb.exp: Add missing return 0.
34267
34268Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34269
34270 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
34271 test termination.
34272
34273Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
34274
34275 * configure.in (subdirs): Put back gdb.t17 which mysteriously
34276 disappeared.
34277
34278Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
34279
34280 * gdb.t10/crossload.exp: Disable the i860-elf test until such
34281 time as i860 support works.
34282
d63a86f8 34283 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
34284 "backtrace 100\r" rather than just "backtrace\r", to match last
34285 change.
34286
34287Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
34288
34289 * config/udi-gdb.exp (gdb_exit): Remove close command.
34290 (gdb_target_udi): New procedure to set the UDI target.
34291 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
34292 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
34293 Added waits for prompts after several question responses. Added
34294 some more responses used by a29k-amd-udi-gdb.
34295 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
34296 pass different arguments, restart UDI connection after program
34297 completion.
34298 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
34299 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
34300 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
34301 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
34302 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
34303 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
34304 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
34305 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
34306 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
34307 after program completion.
34308 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
34309 compiled with a SELECT_VECS setting.
34310 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
34311 infinite recursion.
34312
34313 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
34314 Added checks for COFF results, and made them expected failures for
34315 all targets. It would be better to make them expected failures
34316 for COFF targets only.
34317
34318Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
34319
34320 * Makefile.in: add null dvi target, don't bother to recurse
34321 through test directories for info and install-info; rename
34322 $(datadir) to be dejagnu instead of deja-gnu
34323
34324Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
34325
34326 * gdb.t31/gdbme.ch: Re-enable code that previously caused
34327 compiler to coredump.
34328 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
34329 code.
34330
34331Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
34332
34333 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
34334 coredump.
34335 * gdb.t31/chillvars.exp: Comment out tests that depend on that
34336 code.
34337
34338Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
34339
34340 * gdb.t03/ptype.exp: tests for return code from gdb_test.
34341 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
34342 which in a shell. Deletes xgdb when done.
34343 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
34344 Tests the return from the "set height" or "set width" commands.
34345 Added a few return codes where needed.
34346
34347Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
34348
34349 * Makefile.in (SUBDIRS): Add gdb.t17.
34350 * configure.in (subdirs): Add gdb.t17.
34351 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
34352 files to test gdb's calling of functions in the inferior with
34353 the correct arguments and gdb's ability to retrieve any
34354 result returned.
34355
34356Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
34357
34358 * config/unix-gdb.exp (gdb_exit): Remove close commands that
34359 may be called after gdb goes away. Previous versions of expect
34360 needed these to avoid file descriptor leaks, but they cause
34361 errors with the current revision of expect.
34362 * gdb.t00/gdbvars.exp: Use -re on expected output after
34363 setting sevenbit-strings.
34364 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
34365 to set sevenbit-strings consistent across tests.
34366 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
34367 set sevenbit-strings consistent across tests.
34368
34369Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
34370
34371 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
34372 expected output to match current "expect" expectations.
34373
34374Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
34375
34376 * gdb.t00/default.exp: Change expected output for default "source"
34377 command, to match new gdb behavior which requires a filename to
34378 source.
34379
34380Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
34381
34382 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
34383 expected fail for i486-*-* that misses the marker2 function.
34384 * gdb.t10/crossload.exp (bfddefault): Allow successful
34385 recognition of a format to pass even if no symbols are found.
34386 Explicitly catch failures where the format is not recognized
34387 or is ambiguous, and add the reason to the fail message.
34388 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
34389 the cause is and invalid target and add reason to failure message.
34390 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
34391 elf32-i386, elf32-sparc, and elf32-i860.
34392 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
34393 Set up expected failure for 'filename'::variable scope resolution,
34394 which is now apparently broken on all targets.
34395 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
34396 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
34397 gdb.t23/templates.exp: Change failure for missing binfile into
34398 just a warning.
34399 gdb.t21/demangle.exp: Change all cfront references to 'arm'
34400 references.
34401
34402Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
34403
34404 * gdb.t00/default.exp: Add expected output for default "source"
34405 command, to match new gdb behavior.
34406 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
34407
34408Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
34409
34410 * config/*-gdb.exp: returns an error, rather than exiting on
34411 internal errors.
34412
34413Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
34414
34415 * gdb.t03/gdbme.c: Add pointer to struct variable.
34416 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
34417 referencing struct members.
34418
34419Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
34420
34421 * configure.in (mips-idt-ecoff): New target.
34422 * config/mips-gdb.exp: New file for remote board using MIPS remote
34423 debugging protocol.
34424
34425 * Redid configuration scheme. Removed gdb.t*/configure.in.
34426 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
34427 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
34428 distclean targets. Built executables via .o files. Adjusted
34429 tests to account for source files in $(srcdir) rather than
34430 $(objdir).
34431 * lib/gdb.exp (runto): Don't expect () after the function name,
34432 because it may have arguments.
34433
34434Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
34435
34436 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
34437 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
34438 expected failures for mips-idt-* and mips-sgi-*.
34439 * gdb.t00/default.exp (attach): Kill process if requested.
34440 * gdb.t00/help.exp (help target core, help target): Accept a gdb
34441 that does not read core files.
34442 * gdb.t01/run.exp: Removed checks for exit status code.
34443 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
34444 it is linked in.
34445 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
34446 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
34447 appropriate, rather than doing it by hand.
34448 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
34449 execution.
34450 * gdb.t10/crossload.exp: Kill existing program if needed.
34451 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
34452 appropriate, rather than doing it by hand. Always increase
34453 timeout for this test, not just for VxWorks.
34454
34455Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
34456
34457 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
34458 of Chill STRUCT types and STRUCT values.
34459 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
34460 than "char".
34461 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 34462 struct2): New struct definitions and initializations to test
c906108c
SS
34463 simple Chill STRUCT types.
34464
34465Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
34466
34467 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
34468 the null byte at the end of strings.
34469 * gdb.t00/default.exp: Make show version insensitive to copyright
34470 date.
34471 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
34472 to avoid dependencies on target char signedness.
34473 * gdb.t16/printcmds.exp: Update expected results for explicitly
34474 unsigned char.
34475 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
34476 now work.
34477 * gdb.t21/demangle.exp: Add many more patterns for template
34478 demangling, most of them being expected failures.
34479 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
34480 string we are matching for, to match on the whole string.
34481 * gdb.t21/demangle.exp: Add many new test strings to demangle,
34482 and fix a whole bunch that had incorrect expected output but were
34483 passing anyway because of the bug in "proc demangle".
34484 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
34485 type.
34486 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
34487
34488Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
34489
a9c64011
AS
34490 * gdb/testsuite: made modifications to testcases, etc., to allow
34491 them to work properly given the reorganization of deja-gnu and the
34492 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
34493
34494Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
34495
34496 * gdb/testsuite: Initial creation of gdb/testsuite.
34497 Migrated dejagnu testcases and support files for testing nm to
34498 gdb/testsuite from deja-gnu. These files were moved "as is"
34499 with no modifications. This migration is part of a major overhaul
34500 of dejagnu. The modifications to these testcases, etc., which
34501 will allow them to work with the new version of dejagnu will be
34502 made in a future update.
48efe704 34503
8d8cb839 34504 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 34505\f
8d8cb839
EZ
34506;; Local Variables:
34507;; mode: change-log
34508;; left-margin: 8
34509;; fill-column: 74
34510;; version-control: never
34511;; End:
902f2ccb 34512
ecd75fc8 34513 Copyright 1993-2014 Free Software Foundation, Inc.
902f2ccb
MC
34514 Copying and distribution of this file, with or without modification,
34515 are permitted provided the copyright notice and this notice are preserved.