]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdbserver/Windows: Rely purely on event info when handling DLL load event
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
31aa7e4e
JB
12014-02-26 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
5 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
8 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
9
1b588015
JB
102014-02-26 Joel Brobecker <brobecker@adacore.com>
11
12 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15
55426c9d
JB
162014-02-26 Joel Brobecker <brobecker@adacore.com>
17
18 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19
dc53a7ad
JB
202014-02-26 Joel Brobecker <brobecker@adacore.com>
21
22 * gdb.dwarf2/arr-stride.c: New file.
23 * gdb.dwarf2/arr-stride.exp: New file.
24
12ab52e9
PA
252014-02-26 Pedro Alves <palves@redhat.com>
26
27 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
28 that won't ever trigger. Make sure that GDB reports the correct
29 breakpoint that caused the stop.
30
849c862e
JK
312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
32
33 PR gdb/16626
34 * gdb.base/auto-load-script: New file.
35 * gdb.base/auto-load.c: New file.
36 * gdb.base/auto-load.exp: New file.
37
71b7d793
JK
38 PR gdb/16626
39 * gdb.base/auto-load.exp: Fix out-of-srctree run.
40
e2f0d509
JK
412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
42
43 Fix dw2-icycle.exp -fsanitize=address GDB crash.
44 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
45
50cc37c8
DE
462014-02-24 Doug Evans <dje@google.com>
47
48 * lib/gdb.exp (run_on_host): Log error output if program fails.
49
ea4758f2
PA
502014-02-21 Pedro Alves <palves@redhat.com>
51
52 * gdb.threads/step-after-sr-lock.c: Rename to ...
53 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
54 * gdb.threads/step-after-sr-lock.exp: Rename to ...
55 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
56 ... this.
57
d7b30f67
SDJ
582014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
59
60 PR tdep/16397
61 * gdb.arch/amd64-stap-special-operands.exp: New file.
62 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
63 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
64 * gdb.arch/amd64-stap-triplet.S: Likewise.
65 * gdb.arch/amd64-stap-triplet.c: Likewise.
66
83deb43f
JB
672014-02-20 Joel Brobecker <brobecker@adacore.com>
68
69 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
70 in .section pseudo-op.
71
adde2bff
DE
722014-02-20 lin zuojian <manjian2006@gmail.com>
73 Joel Brobecker <brobecker@adacore.com>
74 Doug Evans <xdje42@gmail.com>
75
76 PR symtab/16581
77 * gdb.dwarf2/dw2-icycle.S: New file.
78 * gdb.dwarf2/dw2-icycle.c: New file.
79 * gdb.dwarf2/dw2-icycle.exp: New file.
80
f7bd0f78
SC
812014-02-19 Siva Chandra Reddy <sivachandra@google.com>
82
83 * gdb.python/py-value-cc.cc: Improve test case to enable testing
84 operations on gdb.Value objects.
85 * gdb.python/py-value-cc.exp: Add new test to test operations on
86 gdb.Value objects.
87
c17ef0d5
DE
882014-02-18 Doug Evans <dje@google.com>
89
90 * Makefile.in (TESTS): New variable.
91 (expanded_tests, expanded_tests_or_none): New variables
92 (check-single): Pass $(expanded_tests_or_none) to runtest.
93 (check-parallel): Only run tests in $(TESTS) if non-empty.
94 (check/no-matching-tests-found): New rule.
95 * README: Document TESTS makefile variable.
96
5dd3176f
DE
972014-02-18 Doug Evans <dje@google.com>
98
99 * Makefile.in (check-parallel): rm -rf outputs temp.
100
0b10be4f
JK
1012014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
102
103 Fix "ERROR: no fileid for" in the testsuite.
104 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
105
85f224e7
DE
1062014-02-12 Doug Evans <dje@google.com>
107
108 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
109 (MISCELLANEOUS): New variable.
110 (clean): rm -rf $(MISCELLANEOUS).
111 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
112 dwp live in the same directory as symlinks, with each symlink pointed
113 to a differently named file in a different directory.
114
149b30ff
DE
1152014-02-11 Doug Evans <dje@google.com>
116
117 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
118 of Tcl file commands.
119
1dfdac32
MK
1202014-02-10 Mark Kettenis <kettenis@gnu.org>
121
122 * gdb.threads/step-after-sr-lock.exp: Avoid executing
123 "kill -SIGUSR1 -1".
124
aa4fb036
JB
1252014-02-10 Joel Brobecker <brobecker@adacore.com>
126
127 * gdb.ada/tick_length_array_enum_idx: New testcase.
128
ed3ef339
DE
1292014-02-10 Doug Evans <xdje42@gmail.com>
130
131 * configure.ac (AC_OUTPUT): Add gdb.guile.
132 * configure: Regenerate.
133 * lib/gdb-guile.exp: New file.
134 * lib/gdb.exp (get_target_charset): New function.
135 * gdb.base/help.exp: Update expected output from "apropos apropos".
136 * gdb.guile/Makefile.in: New file.
137 * gdb.guile/guile.exp: New file.
138 * gdb.guile/scm-arch.c: New file.
139 * gdb.guile/scm-arch.exp: New file.
140 * gdb.guile/scm-block.c: New file.
141 * gdb.guile/scm-block.exp: New file.
142 * gdb.guile/scm-breakpoint.c: New file.
143 * gdb.guile/scm-breakpoint.exp: New file.
144 * gdb.guile/scm-disasm.c: New file.
145 * gdb.guile/scm-disasm.exp: New file.
146 * gdb.guile/scm-equal.c: New file.
147 * gdb.guile/scm-equal.exp: New file.
148 * gdb.guile/scm-error.exp: New file.
149 * gdb.guile/scm-error.scm: New file.
150 * gdb.guile/scm-frame-args.c: New file.
151 * gdb.guile/scm-frame-args.exp: New file.
152 * gdb.guile/scm-frame-args.scm: New file.
153 * gdb.guile/scm-frame-inline.c: New file.
154 * gdb.guile/scm-frame-inline.exp: New file.
155 * gdb.guile/scm-frame.c: New file.
156 * gdb.guile/scm-frame.exp: New file.
157 * gdb.guile/scm-generics.exp: New file.
158 * gdb.guile/scm-gsmob.exp: New file.
159 * gdb.guile/scm-iterator.c: New file.
160 * gdb.guile/scm-iterator.exp: New file.
161 * gdb.guile/scm-math.c: New file.
162 * gdb.guile/scm-math.exp: New file.
163 * gdb.guile/scm-objfile-script-gdb.in: New file.
164 * gdb.guile/scm-objfile-script.c: New file.
165 * gdb.guile/scm-objfile-script.exp: New file.
166 * gdb.guile/scm-objfile.c: New file.
167 * gdb.guile/scm-objfile.exp: New file.
168 * gdb.guile/scm-ports.exp: New file.
169 * gdb.guile/scm-pretty-print.c: New file.
170 * gdb.guile/scm-pretty-print.exp: New file.
171 * gdb.guile/scm-pretty-print.scm: New file.
172 * gdb.guile/scm-section-script.c: New file.
173 * gdb.guile/scm-section-script.exp: New file.
174 * gdb.guile/scm-section-script.scm: New file.
175 * gdb.guile/scm-symbol.c: New file.
176 * gdb.guile/scm-symbol.exp: New file.
177 * gdb.guile/scm-symtab-2.c: New file.
178 * gdb.guile/scm-symtab.c: New file.
179 * gdb.guile/scm-symtab.exp: New file.
180 * gdb.guile/scm-type.c: New file.
181 * gdb.guile/scm-type.exp: New file.
182 * gdb.guile/scm-value-cc.cc: New file.
183 * gdb.guile/scm-value-cc.exp: New file.
184 * gdb.guile/scm-value.c: New file.
185 * gdb.guile/scm-value.exp: New file.
186 * gdb.guile/source2.scm: New file.
187 * gdb.guile/types-module.cc: New file.
188 * gdb.guile/types-module.exp: New file.
189
7026a7c1
YQ
1902014-02-10 Yao Qi <yao@codesourcery.com>
191
192 PR testsuite/16543
193 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
194 * configure: Regenerated.
195 * Makefile.in: New file.
196
6c466447
AS
1972014-02-08 Andreas Schwab <schwab@linux-m68k.org>
198
199 * gdb.python/py-framefilter.exp: Fix typo.
200
6e854735
YQ
2012014-02-08 Yao Qi <yao@codesourcery.com>
202
203 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
204 that no =breakpoint-modified is emitted when breakpoints are
205 modified through MI commands.
206
d137e6dc
PA
2072014-02-07 Pedro Alves <pedro@codesourcery.com>
208 Pedro Alves <palves@redhat.com>
209
210 * gdb.threads/step-after-sr-lock.c: New file.
211 * gdb.threads/step-after-sr-lock.exp: New file.
212
b5ee5a50
PA
2132014-02-07 Pedro Alves <palves@redhat.com>
214
215 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
216
3c77faf3
JK
2172014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
218
219 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
220 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
221
6dddc817
DE
2222014-02-06 Doug Evans <xdje42@gmail.com>
223
224 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
225 output.
226
227 * gdb.gdb/python-interrupts.exp: New file.
228
de7b2893
YQ
2292014-02-05 Yao Qi <yao@codesourcery.com>
230
231 * gdb.trace/report.exp (use_collected_data): Test the output
232 of "info threads" and "info inferiors".
233
66d032ac
YQ
2342014-02-05 Yao Qi <yao@codesourcery.com>
235
236 Revert this patch:
237
238 2013-05-24 Yao Qi <yao@codesourcery.com>
239
240 * gdb.trace/tfile.exp: Test inferior and thread.
241
591a12a1
UW
2422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
243
244 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
245 on a function.
246 * gdb.base/step-bt.c: Call hello via function pointer to make
247 sure its first instruction is executed on powerpc64le-linux.
248
0ff3e01f
UW
2492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
250
251 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
252
084ee545
UW
2532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
254
255 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
256 of the test patterns for use on little-endian systems.
257
6ed14ff3
UW
2582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
259
260 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
261 (decimal_vector): Fix for little-endian.
262
401e27fd
JM
2632014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
264
265 * gdb.arch/sparc-sysstep.exp: New file.
266 * gdb.arch/sparc-sysstep.c: Likewise.
267
268 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
269
8b924729
EBM
2702014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
271
272 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
273
fb151210
JB
2742014-01-23 Tom Tromey <tromey@redhat.com>
275
276 * gdb.ada/array_char_idx: New testcase.
277
0740f8d8
TT
2782014-01-23 Tom Tromey <tromey@redhat.com>
279
280 PR python/16487:
281 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
282 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
283 classes.
284
21909fa1
TT
2852014-01-23 Tom Tromey <tromey@redhat.com>
286
287 PR python/16491:
288 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
289 string from an inferior frame.
290 * gdb.python/py-framefilter-mi.exp: Update.
291
87ce2a04
DE
2922014-01-22 Doug Evans <dje@google.com>
293
294 * gdb.server/server-mon.exp: Add tests for "set debug-format".
295
237b092b
AA
2962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
297
298 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
299
d674a709
AA
3002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
301
302 * gdb.trace/entry-values.exp: Remove excess space character from
303 regex patterns. Handle s390 call instruction.
304
20fa3390
AA
3052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
306
307 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
308 define "*_start" label. Make "name" static.
309 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
310 ${name} by references to ${name}_start.
311
78466714
AA
3122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
313
314 * gdb.base/info-macros.exp: Remove "debug" from the compile
315 options.
316
ec9f644a
IB
3172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
318
319 * gdb.dlang/demangle.exp: New file.
320
94b1b47e
IB
3212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
322
323 * gdb.dlang/primitive-types.exp: New file.
324
7f420862
IB
3252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
326
327 * configure.ac: Create gdb.dlang/Makefile.
328 * configure: Regenerate.
329 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
330 * gdb.dlang/Makefile.in: New file.
331 * lib/d-support.exp: New file.
332 * lib/gdb.exp (skip_d_tests): New proc.
333
52834460
MM
3342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
335
336 * gdb.btrace/delta.exp: Check reverse stepi.
337 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
338 * gdb.btrace/finish.exp: New.
339 * gdb.btrace/next.exp: New.
340 * gdb.btrace/nexti.exp: New.
341 * gdb.btrace/record_goto.c: Add comments.
342 * gdb.btrace/step.exp: New.
343 * gdb.btrace/stepi.exp: New.
344 * gdb.btrace/multi-thread-step.c: New.
345 * gdb.btrace/multi-thread-step.exp: New.
346 * gdb.btrace/rn-dl-bind.c: New.
347 * gdb.btrace/rn-dl-bind.exp: New.
348 * gdb.btrace/data.c: New.
349 * gdb.btrace/data.exp: New.
350 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
351
6e07b1d2
MM
3522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
353
354 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
355 * gdb.btrace/exception.exp: Update.
356 * gdb.btrace/instruction_history.exp: Update.
357 * gdb.btrace/record_goto.exp: Update.
358 * gdb.btrace/tailcall.exp: Update.
359 * gdb.btrace/unknown_functions.exp: Update.
360 * gdb.btrace/delta.exp: New.
361
0b722aec
MM
3622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
363
364 * gdb.btrace/record_goto.exp: Add backtrace test.
365 * gdb.btrace/tailcall.exp: Add backtrace test.
366
066ce621
MM
3672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
368
369 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
370 * gdb.btrace/record_goto.c: New.
371 * gdb.btrace/record_goto.exp: New.
372 * gdb.btrace/x86-record_goto.S: New.
373
0688d04e
MM
3742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
375
376 * gdb.btrace/function_call_history.exp: Update tests.
377 * gdb.btrace/instruction_history.exp: Update tests.
378
8710b709
MM
3792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
380
381 * gdb.btrace/function_call_history.exp: Fix expected field
382 order for "record function-call-history".
383 Add new tests for "record function-call-history /c".
384 * gdb.btrace/exception.cc: New.
385 * gdb.btrace/exception.exp: New.
386 * gdb.btrace/tailcall.exp: New.
387 * gdb.btrace/x86-tailcall.S: New.
388 * gdb.btrace/x86-tailcall.c: New.
389 * gdb.btrace/unknown_functions.c: New.
390 * gdb.btrace/unknown_functions.exp: New.
391 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
392
5de9129b
MM
3932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
394
395 * gdb.btrace/instruction_history.exp: Update.
396 * gdb.btrace/function_call_history.exp: Update.
397
23a7fe75
MM
3982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
399
400 * gdb.btrace/function_call_history.exp: Fix expected function
401 trace.
402 * gdb.btrace/instruction_history.exp: Initialize traced.
403 Remove traced_functions.
404
724c7dd8
MM
4052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
406
407 * gdb.btrace/function_call_history.exp: Update
408 * gdb.btrace/instruction_history.exp: Update.
409
6d78d93b
MM
4102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
411
412 * gdb.btrace/enable.exp: Update expected text.
413
93a360cc
OJ
4142014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
415
416 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
417 bytes.
418
3772b53f
MR
4192014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
420
421 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
422
596662fa
OJ
4232014-01-15 Omair Javaid <omair.javaid@linaro.org>
424
425 * lib/gdb.exp (supports_process_record): Return true for
426 arm*-linux*. (supports_reverse): Likewise.
427
b5b08fb4
SC
4282014-01-13 Siva Chandra Reddy <sivachandra@google.com>
429
430 PR python/15464
431 PR python/16113
432 * gdb.python/py-type.c: Enhance test case.
433 * gdb.python/py-value-cc.cc: Likewise
434 * gdb.python/py-type.exp: Add new tests.
435 * gdb.python/py-value-cc.exp: Likewise
436
52d7fb13
AA
4372014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
438 Pedro Alves <palves@redhat.com>
439
440 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
441 Make "name" extern.
442 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
443 references to ${name}_start by references to ${name}.
444
a2cd8cfe
JB
4452014-01-10 Joel Brobecker <brobecker@adacore.com>
446
447 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
448
4e23fced
JB
4492014-01-10 Joel Brobecker <brobecker@adacore.com>
450
451 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
452
c6a9e42c
PA
4532014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
454 Pedro Alves <palves@redhat.com>
455
456 * gdb.mi/mi-info-os.exp: Connect to the target with
457 mi_gdb_target_load.
458
b7ea362b
PA
4592014-01-08 Pedro Alves <palves@redhat.com>
460
461 * gdb.threads/reconnect-signal.c: New file.
462 * gdb.threads/reconnect-signal.exp: New file.
463
5e3f4fab
EBM
4642014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
465
466 * gdb.base/source-dir.exp: New file.
467
79301218
JB
4682014-01-07 Joel Brobecker <brobecker@adacore.com>
469
470 * gdb.ada/mi_interface: New testcase.
471
8e355c5d
JB
4722014-01-07 Joel Brobecker <brobecker@adacore.com>
473
474 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
475 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
476 gdb.ada/pp-rec-component/pck.ads: New files.
477
c0d48811
JB
4782014-01-07 Joel Brobecker <brobecker@adacore.com>
479
480 * gdb.python/py-pp-integral.c: New file.
481 * gdb.python/py-pp-integral.py: New file.
482 * gdb.python/py-pp-integral.exp: New file.
483
4924df79
GKB
4842013-12-19 Sergio Durigan Junior <sergiodj@redhat.com>
485
486 PR breakpoints/16297
487 * gdb.base/catch-syscall.c (read_syscall, pipe_syscall)
488 (write_syscall): New variables.
489 (main): Create a pipe, write 1 byte in it, and read 1 byte from
490 it.
491 * gdb.base/catch-syscall.exp (all_syscalls): Include "pipe,
492 "write" and "read" syscalls.
493 (fill_all_syscalls_numbers): Improve the way to obtain syscalls
494 numbers.
495
530e8392
KB
4962013-12-19 Keven Boell <keven.boell@intel.com>
497
498 * gdb.fortran/module.exp: Completion matches fortran module
499 names as well. ptype/whatis on modules return a proper type.
500 Add new check for having the correct scope.
501
7f9b20bb
KB
5022013-12-19 Keven Boell <keven.boell@intel.com>
503
504 * gdb.fortran/type.f90: New file.
505 * gdb.fortran/whatis_type.f90: New file.
506
2e0d821f
SDJ
5072013-12-18 Sergio Durigan Junior <sergiodj@redhat.com>
508
509 * gdb.base/catch-syscall.c: Include <sys/syscall.h>.
510 (close_syscall, chroot_syscall, exit_group_syscall): New
511 variables.
512 * gdb.base/catch-syscall.exp: Replace gdb_compile by
513 prepare_for_testing. Call fill_all_syscalls_numbers before
514 starting. Replace gdb_exit, gdb_start, gdb_reinitialize_dir and
515 gdb_load by clean_restart.
516 (check_info_bp_any_syscall, check_info_bp_specific_syscall)
517 (check_info_bp_many_syscalls): Remove global gdb_prompt.
518 (check_call_to_syscall): Likewise. Add global decimal. Improve
519 testing regex.
520 (check_return_from_syscall): Likewise.
521 (check_continue, insert_catch_syscall_with_arg): Remove global
522 gdb_prompt.
523 (insert_catch_syscall_with_many_args): Likewise. Add global
524 decimal. Fix $filter_str. Improve testing regex.
525 (check_for_program_end): Remove global gdb_prompt.
526 (test_catch_syscall_without_args): Likewise. Add global decimal.
527 Improve testing regex.
528 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
529 (test_catch_syscall_with_wrong_args)
530 (test_catch_syscall_restarting_inferior)
531 (test_catch_syscall_fail_nodatadir): Remove global gdb_prompt.
532 (do_syscall_tests): Likewise. Remove global srcdir.
533 (test_catch_syscall_without_args_noxml): Remove global gdb_prompt.
534 Add global last_syscall_number. Test for the exact syscall number
535 to be caught.
536 (test_catch_syscall_with_args_noxml): Remove global gdb_prompt.
537 Add global all_syscalls_numbers. Test each syscall number to be
538 caught, instead of only testing "close".
539 (test_catch_syscall_with_wrong_args_noxml): Remove global gdb_prompt.
540 (do_syscall_tests_without_xml): Likewise. Remove global srcdir.
541 Remove stale comment.
542 (fill_all_syscalls_numbers): Add global last_syscall_number. Fill
543 the correct syscall numbers using information from the inferior.
544
5ce0145d
PA
5452013-12-17 Pedro Alves <palves@redhat.com>
546
547 * gdb.trace/circ.exp: Expect frame info to be printed when
548 switching between frames with unavailable stack, but different
549 functions.
550
bdf22206
AB
5512013-12-17 Andrew Burgess <aburgess@broadcom.com>
552
553 * gdb.trace/unavailable-dwarf-piece.c: New file.
554 * gdb.trace/unavailable-dwarf-piece.exp: New file.
555
07d100d4
YQ
5562013-12-15 Yao Qi <yao@codesourcery.com>
557
558 * gdb.perf/skip-prologue.c: New.
559 * gdb.perf/skip-prologue.exp: New.
560 * gdb.perf/skip-prologue.py: New.
561
8a48ac95
JB
5622013-12-13 Joel Brobecker <brobecker@adacore.com>
563
564 * gdb.ada/arraydim: New testcase.
565
a16b0e22
SC
5662013-12-12 Siva Chandra Reddy <sivachandra@google.com>
567
568 PR python/16113
569 * gdb.python/py-value-cc.cc: Improve test case.
570 * gdb.python/py-value-cc.exp: Add new tests to test usage of
571 gdb.Field objects as subscripts on gdb.Value objects.
572
0987cf35
DE
5732013-12-10 Doug Evans <dje@google.com>
574
7b3fd68b 575 PR 16286
0987cf35
DE
576 * gdb.python/py-value.c: #include stdlib.h, string.h.
577 (str): New struct.
578 (main): New local xstr.
579 * gdb.python/py-value.exp (test_value_in_inferior): Add test to
580 fetch a value as a string with a length beyond the declared length
581 of the array.
582
409d8f48
AB
5832013-12-10 Andrew Burgess <aburgess@broadcom.com>
584
585 * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info,
586 update comment.
587
036e93df
JB
5882013-12-10 Joel Brobecker <brobecker@adacore.com>
589
590 * gdb.ada/int_deref.exp: Add test verifying that we print
591 the decoded symbol name when printing the address of Ada
592 symbols.
593
72bfa06c
JB
5942013-12-10 Joel Brobecker <brobecker@adacore.com>
595
596 * gdb.mi/mi-start.exp: Add test verifying that -list-features
597 contains "exec-run-start-option".
598
11ec5965
YQ
5992013-12-08 Yao Qi <yao@codesourcery.com>
600
601 * lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
602 (is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
603 (is_64_target, is_amd64_regs_target): Likewise.
604 (skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
605
594d8fa8
MF
6062013-12-07 Mike Frysinger <vapier@gentoo.org>
607
608 * gdb.ada/uninitialized_vars/parse_controlled.ads: Remove +x file mode.
609 * gdb.base/testenv.c: Likewise.
610
d9a196da
MF
6112013-12-07 Mike Frysinger <vapier@gentoo.org>
612
613 * gdb.hp/gdb.base-hp/so-thresh.sh: Change /bin/ksh to /bin/sh.
614 * gdb.hp/gdb.objdbg/tools/symaddr: Likewise.
615 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: Likewise.
616
782d47df
PA
6172013-12-06 Pedro Alves <palves@redhat.com>
618
619 * gdb.dwarf2/dw2-undefined-ret-addr.S: New file.
620 * gdb.dwarf2/dw2-undefined-ret-addr.c: New file.
621 * gdb.dwarf2/dw2-undefined-ret-addr.exp: New file.
622
399d6e30
DE
6232013-12-06 Doug Evans <dje@google.com>
624
625 * gdb.base/break.exp: Fix setting of $baz.
626
16b5a7cb
AB
6272013-12-06 Andrew Burgess <aburgess@broadcom.com>
628
629 * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
630 DW_OP_plus_uconst.
631
f84bc218
KB
6322013-12-06 Keven Boell <keven.boell@intel.com>
633
634 * lib/mi-support.exp (mi_list_varobj_children_range): Add
635 call to mi_list_array_varobj_children_with_index.
636 (mi_list_array_varobj_children_with_index): New function.
637 Add parameter to specify array start.
638
489e41dd 6392013-12-03 Jose E. Marchesi <jose.marchesi@oracle.com>
f1300300
JM
640
641 * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a
642 SIGPWR in sparc64.
643
644 * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR
645 have the same signal number. Handle this situation.
646
7fb1b8b1
JB
6472013-12-03 Joel Brobecker <brobecker@adacore.com>
648
649 * gdb.ada/dot_all: New testcase.
650
2ea126fa
JB
6512013-12-03 Joel Brobecker <brobecker@adacore.com>
652
653 * gdb.mi/mi-undefined-cmd.exp: New testcase.
654
6b7cbff1
JB
6552013-12-03 Joel Brobecker <brobecker@adacore.com>
656
657 * gdb.mi/mi-i-cmd.exp: New file.
658
04affae3
JK
6592013-12-02 Doug Evans <dje@google.com>
660
661 * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
662 at start.
663 * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
664 has been specified with a relative path and we have chdir'd before
665 accessing the debug info.
666
eebc056c
AB
6672013-11-28 Andrew Burgess <aburgess@broadcom.com>
668
669 * gdb.trace/unavailable.exp (gdb_collect_args_test): Update
670 expected results.
671 (gdb_collect_locals_test): Likewise.
672 (gdb_collect_globals_test): Likewise.
673
8b5e6dc2
YQ
6742013-11-28 Yao Qi <yao@codesourcery.com>
675
676 * lib/gdb.exp (with_gdb_prompt): New proc.
677 * gdb.perf/disassemble.exp: New.
678 * gdb.perf/disassemble.py: New.
679
0db4ca18
LM
6802013-11-26 Luis Machado <lgustavo@codesourcery.com>
681
682 * gdb.base/callfuncs.c (main): Assign malloc's return value
683 and free it afterwards.
684 * gdb.base/charset-malloc.c (malloc_stub): Likewise.
685 * gdb.base/printcmds.c (main): Likewise.
686 * gdb.base/randomize.c (main): Free "p" and change breakpoint
687 marker position.
688 * gdb.base/setvar.c (dummy): Assign malloc's return value
689 and free it afterwards.
690
d24a9f15
AB
6912013-11-26 Andrew Burgess <aburgess@broadcom.com>
692
693 * gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
694 gdb_test_multiple.
695
15859968
TT
6962013-11-26 Tom Tromey <tromey@redhat.com>
697
698 * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove.
699 * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove.
700 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
701
f7e3ecae
KS
7022013-11-25 Keith Seitz <keiths@redhat.com>
703
704 PR c++/14819
705 * gdb.cp/impl-this.cc: New file.
706 * gdb.cp/impl-this.exp: New file.
707
23e9d3b9
YQ
7082013-11-25 Yao Qi <yao@codesourcery.com>
709
710 * gdb.perf/backtrace.c: New.
711 * gdb.perf/backtrace.exp: New.
712 * gdb.perf/backtrace.py: New.
713
22825df7
YQ
7142013-11-24 Yao Qi <yao@codesourcery.com>
715
716 * gdb.perf/single-step.c: New.
717 * gdb.perf/single-step.exp: New.
718 * gdb.perf/single-step.py: New.
719
c1ea7c01
DE
7202013-11-23 Doug Evans <xdje42@gmail.com>
721
722 * gdb.base/ena-dis-br.exp: Add missing quote to "step after continue
723 with ignore count".
724
35720eaa
DE
7252013-11-23 Doug Evans <xdje42@gmail.com>
726
727 * gdb.python/py-value.exp (test_lazy_strings): Tweak test names.
728 (test_subscript_regression): Ditto.
729 (top level): Run test_subscript_regression for c++ with "c++" prefix.
730
3cd14e45
DE
7312013-11-23 Doug Evans <xdje42@gmail.com>
732
733 * gdb.python/py-type.exp (test_enums): Fix typo.
734
985c818c
DE
7352013-11-23 Doug Evans <xdje42@gmail.com>
736
737 * gdb.python/py-symbol.exp: Add some comments. Make all test names
738 unique.
739
f873dd7a
DE
7402013-11-23 Doug Evans <xdje42@gmail.com>
741
742 * gdb.python/py-symbol.exp: Fix whitespace.
743
38a502a4
DE
7442013-11-23 Doug Evans <xdje42@gmail.com>
745
746 * gdb.python/python.exp: Don't call skip_python_tests, we still want
747 to test some things in the case where python is not configured in.
748
c0621699
PA
7492013-11-22 Pedro Alves <palves@redhat.com>
750
751 * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
752 * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this. Adjust.
753 * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
754 * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
755 * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
756 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
757
f57e61cd
TT
7582013-11-22 Tom Tromey <tromey@redhat.com>
759
760 * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
761
da2b2fdf
TT
7622013-11-22 Tom Tromey <tromey@redhat.com>
763
764 * gdb.dwarf2/dw2-bad-cfi.c: New file.
765 * gdb.dwarf2/dw2-bad-cfi.exp: New file.
766 * gdb.dwarf2/dw2-bad-cfi.S: New file.
767
33f8fe58
PA
7682013-11-22 Pedro Alves <palves@redhat.com>
769
770 PR 16155
771 * gdb.dwarf2/dw2-dup-frame.S: New file.
772 * gdb.dwarf2/dw2-dup-frame.c: New file.
773 * gdb.dwarf2/dw2-dup-frame.exp: New file.
774
0a1e6121
YQ
7752013-11-22 Yao Qi <yao@codesourcery.com>
776
777 * lib/mi-support.exp (mi_create_dynamic_varobj): Update
778 comment and add one more argument "has_more".
779 * gdb.python/py-mi.exp: Callers update.
780
0061ea24
YQ
7812013-11-22 Yao Qi <yao@codesourcery.com>
782
783 * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
784 of mi_create_dynamic_varobj.
785
069d6a0f
PA
7862013-11-20 Pedro Alves <palves@redhat.com>
787
788 * gdb.base/maint.exp (maint print objfiles): Consume one line at a
789 time, and run it through all three milestone regexes.
790
10d8cbd2
SA
7912013-11-20 Sanimir Agovic <sanimir.agovic@intel.com>
792
793 * gdb.base/eval-avoid-side-effects.exp: New file.
794
57803a3c
WT
7952013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
796
60650f2e
WT
797 * gdb.arch/i386-mpx.c: New file
798 * gdb.arch/i386-mpx.exp: New file.
799
09748966
WT
8002013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
801
802 * gdb.python/py-pp-maint.exp: Consider new pretty-print added
803 for bnd registers.
804
60650f2e
WT
8052013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
806
57803a3c
WT
807 * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
808 start and end equal 0.
809
3e9ecad3
YQ
8102013-11-19 Yao Qi <yao@codesourcery.com>
811
812 * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
813 (mi_list_varobj_children_range): Likewise.
814
31b4ab9e
YQ
8152013-11-19 Yao Qi <yao@codesourcery.com>
816
817 * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
818
4392c534
YQ
8192013-11-19 Yao Qi <yao@codesourcery.com>
820
821 * lib/mi-support.exp: Fix format.
822
df7752b0
JB
8232013-11-19 Joel Brobecker <brobecker@adacore.com>
824
825 * gdb.ada/py_range: New testcase.
826
176f037c
JB
8272013-11-18 Joel Brobecker <brobecker@adacore.com>
828
829 * mi-language.exp: Add "-list-features" test verifying that
830 its output contains "language-option".
831
ee4a1c63
JB
8322013-11-16 Joel Brobecker <brobecker@adacore.com>
833
834 * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
835 * info_exc/foo.adb: Adjust to new exception name.
836 * info_exc.exp: Adjust after exception renaming in const.ads.
837 Update "info exception global" test to test "info exceptions
838 global_gdb" instead.
839
840 * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
841 * mi_exc_info/foo.adb (Adjust to new exception name.
842 * mi_exc_info.exp: Adjust after exception renaming in const.ads.
843 Update "-info-ada-exceptions global" test to test
844 "-info-ada-exceptions global_gdb" instead.
845
6ec41e1e
LM
8462013-11-15 Luis Machado <lgustavo@codesourcery.com>
847
848 * lib/mi-support.exp (mi_gdb_test): Expect different formats
849 of inferior output for remote and native sessions.
850 * gdb.mi/mi-console.exp: Remove obsolete comment.
851 Check for semihosted inferior output pattern.
852 (semihosted_string): New function.
853
391d3400
JB
8542013-11-15 Joel Brobecker <brobecker@adacore.com>
855
856 * gdb.ada/info_exc.exp: Allow other global exceptions to be
857 listed in the output of "info exceptions".
858 * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
859 listed in the output of "-info-ada-exceptions".
860
e092da29
JB
8612013-11-15 Joel Brobecker <brobecker@adacore.com>
862
863 * gdb.ada/info_exc.exp: Start inferior before starting
864 the "info exceptions" tests.
865 * gdb.ada/mi_exc_info.exp: Start inferior before starting
866 the "-info-ada-exceptions" tests.
867
805e1f19
TT
8682013-11-15 Tom Tromey <tromey@redhat.com>
869
870 * gdb.cp/includefile: New file.
871 * gdb.cp/filename.exp: New file.
872 * gdb.cp/filename.cc: New file.
873
9abb1bd6
DE
8742013-11-15 Doug Evans <xdje42@gmail.com>
875
876 * gdb.python/py-breakpoint.exp: Make tests have unique names.
877
8abea1a1
DE
8782013-11-15 Doug Evans <xdje42@gmail.com>
879
880 * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
881
330a7fce
DE
8822013-11-15 Doug Evans <xdje42@gmail.com>
883
884 * gdb.python/py-breakpoint.exp: Split up into several functions,
885 each with their own test prefix.
886
0acf8b65
JB
8872013-11-15 Joel Brobecker <brobecker@adacore.com>
888
889 * gdb.ada/O2_float_param: New testcase.
890
496038b3
TT
8912013-11-14 Tom Tromey <tromey@redhat.com>
892
893 * Makefile.in (check-parallel): Print summary from gdb.sum.
894
c7e8af9b
OJ
8952013-11-14 Omair Javaid <Omair.Javaid@linaro.org>
896
897 * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
898 and function label names.
899 * gdb.dwarf2/dw2-case-insensitive.c: Created function and
900 compile unit labels.
901
403cb6b1
JB
9022013-11-14 Joel Brobecker <brobecker@adacore.com>
903
904 * gdb.mi/mi-language.exp: New file.
905
74921315
KS
9062013-09-17 Keith Seitz <keiths@redhat.com>
907
908 PR c++/7935
909 PR c++/10541
910 * gdb.cp/nsalias.exp: New file.
911 * gdb.cp/nsalias.cc: New file.
912 * gdb.cp/nsrecurs.exp: Remove kfails. Conditionally run
913 tests only on known, working compiler versions.
914
08c43050
TT
9152013-11-13 Tom Tromey <tromey@redhat.com>
916
917 * gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
918 * gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
919
0682e708
DE
9202013-11-12 Doug Evans <dje@google.com>
921
922 * gdb.base/fileio.exp: Make $dir2 writable after the test is done
923 so that "rm -rf $builddir" Just Works.
924
a7e332c2
JB
9252013-11-12 Joel Brobecker <brobecker@adacore.com>
926
927 * gdb.ada/mi_exc_info: New testcase.
928
778865d3
JB
9292013-11-12 Joel Brobecker <brobecker@adacore.com>
930
931 * gdb.ada/info_exc: New testcase.
932
304a8ac1
DE
9332013-11-11 Doug Evans <dje@google.com>
934
935 * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
936 of testfile.
937
bc79de95
PM
9382013-11-11 Phil Muldoon <pmuldoon@redhat.com>
939
940 * gdb.python/py-linetable.S: New file.
941 * gdb.python/py-linetable.c: New file.
942 * gdb.python/py-linetable.exp: New file.
943
2df4d1d5
JB
9442013-11-11 Joel Brobecker <brobecker@adacore.com>
945
946 * gdb.ada/mi_ex_cond: New testcase.
947
204b5331
DE
9482013-11-07 Doug Evans <dje@google.com>
949
950 PR 11786
951 * gdb.base/gcore-relro-pie.c: New file.
952 * gdb.base/gcore-relro-pie.exp: New file.
953
92e32e33
PM
9542013-11-07 Phil Muldoon <pmuldoon@redhat.com>
955
956 * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
957 * gdb.python/py-cmd.c: New File.
958
f76c27b5
PM
9592013-11-07 Phil Muldoon <pmuldoon@redhat.com>
960
961 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
962
79600f4f 9632013-11-06 Doug Evans <xdje42@gmail.com>
01e48c0c
DE
964
965 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
966
6dbb6798
YQ
9672013-11-06 Yao Qi <yao@codesourcery.com>
968
969 * lib/gdb.exp (gdb_produce_source): New procedure.
970 * gdb.perf/solib.c: New.
971 * gdb.perf/solib.exp: New.
972 * gdb.perf/solib.py: New.
973
71c0c615
YQ
9742013-11-06 Yao Qi <yao@codesourcery.com>
975
976 * README: Mention performance tests.
977
f27a1236
YQ
9782013-11-06 Yao Qi <yao@codesourcery.com>
979
980 * lib/perftest.exp: New.
981 * gdb.perf/lib/perftest/__init__.py: New.
982 * gdb.perf/lib/perftest/measure.py: New.
983 * gdb.perf/lib/perftest/perftest.py: New.
984 * gdb.perf/lib/perftest/reporter.py: New.
985 * gdb.perf/lib/perftest/testresult.py: New.
986
7636ccf9
YQ
9872013-11-06 Yao Qi <yao@codesourcery.com>
988
989 * Makefile.in (check-perf): New target.
990 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
991 * configure: Re-generated.
992 * gdb.perf/Makefile.in: New.
993
81208388
TT
9942013-11-04 Tom Tromey <tromey@redhat.com>
995
996 * Makefile.in (TEST_DIRS): Remove.
997 (TEST_TARGETS, check-parallel): Rewrite.
998 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
999 (subdir_do, subdirs): Remove.
1000 (do-check-parallel, check/%): New targets.
1001 (clean): Remove outputs, temp, and cache directories.
1002 (saw_dash_j): New variable.
1003 (CHECK_TARGET): Use it.
1004 (check): Depend on all, site.exp. Rewrite.
1005 (check-single): Remove dependencies.
1006 (slow_tests, all_tests, reordered_tests): New variables.
1007
c63ffa1f
TT
10082013-11-04 Tom Tromey <tromey@redhat.com>
1009
1010 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
1011 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
1012 before loading binfile.
1013 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
1014 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
1015 before loading binfile.
1016
3fef966c
TT
10172013-11-04 Tom Tromey <tromey@redhat.com>
1018
1019 * gdb.base/foll-exec.c (main): Use BASEDIR.
1020 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
1021 * gdb.base/foll-vfork.c (main): Use BASEDIR.
1022 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
1023 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
1024 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
1025
24890efd
TT
10262013-11-04 Tom Tromey <tromey@redhat.com>
1027
1028 * gdb.base/argv0-symlink.exp: Compute executable's directory
1029 dynamically.
1030
c59ffcab
TT
10312013-11-04 Tom Tromey <tromey@redhat.com>
1032
1033 * gdb.asm/asm-source.exp: Use standard_output_file.
1034
479c8d68
TT
10352013-11-04 Tom Tromey <tromey@redhat.com>
1036
1037 * gdb.server/file-transfer.exp: Use standard_output_file.
1038
1e537771
TT
10392013-11-04 Tom Tromey <tromey@redhat.com>
1040
1041 * gdb.base/fullname.exp: Use standard_output_file,
1042 relative_filename.
1043 * gdb.base/hashline1.exp: Use standard_testfile,
1044 standard_output_file, relative_filename, clean_restart.
1045 * gdb.base/hashline2.exp: Use standard_testfile,
1046 standard_output_file.
1047 * gdb.base/hashline3.exp: Use standard_testfile,
1048 standard_output_file, relative_filename.
1049 * lib/gdb.exp (relative_filename): New proc.
1050
b44b82af
TT
10512013-11-04 Tom Tromey <tromey@redhat.com>
1052
1053 * gdb.base/fileio.c (test_open, test_write, test_read)
1054 (test_lseek, test_close, test_stat, test_fstat)
1055 (test_isatty, test_system, test_rename, test_unlink):
1056 Use OUTDIR define.
1057 * gdb.base/fileio.exp: Define OUTDIR during compilation.
1058 Use standard_output_file.
1059
59b28c5d
TT
10602013-11-04 Tom Tromey <tromey@redhat.com>
1061
1062 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
1063 defines.
1064 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
1065 compilation. Use prepare_for_testing, standard_output_file.
1066
08b3fe69
TT
10672013-11-04 Tom Tromey <tromey@redhat.com>
1068
1069 * gdb.base/advance.exp: Use standard_testfile and
1070 prepare_for_testing.
1071 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
1072 appropriate directory when local.
1073 * gdb.base/dump.exp: Use standard_output_file. Update all
1074 "dump" and "restore" filenames.
1075 * gdb.base/interact.exp: Use standard_output_file.
1076 * gdb.base/jit-so.exp: Don't download file when local.
1077 * gdb.base/jit.exp (compile_jit_test): Don't download file
1078 when local.
1079 * gdb.base/list.exp: Use gdb_remote_download.
1080 * gdb.base/maint.exp: Use standard_output_file.
1081 * gdb.base/prelink.exp: Use standard_output_file.
1082 * gdb.base/save-bp.exp: Use standard_output_file.
1083 * gdb.base/sepdebug.exp: Use standard_testfile,
1084 standard_output_file.
1085 (test_different_dir): Don't declare objdir.
1086 * gdb.base/solib-search.exp: Use standard_output_file.
1087 * gdb.base/step-line.exp: Use gdb_remote_download.
1088 * gdb.base/trace-commands.exp: Use standard_output_file.
1089
32cfb09d
TT
10902013-11-04 Tom Tromey <tromey@redhat.com>
1091
1092 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
1093 to compilation. Use standard_output_file.
1094 (test_tfind_tfile): Update.
1095 * gdb.trace/tfile.c (write_basic_trace_file)
1096 (write_error_trace_file): Use TFILE_DIR.
1097 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
1098 standard_output_file.
1099
84741506
TT
11002013-11-04 Tom Tromey <tromey@redhat.com>
1101
1102 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1103 Use "dwarf2 always-disassemble" for the "maint set" test.
1104 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
1105 standard_output_file.
1106 * gdb.mi/mi-logging.exp: Use standard_output_file.
1107
cfb7b9a3
TT
11082013-11-04 Tom Tromey <tromey@redhat.com>
1109
1110 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
1111 downloads conditional on remote host.
1112 (set_arch): Likewise.
1113 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
1114 (load_description): Use standard_output_file.
1115
bdfe0594
TT
11162013-11-04 Tom Tromey <tromey@redhat.com>
1117
1118 * gdb.gdb/selftest.exp: Use standard_output_file.
1119 * lib/selftest-support.exp (do_self_tests): Use
1120 standard_output_file.
1121
8c639e73
TT
11222013-11-04 Tom Tromey <tromey@redhat.com>
1123
1124 * gdb.stabs/weird.exp: Use gdb_remote_download and
1125 standard_output_file.
1126
5030a410
TT
11272013-11-04 Tom Tromey <tromey@redhat.com>
1128
1129 * gdb.base/gcore-buffer-overflow.exp: Use
1130 standard_output_file, not standard_testfile.
1131 * gdb.base/twice.exp: Use standard_testfile, not
1132 standard_output_file. Use gdb_remote_download.
1133
95d7853e
TT
11342013-11-04 Tom Tromey <tromey@redhat.com>
1135
1136 * lib/gdb.exp (get_compiler_info): Use log_file -info and
1137 restore from that.
1138
eab88b54
MR
11392013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
1140
1141 * gdb.cp/derivation.exp: s/perrro/perror/
1142
a1b0fbee
MR
11432013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
1144
1145 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
1146 `debugdir'.
1147
638aa5a1
AB
11482013-10-31 Andrew Burgess <aburgess@broadcom.com>
1149
1150 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
1151 tests and update expected error message.
1152 (test_watch_register_location): New tests.
1153 (do_tests): Call test_watch_register_location.
1154 * gdb.base/watchpoints.exp: Update expected error message.
1155
055e608a
UW
11562013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1157
1158 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
1159 the patterns in gdb_test_multiple.
1160
9ac69859
NB
11612013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
1162
1163 * gdb.base/sym-file-lib.c: New file.
1164 * gdb.base/sym-file-loader.c: New file.
1165 * gdb.base/sym-file-loader.h: New file.
1166 * gdb.base/sym-file-main.c: New file.
1167 * gdb.base/sym-file.exp: New file.
1168 * lib/gdb.exp (is_elf_target): New function.
1169
24ba476b
PA
11702013-10-29 Pedro Alves <palves@redhat.com>
1171
1172 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
1173 variable setting change-log-default-name to ChangeLog-mi.
1174
f69d9aef
AB
11752013-10-29 Andrew Burgess <aburgess@broadcom.com>
1176
1177 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
1178 Expect <unavailable> pattern.
1179
71193121
TV
11802013-10-28 Tom de Vries <tom@codesourcery.com>
1181
1182 * gdb.arch/thumb2-it.S (it_8): Fix typo.
1183
38095c27
AK
11842013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
1185
1186 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
1187 remote stubs where exit() behaviour is unreliable.
1188
686d4def
PA
11892013-10-25 Pedro Alves <palves@redhat.com>
1190
1191 * gdb.cp/m-static.exp: Adjust expected output of printing a
1192 nonexistent or optimized out static field. Also test printing the
1193 the "container" object.
1194
a35cfb40
MR
11952013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1196
1197 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
1198 if in the persistent mode.
1199 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
1200
bbe769cc
MR
12012013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1202
1203 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
1204 support core file generation" reply.
1205
95e4302a
JM
12062013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1207
1208 PR gdb/15986
1209 * gdb.base/run.c (main): gdb_get_line_number tag added for
1210 commands.exp.
1211 (factorial): Likewise.
1212
1213 * gdb.base/commands.exp (watchpoint_command_test): Use
1214 gdb_get_line_number in order to determine the locations in run.c
1215 where local_var is detected to go out of scope.
1216
4c406179
JM
12172013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1218
1219 * gdb.base/gnu_vector.exp: Care about endianness when casting
1220 scalars to vectors.
1221
bb6216d8
TT
12222013-10-18 Tom Tromey <tromey@redhat.com>
1223
1224 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
1225 of "binfile".
1226
e8369a73
AB
12272013-10-18 Andrew Burgess <aburgess@broadcom.com>
1228
1229 * gdb.base/watchpoints.exp: Add test for setting software
1230 watchpoints of different types before starting the inferior.
1231
776f04fa
PA
12322013-10-18 Pedro Alves <palves@redhat.com>
1233
1234 PR gdb/16062
1235 * gdb.threads/stepi-random-signal.c: New file.
1236 * gdb.threads/stepi-random-signal.exp: New file.
1237
e4b8388f
MR
12382013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
1239
1240 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1241 Fix comment typo.
1242 * lib/gdb.exp (gdb_init): Likewise.
1243
50b34a18
TT
12442013-10-17 Tom Tromey <tromey@redhat.com>
1245
1246 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
1247
3db258f5
TT
12482013-10-14 Tom Tromey <tromey@redhat.com>
1249
1250 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
1251 name to gdb_test_no_output.
1252
4856b6bc
JK
12532013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1254
1255 Canonicalize directories for EXEC_FILENAME.
1256 * gdb.base/argv0-symlink.exp
1257 (kept file symbolic link name for info inferiors): New.
1258 (kept directory symbolic link name): Setup kfail.
1259 (kept directory symbolic link name for info inferiors): New.
1260
9772d074
UW
12612013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
1262
1263 * gdb.arch/s390-multiarch.exp: New file.
1264 * gdb.arch/s390-multiarch.c: New file.
1265
2a3be966
JB
12662013-10-11 Joel Brobecker <brobecker@adacore.com>
1267
1268 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
1269 use the appropriate GDB/MI command instead, and verify
1270 the test output.
1271
7c647d61
JB
12722013-10-11 Joel Brobecker <brobecker@adacore.com>
1273
1274 * gdb.base/source-nofile.gdb: New file.
1275 * gdb.base/source.exp: Add two tests verifying the behavior when
1276 the "source" command is given a non-existant filename.
1277
bb66bd51
YQ
12782013-10-11 Yao Qi <yao@codesourcery.com>
1279
1280 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
1281 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
1282 and 'dlclose'.
1283 [!__WIN32__]: Include "dlfcn.h".
1284 * gdb.mi/mi-catch-load.exp: Set up kfail.
1285
4f424bb1
AK
12862013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1287
1288 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
1289 generated corefile" by argument "$test".
1290
578d3588
PA
12912013-10-09 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
1294 output.
1295
eb4ca471
PA
12962013-10-09 Pedro Alves <palves@redhat.com>
1297
1298 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
1299 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
1300 (test_catch_syscall_with_wrong_args)
1301 (test_catch_syscall_restarting_inferior)
1302 (test_catch_syscall_fail_nodatadir)
1303 (test_catch_syscall_without_args_noxml)
1304 (test_catch_syscall_with_args_noxml)
1305 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
1306
dc294be5
TT
13072013-10-08 Tom Tromey <tromey@redhat.com>
1308
1309 * gdb.dwarf2/dwzbuildid.exp: New file.
1310 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
1311 parameters.
1312 (Dwarf::_defer_output): Change "section" parameter to
1313 "section_spec"; update.
1314 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
1315 procs.
1316
c968bd18
JB
13172013-10-08 Joel Brobecker <brobecker@adacore.com>
1318
1319 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
1320
f44eeb11
TT
13212013-10-07 Tom Tromey <tromey@redhat.com>
1322
1323 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
1324 to 0.
1325
0c557179
SDJ
13262013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1327
1328 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
1329 $_exitcode is void when opening a corefile.
1330 * gdb.base/exitsignal.exp: New file.
1331 * gdb.base/segv.c: Likewise.
1332 * gdb.base/normal.c: Likewise.
1333
5713b9b5
JB
13342013-10-04 Joel Brobecker <brobecker@adacore.com>
1335
1336 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
1337
3f983d47
YZ
13382013-10-02 Vidya Praveen <vidyapraveen@arm.com>
1339
1340 * gdb.trace/entry-values.exp: Modify regular expression to scan for
1341 'bl' instruction instead of 'call' for ARM and AArch64 targets.
1342
901461f8
PA
13432013-10-02 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
1346 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
1347 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
1348 (not_saved_pattern): New.
1349 Replace use of the former with the latter.
1350
b477a5e6
PA
13512013-10-02 Pedro Alves <palves@redhat.com>
1352
1353 * README (Board Settings): Document "exit_is_reliable".
1354 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
1355 running to exit reliably reports program exits.
1356 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
1357 info.
1358 * boards/native-stdio-gdbserver.exp: Likewise.
1359
a49bed3a
DE
13602013-10-01 Doug Evans <dje@google.com>
1361
1362 * gdb.python/python.exp: Remove redundant print-stack tests.
1363 Make all print-stack test names unique. Fix spelling of print-stack.
1364
2ed2ad44
YQ
13652013-09-29 Yao Qi <yao@codesourcery.com>
1366
1367 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
1368 is remote.
1369
7d760051
UW
13702013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1371
1372 PR shlibs/8882
1373 * gdb.base/corefile.exp: Add a check to assure warning-free
1374 core-file load.
1375
82bf32bc
JK
13762013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1377
1378 * gdb.dwarf2/dwp-symlink.c: New file.
1379 * gdb.dwarf2/dwp-symlink.exp: New file.
1380
4fa7d390
DE
13812013-09-20 Doug Evans <dje@google.com>
1382
6b4646ce
DE
1383 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
1384 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
1385 file.
1386 * gdb.dwarf2/fission-loclists.S: Ditto.
1387 * gdb.dwarf2/fission-reread.S: Ditto.
1388 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
1389 build_executable_from_fission_assembler.
1390 * gdb.dwarf2/fission-loclists.exp: Ditto.
1391 * gdb.dwarf2/fission-reread.exp: Ditto.
1392
4fa7d390
DE
1393 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
1394 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
1395 (gdb_gnu_strip_debug): Ditto.
1396 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
1397 * gdb.arch/altivec-abi.exp: Ditto.
1398 * gdb.base/attach-pie-misread.exp: Ditto.
1399 * gdb.base/comprdebug.exp: Ditto.
1400 * gdb.base/dup-sect.exp: Ditto.
1401 * gdb.base/gnu-debugdata.exp: Ditto.
1402 * gdb.base/step-symless.exp: Ditto.
1403 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1404 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
1405 * gdb.dwarf2/gdb-index.exp: Ditto.
1406
e4c6a2c4
AB
14072013-09-18 Andrew Burgess <aburgess@broadcom.com>
1408
1409 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
1410 register to "<optimized out>", and also print the registers.
1411
a205fbfc
PA
14122013-09-18 Pedro Alves <palves@redhat.com>
1413
1414 PR server/15967
1415 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
1416 change text.
1417
ee47b2f8
YQ
14182013-09-18 Yao Qi <yao@codesourcery.com>
1419
1420 * gdb.server/wrapper.c: New.
1421 * gdb.server/wrapper.exp: New.
1422
49fa26b0
PA
14232013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
1424 Jan Kratochvil <jan.kartochvil@redhat.com>
1425 Pedro Alves <palves@redhat.com>
1426
1427 PR gdb/11568
1428 * gdb.thread/thread-specific-bp.c: New file.
1429 * gdb.thread/thread-specific-bp.exp: New file.
1430
e83b28bc
SDJ
14312013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
1432
1433 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
1434 convenience function.
1435
08d72866
PA
14362013-09-17 Pedro Alves <palves@redhat.com>
1437
1438 PR gdb/15911
1439 * gdb.threads/info-threads-cur-sal-2.c: New file.
1440 * gdb.threads/info-threads-cur-sal.c: New file.
1441 * gdb.threads/info-threads-cur-sal.exp: New file.
1442
57b0d98e
YQ
14432013-09-17 Yao Qi <yao@codesourcery.com>
1444
1445 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
1446 [__WIN32__]: Include "windows.h" and define macro dlopen
1447 and dlclose.
1448 [!__WIN32__]: Include "dlfcn.h".
1449 * gdb.base/catch-load.exp (one_catch_load_test): Match
1450 directory separator.
1451
0295a32e
DE
14522013-09-16 Doug Evans <dje@google.com>
1453
a587b477
DE
1454 * lib/gdb.exp (using_fission): New proc.
1455 * gdb.base/info-macros.exp: Skip test if using Fission.
1456
0295a32e
DE
1457 * gdb.base/break-interp.exp: Fix indentation.
1458
a280dbd1
SDJ
14592013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1460
1461 * gdb.base/gdbvars.c (foo_void): New function.
1462 (foo_int): Likewise.
1463 * gdb.base/gdbvars.exp (test_convenience_functions): New
1464 function. Call it.
1465
4ac33720
UW
14662013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1467
1468 * gdb.arch/s390-tdbregs.c: New file.
1469 * gdb.arch/s390-tdbregs.exp: New file.
1470
b866c52d
SS
14712013-09-12 Stan Shebs <stan@codesourcery.com>
1472
1473 * README: New file.
1474
dc59cba6
DE
14752013-09-12 Doug Evans <dje@google.com>
1476
1477 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
1478 added code to print event.inferior.
1479
edf9f00c
JK
14802013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1481
1482 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
1483 debug part of the binary.
1484
5423b017
JK
14852013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1486
1487 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
1488 (addlink): Add comment.
1489
9295cf6f
SA
14902013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
1491
1492 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
1493 canonical pathname.
1494
89e63ee4
DE
14952013-09-04 Doug Evans <dje@google.com>
1496
314bb8c3
DE
1497 * gdb.python/py-events.py (exit_handler): Verify we get the expected
1498 event.
1499 (continue_handler, new_objfile_handler): Ditto.
1500 (test_events): Rename command to "test-events".
1501 (test_newobj_events): Rename command to "test-objfile-events".
1502 * gdb.python/py-events.exp: Update.
1503 * gdb.python/py-evsignal.exp: Update.
1504 * gdb.python/py-evthreads.exp: Update.
1505
89e63ee4
DE
1506 * gdb.base/enumval.c (ZERO): New enum value.
1507 (main): Use it
1508 * gdb.base/enumval.exp: Test ability to print ZERO.
1509
15102013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
41dc8db8
MB
1511 Pedro Alves <palves@redhat.com>
1512
1513 * gdb.base/relocate.exp: Check that invalid options are
1514 rejected.
1515
26c2b53c
AB
15162013-08-30 Andrew Burgess <aburgess@broadcom.com>
1517
1518 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
1519 (my_static_symbol): Add comment.
1520 (main): Reference my_bss_symbol.
1521
96d9056e
PM
15222013-08-30 Phil Muldoon <pmuldoon@redhat.com>
1523
1524 * gdb.python/py-arch.exp: Tests for invalid architecture.
1525
489d4f4d
SA
15262013-08-29 Sterling Augustine <saugustine@google.com>
1527
1528 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
1529 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
1530 said conditional.
1531
5b791bb5
PM
15322013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1533
1534 * gdb.python/py-arch.exp: Load gdb-python.exp.
1535
8f28f522
PM
15362013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1537
1538 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
1539 itertools for imap attribute. Otherwise use map().
1540 (ElidingIterator): Define wrapper function __next__.
1541 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
1542 use exec (open (read ())) instead.
1543 * gdb.python/py-framefilter.exp: Ditto.
1544 * gdb.python/py-arch.exp: Update print based test to Python 3.x
1545 compliance.
1546 * gdb.python/py-frame.exp: Ditto.
1547 * gdb.python/py-type.exp: Ditto.
1548
1f0c4988
JK
15492013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1550
1551 PR gdb/15415
1552 * gdb.base/argv0-symlink.c: New file.
1553 * gdb.base/argv0-symlink.exp: New file.
1554
7893c162
TT
15552013-08-28 Tom Tromey <tromey@redhat.com>
1556
1557 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
1558 when saving index.
1559
6211c335
YQ
15602013-08-27 Yao Qi <yao@codesourcery.com>
1561
1562 * gdb.trace/entry-values.exp: Test unavailable entry value is
1563 not shown when option '--skip-unavailable' is specified.
1564 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
1565 Add tests for new option '--skip-unavailable'.
1566
ce4ea2bb
YQ
15672013-08-27 Yao Qi <yao@codesourcery.com>
1568
1569 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
1570 remote_download if it is empty.
1571
6e45f158
DE
15722013-08-26 Doug Evans <dje@google.com>
1573
779bd270
DE
1574 PR symtab/15885
1575 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
1576 (clean): rm -f *.gdb-index *.with-index.
1577 * gdb.dwarf2/gdb-index.exp: New testcase.
1578
6e45f158
DE
1579 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
1580 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
1581 run_on_host. All callers updated.
1582
b1224238
YQ
15832013-08-24 Yao Qi <yao@codesourcery.com>
1584
1585 * gdb.trace/entry-values.c (end): New
1586 (main): Call end.
1587 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
1588 tracepoint and collect data. Test entry value is unavailable.
1589
b39a8faf
YQ
15902013-08-24 Yao Qi <yao@codesourcery.com>
1591
1592 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
1593 * gdb.trace/entry-values.c: New.
1594 * gdb.trace/entry-values.exp: New.
1595
9eaabc75
MW
15962013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
1597
1598 PR gdb/15501
1599 * gdb.base/ena-dis-br.exp: Add test to verify
1600 enable/disable commands work correctly with
1601 multiple arguments that include multiple locations.
1602
9f948660
SDJ
16032013-08-22 Samuel Bronson <naesten@gmail.com>
1604
1605 ARM Linux support for `catch syscall'.
1606 * gdb.base/catch-syscall.exp: Test this on ARM now.
1607 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
1608
e630b974
TT
16092013-08-22 Tom Tromey <tromey@redhat.com>
1610
1611 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
1612 default addr_size.
1613 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
1614
f3a76454
TT
16152013-08-22 Tom Tromey <tromey@redhat.com>
1616
1617 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
1618 standard_temp_file.
1619
de5f37e1
TT
16202013-08-22 Tom Tromey <tromey@redhat.com>
1621
1622 * gdb.arch/amd64-byte.exp: Use standard_testfile,
1623 clean_restart.
1624 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
1625 * gdb.arch/amd64-dword.exp: Use standard_testfile,
1626 clean_restart.
1627 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
1628 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
1629 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
1630 * gdb.arch/amd64-word.exp: Use standard_testfile,
1631 clean_restart.
1632 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
1633 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
1634 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
1635 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
1636 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
1637 * gdb.arch/i386-signal.exp: Use standard_testfile.
1638 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
1639 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
1640 * gdb.arch/i386-unwind.exp: Use standard_testfile.
1641 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
1642
8448e842
TT
16432013-08-22 Tom Tromey <tromey@redhat.com>
1644
1645 * gdb.python/py-error.exp: Use gdb_remote_download.
1646 * gdb.python/py-mi.exp: Use gdb_remote_download.
1647 * gdb.python/py-objfile-script.exp: Use standard_output_file.
1648 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
1649 (run_lang_tests): Likewise.
1650 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
1651 filename.
1652 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
1653 compiling. Use gdb_remote_download. Update some tests.
1654 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1655 standard_output_file.
1656 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
1657 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
1658 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
1659 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
1660 standard_output_file.
1661
16cfcbc2
TT
16622013-08-22 Tom Tromey <tromey@redhat.com>
1663
1664 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
1665
44ee8174
TT
16662013-08-22 Tom Tromey <tromey@redhat.com>
1667
1668 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
1669 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
1670 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
1671 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
1672 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
1673 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
1674 * lib/gdb.exp (gdb_remote_download): New proc.
1675
7a218f88
TT
16762013-08-22 Tom Tromey <tromey@redhat.com>
1677
1678 * gdb.dwarf2/clztest.exp: Use standard_testfile.
1679 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
1680 * gdb.dwarf2/fission-base.S: Remove directory from
1681 DW_AT_GNU_dwo_name.
1682 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
1683 debug-file-directory.
1684 * gdb.dwarf2/fission-reread.S: Remove directory from
1685 DW_AT_GNU_dwo_name.
1686 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
1687 debug-file-directory.
1688
70cc1c23
DE
16892013-08-16 Doug Evans <dje@google.com>
1690
1691 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
1692 prelink complains about an unhandled DWARF version.
1693
61884d20
DE
16942013-08-14 Cary Coutant <ccoutant@google.com>
1695
1696 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
1697
5e92f71a
TT
16982013-08-13 Tom Tromey <tromey@redhat.com>
1699 Yao Qi <yao@codesourcery.com>
1700
1701 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
1702 * lib/gdb.exp: Handle GDB_PARALLEL.
1703 (default_gdb_version): Kill inotify_pid if it exists.
1704 (default_gdb_exit): Emit warning if the inotify log is not
1705 empty.
1706 (standard_output_file): Respect GDB_PARALLEL.
1707 (standard_temp_file): Likewise.
1708 (gdb_init): Start inotifywait if requested.
1709
5c30d39a
AB
17102013-08-13 Andrew Burgess <aburgess@broadcom.com>
1711
1712 * gdb.base/printcmds.exp (test_printf): Add test for printf of
1713 pointer with various flags.
1714
17e1c970
TT
17152013-08-13 Tom Tromey <tromey@redhat.com>
1716
1717 * lib/cache.exp: New file.
1718 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
1719 * lib/gdb.exp: Load cache.exp.
1720 (support_complex_tests, is_ilp32_target, is_lp64_target)
1721 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
1722 (gdb_skip_xml_test): Use gdb_caching_proc.
1723 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
1724
4e234898
TT
17252013-08-13 Tom Tromey <tromey@redhat.com>
1726
1727 * lib/gdb.exp (standard_temp_file): New proc.
1728 (support_complex_tests, is_ilp32_target, is_lp64_target)
1729 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
1730 standard_temp_file.
1731
53e981d9
TT
17322013-08-13 Tom Tromey <tromey@redhat.com>
1733
1734 * lib/gdb.exp (build_id_debug_filename_get): Use
1735 standard_output_file.
1736 * lib/prelink-support.exp (section_get)
1737 (build_executable_own_libs): Use standard_output_file.
1738
3f539315
TT
17392013-08-12 Tom Tromey <tromey@redhat.com>
1740
1741 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
1742
b4013987
AA
17432013-08-12 Ali Anwar <alianwar@codesourcery.com>
1744
1745 * gdb.base/break.exp: Test break via convenience variable
1746 with file name.
1747
f61d5529
DE
17482013-08-09 Doug Evans <dje@google.com>
1749
1750 * lib/future.exp (gdb_find_ldd): New proc.
1751 * lib/prelink-support.exp (build_executable_own_libs): Call it.
1752 Make "/usr/sbin/" in prelink path optional.
1753
1ed8d800
YQ
17542013-08-09 Yao Qi <yao@codesourcery.com>
1755
1756 * gdb.trace/collection.exp (gdb_collect_args_test): Set
1757 "only" and "both" to 'print entry-values' before selecting
1758 trace frame.
1759
82a0a75f
YQ
17602013-08-08 Yao Qi <yao@codesourcery.com>
1761
1762 * gdb.trace/mi-trace-unavailable.exp: Don't set
1763 "print entry-values" to "no".
1764 (test_trace_unavailable): Set various values to
1765 "print entry-values" to test that the output of
1766 '-stack-list-locals' is not affected, and then set
1767 set "print entry-values" to "no".
1768
ac52f9a2
DE
17692013-08-07 Doug Evans <dje@google.com>
1770
1771 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
1772 * gdb.python/py-value-cc.exp: Update.
1773 * gdb.python/py-value.exp: Use different names for .o files for
1774 C and C++. Only perform C++ tests if !skip_cplus_tests.
1775
bf6d8a91
TT
17762013-08-07 Tom Tromey <tromey@redhat.com>
1777
1778 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
1779
f9125b6c
TT
17802013-08-07 Tom Tromey <tromey@redhat.com>
1781
1782 * gdb.dwarf2/dwz.exp: New file.
1783
3a1115a0
TT
17842013-08-02 Tom Tromey <tromey@redhat.com>
1785
1786 * gdb.base/watchpoint.c (struct foo5): New.
1787 (nullptr): New global.
1788 * gdb.base/watchpoint.exp (test_watch_location): Add test.
1789
b846d303
DE
17902013-08-01 Doug Evans <dje@google.com>
1791
7ee85ab1
DE
1792 PR symtab/15691
1793 * gdb.dwarf2/fission-mix.exp: New file.
1794 * gdb.dwarf2/fission-mix.h: New file.
1795 * gdb.dwarf2/fission-mix.c: New file.
1796 * gdb.dwarf2/fission-mix2.c: New file.
1797
b846d303
DE
1798 PR symtab/15695
1799 * gdb.base/func-ptr.exp: New file.
1800 * gdb.base/func-ptr.c: New file.
1801
67d21849
YQ
18022013-08-01 Yao Qi <yao@codesourcery.com>
1803
1804 * gdb.python/py-sync-interp.c: New.
1805 * gdb.python/py-sync-interp.exp: New.
1806
de74e63a
YQ
18072013-07-31 Yao Qi <yao@codesourcery.com>
1808
1809 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
1810 'tdump' on stack frame 0 and 1 respectively.
1811
680558e8
YQ
18122013-07-31 Yao Qi <yao@codesourcery.com>
1813
1814 PR gdb/13443
1815 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
1816 'traceframe'. Wrap test with with_test_prefix.
1817 (top level): Update.
1818
48bbe0bf
YQ
18192013-07-31 Yao Qi <yao@codesourcery.com>
1820
1821 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
1822 'gdb_start'.
1823 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
1824 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
1825
11b4b7cc
AB
18262013-07-30 Andrew Burgess <aburgess@broadcom.com>
1827
1828 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
1829 when printing an optimized out value. Expect an error when using
1830 an optimized out value in an expression.
1831
b0c54aa5
AB
18322013-07-30 Andrew Burgess <aburgess@broadcom.com>
1833
1834 * gdb.dwarf2/pieces-optimized-out.exp: New file.
1835 * gdb.dwarf2/pieces-optimized-out.c: New file.
1836 * gdb.dwarf2/pieces-optimized-out.S: New file.
1837
97c85fc6
MB
18382013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
1839
1840 PR gdb/15715
1841 * gdb.base/setshow.exp: Test that relative paths passed to
1842 'set history filename' are converted to absolute paths.
1843
5b32ae97
KS
18442013-07-26 Keith Seitz <keiths@redhat.com>
1845
1846 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
1847 of f77.
1848 Allow for compiler variations of integer types.
1849 Use mi_create_varobj.
1850 Use mi_list_varobj_children for the immediate children of `array'.
1851 Add "has_more" attribute for grandchildren test.
1852
6f64ef53
PA
18532013-07-26 Pedro Alves <palves@redhat.com>
1854
1855 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
1856 files.
1857
fdc8aae8
AB
18582013-07-25 Andrew Burgess <aburgess@broadcom.com>
1859
1860 * gdb.mi/mi-reg-undefined.exp: New file.
1861 * gdb.mi/mi-reg-undefined.c: Likewise.
1862 * gdb.mi/mi-reg-undefined.S: Likewise.
1863
6fbe845e
AB
18642013-07-25 Andrew Burgess <aburgess@broadcom.com>
1865
1866 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
1867 z, o, and t output formats.
1868 * gdb.base/display.exp: Use 'k' as an undefined format now that
1869 'z' is defined.
1870
7b79b135
DE
18712013-07-24 Doug Evans <dje@google.com>
1872
1873 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
1874 "--" to switch.
1875
a0607b84
YQ
18762013-07-24 Yao Qi <yao@codesourcery.com>
1877
1878 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
1879 host.
1880 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
1881 Likewise. If host is remote, copy ${binfile} to host.
1882
2eb14a9b
YQ
18832013-07-23 Yao Qi <yao@codesourcery.com>
1884
1885 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
1886 message.
1887
5d0a3b53
WN
18882013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1889
1890 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
1891 instructions and enable disp-step-syscall for arm targets.
1892
9a5911c0
WN
18932013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1894
1895 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
1896 assembler errors on arm.
1897 * gdb.dwarf2/mac-fileno.S: Likewise.
1898 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
1899 * gdb.dwarf2/pr13961.S: Likewise.
1900
fa876972
HZ
19012013-07-19 Hui Zhu <hui@codesourcery.com>
1902
1903 PR gdb/15692
1904 * gdb.mi/mi-dprintf.exp: Add double quotes test.
1905
1527aea8
YQ
19062013-07-19 Yao Qi <yao@codesourcery.com>
1907
1908 * gdb.trace/read-memory.exp (test_from_remote): Update test.
1909 (teset_from_exec): Likewise.
1910
73c1d57e
YQ
19112013-07-19 Yao Qi <yao@codesourcery.com>
1912
1913 * gdb.trace/read-memory.c: New.
1914 * gdb.trace/read-memory.exp: New.
1915
a075c3e5
YQ
19162013-07-19 Yao Qi <yao@codesourcery.com>
1917
1918 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
1919 $dest to link options if host is remote. Move the
1920 generated file to $dest.a on host if host is remote.
1921
623cc285
WN
19222013-07-18 Will Newton <will.newton@linaro.org>
1923
1924 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
1925 to ensure the test is linked against pthreads.
1926 * gdb.threads/tls-var-main.c: Likewise.
1927 * gdb.threads/tls-shared.c: Likewise.
1928
1f74d3b5
YQ
19292013-07-18 Yao Qi <yao@codesourcery.com>
1930
1931 * lib/future.exp (gdb_default_target_compile): Use tail name
1932 of $destfile as the output name of compile. Move the
1933 generated file to $destfile on build.
1934
f6dc277e
YQ
19352013-07-18 Yao Qi <yao@codesourcery.com>
1936
1937 * lib/gdb.exp (gdb_compile): Set
1938 gdb_saved_set_unbuffered_mode_obj to
1939 set_unbuffered_mode_saved.o if host is remote. Invoke
1940 remote_download to copy $unbuf_obj to host.
1941
e7045703
DE
19422013-07-17 Doug Evans <dje@google.com>
1943
1944 * gdb.python/py-frame-args.c: New file.
1945 * gdb.python/py-frame-args.py: New file.
1946 * gdb.python/py-frame-args.exp New file.
1947
5ea5559b
AB
19482013-07-16 Andrew Burgess <aburgess@broadcom.com>
1949
1950 * gdb.base/printcmds.exp (test_printf): Add tests for format
1951 strings with missing format specifier.
1952
4229ca0e
TT
19532013-07-16 Tom Tromey <tromey@redhat.com>
1954
1955 * gdb.ada/info_types.exp: Use standard_testfile.
1956
5ee657d5
TT
19572013-07-16 Tom Tromey <tromey@redhat.com>
1958
1959 * gdb.mi/mi-basics.exp: Use standard_output_file.
1960 (test_dir_specification, test_cwd_specification)
1961 (test_path_specification): Use testsubdir, not subdir and objdir.
1962
20e3d738
TT
19632013-07-16 Tom Tromey <tromey@redhat.com>
1964
1965 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
1966
7d7c6477
JB
19672013-07-09 Joel Brobecker <brobecker@adacore.com>
1968
1969 * gdb.ada/small_reg_param.exp: Accept optional entry value
1970 for parameter "w".
1971
52cd8b7d
JB
19722013-07-09 Joel Brobecker <brobecker@adacore.com>
1973
1974 * gdb.ada/small_reg_param.exp: Remove trailing space.
1975
2a998fc0
DE
19762013-07-09 Doug Evans <dje@google.com>
1977
1978 * gdb.base/default.exp: Update expected output of "show print array"
1979 and "show print pretty".
1980
0329e9fb
UW
19812013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1982
1983 * gdb.threads/wp-replication.exp: Stop counting available hardware
1984 watchpoints after NR_THREADS iterations.
1985
1953058f
AB
19862013-07-08 Andrew Burgess <aburgess@broadcom.com>
1987
1988 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
1989
7c0de741
YQ
19902013-07-07 Yao Qi <yao@codesourcery.com>
1991
1992 * boards/native-gdbserver.exp: Move invoke of
1993 process_multilib_options to gdbserver-base.exp.
1994 Move set_board_info 'compiler', 'gdb,noinferiorio',
1995 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
1996 gdbserver-base.exp.
1997 Move proc ${board}_download, ${board}_upload and
1998 ${board}_file to gdbserver-base.exp.
1999 * boards/native-extended-gdbserver.exp: Likewise.
2000 * boards/native-stdio-gdbserver.exp: Likewise.
2001 * boards/gdbserver-base.exp: New file.
2002
497a4c48
LM
20032013-07-05 Luis Machado <lgustavo@codesourcery.com>
2004
2005 * gdb.base/dump.exp: Remove arch-specific tests and do a
2006 generic data address check to set is64bitonly correctly.
2007
bb3f62fc
LM
20082013-07-05 Luis Machado <lgustavo@codesourcery.com>
2009
2010 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
2011 the register number instead of expecting only 0.
2012
005faa9d
WN
20132013-07-05 Will Newton <will.newton@linaro.org>
2014
2015 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
2016 in asm syntax to allow building on ARM.
2017
4767856f
YQ
20182013-07-05 Yao Qi <yao@codesourcery.com>
2019
2020 * boards/local-remote-host.exp: Remove obsolete comments.
2021 * boards/native-extended-gdbserver.exp: Likewise.
2022 * boards/native-gdbserver.exp: Likewise.
2023 * boards/native-stdio-gdbserver.exp: Likewise.
2024
691a26f5
AB
20252013-07-04 Andrew Burgess <aburgess@broadcom.com>
2026
2027 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
2028 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
2029 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
2030
4d142eaa
JK
20312013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2032
2033 * gdb.base/break-on-linker-gcd-function.exp: Replace
2034 prepare_for_testing by build_executable_from_specs and clean_restart.
2035
62cef515
TT
20362013-06-27 Tom Tromey <tromey@redhat.com>
2037
2038 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
2039 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
2040 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
2041 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
2042 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
2043 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
2044 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
2045 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
2046 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
2047 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
2048 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
2049 Use standard_testfile, standard_output_file, prepare_for_testing,
2050 clean_restart.
2051
0ab77f5f
TT
20522013-06-27 Tom Tromey <tromey@redhat.com>
2053
2054 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
2055 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
2056 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
2057 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2058 gdb.base/shreloc.exp, gdb.base/sigall.exp,
2059 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
2060 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
2061 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
2062 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
2063 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
2064 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
2065 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
2066 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
2067 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
2068 gdb.base/solib-weak.exp, gdb.base/source.exp,
2069 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
2070 gdb.base/stap-probe.exp, gdb.base/start.exp,
2071 gdb.base/step-break.exp, gdb.base/step-bt.exp,
2072 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
2073 gdb.base/step-test.exp, gdb.base/structs.exp,
2074 gdb.base/structs2.exp, gdb.base/structs3.exp,
2075 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
2076 standard_output_file, prepare_for_testing, clean_restart.
2077
822bd149
TT
20782013-06-27 Tom Tromey <tromey@redhat.com>
2079
2080 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
2081 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
2082 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
2083 gdb.base/pending.exp, gdb.base/permissions.exp,
2084 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
2085 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
2086 gdb.base/printcmds.exp, gdb.base/prologue.exp,
2087 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
2088 gdb.base/ptype.exp, gdb.base/randomize.exp,
2089 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
2090 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
2091 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
2092 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
2093 standard_testfile, standard_output_file, prepare_for_testing,
2094 clean_restart.
2095
f8b41b00
TT
20962013-06-27 Tom Tromey <tromey@redhat.com>
2097
a8c97a87
TT
2098 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
2099 gdb.base/huge.exp, gdb.base/included.exp,
2100 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
2101 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
2102 gdb.base/info-os.exp, gdb.base/info-proc.exp,
2103 gdb.base/info-target.exp, gdb.base/infoline.exp,
2104 gdb.base/interp.exp, gdb.base/interrupt.exp,
2105 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
2106 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
2107 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
2108 gdb.base/logical.exp, gdb.base/long_long.exp,
2109 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
2110 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
2111 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
2112 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
2113 standard_testfile, standard_output_file, prepare_for_testing,
2114 clean_restart.
2115
289f9037
TT
21162013-06-27 Tom Tromey <tromey@redhat.com>
2117
a8c97a87
TT
2118 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
2119 gdb.base/enumval.exp, gdb.base/environ.exp,
2120 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
2121 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
2122 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
2123 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
2124 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
2125 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
2126 gdb.base/fullname.exp, gdb.base/funcargs.exp,
2127 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
2128 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
2129 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
2130 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
2131 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
2132 gdb.base/gnu_vector.exp: Use standard_testfile,
2133 standard_output_file, prepare_for_testing, clean_restart.
289f9037 2134
f76495c8
TT
21352013-06-27 Tom Tromey <tromey@redhat.com>
2136
a8c97a87
TT
2137 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
2138 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
2139 gdb.base/call-strs.exp, gdb.base/callexit.exp,
2140 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
2141 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
2142 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
2143 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
2144 gdb.base/commands.exp, gdb.base/completion.exp,
2145 gdb.base/complex.exp, gdb.base/cond-expr.exp,
2146 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
2147 gdb.base/constvars.exp, gdb.base/corefile.exp,
2148 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
2149 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2150 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
2151 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
2152 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
2153 standard_output_file, prepare_for_testing, clean_restart.
2154
a64d2530
TT
21552013-06-27 Tom Tromey <tromey@redhat.com>
2156
a8c97a87
TT
2157 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
2158 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
2159 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
2160 gdb.base/async-shell.exp, gdb.base/async.exp,
2161 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
2162 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
2163 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
2164 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
2165 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
2166 gdb.base/break-on-linker-gcd-function.exp,
2167 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
2168 standard_output_file, prepare_for_testing, clean_restart.
2169
aaff8d73
YQ
21702013-06-26 Yao Qi <yao@codesourcery.com>
2171
2172 * gdb.trace/mi-trace-frame-collected.exp: New.
2173
a0743c90
YQ
21742013-06-25 Yao Qi <yao@codesourcery.com>
2175
2176 * boards/native-extended-gdbserver.exp: Set board_info
2177 'gdb,predefined_tsv'.
2178 * boards/native-gdbserver.exp: Likewise.
2179 * boards/native-stdio-gdbserver.exp: Likewise.
2180 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
2181 uploaded TSVs if target supports tracing.
2182 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
2183 tracing and target has predefined tsv.
2184
9d6e6e84
HZ
21852013-06-25 Yao Qi <yao@codesourcery.com>
2186 Hui Zhu <hui@codesourcery.com>
2187 Pedro Alves <palves@redhat.com>
2188
2189 PR breakpoints/15075
2190 PR breakpoints/15434
2191 * gdb.base/dprintf-next.c: New file.
2192 * gdb.base/dprintf-next.exp: New file.
2193 * gdb.base/dprintf-non-stop.c: New file.
2194 * gdb.base/dprintf-non-stop.exp: New file.
2195 * gdb.base/dprintf.exp: Don't check "continue" in the output
2196 of "info breakpoints".
2197 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2198 Don't check "continue" in script field.
2199
e7ab3185
TT
22002013-06-21 Tom Tromey <tromey@redhat.com>
2201
2202 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
2203 name in a test name.
2204
c898adb7
YQ
22052013-06-20 Yao Qi <yao@codesourcery.com>
2206
2207 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
2208 and set an action.
2209 (test_trace_unavailable): Test command -data-list-register-values
2210 in the context of traceframe and with option --skip-unavailable.
2211 * gdb.trace/trace-unavailable.c (foo): New.
2212 (main): Call it.
2213 * gdb.mi/gdb2549.exp: Update matching pattern.
2214
4d157a3d
MF
22152013-06-19 Mike Frysinger <vapier@gentoo.org>
2216
2217 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
2218 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
2219 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
2220 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
2221 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
2222
d69cace4
LM
22232013-06-19 Luis Machado <lgustavo@codesourcery.com>
2224
2225 * gdb.base/subst.exp: Delete default rules before further
2226 tests.
2227
9bdd0636
YQ
22282013-06-19 Yao Qi <yao@codesourcery.com>
2229
2230 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
2231 unsupported if it is not registered.
2232
427cd150
TT
22332013-06-18 Tom Tromey <tromey@redhat.com>
2234
2235 * gdb.base/random-signal.c: New file.
2236 * gdb.base/random-signal.exp: New file.
2237
6de7c271
WN
22382013-06-18 Will Newton <will.newton@linaro.org>
2239
2240 * gdb.base/skip.c: Use comma to evaluate results of foo()
2241 and bar() before passing to baz().
2242 * gdb.base/skip.c: baz() now takes one argument instead of
2243 two.
2244
5bd1ef56
TT
22452013-06-18 Tom Tromey <tromey@redhat.com>
2246
2247 * gdb.dwarf2/implptrpiece.exp: New file.
2248 * gdb.dwarf2/implptrconst.exp (d): New variable.
2249 Print d.
2250 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
2251
e379b391
TT
22522013-06-18 Tom Tromey <tromey@redhat.com>
2253
2254 * lib/selftest-support.exp (do_self_tests): Reject remote or
2255 non-native targets.
2256 * gdb.gdb/complaints.exp: Remove check.
2257 * gdb.gdb/observer.exp: Remove check.
2258 * gdb.gdb/xfullpath.exp: Remove check.
2259 * gdb.gdb/complaints.exp: Remove check.
2260
4ec70201
PA
22612013-06-07 Pedro Alves <palves@redhat.com>
2262
2263 * boards/native-extended-gdbserver.exp: Remove semicolon.
2264 * config/arm-ice.exp: Likewise.
2265 * config/bfin.exp: Likewise.
2266 * config/cygmon.exp: Likewise.
2267 * config/h8300.exp: Likewise.
2268 * config/monitor.exp: Likewise.
2269 * config/sid.exp: Likewise.
2270 * config/sim.exp: Likewise.
2271 * config/slite.exp: Likewise.
2272 * config/vx.exp: Likewise.
2273 * gdb.arch/i386-bp_permanent.exp: Likewise.
2274 * gdb.asm/asm-source.exp: Likewise.
2275 * gdb.base/args.exp: Likewise.
2276 * gdb.base/attach-pie-misread.exp: Likewise.
2277 * gdb.base/auxv.exp: Likewise.
2278 * gdb.base/bigcore.exp: Likewise.
2279 * gdb.base/bitfields2.exp: Likewise.
2280 * gdb.base/bitfields.exp: Likewise.
2281 * gdb.base/break.exp: Likewise.
2282 * gdb.base/break-interp.exp: Likewise.
2283 * gdb.base/callfuncs.exp: Likewise.
2284 * gdb.base/call-sc.exp: Likewise.
2285 * gdb.base/commands.exp: Likewise.
2286 * gdb.base/corefile.exp: Likewise.
2287 * gdb.base/dbx.exp: Likewise.
2288 * gdb.base/ending-run.exp: Likewise.
2289 * gdb.base/exprs.exp: Likewise.
2290 * gdb.base/funcargs.exp: Likewise.
2291 * gdb.base/hbreak2.exp: Likewise.
2292 * gdb.base/huge.exp: Likewise.
2293 * gdb.base/list.exp: Likewise.
2294 * gdb.base/memattr.exp: Likewise.
2295 * gdb.base/overlays.exp: Likewise.
2296 * gdb.base/printcmds.exp: Likewise.
2297 * gdb.base/recurse.exp: Likewise.
2298 * gdb.base/remotetimeout.exp: Likewise.
2299 * gdb.base/reread.exp: Likewise.
2300 * gdb.base/savedregs.exp: Likewise.
2301 * gdb.base/scope.exp: Likewise.
2302 * gdb.base/sepdebug.exp: Likewise.
2303 * gdb.base/setshow.exp: Likewise.
2304 * gdb.base/setvar.exp: Likewise.
2305 * gdb.base/sigaltstack.exp: Likewise.
2306 * gdb.base/siginfo-addr.exp: Likewise.
2307 * gdb.base/siginfo.exp: Likewise.
2308 * gdb.base/siginfo-obj.exp: Likewise.
2309 * gdb.base/sigrepeat.exp: Likewise.
2310 * gdb.base/sigstep.exp: Likewise.
2311 * gdb.base/structs.exp: Likewise.
2312 * gdb.base/testenv.exp: Likewise.
2313 * gdb.base/twice.exp: Likewise.
2314 * gdb.base/valgrind-db-attach.exp: Likewise.
2315 * gdb.base/valgrind-infcall.exp: Likewise.
2316 * gdb.base/varargs.exp: Likewise.
2317 * gdb.base/watchpoint.exp: Likewise.
2318 * gdb.cp/gdb1355.exp: Likewise.
2319 * gdb.cp/misc.exp: Likewise.
2320 * gdb.disasm/hppa.exp: Likewise.
2321 * gdb.disasm/t01_mov.exp: Likewise.
2322 * gdb.disasm/t02_mova.exp: Likewise.
2323 * gdb.disasm/t03_add.exp: Likewise.
2324 * gdb.disasm/t04_sub.exp: Likewise.
2325 * gdb.disasm/t05_cmp.exp: Likewise.
2326 * gdb.disasm/t06_ari2.exp: Likewise.
2327 * gdb.disasm/t07_ari3.exp: Likewise.
2328 * gdb.disasm/t08_or.exp: Likewise.
2329 * gdb.disasm/t09_xor.exp: Likewise.
2330 * gdb.disasm/t10_and.exp: Likewise.
2331 * gdb.disasm/t11_logs.exp: Likewise.
2332 * gdb.disasm/t12_bit.exp: Likewise.
2333 * gdb.disasm/t13_otr.exp: Likewise.
2334 * gdb.gdb/selftest.exp: Likewise.
2335 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2336 * gdb.mi/mi-reverse.exp: Likewise.
2337 * gdb.pascal/floats.exp: Likewise.
2338 * gdb.python/py-inferior.exp: Likewise.
2339 * gdb.threads/attach-into-signal.exp: Likewise.
2340 * gdb.threads/pthreads.exp: Likewise.
2341 * gdb.threads/thread_events.exp: Likewise.
2342 * gdb.threads/watchthreads.exp: Likewise.
2343 * gdb.trace/actions-changed.exp: Likewise.
2344 * gdb.trace/actions.exp: Likewise.
2345 * gdb.trace/ax.exp: Likewise.
2346 * gdb.trace/backtrace.exp: Likewise.
2347 * gdb.trace/change-loc.exp: Likewise.
2348 * gdb.trace/deltrace.exp: Likewise.
2349 * gdb.trace/disconnected-tracing.exp: Likewise.
2350 * gdb.trace/ftrace.exp: Likewise.
2351 * gdb.trace/infotrace.exp: Likewise.
2352 * gdb.trace/passc-dyn.exp: Likewise.
2353 * gdb.trace/passcount.exp: Likewise.
2354 * gdb.trace/pending.exp: Likewise.
2355 * gdb.trace/qtro.exp: Likewise.
2356 * gdb.trace/range-stepping.exp: Likewise.
2357 * gdb.trace/report.exp: Likewise.
2358 * gdb.trace/save-trace.exp: Likewise.
2359 * gdb.trace/status-stop.exp: Likewise.
2360 * gdb.trace/strace.exp: Likewise.
2361 * gdb.trace/tfile.exp: Likewise.
2362 * gdb.trace/tfind.exp: Likewise.
2363 * gdb.trace/trace-break.exp: Likewise.
2364 * gdb.trace/tracecmd.exp: Likewise.
2365 * gdb.trace/trace-mt.exp: Likewise.
2366 * gdb.trace/tspeed.exp: Likewise.
2367 * gdb.trace/tsv.exp: Likewise.
2368 * gdb.trace/while-stepping.exp: Likewise.
2369 * lib/gdb.exp: Likewise.
2370 * lib/gdbserver-support.exp: Likewise.
2371 * lib/java.exp: Likewise.
2372 * lib/mi-support.exp: Likewise.
2373 * lib/pascal.exp: Likewise.
2374 * lib/prompt.exp: Likewise.
2375 * lib/trace-support.exp: Likewise.
2376
47d48711
PA
23772013-06-07 Pedro Alves <palves@redhat.com>
2378
2379 * gdb.ada/info_types.c: Fix formating in copyright header.
2380 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
2381 * gdb.base/float.c: Likewise.
2382 * gdb.base/inferior-died.c: Likewise.
2383 * gdb.base/interp.c: Likewise.
2384 * gdb.base/jit-main.c: Likewise.
2385 * gdb.base/jit-solib.c: Likewise.
2386 * gdb.base/long_long.c: Likewise.
2387 * gdb.base/longjmp.c: Likewise.
2388 * gdb.base/nextoverexit.c: Likewise.
2389 * gdb.base/pr11022.c: Likewise.
2390 * gdb.base/prelink-lib.c: Likewise.
2391 * gdb.base/prelink.c: Likewise.
2392 * gdb.base/prologue.c: Likewise.
2393 * gdb.base/restore.c: Likewise.
2394 * gdb.base/sigchld.c: Likewise.
2395 * gdb.base/solib-search-lib1.c: Likewise.
2396 * gdb.base/solib-search-lib2.c: Likewise.
2397 * gdb.base/solib-search.c: Likewise.
2398 * gdb.base/solib-search.h: Likewise.
2399 * gdb.base/whatis.c: Likewise.
2400 * gdb.cp/abstract-origin.cc: Likewise.
2401 * gdb.cp/anon-struct.cc: Likewise.
2402 * gdb.cp/baseenum.cc: Likewise.
2403 * gdb.cp/bs15503.cc: Likewise.
2404 * gdb.cp/call-c-1.c: Likewise.
2405 * gdb.cp/call-c.cc: Likewise.
2406 * gdb.cp/class2.cc: Likewise.
2407 * gdb.cp/classes.cc: Likewise.
2408 * gdb.cp/cttiadd.cc: Likewise.
2409 * gdb.cp/cttiadd1.cc: Likewise.
2410 * gdb.cp/cttiadd2.cc: Likewise.
2411 * gdb.cp/cttiadd3.cc: Likewise.
2412 * gdb.cp/derivation.cc: Likewise.
2413 * gdb.cp/derivation2.cc: Likewise.
2414 * gdb.cp/dispcxx.cc: Likewise.
2415 * gdb.cp/exception.cc: Likewise.
2416 * gdb.cp/gdb2384-base.cc: Likewise.
2417 * gdb.cp/gdb2384-base.h: Likewise.
2418 * gdb.cp/gdb2384.cc: Likewise.
2419 * gdb.cp/gdb2495.cc: Likewise.
2420 * gdb.cp/mb-inline.h: Likewise.
2421 * gdb.cp/mb-inline1.cc: Likewise.
2422 * gdb.cp/mb-inline2.cc: Likewise.
2423 * gdb.cp/member-name.cc: Likewise.
2424 * gdb.cp/member-ptr.cc: Likewise.
2425 * gdb.cp/misc.cc: Likewise.
2426 * gdb.cp/namespace1.cc: Likewise.
2427 * gdb.cp/nextoverthrow.cc: Likewise.
2428 * gdb.cp/pr-574.cc: Likewise.
2429 * gdb.cp/pr9631.cc: Likewise.
2430 * gdb.cp/printmethod.cc: Likewise.
2431 * gdb.cp/psmang1.cc: Likewise.
2432 * gdb.cp/psmang2.cc: Likewise.
2433 * gdb.cp/psymtab-parameter.cc: Likewise.
2434 * gdb.cp/ptype-flags.cc: Likewise.
2435 * gdb.cp/ref-params.cc: Likewise.
2436 * gdb.cp/ref-types.cc: Likewise.
2437 * gdb.cp/smartp.cc: Likewise.
2438 * gdb.cp/try_catch.cc: Likewise.
2439 * gdb.cp/userdef.cc: Likewise.
2440 * gdb.cp/using-crash.cc: Likewise.
2441 * gdb.cp/virtfunc.cc: Likewise.
2442 * gdb.cp/virtfunc2.cc: Likewise.
2443 * gdb.dwarf2/callframecfa.S: Likewise.
2444 * gdb.dwarf2/dw2-ranges.c: Likewise.
2445 * gdb.dwarf2/dw2-ranges2.c: Likewise.
2446 * gdb.dwarf2/dw2-ranges3.c: Likewise.
2447 * gdb.dwarf2/dw2-restore.S: Likewise.
2448 * gdb.dwarf2/pieces.S: Likewise.
2449 * gdb.dwarf2/valop.S: Likewise.
2450 * gdb.java/jnpe.java: Likewise.
2451 * gdb.mi/mi-stepn.c: Likewise.
2452 * gdb.mi/mi-var-cp.cc: Likewise.
2453 * gdb.mi/mi-var-rtti.cc: Likewise.
2454 * gdb.mi/ns-stale-regcache.c: Likewise.
2455 * gdb.mi/pr11022.c: Likewise.
2456 * gdb.mi/solib-lib.c: Likewise.
2457 * gdb.mi/solib-main.c: Likewise.
2458 * gdb.python/py-arch.c: Likewise.
2459 * gdb.python/py-block.c: Likewise.
2460 * gdb.python/py-breakpoint.c: Likewise.
2461 * gdb.python/py-events.c: Likewise.
2462 * gdb.python/py-evthreads.c: Likewise.
2463 * gdb.python/py-explore.c: Likewise.
2464 * gdb.python/py-explore.cc: Likewise.
2465 * gdb.python/py-finish-breakpoint.c: Likewise.
2466 * gdb.python/py-finish-breakpoint2.cc: Likewise.
2467 * gdb.python/py-symbol.c: Likewise.
2468 * gdb.threads/execl.c: Likewise.
2469 * gdb.threads/execl1.c: Likewise.
2470
88ab5684
WN
24712013-06-07 Will Newton <will.newton@linaro.org>
2472
2473 * gdb.base/long_long.exp: Fix ARM EABI target glob.
2474
42daa7a0
WN
24752013-06-07 Will Newton <will.newton@linaro.org>
2476
2477 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
2478 and "starting".
2479
f4059ef3
WN
24802013-06-07 Will Newton <will.newton@linaro.org>
2481
2482 * gdb.cp/anon-struct.exp: Conditionalize constructor and
2483 destructor prototypes for ARM ABI.
2484 * gdb.cp/m-static.exp: Likewise.
2485
8cb5cc78
YQ
24862013-06-07 Yao Qi <yao@codesourcery.com>
2487
2488 * gdb.trace/mi-trace-unavailable.exp: New.
2489 * gdb.trace/trace-unavailable.c: New.
2490
c6cf1712
DE
24912013-06-06 Doug Evans <dje@google.com>
2492
2493 * gdb.cp/derivation.exp: Make tests have unique names.
2494
bf6be0f4
TT
24952013-06-06 Tom Tromey <tromey@redhat.com>
2496
2497 * gdb.base/dump.exp (capture_value): Don't put expression into
2498 test name if arguments passed in.
2499 Rename a couple more tests to make them unique.
2500
ebb022fa
TT
25012013-06-06 Tom Tromey <tromey@redhat.com>
2502
2503 * gdb.base/break-always.exp: Explicitly specify test name.
2504
69fc87c2
DE
25052013-06-05 Doug Evans <dje@google.com>
2506 Keith Seitz <keiths@redhat.com>
2507
2508 * gdb.cp/derivation2.cc: New file.
2509 * gdb.cp/derivation.cc (main): Call foo2.
2510 * gdb.cp/derivation.exp: Add tests for typedefs in another
2511 file, and when there's an active block.
2512
f993f39e
LM
25132013-06-05 Luis Machado <lgustavo@codesourcery.com>
2514
2515 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
2516 from targets that use function descriptors in the virtual tables.
2517 Handle presence of dot symbols.
2518
afacd7f3
GB
25192013-06-04 Gary Benson <gbenson@redhat.com>
2520
2521 * gdb.base/break-probes.exp: New file.
2522 * gdb.base/break-probes.c: Likewise.
2523 * gdb.base/break-probes-solib.c: Likewise.
2524 * gdb.base/info-shared.exp: New file.
2525 * gdb.base/info-shared.c: Likewise.
2526 * gdb.base/info-shared-solib1.c: Likewise.
2527 * gdb.base/info-shared-solib2.c: Likewise.
2528
a29a3fb7
GB
25292013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2530 Gary Benson <gbenson@redhat.com>
2531
2532 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
2533 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
2534 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
2535 to be set to "no" to indicate that no ld.so copy should be made.
2536 * gdb.base/break-interp.exp (solib_bp): New constant.
2537 (reach_1): Use the above instead of "_dl_debug_state".
2538 (test_attach): Likewise.
2539 (test_ld): Likewise.
2540 * gdb.threads/dlopen-libpthread.exp: New file.
2541 * gdb.threads/dlopen-libpthread.c: Likewise.
2542 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
2543 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
2544
62a813cc
YQ
25452013-05-30 Yao Qi <yao@codesourcery.com>
2546
2547 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2548 Add a test that no MI notification is emitted when executing
2549 -exec-arguments.
2550
8f56dad4
JK
25512013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2552
2553 PR testsuite/12649
2554 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
2555 $mi_gdb_prompt expectation by mi_expect_stop.
2556 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
2557 (mi info dprintf second time): Replace them by mi_send_resuming_command
2558 and mi_expect_stop.
2559
c588eb20
GB
25602013-05-24 Gary Benson <gbenson@redhat.com>
2561
2562 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
2563 backslash.
2564 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
2565 backslashes.
2566 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
2567 backslash.
2568
c0ea94eb
YQ
25692013-05-24 Yao Qi <yao@codesourcery.com>
2570
2571 * gdb.trace/tfile.exp: Test inferior and thread.
2572
db1ac436
YQ
25732013-05-24 Yao Qi <yao@codesourcery.com>
2574 Pedro Alves <palves@redhat.com>
2575
2576 * gdb.base/range-stepping.exp: Skip the rest of tests if the
2577 test fails.
2578 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2579 Return 0 if the test passes, otherwise return 1.
2580
b6abb10c
DE
25812013-05-23 Doug Evans <dje@google.com>
2582
2583 * boards/fission-dwp.exp: New file.
2584
bc5065a7
PA
25852013-05-23 Yao Qi <yao@codesourcery.com>
2586 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.base/range-stepping.c: New file.
2589 * gdb.base/range-stepping.exp: New file.
2590 * gdb.trace/range-stepping.c: New file.
2591 * gdb.trace/range-stepping.exp: New file.
2592 * lib/range-stepping-support.exp: New file.
2593
5f2e6b00
TT
25942013-05-22 Tom Tromey <tromey@redhat.com>
2595
2596 * gdb.cp/class2.cc (main): New local 'aref'.
2597 * gdb.cp/class2.exp: Check printing of 'aref'.
2598
e6ba475a
DE
25992013-05-22 Doug Evans <dje@google.com>
2600
2601 * gdb.threads/wp-replication.c (main): Insert some code at the start
2602 to ensure the breakpoint on main is only hit once. Fix comment.
2603
52c935b6
KS
26042013-05-21 Keith Seitz <keiths@redhat.com>
2605 Pedro Alves <palves@redhat.com>
2606
2607 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
2608 gdb_expect.
2609 Add test to flush the remaining input buffer so that this
2610 file passes testsuite/12649.
2611
bd9673a4
PW
26122013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2613
2614 * gdb.base/catch-signal-fork.exp: New file.
2615 * gdb.base/catch-signal-fork.c: New file.
2616
69a97597
SA
26172013-05-21 Sterling Augustine <saugustine@google.com>
2618
2619 * boards/remote-stdio-gdbserver.exp: New file.
2620
44e97363
JK
26212013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2622
2623 PR testsuite/12649
2624 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
2625 racy matches.
2626
02392865
CG
26272013-05-21 Christian Groessler <chris@groessler.org>
2628
2629 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
2630 since it's not supported in all shells.
2631
c5867ab6
HZ
26322013-05-21 Hui Zhu <hui@codesourcery.com>
2633
2634 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
2635 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
2636
6c9e2db4
DE
26372013-05-20 Doug Evans <dje@google.com>
2638
2639 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
2640 (_handle_DW_TAG): Use it.
2641 (cu, tu): Replace parameters is_64, version, addr_size with options.
2642 All callers updated. Add Fission support.
2643 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
2644 * gdb.dwarf2/method-ptr.exp: Ditto.
2645 * gdb.dwarf2/nostaticblock.exp: Ditto.
2646 * gdb.dwarf2/subrange.exp: Ditto.
2647 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
2648
4a6e676c
TT
26492013-05-20 Tom Tromey <tromey@redhat.com>
2650
2651 * gdb.gdb/python-selftest.exp: New file.
2652
e19d3afb
DE
26532013-05-20 Doug Evans <dje@google.com>
2654
2655 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
2656 -fdebug-types-section.
2657
4d804846
JB
26582013-05-20 Joel Brobecker <brobecker@adacore.com>
2659
2660 * gdb.ada/float_param: New testcase.
2661
8d324e83
DE
26622013-05-17 Doug Evans <dje@google.com>
2663
7d0c9981
DE
2664 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
2665 Add tests for "maint check-symtabs", "maint expand-symtabs".
2666
8d324e83
DE
2667 * gdb.base/maint.exp: Remove testing of individual maint command
2668 help output.
2669
177aadc4
PA
26702013-05-16 Pedro Alves <palves@redhat.com>
2671
2672 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
2673 comment. Use gdb_test_no_output.
2674
b8fea896
JB
26752013-05-16 Joel Brobecker <brobecker@adacore.com>
2676
2677 * gdb.ada/complete.exp: Add test verifying completion using
2678 the "tab" key.
2679
52c935b6
KS
26802013-05-15 Keith Seitz <keiths@redhat.com>
2681
2682 * gdb.base/filesym.exp: New completer test.
2683 * gdb.base/filesym.c: New file.
2684
ed0f00b8
PA
26852013-05-15 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.base/fixsection.c: Remove attribution.
2688 * gdb.base/watch-read.exp: Ditto.
2689
55fb6d27
TT
26902013-05-13 Tom Tromey <tromey@redhat.com>
2691
2692 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
2693 size and change type sizes to 4 bytes.
2694
ac1ca910
TT
26952013-05-13 Tom Tromey <tromey@redhat.com>
2696
2697 * gdb.base/exprs.exp (test_expr): Add regression test.
2698 * gdb.base/exprs.c (null_t_struct): New global.
2699
8414efef
MB
27002013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
2701
2702 * gdb.base/default.exp: Disable history saving.
2703 * gdb.base/setshow.exp: Likewise.
2704
9779ab84
PA
27052013-05-10 Pedro Alves <palves@redhat.com>
2706
2707 PR remote/15455
2708
2709 * gdb.trace/qtro.c: New file.
2710 * gdb.trace/qtro.exp: New file.
2711
1e611234
PM
27122013-05-10 Phil Muldoon <pmuldoon@redhat.com>
2713
2714 * gdb.python/py-framefilter.py: New File.
2715 * gdb.python/py-framefilter-mi.exp: Ditto.
2716 * gdb.python/py-framefilter.c: Ditto.
2717 * gdb.python/py-framefilter-mi.exp: Ditto.
2718 * gdb.python/py-framefilter-mi.c: Ditto,
2719 * gdb.python/py-framefilter-gdb.py.in: Ditto.
2720
5e4c3ac4
TT
27212013-05-08 Tom Tromey <tromey@redhat.com>
2722
2723 * gdb.base/solib-search.exp: Set test name for "set
2724 solib-search-path" test.
2725
993654a9
HAQ
27262013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
2727
2728 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
2729 (set_a_tracepoint): Set tracepoint before prologue.
2730 (run_trace_experiment): Test setup_tracepoints and 'break end'
2731 in it.
2732 (trace_buffer_normal): Remove.
2733 (gdb_trace_circular_tests): Remove. Move tests to...
2734 (top level): ...here. Call 'runto_main' before checking for
2735 trace support. Use commands to check the support for circular
2736 trace buffer and changing of trace buffer size. Add test
2737 to calculate size of single frame. Use this size to
2738 calculate the size of trace buffer. Use 'tfind pc func9'
2739 instead of 'tfind 9'. Use 'with_test_prefix'.
2740
c95aea6b
TT
27412013-05-07 Tom Tromey <tromey@redhat.com>
2742
2743 * lib/selftest-support.exp: New file.
2744 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
2745 do_self_tests.
2746 (setup_test, find_gdb): Remove.
2747 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
2748 do_self_tests.
2749 (setup_test, find_gdb): Remove.
2750 (test_observer): Don't call setup_test. Remove argument.
2751 * gdb.gdb/selftest.exp: Load selftest-support.exp.
2752 (find_gdb): Remove.
2753 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
2754 do_self_tests.
2755 (setup_test, find_gdb): Remove.
2756 (test_with_self): Don't call setup_test. Remove argument.
2757
1f031429
PA
27582013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2759
2760 * gdb.arch/system-gcore.exp: Remove.
2761 * gdb.arch/gcore.c: Remove.
2762 * gdb.base/gcore.exp: Add "info reg system".
2763
58ce7251
SDJ
27642013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
2765
2766 PR breakpoints/15413:
2767 * gdb.base/pending.exp: Add test for completion of the "condition"
2768 command for pending breakpoints.
2769 * gdb.linespec/linespec.ex: Add test for completion of the
2770 "condition" command when dealing with multiple locations.
2771
aacbb8a5
LM
27722013-05-07 Luis Machado <lgustavo@codesourcery.com>
2773
2774 * gdb.threads/wp-replication.c: New file.
2775 * gdb.threads/wp-replication.exp: New file.
2776
2dd6254d
SL
27772013-05-06 Sandra Loosemore <sandra@codesourcery.com>
2778
2779 * gdb.xml/tdesc-regs.exp: Add case for nios2.
2780
c2a96e8c
DE
27812013-05-06 Doug Evans <dje@google.com>
2782
b903e17e
DE
2783 * gdb.base/solib-search-lib1.c: New file.
2784 * gdb.base/solib-search-lib2.c: New file.
2785 * gdb.base/solib-search.c: New file.
2786 * gdb.base/solib-search.h: New file.
2787 * gdb.base/solib-search.exp: New file.
2788
fac51dd9
DE
2789 * lib/gdb.exp (gdb_core_cmd): New function.
2790 * gdb.arch/system-gcore.exp: Use it.
2791 * gdb.arch/vsx-regs.exp: Ditto.
2792 * gdb.base/gcore.exp: Ditto.
2793 * gdb.threads/gcore-thread.exp: Ditto.
2794
c2a96e8c
DE
2795 * gdb.reverse/shr.h: New file.
2796 * gdb.reverse/shr1.c: New file.
2797 * gdb.reverse/shr2.c: #include "shr.h".
2798 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
2799 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
2800 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
2801 Update tests using sleep/printf to use shr2.sl instead.
2802 * gdb.reverse/solib-reverse.exp: Ditto.
2803
b6807d98
TT
28042013-05-06 Tom Tromey <tromey@redhat.com>
2805
2806 * gdb.dwarf2/implptrconst.c: New file.
2807 * gdb.dwarf2/implptrconst.exp: New file.
2808 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
2809 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
2810 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
2811
96f7d3f1
PW
28122013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2813
2814 * gdb.base/catch-sig.c (main): Raise SIGINT.
2815 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
2816
1ebff1fd
HAQ
28172013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
2818
2819 * status-stop.exp (test_tstart_tstart): Check for error
2820 returned by the second 'tstart' command.
2821
f92b06da
WT
28222013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2823
2824 * gdb.xml/maint_print_struct.exp: New file.
2825 * gdb.xml/maint_print_struct.xml: New file.
2826
ff546935
TT
28272013-04-25 Tom Tromey <tromey@redhat.com>
2828
2829 * gdb.dwarf2/nostaticblock.exp: New file.
2830
bf9e4d0c
MB
28312013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
2832
2833 PR gdb/10462
2834 * gdb.base/setshow.exp: Add test case.
2835
a11cfd87
HZ
28362013-04-23 Hui Zhu <hui@codesourcery.com>
2837
2838 PR gdb/15293
a11cfd87
HZ
2839 * gdb.base/dprintf.exp: Add ignore command.
2840
2d9442cc
HZ
28412013-04-23 Hui Zhu <hui@codesourcery.com>
2842
2843 PR gdb/15165
2d9442cc
HZ
2844 * gdb.base/save-bp.exp: Add test for dprintf.
2845
0f3305ed
TT
28462013-04-22 Tom Tromey <tromey@redhat.com>
2847
2848 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
2849 notice_open_fds.
2850
d504301e
SDJ
28512013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2852
2853 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
2854 ldflags.
2855
9991b207
SDJ
28562013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2857
2858 * gdb.arch/arm-bl-branch-dest.c: New file.
2859 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
2860
433730c9
PA
28612013-04-19 Vladimir Kargov <kargov@gmail.com>
2862 Pedro Alves <palves@redhat.com>
2863
2864 * gdb.arch/i386-float.S: New file.
2865 * gdb.arch/i386-float.exp: New file.
2866
9a908334
LM
28672013-04-18 Luis Machado <lgustavo@codesourcery.com>
2868
2869 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
2870 type void *.
2871
4f22ed5c
DE
28722013-04-17 Doug Evans <dje@google.com>
2873
2874 * lib/dwarf.exp (Dwarf): New proc "tu".
2875 * gdb.dwarf2/missing-sig-type.exp: New file.
2876
a0d3f2f5
SCR
28772013-04-15 Siva Chandra Reddy <sivachandra@google.com>
2878
2879 Add option to link testcases with Pthreads library when
2880 using 'prepare_for_testing' in tests.
2881
2882 * lib/gdb.exp (build_executable_from_specs): Use
2883 gdb_compile_pthreads to compile if option "pthreads" is
2884 specified.
2885
cc16e6c9
TT
28862013-04-15 Tom Tromey <tromey@redhat.com>
2887
2888 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
2889
72f1fe8a
TT
28902013-04-15 Tom Tromey <tromey@redhat.com>
2891
2892 * gdb.base/default.exp: Update for $_exception.
2893 * gdb.cp/exceptprint.cc: New file.
2894 * gdb.cp/exceptprint.exp: New file.
2895 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
2896
6e72ca20
TT
28972013-04-15 Tom Tromey <tromey@redhat.com>
2898
2899 * gdb.cp/typeid.cc: New file.
2900 * gdb.cp/typeid.exp: New file.
2901
591f19e8
TT
29022013-04-15 Tom Tromey <tromey@redhat.com>
2903
2904 * gdb.cp/exception.exp: Add "catch rethrow" tests.
2905
da9160e4
YQ
29062013-04-13 Yao Qi <yao@codesourcery.com>
2907
2908 * gdb.base/completion.exp: Test completion of command
2909 'target ctf' if target ctf is supported.
2910
f81d1120
PA
29112013-04-10 Pedro Alves <palves@redhat.com>
2912
2913 * gdb.base/completion.exp: Test "set height", "set listsize" and
2914 "set trace-buffer-size" completion.
2915 * gdb.base/setshow.exp: Test "set height unlimited".
2916 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
2917 unlimited".
2918
393fd4c3
YQ
29192013-04-10 Yao Qi <yao@codesourcery.com>
2920
2921 * gdb.trace/actions.exp: Save trace data to CTF.
2922 Change to ctf target if GDB supports, read CTF data in ctf
2923 target, and check the actions of tracepoints.
2924 * gdb.trace/while-stepping.exp: Likewise.
2925 * gdb.trace/report.exp: Test GDB saves trace data to CTF
2926 format and read CTF trace file if GDB supports.
2927 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
2928 target is supported, change to ctf target, read trace data and
2929 check output of command "tstatus".
2930 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
2931 read CTF data by target ctf and call check_tsv.
2932
b7a273f8
YQ
29332013-04-10 Yao Qi <yao@codesourcery.com>
2934
2935 * gdb.trace/actions.exp (check_tracepoint): New.
2936 (top level): Start the tracing and check the actions of
2937 tracepoints. Save trace data to tfile format. Restart GDB
2938 and read trace file in tfile target. Check the actions of
2939 tracepoints again.
2940 * gdb.trace/while-stepping.exp: Likewise.
2941
f3786771
YQ
29422013-04-10 Yao Qi <yao@codesourcery.com>
2943
2944 * gdb.trace/report.exp: Use standard_output_file for saved
2945 trace file.
2946
5c2b4418
HZ
29472013-04-10 Hui Zhu <hui@codesourcery.com>
2948
2949 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
2950 (MISCELLANEOUS): Add dprintf-pendshr.sl.
2951 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
2952
f7543f0a
JK
29532013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2954
2955 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
2956 response.
2957
f6de8ec2
PA
29582013-04-08 Pedro Alves <palves@redhat.com>
2959
2960 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
2961 the location.
2962
b8abfd58
SL
29632013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2964
2965 * gdb.cp/cplabel.exp: Allow empty directory in file reported
2966 for breakpoint location.
2967
156bffd0
SL
29682013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2969
2970 * gdb.linespec/linespec.exp: Make dir/file:line tests
2971 conditional for non-remote hosts only.
2972
c9a6ce02
PA
29732013-04-04 Stan Shebs <stan@codesourcery.com>
2974 Pedro Alves <palves@redhat.com>
2975
2976 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
2977 * gdb.trace/actions-changed.c: New file.
2978 * gdb.trace/actions-changed.exp: New file.
2979 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
2980 (gdb_trace_setactions_command): ... this. Add "actions_command"
2981 parameter, and handle it.
2982 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
2983
4bd05f24
YQ
29842013-04-04 Yao Qi <yao@codesourcery.com>
2985
2986 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
2987 'step'.
2988
3758b5ce
YQ
29892013-04-03 Yao Qi <yao@codesourcery.com>
2990
2991 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
2992 "tfile-basic.tf".
2993 (test_tfind_tfile): Likewise.
2994
1dcaed0d
YQ
29952013-04-03 Yao Qi <yao@codesourcery.com>
2996
2997 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
2998 "tfile-basic.tf" instead of "basic.tf".
2999 (write_error_trace_file): Pass argument "tfile-error.tf"
3000 instead of "error.tf".
3001 * gdb.trace/tfile.exp: Update tfile names to
3002 "tfile-basic.tf" and "tfile-error.tf".
3003
0e7a53fc
SL
30042013-04-02 Sandra Loosemore <sandra@codesourcery.com>
3005
3006 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
3007 empty directory in file for breakpoint hit.
3008
9852c492
YQ
30092013-03-29 Yao Qi <yao@codesourcery.com>
3010
3011 * gdb.base/completion.exp: Test completion of commands
3012 "target core", "target tfile" and "target exec".
3013 * gdb.trace/tfile.exp: Test completion of command
3014 "target tfile".
3015
af312be7
JB
30162013-03-28 Joel Brobecker <brobecker@adacore.com>
3017
3018 * gdb.ada/win_fu_syms: New testcase.
3019
e4a48d9d
DE
30202013-03-28 Doug Evans <dje@google.com>
3021
3022 * gdb.base/maint.exp (maint print statistics): Update expected output.
3023
7f7cc265
PA
30242013-03-28 Pedro Alves <palves@redhat.com>
3025
3026 PR gdb/15294
3027
3028 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
3029 mean unlimited instead of $arg < 0.
3030 (test_listsize): Remove "listsize of 0 suppresses output" test.
3031 Test that "set listsize 0" ends up with an unlimited listsize.
3032
fc0da894
PA
30332013-03-28 Pedro Alves <palves@redhat.com>
3034
3035 * gdb.base/list.exp (last_line): New global.
3036 (last_line_re): New global.
3037 (test_listsize, test_list_function, test_list_forward)
3038 (test_repeat_list_command, test_list_range)
3039 (test_list_filename_and_function): Use them.
3040 * gdb.base/list0.c: Comment the last line of the file with "last
3041 line".
3042
abe7b711
PA
30432013-03-28 Pedro Alves <palves@redhat.com>
3044
3045 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
3046 list the whole file.
3047
15b3979c
PA
30482013-03-28 Pedro Alves <palves@redhat.com>
3049
3050 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
3051 "set listsize".
3052
96811e3b
KS
30532013-03-26 Keith Seitz <keiths@redhat.com>
3054
3055 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
3056 from passing.
3057
4043f22b
PA
30582013-03-26 Pedro Alves <palves@redhat.com>
3059
3060 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
3061 until after GDB has run.
3062
14a1aa17
YQ
30632013-03-26 Yao Qi <yao@codesourcery.com>
3064
3065 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
3066 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
3067
99c819ee
MM
30682013-03-26 Markus Metzger <markus.t.metzger@intel.com>
3069
3070 * gdb.btrace/enable.exp: Add regression test.
3071
24955f63
TT
30722013-03-25 Tom Tromey <tromey@redhat.com>
3073
3074 * gdb.cp/m-static.exp: Add destructor-printing tests.
3075
fce632b6
TT
30762013-03-25 Tom Tromey <tromey@redhat.com>
3077
3078 * gdb.cp/m-static.exp: Add constructor ptype tests.
3079 * gdb.cp/m-static.cc (single_constructor): New class.
3080 (main): Make instance of single_constructor.
3081
598d3636
JK
30822013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3083 Pedro Alves <palves@redhat.com>
3084
3085 * gdb.server/server-kill.c: New file.
3086 * gdb.server/server-kill.exp: New file.
3087
c12440c9
PA
30882013-03-21 Pedro Alves <palves@redhat.com>
3089
3090 * gdb.trace/trace-buffer-size.exp (get default buffer size):
3091 Expect $gdb_prompt in gdb_test_multiple.
3092
bd712aed
DE
30932013-03-21 Doug Evans <dje@google.com>
3094
3095 * gdb.base/maint.exp: Update tests for per-command stats.
3096
b2f83c08
TT
30972013-03-21 Tom Tromey <tromey@redhat.com>
3098
3099 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
3100 * gdb.cp/misc.exp: Add test for FILENAME:: case.
3101
ef0026f0
PA
31022013-03-20 Pedro Alves <palves@redhat.com>
3103
3104 PR gdb/15289
3105
3106 * gdb.base/remote.exp: Test
3107 "set remote hardware-watchpoint-limit -1",
3108 "set remote hardware-breakpoint-limit -1",
3109 "set remote hardware-watchpoint-limit 2147483647" and
3110 "set remote hardware-breakpoint-limit 2147483647".
3111
3f1175a9
PA
31122013-03-20 Pedro Alves <palves@redhat.com>
3113 Yao Qi <yao@codesourcery.com>
3114
3115 * gdb.trace/tfile.c: Add comments.
3116 (nonconstglob): New global.
3117 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
3118 global that is not covered by the trace frame. Test
3119 disassembling.
3120
a09ae1c1
JK
31212013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3122
3123 * gdb.base/valgrind-infcall.exp
3124 (continue #$continue_count) <remote connection closed>
3125 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
3126 $valgrind_pid.
3127
9ce98649
TT
31282013-03-15 Tom Tromey <tromey@redhat.com>
3129
3130 * gdb.cp/overload.cc (intintfunc): New.
3131 * gdb.cp/overload.exp: Add regression test.
3132
0a251e08
YQ
31332013-03-15 Yao Qi <yao@codesourcery.com>
3134
3135 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
3136 using with_test_prefix.
3137 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
3138 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
3139 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
3140 * gdb.threads/watchpoint-fork.exp (test): Likewise.
3141 * gdb.base/break-interp.exp (test_core): Likewise.
3142 (test_attach_gdb): Likewise.
3143 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3144 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3145 Likewise.
3146 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3147 * gdb.base/jit.exp (one_jit_test): Likewise.
3148 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
3149 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
3150 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
3151 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
3152 Likewise.
3153 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3154 Likewise.
3155 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
3156 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
3157 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
3158 (tracepoint_change_loc_2): Likewise.
3159 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3160 Likewise.
3161 (disconnected_tfind): Likewise.
3162 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
3163 Likewise.
3164 (test_tfind_remote): Likewise.
3165 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
3166 Likewise.
3167 (test_pending_resolved): Likewise.
3168 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
3169 Likewise.
3170 (test_upload_tsv): Likewise.
3171 * gdb.trace/pending.exp (pending_tracepoint_resolved):
3172 Likewise.
3173 (pending_tracepoint_works): Likewise.
3174 * gdb.trace/report.exp (use_collected_data): Likewise.
3175 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
3176 Likewise.
3177 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
3178 * gdb.trace/strace.exp (strace_info_marker): Likewise.
3179 (strace_trace_on_same_addr): Likewise.
3180 (strace_trace_on_diff_addr): Likewise.
3181 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
3182 (gdb_collect_locals_test): Likewise.
3183 (gdb_unavailable_registers_test): Likewise.
3184 (gdb_collect_globals_test): Likewise.
3185
2c415c0f
YQ
31862013-03-15 Yao Qi <yao@codesourcery.com>
3187
3188 * gdb.base/condbreak.exp: Add semicolon back which was removed
3189 by my previous commit.
3190
ae59b1da
YQ
31912013-03-14 Yao Qi <yao@codesourcery.com>
3192
3193 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
3194 'return'.
3195 (gdb_target_monitor, gdb_load): Likewise.
3196 * config/sid.exp (gdb_load): Likewise.
3197 * config/slite.exp (gdb_load): Likewise.
3198 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
3199 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
3200 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
3201 (single_step_until): Likewise.
3202 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3203 * gdb.arch/system-gcore.exp: Likewise.
3204 * gdb.base/bigcore.exp (extract_heap): Likewise.
3205 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
3206 * gdb.base/call-ar-st.exp: Likewise.
3207 * gdb.base/call-rt-st.exp: Likewise.
3208 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
3209 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
3210 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
3211 * gdb.base/corefile.exp: Likewise.
3212 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
3213 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
3214 * gdb.base/fixsection.exp: Likewise.
3215 * gdb.base/funcargs.exp: Likewise.
3216 * gdb.base/gcore-buffer-overflow.exp: Likewise.
3217 * gdb.base/gcore-relro.exp: Likewise.
3218 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
3219 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
3220 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
3221 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
3222 * gdb.base/list.exp: Likewise.
3223 (set_listsize): Likewise.
3224 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
3225 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
3226 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
3227 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
3228 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
3229 * gdb.base/setvar.exp: Likewise.
3230 (test_set): Likewise.
3231 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
3232 * gdb.base/solib-overlap.exp: Likewise.
3233 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
3234 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
3235 * gdb.base/watchpoint.exp (initialize): Likewise.
3236 (test_simple_watchpoint): Likewise.
3237 (test_disabling_watchpoints): Likewise.
3238 (test_watchpoint_triggered_in_syscall): Likewise.
3239 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
3240 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
3241 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
3242 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
3243 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
3244 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
3245 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3246 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3247 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
3248 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
3249 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3250 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
3251 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
3252 * gdb.mi/gdb792.exp: Likewise.
3253 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
3254 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
3255 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
3256 * gdb.threads/gcore-thread.exp: Likewise.
3257 (load_core): Likewise.
3258 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
3259 (test_startup, check_control_c): Likewise.
3260 * gdb.threads/sigstep-threads.exp: Likewise.
3261 * gdb.threads/thread_check.exp: Likewise.
3262 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
3263 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
3264 (set_a_tracepoint, trace_buffer_normal): Likewise.
3265 (gdb_trace_circular_tests): Likewise.
3266 * gdb.trace/collection.exp: Likewise.
3267 * gdb.trace/disconnected-tracing.exp: Likewise.
3268 * gdb.trace/infotrace.exp: Likewise.
3269 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3270 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3271 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
3272 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
3273 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
3274 * gdb.trace/stap-trace.exp: Likewise.
3275 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
3276 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
3277 * gdb.trace/trace-buffer-size.exp: Likewise.
3278 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
3279 * gdb.trace/unavailable.exp: Likewise.
3280 * gdb.trace/while-dyn.exp: Likewise.
3281 * lib/fortran.exp (set_lang_fortran): Likewise.
3282 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
3283 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
3284 (default_gdb_start, get_compiler_info): Likewise.
3285 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
3286 (get_debug_format, setup_xfail_format): Likewise.
3287 (rerun_to_main, gdb_skip_float_test): Likewise.
3288 (build_id_debug_filename_get, get_remotetimeout): Likewise.
3289 * lib/java.exp (set_lang_java): Likewise.
3290 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
3291 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
3292 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
3293 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
3294 * lib/objc.exp (set_lang_objc): Likewise.
3295 * lib/pascal.exp (set_lang_pascal): Likewise.
3296 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
3297 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
3298 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
3299
bb869963
SDJ
33002013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
3301
3302 PR c++/15203
3303 PR c++/15210
3304 * gdb.cp/m-static.cc (keepalive_int): New function.
3305 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
3306 * gdb.cp/m-static.exp: New test for `sintvar'.
3307
e2be70a0
YQ
33082013-03-14 Yao Qi <yao@codesourcery.com>
3309
3310 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
3311 of 'tstatus' into tstatus_output.
3312 (top level): Save the trace data to tfile. Read trace file in
3313 tfile target. Check the trace status.
3314
8ddb1965
YQ
33152013-03-13 Yao Qi <yao@codesourcery.com>
3316
3317 * gdb.trace/tsv.exp (check_tsv): New.
3318 (top level): Save a tfile on current trace session. Call
3319 check_tsv on live target. Load the tfile with target tfile
3320 and call check_tsv again.
3321
045dd51f
YQ
33222013-03-13 Yao Qi <yao@codesourcery.com>
3323
3324 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
3325 Replace some "gdb_test" with "gdb_test_no_output".
3326
82d049ab
PH
33272013-03-12 Paul Hilfinger <hilfingr@adacore.com>
3328
3329 * gdb.ada/expr_delims.exp: New file.
3330 * gdb.ada/expr_delims/foo.adb: New file.
3331 * gdb.ada/expr_delims/pck.ads: New file.
3332 * gdb.ada/expr_delims/pck.adb: New file.
3333
cb8ea32b
KS
33342013-03-11 Keith Seitz <keiths@redhat.com>
3335
3336 * watchpoint.exp (test_no_hw_watchpoints): Add test using
3337 both condition and thread. Then delete the watchpoint.
3338
2f1d9bdd
MM
33392013-03-11 Christian Himpel <christian.himpel@intel.com>
3340
3341 * Makefile.in: Add btrace testsuite.
3342 * configure: Regenerated.
3343 * configure.ac: Add btrace testsuite.
3344 * gdb.btrace/Makefile.in: New file.
3345 * gdb.btrace/enable.c: New file.
3346 * gdb.btrace/enable.exp: New file.
3347 * gdb.btrace/function_call_history.c: New file.
3348 * gdb.btrace/function_call_history.exp: New file.
3349 * gdb.btrace/instruction_history.c: New file.
3350 * gdb.btrace/instruction_history.exp: New file.
3351 * gdb.btrace/instruction_history.S: New file.
3352 * lib/gdb.exp: Add btrace skip proc.
3353
05c56a9d
JK
33542013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3355
3356 Fix entry-values if the callee called a noreturn function.
3357 * gdb.arch/amd64-tailcall-noret.S: New file.
3358 * gdb.arch/amd64-tailcall-noret.c: New file.
3359 * gdb.arch/amd64-tailcall-noret.exp: New file.
3360
9112db09
JK
33612013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3362
3363 Fix entry-values in C++ across CUs.
3364 * gdb.arch/amd64-tailcall-cxx.exp: New file.
3365 * gdb.arch/amd64-tailcall-cxx1.S: New file.
3366 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
3367 * gdb.arch/amd64-tailcall-cxx2.S: New file.
3368 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
3369
be9a119c 33702013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
3371 Hafiz Abid Qadeer <abidh@codesourcery.com>
3372
3373 gdb/testsuite/
3374 * gdb.trace/trace-buffer-size.exp: New file.
3375 * gdb.trace/trace-buffer-size.c: New file.
3376
049109b0
PA
33772013-03-06 Pedro Alves <palves@redhat.com>
3378
3379 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
3380 doesn't support the tested optional feature, call "unsupported"
3381 with the same test message as the "pass" case, instead of calling
3382 "pass" with a different message. Use the same text for the "fail"
3383 cases too.
3384
4aa54120
YQ
33852013-03-06 Yao Qi <yao@codesourcery.com>
3386
3387 * gdb.trace/tstatus.exp: Remove the invocation of
3388 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
3389 (test_tracepoints): Don't set fast tracepoint.
3390 (top level): Don't check agent library is loaded or not.
3391
b8b71e63
YQ
33922013-03-06 Yao Qi <yao@codesourcery.com>
3393
3394 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
3395 parentheses by "\\".
3396
33f448b1
JK
33972013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 * gdb.linespec/base/one/thefile.cc (twodup): New.
3400 (m): Call it.
3401 * gdb.linespec/base/two/thefile.cc (dupname): New.
3402 (n): Call it.
3403 * gdb.linespec/break-ask.exp: New file.
3404 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
3405
1c942fb9
YQ
34062013-02-28 Yao Qi <yao@codesourcery.com>
3407
3408 * gdb.trace/report.exp: Move some code to ...
3409 (use_collected_data): New.
3410 (top level): Call use_collected_data once on the live target.
3411 Save at file of the current trace session, load it with target
3412 tfile, and call use_collected_data again.
3413
5b967901
JK
34142013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3415
3416 * gdb.threads/fork-thread-pending.c (main): Add alarm.
3417
6447023f
JK
34182013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3419
3420 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
3421 Add final kill of ${valgrind_pid}.
3422
9f44fbc0
SCR
34232013-02-20 Siva Chandra Reddy <sivachandra@google.com>
3424
3425 * gdb.python/py-arch.c: New test case
3426 * gdb.python/py-arch.exp: New tests to test
3427 gdb.Architecture.disassemble
3428 * gdb.python/Makefile.in: Add py-arch to the list of
3429 EXECUTABLES.
3430
4c9ad8c2
TT
34312013-02-18 Tom Tromey <tromey@redhat.com>
3432
3433 * gdb.dwarf2/subrange.exp: New file.
3434
f5911ea1
HAQ
34352013-02-15 Pedro Alves <pedro@codesourcery.com>
3436 Hafiz Abid Qadeer <abidh@codesourcery.com>
3437
3438 * gdb.trace/tfile.exp: Add test for -trace-status command.
3439
420f4384
JK
34402013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3441
3442 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
3443 nanosleep by sleep.
3444
4819b3f8
PA
34452013-02-14 Pedro Alves <palves@redhat.com>
3446
3447 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
3448
1773c82c
HAQ
34492013-02-14 Pedro Alves <pedro@codesourcery.com>
3450 Hafiz Abid Qadeer <abidh@codesourcery.com>
3451
3452 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
3453
e234dfaf
TT
34542013-02-12 Tom Tromey <tromey@redhat.com>
3455
3456 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
3457 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
3458
6c01dd94
PA
34592013-02-12 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.base/catch-signal.c: Update copyright years.
3462 * gdb.base/catch-signal.exp: Update copyright years.
3463 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
3464 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
3465 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
3466 * gdb.dwarf2/dw2-error.S: Update copyright years.
3467 * gdb.dwarf2/dw2-error.c: Update copyright years.
3468 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
3469 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
3470 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
3471
595fc67f
PA
34722013-02-12 Pedro Alves <palves@redhat.com>
3473
3474 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
3475 message.
3476 * gdb.base/sigaltstack.exp: Ditto.
3477 * gdb.base/siginfo.exp: Ditto.
3478 * gdb.base/sizeof.exp: Ditto.
3479
17282693
PA
34802013-02-12 Pedro Alves <palves@redhat.com>
3481
3482 * gdb.mi/mi-basics.exp: Tweak intro comment.
3483 * gdb.mi/mi-break.exp: Tweak intro comment.
3484 * gdb.mi/mi-console.exp: Tweak intro comment.
3485 * gdb.mi/mi-file.exp: Tweak intro comment.
3486 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
3487 * gdb.mi/mi-return.exp: Tweak intro comment.
3488 * gdb.mi/mi-stepi.exp: Tweak intro comment.
3489 * gdb.mi/mi-until.exp: Tweak intro comment.
3490 * gdb.mi/mi-watch.exp: Tweak intro comment.
3491
8a4ac37e
PA
34922013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3493
3494 * gdb.server/no-thread-db.exp: New file.
3495 * gdb.server/no-thread-db.c: New file.
3496 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
3497
c2792f5a
DE
34982013-02-11 Doug Evans <dje@google.com>
3499
3500 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
3501 two decfloats.
3502
d9e98382
SDJ
35032013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3504
3505 * gdb.base/bitfields.c (struct internalvartest): New declaration.
3506 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
3507
a321661a
JK
35082013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3509
3510 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
3511
134a2066
YQ
35122013-02-06 Yao Qi <yao@codesourcery.com>
3513
3514 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
3515 to ...
3516 (test_create_delete_modify_tsv): ... here. New test on modifying
3517 the initial value of a tsv.
3518
5a2dc60a
JK
35192013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3520
3521 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
3522 (cd .../rdir): ... here.
3523
233d95b5
JK
35242013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3525
3526 * gdb.linespec/base/one/header.h: New file.
3527 * gdb.linespec/base/two/header.h: New file.
3528 * gdb.linespec/macro-relative.c: New file.
3529 * gdb.linespec/macro-relative.exp: New file.
3530
fbd9ab74
JK
35312013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3532
3533 * gdb.base/fullpath-expand-func.c: New file.
3534 * gdb.base/fullpath-expand.c: New file.
3535 * gdb.base/fullpath-expand.exp: New file.
3536 * gdb.base/realname-expand-real.c: New file.
3537 * gdb.base/realname-expand.c: New file.
3538 * gdb.base/realname-expand.exp: New file.
3539
1b56eb55
JK
35402013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3541
3542 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
3543 * gdb.dwarf2/dw2-dir-file-name.c: New file.
3544
af529f8f
JK
35452013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
3548 (compare_filenames_for_search does not match)
3549 (compare_filenames_for_search does match): New tests.
3550
f5b95b50
JK
35512013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3552
3553 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
3554
d47921b9
JK
35552013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3556
3557 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
3558
8a92335b
JK
35592013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
3562 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
3563 ${binfile}.mini_debuginfo-debuglink and
3564 ${binfile}.mini_debuginfo-debuglink.xz.
3565
17f2157d
TT
35662013-02-01 Tom Tromey <tromey@redhat.com>
3567
3568 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
3569 attributes.
3570
d65f0a9c
TT
35712013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3572 Tom Tromey <tromey@redhat.com>
3573
3574 * gdb.dwarf2/method-ptr.exp: Link with c++.
3575 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
3576
f25c0135
TT
35772013-01-31 Tom Tromey <tromey@redhat.com>
3578
3579 * gdb.base/jit.exp (compile_jit_test): New proc.
3580 Add PIE tests.
3581
7078baeb
TT
35822013-01-31 Tom Tromey <tromey@redhat.com>
3583
3584 * gdb.dwarf2/method-ptr.cc: New file.
3585 * gdb.dwarf2/method-ptr.exp: New file.
3586
1d24041a
TT
35872013-01-31 Tom Tromey <tromey@redhat.com>
3588
3589 * lib/dwarf.exp (namespace Dwarf): New.
3590
8d9878a4
TT
35912013-01-29 Tom Tromey <tromey@redhat.com>
3592
3593 * gdb.dwarf2/fission-reread.exp: Add unload test.
3594
bed911e5
DE
35952013-01-28 Doug Evans <dje@google.com>
3596
3597 * gdb.dwarf2/fission-loclists.exp: New file.
3598 * gdb.dwarf2/fission-loclists.S: New file.
3599
e229648e
JK
36002013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3601
3602 Code cleanup.
3603 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
3604 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
3605 and prepare_for_testing.
3606 * gdb.base/store.exp: Likewise.
3607
86700f00
TT
36082013-01-25 Tom Tromey <tromey@redhat.com>
3609
3610 * gdb.python/py-explore.exp: Expect the gdb prompt.
3611
8954db33
AB
36122013-01-25 Andrew Burgess <aburgess@broadcom.com>
3613
3614 * gdb.base/gnu_vector.c: New variable for use in tests.
3615 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
3616 changes in scalar to vector casting and widening.
3617 * gdb.python/py-type.c: New variables for use in tests.
3618 * gdb.python/py-type.exp: Update vector related tests to reflect
3619 changes in scalar to vector casting and widening.
3620
2077afdd
TD
36212013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
3622
3623 * gdb.base/prologue-include.c: New file.
3624 * gdb.base/prologue-include.exp: New file.
3625 * gdb.base/prologue-include.h: New file.
3626
d7499464
HAQ
36272013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
3628
3629 PR gdb/13443
3630 * gdb.mi/mi-var-block.exp: Make test messages unique.
3631
e2a3e0f1
TT
36322013-01-23 Tom Tromey <tromey@redhat.com>
3633
3634 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
3635
152fcc9c
TT
36362013-01-23 Tom Tromey <tromey@redhat.com>
3637
3638 * gdb.cp/converts.cc (main): Initialize 'a'.
3639
bea883fd
SCR
36402013-01-23 Siva Chandra Reddy <sivachandra@google.com>
3641
3642 * testsuite/gdb.python/frame.exp: Add a test for
3643 gdb.Frame.architecture() method.
3644
0928e93d
PA
36452013-01-22 Pedro Alves <palves@redhat.com>
3646
3647 * gdb.base/annota1.exp (signal sent): No longer expect
3648 breakpoints-invalid.
3649 * gdb.cp/annota2.exp (continue until exit)
3650 (watch triggered on a.x): Ditto.
3651
9c97429f
PA
36522013-01-22 Pedro Alves <palves@redhat.com>
3653
3654 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
3655 Adjust tests to breakpoints-invalid changes.
3656 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
3657 variables.
3658 Adjust tests to breakpoints-invalid changes.
3659
187d10dd
PA
36602013-01-22 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.base/annota1.exp (annotate ignore count change): Add
3663 expected output for failure case.
3664
ea3aedcb
TT
36652013-01-22 Tom Tromey <tromey@redhat.com>
3666
3667 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
3668 call.
3669
998580f1
MK
36702013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
3671
3672 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 3673 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
3674 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
3675 Also handle 'thread' field.
3676 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
3677 * gdb.mi/mi-watch.exp: Ditto.
3678 * lib/mi-support.exp: Ditto.
3679
8f1d5693
MK
36802013-01-21 Siva Chandra Reddy <sivachandra@google.com>
3681
3682 * gdb.python/py-explore.exp: Improve a test
3683
2d8c5d7c
DB
36842013-01-18  David Blaikie  <dblaikie@gmail.com>
3685
3686 * gdb.base/label.c (main): Correct the type of the second
3687 parameter.
3688
46f35228
TT
36892013-01-18 Tom Tromey <tromey@redhat.com>
3690
3691 * gdb.dwarf2/trace-crash.s: New file.
3692 * gdb.dwarf2/trace-crash.exp: New file.
3693
5965d69d
HAQ
36942013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
3695
43aaf8b6
PA
3696 PR gdb/13443
3697 * gdb.base/checkpoint.exp: Update test messages to make them
3698 unique.
5965d69d 3699
5ae4861a
YQ
37002013-01-18 Yao Qi <yao@codesourcery.com>
3701
3702 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
3703 output of 'info tracepoints'.
3704 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3705 Likewise.
3706 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3707 * gdb.trace/disconnected-tracing.c (struct foo): New.
3708
d84fca2c
JK
37092013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3710
3711 * gdb.dwarf2/dw2-dos-drive.S: New file.
3712 * gdb.dwarf2/dw2-dos-drive.exp: New file.
3713
aebb1cc9
DE
37142013-01-17 Doug Evans <dje@google.com>
3715
2782d512
DE
3716 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
3717 CXX_FOR_TARGET.
3718
aebb1cc9
DE
3719 * boards/cc-with-tweaks.exp: New file.
3720
db2b2972
TT
37212013-01-17 Tom Tromey <tromey@redhat.com>
3722
3723 * gdb.base/completion.exp: Add "set cp-abi" completion test.
3724
96343774
PA
37252013-01-17 Pedro Alves <palves@redhat.com>
3726
3727 Merge dg-extract-results.sh from upstream (svn 195224).
3728
3729 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3730 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
3731
3732 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3733 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
3734
3735 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3736 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
3737
3738 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3739 * dg-extract-results.sh: Redirect grep output to /dev/null instead
3740 of grep -q.
3741
675921c0
SD
37422012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3743
3744 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
3745 interface.
3746 * gdb.base/jithost.c: New file.
3747 * gdb.base/jithost.h: New file.
3748 * gdb.base/jitreader.c : New file.
3749 * gdb.base/jit-protocol.h: New file.
3750
ab04a2af
TT
37512013-01-16 Tom Tromey <tromey@redhat.com>
3752
3753 * gdb.base/catch-signal.c: New file.
3754 * gdb.base/catch-signal.exp: New file.
3755
8ac3646f
TT
37562013-01-16 Tom Tromey <tromey@redhat.com>
3757
3758 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
3759
22fc223e
JK
37602013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3761
3762 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
3763
44478ab3
TT
37642013-01-14 Tom Tromey <tromey@redhat.com>
3765
3766 * gdb.base/completion.exp: Add "set gnutarget" test.
3767
06d66ee9
TT
37682013-01-14 Tom Tromey <tromey@redhat.com>
3769
3770 * gdb.dwarf2/dw2-restrict.S: New file.
3771 * gdb.dwarf2/dw2-restrict.c: New file.
3772 * gdb.dwarf2/dw2-restrict.exp: New file.
3773
c9bf0622
TT
37742013-01-14 Tom Tromey <tromey@redhat.com>
3775
3776 * gdb.dwarf2/dw2-error.exp: New file.
3777 * gdb.dwarf2/dw2-error.c: New file.
3778 * gdb.dwarf2/dw2-error.S: New file.
3779
5b12a61c
JK
37802013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3781
3782 * gdb.cp/parse-lang.cc: New file.
3783 * gdb.cp/parse-lang.exp: New file.
3784
f0a4b570
JK
37852013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
3788 (set substitute-path): New test.
3789 (fullname present): Remove content.
3790 (substituted fullname): New test.
3791
f751cc97
JB
37922013-01-13 Joel Brobecker <brobecker@adacore.com>
3793
3794 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
3795 check. Move $gdb_py_is_py24 value check right after.
3796
04164e8e
JK
37972013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3798
3799 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
3800 targets.
3801
5bf480a5
YQ
38022013-01-11 Yao Qi <yao@codesourcery.com>
3803
3804 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
3805 for dprintf.
3806 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3807 Check the fields in "=breakpoint-created" for dprintf.
3808
f35a17b5
JK
38092012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3810
3811 * gdb.mi/mi-fullname-deleted.exp: New file.
3812
85817405
JK
38132012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3814
3815 * gdb.base/skip-solib.exp (info skip with pending file): Update the
3816 expected output.
3817 (info skip with pending file): Remove.
3818 (ignoring function in solib, info skip for function multiply): Update
3819 the expected output.
3820 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
3821 (info skip (delete 1), info skip after disabling all)
3822 (info skip after enabling all, info skip after disabling 4 2-3)
3823 (info skip after enabling 2-3, info skip 2-3)
3824 (info skip after deleting 2 3): Update the expected output.
3825 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
3826 statement to its initialization and return.
3827 * gdb.linespec/skip-two.exp: New file.
3828
27210e12
DE
38292012-12-19 Doug Evans <dje@google.com>
3830
3831 * gdb.base/maint.exp: Handle testing with .gdb_index.
3832
bb627a12
JB
38332012-12-19 Joel Brobecker <brobecker@adacore.com>
3834
3835 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
3836 Cavium to FSF.
3837
7785b880
JB
38382012-12-19 Joel Brobecker <brobecker@adacore.com>
3839
3840 * dg-extract-results.sh: Update contact info in copyright notice.
3841 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
3842 GPL v3 or later. Update contact info.
3843 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
3844 gdb.threads/watchpoint-fork-mt.c,
3845 gdb.threads/watchpoint-fork-parent.c,
3846 gdb.threads/watchpoint-fork-st.c,
3847 gdb.threads/watchpoint-fork.h: Likewise.
3848
f2a8bc8a
YQ
38492012-12-15 Yao Qi <yao@codesourcery.com>
3850
3851 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
3852 'installed' field in '=breakpoint-modified'.
3853 (test_reconnect): Check 'installed' field in
3854 '=breakpoint-modified' and '=breakpoint-created'.
3855
3856 * gdb.trace/actions.exp: Update test for 'installed' field.
3857 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
3858 (tracepoint_change_loc_2): Likewise.
3859 Check 'info tracepoint' display nothing else.
3860 * gdb.trace/deltrace.exp: Likewise.
3861 * gdb.trace/infotrace.exp: Likewise.
3862 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
3863 Likewise.
3864 * gdb.trace/passcount.exp: Likewise.
3865 * gdb.trace/tracecmd.exp: Likewise.
3866 * gdb.trace/while-stepping.exp: Likewise.
3867
6592e36f
TT
38682012-12-14 Tom Tromey <tromey@redhat.com>
3869
3870 * gdb.cp/member-name.exp: New file.
3871 * gdb.cp/member-name.cc: New file.
3872
7d27a96d
TT
38732012-12-14 Tom Tromey <tromey@redhat.com>
3874
3875 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
3876
f8c05d0d
DE
38772012-12-14 Doug Evans <dje@google.com>
3878
3879 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
3880 DW_OP_GNU_implicit_pointer is section-relative.
3881
451b7c33
TT
38822012-12-14 Tom Tromey <tromey@redhat.com>
3883
43aaf8b6 3884 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 3885
10e339df
PA
38862012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
3887
6fdff2c5 3888 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 3889
e780d813
DE
38902012-12-13 Doug Evans <dje@google.com>
3891
3892 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
3893 * gdb.multi/multi-arch.exp: Ditto.
3894
ca3dbcc8 38952012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 3896
ca3dbcc8
MG
3897 * gdb.mi/mi-catch-load-so.c: New. Clone of the
3898 catch load test library source file.
3899 * gdb.mi/mi-catch-load.c: New. Clone of the catch
3900 load test source file.
3901 * gdb.mi/mi-catch-load.exp: New. Test file for
3902 basic MI -catch-load and -catch-unload tests.
3903
2960a434
PK
39042012-12-11 Paul Koning <paul_koning@dell.com>
3905
3906 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
3907 exception.
3908 (_iterator_except): New function.
3909 (ArrayPrinter): Use _iterator function instead of local _iterator
3910 class for Python 3 compatibility.
3911 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 3912 _iterator.
2960a434
PK
3913 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
3914 execfile for Python 3 compatibility.
3915 * gdb.python/python.exp: Handle Python 2.4 exception traceback
3916 format in error_prompt test.
6fdff2c5 3917
9325cb04
PK
39182012-12-10 Paul Koning <paul_koning@dell.com>
3919
3920 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 3921 compatibility.
9325cb04
PK
3922 * gdb.python/py-block.exp: Ditto.
3923 * gdb.python/py-breakpoint.exp: Ditto.
3924 * gdb.python/py-cmd.exp: Ditto.
3925 * gdb.python/py-events.py: Ditto.
3926 * gdb.python/py-finish-breakpoint.py: Ditto.
3927 * gdb.python/py-finish-breakpoint2.exp: Ditto.
3928 * gdb.python/py-finish-breakpoint2.py: Ditto.
3929 * gdb.python/py-frame-inline.exp: Ditto.
3930 * gdb.python/py-frame.exp: Ditto.
3931 * gdb.python/py-infthread.exp: Ditto.
3932 * gdb.python/py-objfile.exp: Ditto.
3933 * gdb.python/py-parameter.exp: Ditto.
3934 * gdb.python/py-progspace.exp: Ditto.
3935 * gdb.python/py-prompt.exp: Ditto.
3936 * gdb.python/py-symbol.exp: Ditto.
3937 * gdb.python/py-symtab.exp: Ditto.
3938 * gdb.python/py-template.exp: Ditto.
3939 * gdb.python/py-value-cc.exp: Ditto.
3940 * gdb.python/python.exp: Ditto.
3941 * gdb.python/source2.py: Ditto.
3942 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 3943 compatibility.
9325cb04
PK
3944 Use sorted() function rather than sort() method.
3945 Accept either int or long values for enum values.
3946 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
3947 execfile for Python 3 compatibility.
3948 * gdb.python/py-evsignal.exp: Ditto.
3949 * gdb.python/py-evthreads.exp: Ditto.
3950 * gdb.python/py-mi.exp: Ditto.
3951 * gdb.python/py-pp-maint.exp: Ditto.
3952 * gdb.python/py-prettyprint.exp: Ditto.
3953 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 3954 Python 3 compatibility.
9325cb04
PK
3955 Skip tests for Python 2.4.
3956 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 3957 Python 3 compatibility.
9325cb04
PK
3958 Use byte string rather than character string in memory write test
3959 if Python 3.
3960 * gdb.python/py-pp-maint.py: Change class declarations to "new
3961 class" syntax.
3962 * gdb.python/py-prettyprint.py: Change iterator class to generator
3963 function for Python 3 compatibility.
3964 Make all classes "new style".
3965 Fix indentation issue and stray semicolon.
3966 * gdb.python/py-shared.expChange print syntax for Python 3
3967 compatibility.
3968 Define "long" if Python 3.
3969 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 3970 compatibility.
9325cb04
PK
3971 Accept either int or long values for enum values.
3972 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 3973 compatibility.
9325cb04
PK
3974 Skip "long" and "unicode" tests if Python 3.
3975 Accept either "type" or "class" in type checks.
3976 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
3977 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
3978
8b9737bf
TT
39792012-12-10 Tom Tromey <tromey@redhat.com>
3980
3981 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
3982 (test): Add "two_cu" argument.
3983 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
3984 for types; allow two CUs.
3985
1b80a9fa
JK
39862012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
3989 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
3990
f0b6d50a
YQ
39912012-12-08 Yao Qi <yao@codesourcery.com>
3992 Pedro Alves <palves@redhat.com>
3993
3994 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
3995 '=breakpoint-created' when GDB merges the tracepoints of both
3996 sides.
3997
2f68a895
TT
39982012-12-07 Tom Tromey <tromey@redhat.com>
3999
4000 * gdb.base/break1.c (enum some_enum, union some_union): New.
4001 (some_enum_global, some_union_global, some_value): New globals.
4002 * gdb.base/completion.exp: Add tag completion tests.
4003
4fc5d43e
TT
40042012-12-07 Tom Tromey <tromey@redhat.com>
4005
4006 * gdb.base/completion.exp: Add tests for ptype and whatis
4007 completion.
4008
6559e013
JB
40092012-12-07 Joel Brobecker <brobecker@adacore.com>
4010
4011 * gdb.base/stale-infcall.exp: Fix copyright line.
4012
ae2b630d
JB
40132012-12-07 Joel Brobecker <brobecker@adacore.com>
4014
4015 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
4016
0ba2eb0f
TT
40172012-12-06 Pedro Alves <palves@redhat.com>
4018 Tom Tromey <tromey@redhat.com>
4019
4020 * gdb.base/exprs.exp: Add tests for cast to void.
4021
731145cb
TT
40222012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
4023
4024 * gdb.python/py-mi.exp: Correct expected results for attribute
4025 "dynamic" returned by -var-update.
4026 Add test case for correct handling of "diplayhint" for children
4027 of dynamic varobjs.
4028 * gdb.python/py-prettyprint.c (set_itme): New function.
4029 (bug_14741) New function.
4030 (main) Add call to bug_14741().
4031 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
4032
e58fcc15
UW
40332012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
4034
4035 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
4036 ${binfile}.funcsyms list.
4037
e9eb0d14
YQ
40382012-12-04 Yao Qi <yao@codesourcery.com>
4039
4040 PR gdb/13443
4041 * gdb.trace/actions.exp: Make test messages unique.
4042
4983028c
TT
40432012-11-29 Tom Tromey <tromey@redhat.com>
4044
4045 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
4046
ea5e6b0e
UW
40472012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
4048
4049 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
4050 * gdb.opencl/datatypes.exp: Likewise.
4051 * gdb.opencl/operators.exp: Likewise.
4052 * gdb.opencl/vec_comps.exp: Likewise.
4053
cdde3dfb
JG
40542012-11-29 Jerome Guitton <guitton@adacore.com>
4055
4056 * gdb.ada/iwide: New testcase.
4057
b50d69b5
JG
40582012-11-29 Jerome Guitton <guitton@adacore.com>
4059
4060 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
4061 ptype test.
4062
c2d3fccf
JG
40632012-11-29 Jerome Guitton <guitton@adacore.com>
4064
4065 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
4066 form {VARIANT_TYPE}ADDRESS.
4067
5edf51fe
YQ
40682012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
4069
4070 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
4071 (func): New function.
4072 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
4073 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
4074 pointers to members with pointer-to-function type.
4075
608e2dbb
TT
40762012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4077 Tom Tromey <tromey@redhat.com>
4078
4079 * gdb.base/gnu-debugdata.exp: New file.
4080 * gdb.base/gnu-debugdata.c: New file.
4081 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
4082 (gdb_unload): Return 0 on success.
4083
4648e588
JK
40842012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4085
4086 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
4087
17d6efc4
JB
40882012-11-26 Joel Brobecker <brobecker@adacore.com>
4089
4090 * gdb.base/empty_exe.exp: New testcase.
4091
ace21957
MF
40922012-11-20 Mike Frysinger <vapier@gentoo.org>
4093
4094 * gdb.base/completion.exp: Add test for help aliases completion.
4095
5c401a0a
YQ
40962012-11-20 Yao Qi <yao@codesourcery.com>
4097
4098 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
4099 Don't test 'maint set show-debug-regs'.
4100 Use command 'set remotecache' instead of
4101 'set circular-trace-buffer'.
4102
8dea366b
KS
41032012-11-16 Keith Seitz <keiths@redhat.com>
4104
4105 PR c++/13615
4106 * gdb.cp/baseenum.cc: New file.
4107 * gdb.cp/baseenum.exp: New file.
4108 * gdb.cp/derivation.cc (A): Add copyright.
4109 Add a typedef.
4110 (B): Use A::value_type instead of int. Change all references.
4111 (D): Use value_type instead of int. Change all references.
4112 (E): Likewise.
4113 (F); Likewise.
4114 (Z): New class.
4115 (ZZ): New class.
6fdff2c5 4116 (N, Base, Derived): New namespace and classes.
8dea366b
KS
4117 (main): Add instances of Z and ZZ.
4118 Make sure all symbols from N are kept.
4119 * gdb.cp/derivation.exp: Update typedef changes in tests.
4120 Add tests for class typedefs both before and after starting
4121 the inferior.
4122 Add tests for searching for a typedef while stopped in a
4123 method.
4124
5e34c6c3
LM
41252012-11-14 Luis Machado <lgustavo@codesourcery.com>
4126
4127 * gdb.mi/mi-var-create-rtti.c: New file.
4128 * gdb.mi/mi-var-create-rtti.exp: New file.
4129
5e487a5f
LM
41302012-11-14 Luis Machado <lgustavo@codesourcery.com>
4131
4132 * gdb.base/structs3.exp: Run to main before doing any tests.
4133
6d67b990
AB
41342012-11-14 Andrew Burgess <aburgess@broadcom.com>
4135
4136 * gdb.python/py-type.exp: Uniquify test names.
4137
e5d98164
YQ
41382012-11-14 Yao Qi <yao@codesourcery.com>
4139
4140 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
4141 (thread_function) [DEBUG]: Call 'printf'.
4142 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
4143 command line if 'DEBUG=1' is passed to test.
4144 Remove a pattern to match inferior's output.
4145
62747a60
TT
41462012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
4147
4148 * gdb.mi/mi-fill-memory.exp: New test.
4149
18a9fc12
TT
41502012-11-12 Tom Tromey <tromey@redhat.com>
4151
4152 * gdb.base/completion.exp: Update for "info type-printers".
4153 * gdb.python/py-typeprint.cc: New file.
4154 * gdb.python/py-typeprint.exp: New file.
4155 * gdb.python/py-typeprint.py: New file.
4156
bd69fc68
TT
41572012-11-12 Tom Tromey <tromey@redhat.com>
4158
4159 * gdb.base/call-sc.exp: Use "ptype/r".
4160 * gdb.base/volatile.exp: Don't expect "int".
4161 * gdb.cp/ptype-flags.cc: New file.
4162 * gdb.cp/ptype-flags.exp: New file.
4163 * gdb.cp/templates.exp: Use ptype/r.
4164 (test_ptype_of_templates, test_template_typedef): Likewise.
4165 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
4166 argument. Handle template names and template parameters.
4167 * gdb.mi/mi-var-cmd.exp: Accept "long".
4168 * gdb.mi/mi-var-child.exp: Accept "long".
4169 * gdb.mi/mi-var-display.exp: Accept "long".
4170 * gdb.mi/mi2-var-child.exp: Accept "long".
4171
b3720c3a
TT
41722012-11-12 Tom Tromey <tromey@redhat.com>
4173
4174 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
4175 "ptype" from calls to cp_test_ptype_class.
4176 (test_enums): Likewise.
4177 * gdb.cp/derivation.exp: Remove "ptype" from calls to
4178 cp_test_ptype_class.
4179 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
4180 calls to cp_test_ptype_class.
4181 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
4182 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
4183 from calls to cp_test_ptype_class.
4184 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
4185 command here. Change "in_command" argument to "in_exp".
4186
0d63ecda
KS
41872012-11-10 Keith Seitz <keiths@redhat.com>
4188
4189 PR gdb/14288
4190 * gdb.base/printcmds.c: Add invalid_XXX globals
4191 for repeated byte tests.
4192 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
4193 * gdb.base/wchar.c (main): Add and construct a wchar_t
4194 array with repeated characters.
4195 * gdb.base/wchar.exp: Add repeated character tests.
4196
ed8a1c2d
AB
41972012-11-09 Andrew Burgess <aburgess@broadcom.com>
4198
4199 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
4200 disassembly output.
4201
9107fc8d
PA
42022012-11-09 Pedro Alves <palves@redhat.com>
4203
4204 PR gdb/14306
4205
4206 * gdb.multi/multi-arch-exec.c: New file.
4207 * gdb.multi/multi-arch-exec.exp: New file.
4208
558a9d82
YQ
42092012-11-09 Yao Qi <yao@codesourcery.com>
4210
4211 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
4212 (top level): Call it.
4213
e714f336
YQ
42142012-11-09 Yao Qi <yao@codesourcery.com>
4215
4216 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
4217 typo.
4218
6ecd4729
PA
42192012-11-09 Pedro Alves <palves@redhat.com>
4220
4221 * gdb.multi/multi-arch.exp: New.
4222
9015683b
TT
42232012-11-08 Tom Tromey <tromey@redhat.com>
4224
4225 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
4226 core files, if possible.
4227 * gdb.base/siginfo-thread.c: New file
4228 * gdb.base/siginfo-thread.exp: New file
4229
ea9f10bb
TT
42302012-11-08 Tom Tromey <tromey@redhat.com>
4231
4232 * gdb.base/comprdebug.exp: New file.
4233
f6592439
PA
42342012-11-06 Pedro Alves <palves@redhat.com>
4235
4236 PR gdb/14810
4237
4238 * gdb.base/disabled-location.c: New file.
4239 * gdb.base/disabled-location.exp: New file.
4240
2d338fa9
TT
42412012-11-06 Tom Tromey <tromey@redhat.com>
4242
4243 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
4244 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
4245 gdb_gcore_cmd.
4246 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
4247 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
4248 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
4249 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
4250 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
4251 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
4252 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
4253 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
4254 * lib/gdb.exp (gdb_gcore_cmd): New proc.
4255
68c9da30
PA
42562012-11-05 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
4259 procedure.
4260 (do_vfork_and_follow_child_tests_exec)
4261 (do_vfork_and_follow_child_tests_exit): Call it.
4262
a7c8c931
PA
42632012-11-05 Pedro Alves <palves@redhat.com>
4264
4265 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
4266 fails.
4267
6f6484cd
YQ
42682012-11-03 Yao Qi <yao@codesourcery.com>
4269
4270 Fix PR gdb/14617.
4271 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4272 Remove setup_kfail, and update test.
4273
b45627a0
TT
42742012-11-02 Tom Tromey <tromey@redhat.com>
4275
4276 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
4277 test.
4278
f50f4e56
PA
42792012-11-02 Pedro Alves <palves@redhat.com>
4280
4281 PR gdb/14766
4282
4283 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
4284 setup_kfail.
4285 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
4286 get registers".
4287
71ce889d
PA
42882012-11-02 Pedro Alves <palves@redhat.com>
4289
4290 * gdb.base/foll-vfork-exit.c: New file.
4291 * gdb.base/foll-vfork.exp (top level): New file-describing
4292 comment.
4293 (vfork_child_follow_to_exit): New procedure.
4294 (tcatch_vfork_then_child_follow): Rename as ...
4295 (tcatch_vfork_then_child_follow_exec): ... this.
4296 (tcatch_vfork_then_child_follow_exit): New procedure.
4297 (do_vfork_and_follow_parent_tests): New procedure, factored out
4298 from do_vfork_and_exec_tests.
4299 (do_vfork_and_follow_child_tests_exec): Ditto.
4300 (do_vfork_and_exec_tests): Delete.
4301 (do_vfork_and_follow_child_tests_exit): New procedure.
4302 (top level): Run tests with both the program that has the vfork
4303 child execing, and the program has the vfork child exiting.
4304
1e35b1a9
PA
43052012-11-02 Pedro Alves <palves@redhat.com>
4306
4307 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
4308 (check_vfork_catchpoints, vfork_parent_follow_through_step)
4309 (vfork_parent_follow_to_bp): Call it.
4310 (kill_child): Delete.
4311 (vfork_and_exec_child_follow_to_main_bp)
4312 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
4313 longer call kill_child.
4314 (tcatch_vfork_then_parent_follow): Call setup_gdb.
4315 (do_vfork_and_exec_tests): Don't runto_main before calling each
4316 test procedure.
4317 (top level): Don't clean restart and set verbose before running
4318 each test procedure.
4319
43202012-11-02 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
4323 (vfork_parent_follow_to_bp)
4324 (vfork_and_exec_child_follow_to_main_bp)
4325 (vfork_and_exec_child_follow_through_step)
4326 (tcatch_vfork_then_parent_follow)
4327 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4328 Use with_test_prefix.
4329
43302012-11-02 Pedro Alves <palves@redhat.com>
4331
4332 * gdb.base/foll-vfork.c: Add copyright header.
4333 * gdb.base/vforked-prog.c: Add copyright header.
4334
43352012-11-02 Pedro Alves <palves@redhat.com>
4336
4337 * gdb.base/foll-vfork.exp
4338 (vfork_and_exec_child_follow_through_step): Don't skip on
4339 non-HP/UX targets. Expect the next to only step one line on
4340 non-HP/UX targets, rather than stopping only after the exec.
4341
43422012-11-02 Pedro Alves <palves@redhat.com>
4343
4344 Don't hard code line numbers.
4345
4346 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
4347 Expect text from the sources instead of a line number.
4348 (vfork_parent_follow_to_bp)
4349 (vfork_and_exec_child_follow_to_main_bp)
4350 (vfork_and_exec_child_follow_through_step)
4351 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4352 Use gdb_get_line_number.
4353
43542012-11-02 Pedro Alves <palves@redhat.com>
4355
4356 Modernize.
4357
4358 * gdb.base/foll-vfork.exp: Use standard_testfile and
4359 build_executable. Pass descriptive string to untested.
4360 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
4361 (vfork_and_exec_child_follow_to_main_bp)
4362 (vfork_and_exec_child_follow_through_step)
4363 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
4364 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
4365 of send_gdb/gdb_expect.
4366
4367 (kill_child): New procedure.
4368 (vfork_and_exec_child_follow_to_main_bp)
4369 (vfork_and_exec_child_follow_through_step): Use it.
4370
f0559fff
YQ
43712012-11-02 Yao Qi <yao@codesourcery.com>
4372
4373 * gdb.base/setvar.exp: Test setting nested struct.
4374 * gdb.base/setvar.c (v_struct3): New.
4375
c207c6da
DE
43762012-11-01 Doug Evans <dje@google.com>
4377
4378 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
4379 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
4380 use them.
4381
2f27adfe
AB
43822012-10-31 Andrew Burgess <aburgess@broadcom.com>
4383
4384 PR cli/14772
4385 * gdb.base/gnu_vector.c (union_with_vector_1)
4386 (struct_with_vector_1): Add new struct and union for testing
4387 ptype.
4388 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
4389 structs / unions containing vectors.
4390
bb662ca6
YQ
43912012-10-25 Yao Qi <yao@codesourcery.com>
4392
4393 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
4394 'setup_kfail' instead of 'setup_kfail_for_target'.
4395 * gdb.base/varargs.exp: Likewise.
4396 * lib/gdb.exp (setup_kfail_for_target): Remove.
4397
635d23ff
MK
43982012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
4399
4400 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
4401
afdb064f
MK
44022012-10-25 Mark Kettenis <kettenis@gnu.org>
4403
4404 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
4405
d99dcf51
JB
44062012-10-24 Joel Brobecker <brobecker@adacore.com>
4407
4408 * gdb.ada/set_wstr: New testcase.
4409
32560274
JB
44102012-10-24 Joel Brobecker <brobecker@adacore.com>
4411
4412 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
4413
5ded5331
JB
44142012-10-24 Joel Brobecker <brobecker@adacore.com>
4415
4416 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
4417
d8d84291
MK
44182012-10-24 Mark Kettenis <kettenis@gnu.org>
4419
4420 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
4421
6e933c51
JK
44222012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4423
4424 * gdb.base/callfuncs.exp (do_function_calls): Fix
4425 setup_kfail_for_target for -m32 mode.
4426
274bd000
MK
44272012-10-23 Mark Kettenis <kettenis@gnu.org>
4428
4429 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
4430 are now fixed.
4431
545f743d
YQ
44322012-10-23 Yao Qi <yao@codesourcery.com>
4433
4434 * gdb.base/info-os.exp: Resume the inferior until it exits.
4435
48b56b6a 44362012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
4437
99c7d5a8 4438 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
4439 * gdb.base/print-file-var.exp: Likewise.
4440 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 4441
8de0566d
YQ
44422012-10-17 Yao Qi <yao@codesourcery.com>
4443
4444 * gdb.mi/mi-memory-changed.exp: New.
4445
44883546
YQ
44462012-10-16 Yao Qi <yao@codesourcery.com>
4447
4448 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
4449 returns true.
4450 Call gdb_load_shlibs.
4451 * gdb.reverse/solib-reverse.exp: Likewise.
4452
345f514a
KS
44532012-10-15 Keith Seitz <keiths@redhat.com>
4454
4455 * lib/cp-support.exp (cp_test_ptype_class): Add support
4456 for class typedefs.
4457
4458 * gdb.cp/derivation.exp: Add tests for g_instance.
4459
9e3a7d65
JK
44602012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4461
4462 Fix entry values resolving in inlined frames.
4463 * gdb.arch/amd64-entry-value-inline.S: New file.
4464 * gdb.arch/amd64-entry-value-inline.c: New file.
4465 * gdb.arch/amd64-entry-value-inline.exp: New file.
4466
21a7b089
JK
44672012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4468 Doug Evans <dje@google.com>
4469
4470 Fix recent gdb_breakpoint regression.
4471 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
4472 braces from the parameter.
4473 * gdb.java/jprint.exp: Likewise.
4474
2c47921e
DE
44752012-10-15 Doug Evans <dje@google.com>
4476
4477 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
4478
89398707
JB
44792012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
4480
4481 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
4482
801e4185
TT
44832012-10-15 Tom Tromey <tromey@redhat.com>
4484
4485 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
4486
74f910c8
TT
44872012-10-15 Tom Tromey <tromey@redhat.com>
4488
4489 * gdb.python/py-symbol.exp: Test symbol destructor.
4490
91567807
YQ
44912012-10-14 Yao Qi <yao@codesourcery.com>
4492
4493 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
4494 * gdb.mi/mi-cli.exp: New.
4495
4496 * gdb.mi/mi2-basics.exp: Remove.
4497 * gdb.mi/mi2-break.exp: Remove.
4498 * gdb.mi/mi2-console.exp: Remove.
4499 * gdb.mi/mi2-disassemble.exp: Remove.
4500 * gdb.mi/mi2-eval.exp: Remove.
4501 * gdb.mi/mi2-file.exp: Remove.
4502 * gdb.mi/mi2-hack-cli.exp: Remove.
4503 * gdb.mi/mi2-pthreads.exp: Remove.
4504 * gdb.mi/mi2-read-memory.exp: Remove.
4505 * gdb.mi/mi2-regs.exp: Remove.
4506 * gdb.mi/mi2-return.exp: Remove.
4507 * gdb.mi/mi2-simplerun.exp: Remove.
4508 * gdb.mi/mi2-stack.exp: Remove.
4509 * gdb.mi/mi2-stepi.exp: Remove.
4510 * gdb.mi/mi2-syn-frame.exp: Remove.
4511 * gdb.mi/mi2-until.exp: Remove.
4512 * gdb.mi/mi2-watch.exp: Remove.
4513 * gdb.mi/mi2-var-block.exp: Remove.
4514 * gdb.mi/mi2-var-cmd.exp: Remove.
4515 * gdb.mi/mi2-var-display.exp: Remove.
4516
87332029
YQ
45172012-10-12 Yao Qi <yao@codesourcery.com>
4518
4519 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
4520 trail '.*' on matching patterns.
4521
11fc9057
L
45222012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4523
4524 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
4525 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
4526 * gdb.arch/i386-disp-step.exp: Likewise.
4527 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4528 * gdb.arch/i386-prologue.exp: Likewise.
4529 * gdb.arch/i386-size-overlap.exp: Likewise.
4530 * gdb.arch/i386-size.exp: Likewise.
4531 * gdb.arch/i386-unwind.exp: Likewise.
4532
7d46bcdc
L
45332012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4534
4535 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
4536 * gdb.arch/i386-word.exp: Likewise.
4537
31224d9d
L
45382012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4539
4540 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
4541 is_ilp32_target to set nr_regs.
4542 * gdb.arch/i386-sse.exp: Likewise.
4543
5b7d0050
DE
45442012-10-11 Doug Evans <dje@google.com>
4545
7c09e5a0
DE
4546 PR breakpoints/14643.
4547 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
4548 * gdb.linespec/thread.c: New file.
4549 * gdb.linespec/thread.exp: New file.
4550
5b7d0050
DE
4551 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
4552 Recognize "message" -> print pass and fail. Add eof case.
4553 (runto): Recognize message, no-message. Print pass/fail if requested,
4554 with same treatment as gdb_breakpoint.
4555 (runto_main): Pass no-message to runto.
4556 (gdb_internal_error_resync): Add log message.
4557 (gdb_file_cmd): Tweak internal error fail text for consistency.
4558
2e24f4aa
JK
45592012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4560
4561 Fix crash during stepping on ppc32.
4562 * gdb.base/step-symless.c: New file.
4563 * gdb.base/step-symless.exp: New file.
4564
aa14df25
DE
45652012-10-03 Doug Evans <dje@google.com>
4566
4567 PR symtab/14601
4568 * gdb.cp/using-crash.exp: New file.
4569 * gdb.cp/using-crash.cc: New file.
4570
975531db
DE
45712012-10-02 Doug Evans <dje@google.com>
4572
4573 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
4574 more consistent.
4575 (runto,gdb_debug_format): Ditto.
4576 (gdb_file_cmd): Watch for eof in nested gdb_expect.
4577 Clean up logging and error messages.
4578
b3dc46ff
AB
45792012-10-01 Andrew Burgess <aburgess@broadcom.com>
4580
4581 Test find command on unmapped memory.
4582 * gdb.base/find-unmapped.c: New file.
4583 * gdb.base/find-unmapped.exp: New file.
4584
45814d45
YQ
45852012-09-29 Yao Qi <yao@codesourcery.com>
4586
4587 * gdb.trace/mi-tracepoint-changed.exp: New.
4588 * gdb.mi/mi-breakpoint-changed.exp: New.
4589 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
4590 * gdb.mi/pendshr2.c: New.
4591
4c2786ba
YQ
45922012-09-28 Yao Qi <yao@codesourcery.com>
4593
4594 * gdb.mi/pr11022.exp: New.
4595 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
4596
7977e5d2
TT
45972012-09-27 Tom Tromey <tromey@redhat.com>
4598
4599 * gdb.cp/derivation.exp: Add regression test.
4600 * gdb.cp/derivation.cc (class V_base, class V_inter, class
4601 V_derived): New.
4602 (vderived): New global.
4603
0971de02
TT
46042012-09-26 Tom Tromey <tromey@redhat.com>
4605
4606 * gdb.dwarf2/dw2-common-block.S: New file.
4607 * gdb.dwarf2/dw2-common-block.exp: New file.
4608
4357ac6c
TT
46092012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4610
4611 * gdb.fortran/common-block.exp: New file.
4612 * gdb.fortran/common-block.f90: New file.
4613
6f380991
AB
46142012-09-26 Andrew Burgess <aburgess@broadcom.com>
4615
4616 * gdb.base/duplicate-bp.c: New file.
4617 * gdb.base/duplicate-bp.exp: New file.
4618
8ae551cf
YQ
46192012-09-26 Yao Qi <yao@codesourcery.com>
4620
4621 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
4622
4623 Revert:
4624 2012-09-21 Yao Qi <yao@codesourcery.com>
4625
4626 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4627
318102b9
SP
46282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4629
4630 * gdb.base/longest-types.c: New test case.
4631 * gdb.base/longest-types.exp: New test case.
4632
a1e5fd69
YQ
46332012-09-25 Yao Qi <yao@codesourcery.com>
4634
4635 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
4636
04e7407c
JK
46372012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 Fix internal error on canonicalization of clang types.
4640 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
4641 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
4642 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
4643
9bf4bce9
JK
46442012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4645
4646 Fix disassemble without parameters in tailcall frame.
4647 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
4648
2603f7ee
AB
46492012-09-21 Andrew Burgess <aburgess@broadcom.com>
4650
4651 * gdb.dwarf2/dw2-op-out-param.S: New file.
4652 * gdb.dwarf2/dw2-op-out-param.exp: New file.
4653
a3569abd
YQ
46542012-09-21 Yao Qi <yao@codesourcery.com>
4655
4656 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4657
a065d7af
YQ
46582012-09-21 Yao Qi <yao@codesourcery.com>
4659
4660 * gdb.mi/mi-cli.exp: Remove.
4661 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
4662
15544bd9
YQ
46632012-09-21 Yao Qi <yao@codesourcery.com>
4664
4665 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
4666 "=record-started" notification.
4667
82a90ccf
YQ
46682012-09-21 Yao Qi <yao@codesourcery.com>
4669
4670 * gdb.mi/mi-record-changed.exp: New.
4671 * gdb.mi/mi-reverse.exp: Adjust expected output.
4672
d7de8e3c
TT
46732012-09-20 Tom Tromey <tromey@redhat.com>
4674
4675 * gdb.python/python.exp: Test atexit.register.
4676
1aa99537
DE
46772012-09-20 Doug Evans <dje@google.com>
4678
05eade73
DE
4679 * boards/dwarf4-gdb-index.exp: New file.
4680
1aa99537
DE
4681 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
4682 while running the tests.
4683
4ae24af0
JB
46842012-09-18 Joel Brobecker <brobecker@adacore.com>
4685
4686 * gdb.ada/bp_reset: New testcase.
4687
bb25a15c
YQ
46882012-09-18 Yao Qi <yao@codesourcery.com>
4689
4690 * gdb.trace/mi-tsv-changed.exp: New.
4691
201b4506
YQ
46922012-09-18 Yao Qi <yao@codesourcery.com>
4693
4694 * gdb.trace/mi-traceframe-changed.exp: New.
4695
6fc1c773
YQ
46962012-09-17 Yao Qi <yao@codesourcery.com>
4697
4698 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
4699 when it is less than 0.
4700
1ab3b62c
JK
47012012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4702
4703 PR 14119
4704 * gdb.arch/amd64-tailcall-ret.S: New file.
4705 * gdb.arch/amd64-tailcall-ret.c: New file.
4706 * gdb.arch/amd64-tailcall-ret.exp: New file.
4707 * gdb.reverse/amd64-tailcall-reverse.S: New file.
4708 * gdb.reverse/amd64-tailcall-reverse.c: New file.
4709 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
4710
acf9414f
JK
47112012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4712
4713 PR 14548
4714 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
4715 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
4716 * gdb.reverse/singlejmp-reverse.S: New file.
4717 * gdb.reverse/singlejmp-reverse.c: New file.
4718 * gdb.reverse/singlejmp-reverse.exp: New file.
4719
666b578b
JK
47202012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 Fix compatibility with old GCC (~4.1).
4723 * gdb.cp/converts.cc (my_enum_var): New variable.
4724
42056501
AB
47252012-09-14 Andrew Burgess <aburgess@broadcom.com>
4726
4727 * gdb.xml/tdesc-regs.exp: Update expected output for new
4728 vector_size syntax of vector types.
4729
b9516fa1
YPK
47302012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
4731
4732 Refactor Python "gdb" module into a proper Python package, by
4733 introducing a new "_gdb" module for code implemented in C, and
4734 using reload/__import__ instead of exec.
4735 * gdb.python/python.exp (Test stderr location): Update module
4736 location of GDB-specific sys.stderr.
4737 (Test stdout location): Ditto for sys.stdout.
4738
18dc9ad8
JK
47392012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4740
4741 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
4742
ea3a9873
KS
47432012-09-12 Keith Seitz <keiths@redhat.com>
4744
4745 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
4746 conversion statement.
4747
5941debb
DE
47482012-09-12 Doug Evans <dje@google.com>
4749
4750 * gdb.base/help.exp: Remove testing of individual command help text,
4751 too much of a maintenance burden. Instead, test the functionality
4752 of "help" itself.
4753
cfc35e02
DE
47542012-09-11 Doug Evans <dje@google.com>
4755
3a0ed5d7
DE
4756 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
4757 breakpoint.
4758
cfc35e02
DE
4759 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
4760 * gdb.dwarf2/fission-reread.S: Ditto.
4761 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
4762 * gdb.dwarf2/fission-reread.exp: Ditto.
4763
350b1b26
AB
47642012-09-11 Andrew Burgess <aburgess@broadcom.com>
4765
4766 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
4767
2fa15f23
JB
47682012-09-10 Joel Brobecker <brobecker@adacore.com>
4769
4770 * gdb.ada/optim_drec: New testcase.
4771
09be558e
DE
47722012-09-10 Doug Evans <dje@google.com>
4773
4774 * boards/fission.exp: Explicitly mark "board" as not remote.
4775
5b4f6e25
KS
47762012-09-10 Keith Seitz <keiths@redhat.com>
4777
4778 PR gdb/13483
4779 * gdb.cp/converts.cc (A::A): Add ctor.
4780 (A::member_): Add member.
4781 (enum my_enum): New enumeration.
4782 (main): Add calls to foo1_7 with various
4783 permitted arguments.
4784 * gdb.cp/converts.exp: Add tests for boolean
4785 conversions permitted by the standard.
4786
b4ca5ed9
YPK
47872012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
4788
4789 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
4790 avoid spurious results due to ~/.gdbinit.
4791 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
4792 $INTERNAL_GDBFLAGS in run command.
4793 * gdb.gdb/observer.exp (setup_test): Ditto.
4794 * gdb.gdb/selftest.exp (test_with_self): Ditto.
4795 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
4796
d54b30bb
DE
47972012-09-06 Doug Evans <dje@google.com>
4798
14910956
DE
4799 * boards/fission.exp: New file.
4800
d54b30bb
DE
4801 * gdb.python/py-value.exp: Use clean_restart.
4802
91b253e1
DE
48032012-09-05 Doug Evans <dje@google.com>
4804
4805 * gdb.base/info-macros.c: Fix whitespace.
4806
1292279a
PA
48072012-08-28 Pedro Alves <palves@redhat.com>
4808
4809 PR gdb/14428
4810
4811 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
4812
1c8cdcb1
JK
48132012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4814
4815 * gdb.base/break-caller-line.c: New file.
4816 * gdb.base/break-caller-line.exp: New file.
4817
1e8e8b51
JK
48182012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4819
4820 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
4821 * gdb.arch/i386-cfi-notcurrent.S: New file.
4822 * gdb.arch/i386-cfi-notcurrent.exp: New file.
4823
1591a1e8
PA
48242012-08-27 Wei-cheng Wang <cole945@gmail.com>
4825 Yao Qi <yao@codesourcery.com>
4826 Pedro Alves <palves@redhat.com>
4827
4828 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
4829 New procedures.
4830 (top level): Add overlap checking tests.
4831
4442ada7
TT
48322012-08-24 Tom Tromey <tromey@redhat.com>
4833
4834 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
4835 gdb_test_multiple fails for other reasons.
4836
e7d50cc9
YQ
48372012-08-24 Yao Qi <yao@codesourcery.com>
4838
4839 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
4840
dfbd5e7b
PA
48412012-08-23 Pedro Alves <palves@redhat.com>
4842
4843 * gdb.base/help.exp: Adjust to "handle" help text change.
4844
8d735b87
YQ
48452012-08-23 Yao Qi <yao@codesourcery.com>
4846
4847 * gdb.trace/disconnected-tracing.c (start, end): New.
4848 (main): Call start and end.
4849 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
4850 existing tests into this proc.
4851 (disconnected_tfind): New.
4852
61b1d759
YQ
48532012-08-23 Yao Qi <yao@codesourcery.com>
4854
4855 * boards/native-gdbserver.exp (${board}_upload): New.
4856 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
4857 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
4858 Execute tfile on remote target.
4859 Copy trace file from target to host.
4860
6ca1b147
JM
48612012-08-22 Joseph Myers <joseph@codesourcery.com>
4862
4863 * gdb.arch/thumb-bx-pc.S: New file.
4864 * gdb.arch/thumb-bx-pc.exp: New file.
4865
706e3705
TT
48662012-08-22 Tom Tromey <tromey@redhat.com>
4867
4868 * gdb.base/maint.exp: Update.
4869
b4893d48
TT
48702012-08-22 Tom Tromey <tromey@redhat.com>
4871
4872 * lib/gdb.exp (skip_unwinder_tests): New proc.
4873 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
4874 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
4875
45b7da81
TT
48762012-08-21 Tom Tromey <tromey@redhat.com>
4877
4878 * gdb.hp/gdb.aCC/exception.exp: Remove.
4879
f94363d7
AP
4880012-08-19 Andrew Pinski <apinski@cavium.com>
4881
4882 * gdb.arch/mips-octeon-bbit.c: New file.
4883 * gdb.arch/mips-octeon-bbit.exp: New Test.
4884
e5afdbd7
KS
4885012-08-19 Keith Seitz <keiths@redhat.com>
4886
4887 PR c++/14365
4888 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
4889 * gdb.dwarf2/dw2-anon-mptr.S: New file.
4890
c29e8b64
JK
48912012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4892
4893 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
4894 verbose -log by more specific untested call.
4895
15a7e7bc
YQ
48962012-08-18 Yao Qi <yao@codesourcery.com>
4897
4898 * gdb.trace/tfind.exp: Move tests on various command help before
4899 checking target supports trace.
4900 Fix the expected output of 'help tfind end'.
4901
a451cb65
KS
49022012-08-17 Keith Seitz <keiths@redhat.com>
4903
4904 PR c++/13356
4905 * gdb.base/default.exp: Update all "check type" tests.
4906 * gdb.base/help.exp: Likewise.
4907 * gdb.base/setshow.exp: Likewise.
4908 * gdb.cp/converts.cc (foo1_type_check): New function.
4909 (foo2_type_check): New function.
4910 (foo3_type_check): New function.
4911 (main): Call new functions.
4912 * converts.exp: Add tests for integer-to-pointer conversions
4913 with/without strict type-checking.
4914
dbf6a605
MF
49152012-08-16 Mike Frysinger <vapier@gentoo.org>
4916
4917 * gdb.base/help.exp: Update expected output.
4918
0c92d8c1
JB
49192012-08-16 Joel Brobecker <brobecker@adacore.com>
4920
4921 * gdb.ada/rdv_wait: New testcase.
4922
e56f7f42
JK
49232012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4924
4925 * gdb.base/attach-twice.exp: Remove excessive ps exec.
4926
f47f77df
DE
49272012-08-13 Doug Evans <dje@google.com>
4928
e202d6e8 4929 * gdb.base/help.exp: Update expected output.
f47f77df
DE
4930 * gdb.base/default.exp: Update expected output of "show convenience".
4931
a72c3253
DE
49322012-08-10 Doug Evans <dje@google.com>
4933
4934 * gdb.python/py-strfns.c: New file.
4935 * gdb.python/py-strfns.exp: New file.
4936 * gdb.python/py-type.exp (test_fields): Add vector tests.
4937
de0bea00
MF
49382012-08-10 Mike Frysinger <vapier@gentoo.org>
4939
4940 PR cli/10436:
4941 * gdb.base/completion.exp: Add tests for handle completion.
4942
5b9afe8a
YQ
49432012-08-09 Yao Qi <yao@codesourcery.com>
4944
4945 * gdb.mi/mi-cmd-param-changed.exp: New.
4946 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
4947 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
4948 * gdb.mi/mi2-prompt.exp: Likewise.
4949
4f485ebc
DE
49502012-08-08 Doug Evans <dje@google.com>
4951
4952 * gdb.base/debug-expr.c: New file.
4953 * gdb.base/debug-expr.exp: New file.
4954 * gdb.base/exprs.exp: Test {type} casts.
4955 * gdb.cp/debug-expr.exp: New file.
4956
5888842d
JK
49572012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4958
4959 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
4960 global variable loop, not a 'break'. Add loop count limit to 100.
4961 Add new fail case for terminated vgdb.
4962
4f69f4c2
JK
49632012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4964 Jean-Marc Saffroy <saffroy@gmail.com>
4965
4966 PR 11804
4967 * gdb.base/gcore-relro.exp: New file.
4968 * gdb.base/gcore-relro-main.c: New file.
4969 * gdb.base/gcore-relro-lib.c: New file.
4970
e2de5390
JK
49712012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4972
4973 Do not false FAIL with old GCCs.
4974 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
4975 GCC < 4.5 in $no_hw mode.
4976
606603c5
JK
49772012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4978
4979 * gdb.base/default.exp (cd): Accept new directory with no arguments.
4980
777f26c2
JK
49812012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4982
4983 * gdb.base/list.exp (test_only_end): New function.
4984 Call it.
4985
2c12abee
TT
49862012-08-06 Tom Tromey <tromey@redhat.com>
4987
4988 * gdb.python/py-mi.exp: Add test for printer whose children
4989 are a list.
4990 * gdb.python/py-prettyprint.c (struct children_as_list): New.
4991 (main): New variable children_as_list.
4992 * gdb.python/py-prettyprint.py (class pp_children_as_list):
4993 New.
4994 (register_pretty_printers): Register new printer.
4995
0eae2cf4
EBM
49962012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4997
4998 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
4999 symbols. Abort if vgdb remote connection is closed.
5000
09e0881d
DE
50012012-08-02 Doug Evans <dje@google.com>
5002
5003 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
5004
b40f514f
SDJ
50052012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
5006
5007 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
5008 s390x, PowerPC 64 and m68k-linux.
5009
11315ae0
UW
50102012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5011
5012 * gdb.base/annota1.exp: Accept no frames-invalid notification
5013 when starting up the program.
5014 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
5015 show a symbolic value as well.
5016 * gdb.server/server-exec-info.exp: Skip test when skipping
5017 gdbserver test and/or when skipping shared library tests.
5018 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
5019 avoid name conflicts with other tests.
5020
0547eeed
UW
50212012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5022
5023 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
5024 Fix wrong output on big-endian systems.
5025 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
5026 4-byte pointer types on 64-bit s390x.
5027
bdddb4de
UW
50282012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5029
5030 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
5031 marker comment at the beginning (after intialization).
5032 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
5033 breakpoint on marker comment instead of function begin.
5034 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
5035 PowerPC.
5036 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
5037 or 64-bit PowerPC.
5038 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
5039 gdb,no_hardware_watchpoints flag is set.
5040 (initialize): Remove now redundant can-use-hw-watchpoints change.
5041
5d206025
YQ
50422012-08-02 Yao Qi <yao@codesourcery.com>
5043 Pedro Alves <palves@redhat.com>
5044
5045 * boards/local-remote-host.exp: New.
5046
4f665099
UW
50472012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5048
5049 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
5050 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
5051 * gdb.base/print-file-var.exp: Likewise.
5052 * gdb.server/solib-list.exp: Skip on remote targets.
5053
b62e2b27
UW
50542012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5055
5056 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
5057 watchpoints on ARM. When expecting software watchpoints, tolerate
5058 (remote) targets that report unsupported hardware watchpoint only
5059 at continue time.
5060 (test_wide_location_2): Likewise.
5061
a967a851
JK
50622012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5063
5064 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
5065 valgrind versions.
5066
75d9f9ff 50672012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
5068
5069 * gdb.base/valgrind-infcall.c: New file.
5070 * gdb.base/valgrind-infcall.exp: New file.
5071
75d9f9ff
JK
5072 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
5073
1c9f2ed2
KS
50742012-07-30 Keith Seitz <keiths@redhat.com>
5075
5076 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
5077 linespecs.
5078
7f9b2034
DE
50792012-07-30 Doug Evans <dje@google.com>
5080
85220e01
DE
5081 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
5082 * gdb.dwarf2/pr13961.S: Ditto.
5083
7f9b2034
DE
5084 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
5085
4e969b4f
AB
50862012-07-30 Andrew Burgess <aburgess@broadcom.com>
5087
5088 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
5089 change its format immediately after reloading the binary.
5090
e7de8362
JK
50912012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5092
5093 Fix testsuite regression after --use-deprecated-index-sections removal.
5094 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
5095 string.
5096 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
5097
7255706c
YQ
50982012-07-27 Yao Qi <yao@codesourcery.com>
5099
5100 KFAIL for PR remote/14161.
5101 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
5102 Cleanup socket files.
5103 (strace_info_marker): Detach inferior.
5104
f2e8016f
TT
51052012-07-26 Tom Tromey <tromey@redhat.com>
5106
6fdff2c5 5107 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 5108
f66713d2
JK
51092012-07-26 Markus Metzger <markus.t.metzger@intel.com>
5110
5111 * gdb.python/py-inferior.c (thread): New function.
5112 (check_threads): New function.
5113 (test_threads): New function.
5114 * gdb.python/py-inferior.exp: Added test.
5115 Replaced runto with continue to breakpoint.
5116
8223e12c
TT
51172012-07-26 Tom Tromey <tromey@redhat.com>
5118
5119 * lib/ada.exp (standard_ada_testfile): New proc.
5120 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
5121 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
5122 * gdb.ada/array_return.exp: Use standard_ada_testfile.
5123 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
5124 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
5125 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
5126 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
5127 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
5128 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
5129 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
5130 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
5131 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
5132 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
5133 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
5134 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
5135 * gdb.ada/char_param.exp: Use standard_ada_testfile.
5136 * gdb.ada/complete.exp: Use standard_ada_testfile.
5137 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
5138 standard_output_file.
5139 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
5140 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
5141 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
5142 standard_output_file.
5143 * gdb.ada/exprs.exp: Use standard_ada_testfile.
5144 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
5145 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
5146 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
5147 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
5148 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
5149 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
5150 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
5151 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
5152 * gdb.ada/homonym.exp: Use standard_ada_testfile.
5153 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
5154 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
5155 * gdb.ada/interface.exp: Use standard_ada_testfile.
5156 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
5157 standard_output_file
5158 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
5159 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
5160 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
5161 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
5162 * gdb.ada/nested.exp: Use standard_ada_testfile.
5163 * gdb.ada/null_array.exp: Use standard_ada_testfile.
5164 * gdb.ada/null_record.exp: Use standard_ada_testfile.
5165 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
5166 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
5167 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
5168 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
5169 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
5170 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
5171 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
5172 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
5173 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
5174 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
5175 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
5176 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
5177 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
5178 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
5179 * gdb.ada/start.exp: Use standard_ada_testfile.
5180 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
5181 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
5182 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
5183 * gdb.ada/tagged.exp: Use standard_ada_testfile.
5184 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
5185 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
5186 * gdb.ada/tasks.exp: Use standard_ada_testfile.
5187 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
5188 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
5189 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
5190 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
5191 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
5192 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
5193 * gdb.ada/widewide.exp: Use standard_ada_testfile.
5194
bbec57e4
JK
51952012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 Fix testsuite regression after --use-deprecated-index-sections removal.
5198 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
5199
9cc8e32c
JK
52002012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5201
5202 Fix compatibility with Tcl before 7.5.
5203 * lib/future.exp (lreverse): New function if it does not exist.
5204
ea5ca7b5
MK
52052012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
5206
5207 * gdb.mi/mi-pending.c: New method to set a second pending
5208 breakpoint.
5209 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
5210 condition.
5211
64776a0b
PA
52122012-07-20 Pedro Alves <palves@redhat.com>
5213
5214 PR threads/11692
5215 PR gdb/12203
5216
5217 * gdb.threads/create-fail.c: New file.
5218 * gdb.threads/create-fail.exp: New file.
5219
13e4e967
PA
52202012-07-19 Pedro Alves <palves@redhat.com>
5221
5222 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
5223 * config/vx.exp (gdb_start): Likewise.
5224 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
5225 * gdb.base/setvar.exp (test_set): Likewise.
5226 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
5227 * gdb.reverse/sigall-precsave.exp: Likewise.
5228 * gdb.reverse/sigall-reverse.exp: Likewise.
5229
b7aefa4d
PA
52302012-07-19 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
5233 handler before recording.
5234
608b4967
TT
52352012-07-19 Tom Tromey <tromey@redhat.com>
5236
5237 * gdb.cp/casts.exp: Add tests for typeof and decltype.
5238 * gdb.cp/casts.cc (decltype): New function.
5239 (main): Use it.
5240
b1e0c0fa
PA
52412012-07-19 Pedro Alves <palves@redhat.com>
5242
5243 * gdb.base/sigall.exp (signals): New list.
5244 <top level>: Loop over signals in the $signals list instead of
5245 calling a test function once per signal.
5246 * gdb.reverse/sigall-precsave.exp (signals): New list.
5247 <top level>: Loop over signals in the $signals list instead of
5248 calling a test function once per signal.
5249 * gdb.reverse/sigall-reverse.exp (signals): New list.
5250 <top level>: Loop over signals in the $signals list instead of
5251 calling a test function once per signal.
5252
6ace3df1
YQ
52532012-07-19 Yao Qi <yao@codesourcery.com>
5254
5255 * gdb.base/setshow.exp: Test 'set args ~'.
5256
263a0f8c
JK
52572012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5258
5259 * gdb.base/store.exp (check_set): Import gdb_prompt.
5260 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
5261 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
5262
8f043999
JK
52632012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5264
5265 PR 11914
5266 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
5267 (main): Call eval_sub.
5268 * gdb.python/py-prettyprint.exp:
5269 (python execfile ('py-prettyprint.py')): Move it earlier.
5270 New breakpoint for eval-break.
5271 (continue to breakpoint: eval-break, info locals): New test.
5272 (python execfile ('py-prettyprint.py')): Move it from here.
5273 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
5274 (register_pretty_printers): Register pp_eval_type.
5275
725c7b66
JK
52762012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5277
5278 Fix a testcase regression by me.
5279 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
5280 DW_FORM_data4.
5281
4359dff1
JK
52822012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5283 Doug Evans <dje@google.com>
5284
5285 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
5286 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
5287
61e44cfa
JK
52882012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5289
5290 Fix gdbserver run regression.
5291 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
5292
93c0ef37
TT
52932012-07-12 Tom Tromey <tromey@redhat.com>
5294
5295 * lib/gdb.exp (standard_testfile): Don't declare objdir.
5296 (clean_restart): Likewise.
5297 (core_find): Use standard_output_file.
5298
76027ef5
TT
52992012-07-12 Tom Tromey <tromey@redhat.com>
5300
5301 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
5302 * gdb.dwarf2/dw2-anonymous-func.exp: Use
5303 prepare_for_testing_full.
5304 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
5305 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
5306 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
5307 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
5308 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
5309 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
5310 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
5311 prepare_for_testing_full.
5312 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
5313 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
5314 prepare_for_testing_full.
5315 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
5316 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
5317 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
5318
85b4440a
TT
53192012-07-12 Tom Tromey <tromey@redhat.com>
5320
5321 * lib/gdb.exp (build_executable_from_specs): New proc, from
5322 build_executable.
5323 (build_executable): Use it.
5324 (prepare_for_testing_full): New proc.
5325
55baab26
TT
53262012-07-11 Tom Tromey <tromey@redhat.com>
5327
5328 * gdb.reverse/break-precsave.exp: Use standard_output_file.
5329 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
5330 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
5331 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
5332 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
5333 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
5334 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
5335 * gdb.reverse/step-precsave.exp: Use standard_output_file.
5336 * gdb.reverse/until-precsave.exp: Use standard_output_file.
5337 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
5338
298a9cf0
TT
53392012-07-10 Tom Tromey <tromey@redhat.com>
5340
5341 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
5342 standard_output_file.
5343 * gdb.mi/gdb2549.exp: Use standard_testfile.
5344 * gdb.mi/gdb669.exp: Use standard_testfile.
5345 * gdb.mi/gdb701.exp: Use standard_testfile.
5346 * gdb.mi/gdb792.exp: Use standard_testfile.
5347 * gdb.mi/mi-async.exp: Use standard_testfile.
5348 * gdb.mi/mi-basics.exp: Use standard_testfile.
5349 * gdb.mi/mi-break.exp: Use standard_testfile.
5350 * gdb.mi/mi-cli.exp: Use standard_testfile.
5351 * gdb.mi/mi-console.exp: Use standard_testfile.
5352 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
5353 * gdb.mi/mi-eval.exp: Use standard_testfile.
5354 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
5355 * gdb.mi/mi-file.exp: Use standard_testfile.
5356 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
5357 * gdb.mi/mi-logging.exp: Use standard_testfile.
5358 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
5359 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
5360 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
5361 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
5362 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
5363 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
5364 * gdb.mi/mi-pending.exp: Use standard_testfile,
5365 standard_output_file.
5366 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
5367 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
5368 * gdb.mi/mi-regs.exp: Use standard_testfile.
5369 * gdb.mi/mi-return.exp: Use standard_testfile.
5370 * gdb.mi/mi-reverse.exp: Use standard_testfile.
5371 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
5372 * gdb.mi/mi-solib.exp: Use standard_testfile,
5373 standard_output_file.
5374 * gdb.mi/mi-stack.exp: Use standard_testfile.
5375 * gdb.mi/mi-stepi.exp: Use standard_testfile.
5376 * gdb.mi/mi-stepn.exp: Use standard_testfile.
5377 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
5378 * gdb.mi/mi-until.exp: Use standard_testfile.
5379 * gdb.mi/mi-var-block.exp: Use standard_testfile.
5380 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
5381 * gdb.mi/mi-var-child.exp: Use standard_testfile.
5382 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
5383 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
5384 * gdb.mi/mi-var-display.exp: Use standard_testfile.
5385 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
5386 standard_output_file.
5387 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
5388 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
5389 * gdb.mi/mi-watch.exp: Use standard_testfile.
5390 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
5391 * gdb.mi/mi2-basics.exp: Use standard_testfile.
5392 * gdb.mi/mi2-break.exp: Use standard_testfile.
5393 * gdb.mi/mi2-cli.exp: Use standard_testfile.
5394 * gdb.mi/mi2-console.exp: Use standard_testfile.
5395 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
5396 * gdb.mi/mi2-eval.exp: Use standard_testfile.
5397 * gdb.mi/mi2-file.exp: Use standard_testfile.
5398 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
5399 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
5400 * gdb.mi/mi2-regs.exp: Use standard_testfile.
5401 * gdb.mi/mi2-return.exp: Use standard_testfile.
5402 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
5403 * gdb.mi/mi2-stack.exp: Use standard_testfile.
5404 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
5405 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
5406 * gdb.mi/mi2-until.exp: Use standard_testfile.
5407 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
5408 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
5409 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
5410 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
5411 * gdb.mi/mi2-watch.exp: Use standard_testfile.
5412
f5f3a911
TT
54132012-07-10 Tom Tromey <tromey@redhat.com>
5414
5415 * gdb.cp/abstract-origin.exp: Use standard_testfile.
5416 * gdb.cp/ambiguous.exp: Use standard_testfile,
5417 prepare_for_testing.
5418 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
5419 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
5420 * gdb.cp/anon-ns.exp: Use standard_testfile.
5421 * gdb.cp/anon-struct.exp: Use standard_testfile.
5422 * gdb.cp/anon-union.exp: Use standard_testfile,
5423 prepare_for_testing.
5424 * gdb.cp/arg-reference.exp: Use standard_testfile,
5425 prepare_for_testing.
5426 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
5427 * gdb.cp/breakpoint.exp: Use standard_testfile,
5428 prepare_for_testing.
5429 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
5430 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
5431 standard_output_file.
5432 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
5433 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
5434 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
5435 (test_static_members): Update.
5436 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
5437 * gdb.cp/converts.exp: Use standard_testfile.
5438 * gdb.cp/cp-relocate.exp: Use standard_testfile.
5439 * gdb.cp/cpcompletion.exp: Use standard_testfile,
5440 prepare_for_testing.
5441 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
5442 * gdb.cp/cplabel.exp: Use standard_testfile.
5443 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
5444 prepare_for_testing.
5445 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
5446 * gdb.cp/derivation.exp: Use standard_testfile,
5447 prepare_for_testing.
5448 * gdb.cp/destrprint.exp: Use standard_testfile.
5449 * gdb.cp/dispcxx.exp: Use standard_testfile.
5450 * gdb.cp/exception.exp: Use standard_testfile,
5451 prepare_for_testing.
5452 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
5453 * gdb.cp/extern-c.exp: Use standard_testfile,
5454 prepare_for_testing.
5455 * gdb.cp/formatted-ref.exp: Use standard_testfile,
5456 prepare_for_testing.
5457 * gdb.cp/fpointer.exp: Use standard_testfile.
5458 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
5459 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
5460 standard_output_file.
5461 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
5462 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
5463 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
5464 standard_output_file.
5465 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
5466 (do_tests): Update.
5467 * gdb.cp/koenig.exp: Use standard_testfile.
5468 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
5469 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
5470 * gdb.cp/m-static.exp: Use standard_testfile,
5471 prepare_for_testing.
5472 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
5473 * gdb.cp/mb-inline.exp: Use standard_testfile,
5474 prepare_for_testing.
5475 * gdb.cp/mb-templates.exp: Use standard_testfile,
5476 prepare_for_testing.
5477 * gdb.cp/member-ptr.exp: Use standard_testfile,
5478 prepare_for_testing.
5479 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
5480 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
5481 * gdb.cp/method2.exp: Use standard_testfile.
5482 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
5483 standard_output_file.
5484 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
5485 (do_tests): Update.
5486 * gdb.cp/namespace-enum.exp: Use standard_testfile,
5487 prepare_for_testing.
5488 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
5489 prepare_for_testing.
5490 * gdb.cp/namespace.exp: Use standard_testfile,
5491 prepare_for_testing.
5492 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
5493 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
5494 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
5495 * gdb.cp/nsimport.exp: Use standard_testfile,
5496 prepare_for_testing.
5497 * gdb.cp/nsnested.exp: Use standard_testfile.
5498 * gdb.cp/nsnoimports.exp: Use standard_testfile.
5499 * gdb.cp/nsrecurs.exp: Use standard_testfile,
5500 prepare_for_testing.
5501 * gdb.cp/nsstress.exp: Use standard_testfile,
5502 prepare_for_testing.
5503 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
5504 * gdb.cp/operator.exp: Use standard_testfile.
5505 * gdb.cp/oranking.exp: Use standard_testfile.
5506 * gdb.cp/overload-const.exp: Use standard_testfile.
5507 * gdb.cp/overload.exp: Use standard_testfile,
5508 prepare_for_testing.
5509 * gdb.cp/ovldbreak.exp: Use standard_testfile.
5510 * gdb.cp/ovsrch.exp: Use standard_testfile.
5511 * gdb.cp/paren-type.exp: Use standard_testfile.
5512 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
5513 prepare_for_testing.
5514 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
5515 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
5516 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
5517 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
5518 * gdb.cp/pr10728.exp: Use standard_testfile,
5519 standard_output_file.
5520 * gdb.cp/pr12028.exp: Use standard_testfile.
5521 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
5522 * gdb.cp/pr9167.exp: Use standard_testfile.
5523 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
5524 * gdb.cp/printmethod.exp: Use standard_testfile,
5525 prepare_for_testing.
5526 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
5527 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
5528 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
5529 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
5530 standard_output_file.
5531 * gdb.cp/readnow-language.exp: Use standard_testfile.
5532 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
5533 (gdb_start_again): Use clean_restart.
5534 * gdb.cp/ref-types.exp: Use standard_testfile,
5535 prepare_for_testing.
5536 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
5537 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
5538 * gdb.cp/smartp.exp: Use standard_testfile.
5539 * gdb.cp/static-method.exp: Use standard_testfile.
5540 * gdb.cp/static-print-quit.exp: Use standard_testfile.
5541 * gdb.cp/temargs.exp: Use standard_testfile.
5542 * gdb.cp/templates.exp: Use standard_testfile,
5543 prepare_for_testing.
5544 (do_tests): Update.
5545 * gdb.cp/try_catch.exp: Use standard_testfile,
5546 prepare_for_testing.
5547 * gdb.cp/typedef-operator.exp: Use standard_testfile.
5548 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
5549 * gdb.cp/virtbase.exp: Use standard_testfile,
5550 prepare_for_testing.
5551 * gdb.cp/virtfunc.exp: Use standard_testfile,
5552 prepare_for_testing.
5553 (do_tests): Update.
5554 * gdb.cp/virtfunc2.exp: Use standard_testfile,
5555 prepare_for_testing.
5556
686f09d0
TT
55572012-07-10 Tom Tromey <tromey@redhat.com>
5558
5559 * lib/gdb.exp (standard_testfile): Unset output variables from
5560 earlier invocations.
5561
9357e021
YQ
55622012-07-10 Yao Qi <yao@codesourcery.com>
5563
5564 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
5565 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
5566 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
5567 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
5568 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
5569 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
5570 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
5571 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
5572 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
5573 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
5574 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
5575 * gdb.mi/mi-var-display.exp: Likewise.
5576 * gdb.mi/mi-var-invalidate.exp: Likewise.
5577 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
5578 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
5579 * gdb.mi/mi2-console.exp: Likewise.
5580 * gdb.mi/mi2-disassemble.exp: Likewise.
5581 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
5582 * gdb.mi/mi2-read-memory.exp: Likewise.
5583 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
5584 * gdb.mi/mi2-simplerun.exp: Likewise.
5585 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
5586 * gdb.mi/mi2-syn-frame.exp: Likewise.
5587 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
5588 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
5589 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
5590
e314d629
TT
55912012-07-09 Tom Tromey <tromey@redhat.com>
5592
5593 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
5594 * gdb.base/callfuncs.exp: Add cast-based test.
5595 * gdb.base/callfuncs.c (voidfunc): New function.
5596
06928b3f
DE
55972012-07-08 Doug Evans <dje@google.com>
5598
5599 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
5600
32f11bad
JK
56012012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5602
5603 Fix XFAIL compatibility with old i386 systems.
5604 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
5605 Check also 'Cannot insert breakpoint 0'.
5606
76b83c51
JK
56072012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5608
5609 PR 14321
5610 * gdb.base/find.exp
5611 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
5612
a6fb9c08
TT
56132012-07-06 Tom Tromey <tromey@redhat.com>
5614
5615 * gdb.base/whatis.exp: Add test.
5616
71918a86
TT
56172012-07-06 Tom Tromey <tromey@redhat.com>
5618
5619 * gdb.base/whatis.exp: Add regression test.
5620
fcde5961
TT
56212012-07-06 Tom Tromey <tromey@redhat.com>
5622
5623 * gdb.base/whatis.exp: Add tests.
5624
f9cf0f4a
JK
56252012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5626
5627 PR 12649
5628 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
5629 gdb_test_multiple $gdb_prompt terminator.
5630
979ade8b
PA
56312012-07-04 Pedro Alves <palves@redhat.com>
5632
5633 * gdb.mi/mi-reverse.exp: Use supports_reverse and
5634 supports_process_record.
5635
8a980b44
PA
56362012-07-04 Pedro Alves <palves@redhat.com>
5637
5638 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
5639 endings.
5640 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
5641
855ba978
SS
56422012-07-03 Stan Shebs <stan@codesourcery.com>
5643
5644 * gdb.base/info-os.c (main): Retry resource acquisition until an
5645 available one is found.
5646 * gdb.base/info-os.exp: Collect resource keys from the program
5647 and use them in matching.
5648
fcb44371
JK
56492012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5650
5651 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
5652 Wrap the test into loop for corefile and core0file.
5653
08a67be6
JK
56542012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5655
5656 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
5657 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
5658 .note.GNU-stack.
5659
0f3c2347
JK
5660 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
5661
ff4a4500
SDJ
56622012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
5663
5664 * gdb.base/help.exp (help b, help br, help bre, help brea, help
5665 break): Include help message for the new `-probe' and `-probe-stap'
5666 options.
5667
d3ce09f5
SS
56682012-07-02 Stan Shebs <stan@codesourcery.com>
5669
5670 * gdb.base/dprintf.exp: Add agent style tests.
5671
a1624241
JK
56722012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5673
5674 * gdb.base/stale-infcall.c (infcall): New label test-next.
5675 (main): New labels test-pass and test-fail.
5676 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
5677 $test_fail_bpnum to test-fail.
5678 (test system longjmp tracking support): New test.
5679 Delete $test_fail_bpnum.
5680 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
5681 breakpoint.
5682
42e7ad6c
DE
56832012-06-30 Doug Evans <dje@google.com>
5684
5685 * gdb.dwarf2/fission-reread.S: New file.
5686 * gdb.dwarf2/fission-reread.exp: New file.
5687
37ce89eb
SS
56882012-06-28 Stan Shebs <stan@codesourcery.com>
5689
5690 * gdb.mi/mi-logging.exp: New file.
5691
e5ef252a
PA
56922012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5693 Pedro Alves <palves@redhat.com>
5694
5695 * gdb.threads/siginfo-threads.exp: New file.
5696 * gdb.threads/siginfo-threads.c: New file.
5697 * gdb.threads/sigstep-threads.exp: New file.
5698 * gdb.threads/sigstep-threads.c: New file.
5699
22f1fbae
TT
57002012-06-28 Tom Tromey <tromey@redhat.com>
5701
5702 * gdb.go/package.exp: Partially revert earlier patch; use
5703 gdb_compile again. Use standard_output_file.
5704
2e3cf129
DE
57052012-06-27 Doug Evans <dje@google.com>
5706
5707 * gdb.dwarf2/fission-base.c: New file.
5708 * gdb.dwarf2/fission-base.S: New file.
5709 * gdb.dwarf2/fission-base.exp: New file.
5710
785fd303
JK
57112012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5712
5713 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
5714
1bb9788d
TT
57152012-06-27 Tom Tromey <tromey@redhat.com>
5716
5717 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
5718 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
5719
c83ee902
TT
57202012-06-27 Tom Tromey <tromey@redhat.com>
5721
5722 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
5723 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
5724 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
5725 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
5726 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
5727 prepare_for_testing.
5728 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
5729 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
5730 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
5731 standard_testfile.
5732 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
5733 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
5734 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
5735 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
5736 prepare_for_testing.
5737 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
5738 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
5739 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
5740 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
5741 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
5742 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
5743 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
5744 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
5745 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
5746 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
5747 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
5748 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
5749 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
5750 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
5751 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
5752 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
5753 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
5754 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
5755 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
5756 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
5757 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
5758 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
5759 standard_output_file.
5760 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
5761 standard_output_file.
5762 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
5763 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
5764 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
5765 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
5766 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
5767 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
5768 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
5769 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
5770 * gdb.dwarf2/implptr.exp: Use standard_testfile.
5771 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
5772 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
5773 * gdb.dwarf2/pieces.exp: Use standard_testfile.
5774 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
5775 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
5776 * gdb.dwarf2/valop.exp: Use standard_testfile,
5777 prepare_for_testing.
5778
5204774b
TT
57792012-06-27 Tom Tromey <tromey@redhat.com>
5780
5781 * gdb.python/python.exp: Fix regexps in pagination tests.
5782
ee0bf529
SCR
57832012-06-26 Siva Chandra Reddy <sivachandra@google.com>
5784
5785 * gdb.python/py-symtab.exp: Add tests to test the new attribute
5786 'last' of gdb.Symtab_and_line.
5787 * gdb.python/py-symbol.c: Move break point comment to enable
5788 testing of gdb.Symtab_and_line.last.
5789
14fcc022
TT
57902012-06-26 Tom Tromey <tromey@redhat.com>
5791
5792 * gdb.threads/step.c: Remove.
5793 * gdb.threads/step.exp: Remove.
5794 * gdb.threads/step2.exp: Remove.
5795
0efbbabc
TT
57962012-06-26 Tom Tromey <tromey@redhat.com>
5797
5798 * gdb.threads/watchpoint-fork.exp (test): Use
5799 standard_output_file. Don't declare objdir.
5800 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
5801 standard_output_file.
5802 * gdb.threads/attach-stopped.exp: Use standard_testfile.
5803 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
5804 clean_restart. Remove incdir.
5805 * gdb.threads/corethreads.exp: Use standard_testfile.
5806 * gdb.threads/execl.exp: Use standard_testfile,
5807 standard_output_file, clean_restart.
5808 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
5809 clean_restart.
5810 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
5811 clean_restart.
5812 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
5813 incdir.
5814 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
5815 clean_restart. Remove incdir.
5816 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
5817 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
5818 clean_restart. Remove incdir.
5819 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
5820 Remove incdir.
5821 * gdb.threads/leader-exit.exp: Use standard_testfile.
5822 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
5823 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
5824 clean_restart.
5825 * gdb.threads/manythreads.exp: Use standard_testfile,
5826 clean_restart. Remove incdir.
5827 * gdb.threads/multi-create.exp: Use standard_testfile,
5828 clean_restart.
5829 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
5830 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
5831 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
5832 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
5833 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
5834 * gdb.threads/pending-step.exp: Use standard_testfile,
5835 clean_restart. Remove incdir.
5836 * gdb.threads/print-threads.exp: Use standard_testfile,
5837 clean_restart. Remove incdir.
5838 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
5839 clean_restart. Remove incdir.
5840 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
5841 Remove incdir.
5842 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
5843 incdir.
5844 * gdb.threads/sigthread.exp: Use standard_testfile,
5845 clean_restart.
5846 * gdb.threads/staticthreads.exp: Use standard_testfile,
5847 clean_restart. Remove incdir.
5848 * gdb.threads/switch-threads.exp: Use standard_testfile,
5849 clean_restart. Remove incdir.
5850 * gdb.threads/thread-execl.exp: Use standard_testfile,
5851 clean_restart. Remove incdir.
5852 * gdb.threads/thread-find.exp: Use standard_testfile,
5853 clean_restart.
5854 * gdb.threads/thread-specific.exp: Use standard_testfile,
5855 clean_restart. Remove incdir.
5856 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
5857 clean_restart. Remove incdir.
5858 * gdb.threads/thread_check.exp: Use standard_testfile,
5859 clean_restart. Remove incdir.
5860 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
5861 incdir.
5862 * gdb.threads/threadapply.exp: Use standard_testfile,
5863 clean_restart. Remove incdir.
5864 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
5865 clean_restart. Remove incdir.
5866 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
5867 clean_restart.
5868 * gdb.threads/tls-shared.exp: Use standard_testfile,
5869 clean_restart, standard_output_file.
5870 * gdb.threads/tls-var.exp: Use standard_testfile,
5871 standard_output_file.
5872 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
5873 Remove incdir.
5874 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
5875 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
5876 incdir.
5877 * gdb.threads/watchthreads2.exp: Use standard_testfile,
5878 clean_restart. Remove incdir.
5879
497a5eb0
TT
58802012-06-26 Tom Tromey <tromey@redhat.com>
5881
5882 * gdb.trace/actions.exp: Use standard_testfile.
5883 * gdb.trace/ax.exp: Use standard_testfile.
5884 * gdb.trace/backtrace.exp: Use standard_testfile.
5885 * gdb.trace/change-loc.exp: Use standard_testfile.
5886 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
5887 * gdb.trace/collection.exp: Use standard_testfile,
5888 prepare_for_testing.
5889 * gdb.trace/deltrace.exp: Use standard_testfile.
5890 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
5891 * gdb.trace/ftrace.exp: Use standard_testfile.
5892 * gdb.trace/infotrace.exp: Use standard_testfile.
5893 * gdb.trace/packetlen.exp: Use standard_testfile.
5894 * gdb.trace/passc-dyn.exp: Use standard_testfile.
5895 * gdb.trace/passcount.exp: Use standard_testfile.
5896 * gdb.trace/pending.exp: Use standard_testfile.
5897 * gdb.trace/report.exp: Use standard_testfile.
5898 * gdb.trace/save-trace.exp: Use standard_testfile.
5899 * gdb.trace/stap-trace.exp: Use standard_testfile.
5900 * gdb.trace/status-stop.exp: Use standard_testfile.
5901 * gdb.trace/strace.exp: Use standard_testfile.
5902 * gdb.trace/tfile.exp: Use standard_testfile.
5903 * gdb.trace/tfind.exp: Use standard_testfile.
5904 * gdb.trace/trace-break.exp: Use standard_testfile.
5905 * gdb.trace/trace-mt.exp: Use standard_testfile.
5906 * gdb.trace/tracecmd.exp: Use standard_testfile.
5907 * gdb.trace/tspeed.exp: Use standard_testfile.
5908 * gdb.trace/tstatus.exp: Use standard_testfile.
5909 * gdb.trace/tsv.exp: Use standard_testfile.
5910 * gdb.trace/unavailable.exp: Use standard_testfile,
5911 prepare_for_testing.
5912 * gdb.trace/while-dyn.exp: Use standard_testfile.
5913 * gdb.trace/while-stepping.exp: Use standard_testfile.
5914
7686c074
TT
59152012-06-26 Tom Tromey <tromey@redhat.com>
5916
5917 * gdb.reverse/break-precsave.exp: Use standard_testfile.
5918 * gdb.reverse/break-reverse.exp: Use standard_testfile.
5919 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
5920 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
5921 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
5922 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
5923 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
5924 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
5925 prepare_for_testing.
5926 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
5927 prepare_for_testing.
5928 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
5929 prepare_for_testing.
5930 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
5931 prepare_for_testing.
5932 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
5933 prepare_for_testing
5934 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
5935 * gdb.reverse/machinestate.exp: Use standard_testfile.
5936 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
5937 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
5938 build_executable.
5939 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
5940 build_executable.
5941 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
5942 standard_output_file.
5943 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
5944 standard_output_file.
5945 * gdb.reverse/step-precsave.exp: Use standard_testfile.
5946 * gdb.reverse/step-reverse.exp: Use standard_testfile.
5947 * gdb.reverse/until-precsave.exp: Use standard_testfile.
5948 * gdb.reverse/until-reverse.exp: Use standard_testfile.
5949 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
5950 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
5951
481fc100
TT
59522012-06-26 Tom Tromey <tromey@redhat.com>
5953
5954 * gdb.stabs/weird.exp: Remove directory-checking code. Use
5955 standard_output_file.
5956 * gdb.stabs/exclfwd.exp: Use standard_testfile,
5957 prepare_for_testing. Remove directory-checking code.
5958
7bb18ae2
TT
59592012-06-25 Tom Tromey <tromey@redhat.com>
5960
5961 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
5962 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
5963 build_executable, not prepare_for_testing.
5964 * gdb.multi/base.exp: Use standard_output_file. Use
5965 build_executable, not prepare_for_testing.
5966
cf09b3e4
TT
59672012-06-25 Tom Tromey <tromey@redhat.com>
5968
5969 * gdb.fortran/subarray.exp: Use standard_testfile,
5970 prepare_for_testing.
5971 * gdb.fortran/multi-dim.exp: Use standard_testfile.
5972 * gdb.fortran/module.exp: Use standard_testfile.
5973 * gdb.fortran/logical.exp: Use standard_testfile.
5974 * gdb.fortran/library-module.exp: Use standard_testfile,
5975 standard_output_file.
5976 * gdb.fortran/derived-type.exp: Use standard_testfile,
5977 prepare_for_testing.
5978 * gdb.fortran/complex.exp: Use standard_testfile,
5979 prepare_for_testing.
5980 * gdb.fortran/charset.exp: Use standard_testfile.
5981 * gdb.fortran/array-element.exp: Use standard_testfile,
5982 prepare_for_testing.
5983
18b5ff1b
KS
59842012-06-25 Keith Seitz <keiths@redhat.com>
5985
5986 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
5987 Change rbreak-related tests to KFAIL and add bugzilla numbers.
5988
17b77626
TT
59892012-06-25 Tom Tromey <tromey@redhat.com>
5990
5991 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
5992 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
5993 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
5994 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
5995
f91e3dc1
TT
59962012-06-25 Tom Tromey <tromey@redhat.com>
5997
5998 * gdb.linespec/ls-errs.exp: Use standard_testfile.
5999 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
6000 * gdb.linespec/linespec.exp: Use standard_testfile.
6001
a884434d
TT
60022012-06-25 Tom Tromey <tromey@redhat.com>
6003
6004 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
6005 prepare_for_testing.
6006
efc9d70a
TT
60072012-06-25 Tom Tromey <tromey@redhat.com>
6008
6009 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
6010 prepare_for_testing.
6011 * gdb.opt/inline-break.exp: Use standard_testfile,
6012 prepare_for_testing.
6013 * gdb.opt/inline-bt.exp: Use standard_testfile,
6014 prepare_for_testing.
6015 * gdb.opt/inline-cmds.exp: Use standard_testfile,
6016 prepare_for_testing.
6017 * gdb.opt/inline-locals.exp: Use standard_testfile,
6018 prepare_for_testing.
6019
e2fc92c6
TT
60202012-06-25 Tom Tromey <tromey@redhat.com>
6021
6022 * gdb.asm/asm-source.exp: Use standard_output_file,
6023 standard_testfile. Construct .o files in proper subdir.
6024
b0963d73
TT
60252012-06-25 Tom Tromey <tromey@redhat.com>
6026
6027 * gdb.server/ext-attach.exp: Use standard_testfile,
6028 prepare_for_testing.
6029 * gdb.server/ext-run.exp: Use standard_testfile,
6030 build_executable.
6031 * gdb.server/file-transfer.exp: Use standard_testfile,
6032 prepare_for_testing.
6033 * gdb.server/server-exec-info.exp: Use standard_testfile.
6034 * gdb.server/server-mon.exp: Use standard_testfile,
6035 prepare_for_testing.
6036 * gdb.server/server-run.exp: Use standard_testfile,
6037 build_executable.
6038 * gdb.server/solib-list.exp: Use standard_testfile,
6039 standard_output_file.
6040
8a3e1f8d
TT
60412012-06-25 Tom Tromey <tromey@redhat.com>
6042
6043 * lib/gdb.exp (standard_output_file): Use "file join".
6044 * gdb.go/chan.exp: Use standard_testfile.
6045 * gdb.go/handcall.exp: Use standard_testfile.
6046 * gdb.go/hello.exp: Use standard_testfile.
6047 * gdb.integers/chan.exp: Use standard_testfile.
6048 * gdb.go/methods.exp: Use standard_testfile.
6049 * gdb.go/package.exp: Use standard_testfile.
6050 * gdb.go/strings.exp: Use standard_testfile.
6051 * gdb.go/types.exp: Use standard_testfile.
6052 * gdb.go/unsafe.exp: Use standard_testfile.
6053
944a9061
MGD
60542012-06-25 Greta Yorsh <greta.yorsh@arm.com>
6055
6056 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
6057
1c06bd58
JK
60582012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6059
6060 Fix regression by the previous commit.
6061 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
6062
b4a58790
TT
60632012-06-22 Tom Tromey <tromey@redhat.com>
6064
6065 * gdb.python/lib-types.exp: Use standard_testfile,
6066 prepare_for_testing.
6067 * gdb.python/py-block.exp: Use standard_testfile.
6068 * gdb.python/py-breakpoint.exp: Use standard_testfile.
6069 * gdb.python/py-events.exp: Use standard_testfile,
6070 standard_output_file.
6071 * gdb.python/py-evsignal.exp: Use standard_testfile.
6072 * gdb.python/py-evethreads.exp: Use standard_testfile.
6073 * gdb.python/py-explore-cc.exp: Use standard_testfile.
6074 * gdb.python/py-explore.exp: Use standard_testfile.
6075 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
6076 standard_output_file.
6077 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
6078 prepare_for_testing.
6079 * gdb.python/py-frame-inline.exp: Use standard_testfile.
6080 * gdb.python/py-frame.exp: Use standard_testfile.
6081 * gdb.python/py-inferior.exp: Use standard_testfile.
6082 * gdb.python/py-infthread.exp: Use standard_testfile.
6083 * gdb.python/py-mi.exp: Use standard_testfile.
6084 * gdb.python/py-objfile-script.exp: Use standard_testfile,
6085 build_executable.
6086 * gdb.python/py-objfile.exp: Use standard_testfile.
6087 * gdb.python/py-pp-maint.exp: Use standard_testfile,
6088 prepare_for_testing.
6089 * gdb.python/py-prettyprint.exp: Use standard_testfile.
6090 * gdb.python/py-progspace.exp: Use standard_testfile,
6091 build_executable.
6092 * gdb.python/py-prompt.exp: Use standard_testfile,
6093 build_executable.
6094 * gdb.python/py-section-script.exp: Use standard_testfile,
6095 build_executable.
6096 * gdb.python/py-shared.exp: Use standard_testfile,
6097 standard_output_file, clean_restart.
6098 * gdb.python/py-symbol.exp: Use standard_output_file,
6099 prepare_for_testing.
6100 * gdb.python/py-symtab.exp: Use standard_output_file,
6101 prepare_for_testing
6102 * gdb.python/py-template.exp: Use standard_testfile.
6103 * gdb.python/py-type.exp: Use standard_testfile.
6104 * gdb.python/py-value-cc.exp: Use standard_testfile.
6105 * gdb.python/py-value.exp: Use standard_testfile.
6106 * gdb.python/python.exp: Use standard_testfile, build_executable.
6107
2c44deac
TT
61082012-06-22 Tom Tromey <tromey@redhat.com>
6109
6110 * gdb.objc/basicclass.exp: Use standard_testfile.
6111 (do_objc_tests): Don't declare objdir.
6112 * gdb.objc/nondebug.exp: Use standard_testfile.
6113 (do_objc_tests): Don't declare objdir.
6114 * gdb.objc/objcdecode.exp: Use standard_testfile.
6115 (do_objc_tests): Don't declare objdir.
6116
c24ccbce
TT
61172012-06-22 Tom Tromey <tromey@redhat.com>
6118
6119 * gdb.java/jmain.exp: Use standard_testfile.
6120 * gdb.java/jmisc.exp: Use standard_testfile.
6121 * gdb.java/jnpe.exp: Use standard_testfile.
6122 * gdb.java/jprint.exp: Use standard_testfile.
6123
0a6d0306
TT
61242012-06-22 Tom Tromey <tromey@redhat.com>
6125
6126 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
6127 (standard_output_file, standard_testfile): New procs.
6128 (build_executable, clean_restart): Use standard_output_file.
6129
6ea815ef
YQ
61302012-06-22 Yao Qi <yao@codesourcery.com>
6131
6132 * boards/native-gdbserver.exp: New proc ${board}_exec.
6133 * boards/native-stdio-gdbserver.exp: Likewise.
6134
4c93b1db
TT
61352012-06-21 Tom Tromey <tromey@redhat.com>
6136
6137 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
6138 (build_executable): Update.
6139 (get_compiler_info): Remove 'binfile' argument.
6140 * gdb.ada/arrayidx.exp: Update.
6141 * gdb.ada/null_array.exp: Update.
6142 * gdb.arch/altivec-abi.exp: Update.
6143 * gdb.arch/altivec-regs.exp: Update.
6144 * gdb.arch/amd64-byte.exp: Update.
6145 * gdb.arch/amd64-dword.exp: Update.
6146 * gdb.arch/amd64-word.exp: Update.
6147 * gdb.arch/i386-avx.exp: Update.
6148 * gdb.arch/i386-byte.exp: Update.
6149 * gdb.arch/i386-sse.exp: Update.
6150 * gdb.arch/i386-word.exp: Update.
6151 * gdb.arch/ppc-dfp.exp: Update.
6152 * gdb.arch/ppc-fp.exp: Update.
6153 * gdb.arch/vsx-regs.exp: Update.
6154 * gdb.base/all-bin.exp: Update.
6155 * gdb.base/annota1.exp: Update.
6156 * gdb.base/async.exp: Update.
6157 * gdb.base/attach.exp: Update.
6158 * gdb.base/break-interp.exp: Update.
6159 * gdb.base/call-ar-st.exp: Update.
6160 * gdb.base/call-rt-st.exp: Update.
6161 * gdb.base/call-sc.exp: Update.
6162 * gdb.base/callfuncs.exp: Update.
6163 * gdb.base/catch-load.exp: Update.
6164 * gdb.base/completion.exp: Update.
6165 * gdb.base/complex.exp: Update.
6166 * gdb.base/condbreak.exp: Update.
6167 * gdb.base/consecutive.exp: Update.
6168 * gdb.base/constvars.exp: Update.
6169 * gdb.base/corefile.exp: Update.
6170 * gdb.base/eval-skip.exp: Update.
6171 * gdb.base/expand-psymtabs.exp: Update.
6172 * gdb.base/exprs.exp: Update.
6173 * gdb.base/fileio.exp: Update.
6174 * gdb.base/fixsection.exp: Update.
6175 * gdb.base/funcargs.exp: Update.
6176 * gdb.base/gdb11530.exp: Update.
6177 * gdb.base/gdb1555.exp: Update.
6178 * gdb.base/gnu-ifunc.exp: Update.
6179 * gdb.base/gnu_vector.exp: Update.
6180 * gdb.base/info-macros.exp: Update.
6181 * gdb.base/jit-simple.exp: Update.
6182 * gdb.base/jit-so.exp: Update.
6183 * gdb.base/jit.exp: Update.
6184 * gdb.base/langs.exp: Update.
6185 * gdb.base/list.exp: Update.
6186 * gdb.base/logical.exp: Update.
6187 * gdb.base/long_long.exp: Update.
6188 * gdb.base/longjmp.exp: Update.
6189 * gdb.base/macscp.exp: Update.
6190 * gdb.base/mips_pro.exp: Update.
6191 * gdb.base/miscexprs.exp: Update.
6192 * gdb.base/morestack.exp: Update.
6193 * gdb.base/nodebug.exp: Update.
6194 * gdb.base/opaque.exp: Update.
6195 * gdb.base/pc-fp.exp: Update.
6196 * gdb.base/pending.exp: Update.
6197 * gdb.base/permissions.exp: Update.
6198 * gdb.base/pointers.exp: Update.
6199 * gdb.base/prelink.exp: Update.
6200 * gdb.base/printcmds.exp: Update.
6201 * gdb.base/psymtab.exp: Update.
6202 * gdb.base/ptype.exp: Update.
6203 * gdb.base/relational.exp: Update.
6204 * gdb.base/scope.exp: Update.
6205 * gdb.base/setvar.exp: Update.
6206 * gdb.base/shlib-call.exp: Update.
6207 * gdb.base/shreloc.exp: Update.
6208 * gdb.base/signals.exp: Update.
6209 * gdb.base/sizeof.exp: Update.
6210 * gdb.base/so-impl-ld.exp: Update.
6211 * gdb.base/so-indr-cl.exp: Update.
6212 * gdb.base/solib-disc.exp: Update.
6213 * gdb.base/solib-display.exp: Update.
6214 * gdb.base/solib-nodir.exp: Update.
6215 * gdb.base/solib-overlap.exp: Update.
6216 * gdb.base/solib-symbol.exp: Update.
6217 * gdb.base/solib-weak.exp: Update.
6218 * gdb.base/solib.exp: Update.
6219 * gdb.base/store.exp: Update.
6220 * gdb.base/structs.exp: Update.
6221 * gdb.base/structs2.exp: Update.
6222 * gdb.base/type-opaque.exp: Update.
6223 * gdb.base/unload.exp: Update.
6224 * gdb.base/varargs.exp: Update.
6225 * gdb.base/volatile.exp: Update.
6226 * gdb.base/watch_thread_num.exp: Update.
6227 * gdb.base/watchpoint-solib.exp: Update.
6228 * gdb.base/watchpoint.exp: Update.
6229 * gdb.base/watchpoints.exp: Update.
6230 * gdb.base/whatis.exp: Update.
6231 * gdb.cell/arch.exp: Update.
6232 * gdb.cell/break.exp: Update.
6233 * gdb.cell/bt.exp: Update.
6234 * gdb.cell/core.exp: Update.
6235 * gdb.cell/data.exp: Update.
6236 * gdb.cell/ea-cache.exp: Update.
6237 * gdb.cell/f-regs.exp: Update.
6238 * gdb.cell/fork.exp: Update.
6239 * gdb.cell/gcore.exp: Update.
6240 * gdb.cell/mem-access.exp: Update.
6241 * gdb.cell/ptype.exp: Update.
6242 * gdb.cell/registers.exp: Update.
6243 * gdb.cell/sizeof.exp: Update.
6244 * gdb.cell/solib-symbol.exp: Update.
6245 * gdb.cell/solib.exp: Update.
6246 * gdb.cp/ambiguous.exp: Update.
6247 * gdb.cp/breakpoint.exp: Update.
6248 * gdb.cp/bs15503.exp: Update.
6249 * gdb.cp/casts.exp: Update.
6250 * gdb.cp/class2.exp: Update.
6251 * gdb.cp/cpexprs.exp: Update.
6252 * gdb.cp/cplusfuncs.exp: Update.
6253 * gdb.cp/ctti.exp: Update.
6254 * gdb.cp/dispcxx.exp: Update.
6255 * gdb.cp/gdb1355.exp: Update.
6256 * gdb.cp/gdb2384.exp: Update.
6257 * gdb.cp/gdb2495.exp: Update.
6258 * gdb.cp/infcall-dlopen.exp: Update.
6259 * gdb.cp/local.exp: Update.
6260 * gdb.cp/m-data.exp: Update.
6261 * gdb.cp/m-static.exp: Update.
6262 * gdb.cp/mb-ctor.exp: Update.
6263 * gdb.cp/mb-inline.exp: Update.
6264 * gdb.cp/mb-templates.exp: Update.
6265 * gdb.cp/member-ptr.exp: Update.
6266 * gdb.cp/method.exp: Update.
6267 * gdb.cp/namespace.exp: Update.
6268 * gdb.cp/nextoverthrow.exp: Update.
6269 * gdb.cp/nsdecl.exp: Update.
6270 * gdb.cp/nsrecurs.exp: Update.
6271 * gdb.cp/nsstress.exp: Update.
6272 * gdb.cp/nsusing.exp: Update.
6273 * gdb.cp/pr-1023.exp: Update.
6274 * gdb.cp/pr-1210.exp: Update.
6275 * gdb.cp/pr-574.exp: Update.
6276 * gdb.cp/pr9631.exp: Update.
6277 * gdb.cp/printmethod.exp: Update.
6278 * gdb.cp/psmang.exp: Update.
6279 * gdb.cp/re-set-overloaded.exp: Update.
6280 * gdb.cp/rtti.exp: Update.
6281 * gdb.cp/shadow.exp: Update.
6282 * gdb.cp/templates.exp: Update.
6283 * gdb.cp/try_catch.exp: Update.
6284 * gdb.dwarf2/dw2-ranges.exp: Update.
6285 * gdb.dwarf2/pr10770.exp: Update.
6286 * gdb.fortran/library-module.exp: Update.
6287 * gdb.hp/gdb.aCC/optimize.exp: Update.
6288 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
6289 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
6290 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
6291 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
6292 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
6293 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
6294 * gdb.hp/gdb.compat/xdb1.exp: Update.
6295 * gdb.hp/gdb.compat/xdb2.exp: Update.
6296 * gdb.hp/gdb.compat/xdb3.exp: Update.
6297 * gdb.hp/gdb.defects/bs14602.exp: Update.
6298 * gdb.hp/gdb.defects/solib-d.exp: Update.
6299 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
6300 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
6301 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
6302 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
6303 * gdb.mi/gdb792.exp: Update.
6304 * gdb.mi/mi-pending.exp: Update.
6305 * gdb.mi/mi-solib.exp: Update.
6306 * gdb.mi/mi-var-cp.exp: Update.
6307 * gdb.opt/clobbered-registers-O2.exp: Update.
6308 * gdb.opt/inline-bt.exp: Update.
6309 * gdb.opt/inline-cmds.exp: Update.
6310 * gdb.opt/inline-locals.exp: Update.
6311 * gdb.python/py-events.exp: Update.
6312 * gdb.python/py-finish-breakpoint.exp: Update.
6313 * gdb.python/py-type.exp: Update.
6314 * gdb.reverse/solib-precsave.exp: Update.
6315 * gdb.reverse/solib-reverse.exp: Update.
6316 * gdb.server/solib-list.exp: Update.
6317 * gdb.stabs/weird.exp: Update.
6318 * gdb.threads/attach-into-signal.exp: Update.
6319 * gdb.threads/attach-stopped.exp: Update.
6320 * gdb.threads/tls-shared.exp: Update.
6321 * gdb.trace/change-loc.exp: Update.
6322 * gdb.trace/strace.exp: Update.
6323
95c391b6
TT
63242012-06-19 Tom Tromey <tromey@redhat.com>
6325
6326 * gdb.base/whatis.exp: Add tests.
6327
e910f0b6
TT
63282012-06-19 Tom Tromey <tromey@redhat.com>
6329
6330 * gdb.cp/m-static.cc (keepalive): New function.
6331 (gnu_obj_1::method): Use it.
6332
422d65e7
DE
63332012-06-18 Doug Evans <dje@google.com>
6334
6335 * gdb.base/info-fun.exp: New file.
6336 * gdb.base/info-fun.c: New file.
6337 * gdb.base/info-fun-solib.c: New file.
6338
e2e4d78b
JK
63392012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6340
6341 Remove stale dummy frames.
6342 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
6343 (maintenance info breakpoints): New tests.
6344 * gdb.base/stale-infcall.c: New file.
6345 * gdb.base/stale-infcall.exp: New file.
6346
1788b2d3
JK
63472012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6348
6349 * gdb.arch/amd64-entry-value-param.S: New file.
6350 * gdb.arch/amd64-entry-value-param.c: New file.
6351 * gdb.arch/amd64-entry-value-param.exp: New file.
6352
663b969e
TT
63532012-06-15 Tom Tromey <tromey@redhat.com>
6354
6355 * gdb.cp/namespace.exp: Add "show lang" test.
6356
8e09ad05
IS
63572012-06-15 Iain Sandoe <iain@codesourcery.com>
6358
6359 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
6360 case. (top level): Use gdb_file_cmd instead of gdb_load.
6361
f85e18ee
JK
63622012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6363
6364 PR tdep/14222
6365 * gdb.arch/i386-sse-stack-align.S: New file.
6366 * gdb.arch/i386-sse-stack-align.c: New file.
6367 * gdb.arch/i386-sse-stack-align.exp: New file.
6368
f3b5e280
KS
63692012-06-13 Keith Seitz <keiths@redhat.com>
6370
6371 PR breakpoints/13798 and mi/11541
6372 * gdb.linespec/ls-errs.exp: Add a few more tests for
6373 filenames with spaces and colons.
6374
50af5481
JK
63752012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6376
6377 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
6378 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
6379 (test_function): Call CV_f.
6380 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
6381 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
6382 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
6383 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
6384 (p CV_f(CV::i)): New tests.
6385
d55637df
TT
63862012-06-13 Tom Tromey <tromey@redhat.com>
6387
6388 * gdb.base/condbreak.exp: Add tests for "condition" completion.
6389
cc80f267
JK
63902012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6391
6392 Fix regression by the "ambiguous linespec" series.
6393 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
6394 tests.
6395
bb2af9cc
JK
63962012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6397
6398 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
6399 missing.
6400
e81a37f7
TT
64012012-06-11 Tom Tromey <tromey@redhat.com>
6402
6403 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
6404 location...
6405 (main): ...here.
6406
8efd7788
YQ
64072012-06-07 Yao Qi <yao@codesourcery.com>
6408
6409 * gdb.trace/strace.exp: Shorten some too-long lines.
6410
359f5fe6
PA
64112012-06-06 Pedro Alves <palves@redhat.com>
6412
6413 * gdb.threads/clone-new-thread-event.c: New file.
6414 * gdb.threads/clone-new-thread-event.exp: New file.
6415
7b2fe205
YQ
64162012-06-06 Yao Qi <yao@codesourcery.com>
6417
6418 * gdb.base/dprintf.c (main): Add extra parameter when calling
6419 printf and fprintf.
6420 (bar): New function. It is a dead function, but to ensure
6421 'malloc' is linked explicitly.
6422
3eca55e8
YQ
64232012-06-06 Yao Qi <yao@codesourcery.com>
6424
6425 * gdb.base/info-proc.exp: Return if target doesn't support
6426 'info proc'.
6427
91cc9324
JK
64282012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6429
6430 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
6431 (run program with breakpoint commands): XFAIl if it is not.
6432
c56e7c43
JB
64332012-06-05 Joel Brobecker <brobecker@adacore.com>
6434
6435 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
6436 and add comment.
6437 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
6438 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
6439 "STOP" marker. Adjust testing strategy to make it work on
6440 all targets.
6441
6442 * gdb.base/print-file-var-main.c (main): Rewrite using local
6443 variables and adjust get_version_2's return value check.
6444 Add small comment.
6445 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
6446 marker. Adjust testing strategy to make it work on all targets.
6447
ccab2054
JB
64482012-06-05 Joel Brobecker <brobecker@adacore.com>
6449
6450 * gdb.ada/bad-task-bp-keyword: New testcase.
6451
d0d86158
JK
64522012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6453
6454 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
6455 Simplify it to ...
6456 (symbol-file ${testfile1}): ... here.
6457 (test eliminated var my_global_symbol)
6458 (test eliminated var my_static_symbol)
6459 (test eliminated var my_global_func, get address of main): Wrap them to
6460 'single psymtabs' and 'single symtabs'
6461 (get address of my_global_symbol, get address of my_static_symbol)
6462 (get address of my_global_func, get address of main): Wrap them to
6463 'order1' and 'order2'.
6464
952cf74c
JK
6465 * gdb.base/code_elim.exp
6466 (add-symbol-file ${testfile1} 0x100000)
6467 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
6468 'order2'.
6469 (order1: add-symbol-file ${testfile1} 0x100000)
6470 (order1: add-symbol-file ${testfile2} 0x200000)
6471 (order2: add-symbol-file ${testfile2} 0x200000)
6472 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
6473 .bss as appropriate.
6474
0c5bf5a9
JK
64752012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6476
6477 * gdb.server/solib-list-lib.c: New file.
6478 * gdb.server/solib-list-main.c: New file.
6479 * gdb.server/solib-list.exp: New file.
6480
4196f325
MR
64812012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
6482
6483 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
6484 for 'set print symbol' change.
6485
bfb05775
JK
64862012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6487
6488 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
6489 .debug_abbrev_seg3.
6490
685b1105
JK
64912012-05-24 John Steele Scott <toojays@toojays.net>
6492
6493 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
6494 * gdb.dwarf2/dw2-icc-opaque.S: New file.
6495 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
6496
f3e0e960
SS
64972012-05-23 Stan Shebs <stan@codesourcery.com>
6498
6499 * gdb.mi/mi-info-os.exp: New file.
6500
11eb1b4d
KS
65012012-05-23 Keith Seitz <keiths@redhat.com>
6502
6503 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
6504 return -1 to suppress the rest of the tests.
6505 (compile_stap_bin): Return boolean success value.
6506
b1af9e97
TT
65072012-05-21 Tom Tromey <tromey@redhat.com>
6508
6509 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
6510 Remove kfails.
6511 (test_print_mi_member_types): Likewise.
6512
248537e3
TT
65132012-05-21 Tom Tromey <tromey@redhat.com>
6514
6515 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
6516 print symbol' change.
6517
d791e155
TJB
65182012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
6519
6520 * gdb.python/py-prompt.exp: Quit if the target is remote.
6521
e77afa2e
JK
65222012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6523
6524 Fix ERROR: internal buffer is full.
6525 * gdb.base/info-os.exp (expect_multiline): New function.
6526 (get process list, get process groups, get threads)
6527 (get file descriptors, get internet-domain sockets)
6528 (get shared-memory regions, get semaphores, get message queues): Use
6529 it for these tests.
6530
9cb709b6
TT
65312012-05-18 Tom Tromey <tromey@redhat.com>
6532
6533 * gdb.mi/mi-var-cmd.exp: Update.
6534 * gdb.objc/basicclass.exp (do_objc_tests): Update.
6535 * gdb.cp/virtbase.exp: Update.
6536 * gdb.cp/classes.exp (test_static_members): Update.
6537 * gdb.cp/casts.exp: Update.
6538 * gdb.base/pointers.exp: Update.
6539 * gdb.base/funcargs.exp (pointer_args): Update.
6540 (structs_by_reference): Update.
6541 * gdb.base/find.exp: Update.
6542 * gdb.base/call-strs.exp: Send "set print symbol off".
6543 * gdb.base/call-ar-st.exp: Update.
6544 * gdb.ada/fun_addr.exp: Update.
6545 * gdb.base/printcmds.exp (test_print_symbol): New proc.
6546 Call it.
6547 (test_print_repeats_10, test_print_strings)
6548 (test_print_char_arrays): Update.
6549
b012acdd
TT
65502012-05-18 Tom Tromey <tromey@redhat.com>
6551
6552 * gdb.base/charset.exp (string_display): Update.
6553
1d51a733
TT
65542012-05-18 Tom Tromey <tromey@redhat.com>
6555
6556 * gdb.mi/mi2-var-display.exp: Update.
6557 * gdb.mi/mi-var-display.exp: Update.
6558 * gdb.mi/mi-var-child.exp: Update.
6559 * gdb.cp/expand-psymtabs-cxx.exp: Update.
6560 * gdb.cp/cp-relocate.exp (get_func_address): Update.
6561
957df313
DE
65622012-05-17 Doug Evans <dje@google.com>
6563
682c7f7b
DE
6564 * info-macros.exp: Pass "debug" to prepare_for_testing.
6565
957df313
DE
6566 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
6567 * gdb.ada/Makefile.in (clean): Ditto.
6568 * gdb.arch/Makefile.in (clean): Ditto.
6569 * gdb.asm/Makefile.in (clean): Ditto.
6570 * gdb.base/Makefile.in (clean): Ditto.
6571 * gdb.cell/Makefile.in (clean): Ditto.
6572 * gdb.cp/Makefile.in (clean): Ditto.
6573 * gdb.disasm/Makefile.in (clean): Ditto.
6574 * gdb.dwarf2/Makefile.in (clean): Ditto.
6575 * gdb.fortran/Makefile.in (clean): Ditto.
6576 * gdb.go/Makefile.in (clean): Ditto.
6577 * gdb.hp/Makefile.in (clean): Ditto.
6578 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
6579 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
6580 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
6581 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
6582 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
6583 * gdb.java/Makefile.in (clean): Ditto.
6584 * gdb.linespec/Makefile.in (clean): Ditto.
6585 * gdb.mi/Makefile.in (clean): Ditto.
6586 * gdb.modula2/Makefile.in (clean): Ditto.
6587 * gdb.multi/Makefile.in (clean): Ditto.
6588 * gdb.objc/Makefile.in (clean): Ditto.
6589 * gdb.opencl/Makefile.in (clean): Ditto.
6590 * gdb.opt/Makefile.in (clean): Ditto.
6591 * gdb.pascal/Makefile.in (clean): Ditto.
6592 * gdb.python/Makefile.in (clean): Ditto.
6593 * gdb.reverse/Makefile.in (clean): Ditto.
6594 * gdb.server/Makefile.in (clean): Ditto.
6595 * gdb.stabs/Makefile.in (clean): Ditto.
6596 * gdb.threads/Makefile.in (clean): Ditto.
6597 * gdb.trace/Makefile.in (clean): Ditto.
6598 * gdb.xml/Makefile.in (clean): Ditto.
6599
abc9d0dc
TT
66002012-05-16 Tom Tromey <tromey@redhat.com>
6601
6602 * gdb.base/macscp1.c (macscp_expr): Add comment.
6603 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
6604
6a3a010b
MR
66052012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6606
6607 * gdb.base/return-nodebug.exp: Also test float and double types.
6608
01429c8e
JK
66092012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6610
6611 PR testsuite/12649
6612 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
6613
54115cd4
JK
6614 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
6615
0c5f383f
SDJ
66162012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
6617
6618 * gdb.base/stap-probe.exp (stap_test): Remove calls to
6619 `rerun_to_main'.
6620 (stap_test_no_debuginfo): Likewise.
6621
e7e0cddf
SS
66222012-05-14 Stan Shebs <stan@codesourcery.com>
6623
6624 * gdb.base/dprintf.c: New file.
6625 * gdb.base/dprintf.exp: New file.
6626
c772f8e7
HZ
66272012-05-14 Hui Zhu <hui_zhu@mentor.com>
6628
6629 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
6630 * gdb.trace/disconnected-tracing.c: New file.
6631 * gdb.trace/disconnected-tracing.exp: New file.
6632
7efc75aa
SCR
66332012-05-13 Siva Chandra Reddy <sivachandra@google.com>
6634
6635 * gdb.python/python.c: Add a new breakpoint comment.
6636 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
6637
85d4a676
SS
66382011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
6639
6640 * gdb.base/info-os.exp: New file.
6641 * gdb.base/info-os.c: New file.
6642
64ea88dc
JB
66432012-05-10 Joel Brobecker <brobecker@adacore.com>
6644
4647ab1b
JB
6645 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
6646 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
6647 New files.
64ea88dc 6648
afba63f1
JB
66492012-05-10 Joel Brobecker <brobecker@adacore.com>
6650
6651 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
6652 gdb.base/ctxobj.exp: New files.
6653
9d198b1e
TT
66542012-05-09 Tom Tromey <tromey@redhat.com>
6655
6656 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
6657
9bfee719
MR
66582012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
6659
6660 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
6661
3a7341d8
MR
66622012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
6663
6664 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
6665 before using it.
6666
52b3699b
TG
66672012-05-04 Tristan Gingold <gingold@adacore.com>
6668
6669 * gdb.base/set-noassign.exp: New test.
6670
a20ee7a4
SCR
66712012-05-03 Siva Chandra Reddy <sivachandra@google.com>
6672
6673 * gdb.python/py-symbol.exp: Add tests to test the new methods
6674 gdb.Symtab.global_block() and gdb.Symtab.static_block().
6675 * gdb.python/py-symbol.c: Add new struct to help test
6676 gdb.Symtab.static_block().
6677
bf2f0858
DE
66782012-05-03 Doug Evans <dje@google.com>
6679
6680 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
6681 commented out.
6682
2d4e0376
YQ
66832012-05-03 Yao Qi <yao@codesourcery.com>
6684
6685 * gdb.base/catch-syscall.exp: Skip it before compilation if target
6686 doesn't support.
6687 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
6688 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
6689
6d0bb9f3
YQ
66902012-05-03 Yao Qi <yao@codesourcery.com>
6691
6692 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
6693
fd820528
DE
66942012-04-30 Doug Evans <dje@google.com>
6695
6696 PR testsuite/13961
6697 * gdb.dwarf2/pr13961.S: New file.
6698 * gdb.dwarf2/pr13961.exp: New file.
6699
b9e219b9
YQ
67002012-04-29 Yao Qi <yao@codesourcery.com>
6701
6702 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
6703
3019eac3
DE
67042012-04-28 Doug Evans <dje@google.com>
6705
6706 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
6707 .Ltype_int_in_cu2. Use name "int2" instead of "int".
6708 All uses updated.
6709 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
6710 "ptype func_cu1" to expand cu2 before cu1.
6711
62e5f89c
SDJ
67122012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
6713 Tom Tromey <tromey@redhat.com>
6714
6715 * gdb.base/default.exp: Add `$_probe_arg*' convenience
6716 variables.
6717 * gdb.base/stap-probe.c: New file.
6718 * gdb.base/stap-probe.exp: New file.
6719 * gdb.trace/stap-trace.c: New file.
6720 * gdb.trace/stap-trace.exp: New file.
6721 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
6722 libgcc's unwinder.
6723
14132e89
MR
67242012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
6725
6726 * gdb.arch/mips16-thunks-inmain.c: New file.
6727 * gdb.arch/mips16-thunks-main.c: New file.
6728 * gdb.arch/mips16-thunks-sin.c: New file.
6729 * gdb.arch/mips16-thunks-sinfrob.c: New file.
6730 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
6731 * gdb.arch/mips16-thunks-sinmain.c: New file.
6732 * gdb.arch/mips16-thunks-sinmips16.c: New file.
6733 * gdb.arch/mips16-thunks.exp: New file.
6734
a766d390
DE
67352012-04-25 Doug Evans <dje@google.com>
6736
6737 * configure.ac: Create gdb.go/Makefile.
6738 * configure: Regenerate.
6739 * gdb.base/default.exp: Add "go" to "set language" testing.
6740 * gdb.go/Makefile.in: New file.
6741 * gdb.go/basic-types.exp: New file.
6742 * gdb.go/chan.exp: New file.
6743 * gdb.go/chan.go: New file.
6744 * gdb.go/handcall.exp: New file.
6745 * gdb.go/handcall.go: New file.
6746 * gdb.go/hello.exp: New file.
6747 * gdb.go/hello.go: New file.
6748 * gdb.go/integers.exp: New file.
6749 * gdb.go/integers.go: New file.
6750 * gdb.go/methods.exp: New file.
6751 * gdb.go/methods.go: New file.
6752 * gdb.go/package.exp: New file.
6753 * gdb.go/package1.go: New file.
6754 * gdb.go/package2.go: New file.
6755 * gdb.go/print.exp: New file.
6756 * gdb.go/strings.exp: New file.
6757 * gdb.go/strings.go: New file.
6758 * gdb.go/types.exp: New file.
6759 * gdb.go/types.go: New file.
6760 * gdb.go/unsafe.exp: New file.
6761 * gdb.go/unsafe.go: New file.
6762 * lib/future.exp: Add Go support.
6763 (gdb_find_go, gdb_find_go_linker): New procs.
6764 (gdb_default_target_compile): Add Go support.
6765 * lib/gdb.exp (skip_go_tests): New proc.
6766 * lib/go.exp: New file.
6767
e65f9ffb
TT
67682012-04-25 Tom Tromey <tromey@redhat.com>
6769
6770 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
6771
14e75d8e
JK
67722012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6773 Jan Kratochvil <jan.kratochvil@redhat.com>
6774
6775 PR symtab/7259:
6776 * gdb.base/enumval.c: New test case.
6777 * gdb.base/enumval.exp: New test case.
6778 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
6779 field.bitpos.
6780
f3525b70
PA
67812012-04-17 Pedro Alves <palves@redhat.com>
6782
6783 * Makefile.in (site.exp): Make site.exp source
6784 $srcdir/lib/append_gdb_boards_dir.exp.
6785 * lib/append_gdb_boards_dir.exp: New file.
6786
bccbefd2
JK
67872012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6788
6789 New option "set auto-load safe-path".
6790 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
6791 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
6792
bf88dd68
JK
67932012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6794
6795 auto-load: Implementation.
6796 * gdb.base/help.exp (test set height): Increase the height.
6797 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
6798 to ...
6799 (info auto-load python-scripts): ... here.
6800 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
6801 to ...
6802 (info auto-load python-scripts *): ... here.
6803
c0d4d1c0
YQ
68042012-04-16 Yao Qi <yao@codesourcery.com>
6805
6806 * lib/trace-support.exp (get_in_proc_agent): New.
6807 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
6808 of in process trace agent.
6809 * gdb.trace/ftrace.exp: Likewise.
6810 * gdb.trace/pending.exp: Likewise.
6811 * gdb.trace/trace-break.exp: Likewise.
6812 * gdb.trace/trace-mt.exp
6813 * gdb.trace/tspeed.exp: Likewise.
6814 * gdb.trace/tstatus.exp
6815 * gdb.trace/strace.exp: Likewise.
6816
cbf68a60
TS
68172012-04-16 Thomas Schwinge <thomas@codesourcery.com>
6818
dd6d3b70
TS
6819 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
6820 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
6821
cbf68a60
TS
6822 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
6823
8264ba82
AG
68242012-04-14 Anton Gorenkov <xgsa@yandex.ru>
6825
6826 PR mi/13393
6827 * gdb.mi/mi-var-rtti.cc: New file.
6828 * gdb.mi/mi-var-rtti.exp: New file.
6829 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
6830 function.
6831 (mi_varobj_update_with_type_change): updated to avoid code duplication.
6832
de0919f8 68332012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
6834
6835 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
6836 EXECUTABLES.
6837 * gdb.python/py-explore.c: C program used for testing the new
6838 'explore' command on C constructs.
6839 * gdb.python/py-explore.cc: C++ program used for testing the new
6840 'explore' command on C++ constructs.
6841 * gdb-python/py-explore.exp: Tests for the new 'explore'
6842 command on C constructs.
6843 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
6844 command on C++ constructs.
6845
a82da7dd
MK
68462012-04-07 Mark Kettenis <kettenis@gnu.org>
6847
6848 * gdb.base/funcargs.exp (complex_args): Fix typo.
6849
e127cba8
JK
68502012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6851
6852 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
6853 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
6854
40e084e1
KS
68552012-04-05 Keith Seitz <keiths@redhat.com>
6856
6857 * gdb.base/advance.exp: Update error message for
6858 "advance malformed" test.
6859 * gdb.base/break.exp: Likewise for "breakpoint with
6860 trailing garbage" test.
6861 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
6862 with trailing garbage" test.
6863 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
6864 trailng garbage" test.
6865 * gdb.base/until.exp: Likewise for "malformed until" test.
6866 * gdb.cp/ovldbreak.exp: Create the breakpoint table
6867 for "breakpoint info (after setting on all)".
6868 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
6869 tests.
6870 * gdb.cp/cplabel.cc: New file.
6871 * gdb.cp/cplabel.exp: New test.
6872 * gdb.linespec/ls-errs.c: New file.
6873 * gdb.linespec/ls-errs.exp: New test.
6874
a72c8f6a
JK
68752012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 * gdb.trace/unavailable.exp
6878 (collect globals: print object on: print derived_partial)
6879 (collect globals: print object on: print derived_whole)
6880 (collect globals: print object off: print derived_partial)
6881 (collect globals: print object off: print derived_whole): Update
6882 expected output.
6883
f87a3023
KS
68842012-03-30 Keith Seitz <keiths@redhat.com>
6885
6886 * gdb.python: Add test for linespecs with commas.
6887
e2171b3c
KS
68882012-03-28 Keith Seitz <keiths@redhat.com>
6889
6890 * gdb.linespec/ls-dollar.cc: New file.
6891 * gdb.linespec/ls-dollar.exp: New test.
6892
68932012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
6894
6895 * gdb.cp/namespace.exp: Add breakpoint tests for functions
6896 starting with the global namespace.
6897
2f4e0a80
DE
68982012-03-23 Doug Evans <dje@google.com>
6899
6900 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
6901
7b282c5a
SCR
69022012-03-22 Siva Chandra Reddy <sivachandra@google.com>
6903
6904 * gdb.python/py-value.cc: Add test case for testing the
6905 methodology exposing C++ values to Python.
6906 * gdb.python/py-value-cc.exp: Add tests testing the methodology
6907 exposing C++ values to Python.
6908 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
6909
2e98ca53
JK
69102012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6911 Siddhesh Poyarekar <siddhesh@redhat.com>
6912
6913 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
6914 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
6915 (generate native core dump): Make the test unsupported if core cannot
6916 be generated.
6917
8320cc4f
JK
69182012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6919
6920 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
6921 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
6922 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
6923
3a69ffb2
JK
69242012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6925
6926 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
6927
8fabffee
DE
69282012-03-17 Doug Evans <dje@google.com>
6929
6930 * dg-extract-results.sh: Handle KFAILs.
6931
ab260dad
JK
69322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6933
6934 PR symtab/13777
6935 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
6936
53ba8333
JB
69372012-03-16 Joel Brobecker <brobecker@adacore.com>
6938
6939 * gdb.ada/set_pckd_arr_elt: New testcase.
6940
481860b3
GB
69412012-03-16 Gary Benson <gbenson@redhat.com>
6942
6943 PR breakpoints/10738
6944 * gdb.opt/inline-break.exp: New file.
6945 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
6946 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
6947 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
6948 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
6949 * gdb.base/async-shell.exp: Likewise.
6950 * lib/mi-support.exp (library_loaded_re): Likewise.
6951
410528f0
TT
69522012-03-15 Tom Tromey <tromey@redhat.com>
6953
6954 * gdb.cp/virtfunc2.exp: Update expected output.
6955 * gdb.cp/pr9631.exp: Update expected output.
6956 * gdb.cp/member-ptr.exp: Update expected output.
6957 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
6958 output.
6959 * gdb.cp/casts.exp: Update expected output.
6960
c4aeac85
TT
69612012-03-15 Tom Tromey <tromey@redhat.com>
6962
6963 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
6964 (test_info_vtbl): Likewise.
6965 (do_tests): Call test_info_vtbl.
6966 * gdb.cp/virtfunc.cc (va): New global.
6967
856d06f9
TS
69682012-03-15 Thomas Schwinge <thomas@codesourcery.com>
6969
6970 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
6971 describing DWARF data structures.
6972 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
6973 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
6974 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
6975 * gdb.dwarf2/dw2-entry-value.S: Likewise.
6976 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6977 * gdb.dwarf2/dw2-param-error.S: Likewise.
6978 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
6979 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
6980 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
6981 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
6982 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
6983 * gdb.dwarf2/pr11465.S: Likewise.
6984
e837f12a
JK
69852012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6986
6987 * gdb.mi/mi2-prompt.exp: New file.
6988
ccbb4f28
JB
69892012-03-13 Joel Brobecker <brobecker@adacore.com>
6990
6991 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
6992
32039130
JB
69932012-03-13 Joel Brobecker <brobecker@adacore.com>
6994
6995 * gdb.ada/bp_range_type: New testcase.
6996
16899756
DE
69972012-03-13 Doug Evans <dje@google.com>
6998
6999 * gdb.base/default.exp: Delete tests for symbol-reloading.
7000 * gdb.base/help.exp: Ditto.
7001 * gdb.base/setshow.exp: Ditto.
7002 * gdb.base/gdb_history: Delete references to symbol-reloading.
7003
87b0bb13
JK
70042012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7005
7006 * gdb.base/attach-twice.c: New files.
7007 * gdb.base/attach-twice.exp: New files.
7008
0d7941a9
KS
70092012-03-08 Keith Seitz <keiths@redhat.com>
7010
7011 * lib/gdb.exp (gdb_get_line_number): Throw an
7012 error instead of returning -1.
7013 * gdb.base/break.exp: Remove unused variable
7014 bp_location5.
7015 * gdb.base/hbreak2.exp: Likewise.
7016 * gdb.base/sepdebug.exp: Likewise.
7017
f4647387
YQ
70182012-03-08 Yao Qi <yao@codesourcery.com>
7019 Pedro Alves <palves@redhat.com>
7020
7021 Fix PR server/13392.
7022 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
7023 (tracepoint_change_loc_2): Remove kfail. Return if failed to
7024 download tracepoints.
7025 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
7026 (pending_tracepoint_resolved_during_trace): Likewise.
7027 (pending_tracepoint_installed_during_trace): Likewise.
7028 (pending_tracepoint_with_action_resolved): Likewise.
7029
83c532cb
KS
70302012-03-08 Keith Seitz <keiths@redhat.com>
7031
7032 * gdb.ada/array_bounds.exp: Get breakpoint for line
7033 with "START", not "STOP".
7034 * gdb.python/py-infthread.exp: Do not continue to
7035 line marked "Break here.", which is undefined.
7036
d6b6bbb7
LM
70372012-03-08 Luis Machado <lgustavo@codesourcery.com>
7038
7039 Revert:
7040
7041 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7042
7043 Implement testsuite workaround for PR breakpoints/13781.
7044 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7045 (set breakpoint condition-evaluation host): New conditional command.
7046
7fe25d9b
JK
70472012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7048
7049 Fix CU relative vs. absolute DIE offsets.
7050 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
7051 one.
7052
51898c15
JK
70532012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7054
7055 Fix false FAIL on distros with relro linkage as default.
7056 * gdb.reverse/solib-precsave.exp: Try to compile the test using
7057 -Wl,-z,norelro first.
7058
8131799e
JB
70592012-03-06 Joel Brobecker <brobecker@adacore.com>
7060
7061 * gdb.ada/bp_on_var: New testcase.
7062
ba241969
JB
70632012-03-06 Joel Brobecker <brobecker@adacore.com>
7064
7065 * gdb.ada/bp_enum_homonym: New testcase.
7066
abe49676
YQ
70672012-03-06 Yao Qi <yao@codesourcery.com>
7068
7069 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
7070 x86_64-*-* and i?86-*-*.
7071 Set up KFAIL for gdb/13808.
7072
d8df103b
TT
70732012-03-05 Tom Tromey <tromey@redhat.com>
7074
7075 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
7076 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
7077
b7b189f3
TT
70782012-03-05 Tom Tromey <tromey@redhat.com>
7079
7080 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
7081
69dc1c4d
YQ
70822012-03-04 Yao Qi <yao@codesourcery.com>
7083
7084 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
7085 messages for KFAIL.
7086
3f20c47f
JK
70872012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7088
7089 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
7090 (print one_two_three, indexes off, print few_reps, indexes off)
7091 (print many_reps, indexes off, print empty, indexes off)
7092 (print one_two_three, print few_reps, print many_reps, print empty):
7093 Call setup_xfail if $gcc_old.
7094
abf1152a
JK
70952012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7096
7097 Implement testsuite workaround for PR breakpoints/13781.
7098 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7099 (set breakpoint condition-evaluation host): New conditional command.
7100
a06715f8
JK
71012012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7102
7103 Code cleanup.
7104 * gdb.cp/mb-templates.exp: New variables executable. Use it for
7105 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
7106 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
7107 number 1 by $bpnum. Four times.
7108
5808517f
YQ
71092012-03-03 Yao Qi <yao@codesourcery.com>
7110
7111 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
7112
dfe2ac14
JK
71132012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7114
7115 Setup KFAIL for PR server/13796.
7116 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
7117
8bbc467a
JB
71182012-03-02 Joel Brobecker <brobecker@adacore.com>
7119
7120 * gdb.ada/operator_bp: New testcase.
7121
c0eac87f
JB
71222012-03-02 Joel Brobecker <brobecker@adacore.com>
7123
7124 * gdb.ada/info_locals_renaming: New testcase.
7125
4f42c881
TT
71262012-03-02 Tom Tromey <tromey@redhat.com>
7127
7128 * gdb.base/nextoverexit.c: New file.
7129 * gdb.base/nextoverexit.exp: New file.
7130
7380c0c9
EBM
71312012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7132
7133 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
7134 parameter.
7135
1faeff08
MR
71362012-03-01 Maciej W. Rozycki <macro@mips.com>
7137
7138 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
7139 core registers.
7140
320b6f49 71412012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
7142 Maciej W. Rozycki <macro@codesourcery.com>
7143 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
7144
7145 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
7146
ad5f7d6e
PA
71472012-03-01 Pedro Alves <palves@redhat.com>
7148
7149 PR gdb/13767
7150
7151 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
7152 (gdb_collect_globals_test): Call it.
7153
d3dc44a6
KS
71542012-03-01 Keith Seitz <keiths@redhat.com>
7155
7156 * gdb.cp/method2.exp: Output of overload menu is now
7157 alphabetized. Update tests for "break A::method".
7158 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
7159 of hard-coding them.
7160 Overload menu is alphabetized: rewrite to accommodate.
7161 Unset variables LINE and TYPES which are used in other tests.
7162 Compute the output of "info break".
7163 Update the breakpoint table after all breakpoints are deleted.
7164 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
7165 compute ACTUALS and the method body based on parameters.
7166 Update expected output accordingly.
7167 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
7168 unique comments to allow the use of gdb_get_line_number.
7169
71702012-03-01 Keith Seitz <keiths@redhat.com>
7171
7172 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
7173 some Tcl syntax.
7174 * gdb.cp/ovldbreak.exp: Likewise.
7175
7949c2a0
KS
71762012-03-01 Keith Seitz <keiths@redhat.com>
7177
7178 * gdb.base/help.exp (help show user): Update expected result
7179 for new doc string changes (add "non-python").
7180
7d74f244
DE
71812012-03-01 Scott J. Goldman <scottjg@vmware.com>
7182
7183 * gdb.python/py-cmd.exp: Add test to verify that python commands can
7184 be put in the user-defined category and that the commands appear in
7185 "help user-defined".
7186
1b611343
JB
71872012-02-29 Joel Brobecker <brobecker@adacore.com>
7188
7189 * gdb.ada/tagged_not_init: New testcase.
7190
99b1c762
JB
71912012-02-29 Joel Brobecker <brobecker@adacore.com>
7192
7193 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
7194 * gdb.ada/enum_idx_packed: New testcase.
7195
2d4a02ee
JB
71962012-02-29 Joel Brobecker <brobecker@adacore.com>
7197
7198 * gdb.ada/aliased_array: New testcase.
7199
2e6fda7d
JB
72002012-02-29 Joel Brobecker <brobecker@adacore.com>
7201
7202 * gdb.ada/whatis_array_val: New testcase.
7203
9a7f938f
JK
72042012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7205
7206 Fix disp-step-syscall.exp: fork: single step over fork.
7207 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
7208 whitespaces.
7209 (single step over $syscall): Remove its check.
7210 (single step over $syscall final pc): New check.
7211
8703a944
JK
72122012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7213
7214 Support processors without SSSE3.
7215 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
7216 pabsd into ...
7217 (ssse3_test): ... a new function.
7218 (main): Call ssse3_test.
7219 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
7220 Update expected values everywhere.
7221 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
7222 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
7223 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
7224 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
7225 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
7226 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
7227 Move these tests lower.
7228 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
7229 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
7230 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
7231 New tests.
7232
c03e6ccc
YQ
72332012-02-29 Yao Qi <yao@codesourcery.com>
7234 Pedro Alves <palves@redhat.com>
7235
7236 * gdb.trace/trace-mt.c: New.
7237 * gdb.trace/trace-mt.exp: New.
7238
7964b62a
TS
72392012-02-28 Thomas Schwinge <thomas@codesourcery.com>
7240
2c8910ba
TS
7241 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
7242 numbers instead of hardcoding them.
7243 * gdb.base/annota1.c: Provide suitable markers.
7244 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
7245 numbers instead of hardcoding them.
7246 * gdb.base/annota3.c: Provide suitable markers.
7247
7248 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
7249 * gdb.base/annota3.c: Likewise.
7250 * gdb.base/sigall.c: Likewise.
7251 * gdb.base/signals.c: Likewise.
7252 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 7253
5a41c0b7
MR
72542012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
7255
7256 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
7257 failure return path.
7258
ebbbe5c5
LM
72592012-02-27 Luis Machado <lgustavo@codesourcery.com>
7260
7261 * gdb.base/save-bp.exp: Account for new condition evaluator output.
7262
8d126d8a
LM
72632012-02-24 Luis Machado <lgustavo@codesourcery.com>
7264
7265 * gdb.base/cond-eval-mode.exp: New file.
7266
11337c2f
PA
72672012-02-24 Pedro Alves <palves@redhat.com>
7268
7269 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
7270 (top level): Use with_test_prefix.
7271
13fc3e3c
PA
72722012-02-24 Pedro Alves <palves@redhat.com>
7273
7274 * gdb.threads/attach-into-signal.exp (corefunc): Use
7275 with_test_prefix.
7276
07c1b626
JK
72772012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7278
7279 Fix false FAILs on old CPUs without SSE.
7280 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
7281 Return untested for Illegal instruction.
7282
596ba138
JK
72832012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7284
7285 Fix false FAILs with glibc debug infos installed.
7286 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
7287 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
7288
aeaa2474
SA
72892012-02-22 Sterling Augustine <saugustine@google.com>
7290
7291 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
7292 constant with cast.
7293
aed555c9
PA
72942012-02-21 Pedro Alves <palves@redhat.com>
7295
7296 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
7297
78afebb4
PA
72982012-02-21 Pedro Alves <palves@redhat.com>
7299
7300 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
7301
fdcfef12
PA
73022012-02-21 Pedro Alves <palves@redhat.com>
7303
7304 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
7305 with_test_prefix.
7306
0f4d39d5
PA
73072012-02-21 Pedro Alves <palves@redhat.com>
7308
7309 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
7310 with_test_prefix here.
7311 (top level): Do it here instead. Remove `:' from the
7312 with_test_prefix string.
7313 * gdb.base/attach-pie-misread.exp: Remove the leading space the
7314 the suffix `:' from the with_test_prefix prefix string.
7315 * gdb.base/break-interp.exp: Ditto.
7316 * gdb.base/catch-load.exp: Ditto.
7317 * gdb.base/disp-step-syscall.exp: Ditto.
7318 * gdb.base/jit-so.exp: Ditto.
7319 * gdb.base/jit.exp: Ditto.
7320 * gdb.base/sepdebug.exp: Ditto.
7321 * gdb.base/solib-display.exp: Ditto.
7322 * gdb.base/solib-overlap.exp: Ditto.
7323 * gdb.base/watch-cond-infcall.exp: Ditto.
7324 * gdb.base/watchpoint.exp: Ditto.
7325 * gdb.dwarf2/dw2-noloc.exp: Ditto.
7326 * gdb.mi/mi-watch.exp: Ditto.
7327 * gdb.mi/mi2-watch.exp: Ditto.
7328 * gdb.threads/non-ldr-exc-1.exp: Ditto.
7329 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7330 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7331 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7332 * gdb.threads/watchpoint-fork.exp: Ditto.
7333 * gdb.threads/watchthreads-reorder.exp: Ditto.
7334 * gdb.trace/change-loc.exp: Ditto.
7335 * gdb.trace/pending.exp: Ditto.
7336 * gdb.trace/status-stop.exp: Ditto.
7337 * gdb.trace/strace.exp: Ditto.
7338 * gdb.trace/trace-break.exp: Ditto.
7339 * gdb.trace/unavailable.exp: Ditto.
7340 * lib/gdb.exp (with_test_prefix): Always prefix with space and
7341 suffix with colon. Adjust leading comments.
7342
6a5870ce
PA
73432012-02-21 Pedro Alves <palves@redhat.com>
7344 Tom Tromey <tromey@redhat.com>
7345
7346 * lib/gdb.exp: Add description of test prefixes.
7347 (with_test_prefix): New procedure.
7348 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
7349 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
7350 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
7351 instead of lappend to append to pf_prefix.
7352 * gdb.base/catch-load.exp: Use with_test_prefix.
7353 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
7354 * gdb.base/jit-so.exp: Use with_test_prefix.
7355 * gdb.base/jit.exp: Use with_test_prefix.
7356 * gdb.base/return-nodebug.exp (do_test): Use append instead of
7357 lappend to append to pf_prefix.
7358 * gdb.base/sepdebug.exp: Use with_test_prefix.
7359 * gdb.base/solib-display.exp: Use with_test_prefix.
7360 * gdb.base/solib-overlap.exp: Use with_test_prefix.
7361 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
7362 * gdb.base/watchpoint.exp: Use with_test_prefix.
7363 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
7364 * gdb.mi/mi-watch.exp: Use with_test_prefix.
7365 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
7366 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
7367 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
7368 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
7369 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
7370 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
7371 append instead of lappend to append to pf_prefix.
7372 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
7373 * gdb.trace/change-loc.exp: Use with_test_prefix.
7374 * gdb.trace/pending.exp: Use with_test_prefix.
7375 * gdb.trace/status-stop.exp: Use with_test_prefix.
7376 * gdb.trace/strace.exp: Use with_test_prefix.
7377 * gdb.trace/trace-break.exp: Use with_test_prefix.
7378 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
7379 instead of lappend to append to pf_prefix.
7380
35dc4a6b
JK
73812012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7382
7383 Fix racy FAILs.
7384 * gdb.base/inferior-died.c (main): Add return of 0.
7385 * gdb.base/inferior-died.exp (continue): Fix expectation of
7386 asynchronous events.
7387 (p 1): New test.
7388
c5a006e6
PA
73892012-02-20 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
7392 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
7393 gdb's internal debug output. For the non-threaded case, look for
7394 "Program received signal SIGLARM", for the threaded case, peek at
7395 the thread's siginfo.
7396
cc51a170
PA
73972012-02-20 Pedro Alves <palves@redhat.com>
7398
7399 General cleanup, make output test messages unique, and build
7400 different executable files for the non-threaded and threaded
7401 cases.
7402
7403 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
7404 Delete.
7405 (executable_nothr, executable_thr): New globals.
7406 (top level): Adjust to delete both executables.
7407 (corefunc): New parameter $executable. Set $pf_prefix instead of
7408 hand writing a prefix in tests. Issue a clean_restart and enable
7409 lin-lwp debug output here.
7410 (top level): Adjust. Use build_executable. Don't start gdb here,
7411 and don't enable lin-lwp debug output here.
7412 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
7413
c755f03d
JK
74142012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7415
7416 Fix racy FAILs.
7417 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
7418 "continue" command.
7419
6bec5e0a
JK
74202012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7421
7422 Fix for gdbserver non-extended mode.
7423 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
7424 and gdb_run_cmd.
7425
2e8265fd
TT
74262012-02-17 Tom Tromey <tromey@redhat.com>
7427
7428 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
7429 * gdb.python/py-events.exp: Check 'dir' output.
7430 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
7431
9e507076
YQ
74322012-02-17 Yao Qi <yao@codesourcery.com>
7433
7434 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
7435
32d22ab1
TT
74362012-02-16 Tom Tromey <tromey@redhat.com>
7437
7438 * gdb.base/inferior-died.c: Don't include stdio.h.
7439
9addecb9
TT
74402012-02-16 Tom Tromey <tromey@redhat.com>
7441
7442 * gdb.base/inferior-died.c: New file.
7443 * gdb.base/inferior-died.exp: New file.
7444
4cb6da1c
AR
74452012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
7446
7447 * gdb.base/break-inline.exp: New file.
7448 * gdb.base/break-inline.c: New file.
7449
3af2590d
TT
74502012-02-15 Tom Tromey <tromey@redhat.com>
7451
7452 * gdb.base/pc-fp.exp: Add "info register" tests.
7453
29988831
TT
74542012-02-15 Tom Tromey <tromey@redhat.com>
7455
7456 * gdb.base/regs.exp: Remove.
7457
10010058
PA
74582012-02-15 Pedro Alves <palves@redhat.com>
7459
7460 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
7461 the target doesn't support tracepoints.
7462 * gdb.trace/circ.exp: Ditto.
7463 * gdb.trace/collection.exp: Ditto.
7464 * gdb.trace/packetlen.exp: Ditto.
7465 * gdb.trace/passc-dyn.exp: Ditto.
7466 * gdb.trace/report.exp: Ditto.
7467 * gdb.trace/tfind.exp: Ditto.
7468 * gdb.trace/tspeed.exp: Ditto.
7469 * gdb.trace/tsv.exp: Ditto.
7470 * gdb.trace/unavailable.exp: Ditto.
7471 * gdb.trace/while-dyn.exp: Ditto.
7472
a2e0062d
PA
74732012-02-15 Pedro Alves <palves@redhat.com>
7474
7475 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
7476 gdb_test_multiple, and call unsupported instead of fail, if the
7477 remote side does not support the request.
7478
a1999d40
PA
74792012-02-15 Pedro Alves <palves@redhat.com>
7480
7481 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
7482 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
7483 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
7484 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
7485 * gdb.server/server-run.exp: Make sure gdb is disconnected.
7486 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
7487 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
7488 doesn't start with "extended-" already.
7489
7cee1e54
PA
74902012-02-15 Pedro Alves <palves@redhat.com>
7491
7492 Support extended-remote. Avoid cascading timeouts.
7493
7494 * gdb.base/attach.exp (do_attach_tests): Add expected output for
7495 the extended-remote target. If attaching with no file fails, load
7496 the file manually.
7497 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
7498
816338b5
SS
74992012-02-14 Stan Shebs <stan@codesourcery.com>
7500
7501 * gdb.base/ena-dis-br.exp: Add enable count test.
7502
cc30c4bd
PA
75032012-02-13 Pedro Alves <palves@redhat.com>
7504
7505 * config/mips-idt.exp: Delete.
7506 * gdb.base/a2-run.exp: Remove mips-idt xfails.
7507 * gdb.base/bitfields.exp: Remove mips-idt restarts.
7508 * gdb.base/break.exp: Remove mips-idt references.
7509 * gdb.base/chng-syms.exp: Ditto.
7510 * gdb.base/default.exp: Ditto.
7511 * gdb.base/funcargs.exp (funcargs_reload): Delete.
7512 (top level): Don't call it.
7513 * gdb.base/opaque.exp: Remove mips-idt restarts.
7514 * gdb.base/ptype.exp: Remove mips-idt xfails.
7515 * gdb.base/scope.exp: Remove mips-idt restarts.
7516 * gdb.base/sepdebug.exp: Remove mips-idt references.
7517 * gdb.base/watchpoint.exp (maybe_clean_restart)
7518 (maybe_reinitialize): Delete.
7519 (test_disabling_watchpoints, test_disabling_watchpoints)
7520 (test_watchpoint_triggered_in_syscall)
7521 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7522 Don't call them.
7523
57008375
JK
75242012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7525
7526 * gdb.server/server-exec-info.exp: New file.
7527
4a2d9c08
PA
75282012-02-10 Pedro Alves <palves@redhat.com>
7529
7530 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
7531 always non-empty.
7532 (test_attach): Always pass $exec to test_attach_gdb.
7533
09fa21bd
TT
75342012-02-08 Tom Tromey <tromey@redhat.com>
7535
7536 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
7537 before inferior is started.
7538
f0823d2c
TT
75392012-02-07 Tom Tromey <tromey@redhat.com>
7540
7541 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
7542 Symbol.value.
7543 * gdb.python/py-symbol.c (qq): Set default value.
7544
75452012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
7546
7547 * gdb.python/py-symbol.c (qq): New global.
7548 * gdb.python/py-symbol.exp: Add test for frame-less
7549 lookup_symbol.
7550 * gdb.python/py-symtab.exp: Fix line number.
7551
f7e44f65
JB
75522012-02-03 Joel Brobecker <brobecker@adacore.com>
7553
7554 * gdb.ada/mi_task_arg: New testcase.
7555
4c9ed63c
PA
75562012-02-02 Pedro Alves <palves@redhat.com>
7557
7558 * gdb.reverse/until-precsave.exp: Also put "record save" under the
7559 extended timeout.
7560
c0b9f2c6
PA
75612012-02-02 Pedro Alves <palves@redhat.com>
7562
7563 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
7564 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
7565
5f8cefd7
PA
75662012-02-02 Pedro Alves <palves@redhat.com>
7567
7568 * gdb.base/term.exp: Rewrite.
7569 * gdb.base/term.c: New.
7570
2f3a2569
PA
75712012-02-02 Pedro Alves <palves@redhat.com>
7572
7573 * gdb.base/default.exp (run "r" abbreviation, run): Add
7574 extended-remote expected output.
7575
f149aabd
TT
75762012-02-02 Tom Tromey <tromey@redhat.com>
7577
7578 * gdb.cp/dispcxx.exp: New file.
7579 * gdb.cp/dispcxx.cc: New file.
7580
03bef283
TT
75812012-02-01 Tom Tromey <tromey@redhat.com>
7582
7583 * gdb.base/jit-simple.exp: New file.
7584 * gdb.base/jit-simple.c: New file.
7585
a79b18b5
YQ
75862012-01-30 Yao Qi <yao@codesourcery.com>
7587
7588 * gdb.base/skip.exp: Make test result unique.
7589
f0d1a53e
JK
75902012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7591
7592 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
7593 compatibility with valgrind-3.7.0.
7594
4b3c9f41
PA
75952012-01-27 Pedro Alves <palves@redhat.com>
7596
7597 * gdb.base/watchpoint.exp (no_hw): New global.
7598 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
7599 disable hw watchpoints.
7600 (test_wide_location_1, test_wide_location_2): If no_hw is set,
7601 don't expect hw watchpoints.
7602 (no_hw_watchpoints): Always clean restart.
7603 (do_tests): New procedure, factored out from the top level.
7604 (top level): Run tests twice. Once with hw watchpoints enabled,
7605 another time with hw watchpoints disabled.
7606
a13491c8
PA
76072012-01-27 Pedro Alves <palves@redhat.com>
7608
7609 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
7610 out from the top level.
7611 (top level): Call it instead.
7612
f2c8a051
PA
76132012-01-27 Pedro Alves <palves@redhat.com>
7614
7615 * gdb.base/watchpoint.exp (top level): Re-enable hardware
7616 watchpoints sooner.
7617
654d7a9e
PA
76182012-01-27 Pedro Alves <palves@redhat.com>
7619
7620 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
7621
274f47f3
PA
76222012-01-27 Pedro Alves <palves@redhat.com>
7623
7624 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
7625 "You may have requested too many hardware
7626 breakpoints/watchpoints".
7627
e4d63ba2
PA
76282012-01-27 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.base/watchpoint.exp (maybe_clean_restart)
7631 (maybe_reinitialize): New.
7632 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
7633 expect "hit N times".
7634 (test_disabling_watchpoints, test_complex_watchpoint)
7635 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7636 Call maybe_clean_restart.
7637 (top level): Use clean_restart. Remove "mips-idt-*"
7638 reinitialization.
7639
dbd95daf
PA
76402012-01-27 Pedro Alves <palves@redhat.com>
7641
7642 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
7643
f3ad2025
PA
76442012-01-27 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.base/watchpoint.exp: Clean restart after tests that don't
7647 require `initialize' anymore. Remove unnecessary `initialize'
7648 calls.
7649
100aa3ae
PA
76502012-01-27 Pedro Alves <palves@redhat.com>
7651
7652 * gdb.base/watchpoint.exp (wp_set): Delete.
7653 (initialize, test_simple_watchpoint, top level): Remove dead code.
7654
c79a8e11
PA
76552012-01-27 Pedro Alves <palves@redhat.com>
7656
7657 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
7658 typo.
7659
048fe15a
PA
76602012-01-27 Pedro Alves <palves@redhat.com>
7661
7662 * config/extended-gdbserver.exp: New file.
7663 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
7664 comment.
7665 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
7666 * boards/native-extended-gdbserver.exp: New file.
7667
4033a6bf
PA
76682012-01-26 Pedro Alves <palves@redhat.com>
7669
7670 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
7671 and gdb_test_multiple.
7672
3d7f4b81
PA
76732012-01-26 Pedro Alves <palves@redhat.com>
7674
7675 Make test messages unique, and more identifiable.
7676 * gdb.multi/watchpoint-multi.exp: Change test messages.
7677
484abf42
TT
76782012-01-25 Tom Tromey <tromey@redhat.com>
7679
7680 * gdb.base/solib-disc.exp: Fix regexps.
7681
edcc5120
TT
76822012-01-24 Tom Tromey <tromey@redhat.com>
7683
7684 * lib/mi-support.exp (mi_expect_stop): Add special case for
7685 solib-event.
7686 * gdb.base/catch-load-so.c: New file.
7687 * gdb.base/catch-load.exp: New file.
7688 * gdb.base/catch-load.c: New file.
7689 * gdb.base/break-interp.exp (reach_1): Update regexp.
7690
30b91c90
JK
76912012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7692
7693 Fix fuzzy results.
7694 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
7695 lpsimple and func.
7696
53fe1783
GB
76972012-01-24 Gary Benson <gbenson@redhat.com>
7698
7699 Delete #if 0'd out code.
7700 * gdb.base/default.exp (info catch): Remove.
7701 * gdb.base/gdb_history (info catch): Likewise.
7702 * gdb.base/help.exp (info catch): Likewise.
7703
d0d8b0c6
JK
77042012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7705
7706 Fix watchpoints to be specific for each inferior.
7707 * gdb.multi/watchpoint-multi.c: New file.
7708 * gdb.multi/watchpoint-multi.exp: New file.
7709
4403d8e9
JK
77102012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7711
7712 Fix watchpoints across inferior fork.
7713 * gdb.threads/watchpoint-fork-child.c: New file.
7714 * gdb.threads/watchpoint-fork-mt.c: New file.
7715 * gdb.threads/watchpoint-fork-parent.c: New file.
7716 * gdb.threads/watchpoint-fork-st.c: New file.
7717 * gdb.threads/watchpoint-fork.exp: New file.
7718 * gdb.threads/watchpoint-fork.h: New file.
7719
050a2e1d
PA
77202012-01-23 Pedro Alves <palves@redhat.com>
7721
7722 * gdb.base/call-signal-resume.exp: Allow output after "return".
7723
6a52fb62
PA
77242012-01-20 Pedro Alves <palves@redhat.com>
7725
7726 * gdb.python/py-finish-breakpoint.py: Fix typo.
7727
145b16a9
UW
77282012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
7729
7730 * gdb.base/info-proc.exp: Also run on remote targets. Main
7731 "info proc" command is now always present; whether target supports
7732 actual info proc operation is detected when attempting to issue
7733 the command.
7734
26f6125e
JK
77352012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7736
7737 * .gdbinit: Remove.
7738
eb5227ce
PA
77392012-01-19 Pedro Alves <palves@redhat.com>
7740
7741 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
7742 look at the funtions' returns.
7743 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
7744 (jprint.print(int, int)): Change return type to int. Adjust.
7745
1db33378
PP
77462012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7747
7748 PR gdb/9538
7749 * gdb.base/sepdebug.exp: New test.
7750
b9736cf8
PA
77512012-01-18 Pedro Alves <palves@redhat.com>
7752
7753 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
7754 Allow output before ^done.
7755
4aac40c8
TT
77562012-01-16 Tom Tromey <tromey@redhat.com>
7757
7758 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
7759 Add tests for relative directory.
7760
cafec441
TT
77612012-01-16 Tom Tromey <tromey@redhat.com>
7762
7763 * gdb.base/printcmds.c (enum flag_enum): New.
7764 (three): New global.
7765 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
7766 enum printing.
7767 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
7768 FlagEnumerationPrinter.
7769 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
7770 * gdb.python/py-pp-maint.c (enum flag_enum): New.
7771 (fval): New global.
7772
abcc4978
PA
77732012-01-16 Pedro Alves <palves@redhat.com>
7774
7775 * lib/gdb.exp (banned_procedures): New variable.
7776 (banned_variables_traced): Rename to ...
7777 (banned_traced): ... this.
7778 (gdb_init): Also trace banned procedures.
7779 (gdb_finish): Also untrace banned procedures.
7780
97ccebe8
PA
77812012-01-16 Pedro Alves <palves@redhat.com>
7782
7783 Remove all calls to strace.
7784
2af7517b
JK
77852012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7786
7787 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
7788 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
7789
9241a8bc
PP
77902012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7791
7792 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
7793 * gdb.base/pie-execl.exp: Likewise.
7794
3848a17f
KS
77952012-01-12 Keith Seitz <keiths@redhat.com>
7796
7797 PR mi/10586
7798 * gdb.mi/var-cmd.c (struct anonymous): New structure.
7799 (do_anonymous_type_tests): New function.
7800 (main): Call do_anonymous_type_tests.
7801 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
7802 (verify_everything): New procedure.
7803 * gdb.mi/mi-var-cp.cc (class A): New class.
7804 (anonymous_structs_and_unions): New function.
7805 (main): Call anonymous_structs_and_unions.
7806 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
7807 (verify_everything): New procedure.
7808
440e2fca
KS
78092012-01-12 Keith Seitz <keiths@redhat.com>
7810
7811 * lib/mi-support.exp: Expand comments about PATH_EXPR.
7812 (varobj_tree::get_path_expr): Assume that all varobjs are
7813 compound unless they are known simple types.
7814 Adjust path expressions based on parent type, path parent type,
7815 and tree language.
7816 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
7817 the root varobj.
7818 (mi_walk_varobj_tree): Add LANGUAGE parameter.
7819
675399c9
PA
78202012-01-11 Pedro Alves <palves@redhat.com>
7821
7822 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
7823 core files on this machine" anymore.
7824
97ddaa9b
PH
78252012-01-11 Paul Hilfinger <hilfingr@adacore.com>
7826
7827 * gdb.base/watchpoint.c (recurser): Initialize local_x.
7828 (main): Repeat recurser call.
7829 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
7830 equivalent to 'local_x'.
7831
ea733575 78322012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 7833 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
7834
7835 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
7836
2ca0b532
PA
78372012-01-05 Pedro Alves <alves.ped@gmail.com>
7838
7839 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
7840 * gdb.python/py-events.c (first): Add bits for new "step N" test.
7841 * gdb.python/py-events.exp: Test that "step N" tripping on a
7842 breakpoint emits a breakpoint event.
7843
6e681866
JB
78442012-01-03 Joel Brobecker <brobecker@adacore.com>
7845
7846 * gdb.base/auxv.exp: Reformat the copyright notice.
7847
3c2d6aff
YQ
78482012-01-03 Yao Qi <yao@codesourcery.com>
7849
7850 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
7851 (strace_trace_on_diff_addr): New.
7852 * gdb.trace/strace.c: (main): Add two local variables.
7853
0852fee3
UW
78542011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
7855
7856 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
7857 * gdb.cell/gcore.exp: Likewise.
7858 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
7859 to verify the correct instance of main is selected.
7860
12c3e59c
JB
78612012-01-02 Joel Brobecker <brobecker@adacore.com>
7862
7863 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
7864 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
7865 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
7866 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
7867 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
7868 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
7869 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
7870 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
7871 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
7872 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
7873 gdb.threads/thread_check.c: Reformat copyright header.
7874
c0f378ec
EBM
78752011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
7876
e4a7ca93 7877 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
7878 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
7879 is not enabled.
7880
3bc96cfb
JK
78812011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7882
7883 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
7884 parameter to self_exec, adjust the function.
7885 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
7886 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
7887 (set var do_exit = 0): Remove test.
7888 (newline at end of file): Add one.
7889
095bcf5e
JB
78902011-12-27 Joel Brobecker <brobecker@adacore.com>
7891
7892 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
7893 New files.
7894
18d19bd1
JK
78952011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7896
7897 Fix racy FAILs.
7898 * gdb.threads/fork-thread-pending.c (barrier): New variable.
7899 (thread_function, thread_forker): Call pthread_barrier_wait for it.
7900 (main): Call pthread_barrier_init for it.
7901
e809353a
JK
79022011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7903
7904 Fix double send_gdb leading to racy FAILs.
7905 * gdb.base/break.exp (set silent break bp_location1): Replace
7906 3x send_gdb and gdb_expect by gdb_test.
7907 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
7908 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
7909 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
7910 instead of send_gdb. Twice.
7911 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
7912 3x send_gdb and gdb_expect by gdb_test.
7913 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
7914
da8cb7ec
JK
79152011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7916
7917 * gdb.linespec/linespec.exp: Compile using {c++}.
7918
ae1a303e
JK
79192011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7920
7921 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
7922 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
7923 (verify GCC PR debug/51668): New test.
7924
cc72b2a2
KP
79252011-12-23 Kevin Pouget <kevin.pouget@st.com>
7926
7927 Introduce gdb.FinishBreakpoint in Python.
7928 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
7929 py-finish-breakpoint2
7930 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
7931 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
7932 instead of line number.
7933 * gdb.python/py-finish-breakpoint.c: New file.
7934 * gdb.python/py-finish-breakpoint.exp: New file.
7935 * gdb.python/py-finish-breakpoint.py: New file.
7936 * gdb.python/py-finish-breakpoint2.cc: New file.
7937 * gdb.python/py-finish-breakpoint2.exp: New file.
7938 * gdb.python/py-finish-breakpoint2.py: New file.
7939
3b7962f9
JK
79402011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7941
7942 Partial fix of compatibility with gcc-4.7.
7943 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
7944 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
7945 Add comment to add a PASS case in the future.
7946
6538471c
JK
7947 Fix compatibility with gcc-4.7.
7948 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
7949
7052e42c
UW
79502011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
7951
7952 PR tdep/12797
7953 * gdb.base/callfuncs.exp: Remove KFAIL.
7954
9ac7f98e
JB
79552011-12-21 Joel Brobecker <brobecker@adacore.com>
7956
7957 * gdb.ada/task_bp: New testcase.
7958
f6eeced0
JK
79592011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7960
7961 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
7962 -DNO_SECTIONS.
7963 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
7964
72225e17
JK
79652011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7966
7967 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
7968 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
7969 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7970 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
7971 conditional for gcc <= 4.5.
7972
13ac8d2c
JK
79732011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7974
7975 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
7976 by XFAIL.
7977 * gdb.cp/static-method.exp (info addr A::func())
7978 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7979 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7980 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7981 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
7982 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
7983 (test value of F in k3_m): Likewise.
7984 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7985 Likewise.
7986
049682ba
JK
79872011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7988
7989 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
7990 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
7991 Remove.
7992 * gdb.threads/attachstop-mt.c: Remove.
7993 * gdb.threads/attachstop-mt.exp: Remove.
7994
2c9d8796
MK
79952011-12-17 Mark Kettenis <kettenis@gnu.org>
7996
7997 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
7998
e0f9f062
DE
79992011-12-16 Doug Evans <dje@google.com>
8000
f4aa2101 8001 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
8002 * boards/native-gdbserver.exp: New file.
8003
e0f9f062
DE
8004 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
8005 gdbserver output.
8006 (gdbserver_default_get_remote_address): New function.
8007 (gdbserver_start): Call gdb,get_remote_address to compute argument
8008 to "target remote" command.
8009
80b6e756
PM
80102011-12-16 Phil Muldoon <pmuldoon@redhat.com>
8011
1c3ad6ab 8012 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
8013 python print-stack. Add set/show python print-stack
8014 off|full|message tests.
8015
1576bd00
YQ
80162011-12-15 Yao Qi <yao@codesourcery.com>
8017
8018 * gdb.trace/strace.c: New
8019 * gdb.trace/strace.exp: New.
8020
d6a0f6e0
TT
80212011-12-14 Tom Tromey <tromey@redhat.com>
8022
8023 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
8024
31015e1d
DE
80252011-12-14 Doug Evans <dje@google.com>
8026
8027 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
8028
7b50312a
PA
80292011-12-14 Pedro Alves <pedro@codesourcery.com>
8030
8031 PR threads/10729
8032
8033 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 8034 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 8035
924437bc
PA
80362011-12-13 Pedro Alves <pedro@codesourcery.com>
8037 Doug Evans <dje@google.com>
8038
8039 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
8040 (clean_restart): Remove references to the gdb_stub target board
8041 variable.
8042 (gdb_step_for_stub): Delete.
8043
8044 * gdb.base/annota1.exp: Remove all references to [target_info
8045 exists gdb_stub], gdb_step_for_stub and usestubs.
8046 * gdb.base/annota3.exp: Ditto.
8047 * gdb.base/async.exp: Ditto.
8048 * gdb.base/break.exp: Ditto.
8049 * gdb.base/code-expr.exp: Ditto.
8050 * gdb.base/commands.exp: Ditto.
8051 * gdb.base/completion.exp: Ditto.
8052 * gdb.base/condbreak.exp: Ditto.
8053 * gdb.base/consecutive.exp: Ditto.
8054 * gdb.base/cvexpr.exp: Ditto.
8055 * gdb.base/define.exp: Ditto.
8056 * gdb.base/display.exp: Ditto.
8057 * gdb.base/ena-dis-br.exp: Ditto.
8058 * gdb.base/environ.exp: Ditto.
8059 * gdb.base/gnu-ifunc.exp: Ditto.
8060 * gdb.base/maint.exp: Ditto.
8061 * gdb.base/pending.exp: Ditto.
8062 * gdb.base/sect-cmd.exp: Ditto.
8063 * gdb.base/sepdebug.exp: Ditto.
8064 * gdb.base/unload.exp: Ditto.
8065 * gdb.base/watchpoint-solib.exp: Ditto.
8066 * gdb.cp/annota2.exp: Ditto.
8067 * gdb.cp/annota3.exp: Ditto.
8068 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
8069 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
8070 * gdb.mi/mi-pending.exp: Ditto.
8071 * gdb.trace/circ.exp: Ditto.
8072 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
8073 * gdb.base/list.exp: Ditto.
8074
8075 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
8076 breakpoint function and all references to the usestubs macro.
8077 * gdb.base/exprs.c: Ditto.
8078 * gdb.base/freebpcmd.c: Ditto.
8079 * gdb.base/bitfields.c: Ditto.
8080 * gdb.base/bitfields2.c: Ditto.
8081 * gdb.base/break.c: Ditto.
8082 * gdb.base/call-sc.c: Ditto.
8083 * gdb.base/call-signals.c: Ditto.
8084 * gdb.base/callfuncs.c: Ditto.
8085 * gdb.base/charset.c: Ditto.
8086 * gdb.base/consecutive.c: Ditto.
8087 * gdb.base/constvars.c: Ditto.
8088 * gdb.base/funcargs.c: Ditto.
8089 * gdb.base/int-type.c: Ditto.
8090 * gdb.base/interrupt.c: Ditto.
8091 * gdb.base/langs0.c: Ditto.
8092 * gdb.base/list0.c: Ditto.
8093 * gdb.base/mips_pro.c: Ditto.
8094 * gdb.base/miscexprs.c: Ditto.
8095 * gdb.base/nodebug.c: Ditto.
8096 * gdb.base/opaque0.c: Ditto.
8097 * gdb.base/pointers.c: Ditto.
8098 * gdb.base/printcmds.c: Ditto.
8099 * gdb.base/ptype.c: Ditto.
8100 * gdb.base/recurse.c: Ditto.
8101 * gdb.base/reread1.c: Ditto.
8102 * gdb.base/reread2.c: Ditto.
8103 * gdb.base/restore.c: Ditto.
8104 * gdb.base/return.c: Ditto.
8105 * gdb.base/run.c: Ditto.
8106 * gdb.base/scope0.c: Ditto.
8107 * gdb.base/sepdebug.c: Ditto.
8108 * gdb.base/setshow.c: Ditto.
8109 * gdb.base/setvar.c: Ditto.
8110 * gdb.base/sigall.c: Ditto.
8111 * gdb.base/signals.c: Ditto.
8112 * gdb.base/structs.c: Ditto.
8113 * gdb.base/structs2.c: Ditto.
8114 * gdb.base/testenv.c: Ditto.
8115 * gdb.base/twice.c: Ditto.
8116 * gdb.base/unwindonsignal.c: Ditto.
8117 * gdb.base/watchpoint.c: Ditto.
8118 * gdb.base/watchpoints.c: Ditto.
8119 * gdb.base/whatis.c: Ditto.
8120 * gdb.cp/classes.cc: Ditto.
8121 * gdb.cp/cplusfuncs.cc: Ditto.
8122 * gdb.cp/derivation.cc: Ditto.
8123 * gdb.cp/formatted-ref.cc: Ditto.
8124 * gdb.cp/misc.cc: Ditto.
8125 * gdb.cp/overload.cc: Ditto.
8126 * gdb.cp/ovldbreak.cc: Ditto.
8127 * gdb.cp/ref-params.cc: Ditto.
8128 * gdb.cp/ref-types.cc: Ditto.
8129 * gdb.cp/templates.cc: Ditto.
8130 * gdb.cp/virtfunc.cc: Ditto.
8131 * gdb.hp/gdb.aCC/run.c: Ditto.
8132 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
8133 * gdb.hp/gdb.compat/xdb0.c: Ditto.
8134 * gdb.reverse/consecutive-reverse.c: Ditto.
8135 * gdb.reverse/sigall-reverse.c: Ditto.
8136 * gdb.reverse/until-reverse.c: Ditto.
8137 * gdb.reverse/watch-reverse.c: Ditto.
8138 * gdb.trace/actions.c: Ditto.
8139 * gdb.trace/circ.c: Ditto.
8140 * gdb.trace/collection.c: Ditto.
8141
fabde485
PA
81422011-12-13 Pedro Alves <pedro@codesourcery.com>
8143
8144 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
8145 (func6, func7): New.
8146 (main): Call func6 and func7.
8147 * gdb.base/watchpoint.exp (test_wide_location_1)
8148 (test_wide_location_2): New.
8149 (top level): Re-enable hardware watchpoints if necessary. Call
8150 test_wide_location_1 and test_wide_location_2.
8151
ff7d1690
YQ
81522011-12-11 Yao Qi <yao@codesourcery.com>
8153
8154 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
8155
a6af7abe
JB
81562011-12-11 Joel Brobecker <brobecker@adacore.com>
8157
8158 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
8159 expected output for unsupported case.
8160
61638e15
JK
81612011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8162
8163 PR testsuite/12649
8164 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
8165 Protect gdb_test_multiple by final $gdb_prompt match.
8166
0a00efc3
JK
81672011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8168
8169 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
8170 New variable, new test.
8171 (list static-method.cc:xxx::(anonymous namespace)::A::func)
8172 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
8173 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
8174 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
8175 them if HAVE_GCC_45682_FIXED is not set.
8176
4511b1ba
YQ
81772011-12-10 Yao Qi <yao@codesourcery.com>
8178
8179 * gdb.trace/status-stop.exp: New.
8180 * gdb.trace/status-stop.c: New.
8181
27949e73
JK
81822011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8183
8184 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
8185 timeout.
8186
d8ea7931
TT
81872011-12-08 Tom Tromey <tromey@redhat.com>
8188
8189 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
8190 condition.
8191
1cc310d2
SS
81922011-12-07 Stan Shebs <stan@codesourcery.com>
8193
8194 * gdb.trace/tfind.exp: Update for output changes.
8195
d482a875
PA
81962011-12-07 Pedro Alves <pedro@codesourcery.com>
8197
8198 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
8199 throws "Cannot insert catchpoints in this configuration".
8200 * gdb.ada/mi_catch_ex.exp: Likewise.
8201
f0ba3972
PA
82022011-12-06 Pedro Alves <pedro@codesourcery.com>
8203
8204 * gdb.base/break-always.exp: Test changing memory at addresses
8205 with breakpoints inserted.
8206
f8eba3c6
TT
82072011-12-06 Joel Brobecker <brobecker@acacore.com>
8208
6fdff2c5
PA
8209 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
8210 involving a fully qualified function name.
f8eba3c6
TT
8211
82122011-12-06 Tom Tromey <tromey@redhat.com>
8213
8214 * gdb.ada/homonym.exp: Add three breakpoint tests.
8215
82162011-12-06 Tom Tromey <tromey@redhat.com>
8217
8218 * gdb.base/solib-weak.exp (do_test): Remove kfail.
8219 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
8220 * gdb.objc/objcdecode.exp: Update for output changes.
8221 * gdb.linespec/linespec.exp: New file.
8222 * gdb.linespec/lspec.cc: New file.
8223 * gdb.linespec/lspec.h: New file.
8224 * gdb.linespec/body.h: New file.
8225 * gdb.linespec/base/two/thefile.cc: New file.
8226 * gdb.linespec/base/one/thefile.cc: New file.
8227 * gdb.linespec/Makefile.in: New file.
8228 * gdb.cp/templates.exp (test_template_breakpoints): Update for
8229 output changes.
8230 * gdb.cp/re-set-overloaded.exp: Remove kfail.
8231 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
8232 makes one breakpoint.
8233 * gdb.cp/method2.exp (test_break): Update for output changes.
8234 * gdb.cp/mb-templates.exp: Update for output changes.
8235 * gdb.cp/mb-inline.exp: Update for output changes.
8236 * gdb.cp/mb-ctor.exp: Update for output changes.
8237 * gdb.cp/ovsrch.exp: Use fully-qualified names.
8238 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
8239 has multiple matches.
8240 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
8241 error message change.
8242 * gdb.base/list.exp (test_list_filename_and_number): Update for
8243 error message change.
8244 * gdb.base/break.exp: Disable pending breakpoints. Update for
8245 output changes.
8246 * configure.ac: Add gdb.linespec.
8247 * configure: Rebuild.
8248 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
8249
c642a434
UW
82502011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
8251
8252 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
8253 last_break register on s390*-*-* targets.
8254
b18003d1
JB
82552011-12-06 Joel Brobecker <brobecker@adacore.com>
8256
8257 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
8258 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
8259 of parameter X in procedure Foo.
8260
fe96589c
SS
82612011-12-05 Stan Shebs <stan@codesourcery.com>
8262
8263 * gdb.trace/tfind.exp: Update help string matches.
8264
1820ab47
JK
82652011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8266
8267 * gdb.server/ext-run.exp (get process list): Accept also systemd
8268 as PID 1.
8269
e11ac3a3
JK
82702011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8271 Pedro Alves <pedro@codesourcery.com>
8272
8273 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
8274 starting GDB.
8275 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
8276 $use_gdb_stub.
8277 * gdb.base/display.exp: Likewise.
8278 * gdb.base/ending-run.exp: Likewise.
8279 * gdb.base/list.exp (test_listsize): Likewise.
8280 * gdb.base/setshow.exp: Likewise.
8281 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
8282 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
8283 check by global $use_gdb_stub.
8284 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
8285 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
8286 (default_gdb_init): Unset global $use_gdb_stub.
8287 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
8288 by global $use_gdb_stub.
8289 * lib/gdbserver-support.exp: Extend comments for set_board_info
8290 gdb_protocol and gdb,socketport.
8291 (gdbserver_start_extended): Set global gdbserver_protocol and
8292 gdbserver_gdbport. Clear global use_gdb_stub.
8293 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
8294 from target use_gdb_stub.
8295 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
8296
1d41d75c
DE
82972011-12-03 Doug Evans <dje@google.com>
8298
8299 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
8300 (gdb_step_for_stub): Add comments.
8301
d6d7a51a
MR
83022011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
8303
8304 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
8305 to the caller.
8306 (gdb_test_multiple): Likewise.
8307
05acf274
JK
83082011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8309
8310 Fix gdb.mi/mi-solib.exp without system debug info installed.
8311 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
8312 expect attribute, return 0 for it. Update comments.
8313
2268b414
JK
83142011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8315
8316 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
8317 (corrupted list): Adjust the expectation.
8318
585861ea
JK
83192011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8320
8321 PR threads/13448
8322 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
8323 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
8324 * gdb.threads/tls-var-main.c: New file.
8325 * gdb.threads/tls-var.c: New file.
8326 * gdb.threads/tls-var.exp: New file.
8327
968643aa
JK
83282011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8329
8330 PR testsuite/12649
8331 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
8332 Protect gdb_test_multiple by final $gdb_prompt match.
8333 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
8334 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
8335 (test_tracepoints): Likewise.
8336
9750bca9
JK
83372011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8338
8339 PR breakpoints/13346
8340 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
8341 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
8342 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
8343
ac1349b7
JB
83442011-12-01 Joel Brobecker <brobecker@adacore.com>
8345
8346 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
8347 * gdb.ada/homonym/homonym.adb: For use of all types defined
8348 locally inside both Get_Value subprograms.
8349
26d44faf
JK
83502011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8351
8352 Fix racy FAILs.
8353 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
8354 of send_gdb.
8355
514f6425
UW
83562011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8357
8358 * gdb.base/testenv.exp: Skip on remote targets. Unset global
8359 environment variable after test completed.
8360
4255c8d2
UW
83612011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8362
8363 * gdb.base/solib-nodir.exp: Skip if remote target.
8364 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
8365 application. Call gdb_load_shlibs.
8366 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
8367
a35ad96a
JB
83682011-11-29 Joel Brobecker <brobecker@adacore.com>
8369
8370 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
8371
1a1d5513
JB
83722011-11-28 Joel Brobecker <brobecker@adacore.com>
8373
8374 * gdb.ada/fullname_bp: New testcase.
8375
50b4ddf8
JK
83762011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8377
8378 PR testsuite/12649
8379 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
8380 Wrap send_gdb into a new gdb_test.
8381
fb0aec57
JK
8382 Code cleanup.
8383 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
8384 Convert send_gdb and gdb_expect to gdb_test_multiple.
8385
2376d946
JK
83862011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8387
8388 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
8389
1eec78bd
KS
83902011-11-23 Keith Seitz <keiths@redhat.com>
8391
8392 * lib/mi-support.exp (varobj_tree): New namespace and procs.
8393 (mi_varobj_tree_test_children_callback): New proc.
8394 (mi_walk_varobj_tree): New proc.
8395
36dfb11c
TT
83962011-11-22 Tom Tromey <tromey@redhat.com>
8397
8398 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
8399 Add "use_mi_command" argument.
8400 (mi_run_cmd, mi_run_with_cli): New procs.
8401 * gdb.mi/solib-lib.c: New file.
8402 * gdb.mi/solib-main.c: New file.
8403 * gdb.mi/mi-solib.exp: New file.
8404
0e965dd0
DE
84052011-11-21 Doug Evans <dje@google.com>
8406
8407 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
8408 _Unwind_DebugHook is missing.
8409
f196051f
SS
84102011-11-20 Stan Shebs <stan@codesourcery.com>
8411
8412 * gdb.trace/tstatus.exp: New.
8413 * gdb.trace/actions.c: Include string.h.
8414
bfccc43c
YQ
84152011-11-18 Yao Qi <yao@codesourcery.com>
8416
8417 * gdb.trace/pending.exp: New.
8418 * gdb.trace/pending.c: New.
8419 * gdb.trace/pendshr1.c: New.
8420 * gdb.trace/pendshr2.c: New.
8421 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
8422 tracepoint location becomes pending.
8423 (tracepoint_change_loc_2): New.
8424
73cd8ab1
DM
84252011-11-16 David S. Miller <davem@davemloft.net>
8426
8427 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
8428 target is sparc*-*-linux*
8429
77426730
PK
84302011-11-15 Paul Koning <paul_koning@dell.com>
8431
8432 * gdb.python/py-type.exp: New testcases for exceptions on scalar
8433 types.
8434
ed59ded5
DE
84352011-11-14 Doug Evans <dje@google.com>
8436
8437 * gdb.base/shell.exp: New file.
8438
405f8e94
SS
84392011-11-14 Stan Shebs <stan@codesourcery.com>
8440
8441 * gdb.trace/ftrace.c: New.
8442 * gdb.trace/ftrace.exp: New.
8443
1e4d1764
YQ
84442011-11-14 Yao Qi <yao@codesourcery.com>
8445
8446 * gdb.trace/change-loc-1.c: New.
8447 * gdb.trace/change-loc-2.c: New.
8448 * gdb.trace/change-loc.c: New.
8449 * gdb.trace/change-loc.exp: New.
8450 * gdb.trace/change-loc.h: New.
8451 * gdb.trace/trace-break.c (marker): Define new symbol.
8452 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 8453 New.
1e4d1764
YQ
8454 (break_trace_same_addr_6): New.
8455
71eba9c2 84562011-11-12 Matt Rice <ratmice@gmail.com>
8457
8458 * gdb.base/info-macros.exp: Make tests for info definitions
8459 test info macro. Add tests for info macro argument processing.
8460 Rename a few tests.
8461
1d93e29a
KS
84622011-11-11 Keith Seitz <keiths@redhat.com>
8463
8464 PR gdb/12843
8465 * gdb.base/linespecs.exp: New file.
8466
a4b5b48a
DE
84672011-11-11 Doug Evans <dje@google.com>
8468
8469 * gdb.threads/print-threads.exp: Extend timeout for slower
8470 tests.
8471
f6b47be4
DE
84722011-11-10 Doug Evans <dje@google.com>
8473
792a0230
DE
8474 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
8475 "record to end of main" test.
8476
f6b47be4
DE
8477 * gdb.python/py-type.c (TS): New typedef.
8478 (ts): New global.
8479 * gdb.python/py-type.exp: Test field list of typedef.
8480
22355c90
JB
84812011-11-10 Joel Brobecker <brobecker@adacore.com>
8482
8483 * gdb.ada/small_reg_param: New testcase.
8484
a7860e76
TT
84852011-11-09 Tom Tromey <tromey@redhat.com>
8486
8487 * gdb.cp/destrprint.exp: New file.
8488 * gdb.cp/destrprint.cc: New file.
8489
72a2e3dc
MI
84902011-11-08 Meador Inge <meadori@codesourcery.com>
8491
8492 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
8493 (switch_stack_to_other): New test function.
8494 * gdb.arch/thumb-prologue.exp: New test cases.
8495
c7195df2 84962011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
8497
8498 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
8499
d3895d7d
YQ
85002011-11-08 Yao Qi <yao@codesourcery.com>
8501
8502 * gdb.exp (supports_process_record): New.
8503 (supports_reverse): New.
8504 * gdb.reverse/break-precsave.exp: Call support_process_record
8505 to run test conditionally.
8506 * gdb.reverse/consecutive-precsave.exp: Likewise.
8507 * gdb.reverse/i386-precsave.exp: Likewise.
8508 * gdb.reverse/machinestate-precsave.exp: Likewise.
8509 * gdb.reverse/solib-precsave.exp: Likewise.
8510 * gdb.reverse/step-precsave.exp: Likewise.
8511 * gdb.reverse/until-precsave.exp: Likewise.
8512 * gdb.reverse/watch-precsave.exp: Likewise.
8513 * gdb.reverse/break-reverse.exp: Call support_reverse to run
8514 test conditionally.
8515 * gdb.reverse/consecutive-reverse.exp: Likewise.
8516 * gdb.reverse/finish-precsave.exp: Likewise.
8517 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8518 * gdb.reverse/finish-reverse.exp: Likewise.
8519 * gdb.reverse/i386-reverse.exp: Likewise.
8520 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8521 * gdb.reverse/machinestate.exp: Likewise.
8522 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
8523 * gdb.reverse/sigall-precsave.exp: Likewise.
8524 * gdb.reverse/sigall-reverse.exp: Likewise.
8525 * gdb.reverse/solib-reverse.exp: Likewise.
8526 * gdb.reverse/step-reverse.exp: Likewise.
8527 * gdb.reverse/until-reverse.exp: Likewise.
8528 * gdb.reverse/watch-reverse.exp: Likewise.
8529
a59306a3
YQ
85302011-11-05 Yao Qi <yao@codesourcery.com>
8531
8532 * gdb.trace/trace-break.exp: Add test on setting two
8533 fast tracepoints at the same address.
8534
87769f59
JK
85352011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8536
8537 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
8538
3065dfb6
SS
85392011-11-02 Stan Shebs <stan@codesourcery.com>
8540
8541 * gdb.trace/collection.c: Add code using strings.
8542 * gdb.trace/collection.exp: Add tests of string collection.
8543
89e208db
JK
85442011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8545
8546 * gdb.base/skip-solib.exp (executable_main): New variable.
8547 (binfile_main): Base it on that.
8548 Use $executable_main in clean_restart calls. Drop gdb_exit and
8549 gdb_start calls.
8550
405e54e9
JK
85512011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 Fix racy FAILs.
8554 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
8555 breakpoint_re globals import by async. Set string_regex to .* for
8556 async. Remove the optional thread_selected_re and breakpoint_re
8557 globals expectations.
8558
58e8570a
JM
85592011-11-01 Joseph Myers <joseph@codesourcery.com>
8560
8561 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
8562 well as Cygwin.
8563
7b35ec7f 85642011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
8565
8566 Add tests for skip command.
89e208db
JK
8567 * gdb.base/skip-solib-lib.c: New
8568 * gdb.base/skip-solib-main.c: New
8569 * gdb.base/skip-solib.exp: New
8570 * gdb.base/skip.c: New
8571 * gdb.base/skip.exp: New
8572 * gdb.base/skip1.c: New
8573 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 8574
b9fd1791
PA
85752011-10-31 Yao Qi <yao@codesourcery.com>
8576 Pedro Alves <pedro@codesourcery.com>
8577
6fdff2c5
PA
8578 * gdb.trace/trace-break.c: New.
8579 * gdb.trace/trace-break.exp: New.
b9fd1791 8580
4323fecc
JK
85812011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8582
8583 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
8584 break-here-2.
8585
0e5bf2a8
PA
85862011-10-28 Pedro Alves <pedro@codesourcery.com>
8587
8588 * gdb.threads/no-unwaited-for-left.c: New.
8589 * gdb.threads/no-unwaited-for-left.exp: New.
8590 * gdb.threads/non-ldr-exc-1.c: New.
8591 * gdb.threads/non-ldr-exc-1.exp: New.
8592 * gdb.threads/non-ldr-exc-2.c: New.
8593 * gdb.threads/non-ldr-exc-2.exp: New.
8594 * gdb.threads/non-ldr-exc-3.c: New.
8595 * gdb.threads/non-ldr-exc-3.exp: New.
8596 * gdb.threads/non-ldr-exc-4.c: New.
8597 * gdb.threads/non-ldr-exc-4.exp: New.
8598
3a3dad98
JK
85992011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8600
8601 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
8602 * gdb.base/attach-pie-misread.exp: Likewise.
8603 * gdb.base/break-interp.exp: Likewise.
8604 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
8605 testcases for use_gdb_stub.
8606 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
8607 (continue): New testcase.
8608 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
8609 * gdb.threads/attach-into-signal.exp: Likewise.
8610 * gdb.threads/attach-stopped.exp: Likewise.
8611 * gdb.threads/attachstop-mt.exp: Likewise.
8612
d6a5d40c
PK
86132011-10-28 Paul Koning <paul_koning@dell.com>
8614
8615 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
8616
ca539be8
JK
86172011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8618
8619 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
8620 (mi_gdb_test): Import globals thread_selected_re
8621 and breakpoint_re. Expect them optionally at the regex start.
8622
d234ef5c
DE
86232011-10-27 Doug Evans <dje@google.com>
8624
8625 * gdb.python/python.exp: Test source -s.
8626
ab964825
PK
86272011-10-26 Paul Koning <paul_koning@dell.com>
8628
8629 * gdb.python/lib-types.cc (struct A): New structure.
8630 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 8631
54d8a644
PK
86322011-10-25 Paul Koning <paul_koning@dell.com>
8633
8634 PR python/13327
d234ef5c 8635
54d8a644
PK
8636 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
8637 fetch_lazy method.
8638
b0221781
YQ
86392011-10-24 Yao Qi <yao@codesourcery.com>
8640
8641 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
8642 target is tic6x-*-*.
8643
6cda5a20
JB
86442011-10-21 Joel Brobecker <brobecker@adacore.com>
8645
8646 * gdb.ada/mi_task_info/task_switch.adb: New file.
8647 * gdb.ada/mi_task_info.exp: New file.
8648
5ed9db04
JK
86492011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8650
8651 * gdb.cp/expand-psymtabs-cxx.exp: New file.
8652 * gdb.cp/expand-psymtabs-cxx.cc: New file.
8653
9df2fbc4
PM
86542011-10-20 Phil Muldoon <pmuldoon@redhat.com>
8655
8656 PR python/12656
8657
8658 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
8659 global_block tests.
8660
736086ba
TT
86612011-10-18 Tom Tromey <tromey@redhat.com>
8662
8663 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
8664
4af31552
TT
86652011-10-18 Tom Tromey <tromey@redhat.com>
8666
8667 * gdb.base/source.exp: Don't include full file name in test name.
8668 * gdb.python/python.exp: Don't include full file name in test
8669 name.
8670
43136979
AR
86712011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8672
8673 * gdb.base/attach-pie-noexec.c: New files.
8674 * gdb.base/attach-pie-noexec.exp: New files.
8675
543a9323
JM
86762011-10-17 Joseph Myers <joseph@codesourcery.com>
8677
8678 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
8679 prompt for each extra line in command.
8680
21ae7a4d
JK
86812011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8682
8683 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
8684 Revert the part of:
8685 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8686 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8687 Change the expected string.
8688
20ec36d9
JK
86892011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 Fix results with system glibc debug info installed.
8692 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
8693 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
8694 Accept also __libc_ symbol prefix and no prefix.
8695
6501c2fc
KS
86962011-10-14 Keith Seitz <keiths@redhat.com>
8697
8698 PR c++/13225
8699 * gdb.cp/converts.cc (foo3_1): New function.
8700 (foo3_2): New functions.
8701 * gdb.cp/converts.exp: Add tests for int to pointer conversion
8702 and null pointer conversions of integer constant zero.
8703 Add test to check if all arguments are checked for incompatible
8704 conversion BADNESS.
8705
55b1fd0c
TT
87062011-10-14 Tom Tromey <tromey@redhat.com>
8707
8708 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
8709 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
8710 linespec.
8711
22c05d8a
JK
87122011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8713
8714 Fix internal error regression.
8715 * gdb.dwarf2/implptr-optimized-out.S: New file.
8716 * gdb.dwarf2/implptr-optimized-out.exp: New file.
8717
1d6edc3c
JK
87182011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8719
8720 Fix empty DWARF expressions DATA vs. SIZE conditionals.
8721 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
8722 (loclist): New.
8723 (4): New abbrev.
8724 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
8725 Use prepare_for_testing, remove clean_restart.
8726 (p arraynoloc, p arraycallnoloc): New tests.
8727
9ec72168
JK
87282011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8729
8730 * gdb.cp/namespace-enum.exp (executable): New variable.
8731 (binfile): Use ${objdir}/${subdir}/ prefix.
8732 Use ${executable} for clean_restart.
8733
9c6c53f7
SA
87342011-10-11 Sterling Augustine <saugustine@google.com>
8735
8736 * gdb.cp/Makefile.in: Add namespace-enum test.
8737 * gdb.cp/namespace-enum.exp: New file.
8738 * gdb.cp/namespace-enum.c: New file.
8739 * gdb.cp/namespace-enum-main.c: New file.
8740
fac7ceb3
UW
87412011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
8742
8743 * gdb.python/py-shared.exp: Relax filename check to handle remote:
8744 sysroot.
8745
941b2081
JK
87462011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8747
8748 Reimplement @entry in input expressions.
8749 * gdb.base/exprs.c (v_int_array_init): New variable.
8750 * gdb.base/exprs.exp (print v_int_array_init)
8751 (print *v_int_array_init@1, print *v_int_array_init@2)
8752 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
8753 (print v_int_array_init[1]@1): New tests.
8754
0344e878
JM
87552011-10-10 Joseph Myers <joseph@codesourcery.com>
8756
8757 * gdb.cp/gdb2495.exp: Do not include directories in filename in
8758 expected message.
8759
5a56e9c5
DE
87602011-10-09 Doug Evans <dje@google.com>
8761
8762 * gdb.base/alias.exp: Add tests for alias command.
8763
2bda9cc5
JK
87642011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8765
8766 * gdb.arch/amd64-entry-value.s: New file.
8767 * gdb.mi/mi2-amd64-entry-value.s: New file.
8768
a471c594
JK
87692011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8770
8771 Display @entry parameter values even for references.
8772 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
8773 functions.
8774 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
8775 reference and datap_input.
8776 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
8777 breakpoints.
8778 (continue to breakpoint: entry_reference: reference)
8779 (entry_reference: bt at entry)
8780 (continue to breakpoint: entry_reference: breakhere_reference)
8781 (entry_reference: bt, entry_reference: ptype regparam)
8782 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
8783 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
8784 (entry_reference: p regcopy, entry_reference: p nodataparam)
8785 (entry_reference: p nodataparam@entry): New tests.
8786
36b11add
JK
87872011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8788
8789 Support @entry in input expressions.
8790 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
8791 (entry_stack: p s1@entry, entry_stack: p s2@entry)
8792 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
8793 (tailcall: p j@entry): New tests.
8794 * gdb.cp/koenig.cc (A::entry): New function.
8795 (main): Call it.
8796 * gdb.cp/koenig.exp (p entry (c)): New test.
8797
e18b2753
JK
87982011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8799
8800 Display @entry parameter values (without references).
8801 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
8802 (different, validity, invalid): New functions.
8803 (main): Call them.
8804 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
8805 stacktest, breakhere_stacktest, different, breakhere_different,
8806 breakhere_validity and breakhere_invalid.
8807 (entry: bt): Update for @entry.
8808 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
8809 (entry_validity: *, entry_invalid: *): Many new tests.
8810 * gdb.base/break.exp
8811 (run until breakpoint set at small function, optimized file): Accept
8812 also the @entry suffix.
8813 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
8814 * gdb.mi/mi2-amd64-entry-value.c: New files.
8815 * gdb.mi/mi2-amd64-entry-value.exp: New files.
8816
2d6c5dc2
JK
88172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8818
8819 Protect entry values against self tail calls.
8820 * gdb.arch/amd64-entry-value.cc (self2, self): New.
8821 (main): Call self.
8822 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
8823 (set debug entry-values 1, self: bt debug entry-values): New tests.
8824
111c6489
JK
88252011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8826
8827 Recognize virtual tail call frames.
8828 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
8829 (amb_b, amb_a): New.
8830 (main): Call a and b.
8831 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
8832 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
8833 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
8834 New tests.
8835
8e3b41a9
JK
88362011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8837
8838 Implement basic support for DW_TAG_GNU_call_site.
8839 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
8840 * gdb.arch/amd64-entry-value.cc: New file.
8841 * gdb.arch/amd64-entry-value.exp: New file.
8842
181cebd4
JK
88432011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8844
8845 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
8846 * gdb.dwarf2/implptr-64bit.S: New file.
8847 * gdb.dwarf2/implptr-64bit.exp: New file.
8848
741f5e3c
JK
88492011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8850
8851 Fix initial language detection with -readnow.
8852 * gdb.cp/readnow-language.cc: New file.
8853 * gdb.cp/readnow-language.exp: New file.
8854
a73d2258
JK
88552011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8856
8857 Fix printed anonymous struct name.
8858 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
8859
af369495
JM
88602011-10-09 Joseph Myers <joseph@codesourcery.com>
8861
8862 * gdb.base/solib-symbol.exp: Do not include directories in
8863 filenames in expected messages.
8864
1fa57852
DE
88652011-10-07 Doug Evans <dje@google.com>
8866
8867 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
8868
bd054e06
KP
88692011-10-07 Kevin Pouget <kevin.pouget@st.com>
8870
8871 Allow Python notification of new object-file loadings.
8872 * gdb.python/py-events.exp: Test newobjfile event.
8873 * gdb.python/py-events.py: Register newobjfile callback.
8874 * gdb.python/py-events.c: Add call to shared library
8875 * gdb.python/py-events-shlib.c: New file.
8876
8031b6f8
JM
88772011-10-06 Joseph Myers <joseph@codesourcery.com>
8878
8879 * gdb.base/fixsection.exp: Do not include directories in filename
8880 in expected message.
8881
7fea6923
PM
88822011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8883
8884 Add tests for passing of environment variables to inferior.
8885 * gdb.base/testenv.c: New test source.
8886 * gdb.base/testenv.exp: New expect test.
8887
687f2a88
PK
88882011-10-04 Paul Koning <paul_koning@dell.com>
8889
8890 * gdb.python/py-value.c (main): Break before return.
8891
cb6be26b
KP
88922011-10-04 Kevin Pouget <kevin.pouget@st.com>
8893
8894 PR python/12691: Add the inferior to Python exited event
8895 * gdb.python/py-events.exp: Test the inferior attribute of exited
8896 event with a fork.
8897 * gdb.python/py-events.py: Print inferior number on exit.
8898 * gdb.python/py-events.c: Fork the inferior.
8899
fb213700
EBM
89002011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
8901
8902 * gdb.base/jit.exp: Add testcase name to log message
8903
aa2071bd
PK
89042011-10-03 Paul Koning <paul_koning@dell.com>
8905 Jan Kratochvil <jan.kratochvil@redhat.com>
8906
8907 * gdb.python/py-value.exp
8908 (python inval = gdb.parse_and_eval('*(int*)0'))
8909 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
8910 (set argc=2, python print argc_lazy): New tests.
8911
dd11a36c
JB
89122011-10-02 Joel Brobecker <brobecker@adacore.com>
8913
8914 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
8915
46f886f1
JK
89162011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8917 Pedro Alves <pedro@codesourcery.com>
8918
8919 * gdb.python/py-value.exp (test_value_in_inferior): New variable
8920 can_read_0, test for it.
8921 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
8922 (parse_and_eval with memory error): ... here, make it untested if
8923 can_read_0.
8924
c5cb204f
MP
89252011-09-30 Marek Polacek <mpolacek@redhat.com>
8926
8927 * gdb.python/python.exp (verify pagination beforehand)
8928 (verify pagination afterwards): Fix race by splitting the line.
8929
68fb0ec0
JM
89302011-09-29 Joseph Myers <joseph@codesourcery.com>
8931
8932 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
8933 for 64-bit multilibs from i?86-* targets.
8934
6aee0d90
MP
89352011-09-29 Marek Polacek <mpolacek@redhat.com>
8936
8937 * lib/gdb.exp: Fix a typo in one of the comments.
8938
e9101ff5
MP
89392011-09-29 Marek Polacek <mpolacek@redhat.com>
8940
8941 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
8942 matching pattern.
8943
7a81bdbf
PK
89442011-09-28 Paul Koning <paul_koning@dell.com>
8945
8946 * gdb.python/py-type.c (enum E): New.
8947 * gdb.python/py-type.exp (test_fields): Add tests for Python
8948 mapping access to fields.
8949 (test_enums): New test for field access on enums.
8950
6710bf39
SS
89512011-09-27 Stan Shebs <stan@codesourcery.com>
8952
8953 * gdb.trace/collection.exp: Test collection of $_ret.
8954
b2a6bdeb
AT
89552011-09-22 Andreas Tobler <andreast@fgznet.ch>
8956
8957 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
8958 list of compilation switches for <*-*-freebsd*>.
8959
3c9057f3
SS
89602011-09-19 Stan Shebs <stan@codesourcery.com>
8961
8962 * gdb.trace/tspeed.exp: New file.
8963 * gdb.trace/tspeed.c: New file.
8964
34518530
YQ
89652011-09-18 Yao Qi <yao@codesourcery.com>
8966
8967 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
8968 instructions.
8969 (test_adr_32bit, test_pop_pc): Likewise.
8970 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
8971 Thumb instructions.
8972 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
8973 in gdb_test_multiple.
8974 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
8975
ab254057
YQ
89762011-09-17 Yao Qi <yao@codesourcery.com>
8977
8978 * lib/gdb.exp (can_single_step_to_signal_handler): New.
8979 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
8980 support single step to signal handler.
8981
9c317b71
YQ
89822011-09-17 Yao Qi <yao@codesourcery.com>
8983
8984 * gdb.base/disp-step-fork.c: New.
8985 * gdb.base/disp-step-syscall.exp: New.
8986 * gdb.base/disp-step-vfork.c: New.
8987
a8123151
JB
89882011-09-16 Joel Brobecker <brobecker@adacore.com>
8989
8990 * gdb.ada/tasks.exp: Make the expected output for
8991 the `info tasks' tests more resilient to spacing
8992 changes.
8993
63a9aad8
JK
89942011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8995
8996 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
8997 (reached breakpoint 2, reached breakpoint 3): Update expected output.
8998
2aa48337
KP
89992011-09-15 Kevin Pouget <kevin.pouget@st.com>
9000
9001 PR Python/12692 Add gdb.selected_inferior() to Python interface.
9002 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
9003
6839b47f
KP
90042011-04-30 Kevin Pouget <kevin.pouget@st.com>
9005
9006 Handle multiple breakpoint hits in Python interface:
9007 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
9008 presence.
9009 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
9010 breakpoint hits.
9011
0935723e
JK
90122011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9013 Jan Kratochvil <jan.kratochvil@redhat.com>
9014
9015 * gdb.python/py-events.exp: Remove pretty printing comment.
9016 * gdb.python/py-evsignal.exp: New file.
9017 * gdb.python/py-evthreads.c: Include signal.h.
9018 (thread3): Remove variable count3. Remove variable bad and use raise
9019 instead.
9020 (thread2): Remove variable count2. Move thread3 pthread_create here,
9021 merge pthread_join to a single line.
9022 (main): Remove variable count1. Merge pthread_join with pthread_create
9023 to a single line.
9024 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
9025 KFAIL python/12966 for gdbserver. Test return value of
9026 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
9027 gdb_expect by gdb_test and gdb_test_multiple.
9028 (thread 2, thread 3): New tests.
9029
4801a9a3
PA
90302011-09-12 Matt Rice <ratmice@gmail.com>
9031 Pedro Alves <pedro@codesourcery.com>
9032
9033 PR gdb/13175
9034
9035 * gdb.base/interp.exp: New tests.
9036 * gdb.base/interp.c: New file.
9037
24ece742
DE
90382011-09-12 Doug Evans <dje@google.com>
9039
9040 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
9041 * gdb.dwarf2/typeddwarf.exp: Ditto.
9042
7f062217
JK
90432011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9044
9045 Fix compatibility with x32 arch.
9046 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
9047 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
9048 is_x86_like_target.
9049 * testsuite/gdb.trace/collection.exp: Likewise.
9050 * testsuite/gdb.trace/report.exp: Likewise.
9051 * testsuite/gdb.trace/unavailable.exp: Likewise.
9052 * testsuite/gdb.trace/while-dyn.exp: Likewise.
9053 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
9054 (is_x86_like_target): Check also is_amd64_regs_target.
9055
08711b9a
JK
90562011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9057
9058 PR breakpoints/12435
9059 * gdb.arch/amd64-prologue-xmm.c: New file.
9060 * gdb.arch/amd64-prologue-xmm.exp: New file.
9061 * gdb.arch/amd64-prologue-xmm.s: New file.
9062
b99b5f66
JK
90632011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9064
9065 * gdb.dwarf2/dw2-param-error-main.c: New file.
9066 * gdb.dwarf2/dw2-param-error.S: New file.
9067 * gdb.dwarf2/dw2-param-error.exp: New file.
9068
a391a2f6
PA
90692011-09-08 Pedro Alves <pedro@codesourcery.com>
9070
9071 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
9072 inferior's pid and look for a core dump named core.$pid. Use
9073 `remote_file' commands on the host instead of hand coding shell
9074 commands on the build.
9075 * gdb.base/valgrind-db-attach.exp: Kill the program before
9076 finishing the test.
9077
7d8e6458 90782011-09-02 Matt Rice <ratmice@gmail.com>
9079
9080 * lib/prompt.exp: New file for testing the first prompt.
9081 * gdb.python/py-prompt.exp: Ditto.
9082 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
9083
68e77c9e
PA
90842011-09-02 Pedro Alves <pedro@codesourcery.com>
9085
9086 * gdb.threads/gcore-thread.exp: Set the global core_supported to
9087 0, before testing gcore.
9088
9655e943
JK
90892011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9090
df6dc84d
JK
9091 * dw2-ifort-parameter-debug.S: Update copyright year.
9092 * dw2-ifort-parameter.c: Update copyright year.
9093 * dw2-ifort-parameter.exp: Update copyright year.
9094
9655e943
JK
9095 * dw2-ifort-parameter-debug.S: New file.
9096 * dw2-ifort-parameter.c: New file.
9097 * dw2-ifort-parameter.exp: New file.
9098
353d1d73
JK
90992011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9100
9101 * gdb.base/commands.exp (error_clears_commands_left): New function.
9102 (): Call it.
9103
5c07461a
JK
91042011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9105
9106 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
9107 (C): Initialize `a'.
9108 * gdb.mi/mi-inheritance-syntax-error.exp
9109 (-data-evaluate-expression $path): Expect `a' as 5.
9110
0d932b2f
MK
91112011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
9112
9113 PR mi/11912
9114 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
9115 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
9116 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
9117 keyword in output of -var-info-path-expression.
9118
bdb54049
JK
91192011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9120
9121 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
9122 * gdb.trace/collection.exp: Likewise.
9123 * gdb.trace/report.exp: Likewise.
9124 * gdb.trace/unavailable.exp: Likewise.
9125 * gdb.trace/while-dyn.exp: Likewise.
9126
59cde39c
KS
91272011-08-18 Keith Seitz <keiths@redhat.com>
9128
9129 PR c++/12266
9130 * gdb.cp/meth-typedefs.cc: New file.
9131 * gdb.cp/meth-typedefs.exp: New file.
9132
fa3a4f15
PM
91332011-08-17 Phil Muldoon <pmuldoon@redhat.com>
9134
6fdff2c5 9135 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 9136
c1049fca
JK
91372011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9138
9139 * gdb.arch/i386-dr3-watch.exp
9140 (watchpoint on gap1 does not fit debug registers)
9141 (delete all watchpoints): Fix racy expect strings.
9142
d93f7b5c
YQ
91432011-08-14 Yao Qi <yao@codesourcery.com>
9144
9145 * gdb.base/maint.exp: set data_section to ".neardata".
9146 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
9147 * gdb.base/savedregs.exp: Handle SIGILL.
9148 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
9149 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
9150
457e09f0
DE
91512011-08-12 Doug Evans <dje@google.com>
9152
9153 * gdb.python/py-symbol.exp: Add test for symbol.type.
9154
5d0bb2fb
UW
91552011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
9156
9157 * gdb.threads/pthreads.exp: Enable on non-native configurations.
9158 * gdb.mi/mi-pthreads.exp: Likewise.
9159 * gdb.mi/mi2-pthreads.exp: Likewise.
9160 * gdb.mi/gdb669.exp.exp: Likewise.
9161
fcdfa280
PA
91622011-08-09 Pedro Alves <pedro@codesourcery.com>
9163
9164 * lib/mi-support.exp (detect_async): Rename to...
9165 (mi_detect_async): ... this.
9166 * gdb.mi/mi-nonstop-exit.exp: Adjust.
9167 * gdb.mi/mi-nonstop.exp: Adjust.
9168 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
9169 * gdb.mi/mi-nsintrall.exp: Adjust.
9170 * gdb.mi/mi-nsmoribund.exp: Adjust.
9171 * gdb.mi/mi-nsthrexec.exp: Adjust.
9172
9d8fa392
PA
91732011-08-09 Pedro Alves <pedro@codesourcery.com>
9174
9175 * gdb.base/display.c (do_loops): New `p_i' local.
9176 * gdb.base/display.exp: Test displaying a variable that is
9177 temporarily at a bad address.
9178
b6cede78
JK
91792011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9180
9181 * gdb.dwarf2/dw2-op-stack-value.S: New file.
9182 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
9183
67bedb8c
JK
91842011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9185
9186 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
9187 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
9188 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 9189
af6e93b2
PA
91902011-08-05 Pedro Alves <pedro@codesourcery.com>
9191
9192 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
9193 procedure.
9194 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
9195
1cf0e11f
YQ
91962011-08-05 Yao Qi <yao@codesourcery.com>
9197
9198 * gdb.base/callfuncs.exp: Set language after main.
9199 * gdb.cp/cplusfuncs.exp: Likewise.
9200 * gdb.cp/inherit.exp: Likewise.
9201
a1e28cb2
UW
92022011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9203
9204 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
9205 * gdb.base/watch-vfork.exp: Skip on remote targets.
9206
d4f5bbb9
UW
92072011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9208
9209 * gdb.threads/thread-find.exp: Support remote targets.
9210
724f4f80
UW
92112011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9212
9213 * gdb.base/jit.exp: Download solib_binfile to target.
9214 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
9215 and call dlopen without full path name.
9216 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
9217 dlopen without full path name.
9218
934709f0
PW
92192011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9220
9221 * gdb.base/break-always.exp: Complete the test
9222 with duplicated breakpoints and enabling/disabling them.
9223
c26106c4
TT
92242011-08-02 Tom Tromey <tromey@redhat.com>
9225
9226 PR gdb/11289:
9227 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
9228
9300444e 92292011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
9230
9231 PR gdb/13045
9232 * gdb.base/float.exp: Add new test case for PR gdb/13045
9233 * gdb.base/float.c: New file.
9234
00bd41d6
PM
92352011-07-28 Phil Muldoon <pmuldoon@redhat.com>
9236
9237 * gdb.python/py-mi.exp: Test printers returning string hint, and
9238 also not returning a value.
9239 * gdb.python/py-prettyprint.c: Add testcase for above.
9240 * gdb.python/py-prettyprint.py: Add test printer for above.
9241
d24f74ce
JK
92422011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9243
9244 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
9245 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
9246 (.Ldie30) Add as field "data4".
9247 (.Ldie32) Rename field "b" to "shl".
9248 (abbrev4) Change for the "data4" field.
9249 (abbrev5, abbrev6) Remove.
9250 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
9251 (p &s.shl): ... here. Add comment.
9252 (p &s.data4): New.
9253
bb7da2bf
JK
92542011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9255
9256 Fix crash on lval_computed values.
9257 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
9258
11081198
JK
92592011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9260
9261 * gdb.base/help.exp (help whatis): Update the expected string.
9262
3c6e0cb3
JK
92632011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9264
9265 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
9266 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
9267 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
9268 Change the expected string.
9269
efa80663
PA
92702011-07-26 Pedro Alves <pedro@codesourcery.com>
9271
9272 * gdb.base/watchpoint.exp
9273 (test_disable_enable_software_watchpoint): New procedure.
9274 (top level): Run it.
9275
db8e4570
UW
92762011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
9277
9278 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
9279 executable file "${binfile}", C++ version "${binfile}-cxx".
9280 * gdb.python/py-prettyprint.exp: Likewise.
9281 * gdb.python/py-symbol.exp: Likewise.
9282 * gdb.python/py-type.exp: Likewise.
9283 * gdb.python/py-value.exp: Likewise.
9284 * gdb.python/py-template.exp (test_template_arg): Pass full executable
9285 file name instead of just suffix.
9286
543305c9
JK
92872011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9288
9289 Fix implicit pointer offsets.
9290 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
9291 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
9292 (continue to breakpoint: continue to baz breakpoint for implptr)
9293 (sanity check element 0, sanity check element 1)
9294 (enter the inlined function, check element 0 for the offset)
9295 (check element 1 for the offset)
9296 (continue to breakpoint: ignore the second baz breakpoint): New tests.
9297 (set foo breakpoint for implptr): Update the breakpoint number.
9298
b3215adc
UW
92992011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9300
9301 * gdb.python/py-mi.exp: Use different file names for different
9302 versions of the executable under test.
9303 * gdb.python/py-prettyprint.exp: Likewise.
9304 * gdb.python/py-symbol.exp: Likewise.
9305 * gdb.python/py-template.exp: Likewise.
9306 * gdb.python/py-type.exp: Likewise.
9307 * gdb.python/py-value.exp: Likewise.
9308
182b9acc
UW
93092011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9310
9311 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
9312 flag after restarting GDB if necessary.
9313
e6052b5d
UW
93142011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9315
9316 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
9317
1ced966e
PA
93182011-07-22 Pedro Alves <pedro@codesourcery.com>
9319
9320 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
9321 backend doesn't leave used debug registers behind.
9322
3543a589
TT
93232011-07-22 Tom Tromey <tromey@redhat.com>
9324
9325 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
9326 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
9327 argument.
9328 * gdb.dwarf2/typeddwarf-amd64.S: New file.
9329
14d15303 93302011-07-21 Matt Rice <ratmice@gmail.com>
9331
9332 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
9333 in mostlyclean rule. Add files ending in .core.
9334
9b158ba0 93352011-07-21 Matt Rice <ratmice@gmail.com>
9336
9337 PR macros/12999
9338 * gdb.base/info-macros.c: New test sources.
9339 * gdb.base/info-macros.exp: New tests.
9340
d17b6f81
PM
93412011-07-21 Phil Muldoon <pmuldoon@redhat.com>
9342
9343 * gdb.python/python.exp: Add prompt substitution tests.
9344
918dd910
JK
93452011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9346
9347 Fix crash if referenced CU is aged out.
9348 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
9349 New.
9350 * gdb.dwarf2/implptr.exp: Likewise.
9351
0e37a63c
JK
93522011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9353
9354 * gdb.dwarf2/implptr.S: Rebuilt.
9355 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
9356 (bar): Use them for j, k, l.
9357 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
9358 COMPILE.
9359 (print j in implptr:bar): Update for the intp typedef.
9360 (print p[0].x in implptr:foo): Use more exact regex.
9361
f65cf84c
TT
93622011-07-18 Tom Tromey <tromey@redhat.com>
9363
9364 * gdb.cp/static-method.exp: Add missing single quote.
9365
d5b4a7be
YQ
93662011-07-18 Yao Qi <yao@codesourcery.com>
9367
9368 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
9369 supported.
9370 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9371 * gdb.mi/mi-nonstop.exp: Likewise.
9372 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9373 * gdb.mi/mi-nsintrall.exp: Likewise.
9374 * gdb.mi/mi-nsmoribund.exp: Likewise.
9375 * gdb.mi/mi-nsthrexec.exp: Likewise.
9376 * gdb.python/py-evthreads.exp: Likewise.
9377
e9ea2662
JK
93782011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9379
9380 Code cleanup.
9381 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
9382 it. Substitute it instead of test_compiler_info everywhere.
9383
ce451573
UW
93842011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9385
9386 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
9387 remote targets as well.
9388
756d88a7
UW
93892011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9390
9391 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
9392 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
9393
31f83dc5
UW
93942011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9395
9396 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
9397 a remote machine, not the host.
9398 (gdb_compile_shlib): Set soname if target is remote.
9399
059241a0
PP
94002011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9401
9402 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
9403
28a0b48c 94042011-07-13 Matt Rice <ratmice@gmail.com>
9405
9406 * gdb.python/py-objfile-script-gdb.py: Renamed to
9407 py-objfile-script-gdb.py.in.
9408 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
9409 py-objfile-script-gdb.py.
9410 * gdb.python/py-objfile-script.exp: Update reference to
9411 py-objfile-script-gdb.py.
9412
9a771b67
JK
94132011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9414
9415 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
9416 reference undefined label.
9417
04ad99e6
JK
94182011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9419
9420 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
9421 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
9422 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
9423 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
9424
713389e0
PM
94252011-07-11 Phil Muldoon <pmuldoon@redhat.com>
9426
6fdff2c5 9427 PR python/12438
713389e0 9428 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 9429 deprecated tests. Add set/show python print-backtrace tests.
713389e0 9430
97d146f8
JK
94312011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9432
9433 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
9434 debug info.
9435
facde0e5 94362011-07-06 Matt Rice <ratmice@gmail.com>
9437
9438 * gdb.python/python.exp: Update filename paths.
9439 * gdb.python/py-symtab.exp: Ditto.
9440
438640d1
MP
94412011-07-06 Marek Polacek <mpolacek@redhat.com>
9442
9443 * gdb.python/py-evthreads.exp: Add missing `$'.
9444
33a365df
MF
94452011-07-06 Jie Zhang <jie.zhang@analog.com>
9446
9447 * config/bfin.exp: New file.
9448 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
9449 * gdb.asm/bfin.inc: New file.
9450
8f7ae686
MP
94512011-07-06 Marek Polacek <mpolacek@redhat.com>
9452
df46027d 9453 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
9454 the whole output.
9455
eb2a6f42
TT
94562011-07-05 Tom Tromey <tromey@redhat.com>
9457
9458 * gdb.java/jprint.java (jprint.hi): New field.
9459 * gdb.java/jprint.exp: Print string.
9460
177b42fe
TJB
94612011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
9462
9463 * gdb.base/call-sc.c: Fix typos.
9464 * gdb.base/ifelse.exp: Likewise.
9465 * gdb.base/structs.c: Likewise.
9466
3b2a0cf2
JB
94672011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9468
9469 * gdb.base/jit-so.exp: New test.
9470 * gdb.base/jit-dlmain.c: New file.
9471 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
9472
46fc714c
JK
94732011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9474
9475 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
9476 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
9477 * gdb.cp/pr9167.exp (p b): Likewise.
9478 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
9479 (test value of P in inner_m, test type of Z in inner_m): Call
9480 setup_xfail for gcc <= 4.5.
46fc714c 9481
418c7cf7
JK
94822011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9483
9484 * gdb.cp/paren-type.cc: New files.
9485 * gdb.cp/paren-type.exp: New files.
9486
3d50dd94
JK
94872011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9488
9489 Stop on first linespec terminator instead of eating what we can.
9490 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
9491 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
9492 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
9493 (break C::f()): ... this one.
9494 (break C::operator()()): New test.
9495 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
9496 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
9497 test.
9498
dcf9f4ab
JK
94992011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9500
9501 Fall back linespec to minimal symbols.
9502 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
9503 error message.
9504 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
9505 * gdb.cp/minsym-fallback-main.cc: New file.
9506 * gdb.cp/minsym-fallback.cc: New file.
9507 * gdb.cp/minsym-fallback.exp: New file.
9508 * gdb.cp/minsym-fallback.h: New file.
9509
3f542ed1
JK
95102011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9511
9512 * gdb.cp/no-dmgl-verbose.cc: New file.
9513 * gdb.cp/no-dmgl-verbose.exp: New file.
9514
95152011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
9516
9517 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
9518 __GI_.
9519 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
9520 (f): New function.
9521 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
9522 (complete p 'func<short>(): ... here.
9523 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
9524 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
9525 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
9526 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
9527 Make them KFAIL gcc/49546.
9528
00eb2c4a
JB
95292011-07-01 Joel Brobecker <brobecker@adacore.com>
9530
9531 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
9532
85a20c42
JK
95332011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9534
9535 Test GCC PR debug/49546.
9536 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
9537 (test type of F in k3_m, test value of F in k3_m): New.
9538 * gdb.cp/temargs.cc (struct S3, struct K3): New.
9539 (main): New variable k3. Call k3.k3_m.
9540
d2d43431
JB
95412011-07-01 Jean-Charles Delay <delay@adacore.com>
9542
9543 * gdb.ada/packed_array.exp: Fix expected outout.
9544
54ae186f
JB
95452011-07-01 Jean-Charles Delay <delay@adacore.com>
9546
9547 * gdb.ada/packed_array.exp: fixed expected output.
9548
8f17729f
JB
95492011-07-01 Joel Brobecker <brobecker@adacore.com>
9550
9551 * gdb.ada/same_enum: New testcase.
9552
f5aa6869
JB
95532011-07-01 Joel Brobecker <brobecker@adacore.com>
9554
9555 * gdb.ada/ptr_typedef: New testcase.
9556
828292f2
JB
95572011-07-01 Joel Brobecker <brobecker@adacore.com>
9558
9559 * gdb.ada/arrayptr.exp: Add ptype test.
9560
18920c42
JB
95612011-07-01 Joel Brobecker <brobecker@adacore.com>
9562
9563 * gdb.ada/char_enum: New testcase.
9564
3536d9e3 95652011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
9566
9567 * gdb.base/dump.exp (capture_pointer_with_type): New.
9568 Get value from address instead of name.
9569 Start GDB once, and do `dump' and `restore'
9570 tests together.
9571
db863c42
MF
95722011-06-30 Jie Zhang <jie.zhang@analog.com>
9573 Mike Frysinger <vapier@gentoo.org>
9574
9575 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
9576 helper functions for getting/setting remotetimeout variable.
9577 * lib/gdb.exp (gdb_load): If the target is remote, set
9578 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
9579 with $loadtimeout. Set $load_ok to 0 before doing the load.
9580 Instead of returning, immediately, set $load_ok to 0. Call
9581 set_remotetimeout with $oldremotetimeout, and then return if
9582 $load_ok is 1.
9583
e9e642a8
AB
95842011-06-30 Andrew Burgess <aburgess@broadcom.com>
9585
9586 * gdb.python/py-template.exp: Don't run this test if the target
9587 does not support c++ tests.
9588
32019081
JK
95892011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9590
9591 Fix non-only rename list for Fortran modules import.
9592 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
9593 tests.
9594 * gdb.fortran/module.f90 (module moduse): New.
9595 (program module): use moduse, test var_x, var_y and var_z.
9596
0ecee54c
TT
95972011-06-29 Tom Tromey <tromey@redhat.com>
9598
9599 PR testsuite/12040:
9600 * gdb.fortran/array-element.exp: Use f90, not f77.
9601 * gdb.fortran/complex.exp: Use f90, not f77.
9602 * gdb.fortran/derived-type.exp: Use f90, not f77.
9603 * gdb.fortran/library-module.exp: Use f90, not f77.
9604 * gdb.fortran/logical.exp: Use f90, not f77.
9605 * gdb.fortran/module.exp: Use f90, not f77.
9606 * gdb.fortran/multi-dim.exp: Use f90, not f77.
9607 * gdb.fortran/subarray.exp: Use f90, not f77.
9608
3b2b8fea
TT
96092011-06-29 Tom Tromey <tromey@redhat.com>
9610
9611 * gdb.fortran/charset.exp: New file.
9612 * gdb.fortran/charset.f90: New file.
9613
42159ca5
TT
96142011-06-29 Tom Tromey <tromey@redhat.com>
9615
9616 PR testsuite/12040:
9617 * lib/future.exp: New file, mostly extracted from ada.exp.
9618 Rewrote compatibility code to use rename.
9619 (gdb_find_gfortran): New proc.
9620 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
9621 gfortran patch.
9622 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
9623 Move to future.exp.
9624 * lib/gdb.exp: Always load future.exp.
9625
af69a5ce
YQ
96262011-06-28 Yao Qi <yao@codesourcery.com>
9627
9628 * gdb.cp/exception.cc: Don't include iostream.
9629 (bar): Remove print statement.
9630 (catcher): New.
9631 (main): Remove print statements. Call function catcher.
9632 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
9633 Set breakpoint on catcher, and check the value of parameter.
9634
ab5c6a72
YQ
96352011-06-23 Yao Qi <yao@codesourcery.com>
9636
6fdff2c5
PA
9637 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
9638 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 9639
9497469f
MP
96402011-06-23 Marek Polacek <mpolacek@redhat.com>
9641
9642 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
9643 mi_gdb_test.
9644
b9132588
MP
96452011-06-23 Marek Polacek <mpolacek@redhat.com>
9646
5d197ed0 9647 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 9648
e55595ca
MP
96492011-06-23 Marek Polacek <mpolacek@redhat.com>
9650
5d197ed0
MP
9651 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
9652
96532011-06-23 Marek Polacek <mpolacek@redhat.com>
9654
9655 * gdb.mi/mi2-basics.exp: Fix races. Honour the
9656 `test_exec_and_symbol_mi_operatons' return value.
9657 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9658 gdb_test_multiple.
9659 (test_exec_and_symbol_mi_operatons): Likewise.
9660 (test_path_specification): Likewise.
e55595ca 9661
be777e08
YQ
96622011-06-23 Yao Qi <yao@codesourcery.com>
9663
9664 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
9665 supported.
9666 * lib/gdb.exp (support_displaced_stepping): New.
9667
615556d6
YQ
96682011-06-23 Yao Qi <yao@codesourcery.com>
9669
9670 * gdb.threads/execl.exp: Skip on remote target.
9671
833b0ca7
MP
96722011-06-21 Marek Polacek <mpolacek@redhat.com>
9673
5d197ed0 9674 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
9675 mi_gdb_test.
9676
1ee4023a
MP
96772011-06-20 Marek Polacek <mpolacek@redhat.com>
9678
5d197ed0 9679 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 9680
d0b1d624
MP
96812011-06-20 Marek Polacek <mpolacek@redhat.com>
9682
5d197ed0 9683 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
9684 mi_gdb_test.
9685
79aa92c1
MP
96862011-06-20 Marek Polacek <mpolacek@redhat.com>
9687
5d197ed0 9688 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 9689
5ce5db06
YQ
96902011-06-14 Yao Qi <yao@codesourcery.com>
9691
9692 gdb/testsuite/
9693 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
9694
533a737e
JK
96952011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9696
9697 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
9698
d0e53741
TT
96992011-06-10 Tom Tromey <tromey@redhat.com>
9700
9701 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
9702 Add tests for pointer-to-member-function.
9703 * gdb.cp/temargs.cc (S::somefunc): New function.
9704 (K2): New class.
9705 (main): Instantiate K2; call method.
9706
b5916bbd
JB
97072011-06-08 Joel Brobecker <brobecker@adacore.com>
9708
9709 * gdb.python/py-inferior.c (f2): Make str an array rather
9710 than a pointer.
9711 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
9712
5be4dfca
JK
97132011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9714
9715 * gdb.base/async-shell.c: New file.
9716 * gdb.base/async-shell.exp: New file.
9717
9f47e254
PA
97182011-06-06 Pedro Alves <pedro@codesourcery.com>
9719
9720 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
9721
64b9b334
JB
97222011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
9723
9724 From Stephen Kitt <steve@sk2.org>
9725 * gdb.base/help.exp: Adjust following some spelling corrections
9726 in GDB.
9727
dbc0f131
YQ
97282011-06-01 Yao Qi <yao@codesourcery.com>
9729
9730 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
9731
fd336a18
KS
97322010-05-31 Keith Seitz <keiths@redhat.com>
9733
9734 PR c++/12750
9735 * gdb.cp/static-method.cc: New file.
9736 * gdb.cp/static-method.exp: New file.
9737
fa8b9902
KS
97382010-05-31 Keith Seitz <keiths@redhat.com>
9739
9740 PR symtab/12704
9741 * gdb.cp/anon-ns.cc: New file.
9742 * gdb.cp/anon-ns.exp: New file.
9743
0a5b1e09
PA
97442011-05-31 Pedro Alves <pedro@codesourcery.com>
9745
9746 * gdb.arch/i386-dr3-watch.c: New file.
9747 * gdb.arch/i386-dr3-watch.exp: New file.
9748
0578b8d1
YQ
97492011-05-30 Yao Qi <yao@codesourcery.com>
9750
9751 * gdb.base/callfuncs.c (t_structs_fc): New.
9752 (t_structs_dc, t_structs_ldc): New.
9753 (t_double_many_args):
9754 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
9755 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
9756 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
9757 * gdb.base/callfuncs.exp: Call new functions.
9758
6680506e
YQ
97592011-05-30 Yao Qi <yao@codesourcery.com>
9760
ff4d2c60
YQ
9761 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
9762 Call rerun_and_prepare for each test to isolate effects.
9763
97642011-05-30 Yao Qi <yao@codesourcery.com>
9765
9766 * gdb.base/varargs.c (find_max_float_real): New.
9767 (find_max_double_real, find_max_long_double_real): New.
9768 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
9769 * lib/gdb.exp (setup_kfail_for_target): New.
9770
e43ec454
YQ
97712011-05-30 Yao Qi <yao@codesourcery.com>
9772
9773 * gdb.base/funcargs.c (callca, callcb, callcc): New.
9774 (callcd, callce, callcf, callc1a, callc1b): New.
9775 (callc2a, callc2b): New.
9776 * gdb.base/funcargs.exp (complex_args): New.
9777 (complex_integral_args, complex_float_integral_args): New.
9778 * lib/gdb.exp (support_complex_tests): New. Determine
9779 whether to run test cases on _Complex types.
9780
432b4d03
JK
97812011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9782
9783 * gdb.threads/leader-exit.c: New file.
9784 * gdb.threads/leader-exit.exp: New file.
9785
6caf069d
MP
97862011-05-27 Marek Polacek <mpolacek@redhat.com>
9787
9497469f 9788 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 9789
97fce28b
MP
97902011-05-27 Marek Polacek <mpolacek@redhat.com>
9791
9792 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
9793 remove the `supported' variable.
9794 * gdb.mi/mi-nonstop.exp: Likewise.
9795 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9796 * gdb.mi/mi-nsintrall.exp: Likewise.
9797 * gdb.mi/mi-nsmoribund.exp: Likewise.
9798 * gdb.mi/mi-nsthrexec.exp: Likewise.
9799
9da8c2a0
PA
98002011-05-26 Pedro Alves <pedro@codesourcery.com>
9801
9802 * gdb.reverse/finish-reverse-bkpt.exp: New test.
9803
2c03e5be
PA
98042011-05-26 Pedro Alves <pedro@codesourcery.com>
9805
9806 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
9807
2e21250d
KS
98082011-05-24 Keith Seitz <keiths@redhat.com>
9809
9810 PR breakpoint/12803
9811 * gdb.cp/cmpd-minsyms.cc (a): New method.
9812 (b): New method.
9813 (c): New method.
9814 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
9815
cdac0397
PA
98162011-05-24 Pedro Alves <pedro@codesourcery.com>
9817
9818 * gdb.base/commands.exp (watchpoint_command_test): Check that the
9819 watchpoint's command list didn't execute when the watchpoint went
9820 out of scope.
9821
ee5683ab
PM
98222011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
9823
9824 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
9825 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
9826 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
9827 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9828 * gdb.arch/i386-permbkpt.exp: Likewise.
9829 * gdb.arch/i386-prologue.exp: Likewise.
9830 * gdb.arch/i386-size-overlap.exp: Likewise.
9831 * gdb.arch/i386-size.exp: Likewise.
9832 * gdb.arch/i386-unwind.exp: Likewise.
9833 * gdb.reverse/i386-precsave.exp: Likewise.
9834 * gdb.reverse/i386-reverse.exp: Likewise.
9835 * gdb.reverse/i386-sse-reverse.exp: Likewise.
9836 * gdb.reverse/i387-env-reverse.exp: Likewise.
9837 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9838
c91c8c16
PA
98392011-05-24 Pedro Alves <pedro@codesourcery.com>
9840
9841 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
9842 file doesn't error, using MI.
9843
c50491a7
TT
98442011-05-23 Tom Tromey <tromey@redhat.com>
9845
9846 * gdb.base/charset.exp (string_display): Add tests to assign to
9847 arrays.
9848 * gdb.base/charset.c (short_array, int_array, long_array): New.
9849
4a07b7da
PA
98502011-05-20 Pedro Alves <pedro@codesourcery.com>
9851
9852 Cope with async mode.
9853
4a07b7da
PA
9854 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
9855 into gdb_test + mi_expect_stop.
9856
b275f2d2
PA
98572011-05-20 Pedro Alves <pedro@codesourcery.com>
9858
9859 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
9860 (callme): Remove printf call.
9861
eec52c44
PM
98622011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
9863
9864 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
9865 quote pattern to avoid problems with Cygwin/mingw expect versions.
9866 * gdb.base/default.exp (show convenience): Use double
9867 quote pattern for regular expressions.
9868
b3c8eb43
JK
98692011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9870
9871 Fix -readnow for -gdwarf-4 unused type units.
9872 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
9873 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
9874
ed731959
JK
98752011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9876
9877 * gdb.base/kill-after-signal.c: New file.
9878 * gdb.base/kill-after-signal.exp: New file.
9879
3b48433d
PA
98802011-05-16 Pedro Alves <pedro@codesourcery.com>
9881
9882 * gdb.ada/start.exp: Call untested with the correct test filename.
9883 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
9884 test filename. Make the test's binary unique.
9885 * gdb.arch/i386-signal.exp: Call untested with the correct test
9886 filename.
9887 * gdb.arch/i386-size-overlap.exp: Ditto.
9888 * gdb.arch/Makefile.in (EXECUTABLES): Update.
9889 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9890 * gdb.cp/call-c.exp: Ditto.
9891 * gdb.mi/mi-reverse.exp: Call untested with the correct test
9892 filename. Make the test's binary unique.
9893 * gdb.mi/Makefile.in (EXECUTABLES): Update.
9894 * gdb.python/py-mi.exp: Ditto.
9895 * gdb.python/Makefile.in (EXECUTABLES): Update.
9896 * gdb.reverse/i386-precsave.exp: Ditto.
9897 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
9898 test filename.
9899 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9900 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
9901 unique.
9902 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
9903 test filename.
9904 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
9905 * gdb.trace/tfile.exp: Ditto.
9906
ba4a8bdd
YQ
99072011-05-14 Yao Qi <yao@codesourcery.com>
9908
9909 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
9910 type.
9911
dbaefcf7
DE
99122011-05-13 Doug Evans <dje@google.com>
9913
9914 * gdb.python/py-objfile-script.exp: New file.
9915 * gdb.python/py-objfile-script.c: New file.
9916 * gdb.python/py-objfile-script-gdb.py: New file.
9917 * testsuite/gdb.python/py-section-script.exp: Test
9918 "info auto-load-scripts".
9919
9930639c
TT
99202011-05-13 Tom Tromey <tromey@redhat.com>
9921
9922 * gdb.dwarf2/clztest.exp: New file.
9923 * gdb.dwarf2/clztest.c: New file.
9924 * gdb.dwarf2/clztest.S: New file.
9925
05272e11
DE
99262011-05-13 Doug Evans <dje@google.com>
9927
cc63ef9b
DE
9928 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
9929 String16 tests.
05272e11 9930
6edba76f
TT
99312011-05-13 Tom Tromey <tromey@redhat.com>
9932
9933 * lib/gdb.exp (is_x86_like_target): New proc.
9934 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
9935 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
9936 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
9937 -nostdlib to compiler.
9938 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
9939 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
9940 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
9941 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
9942 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
9943
028d0ed5
TJB
99442011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9945
9946 * gdb.python/py-function.exp: Test setting a value from a function
9947 which executes a command.
9948
8a9b8146
TT
99492011-05-12 Tom Tromey <tromey@redhat.com>
9950
9951 * gdb.dwarf2/typeddwarf.S: New file.
9952 * gdb.dwarf2/typeddwarf.c: New file.
9953 * gdb.dwarf2/typeddwarf.exp: New file.
9954
10483e8e
MP
99552011-05-12 Marek Polacek <mpolacek@redhat.com>
9956
9957 * gdb.mi/mi-basics.exp: Fix races. Honour the
9958 `test_exec_and_symbol_mi_operatons' return value.
9959 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9960 gdb_test_multiple.
9961 (test_exec_and_symbol_mi_operatons): Likewise.
9962 (test_path_specification): Likewise.
9963
faf067f1
JK
99642011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9965
9966 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
9967 (gdb_touch_execfile): Remove catch wrappers. New variable time.
9968 Replace `file copy' and `file rename' by `file mtime'. Twice.
9969
7ff911a3
JK
99702011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9971
9972 * gdb.base/readline-ask.c: New file.
9973 * gdb.base/readline-ask.exp: New file.
9974 * gdb.base/readline-ask.inputrc: New file.
9975
a536c6d7
UW
99762011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
9977
9978 * gdb.cell/bt.exp: Delete breakpoints before running to signal
9979 to avoid race condition.
9980 * gdb.cell/coremaker.c: Use small stack size.
9981 * gdb.cell/ea-standalone.exp: Use file name without path as
9982 argument to c_to.
9983 * gdb.cell/fork.exp: Allow other output when continuing to end.
9984
d472a426
JK
99852011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9986
9987 * gdb.threads/corethreads.c: New file.
9988 * gdb.threads/corethreads.exp: New file.
9989
99902011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
9991
9992 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
9993 Try to compile the test using -Wl,-z,norelro first.
9994 (load_core): New variable libthread_db_seen, initialize it.
9995 (zeroed-threads cannot be listed): Protect it by XFAIL on
9996 !$libthread_db_seen.
9997
8be455d7
JK
99982011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9999
10000 PR 12573
10001 * gdb.dwarf2/dw2-skip-prologue.S: New file.
10002 * gdb.dwarf2/dw2-skip-prologue.c: New file.
10003 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
10004
1976171a
JK
100052011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10006
10007 * gdb.cp/psymtab-parameter.cc: New file.
10008 * gdb.cp/psymtab-parameter.exp: New file.
10009
7db6f30f
JK
100102011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10011
10012 Fix a race.
10013 * gdb.cp/static-print-quit.exp (print c): Split to ...
10014 (print c - <return>, print c - q <return>, print c - to quit):
10015 ... these. Make the testfile untested on gdb-7.1.
10016
85161e9e 100172011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
10018
10019 * lib/gdb.exp (exec_target_file, exec_symbol_file,
10020 gdb_rename_execfile, gdb_touch_execfile): New.
10021 * gdb.base/reread.exp: Use new procs to handle multiple
10022 exec files.
10023
0c51be18
YQ
100242011-05-05 Yao Qi <yao@codesourcery.com>
10025
10026 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
10027 (test_adr_32bit, test_pop_pc): New.
10028 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
10029 (test_adr_32bit, test_pop_pc): New.
10030
4d393d60
JM
100312011-05-04 Joseph Myers <joseph@codesourcery.com>
10032
10033 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
10034 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
10035 targets.
10036 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
10037 handle targets.
10038
8ffd0459
JK
100392011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10040
10041 * gdb.base/completion.exp (complete help info wat): Rename to ...
10042 (complete 'help info wat'): ... here.
10043 Remove all `-re ".*' and `-re "^.*' redundant regexes.
10044 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
10045
8e28d804
PA
100462011-05-04 Pedro Alves <pedro@codesourcery.com>
10047
10048 * gdb.base/completion.exp: Use gdb_test_multiple instead of
10049 gdb_test and explicit $gdb_prompt/timeout matches.
10050
3eb2ef34
YQ
100512011-05-04 Yao Qi <yao@codesourcery.com>
10052
10053 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
10054 and __thumb2__.
10055
aaaf81a3
MP
100562011-05-03 Marek Polacek <mpolacek@redhat.com>
10057
10058 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
10059 in place of `gdb_test "delete breakpoints"'. This eliminates two
10060 testcases.
10061
c4cbc0df
PA
100622011-05-02 Pedro Alves <pedro@codesourcery.com>
10063
10064 PR testsuite/12649
10065 Fix races.
10066
10067 * gdb.base/completion.exp: Remove all sleep calls. Remove
10068 unnecessary regexs. Don't explicitly expect anything after the
10069 prompt. Eat the prompt if necessary.
10070
b4cbb4a3
EBM
100712011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
10072
10073 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
10074 accept to show the caller line again as well as the line after.
10075
d65aec65
PM
100762011-04-29 Phil Muldoon <pmuldoon@redhat.com>
10077
10078 PR mi/12531
10079
10080 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
10081 compile target.
10082 * gdb.python/py-prettyprint.exp: Add C++ object for
10083 CPLUS_FAKE_CHILD test.
10084
30852783
UW
100852011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
10086
10087 * gdb.base/signest.exp: New file.
10088 * gdb.base/signest.c: Likewise.
10089
c7b1f0d9
JK
100902011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10091
10092 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
10093 thread and breakpoint notifications.
10094
559a7a62
JK
100952011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10096
10097 * gdb.base/fortran-sym-case.c: New file.
10098 * gdb.base/fortran-sym-case.exp: New file.
10099 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
10100 * gdb.dwarf2/dw2-case-insensitive.c: New file.
10101 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
10102
8344e389
JK
101032011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10104
10105 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
10106 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
10107 false #1', `if true else false #2' and `if true else false #3'.
10108
2484c66b
UW
101092011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
10110
10111 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
10112 while delivering signal.
10113
8d3788bd
VP
101142011-04-27 Vladimir Prus <vladimir@codesourcery.com>
10115
10116 MI breakpoint notifications.
10117
10118 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
10119 * testsuite/gdb.mi/mi2-cli.exp: Adust.
10120 * testsuite/gdb.mi/mi-watch.exp: Adust.
10121 * testsuite/gdb.mi/mi2-watch.exp: Adust.
10122 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
10123 notifications.
8d3788bd 10124
3e03848b
JK
101252011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10126
10127 * gdb.base/gdbindex-stabs-dwarf.c: New file.
10128 * gdb.base/gdbindex-stabs.c: New file.
10129 * gdb.base/gdbindex-stabs.exp: New file.
10130
918c9108
YQ
101312011-04-25 Yao Qi <yao@codesourcery.com>
10132
10133 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
10134 with /*...*/.
10135 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
10136
90556b8c
JK
101372011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10138
10139 * gdb.python/py-value.exp (test_objfiles): Name the first test
10140 `py-value in file.filename'.
10141
03f2bd59
JK
101422011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10143
10144 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
10145 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
10146 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
10147 !gdbserver_reconnect_p..
10148 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
10149
7b08b9eb
JK
101502011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10151
10152 * gdb.cp/cpcompletion.exp (complete class methods)
10153 (complete class methods beginning with F): Move them above runto. New
10154 comment about the runto delimiter.
10155
b78974c3
PA
101562011-04-20 Pedro Alves <pedro@codesourcery.com>
10157
10158 * gdb.base/maint.exp: Test that "maint print registers" works
10159 without a running program.
10160
20429c40 101612011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 10162
20429c40
MP
10163 * gdb.base/setshow.exp: Fix racy tests.
10164 ($old_gdb_prompt): New variable.
10165
7a9dd1b2
TT
101662011-04-19 Tom Tromey <tromey@redhat.com>
10167
10168 * gdb.mi/mi-nsmoribund.exp:
10169 * gdb.hp/gdb.objdbg/objdbg01.exp:
10170 * gdb.base/structs.exp (test_struct_returns):
10171 * gdb.base/call-sc.exp (test_scalar_returns):
10172 * gdb.base/bigcore.exp: Remove duplicate words.
10173
02835898
JK
101742011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10175
10176 * gdb.base/break-interp-lib.c (v, vptr): New variables.
10177 * gdb.base/break-interp.exp (test_attach): New comment.
10178
254f582e
JK
101792011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10180
10181 * gdb.threads/gcore-thread.exp ($core0file): New variable.
10182 (clear __stack_user.next, clear stack_used.next)
10183 (save a zeroed-threads corefile): New test.
10184 Call core_load for $core0file.
10185 (zeroed-threads cannot be listed): New test.
10186
4fe85f5c
JK
101872011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10188
10189 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
10190 filename.
10191 ($srcfile): Preserve the original value.
10192 ($testfile): Match it the .exp filename.
10193 ($corefile): New variable. Substitute it around.
10194 Use clean_restart.
10195 ($prev_timeout): Remove.
10196 (load_core): Move core loading into this proc.
10197 Fix restore of $timeout if load_core fails.
10198
63524580
JK
101992011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10200
10201 * gdb.base/eu-strip-infcall.c: New file.
10202 * gdb.base/eu-strip-infcall.exp: New file.
10203
90359a16
JK
102042011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10205
10206 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
10207 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
10208
626e7282
JK
102092011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10210
10211 Fix Python access to inlined frames.
10212 * gdb.python/py-frame-inline.c: New file.
10213 * gdb.python/py-frame-inline.exp: New file.
10214
3363d018
EBM
102152011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
10216
10217 * gdb.base/gdb1090.exp: Change breakpoint location to read the
10218 content of 's24' correctly (avoiding "optimized out").
10219 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
10220
28781456
JK
102212011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10222
10223 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
10224
4a4106ca
TJB
102252011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
10226
10227 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
10228 expect a colon in watch -location output.
10229
d26ccb4f
JK
102302011-04-13 Marek Polacek <mpolacek@redhat.com>
10231
df46027d 10232 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
10233 New testcase `expect response to define backtrace'. Also remove
10234 redundant `default' block.
10235
e1ab1f9c
JK
102362011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10237
10238 * gdb.python/py-prettyprint.c (struct hint_error): New.
10239 (main): New variable hint_error.
10240 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
10241 "print hint_error".
10242 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
10243 (register_pretty_printers): Register it.
10244
0c2e6019
TT
102452011-04-04 Tom Tromey <tromey@redhat.com>
10246
10247 * gdb.cp/maint.exp (test_help): Update.
10248 (test_namespace): Likewise.
10249
af57139d
JB
102502011-04-01 Joel Brobecker <brobecker@adacore.com>
10251
10252 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
10253 * gdb.ada/arrayptr.exp: Add new tests.
10254
956a9fb9
JB
102552011-04-01 Joel Brobecker <brobecker@adacore.com>
10256
10257 * gdb.ada/mi_catch_ex: New testcase.
10258
d0c4d642
PA
102592011-04-01 Pedro Alves <pedro@codesourcery.com>
10260
10261 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
10262 base::overload(void) method without specifying "const".
10263
18819fa6
UW
102642011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
10265
10266 * gdb.arch/thumb-singlestep.S: New file.
10267 * gdb.arch/thumb-singlestep.exp: Likewise.
10268
a4c8e806
TT
102692011-03-31 Tom Tromey <tromey@redhat.com>
10270
10271 * gdb.python/py-prettyprint.py (exception_flag): New global.
10272 (NoStringContainerPrinter._iterator.next): Check it.
10273 * gdb.python/py-prettyprint.c (main): New variable nstype2.
10274 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
10275
53832f31
TT
102762011-03-29 Tom Tromey <tromey@redhat.com>
10277
10278 * gdb.cp/anon-struct.cc: New file.
10279 * gdb.cp/anon-struct.exp: New file.
10280
e4620230
JK
102812011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10282
10283 Test STT_GNU_IFUNC support.
10284 * gdb.base/gnu-ifunc-lib.c: New file.
10285 * gdb.base/gnu-ifunc.c: New file.
10286 * gdb.base/gnu-ifunc.exp: New file.
10287
d0fb5eae
JK
102882011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10289
10290 Support a ring of related breakpoints.
10291 * gdb.base/watchpoint-delete.c: New file.
10292 * gdb.base/watchpoint-delete.exp: New file.
10293
20106cfb
JK
102942011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10295
10296 * gdb.ada/arrayparam.exp (print first after function call): Use
10297 explicit package name. Add a comment
10298 (print lasta after function call): Rename ...
10299 (print last after function call): ... it and use explicit package
10300 name.
10301 (print length after function call): Use explicit package name.
10302 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
10303 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
10304 (multiple matches for symbol i): Rename ...
10305 (multiple matches for symbol integervar): ... it.
10306 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
10307 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
10308
e7ab5e63
AB
103092011-03-25 Andrew Burgess <aburgess@broadcom.com>
10310
10311 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
10312 environment variable to make grep output more predictable. Move
10313 all the environment setup into gdb_init so it's done once per test
10314 case rather than each time we start gdb.
10315
9ef07c8c
TT
103162011-03-24 Tom Tromey <tromey@redhat.com>
10317
10318 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
10319 test.
10320
dd90784c
JK
103212011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10322
10323 * gdb.dwarf2/dw2-entry-value-main.c: New file.
10324 * gdb.dwarf2/dw2-entry-value.S: New file.
10325 * gdb.dwarf2/dw2-entry-value.exp: New file.
10326
05775840
PM
103272011-03-22 Phil Muldoon <pmuldoon@redhat.com>
10328
6fdff2c5 10329 PR python/12183
05775840
PM
10330
10331 * gdb.python/py-function.exp: Add GdbError tests.
10332
8661b11b
PA
103332011-03-18 Pedro Alves <pedro@codesourcery.com>
10334
10335 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
10336 (reglocal_test_func, statlocal_test_func): New functions.
10337 (globals_test_func): Call new functions.
10338 * gdb.trace/unavailable.exp (gdb_collect_args_test)
10339 (gdb_collect_locals_test): New procedure.
10340 (gdb_trace_collection_test): Call new procedures.
10341
0fdb4f18
PA
103422011-03-18 Pedro Alves <pedro@codesourcery.com>
10343
10344 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
10345 (test_register, test_register_unavailable): New procedures.
10346 (gdb_unavailable_registers_test): New procedure.
10347 (gdb_trace_collection_test): Call it.
10348
99c3dc11
PM
103492011-03-18 Phil Muldoon <pmuldoon@redhat.com>
10350
6fdff2c5 10351 PR python/12149
99c3dc11
PM
10352
10353 * gdb.python/python.exp: Add gdb.write tests.
10354
29703da4
PM
103552010-03-17 Phil Muldoon <pmuldoon@redhat.com>
10356
10357 * gdb.python/Makefile.in: Add py-objfile.
10358 * gdb.python/py-objfile.exp: New file.
10359 * gdb.python/py-objfile.c: New file.
10360 * gdb.python/py-block.exp: Add is_valid tests.
10361 * gdb.python/py-inferior.exp: Ditto.
10362 * gdb.python/py-infthread.exp: Ditto.
10363 * gdb.python/py-symbol.exp: Ditto.
10364 * gdb.python/py-symtab.exp: Ditto.
10365
598997c8
KS
103662011-03-16 Keith Seitz <keiths@redhat.com>
10367
10368 PR c++/12273
10369 * gdb.cp/cmpd-minsyms.exp: New test.
10370 * gdb.cp/cmpd-minsyms.cc: New file.
10371
10372 PR c++/11734
10373 * gdb.cp/ovsrch.exp: New test.
10374 * gdb.cp/ovsrch.h: New file.
10375 * gdb.cp/ovsrch1.cc: New file.
10376 * gdb.cp/ovsrch2.cc: New file.
10377 * gdb.cp/ovsrch3.cc: New file.
10378 * gdb.cp/ovsrch4.cc: New file.
10379
c91513d8
PP
103802011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10381
10382 PR gdb/12528
10383 * gdb.base/Makefile.in: Adjust EXECUTABLES.
10384 * gdb.base/break-on-linker-gcd-function.exp: New test.
10385 * gdb.base/break-on-linker-gcd-function.cc: New file.
10386
7470fc63
AT
103872011-03-15 Andreas Tobler <andreast@fgznet.ch>
10388
10389 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
10390
959e7469
PM
103912011-03-15 Phil Muldoon <pmuldoon@redhat.com>
10392
10393 * lib/gdb.exp (gdb_unload): Add another termination case.
10394
9373cf26
JK
103952011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10396
10397 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
10398 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
10399 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
10400 Provide a stub byte there.
10401 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
10402 DW_AT_entry_pc.
10403 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
10404
24e9cda0
UW
104052011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
10406
10407 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
10408 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
10409 "generic ABI, auto".
10410 (altivec_abi_tests): Accept vectors returned by reference.
10411
7371cf6d
PM
104122010-03-14 Phil Muldoon <pmuldoon@redhat.com>
10413
10414 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
10415
ce77046a
UW
104162011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
10417
10418 * gdb.python/py-section-script.exp: Skip test if no Python support.
10419
176400c3
UW
104202011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
10421
10422 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
10423
ecec24e6
PM
104242011-03-10 Phil Muldoon <pmuldoon@redhat.com>
10425
10426 * gdb.python/py-parameter.exp: Update tests to the new Python
10427 parameter API. Add "no documentation" test. Add deprecated API
10428 backward compatibility test.
10429
5dbdd470
TT
104302011-03-09 Tom Tromey <tromey@redhat.com>
10431
10432 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
10433 gdb_continue_to_end.
10434
b66e66ee
MK
104352011-03-09 Mark Kettenis <kettenis@gnu.org>
10436
10437 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
10438 tabs.
10439
eceb0c5f
TT
104402011-03-09 Tom Tromey <tromey@redhat.com>
10441
10442 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
10443 parentheses.
10444 (gdb_continue_to_end): Add "allow_extra" parameter. Use
10445 $command.
10446 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
10447 argument to gdb_continue_to_end.
10448 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10449 argument to gdb_continue_to_end.
10450 * gdb.cp/annota3.exp: Fix regex.
10451 * gdb.cp/annota2.exp: Fix regex.
10452 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
10453 gdb_continue_to_end.
10454 * gdb.base/call-signal-resume.exp: Revert earlier patch.
10455 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
10456 gdb_continue_to_end.
10457
63154eca
PA
104582011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10459
10460 * gdb.server/ext-run.exp
10461 (load new file without any gdbserver inferior): New test.
10462
967d1f9b
TT
104632011-03-07 Tom Tromey <tromey@redhat.com>
10464
10465 * Makefile.in (TAGS): Rewrite.
10466
d68dcbb9
JK
104672011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10468
10469 * gdb.trace/report.exp (12.1: trace report #1): New match for the
10470 initial commands echo. New match for `Found trace'. Anchor all the
10471 other matches. Anchor and match for `No trace frame found' the final
10472 match.
10473
6bf58e63
TT
104742011-03-07 Tom Tromey <tromey@redhat.com>
10475
10476 * Makefile.in (TAGS): New target.
10477
fda326dd
TT
104782011-03-07 Tom Tromey <tromey@redhat.com>
10479
10480 * lib/opencl.exp (skip_opencl_tests): Update for exit message
10481 change.
10482 * lib/mi-support.exp (mi_gdb_test): Update for exit message
10483 change.
10484 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
10485 exit message change.
10486 (skip_altivec_tests): Update for exit message change.
10487 (skip_vsx_tests): Likewise.
10488 (gdb_continue_to_end): Likewise. Add 'command' argument.
10489 * lib/cell.exp (skip_cell_tests): Update for exit message change.
10490 * gdb.threads/tls.exp: Update for exit message change.
10491 * gdb.threads/thread-unwindonsignal.exp: Use
10492 gdb_continue_to_end.
10493 * gdb.threads/step.exp (step_it): Update for exit message change.
10494 (continue_all): Likewise.
10495 * gdb.threads/print-threads.exp (test_all_threads): Update for
10496 exit message change.
10497 * gdb.threads/interrupted-hand-call.exp: Use
10498 gdb_continue_to_end.
10499 * gdb.threads/execl.exp: Use gdb_continue_to_end.
10500 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
10501 gdb_continue_to_end.
10502 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
10503 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
10504 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
10505 * gdb.cp/method.exp: Update for exit message change.
10506 * gdb.cp/mb-templates.exp: Update for exit message change.
10507 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
10508 * gdb.cp/annota3.exp: Update for exit message change.
10509 * gdb.cp/annota2.exp: Update for exit message change.
10510 * gdb.cell/fork.exp: Use gdb_continue_to_end.
10511 * gdb.base/term.exp: Update for exit message change.
10512 * gdb.base/step-test.exp (test_i): Update for exit message change.
10513 * gdb.base/sigstep.exp (advance): Update for exit message change.
10514 (advancei): Likewise.
10515 * gdb.base/siginfo.exp: Update for exit message change.
10516 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
10517 * gdb.base/reread.exp: Use gdb_continue_to_end.
10518 * gdb.base/langs.exp: Use gdb_continue_to_end.
10519 * gdb.base/interrupt.exp: Update for exit message change.
10520 * gdb.base/gdb1555.exp: Update for exit message change.
10521 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
10522 * gdb.base/ending-run.exp: Update for exit message change.
10523 * gdb.base/chng-syms.exp: Update for exit message change.
10524 * gdb.base/checkpoint.exp: Update for exit message change.
10525 * gdb.base/catch-syscall.exp (check_for_program_end): Use
10526 gdb_continue_to_end.
10527 (test_catch_syscall_with_wrong_args): Likewise.
10528 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
10529 * gdb.base/break-interp.exp (test_ld): Update for exit message
10530 change.
10531 * gdb.base/bang.exp: Update for exit message change.
10532 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
10533 (do_call_attach_tests): Likewise.
10534 * gdb.base/a2-run.exp: Update for exit message change.
10535 * gdb.arch/ppc-dfp.exp: Update for exit message change.
10536 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
10537 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
10538
dd19bd70
JK
105392011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10540
10541 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
10542
30e62689
TT
105432011-03-03 Tom Tromey <tromey@redhat.com>
10544
10545 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
10546 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
10547 * gdb.hp/gdb.aCC/configure.ac: Remove.
10548 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
10549 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
10550 * gdb.hp/gdb.base-hp/configure.ac: Remove.
10551 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
10552 * gdb.hp/gdb.compat/configure (Makefile): Remove.
10553 * gdb.hp/gdb.compat/configure.ac: Remove.
10554 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
10555 * gdb.hp/gdb.defects/configure (Makefile): Remove.
10556 * gdb.hp/gdb.defects/configure.ac: Remove.
10557 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
10558 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
10559 * gdb.hp/gdb.objdbg/configure.ac: Remove.
10560 * gdb.hp/configure.ac: Remove.
10561 * gdb.hp/configure: Remove.
10562 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
10563 substitution.
10564 (Makefile): Remove rule.
10565 * gdb.cell/configure.ac: Remove.
10566 * gdb.cell/configure: Remove.
10567 * gdb.stabs/Makefile.in (Makefile): Remove.
10568 (distclean): Don't remove config.status or config.log.
10569 * gdb.stabs/configure (Makefile): Remove.
10570 * gdb.stabs/configure.ac: Remove.
10571 * configure: Rebuild.
10572 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
10573 Remove stabs- and cell-specific logic. Test for existence of
10574 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
10575 subdirectories, gdb.cell, and and gdb.stabs.
10576 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
10577
c171f854
JB
105782011-03-03 Joel Brobecker <brobecker@adacore.com>
10579
10580 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
10581 end of buffer.
10582
9a5193cb
JB
105832011-03-02 Joel Brobecker <brobecker@adacore.com>
10584
10585 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
10586 gdb_test when running a test where we expected no output back.
10587
9bb4c1bb
MS
105882011-02-28 Michael Snyder <msnyder@vmware.com>
10589
10590 * gdb.cp/overload.cc: Change initializer value to integer.
10591
3bd0f5ef
MS
105922011-02-27 Michael Snyder <msnyder@vmware.com>
10593
10594 * gdb.multi/base.exp: Add test for remove-inferiors.
10595
2279eaad
JB
105962011-02-26 Joel Brobecker <brobecker@adacore.com>
10597
10598 * gdb.python/py-frame.exp: Simplify the initialization phase
10599 using prepare_for_testing.
10600
c82c0b55
MS
106012011-02-25 Michael Snyder <msnyder@vmware.com>
10602
10603 * gdb.multi/base.exp: Add tests for info inferiors with args.
10604
1d94651b
JK
106052011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10606
10607 * gdb.dwarf2/dw2-ranges.S: Rename to ...
10608 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
10609 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
10610 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
10611 asmfile3. Comment the STABS (#3) file compilation. Compile
10612 everything through assembler. Provide KFAIL for symtab/12497.
10613 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
10614 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
10615 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
10616 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
10617
3bd0f5ef
MS
106182011-02-24 Michael Snyder <msnyder@vmware.com>
10619
10620 * gdb.base/break.exp: Add tests for delete breakpoints using
10621 convenience variables and value history references.
10622
12c1418e
MS
106232011-02-24 Michael Snyder <msnyder@vmware.com>
10624
10625 * gdb.base/break.exp: Remove debugging 'printf' accidentally
10626 left behind in previous check-in.
10627
e5a67952
MS
106282011-02-23 Michael Snyder <msnyder@vmware.com>
10629
10630 * gdb.base/break.exp: Add tests for "info break" with arguments.
10631 * gdb.trace/infotrace.exp: Update patterns for error and help.
10632 * gdb.base/completion.exp: Update pattern.
10633 * gdb.base/ena-dis-br.exp: Update pattern.
10634 * gdb.base/help.exp: Update patterns.
10635
106362011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
10637
10638 * gdb.base/memattr.exp: New test.
10639 * gdb.base/memattr.c: Test load for memattr.exp.
10640
6e6fbe60
DE
106412011-02-22 Doug Evans <dje@google.com>
10642
10643 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
10644
1d41d745
MS
106452011-02-22 Michael Snyder <msnyder@vmware.com>
10646
10647 * Makefile.in: Make more clean.
10648 * gdb.ada/Makefile.in: Ditto.
10649 * gdb.arch/Makefile.in: Ditto.
10650 * gdb.asm/Makefile.in: Ditto.
10651 * gdb.base/Makefile.in: Ditto.
10652 * gdb.cp/Makefile.in: Ditto.
10653 * gdb.dwarf2/Makefile.in: Ditto.
10654 * gdb.java/Makefile.in: Ditto.
10655 * gdb.mi/Makefile.in: Ditto.
10656 * gdb.modula2/Makefile.in: Ditto.
10657 * gdb.python/Makefile.in: Ditto.
10658 * gdb.server/Makefile.in: Ditto.
10659 * gdb.stabs/Makefile.in: Ditto.
10660 * gdb.threads/Makefile.in: Ditto.
10661 * gdb.trace/Makefile.in: Ditto.
10662
79ba84ca
MS
106632011-02-22 Michael Snyder <msnyder@vmware.com>
10664
df46027d 10665 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
10666 info threads.
10667
b9b35694
JB
106682011-02-22 Joel Brobecker <brobecker@adacore.com>
10669
10670 * gdb.python/py-breakpoint.exp: Fix the expected output of
10671 one of the "maint info breakpoints" tests to accept the output
10672 generated on platforms that do not have hardware watchpoints.
10673
8bfb830f
JB
106742011-02-22 Joel Brobecker <brobecker@adacore.com>
10675
10676 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
10677 clean_restart. Be a little stricter in the expected output
10678 for one of the tests. Fix a typo in one of the comments.
10679
c45f3c54
JB
106802011-02-22 Joel Brobecker <brobecker@adacore.com>
10681
10682 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
10683 Delete variable binfile, no longer use. Add or modify test
10684 comments to make them unique.
10685
b97c863c
MS
106862011-02-21 Michael Snyder <msnyder@vmware.com>
10687
10688 * Makefile.in: Update for make clean.
10689 * gdb.ada/Makefile.in: Ditto.
10690 * gdb.arch/Makefile.in: Ditto.
10691 * gdb.asm/Makefile.in: Ditto.
10692 * gdb.base/Makefile.in: Ditto.
10693 * gdb.cp/Makefile.in: Ditto.
10694 * gdb.dwarf2/Makefile.in: Ditto.
10695 * gdb.java/Makefile.in: Ditto.
10696 * gdb.mi/Makefile.in: Ditto.
10697 * gdb.modula2/Makefile.in: Ditto.
10698 * gdb.python/Makefile.in: Ditto.
10699 * gdb.server/Makefile.in: Ditto.
10700 * gdb.stabs/Makefile.in: Ditto.
10701 * gdb.threads/Makefile.in: Ditto.
10702 * gdb.trace/Makefile.in: Ditto.
10703
aea5b279
MS
107042011-02-21 Michael Snyder <msnyder@vmware.com>
10705
10706 * gdb.threads/thread-find.exp: Update patterns for changes in
10707 output of "info threads" command.
10708
e3039479
UW
107092011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10710 Ulrich Weigand <uweigand@de.ibm.com>
10711
10712 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
10713 (skip_hw_watchpoint_tests): Likewise.
10714 (skip_hw_watchpoint_multi_tests): Likewise.
10715
b800ec70
UW
107162011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
10717
10718 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
10719 (skip_hw_watchpoint_tests): Likewise.
10720 (skip_hw_watchpoint_multi_tests): Likewise.
10721 (skip_hw_watchpoint_access_tests): Likewise.
10722
10723 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
10724 * gdb.base/pr11022.exp: Likewise.
10725 * gdb.base/watch-read.exp: Likewise.
10726 * gdb.base/watch_thread_num.exp: Likewise.
10727 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
10728 * gdb.base/watchpoint-hw.exp: Likewise.
10729 * gdb.base/watchpoint.exp: Likewise.
10730 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
10731 * gdb.threads/watchthreads-reorder.exp: Likewise.
10732 * gdb.threads/watchthreads.exp: Likewise.
10733 * gdb.threads/watchthreads2.exp: Likewise.
10734
91033e37
JB
107352011-02-21 Joel Brobecker <brobecker@adacore.com>
10736
10737 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
10738 the debugger is unable to find the array bounds.
10739
eeaafae2
JK
107402011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10741
10742 * gdb.cp/typedef-operator.exp: New file.
10743 * gdb.cp/typedef-operator.cc: New file.
10744
e338d953
MS
107452011-02-17 Michael Snyder <msnyder@vmware.com>
10746
10747 * gdb.threads/thread-find.exp: Fix regular expressions.
10748
e67ad678
JB
107492011-02-17 Joel Brobecker <brobecker@adacore.com>
10750
10751 * gdb.ada/packed_array: Expand testcase to test printing of
10752 unconstrained packed array.
10753
93084bca
JB
107542011-02-17 Joel Brobecker <brobecker@adacore.com>
10755
10756 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
10757
a0c78a73
PA
107582011-02-16 Pedro Alves <pedro@codesourcery.com>
10759
f65d5553 10760 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
10761 (main): Initialize it before collecting, and and clear it
10762 afterwards.
f65d5553
PA
10763 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
10764 collecting with '{type} addr', where the addr expression is not an
10765 rvalue.
a0c78a73 10766
3dfcbbd2
KW
107672011-02-16 Ken Werner <ken.werner@de.ibm.com>
10768
10769 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
10770 a bool variable. Expect correct OpenCL names for vector types. Use the
10771 uc3 variable name instead of referring to the uchar3 built-in type.
10772 Escape the asterisk at the half pointer test.
10773
08807d5a
PA
107742011-02-16 Pedro Alves <pedro@codesourcery.com>
10775
f65d5553 10776 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
10777 (main): Initialize it before collecting, and and clear it
10778 afterwards.
f65d5553
PA
10779 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
10780 collecting overlapping memory ranges.
08807d5a 10781
60f98dde
MS
107822011-02-15 Michael Snyder <msnyder@vmware.com>
10783
10784 * gdb.base/default.exp: Add tests for thread commands.
10785 * gdb.base/help.exp: Add tests for thread commands.
10786 * gdb.threads/thread-find.exp: New test for thread find command.
10787
648cd113
KW
107882011-02-15 Ken Werner <ken.werner@de.ibm.com>
10789
10790 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
10791
494e194e
YQ
107922011-02-15 Yao Qi <yao@codesourcery.com>
10793
10794 PR tdep/12352
10795 * gdb.arch/arm-disp-step.S : New test for str instruction.
10796 * gdb.arch/arm-disp-step.exp : Likewise.
10797
d9492458
TJB
107982011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
10799
10800 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
10801 "vector_register2_vr" test strings. Test the extended floating
10802 point registers (F32~F63).
10803 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
10804 IBM XL C compiler. Make the test program use a register provided
10805 by the compiler for the lxvd2x instruction.
10806
8af8e3bc
PA
108072011-02-14 Pedro Alves <pedro@codesourcery.com>
10808
10809 * gdb.trace/unavailable.cc (class Base, class Middle, class
10810 Derived): New types.
10811 (derived_unavail, derived_partial, derived_whole): New globals.
10812 (virtual_partial): New global.
10813 (virtualp): Point at virtual_partial.
10814 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
10815 related to unavailable vptr.
10816
1b28d0b3
PA
108172011-02-14 Pedro Alves <pedro@codesourcery.com>
10818
10819 * gdb.trace/unavailable.cc (a, b, c): New globals.
10820 (main): Set and clear them.
10821 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
10822 `a' and `c', and check that `b' isn't collected, although `a' and
10823 `c' are.
10824
ec0a52e1
PA
108252011-02-14 Pedro Alves <pedro@codesourcery.com>
10826
10827 * gdb.trace/unavailable.cc (struct Virtual): New.
10828 (virtualp): New global pointer.
10829 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
10830 printing a pointer to an object whose type has a vtable, with
10831 print object on.
10832
24e6bcee
PA
108332011-02-14 Pedro Alves <pedro@codesourcery.com>
10834
10835 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
10836 value repeat handles unavailableness.
10837
39d37385
PA
108382011-02-14 Pedro Alves <pedro@codesourcery.com>
10839
10840 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
10841 tests for building arrays from unavailable values, subscripting
10842 non-memory rvalue unvailable arrays, and accessing fields or
10843 baseclasses of non-lazy unavailable values,
10844 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
10845 struct types.
10846 (g_smallstruct, g_smallstruct_b): New globals.
10847
06d72e16
PA
108482011-02-14 Pedro Alves <pedro@codesourcery.com>
10849
10850 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
10851
bc9a5551
JK
108522011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10853
10854 Fix const/volatile qualifiers of C++ types, PR c++/12328.
10855 * gdb.cp/overload-const.exp: New file.
10856 * gdb.cp/overload-const.cc: New file.
10857
54fcddd0
UW
108582011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10859
10860 * gdb.opencl/callfuncs.cl: New file.
10861 * gdb.opencl/callfuncs.exp: New test.
10862 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
10863
d6dafb7c
UW
108642011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10865
10866 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
10867 when computing result.
10868 * gdb.arch/altivec-abi.exp: Update expected results.
10869
a449c2d8
TJB
108702011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10871
10872 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
10873 * gdb.base/jit.exp: Likewise.
10874 * gdb.base/pie-execl.exp: Likewise.
10875 * gdb.base/solib-nodir.exp: Likewise.
10876 * gdb.base/solib-overlap.exp: Likewise.
10877
764880b7
PA
108782011-02-07 Pedro Alves <pedro@codesourcery.com>
10879
10880 * gdb.trace/collection.c (global_pieces): New.
10881 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
10882 New procedure.
10883 (gdb_trace_collection_test): Call it.
10884
505500db
SW
108852011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
10886
10887 * gdb.python/py-evthreads.c: New file.
10888 * gdb.python/py-evthreads.exp: New file.
10889 * gdb.python/py-events.py: New file.
10890 * gdb.python/py-events.exp: New file.
10891 * gdb.python/py-events.c: New file.
10892
385203ed
DD
108932011-02-04 David Daney <ddaney@caviumnetworks.com>
10894
10895 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
10896
9011945e
AB
108972011-02-03 Andrew Burgess <aburgess@broadcom.com>
10898
10899 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
10900 gdb.base/disasm-end-cu.exp: New test for disassembling over the
10901 boundary between two compilation units.
10902
580688f3
PA
109032011-02-02 Pedro Alves <pedro@codesourcery.com>
10904
10905 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
10906 (Virtual): New structs.
10907 (virtual_o, virtual_middle_b): New globals.
10908 * gdb.cp/virtbase.exp: New tests.
10909
d3f0f853
PP
109102011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10911
10912 * gdb.base/jit.exp: New file.
10913 * gdb.base/jit-main.c: New file.
10914 * gdb.base/jit-solib.c: New file.
10915
b2030fb5
UW
109162011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
10917
10918 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
10919 proceed to initial kernel entry point.
10920 * gdb.opencl/datatypes.exp: Likewise.
10921 * gdb.opencl/operators.exp: Likewise.
10922 * gdb.opencl/vec_comps.exp: Likewise.
10923
2db19d1e
SW
109242011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
10925
10926 * gdb.cp/nsnested.cc: New.
10927 * gdb.cp/nsnested.exp: New.
10928 * gdb.cp/nsnoimports.exp: New.
10929 * gdb.cp/nsnoimports.cc: New.
10930
6b0c4c1f
JB
109312011-01-31 Joel Brobecker <brobecker@adacore.com>
10932
10933 * gdb.base/interact.exp: Add extra tests that verify that
10934 the value of the interactive-mode setting does not change
10935 after the script is sourced.
10936
80b23b6a
JK
109372011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10938
10939 * gdb.cp/noparam.exp: New file.
10940 * gdb.cp/noparam.cc: New file.
10941
ffd5ec24
PA
109422011-01-28 Pedro Alves <pedro@codesourcery.com>
10943
10944 * gdb.trace/tfile.exp: Test that with no traceframe selected,
10945 there's no stack or registers.
10946
a81766d8
TT
109472011-01-26 Tom Tromey <tromey@redhat.com>
10948
10949 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
10950 space before string output. Add test for "set print pretty off"
10951 case.
10952
585fdaa1
PA
109532011-01-25 Pedro Alves <pedro@codesourcery.com>
10954
10955 * gdb.base/frame-args.exp: Adjust.
10956 * gdb.dwarf2/dw2-noloc.exp: Adjust.
10957 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
10958 * gdb.dwarf2/pieces.exp: Adjust.
10959 * gdb.opt/clobbered-registers-O2.exp: Adjust.
10960 * gdb.opt/inline-locals.exp: Adjust.
10961 * gdb.threads/fork-child-threads.exp: Adjust.
10962
d468832a
KW
109632011-01-25 Ken Werner <ken.werner@de.ibm.com>
10964
10965 * gdb.opencl/convs_casts.cl: Move program scope variables into the
10966 OpenCL kernel function. Add a comment as marker. Add address space
10967 qualifiers for the remaining program scope variables.
10968 * gdb.opencl/datatypes.cl: Likewise.
10969 * gdb.opencl/operators.cl: Likewise.
10970 * gdb.opencl/vec_comps.cl: Likewise.
10971 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
10972 Add breakpoint at the marker comment.
10973 * gdb.opencl/datatypes.exp: Likewise.
10974 * gdb.opencl/operators.exp: Likewise.
10975 * gdb.opencl/vec_comps.exp: Likewise.
10976
490f124f
PA
109772011-01-24 Pedro Alves <pedro@codesourcery.com>
10978
10979 * gdb.base/printcmds.c (some_struct): New struct and instance.
10980 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
10981 procedure.
10982 <global scope>: Call it.
10983
6da78614
KW
109842011-01-21 Ken Werner <ken.werner@de.ibm.com>
10985
10986 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
10987 argument to the gdb_compile_opencl_hostapp call.
10988
ec64c9aa
YQ
109892011-01-19 Yao Qi <yao@codesourcery.com>
10990
10991 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
10992 positve list.
10993
810cfdbb
YQ
109942011-01-19 Yao Qi <yao@codesourcery.com>
10995
10996 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
10997 canonical form.
10998 Remove "xscale-*-*"
10999 * gdb.xml/tdesc-regs.exp: Likewise.
11000 * gdb.python/py-section-script.exp: Replace ARM target triplet
11001 with canonical form.
11002 Match arm*-*-symbianelf*.
11003 * gdb.base/dup-sect.exp: Likewise.
11004 * lib/dwarf.exp: New.
11005 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
11006 dwarf2_support.
11007 * gdb.dwarf2/dup-psym.exp: Likewise.
11008 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
11009 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11010 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
11011 * gdb.dwarf2/dw2-basic.exp: Likewise.
11012 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11013 * gdb.dwarf2/dw2-const.exp: Likewise.
11014 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
11015 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
11016 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11017 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
11018 * gdb.dwarf2/dw2-filename.exp: Likewise.
11019 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11020 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
11021 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11022 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11023 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
11024 * gdb.dwarf2/dw2-noloc.exp: Likewise.
11025 * gdb.dwarf2/dw2-op-call.exp: Likewise.
11026 * gdb.dwarf2/dw2-producer.exp: Likewise.
11027 * gdb.dwarf2/dw2-ranges.exp: Likewise.
11028 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
11029 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
11030 * gdb.dwarf2/dw2-strp.exp: Likewise.
11031 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
11032 * gdb.dwarf2/implptr.exp: Likewise.
11033 * gdb.dwarf2/mac-fileno.exp: Likewise.
11034 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
11035 * gdb.dwarf2/pieces.exp: Likewise.
11036 * gdb.dwarf2/pr11465.exp: Likewise.
11037 * gdb.dwarf2/valop.exp: Likewise.
11038 * gdb.dwarf2/watch-notconst.exp: Likewise.
11039 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
11040
4694da01
TT
110412011-01-19 Tom Tromey <tromey@redhat.com>
11042
11043 * gdb.python/py-infthread.exp: Add thread tests.
11044
b075872c
JB
110452011-01-14 Joel Brobecker <brobecker@adacore.com>
11046
11047 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
11048
2c3e6e24
JB
110492011-01-14 Joel Brobecker <brobecker@adacore.com>
11050
11051 * gdb.ada/widewide: New testcase.
11052
de8fa76c
JB
110532011-01-13 Joel Brobecker <brobecker@adacore.com>
11054
11055 * gdb.base/interact.exp: New testcase.
11056
1b05df00
TT
110572011-01-12 Tom Tromey <tromey@redhat.com>
11058
11059 * gdb.mi/gdb2549.exp: Update for error message changes.
11060 * gdb.mi/mi-cli.exp: Likewise.
11061 * gdb.mi/mi-disassemble.exp: Likewise.
11062 * gdb.mi/mi-pthreads.exp: Likewise.
11063 * gdb.mi/mi-regs.exp: Likewise.
11064 * gdb.mi/mi-stack.exp: Likewise.
11065 * gdb.mi/mi-var-block.exp: Likewise.
11066 * gdb.mi/mi-var-cmd.exp: Likewise.
11067 * gdb.mi/mi2-cli.exp: Likewise.
11068 * gdb.mi/mi2-disassemble.exp: Likewise.
11069 * gdb.mi/mi2-pthreads.exp: Likewise.
11070 * gdb.mi/mi2-regs.exp: Likewise.
11071 * gdb.mi/mi2-stack.exp: Likewise.
11072 * gdb.mi/mi2-var-block.exp: Likewise.
11073 * gdb.mi/mi2-var-cmd.exp: Likewise.
11074
c2ff108b
JK
110752011-01-12 Andrew Burgess <aburgess@broadcom.com>
11076 Jan Kratochvil <jan.kratochvil@redhat.com>
11077
11078 PR fortran/11104 and DWARF unbound arrays detection.
11079 * gdb.fortran/multi-dim.exp: New file.
11080 * gdb.fortran/multi-dim.f90: New file.
11081
b716877b
AB
110822011-01-12 Andrew Burgess <aburgess@broadcom.com>
11083
11084 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
11085 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
11086 add new tests for opcode dumping.
11087
6c162d5e
TT
110882011-01-11 Tom Tromey <tromey@redhat.com>
11089
11090 * gdb.python/py-infthread.exp: Load gdb-python.exp.
11091
77b06cd7
TJB
110922010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
11093
11094 Convert hardware watchpoints to use breakpoint_ops.
11095 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
11096 type is not supported.
11097 * gdb.base/foll-fork.exp: Likewise.
11098 * gdb.base/foll-vfork.exp: Likewise.
11099
f39a75d0
PM
111002011-01-10 Phil Muldoon <pmuldoon@redhat.com>
11101
11102 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
11103 Use load_lib gdb-python.exp.
11104 * gdb.python/python.exp: Ditto.
11105 * gdb.python/py-function.exp: Ditto.
11106
fc529d80
AS
111072011-01-09 Andreas Schwab <schwab@linux-m68k.org>
11108
11109 * gdb.threads/tls.exp ("info address me"): Fix expected output.
11110
fb03cb59
JK
111112011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11112
11113 * configure: Regenerate.
11114
d8e22779
TT
111152011-01-06 Tom Tromey <tromey@redhat.com>
11116
11117 * gdb.python/py-frame.exp: Test gdb.newest_frame.
11118
09050809
JB
111192011-01-06 Joel Brobecker <brobecker@adacore.com>
11120
fc529d80
AS
11121 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
11122 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
11123 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11124 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
11125 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
11126 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11127 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
11128 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
11129 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
11130 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
11131 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
11132 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
11133 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
11134 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11135 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11136 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
11137 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
11138 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
11139 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11140 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
11141 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
11142 gdb.ada/uninitialized_vars.exp,
11143 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
11144 Simplify by using clean_restart.
09050809 11145
8ed5dd9e
JB
111462011-01-06 Joel Brobecker <brobecker@adacore.com>
11147
11148 Add marker to be used as anchor for inserting breakpoints.
11149 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
11150 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
11151 Likewise.
11152
11153 Remove uses of gdb_start_cmd.
11154 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
11155 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
11156
11157 Do not run testcase if testing with GDBserver.
11158 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
11159 if testing with GDBserver.
11160
368a124f
JB
111612011-01-06 Joel Brobecker <brobecker@adacore.com>
11162
11163 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
11164 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
11165 copyright header.
11166
44944448
JB
111672011-01-05 Joel Brobecker <brobecker@adacore.com>
11168
11169 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
11170 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
11171 testsuite/gdb.fortran/complex.f,
11172 testsuite/gdb.fortran/derived-type.f90,
11173 testsuite/gdb.fortran/library-module-lib.f90,
11174 testsuite/gdb.fortran/library-module-main.f90,
11175 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
11176 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
11177 Copyright year update.
11178
31886ea6
JB
111792011-01-05 Joel Brobecker <brobecker@adacore.com>
11180
11181 * gdb.base/langs1.f: Add copyright header.
11182
ebedcab5
JK
111832011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11184
11185 * gdb.base/morestack.exp: New file.
11186 * gdb.base/morestack.c: New file.
11187
de1eb2f9
JK
111882011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11189
11190 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
11191
9e87a409
JB
111922010-12-29 Joel Brobecker <brobecker@adacore.com>
11193
11194 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
11195 * gdb.ada/arrayptr.exp: Add test printing that new variable.
11196
720d1a40
JB
111972010-12-29 Joel Brobecker <brobecker@adacore.com>
11198
11199 * gdb.ada/lang_switch.exp: Correct expected parameter value.
11200
a283af87
AS
112012010-12-25 Andreas Schwab <schwab@linux-m68k.org>
11202
5d3d9cba
AS
11203 * gdb.threads/tls.exp: Fix typo.
11204
a283af87
AS
11205 * gdb.threads/thread-specific.exp (get_thread_list): Update.
11206 * gdb.threads/execl.exp: Update.
11207
2a20745c
YQ
112082010-12-23 Yao Qi <yao@codesourcery.com>
11209
11210 * gdb.arch/arm-disp-step.exp: New.
11211 * gdb.arch/arm-disp-step.S: New.
11212
a7658b96
TT
112132010-12-21 Tom Tromey <tromey@redhat.com>
11214
11215 * gdb.threads/execl.exp: Update.
11216 * gdb.threads/linux-dp.exp: Update.
11217 * gdb.threads/manythreads.exp: Update.
11218 * gdb.threads/tls.exp: Update.
11219
5b79abe7
TT
112202010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11221
11222 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
11223 (NextOverThrowDerivates) <resumebpt>: New.
11224 (resumebpt_test): New.
11225 (main): Call resumebpt_test.
11226 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
11227
0914bcdb
SS
112282010-12-12 Stan Shebs <stan@codesourcery.com>
11229
11230 * gdb.trace/tsv.exp: Test print command on trace state variables.
11231
305aeedc
TT
112322010-12-09 Tom Tromey <tromey@redhat.com>
11233
11234 * gdb.base/interp.exp: Add regression test.
11235
186c406b
TT
112362010-12-09 Tom Tromey <tromey@redhat.com>
11237
11238 * gdb.java/jnpe.java: New file.
11239 * gdb.java/jnpe.exp: New file.
11240 * gdb.cp/nextoverthrow.exp: New file.
11241 * gdb.cp/nextoverthrow.cc: New file.
11242
aae1c79a
DE
112432010-12-07 Doug Evans <dje@google.com>
11244
11245 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
11246 of data-directory.
11247 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
11248 updated.
11249 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
11250
60f98dde 112512010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
11252
11253 * gdb.base/callfuncs.exp: Test for skip_float_tests.
11254 * gdb.base/call-sc.exp: Ditto.
11255 * gdb.base/finish.exp: Ditto.
11256 * gdb.base/return.exp: Ditto.
11257 * gdb.base/return2.exp: Ditto.
11258
5fa290c1
DE
112592010-11-30 Doug Evans <dje@google.com>
11260
11261 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
11262 (gdb_expect_list): Fix spelling errors in comments.
11263 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
11264 send_gdb/gdb_expect_list where applicable.
11265 * gdb.base/call-ar-st.exp: Ditto.
11266 * gdb.base/funcargs.exp: Ditto.
11267 * gdb.base/gcore.exp: Ditto.
11268 * gdb.base/page.exp: Ditto.
11269 * gdb.base/sigaltstack.exp: Ditto.
11270 * gdb.base/siginfo.exp: Ditto.
11271 * gdb.base/sigstep.exp: Ditto.
11272 * gdb.base/trace-commands.exp: Ditto.
11273
4e04c971
DE
112742010-11-29 Doug Evans <dje@google.com>
11275
11276 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
11277 printer-name;subprinter-name.
11278
8cf6f0b1
TT
112792010-11-29 Tom Tromey <tromey@redhat.com>
11280
11281 * gdb.dwarf2/implptr.exp: New file.
11282 * gdb.dwarf2/implptr.c: New file.
11283 * gdb.dwarf2/implptr.S: New file.
11284
94b6973e
PM
112852010-11-29 Phil Muldoon <pmuldoon@redhat.com>
11286
fc529d80 11287 PR python/12199
94b6973e
PM
11288
11289 * gdb.python/py-breakpoint.exp: Test the delete method.
11290
8358c15c
JK
112912010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11292
11293 Fix step_resume_breakpoint unsaved during an infcall.
11294 * gdb.base/step-resume-infcall.exp: New file.
11295 * gdb.base/step-resume-infcall.c: New file.
11296
f6df29bc
TJB
112972010-11-24 Edjunior Machado <emachado@br.ibm.com>
11298
11299 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
11300
f2b5a5cf
TJB
113012010-11-24 Edjunior Machado <emachado@br.ibm.com>
11302
11303 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
11304 on ppc64's symbols; "finish" and "return" commands must accept to
11305 show the caller line again as well as the line after.
11306 * gdb.asm/powerpc64.inc: New file.
11307
6b0ecdc2
DE
113082010-11-23 Doug Evans <dje@google.com>
11309
11310 * lib/gdb.exp (gdb_test_sequence): New function.
11311 (gdb_expect_list): Add verbose -log call for each pattern.
11312 * gdb.base/signals.exp (test_handle_all_print): Call it.
11313 Reduce timeout increment from 6 minutes to 1 minute.
11314 * gdb.server/ext-run.exp: Call it.
11315
ea976c60
PM
113162010-11-23 Phil Muldoon <pmuldoon@redhat.com>
11317
f2b5a5cf 11318 PR python/12212
ea976c60
PM
11319
11320 * gdb.python/python.exp: Check that selected_thread raises an
11321 error when no inferior is loaded.
11322
c0efa795
JK
113232010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11324
11325 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
11326 * gdb.dwarf2/dw2-stack-boundary.S: New file.
11327
ec3aa567
JK
113282010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11329
11330 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
11331 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
11332
d8249011
DE
113332010-11-18 Doug Evans <dje@google.com>
11334
11335 * gdb.server/ext-run.exp: Fix intermittent failures.
11336
d4eba7d1
NF
113372010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11338
11339 * gdb.stabs/gdb11479.exp: Use runto_main.
11340
b04c2f88
NF
113412010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11342
11343 * gdb.base/break-entry.exp: Skip if using a stub.
11344
ae9d7ce4
NF
113452010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11346
11347 * gdb.python/py-inferior.exp: Pack values in target endianness.
11348
621c8364
TT
113492010-11-12 Tom Tromey <tromey@redhat.com>
11350
11351 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
11352 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
11353 MemoryError.
11354 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
11355 type.
11356 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
11357 MemoryError.
11358 (test_subscript_regression): Update exception type.
11359
84f4c1fe
PM
113602010-11-11 Phil Muldoon <pmuldoon@redhat.com>
11361
11362 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
11363 breakpoint tests.
11364
a1442452
PA
113652010-11-09 Pedro Alves <pedro@codesourcery.com>
11366
11367 * gdb.base/watchpoint.exp: Test "watch -location" with an
11368 innacessible location.
11369
efd11a33
JK
113702010-11-09 Edjunior Machado <emachado@br.ibm.com>
11371 Luis Machado <luisgpm@br.ibm.com>
11372
11373 * gdb.base/maint.exp: Expect "." prefix.
11374 * gdb.base/nodebug.exp: Expect "." Likewise.
11375 * gdb.base/sepsymtab.exp: Expect "." Likewise.
11376 * gdb.base/watchpoint-cond-gone.exp: Likewise.
11377 * gdb.base/watchpoint.exp: Expect a software watch to be created for
11378 POWER server processors.
11379
aa00efb5
JK
113802010-11-08 Edjunior Machado <emachado@br.ibm.com>
11381 Luis Machado <luisgpm@br.ibm.com>
11382
11383 * gdb.base/break-entry.exp: convert entry point for
11384 ppc64 and expect leading `.' on ppc64's symbols
11385
99e7ae30
DE
113862010-11-05 Doug Evans <dje@google.com>
11387
11388 * gdb.base/help.exp: Update expected output.
b521dba8
DE
11389 * gdb.python/py-param.exp: Delete, contents moved to ...
11390 * gdb.python/py-parameter.exp: ... here. New file.
11391 Add test for gdb.parameter ("directories").
99e7ae30 11392
f4b8a18d
KW
113932010-11-05 Ken Werner <ken.werner@de.ibm.com>
11394
11395 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
11396 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
11397 * configure: Regenerate.
11398 * gdb.opencl/Makefile.in: New File.
11399 * gdb.opencl/datatypes.exp: Likewise.
11400 * gdb.opencl/datatypes.cl: Likewise.
11401 * gdb.opencl/operators.exp: Likewise.
11402 * gdb.opencl/operators.cl: Likewise.
11403 * gdb.opencl/vec_comps.exp: Likewise.
11404 * gdb.opencl/vec_comps.cl: Likewise.
11405 * gdb.opencl/convs_casts.exp: Likewise.
11406 * gdb.opencl/convs_casts.cl: Likewise.
11407 * lib/opencl.exp: Likewise.
11408 * lib/opencl_hostapp.c: Likewise.
11409 * lib/opencl_kernel.cl: Likewise.
11410 * lib/cl_util.c: Likewise.
11411 * lib/cl_util.c: Likewise.
11412 * gdb.base/default.exp (set language): Add "opencl" to the list of
11413 languages.
11414
a9d5ef47
SW
114152010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
11416
11417 * gdb.cp/overload.exp: Added test for inheritance overload.
11418 * gdb.cp/overload.cc: Ditto.
11419 * gdb.cp/oranking.exp: Removed releveant kfails.
11420
03eb1c79
JK
114212010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11422 Joel Brobecker <brobecker@adacore.com>
11423
11424 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
11425 check test_compiler_info.
11426
dbc98a8b
KW
114272010-11-03 Ken Werner <ken.werner@de.ibm.com>
11428
11429 * gdb.base/gnu_vector.exp: Adjust expect messages.
11430
120bd360
KW
114312010-11-03 Ken Werner <ken.werner@de.ibm.com>
11432
11433 * gdb.base/gnu_vector.exp: Add unary operator tests.
11434
c37f7098
KW
114352010-11-03 Ken Werner <ken.werner@de.ibm.com>
11436
11437 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
11438
7b51bc51
DE
114392010-11-02 Doug Evans <dje@google.com>
11440
11441 * gdb.python/py-pp-maint.c: New file.
11442 * gdb.python/py-pp-maint.exp: New file.
11443 * gdb.python/py-pp-maint.py: New file.
11444
50c97f38
TT
114452010-11-02 Tom Tromey <tromey@redhat.com>
11446
11447 * gdb.base/default.exp: Remove "scheme" from language list.
11448
a289b8f6
JK
114492010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11450
11451 Revert:
11452 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11453 * gdb.threads/sigstep-threads.exp: New file.
11454 * gdb.threads/sigstep-threads.c: New file.
11455
cd017491
MS
114562010-10-20 Michael Snyder <msnyder@vmware.com>
11457
11458 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
11459
8e6a5956
UW
114602010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11461
11462 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
11463 Skip test completely if gdb,no_hardware_watchpoints.
11464
2c04da0d
UW
114652010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11466
11467 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
11468 strict, but do not check for any particular function name within libc.
11469
79afc5ef
SW
114702010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11471
11472 * gdb.cp/smartp.exp: New test.
11473 * gdb.cp/smartp.cc : New test.
11474
026ffab7
SW
114752010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11476
11477 * gdb.cp/converts.exp: Test pointer to bool conversion.
11478 Test pointer to long conversion.
11479 * gdb.cp/oranking.exp: Removed relevant kfail.
11480
3a772aa4
TT
114812010-10-18 Tom Tromey <tromey@redhat.com>
11482
11483 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
11484 argument to lazy_string.
11485 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
11486 (pp_ls.to_string): Use it.
11487 * gdb.python/py-prettyprint.c (main): Move declarations to top.
11488 Add "estring2" local.
11489
5fc3827b
JK
114902010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11491
11492 Fix s390x compatibility.
11493 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
11494 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
11495
8aeb23f3
JK
114962010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11497
11498 * gdb.threads/sigstep-threads.exp: New file.
11499 * gdb.threads/sigstep-threads.c: New file.
11500
c1e56572
JK
115012010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11502
11503 * gdb.base/pie-execl.exp: New file.
11504 * gdb.base/pie-execl.c: New file.
11505
92163a10
JK
115062010-10-13 Doug Evans <dje@google.com>
11507 Jan Kratochvil <jan.kratochvil@redhat.com>
11508
11509 PR exp/12117
11510 * gdb.cp/ptype-cv-cp.cc: New file.
11511 * gdb.cp/ptype-cv-cp.exp: New file.
11512
7062b0a0
SW
115132010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
11514
11515 * gdb.cp/converts.cc: New test program.
11516 * gdb.cp/converts.exp: New test.
11517 * gdb.cp/overload.exp: Added test for void* vs int*.
11518 * gdb.cp/overload.exp: Ditto.
11519 * gdb.cp/oranking.exp: Removed related kfail.
11520
0e3509db
DE
115212010-10-13 Doug Evans <dje@google.com>
11522
11523 * lib/gdb-python.exp (gdb_check_python_config): New function.
11524 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
11525 * gdb.python/lib-types.cc: New file.
11526 * gdb.python/lib-types.exp: New file.
11527
8dc78533
JK
115282010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11529
11530 * gdb.python/py-error.exp: New file.
11531 * gdb.python/py-error.py: New file.
11532
93c17e06
JK
115332010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11534
11535 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
11536 gdb_test_multiple.
11537
d8b34041
JK
115382010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11539
11540 * gdb.base/break-interp.exp: Use ldlags for linking flags.
11541 * gdb.base/prelink.exp: Likewise.
11542 * gdb.base/solib-nodir.exp: Likewise.
11543 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
11544 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
11545 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
11546
e0cc584e
UW
115472010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
11548
11549 * break-interp.exp (test_ld): Use two separate gdb_expect statements
11550 for the "info files" test to avoid timeouts on slow machines.
11551
cfc353b1
JK
115522010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11553
11554 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
11555 (main): Make openlib dummy call.
11556
d3d7896d
JK
115572010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11558
11559 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
11560 * break-interp.exp (reach): Move the core body ...
11561 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
11562 (test_ld): Provide always real argument, even to the linker. Replace
11563 dl_main by _dl_debug_state.
11564
5e533c94
JK
115652010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11566
11567 Fix results of prelinked PIEs on ppc*.
11568 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
11569 Accept also DISPLACEMENT "PRESENT".
11570 (main): Replace "ZERO" displacements by "PRESENT".
11571
33540610
SW
115722010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
11573
11574 * gdb.cp/oranking.exp: New test.
11575 * gdb.cp/oranking.cc: New test program.
11576
3bdf2bbd
KW
115772010-10-08 Ken Werner <ken.werner@de.ibm.com>
11578
11579 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
11580 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
11581
2f608a3a
KW
115822010-10-06 Ken Werner <ken.werner@de.ibm.com>
11583
11584 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
11585 lush, lynx) New constant.
11586 * gdb.base/constvars.exp: Test const array types.
11587 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
11588
aa2e2d8d
DE
115892010-10-06 Doug Evans <dje@google.com>
11590
11591 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
11592 of syscall staging area.
11593
2844d6b5
KW
115942010-10-06 Ken Werner <ken.werner@de.ibm.com>
11595
11596 * gdb.base/gnu_vector.c: Add variable c4.
11597 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
11598 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11599
7d8ac8bb
MR
116002010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
11601
11602 * gdb.arch/altivec-abi.exp: Fix a typo.
11603
84a02e58
MR
116042010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
11605
11606 * lib/mi-support.exp (thread_selected_re): Correct pattern used
11607 to match a thread ID.
11608
b18e6318
JK
116092010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11610
11611 Fix s390x testcase compatibility.
11612 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
11613
a2c09bd0
DE
116142010-10-01 Doug Evans <dje@google.com>
11615
11616 * lib/gdb-python.exp: New file.
11617 * gdb.python/py-block.exp: Use it.
11618 * gdb.python/py-breakpoint.exp: Ditto.
11619 * gdb.python/py-frame.exp: Ditto.
11620 * gdb.python/py-inferior.exp: Ditto.
11621 * gdb.python/py-param.exp: Ditto.
11622 * gdb.python/py-prettyprint.exp: Ditto.
11623 * gdb.python/py-shared.exp: Ditto.
11624 * gdb.python/py-symbol.exp: Ditto.
11625 * gdb.python/py-symtab.exp: Ditto.
11626 * gdb.python/py-type.exp: Ditto.
11627 * gdb.python/py-value.exp: Ditto.
11628 * gdb.python/python.exp: Ditto.
11629
38f12cfc
TT
116302010-09-30 Tom Tromey <tromey@redhat.com>
11631
11632 * gdb.base/anon.exp: New file.
11633 * gdb.base/anon.c: New file.
11634
9ae8282d
TT
116352010-09-30 Tom Tromey <tromey@redhat.com>
11636
11637 * gdb.base/completion.exp: Test completion through anonymous
11638 union.
11639 * gdb.base/break1.c (struct some_struct): Add anonymous union.
11640
e9e07ba6
JK
116412010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11642
11643 Fix printing parameters of inlined functions.
11644 * gdb.dwarf2/dw2-inline-param.exp: New file.
11645 * gdb.dwarf2/dw2-inline-param-main.c: New file.
11646 * gdb.dwarf2/dw2-inline-param.S: New file.
11647
cd2effb2
JK
116482010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11649
11650 PR corefiles/12071.
11651 * gdb.base/corefile.exp (quit with a process, no question: load core)
11652 (quit with a core file): New tests.
11653
bceffbf3
JK
116542010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11655
11656 Fix GDB crash on inferior calls with self-referencing classes.
11657 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
11658 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
11659 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
11660
1736ad11
JK
116612010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11662
11663 Fix lost siginfo_t for inferior calls.
11664 * gdb.base/siginfo-infcall.exp: New file.
11665 * gdb.base/siginfo-infcall.c: New file.
11666
a176ad92
JB
116672010-09-22 Joel Brobecker <brobecker@adacore.com>
11668
11669 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
11670
c2b0a229
JK
116712010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11672
11673 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
11674 New test.
11675 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
11676
e8ae22d1
JB
116772010-09-22 Joel Brobecker <brobecker@adacore.com>
11678
11679 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
11680 type of our const type.
11681
ec322823
SW
116822010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
11683
11684 * gdb.cp/pr12028.cc: New.
11685 * gdb.cp/pr12028.exp: New.
11686
72929c62
JB
116872010-09-22 Joel Brobecker <brobecker@adacore.com>
11688
11689 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
11690
875b4ff5 116912010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 11692 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
11693
11694 PR mi/11407
11695 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
11696 * gdb.mi/dw2-ref-missing-frame-main.c New File.
11697 * gdb.mi/dw2-ref-missing-frame.S New File.
11698 * gdb.mi/dw2-ref-missing-frame.exp New File.
11699
7155d578
TT
117002010-09-14 Tom Tromey <tromey@redhat.com>
11701
11702 PR symtab/8399:
11703 * gdb.threads/tls.exp: Remove kfail. Update expected output.
11704
515ed532
TT
117052010-09-14 Tom Tromey <tromey@redhat.com>
11706
11707 PR exp/11803:
11708 * gdb.threads/tls.exp: Use C++.
11709 (check_thread_local): Use K::another_thread_local.
11710 * gdb.threads/tls.c (class K): New.
11711 (another_thread_local): Now a member of K.
11712 (spin): Update. No longer K&R C.
11713
450ca57c
SW
117142010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
11715
11716 * gdb.cp/koenig.cc: created class for testing member lookup.
11717 * gdb.cp/koenig.exp: Added test for member lookup.
11718
dbd492a3
JK
117192010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11720
11721 Fix false FAILs on sourcetree topdir directory containing "kill".
11722 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
11723 source line matching regexp.
11724
8d4d924b
JK
117252010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11726
11727 * gdb.python/python.exp (set height 0, collect help from uiout)
11728 (verify help to uiout): New tests.
11729
8e64f2a0
JK
117302010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11731
11732 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
11733 is_lp64_target to check 64bit target.
11734
4569eed2
JK
117352010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11736
11737 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
11738 (test_ld) <powerpc64-*>: New.
11739
5e1617b1
DJ
117402010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11741
11742 * gdb.cp/templates.exp (test_template_args): Allow "struct".
11743
c767944b
DJ
117442010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11745
11746 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
11747 (FunctionArg::method): New function.
11748 (empty, arg): New variables.
11749 (main): Call arg.method.
11750 * gdb.cp/templates.exp (test_template_args): New function.
11751 (do_tests): Call it.
11752
27d3a3fc
UW
117532010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
11754
11755 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
11756 of "next" to proceed over pthread_exit call.
11757
55b7ce7f
UW
117582010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
11759
11760 * gdb.base/maint.exp: Avoid wildcards against potentially very long
11761 "maint print statistics" output to prevent expect timeouts.
11762
809df446
JK
117632010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11764
11765 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
11766 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11767 (test_float_rejected): ... here.
11768 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
11769 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11770 (test_float_rejected): ... here.
11771 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
11772 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11773 (test_float_rejected): ... here.
11774 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
11775 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11776 (test_float_rejected): ... here.
11777
8464be76
DJ
117782010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11779
11780 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
11781 before disabling hardware watchpoints.
11782 (test_inaccessible_watchpoint): Check that hardware watchpoints
11783 are used. Test for watchpoints on a constant address.
11784
14dba4b4
JK
117852010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11786
11787 * gdb.base/ui-redirect.exp: New file.
11788
3f3540e1 117892010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 11790 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
11791
11792 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
11793
0f254bb7
DE
117942010-08-31 Doug Evans <dje@google.com>
11795
11796 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
11797
03f17ccf
TT
117982010-08-30 Tom Tromey <tromey@redhat.com>
11799
11800 PR python/11792:
11801 * gdb.python/py-value.exp (test_subscript_regression): Add
11802 dynamic_type test.
11803
640617ad
DJ
118042010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
11805
11806 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
11807 instead of running to main. Do not test the main function.
11808 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
11809 Add new main.
11810
2ed91d1b
PA
118112010-08-26 Pedro Alves <pedro@codesourcery.com>
11812
11813 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
11814 one test.
11815
673bfd45
DE
118162010-08-24 Doug Evans <dje@google.com>
11817
11818 PR symtab/11942
11819 * gdb.dwarf2/dw4-sig-types.cc: New file.
11820 * gdb.dwarf2/dw4-sig-types.h: New file.
11821 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
11822 * gdb.dwarf2/dw4-sig-types.exp: New file.
11823
f9ffd4bb
TT
118242010-08-23 Tom Tromey <tromey@redhat.com>
11825
11826 PR python/11145:
11827 * gdb.python/py-value.c (Base, Derived): New types.
11828 (base): New global.
11829 * gdb.python/py-value.exp (test_subscript_regression): Add
11830 dynamic_cast test.
11831
d839c8a4
TT
118322010-08-23 Tom Tromey <tromey@redhat.com>
11833
11834 PR python/10676:
11835 * gdb.python/py-type.exp (test_fields): Add tests for type
11836 equality.
11837
702c2711
TT
118382010-08-23 Tom Tromey <tromey@redhat.com>
11839
11840 PR python/11915:
11841 * gdb.python/py-type.exp (test_fields): Add tests for array.
11842
832bafd3
KS
118432010-08-23 Keith Seitz <keiths@redhat.com>
11844
11845 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
11846 have any children. Create a new abbrev for it.
11847 Add missing terminal sequence to .debug_abbrev.
11848
c37bf528
KS
118492010-08-20 Keith Seitz <keiths@redhat.com>
11850
11851 PR symtab/11465:
11852 * gdb.dwarf2/pr11465.exp: New test.
11853 * gdb.dwarf2/pr11465.S: New file.
11854 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
11855 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
11856
4572cbac
TJB
118572010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
11858
11859 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
11860 registers. Update data sets with the new v2_double element in the
11861 VSX register union. Add vector_register3_vr data set for the AltiVec
11862 registers. Use gdb_test_no_output instead of send_gdb.
11863
e7fbb131
PA
118642010-08-19 Pedro Alves <pedro@codesourcery.com>
11865
11866 * gdb.python/py-shared.exp: New file, factored out from
11867 python.exp.
11868 * gdb.python/py-shared.c: New file.
11869 * gdb.python/py-shared-sl.c: New file.
11870 * gdb.python/python-1.c: New file.
11871 * gdb.python/python-sl.c: Delete.
11872 * gdb.python/python.c: Mention python-1.c.
11873 * gdb.python/python.exp: Move shared library tests to
11874 py-shared.exp.
11875 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
11876 (MISCELLANEOUS): New.
11877 (clean mostlyclean): Also remove $MISCELLANEOUS.
11878
d30f5e1f
DE
118792010-08-19 Doug Evans <dje@google.com>
11880
11881 PR exp/11926
11882 * gdb.base/printcmds.exp (test_float_accepted): New function.
11883 Move existing float tests there. Add tests for floats with suffixes.
11884 (test_float_rejected): New function.
11885 * gdb.java/jv-print.exp (test_float_accepted): New function.
11886 (test_float_rejected): New function.
11887 * gdb.objc/print.exp: New file.
11888 * gdb.pascal/print.exp: New file.
11889 * lib/objc.exp: New file.
11890
7b3fd859
PM
118912010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
11892
11893 * gdb.base/default.exp (info set): Avoid full buffer error and force
11894 reading up to final gdb prompt.
11895 (show): Likewise.
11896
c92817ce
TT
118972010-08-18 Tom Tromey <tromey@redhat.com>
11898
11899 PR symtab/11919:
11900 * gdb.base/completion.exp: Add test.
11901
f1208f9e
DE
119022010-08-18 Doug Evans <dje@google.com>
11903
11904 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
11905 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
11906 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
11907 Simplify, early exit if runto_main fails.
11908 * gdb.fortran/exprs.exp: load_lib fortran.exp.
11909 (set_lang_fortran): Moved to lib/fortran.exp.
11910 * gdb.fortran/types.exp: load_lib fortran.exp.
11911 (set_lang_fortran): Moved to lib/fortran.exp.
11912 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
11913 * gdb.java/jprint.exp (set_lang_java): Ditto.
11914 * gdb.java/jv-exp.exp: load_lib java.exp.
11915 If set_lang_java fails, issue a warning instead of failure to be
11916 consistent with other set_lang_foo uses.
11917 (set_lang_java): Moved to lib/java.exp.
11918 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
11919 If set_lang_java fails, issue a warning instead of failure to be
11920 consistent with other set_lang_foo uses.
11921 * gdb.pascal/types.exp: load_lib pascal.exp.
11922 (set_lang_pascal): Moved to lib/pascal.exp.
11923 * lib/fortran.exp: New file.
11924 * lib/java.exp (set_lang_java): New function.
11925 * lib/pascal.exp (set_lang_pascal): New function.
11926
2f06b485
YQ
119272010-08-18 Yao Qi <yao@codesourcery.com
11928
11929 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
11930 func_nofb_start and func_loopfb_start, so that address of functions
11931 is equal to these labels on Thumb.
11932
96e25403
YQ
119332010-08-18 Yao Qi <yao@codesourcery.com>
11934
11935 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
11936 to reflect latest c source file.
11937
36e6adc4
JK
119382010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11939
11940 * gdb.cp/infcall-dlopen.exp: New file.
11941 * gdb.cp/infcall-dlopen.cc: New file.
11942 * gdb.cp/infcall-dlopen-lib.cc: New file.
11943
f431efe5
PA
119442010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11945 Pedro Alves <pedro@codesourcery.com>
11946
11947 PR breakpoints/11371
11948
11949 * gdb.base/watch-cond-infcall.exp: New file.
11950 * gdb.base/watch-cond-infcall.c: New file.
11951
06a64a0b
TT
119522010-08-16 Tom Tromey <tromey@redhat.com>
11953
11954 * gdb.base/help.exp: Update.
11955 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
11956 watchpoint.
11957 (test_watch_location): New proc.
11958 (test_watchpoint_in_big_blob): Delete watchpoint.
11959 * gdb.base/watchpoint.c (func5): New function.
11960 (main): Call it.
11961
70ebf4ed
DE
119622010-08-16 Doug Evans <dje@google.com>
11963
11964 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
11965
ca5c20b6
PM
119662010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11967
11968 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
11969 tests.
11970
7346b668
KW
119712010-08-11 Ken Werner <ken.werner@de.ibm.com>
11972
11973 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
11974 * gdb.base/gnu_vector.c: New File.
11975 * gdb.base/gnu_vector.exp: Likewise.
11976
cb2e07a6
PM
119772010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11978
11979 * gdb.python/python.c: New File.
11980 * gdb.python/python-sl.c: New File.
11981 * gdb.python/python.exp: Test solib_address and decode_line
11982 * functions.
11983
5da1313b
JK
119842010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11985
11986 * gdb.python/python.exp (show height, set height 10)
11987 (verify pagination beforehand, verify pagination beforehand: q)
11988 (gdb.execute does not page, verify pagination afterwards)
11989 (verify pagination afterwards: q): New.
11990
49c3ccf7
DE
119912010-08-02 Doug Evans <dje@google.com>
11992
11993 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
11994 because of an older gcc, change test2
11995 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
11996 to unsupported.
11997
42c0c4f1
KH
119982010-07-30 Kazu Hirata <kazu@codesourcery.com>
11999
12000 * gdb.base/break-always.exp: Do not expect full paths to file
12001 names.
12002 * gdb.base/commands.exp: Likewise.
12003
d3765805
DE
120042010-07-30 Doug Evans <dje@google.com>
12005
c98ee71b
DE
12006 * gdb.cp/temargs.exp: For new tests that require newer gccs,
12007 xfail them when run with older gccs.
12008
fd961404
DE
12009 * lib/gdb.exp (build_executable): Forward "c++" option to
12010 get_compiler_info.
12011
999adef4
DE
12012 * gdb.python/py-type.exp (test_template): Mark as xfail tests
12013 "python print ttype.template_argument(1)" and
12014 "python print isinstance(ttype.template_argument(1), gdb.Value)"
12015 if using gcc 4.4 or earlier.
12016
d3765805
DE
12017 * gdb.base/valgrind-db-attach.exp: Use unique test name for
12018 attach-to-debugger handling.
12019
1276c759
JK
120202010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12021
12022 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
12023 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
12024 (main): Use copyreloc.
12025 * gdb.base/prelink.exp (split debug of executable)
12026 (.dynbss vs. .bss address shift): New tests.
12027
88caa9b9
PA
120282010-07-29 Pedro Alves <pedro@codesourcery.com>
12029
12030 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
12031 in gdb_test_multiple.
12032
c6f2ac43
PA
120332010-07-29 Pedro Alves <pedro@codesourcery.com>
12034
12035 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
12036 environment.
12037
326fd672
TT
120382010-07-28 Tom Tromey <tromey@redhat.com>
12039
12040 PR python/11060:
12041 * gdb.python/py-type.c (Temargs): New template.
12042 (temvar): New variable.
12043 * gdb.python/py-type.exp (test_template): New proc.
12044
3ce3b1ba
PA
120452010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12046
12047 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
12048 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
12049
34eaf542
TT
120502010-07-28 Tom Tromey <tromey@redhat.com>
12051
12052 PR c++/9946:
12053 * gdb.cp/temargs.exp: New file.
12054 * gdb.cp/temargs.cc: New file.
12055
d41b819e
JK
120562010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12057
12058 * gdb.base/help.exp (help disassemble): Update the content.
12059
26ab7092
JK
120602010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12061
12062 * gdb.threads/ia64-sigill.exp: New file.
12063 * gdb.threads/ia64-sigill.c: New file.
12064
5283e9e1
TT
120652010-07-27 Tom Tromey <tromey@redhat.com>
12066
12067 * gdb.opt/inline-cmds.c (ATTR): New define.
12068 (func1): Use it.
12069 (func2): Likewise.
12070 (func3): Likewise.
12071 (outer_inline1): Likewise.
12072 (outer_inline2): Likewise.
12073 * gdb.opt/inline-bt.c (ATTR): New define.
12074 (func1): Use it.
12075 (func2): Likewise.
12076 * gdb.opt/inline-locals.c (ATTR): New define.
12077 (func1): Use it.
12078 (func2): Likewise.
12079
e992ef73
TT
120802010-07-27 Tom Tromey <tromey@redhat.com>
12081
12082 * gdb.stabs/gdb11479.c (hack): New function.
12083 (test): Use it.
12084 (test2): Use it.
12085 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
12086 (int32_search_buf, int64_search_buf): No longer static.
12087 (x): Remove.
12088 * gdb.base/relocate.c (hack): New function.
12089
5374244e
PM
120902010-07-27 Phil Muldoon <pmuldoon@redhat.com>
12091
12092 * gdb.python/py-value.exp (test_inferior_function_call): New function.
12093 * gdb.python/py-value.c (func1): New function.
12094 (func2): Likewise.
12095
a99aee83
CV
120962010-07-26 Corinna Vinschen <vinschen@redhat.com>
12097
12098 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
12099 as not to clash with .data section.
12100
a04ba985
JG
121012010-07-26 Jerome Guitton <guitton@adacore.com>
12102
12103 * gdb.base/code_elim.exp: New file.
12104 * gdb.base/code_elim1.c: New file.
12105 * gdb.base/code_elim2.c: New file.
12106
23bd0f7c
PA
121072010-07-21 Pedro Alves <pedro@codesourcery.com>
12108
12109 PR symtab/11827
12110
12111 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
12112 (some_volatile_enum): New variable.
12113 * gdb.base/printcmds.exp (test_print_enums): New.
12114 <top level>: Call it.
12115
883df6dd
SW
121162010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
12117
12118 * gdb.cp/fpointer.cc: New test.
12119 * gdb.cp/fpointer.exp: New test.
12120
569b05a5
JK
121212010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12122
12123 * gdb.base/solib-nodir.exp: New file.
12124 * lib/gdb.exp (runto): New case for a GDB internal error.
12125
51d7d803
JK
121262010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12127 Ulrich Weigand <uweigand@de.ibm.com>
12128 Tom Tromey <tromey@redhat.com>
12129
12130 * gdb.base/charset-malloc.c: New file.
12131 * gdb.base/charset.c (malloc_stub): New prototype.
12132 (main): Call it instead of malloc itself.
12133 * gdb.base/charset.exp: Use only prepare_for_testing.
12134 (binfile): Remove the variable.
12135
c0edd9ed
JK
121362010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12137
12138 Make core files the process_stratum.
12139 * gdb.base/corefile.exp (run: load core again)
12140 (run: sanity check we see the core file, run: with core)
12141 (run: core file is cleared, attach: load core again)
12142 (attach: sanity check we see the core file, attach: with core)
12143 (attach: core file is cleared): New tests.
12144 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
12145
3cbaedff
KW
121462010-07-14 Ken Werner <ken.werner@de.ibm.com>
12147
12148 * gdb.arch/altivec-abi.exp: New tests.
12149
91158a56
TT
121502010-07-13 Tom Tromey <tromey@redhat.com>
12151
12152 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
12153 (main): Use it.
12154 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
12155
0f5238ed
TT
121562010-07-13 Tom Tromey <tromey@redhat.com>
12157
12158 * gdb.base/label.exp: New file.
12159 * gdb.base/label.c: New file.
12160
add265ae
L
121612010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
12162 H.J. Lu <hongjiu.lu@intel.com>
12163
12164 * lib/gdb.exp (is_ilp32_target): New.
12165 (is_lp64_target): Likewise.
12166
12167 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
12168 target.
12169 * gdb.arch/amd64-disp-step.exp: Likewise.
12170 * gdb.arch/amd64-dword.exp: Likewise.
12171 * gdb.arch/amd64-i386-address.exp: Likewise.
12172 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 12173
add265ae
L
12174 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
12175 target.
12176 * gdb.arch/i386-bp_permanent.exp: Likewise.
12177 * gdb.arch/i386-byte.exp: Likewise.
12178 * gdb.arch/i386-disp-step.exp: Likewise.
12179 * gdb.arch/i386-gnu-cfi.exp: Likewise.
12180 * gdb.arch/i386-prologue.exp: Likewise.
12181 * gdb.arch/i386-size-overlap.exp: Likewise.
12182 * gdb.arch/i386-size.exp: Likewise.
12183 * gdb.arch/i386-sse.exp: Likewise.
12184 * gdb.arch/i386-unwind.exp: Likewise.
12185 * gdb.arch/i386-word.exp: Likewise.
12186
12187 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
12188 test only when building 64-bit executables. Do not hard-code
12189 -m64 option.
12190
2dfb8c17
DE
121912010-07-07 Doug Evans <dje@google.com>
12192
12193 * lib/gdb.exp (gdb_test_list_exact): New function.
12194 * gdb.base/default.exp (show convenience): Call it, add tests for
12195 $_sdata = void, $_thread = 0.
12196
4e5799b6
JK
121972010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12198 Joel Brobecker <brobecker@adacore.com>
12199
12200 Fix re-run of PIE executable, PR shlibs/11776.
12201 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
12202 Remove $displacement_main to match the solib-svr4.c change. New "kill"
12203 and re-"run" of the inferior.
12204
1a219cc7
JK
122052010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12206 Joel Brobecker <brobecker@adacore.com>
12207
12208 Cope with missing /usr/sbin/prelink.
12209 * lib/prelink-support.exp (prelink_no):
12210 <result == 1 && $output is "no such file or directory">: New.
12211 (prelink_yes): Likewise. Return on failed prelink_no.
12212
5e3b36f8
JK
122132010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12214 Joel Brobecker <brobecker@adacore.com>
12215
12216 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
12217 build_executable by build_executable_own_libs. Replace "prelink -R"
12218 execution by a call of prelink_yes. Comment why "prelink -r" needs no
12219 change.
12220 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
12221 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
12222 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
12223 Replace build_executable by build_executable_own_libs's function
12224 build_executable_own_libs.
12225 (prelinkNO): Create new stub to call prelink_no.
12226 (prelinkYES): Create new stub to call prelink_yes.
12227 (test_attach): Rename calls of copy to file_copy.
12228 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
12229 (copy): Move to ...
12230 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
12231 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
12232 * gdb.base/prelink.exp: Disable testcase also for is_remote and
12233 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
12234 special flags by gdb_compile_shlib. Replace second gdb_compile by
12235 build_executable_own_libs. Replace "prelink -R" execution by a call of
12236 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
12237 a second call of prelink_yes. Replace restart commands by
12238 clean_restart.
12239 (prelink): Rename to ...
12240 (seen displacement message): ... this test. Extend its expectation
12241 strictness.
12242
86e4bafc
JK
122432010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12244
12245 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
12246 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
12247 displacement message exactly once.
12248
3cd07d20
JK
122492010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12250 Joel Brobecker <brobecker@adacore.com>
12251
12252 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
12253 its restore after the <$relink_args != ""> loop. new comment.
12254
0a1e94c7
JK
122552010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12256 Joel Brobecker <brobecker@adacore.com>
12257
12258 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
12259 code for it. New variable relink_args.
12260 (prelinkYES): Call prelinkNO.
12261 (test_attach): Accept new parameter relink_args. Re-prelink the binary
12262 in such case. Move the core code to ...
12263 (test_attach_gdb): ... a new function. Send GDB command "file".
12264 Extend expected "Attaching to " string.
12265
2f70bcfb
TT
122662010-07-02 Tom Tromey <tromey@redhat.com>
12267
12268 * gdb.base/bitops.exp: Remove extraneous "pass".
12269
a17ac5b0
TT
122702010-07-02 Ken Werner <ken.werner@de.ibm.com>
12271
12272 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
12273
dc10affe
PA
122742010-07-01 Pedro Alves <pedro@codesourcery.com>
12275
d41c0fc8
PA
12276 * gdb.base/help.exp: Adjust expected output.
12277
122782010-07-01 Pedro Alves <pedro@codesourcery.com>
12279
12280 * gdb.base/help.exp: Adjust expected output.
dc10affe 12281
0a600c36
JK
122822010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12283
12284 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
12285 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
12286 c++/11702.
12287
37cc8bfe
JK
122882010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12289 Doug Evans <dje@google.com>
12290
12291 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
12292 add .dynamic entry'.
12293
254e6b9e
DE
122942010-06-29 Doug Evans <dje@google.com>
12295
12296 Test PR c++/11702.
12297 * gdb.cp/m-static.exp: Add testcase.
12298 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
12299
595939de 123002010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
12301 Tom Tromey <tromey@redhat.com>
12302 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
12303
12304 * gdb.python/py-inferior.c: New File.
12305 * gdb.python/py-infthread.c: New File.
12306 * gdb.python/py-inferior.exp: New File.
12307 * gdb.python/py-infthread.exp: New File.
12308
98751a41
JK
123092010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12310
12311 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
12312 (ptype ::C::OtherFileClass typedefs): New.
12313 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
12314 (C::OtherFileClass::cOtherFileClassVar2): New.
12315 (C::OtherFileClass::cOtherFileClassVar_use): Use also
12316 cOtherFileClassVar2.
12317 (C::cOtherFileType2, C::cOtherFileVar2): New.
12318 (C::cOtherFileVar_use): use also cOtherFileVar2.
12319 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
12320
41f62f39
JK
123212010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12322
12323 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
12324 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
12325 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
12326 (print ::C::cOtherFileVar)
12327 (whatis C::OtherFileClass::cOtherFileClassType)
12328 (whatis ::C::OtherFileClass::cOtherFileClassType)
12329 (print C::OtherFileClass::cOtherFileClassVar)
12330 (print ::cOtherFileClassVar)
12331 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
12332 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
12333 trailing content.
12334 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
12335 (C::OtherFileClass::cOtherFileClassVar)
12336 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
12337 (C::cOtherFileVar, C::cOtherFileVar_use): New.
12338
af53d231
JK
123392010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12340
12341 Test PR c++/11703 and PR gdb/1448.
12342 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
12343 gdb/1448.
12344
9655fd1a
JK
123452010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12346
12347 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
12348 (main) <rtti_data>: New.
12349 * gdb.cp/virtbase.exp (print rtti_data): New.
12350
824cc8dd
JK
123512010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12352 Joel Brobecker <brobecker@adacore.com>
12353
12354 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
12355
6036c742
JK
123562010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12357
12358 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
12359
de6a0421
DE
123602010-06-28 Doug Evans <dje@google.com>
12361
12362 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
12363
b2dae948
DE
123642010-06-27 Doug Evans <dje@google.com>
12365
12366 * gdb.cp/m-static.exp: Update expected test output.
12367
0f3bb72e
PH
123682010-06-25 Paul Hilfinger <hilfinger@adacore.com>
12369
889bf7c5
PA
12370 * gdb.gdb/selftest.exp: Adjust expected message for
12371 capturing start-up runtime.
0f3bb72e 12372
bc9f0842
TT
123732010-06-25 Tom Tromey <tromey@redhat.com>
12374
12375 PR python/10808:
12376 * gdb.python/python.exp: Add new tests.
12377
099ef718
SW
123782010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
12379
12380 * gdb.cp/operator.cc: Created an import loop.
12381 * gdb.cp/operator.exp: Added testcase for import loop.
12382
5868a632
JK
123832010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12384
12385 Test PR python/11407.
12386 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
12387 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
12388 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
12389 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
12390 executable_nofb and executable_fb. New variables srcsfile, objsfile,
12391 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
12392 binfile. Call gdb_compile with clean_restart twice.
12393 (func_nofb print, func_nofb backtrace, func_loopfb print)
12394 (func_loopfb backtrace): New.
12395
af76db58
JK
123962010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12397
12398 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
12399 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
12400 by a hand made one.
12401 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
12402 i?86 requirement. Remove variables srcfile and binfile. New variable
12403 sources, executable_nofb and executable_fb. Call prepare_for_testing.
12404
f2c7657e
UW
124052010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12406
12407 * gdb.cell/dwarfaddr.exp: New file.
12408 * gdb.cell/dwarfaddr.S: New file.
12409
628fe4e4
JK
124102010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12411
12412 Test PR 9436.
12413 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
12414
f1421989
HZ
124152010-06-24 Hui Zhu <teawater@gmail.com>
12416
12417 * gdb.base/eval.exp: New file.
12418
d03285ec
UW
124192010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12420
12421 * gdb.cell/fork.exp: New file.
12422 * gdb.cell/fork.c: Likewise.
12423 * gdb.cell/fork-spu.c: Likewise.
12424
41b2c92d
PM
124252010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
12426
12427 * lib/gdb.exp (banned_variables_traced): New global variable.
12428 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
12429 (gdb_init): Use `trace add variable' instead of obsolete
12430 `trace variable'.
12431
d5bc977f
DE
124322010-06-21 Doug Evans <dje@google.com>
12433
12434 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
12435
d2ed6730
UW
124362010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12437
12438 * gdb.arch/spu-ls.exp: New file.
12439 * gdb.arch/spu-ls.c: Likewise.
12440
6aed2dbc
SS
124412010-06-18 Stan Shebs <stan@codesourcery.com>
12442
12443 * gdb.threads/thread-specific.exp: Add tests of $_thread.
12444
e0756905
UW
124452010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12446
12447 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
12448 * gdb.base/watch-cond.exp: Likewise.
12449 * gdb.python/py-breakpoint.exp: Likewise.
12450
d8053d4d
PA
124512010-06-18 Pedro Alves <pedro@codesourcery.com>
12452
12453 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
12454 clean_restart, make sure every test has a distinct message, and
12455 that messages don't include the executable' full path.
12456
81ce510c
DE
124572010-06-17 Doug Evans <dje@google.com>
12458
12459 * gdb.arch/i386-size.exp: Updated expected output for
12460 DISASSEMBLY_OMIT_FNAME.
12461
65d79d4b
SDJ
124622010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12463 Sergio Durigan Junior <sergiodj@redhat.com>
12464
12465 * gdb.base/watch-notconst.c: New file.
12466 * gdb.base/watch-notconst.S: New file.
12467 * gdb.base/watch-notconst2.c: New file.
12468 * gdb.base/watch-notconst2.S: New file.
12469 * gdb.base/watch-notconst.exp: New file.
12470 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
12471 (func4): Add operations on `global_ptr_ptr'.
12472 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
12473 routine to test watchpoints created with a constant expression.
12474 (test_inaccessible_watchpoint): Include tests for watchpoints
12475 created with a constant expression.
12476
df0f4836
KB
124772010-06-14 Kevin Buettner <kevinb@redhat.com>
12478
12479 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12480 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
12481 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
12482 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
12483 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12484 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12485 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
12486 of `_start'.
12487
b769def5
UW
124882010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12489
12490 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
12491 not supported on the target.
12492 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12493 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12494 * gdb.mi/mi-nsintrall.exp: Likewise.
12495 * gdb.mi/mi-nsmoribund.exp: Likewise.
12496 * gdb.mi/mi-nsthrexec.exp: Likewise.
12497
d914c394
SS
124982010-06-11 Stan Shebs <stan@codesourcery.com>
12499
12500 * gdb.base/permissions.exp: New file.
12501
125022010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
12503
12504 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
12505 does not support ELF executable class.
12506
f3ce5b9c
UW
125072010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12508
12509 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
12510
8e46892c
JK
125112010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12512
12513 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
12514 (runto): Catch "The target does not support running in non-stop mode.".
12515
6cc55c64
MS
125162010-06-11 Michael Snyder <msnyder@vmware.com>
12517
12518 * gdb.base/setshow.exp (set language asm): Don't use
12519 gdb_test_no_output, fails on some targets.
12520
caddefa4
UW
125212010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12522
12523 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
12524 * gdb.cp/pr9167.exp: Likewise.
12525
468b1aa7
UW
125262010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12527
12528 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
12529
5c3552dc
UW
125302010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12531
12532 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
12533
02e6fe6a
UW
125342010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12535
12536 * gdb.base/charset.c (main): Make sure malloc gets linked in.
12537
0e03807e
TT
125382010-06-11 Tom Tromey <tromey@redhat.com>
12539
12540 PR gdb/9977, PR exp/11636::
12541 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
12542 (pieces_test_f6): Update expected output.
12543
2bdf28a0
JK
125442010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12545
12546 * gdb.base/moribund-step.exp: New.
12547
f6978de9
MS
125482010-06-08 Michael Snyder <msnyder@vmware.com>
12549
12550 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 12551 * gdb.ada/boolean_expr.exp:
f6978de9
MS
12552 * gdb.ada/frame_args.exp: Ditto.
12553 * gdb.ada/lang_switch.exp: Ditto.
12554 * gdb.ada/ptype_arith_binop.exp: Ditto.
12555 * gdb.ada/ref_param.exp: Ditto.
12556 * gdb.ada/type_coercion.exp:Ditto.
12557
12558 * gdb.asm/asm-source.exp: Ditto.
12559
12560 * gdb.base/attach.exp: Ditto.
12561 * gdb.base/bitfields2.exp: Ditto.
12562 * gdb.base/call-signal-resume.exp: Ditto.
12563 * gdb.base/callfuncs.exp: Ditto.
12564 * gdb.base/commands.exp: Ditto.
12565 * gdb.base/dbx.exp: Ditto.
12566 * gdb.base/default.exp: Ditto.
12567 * gdb.base/dump.exp: Ditto.
12568 * gdb.base/exprs.exp: Ditto.
12569 * gdb.base/freebpcmd.exp: Ditto.
12570 * gdb.base/interrupt.exp: Ditto.
12571 * gdb.base/list.exp: Ditto.
12572 * gdb.base/long_long.exp: Ditto.
12573 * gdb.base/maint.exp: Ditto.
12574 * gdb.base/ptype.exp: Ditto.
12575 * gdb.base/return.exp: Ditto.
12576 * gdb.base/setshow.exp: Ditto.
12577 * gdb.base/sigbpt.exp: Ditto.
12578 * gdb.base/sigrepeat.exp: Ditto.
12579
12580 * gdb.cp/classes.exp: Ditto.
12581
12582 * gdb.dwarf2/dw2-restore.exp: Ditto.
12583
12584 * gdb.gdb/selftest.exp: Ditto.
12585
12586 * gdb.multi/base.exp: Ditto.
12587 * gdb.multi/bkpt-multi-exec.exp: Ditto.
12588
12589 * gdb.python/py-block.exp: Ditto.
12590 * gdb.python/py-prettyprint.exp: Ditto.
12591 * gdb.python/py-template.exp: Ditto.
12592
12593 * gdb.server/ext-attach.exp: Ditto.
12594 * gdb.server/ext-run.exp: Ditto.
12595 * gdb.server/server-mon.exp: Ditto.
12596
12597 * gdb.threads/fork-thread-pending.exp: Ditto.
12598 * gdb.threads/hand-call-in-threads.exp: Ditto.
12599 * gdb.threads/interrupted-hand-call.exp: Ditto.
12600 * gdb.threads/linux-dp.exp: Ditto.
12601 * gdb.threads/manythreads.exp: Ditto.
12602 * gdb.threads/print-threads.exp: Ditto.
12603 * gdb.threads/pthreads.exp: Ditto.
12604 * gdb.threads/schedlock.exp: Ditto.
12605 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12606 * gdb.threads/threadapply.exp: Ditto.
12607
de7ff789
MS
126082010-06-08 Michael Snyder <msnyder@vmware.com>
12609
889bf7c5 12610 * gdb.ada/exec_changed.exp:
de7ff789
MS
12611 Use ".*" instead of "" as wildcard regexp.
12612
12613 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
12614 * gdb.base/call-ar-st.exp: Ditto.
12615 * gdb.base/checkpoint.exp: Ditto.
12616 * gdb.base/default.exp: Ditto.
12617 * gdb.base/dump.exp: Ditto.
12618 * gdb.base/ending-run.exp: Ditto.
12619 * gdb.base/fileio.exp: Ditto.
12620 * gdb.base/miscexprs.exp: Ditto.
12621 * gdb.base/pointers.exp: Ditto.
12622 * gdb.base/readline.exp: Ditto.
12623 * gdb.base/reread.exp: Ditto.
12624 * gdb.base/restore.exp: Ditto.
12625 * gdb.base/shlib-call.exp: Ditto.
12626 * gdb.base/valgrind-db-attach.exp: Ditto.
12627 * gdb.base/volatile.exp: Ditto.
12628 * gdb.base/watchpoints.exp: Ditto.
12629
12630 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
12631
12632 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
12633 * gdb.python/py-value.exp: Ditto.
12634
12635 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
12636 * gdb.trace/circ.exp: Ditto.
12637 * gdb.trace/collection.exp: Ditto.
12638 * gdb.trace/packetlen.exp: Ditto.
12639 * gdb.trace/passc-dyn.exp: Ditto.
12640 * gdb.trace/report.exp: Ditto.
12641 * gdb.trace/tfile.exp: Ditto.
12642 * gdb.trace/tfind.exp: Ditto.
12643 * gdb.trace/while-dyn.exp: Ditto.
12644
3bebe2f2
JK
126452010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12646
12647 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
12648
5c631832
JK
126492010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12650
12651 Test PR 10640.
12652 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
12653
4c3376c8
SW
126542010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
12655
12656 * gdb.cp/koenig.exp: Test for ADL operators.
12657 * gdb.cp/koenig.cc: Added ADL operators.
12658 * gdb.cp/operator.exp: New test.
12659 * gdb.cp/operator.cc: New test.
12660
dc226d5a
MS
126612010-06-04 Michael Snyder <msnyder@vmware.com>
12662
dfb88a23
MS
12663 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
12664 * gdb.base/pending.exp: Ditto.
f7ae76b3 12665
dc226d5a
MS
12666 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
12667
967cf477
DE
126682010-06-04 Doug Evans <dje@google.com>
12669
12670 * gdb.python/py-prettyprint.exp: Add new test for enabled and
12671 disabled printers.
12672 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
12673 (enable_lookup_function): New function.
12674
eb801841
TT
126752010-06-04 Tom Tromey <tromey@redhat.com>
12676
12677 * gdb.python/py-value.exp (test_value_hash): Don't test equality
12678 of hash and id.
12679
38979823
JK
126802010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12681
12682 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
12683 newline.
12684 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
12685 (empty verbose non-noisy clear, empty verbose noisy clear)
12686 (empty non-verbose noisy clear): Likewise.
12687
35ec993f
MS
126882010-06-03 Michael Snyder <msnyder@vmware.com>
12689
12690 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
12691 * gdb.base/display.exp: Ditto.
12692 * gdb.base/find.exp: Ditto.
12693 * gdb.base/ifelse.exp: Ditto.
12694 * gdb.base/multi-forks.exp: Ditto.
12695 * gdb.base/recurse.exp: Ditto.
12696 * gdb.base/setshow.exp: Ditto.
12697 * gdb.base/value-double-free.exp: Ditto.
12698 * gdb.base/watch-vfork.exp: Ditto.
12699 * gdb.base/watch_thread_num.exp: Ditto.
12700 * gdb.base/watchpoint-solib.exp: Ditto.
12701 * gdb.base/watchpoint.exp: Ditto.
12702 * gdb.base/watchpoints.exp: Ditto.
12703
12704 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
12705 * gdb.cp/overload.exp: Ditto.
12706 * gdb.cp/virtfunc.exp: Ditto.
12707
12708 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
12709
889bf7c5 12710 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
12711 Replace gdb_test with gdb_test_no_output.
12712
889bf7c5 12713 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
12714 Replace gdb_test with gdb_test_no_output.
12715 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
12716 * gdb.threads/watchthreads.exp: Ditto.
12717 * gdb.threads/watchthreads2.exp: Ditto.
12718
12719 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
12720 * gdb.trace/tfind.exp: Ditto.
12721
c22decce
JB
127222010-06-03 Joel Brobecker <brobecker@adacore.com>
12723
12724 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
12725 successful test if message is the empty string.
12726
fd5700c7
JK
127272010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12728
12729 * gdb.fortran/module.exp (stopped language detection): New test.
12730
f55ee35c
JK
127312010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12732
12733 Support DW_TAG_module as separate namespaces.
12734 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
12735 gdb.fortran/library-module-lib.f90: New.
12736 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
12737 (print i): Remove.
12738 (continue to breakpoint: i-is-1, print var_i value 1)
12739 (continue to breakpoint: i-is-2, print var_i value 2)
12740 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
12741 (print var_d, print var_i value 14, ptype modmany, complete `modm)
12742 (complete `modmany, complete `modmany`, complete `modmany`var)
12743 (show language, setting breakpoint at module): New tests.
12744 * gdb.fortran/module.f90 (module mod): Remove.
12745 (module mod1, module mod2, module modmany, subroutine sub1)
12746 (subroutine sub2, program module): New.
12747
b8e8282f
JK
127482010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12749
12750 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
12751 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
12752 * gdb.cp/anon-union.exp (pass): Rename to ...
12753 (print z 2): ... here.
b8e8282f 12754
019ebafc
MS
127552010-06-02 Michael Snyder <msnyder@vmware.com>
12756
e68d8fd4
MS
12757 * gdb.trace/actions.exp: Use gdb_test_no_output.
12758 * gdb.trace/circ.exp: Ditto.
12759 * gdb.trace/packetlen.exp: Ditto.
12760 * gdb.trace/save-trace.exp: Ditto.
12761 * gdb.trace/tracecmd.exp: Ditto.
12762 * gdb.trace/tsv.exp: Ditto.
12763
12b5d08a
MS
12764 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
12765 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
12766 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
12767 * gdb.threads/manythreads.exp: Ditto.
12768 * gdb.threads/print-threads.exp: Ditto.
12769 * gdb.threads/pthreads.exp: Ditto.
12770 * gdb.threads/schedlock.exp: Ditto.
12771 * gdb.threads/staticthreads.exp: Ditto.
12772 * gdb.threads/thread-specific.exp: Ditto.
12773 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12774 * gdb.threads/threadapply.exp: Ditto.
12775 * gdb.threads/watchthreads.exp: Ditto.
12776 * gdb.threads/watchthreads2.exp: Ditto.
12777
89493308
MS
12778 * gdb.python/py-block.exp: Use gdb_test_no_output.
12779 * gdb.python/py-prettyprint.exp: Ditto.
12780 * gdb.python/py-template.exp: Ditto.
12781 * gdb.python/py-value.exp: Ditto.
12782
12783 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
12784 * gdb.reverse/watch-reverse.exp: Ditto.
12785
12786 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
12787 * gdb.server/ext-run.exp: Ditto.
12788
019ebafc
MS
12789 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
12790 * gdb.dwarf2/dw2-compressed.exp: Ditto.
12791 * gdb.dwarf2/dw2-intercu.exp: Ditto.
12792 * gdb.dwarf2/dw2-intermix.exp: Ditto.
12793 * gdb.dwarf2/dw2-producer.exp: Ditto.
12794 * gdb.dwarf2/mac-fileno.exp: Ditto.
12795
12796 * gdb.gdb/observer.exp: Use gdb_test_no_output.
12797 * gdb.gdb/selftest.exp: Ditto.
12798
12799 * gdb.multi/base.exp: Use gdb_test_no_output.
12800
12801 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
12802
3e0ca3a5
JK
128032010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12804
12805 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
12806
9db70545
MS
128072010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
12808
a8d52276
MS
12809 * gdb.cp/class2.exp: Use gdb_test_no_output.
12810 * gdb.cp/classes.exp: Ditto.
12811 * gdb.cp/extern-c.exp: Ditto.
12812 * gdb.cp/inherit.exp: Ditto.
12813 * gdb.cp/maint.exp: Ditto.
12814 * gdb.cp/mb-inline.exp: Ditto.
12815 * gdb.cp/mb-templates.exp: Ditto.
12816 * gdb.cp/method2.exp: Ditto.
12817 * gdb.cp/misc.exp: Ditto.
12818 * gdb.cp/ovldbreak.exp: Ditto.
12819 * gdb.cp/punctuator.exp: Ditto.
12820 * gdb.cp/templates.exp: Ditto.
12821 * gdb.cp/virtbase.exp: Ditto.
12822
889bf7c5 12823 * gdb.threads/attach-stopped.exp:
9db70545 12824 Replace uses of send_gdb / gdb_expect.
889bf7c5 12825 * gdb.threads/attachstop-mt.exp:
9db70545 12826 Replace uses of send_gdb / gdb_expect.
889bf7c5 12827 * gdb.threads/gcore-thread.exp:
9db70545 12828 Replace uses of send_gdb / gdb_expect.
889bf7c5 12829 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
12830 Replace uses of send_gdb / gdb_expect.
12831 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 12832 * gdb.threads/print-threads.exp:
9db70545
MS
12833 Replace uses of send_gdb / gdb_expect.
12834 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
12835 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
12836 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
12837
12838 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
12839 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
12840 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
12841 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
12842 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
12843 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
12844 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
12845 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
12846 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
12847 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
12848 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
12849
359cc68c
JK
128502010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12851
12852 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
12853
7d3fe98e
SW
128542010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
12855
12856 * gdb.cp/koenig.exp: Added new test case.
12857 * gdb.cp/koenig.cc: Ditto.
12858
27d3a1a2
MS
128592010-06-01 Michael Snyder <msnyder@vmware.com>
12860
12861 * gdb.base/arithmet.exp: Use gdb_test_no_output.
12862 * gdb.base/arrayidx.exp: Ditto.
12863 * gdb.base/attach.exp: Ditto.
12864 * gdb.base/auxv.exp: Ditto.
12865 * gdb.base/bigcre.exp: Ditto.
12866 * gdb.base/break-always.exp: Ditto.
12867 * gdb.base/break-interp.exp: Ditto.
12868 * gdb.base/break.exp: Ditto.
12869 * gdb.base/breakpoint-shadow.exp: Ditto.
12870 * gdb.base/call-ar-st.exp: Ditto.
12871 * gdb.base/call-sc.exp: Ditto.
12872 * gdb.base/call-signal-resume.exp: Ditto.
12873 * gdb.base/callfuncs.exp: Ditto.
12874 * gdb.base/catch-syscall.exp: Ditto.
12875 * gdb.base/charset.exp: Ditto.
12876 * gdb.base/code-expr.exp: Ditto.
12877 * gdb.base/commands.exp: Ditto.
12878 * gdb.base/cond-expr.exp: Ditto.
12879 * gdb.base/condbreak.exp: Ditto.
12880 * gdb.base/cursal.exp: Ditto.
12881 * gdb.base/cvexpr.exp: Ditto.
12882 * gdb.base/default.exp: Ditto.
12883 * gdb.base/del.exp: Ditto.
12884 * gdb.base/detach.exp: Ditto.
12885 * gdb.base/display.exp: Ditto.
12886 * gdb.base/ena-dis-br.exp: Ditto.
12887 * gdb.base/eval-skip.exp: Ditto.
12888 * gdb.base/foll-fork.exp: Ditto.
12889 * gdb.base/foll-vfork.exp: Ditto.
12890 * gdb.base/frame-args.exp: Ditto.
12891 * gdb.base/funcargs.exp: Ditto.
12892 * gdb.base/gcore-buffer-overflow.exp: Ditto.
12893 * gdb.base/gdbvars.exp: Ditto.
12894 * gdb.base/help.exp: Ditto.
12895 * gdb.base/ifelse.exp: Ditto.
12896 * gdb.base/included.exp: Ditto.
12897 * gdb.base/list.exp: Ditto.
12898 * gdb.base/macscp.exp: Ditto.
12899 * gdb.base/maint.exp: Ditto.
12900 * gdb.base/multi-fork.exp: Ditto.
12901 * gdb.base/overlays.exp: Ditto.
12902 * gdb.base/page.exp: Ditto.
12903 * gdb.base/pending.exp: Ditto.
12904 * gdb.base/pointers.exp: Ditto.
12905 * gdb.base/pr11022.exp: Ditto.
12906 * gdb.base/prelink.exp: Ditto.
12907 * gdb.base/printcmds.exp: Ditto.
12908 * gdb.base/psymtab.exp: Ditto.
12909 * gdb.base/randomize.exp: Ditto.
12910 * gdb.base/relational.exp: Ditto.
12911 * gdb.base/relocate.exp: Ditto.
12912 * gdb.base/remote.exp: Ditto.
12913 * gdb.base/sepdebug.exp: Ditto.
12914 * gdb.base/set-lang-auto.exp: Ditto.
12915 * gdb.base/setshow.exp: Ditto.
12916 * gdb.base/setvar.exp: Ditto.
12917 * gdb.base/signals.exp: Ditto.
12918 * gdb.base/signull.exp: Ditto.
12919 * gdb.base/sigstep.exp: Ditto.
12920 * gdb.base/sizeof.exp: Ditto.
12921 * gdb.base/solib-disc.exp: Ditto.
12922 * gdb.base/store.exp: Ditto.
12923 * gdb.base/structs.exp: Ditto.
12924 * gdb.base/structs2.exp: Ditto.
12925 * gdb.base/subst.exp: Ditto.
12926 * gdb.base/term.exp: Ditto.
12927 * gdb.base/trace-commands.exp: Ditto.
12928 * gdb.base/unwindonsignal.exp: Ditto.
12929 * gdb.base/valgrind-db-attach.exp: Ditto.
12930 * gdb.base/varargs.exp: Ditto.
12931 * gdb.base/watch-cond.exp: Ditto.
12932 * gdb.base/watch_thread_num.exp: Ditto.
12933 * gdb.base/watchpoint-cond-gone.exp: Ditto.
12934 * gdb.base/watchpoint.exp: Ditto.
12935 * gdb.base/whatis-exp.exp: Ditto.
12936
f8d3bf8f
MS
129372010-06-01 Michael Snyder <msnyder@vmware.com>
12938
12939 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
12940 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
12941 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
12942 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
12943 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
12944 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
12945 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
12946 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
12947 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
12948 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
12949 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
12950 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
12951 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
12952 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
12953 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
12954
3f9e0d32
JK
129552010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12956
12957 * gdb.base/commands.exp (begin commands on watch): Remove excessive
12958 trailing newline.
12959 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
12960 * gdb.java/jmisc.exp (p *args\n): Rename to ...
12961 (p *args): ... here and remove excessive trailing newline.
12962
f629457d
JB
129632010-05-31 Joel Brobecker <brobecker@adacore.com>
12964
12965 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
12966
09eef106
JK
129672010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12968
12969 Accept the new Linux kernel "t (tracing stop)" string.
12970 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
12971 Update comment.
12972 (state_wait) <T (tracing stop)>: New.
12973 (main): Update the state_wait expect string.
12974
94f31136
PA
129752010-05-28 Pedro Alves <pedro@codesourcery.com>
12976
12977 * limits.c, limits.exp: Delete files.
12978 * Makefile.in (clean mostlyclean): Adjust.
12979 * tracecmd.exp: Adjust.
12980
096554ab
JK
129812010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12982
12983 * gdb.base/tui-layout.exp: New.
12984
27d3a1a2 129852010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 12986
889bf7c5 12987 * gdb.reverse/break-precsave.exp:
bcd2dc50 12988 Replace uses of send_gdb / gdb_expect.
889bf7c5 12989 * gdb.reverse/break-reverse.exp:
bcd2dc50 12990 Replace uses of send_gdb / gdb_expect.
889bf7c5 12991 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 12992 Replace uses of send_gdb / gdb_expect.
889bf7c5 12993 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 12994 Replace uses of send_gdb / gdb_expect.
889bf7c5 12995 * gdb.reverse/finish-precsave.exp:
bcd2dc50 12996 Replace uses of send_gdb / gdb_expect.
889bf7c5 12997 * gdb.reverse/finish-reverse.exp:
bcd2dc50 12998 Replace uses of send_gdb / gdb_expect.
889bf7c5 12999 * gdb.reverse/i386-precsave.exp:
bcd2dc50 13000 Replace uses of send_gdb / gdb_expect.
889bf7c5 13001 * gdb.reverse/i386-reverse.exp:
bcd2dc50 13002 Replace uses of send_gdb / gdb_expect.
889bf7c5 13003 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 13004 Replace uses of send_gdb / gdb_expect.
889bf7c5 13005 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 13006 Replace uses of send_gdb / gdb_expect.
889bf7c5 13007 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 13008 Replace uses of send_gdb / gdb_expect.
889bf7c5 13009 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 13010 Replace uses of send_gdb / gdb_expect.
889bf7c5 13011 * gdb.reverse/machinestate.exp:
bcd2dc50 13012 Replace uses of send_gdb / gdb_expect.
889bf7c5 13013 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 13014 Replace uses of send_gdb / gdb_expect.
889bf7c5 13015 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 13016 Replace uses of send_gdb / gdb_expect.
889bf7c5 13017 * gdb.reverse/solib-precsave.exp:
bcd2dc50 13018 Replace uses of send_gdb / gdb_expect.
889bf7c5 13019 * gdb.reverse/solib-reverse.exp:
bcd2dc50 13020 Replace uses of send_gdb / gdb_expect.
889bf7c5 13021 * gdb.reverse/step-precsave.exp:
bcd2dc50 13022 Replace uses of send_gdb / gdb_expect.
889bf7c5 13023 * gdb.reverse/step-reverse.exp:
bcd2dc50 13024 Replace uses of send_gdb / gdb_expect.
889bf7c5 13025 * gdb.reverse/until-precsave.exp:
bcd2dc50 13026 Replace uses of send_gdb / gdb_expect.
889bf7c5 13027 * gdb.reverse/until-reverse.exp:
bcd2dc50 13028 Replace uses of send_gdb / gdb_expect.
889bf7c5 13029 * gdb.reverse/watch-precsave.exp:
bcd2dc50 13030 Replace uses of send_gdb / gdb_expect.
889bf7c5 13031 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
13032 Replace uses of send_gdb / gdb_expect.
13033
3def43e0
JK
130342010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13035
13036 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
13037 excessive newline.
13038
27d3a1a2 130392010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
13040
13041 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
13042 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
13043 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
13044 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
13045 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
13046 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
13047 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
13048 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
13049 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
13050 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
13051 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
13052 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
13053 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
13054 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
13055 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
13056 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
13057 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
13058 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
13059 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 13060
27d3a1a2 130612010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 13062
22454424
MS
13063 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
13064 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
13065
13066 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
13067 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
13068 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
13069
889bf7c5 13070 * gdb.reverse/consecutive-reverse.exp:
22454424 13071 Replace uses of send_gdb / gdb_expect.
889bf7c5 13072 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
13073 Replace uses of send_gdb / gdb_expect.
13074
13075 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
13076 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
13077 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 13078 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
13079 Replace uses of send_gdb / gdb_expect.
13080 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
13081 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
13082 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
13083 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
13084 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
13085 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
13086 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
13087 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
13088 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
13089
130902010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 13091
22454424 13092 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13093
22454424 13094 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13095
22454424
MS
13096 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
13097 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
13098 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
13099 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
13100 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
13101 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
13102 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
13103 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
13104 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13105
6e5f2c59
TT
131062010-05-25 Tom Tromey <tromey@redhat.com>
13107
13108 * gdb.base/macscp.exp: Add missing space after setup_kfail.
13109
bbc8b958
TT
131102010-05-25 Tom Tromey <tromey@redhat.com>
13111
13112 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
13113 argument order.
13114 * gdb.base/macscp.exp: Fix setup_kfail argument order.
13115 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
13116 order.
13117 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
13118 order.
13119 * gdb.base/call-sc.exp (setup_kfails): Remove.
13120 (setup_compiler_kfails): Remove.
13121 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
13122 argument order.
13123 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
13124 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
13125 (advancei): Fix setup_kfail argument order.
13126 * gdb.base/radix.exp: Fix setup_kfail argument order.
13127 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
13128 order.
13129 * gdb.base/structs.exp (setup_kfails): Remove.
13130 (setup_compiler_kfails): Fix setup_kfail argument order.
13131 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
13132 order.
13133 * gdb.java/jmain.exp: Fix setup_kfail argument order.
13134 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
13135 setup_kfail argument order.
13136 * gdb.cp/overload.exp: Fix setup_kfail argument order.
13137
83d1babf
TT
131382010-05-25 Tom Tromey <tromey@redhat.com>
13139
13140 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
13141
6acb16a2
MS
131422010-05-25 Michael Snyder <msnyder@vmware.com>
13143
13144 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
13145 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
13146 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
13147 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
13148 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
13149 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
13150 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
13151 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
13152 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
13153 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
13154 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
13155 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
13156 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
13157 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
13158 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
13159 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
13160 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
13161 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
13162 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
13163 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
13164 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
13165 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
13166 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
13167 * gdb.base/default.exp: Replace send_gdb with gdb_test.
13168 * gdb.base/define.exp: Replace send_gdb with gdb_test.
13169 * gdb.base/display.exp: Replace send_gdb with gdb_test.
13170 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
13171 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
13172 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
13173 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
13174 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
13175 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
13176 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
13177 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
13178 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
13179 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
13180 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
13181 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
13182 * gdb.base/help.exp: Replace send_gdb with gdb_test.
13183 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
13184 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
13185 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
13186 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
13187 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
13188 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
13189 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
13190 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 13191 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
13192
131932010-05-25 Doug Evans <dje@google.com>
13194
13195 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
13196 gdb.string_to_argv.
ad3986f0 13197
d3b1e874
TT
131982010-05-21 Tom Tromey <tromey@redhat.com>
13199
13200 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
13201 Call it.
13202 * gdb.dwarf2/pieces.S: Update.
13203 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
13204
cb826367
TT
132052010-05-21 Tom Tromey <tromey@redhat.com>
13206
13207 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
13208 Call it.
13209 * gdb.dwarf2/pieces.c (struct C): New.
13210 (f6): New function.
13211 * gdb.dwarf2/pieces.S: Replace.
13212
74de6778
TT
132132010-05-21 Tom Tromey <tromey@redhat.com>
13214
13215 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
13216 Call it.
13217
afd74c5f
TT
132182010-05-21 Tom Tromey <tromey@redhat.com>
13219
13220 * gdb.dwarf2.pieces.exp: New file.
13221 * gdb.dwarf2.pieces.S: New file.
13222 * gdb.dwarf2.pieces.c: New file.
13223
a7b75dfd 132242010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 13225 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
13226
13227 * lib/gdb.exp (gdb_test_no_output): New function.
13228 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
13229 when testing commands that should produce no output.
13230
c81c812a
JB
132312010-05-17 Joel Brobecker <brobecker@adacore.com>
13232
13233 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
13234 parameter that we want to watch being a constant.
13235
0cce5bd9
JB
132362010-05-17 Joel Brobecker <brobecker@adacore.com>
13237
13238 * gdb.ada/cond_lang: New testcase.
13239
47050449
JB
132402010-05-17 Joel Brobecker <brobecker@adacore.com>
13241
13242 * lib/gdb.exp (banned_variables): New variable/constant.
13243 (gdb_init): Add write trace on variables listed in banned_variables.
13244 (gdb_finish): Remove write traces on variables listed in
13245 banned_variables.
13246
77c01586
JB
132472010-05-17 Joel Brobecker <brobecker@adacore.com>
13248
13249 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
13250 * gdb.cp/koenig.exp: Likewise.
13251
88d4aea7
PM
132522010-05-14 Phil Muldoon <pmuldoon@redhat.com>
13253
889bf7c5 13254 PR python/11482
88d4aea7
PM
13255
13256 * gdb.python/py-value.exp (test_value_hash): New function.
13257
f5a010c0
PM
132582010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
13259
13260 PR exp/11530.
13261 * gdb.base/gdb11530.c: New file.
13262 * gdb.base/gdb11530.exp: New file.
13263
8ef4892f
JK
132642010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13265
13266 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
13267 * gdb.dwarf2/dw2-modula2-self-type.S: New.
13268
7322dca9
SW
132692010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
13270
13271 * gdb.cp/koenig.exp: New test.
13272 * gdb.cp/koenig.cc: New test program.
13273
02e7ea18
JB
132742010-05-05 Joel Brobecker <brobecker@adacore.com>
13275
13276 Remove the use of prms_id and bug_id throughout the testsuite.
13277
e1c34c5d
PM
132782010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
13279
13280 PR exp/11349.
13281 * testsuite/gdb.cp/ref-types.exp: Add test to examine
13282 use a reference local variable.
13283
8e1d0c49
JK
132842010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13285
13286 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
13287 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
13288 variable different_dir. Move debugfile into a full directory pathname
13289 under DIFFERENT_DIR.
13290 * lib/gdb.exp (separate_debug_filename): Remove.
13291 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
13292 variable debug_dir and mkdir of it. Update function comments.
13293
e66408ed
PA
132942010-04-29 Pedro Alves <pedro@codesourcery.com>
13295
13296 PR gdb/11557
13297
13298 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
13299 files.
13300
d7b32ed3
PM
133012010-04-29 Phil Muldoon <pmuldoon@redhat.com>
13302
889bf7c5 13303 * gdb.python/py-param.exp: New File.
d7b32ed3 13304
6aecb9c2
JB
133052010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
13306
13307 * gdb.base/default.exp: Fix "set language" test.
13308
bdf92a1c
PM
133092010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
13310
13311 PR breakpoints/11531.
13312 * gdb.base/gdb11531.c: New file.
13313 * gdb.base/gdb11531.exp: New file.
13314
3f172e24
TT
133152010-04-26 Tom Tromey <tromey@redhat.com>
13316
13317 * gdb.base/completion.exp: Add tests for completion and deprecated
13318 commands.
13319
64af4c92
JK
133202010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13321
13322 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
13323 (print /x char_array): Escape curly brackets.
13324
492928e4
JK
133252010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13326
13327 Fix deadlock on looped list of loaded shared objects.
13328 * gdb.base/solib-corrupted.exp: New.
13329
66d09542
DE
133302010-04-23 Doug Evans <dje@google.com>
13331
13332 * gdb.python/py-section-script.c: New file.
13333 * gdb.python/py-section-script.exp: New file.
13334 * gdb.python/py-section-script.py: New file.
13335
8bd10a10
CM
133362010-04-20 Chris Moller <cmoller@redhat.com>
13337
13338 PR 10179
13339
13340 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
13341 * gdb.base/pr10179-a.c:
13342 * gdb.base/pr10179-b.c:
13343 * gdb.base/pr10179.exp: New files.
13344
c0201579
JK
133452010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13346
13347 Fix crashes on dangling display expressions.
13348 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
13349 is SEP.
13350 (lib_flags): Remove the "debug" keyword.
13351 (libsepdebug): New variable for iterating new loop.
13352 (save_pf_prefix): New variable wrapping the loop.
13353 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
13354 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
13355
793b0ff8
PM
133562010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13357
13358 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
13359
097f51f7
PM
133602010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13361
13362 PR stabs/11479.
13363 * gdb.stabs/gdb11479.exp: New file.
13364 * gdb.stabs/gdb11479.c: New file.
13365
9a22f0d0
PM
133662010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13367
13368 * gdb.base/charset.c (Strin16, String32): New variables.
13369 * gdb.base/charset.exp (gdb_test): Test correct display
13370 of 16 or 32 bit strings.
13371
133722010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
13373
13374 PR 9167
13375 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
13376 * gdb.cp/pr9167.cc: New file.
13377 * gdb.cp/pr9167.exp: New file.
13378
13379
6e354e5e
PM
133802010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
13381
13382 PR pascal/11492.
13383 * gdb.pascal/gdb11492.pas: New file.
13384 * gdb.pascal/gdb11492.exp: New file.
13385
be942545
JB
133862010-04-20 Joel Brobecker <brobecker@adacore.com>
13387
1667e6e3 13388 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 13389
0c3acc09
JB
133902010-04-20 Joel Brobecker <brobecker@adacore.com>
13391
13392 * gdb.ada/dyn_loc: New testcase.
13393
ec31cde5
CM
133942010-04-20 Chris Moller <cmoller@redhat.com>
13395
13396 PR 10867
889bf7c5 13397
ec31cde5
CM
13398 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
13399 * gdb.cp/pr10687.cc: New file.
13400 * gdb.cp/pr10687.exp: New file.
13401
13402
ce4b0682
SDJ
134032010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13404 Sergio Durigan Junior <sergiodj@redhat.com>
13405
13406 * gdb.fortran/logical.exp: New testcase.
13407 * gdb.fortran/logical.f90: New file.
13408
3436961f
DE
134092010-04-19 Doug Evans <dje@google.com>
13410
13411 * gdb.base/help.exp (help source): Update expected output.
13412
4d836c09
JK
134132010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13414
13415 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
13416 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
13417 gdb_exit and return.
13418 (executable): New variable.
13419 (binfile): Use it.
13420
6149aea9
PA
134212010-04-19 Pedro Alves <pedro@codesourcery.com>
13422
13423 PR breakpoints/8554.
13424
13425 * gdb.trace/save-trace.exp: Adjust.
13426
ed41462c
L
134272010-04-17 H.J. Lu <hongjiu.lu@intel.com>
13428
13429 PR corefiles/11511
13430 * gdb.arch/system-gcore.exp: New.
13431 * gdb.arch/gcore.c: Likewise.
13432
3f7b2faa
DE
134332010-04-15 Doug Evans <dje@google.com>
13434
fa33c3cd
DE
13435 * gdb.python/py-progspace.c: New file.
13436 * gdb.python/py-progspace.exp: New file.
13437
3f7b2faa
DE
13438 * gdb.base/source.exp: Add tests for "source -s".
13439
79f283fe
PM
134402010-04-14 Phil Muldoon <pmuldoon@redhat.com>
13441
13442 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
13443 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
13444 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
13445 * gdb.python/py-mi.exp: New test for to_string returning None.
13446
fc8eb08a
PM
134472010-04-12 Phil Muldoon <pmuldoon@redhat.com>
13448
13449 * gdb.python/py-breakpoint.c: Make result global.
13450
26e197f6
JK
134512010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13452
13453 Fix non-GNU make compatibility.
13454 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
13455
adc36818
PM
134562010-04-09 Phil Muldoon <pmuldoon@redhat.com>
13457
13458 * gdb.python/py-breakpoint.exp: New File.
13459 * gdb.python/py-breakpoint.C: Ditto.
13460
64e17368
SS
134612010-04-08 Stan Shebs <stan@codesourcery.com>
13462
13463 * gdb.trace/actions.exp: Clear default-collect.
13464 * gdb.trace/save-trace.exp: Clear default-collect.
13465
fff5cc64
PM
134662010-04-08 Phil Muldoon <pmuldoon@redhat.com>
13467
13468 * gdb.python/py-value: Add null string variable.
13469 (test_lazy_string): Test zero length, NULL address lazy
13470 strings.
13471
a055a187
L
134722010-04-07 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 * gdb.arch/i386-avx.c: New.
13475 * gdb.arch/i386-avx.exp: Likewise.
13476
13477 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
13478
96e39866
DE
134792010-04-06 Doug Evans <dje@google.com>
13480
13481 * gdb.base/source-test.gdb: New file.
13482 * gdb.base/source.exp: Test source -v.
13483
5984a431
UW
134842010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13485
13486 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
13487
ec8a089a
PM
134882010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
13489
13490 * gdb.stabs/aout.sed: Convert all backslash to double backslash
13491 within one line, unless it is followed by a double quote.
13492 * gdb.stabs/hppa.sed: Idem.
13493 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
13494 * gdb.stabs/weird.exp: Check for correct parsing of
13495 char and string constants.
ec8a089a
PM
13496 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
13497 in .stabs to .stabx substitution.
13498
fce3c1f0
SS
134992010-04-05 Stan Shebs <stan@codesourcery.com>
13500
13501 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
13502 constant global.
13503 * gdb.trace/tfile.exp: Try to print them.
13504
d77f58be
SS
135052010-04-04 Stan Shebs <stan@codesourcery.com>
13506
13507 * gdb.base/completion.exp: Update for new "info watchpoints".
13508 * gdb.base/default.exp: Ditto.
13509 * gdb.base/help.exp: Ditto.
13510 * gdb.base/watchpoint.exp: Ditto.
13511 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 13512
af54718e
SS
135132010-04-04 Stan Shebs <stan@codesourcery.com>
13514
13515 * gdb.trace/tfile.exp: Sharpen tfind test.
13516
74d1f91e
JK
135172010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13518
13519 * gdb.base/break-entry.exp: New.
13520
eb8e76db 135212010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 13522 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
13523
13524 * gdb.reverse/i386-sse-reverse.exp: New file.
13525 * gdb.reverse/i386-sse-reverse.c: New file.
13526
bf65cad8
PA
135272010-04-02 Pedro Alves <pedro@codesourcery.com>
13528
13529 * gdb.trace/tfind.exp: Adjust expected disassembly output.
13530
fff87407
SS
135312010-04-01 Stan Shebs <stan@codesourcery.com>
13532
13533 * gdb.trace/actions.exp: Tweak expected output.
13534 * gdb.trace/while-stepping.exp: Tweak expected output.
13535
fe01d668
L
135362010-04-01 H.J. Lu <hongjiu.lu@intel.com>
13537
13538 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
13539
86b17b60
PA
135402010-04-01 Pedro Alves <pedro@codesourcery.com>
13541
13542 * gdb.base/commands.exp: Adjust.
13543 * gdb.cp/extern-c.exp: Adjust.
13544
2c58c0a9
PA
135452010-04-01 Pedro Alves <pedro@codesourcery.com>
13546
13547 * gdb.trace/collection.c (local_test_func): Define a local struct,
13548 and instanciate it.
13549
0db9b91c
PA
135502010-04-01 Pedro Alves <pedro@codesourcery.com>
13551
13552 * gdb.trace/collection.exp (gdb_collect_args_test)
13553 (gdb_collect_argarray_test): XFAIL the tests that assume the
13554 argarray argument's elements are collected.
13555
8072405b
JK
135562010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
13557
13558 * gdb.dwarf2/dw2-bad-parameter-type.exp,
13559 gdb.dwarf2/dw2-bad-parameter-type.S: New.
13560
8bf6485c
SS
135612010-03-31 Stan Shebs <stan@codesourcery.com>
13562
13563 * gdb.trace/save-trace.exp: Test save/restore of default-collect
13564 and tracepoint conditionals.
13565 (gdb_verify_tracepoints): Delete unused return.
13566
fd7f724a
KS
135672010-03-26 Keith Seitz <keiths@redhat.com>
13568
13569 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
13570 appear in the output before main.
13571 Remove KFAIL for gdb/2215 aka bz 9320.
13572
8d9e7719
DE
135732010-03-30 Doug Evans <dje@google.com>
13574
0906dd0b
DE
13575 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
13576 by dejagnu.
13577 * gdb.arch/amd64-dword.exp: Ditto.
13578
8d9e7719
DE
13579 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
13580 match.
13581 (break printf): Ditto.
13582
1da644f0
SW
135832010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
13584
13585 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
13586 gcc < 4.4.
13587 * gdb.cp/shadow.exp: Ditto.
13588
a8121990
PA
135892010-03-29 Pedro Alves <pedro@codesourcery.com>
13590
13591 * gdb.trace/collection.exp (run_trace_experiment): Make sure
13592 "tstart" is silent.
13593
6e79d367
PA
135942010-03-29 Pedro Alves <pedro@codesourcery.com>
13595
13596 * gdb.trace/collection.exp (executable): New.
13597 (binfile): Use it.
13598 (fpreg, spreg, pcreg): New.
13599 (test_register): Use gdb_test_multiple. Pass /x to print.
13600 (prepare_for_trace_test): New.
13601 (run_trace_experiment): Use "continue", not gdb_run_cmd.
13602 (gdb_collect_args_test, gdb_collect_argstruct_test)
13603 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
13604 prepare_for_trace_test.
13605 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
13606 fpreg, spreg and pcreg.
13607 (gdb_collect_expression_test, gdb_collect_globals_test): Use
13608 prepare_for_trace_test.
13609 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
13610 try to detect tracing support here. Don't set breakpoints at
13611 `begin' or `end' here.
13612 <global scope>: Use clean_restart. Run to main before checking
13613 for tracing support. Check for for tracing support here.
13614
09248348
JK
136152010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13616
13617 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
13618 " as $displacement" to "seen displacement message".
13619
d350db38
PA
136202010-03-28 Pedro Alves <pedro@codesourcery.com>
13621
13622 * gdb.trace/while-dyn.exp (executable): New variable.
13623 (binfile): Use it.
13624 (test_while_stepping): New function. Move most tests here. Call
13625 it once for each of the while-stepping, stepping and ws aliases.
13626
907af001
UW
136272010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13628
13629 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
13630 that do not provide the tagless_struct type name at all.
13631 (test_print_anon_union): Do not check value of uninitialized
13632 union member. Do not use cp_test_ptype_class, so we can accept
13633 "long" as well as "long int".
13634
610197fd
PA
136352010-03-26 Pedro Alves <pedro@codesourcery.com>
13636
13637 * gdb.trace/tfile.c (tohex, bin2hex): New.
13638 (write_error_trace_file): Hexify error description.
13639
6c28cbf2
SS
136402010-03-25 Stan Shebs <stan@codesourcery.com>
13641
13642 * gdb.trace/tfile.c: Generate an additional trace file, improve
13643 portability.
13644 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
13645 files in a better way.
13646
e62b8c7e
KS
136472010-03-25 Keith Seitz <keiths@redhat.com>
13648
13649 * gdb.java/jprint.exp: XFAIL printing of static class members
13650 because of GCC debuginfo problem.
13651
82ccf5a5
JK
136522010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13653
13654 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
13655
293e2f9e
DJ
136562010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13657
13658 * gdb.base/completion.exp: Allow long instead of long int.
13659 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
13660 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
13661 variable p.
13662 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
13663 * gdb.base/pointers.exp: Allow long instead of long int.
13664 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
13665 * gdb.base/step-line.exp: Allow a directory before the source file name.
13666
95a42b64
TT
136672010-03-24 Tom Tromey <tromey@redhat.com>
13668
13669 PR breakpoints/9352:
13670 * gdb.base/default.exp: Update.
13671 * gdb.base/commands.exp: Update.
13672 * gdb.cp/extern-c.exp: Test setting commands on multiple
13673 breakpoints at once.
13674
2390201f
DJ
136752010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13676
13677 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
13678 if gdb,nosignals.
13679 * gdb.base/watchpoints.c: Do not include unnecessary headers.
13680 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
13681 exited".
13682
8c9a6790
SS
136832010-03-24 Stan Shebs <stan@codesourcery.com>
13684
13685 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
13686
a6c727b2
DJ
136872010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13688
13689 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
13690 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
13691 argument. Handle "short" and "long".
13692 (Top level): Pass overprototyped output for old_fptr and xptr.
13693
4dfd5423
PA
136942010-03-23 Pedro Alves <pedro@codesourcery.com>
13695
13696 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
13697 format strings and add casts to avoid compiler warnings.
13698
136992010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
13700
13701 * lib/trace-support.exp (gdb_trace_setactions):
13702 Don't expect whitespace after ">" prompt.
13703 * gdb.trace/actions.exp: Adjust for output changes.
13704 * gdb.trace/while-stepping.exp: Likewise.
13705
c847d045
JK
137062010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13707
13708 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
13709 and r157645).
13710
5f717f1d
JK
137112010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13712
13713 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
13714 New.
13715
7d6d51d5
DJ
137162010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
13717
13718 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
13719 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
13720
3b11a015
SS
137212010-03-19 Stan Shebs <stan@codesourcery.com>
13722
13723 * gdb.trace/ax.exp: New file.
13724
d7d158ed
DE
137252010-03-19 Doug Evans <dje@google.com>
13726
6bb85cd1
DE
13727 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
13728 output from gcc.
13729
d7d158ed
DE
13730 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
13731 named /usr/sbin/prelink<foo>.
13732
4daf5ac0
SS
137332010-03-18 Stan Shebs <stan@codesourcery.com>
13734
13735 * gdb.trace/circ.exp: Test circular-trace-buffer.
13736 * gdb.trace/tfile.exp: Update tstatus test.
13737
e8d05480
JB
137382010-03-18 Joel Brobecker <brobecker@adacore.com>
13739
13740 * gdb.dwarf2/dw2-anonymous-func.S: New file.
13741 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
13742
441b986a
UW
137432010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13744
13745 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
13746
4247603b
PA
137472010-03-18 Pedro Alves <pedro@codesourcery.com>
13748
13749 * gdb.base/default.exp: Adjust the expected output of the finish
13750 and until commands when the inferior is not being run.
13751
13387711
SW
137522010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
13753
13754 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
13755 * gdb.cp/nsusing.exp: Ditto.
13756
6e31430b
TT
137572010-03-15 Tom Tromey <tromey@redhat.com>
13758
13759 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
13760 * gdb.cp/userdef.cc (operator==): New function.
13761 (main): New locals mem1, mem2.
13762
e2d69cb5
JZ
137632010-03-15 Jie Zhang <jie@codesourcery.com>
13764
13765 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
13766 Declare and use new loadtimeout variable.
13767
f572f0a9
DJ
137682010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
13769
13770 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
13771 Use gdb_load later.
13772
51f4c0b0
PA
137732010-03-14 Pedro Alves <pedro@codesourcery.com>
13774
13775 * gdb.base/solib-disc.c (main): Make format of fprintf a string
13776 literal. Add missing endlines to prints to stderr.
13777
1c809c68
TT
137782010-03-12 Tom Tromey <tromey@redhat.com>
13779
13780 PR c++/9708:
13781 * gdb.cp/m-static.exp: Add regression test.
13782 * gdb.cp/m-static.cc (method): New method.
13783 (main): Call it.
13784
00ae8fef
SW
137852010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
13786
13787 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
13788 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
13789
759f0f0b
PA
137902010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
13791
21e24d21
PA
13792 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
13793
137942010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
13795
759f0f0b
PA
13796 * lib/gdb.exp (skip_stl_tests): New.
13797 (gdb_compile): Symbian needs -ldl.
13798 (shlib_target_file): New.
13799 (shlib_symbol_file): New.
13800 (gdb_load_shlibs): Use shlib_target_file.
13801 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
13802 * gdb.cp/exception.exp: Use skip_stl_tests.
13803 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
13804 * gdb.cp/try_catch.exp: Use skip_stl_tests.
13805 * gdb.cp/mb-templates.exp: Ditto.
13806 * gdb.base/commands.exp: Relax regexes.
13807 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
13808 shlib_target_file and shlib_symbol_file.
13809 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
13810 sections.
13811 * gdb.base/ending-run.exp: Accept E32Main for symbian.
13812 * gdb.base/solib-disc.exp: Use
13813 shlib_target_file and shlib_symbol_file.
13814 * gdb.base/unload.exp: Don't skip on symbian. Use
13815 shlib_target_file and shlib_symbol_file.
13816 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
13817
6a8f2671 138182010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 13819
6a8f2671
PA
13820 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
13821 * gdb.trace/report.exp: Adjust for x86 and x86_64.
13822 Issue a tfind end before looking for a tracepoint frame.
13823 * gdb.trace/tfind.exp: Adjust tstatus output.
13824 Adjust disassembly output.
13825 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
13826
ccf26247
JK
138272010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13828
13829 * gdb.base/break-interp.exp: Create new displacement parameter value
13830 for the test_ld calls.
13831 (reach): New parameter displacement, verify its content. New push of
13832 pf_prefix "reach-$func:". Import global expect_out.
13833 (test_core): New parameter displacement, verify its content. New push
13834 of pf_prefix "core:". New command "set verbose on". Import global
13835 expect_out.
13836 (test_attach): New parameter displacement, verify its content. New
13837 push of pf_prefix "attach:". New command "set verbose on". Import
13838 global expect_out.
13839 (test_ld): New parameter displacement, pass it to the reach, test_core
13840 and test_attach calls and verify its content in the "ld.so exit" test.
13841 * gdb.base/prelink.exp: Remove gdb_exit and final return.
13842 (prelink): Update expected text, use gdb_test.
13843
e469c7fb
DE
138442010-03-10 Doug Evans <dje@google.com>
13845
13846 * gdb.base/checkpoint.exp: Fix comment.
13847 Lengthen timeout while doing >600 checkpoints test.
13848 Rename duplicate "kill all one" test to keep test names unique.
13849
60e1c644
PA
138502010-03-10 Pedro Alves <pedro@codesourcery.com>
13851
13852 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
13853
cec808ec
KS
138542010-03-08 Keith Seitz <keiths@redhat.com>
13855
889bf7c5
PA
13856 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
13857 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
13858 (dm_type_long): New function.
13859 (dm_type_unsigned_short): New function.
13860 (dm_type_unsigned_long): New function.
13861 (myint): New typedef.
13862 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
13863 long, unsigned shor and long, operator char*, and typedef.
13864 (test_lookup_operator_functions): Add operator char* test.
13865 (test_paddr_operator_functions): Likewise.
13866 (test_paddr_overloaded_functions): Use probe values for
13867 short, long, and unsigned short and long.
13868 (test_paddr_hairy_functions): If the demangler probe detected
13869 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
13870 demangler.
13871 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
13872 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
13873 and "print null_pmf".
13874 Add test "ptype a.*pmf".
13875 * gdb.cp/overload.exp: Allow optional "int" to appear with
13876 "short" and "long".
13877 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
13878 long expect value for men_overload1arg.
13879 Allow "int" to appear with "short" and "long".
13880 When testing "info break", add argument for main (void).
13881 Also allow "int" to appear with "short" and "long".
13882 Ditto with "unsigned" and "long long".
cec808ec
KS
13883 * gdb.java/jmain.exp: Do not enclose methods names in single
13884 quotes.
13885 * gdb.java/jmisc.exp: Likewise.
13886 * gdb.java/jprint.exp: Likewise.
13887 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
13888
13889 From Jan Kratochvil <jan.kratochvil@redhat.com>:
13890 * gdb.cp/exception.exp (backtrace after first throw)
13891 (backtrace after second throw): Allow a namespace before __cxa_throw.
13892 (backtrace after first catch, backtrace after second catch): Allow
13893 a namespace before __cxa_begin_catch.
13894
13895 * gdb.cp/cpexprs.exp: New file.
13896 * gdb.cp/cpexprs.cc: New file.
13897
13898 From Daniel Jacobowitz <dan@codesourcery.com>
13899 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
13900 to use string_to_regexp.
13901 (ctor, dtor): New functions. Use them to match constructor
13902 and destructor function types.
13903 (Top level): Use runto_main.
13904
f870a310
TT
139052010-03-05 Tom Tromey <tromey@redhat.com>
13906
13907 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
13908 gdb.target_charset.
13909 (pp_ns.to_string): Likewise.
13910
0c199f28
KS
139112010-03-04 Keith Seitz <keiths@redhat.com>
13912
13913 * gdb.cp/overload.exp: Test that the filename portion of a linespec
13914 can be quoted. Test that both the filename and function/line
13915 portions can be quoted at the same time.
13916
c7437ca6
PA
139172010-03-04 Pedro Alves <pedro@codesourcery.com>
13918
13919 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
13920
b111b805
DE
139212010-03-03 Doug Evans <dje@google.com>
13922
24486cb7
DE
13923 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
13924 libc contains libpthread.
13925
b111b805
DE
13926 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
13927 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
13928 of gdb_compile. Add another pattern to match android backtrace.
13929
a0e0ef55
TT
139302010-03-03 Tom Tromey <tromey@redhat.com>
13931
13932 PR gdb/11345:
13933 * gdb.base/printcmds.exp (test_printf): Add test.
13934
1ba53b71
L
139352010-03-02 H.J. Lu <hongjiu.lu@intel.com>
13936
13937 * gdb.arch/amd64-byte.exp: New.
13938 * gdb.arch/amd64-dword.exp: Likewise.
13939 * gdb.arch/amd64-pseudo.c: Likewise.
13940 * gdb.arch/amd64-word.exp: Likewise.
13941 * gdb.arch/i386-byte.exp: Likewise.
13942 * gdb.arch/i386-pseudo.c: Likewise.
13943 * gdb.arch/i386-word.exp: Likewise.
13944
f5dff777
DJ
139452010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13946
13947 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
13948 types. Add structreg, bitfields, and flags registers.
13949 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
13950 registers.
13951
90884b2b
L
139522010-03-01 H.J. Lu <hongjiu.lu@intel.com>
13953
13954 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
13955 (load_description): Set architecture if defined.
13956
dc00d89f
PM
139572010-02-28 Phil Muldoon <pmuldoon@redhat.com>
13958
13959 * gdb.python/py-frame.exp: Add read_var block tests.
13960 * gdb.python/py-frame.c (block): New function.
13961
0e095b7e
JK
139622010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13963 Daniel Jacobowitz <dan@codesourcery.com>
13964
13965 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
13966
624f1a65
DM
139672010-02-25 David S. Miller <davem@davemloft.net>
13968
13969 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
13970 fix logic for setting all_syscalls_numbers.
13971
f3e9a817
PM
139722010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13973
13974 * Makefile.in: Add py-block and py-symbol.
13975 * gdb.python/py-symbol.exp: New File.
13976 * gdb.python/py-symtab.exp: New File.
13977 * gdb.python/py-block.exp: New File.
13978 * gdb.python/py-symbol.c: New File.
13979 * gdb.python/py-block.c: New File.
13980
f6bbabf0
PM
139812010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13982
13983 PR python/11314
13984 * lib/gdb.exp (skip_python_tests): New function.
13985 * gdb.python/py-cmd.exp: Use skip_python_tests.
13986 * gdb.python/py-frame.exp: Likewise.
13987 * gdb.python/py-function.exp: Likewise.
13988 * gdb.python/py-prettyprint.exp: Likewise.
13989 * gdb.python/py-template.exp: Likewise.
13990 * gdb.python/py-type.exp: Likewise.
13991 * gdb.python/py-value.exp: Likewise.
13992
85d721b8
PA
139932010-02-22 Pedro Alves <pedro@codesourcery.com>
13994
13995 PR9605
13996
13997 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
13998
48e32051
TT
139992010-02-19 Tom Tromey <tromey@redhat.com>
14000
14001 PR c++/8693, PR c++/9496:
14002 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
14003 regression tests.
14004
ac9c0048
JK
140052010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14006
14007 Fix compatibility with m68k as.
14008 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
14009 Use only /* comments */.
14010
57bb97a4
UW
140112010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14012
14013 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
14014 * configure: Regenerate.
14015
7d1bf85c
DJ
140162010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
14017
14018 * gdb.python/py-type.exp: Check for Python support.
14019
061b5285
PA
140202010-02-17 Pedro Alves <pedro@codesourcery.com>
14021
14022 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
14023 `regsub' syntax available.
14024
f8a8bc2c
PA
140252010-02-17 Pedro Alves <pedro@codesourcery.com>
14026
14027 * gdb.base/shmain.c (main): Remove printf call.
14028 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
14029 * gdb.base/unload.c (main): Make format of fprintf a string
14030 literal. Add missing endlines to prints to stderr.
14031 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
14032
6f451e5e
TT
140332010-02-17 Tom Tromey <tromey@redhat.com>
14034
14035 * gdb.java/jprint.java (jprint.props): New field.
14036 * gdb.java/jprint.exp (set_lang_java): Add regression test.
14037
12d79008
PA
140382010-02-17 Pedro Alves <pedro@codesourcery.com>
14039
ef801a0e 14040 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
14041 available.
14042
d252f7e5
DJ
140432010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14044
14045 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
14046 creation to support remote host testing.
14047
67bdab6c
DJ
140482010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14049
14050 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
14051 Recognize "command not found".
14052
bb391223
DJ
140532010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14054
14055 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
14056 single-stepping.
14057
70362913
DJ
140582010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14059
14060 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
14061 if arguments are not supported.
14062
493f3c00
DJ
140632010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14064
14065 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
14066 be const or non-const.
14067
8034c749
DJ
140682010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14069
14070 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
14071 mi_send_resuming_command to send -exec-continue.
14072
791dfb64
DJ
140732010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14074
14075 * gdb.base/list.exp (test_list_filename_and_function): Add test
14076 with single quotes.
14077 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
14078 matching.
14079 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
14080 Add KFAIL'd tests for PR gdb/11289.
14081
7c5fe868
DJ
140822010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14083
14084 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
14085
fdc498b8
DJ
140862010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14087
14088 * gdb.base/comp-dir/subdir/dummy.txt: New file.
14089 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
14090 a temporary directory.
14091
b519e2a6
DJ
140922010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14093
14094 * gdb.base/charset.exp: Use a single regular expression to match
14095 show host-charset and show target-charset output.
14096
74164c56
JK
140972010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14098
14099 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
14100 "Illegal process-id" expect string more exact.
14101 (attach to digits-starting nonsense is prohibited): New.
14102
701ed6dc
JK
141032010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14104
14105 * gdb.base/prelink.exp (set verbose on): New.
14106
889bf7c5 141072010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
14108
14109 * mi-reverse.exp: New file. Test for reverse option to the
14110 following MI commands: exec-continue, exec-finish, exec-next,
14111 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 14112
dadf0e9c
JB
141132010-02-09 Joel Brobecker <brobecker@adacore.com>
14114
14115 * gdb.ada/ptype_tagged_param: New testcase.
14116
714f19d5
TT
141172010-02-08 Tom Tromey <tromey@redhat.com>
14118
14119 PR c++/8017:
14120 * gdb.cp/overload.exp: Add tests.
14121 * gdb.cp/overload.cc (struct K): New.
14122 (namespace N): New.
14123 (main): Call new functions.
14124 (K::staticoverload): Define.
14125
889bf7c5 141262010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
14127
14128 PR gdb/10728
14129 * gdb.cp/pr10728-x.h: New file.
14130 * gdb.cp/pr10728-x.cc: New file.
14131 * gdb.cp/pr10728-y.cc: New file.
14132 * gdb.cp/pr10728.exp: New file.
14133 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
14134
889bf7c5 141352010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
14136
14137 PR gdb/9067
14138 * gdb.cp/pr9067.exp: New
14139 * gdb.cp/pr9067.cc: New
14140 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
14141
7b356089
JB
141422010-02-08 Joel Brobecker <brobecker@adacore.com>
14143
14144 * lib/gdb.exp (gdb_test_timeout): New global variable.
14145 Set it to timeout if not already set.
14146 (gdb_init): Reset the value of timeout to gdb_test_timeout.
14147
1be00882
DE
141482010-02-05 Doug Evans <dje@google.com>
14149
14150 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
14151 user.
14152
82856980
SW
141532010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
14154
14155 PR c++/7935:
14156 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
14157
1a334831
TT
141582010-02-04 Tom Tromey <tromey@redhat.com>
14159
14160 * gdb.cp/virtbase.exp: Make test case names unique.
14161
9c3c02fd
TT
141622010-02-02 Tom Tromey <tromey@redhat.com>
14163
14164 * gdb.cp/virtbase.exp: Add regression tests.
14165 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
14166 (main): Instantiate RHC.
14167
0cc2414c
TT
141682010-02-02 Tom Tromey <tromey@redhat.com>
14169
14170 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
14171 type-printing change.
14172
edf3d5f3
TT
141732010-02-02 Tom Tromey <tromey@redhat.com>
14174
14175 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
14176 * gdb.cp/virtbase.cc: New file.
14177 * gdb.cp/virtbase.exp: New file.
14178 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
14179
e4b7f41c
JK
141802010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14181
14182 PR libc/11214:
14183 * gdb.threads/current-lwp-dead.c: Include features.h.
14184 (HAS_NOMMU): New.
14185 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
14186
b381ea14
JK
141872010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14188
14189 * gdb.base/symbol-without-target_section.exp,
14190 gdb.base/symbol-without-target_section.c: New.
14191
c593ac0e
DJ
141922010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14193
14194 * gdb.base/bigcore.exp: Reset increased timeout.
14195 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
14196
db25f29d
DJ
141972010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14198
14199 * gdb.base/gcore.exp (capture_command_output): Use
14200 gdb_test_multiple.
14201
f9d67f43
DJ
142022010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14203
14204 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
14205 * gdb.arch/thumb2-it.exp (test_it_break): New function.
14206 (Top level): Call it.
14207
177321bd
DJ
142082010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14209
14210 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
14211
97f2ed50
DJ
142122010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14213
14214 * gdb.base/call-strs.exp, gdb.base/default.exp,
14215 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
14216 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
14217 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
14218 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
14219 gdb.base/watchpoint-solib.exp: Save and restore timeout.
14220 * gdb.base/ending-run.exp: Correct restore of timeout.
14221 * gdb.base/page.exp: Remove unnecessary timeout setting.
14222
e4e2711a
JB
142232010-01-29 Joel Brobecker <brobecker@adacore.com>
14224
14225 * gdb.ada/rec_return: New testcase.
14226
ba581dc1
JB
142272010-01-29 Joel Brobecker <brobecker@adacore.com>
14228
14229 * gdb.ada/call_pn: New testcase.
14230
4ea95be9
DJ
142312010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
14232
14233 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
14234 (Top level): Use it to resume.
14235 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
14236 the Thumb mode displaced stepping error as unsupported.
14237
df83a9bf
SW
142382010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
14239
889bf7c5
PA
14240 * gdb.cp/nsusing.exp: Added more tests.
14241 * gdb.cp/nsrecurs.exp: Ditto.
14242 * gdb.cp/nsusing.cc: Added test functions.
14243 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 14244
40b27cdc
JK
142452010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14246
14247 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
14248 absolute directory pathnames in gdb.sum file.
14249
de958931
SW
142502010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
14251
14252 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
14253 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
14254
708ead4e
TT
142552010-01-26 Tom Tromey <tromey@redhat.com>
14256
14257 PR exp/7643:
14258 * gdb.base/printcmds.exp (test_print_string_constants): Remove
14259 setup_kfail.
14260
b14e635e
SW
142612010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
14262
14263 * gdb.cp/nsrecurs.exp: New test.
14264 * gdb.cp/nsrecurs.cc: New test program.
14265 * gdb.cp/nsstress.exp: New test.
14266 * gdb.cp/nsstress.cc: New test program.
14267 * gdb.cp/nsdecl.exp: New test.
14268 * gdb.cp/nsdecl.cc: New test program.
14269
8540c487
SW
142702010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
14271
14272 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
14273 imported into file scope.
14274 Marked test as xfail.
14275 * gdb.cp/namespace-using.cc (marker5): New function.
14276 * gdb.cp/shadow.exp: New test.
14277 * gdb.cp/shadow.cc: New test program.
14278 * gdb.cp/nsimport.exp: New test.
14279 * gdb.cp/nsimport.cc: New test program.
14280
421d5d99
TT
142812010-01-25 Tom Tromey <tromey@redhat.com>
14282
14283 PR gdb/11049:
14284 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
14285 with "set print null-stop on".
14286
691f8dc1
JK
142872010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14288
14289 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
14290 Adjust it for DISASSEMBLY_OMIT_FNAME.
14291
0b92b5bb
TT
142922010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14293
14294 PR symtab/11199:
14295 * gdb.dwarf2/member-ptr-forwardref.exp,
14296 gdb.dwarf2/member-ptr-forwardref.S: New.
14297
23787403
JK
142982010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14299
14300 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
14301 (thread1_func): Protect thread1_tid with thread1_tid_cond by
14302 thread1_tid_mutex. Remove gdbstop_mutex handling.
14303 (thread2_func): Protect thread2_tid with thread2_tid_cond by
14304 thread2_tid_mutex. Remove gdbstop_mutex handling.
14305 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
14306 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
14307 pthread_cond_wait conditionalizations by while loops.
14308
b966cb8a
TT
143092010-01-20 Tom Tromey <tromey@redhat.com>
14310
14311 PR backtrace/10770:
14312 * gdb.dwarf2/pr10770.exp: New file.
14313 * gdb.dwarf2/pr10770.c: New file.
14314 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
14315
fcae584b
VP
143162010-01-20 Vladimir Prus <vladimir@codesourcery.com>
14317
14318 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
14319 that target was removed, and the test always runs native anyway.
14320
a0f49112
JK
143212010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14322
14323 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
14324 gdb.base/watchpoint-cond-gone-stripped.c: New.
14325
ceeb3d5a
TT
143262010-01-19 Tom Tromey <tromey@redhat.com>
14327
14328 PR c++/8000:
14329 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
14330 existing tests.
14331 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
14332 (main): Use AAA::SomeEnum.
14333
dd322c54
JK
143342010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14335
14336 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
14337 (test_ignore_count): Declare line_callme_body global.
14338 (run to breakpoint with ignore count): Use line_callme_body.
14339 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
14340 (set line_main_hello, set line_main_return): Reindent.
14341 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
14342 New.
14343 (continue to callee4): Use line_callee4_body.
14344 (check *stopped from CLI command): Use line_callee4_next.
14345 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
14346 (set line_main_hello, set line_main_return): Reindent.
14347 (set line_callee4_head, set line_callee4_body): New.
14348 (continue to callee4): Use line_callee4_body.
14349
4e8f195d
TT
143502010-01-18 Tom Tromey <tromey@redhat.com>
14351
14352 PR c++/9680:
14353 * gdb.cp/casts.cc: Add new classes and variables.
14354 * gdb.cp/casts.exp: Test new operators.
14355
9e14a9ba
JB
143562010-01-18 Tom Tromey <tromey@redhat.com>
14357 Thiago Jung Bauermann <bauerman@br.ibm.com>
14358
14359 * gdb.python/source2.py: New file.
14360 * gdb.python/source1: New file.
14361 * gdb.python/python.exp: Test "source" command.
14362
00bf0b85
SS
143632010-01-15 Stan Shebs <stan@codesourcery.com>
14364
14365 * gdb.trace/tfile.c: New file.
14366 * gdb.trace/tfile.exp: New file.
889bf7c5 14367
55235ad7
JK
143682010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14369
14370 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
14371
9f2982ff
JK
143722010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14373
14374 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
14375
bbfba9ed
JK
143762010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14377
14378 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
14379 (libfunc): New parameter action. Implement also selectable "sleep".
14380 * gdb.base/break-interp-main.c: Include assert.h.
14381 (libfunc): New parameter action.
14382 (main): New parameters argc and argv. Assert argc. Pass argv.
14383 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
14384 (test_attach): New proc.
14385 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
14386 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
14387
61f0d762
JK
143882010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14389
14390 * gdb.base/break-interp.exp (test_core): New proc.
14391 (test_ld): Call it.
14392
06a6f270
JK
143932010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14394
14395 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
14396 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
14397 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
14398 and gdb_compile_shlib. Use new -Wl compiler options.
14399 (dl bt, main bt): New tests.
14400
51bee8e9
JK
144012010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14402
14403 Support PIEs with no symfile_objfile.
14404 * gdb.base/break-interp.exp: New argument at the test_ld calls.
14405 (test_ld): New parameter trynosym.
14406 (test_ld <$trynosym>): New block.
14407
b8040f19
JK
144082010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14409
14410 * gdb.base/break-interp.exp: New file.
14411
be759fcf
PM
144122010-01-13 Phil Muldoon <pmuldoon@redhat.com>
14413
14414 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
14415 * gdb.python/py-prettyprint.py (pp_ls): New printer.
14416 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
14417 test.
14418 * gdb.python/py-prettyprint.c: Define lazystring test structure.
14419 * gdb.python/py-mi.exp: Add lazy string test.
14420
dc146f7c
VP
144212010-01-13 Vladimir Prus <vladimir@codesourcery.com>
14422
14423 * lib/mi-support.exp (mi_check_thread_states): Handle
14424 core number in thread listing.
14425
b4ba55a1
JB
144262010-01-12 Joel Brobecker <brobecker@adacore.com>
14427
14428 * gdb.base/maint.exp: Adjust the expected output for the
14429 "maint print type" test. Use gdb_test_multiple instead of
14430 gdb_sent/gdb_expect.
14431
08e24bd4
DE
144322010-01-11 Doug Evans <dje@google.com>
14433
6496a609
DE
14434 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
14435 from gdbserver_download. All callers updated.
14436
08e24bd4
DE
14437 * gdb.server/ext-run.exp: "info os processes" requires xml support.
14438
b5cfddf5
JK
144392010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14440
14441 Implement binary numbers parsing.
14442 * gdb.base/printcmds.exp (test_integer_literals_accepted)
14443 (test_integer_literals_rejected): New binary tests.
14444
3725885a
RW
144452010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14446
14447 * gdb.cell/configure: Regenerate.
14448
37aeb5df
JK
144492010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14450
14451 * gdb.base/corefile.exp: Move the core finding block out and call it as
14452 core_find, new variable $corefile, replace corefile by $corefile and
14453 [file tail $corefile] for usage vs. test names resp.
14454 * lib/gdb.exp (core_find): Move it as a new function here. New
14455 parameter binfile and deletefiles. New variable $destcore. Pre-delete
14456 $destcore. Return "" on error.
14457
d521f563
JK
144582010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14459
14460 Workaround PR binutils/10802.
14461 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
14462 (twice).
14463
28f24826
DJ
144642010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14465
14466 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
14467
2de75e71
JB
144682010-01-08 Joel Brobecker <brobecker@adacore.com>
14469
14470 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
14471 call, to avoid interruption.
14472
fe00719b 144732010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
14474
14475 * gdb.stabs/weird.def (args93): New.
14476
d0ef5df8
DE
144772010-01-07 Doug Evans <dje@google.com>
14478
14479 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
14480
3a08d52f
TT
144812010-01-07 Tom Tromey <tromey@redhat.com>
14482
14483 * gdb.base/source.exp: Use correct line number.
14484
7a697b8d
SS
144852010-01-05 Stan Shebs <stan@codesourcery.com>
14486
14487 * gdb.trace/tracecmd.exp: Test ftrace.
14488
7803799a
UW
144892010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14490
14491 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
14492
c54eabfa
JK
144932010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14494
14495 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
14496 "uint_for_mi_testing".
14497
02e7ef19
JB
144982010-01-01 Joel Brobecker <brobecker@adacore.com>
14499
14500 Test indented comment in file being sourced.
14501 * gdb.base/commands.exp: Test indented comment in file being sourced.
14502
abd775ce
JB
145032010-01-01 Joel Brobecker <brobecker@adacore.com>
14504
14505 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
14506 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
14507 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
14508 notice.
14509
79b55b82
JB
145102010-01-01 Joel Brobecker <brobecker@adacore.com>
14511
14512 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
14513 notice.
14514
8997583e
JK
145152010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14516
14517 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
14518 missing $after_stopped and comma (,) expectation.
14519
6da95a67
SS
145202009-12-31 Stan Shebs <stan@codesourcery.com>
14521
14522 * gdb.trace/actions.exp: Test teval action.
889bf7c5 14523
218d2fc6
TJB
145242009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14525
14526 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
14527 (top level): Call test_watchpoint_in_big_blob.
14528 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
14529 watchpoints.
14530 (func3): Write to buf.
14531
236f1d4d
SS
145322009-12-29 Stan Shebs <stan@codesourcery.com>
14533
14534 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 14535
f61e138d
SS
145362009-12-28 Stan Shebs <stan@codesourcery.com>
14537
14538 * gdb.trace/tsv.exp: New file.
14539 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 14540
0219b378
DJ
145412009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
14542
14543 * gdb.base/find.c (main): Reference search buffers.
14544 * gdb.base/included.c (main): Reference integer.
14545 * gdb.base/ptype.c (charfoo): Declare.
14546 (intfoo): Call charfoo.
14547 * gdb.base/scope0.c (useitp): New function.
14548 (usestatics): Use useitp.
14549 (useit): Add a type for val.
14550 * gdb.base/scope1.c (useit1): Take a pointer argument.
14551 (usestatics1): Update calls to useit1.
14552 * gdb.cp/call-c.cc: Declare foo.
14553 (main): Call foo.
14554 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
14555 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
14556 (main): Call C::ensureRefs and ensureOtherRefs.
14557 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
14558 variables.
14559 (ensureOtherRefs): New function.
14560 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
14561 * gdb.cp/templates.cc (main): Call t5i.value.
14562
3f78692f
JK
145632009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14564
14565 Fix compatibility with G++-4.5.
14566 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
14567 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
14568 (uncaught return): Remove.
14569
429374b8
JK
145702009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14571 Phil Muldoon <pmuldoon@redhat.com>
14572
14573 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
14574 (bp_location13, bp_location14, bp_location17, bp_location18)
14575 (marker3_proto, marker4_proto): New variables.
14576 (breakpoint info): Update output.
14577 (run until breakpoint at marker3, run until breakpoint at marker4): New
14578 tests.
14579
859825b8
JK
145802009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14581
14582 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
14583 Replace the printf call of Y by provided "y-set-1" label. New block
14584 for the second shared library.
14585 * gdb.base/unload.exp: Compile also the second library, call
14586 gdb_load_shlibs also for it. Use now gdb_breakpoint.
14587 (single pending breakpoint info): Rename to ...
14588 (pending breakpoint info before run): ... this extended test.
14589 (libfile2, libname2, libsrcfile2, libsrc2)
14590 (lib_sl2): New variables.
14591 (exec_opts): Set also SHLIB_NAME2.
14592 (pending breakpoint info on first run at shrfunc1)
14593 (pending breakpoint info on second run at shrfunc1)
14594 (pending breakpoint info on second run at shrfunc2)
14595 (print y from libfile, print y from libfile2): New tests.
14596 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
14597 * gdb.base/unloadshr2.c: New.
14598
e6a386cd
HZ
145992009-12-22 Hui Zhu <teawater@gmail.com>
14600
14601 * gdb.reverse/sigall-reverse.exp: Adjust.
14602
9e19b45e
VP
146032009-12-21 Vladimir Prus <vladimir@codesourcery.com>
14604
14605 PR gdb/10884
14606
14607 * gdb.mi/var-cmd.c (do_bitfield_tests): New
14608 (main): Call do_bitfield_tests.
aacf5b1e 14609 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 14610
d53a7b30
JB
146112009-12-20 Joel Brobecker <brobecker@adacore.com>
14612
14613 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
14614 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
14615 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
14616 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
14617 gdb.modula2/unbounded1.c: Update copyright header.
14618
191ca0a1
CM
146192009-12-10 Chris Moller <moller@mollerware.com>
14620
14621 PR gdb/9399
14622 * gdb.cp/virtfunc2.exp: New tests
14623 * gdb.cp/virtfunc2.cc: New tests
14624 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
14625
0fa6cf1b
MS
146262009-12-10 Oza Pawandeep (paawan1982@yahoo.com
14627
14628 * gdb.reverse/i387-env-reverse.c: New file.
14629 * gdb.reverse/i387-env-reverse.exp: New file.
14630 * gdb.reverse/i387-stack-reverse.c: New file.
14631 * gdb.reverse/i387-stack-reverse.exp: New file.
14632
361ae042
PM
146332009-12-08 Phil Muldoon <pmuldoon@redhat.com>
14634
14635 * gdb.python/py-type.exp (test_range): New test.
14636
bfd31e71
PM
146372009-12-03 Phil Muldoon <pmuldoon@redhat.com>
14638
14639 PR python/10805
14640
14641 * gdb.python/py-type.exp: New file.
14642 * gdb.python/py-type.c: New file.
14643 * Makefile.in: Add py-type.
14644
57a1d736
TT
146452009-12-03 Tom Tromey <tromey@redhat.com>
14646
14647 * gdb.python/py-value.exp (test_parse_and_eval): New
14648 function.
14649
1f3b5d1b
PP
146502009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14651
14652 PR gdb/11022
14653
14654 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
14655 * gdb.base/pr11022.c: New test.
14656
8b7dbdc9
JK
146572009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14658
14659 Fix spurious false FAILs.
14660 * gdb.base/structs.c (chartest): New.
14661 (main): Fill-in chartest.
14662 * gdb.base/structs.exp (anychar_re, first): New.
14663 (start_structs_test): Import global anychar_re and first.
14664 New gdb_test call "set print elements 300; ${testfile}"
14665 (start_structs_test <$first>): New block.
14666 (any): Import global anychar_re. New variable ac. Use ${ac}.
14667
6a53b2ec
JK
146682009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14669
14670 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
14671
d7167b4c
JK
146722009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14673
14674 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
14675 Force $srcfile file.
14676 * gdb.base/foll-fork.c (callee): Comment out the printf call.
14677
b1798462
UW
146782009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14679
14680 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
14681 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
14682 * gdb.threads/watchthreads-reorder.exp: Likewise.
14683
b6199126
DJ
146842009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
14685
14686 PR gdb/8704
14687
14688 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
14689 "if", and "thread". Correct matching in the previous test.
14690
b22a0510
DJ
146912009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
14692
14693 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
14694
930636d2
MS
146952009-11-23 Michael Snyder <msnyder@vmware.com>
14696
14697 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
14698 * gdb.reverse-watch-precsave.exp: Ditto.
14699
21a0512e
PP
147002009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
14701
14702 * gdb.asm/asm-source.exp: Adjust.
14703 * gdb.base/help.exp: Adjust.
889bf7c5 14704
fc30d5e0
PA
147052009-11-22 Pedro Alves <pedro@codesourcery.com>
14706
14707 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
14708 (do_syscall_tests_without_xml): Set data-directory to
14709 /the/path/to/nowhere.
14710
f6bc2008
PA
147112009-11-21 Pedro Alves <pedro@codesourcery.com>
14712
14713 * gdb.threads/local-watch-wrong-thread.c,
14714 gdb.threads/local-watch-wrong-thread.exp: New files.
14715
8c2fb5de
PA
147162009-11-21 Pedro Alves <pedro@codesourcery.com>
14717
14718 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
14719 assume new `regsub' syntax available.
14720
ebec9a0f
PA
147212009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14722
a79d3c27
JK
14723 * gdb.base/watchpoint-hw-hit-once.exp,
14724 gdb.base/watchpoint-hw-hit-once.c: New.
14725
147262009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14727
14728 * gdb.threads/watchthreads-reorder.exp,
14729 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 14730
276a961b
MK
147312009-11-17 Nathan Sidwell <nathan@codesourcery.com>
14732
14733 * gdb.xml/tdesc-regs.exp: Use for m68k.
14734
4867c1fb
PA
147352009-11-15 Pedro Alves <pedro@codesourcery.com>
14736
14737 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
14738
f6838f81
DJ
147392009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14740
14741 * lib/gdb.exp (current_target_name): New procedure.
14742 (gdb_wrapper_target): New variable.
14743 (gdb_wrapper_init): Set gdb_wrapper_target.
14744 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
14745 wrapper.
14746
4ac4dd3f
DJ
147472009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14748
14749 * gdb.base/remote.exp: Delete the slowest load test.
14750 Do not load with fixed packet sizes.
14751
a7881759
DJ
147522009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14753
14754 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
14755
97a5b505
DJ
147562009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14757
14758 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
14759 srcfile when setting a breakpoint.
14760
d3e1fc54
DJ
147612009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
14762
14763 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
14764 macros.
14765
7cbcbded
DJ
147662009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14767
14768 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
14769 to be in memory.
14770 * gdb.base/display.c (force_mem): New.
14771 (do_loops): Use it. Add breakpoint comments.
14772 (do_vars): Add a breakpoint comment.
14773 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
14774 line numbers.
14775
bdea3a92
NF
147762009-11-13 Nathan Froyd <froydnj@codesourcery.com>
14777
14778 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
14779 instead of a bare "run".
14780
269f82e5
PP
147812009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14782
14783 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 14784
a69b7d9d
DJ
147852009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14786
14787 * lib/cell.exp (skip_cell_tests): Clean up test files before
14788 returning.
14789
b598bfda
DJ
147902009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14791
14792 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
14793 and the breakpoint menu. Do not call perror if a prompt is seen.
14794 Consume the following GDB prompt.
14795 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
14796 * gdb.cp/namespace.exp: Use gdb_test.
14797 * gdb.cp/templates.exp: Use gdb_test.
14798 (test_template_breakpoints): Use gdb_test_multiple.
14799
87728fa0
DJ
148002009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14801
14802 * gdb.base/break1.c (struct some_struct, values): Move earlier.
14803 (marker4): Reference values.
14804
b67c692f
DJ
148052009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14806
14807 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
14808 is missing.
14809
f0df251a
DJ
148102009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14811
14812 * gdb.base/break.c (need_malloc): New.
14813 * gdb.base/constvars.c (main): Reference crass and crisp.
14814 * gdb.base/gdb1821.c (main): Reference bar.
14815 * gdb.cp/gdb1355.cc (main): Reference s1.
14816 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
14817 (main): Call them.
14818 * gdb.cp/hang2.cc (dummy2): Define.
14819 * gdb.cp/hang3.cc (dummy3): Define.
14820 * gdb.cp/m-data.cc (main): Reference shadow.
14821
bdf7534a
NF
148222009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14823 Nathan Froyd <froydnj@codesourcery.com>
14824
14825 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
14826 remote host.
14827
f24fce77
NF
148282009-11-12 Nathan Froyd <froydnj@codesourcery.com>
14829
14830 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
14831 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
14832 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14833 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14834 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14835 * gdb.dwarf2/dw2-producer.exp: Likewise.
14836 * gdb.dwarf2/mac-fileno.exp: Likewise.
14837 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
14838 py-prettyprint.py to the remote host.
14839 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
14840
40f0318e
KS
148412009-11-11 Keith Seitz <keiths@redhat.com>
14842
14843 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
14844 use it instead of "Foo".
14845 * gdb.cp/classes.exp (do_tests): Add a test to access
14846 a method through a typedef'd class name.
14847
f3d9f7fb
NF
148482009-11-11 Nathan Froyd <froydnj@codesourcery.com>
14849
14850 * gdb.base/long_long.exp: Permit leading zeros on floating-point
14851 exponents.
14852 * gdb.base/pointers.exp: Likewise.
14853 * gdb.cp/ref-types.exp: Likewise.
14854
a4216f37
KS
148552009-11-11 Keith Seitz <keiths@redhat.com>
14856
14857 * gdb.cp/cplusfuncs.cc (class foo): Add operators
14858 new[] and delete[].
14859 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
14860 "void".
14861 (probe_demangler): Remove all single-quoting of
14862 method and variable names.
14863 (info_func_regexp): Remove the word "void" from any
14864 occurrence of "(void)".
14865 (print_addr_2): Remove all single-quoting of
14866 method names.
14867 (print_addr_2_kfail): Likewise.
14868 (print_addr): Single-quote C function names before
14869 passing to print_addr_2.
14870 (test_paddr_operator_functions): Remove single-quoting
14871 for method names.
14872 Add tests for operator new[] and operator delete[].
14873
9b14d7aa
JK
148742009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14875
14876 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
14877
85feb311
KS
148782009-11-09 Keith Seitz <keiths@redhat.com>
14879
14880 * gdb.cp/overload.exp: Add tests for resolving overloaded
14881 methods in expression parsing/evaluation.
14882
fa335448
DJ
148832009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
14884
14885 * lib/gdb.exp (default_gdb_version): Use --version instead of
14886 --command.
14887
ec3c07fc
NS
148882009-11-10 Nathan Sidwell <nathan@codesourcery.com>
14889
14890 * lib/gdb.exp (gdb_compile_test): New.
14891 (skip_ada_tests, skip_java_tests): New.
14892 (gdb_compile): Use gdb_compile_test for f77.
14893 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
14894 * lib/java.exp (compile_java_from_source): Remove runtests check,
14895 use gdb_compile_test to record result.
14896 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
14897 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
14898 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
14899 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
14900 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
14901 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
14902 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
14903 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
14904 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
14905 adjust gdb_compile invocations.
14906
b8b4e42b
JK
149072009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14908
14909 * Makefile.in (abs_builddir): New.
14910 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
14911 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
14912 `$(abs_builddir)/site.exp'.
14913
f8b7eaf3
DJ
149142009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
14915
14916 * config/m68k-emc.exp, lib/emc-support.exp,
14917 gdb.trace/gdb_c_test.c: Delete.
14918 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
14919 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14920 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14921 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14922 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14923 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
14924 casing for m68k-*-elf.
14925
c4187697
NS
149262009-11-03 Pedro Alves <pedro@codesourcery.com>
14927
14928 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
14929 * gdb.arch/i386-prologue.exp: Likewise.
14930 * gdb.arch/i386-unwind.exp: Likewise.
14931
db16b772
DJ
149322009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14933
14934 * lib/gdb.exp (gdb_expect): Fix timeout typo.
14935
bcf71277
DJ
149362009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14937
14938 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
14939
0105cee2
DJ
149402009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14941
14942 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
14943
24ddea62
JK
149442009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14945
14946 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
14947
287ccc17
JK
149482009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14949
14950 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
14951 * gdb.base/sepdebug2.c: New file.
14952
08bca259 149532009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
14954
14955 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
14956 the modified warnings for catch syscall. Verify if GDB was compiled
14957 with support for lib expat, and choose which tests to run depending
14958 on this.
14959
5d4e2b76
VP
149602009-10-30 Vladimir Prus <vladimir@codesourcery.com>
14961
14962 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
14963 that composite commands are parsed OK. And also test
14964 that breakpoint commands do work.
14965
240e538a
MS
149662009-10-23 Michael Snyder <msnyder@vmware.com>
14967
14968 gdb.reverse/consecutive-precsave.exp: Change expect pattern
14969 to allow for new disassembly style.
14970
9c419145
PP
149712009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14972
14973 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 14974
02506ff1
MS
149752009-10-22 Michael Snyder <msnyder@vmware.com>
14976
14977 * gdb.reverse/break-precsave.exp: New test.
14978 * gdb.reverse/consecutive-precsave.exp: Ditto.
14979 * gdb.reverse/finish-precsave.exp: Ditto.
14980 * gdb.reverse/i386-precsave.exp: Ditto.
14981 * gdb.reverse/machinestate-precsave.exp: Ditto.
14982 * gdb.reverse/sigall-precsave.exp: Ditto.
14983 * gdb.reverse/solilb-precsave.exp: Ditto.
14984 * gdb.reverse/step-precsave.exp: Ditto.
14985 * gdb.reverse/until-precsave.exp: Ditto.
14986 * gdb.reverse/watch-precsave.exp: Ditto.
14987
4cf866a3
MS
149882009-10-22 Michael Snyder <msnyder@vmware.com>
14989
14990 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
14991 for gdb_expect. Adjust one test's expect strings for the new
14992 format of disassemble.
14993 * gdb.reverse/finish-reverse.exp: Delete 'return'.
14994 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
14995 gdb_test_multiple.
14996 * gdb.reverse/step-reverse.exp: Delete 'return'.
14997 * gdb.reverse/until-reverse.exp: Delete blank lines.
14998 * gdb.reverse/watch-reverse.exp: Delete blank lines.
14999
2b28d209
PP
150002009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
15001
15002 * gdb.base/consecutive.exp: Adjust.
15003 * gdb.base/display.exp: Likewise.
15004 * gdb.base/pc-fp.exp: Likewise.
15005 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 15006
33b9c32b
MS
150072009-10-19 Michael Snyder <msnyder@vmware.com>
15008
15009 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
15010 * gdb.reverse/finish-reverse.c: Ditto.
15011 * gdb.reverse/sigall-reverse.c: Ditto.
15012 * gdb.reverse/solib-reverse.c: Ditto.
15013 * gdb.reverse/step-reverse.c: Ditto.
15014 * gdb.reverse/watch-reverse.c: Ditto.
15015
6c95b8df
PA
150162009-10-19 Pedro Alves <pedro@codesourcery.com>
15017 Stan Shebs <stan@codesourcery.com>
15018
15019 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
15020 * gdb.base/foll-exec.exp: Adjust to expect a process id before
15021 "Executing new program".
15022 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
15023 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
15024 left listed after having been killed.
15025 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
15026 * gdb.base/maint.exp: Adjust test.
15027
15028 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
15029 * gdb.multi/Makefile.in: New.
15030 * gdb.multi/base.exp: New.
15031 * gdb.multi/goodbye.c: New.
15032 * gdb.multi/hangout.c: New.
15033 * gdb.multi/hello.c: New.
15034 * gdb.multi/bkpt-multi-exec.c: New.
15035 * gdb.multi/bkpt-multi-exec.exp: New.
15036 * gdb.multi/crashme.c: New.
15037
279017b7
TG
150382009-10-13 Tristan Gingold <gingold@adacore.com>
15039
15040 * gdb.base/sepdebug.exp: Check debug info are found.
15041
0413d738
PA
150422009-10-08 Pedro Alves <pedro@codesourcery.com>
15043
15044 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
15045 bits.
15046
c628eecc
JK
150472009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15048
15049 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
15050
38af1bfe
JB
150512009-10-07 Joel Brobecker <brobecker@adacore.com>
15052
15053 * gdb.base/watchpoints.c: Add copyright header. Reformat one
15054 of the comments.
15055
2b0adecd
PM
150562009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
15057
15058 * gdb.base/annota1.exp: Remove obsolete match_max increase.
15059 * gdb.base/annota3.exp: Idem.
15060 * gdb.base/maint.exp: Idem.
15061
8d417781
PM
150622009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
15063
889bf7c5 15064 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
15065 to default.
15066
bb61102d
PM
150672009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
15068
889bf7c5 15069 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
15070 mingw and cygwin targets.
15071
ace5c364
PM
150722009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
15073 Pedro Alves <pedro@codesourcery.com>
15074
889bf7c5 15075 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
15076 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
15077
c2d494a0
PM
150782009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
15079
e1b52ce2
PM
15080 * gdb.base/shr1.c: Use %p in format string.
15081 * gdb.base/unload.c: Avoid warning in fprintf.
15082 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 15083
209f53f5
PM
150842009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
15085
15086 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
15087 long type.
15088 (test_unlink): Correct printf string.
15089 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
15090 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
15091
8172766a
JK
150922009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15093
15094 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
15095 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
15096 * gdb.arch/ia64-breakpoint-shadow.S: New file.
15097
0f73703c
UW
150982009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15099
15100 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
15101 * gdb.objc/nondebug.exp: Likewise.
15102
b32306ca
UW
151032009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15104
15105 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
15106 target_info setting.
15107
15108 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
15109 that detect new threads during "info threads".
15110
0057022f
UW
151112009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15112
15113 * gdb.threads/manythreads.c (main): Increase thread stack size
15114 to 2*PTHREAD_STACK_MIN.
15115 * gdb.threads/multi-create.c (main): Likewise.
15116 (create_function): Likewise.
15117
f29c0325
UW
151182009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15119
15120 * gdb.base/dump.exp: Pass difference of pointer types instead
15121 of integer types as offset to restore in intarr3.srec case.
15122
fcb34849
UW
151232009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15124
15125 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
15126
d5142e3b
UW
151272009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15128
15129 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
15130
087b74b2 151312009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 15132
087b74b2
PM
15133 New test for two watchpoints, with disabling of
15134 the first inserted.
15135 * testsuite/gdb.base/watchpoints.c: New file.
15136 * testsuite/gdb.base/watchpoints.exp: New file.
15137
96c07c5b
TT
151382009-09-25 Tom Tromey <tromey@redhat.com>
15139
15140 * gdb.base/charset.exp: Test utf-16 strings with Python.
15141
b8899f2b
TT
151422009-09-25 Tom Tromey <tromey@redhat.com>
15143
15144 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
15145 UCS-4.
15146 * gdb.base/charset.c (utf_32_string): Rename.
15147 (init_utf32): Rename.
15148 (main): Update.
15149
329719ec
TT
151502009-09-22 Tom Tromey <tromey@redhat.com>
15151
15152 * gdb.python/py-function.exp: Add regression tests.
15153
11ef0d76
KS
151542009-09-21 Keith Seitz <keiths@redhat.com>
15155
15156 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
15157 with invalid operator.
15158
3fe8f3b3
KS
151592009-09-21 Keith Seitz <keiths@redhat.com>
15160
15161 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
15162 and destructor using typedef name of class.
15163 * gdb.cp/classes.cc (class Base1): Add a destructor.
15164 (base1): New typedef.
15165 (use_methods): Instanitate an object of type base1.
15166 * gdb.cp/templates.exp (test_template_typedef): New procedure.
15167 (do_tests): Call test_template_typedef.
15168 * gdb.cp/templates.cc (Baz::~Baz): New method.
15169 (intBazOne): New typedef.
15170 (main): Instantiate intBazOne.
15171
7a9fe101
PM
151722009-09-21 Phil Muldoon <pmuldoon@redhat.com>
15173
15174 PR python/10633
15175
15176 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
15177 Function.
15178 (run_lang_tests): Add print elements test.
15179
2e4d963f
PM
151802009-09-21 Phil Muldoon <pmuldoon@redhat.com>
15181
15182 * gdb.python/py-value.exp (test_subscript_regression): New
15183 function. Test for invalid subscripts.
15184 * gdb.python/py-value.c (main): Add test array, and pointer to it.
15185 (ptr_ref): New function.
15186
ec7e75e7
PP
151872009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15188
15189 * gdb.base/default.exp: Fix "show convenience".
15190
0cc7d26f
TT
151912009-09-15 Tom Tromey <tromey@redhat.com>
15192
15193 * lib/mi-support.exp (mi_create_varobj): Update.
15194 (mi_create_floating_varobj): Likewise.
15195 (mi_create_dynamic_varobj): New proc.
15196 (mi_varobj_update): Update.
15197 (mi_varobj_update_with_type_change): Likewise.
15198 (mi_varobj_update_kv_helper): New proc.
15199 (mi_varobj_update_dynamic_helper): Rewrite.
15200 (mi_varobj_update_dynamic): New proc.
15201 (mi_list_varobj_children): Update.
15202 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
15203 * gdb.python/python-prettyprint.py (pp_outer): New class.
15204 (pp_nullstr): Likewise.
15205 (lookup_function): Register new printers.
15206 * gdb.python/python-prettyprint.c (struct substruct): New type.
15207 (struct outerstruct): Likewise.
15208 (substruct_test): New function.
15209 (struct nullstr): New type.
15210 (string_1, string_2): New globals.
15211 (main): Add new tests.
15212 * gdb.python/python-mi.exp: Added regression tests.
15213 * gdb.mi/mi2-var-display.exp: Update.
15214 * gdb.mi/mi2-var-cmd.exp: Update.
15215 * gdb.mi/mi2-var-child.exp: Update.
15216 * gdb.mi/mi2-var-block.exp: Update.
15217 * gdb.mi/mi-var-invalidate.exp: Update.
15218 * gdb.mi/mi-var-display.exp: Update.
15219 * gdb.mi/mi-var-cmd.exp: Update.
15220 * gdb.mi/mi-var-child.exp: Update.
15221 * gdb.mi/mi-var-block.exp: Update.
15222 * gdb.mi/mi-break.exp: Update.
15223 * gdb.mi/gdb701.exp: Update.
15224
a96d9b2e
SDJ
152252009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
15226
15227 * Makefile.in: Inclusion of catch-syscall object.
15228 * gdb.base/catch-syscall.c: New file.
15229 * gdb.base/catch-syscall.exp: New file.
15230
b43b923a
MS
152312009-09-12 Michael Snyder <msnyder@vmware.com>
15232
15233 * gdb.reverse/step-reverse.exp: Explicitly check for targets
15234 that can support reverse debuggnig.
15235
cec03d70
TT
152362009-09-11 Tom Tromey <tromey@redhat.com>
15237
15238 * gdb.dwarf2/valop.S: New file.
15239 * gdb.dwarf2/valop.exp: New file.
15240
e23bb3fc
MK
152412009-09-11 Mark Kettenis <kettenis@gnu.org>
15242
15243 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
15244
37c3696d
DE
152452009-09-10 Doug Evans <dje@google.com>
15246
15247 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
15248 Add $gdb_prompt to second breakpoint regexp.
15249
5172aecb
JB
152502009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
15251
15252 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
15253 names, add missing ones.
15254 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
15255 * gdb.python/py-frame.c: Rename from python-frame.c.
15256 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
15257 testfile name.
15258 * gdb.python/py-function.exp: Rename from python-function.exp.
15259 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
15260 testfile name.
15261 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
15262 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
15263 Adjust testfile name.
15264 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
15265 * gdb.python/py-template.cc: Rename from python-template.cc.
15266 * gdb.python/py-template.exp: Rename from python-template.exp.
15267 Adjust testfile name.
15268 * gdb.python/py-value.c: Rename from python-value.c.
15269 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
15270 testfile name.
15271
b554e4bd
JK
152722009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15273
15274 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
15275 $bpt2address.
15276 (Second breakpoint address is valid on ia64)
15277 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
15278
9a68ae16
JM
152792009-09-03 Joseph Myers <joseph@codesourcery.com>
15280
15281 * gdb.base/ending-run.exp: Restrict regular expression matching
15282 line number to require closing brace following.
15283
146b9145
DE
152842009-09-03 Doug Evans <dje@google.com>
15285
15286 * gdb.base/store.exp (check_set): Fix typo in expected value message.
15287
787d21e1
TT
152882009-09-02 Tom Tromey <tromey@redhat.com>
15289
15290 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
15291
e7802207
TT
152922009-09-02 Tom Tromey <tromey@redhat.com>
15293
15294 * gdb.dwarf2/callframecfa.exp: New file.
15295 * gdb.dwarf2/callframecfa.S: New file.
15296
817aadd2
JK
152972009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15298
15299 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
15300 gdb.base/solib-overlap-main.c: New.
15301
4a76eae5
DJ
153022009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
15303
15304 PR gdb/10565
15305
15306 * gdb.base/bitfields.c (struct container, container): New.
15307 (main): Initialize it and call break5.
15308 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
15309
d4b96c9a
JK
153102009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15311
15312 Support constant DW_AT_data_member_location by GCC PR debug/40659.
15313 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
15314
4e22772d
JK
153152009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15316
15317 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
15318
2efab443
MS
153192009-08-26 Michael Snyder <msnyder@vmware.com>
15320
15321 * gdb.base/i386-reverse.c: New file.
15322 * gdb.base/i386-reverse.exp: New file.
15323 * gdb.base/Makefile.in: Add new files to be removed.
15324
07ab73a0
JM
153252009-08-26 Joseph Myers <joseph@codesourcery.com>
15326
15327 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
15328 environment-pwd for remote host.
15329 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
15330
676accff
KS
153312009-08-24 Keith Seitz <keiths@redhat.com>
15332
15333 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
15334 Add two new C++ completer tests which limit the output to a
889bf7c5 15335 given class.
676accff 15336
f9f7ad22
MS
153372009-08-24 Michael Snyder <msnyder@vmware.com>
15338
15339 * gdb.base/del.exp: Fix typo in comment.
15340 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
15341
81ecdfbb
RW
153422009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15343
15344 * configure: Regenerate.
15345 * gdb.hp/configure: Likewise.
15346 * gdb.hp/gdb.aCC/configure: Likewise.
15347 * gdb.hp/gdb.base-hp/configure: Likewise.
15348 * gdb.hp/gdb.compat/configure: Likewise.
15349 * gdb.hp/gdb.defects/configure: Likewise.
15350 * gdb.hp/gdb.objdbg/configure: Likewise.
15351 * gdb.stabs/configure: Likewise.
15352
cab0c772
UW
153532009-08-19 Doug Evans <dje@google.com>
15354
15355 * gdb.base/gdbvars.c: New file.
15356 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
15357
b8fa0bfa
PA
153582009-08-14 Pedro Alves <pedro@codesourcery.com>
15359
15360 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15361 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
15362
b84aa90a
PA
153632009-08-13 Pedro Alves <pedro@codesourcery.com>
15364
15365 * gdb.base/default.exp: Adjust "set language test": it's now an
15366 enum command. Larger help string moved to "help set language".
15367 * gdb.base/help.exp: Adjust "help set language" expected output,
15368 now lists all known languages.
15369
0d8f9b2c
NF
153702009-08-11 Nathan Froyd <froydnj@codesourcery.com>
15371
15372 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
15373 all frame arguments.
15374 * gdb.arch/altivec-regs.exp: Likewise.
15375
bda180e0
TT
153762009-08-07 Tom Tromey <tromey@redhat.com>
15377
15378 * gdb.base/setshow.exp: Add tests for changes to set language, set
15379 check range, and set check type.
15380
48cb2d85
VP
153812009-08-03 Vladimir Prus <vladimir@codesourcery.com>
15382
15383 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
15384 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 15385 Call it.
48cb2d85 15386
1ea34204
UW
153872009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15388
15389 * configure.ac: Run gdb.cell tests when appropriate.
15390 * configure: Regenerate.
15391 * lib/cell.exp: New file.
15392 * gdb.cell: New directory.
15393 * gdb.cell/configure.ac: New file.
15394 * gdb.cell/configure: New file.
15395 * gdb.cell/Makefile.in: New file.
15396 * gdb.cell/arch.exp: New file.
15397 * gdb.cell/break.c: New file.
15398 * gdb.cell/break.exp: New file.
15399 * gdb.cell/break-spu.c: New file.
15400 * gdb.cell/bt.c: New file.
15401 * gdb.cell/bt2-spu.c: New file.
15402 * gdb.cell/bt-spu.c: New file.
15403 * gdb.cell/bt.exp: New file.
15404 * gdb.cell/coremaker.c: New file.
15405 * gdb.cell/coremaker-spu.c: New file.
15406 * gdb.cell/core.exp: New file.
15407 * gdb.cell/gcore.exp: New file.
15408 * gdb.cell/data.c: New file.
15409 * gdb.cell/data.exp: New file.
15410 * gdb.cell/data-spu.c: New file.
15411 * gdb.cell/ea-cache.exp: New file.
15412 * gdb.cell/ea-cache.c: New file.
15413 * gdb.cell/ea-cache-spu.c: New file.
15414 * gdb.cell/ea-standalone.c: New file.
15415 * gdb.cell/ea-standalone.exp: New file.
15416 * gdb.cell/ea-test.c: New file.
15417 * gdb.cell/ea-test.exp: New file.
15418 * gdb.cell/f-regs.exp: New file.
15419 * gdb.cell/mem-access.c: New file.
15420 * gdb.cell/mem-access.exp: New file.
15421 * gdb.cell/mem-access-spu.c: New file.
15422 * gdb.cell/ptype.exp: New file.
15423 * gdb.cell/registers.exp: New file.
15424 * gdb.cell/size.c: New file.
15425 * gdb.cell/sizeof.exp: New file.
15426 * gdb.cell/size-spu.c: New file.
15427 * gdb.cell/solib.exp: New file.
15428 * gdb.cell/solib-symbol.exp: New file.
15429
85e747d2
UW
154302009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15431
15432 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
15433
58d6951d
DJ
154342009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
15435
15436 * gdb.base/float.exp: Handle VFP registers.
15437
6e0a4f15
MS
154382009-07-14 Michael Snyder <msnyder@vmware.com>
15439
dcd5da87
MS
15440 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
15441 to bring gdb to the beginning of the calling line.
15442
6e0a4f15
MS
15443 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
15444 confusing the i386 epilogue unwinder.
15445
782b2b07
SS
154462009-07-14 Stan Shebs <stan@codesourcery.com>
15447
15448 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
15449
f662c3bc
MS
154502009-07-14 Michael Snyder <msnyder@vmware.com>
15451
15452 * gdb.reverse/step-reverse.exp (stepi into function call):
15453 Call instruction may not be first instruction in the line.
15454 (reverse stepi from a function call): Used wrong line number.
15455
8f313923
JK
154562009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15457
15458 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
15459
4662c76e
JK
154602009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15461
15462 Fix gdb.base/macscp.exp when using custom inputrc.
15463 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
15464 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
15465 env(TERM) set.
15466 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
15467 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
15468
aa81e255
JK
154692009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15470
15471 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
15472 * gdb.base/annota1.exp (thread_test): Import global $testfile.
15473 Change the compilation target to match the testcase name.
15474 * gdb.base/sect-cmd.exp: Change the compilation target to match the
15475 testcase name.
15476 * a2-run.exp: Use for setup prepare_for_testing. Change the
15477 compilation target to match the testcase name.
15478 * gdb.base/commands.exp: Likewise.
15479 * gdb.base/finish.exp: Likewise.
15480 * gdb.base/float.exp: Likewise.
15481 * gdb.base/info-target.exp: Likewise.
15482 * gdb.base/relational.exp: Likewise.
15483 * gdb.base/term.exp: Likewise.
15484 * gdb.base/until.exp: Likewise.
15485 * gdb.base/volatile.exp: Likewise.
15486 * gdb.base/whatis-exp.exp: Likewise.
15487
4c93b1d7
HZ
154882009-07-11 Hui Zhu <teawater@gmail.com>
15489
15490 * gdb.base/help.exp (disassemble): Update expected help text.
15491
812f7342
TT
154922009-07-09 Tom Tromey <tromey@redhat.com>
15493
15494 * lib/gdb.exp: Handle TRANSCRIPT.
15495 (remote_spawn, remote_close, send_gdb): New procs.
15496
fbb8f299
PM
154972009-07-10 Phil Muldoon <pmuldoon@redhat.com>
15498
15499 * gdb.python/python-prettyprint.c: Add counted null string
15500 structure.
15501 * gdb.python/python-prettyprint.exp: Print null string. Test for
15502 embedded nulls.
15503 * gdb.python/python-prettyprint.py (pp_ns): New Function.
15504 * gdb.python/python-value.exp (test_value_in_inferior): Add
15505 variable length string fetch tests.
15506 * gdb.python/python-value.c (main): Add strings for string fetch tests.
15507
c0ac0ec7
JK
155082009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15509
15510 * gdb.base/dump.exp (inaccessible memory is reported): New test.
15511
30b66ecc
TT
155122009-07-07 Tom Tromey <tromey@redhat.com>
15513
15514 * gdb.base/call-rt-st.exp: Update for change to escape output.
15515 * gdb.base/callfuncs.exp: Likewise.
15516 * gdb.base/charset.exp: Likewise.
15517 * gdb.base/constvars.exp: Likewise.
15518 * gdb.base/long_long.exp: Likewise.
15519 * gdb.base/pointers.exp: Likewise.
15520 * gdb.base/printcmds.exp: Likewise.
15521 * gdb.base/setvar.exp: Likewise.
15522 * gdb.base/store.exp: Likewise.
15523 * gdb.cp/ref-types.exp: Likewise.
15524 * gdb.mi/mi-var-child.exp: Likewise.
15525 * gdb.mi/mi-var-display.exp: Likewise.
15526 * gdb.mi/mi2-var-display.exp: Likewise.
15527 * gdb.base/charset.exp: Test octal escape sequence length.
15528 Update for change to escape output.
15529
187c4a2b
JK
155302009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15531
15532 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
15533
d80a43f9
DJ
155342009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
15535
15536 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
15537
047427a8
JK
155382009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15539
15540 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
15541 gdbserver increasing $portnum if "Can't bind address" has been seen.
15542
8b5a0f4f
PA
155432009-07-05 Pedro Alves <pedro@codesourcery.com>
15544
15545 * gdb.base/ending-run.exp: Add "step out of main" pattern for
15546 mingw32ce.
15547
7d93ba58
PA
155482009-07-05 Pedro Alves <pedro@codesourcery.com>
15549
15550 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
15551 VFP format.
15552
2277426b
PA
155532009-07-02 Pedro Alves <pedro@codesourcery.com>
15554
15555 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
15556 linux. Adjust to use "inferior", "info inferiors", "detach
15557 inferior" and "kill inferior" instead of "restart", "info fork",
15558 "detach fork" and "delete fork".
15559 * gdb.base/ending-run.exp: Spell out "info".
15560 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
15561 the "kill" command.
15562
5af949e3
UW
155632009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15564
15565 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
15566 change to prefix TLS offset in hex with 0x.
15567
5d3729b5
UW
155682009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15569
15570 * gdb.base/default.exp: Update test case for "x" changes.
15571
af589bd0
TG
155722009-07-01 Tristan Gingold <gingold@adacore.com>
15573
15574 * gdb.base/bigcore.exp: Make darwin untested.
15575
40974f91
JK
155762009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15577
15578 * gdb.base/completion.exp (directory completion): Create the directory.
15579 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
15580 escapeuniquesub.
15581 (directory completion 2): Expect now ${escapeuniquesub}.
15582 (Glob remaining of directory test): Remove one excessive newline.
15583 Expect the real output.
15584
59dd3af6
JK
155852009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15586
15587 Fix `make check//%' target after `make check' has been ran.
15588 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
15589 a mkdir call.
15590 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
15591 (%/.dir): Remove.
15592
f4e164aa
JK
155932009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15594
15595 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
15596 the expected result record.
15597
69af2122
JK
155982009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15599
15600 Remove racy FAILs relying just on the timeouts.
15601 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
15602 (annotation_level 2): Remove racy FAILs.
15603
2fd481e1
PP
156042009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15605
15606 gdb/10275
889bf7c5
PA
15607 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
15608
c38f313d
DJ
156092009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
15610
15611 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
15612
8b777f02
VP
156132009-06-30 Vladimir Prus <vladimir@codesourcery.com>
15614
15615 * gdb.mi/mi-stack.exp: Testing symbolic options
15616 to -stack-list-locals and -stack-list-arguments.
15617
00c7eacf
JK
156182009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15619
15620 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
15621
6bc80edc
TT
156222009-06-29 Tom Tromey <tromey@redhat.com>
15623
15624 * dg-extract-results.sh: New file.
15625 * Makefile.in (FORCE_PARALLEL): New variable.
15626 (CHECK_TARGET): New conditional variable.
15627 (check): Use CHECK_TARGET.
15628 (DO_RUNTEST): New variable.
15629 (check-single): New target.
15630 (TEST_DIRS): New variable.
15631 (TEST_TARGETS): Likewise.
15632 (check-parallel): New target.
15633 (check-gdb.%): New pattern.
15634 (BASE1_FILES): New variable.
15635 (BASE2_FILES): Likewise.
15636 (check-gdb.base%): New pattern.
15637 (%/.dir): New pattern.
15638 * configure: Rebuild.
15639 * aclocal.m4 (AM_CONDITIONAL): New defun.
15640 * configure.ac: Check whether user is using GNU make.
15641 (GMAKE): New conditional.
15642
794684b6
SW
156432009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
15644
15645 * gdb.cp/namespace-nested-import.cc: New test.
15646 * gdb.cp/namespace-nested-import.exp: New test.
15647
edb3359d
DJ
156482009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
15649
15650 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
15651 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
15652 * gdb.opt/Makefile.in (EXECUTABLES): Update.
15653 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
15654 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
15655 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
15656 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
15657 gdb.opt/inline-markers.c: New files.
15658 * lib/gdb.exp (skip_inline_frame_tests): New function.
15659 (skip_inline_var_tests): New function.
15660
cf657a0c
AS
156612009-06-27 Andreas Schwab <schwab@linux-m68k.org>
15662
15663 * gdb.cp/exception.exp: Don't require $hex before inner frame in
15664 backtrace.
15665
28d41a99
MS
156662009-06-27 Michael Snyder <msnyder@vmware.com>
15667
15668 * gdb.reverse: New directory.
15669 * gdb.reverse/break-reverse.c: New test.
15670 * gdb.reverse/break-reverse.exp: New test.
15671 * gdb.reverse/consecutive-reverse.c: New test.
15672 * gdb.reverse/consecutive-reverse.exp: New test.
15673 * gdb.reverse/finish-reverse.c: New test.
15674 * gdb.reverse/finish-reverse.exp: New test.
15675 * gdb.reverse/machinestate.c: New test.
15676 * gdb.reverse/ms1.c: New test.
15677 * gdb.reverse/machinestate.exp: New test.
15678 * gdb.reverse/Makefile.in: New file.
15679 * gdb.reverse/shr2.c: New test.
15680 * gdb.reverse/solib-reverse.c: New test.
15681 * gdb.reverse/solib-reverse.exp: New test.
15682 * gdb.reverse/step-reverse.c: New test.
15683 * gdb.reverse/step-reverse.exp: New test.
15684 * gdb.reverse/until-reverse.c: New test.
15685 * gdb.reverse/ur1.c: New test.
15686 * gdb.reverse/until-reverse.exp: New test.
15687 * gdb.reverse/watch-reverse.c: New test.
15688 * gdb.reverse/watch-reverse.exp: New test.
15689 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
15690 * configure: Regenerate.
15691
fe3c8b0d
DE
156922009-06-26 Doug Evans <dje@google.com>
15693
15694 * gdb.base/psymtab.exp: Turn off pending breakpoints.
15695
3a72a602
PM
156962009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
15697
15698 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
15699 windows problem for 'file delete $binfile'.
15700
27aa8d6a
SW
157012009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
15702
15703 * gdb.cp/namespace-using.exp: New test.
15704 * gdb.cp/namespace-using.cc: New test.
15705
8ac055f8
JB
157062009-05-20 Joel Brobecker <brobecker@adacore.com>
15707
15708 * gdb.ada/variant_record_packed_array: New testcase.
15709
85e306ed
TT
157102009-06-23 Tom Tromey <tromey@redhat.com>
15711
15712 * gdb.base/charset.exp (test_combination): Regression test.
15713 * gdb.base/charset.c (my_wchar_t): New typedef.
15714 (myvar): New global.
15715 (main): Set myvar.
15716
56643c5e
PM
157172009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
15718
15719 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
15720 target.
15721
1fac167a
UW
157222009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15723
15724 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
15725
7ccb0be9
UW
157262009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15727
15728 * gdb.mi/gdb680.exp: Update test for error message.
15729
568d6575
UW
157302009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15731
15732 * gdb.base/annota1.exp: Allow multiple occurrences of the
15733 frames-invalid annotation.
15734 * gdb.cp/annota2.exp: Likewise.
15735
7cd1089b
PM
157362009-06-15 Phil Muldoon <pmuldoon@redhat.com>
15737
15738 * gdb.cp/gdb2495.cc: New file.
15739 * gdb.cp/gdb2495.exp: New file.
15740
72c63395
JK
157412009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15742
15743 Report error on GDB crash during runto.
15744 * lib/gdb.exp (runto <eof>): New.
15745
3788363d
DJ
157462009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
15747
15748 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
15749 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
15750 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
15751 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
15752 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
15753 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
15754 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
15755 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
15756 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
15757 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
15758 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
15759 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
15760 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
15761 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
15762 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
15763 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
15764 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
15765 gdb.server/server-mon.exp, gdb.server/server-run.exp,
15766 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15767 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15768 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
15769 gdb.trace/passcount.exp, gdb.trace/report.exp,
15770 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
15771 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
15772 gdb.trace/while-stepping.exp: Use a unique name for the compiled
15773 executable.
15774
17592de3
PA
157752009-06-07 Pedro Alves <pedro@codesourcery.com>
15776
15777 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
15778 defined before referencing it.
15779
701e355d
DE
157802009-06-03 Doug Evans <dje@google.com>
15781
15782 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
15783 * gdb.arch/i386-see.c: Ditto.
15784
f2292c65
PM
157852009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
15786
15787 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
15788 (check_macro): Return 1 if undefined.
15789 If first test fails, check if macro debug information is available,
15790 and report unsupported test if no macro information is found.
15791
5a437975
DE
157922009-05-29 Doug Evans <dje@google.com>
15793
15794 * gdb.threads/hand-call-in-threads.exp: New.
15795 * gdb.threads/hand-call-in-threads.c: New.
15796
c141c696
MS
157972009-05-29 Michael Snyder <msnyder@vmware.com>
15798
15799 * gdb.base/break-always.exp: Change "1" to "on".
15800 Add confirmation check.
15801
b3444185
PA
158022009-05-28 Pedro Alves <pedro@codesourcery.com>
15803
15804 * gdb.threads/threxit-hop-specific.c: New.
15805 * gdb.threads/threxit-hop-specific.exp: New.
15806 * gdb.threads/thread-execl.c: New.
15807 * gdb.threads/thread-execl.exp: New.
15808
b6313243
TT
158092009-05-27 Tom Tromey <tromey@redhat.com>
15810 Thiago Jung Bauermann <bauerman@br.ibm.com>
15811
15812 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
15813 (mi_child_regexp): Likewise.
15814 (mi_list_varobj_children_range): Likewise.
15815 (mi_get_features): Likewise.
15816 (mi_list_varobj_children): Rewrite.
15817 * gdb.python/python-mi.exp: New file.
15818
a6bac58e
TT
158192009-05-27 Tom Tromey <tromey@redhat.com>
15820 Thiago Jung Bauermann <bauerman@br.ibm.com>
15821 Phil Muldoon <pmuldoon@redhat.com>
15822 Paul Pluzhnikov <ppluzhnikov@google.com>
15823
15824 * gdb.python/python-prettyprint.exp: New file.
15825 * gdb.python/python-prettyprint.c: New file.
15826 * gdb.python/python-prettyprint.py: New file.
15827 * gdb.base/display.exp: print/r is now valid.
15828
2c74e833
TT
158292009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
15830 Tom Tromey <tromey@redhat.com>
15831 Pedro Alves <pedro@codesourcery.com>
15832 Paul Pluzhnikov <ppluzhnikov@google.com>
15833
15834 * gdb.python/python-template.exp: New file.
15835 * gdb.python/python-template.cc: New file.
15836 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15837 tests.
15838 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15839 Call it.
15840 (test_value_after_death): New proc.
15841 * gdb.python/python-value.c (PTR): New typedef.
15842 (main): New variable 'x'.
15843
89c73ade
TT
158442009-05-27 Tom Tromey <tromey@redhat.com>
15845
15846 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15847 tests.
15848 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15849 Call it.
15850
a75724bc
PA
158512009-05-27 Pedro Alves <pedro@codesourcery.com>
15852
15853 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
15854
e58b0e63
PA
158552009-05-24 Pedro Alves <pedro@codesourcery.com>
15856
15857 * gdb.threads/fork-thread-pending.c: New.
15858 * gdb.threads/fork-thread-pending.exp: New.
15859
4ac36638
JK
158602009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15861
15862 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
15863 * gdb.dwarf2/dw2-strp.S (a_string2): New.
15864
889bf7c5 158652009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 15866
889bf7c5 15867 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 15868
b242c3c2
PA
158692009-05-17 Pedro Alves <pedro@codesourcery.com>
15870
15871 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
15872 `gdb_get_line_number'. Call `callee' in both parent and child.
15873 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
15874 `gdb_get_line_number' instead of hardcoding line numbers.
15875 (catch_fork_unpatch_child): New procedure to test detaching
15876 breakpoints from child fork.
15877 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
15878 hardcoding line numbers.
15879 (do_fork_tests): Run `catch_fork_unpatch_child'.
15880
ee342b23
VP
158812009-05-17 Vladimir Prus <vladimir@codesourcery.com>
15882
15883 * gdb.mi/mi-cmd-var.exp: Check that when varobj
15884 of structure type enters or leaves the scope, it
15885 is reported by -var-update.
15886
e2009e98
DE
158872009-05-11 Doug Evans <dje@sebabeach.org>
15888
15889 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 15890 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
15891 * gdb.threads/schedlock.c (main): Fix off-by-one error.
15892
00903456
JK
158932009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15894
15895 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
15896
dc621c35
DE
158972009-04-30 Doug Evans <dje@google.com>
15898
15899 * gdb.threads/watchthreads2.exp: New testcase.
15900 * gdb.threads/watchthreads2.c: New testcase.
15901
9ab4e744
DE
159022009-04-29 Doug Evans <dje@google.com>
15903
15904 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
15905 * gdb.cp/mb-ctor.cc: Ditto.
15906 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
15907 * gdb.cp/mb-inline.h (multi_line_foo): New function.
15908 * gdb.cp/mb-inline1.cc: Call it.
15909 * gdb.cp/mb-inline2.cc: Ditto.
15910 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
15911 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
15912
484086b7
JK
159132009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15914
15915 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
15916 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
15917 Replace all uses of `decimal' by `nonzero'.
15918 (info macro FROM_COMMANDLINE): New test.
15919
379a77b5
TT
159202009-04-27 Tom Tromey <tromey@redhat.com>
15921
15922 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
15923
b92b73c2
DE
159242009-04-27 Doug Evans <dje@google.com>
15925
15926 * gdb.threads/watchthreads.c (main): Initialize args before starting
15927 the threads. Plus formatting cleanup.
15928 * gdb.threads/watchthreads.exp: Avoid errant failures due to
15929 biased scheduling of one thread.
15930
945a118d
JG
159312009-04-27 Jerome Guitton <guitton@adacore.com>
15932
15933 * gdb.cp/templates.cc (GetMax): New template.
15934 (main): Declare two instances of GetMax.
15935 * gdb.cp/templates.exp: Add new test.
15936
d389af10
JK
159372009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15938
15939 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
15940
e7f86de9
JM
159412009-04-22 Joseph Myers <joseph@codesourcery.com>
15942
15943 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
15944
334cc82d
TT
159452009-04-15 Tom Tromey <tromey@redhat.com>
15946
15947 * gdb.base/charset.exp: Add regression test.
15948
d12672cc
JB
159492009-04-14 Joel Brobecker <brobecker@adacore.com>
15950
15951 * gdb.base/exe-lock.exp: New testcase.
15952
18e8c3bc
TT
159532009-04-13 Tom Tromey <tromey@redhat.com>
15954
15955 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
15956 operator on Frame.
15957
5ecd5cbe
UW
159582009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15959
15960 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
15961 * gdb.server/ext-attach.exp: Likewise.
15962
7309f756
VP
159632009-04-03 Vladimir Prus <vladimir@codesourcery.com>
15964
15965 Eliminate some sleep usage.
15966
889bf7c5
PA
15967 * gdb.mi/basics.c (do_nothing): New.
15968 (main): Use do_nothing instead of printf, so that
15969 not to introduce race condition between output of
15970 inferiour and output of gdb. Do not use sleep as it
15971 is not generally available on embedded targets.
7309f756 15972
f4b95f6f
PA
159732009-04-02 Pedro Alves <pedro@codesourcery.com>
15974
15975 * gdb.server/ext-attach.exp: Expect an optional process id after
15976 "Detached from remote process".
15977
de40b933
JK
159782009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15979
15980 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
15981 gdb.dwarf2/dw2-unresolved.exp: New.
15982
2ae101a4
PA
159832009-04-02 Pedro Alves <pedro@codesourcery.com>
15984
15985 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
15986 mi_run_to_main.
15987
56a8e183
PA
159882009-04-02 Pedro Alves <pedro@codesourcery.com>
15989
15990 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
15991 mi_run_to_main. Skip thread exit test on remote targets.
15992 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
15993 mi_run_to_main.
15994 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
15995 mi_run_to_main.
15996 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
15997 when expecting ^connected. Detect when the target doesn't support
15998 non-stop mode.
15999 (mi_run_cmd): Detect if non-stop mode was requested by isn't
16000 supported. Return -1 on error, 0 on success.
16001 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
16002 (mi_runto): Return mi_runto_helper's result explicitly.
16003
c35fafde
PA
160042009-04-01 Pedro Alves <pedro@codesourcery.com>
16005
16006 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
16007
f8a8dce6
JB
160082009-04-01 Tom Tromey <tromey@redhat.com>
16009
16010 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
16011 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
16012 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
16013 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
16014
71c25dea
TT
160152009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
16016 Jan Kratochvil <jan.kratochvil@redhat.com>
16017
16018 PR gdb/931
16019 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
16020 output.
16021 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
16022 for gdb/931.
16023 * dw2-strp.S (DW_AT_language): Change to C++.
16024 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
16025
02d9a9ce
JB
160262009-03-31 Joel Brobecker <brobecker@adacore.com>
16027
16028 * gdb.ada/tasks: New testcase.
16029
1042e4c0
SS
160302009-03-30 Stan Shebs <stan@codesourcery.com>
16031
16032 * gdb.trace/actions.exp: Update to match new info trace format.
16033 * gdb.trace/deltrace.exp: Ditto.
16034 * gdb.trace/infotrace.exp: Ditto.
16035 * gdb.trace/passcount.exp: Ditto.
16036 * gdb.trace/save-trace.exp: Ditto.
16037 * gdb.trace/while-stepping.exp: Ditto.
16038 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
16039
f8f6f20b
TJB
160402009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16041
16042 * gdb.python/python-frame.c: New file.
16043 * gdb.python/python-frame.exp: New file.
16044
c0c6f777
TJB
160452009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
16046
16047 * gdb.python/python-value.exp: Add tests for the address
16048 attribute.
16049
3cb51905
AS
160502009-03-29 Andreas Schwab <schwab@linux-m68k.org>
16051
16052 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
16053
88fc996f
DE
160542009-03-26 Doug Evans <dje@google.com>
16055
16056 * gdb.mi/mi-nonstop-exit.exp: New file.
16057 * gdb.mi/non-stop-exit.c: New file.
16058
56ef84b1
TT
160592009-03-26 Tom Tromey <tromey@redhat.com>
16060
16061 Update for change to prologue skipping:
16062 * gdb.mi/mi2-simplerun.exp: Update.
16063 * gdb.mi/mi2-break.exp: Update.
16064 * gdb.mi/mi-simplerun.exp: Update.
16065 * gdb.mi/mi-break.exp: Update.
16066 * gdb.base/ending-run.exp: Update.
16067
def2b000
TJB
160682009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
16069
16070 * gdb.python/python-value.exp (test_value_in_inferior): Test
16071 gdb.Value.is_optimized_out attribute.
16072
442ddf59
JK
160732009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16074
16075 * gdb.dwarf2/dw2-noloc-main.c: New file.
16076 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
16077 (.text): Remove.
16078 (.data): New.
16079 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
16080 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
16081 (DW_TAG_subprogram func_cu1, noloc): Remove.
16082 (main): New.
16083 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
16084 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
16085 (file_symbols): New procedure.
16086
a8df5de4
TT
160872009-03-25 Tom Tromey <tromey@redhat.com>
16088
16089 * gdb.base/charset.exp (valid_target_charset): New proc.
16090 Use it to skip tests on invalid charsets.
16091
cc1d7add
PM
160922009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
16093
16094 * gdb.base/completion.exp: Add a test for directory completion.
16095
bcd5727b
JK
160962009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16097
16098 Fix a racy FAIL.
16099 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
16100 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
16101
cc924cad
TJB
161022009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
16103
16104 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
16105 * gdb.python/python-function.exp: Add test for function returning
16106 a GDB value.
16107
bc3b79fd
TJB
161082009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
16109
16110 * gdb.python/python-function.exp: New file.
16111
6c7a06a3
TT
161122009-03-20 Tom Tromey <tromey@redhat.com>
16113
16114 * gdb.base/store.exp: Update for change to escape output.
16115 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
16116 to escape output.
16117 * gdb.base/pointers.exp: Update for change to escape output.
16118 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
16119 to escape output.
16120 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
16121 escape output.
16122 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
16123 to escape output.
16124 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
16125 escape output.
16126 * gdb.base/setvar.exp: Update for change to escape output.
16127 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
16128 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
16129 to escape output.
16130 (test_print_string_constants): Likewise.
16131 * gdb.base/charset.exp (valid_host_charset): Check size of
16132 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
16133 cases. Handle "auto"-related output.
16134 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
16135 (uvar, Uvar): New globals.
16136
c31af87b
JG
161372009-03-19 Jerome Guitton <guitton@adacore.com>
16138
16139 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
16140 deltas.
16141 * gdb.ada/fixed_points.exp: Ditto.
16142
51272cf2
PA
161432009-03-18 Pedro Alves <pedro@codesourcery.com>
16144
16145 * return-nodebug.c: Don't include stdio.h.
16146 (init): Delete.
16147 (func): Delete definition and provide extern declaration.
16148 (t): New.
16149 (main): Don't call printf. Call func and store its result in t.
16150 * return-nodebug1.c: New.
16151 * return-nodebug.exp: Don't expect stdio output. Instead, print
16152 the global variable t. Drop printf formatters and cast types from
16153 foreach loop. Don't use prepare_for_testing. Compile
16154 return-nodebug.c and return-nodebug1.c in separate steps. Don't
16155 define FORMAT or CAST.
16156
d24948ac
PP
161572009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16158
16159 * gdb.base/solib-display.exp: Disable test for remote targers.
16160
61ff14c6
JK
161612009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16162
16163 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
16164
cb4dce93
JK
161652009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16166
16167 Fix a racy FAIL.
16168 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
16169 code from `follow parent, print pids'.
16170 (`follow child, print pids', `follow parent, print pids'): Call it.
16171 Replace `gdb_test "break..."' by gdb_breakpoint.
16172
f7c60c5e
VP
161732009-03-13 Vladimir Prus <vladimir@codesourcery.com>
16174
16175 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 16176 sync and async modes.
f7c60c5e 16177
383ace49
JB
161782009-03-12 Joel Brobecker <brobecker@adacore.com>
16179
16180 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
16181 that was checked in by mistake. Remove loading of ada.exp, since
16182 this is not necessary in this case.
16183
4ce102af
JB
161842009-03-12 Joel Brobecker <brobecker@adacore.com>
16185
16186 * gdb.ada/ptype_arith_binop.exp: New testcase.
16187
529a2aef
JB
161882009-03-12 Joel Brobecker <brobecker@adacore.com>
16189
16190 * gdb.ada/mod_from_name: New testcase.
16191
8a38181c
JB
161922009-03-12 Joel Brobecker <brobecker@adacore.com>
16193
16194 * gdb.ada/tick_last_segv: New testcase.
16195
11436dee
VP
161962009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16197
61ff14c6 16198 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 16199
1f31650a
VP
162002009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16201
61ff14c6
JK
16202 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
16203 include the token in ^running and frame info in *stopped.
1f31650a 16204
a3247a22
PP
162052009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16206
16207 * solib-display.exp: New file.
16208 * solib-display-main.c: New file.
16209 * solib-display-lib.c: New file.
61ff14c6 16210
aae64587
PA
162112009-03-05 Pedro Alves <pedro@codesourcery.com>
16212
16213 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
16214
44aabfbc
JK
162152009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16216
16217 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
16218 (list_and_check_macro): Use more specific test name.
16219 (next to definition): Make the test names unique.
16220
c087fcd3
PM
162212009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
16222
16223 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 16224
c86cf029
VP
162252009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16226
16227 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
16228 notifications.
16229 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
16230 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
16231 * lib/mi-support.exp (library_loaded_re): New.
16232 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
16233
3ea85240
VP
162342009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16235
16236 * gdb.gdb/observer.exp: Use test_notification observer, not
16237 normal_stop, everywhere.
16238 (test_normal_stop_notifications): Rename to...
16239 (test_notifications): ...this.
16240 (test_observer_normal_stop): Rename to...
16241 (test_observer): ...this.
16242
1903f0e6
DE
162432009-02-16 Doug Evans <dje@google.com>
16244
16245 * gdb.arch/amd64-disp-step.S (test_int3): New test.
16246 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
16247 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
16248 (test_prefixed_syscall,test_int3): New tests.
16249 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
16250 (test_prefixed_syscall,test_int3): New tests.
16251
1d33d6ba
VP
162522009-02-14 Vladimir Prus <vladimir@codesourcery.com>
16253
3cb51905
AS
16254 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
16255 (mi_expect_interrupt): Likewise.
16256 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
16257 response.
1d33d6ba 16258
faafb047
PM
162592009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16260
16261 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
16262 * gdb.base/pc-fp.exp (get_valueofx): Remove.
16263 Replace calls to get_valueofx by get_hexadecimal_valueof.
16264
417e16e2
PM
162652009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16266
16267 * lib/gdb.exp (get_valueof): Accept anything as a return value.
16268 (get_integer_valueof): New procedure.
16269 (get_sizeof): Use new get_integer_value_of.
16270 * gdb.base/sizeof.exp: Replace all uses of get_valueof
16271 by get_integer_valueof.
16272
7065b901
TT
162732009-02-13 Tom Tromey <tromey@redhat.com>
16274
16275 * gdb.base/remote.exp (get_sizeof): Remove.
16276 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
16277 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
16278 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
16279 * lib/gdb.exp (get_valueof): Move from long_long.exp.
16280 (get_sizeof): Likewise.
16281
5d7cb8df
JK
162822009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16283
16284 PR fortran/9806
16285 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
16286
b2febfff
PP
162872009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16288
16289 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
16290
4aa995e1
PA
162912009-02-06 Pedro Alves <pedro@codesourcery.com>
16292
16293 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
16294
d8906c6f
TJB
162952009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16296
16297 * gdb.python/python-cmd.exp: New file.
16298
ff4ab08d
TG
162992009-02-06 Tristan Gingold <gingold@adacore.com>
16300
16301 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
16302
aacd552b
TG
163032009-02-05 Tristan Gingold <gingold@adacore.com>
16304
16305 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
16306 pointer is dereferenced and use this signal name in regexp.
16307 * gdb.base/signull.exp: Ditto.
16308 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
16309 * gdb.base/signull.c (main): Ditto.
16310
08c637de
TJB
163112009-02-04 Tom Tromey <tromey@redhat.com>
16312 Thiago Jung Bauermann <bauerman@br.ibm.com>
16313
16314 * gdb.python/python-value.exp: Use `gdb.history' instead of
16315 `gdb.value_from_history'.
16316 (test_value_numeric_ops): Add test for conversion of enum constant.
16317 * gdb.python/python-value.c (enum e): New type.
16318 (evalue): New global.
16319 (main): Use argv.
16320
20261af8
JG
163212009-02-04 Jerome Guitton <guitton@adacore.com>
16322
16323 * gdb.ada/uninitialized_vars: New test program.
16324 * gdb.ada/uninitialized_vars.exp: New testcase.
16325
52e44b43
TT
163262009-02-02 Tom Tromey <tromey@redhat.com>
16327
16328 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
16329 * gdb.cp/pr2489.cc: Rename...
16330 * gdb.cp/pr9594.cc: ... to this.
16331
1c71341a
TT
163322009-02-02 Tom Tromey <tromey@redhat.com>
16333
16334 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
16335 * gdb.cp/pr2489.cc: New file.
16336 * gdb.cp/cpcompletion.exp: New file.
16337
a4295225
TT
163382009-02-02 Tom Tromey <tromey@redhat.com>
16339
16340 PR exp/9059:
16341 * gdb.cp/call-c.exp: Add regression test.
16342 * gdb.cp/call-c.cc (FooHandle): New typedef.
16343 (main): New variable 'handle'.
16344
592375cd
VP
163452009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16346
16347 * lib/mi-support.exp (et_mi_thread_list)
16348 (check_mi_and_console_threads): Adjust for current thread in
16349 -thread-list-ids output.
16350
41447f92
VP
163512009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16352
889bf7c5
PA
16353 * gdb.mi/mi-break.exp (test_disabled_creation): New.
16354 Call it.
41447f92 16355
35669430
DE
163562009-01-28 Doug Evans <dje@google.com>
16357
16358 * gdb.arch/amd64-disp-step.S: New file.
16359 * gdb.arch/amd64-disp-step.exp: New file.
16360 * gdb.arch/i386-disp-step.S: New file.
16361 * gdb.arch/i386-disp-step.exp: New file.
16362
09f00d9a
PM
163632009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
16364
16365 * gdb.base/find.exp: Set newline variable
16366 using quotes instead of braces to fix cygwin failures.
16367
1e8fb976
PA
163682009-01-23 Pedro Alves <pedro@codesourcery.com>
16369
16370 * gdb.base/radix.exp: Add tests to ensure that that set
16371 input-radix 0 and set output-radix 0 are really rejected.
16372
da061712
PA
163732009-01-23 Pedro Alves <pedro@codesourcery.com>
16374
16375 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
16376 copyright years.
16377
dd7e2d2b
PA
163782009-01-23 Pedro Alves <pedro@codesourcery.com>
16379
16380 PR gdb/9664:
16381 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
16382
392452f6
PA
163832009-01-22 Pedro Alves <pedro@codesourcery.com>
16384
16385 PR c++/9631:
16386 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
16387
8653e71c
PM
163882009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
16389
16390 * gdb.server/file-transfer.exp: Use EXEEXT variable for
16391 binfile definition to fix Windows OS failure.
16392
a12cc160
DJ
163932009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16394
16395 PR gdb/9346
16396 * gdb.base/interrupt.c (sigint_handler): New.
16397 (main): Install a SIGINT handler if SIGNALS is defined. Exit
16398 on error.
16399 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
16400 Test "signal SIGINT".
16401
b89667eb
DE
164022009-01-19 Doug Evans <dje@google.com>
16403
16404 * gdb.base/break.exp: Update expected gdb output.
16405 * gdb.base/sepdebug.exp: Ditto.
16406 * gdb.mi/mi-syn-frame.exp: Ditto.
16407 * gdb.mi/mi2-syn-frame.exp: Ditto.
16408 * gdb.base/call-signal-resume.exp: New file.
16409 * gdb.base/call-signals.c: New file.
16410 * gdb.base/unwindonsignal.exp: New file.
16411 * gdb.base/unwindonsignal.c: New file.
16412 * gdb.threads/interrupted-hand-call.exp: New file.
16413 * gdb.threads/interrupted-hand-call.c: New file.
16414 * gdb.threads/thread-unwindonsignal.exp: New file.
16415
adb483fe
DJ
164162009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
16417
16418 * gdb.base/define.exp: Test defining and hooking prefix commands.
16419 * gdb.python/python.exp: Update test for "show user" output.
16420
60023297
JK
164212009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16422
16423 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
16424 now the output exactly, using less wildcards. Expect also the output
16425 of gfortran-4.3. Update for the f-valprint.c modification from
16426 2008-04-22.
16427 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
16428 Remove gdb_test test names where matching the command.
16429
ccc57cf9
PA
164302009-01-01 Pedro Alves <pedro@codesourcery.com>
16431
16432 PR breakpoints/9681:
16433 * gdb.base/watchpoint.exp: Add regression test.
16434
c7a6ca08
PA
164352008-12-31 Pedro Alves <pedro@codesourcery.com>
16436
16437 * gdb.threads/attach-into-signal.exp: Don't use
16438 gdb_suppress_entire_file.
16439 * gdb.threads/attach-stopped.exp: Ditto.
16440 * gdb.threads/attachstop-mt.exp: Ditto.
16441
3a031f65
PA
164422008-12-31 Pedro Alves <pedro@codesourcery.com>
16443
16444 PR gdb/8812:
16445 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
16446
09e6485f
PA
164472008-12-29 Pedro Alves <pedro@codesourcery.com>
16448
16449 PR gdb/7536:
16450 * gdb.base/radix.exp: Add tests to ensure invalid input radices
16451 and unsupported output radices are really rejected.
16452
0cd53049
JK
164532008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16454
16455 * gdb.cp/punctuator.exp: Backslash the '$' signs.
16456
ba163c7e
TT
164572008-12-22 Tom Tromey <tromey@redhat.com>
16458
16459 * gdb.cp/punctuator.exp: New file.
16460
6f4de6c9
JK
164612008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16462
16463 * gdb.base/completion.exp (Completing non-existing component): New test.
16464
0f34d0b4
JK
164652008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16466
16467 Fix for PR gdb/8648.
16468 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
16469 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
16470 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
16471 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
16472
db2ad4c3
JK
164732008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16474
16475 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
16476
bb5ef15e
DP
164772008-12-16 Christophe Lyon <christophe.lyon@st.com>
16478
16479 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
16480 compiler actually generate code at the expected line number.
16481
90142adc
JZ
164822008-12-15 Jie Zhang <jie.zhang@analog.com>
16483
16484 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
16485
fad6eecd
TT
164862008-12-12 Tom Tromey <tromey@redhat.com>
16487
16488 * gdb.base/commands.exp (redefine_hook_test): New proc.
16489 Call it.
16490
17c8aaf5
TT
164912008-12-11 Tom Tromey <tromey@redhat.com>
16492
16493 * gdb.base/macscp.exp: New regression test.
16494
7c8adf68
TT
164952008-12-11 Tom Tromey <tromey@redhat.com>
16496
16497 * gdb.base/macscp.exp: Print "address.addr".
16498 * gdb.base/macscp1.c (struct outer): New struct.
16499 (address): New global.
16500
b05dcbb7
TT
165012008-12-09 Tom Tromey <tromey@redhat.com>
16502
16503 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
16504 Call it.
16505
2d476de1
DE
165062008-12-04 Doug Evans <dje@google.com>
16507
16508 * gdb.server/ext-run.exp: Relax regexp for init program.
16509
87bdc959
TG
165102008-12-03 Tristan Gingold <gingold@adacore.com>
16511
16512 * gdb.base/macscp.exp: Generate an object file during compilation
16513 to work around Darwin dsymutil limitations.
16514
e0740f77
JK
165152008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16516
16517 Test resolving external references to TLS variables.
16518 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
16519 FILE2_THREAD_LOCAL.
16520 (testfile2, srcfile2): New variables.
16521 * gdb.threads/tls.c (file2_thread_local)
16522 (function_referencing_file2_thread_local): New.
16523 * gdb.threads/tls2.c: New file.
16524
67f0aac5
JB
165252008-11-28 Joel Brobecker <brobecker@adacore.com>
16526
16527 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
16528 rather than integer, as integer might not be big enough when
16529 on 64bit targets.
67f0aac5 16530
c332165e
JG
165312008-11-27 Jerome Guitton <guitton@adacore.com>
16532
16533 * gdb.cp/formatted-ref.exp: Add equality test.
16534 * gdb.ada/formatted_ref.exp: Ditto.
16535
fc9b693c
JK
165362008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16537
16538 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
16539 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
16540
a9c64011
AS
165412008-11-20 Andreas Schwab <schwab@suse.de>
16542
16543 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
16544 matching syscall entry point.
16545 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16546 (tcatch_vfork_then_child_follow): Likewise. Finish through
16547 vfork even if we stopped at the syscall trampoline.
16548
e2fd701e
DE
165492008-11-20 Doug Evans <dje@google.com>
16550
16551 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
16552
69abc51c
TJB
165532008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
16554
16555 * gdb.arch/ppc-dfp.exp: New file.
16556 * gdb.arch/ppc-dfp.c: New file.
16557
c14c28ba
PP
165582008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16559
16560 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 16561
2e74121d
DE
165622008-11-17 Doug Evans <dje@google.com>
16563
16564 * gdb.mi/mi-syn-frame.exp: Update expected output.
16565 * gdb.mi/mi2-syn-frame.exp: Update expected output.
16566
66bb093b
VP
165672008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16568
16569 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
16570 "thread N" results in =thread-selected.
16571 * lib/mi-support (mi_run_cmd, mi_expect_stop)
16572 (mi_send_resuming_command_raw): Be prepared for
16573 =thread-selected.
16574
3d043ef6
VP
165752008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16576
a9c64011
AS
16577 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
16578 * lib/mi-support.exp: Likewise.
3d043ef6 16579
808104c8
JB
165802008-11-16 Joel Brobecker <brobecker@adacore.com>
16581
16582 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
16583 commands from the expected output for "help catch".
16584
00b22944
JB
165852008-11-15 Joel Brobecker <brobecker@adacore.com>
16586
16587 * gdb.ada/int_deref.exp: New testcase.
16588
59669435
TT
165892008-11-14 Nick Roberts <nickrob@snap.net.nz>
16590
16591 * gdb.mi/gdb2549.exp: New file.
16592
de04a248
DE
165932008-11-11 Doug Evans <dje@google.com>
16594
16595 * gdb.base/callexit.exp: New file.
16596 * gdb.base/callexit.c: New file.
16597
6b8ce727
DE
165982008-11-10 Doug Evans <dje@google.com>
16599
16600 * lib/gdb.exp (GDBFLAGS): Move -nx ...
16601 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
16602 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
16603 (default_gdb_start,default_gdb_exit): Ditto.
16604 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
16605 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
16606 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
16607 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
16608 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
16609 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
16610
1b14b8aa
AS
166112008-11-03 Andreas Schwab <schwab@suse.de>
16612
16613 * gdb.base/hashline2.exp: Fix typo.
16614 * gdb.base/hashline3.exp: Likewise.
16615
f3134b88
TT
166162008-10-30 Tom Tromey <tromey@redhat.com>
16617
16618 * gdb.base/pointers.exp: Add test.
16619 * gdb.base/pointers.c (k, S): New typedefs.
16620 (instance): New global.
16621
c2226152
AS
166222008-10-30 Andreas Schwab <schwab@suse.de>
16623
16624 * gdb.base/args.exp: Add tests for newlines.
16625
462f405c
JB
166262008-10-30 Joel Brobecker <brobecker@adacore.com>
16627
16628 gdb.base/foll-exec.exp: Update the expected output of a couple
16629 of "info breakpoints" tests.
16630
79a45b7d
TT
166312008-10-28 Tom Tromey <tromey@redhat.com>
16632
16633 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
16634
adc13a14
PA
166352008-10-24 Pedro Alves <pedro@codesourcery.com>
16636
16637 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
16638 gdb_start_cmd.
16639 Use runto_main before any test that requires execution.
16640
252fbfc8
PA
166412008-10-23 Pedro Alves <pedro@codesourcery.com>
16642
16643 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
16644 instead of SIGINT.
16645
28148e3d
JB
166462008-10-22 Joel Brobecker <brobecker@adacore.com>
16647
16648 * gdb.base/completion.exp: Update expected output following
16649 the addition of the "info tasks" command.
16650
c209f847
TT
166512008-10-22 Tom Tromey <tromey@redhat.com>
16652
16653 * gdb.base/exprs.exp (test_expr): Add test for string
16654 concatenation.
16655
f177e350
PA
166562008-10-19 Pedro Alves <pedro@codesourcery.com>
16657
16658 * configure.ac: Output gdb.python/Makefile.
16659 * configure: Regenerate.
16660 * gdb.python/Makefile.in: New.
16661
cce89356
JB
166622008-10-16 Joel Brobecker <brobecker@adacore.com>
16663
16664 * gdb.base/foll-fork.exp: Adjust the expected output to match
16665 the new description for fork/vfork catchpoints in the "info
16666 breakpoints" output.
16667
176d289d
TJB
166682008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16669
16670 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
16671
a08702d6
TJB
166722008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16673
16674 * gdb.python/python-value.c: New file.
16675 * gdb.python/python-value.exp: New file.
16676
1c5cfe86
PA
166772008-10-15 Pedro Alves <pedro@codesourcery.com>
16678
16679 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
16680
5a98ad69
DP
166812008-10-15 Denis Pilat <denis.pilat@st.com>
16682
41702f1b 16683 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 16684
dcb1a1e2
TT
166852008-10-09 Tom Tromey <tromey@redhat.com>
16686
16687 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
16688 'fprintf' and 'stderr'.
16689
9124fe48
JB
166902008-10-07 Joel Brobecker <brobecker@adacore.com>
16691
16692 * gdb.ada/ref_tick_size.exp: New testcase.
16693
45452591
DE
166942008-10-06 Doug Evans <dje@google.com>
16695
16696 * gdb.dwarf2/dw2-cu-size.exp: New file.
16697 * gdb.dwarf2/dw2-cu-size.S: New file.
16698
16699 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
16700 .Ltype_int for clarity.
16701
4fc5b208
PP
167022008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
16703
16704 PR gdb/2384:
16705 * gdb.cp/gdb2384.exp: Extended to test more cases.
16706 * gdb.cp/gdb2384.cc: Likewise.
16707 * gdb.cp/gdb2384-base.h: Likewise.
16708 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 16709
d78df370
JK
167102008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16711
16712 * gdb.base/maint.exp (maint print type): Remove printing
16713 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
16714
9a044a89
TT
167152008-09-30 Tom Tromey <tromey@redhat.com>
16716
16717 * gdb.base/macscp.exp: Add completion tests.
16718 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
16719 (TWENTY_THREE): Likewise.
16720 (FORTY_EIGHT): Likewise.
16721
506800a9
TT
167222008-09-30 Tom Tromey <tromey@redhat.com>
16723
16724 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
16725 everywhere.
16726 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
16727
1a6f01b5
JK
167282008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
16729
16730 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
16731 testcase is derived from. Fix racy dependency on an expected PID
16732 number. No longer support the testcase on Linux kernel 2.4.x.
16733
2fae03e8
TT
167342008-09-27 Tom Tromey <tromey@redhat.com>
16735
16736 * gdb.base/macscp.exp: Add tests for stringification, splicing,
16737 and varargs.
16738
1ad15515
PA
167392008-09-22 Pedro Alves <pedro@codesourcery.com>
16740
16741 * lib/mi-support.exp (mi_expect_interrupt): New.
16742 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
16743 from gdb.mi/mi-nonstop.exp.
16744 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
16745 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
16746 lib/mi-support.exp.
16747 Use mi_check_thread_states throughout. Avoid ".*" and do not
16748 require an anchor after -exec-run.
16749
d0b76dc6
DJ
167502008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
16751
16752 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
16753 stop is pending. Avoid ".*" when two stops are pending.
16754 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
16755 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
16756 newlines in fullnames.
16757 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
16758 (mi_expect_stop): Update comments. Only anchor in sync mode.
16759 Do not match newlines.
16760 (mi_send_resuming_command_raw): Always return status.
16761 (mi_get_stop_line): Do not match more than one line by accident.
16762 Only anchor in sync mode.
16763 (mi_run_inline_test): If -exec-next fails, give up.
16764
9990c830
UW
167652008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16766
16767 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
16768 on SPU.
16769
ebcf6f00
JB
167702008-09-10 Joel Brobecker <brobecker@adacore.com>
16771
16772 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
16773
b6db24e5
JB
167742008-09-10 Joel Brobecker <brobecker@adacore.com>
16775
16776 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
16777 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
16778 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
16779 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
16780 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
16781 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
16782 gdb.ada/interface.exp, gdb.ada/null_array.exp,
16783 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
16784 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
16785 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
16786 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
16787 Include the "= " sequence in the expected output of print tests.
16788
2bf448e0
JB
167892008-09-10 Joel Brobecker <brobecker@adacore.com>
16790
16791 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
16792 description for boolean types.
16793
d51fd4c8
PA
167942008-09-09 Pedro Alves <pedro@codesourcery.com>
16795
16796 * gdb.base/hook-stop-continue.c: New.
16797 * gdb.base/hook-stop-continue.exp: New.
16798
694182d2
DJ
167992008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
16800
16801 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
16802
3b8a7fc0
JG
168032008-09-08 Jerome Guitton <guitton@adacore.com>
16804
16805 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
16806 (stack_check_probe_2, stack_check_probe_loop_1)
16807 (stack_check_probe_loop_2): New functions.
16808 (main): Add call to these new functions.
16809 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
16810 functions, check that the breakpoint is inserted at the appropriate
16811 location.
16812 (insert_breakpoint): Slightly refine this procedure so that it can
16813 be called several times in the test.
16814
96cc0ae8
JG
168152008-09-08 Jerome Guitton <guitton@adacore.com>
16816
16817 * gdb.base/stack-checking.c: New file.
16818 * gdb.base/stack-checking.exp: New file.
16819
1f08b409
TJB
168202008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16821
16822 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
16823 * gdb.arch/altivec-regs.exp: Likewise.
16824 * gdb.arch/vsx-regs.exp: Likewise.
16825
3099e1c4
TJB
168262008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16827
16828 * gdb.arch/ppc-fp.exp: New file.
16829 * gdb.arch/ppc-fp.c: New file.
16830
cc69bfc1
PP
168312008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16832
16833 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
16834 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 16835
b02a33db
MS
168362008-09-04 Michael Snyder <msnyder@vmware.com>
16837
16838 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
16839 as "at" (for non-debug functions such as _start).
16840
2992cbe0
UW
168412008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16842
16843 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
16844 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
16845 software watchpoints.
16846 * gdb.base/watch_thread_num.exp: Likewise.
16847
514f746b
AR
168482008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
16849
16850 * gdb.arch/i386-bp_permanent.exp: New test.
16851
876cecd0
TT
168522008-08-24 Tom Tromey <tromey@redhat.com>
16853
16854 * gdb.base/maint.exp: Update "maint print type".
16855
80f73d71
VP
168562008-08-21 Vladimir Prus <vladimir@codesourcery.com>
16857
16858 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
16859 support. Adjust the order of "*running" notifications.
16860 * gdb.mi/non-stop.c: Don't cast from int to void* and
16861 back.
16862
d9c78d7d
MK
168632008-08-20 Mark Kettenis <kettenis@gnu.org>
16864
16865 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
16866 expect to find it in the "info frame" output.
16867
97a2d1d3
DJ
168682008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
16869
16870 * gdb.base/interp.exp: Always consume both prompts.
16871
b96e2927
PA
168722008-08-20 Pedro Alves <pedro@codesourcery.com>
16873
16874 * gdb.base/pending.exp: Test pending breakpoints without symbols
16875 loaded.
16876
8cf6e61a
VP
168772008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16878
16879 * lib/mi-support.exp (mi_expect_stop): Produce
16880 more details on failures.
16881 * gdb.mi/mi-nonstop.exp: New.
16882 * gdb.mi/non-stop.c: New.
16883
c6ebd6cf
VP
168842008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16885
a9c64011
AS
16886 * gdb.mi/mi-async.exp: Use 'set target-async'.
16887 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 16888
46a9b8ed
DJ
168892008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
16890
16891 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
16892
44feb3ce
TT
168932008-08-17 Tom Tromey <tromey@redhat.com>
16894
16895 * gdb.base/help.exp (help catch): Rewrite.
16896
311a4e6b
TJB
168972008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16898
16899 * gdb.base/define.exp: Test indented command documentation.
16900 * gdb.python/python.exp: Test indented multi-line command.
16901
604c2f83
LM
169022008-08-15 Luis Machado <luisgpm@br.ibm.com>
16903
16904 * testsuite/gdb.arch/vsx-regs.c: New source file.
16905 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
16906 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
16907
886a217c
TT
169082008-08-14 Tom Tromey <tromey@redhat.com>
16909
16910 * gdb.base/macscp.exp: Add regression test for "macro define" or
16911 "macro undef" with no arguments.
16912
c814a4f3
PP
169132008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16914
16915 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 16916
12ab8a60
UW
169172008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16918
16919 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
16920
d57a3c85
TJB
169212008-08-06 Tom Tromey <tromey@redhat.com>
16922
16923 * gdb.python/python.exp: New file.
16924
c7b778ff
JK
169252008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16926
16927 Fix for PR gdb/1543.
16928 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
16929 $LOCATION.
16930 (location): New variable.
16931 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
16932 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
16933 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
16934 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
16935 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
16936 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
16937 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
16938 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
16939 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
16940 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
16941 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
16942 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
16943 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
16944 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
16945 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16946 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
16947 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
16948 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
16949 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
16950 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16951 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
16952 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
16953 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
16954 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
16955 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
16956 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
16957 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
16958 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
16959 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
16960 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
16961 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
16962 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
16963 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
16964 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
16965 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
16966 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
16967 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
16968 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16969 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
16970 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
16971 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
16972 gdb.base/type-opaque.exp, gdb.base/until.exp,
16973 gdb.base/value-double-free.c, gdb.base/varargs.exp,
16974 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
16975 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
16976 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
16977 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
16978 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
16979 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
16980 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
16981 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
16982 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
16983 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
16984 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
16985 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
16986 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
16987 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
16988 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
16989 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16990 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
16991 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
16992 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
16993 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16994 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
16995 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
16996 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
16997 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16998 gdb.pascal/types.exp, gdb.stabs/weird.exp,
16999 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
17000 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
17001 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
17002 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
17003 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
17004 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
17005 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17006 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
17007 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17008 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
17009 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17010 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17011 lib/mi-support.exp, lib/trace-support.exp: Remove reference
17012 to bug-gdb@prep.ai.mit.edu .
17013
5e06a3d1
VP
170142008-07-31 Vladimir Prus <vladimir@codesourcery.com>
17015
17016 * lib/mi-support.exp (mi_load_shlibs): New.
17017 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
17018
9d81d21b
VP
170192008-07-30 Vladimir Prus <vladimir@codesourcery.com>
17020
17021 * lib/mi-support.exp (get_mi_thread_list)
17022 (check_mi_and_console_threads): New, moved from ...
17023 * gdb.mi/mi-pthread.exp: ...here.
17024 * gdb.mi/gdb669.exp (get_mi_thread_list)
17025 (check_mi_and_console_threads): Delete.
17026 * gdb.mi/mi2-pthread.exp: Likewise.
17027
bae98fe0
TT
170282008-07-28 Tom Tromey <tromey@redhat.com>
17029
17030 * Makefile.in (just-check): Remove. Move body to...
17031 (check): ... here.
17032
57380f4e
DJ
170332008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17034
17035 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
17036 Add a test for duplicated SIGINTs.
17037
e09490f1
DJ
170382008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17039
17040 * gdb.threads/schedlock.exp (get_args): Update to work for any
17041 value of NUM.
17042 (Top level): Report the number of threads that did not resume.
17043
6387b45f
DJ
170442008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17045
17046 * gdb.dwarf2/dw2-compressed.S: Also define __start.
17047
62f64ff2
DJ
170482008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17049
17050 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
17051 non-MI prompt.
17052
fa8de41e
TT
170532008-07-26 Tom Tromey <tromey@redhat.com>
17054
17055 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
17056 (function_struct, function_struct_ptr): New globals.
17057 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
17058 function pointer in a struct.
17059
ccb3ac8a
TT
170602008-07-26 Tom Tromey <tromey@redhat.com>
17061
17062 * gdb.base/macscp.exp: Add test for macro lexing bug.
17063
d7d9f01e
TT
170642008-07-18 Tom Tromey <tromey@redhat.com>
17065
17066 * gdb.base/macscp.exp: Add macro tests.
17067
9bf07184
PP
170682008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17069
17070 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
17071
becf6477
PP
170722008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17073
17074 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
17075
0709f7d3
PP
170762008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
17077
17078 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 17079
7093c834
PP
170802008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
17081
17082 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 17083
b432ffe3
JK
170842008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17085
17086 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
17087
b1a268e5
VP
170882008-07-12 Vladimir Prus <vladimir@codesourcery.com>
17089
17090 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
17091
e2995f8e
KB
170922008-07-11 Kevin Buettner <kevinb@redhat.com>
17093
17094 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
17095 of regexp to account for changes made to GDB in the printing of
17096 byte vectors.
17097
14032a66
TT
170982008-07-11 Tom Tromey <tromey@redhat.com>
17099
17100 * gdb.base/completion.exp: Add 'help' completion test.
17101
981505ef
JK
171022008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17103
17104 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
17105
10568435
JK
171062008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17107
17108 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
17109
4487aabf
PA
171102008-07-09 Pedro Alves <pedro@codesourcery.com>
17111
17112 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
17113
a4a9b1c4
PA
171142008-07-09 Pedro Alves <pedro@codesourcery.com>
17115
17116 * gdb.base/fullname.exp: Restore pwd if compiling failed.
17117
3c3185ac
JK
171182008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17119
17120 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
17121
7ebd49dc
VP
171222008-06-28 Vladimir Prus <vladimir@codesourcery.com>
17123
17124 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
17125 previous commit. Add a comment.
17126
84e46146
PA
171272008-06-28 Pedro Alves <pedro@codesourcery.com>
17128
17129 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
17130
0f8d4a2f
VP
171312008-06-28 Vladimir Prus <vladimir@codesourcery.com>
17132
17133 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
17134
f747e0ce
PA
171352008-06-27 Pedro Alves <pedro@codesourcery.com>
17136
17137 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
17138 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
17139 compiling an executable, link in an object that forces unbuffered
17140 output.
17141 * lib/set_unbuffered_mode.c: New file.
17142
734a5c36
JK
171432008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17144
17145 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
17146
a2840c35
VP
171472008-06-25 Vladimir Prus <vladimir@codesourcery.com>
17148
a9c64011
AS
17149 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
17150 mi_expect_stop.
17151 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
17152 Demand that *running is output.
17153 (detect_async): Perform checking every time.
17154 (mi_send_resuming_command): Extract everything into...
17155 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
17156 (mi_expect_stop): Don't accept any output before *stopped.
17157
6ae37fef
VP
171582008-06-13 Vladimir Prus <vladimir@codesourcery.com>
17159
17160 Robustify mi-simplerun.
a9c64011
AS
17161 * gdb.mi/basics.c (main): Add a call to sleep.
17162 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
17163 * gdb.mi/mi2-cli.exp: Likewise.
17164 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 17165
b4aa76f0 171662008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
17167
17168 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
17169
e1ac3328
VP
171702008-06-10 Vladimir Prus <vladimir@codesourcery.com>
17171
a9c64011
AS
17172 * gdb.mi/mi-console.exp: Adjust.
17173 * gdb.mi/mi-syn-frame.exp: Adjust.
17174 * gdb.mi/mi2-console.exp: Adjust.
17175 * gdb.mi/mi2-syn-frame.exp: Adjust.
17176 * lib/mi-support.exp (mi_run_cmd): Adjust.
17177 (mi_send_resuming_command): Adjust.
e1ac3328 17178
f7f9a841
VP
171792008-06-10 Vladimir Prus <vladimir@codesourcery.com>
17180
17181 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
17182 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
17183 testing of stopped.
17184 * gdb.mi/mi2-syn-frame.exp: Likewise.
17185 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
17186 (async, detect_async): New.
17187 (mi_expect_stop, mi_continue_to_line): Adjust expectation
17188 depending on if we're running in sync or async mode.
f7f9a841 17189
37cd5d19
TT
171902008-06-09 Tom Tromey <tromey@redhat.com>
17191
17192 * gdb.base/completion.exp: New tests for field name completion
17193 with spaces, and field name completion with '->'.
17194
65d12d83
TT
171952008-06-06 Tom Tromey <tromey@redhat.com>
17196
17197 * gdb.base/break1.c (struct some_struct): New struct.
17198 (values): New global.
17199 * gdb.base/completion.exp: Add field name completion test.
17200
ebfe2e3f
PP
172012008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17202
17203 * gdb.cp/call-c.exp: Test for incorrect handling of reference
17204 to pointer.
17205 * gdb.cp/call-c.cc: Likewise.
17206
bcf6fc3a
NR
172072008-06-06 Nick Roberts <nickrob@snap.net.nz>
17208
17209 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
17210 annotation.
17211
49fd4a42 172122008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 17213 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
17214
17215 * gdb.threads/execl.c, gdb.threads/execl1.c,
17216 gdb.threads/execl.exp: New tests.
a9c64011 17217
8a34ac3f
AR
172182008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
17219 Daniel Jacobowitz <dan@codesourcery.com>
17220
17221 * gdb.cp/exception.exp: Activate test, make it work with pending
17222 catchpoints.
17223
86ae69ef
JK
172242008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
17225
17226 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
17227
f7f9ae2c
VP
172282008-05-28 Vladimir Prus <vladimir@codesourcery.com>
17229
a9c64011
AS
17230 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
17231 now printed.
17232 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 17233
2a2d4dc3
AS
172342008-05-27 Andreas Schwab <schwab@suse.de>
17235
17236 * gdb.base/frame-args.exp: Handle arguments that are optimized
17237 out.
17238
5099e4d9
LM
172392008-05-26 Luis Machado <luisgpm@br.ibm.com>
17240
17241 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
17242 quiet for ppc32 and group options into a single variable.
17243
d9c36a91
JB
172442008-05-23 Joel Brobecker <brobecker@adacore.com>
17245
17246 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
17247 of zero-size elements.
17248 * gdb.ada/null_array.exp: Test printing this new array.
17249
103a8671
JK
172502008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17251
17252 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
17253
07a4cc1a 172542008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
17255
17256 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
17257 of the "finish" command.
17258
55f996a7
NR
172592008-05-21 Nick Roberts <nickrob@snap.net.nz>
17260
17261 * gdb.base/annota1.exp: Test for new annotation.
17262
907fc202
UW
172632008-05-16 Pedro Alves <pedro@codesourcery.com>
17264
17265 * gdb.base/fixsection.exp: New file.
17266 * gdb.base/fixsection0.c: New file.
17267 * gdb.base/fixsection1.c: New file.
17268
e8f97270
UW
172692008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17270
17271 * gdb.base/annota1.exp: Accept printf@... in place of printf.
17272 * gdb.base/annota3.exp: Likewise.
17273
ac0bb574
NF
172742008-05-13 Nathan Froyd <froydnj@codesourcery.com>
17275
17276 * gdb.base/watch_thread_num.exp: Don't run tests that require
17277 watchpoints if the target doesn't support them.
17278
6fadd07a
DE
172792008-05-12 Doug Evans <dje@google.com>
17280
17281 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
17282
6e9a4a30
JB
172832008-05-09 Joel Brobecker <brobecker@adacore.com>
17284
17285 * gdb.ada/assign_1.exp: New testcase.
17286
08388c79
DE
172872008-05-09 Doug Evans <dje@google.com>
17288
a3c83fae
DE
17289 * gdb.base/find.exp: New file.
17290 * gdb.base/find.c: New file.
08388c79 17291
bd5ddfe8
DJ
172922008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
17293
17294 * gdb.base/commands.exp (watchpoint_command_test): Handle
17295 gdb,no_hardware_watchpoints.
17296 * gdb.base/float.exp: Allow ARM targets without floating point.
17297 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
17298
b5dd68e2 172992008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 17300 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
17301
17302 * gdb.ada/lang_switch: New test program.
17303 * gdb.ada/lang_switch.exp: New testcase.
17304
382d13d1
DE
173052008-05-05 Doug Evans <dje@google.com>
17306
17307 * gdb.base/help.exp (disassemble): Update expected help text.
17308
9dd789d0
PA
173092008-05-04 Pedro Alves <pedro@codesourcery.com>
17310
17311 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
17312
611c83ae
PA
173132008-05-04 Pedro Alves <pedro@codesourcery.com>
17314
17315 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
17316 different times.
17317
ff013f42
JK
173182008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17319
17320 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
17321 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
17322 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
17323 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
17324
96dff6a2
VP
173252008-05-04 Vladimir Prus <vladimir@codesourcery.com>
17326
17327 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
17328 notification to appear.
17329
55cd6f92
DJ
173302008-05-04 Daniel Jacobowitz <dan@debian.org>
17331
17332 * gdb.base/fullname.c: New file.
17333 * gdb.base/fullname.exp: New file.
17334 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
17335
d705c43c
PA
173362008-05-03 Pedro Alves <pedro@codesourcery.com>
17337
17338 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
17339 expressions with macros.
17340
333222e1
JK
173412008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17342
17343 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
17344
5ac01682
DJ
173452008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
17346
17347 * gdb.base/completion.exp: Handle lack of other symbols beginning
17348 with "a".
17349
17350 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
17351
237fc4c9
PA
173522008-05-02 Jim Blandy <jimb@codesourcery.com>
17353
17354 * gdb.asm/asmsrc1.s: Add scratch space.
17355
ed5e9466
DJ
173562008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17357 Daniel Jacobowitz <dan@codesourcery.com>
17358
17359 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
17360 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
17361 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
17362
b39cc962
DJ
173632007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
17364
17365 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
17366
36d520f5
JB
173672008-05-01 Joel Brobecker <brobecker@adacore.com>
17368
17369 * gdb.base/info-target.exp: New testcase.
17370
8d4e3071
DJ
173712008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17372
17373 * gdb.cp/hang.exp: Use .cc instead of .C.
17374 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
17375 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
17376
6f3f3097
DJ
173772008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17378
17379 * gdb.base/gdb1250.exp: Remove perror.
17380 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
17381
5550a914
PA
173822008-04-30 Pedro Alves <pedro@codesourcery.com>
17383
17384 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
17385 .2byte.
17386
d848e687
DJ
173872008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
17388
17389 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
17390 (maybe_kfail): New.
17391
93b5768b
PA
173922008-04-25 Pedro Alves <pedro@codesourcery.com>
17393
17394 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
17395
721c02de
VP
173962008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17397
a9c64011
AS
17398 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
17399 * gdb.mi/mi2-syn-frame.exp: Likewise.
17400 * lib/mi-support.exp: Likewise.
721c02de 17401
74960c60
VP
174022008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17403
17404 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
17405 to specify regexp for the location to stop at.
17406 * gdb.base/break-always.c: New.
17407 * gdb.base/break-always.exp: New.
17408
d24317b4
VP
174092008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17410
17411 * lib/mi-support.exp (mi_runto_helper): Adjust
17412 for the original-location field.
17413 (mi_create_breakpoint, mi_list_breakpoints): New.
17414 * gdb.mi/mi-break.exp: Adjust.
17415 * gdb.mi/mi2-break.exp: Adjust.
17416 * gdb.mi/mi-pending.exp: Adjust.
17417 * gdb.mi/mi-simplerun.exp: Adjust.
17418 * gdb.mi/mi2-simplerun.exp: Adjust.
17419 * gdb.mi/mi-syn-frame.exp: Adjust.
17420 * gdb.mi/mi2-syn-frame.exp: Adjust.
17421 * gdb.mi/mi-until.exp: Adjust.
17422 * gdb.mi/mi2-until.exp: Adjust.
17423 * gdb.mi/mi-var-display.exp: Adjust.
17424 * gdb.mi/mi2-var-display.exp: Adjust.
17425 * gdb.mi/mi-watch.exp: Adjust.
17426 * gdb.mi/mi2-watch.exp: Adjust.
17427
fdc59709 174282008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 17429
a9c64011
AS
17430 * aclocal.m4: Add override.m4.
17431 * configure: Regenerate.
fdc59709 17432
8e91f023
VP
174332008-04-19 Vladimir Prus <vladimir@codesourcery.com>
17434
17435 * gdb.mi/var-cmd.c (do_at_tests): Verify that
17436 '-var-update --all-values' reports new value even the type
17437 of a variable object has changed.
17438
233a11ab
CS
174392008-04-18 Craig Silverstein <csilvers@google.com>
17440
17441 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
17442 files.
d24317b4 17443
9c1137ad
JB
174442008-04-18 Joel Brobecker <brobecker@adacore.com>
17445
17446 * gdb.ada/atomic_enum: New test program.
17447 * gdb.ada/atomic_enum.exp: New testcase.
17448
66d0bbc7
DE
174492008-04-17 Doug Evans <dje@google.com>
17450
17451 * gdb.opt/Makefile.in: Fix whitespace.
17452
100906b0
UW
174532008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
17454
17455 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
17456
4584e32e
DE
174572008-04-17 Doug Evans <dje@google.com>
17458
17459 * gdb.base/hashline1.exp: New testcase.
17460 * gdb.base/hashline2.exp: New testcase.
17461 * gdb.base/hashline2.exp: New testcase.
17462
0a320680
PA
174632008-04-17 Pedro Alves <pedro@codesourcery.com>
17464
17465 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
17466
18ac113b
AR
174672008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
17468
17469 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
17470 temporary breakpoint to match "Temporary breakpoint".
17471 * gdb.base/break.exp (delete_breakpoints): Likewise.
17472 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
17473 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
17474 * gdb.base/display.exp: Likewise.
17475 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
17476 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
17477 * gdb.base/restore.exp (restore_tests): Likewise.
17478 * gdb.base/sepdebug.exp: Likewise.
17479 * gdb.base/watchpoint.exp: Likewise.
17480 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
17481 * gdb.mi/mi-pending.exp: Likewise.
17482 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
17483 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
17484 * gdb.mi/mi-var-cmd.exp: Likewise.
17485 * gdb.mi/mi-var-display.exp: Likewise.
17486 * gdb.mi/mi2-cli.exp: Likewise.
17487 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
17488 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
17489 * gdb.mi/mi2-var-display.exp: Likewise.
17490 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
17491 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
17492 new "disp" field.
a9c64011 17493 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
17494 reason. This is to support fix for PR2424.
17495
add38693
JK
174962008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17497
17498 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
17499
fcacd99f
VP
175002008-04-13 Vladimir Prus <vladimir@codesourcery.com>
17501
17502 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 17503 field. Add more floating varobj tests.
fcacd99f 17504 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
17505 field.
17506 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
17507 (main): Call do_at_tests.
17508 * lib/mi-support.exp (mi_create_floating_varobj)
17509 (mi_varobj_update_with_type_change): New.
fcacd99f 17510
de051565
MK
175112008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
17512
17513 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
17514 option of -var-evaluate-expression.
17515 * gdb.mi/mi2-var-display.exp: Likewise.
17516
dbc52822
VP
175172008-04-07 Vladimir Prus <vladimir@codesourcery.com>
17518
17519 Introduce test setup helpers.
a9c64011
AS
17520 * lib/gdb.exp (build_executable, clean_restart)
17521 (prepare_for_testing): New.
17522 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
17523 * gdb.base/return.exp: Likewise.
17524 * gdb.base/ending-run.exp: Likewise.
dbc52822 17525
473591da
NR
175262008-04-07 Nick Roberts <nickrob@snap.net.nz>
17527
17528 * gdb.mi/mi-async.exp: New test for asynchronous Machine
17529 Interface (MI) responses.
17530
2b2d9e11
VP
175312008-04-06 Vladimir Prus <vladimir@codesourcery.com>
17532
a9c64011
AS
17533 * gdb.cp/breakpoint.cc: New code to test conditions involving
17534 member variables.
17535 * gdb.cp/breakpoint.exp: Test condition involving member
17536 variables.
2b2d9e11 17537
bb378428
VP
175382008-04-05 Vladimir Prus <vladimir@codesourcery.com>
17539
17540 * lib/mi-support.exp (mi_expect_stop): New.
17541 (mi_run_cmd): Change the
17542 token. Use mi_send_resuming_command, use
17543 mi_expect_stop.
17544 (mi_execute_to_helper): Rename to mi_execute_to.
17545 (mi_send_resuming_command): Add more error patterns.
17546 (mi_wait_for_stop): Renamed to...
17547 (mi_get_stop_line): ...this.
17548 (mi_run_inline_test): Adjust.
17549
17550 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
17551 * gdb.mi/mi-console.exp: Likewise.
17552 * gdb.mi/mi-pending.exp: Likewise.
17553 * gdb.mi/mi-simplerun.exp: Likewise.
17554 * gdb.mi/mi-stack.exp: Likewise.
17555 * gdb.mi/mi-stepi.exp: Likewise.
17556 * gdb.mi/mi-syn-frame.exp: Add comment.
17557 * gdb.mi/mi-until.exp: Likewise.
17558 * gdb.mi/mi-var-display.exp: Likewise.
17559 * gdb.mi/mi-watch.exp: Likewise.
17560 * gdb.mi/mi2-cli.exp: Likewise.
17561 * gdb.mi/mi2-console.exp: Likewise.
17562 * gdb.mi/mi2-simplerun.exp: Likewise.
17563 * gdb.mi/mi2-stack.exp: Likewise.
17564 * gdb.mi/mi2-stepi.exp: Likewise.
17565 * gdb.mi/mi2-until.exp: Likewise.
17566 * gdb.mi/mi2-var-display.exp: Likewise.
17567 * gdb.mi/mi2-watch.exp: Likewise.
17568
62172bb9
UW
175692008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17570
17571 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
17572
17573 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
17574
a13e061a
PA
175752008-04-04 Pedro Alves <pedro@codesourcery.com>
17576
17577 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
17578 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
17579 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17580 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
17581 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
17582 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
17583 expect an mi error duplicated in stderr.
17584
eae06beb
JB
175852008-04-03 Joel Brobecker <brobecker@adacore.com>
17586
17587 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
17588 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
17589 Add a couple of tests that verify the behavior when the new setting
17590 is set to "cancel" and "all".
17591 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
17592 "ask" before we start the testing.
17593
79c6ced6
AR
175942008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
17595
17596 * gdb.cp/casts.cc: Add class reference variables.
17597 * gdb.cp/casts.exp: New test cases for up/down casting references.
17598
6c2d1a6b
MK
175992008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
17600
17601 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
17602 instead of beginning to make an extra test pass.
17603 * gdb.mi/mi2-var-display.exp: Likewise.
17604
55b411d9
MR
176052008-03-31 Maciej W. Rozycki <macro@mips.com>
17606
17607 * gdb.base/break.exp: Mark failures as such. Fix formatting.
17608
c6140da2
MD
176092008-03-31 Markus Deuling <deuling@de.ibm.com>
17610 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17611
17612 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
17613 value. Add xfail for older kernels.
17614
79732189
AR
176152008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
17616
17617 Bring mi-support in line with gdb.exp.
17618 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
17619 (mi_gdb_start): New function.
17620
33c3676e
MR
176212008-03-28 Maciej W. Rozycki <macro@mips.com>
17622
17623 * gdb.mi/mi-var-cmd.exp: Fix a typo.
17624
92e28119
VP
176252008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17626
17627 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
17628 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 17629
9e8e3afe
VP
176302008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17631
17632 * lib/mi-support.exp (mi_create_varobj_checked): New.
17633 (mi_list_varobj_children): Allow to check for a
17634 value.
17635 (mi_list_array_varobj_children): New.
17636
17637 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
17638 and mi_list_varobj_children, as opposed to hardcoding
17639 expected strings.
17640 * gdb.mi/gdb701.exp: Likewise.
17641 * gdb.mi/gdb792.exp: Likewise.
17642 * gdb.mi/mi-var-block.exp: Likewise.
17643 * gdb.mi/mi-var-cmd.exp: Likewise.
17644 * gdb.mi/mi-var-invalidate.exp: Likewise.
17645 * gdb.mi/mi2-var-block.exp: Likewise.
17646 * gdb.mi/mi2-var-child.exp: Likewise.
17647 * gdb.mi/mi2-var-cmd.exp: Likewise.
17648 * gdb.mi/mi2-var-display.exp: Likewise.
17649
9df50351
JK
176502008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17651
17652 Fix random false FAILs on i386.
17653 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
17654
31e5d73a
DJ
176552008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
17656
17657 PR gdb/544
17658 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
17659
12f4afab
DJ
176602008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
17661
17662 PR gdb/544
17663 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
17664
b562a0cb
DJ
176652008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17666
17667 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
17668 fixed PR gdb/544.
17669
17faa917
DJ
176702008-03-21 Pedro Alves <pedro@codesourcery.com>
17671
17672 * gdb.threads/fork-child-threads.exp: Test next over fork.
17673
6214f497
DJ
176742008-03-21 Chris Demetriou <cgd@google.com>
17675
17676 * gdb.base/break.exp (rbreak junk): New test for rbreak
17677 "Junk at end of arguments" issue.
17678
63092375
DJ
176792008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17680
17681 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
17682 *& to work on created array elements.
17683 (Top level): Test print $pc with a file. Test string operations
17684 without a target.
17685 * gdb.base/ptype.exp: Do not expect *& to work on created array
17686 elements.
17687
b21991b0
DJ
176882008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17689
17690 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
17691 gdb.threads/staticthreads.exp: Update exit query.
17692
c4b347c7
SL
176932008-03-07 Sandra Loosemore <sandra@codesourcery.com>
17694
17695 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
17696
fa4727a6
DJ
176972008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
17698
17699 * gdb.base/watchpoint.c (global_ptr, func4): New.
17700 (main): Call func4.
17701 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
17702 (test_inaccessible_watchpoint): New.
17703
2f34202f
MR
177042008-02-29 Maciej W. Rozycki <macro@mips.com>
17705
17706 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
17707 select the largest.
17708
0d6ba1b1
DJ
177092008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17710
17711 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
17712 frames-invalid annotations.
17713
e691325a
PM
177142008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
17715
a9c64011 17716 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 17717
f85b5ecc
DE
177182008-02-27 Doug Evans <dje@google.com>
17719
17720 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
17721 for bug 1738.
17722 (breakpoint_to_handler_entry): Ditto.
17723
b40e7bf3
JB
177242008-02-27 Joel Brobecker <brobecker@adacore.com>
17725
17726 * gdb.base/ending-run.exp: Use the first line of code inside
17727 function body to test breakpoints.
17728 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
17729 location where the breakpoint is inserted when using the line
17730 where a function is declared. Fix typo in the description of
17731 one of the tests.
17732 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
17733
2faca73a
PM
177342008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
17735
17736 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 17737 tests.
2faca73a 17738
6f439c36
PM
177392008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
17740
17741 * gdb.base/args.exp: avoid same output for tests
17742 with single quotes.
17743
54e52265
VP
177442008-02-26 Vladimir Prus <vladimir@codesourcery.com>
17745
a9c64011
AS
17746 * gdb.base/annota1.exp: Adjust for 'info break'
17747 format changes.
17748 * gdb.base/annota3.exp: Likewise.
17749 * gdb.base/break.exp: Likewise.
17750 * gdb.base/condbreak.exp: Likewise.
17751 * gdb.base/pending.exp: Likewise.
17752 * gdb.base/sepdebug.exp: Likewise.
17753 * gdb.base/unload.exp: Likewise.
17754 * gdb.cp/ovldbreak.exp: Likewise.
17755 * gdb.mi/mi-pending.exp: Likewise.
54e52265 17756
897b09ca
DE
177572008-02-07 Doug Evans <dje@google.com>
17758
17759 * gdb.cp/mb-inline.exp: New.
17760 * gdb.cp/mb-inline.h: New.
17761 * gdb.cp/mb-inline1.cc: New.
17762 * gdb.cp/mb-inline2.cc: New.
17763
b1c32d35
PM
177642008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
17765
17766 * gdb.pascal/floats.pas: New test program.
17767 * gdb.pascal/floats.exp: New testcase.
17768
1a4ca44a
TJB
177692008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
17770
17771 * gdb.base/callfuncs.c (t_float_many_args): New function.
17772 (t_double_many_args): New function.
17773 * gdb.base/callfuncs.exp: Add tests for exceeding float
17774 and double parameters passed through the stack.
17775
439048e8
JB
177762008-02-05 Joel Brobecker <brobecker@adacore.com>
17777
17778 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
17779 gdb.ada/complete/foo.adb: New files.
17780 * gdb.ada/complete.exp: New testcase.
17781
81fe8080
DE
177822008-02-03 Doug Evans <dje@google.com>
17783
301f0ecf
DE
17784 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
17785
81fe8080
DE
17786 * gdb.cp/gdb2384.exp: New file.
17787 * gdb.cp/gdb2384.cc: New file.
17788 * gdb.cp/gdb2384-base.h: New file.
17789 * gdb.cp/gdb2384-base.cc: New file.
17790
4b071aec
DE
177912008-02-02 Doug Evans <dje@google.com>
17792
17793 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
17794
61137ba6
JB
177952007-02-01 Joel Brobecker <brobecker@adacore.com>
17796
17797 * gdb.ada/sym_print_name: New test program.
17798 * gdb.ada/sym_print_name.exp: New testcase.
17799
178002007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
17801
17802 * gdb.ada/nested/hello.adb: New file.
17803 * gdb.ada/nested.exp: New testcase.
17804 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17805
98deb0da
VP
178062008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17807
17808 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
17809 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
17810 don't cause future evaluations of function to report
17811 creation of internal breakpoints.
98deb0da 17812
723a2275
VP
178132008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17814
17815 * gdb.mi/mi-break.exp (test_error): New.
17816 Call it.
17817
fb546a2f
LM
178182008-01-31 Luis Machado <luisgpm@br.ibm.com>
17819
17820 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
17821 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
17822
2d8fd90a
PM
178232008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17824
17825 * gdb.pascal/integers.pas: New test program.
17826 * gdb.pascal/integers.exp: New testcase.
17827
a7fa0ded
PM
178282008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17829
17830 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
17831
5e1a1926
TJB
178322008-01-30 Luis Machado <luisgpm@br.ibm.com>
17833
17834 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
17835 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
17836
8d04f9f0
JB
178372008-01-30 Paul Hilfinger <hilfinger@adacore.com>
17838
17839 * gdb.ada/formatted_ref: New test program.
17840 * gdb.ada/formatted_ref.exp: New testcase.
17841
17842 * gdb.cp/formatted-ref.cc: New file.
17843 * gdb.cp/formatted-ref.exp: New testcase.
17844
ce75a98f
JB
178452008-01-30 Joel Brobecker <brobecker@adacore.com>
17846
17847 * gdb.base/ptype.exp: Add testing of "ptype $pc".
17848
e835f6bf
NR
178492008-01-30 Nick Roberts <nickrob@snap.net.nz>
17850
17851 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
17852 (test_file_list_exec_source_file): Update to new macro-info field.
17853
d118ef87
PH
178542008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
17855
17856 * gdb.ada/exprs: New test program.
17857 * gdb.ada/exprs.exp: New testcase.
17858
7d35ab09
TJB
178592008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
17860
17861 * dfp-test.c (DELTA, DELTA_B): New definitions.
17862 (double_val1, double_val2, double_val3, double_val4, double_val5,
17863 double_val6, double_val7, double_val8, double_val9, double_val10,
17864 double_val11, double_val12, double_val13, double_val14, dec32_val1,
17865 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
17866 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
17867 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
17868 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
17869 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
17870 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
17871 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
17872 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
17873 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
17874 dec128_val16): New global variables.
17875 (decimal_dec128_align): New function.
17876 (decimal_mixed): Likewise.
17877 (decimal_many_args_dec32): Likewise.
17878 (decimal_many_args_dec64): Likewise.
17879 (decimal_many_args_dec128): Likewise.
17880 (decimal_many_args_mixed): Likewise.
17881 * dfp-test.exp: Add tests calling new inferior functions.
17882
2d717e4f
DJ
178832008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17884
17885 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
17886 gdb.server/ext-run.exp: New files.
17887 * lib/gdbserver-support.exp (gdbserver_download): New.
17888 (gdbserver_start): New. Update gdbserver expected
17889 output.
17890 (gdbserver_spawn): Use them.
17891 (gdbserver_start_extended): New.
17892
e85a822c
DJ
178932008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17894
17895 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
17896 Run on GNU/Linux.
17897 (do_exec_tests): Check for systems which do not support catchpoints.
17898 Do not match START.
17899 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
17900 Run on GNU/Linux. Enable verbose output.
17901 (check_fork_catchpoints): New.
17902 (explicit_fork_child_follow, catch_fork_child_follow)
17903 (tcatch_fork_parent_follow): Update expected messages.
17904 (do_fork_tests): Use check_fork_catchpoints.
17905 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
17906 Run on GNU/Linux. Enable verbose output.
17907 (check_vfork_catchpoints): New.
17908 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
17909 expected messages.
17910 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
17911
401ea829
JB
179122008-01-29 Jim Blandy <jimb@red-bean.com>
17913
17914 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
17915 host' errors.
17916 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
17917
aceaf3ad
JB
179182008-01-29 Jim Blandy <jimb@red-bean.com>
17919
17920 * gdb.threads/sigthread.c: Use barriers to ensure that
17921 child_thread and child_thread_two are always initialized before we
17922 start to use them.
17923
a5606eee
VP
179242008-01-29 Vladimir Prus <vladimir@codesourcery.com>
17925
17926 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
17927 * gdb.base/watchpoint-solib.c: New.
17928 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 17929
c55a82bb
PM
179302008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
17931
17932 * gdb.base/gdb1056.exp: Add unsigned integer test.
17933
0993fe05
DE
179342008-01-28 Doug Evans <dje@google.com>
17935
17936 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
17937
4fe42e7f
JB
179382008-01-27 Jim Blandy <jimb@codesourcery.com>
17939
c7a69933
JB
17940 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
17941
4fe42e7f
JB
17942 * gdb.base/expand-psymtabs.exp: Doc fix.
17943
5def8285
MK
179442008-01-26 Mark Kettenis <kettenis@gnu.org>
17945
17946 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17947
5313c911
NR
179482008-01-24 Nick Roberts <nickrob@snap.net.nz>
17949
a9c64011 17950 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
17951 -var-set-format.
17952
93815fbf
VP
179532008-01-23 Chris Demetriou <cgd@google.com>
17954
17955 * gdb.threads/thread_events.c: New testcase source file.
17956 * gdb.threads/thread_events.exp: New testcase expect file.
17957
467a88ee
NR
179582008-01-23 Nick Roberts <nickrob@snap.net.nz>
17959
17960 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
17961
17962 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
17963 -var-set-format.
17964
d8f82aba
DJ
179652008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17966 Vladimir Prus <vladimir@codesourcery.com>
17967
17968 * gdb.base/float.exp: Allow missing floating point for m68k and
17969 PowerPC.
17970
60c46647
VP
179712008-01-22 Vladimir Prus <vladimir@codesourcery.com>
17972
17973 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
17974 ignore count.
17975 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
17976 * gdb.mi/mi-cli.exp: Adjust.
17977 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 17978
c7dd36a1
PA
179792008-01-17 Pedro Alves <pedro@codesourcery.com>
17980
17981 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
17982 and 'dummy_ptr' integer pointer. Initialize struct_declarations
17983 with dummy_ptr's address.
17984 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
17985 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
17986 all targets.
17987 * gdb.mi/mi2-var-child.exp: Likewise.
17988
39d5313e
JB
179892008-01-09 Joel Brobecker <brobecker@adacore.com>
17990
17991 * gdb.ada/null_array: New test program.
17992 * gdb.ada/null_array.exp: New testcase.
17993
0aea4bf3
LM
179942008-01-09 Luis Machado <luisgpm@br.ibm.com>
17995
17996 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
17997 with required float modifiers.
17998
0b354900
JB
179992008-01-08 Joel Brobecker <brobecker@adacore.com>
18000
18001 * gdb.ada/funcall_param: New test program.
18002 * gdb.ada/funcall_param.exp: New testcase.
18003
cdb7f5d4
JB
180042008-01-08 Joel Brobecker <brobecker@adacore.com>
18005
18006 * gdb.ada/arrayparam: New test program.
18007 * gdb.ada/arrayparam.exp: New testcase.
18008
88e2547f
JB
180092008-01-08 Joel Brobecker <brobecker@adacore.com>
18010
18011 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
18012 landed. Should also fix random failures in the test following it.
18013
f6867ce0
TJB
180142008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
18015
18016 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
18017 for expressions with decimal float values.
18018 (test_dfp_conversions): New function to test casts to and from
18019 decimal float types.
18020 Call test_dfp_conversions.
18021 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
18022 elements.
18023 (main): Initialize ds.float4 and ds.double8 elements.
18024 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
18025 string to new error message.
18026 (d64_set_tests): Likewise.
18027 (d128_set_tests): Likewise.
18028 Add tests for expressions with decimal float variables. Add tests for
18029 conversions to and from decimal float types.
18030
f9c11282
JB
180312008-01-05 Joel Brobecker <brobecker@adacore.com>
18032
18033 * gdb.ada/packed_tagged/comp_bug.adb: New file.
18034 * gdb.ada/packed_tagged.exp: New testcase.
18035
0ecbca72
JB
180362008-01-04 Joel Brobecker <brobecker@adacore.com>
18037
18038 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
18039 gdb.ada/homonym/homonym_main.adb: New files.
18040 * gdb.ada/homonym.exp: New testcase.
18041
c18d3d89
JB
180422008-01-04 Joel Brobecker <brobecker@adacore.com>
18043
18044 * gdb.ada/packed_array.exp: Add testing of references to
18045 a packed array.
18046
ecc7085b
JB
180472008-01-04 Joel Brobecker <brobecker@adacore.com>
18048
18049 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
18050 New files.
18051 * gdb.ada/type_coercion.exp: New testcase.
18052
c474c922
JB
180532008-01-04 Joel Brobecker <brobecker@adacore.com>
18054
18055 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
18056 gdb.ada/tagged/foo.adb: New file.
18057 * gdb.ada/tagged.exp: New testcase.
18058
9005b927
JB
180592008-01-04 Joel Brobecker <brobecker@adacore.com>
18060
18061 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
18062 gdb.ada/ptype_field/foo.adb: New files.
18063 * gdb.ada/ptype_field.exp: New testcase.
18064
1a6aaad8
JB
180652008-01-03 Joel Brobecker <brobecker@adacore.com>
18066
18067 * gdb.ada/print_pc.exp: New testcase.
18068
0ef22f53
JB
180692008-01-03 Joel Brobecker <brobecker@adacore.com>
18070
18071 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
18072 gdb.ada/taft_type/p.adb: New files.
18073 * gdb.ada/taft_type.exp: New testcase.
18074
1689ecf8
JB
180752008-01-03 Joel Brobecker <brobecker@adacore.com>
18076
18077 * gdb.ada/array_bounds/bar.adb: New file.
18078 * gdb.ada/array_bounds.exp: New testcase.
18079
a4d0b9c3
JB
180802008-01-03 Joel Brobecker <brobecker@adacore.com>
18081
18082 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
18083 gdb.ada/arrayptr/foo.adb: New files.
18084 * gdb.ada/arrayptr.exp: New testcase.
18085
a31ace00
JB
180862008-01-03 Joel Brobecker <brobecker@adacore.com>
18087
18088 * gdb.base/set-lang-auto.exp: New testcase.
18089
a97fced3
JB
180902008-01-03 Joel Brobecker <brobecker@adacore.com>
18091
18092 * gdb.ada/fun_addr/foo.adb: New file.
18093 * gdb.ada/fun_addr.exp: New testcase.
18094
ef29ce1a
JK
180952008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18096
18097 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
18098 New files
18099
0fafefe3
JB
181002008-01-02 Joel Brobecker <brobecker@adacore.com>
18101
18102 * array_subscript_addr/p.adb: New file.
a9c64011 18103 * array_subscript_addr.exp: New testcase.
0fafefe3 18104
c4359f8d
JB
181052008-01-02 Joel Brobecker <brobecker@adacore.com>
18106
a9c64011 18107 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
18108 New files.
18109 * gdb.ada/str_cmp_ref.exp: New testcase.
18110
1aa1b15b
JB
181112008-01-01 Joel Brobecker <brobecker@adacore.com>
18112
18113 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
18114 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 18115 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 18116
81c9b2cf
JB
181172008-01-01 Joel Brobecker <brobecker@adacore.com>
18118
18119 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
18120 gdb.ada/ref_param/pck.ads: New files.
18121 * gdb.ada/ref_param.exp: New testcase.
18122
319e4674
JB
181232008-01-01 Joel Brobecker <brobecker@adacore.com>
18124
18125 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
18126 gdb.ada/interface/foo.adb: New files.
18127 * gdb.ada/interface.exp: New testcase.
18128
ef682c56
JB
181292007-12-31 Jim Blandy <jimb@codesourcery.com>
18130
18131 * gdb.base/multi-forks.exp: Consume all output from child
18132 processes before proceeding to next test.
18133
f6f3eb6c
JB
181342007-12-29 Jim Blandy <jimb@codesourcery.com>
18135
18136 * configure: Regenerated.
18137
f652e42f
JB
181382007-12-27 Joel Brobecker <brobecker@adacore.com>
18139
18140 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
18141 gdb.ada/fixed_cmp/fixed.adb: New files.
18142 * gdb.ada/fixed_cmp.exp: New testcase.
18143
6943e596
JB
181442007-12-27 Joel Brobecker <brobecker@adacore.com>
18145
18146 * gdb.ada/boolean_expr.exp: New testcase.
18147
aad9a193
JB
181482007-12-26 Jim Blandy <jimb@codesourcery.com>
18149
18150 * gdb.base/multi-forks.exp: Doc fix.
18151
fb5f3683
JB
181522007-12-26 Joel Brobecker <brobecker@adacore.com>
18153
18154 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
18155 * gdb.ada/char_param.exp: Do not compile our test program with
18156 -gnata, this is unnecessary.
18157 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
18158
384e4a9c
JB
181592007-12-24 Joel Brobecker <brobecker@adacore.com>
18160
18161 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
18162 gdb.ada/print_chars/foo.adb: New files.
18163 * gdb.ada/print_chars.exp: New testcase.
18164
01e044f7
JB
181652007-12-24 Joel Brobecker <brobecker@adacore.com>
18166
18167 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
18168 gdb.ada/char_param/foo.adb: New files.
18169 * gdb.ada/char_param.exp: New testcase.
18170
0ce17860
JB
181712007-12-22 Jim Blandy <jimb@codesourcery.com>
18172
18173 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
18174 hard-coding source line numbers into the test.
18175 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
18176 gdb_get_line_number to find.
18177
919809b9
JB
181782007-12-22 Joel Brobecker <brobecker@adacore.com>
18179
18180 * gdb.base/ptype.c (highest): New struct type.
18181 (the_highest): New variable of that type.
18182 (main): Add dummy assignment to a field of variable the_highest.
18183 * gdb.base/ptype.exp: Test type printing of our new variable.
18184
abc8a88d
PM
181852007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
18186
18187 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 18188 and record first explicitly generated thread number.
abc8a88d
PM
18189 Use that thread number for thread specific watchpoint test.
18190 Add iteration number to repetitive tests.
18191
5158f3e3
CES
181922007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18193 Jim Blandy <jimb@codesourcery.com>
18194
18195 * gdb.base/expand-psymtabs.c: New testcase
18196 source file.
18197 * gdb.base/expand-psymtabs.exp: New testcase
18198 expect file.
18199
37e4754d
LM
182002007-12-17 Luis Machado <luisgpm@br.ibm.com>
18201
18202 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
18203 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
18204
551e5d04
JB
182052007-12-17 Joel Brobecker <brobecker@adacore.com>
18206
18207 * gdb.ada/frame_args/foo.adb: New file.
18208 * gdb.ada/frame_args/pck.ads: New file.
18209 * gdb.ada/frame_args/pck.adb: New file.
18210 * gdb.ada/frame_args.exp: New testcase.
18211
a05ee097
JB
182122007-12-17 Joel Brobecker <brobecker@adacore.com>
18213
18214 * gdb.base/frame-args.c: New file.
18215 * gdb.base/frame-args.exp: New testcase.
18216
c162e8c9 182172007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 18218 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
18219
18220 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
18221
afe8ab22 182222007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18223
afe8ab22
VP
18224 * gdb.mi/mi-pending.exp: New.
18225 * gdb.mi/mi-pending.c: New.
18226 * gdb.mi/mi-pendshr.c: New.
18227
dfdfb3ca
JB
182282007-12-06 Jim Blandy <jimb@codesourcery.com>
18229
18230 * gdb.base/default.exp: Update expected output for 'info catch'.
18231
b7fca990
JK
182322007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18233
18234 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
18235 must be set to binary.
18236
6a1afc1e
PA
182372007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
18238
18239 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
18240
a6b151f1
DJ
182412007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
18242
18243 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
18244 gdb.mi/mi-file-transfer.exp: New.
18245
43039443
JK
182462007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18247
18248 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
18249
0ef2251b
MR
182502007-11-22 Maciej W. Rozycki <macro@mips.com>
18251
18252 * gdb.trace/backtrace.exp: Fix a typo.
18253 * gdb.trace/circ.exp: Likewise.
18254 * gdb.trace/collection.exp: Likewise.
18255 * gdb.trace/limits.exp: Likewise.
18256 * gdb.trace/report.exp: Likewise.
18257 * gdb.trace/tfind.exp: Likewise.
18258 * gdb.trace/while-dyn.exp: Likewise.
18259
5443631e
NR
182602007-11-21 Nick Roberts <nickrob@snap.net.nz>
18261
18262 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
18263 objects of pointers that can't be dereferenced are now
18264 "noneditable".
18265
a4ce5b0d
UW
182662007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18267
18268 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
18269 (target_cpu): Remove.
18270
d6e956e5
VP
182712007-10-15 Vladimir Prus <vladimir@codesourcery.com>
18272
18273 * gdb.base/ending-run.exp: Expect the list of cleared
18274 breakpoint to come in natural order, not the reversed one.
a9c64011 18275
214270ab
VP
182762007-11-07 Vladimir Prus <vladimir@codesourcery.com>
18277
18278 * gdb.mi/mi-var-child.c (do_child_deletion): New.
18279 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 18280
1a619819
LM
182812007-11-05 Luis Machado <luisgpm@br.ibm.com>
18282
18283 * gdb.base/printcmds.exp: New function
18284 test_printf_with_dfp.
18285
5b01a6fa
DE
182862007-11-02 Doug Evans <dje@google.com>
18287
18288 * gdb.disasm/t01_mov.s: Remove carriage returns.
18289 * gdb.disasm/t02_mova.s: Ditto.
18290 * gdb.disasm/t03_add.s: Ditto.
18291 * gdb.disasm/t04_sub.s: Ditto.
18292 * gdb.disasm/t05_cmp.s: Ditto.
18293 * gdb.disasm/t06_ari2.s: Ditto.
18294 * gdb.disasm/t07_ari3.s: Ditto.
18295 * gdb.disasm/t08_or.s: Ditto.
18296 * gdb.disasm/t09_xor.s: Ditto.
18297 * gdb.disasm/t10_and.s: Ditto.
18298 * gdb.disasm/t11_logs.s: Ditto.
18299 * gdb.disasm/t12_bit.s: Ditto.
18300 * gdb.disasm/t13_otr.s: Ditto.
18301
ec33ab7f
JK
183022007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18303
18304 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
18305
ae0d01ff
UW
183062007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18307
18308 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
18309 provide DFP support.
18310
55eddb0f
DJ
183112007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
18312
18313 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
18314 Test "set powerpc vector-abi". Skip auto-detection tests for old
18315 toolchains.
18316
7020f05c
PA
183172007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18318
18319 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
18320 with [string compare].
18321
84bc3db9
PA
183222007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18323
18324 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
18325 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
18326
5876dc88
LM
183272007-10-25 Luis Machado <luisgpm@br.ibm.com>
18328
18329 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
18330 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
18331 * gdb.opt/Makefile.in: New makefile.
18332 * Makefile.in: Create new directory "gdb.opt".
18333 * configure.ac: Add "gdb.opt" directory.
18334 * configure: Regenerated.
a9c64011 18335
c3ea9a14
DE
183362007-10-25 Doug Evans <dje@google.com>
18337
18338 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
18339 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
18340
a9c64011 183412007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
18342 Thiago Jung Bauermann <bauerman@br.ibm.com>
18343
18344 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
18345 Floating Point expressions.
18346 * gdb.base/dfp-test.exp: new file adding tests for Decimal
18347 Floating Point variables.
18348 * gdb.base/dfp-test.c: new file containing program with Decimal
18349 Floating variables, used by gdb.base/dfp-test.exp.
18350
62a24a2b
DJ
183512007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
18352
18353 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
18354
e7b1eae6
UW
183552007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18356
18357 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
18358 compiling test case with GCC.
18359 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
18360
c641edcc
UW
183612007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18362
18363 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18364 format changes.
18365
5e5ebfe6
MS
183662007-10-18 Michael Snyder <msnyder@specifix.com>
18367
18368 * gdb.base/dbx.exp: Add missing "-re " operator.
18369
e831e7b6
GM
183702007-10-16 Gaius Mulley <gaius@glam.ac.uk>
18371
18372 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
18373 * configure.ac: Removed trailing spaces after backslash.
18374 * gdb.modula2: New directory.
18375 * gdb.modula2/Makefile.in: New file.
18376 * gdb.modula2/unbounded-array.exp: New file.
18377 * gdb.modula2/unbounded1.c: New file.
18378
7cc46491
DJ
183792007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
18380
18381 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
18382
183832007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
18384
18385 * gdb.base/sigstep.c (main): Add checks for
18386 return values for setitimer call.
18387 Call setitimer again with itimer = ITIMER_REAL
18388 if first call to setitimer fails.
18389
e91528f0
KH
183902007-10-11 Kazu Hirata <kazu@codesourcery.com>
18391
18392 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
18393 of $timeout.
18394
2ec9a4f8
DJ
183952007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18396
18397 * gdb.server/server-run.exp: Test for dynamic linker symbols.
18398
183992007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
18400
18401 * lib/gdb.exp (gdb_run_cmd): Move comment outside
18402 of gdb_expect call, to avoid interruption.
18403
64b2fa04
PA
184042007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
18405
18406 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
18407 (v_unsigned_long_long, v_long_long_array)
18408 (v_signed_long_long_array, v_unsigned_long_long_array)
18409 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
18410 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
18411 [!NO_LONG_LONG]: New.
18412 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
18413 v_long_long_member.
18414
18415 (v_long_long_func, v_signed_long_long_func)
18416 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
18417 (main) [!NO_LONG_LONG]: Initialize long long variants.
18418
18419 * gdb.base/whatis.exp: If board file requests no_long_long, build
18420 test with NO_LONG_LONG defined. Test long long, signed long long,
18421 and unsigned long long variants but only if board file doesn't
18422 disable it.
18423
a912286e 184242007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 18425 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
18426
18427 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
18428 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
18429 * configure: Regenerated.
18430 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
18431 gdb.pascal/types.exp, lib/pascal.exp: New files.
18432
471ba8c9
DJ
184332007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
18434
18435 * gdb.cp/classes.exp (do_tests): Always step to the line after the
18436 call.
18437 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
18438 to return to the call.
18439 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
18440 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
18441 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
18442 * gdb.mi/mi-until.exp (test_until): Likewise.
18443 * gdb.mi/mi2-until.exp (test_until): Likewise.
18444
fef8a650
DJ
184452007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
18446
18447 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
18448 two-char array.
18449 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
18450
d983da9c
DJ
184512007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
18452
18453 * gdb.threads/watchthreads.c (thread_function): Sleep between
18454 iterations.
18455 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
18456 at once for S/390. Generate matching fails and passes.
18457
17f62551
VP
184582007-09-27 Vladimir Prus <vladimir@codesourcery.com>
18459
18460 * gdb.mi/var-cmd.c (do_children_tests): Initialize
18461 the 'struct_declarations' variable to zeros.
a9c64011 18462
ed0616c6
VP
184632007-09-24 Vladimir Prus <vladimir@codesourcery.com>
18464
18465 * gdb.cp/mb-ctor.cc: New.
18466 * gdb.cp/mb-ctor.exp: New.
18467 * gdb.cp/mb-templates.cc: New.
18468 * gdb.cp/mb-templates.exp: New.
18469
41f1b697
DJ
184702007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
18471
18472 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
18473
3f213f78
PA
184742007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
18475
18476 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
18477 targets.
18478 * configure: Regenerate.
18479
0d381245 184802007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18481
0d381245
VP
18482 * gdb.base/annota1.exp: Adjust for 'info break'
18483 format changes.
18484 * gdb.base/annota3.exp: Likewise.
18485 * gdb.base/break.exp: Likewise.
18486 * gdb.base/condbreak.exp: Likewise.
18487 * gdb.base/pending.exp: Likewise.
18488 * gdb.base/sepdebug.exp: Likewise.
18489 * gdb.base/unload.exp: Likewise.
18490 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 18491
fe3f5fa8
VP
184922007-09-22 Vladimir Prus <vladimir@codesourcery.com>
18493
18494 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
18495 messages.
18496 * gdb.base/chng-syms.exp: Likewise.
18497 * gdb.base/unload.exp: Likewise.
a9c64011 18498
a75cf6c0
DJ
184992007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
18500
18501 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
18502
18ecae38
DJ
185032007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
18504
18505 * schedlock.c (NUM): Change to 1.
18506 (main): Use args[0] for the main thread.
18507 * schedlock.exp: Only expect two threads. Only issue one pass or fail
18508 regardless of the number of threads.
18509
5509918f
MR
185102007-09-14 Maciej W. Rozycki <macro@mips.com>
18511
4a543daf
MR
18512 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
18513 type down.
18514 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18515 test.
18516 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
18517 watchpoint type down.
18518 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18519 test.
18520
185212007-09-14 Maciej W. Rozycki <macro@mips.com>
18522
5509918f
MR
18523 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
18524 Move all the tests here and run them twice, once using software
18525 watchpoints and once using hardware watchpoints.
18526 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
18527
40b53987
DJ
185282007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
18529
18530 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
18531 test.
18532
695e2681
MK
185332007-09-10 Mark Kettenis <kettenis@gnu.org>
18534
8b3fc8d8
MK
18535 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
18536 build-id.
18537
695e2681
MK
18538 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
18539 know about $ORIGIN. Calculate output dir from $dest instead of
18540 using ${objdir}/{$subdir}.
18541
58d69f29
MK
185422007-09-09 Mark Kettenis <kettenis@gnu.org>
18543
18544 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
18545 gcore, before continuing with the test.
18546
3e347599
DJ
185472007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
18548
18549 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
18550 * gdb.mi/mi-watch.exp: Likewise.
18551
ea37ba09
DJ
185522007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18553 Jim Blandy <jimb@codesourcery.com>
18554
18555 * gdb.arch/i386-sse.exp: Do not expect character constants.
18556 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
18557 * gdb.base/display.exp: Allow print/s.
18558 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
18559 and unsigned char array changes.
18560
2025a643
DJ
185612007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18562
18563 * gdb.base/display.exp: Add tests for printf %p.
18564
26669a27
PA
185652007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
18566
18567 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
18568 the dll name to unicode.
18569
c8f021f8
JK
185702007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18571
18572 * gdb.base/default.exp (show version): Update the version text.
18573 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
18574
4cf31eea
JK
185752007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18576
18577 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
18578 New files.
18579
4935890f
JK
185802007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18581
18582 * lib/gdb.exp (build_id_debug_filename_get): New function.
18583 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
18584 Remove the generate DEBUG file for the future testcase runs.
18585 New testcase for the NT_GNU_BUILD_ID retrieval.
18586 Move the final testing step to ...
18587 (test_different_dir): ... a new function.
18588 New parameter XFAIL to XFAIL all the tests performed.
18589 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
18590 New parameter TYPE to PF_PREFIX all the tests performed.
18591
02142340
VP
185922007-08-31 Vladimir Prus <vladimir@codesourcery.com>
18593
18594 * gdb.mi/mi-var-cp.cc (path_expression): New
18595 function.
18596 * gdb.mi/mi-var-cp.exp: Run path exression tests.
18597
36acd84e
UW
185982007-08-27 Markus Deuling <deuling@de.ibm.com>
18599
18600 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
18601 to fit into SPU Local Store memory.
18602
a896d121
JB
186032007-08-23 Joel Brobecker <brobecker@adacore.com>
18604
18605 * gdb.base/default.exp: Adjust the expected output of "info
18606 warranty" after the switch to GPLv3.
18607
7b433602
JB
186082007-08-23 Joel Brobecker <brobecker@adacore.com>
18609
18610 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
18611 to 30000 (from 20000).
18612
e22f8b7c
JB
186132007-08-23 Joel Brobecker <brobecker@adacore.com>
18614
18615 Switch the license of all .exp files to GPLv3.
18616 Switch the license of all .f and .f90 files to GPLv3.
18617 Switch the license of all .s and .S files to GPLv3.
18618
5a0e3bd0
JB
186192007-08-23 Joel Brobecker <brobecker@adacore.com>
18620
18621 * configure.ac: Switch license to GPLv3.
18622
cc00619d
JB
186232007-08-23 Joel Brobecker <brobecker@adacore.com>
18624
18625 Switch the licensing to GPLv3 for all .ads and .adb files.
18626
8d26208a
DJ
186272007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
18628
18629 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
18630 and t_int_double.
18631 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
18632
4fcb9948
JB
186332007-08-17 Joel Brobecker <brobecker@adacore.com>
18634
18635 * gdb.base/step-line.c: Switch license to GPL version 3, and
18636 update copyright year.
18637 * gdb.base/step-line.inp: Likewise.
18638
b9c34f67
JB
186392007-08-17 Joel Brobecker <brobecker@adacore.com>
18640
18641 * gdb.base/gdb1555.exp: Make expected output immune to formatting
18642 changes inside gdb1555.c.
18643 * gdb.base/pending.exp: Likewise.
18644
2cc17678
DJ
186452007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
18646
18647 * config/default.exp: New file.
18648
e48883f7
DJ
186492007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18650
18651 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
18652 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
18653
1ab80e5b
MR
186542007-07-30 Maciej W. Rozycki <macro@mips.com>
18655
18656 * gdb.base/dump.exp: Force the correct endianness for binary
18657 formats not carrying this information.
18658
aba471f5
DJ
186592007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
18660
18661 * gdb.threads/staticthreads.exp: Match .*sem_post.
18662
d4e07204
DJ
186632007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
18664
18665 * gdb.base/readline.exp (operate_and_get_next): Match the final
18666 prompt.
18667
2b97317d
KB
186682007-07-23 Kevin Buettner <kevinb@redhat.com>
18669
18670 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
18671 to restarting SID.
18672
44efa07a
KB
186732007-07-18 Kevin Buettner <kevinb@redhat.com>
18674
18675 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
18676 prior to `gdb_start'.
18677
7b5ebade
KB
186782007-07-18 Kevin Buettner <kevinb@redhat.com>
18679
18680 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
18681 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
18682 Remove call to gdb_unload.
18683
255e7678
DJ
186842007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
18685 Daniel Jacobowitz <dan@codesourcery.com>
18686
18687 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
18688 for __WIN32__.
18689 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
18690 * gdb.base/unload.exp: Use shared library test routines.
18691
3a40aaa0
UW
186922007-07-03 Markus Deuling <deuling@de.ibm.com>
18693
18694 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
18695 * gdb.base/solib-symbol-lib.c: Likewise.
18696 * gdb.base/solib-symbol-main.c: Likewise.
18697
b0f4b84b
DJ
186982007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
18699
18700 * config/gdbserver.exp (gdb_reconnect): New.
18701 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
18702 gdb.base/solib-disc.exp: New files.
18703 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
18704 remote debugging".
18705 (gdb_compile): Add shlib_load flag.
18706 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
18707 port.
18708 (gdbserver_reconnect): New.
18709
1b05479a
DJ
187102007-07-01 Nick Roberts <nickrob@snap.net.nz>
18711 Daniel Jacobowitz <dan@codesourcery.com>
18712
18713 * gdb.base/annota3.exp: Test for if construct.
18714
86f78eb2
DJ
187152007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
18716
18717 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
18718
6a2eb474 187192007-06-21 Chris Dearman <chris@mips.com>
a9c64011 18720 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
18721
18722 * gdb.base/display.exp: Allow a newline after display/i.
18723 * gdb.base/pc-fp.exp: Likewise.
18724 * gdb.base/sigbpt.exp: Likewise.
18725
f8b73d13
DJ
187262007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18727
18728 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
18729 required features to be included.
18730
4339e69e
DJ
187312007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18732
18733 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
18734 in info threads output.
18735
23d964e7
UW
187362007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18737 Markus Deuling <deuling@de.ibm.com>
18738
18739 * gdb.arch/spu-info.exp: New testcase.
18740 * gdb.arch/spu-info.c: New file.
18741
fd20f75b
DJ
187422007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
18743
18744 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
18745 tpcs_offset. Restore lr after the call.
18746 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
18747
2226f861
DJ
187482007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
18749
18750 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
18751 (gdbserver_run): Kill any running gdbserver.
18752 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
18753
d12371a9
MR
187542007-05-17 Maciej W. Rozycki <macro@mips.com>
18755
18756 * gdb.base/sigbpt.exp: Preset segv_addr.
18757
93f02886
DJ
187582007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
18759
18760 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
18761 (gdb_compile_shlib): Likewise.
18762 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
18763 (default_gdb_init): Clear cleanfiles.
18764 (gdb_finish): Delete recorded cleanfiles.
18765 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
18766
18767 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
18768 Do not use isnative.
18769 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
18770 gdb.base/so-impl-ld.exp: Likewise.
18771 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
18772 * gdb.base/unload.exp: Likewise. Do not pass empty option to
18773 gdb_compile.
18774
b04e06d7
VP
187752007-05-15 Vladimir Prus <vladimir@codesourcery.com>
18776
18777 * config/unknown.exp: Remove.
18778
069ed931
UW
187792007-05-15 Markus Deuling <deuling@de.ibm.com>
18780
18781 * gdb.base/info-proc.exp: Check is_remote.
18782
09db0d03
UW
187832007-05-14 Markus Deuling <deuling@de.ibm.com>
18784
18785 * gdb.base/gcore.exp: Initialize variable core_supported.
18786
af2cbe8c
DJ
187872007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18788
18789 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
18790
027c0295
DJ
187912007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18792
18793 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
18794 * gdb.threads/print-threads.exp (test_all_threads): Allow
18795 negative and hexadecimal thread IDs.
18796
dc5000e7
DJ
187972007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18798
18799 * gdb.java/jprint.java (public): Avoid invalid call to static
18800 method.
18801
2e74ed18
DP
188022007-05-14 Denis Pilat <denis.pilat@st.com>
18803
18804 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
18805 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
18806 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18807 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
18808 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
18809
83547f02
UW
188102007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18811
18812 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 18813 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
18814 this mode.
18815 * gdb.base/ovlymgr.c: Provide stubs for spu target.
18816 * gdb.base/spu.ld: New file.
18817
b18be20d
DJ
188182007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
18819
18820 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
18821
be444858
DJ
188222007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
18823
18824 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
18825
b1d53152
DJ
188262007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18827
18828 * gdb.java/jmain.exp: Handle demangled names with and without method
18829 signatures.
18830
d084b331
DJ
188312007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18832
18833 * gdb.mi/mi-syn-frame.c (main, foo, bar)
18834 (have_a_very_merry_interrupt): Remove calls to puts.
18835 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
18836 inferior output.
18837 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
18838 test names.
18839
db9d7fc5
DJ
188402007-04-29 Markus Deuling <deuling@de.ibm.com>
18841 Daniel Jacobowitz <dan@codesourcery.com>
18842
18843 * gdb.base/auxv.exp (core_works): Also check is_remote.
18844 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
18845
ef783a7d 188462007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18847
ef783a7d
VP
18848 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
18849 message, not the undefined 'module' variable.
18850 * gdb.base/siginfo.exp: Likewise.
18851 * gdb.base/sigstep.exp: Likewise.
18852 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
18853 serialport.
18854 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
18855
b7b73cae
CV
188562007-04-25 Corinna Vinschen <vinschen@redhat.com>
18857
18858 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
18859 target sim fails. Return 0 otherwise.
18860 (gdb_load): Return prematurely if gdb_target_sim fails.
18861
7d90fdfa
DP
188622007-04-16 Denis Pilat <denis.pilat@st.com>
18863
18864 * gdb.base/setshow.exp: Reset height after having set it to 100.
18865
5d3e9c85
DP
188662007-04-16 Denis Pilat <denis.pilat@st.com>
18867
18868 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
18869
18e75969
DP
188702007-04-16 Denis Pilat <denis.pilat@st.com>
18871
18872 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
18873
25d5ea92
VP
188742007-04-14 Vladimir Prus <vladimir@codesourcery.com>
18875
18876 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
18877 tests. Run the frozen varobjs test.
18878 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 18879 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 18880
0b49cb80
JK
188812007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18882
18883 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
18884 gdb.base/type-opaque.exp: New files.
18885
a73bafbc 188862007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
18887
18888 * gdb.mi/mi-var-child.c
a73bafbc
VP
18889 (do_children_tests): User char[2] instead of
18890 char so that automatic printing of pointers to char
18891 don't give unpredicable result.
18892 * gdb.mi/var-cmd.c (do_locals_test): Initialize
18893 local variables.
18894 * gdb.mi/mi-var-child.exp: Step to right line
18895 of do_children_tests.
18896 * gdb.mi/mi2-var-child.exp: Likewise.
18897 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 18898 do_locals_tests.
a73bafbc
VP
18899 (do_children_tests): User char[2] instead of
18900 char so that automatic printing of pointers to char
a9c64011 18901 don't give unpredicable result.
a73bafbc 18902 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 18903 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
18904 Pass test name to mi_wait_for_stop.
18905
7ce59000
DJ
189062007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18907
18908 * gdb.asm/asm-source.exp: Remove d10v case.
18909 * lib/gdb.exp (skip_cplus_tests): Likewise.
18910 * gdb.asm/d10v.inc: Deleted.
18911
20389057
DJ
189122007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18913
18914 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
18915
8807d78b
DJ
189162007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18917
18918 * config/netware.exp: Delete file.
18919
aa3edb8e
JB
189202007-03-29 Joel Brobecker <brobecker@adacore.com>
18921
18922 * gdb.dwarf2/dw2-noloc.S: New file.
18923 * gdb.dwarf2/dw2-noloc.exp: New file.
18924
297561ac
PA
189252007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
18926
18927 * gdb.cp/method2.cc: New test.
18928 * gdb.cp/method2.exp: New test.
18929 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
18930
1f81bd39
DJ
189312007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18932
18933 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
18934
9453113a
DJ
189352007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
18936
18937 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
18938
b741e217
DJ
189392007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18940
18941 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
18942 (gdb_load): Delete, replace with...
18943 (gdb_reload): ...this.
18944 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
18945 * gdb.server/server-mon.exp: Likewise.
18946 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
18947 (gdb_start_cmd): New.
18948 (gdb_file_cmd): Save the last loaded file.
18949 (gdb_reload): New.
18950 (gdb_gnu_strip_debug): Use transform.
18951 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
18952 support here. Use new $last_loaded_file. Check mtime.
18953 (gdb_target_cmd): Handle ObjC failure case.
18954 (infer_host_exec): Delete.
18955 (gdbserver_load): Rename to...
18956 (gdbserver_run): ...this. Simplify.
18957 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
18958 (mi_gdb_load): Move most contents to a new function...
18959 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
18960 (mi_run_cmd): Use mi_gdb_target_load.
18961 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
18962 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
18963 Use gdb_run_cmd.
18964 * gdb.base/charsign.exp: Remove incorrect comment.
18965 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
18966 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
18967 gdb.base/start.exp: Use gdb_start_cmd.
18968
446ab585 189692007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 18970 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
18971
18972 * gdb.base/sigbpt.exp: Fix the message when skipping test.
18973 * gdb.base/signull.exp: Similarly.
18974
bbb88ebf
UW
189752007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18976
18977 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
18978 messages available to test cases (like chng-sym.exp).
18979
cb8c4a99
AS
189802007-03-14 Andreas Schwab <schwab@suse.de>
18981
18982 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18983 format changes.
18984
4e463ff5
DJ
189852007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
18986
18987 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
18988 (optimized_1): New.
18989 (main): Call optimized_1.
18990 (gdb2029): Correct typos. Call gdb2029_marker.
18991 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
18992 for gdb2029.
18993
b6db2c47
MK
189942007-03-12 Mark Kettenis <kettenis@gnu.org>
18995
18996 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
18997 as tabs. Remove redundant test pattern.
18998
70ed3737
UW
189992007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19000
19001 * gdb.base/long_long.exp: Accept optional symbol name in <...>
19002 for /a format output.
19003
47b67b60
DJ
190042007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
19005
19006 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
19007 collect output incrementally.
19008
b8953b0e
UW
190092007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19010
19011 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
19012 for -var-create lpcharacter test.
19013 * gdb.mi/mi2-var-cmd.exp: Likewise.
19014
7acd5c40
UW
190152007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19016
19017 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
19018 pass on targets where address zero is readable.
19019
9c6759c1
UW
190202007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19021
19022 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
19023 just a single architecture.
19024
a2f1aeb4
UW
190252007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19026
19027 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
19028 (fetch_all_registers): New function, uses gdb_test_multiple and
19029 exp_continue to fetch inferior output line-by-line.
19030 Replace all uses of do_get_all_registers by fetch_all_registers.
19031
46579ac2
UW
190322007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19033
19034 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
19035 in target_info.
19036
fc133f24
MS
190372007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19038
a9c64011 19039 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
19040 consistancy; add a default (timeout) case.
19041
7646a51d
MS
190422007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19043
19044 * gdb.base/watchpoint.exp: Fix truncated comment.
19045
dcfff61f
MS
190462007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19047
19048 * Makefile.in: Remove spurious single-quotes from sed command.
19049
664e3ee9
DJ
190502007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
19051
19052 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
19053 func.
19054 * gdb.mi/mi2-var-cmd.exp: Likewise.
19055
d7cc6f2f
JB
190562007-02-27 Joel Brobecker <brobecker@adacore.com>
19057
a9c64011
AS
19058 * gdb.dwarf2/dw2-producer.S: New file.
19059 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
19060
190612007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
19062
19063 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19064 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19065 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19066 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19067 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
19068 Revert tests to use mi_gdb_test and include value field in output
19069 of -var-create.
19070
93d42b30
DJ
190712007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
19072
19073 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
19074
c499ed39
DJ
190752007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
19076
19077 * gdb.base/maint.exp: Remove full paths from test names.
19078 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
19079 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
19080
9836f81b
JB
190812007-02-27 Joel Brobecker <brobecker@adacore.com>
19082
19083 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
19084
c74d0ad8
DJ
190852007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19086
19087 * gdb.server/server-mon.exp: New test.
19088
2711e456
DJ
190892007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19090
19091 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
19092
ff6f572f
DJ
190932007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19094
19095 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
19096 register capitalization.
19097
fada3feb
DP
190982007-02-13 Denis Pilat <denis.pilat@st.com>
19099
19100 * gdb.mi/mi-var-invalidate.exp: New file.
19101
fb1e4ffc
DJ
191022007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19103
19104 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
19105
3da939d7
DJ
191062007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19107
19108 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
19109
123dc839
DJ
191102007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19111
19112 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
19113 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
19114
877e3645 191152007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
19116
19117 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19118 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19119 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19120 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19121 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 19122 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 19123 Update tests to include value field in output of -var-create.
a9c64011 19124
3c0a2960
AS
191252007-02-08 Andreas Schwab <schwab@suse.de>
19126
19127 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
19128
108546a0
DJ
191292007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
19130
19131 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
19132 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
19133
d701dcab
DP
191342007-02-02 Denis Pilat <denis.pilat@st.com>
19135
19136 * gdb.threads/threadapply.exp: check that frame is not changed by
19137 the thread apply all command.
19138
783e3e2f
AS
191392007-01-31 Andreas Schwab <schwab@suse.de>
19140
6d9c3a87
AS
19141 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
19142
3c50d7b9
AS
19143 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
19144 in the dwarf sections.
19145 * gdb.dwarf2/mac-fileno.S: Likewise.
19146
783e3e2f
AS
19147 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
19148 bspstore register on ia64.
19149
78ff580e
AS
191502007-01-29 Andreas Schwab <schwab@suse.de>
19151
cc8e9b12
AS
19152 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
19153 "frame-begin" annotation.
19154
78ff580e
AS
19155 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
19156 number of "frames-invalid" annotations.
19157
704a4f78
DJ
191582007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
19159
19160 * gdb.base/commands.exp: Call if_commands_test.
19161 (gdb_test_no_prompt, if_commands_test): New.
19162
e741bf94
MK
191632007-01-28 Mark Kettenis <kettenis@gnu.org>
19164
19165 * gdb.threads/sigthread.c (NSIGS): Make bigger.
19166
474d0ad3
AS
191672007-01-27 Andreas Schwab <schwab@suse.de>
19168
19169 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
19170 .short/.int/.quad in the dwarf sections.
19171 * gdb.dwarf2/dw2-intercu.S: Likewise.
19172 * gdb.dwarf2/dw2-intermix.S: Likewise.
19173
e784b426
JK
191742007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19175
19176 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
19177 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
19178 array.
e784b426
JK
19179 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
19180 * gdb.base/setvar.exp: Likewise.
19181
37f08e04
AS
191822007-01-26 Andreas Schwab <schwab@suse.de>
19183
9a01813a
AS
19184 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
19185 test.
19186
37f08e04
AS
19187 * gdb.base/multi-forks.exp ("restart $i"): Also match
19188 __kernel_syscall_via_break.
19189
6e2a9270
VP
191902007-01-24 Vladimir Prus <vladimir@codesourcery.com>
19191
19192 * lib/mi-support.exp (mi_delete_varobj): New.
19193 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
19194 testcase.
19195 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
19196 (main): Call the above.
19197 (reference_update_test, base_in_reference_test)
19198 (reference_to_pointer): Delete the created varobjs.
a9c64011 19199
e515b470
DJ
192002007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
19201
19202 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
19203 * configure: Regenerated.
19204 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
19205 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
19206 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
19207 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
19208 * lib/gdb.exp (gdb_skip_xml_test): New function.
19209
08d8bcd7
DJ
192102007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
19211
19212 * gdb.base/sigrepeat.exp: Correct error message.
19213
192142007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
19215 Daniel Jacobowitz <dan@codesourcery.com>
19216
19217 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
19218 gdb.arch/i386-gnu-cfi-asm.S: New files.
19219
97c3f1f3
JK
192202007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19221
19222 * lib/gdb.exp: Abort on missing `site.exp'.
19223
cb1df416
DJ
192242007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19225 Daniel Jacobowitz <dan@codesourcery.com>
19226
19227 * gdb.base/included.c, gdb.base/included.exp,
19228 gdb.base/included.h: New files.
19229
35990120
DJ
192302007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19231
19232 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
19233 (maximize_rlimit): Reduce limits on 64-bit systems.
19234
6e81a116 192352007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
19236
19237 From Marcus Deuling <deuling@de.ibm.com>:
19238 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
19239 every case.
19240
6c3c41f3
NR
192412007-01-13 Nick Roberts <nickrob@snap.net.nz>
19242
19243 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
19244 (test_path_specification): Use objdir instead of srcdir to always
19245 get an absolute filename.
19246
2f12c312
DJ
192472007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
19248
19249 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
19250
81121995
VP
192512007-01-11 Vladimir Prus <vladimir@codesourcery.com>
19252
19253 * gdb.mi/mi-var-cp.cc (reference_update_tests):
19254 Make sure the variable we're using is in scope.
19255 (reference_to_pointer): Likewise.
19256
4741b737
DJ
192572007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19258
19259 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
19260 has no debug information.
19261
054410c3
DJ
192622007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19263
19264 * gdb.base/annota1.exp: Remove extra send_gdb.
19265
818f79f6
DJ
192662007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19267
19268 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
19269
f7a6bb70
DJ
192702007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19271
19272 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
19273
57e66780
DJ
192742007-01-08 Nick Roberts <nickrob@snap.net.nz>
19275 Daniel Jacobowitz <dan@codesourcery.com>
19276
19277 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
19278 lcharacter or linteger change. Correct duplicated test name.
19279 * gdb.mi/mi2-var-cmd.exp: Likewise.
19280
3d799a95
DJ
192812007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
19282
19283 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
19284
192852007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 19286
a9c64011
AS
19287 * gdb.base/nofield.c: New file.
19288 * gdb.base/nofield.exp: New testcase.
51679ba9 19289
eafb94e8
NR
192902007-01-05 Nick Roberts <nickrob@snap.net.nz>
19291
19292 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
19293
19294 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
19295 test.
19296
5e572bb4
DJ
192972007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19298
19299 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
19300
74a44383
DJ
193012007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19302
19303 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
19304 when continuing.
19305
1b572db9
DJ
193062007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19307
19308 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
19309 Expect ".exe" extension.
19310
381bc39b
DJ
193112007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19312
19313 * gdb.base/charset.exp: Add explicit filename to break.
19314 * gdb.base/dbx.exp: Add explicit filename to breaks.
19315
2b70e4c6
DJ
193162007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19317
19318 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
19319 * gdb.mi/mi2-file.exp: Likewise.
19320
303b6f5d
DJ
193212007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19322
19323 Implement specification of MI tests as comments
19324 in C and C++ sources.
19325 * lib/mi-support.exp (mi_autotest_data): New variable.
19326 (mi_autotest_source): New variable.
19327 (count_newlines, mi_prepare_inline_tests)
19328 (mi_get_inline_test, mi_continue_to_line)
19329 (mi_run_inline_test, mi_tbreak)
19330 (mi_send_resuming_command, mi_wait_for_stop): New functions.
19331 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
19332 Run inline tests.
19333 * gdb.mi/mi-var-cp.cc: Define tests here.
19334
23da0d94
VP
193352007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19336
19337 Simplify usage of mi_continue_to.
19338 * lib/mi-support.exp (mi_runto_helper): Renamed
19339 from mi_runto, added new parameter 'run_or_continue'.
19340 (mi_runto): Use mi_runto_helper.
19341 (mi_continue_to): Accept just function name as parameter.
19342 Use mi_runto_helper.
19343 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
19344 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 19345
f9e18282
JB
193462006-01-04 Joel Brobecker <brobecker@adacore.com>
19347
19348 Make this testcase a bit more realistic. The current code
19349 is too simplistic, and allows the compiler to optimize out
19350 some of the entities we need for this testcase.
19351 * gdb.ada/null_record/bar.ads (Void_Star): New type.
19352 (Do_Nothing): Add extra parameter.
19353 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
19354 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
19355 by using a variable of type Void_Star.
19356
fd678c65
JB
193572006-01-04 Joel Brobecker <brobecker@adacore.com>
19358
19359 * gdb.ada/catch_ex/foo.adb: New file.
19360 * gdb.ada/catch_ex.exp: New testcase.
19361
05cfdb42
DJ
193622007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
19363
19364 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
19365 pass --image-base to linker.
19366
2e03ee74
DJ
193672007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19368 Daniel Jacobowitz <dan@codesourcery.com>
19369
19370 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
19371 secondary prompts.
19372
0d5de010
DJ
193732007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19374
19375 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
19376 output. Test the types of members and member pointers.
19377 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
19378 gdb/2092.
19379 * gdb.cp/member-ptr.exp: Search for a comment instead of a
19380 statement. Enable for GCC. Update expected output for some tests
19381 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
19382 layout.
19383 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
19384 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
19385 (Diamond::vget_base): New.
19386 (main): Add new tests.
19387 * gdb.cp/printmethod.exp: Update expected output for member functions.
19388 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
19389 print pEe->D::vg().
19390
61a771aa
DJ
193912007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19392
19393 * gdb.threads/tls.exp: Allow stops in sem_post.
19394
2fa63963
DJ
193952006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
19396
19397 * gdb.base/annota1.exp: Allow .*printf in backtraces.
19398 * gdb.base/annota3.exp: Likewise.
19399 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
19400 again (instead of timing out).
19401 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
19402 GCC bug 26475.
19403 * gdb.java/jmisc.exp: Adjust to work with method signatures including
19404 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
19405 test from jmisc1.exp.
19406 * gdb.java/jmisc1.exp: Delete.
19407 * gdb.java/jprint.exp: Adjust to work with method signatures including
19408 return types.
19409 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
19410 * gdb.threads/linux-dp.exp: Don't be confused by program output.
19411 * lib/java.exp (compile_java_from_source): Pass the correct type
19412 to target_compile.
19413
5eefc2b7
JB
194142006-12-31 Joel Brobecker <brobecker@adacore.com>
19415
19416 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
19417 (stack_align_edx): New function.
19418 (stack_align_eax): New function.
19419 (main): Add calls to stack_align_edx and stack_align_eax.
19420 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
19421 Add testing for the cases where the register used during a stack
19422 realignment is edx. Same for eax.
19423
227c54da
DJ
194242006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
19425
19426 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
19427 and generic PE targets.
19428
cab8ac94
JB
194292006-12-29 Joel Brobecker <brobecker@adacore.com>
19430
19431 * gdb.ada/array_return.exp: Update copyright date list.
19432
ba54f318
JB
194332006-12-27 Joel Brobecker <brobecker@adacore.com>
19434
19435 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
19436 (Create_Small_Float_Vector): New function.
19437 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
19438 function body.
19439 * gdb.ada/array_return/p.adb: Use new type and function from
19440 package Pck.
19441 * gdb.ada/array_return.exp: Add a test verifying that GDB is
19442 able to print the value returned by a function returning an
19443 array of float.
19444
6b7a35dd
JB
194452006-12-20 Joel Brobecker <brobecker@adacore.com>
19446
19447 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
19448 The associated tests should be PASSing.
19449
038224f6
VP
194502006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19451
19452 Test for base in references.
19453 * gdb.mi/mi-var-cp.cc: Add test code.
19454 * gdb.mi/mi-var-cp.exp: Test for bases in references.
19455 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
19456 * gdb.mi/mi2-watch.exp: Likewise.
19457 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
19458 (mi_list_varobj_children): New function.
19459
b26ed50d
VP
194602006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19461
19462 * lib/mi-support.exp
19463 (mi_runto): Accept "()" after function name.
19464 (mi_create_varobj): New function.
19465 (mi_varobj_update): New function.
19466 (mi_Check_varobj_value): New function.
19467 * gdb.mi/mi-var-cp.exp: New file.
19468 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 19469
08232497
DJ
194702006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
19471
19472 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
19473 gdb.base/weaklib2.c: New files.
19474
d394c993 194752006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 19476
ac6c2fba
NS
19477 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
19478 info. Adjust test names.
19479
8ec659a0 19480 * gdb.base/break.c (main): Move position of malloc.
d394c993 19481 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 19482
acd65feb
VP
194832006-11-28 Vladimir Prus <vladimir@codesourcery.com>
19484
19485 * gdb.mi/mi-var-cmd.exp: Check -var-update after
19486 assignement of arrays and function pointers.
19487 * gdb.mi/var-cmd.c: Add declaration necessary for above
19488 tests.
19489
f556d5e5
NS
194902006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19491
19492 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
19493
19494 * gdb.threads/linux-dp.exp: Read thread table before and after
19495 creating each philosopher and verify it.
19496
697bc68d
NS
194972006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19498 Paul Brook <paul@codesourcery.com>
19499 Daniel Jacobowitz <dan@codesourcery.com>
19500
19501 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 19502 main to remove duplication. Add start function of the form
697bc68d
NS
19503 '_*start[1-9]*'. Add RVDS start function.
19504
29d73ae4
DJ
195052006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19506
19507 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
19508
c1d88655
UW
195092006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19510
19511 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
19512 * gdb.asm/spu.inc: New file.
19513 * gdb.base/term.exp: Disable if [target_info exists noargs].
19514 * gdb.gdb/complaints.exp: Disable if ![isnative].
19515 * gdb.gdb/selftest.exp: Likewise.
19516 * gdb.gdb/observer.exp: Likewise.
19517 * gdb.gdb/xfullpath.exp: Likewise.
19518 * gdb.base/attach.exp: Disable on SPU target.
19519 * gdb.cp/bs145503.exp: Likewise.
19520 * gdb.cp/exception.exp: Likewise.
19521 * gdb.cp/userdef.exp: Likewise.
19522
32a13b1a
DJ
195232006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19524
19525 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
19526
d8295fe9
VP
195272006-11-10 Vladimir Prus <vladimir@codesourcery.com>
19528
19529 * gdb.base/completion.exp: Fix completion tests for
19530 'info' and 'info '.
19531 * gdb.base/help.exp (help_test_raw, test_class_help)
19532 (test_prefix_command_help): Move...
19533 * lib/gdb.exp: Here.
19534 * gdb.base/main.exp: Adjust.
19535 * gdb.cp/maint.exp: Adjust.
19536 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 19537
8c394015
VP
195382006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19539
19540 * gdb.stabs/weird.exp (print_weird_var): Use
19541 gdb_test_multiple instead of gdb_expect.
19542
027fc1bc
VP
195432006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19544
19545 * gdb.base/help.exp (help_test_raw): New.
19546 (test_class_help): New.
19547 (test_prefix_command_help): New.
19548 Adjust testcases.
19549
67609209
FR
195502006-11-09 Christophe Lyon <christophe.lyon@st.com>
19551
19552 * gdb.base/constvars.c (main): Write to crass and crips, so that
19553 they are allocated by the compiler.
19554
f73adfeb
AS
195552006-10-27 Andreas Schwab <schwab@suse.de>
19556
19557 * gdb.base/multi-forks.exp: Use "detach fork" instead of
19558 "detach-fork".
19559
2f83a18e
DJ
195602006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
19561
19562 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
19563 of patterns.
19564
94277a38
DJ
195652006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19566
19567 * gdb.base/sepdebug.exp: Remove debug format test.
19568 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
19569 Handle no-symtab.
19570 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
19571
5bd2f6e2
DJ
195722006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19573
19574 * gdb.threads/manythreads.c (thread_function, main): Don't cast
19575 int to pointer or pointer to int.
19576 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
19577
8c008720
DJ
195782006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
19579
19580 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
19581
9e35dae4
DJ
195822006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19583
19584 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
19585
d9639e13
DJ
195862006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
19587
19588 PR c++/2116
19589 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
19590
390a1bd0
JB
195912006-10-06 Joel Brobecker <brobecker@adacore.com>
19592
19593 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
19594 the corresponding bug has been fixed in GDB (PR/2018).
19595
dd920c33
JB
195962006-10-06 Joel Brobecker <brobecker@adacore.com>
19597
19598 * gdb.base/subst.exp: New testcase.
19599
53bbefe9
JB
196002006-10-06 Joel Brobecker <brobecker@adacore.com>
19601
19602 * gdb.ada/array_return/pck.ads: Add copyright notice.
19603 * gdb.ada/array_return/pck.adb: Likewise.
19604 * gdb.ada/array_return/p.adb: Likewise.
19605 * gdb.ada/exec_changed/first.adb: Likewise.
19606 * gdb.ada/exec_changed/second.adb: Likewise.
19607
09851417
JB
196082006-10-06 Joel Brobecker <brobecker@adacore.com>
19609
19610 * gdb.ada/watch_arg/watch.adb: New file.
19611 * gdb.ada/watch_arg.exp: New testcase.
19612
041bf30d
VP
196132006-10-02 Vladimir Prus <vladimir@codesourcery.com>
19614
19615 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 19616 via string_to_regexp.
041bf30d 19617 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 19618
f286fbdd 196192006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
19620
19621 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
19622 Remove unused / obsolete files.
19623
7c07f349
NR
196242006-09-19 Nick Roberts <nickrob@snap.net.nz>
19625
19626 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
19627
cd5ff84a
VP
196282006-09-17 Vladimir Prus <vladimir@codesourcery.com>
19629
19630 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
19631 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 19632 the number of frames.
cd5ff84a 19633
ae018d1a
DJ
196342006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
19635
19636 * gdb.base/args.c (main): Add breakpoint marker.
19637 * gdb.base/args.exp: Use args_test for tests. Add new tests which
19638 really test empty arguments.
19639 (args_load): Delete.
19640 (args_test): New.
19641
b399c549
NR
196422006-09-13 Nick Roberts <nickrob@snap.net.nz>
19643
19644 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 19645 check for one file.
b399c549 19646
2ab1eb7a
VP
196472006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
19648
19649 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
19650 HIGH_FRAME argument to -stack-list-locals can be larger than
19651 the number of frames.
a9c64011 19652
476308bf
FF
196532006-08-18 Fred Fish <fnf@specifix.com>
19654
19655 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
19656 '$' in front of skip_vmx_tests_saved when setting that.
19657
8625200f
AS
196582006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
19659
19660 * gdb.base/trace-commands.exp: New file.
19661
089ec8f1
DJ
196622006-08-10 Joel Brobecker <brobecker@adacore.com>
19663 Daniel Jacobowitz <dan@codesourcery.com>
19664
19665 * gdb.base/step-bt.exp: Make hexadecimal address optional in
19666 expected output of the backtrace commands.
19667
b60f0898
JB
196682006-08-09 Joel Brobecker <brobecker@adacore.com>
19669
19670 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
19671 untested followed by return combination.
19672 * gdb.arch/altivec-regs.exp: Likewise.
19673 * gdb.arch/e500-abi.exp: Likewise.
19674 * gdb.arch/e500-regs.exp: Likewise.
19675 * gdb.arch/gdb1291.exp: Likewise.
19676 * gdb.arch/gdb1431.exp: Likewise.
19677 * gdb.arch/gdb1558.exp: Likewise.
19678 * gdb.arch/i386-prologue.exp: Likewise.
19679 * gdb.arch/i386-unwind.exp: Likewise.
19680 * gdb.asm/asm-source.exp: Likewise.
19681 * gdb.base/a2-run.exp: Likewise.
19682 * gdb.base/advance.exp: Likewise.
19683 * gdb.base/all-bin.exp: Likewise.
19684 * gdb.base/annota1.exp: Likewise.
19685 * gdb.base/annota3.exp: Likewise.
19686 * gdb.base/args.exp: Likewise.
19687 * gdb.base/arithmet.exp: Likewise.
19688 * gdb.base/assign.exp: Likewise.
19689 * gdb.base/async.exp: Likewise.
19690 * gdb.base/attach.exp: Likewise.
19691 * gdb.base/bang.exp: Likewise.
19692 * gdb.base/bigcore.exp: Likewise.
19693 * gdb.base/bitfields.exp: Likewise.
19694 * gdb.base/bitfields2.exp: Likewise.
19695 * gdb.base/break.exp: Likewise.
19696 * gdb.base/call-sc.exp: Likewise.
19697 * gdb.base/call-strs.exp: Likewise.
19698 * gdb.base/callfuncs.exp: Likewise.
19699 * gdb.base/checkpoint.exp: Likewise.
19700 * gdb.base/chng-syms.exp: Likewise.
19701 * gdb.base/code-expr.exp: Likewise.
19702 * gdb.base/commands.exp: Likewise.
19703 * gdb.base/completion.exp: Likewise.
19704 * gdb.base/cond-expr.exp: Likewise.
19705 * gdb.base/condbreak.exp: Likewise.
19706 * gdb.base/consecutive.exp: Likewise.
19707 * gdb.base/constvars.exp: Likewise.
19708 * gdb.base/corefile.exp: Likewise.
19709 * gdb.base/cvexpr.exp: Likewise.
19710 * gdb.base/dbx.exp: Likewise.
19711 * gdb.base/define.exp: Likewise.
19712 * gdb.base/detach.exp: Likewise.
19713 * gdb.base/display.exp: Likewise.
19714 * gdb.base/dump.exp: Likewise.
19715 * gdb.base/ena-dis-br.exp: Likewise.
19716 * gdb.base/ending-run.exp: Likewise.
19717 * gdb.base/environ.exp: Likewise.
19718 * gdb.base/eval-skip.exp: Likewise.
19719 * gdb.base/exprs.exp: Likewise.
19720 * gdb.base/fileio.exp: Likewise.
19721 * gdb.base/finish.exp: Likewise.
19722 * gdb.base/float.exp: Likewise.
19723 * gdb.base/foll-exec.exp: Likewise.
19724 * gdb.base/foll-fork.exp: Likewise.
19725 * gdb.base/foll-vfork.exp: Likewise.
19726 * gdb.base/freebpcmd.exp: Likewise.
19727 * gdb.base/funcargs.exp: Likewise.
19728 * gdb.base/gcore.exp: Likewise.
19729 * gdb.base/gdb1090.exp: Likewise.
19730 * gdb.base/gdb1250.exp: Likewise.
19731 * gdb.base/huge.exp: Likewise.
19732 * gdb.base/info-proc.exp: Likewise.
19733 * gdb.base/interrupt.exp: Likewise.
19734 * gdb.base/jump.exp: Likewise.
19735 * gdb.base/langs.exp: Likewise.
19736 * gdb.base/lineinc.exp: Likewise.
19737 * gdb.base/list.exp: Likewise.
19738 * gdb.base/logical.exp: Likewise.
19739 * gdb.base/long_long.exp: Likewise.
19740 * gdb.base/macscp.exp: Likewise.
19741 * gdb.base/maint.exp: Likewise.
19742 * gdb.base/mips_pro.exp: Likewise.
19743 * gdb.base/miscexprs.exp: Likewise.
19744 * gdb.base/multi-forks.exp: Likewise.
19745 * gdb.base/opaque.exp: Likewise.
19746 * gdb.base/overlays.exp: Likewise.
19747 * gdb.base/pc-fp.exp: Likewise.
19748 * gdb.base/pointers.exp: Likewise.
19749 * gdb.base/printcmds.exp: Likewise.
19750 * gdb.base/psymtab.exp: Likewise.
19751 * gdb.base/ptype.exp: Likewise.
19752 * gdb.base/recurse.exp: Likewise.
19753 * gdb.base/relational.exp: Likewise.
19754 * gdb.base/relocate.exp: Likewise.
19755 * gdb.base/remote.exp: Likewise.
19756 * gdb.base/reread.exp: Likewise.
19757 * gdb.base/restore.exp: Likewise.
19758 * gdb.base/return.exp: Likewise.
19759 * gdb.base/return2.exp: Likewise.
19760 * gdb.base/scope.exp: Likewise.
19761 * gdb.base/sect-cmd.exp: Likewise.
19762 * gdb.base/sep.exp: Likewise.
19763 * gdb.base/sepdebug.exp: Likewise.
19764 * gdb.base/setshow.exp: Likewise.
19765 * gdb.base/setvar.exp: Likewise.
19766 * gdb.base/sigall.exp: Likewise.
19767 * gdb.base/sigbpt.exp: Likewise.
19768 * gdb.base/signals.exp: Likewise.
19769 * gdb.base/signull.exp: Likewise.
19770 * gdb.base/sizeof.exp: Likewise.
19771 * gdb.base/solib.exp: Likewise.
19772 * gdb.base/step-line.exp: Likewise.
19773 * gdb.base/step-test.exp: Likewise.
19774 * gdb.base/structs.exp: Likewise.
19775 * gdb.base/structs2.exp: Likewise.
19776 * gdb.base/term.exp: Likewise.
19777 * gdb.base/twice.exp: Likewise.
19778 * gdb.base/until.exp: Likewise.
19779 * gdb.base/varargs.exp: Likewise.
19780 * gdb.base/volatile.exp: Likewise.
19781 * gdb.base/watchpoint.exp: Likewise.
19782 * gdb.base/whatis-exp.exp: Likewise.
19783 * gdb.base/whatis.exp: Likewise.
19784 * gdb.cp/ambiguous.exp: Likewise.
19785 * gdb.cp/annota2.exp: Likewise.
19786 * gdb.cp/annota3.exp: Likewise.
19787 * gdb.cp/bool.exp: Likewise.
19788 * gdb.cp/breakpoint.exp: Likewise.
19789 * gdb.cp/casts.exp: Likewise.
19790 * gdb.cp/class2.exp: Likewise.
19791 * gdb.cp/classes.exp: Likewise.
19792 * gdb.cp/cplusfuncs.exp: Likewise.
19793 * gdb.cp/ctti.exp: Likewise.
19794 * gdb.cp/derivation.exp: Likewise.
19795 * gdb.cp/exception.exp: Likewise.
19796 * gdb.cp/gdb1355.exp: Likewise.
19797 * gdb.cp/hang.exp: Likewise.
19798 * gdb.cp/inherit.exp: Likewise.
19799 * gdb.cp/local.exp: Likewise.
19800 * gdb.cp/m-data.exp: Likewise.
19801 * gdb.cp/m-static.exp: Likewise.
19802 * gdb.cp/member-ptr.exp: Likewise.
19803 * gdb.cp/method.exp: Likewise.
19804 * gdb.cp/misc.exp: Likewise.
19805 * gdb.cp/namespace.exp: Likewise.
19806 * gdb.cp/overload.exp: Likewise.
19807 * gdb.cp/ovldbreak.exp: Likewise.
19808 * gdb.cp/pr-1023.exp: Likewise.
19809 * gdb.cp/pr-1210.exp: Likewise.
19810 * gdb.cp/pr-574.exp: Likewise.
19811 * gdb.cp/printmethod.exp: Likewise.
19812 * gdb.cp/psmang.exp: Likewise.
19813 * gdb.cp/ref-params.exp: Likewise.
19814 * gdb.cp/ref-types.exp: Likewise.
19815 * gdb.cp/rtti.exp: Likewise.
19816 * gdb.cp/templates.exp: Likewise.
19817 * gdb.cp/try_catch.exp: Likewise.
19818 * gdb.cp/userdef.exp: Likewise.
19819 * gdb.cp/virtfunc.exp: Likewise.
19820 * gdb.disasm/am33.exp: Likewise.
19821 * gdb.disasm/h8300s.exp: Likewise.
19822 * gdb.disasm/mn10300.exp: Likewise.
19823 * gdb.disasm/sh3.exp: Likewise.
19824 * gdb.disasm/t01_mov.exp: Likewise.
19825 * gdb.disasm/t02_mova.exp: Likewise.
19826 * gdb.disasm/t03_add.exp: Likewise.
19827 * gdb.disasm/t04_sub.exp: Likewise.
19828 * gdb.disasm/t05_cmp.exp: Likewise.
19829 * gdb.disasm/t06_ari2.exp: Likewise.
19830 * gdb.disasm/t07_ari3.exp: Likewise.
19831 * gdb.disasm/t08_or.exp: Likewise.
19832 * gdb.disasm/t09_xor.exp: Likewise.
19833 * gdb.disasm/t10_and.exp: Likewise.
19834 * gdb.disasm/t11_logs.exp: Likewise.
19835 * gdb.disasm/t12_bit.exp: Likewise.
19836 * gdb.disasm/t13_otr.exp: Likewise.
19837 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
19838 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
19839 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19840 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
19841 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
19842 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
19843 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
19844 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
19845 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
19846 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
19847 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
19848 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
19849 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
19850 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
19851 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
19852 * gdb.mi/gdb701.exp: Likewise.
19853 * gdb.mi/gdb792.exp: Likewise.
19854 * gdb.mi/mi-basics.exp: Likewise.
19855 * gdb.mi/mi-break.exp: Likewise.
19856 * gdb.mi/mi-cli.exp: Likewise.
19857 * gdb.mi/mi-console.exp: Likewise.
19858 * gdb.mi/mi-disassemble.exp: Likewise.
19859 * gdb.mi/mi-eval.exp: Likewise.
19860 * gdb.mi/mi-file.exp: Likewise.
19861 * gdb.mi/mi-read-memory.exp: Likewise.
19862 * gdb.mi/mi-regs.exp: Likewise.
19863 * gdb.mi/mi-return.exp: Likewise.
19864 * gdb.mi/mi-simplerun.exp: Likewise.
19865 * gdb.mi/mi-stack.exp: Likewise.
19866 * gdb.mi/mi-stepi.exp: Likewise.
19867 * gdb.mi/mi-syn-frame.exp: Likewise.
19868 * gdb.mi/mi-until.exp: Likewise.
19869 * gdb.mi/mi-var-block.exp: Likewise.
19870 * gdb.mi/mi-var-child.exp: Likewise.
19871 * gdb.mi/mi-var-cmd.exp: Likewise.
19872 * gdb.mi/mi-var-display.exp: Likewise.
19873 * gdb.mi/mi-watch.exp: Likewise.
19874 * gdb.mi/mi2-basics.exp: Likewise.
19875 * gdb.mi/mi2-break.exp: Likewise.
19876 * gdb.mi/mi2-cli.exp: Likewise.
19877 * gdb.mi/mi2-console.exp: Likewise.
19878 * gdb.mi/mi2-disassemble.exp: Likewise.
19879 * gdb.mi/mi2-eval.exp: Likewise.
19880 * gdb.mi/mi2-file.exp: Likewise.
19881 * gdb.mi/mi2-read-memory.exp: Likewise.
19882 * gdb.mi/mi2-regs.exp: Likewise.
19883 * gdb.mi/mi2-return.exp: Likewise.
19884 * gdb.mi/mi2-simplerun.exp: Likewise.
19885 * gdb.mi/mi2-stack.exp: Likewise.
19886 * gdb.mi/mi2-stepi.exp: Likewise.
19887 * gdb.mi/mi2-syn-frame.exp: Likewise.
19888 * gdb.mi/mi2-until.exp: Likewise.
19889 * gdb.mi/mi2-var-block.exp: Likewise.
19890 * gdb.mi/mi2-var-child.exp: Likewise.
19891 * gdb.mi/mi2-var-cmd.exp: Likewise.
19892 * gdb.mi/mi2-var-display.exp: Likewise.
19893 * gdb.mi/mi2-watch.exp: Likewise.
19894 * gdb.stabs/exclfwd.exp: Likewise.
19895 * gdb.stabs/weird.exp: Likewise.
19896 * gdb.threads/gcore-thread.exp: Likewise.
19897 * gdb.trace/actions.exp: Likewise.
19898 * gdb.trace/backtrace.exp: Likewise.
19899 * gdb.trace/circ.exp: Likewise.
19900 * gdb.trace/collection.exp: Likewise.
19901 * gdb.trace/deltrace.exp: Likewise.
19902 * gdb.trace/infotrace.exp: Likewise.
19903 * gdb.trace/limits.exp: Likewise.
19904 * gdb.trace/packetlen.exp: Likewise.
19905 * gdb.trace/passc-dyn.exp: Likewise.
19906 * gdb.trace/passcount.exp: Likewise.
19907 * gdb.trace/report.exp: Likewise.
19908 * gdb.trace/save-trace.exp: Likewise.
19909 * gdb.trace/tfind.exp: Likewise.
19910 * gdb.trace/tracecmd.exp: Likewise.
19911 * gdb.trace/while-dyn.exp: Likewise.
19912 * gdb.trace/while-stepping.exp: Likewise.
19913
f4b618d1
JB
199142006-08-08 Joel Brobecker <brobecker@adacore.com>
19915
19916 * gdb.base/step-bt.c: New file.
19917 * gdb.base/step-bt.exp: New testcase.
19918
3d00d119
DJ
199192006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
19920
19921 * config/monitor.exp (gdb_load): Remove support for obsolete
19922 download-write-size.
19923 * gdb.base/remote.exp: Likewise. Update all callers of
19924 gdb_timed_load.
19925
017b5bd4
DJ
199262006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
19927
19928 * cursal.exp: Pass binfile to gdb_load.
19929
837c599d
DJ
199302006-08-01 Nathan Sidwell <nathan@codesourcery.com>
19931
19932 * gdb.base/cursal.exp: Add "" to gdb_load call.
19933
8dd4540b
MK
199342006-07-29 Mark Kettenis <kettenis@gnu.org>
19935
19936 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
19937 NetBSD/ELF targets.
19938
ab5c9f60
DJ
199392006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
19940
19941 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
19942 operator*.
19943
4c42eaff
DJ
199442006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
19945
19946 * gdb.base/completion.exp: Update for change in "file" behavior.
19947 * gdb.stabs/weird.exp: Likewise.
19948 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
19949 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
19950
0155cc76
NS
199512006-07-24 Nathan Sidwell <nathan@codesourcery.com>
19952
19953 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
19954 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
19955
16026cd7
AS
199562006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
19957
19958 * gdb.base/default.exp: Update source command error message.
19959 * gdb.base/help.exp: Update 'help source' message.
19960
16963cb6
DJ
199612006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
19962
19963 * gdb.cp/bs15503.exp: Update comment for no longer crashing
19964 test.
19965
6d7fd486
AS
199662006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
19967
19968 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
19969
29e8a844
DJ
199702006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19971
19972 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
19973
6afcfa39
DJ
199742006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19975
19976 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
19977
267a692b
MK
199782006-07-17 Mark Kettenis <kettenis@gnu.org>
19979
19980 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
19981 *-*-openbsd* from targets for wich we expect ARM FPA floating
19982 point format.
19983
85d2fec4
NR
199842006-07-17 Nick Roberts <nickrob@snap.net.nz>
19985
19986 * gdb.cp/annota3.exp: Expect frame-begin annotation.
19987
199882006-07-17 Mark Kettenis <kettenis@gnu.org>
19989
19990 * gdb.base/annota3.exp: Expect frame-begin annotation.
19991
85b4c6e8
JB
199922006-07-14 Joel Brobecker <brobecker@adacore.com>
19993
19994 * gdb.base/help.exp: Adjust "help unset" test to accept
19995 any list of unset commands.
19996
fb933624
DJ
199972006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
19998 Daniel Jacobowitz <dan@codesourcery.com>
19999
20000 * gdb.cp/ref-params.exp: New test.
20001 * gdb.cp/ref-params.cc: New source file.
20002 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
20003
1dff4b64
MK
200042006-07-08 Mark Kettenis <kettenis@gnu.org>
20005
20006 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
20007 spaces/tabs in regular expressions since they might not be there.
20008
40d2e0e3
AS
200092006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
20010
20011 * gdb.base/ifelse.exp: New file.
20012
f6c957d2
NS
200132006-07-04 Nathan Sidwell <nathan@codesourcery.com>
20014
20015 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
20016 line.
20017 * gdb.base/huge.exp: Loop over compilation to find a size that
20018 is acceptable.
20019 * gdb.base/remote.exp: Correct expected strings.
20020 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
20021
b9c5a23d
DJ
200222006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20023
20024 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
20025
9af2e58d
DJ
200262006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20027
20028 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
20029 native.
20030
30930ca5
DJ
200312006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20032
20033 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
20034 enable stabs testing.
20035
aa32fa1d
DJ
200362006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20037
bd4a4c80 20038 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
20039 gdb_test_multiple does.
20040
321fef15
DJ
200412006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20042
20043 * Makefile.in (host_alias): Remove.
20044 (target_alias): Use @target_noncanonical@.
20045 (site.exp): Don't set host_alias.
20046 * aclocal.m4: Remove contents. Include acx.m4.
20047 * configure: Regenerated.
20048 * configure.ac: Use ACX_NONCANONICAL_TARGET.
20049
e1c2defa
NS
200502006-06-13 Nathan Sidwell <nathan@codesourcery.com>
20051
e63b55d1
NS
20052 * lib/gdb.exp (gdb_load_cmd): New.
20053
5600ea19
NS
20054 * gdb.base/fileio.c: Add system(NULL) test.
20055 * gdb.base/fileio.exp: Check it.
20056
e1c2defa
NS
20057 * gdb.base/break.c: Add 10a breakpoint at }
20058 * gdb.base/break.exp: Add test for breakpoint at }
20059 * gdb.cp/anon-union.cc: Add code at end of function.
20060 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
20061 * gdb.mi/var-cmd.c: Add code at end of function.
20062 * gdb.mi/mi-var-display.exp: Adjust end of next.
20063 * gdb.mi/mi2-var-display.exp: Likewise.
20064 * gdb.base/fileio.c: Add stop function and insert calls at
20065 stopping places.
20066 * gdb.base/fileio.exp: Breakpoint stop function and remove
20067 explicit line number references.
20068
6c0112ec
JB
200692006-05-19 Joel Brobecker <brobecker@adacore.com>
20070
a9c64011
AS
20071 * gdb.base/del.exp (test_delete_alias): New function.
20072 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 20073
154189a4
FF
200742006-05-18 Fred Fish <fnf@specifix.com>
20075
20076 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
20077 required. Check for spurious output after program exits normally.
20078
582e64c2
FF
200792006-05-17 Fred Fish <fnf@specifix.com>
20080
20081 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
20082 gdb_load, so it works in the simulator.
20083
8ef6493a
FF
200842006-05-11 Fred Fish <fnf@specifix.com>
20085
20086 * gdb.base/bang.exp: Ignore unexpected output between the
20087 "program exited normally" and the gdb prompt, as many other
20088 tests do.
20089
692b141c
MK
200902006-05-07 Mark Kettenis <kettenis@gnu.org>
20091
20092 * gdb.base/help.exp: Make "delete checkpoint" part option for
20093 "help d" and "help delete" tests.
20094
540b8a30
UW
200952006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20096
a9c64011 20097 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
20098 expected output in some mi_gdb_test statements.
20099 * gdb.mi/mi2-basics.exp: Likewise.
20100
9b6462d9
JB
201012006-05-05 Joel Brobecker <brobecker@adacore.com>
20102
20103 * gdb.base/del.c: New file.
20104 * gdb.base/del.exp: New testcase.
20105
954de43b
DM
201062006-05-05 David S. Miller <davem@sunset.davemloft.net>
20107
20108 * gdb.base/break.exp: Do not assume a breakpoint on
20109 main will actually be in $srcfile when optimizing.
1303f75e
DM
20110 * gdb.base/savedregs.exp: Do not require that the dummy
20111 frame location match up to a symbol and source file location.
c3242428
DM
20112 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
20113 will get printed without a mi_cmd_data_list_register_values prefix.
20114 (*-data-list-register-*): Correct regular expressions to expect the new
20115 pseudo d? floating point registers.
20116 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 20117
c7e64c9a
DJ
201182006-05-05 Christophe Lyon <christophe.lyon@st.com>
20119
20120 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
20121 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
20122 is allocated by the compiler.
20123 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
20124 anons, e, anone to force their allocation by the compiler.
20125
201262006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
20127
20128 * gdb.base/help.exp: Update expected text for help d and
20129 help delete.
20130
27ce9a6d
MK
201312006-05-02 Mark Kettenis <kettenis@gnu.org>
20132
20133 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
20134 NetBSD/ELF targets.
20135
8608915f
MK
201362006-04-30 Mark Kettenis <kettenis@gnu.org>
20137
20138 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
20139 single-step breakpoint fails; make this a KFAIL on
20140 sparc*-*-openbsd*.
20141 * gdb.base/siginfo.exp: Likewise.
20142 * gdb.base/sigstep.exp (advance, advancei): Likewise.
20143
b8db102d
MS
201442006-04-26 Michael Snyder <msnyder@redhat.com>
20145
20146 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
20147 which may have to consume output from other forks.
20148 Add tests to make sure that "delete fork" succeeded.
20149
c702009a
MS
201502006-04-20 Michael Snyder <msnyder@redhat.com>
20151
20152 * 2006-03-22 Jim Blandy <jimb@redhat.com>
20153 Add support for the Renesas M32C and M16C.
20154
20155 * gdb.asm/asm-source.exp: Add m32c target.
20156 * gdb.asm/m32c.inc: Support for m32c target.
20157
e28493f2
AS
201582006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
20159
20160 * gdb.base/commands.exp (recursive_source_test): New test.
20161
880da185
DM
201622006-04-04 David S. Miller <davem@sunset.davemloft.net>
20163
20164 * gdb.base/float.exp: Add pattern for sparc targets.
20165
61d9b92f
DJ
201662006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
20167
20168 * gdb.base/commands.exp (stray_arg0_test): New test.
20169
bd717df8
PB
201702006-03-30 Paul Brook <paul@codesourcery.com>
20171
20172 * gdb.mi/mi-until.exp: kfail broken until command.
20173 * gdb.mi/mi2-until.exp: Ditto.
20174
ec793d3c
NR
201752006-03-27 Nick Roberts <nickrob@snap.net.nz>
20176
20177 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
20178
831004b7
AO
201792006-03-08 Alexandre Oliva <aoliva@redhat.com>
20180
20181 * gdb.base/prelink.exp: Anchor tested-for regular expression
20182 on gdb prompt.
20183
effe49a0
PB
201842006-03-07 Paul Brook <paul@codesourcery.com>
20185
20186 * gdb.base/assign.exp: Correct fail message.
20187
e5461016
PB
201882006-03-07 Paul Brook <paul@codesourcery.com>
20189
20190 * lib/compiler.c: Extract armcc version number.
20191 * lib/compiler.cc: Ditto.
20192
fc91c6c2
PB
201932006-03-07 Paul Brook <paul@codesourcery.com>
20194
20195 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
20196 additional_flags=-w.
20197 * gdb.arch/altivec-regs.exp: Ditto.
20198 * gdb.arch/e500-abi.exp: Ditto.
20199 * gdb.arch/e500-regs.exp: Ditto.
20200 * gdb.base/all-bin.exp: Ditto.
20201 * gdb.base/annota1.exp: Ditto.
20202 * gdb.base/annota3.exp: Ditto.
20203 * gdb.base/args.exp: Ditto.
20204 * gdb.base/arithmet.exp: Ditto.
20205 * gdb.base/assign.exp: Ditto.
20206 * gdb.base/async.exp: Ditto.
20207 * gdb.base/bang.exp: Ditto.
20208 * gdb.base/break.exp: Ditto.
20209 * gdb.base/call-rt-st.exp: Ditto.
20210 * gdb.base/completion.exp: Ditto.
20211 * gdb.base/cond-expr.exp: Ditto.
20212 * gdb.base/condbreak.exp: Ditto.
20213 * gdb.base/consecutive.exp: Ditto.
20214 * gdb.base/define.exp: Ditto.
20215 * gdb.base/display.exp: Ditto.
20216 * gdb.base/ena-dis-br.exp: Ditto.
20217 * gdb.base/environ.exp: Ditto.
20218 * gdb.base/eval-skip.exp: Ditto.
20219 * gdb.base/info-proc.exp: Ditto.
20220 * gdb.base/jump.exp: Ditto.
20221 * gdb.base/logical.exp: Ditto.
20222 * gdb.base/long_long.exp: Ditto.
20223 * gdb.base/maint.exp: Ditto.
20224 * gdb.base/miscexprs.exp: Ditto.
20225 * gdb.base/pc-fp.exp: Ditto.
20226 * gdb.base/pointers.exp: Ditto.
20227 * gdb.base/relational.exp: Ditto.
20228 * gdb.base/reread.exp: Ditto.
20229 * gdb.base/sect-cmd.exp: Ditto.
20230 * gdb.base/sep.exp: Ditto.
20231 * gdb.base/sepdebug.exp: Ditto.
20232 * gdb.base/until.exp: Ditto.
20233 * gdb.base/whatis-exp.exp: Ditto.
20234 * gdb.cp/annota2.exp: Ditto.
20235 * gdb.cp/annota3.exp: Ditto.
20236 * gdb.trace/actions.exp: Ditto.
20237 * gdb.trace/backtrace.exp: Ditto.
20238 * gdb.trace/circ.exp: Ditto.
20239 * gdb.trace/collection.exp: Ditto.
20240 * gdb.trace/deltrace.exp: Ditto.
20241 * gdb.trace/infotrace.exp: Ditto.
20242 * gdb.trace/limits.exp: Ditto.
20243 * gdb.trace/packetlen.exp: Ditto.
20244 * gdb.trace/passc-dyn.exp: Ditto.
20245 * gdb.trace/passcount.exp: Ditto.
20246 * gdb.trace/report.exp: Ditto.
20247 * gdb.trace/save-trace.exp: Ditto.
20248 * gdb.trace/tfind.exp: Ditto.
20249 * gdb.trace/tracecmd.exp: Ditto.
20250 * gdb.trace/while-dyn.exp: Ditto.
20251 * gdb.trace/while-stepping.exp: Ditto.
20252 * lib/gdb.exp: Ditto.
20253 (gdb_compile): Handle nowarning option.
20254
5f4a23d9
AO
202552006-03-07 Alexandre Oliva <aoliva@redhat.com>
20256
20257 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
20258 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
20259 Rename executable to prelinkt. Don't re-prelink if we didn't
20260 get a core file. Test prelink -u exit status to tell whether
20261 prelinking failed. Use gdb_test_multiple.
20262
9733fc94
DJ
202632006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
20264
20265 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
20266 (do_tests): Call it.
20267
cc10cae3
AO
202682006-02-28 Alexandre Oliva <aoliva@redhat.com>
20269
20270 * gdb.base/prelink.exp: New test.
20271 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
20272
15c46491
WZ
202732006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
20274
20275 * gdb.fortran/derived-type.f90: New file.
20276 * gdb.fortran/derived-type.exp: New testcase.
20277
5c9f7ded
DJ
202782006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
20279
20280 * gdb.base/default.exp: Allow ';' as a directory separator.
20281
5b96932b
AS
202822006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20283
20284 * gdb.base/help.exp (help add-symbol-file): Update.
20285
1986bccd
AS
202862006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20287
20288 * gdb.base/help.exp (help load): Update expected results.
20289
a8b7528f
FF
202902006-02-19 Fred Fish <fnf@specifix.com>
20291
20292 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
20293 specifix hex value as part of results.
20294 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 20295
f8261448
FF
202962006-02-16 Fred Fish <fnf@specifix.com>
20297
20298 * gdb.base/whatis.c: Define variables using typedefs char_addr,
20299 ushort_addr, and slong_addr, so the typedefs are not optimized
20300 away.
20301 * gdb.base/whatis.exp: Add tests using type name for struct type,
20302 union type, enum type, and typedef.
a9c64011 20303
31d8bdd2
MK
203042006-02-13 Mark Kettenis <kettenis@gnu.org>
20305
20306 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
20307
34e41e63
JB
203082006-02-13 Jim Blandy <jimb@redhat.com>
20309
20310 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
20311 case where it takes two "next" commands to skip past the init
20312 call.
20313
ac6e4f31
FF
203142006-02-12 Fred Fish <fnf@specifix.com>
20315
20316 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
20317 to handle cases where it takes two "next" commands to skip
20318 past the init call.
20319
2db2d571
JB
203202006-02-07 Joel Brobecker <brobecker@adacore.com>
20321
20322 * gdb.ada/array_return.exp: Mark the last test as expected to fail
20323 on hppa32 targets.
20324
38fcd64c
DJ
203252006-02-06 Vladimir Prus <ghost@cs.msu.su>
20326
20327 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
20328 field.
20329
1315ad46
MK
203302006-01-29 Mark Kettenis <kettenis@gnu.org>
20331
20332 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
20333
5625b943
DJ
203342006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
20335
20336 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
20337 files.
20338
80df1bbe
DJ
203392006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
20340
20341 * gdb.cp/maint.exp: Set complaints to a positive value.
20342
9078e690
DJ
203432006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20344
20345 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
20346 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
20347 function name.
20348
9c903399
DJ
203492006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20350
20351 * gdb.base/checkpoint.c: Update copyright notice. Include
20352 <stdlib.h>.
20353
761ae4d6
JB
203542006-01-04 Jim Blandy <jimb@redhat.com>
20355
20356 * gdb.asm/asm-source.exp: Independently provide default values for
20357 asm-flags and debug-flags. Use 'string equal' to do the
20358 comparison, not the implicit expr's '==' operator. Remove
20359 now-unneeded assignments to asm-flags. In h8300 case, place
20360 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
20361
099ac3dd
MS
203622006-01-04 Michael Snyder <msnyder@redhat.com>
20363
20364 * gdb.base/checkpoint.c: New file.
20365 * gdb.base/checkpoint.exp: New file.
20366 * gdb.base/multi-fork.c: New file.
20367 * gdb.base/multi-fork.exp: New file.
20368 * gdb.base/pi.txt: New file (data for checkpoint.c test).
20369
f4d85314
FF
203702006-01-04 Fred Fish <fnf@specifix.com>
20371
20372 * gdb.base/ptype.c (foo): Add typedef.
20373 (intfoo): Add function.
20374 * gdb.base/ptype1.c: New file.
20375 * gdb.base/ptype.exp: Handle compilation and linking with two
20376 source files. Test that proper type for "foo" is found based
20377 on source context rather than first match found in symtabs.
20378
a1b06f35
MK
203792005-12-28 Mark Kettenis <kettenis@gnu.org>
20380
20381 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
20382 * gdb.asm/openbsd.inc: Indent commands.
20383
d082a1e2
MK
203842005-12-26 Mark Kettenis <kettenis@gnu.org>
20385
c65016bd
MK
20386 * gdb.base/freebpcmd.exp: Increase timeout.
20387
d082a1e2
MK
20388 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
20389
d3c32a0e
DJ
203902005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
20391
20392 * gdb.base/default.exp: Update check for "show version".
20393
9fdb1f50
RC
203942005-12-09 Randolph Chung <tausq@debian.org>
20395
20396 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
20397 * gdb.asm/pa64.inc: New file.
20398
5f2c56f7
RC
203992005-12-09 Randolph Chung <tausq@debian.org>
20400
20401 * gdb.asm/common.inc: Indent commands.
20402 * gdb.asm/asmsrc1.s: Likewise.
20403 * gdb.asm/asmsrc2.s: Likewise.
20404
8117349c
RC
204052005-12-09 Randolph Chung <tausq@debian.org>
20406
20407 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
20408 (get_addr_of_sym): Remove duplicate print.
20409 (gen_core): xfail hppa*-*-hpux*, update expected output.
20410 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
20411 * gdb.arch/pa64-nullify.s: New file.
20412
8f07f25a
RC
204132005-12-09 Randolph Chung <tausq@debian.org>
20414
20415 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
20416
55b39184
DJ
204172005-12-07 Christophe Lyon <christophe.lyon@st.com>
20418
20419 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
20420 code generation for these functions.
20421 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
20422 error message.
20423
31e2b00f
AS
204242005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
20425
20426 * gdb.base/help.exp (help b, help br, help bre, help brea)
20427 (help break): Update the expected message.
20428
c3d0b56e
SC
204292005-11-11 Stephane Carrez <stcarrez@nerim.fr>
20430
20431 * gdb.asm/m68hc11.inc: Setup the data section.
20432 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
20433 script for this test.
20434 (m6812-*-*): Likewise.
20435
36ae0ea9
RC
204362005-11-09 Randolph Chung <tausq@debian.org>
20437
20438 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
20439
9d6f42e9
WZ
204402005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
20441
20442 * gdb.base/break.exp: Fix a comment typo.
20443
e2126a14
EZ
204442005-11-03 Jim Blandy <jimb@redhat.com>
20445
a9c64011
AS
20446 Checked in by Elena Zannoni <ezannoni@redhat.com>
20447
889bf7c5 20448 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 20449
e0ac7199
CV
204502005-11-02 Corinna Vinschen <vinschen@redhat.com>
20451
20452 * gdb.arch/gdb1558.c: Include stdio.h.
20453
31d3fb18
MK
204542005-10-31 Mark Kettenis <kettenis@gnu.org>
20455
20456 * gdb.asm/asm-source.exp: Use -e instead of --entry.
20457
e52b687c
MK
204582005-10-31 Mark Kettenis <kettenis@gnu.org>
20459
20460 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
20461
f4711d79
PG
204622005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
20463
a9c64011
AS
20464 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20465 vscr" tests to better match output.
f4711d79 20466
987a9106
JB
204672005-10-12 Jim Blandy <jimb@redhat.com>
20468
20469 * gdb.base/structs.exp (any): New function.
20470 (test_struct_returns): Don't make any assumptions at all about
20471 what value the function returns when GDB can't set the return
20472 value.
20473
2336bb58
JB
204742005-10-09 Joel Brobecker <brobecker@adacore.com>
20475
20476 * gdb.ada/arrayidx/p.adb: New file.
20477 * gdb.ada/arrayidx.exp: New testcase
20478
204792005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
20480
20481 * gdb.ada/array_return/pck.ads: New file.
20482 * gdb.ada/array_return/pck.adb: New file.
20483 * gdb.ada/array_return/p.adb: New file.
20484 * gdb.ada/array_return.exp: New testcase.
20485
705335ea
JB
204862005-10-03 Joel Brobecker <brobecker@adacore.com>
20487
a9c64011
AS
20488 * gdb.base/arrayidx.c: New file.
20489 * gdb.base/arrayidx.exp: New testcase.
705335ea 20490
11ee9940
NR
204912005-09-29 Nick Roberts <nickrob@snap.net.nz>
20492
20493 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
20494 frames-invalid and breakpoints-invalid are no longer generated
20495 with level 3 so don't expect them in the output.
20496
39fb8e9e
BR
204972005-09-27 Bob Rossi <bob@brasko.net>
20498
a9c64011 20499 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
20500 from test. Escape the | in mi_gdb_test call.
20501 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
20502 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
20503 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
20504 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
20505 expected regex's in mi_gdb_test calls.
20506 * lib/mi-support.exp: Remove arbitrary .* from tests.
20507 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
20508 Fully anchor GDB/MI expected results in mi_gdb_test.
20509 * lib/gdb.exp (string_to_regexp): Escape the ] character.
20510 * gdb.base/sizeof.exp: Remove escape character. Correct test.
20511
2af48f68
PB
205122005-09-26 Paul Brook <paul@codesourcery.com>
20513
20514 * long_long.exp: Exclude eabi targets from arm FPA float format test.
20515
f34502bc
WZ
205162005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20517
20518 * bfp-test.c: New file.
20519 * bfp-test.exp: New testcase.
20520
ca929517
WZ
205212005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20522
20523 * gdb.fortran/subarray.exp: New testcase to test the evaluation
20524 of subarray and substring variable.
20525 * gdb.fortran/subarray.f: New source file for the test of subarray
20526 and substring variable evaluation.
20527 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
20528 of string constant.
20529
c761af65
DJ
205302005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
20531
20532 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
20533 copyright dates.
20534
561d7a1d
PG
205352005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
20536
20537 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
20538 powerpc altivec' test with an almost identical 'info vector' test.
20539
b2b64cc9
PG
205402005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20541
a9c64011
AS
20542 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20543 vscr" tests to match output.
b2b64cc9 20544
6ac4d15a
PG
205452005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20546
a9c64011
AS
20547 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
20548 output.
6ac4d15a 20549
40e55bef
BR
205502005-09-11 Bob Rossi <bob@brasko.net>
20551
889bf7c5
PA
20552 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
20553 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
20554 commands that return an MI output command and an asyncronous MI output
20555 command.
40e55bef
BR
20556 * gdb.mi/mi-console.exp: Ditto.
20557
3c7385ec
BR
205582005-09-11 Bob Rossi <bob@brasko.net>
20559
20560 * gdb.mi/mi-var-child.c: Include <string.h>.
20561
a6cd0eb3
DJ
205622005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
20563
20564 * killed.exp: Correct gdb_expect syntax.
20565
2f168eed
CV
205662005-08-09 Corinna Vinschen <vinschen@redhat.com>
20567
20568 * lib/mi-support.exp (mi_gdb_load): Fix typo.
20569
ecd3fd0f
BR
205702005-08-02 Bob Rossi <bob@brasko.net>
20571
20572 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
20573 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
20574 Change tests to inferior-tty-set/show.
20575 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
20576 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
20577 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
20578 inferior. Use mi_gdb_test to get GDB and Inferior output.
20579 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
20580 descriptor.
20581 (mi_inferior_tty_name): Add inferior PTY file name.
20582 (mi_gdb_start): Add INFERIOR_PTY parameter.
20583 (mi_gdb_test): Add IPATTERN parameter.
20584
f1ea48cb 205852005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 20586
f1ea48cb
BR
20587 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
20588 parameter to mi_gdb_test.
20589 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
20590
6e650a67
DJ
205912005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20592
20593 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
20594 struct_declarations.
20595 * gdb.mi/mi-var-child.exp: Step over the initialization of
20596 struct_declarations.
20597
8be260b6
DJ
205982005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20599
20600 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
20601 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
20602 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
20603 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
20604 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
20605 file.
20606
4e660f07
NR
206072005-07-27 Nick Roberts <nickrob@snap.net.nz>
20608
20609 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
20610 (do_children_tests): Assign values to the extra elements.
20611
20612 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
20613 them for tests for "-var-update --no-values" and
a9c64011 20614 "-var-update --all-values".
4e660f07
NR
20615 Add test for "-var-list-children --simple-values".
20616
20617 * gdb.mi/basics.c (callee4): Add integer array D[3]...
20618
20619 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
20620 "-stack-list-locals --simple-values" Improve doc strings and
20621 comments.
20622
6bdae935
MK
206232005-07-18 Mark Kettenis <kettenis@gnu.org>
20624
598b7a6f
MK
20625 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
20626 *-*-openbsd*.
20627 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
20628
6bdae935
MK
20629 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
20630 sigaltsatck'.
20631
1323e929 206322005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 20633
1323e929
BR
20634 * gdb.base/default.exp (tty): Changed output of command.
20635 * gdb.base/help.exp (help tty): Ditto.
20636
b1a9c082
MK
206372005-07-12 Mark Kettenis <kettenis@gnu.org>
20638
20639 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
20640
10a844a2
MK
206412005-07-10 Mark Kettenis <kettenis@gnu.org>
20642
20643 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
20644 -stack-select-frame without arguments.
20645 (test_stack_frame_listing): Add test for newly implemented command
20646 -stack-info-frame.
20647
3cb3b8df
BR
206482005-07-06 Bob Rossi <bob@brasko.net>
20649
20650 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
20651 command.
20652 (Copyright): Update copyright.
20653
a0c5fbcf
WZ
206542005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
20655
20656 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
20657 tests to evaluate exponentiation expression.
20658
984971d0
AS
206592005-06-29 Andreas Schwab <schwab@suse.de>
20660
20661 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
20662 main to avoid warnings.
20663
20664 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
20665
fe03833f
NR
206662005-06-20 Nick Roberts <nickrob@snap.net.nz>
20667
20668 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
20669 -stack-select-frame without arguments.
20670 (test_stack_frame_listing): Add test for newly implemented command
20671 -stack-info-frame.
a9c64011 20672
7a55f279
WZ
206732005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
20674
0ffa0ea5
DJ
20675 * gdb.fortran/array-element.f: New file.
20676 * gdb.fortran/array-element.exp: New testcase.
7a55f279 20677
26585198
DJ
206782005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
20679
20680 * gdb.base/bigcore.exp: Correct checks for systems which can
20681 not dump a large core file.
20682
c1bd25fd
DJ
206832005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
20684
20685 * gdb.base/relocate.c: Add a copyright notice.
20686 (dummy): Remove.
20687 * gdb.base/relocate.exp: Test printing the values of variables
20688 from a relocatable file.
20689
589e074d
DJ
206902005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
20691
20692 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
20693 excess MI output after an error.
20694
0915f927
JB
206952005-05-29 Joel Brobecker <brobecker@adacore.com>
20696
20697 * gdb.arch/alpha-step.c: New file.
20698 * gdb.arch/alpha-step.exp: New testcase.
20699
76ff342d
DJ
207002005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
20701 Dennis Brueni <dennis@slickedit.com>
20702
20703 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
20704 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
20705 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
20706 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
20707 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
20708 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
20709 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
20710
96b0c7ac
DJ
207112005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
20712 Wu Zhou <woodzltc@cn.ibm.com>
20713
20714 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
20715 IBM's xlc compiler.
20716 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
20717 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
20718
f21565d2
JB
207192005-05-13 Jim Blandy <jimb@redhat.com>
20720
20721 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
20722 calling gdb_suppress_entire_file.
20723 * gdb.base/charset.exp: Same.
20724 * gdb.base/call-rt-st.exp: Same.
20725
6006a3a1
BR
207262005-05-05 Bob Rossi <bob_rossi@cox.net>
20727
20728 * lib/gdb.exp (fullname_syntax): Added global regex.
20729 (fullname_syntax_POSIX): Ditto.
20730 (fullname_syntax_UNC): Ditto.
20731 (fullname_syntax_DOS_CASE): Ditto.
20732 (fullname_syntax_DOS): Ditto.
20733 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
20734 fullname_syntax variable to scope and use it.
20735 (test_file_list_exec_source_files): Ditto.
20736 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
20737
c3b69c04
DJ
207382005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
20739
20740 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
20741
3c95e6af
PG
207422004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
20743
a9c64011
AS
20744 * lib/gdb.exp (skip_altivec_tests): New function, based on
20745 check_vmx_hw_available from the GCC testsuite.
20746 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
20747 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 20748
78df6c56
JB
207492005-05-02 Jim Blandy <jimb@redhat.com>
20750
20751 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
20752 calling gdb_suppress_entire_file.
20753
1690f9cf
DJ
207542005-04-30 Randolph Chung <tausq@debian.org>
20755
20756 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
20757 Slightly relax "sem_post" name checking.
20758
5ea106f7
PG
207592005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
20760
20761 * gdb.base/unload.exp: Use new shared library infrastructure.
20762
bf7234cf
PG
207632005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
20764
20765 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 20766 infrastructure.
bf7234cf 20767
547b869a
CV
207682005-04-29 Corinna Vinschen <vinschen@redhat.com>
20769
20770 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
20771 * gdb.asm/h8300.inc: New file.
20772
f07e55f0
PG
207732005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20774
20775 * gdb.base/shlib-call.exp: Change to use new shared library
20776 infrastructure.
20777
3cbba3d1
PG
207782005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20779
a9c64011
AS
20780 * gdb.base/pending.exp: Change to use new shared library
20781 infrastructure.
3cbba3d1 20782
ed6df200
PG
207832005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20784
a9c64011
AS
20785 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
20786 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 20787
8c8f4ebe
PG
207882005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
20789
a9c64011
AS
20790 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
20791 shared objects being adjusted and update copyright years.
8c8f4ebe 20792
607fbc54
DJ
207932005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
20794
20795 * ChangeLog: Correct some 2003-01-13 dates.
20796 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
20797 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
20798 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
20799 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
20800 gdb.trace/tfind.exp: Update copyright years.
20801
57bf0e56
DJ
208022005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
20803 Daniel Jacobowitz <dan@codesourcery.com>
20804
20805 * lib/gdb.exp (gdb_compile): Handle shlib=.
20806 (gdb_compile_shlib): New function.
20807
9b593790
PG
208082005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
20809
a9c64011 20810 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 20811
9494c6a5
DJ
208122005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20813
20814 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
20815 gdb.server.
20816 * configure.ac: Likewise.
20817 * configure: Regenerated.
20818 * gdb.gdbserver/Makefile.in: Moved to...
20819 * gdb.server/Makefile.in: ... here.
20820 * gdb.gdbserver/server.c: Moved to...
20821 * gdb.server/server.c: ... here.
20822 * gdb.gdbserver/server-run.exp: Moved to...
20823 * gdb.server/server-run.exp: ... here.
20824
6f8eac0e
DJ
208252005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20826
20827 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
20828 * configure.ac: Create gdb.gdbserver/Makefile.
20829 * configure: Regenerated.
20830 * lib/gdbserver-support.exp: New file, derived from
20831 config/gdbserver.exp.
20832 * config/gdbserver.exp: Use gdbserver-support.exp.
20833 * gdb.gdbserver/Makefile.in: New file.
20834 * gdb.gdbserver/server.c: New file.
20835 * gdb.gdbserver/server-run.exp: New file.
20836
6e87504d
PG
208372005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
20838
a9c64011
AS
20839 * lib/gdb.exp (test_compiler_info): Return compiler_info
20840 if no arguments are given.
6e87504d 20841
d1779be4
PG
208422005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
20843
20844 * gdb.arch/altivec-abi.exp: Check for compiler and set
20845 use altivec' flag accordingly.
20846 * gdb.arch/altivec-regs.exp: Likewise.
20847
88750304
DJ
208482005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
20849
20850 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
20851
f3fb768d
AS
208522005-03-27 Andreas Schwab <schwab@suse.de>
20853
20854 * gdb.base/bigcore.c (main): Add missing mode argument in open
20855 call.
20856
7e813ac5
DJ
208572005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
20858
20859 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
20860 downloads.
20861 * config/gdbserver.exp (gdb_load): Likewise.
20862
8e3049aa
PB
208632005-03-14 Paul Brook <paul@codesourcery.com>
20864
20865 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
20866 targets.
20867
a9df7c44
JB
208682005-03-09 Joel Brobecker <brobecker@adacore.com>
20869
20870 * gdb.dwarf2/dup-psym.S: New file.
20871 * gdb.dwarf2/dup-psym.exp: New testcase.
20872
9f0d94e8
JB
208732005-03-09 Joel Brobecker <brobecker@adacore.com>
20874
20875 * gdb.ada/exec_changed/first.adb: New file.
20876 * gdb.ada/exec_changed/second.adb: New file.
20877 * gdb.ada/exec_changed.exp: New testcase.
20878
5f579bc5
NS
208792005-03-08 Nathan Sidwell <nathan@codesourcery.com>
20880
36e9969c
NS
20881 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
20882 (A2): New class.
20883 (main): Test operator+.
20884 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
20885 breakpoint test.
20886
5f579bc5
NS
20887 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
20888 * gdb.base/signull.exp: Disable if gdb,nosignals.
20889 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
20890 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
20891 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
20892 * gdb.mi/mi2-console.exp: Likewise.
20893 * gdb.trace/collection.exp (run_trace_experiment): Consume the
20894 continue output at start.
20895 (gdb_collect_locals_test): Robustify regexp.
20896 * gdb.trace/passc-dyn.exp: Fix comment typo.
20897 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
20898
be46087e
CV
208992005-03-08 Corinna Vinschen <vinschen@redhat.com>
20900
20901 * gdb.asm/asm-source.exp: Add iq2000 case.
20902 * gdb.asm/iq2000.inc: New file.
20903
384e1a61 209042005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 20905
384e1a61
MI
20906 * gdb.base/command.exp: Change hardcoded value to regular expression.
20907 * gdb.base/float.exp: Add powerpc to the list of targets checked.
20908
584b6e9e
DJ
209092005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
20910
20911 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
20912 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
20913 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
20914 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
20915 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
20916
ab5b5d61
MK
209172005-03-05 Mark Kettenis <kettenis@gnu.org>
20918
20919 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
20920 changes.
20921
ae051c1b
PG
209222004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
20923
a9c64011
AS
20924 * lib/compiler.c: Add test for IBM's xlc compiler.
20925 * lib/compiler.cc: Likewise.
ae051c1b 20926
3f0f6ed2
JB
209272004-02-24 Joel Brobecker <brobecker@adacore.com>
20928
20929 * gdb.ada/fixed_points.exp: Create compilation object directory
20930 before running the test.
20931 * gdb.ada/null_record.exp: Likewise.
20932 * gdb.ada/packed_array.exp: Likewise.
20933 * gdb.ada/start.exp: Likewise.
20934
724f452b
JB
209352005-02-15 Joel Brobecker <brobecker@adacore.com>
20936
20937 * gdb.ada/packed_array/pa.adb: New file.
20938 * gdb.ada/packed_array.exp: New testcase.
20939
57f5cdfb 209402005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 20941
1f393151
MK
20942 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
20943 files.
20944
ebdda337
MK
20945 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
20946 on *-*-openbsd*. Correctly match whitespace in regukar
20947 expressions.
20948
cf309262
DJ
209492005-02-10 Daniel Jacobowitz <dan@debian.org>
20950
20951 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
20952 PR exp/1821
20953 * gdb.base/gdb1821.c: New test file.
20954 * gdb.base/gdb1821.exp: New test file.
20955
3be49e7a
JB
209562005-02-09 Joel Brobecker <brobecker@adacore.com>
20957
20958 * gdb.base/start.c: New file.
20959 * gdb.base/start.exp: New testcase.
20960
e292e67d
JB
209612005-02-09 Joel Brobecker <brobecker@adacore.com>
20962
20963 * gdb.ada/start/dummy.adb: New file.
20964 * gdb.ada/start.exp: New testcase.
20965
dbdfa66c
CV
209662005-02-09 Corinna Vinschen <vinschen@redhat.com>
20967
20968 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
20969 for printing symbols and statistics.
20970 Add test for using relative pathnames in "maint print msymbols" test.
20971 Mark "maint info sections DATA" XFAIL on Cygwin.
20972 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
20973 tests.
20974
d7941671
AC
209752005-02-09 Andreas Schwab <schwab@suse.de>
20976
20977 Committed by Andrew Cagney <cagney@gnu.org>
20978 * gdb.base/remotetimeout.exp: New file.
20979
74e5ef44
MK
209802005-02-07 Mark Kettenis <kettenis@gnu.org>
20981
20982 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
20983
464dd14d
JB
209842005-02-03 Joel Brobecker <brobecker@adacore.com>
20985
20986 * gdb.ada/gnat_ada.gpr: New file.
20987 * gdb.ada/gnat_ada.gin: Delete, no longer used.
20988 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
20989 * configure.ac: No longer generate gnat_ada.gpr.
20990 * configure: Regenerate.
20991 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
20992 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
20993 * gdb.ada/null_record/bar.ads: Likewise.
20994 * gdb.ada/null_record/bar.adb: Likewise.
20995 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
20996 * gdb.ada/null_record.exp (testdir): New variable.
20997 (testfile): executable is now in testdir subdirectory.
20998 (srcfile): Use full path to the main compilation unit.
20999 * gdb.ada/fixed_points.exp: Same changes as above.
21000
30d756ae
NR
210012005-02-03 Nick Roberts <nickrob@snap.net.nz>
21002
21003 * gdb.base/interp.exp: New test.
21004
9d799f85
AC
210052005-01-24 Andrew Cagney <cagney@gnu.org>
21006
21007 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
21008
15656118
AC
210092005-01-19 Andrew Cagney <cagney@gnu.org>
21010
a892c31b
AC
21011 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
21012 configure.ac not configure.in.
21013
15656118
AC
21014 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
21015 of powerpc*-*-*.
21016 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 21017 * gdb.base/list.exp (test_list_function)
15656118
AC
21018 (test_list_filename_and_function): Ditto.
21019 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
21020
a7b01baf
AC
210212005-01-16 Andrew Cagney <cagney@gnu.org>
21022
17d92a02
AC
21023 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
21024
a7b01baf
AC
21025 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
21026
bc8332bb
AC
210272005-01-14 Andrew Cagney <cagney@gnu.org>
21028
21029 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
21030 * gdb.mi/mi2-var-cmd.exp: Ditto.
21031
4d074752
CV
210322005-01-10 Corinna Vinschen <vinschen@redhat.com>
21033
21034 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
21035
bec39cab
AC
210362005-01-07 Andrew Cagney <cagney@gnu.org>
21037
21038 * configure.ac: Rename configure.in, require autoconf 2.59.
21039 * configure: Re-generate.
21040 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
21041 * gdb.stabs/configure: Re-generate.
21042 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
21043 * gdb.hp/configure: Re-generate.
21044 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
21045 autoconf 2.59.
21046 * gdb.hp/gdb.objdbg/configure: Re-generate.
21047 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
21048 autoconf 2.59.
21049 * gdb.hp/gdb.defects/configure: Re-generate.
21050 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
21051 autoconf 2.59.
21052 * gdb.hp/gdb.compat/configure: Re-generate.
21053 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
21054 autoconf 2.59.
21055 * gdb.hp/gdb.base-hp/configure: Re-generate.
21056 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
21057 autoconf 2.59.
21058 * gdb.hp/gdb.aCC/configure: Re-generate.
21059
f10b16d4
JB
210602004-12-15 Jim Blandy <jimb@redhat.com>
21061
21062 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
21063 under NPTL when there is debugging info available for libpthread.
21064
fb6e1814
JG
210652004-12-13 Jerome Guitton <guitton@gnat.com>
21066
21067 * gdb.ada/fixed_points.c: New file.
21068 * gdb.ada/fixed_points.exp: New file.
21069
fe46cd3a
RC
210702004-12-03 Randolph Chung <tausq@debian.org>
21071
21072 * gdb.arch/pa-nullify.exp: New file.
21073 * gdb.arch/pa-nullify.s: New file.
21074
8de0841b
RC
210752004-11-30 Randolph Chung <tausq@debian.org>
21076
21077 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
21078 instead of "tbug". Fix regexp to work properly with gdb_test.
21079
c8170782
PH
210802004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
21081
21082 * gdb.base/bitfields2.exp: New test.
21083 * gdb.base/bitfields2.c: New file.
21084
954269c2
RE
210852004-11-28 Richard Earnshaw <rearnsha@arm.com>
21086
21087 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
21088
0107feed
RC
210892004-11-16 Randolph Chung <tausq@debian.org>
21090
21091 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
21092
f073ae8c
DJ
210932004-11-14 Daniel Jacobowitz <dan@debian.org>
21094
21095 * gdb.threads/threadapply.exp: Correct "macro details" test.
21096
19ad59e7
JJ
210972004-11-11 Jeff Johnston <jjohnstn@redhat.com>
21098
21099 * gdb.threads/threadapply.exp: New test.
21100 * gdb.threads/threadapply.c: New file.
21101
9cf0961b
MK
211022004-11-07 Mark Kettenis <kettenis@gnu.org>
21103
21104 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
21105 frames.
21106
c789492a
FL
211072004-11-05 Felix Lee <felix+log1@specifixinc.com>
21108
21109 * gdb.base/cursal.exp: New file.
21110 * gdb.base/cursal.c: New file.
21111
a1e167bb
AC
211122004-11-03 Andrew Cagney <cagney@gnu.org>
21113
21114 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
21115
b7cbf173
MK
211162004-10-30 Mark Kettenis <kettenis@gnu.org>
21117
21118 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
21119 NetBSD/ELF targets.
21120
88f9d34f
JB
211212004-10-29 Joel Brobecker <brobecker@gnat.com>
21122
21123 * gdb.threads/bp_in_thread.c: New file, copied from
21124 pthread_cond_wait.c.
21125 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
21126 file, rather than reusing the .c file from another testcase.
21127
ca7d6a0c
JB
211282004-10-20 Joel Brobecker <brobecker@gnat.com>
21129
21130 * gdb.ada/null_record.exp: Check where we stopped after
21131 sending the start command, instead of where the associated
21132 temporary breakpoint was inserted.
21133
0d863d03
AC
211342004-10-14 Andrew Cagney <cagney@gnu.org>
21135
21136 * gdb.mi/gdb701.c (main): Return 0.
21137
d11e72cb
DJ
211382004-10-13 Daniel Jacobowitz <dan@debian.org>
21139
d40539a4 21140 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 21141
e1923096
JJ
211422004-10-12 Jeff Johnston <jjohnstn@redhat.com>
21143
21144 * gdb.threads/schedlock.c: Add comment markers to use to find
21145 line numbers.
21146 * gdb.threads/schedlock.exp: Adjust regex to handle the new
21147 comments.
21148 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
21149 breakpoint lines.
21150
ec8ba2c9
DJ
211512004-10-12 Daniel Jacobowitz <dan@debian.org>
21152
21153 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
21154
0eb3658b
DJ
211552004-10-12 Daniel Jacobowitz <dan@debian.org>
21156
21157 * configure.in: Add gdb.dwarf2.
21158 * configure: Regenerated.
21159 * Makefile.in: Add gdb.dwarf2.
21160 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
21161 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
21162 gdb.dwarf2/file1.txt: New files.
21163
a271cc33
OF
211642004-10-11 Orjan Friberg <orjanf@axis.com>
21165
a9c64011 21166 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
21167 of "run", since the latter doesn't work with remote targets. Adjust
21168 the breakpoint numbering accordingly.
21169 * gdb.threads/pthread_cond_wait.exp: Ditto.
21170
895ce074
MC
211712004-10-08 Michael Chastain <mec.gnu@mindspring.com>
21172
21173 * gdb.base/overlays.exp: Update copyright years.
21174
6be3092d
KI
211752004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
21176
21177 * gdb.base/overlays.exp: Disable if target is Linux.
21178
e05389b8
FL
211792004-10-06 Felix Lee <felix+log1@specifixinc.com>
21180
21181 * config/gdbserver.exp (gdb_load): Use right filename on remote.
21182
73cb587d
KI
211832004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
21184
21185 * gdb.asm/asm-source.exp: Add m32r-linux target.
21186 * gdb.asm/m32r-linux.inc: New file.
21187
3c0edcdc
AC
211882004-09-24 Andrew Cagney <cagney@redhat.com>
21189 David Anderson <anderson@redhat.com>
21190
21191 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
21192 command fails, assume things will work.
21193 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
21194 (_GNU_SOURCE): Define.
21195 (print_unsigned, print_hex): Change parameter to "long long".
21196 (print_byte_count): New function, use to print byte counts.
21197 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
21198 O_LARGEFILE.
21199 (main): Compute an upper bound on a corefile in max_core_size.
21200 Limit memory chunk size to max_core_size. Limit total memory
21201 allocated to max_core_size.
21202
4bb3667f
AC
212032004-09-23 Andrew Cagney <cagney@gnu.org>
21204
21205 * gdb.base/bigcore.exp: Replace the code that creates a corefile
21206 from a separate process with code that creates a corefile by
21207 making the inferior dump core.
21208
60fe1a51
MK
212092004-09-23 Mark Kettenis <kettenis@gnu.org>
21210
21211 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
21212 block.
21213
8e937346
MC
212142004-09-23 Michael Chastain <mec.gnu@mindspring.com>
21215
21216 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
21217 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
21218 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
21219 Likewise.
21220
7213f6d6
JJ
212212004-09-20 Jeff Johnston <jjohnstn@redhat.com>
21222
21223 * gdb.java/jprint.exp: New test case for java inferior call.
21224 * gdb.java/jprint.java: Ditto.
21225
eac69dca
JB
212262004-09-15 Joel Brobecker <brobecker@gnat.com>
21227
21228 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
21229
22227696
MC
212302004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21231
21232 * gdb.threads/killed.c: Include <stdlib.h>.
21233 * gdb.threads/pthreads.c: Likewise.
21234
7dd403a4
MC
212352004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21236
21237 * gdb.threads/killed.c: Add copyright notice.
21238
33f2d567
JM
212392004-09-10 Jason Molenda (jmolenda@apple.com)
21240
a9c64011
AS
21241 * gdb.base/define.exp: Two new tests to verify zero space chars
21242 after 'if' and 'while' commands in a user-defined command is correctly
21243 parsed.
33f2d567 21244
e05b62ac
AC
212452004-09-08 Andrew Cagney <cagney@gnu.org>
21246
21247 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
21248 delivery test with duplicate at end of file.
21249
9cbe82da
MK
212502004-09-06 Mark Kettenis <kettenis@jive.nl>
21251
21252 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
21253
564803d9
MC
212542004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21255
21256 * config/hppro.exp: Removed.
21257
7c6807ce
MC
212582004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21259
21260 * config/sparclet.exp: Removed.
21261
bf7e26dd
MC
212622004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21263
21264 * config/udi.exp: Removed.
21265
714e341b
MC
212662004-09-02 Michael Chastain <mec.gnu@mindspring.com>
21267
21268 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
21269 of "exp_continue".
21270 (advancei): Likewise.
21271
1236e623
JJ
212722004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21273
21274 * gdb.base/unload.exp: Fix so messages aren't duplicated.
21275
3bdcad15
MI
212762004-09-01 Manoj Iyer <manjo@austin.ibm.com>
21277
228af206 21278 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
21279 to check for nodebug in executable.
21280 * gdb.gdb/observer.exp (setup_test): Likewise.
21281 * gdb.gdb/selftest.exp (test_with_self): Likewise.
21282 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
21283
c72b934c
AC
212842004-09-01 Andrew Cagney <cagney@gnu.org>
21285
21286 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21287 files.
21288
edd9b715
JJ
212892004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21290
21291 * gdb.base/unload.exp: Fix expected warning message to match
21292 latest format.
21293
fb4ce06b
CV
212942004-09-01 Corinna Vinschen <vinschen@redhat.com>
21295
21296 * gdb.base/call-rt-st.exp: Fix typos.
21297
ce78e7c3
MI
212982004-08-31 Manoj Iyer <manjo@austin.ibm.com>
21299
21300 * gdb.threads/thread_check.exp: New testcase.
21301 * gdb.threads/thread_check.c: New testcase.
21302
2dedb159
AC
213032004-08-31 Andrew Cagney <cagney@gnu.org>
21304
21305 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
21306 (skip_to_handler_entry): New procedures. Test stepping into a
21307 handler when the breakpoint is at the handler's entry point.
21308
68f53502
AC
213092004-08-30 Andrew Cagney <cagney@gnu.org>
21310
21311 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
21312 gdb/1757.
21313
3e3ffd2b
MC
213142004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21315
21316 With code from Manoj Iyer <manjo@austin.ibm.com>:
21317 * lib/gdb.exp (gdb_file_cmd): Return more information in the
21318 return value. Add an arm for "no debugging symbols found".
21319 Change a stray "error" to "perror".
21320 (gdb_run_cmd): Adapt to new return value.
21321 * gdb.base/remote.exp: Adapt to new return value.
21322 * gdb.gdb/complaints.exp: Likewise.
21323 * gdb.gdb/observer.exp: Likewise.
21324 * gdb.gdb/selftest.exp: Likewise.
21325 * gdb.gdb/xfullpath.exp: Likewise.
21326
4b6f5fd2
JB
213272004-08-27 Joel Brobecker <brobecker@gnat.com>
21328
21329 * gdb.threads/bp_in_thread.exp: New testcase.
21330
e5b25496
MC
213312004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21332
21333 Fix PR testsuite/1735.
21334 * gdb.threads/schedlock.c (thread_function): Add a cast
21335 to suppress a gcc warning.
21336 * gdb.threads/thread-specific.c (thread_function): Likewise.
21337
934353d6
MC
213382004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21339
21340 * gdb.base/unload.c: Include <stdlib.h>.
21341
f98a0aef 213422004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 21343
f98a0aef 21344 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
21345 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
21346 synchronized after the "return".
21347
5a2e8882
MC
213482004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21349
21350 * gdb.mi/basics.c: Include <stdio.h>.
21351 * gdb.mi/pthreads.c: Include <stdlib.h>.
21352 * gdb.mi/var-cmd.c: Include <stdlib.h>.
21353
a9640423
MC
213542004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21355
21356 * gdb.threads/schedlock.c: Add copyright notice.
21357
b04e311d
AC
213582004-08-25 Andrew Cagney <cagney@gnu.org>
21359
21360 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
21361 (skip_over_handler, breakpoint_over_hander): New test procedures.
21362 (advance, advancei): Add a proper prefix, do not use
21363 rerun_to_main.
21364 * gdb.base/sigstep.c (main): Change to use an infinite loop.
21365
7c27f15b
MC
213662004-08-24 Michael Chastain <mec.gnu@mindspring.com>
21367
21368 * gdb.mi/basics.c: Add copyright notice.
21369 * gdb.mi/var-cmd.c: Add copyright notice.
21370
fffc87ae
MC
213712004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21372
21373 * lib/gdb.exp: Remove signed_keyword_not_used.
21374 * lib/compiler.c: Likewise.
21375 * lib/compiler.cc: Likewise.
21376
d782e0bf
MC
213772004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21378
21379 * gdb.base/whatis.c: Remove conditional disabling of "signed".
21380 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
21381
96033e83
MC
213822004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21383
21384 * gdb.base/whatis.c: Add copyright notice.
21385
cf38c229
MK
213862004-08-20 Mark Kettenis <kettenis@gnu.org>
21387
21388 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
21389 it to skip the breakpoints encoded in the inline assembly.
21390
f4b49756
MC
213912004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21392
21393 * Makefile.in: Add gdb.fortran.
21394
2f193b69
MC
213952004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21396
21397 * gdb.base/call-sc.exp (test_scalar_returns):
21398 Fix cut-and-paste glitch in "Make fun return now".
21399
89a237cb
MC
214002004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21401
21402 * configure.in: Add gdb.fortran.
21403 * configure: Regenerate.
21404 * gdb.fortran/Makefile.in: New file.
21405 * lib/gdb.exp (skip_fortran_tests): New procedure.
21406
469aff8e
MC
214072004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21408
21409 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
21410 reference to bug-gnu@prep.ai.mit.edu.
21411 * gdb.mi/mi-var-child.exp: Likewise.
21412 * gdb.mi/mi-var-cmd.exp: Likewise.
21413 * gdb.mi/mi-var-display.exp: Likewise.
21414 * gdb.mi/mi2-var-block.exp: Likewise.
21415 * gdb.mi/mi2-var-child.exp: Likewise.
21416 * gdb.mi/mi2-var-cmd.exp: Likewise.
21417 * gdb.mi/mi2-var-display.exp: Likewise.
21418
00b51b9f
MK
214192004-08-15 Mark Kettenis <kettenis@gnu.org>
21420
21421 * gdb.base/unload.c (main): Make local variable msg const.
21422
45f07fef
MC
214232004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21424
21425 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
21426 to bug-gnu@prep.ai.mit.edu.
21427 * gdb.mi/mi-disassemble.exp: Likewise.
21428 * gdb.mi/mi-eval.exp: Likewise.
21429 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
21430 default line number.
21431 * gdb.mi/mi-return.exp: Likewise.
21432 * gdb.mi/mi-simplerun.exp: Likewise.
21433 * gdb.mi/mi-stack.exp: Likewise.
21434 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
21435 number with explicit range test.
21436 * gdb.mi/mi-watch.exp: Likewise.
21437 * gdb.mi/mi2-break.exp: Likewise.
21438 * gdb.mi/mi2-cli.exp: Likewise.
21439 * gdb.mi/mi2-disassemble.exp: Likewise.
21440 * gdb.mi/mi2-eval.exp: Likewise.
21441 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
21442 default line number.
21443 * gdb.mi/mi2-return.exp: Likewise.
21444 * gdb.mi/mi2-simplerun.exp: Likewise.
21445 * gdb.mi/mi2-stack.exp: Likewise.
21446 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
21447 number with explicit range test.
21448 * gdb.mi/mi2-watch.exp: Likewise.
21449
dd8c8ee7
MC
214502004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21451
21452 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
21453 * gdb.cp/m-static.exp: Likewise.
21454 * gdb.cp/rtti.exp: Likewise.
21455
4e838464
MK
214562004-08-14 Mark Kettenis <kettenis@gnu.org>
21457
21458 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
21459
8d8cb839
EZ
214602004-08-14 Eli Zaretskii <eliz@gnu.org>
21461
21462 * ChangeLog: Prefix Local Variables with semi-colons and indent
21463 the reference to older ChangeLog files, to fix fontification in
21464 Emacs.
21465
deea8bb0
MC
214662004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21467
21468 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
21469 * gdb.mi/mi2-break.exp: Likewise.
21470
c3297504
MC
214712004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21472
21473 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
21474
25808999
MC
214752004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21476
21477 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
21478
226a8d71
MC
214792004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21480
21481 * gdb.cp/classes.exp: Remove unused declarations. Just let
21482 test names default instead of providing special names. Remove
21483 extraneous demangler test.
21484
37fdf854
JJ
214852004-08-12 Jeff Johnston <jjohnstn@redhat.com>
21486
21487 * gdb.base/unload.exp: New test for breakpoints in dynamically
21488 loaded libraries.
21489 * gdb.base/unload.c: Ditto.
21490 * gdb.base/unloadshr.c: Ditto.
21491
2d3a7986
MC
214922004-08-12 Michael Chastain <mec.gnu@mindspring.com>
21493
21494 * gdb.cp/classes.exp (test_ptype_class_objects): Call
21495 cp_test_ptype_class.
21496 (test_enums): Likewise.
21497
c72b934c
AC
214982004-08-10 Andrew Cagney <cagney@gnu.org>
21499
21500 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21501 files.
21502
cc503c8a
AC
215032004-08-10 Andrew Cagney <cagney@gnu.org>
21504
21505 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
21506 init_malloc call.
21507
902f2ccb
MC
215082004-08-10 Michael Chastain <mec.gnu@mindspring.com>
21509
21510 * ChangeLog: Add copyright notice. The notice is copied
21511 from emacs 21.3 top level ChangeLog.
21512
78c90502
MC
215132004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21514
21515 * lib/cp-support.exp: New file.
21516 * lib/cp-support.exp (cp_test_type_class): New function.
21517 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
21518 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
21519 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
21520 cp_test_ptype_class.
21521
88e5ea78
MC
215222004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21523
21524 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
21525 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
21526 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
21527 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
21528 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
21529 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
21530 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
21531 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
21532 gdb.mi/mi2-watch.exp: Update copyright years.
21533
6a89fc9c
MK
215342004-08-09 Mark Kettenis <kettenis@gnu.org>
21535
21536 * gdb.base/sigaltstack.exp: Provide proper anchoring.
21537
1482e0de
MC
215382004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21539
21540 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
21541 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
21542 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
21543 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
21544 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
21545 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
21546 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
21547 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
21548 gdb.mi/mi-watch.exp: Update copyright years.
21549
1a5ce3f3
DJ
215502004-08-08 Daniel Jacobowitz <dan@debian.org>
21551
21552 PR gdb/1738
21553 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
21554 from a breakpoint with a pending signal.
21555
04f6ecf2
DJ
215562004-08-08 Daniel Jacobowitz <dan@debian.org>
21557
21558 PR gdb/1736
21559 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
21560 * gdb.base/sigaltstack.exp (finish_test): Consume output until
21561 the prompt.
21562 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
21563
54d90d35
DJ
215642004-08-08 Daniel Jacobowitz <dan@debian.org>
21565
21566 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
21567
d2f6abb0
DJ
215682004-08-08 Daniel Jacobowitz <dan@debian.org>
21569
21570 PR gdb/1736
21571 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
21572 for i?86-*-linux*.
21573
5598c03d
DJ
215742004-08-08 Daniel Jacobowitz <dan@debian.org>
21575
21576 * gdb.arch/i386-prologue.exp: Compile without debug information.
21577
c6fee705
MC
215782004-08-08 Michael Chastain <mec.gnu@mindspring.com>
21579
21580 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
21581 rather than asking gdb to search.
21582
dd90efdb
MC
215832004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21584
21585 * gdb.base/gcore.c: Include <string.h>.
21586
1e84bec1
MC
215872004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21588
21589 * gdb.base/gcore.c: Add copyright notice.
21590
e425eb2b
MC
215912004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21592
21593 * gdb.base/freebpcmd.c: Include <stdio.h>.
21594 * gdb.base/long_long.c: Include <string.h>.
21595 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
21596 * gdb.base/siginfo.c: Include <string.h>.
21597 * gdb.base/sigstep.c: Include <string.h>.
21598
cb9aaed5
MC
215992004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21600
21601 * gdb.base/complex.c: Include <stdlib.h>.
21602
55944f3d
MC
216032004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21604
21605 * gdb.base/complex.c: Add copyright notice.
21606
7b2953d9
MC
216072004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21608
21609 * gdb.base/charset.c: Include <stdlib.h>.
21610
c9133d23
MC
216112004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21612
21613 * gdb.base/auxv.c: Include <stdlib.h>.
21614
0a8490ad
MC
216152004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21616
21617 * gdb.base/auxv.c: Add copyright notice.
21618
3426d5ec
MC
216192004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21620
21621 * gdb.base/coremaker.c: Add copyright notice.
21622 * gdb.base/coremaker2.c: Add copyright notice.
21623
8da195dd
AC
216242004-08-04 Andrew Cagney <cagney@gnu.org>
21625
21626 * gdb.base/store.exp: Update copyright.
21627 (check_set, up_set, check_struct, up_struct): Add a prefix to test
21628 names, do not import gdb_prompt.
21629
8d394f98
AC
216302004-08-01 Andrew Cagney <cagney@gnu.org>
21631
21632 Fix PR testsuite/1729.
21633 * gdb.base/dump.exp: Add test name to callers of capture_value, do
21634 not use capture_value with value 4.
21635 (capture_value): Add optional test name parameter.
21636 (test_reload_saved_value, test_restore_saved_value): Use $msg as
21637 the prefix, pass to capture_value.
21638
b6702b23
MK
216392004-08-01 Mark Kettenis <kettenis@gnu.org>
21640
21641 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
21642 * gdb.arch/i386-prologue.c (standard): New prototype and function.
21643 (main): Call new function.
21644
c203e0ca
MC
216452004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21646
21647 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
21648
a7995a30
MC
216492004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21650
21651 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
21652
9366563b
MC
216532004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21654
b6eeaf26 21655 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
21656 Accept more values of vtbl pointer. Remove some messages
21657 about "obsolete gcc or gdb".
21658
2fc1f950
MC
216592004-07-30 Michael Chastain <mec.gnu@mindspring.com>
21660
21661 * gdb.cp/classes.exp: Accept more varieties of ptype output.
21662
c724d49b
MC
216632004-07-30 Michael Chastain <mec.gnu@mindspring.com>
21664
21665 * gdb.base/asm-source.exp: Properly convert target board
21666 debug flags from gcc format to binutils format.
21667
736b0fce
MK
216682004-07-28 Mark Kettenis <kettenis@gnu.org>
21669
21670 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
21671 gdb1718". PR backtrace/1718 partially fixed.
21672
5633ea5c
JJ
216732004-07-27 Jeff Johnston <jjohnstn@redhat.com>
21674
21675 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
21676
575eebb1
NC
216772004-07-26 Nick Clifton <nickc@redhat.com>
21678
21679 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
21680 good default value for a specific architecture is available then
21681 set it to that value. Otherwise default to the -gstabs switch.
21682 Remove the -g... switches from the asm-flags variable. Allow the
21683 target board info to override the value if it wants to. Pass the
21684 switch on the assembler command line.
21685
62104619
MK
216862004-07-23 Mark Kettenis <kettenis@gnu.org>
21687
21688 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
21689 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
21690 (main): Call new function.
21691
4a1135b8
MC
216922004-07-22 Michael Chastain <mec.gnu@mindspring.com>
21693
21694 Test for PR exp/1715.
21695 * gdb.base/radix.exp: Refactor common procedures. Make all
21696 test names unique. Change XFAIL to KFAIL.
21697
8a12c1f0
MC
216982004-07-20 Michael Chastain <mec.gnu@mindspring.com>
21699
21700 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
21701 * gdb.ada/gnat_ada.gin: ... to here.
21702 * configure.in: Use gnat_ada.gin.
21703 * configure: Regenerate.
21704
23b451cf
AC
217052004-07-20 Andrew Cagney <cagney@gnu.org>
21706
21707 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
21708 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
21709 XFAILs. Clean up test messages and comments. Check backtraces.
21710 Delete re-sync code.
21711
ab618a02
MC
217122004-07-19 Michael Chastain <mec.gnu@mindspring.com>
21713
21714 Fix PR cli/740.
21715 * gdb.base/annota1.exp: Honor gdb,nosignals.
21716 * gdb.base/annota3.exp: Likewise.
21717
46dad340
MC
217182004-07-19 Michael Chastain <mec.gnu@mindspring.com>
21719
21720 * lib/java.exp: Update copyright notice.
21721
756d8c70
AC
217222004-07-19 Andrew Cagney <cagney@gnu.org>
21723
21724 * gdb.base/selftest.exp: Copy file from here ...
21725 * gdb.gdb/selftest.exp: ... to here.
21726
586027e6
AC
217272004-07-16 Andrew Cagney <cagney@redhat.com>
21728
21729 * lib/insight-support.exp: Delete file.
21730 * lib/java.exp (java_init): Fix copyright.
21731
029d2200
AC
217322004-07-16 Andrew Cagney <cagney@gnu.org>
21733
21734 * gdb.base/restore.c: Append "prologue" to comments marking the a
21735 function's prologue.
21736 * gdb.base/restore.exp: Update copyright, re-indent.
21737 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
21738 callerN" prefix where needed. Update patterns that match a
21739 function's prologue.
21740
653b62c5
MC
217412004-07-16 Michael Chastain <mec.gnu@mindspring.com>
21742
21743 * gdb.base/restore.c: Add copyright notice.
21744
f7d690e5
AC
217452004-07-16 Andrew Cagney <cagney@gnu.org>
21746
21747 * gdb.base/logical.exp: Update copyright.
21748 (evaluate): New procedure. Use to re-implement tests using
21749 several tables.
21750
d629a7cb
MH
217512004-07-14 Martin Hunt <hunt@redhat.com>
21752
21753 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
21754 which fixes some problems where init.tcl was not found.
21755
9c7bb332
AC
217562004-07-13 Andrew Cagney <cagney@gnu.org>
21757
6bf46641
AC
21758 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
21759 (check_sizeof, check_valueof): Do not include the output in the
21760 test name. Use gdb_test.
21761 (get_valueof): Use gdb_test_multiple.
21762
c4ffd4c0
AC
21763 * gdb.base/step-test.exp: Update copyright. Use
21764 gdb_test_multiple. Ensure that test names do not include
21765 architecture dependent output.
21766
ab89363a
AC
21767 * gdb.gdb/observer.exp: Update copyright.
21768 (setup_test): Use gdb_test_multiple.
21769 (attach_first_observer, attach_second_observer)
21770 (attach_third_observer, detach_first_observer)
21771 (detach_second_observer, detach_third_observer)
21772 (reset_counters, check_counters): Make $message a prefix.
21773 (test_normal_stop_notifications): Add "args" parameter - a list of
21774 init functions to be called. Make $message a prefix,
21775 (test_observer_normal_stop): Change the message prefixes so that
21776 they are unique, pass the attach / detach procedures to
21777 test_normal_stop_notifications.
21778
ec58997a
AC
21779 * gdb.base/signull.exp (test_segv): Prefix all tests with
21780 "${name}". Clean up test messages.
21781
b475183b
AC
21782 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
21783
9c7bb332
AC
21784 * gdb.base/ena-dis-br.exp: Update copyright.
21785 (break_at): New function. Replace send_gdb with gdb_test,
21786 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
21787 ignore count, not stopped at bpt", with KFAIL.
21788
2dd95497
CV
217892004-07-13 Corinna Vinschen <vinschen@redhat.com>
21790
21791 * gdb.base/attach.exp: Remove cleanupfile handling.
21792
419e626b
AC
217932004-07-12 Andrew Cagney <cagney@gnu.org>
21794
21795 * gdb.base/annota1.exp: Cleanup corefile test name.
21796 * gdb.base/annota3.exp: Ditto.
21797
8b1b3228
AC
217982004-07-12 Andrew Cagney <cagney@gnu.org>
21799
78650829
AC
21800 * gdb.base/signals.exp: Clean up copyright, re-indent.
21801
8b1b3228
AC
21802 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
21803 gdb_test and gdb_test_multiple.
21804
935c2760
JJ
218052004-07-08 Jeff Johnston <jjohnstn@redhat.com>
21806
21807 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 21808 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
21809 provide line number info for first statement in main.
21810
1544280f
AC
218112004-07-08 Andrew Cagney <cagney@gnu.org>
21812
1279f4ff
AC
21813 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
21814
1544280f
AC
21815 * gdb.base/sigbpt.exp: Make the common part of each test name a
21816 prefix instead of suffix.
21817
bcc82369
BR
218182004-07-07 Bob Rossi <bob_rossi@cox.net>
21819
21820 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
21821 test from test_tbreak_creation_and_listing to
21822 test_file_list_exec_source_file
21823 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
21824 Changed name of test from test_tbreak_creation_and_listing to
21825 test_file_list_exec_source_file
21826
23f4b0aa
JJ
218272004-07-07 Jeff Johnston <jjohnstn@redhat.com>
21828
21829 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
21830 the jmisc() constructor instead of <init>.
21831 * gdb.java/jmisc1.exp: Ditto.
21832
56401cd5
AC
218332004-07-07 Andrew Cagney <cagney@gnu.org>
21834
21835 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
21836 corrupting the PC.
21837
44ae2f6a
MC
218382004-07-06 Michael Chastain <mec.gnu@mindspring.com>
21839
21840 * gdb.cp/templates.exp: Accept whitespace change in demangler
21841 output.
21842
45a83408
AC
218432004-07-06 Andrew Cagney <cagney@gnu.org>
21844
21845 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
21846
d205ad70
MC
218472004-07-02 Michael Chastain <mec.gnu@mindspring.com>
21848
21849 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
21850 * lib/compiler.cc: Likewise.
21851
06ea1a61
MC
218522004-06-30 Michael Chastain <mec.gnu@mindspring.com>
21853
21854 * lib/compiler.cc: Work around string preprocessing problem
21855 with old hp c++ compiler.
21856 * lib/compiler.c: Likewise.
21857
daab1251
CV
218582004-06-29 Corinna Vinschen <vinschen@redhat.com>
21859
21860 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
21861 directives to conditionalize symbol prefixing.
21862 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
21863 additional_flags handling. Add underscore prefix for Cygwin.
21864 * gdb.arch/i386-unwind.c: Use preprocessor directives to
21865 conditionalize symbol prefixing.
21866 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
21867 additional_flags handling. Add underscore prefix for Cygwin.
21868
cc984116
CV
218692004-06-29 Corinna Vinschen <vinschen@redhat.com>
21870
21871 * gdb.base/bigcore.exp: Skip test on Cygwin.
21872
c279b077
MC
218732004-06-28 Michael Chastain <mec.gnu@mindspring.com>
21874
21875 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
21876 formats for "info register". Use gdb_test_multiple. Fix
21877 the "invalid register" test.
21878
0e915747
CV
218792004-06-28 Corinna Vinschen <vinschen@redhat.com>
21880
21881 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
21882 PID for Cygwin. Add Cygwin specific strings to check for in some
21883 tests.
21884 (do_attach_tests): Add a test for user interaction when attaching
21885 to a process with no matching symbol table already loaded.
21886
11422c86
AC
218872004-06-26 Andrew Cagney <cagney@gnu.org>
21888
21889 Test PR java/1567 and PR java/1565.
21890 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
21891 * gdb.java/jmisc2.exp: Delete file.
21892
cefbce26
MC
218932004-06-26 Michael Chastain <mec.gnu@mindspring.com>
21894
21895 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
21896
e19f872c
CV
218972004-06-25 Corinna Vinschen <vinschen@redhat.com>
21898
21899 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
21900 attach process.
21901
d931ba3b
MC
219022004-06-23 Michael Chastain <mec.gnu@mindspring.com>
21903
21904 * gdb.cp/pr-1553.exp: Remove.
21905
aef68c48
MC
219062004-06-22 Michael Chastain <mec.gnu@mindspring.com>
21907
21908 * gdb.cp/pr-1553.cc: Remove.
21909 * gdb.cp/pr-1553.exp: Disable this test.
21910
8d5df71a
JB
219112004-06-20 Jim Blandy <jimb@redhat.com>
21912
a9c64011 21913 Fix PR testsuite/1680.
8d5df71a
JB
21914 * gdb.arch/i386-sse.exp: Properly quote curly braces in
21915 regular expressions.
21916
4ac6f39d
MC
219172004-06-19 Michael Chastain <mec.gnu@mindspring.com>
21918
21919 Fix PR testsuite/1679.
21920 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
21921 Issue an UNSUPPORTED result instead.
21922
1b413552
JB
219232004-06-18 Jim Blandy <jimb@redhat.com>
21924
21925 * gdb.base/charset.exp: Only send a control-C if we see a new
21926 prompt and incomplete command.
21927
6daa6ebd
MC
219282004-06-18 Michael Chastain <mec.gnu@mindspring.com>
21929
21930 * gdb.cp/pr-574.cc: Add copyright notice.
21931
51fa4ae0
JB
219322004-06-17 Jim Blandy <jimb@redhat.com>
21933
21934 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
21935 cases where the regexp has no groups; this grabs random text from
21936 the previous test suite, whatever that was.
21937
8fea26c5
MC
219382004-06-17 Michael Chastain <mec.gnu@mindspring.com>
21939
21940 * gdb.cp/printmethod.cc: Add copyright notice.
21941
1e3aeb41
MC
219422004-06-16 Michael Chastain <mec.gnu@mindspring.com>
21943
21944 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
21945
9d9030bc
AC
219462004-06-16 Andrew Cagney <cagney@gnu.org>
21947
21948 * gdb.base/signull.c: Update copyright. Include <string.h>.
21949 (bowler): Replace data_pointer with data_read
21950 and data_write cases. Add code_descriptor case.
21951 (zero, desc): New array and pointer.
21952 (data, code): Change to simple pointers.
21953 * gdb.base/signull.exp: Fix probe pattern matching a function
21954 descriptor SIGSEGV. Replace data_pointer with data_read and
21955 data_write tests.
21956
acd4ad44
AC
219572004-06-16 Andrew Cagney <cagney@gnu.org>
21958
21959 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
21960
08fd625c
MC
219612004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21962
21963 * gdb.base/long_long.c: Add copyright notice.
21964
1903502c
MC
219652004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21966
21967 * gdb.base/long_long.exp: Remove reference to
21968 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
21969 to gdb_breakpoint and gdb_continue_to_breakpoint.
21970
83313cb1
JB
219712004-06-14 Jim Blandy <jimb@redhat.com>
21972
21973 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
21974 endian case.
21975
1bf404ef
AC
219762004-06-14 Andrew Cagney <cagney@gnu.org>
21977
21978 * gdb.base/gcore.exp (capture_command_output): Delete the always
21979 passing tests containing inferior values.
21980 * gdb.base/ending-run.exp: Do not include the breakpoint address
21981 in the test message. Update copyright.
21982 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
21983 size in the test name, use gdb_test_multiple. Update copyright.
21984
ef220b33
MC
219852004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21986
21987 * gdb.cp/ref-types.cc: Add copyright notice.
21988
4f70a4c9
MC
219892004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21990
21991 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
21992 hp_aCC_compiler.
21993 * lib/compiler.cc: Likewise.
21994 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
21995 'set' commands. Log diagnostics for other lines. Set
21996 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
21997
335928ac
MC
219982004-06-13 Michael Chastain <mec.gnu@mindspring.com>
21999
22000 * gdb.cp/try_catch.cc: Add copyright notice.
22001
2efb12e8
MC
220022004-06-12 Michael Chastain <mec.gnu@mindspring.com>
22003
22004 * gdb.cp/userdef.cc: Add copyright notice.
22005
0bbed51a
MC
220062004-06-11 Michael Chastain <mec.gnu@mindspring.com>
22007
22008 * gdb.cp/virtfunc.cc: Add copyright notice.
22009
e12a46c9
RC
220102004-06-11 Randolph Chung <tausq@debian.org>
22011
22012 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
22013 problem.
22014
338e05af
AC
220152004-06-10 Andrew Cagney <cagney@gnu.org>
22016
22017 * lib/compiler.cc, lib/compiler.c: Append either
22018 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
22019 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
22020 instead of gcc-3-3.
22021
dc3f10cb
AC
220222004-06-09 Andrew Cagney <cagney@gnu.org>
22023
b4d946af
AC
22024 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
22025 gdb/1455, bug is specific to "long long" and "double".
a9c64011 22026
dc3f10cb
AC
22027 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
22028 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
22029 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
22030 fixed.
22031
b5c0bfa2
AC
220322004-06-09 Andrew Cagney <cagney@gnu.org>
22033
22034 * gdb.base/structs.exp (test_struct_returns): Replace
22035 "return_value_unknown" and "finish_value_unknown" by
22036 "return_value_known" and "finish_value_known". Instead of
22037 "return_value_unknown" iff "finish_value_unknown", check
22038 "return_value_known" implies "finish_value_known".
22039
caeb605f
MH
220402004-06-08 Martin Hunt <hunt@redhat.com>
22041
22042 * gdb.base/float.exp: Add pattern for mips targets.
22043
c892bb64
RC
220442004-06-08 Randolph Chung <tausq@debian.org>
22045
22046 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
22047 message for unknown architectures more clear.
22048
48306d3e
JB
220492004-06-08 Joel Brobecker <brobecker@gnat.com>
22050
22051 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
22052 start the execution of the program.
22053
83ecb59f
JB
220542004-06-07 Jim Blandy <jimb@redhat.com>
22055
22056 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
22057 * gdb.arch/i386-cpuid.h: New helper file.
22058
55264cb4
RC
220592004-06-07 Randolph Chung <tausq@debian.org>
22060
22061 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
22062 has started.
22063
23cadb28
RM
220642004-06-04 Roland McGrath <roland@redhat.com>
22065
22066 Fix PR gdb/1647.
22067 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
22068 differently to be robust to output buffering differences.
22069
51d01eda
MC
220702004-06-04 Michael Chastain <mec.gnu@mindspring.com>
22071
22072 * gdb.threads/pthreads.exp: Update copyright years.
22073 (check_control_c): Change asynchronous 'after' to synchronous.
22074
f4fc3b93
RM
220752004-06-04 Roland McGrath <roland@redhat.com>
22076
22077 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
22078 next gdb prompt.
22079
4013522b
MC
220802004-06-02 Michael Chastain <mec.gnu@mindspring.com>
22081
22082 Fix PR gdb/1636.
22083 * gdb.threads/manythreads.exp: Change asynchronous 'after'
22084 calls to synchronous.
22085
7a8f1e6b
JB
220862004-05-26 Jim Blandy <jimb@redhat.com>
22087
22088 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
22089
81bb3443
RC
220902004-05-24 Randolph Chung <tausq@debian.org>
22091
22092 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
22093 * gdb.asm/pa.inc: New file.
22094
8f5a3103
MK
220952004-05-22 Mark Kettenis <kettenis@gnu.org>
22096
22097 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
22098
734b8fe8 220992004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 22100 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
22101
22102 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
22103 GDB prompt.
22104
725603e1
UW
221052004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22106
f4fc3b93 22107 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
22108 setjmp/longjmp. Use sigaction instead of signal.
22109
8b923272 221102004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 22111 Michael Snyder <msnyder@redhat.com>
8b923272
JB
22112
22113 * gdb.threads/pthread_cond_wait.c: New file.
22114 * gdb.threads/pthread_cond_wait.exp: New testcase.
22115
8bfabb04
AC
221162004-05-13 Andrew Cagney <cagney@redhat.com>
22117
22118 * gdb.base/signull.exp, gdb.base/signull.c: New files.
22119 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
22120
42edda50
AC
221212004-05-11 Andrew Cagney <cagney@redhat.com>
22122
22123 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
22124 fixed but revealed gdb/1639.
22125
d303a6c7
AC
221262004-05-10 Andrew Cagney <cagney@redhat.com>
22127
22128 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
22129 func1" and "next to 2nd alarm", kernel bug avoided.
22130
bf08c2a1
DJ
221312004-05-10 Daniel Jacobowitz <dan@debian.org>
22132
22133 PR external/1568
22134 * gdb.base/bigcore.exp: Check the size of the dumped core file.
22135 XFAIL if it is smaller than bytes_allocated.
22136 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
22137 (main): Make chunks_allocated unsigned. Correct comment.
22138
c0586a34
JB
221392004-05-07 Joel Brobecker <brobecker@gnat.com>
22140
22141 * gdb.arch/powerpc-aix-prologue.c: New file.
22142 * gdb.arch/powerpc-aix-prologue.exp: New file.
22143
f2785d12
JB
221442004-05-07 Jim Blandy <jimb@redhat.com>
22145
22146 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
22147 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
22148
bd7f6e30
JB
221492004-05-06 Joel Brobecker <brobecker@gnat.com>
22150
22151 * gdb.base/sep.exp: No longer setup_kfail when the program was
22152 built with dwarf2.
22153
0a5e7efe
JI
221542004-05-05 Jim Ingham <jingham@apple.com>
22155
22156 * gdb.base/pending.exp: Make sure pending breakpoints
22157 preserve the ignore count.
f4fc3b93 22158
a8958849
MK
221592004-04-27 Jerome Guitton <guitton@gnat.com>
22160
22161 * i386-prologue.exp: Add testcase for jump instruction as first
22162 instruction of the real code.
22163 * i386-prologue.c (jump_at_beginning): New function.
22164
7e103f5b
MK
221652004-04-28 Mark Kettenis <kettenis@gnu.org>
22166
22167 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
22168 x86_64-*-*.
22169
5d38b224
MK
221702004-04-28 Mark Kettenis <kettenis@gnu.org>
22171
22172 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
22173 i*86-*-*.
22174
0ef32fd9
MK
221752004-04-25 Mark Kettenis <kettenis@gnu.org>
22176
22177 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
22178 expression that checks the return type.
22179
71d7dd7c
AC
221802004-04-23 Andrew Cagney <cagney@redhat.com>
22181
22182 * gdb.base/call-sc.exp: New test of scalar call/return values.
22183 * gdb.base/call-sc.c: Ditto.
22184
1e9f977e
JJ
221852004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22186
22187 * gdb.threads/manythreads.c: Reduce thread stack size.
22188
899d9e3a
JJ
221892004-04-23 Jeff Johnston <jjohnstn@redhat.com>
22190
22191 * gdb.threads/manythreads.c: Add copyright notice.
22192
61bcae62
AC
221932004-04-23 Andrew Cagney <cagney@redhat.com>
22194
22195 * gdb.base/siginfo.exp: Better handle step out of signal.
22196 * gdb.base/sigstep.exp: Ditto.
22197
7339a42e 221982004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 22199 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
22200
22201 * gdb.threads/manythreads.c: New testcase.
22202 * gdb.threads/manythreads.exp: Ditto.
22203
5c98409b
JB
222042004-04-22 Jim Blandy <jimb@redhat.com>
22205
22206 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
22207 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
22208
3b611f1a
MC
222092004-04-21 Michael Chastain <mec.gnu@mindspring.com>
22210
22211 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
22212
f0fd9238
AC
222132004-04-21 Andrew Cagney <cagney@redhat.com>
22214
22215 * gdb.base/sigstep.c: New file.
22216 * gdb.base/sigstep.exp: New file.
22217
90990674
JB
222182004-04-16 Joel Brobecker <brobecker@gnat.com>
22219
22220 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
22221 call to observer_notify_normal_stop.
22222
78cef34b
AC
222232004-04-15 Andrew Cagney <cagney@redhat.com>
22224
22225 * gdb.base/siginfo.c: New file.
22226 * gdb.base/siginfo.exp: New file.
22227
d2343407
JB
222282004-04-12 J. Brobecker <brobecker@gnat.com>
22229
22230 * gdb.base/sep.exp: Fix typo in comment.
22231
a2dba3c8
JB
222322004-04-12 J. Brobecker <brobecker@gnat.com>
22233
22234 * gdb.base/sep.c: New file.
22235 * gdb.base/sep-proc.c: New file.
22236 * gdb.base/sep.exp: New testcase.
22237
15f7b60e
MK
222382004-04-09 Mark Kettenis <kettenis@gnu.org>
22239
22240 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
22241 support.
22242
44f4de1a
AC
222432004-04-05 Andrew Cagney <cagney@redhat.com>
22244
22245 * gdb.base/sigaltstack.c: New file.
22246 * gdb.base/sigaltstack.exp: New file.
22247
ef04f396
JB
222482004-04-04 Joel Brobecker <brobecker@gnat.com>
22249
22250 * gdb.base/foll-fork.exp: Update the expected output for
22251 "help set follow-fork-mode", to match a change that was made
22252 to the help of this variable on 2004-01-13.
22253
d40d2c92
JB
222542004-04-01 Joel Brobecker <brobecker@gnat.com>
22255
22256 * lib/ada.exp: Add copyright notice.
22257 * bar.ads: Likewise.
22258 * bar.adb: Likewise.
22259 * null_record.adb: Likewise.
22260 * null_record.exp: Likewise.
22261 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
22262
f86ef5a3
JB
222632004-04-01 Joel Brobecker <brobecker@gnat.com>
22264
22265 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
22266 * configure: Regenerate.
22267
414e70e3
JB
222682004-04-01 Joel Brobecker <brobecker@gnat.com>
22269
22270 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
22271 to build the application. Remove the message printed when in
22272 verbose mode, redundant with the UNSUPPORTED message above.
22273
f0aaee49
JB
222742004-03-31 Joel Brobecker <brobecker@gnat.com>
22275
22276 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
22277 * gdb.ada (null_record.exp): New testcase.
22278
ac81cb54
JB
222792004-03-31 Joel Brobecker <brobecker@gnat.com>
22280
22281 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
22282
854af2f7
JB
222832004-03-31 Joel Brobecker <brobecker@gnat.com>
22284
22285 * gdb.ada: New subdirectory.
22286 * gdb.ada/Makefile.in: New file.
22287 * gdb.ada/gnat_ada.gpr.in: New file.
22288
034cb681
JB
222892004-03-31 Joel Brobecker <brobecker@gnat.com>
22290
22291 * lib/ada.exp: New file.
22292
78a1a894
DJ
222932004-03-24 Daniel Jacobowitz <drow@mvista.com>
22294
22295 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
22296 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
22297
4b2b3b3e
AC
222982004-03-22 Andrew Cagney <cagney@redhat.com>
22299
22300 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
22301 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
22302 Problem identified by Ulrich Weigand.
22303
23c73aa3
DC
223042004-03-17 David Carlton <carlton@kealia.com>
22305
22306 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
22307 PR c++/826.
22308
d63a86f8
RM
223092004-03-16 Roland McGrath <roland@redhat.com>
22310
22311 * gdb.base/auxv.exp: New file.
22312 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
22313
0e02aa50
DC
223142004-03-12 David Carlton <carlton@kealia.com>
22315
22316 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
22317 * gdb.cp/pr-1553.cc: Ditto.
22318 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
22319 pass branch.
22320
c20b71be
MC
223212004-03-12 Michael Chastain <mec.gnu@mindspring.com>
22322
22323 * gdb.cp/templates.exp: Accept more template types.
22324
c7414a01
MC
223252004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22326
22327 From Corinna Vinschen with modifications.
22328 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
22329 local variable obj_with_enum.
22330 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
22331 results with obj_with_enum.
22332
ed69573c
MC
223332004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22334
22335 * gdb.cp/classes.cc: New file, copied from misc.cc.
22336 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
22337
28301461
MC
223382004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22339
22340 * gdb.cp/misc.cc: Add copyright notice.
22341
1198ecbe
DC
223422004-03-05 David Carlton <carlton@kealia.com>
22343
22344 * gdb.cp/rtti.exp: Add 'print *obj3' test.
22345 * gdb.cp/rtti.h: Update copyright.
22346 (namespace n2::n3): New.
22347 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
22348 (n2::n3::func3): New.
22349 (main): Call n2::n3::func3.
22350 * gdb.cp/rtti2.cc: Update copyright.
22351 (n2::create3): New.
22352
9e08c470
MK
223532004-03-04 Mark Kettenis <kettenis@gnu.org>
22354
22355 * gdb.asm/openbsd.inc: Fix typo.
22356
4bebc3aa
FF
223572004-03-03 Fred Fish <fnf@redhat.com>
22358
22359 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
22360 "val" instead of unused "size". Update copyright year.
22361
6ea9fb37
DJ
223622004-02-29 Daniel Jacobowitz <drow@mvista.com>
22363
22364 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
22365 to use unsigned char.
22366 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
22367 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
22368
23b23974
DJ
223692004-02-29 Daniel Jacobowitz <drow@mvista.com>
22370
22371 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
22372 line of output.
22373
7574fd53
DJ
223742004-02-28 Daniel Jacobowitz <drow@mvista.com>
22375
22376 * gdb.base/relocate.c (dummy): Initialize.
22377
a195357f
DJ
223782004-02-28 Daniel Jacobowitz <drow@mvista.com>
22379
22380 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
22381 a breakpoint at exit.
22382
72fd54a9
FF
223832004-02-27 Fred Fish <fnf@redhat.com>
22384
22385 * gdb.base/chng-syms.exp: Add expect condition to match failing
22386 case that isn't a timeout.
22387
b9d23137
AC
223882004-02-27 Andrew Cagney <cagney@redhat.com>
22389
22390 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
22391 support.
22392
15d208f6 223932004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 22394
15d208f6
FF
22395 * gdb.arch/gdb1431.c: Remove.
22396 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
22397 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
22398 of "until" incorrectly.
22399
98f9cd2d
JB
224002004-02-26 J. Brobecker <brobecker@gnat.com>
22401
22402 * gdb.cp/class2.cc (empty): New class.
22403 (refer): New function.
22404 (main): Declare an object of type empty and use it.
22405 * gdb.cp/class2.exp: Print the value of an object of type empty.
22406
9b50c11b
JJ
224072004-02-26 Jeff Johnston <jjohnstn@redhat.com>
22408
22409 * gdb.base/langs.exp: Update query string to match the
22410 new nquery format used for pending breakpoints.
22411
0dcd613f
AC
224122004-02-26 Andrew Cagney <cagney@redhat.com>
22413
22414 Fix PR i18n/1570.
22415 * gdb.base/charset.c: Update copyright notice.
22416 (main, init_string): Remove the escape character '\e' tests.
22417 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
22418 * gdb.base/charset.exp (valid_host_charset): Ditto.
22419 * gdb.base/setvar.exp: Ditto.
22420
b8a56647
AC
224212004-02-24 Andrew Cagney <cagney@redhat.com>
22422
90d59e34
AC
22423 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
22424 mmapped data in core file" PASS and FAIL messages consistent.
22425
b8a56647
AC
22426 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
22427 setting a breakpoint. Work around PR java/1565.
22428
9f27c604
JJ
224292004-02-23 Jeff Johnston <jjohnstn@redhat.com>
22430
22431 * lib/gdb.exp (gdb_breakpoint): Update query string to match
22432 new nquery format.
22433 * gdb.base/pending.exp: Ditto.
22434
3224a706
MK
224352004-02-22 Mark Kettenis <kettenis@gnu.org>
22436
22437 * configure.in: Run stabs tests on *BSD.
22438 * configure: Regenerated.
22439
41e0a9ca
MK
224402004-02-21 Mark Kettenis <kettenis@gnu.org>
22441
22442 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
22443
1e1b3428
FF
224442004-02-20 Fred Fish <fnf@redhat.com>
22445
22446 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
22447 blank in test for "returns short", for consistency with other
22448 "returns xxx" tests. Update copyright year.
22449
f9a7572a
FF
224502004-02-19 Fred Fish <fnf@redhat.com>
22451
22452 New testcase for PR breakpoint/1558.
22453 * gdb.arch/gdb1558.exp: New file.
22454 * gdb.arch/gdb1558.c: New file.
22455
b2ce2854
EZ
224562004-02-19 Elena Zannoni <ezannoni@redhat.com>
22457
22458 * gdb.base/nodebug.exp: Fix typo.
22459
e7c9ff01
JB
224602004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22461
22462 Committed by Jim Blandy <jimb@redhat.com>.
22463
62f4b920
JB
22464 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
22465
2db536a1
JB
22466 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
22467
e7c9ff01
JB
22468 * gdb.base/float.exp: Support s390*-*-* targets.
22469
f3205b34
AF
224702004-02-17 Adam Fedor <fedor@gnu.org>
22471
22472 * gdb.base/gdb1555.exp: New file.
22473 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
22474
9d62932d
EZ
224752004-02-17 Elena Zannoni <ezannoni@redhat.com>
22476
22477 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
22478
344c9711
FF
224792004-02-16 Fred Fish <fnf@redhat.com>
22480
22481 * gdb.arch/gdb1291.c: Remove
22482 * gdb.arch/gdb1291.s: New test input file.
22483 * gdb.arch/gdb1291.exp: Expand test to check case that should not
22484 fail. Test for correct result, known incorrect result, other
22485 failures and timeouts.
22486
2d822687
AC
224872004-02-16 Andrew Cagney <cagney@redhat.com>
22488
22489 * gdb.base/bigcore.exp: New file.
22490 * gdb.base/bigcore.c: New file.
22491
dac15b66
AC
224922004-02-13 Andrew Cagney <cagney@redhat.com>
22493
22494 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
22495 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
22496 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
22497 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
22498 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
22499 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
22500 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
22501 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
22502 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
22503 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
22504
6bdfc2c4
JJ
225052004-02-11 Jeff Johnston <jjohnstn@redhat.com>
22506
22507 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
22508 executed is an alloc instruction.
22509
87b3ede8
DC
225102004-02-11 David Carlton <carlton@kealia.com>
22511
22512 * gdb.cp/breakpoint.exp: New.
22513 * gdb.cp/breakpoint.cc: New.
22514
6e19e2bf
MC
225152004-02-11 Michael Chastain <mec.gnu@mindspring.com>
22516
22517 Partial fix for PR gdb/1543.
22518 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
22519 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
22520 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
22521 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
22522 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
22523 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
22524 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
22525 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
22526 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
22527 to bug-gdb@prep.ai.mit.edu .
22528 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
22529 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
22530 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
22531 Likewise.
22532
5c5455dc
AC
225332004-02-10 Andrew Cagney <cagney@redhat.com>
22534
22535 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
22536 using gdb_internal_error_resync.
22537
9cf689d7
DJ
225382004-02-09 Daniel Jacobowitz <drow@mvista.com>
22539
22540 * gdb.threads/thread-specific.exp: Stop early if no threads are
22541 found.
22542
d2dc51db
MC
225432004-02-09 Michael Chastain <mec.gnu@mindspring.com>
22544
22545 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
22546
14b1a056
DJ
225472004-02-08 Daniel Jacobowitz <drow@mvista.com>
22548
22549 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
22550 breakpoints.
22551
83f66e8f
DJ
225522004-02-07 Daniel Jacobowitz <drow@mvista.com>
22553
22554 * config/sim.exp (gdb_load): Handle $arg == "".
22555 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
22556 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
22557
30fc0091
EZ
225582004-02-07 Elena Zannoni <ezannoni@redhat.com>
22559
a9c64011
AS
22560 * gdb.base/maint.exp: Update test to reflect
22561 obstack changes.
30fc0091 22562
4d806929
JJ
225632004-02-04 Jeff Johnston <jjohnstn@redhat.com>
22564
22565 * gdb.base/pendshr.c (pendfunc): New function that calls
22566 pendfunc1.
22567 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
22568
7bfdd688
FF
225692004-02-04 Fred Fish <fnf@redhat.com>
22570
22571 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
22572 function symbols and update copyright years.
22573 * gdb.arch/gdb1291.c: Ditto.
22574
aaa08ee4
MC
225752004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22576
22577 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
22578
dbad7755
MC
225792004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22580
22581 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
22582
ec4646ef
MC
225832004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22584
22585 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
22586
1b802196
FF
225872004-02-02 Fred Fish <fnf@redhat.com>
22588
22589 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
22590 remote targets. Update copyright years.
22591
18fe2033
JJ
225922004-02-02 Jeff Johnston <jjohnstn@redhat.com>
22593
22594 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
22595 support.
22596 * gdb.base/langs.exp: Fix test which attempts to create
22597 breakpoint on non-existent function to handle new pending
22598 support.
22599 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
22600 a breakpoint.
22601 * gdb.base/pending.exp: New test.
22602 * gdb.base/pending.c: New file.
22603 * gdb.base/pendshr.c: Ditto.
22604
8d577d32
DC
226052004-02-02 David Carlton <carlton@kealia.com>
22606
22607 * gdb.cp/overload.exp: Add overloadNamespace tests.
22608 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
22609 (overloadNamespace, XXX): New.
22610 (main): Call XXX::marker2.
22611
3ad13771
FF
226122004-02-01 Fred Fish <fnf@redhat.com>
22613
22614 * gdb.base/dump.exp: Use runto_main instead of "runto main".
22615 * gdb.base/finish.exp: Ditto.
22616 * gdb.base/gcore.exp: Ditto.
22617 * gdb.base/huge.exp: Ditto.
22618 * gdb.base/info-proc.exp: Ditto.
22619 * gdb.base/return2.exp: Ditto.
22620 * gdb.threads/gcore-thread.exp: Ditto.
22621
44c75849
DJ
226222004-02-01 Daniel Jacobowitz <drow@mvista.com>
22623
22624 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
22625
005bc093
MK
226262004-02-01 Mark Kettenis <kettenis@gnu.org>
22627
22628 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
22629 that opening the file succeeds on OpenBSD.
22630
c47cebdb
DJ
226312004-02-01 Daniel Jacobowitz <drow@mvista.com>
22632
22633 * gdb.threads/thread-specific.c: New file.
22634 * gdb.threads/threads-specific.exp: New test script.
22635 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
22636 to expect_out.
22637
5a01311c
MK
226382004-02-01 Mark Kettenis <kettenis@gnu.org>
22639
22640 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
22641 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
22642 only on the "print_small_structs from print_long_arg_list" test.
22643
ce22a4f1
DJ
226442004-02-01 Daniel Jacobowitz <drow@mvista.com>
22645
22646 * gdb.base/completion.exp: Kill a stray backslash.
22647
22648 From Jim Ingham <jingham@apple.com>:
22649 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
22650 agrees with the result from sending a tab.
22651
abbab9d3
DJ
226522004-01-31 Daniel Jacobowitz <drow@mvista.com>
22653
22654 * gdb.base/chng-syms.exp: Remove stray newline.
22655
53904d1e
MK
226562004-01-31 Mark Kettenis <kettenis@gnu.org>
22657
22658 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
22659 *-*-openbsd*.
22660 * gdb.asm/openbsd.inc: New file.
22661
3a4b3aac
MK
226622004-01-30 Mark Kettenis <kettenis@gnu.org>
22663
22664 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
22665 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
22666 *-*solaris2*. Remove commented out default settings for
22667 asm-flags. Replace gdb_compile with target_link.
22668
ebac27b4
MC
226692004-01-29 Michael Chastain <mec.gnu@mindspring.com>
22670
22671 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
22672 for all tests. Remove old hp-ux and cygnus xfail cases.
22673
d8679d84
PH
226742004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
22675
22676 * gdb.base/chng-syms.exp: New file.
22677 * gdb.base/chng-syms.c: New file.
22678
0a55bc22
MC
226792004-01-24 Michael Chastain <mec.gnu@mindspring.com>
22680
22681 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
22682 Provide arms for current output in all my configurations.
22683
94b8e876
MC
226842004-01-24 Michael Chastain <mec.gnu@mindspring.com>
22685
22686 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
22687 * lib/compiler.cc: Likewise.
22688 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
22689 get the right preprocessor. Eval the output directly. Remove
22690 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
22691 hp_f77_compiler and hp_f90_compiler completely.
22692 (gdb_preprocess): Delete.
22693 (get_compiler): Delete.
22694
7cf03d44
MK
226952004-01-24 Mark Kettenis <kettenis@gnu.org>
22696
22697 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
22698 <string.h>.
22699
68b6dce9
NR
227002004-01-24 Nick Roberts <nick@nick.uklinux.net>
22701
22702 * gdb.mi/mi-stack.exp: Update copyright.
22703
b368761e
DC
227042004-01-23 David Carlton <carlton@kealia.com>
22705
22706 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
22707 test for cp_lookup_transparent_type.
22708 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
22709 call them.
22710
f2061b53
DJ
227112004-01-23 Daniel Jacobowitz <drow@mvista.com>
22712
22713 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
22714 after -var-update.
22715
37fc574a
DC
227162004-01-23 David Carlton <carlton@kealia.com>
22717
22718 * gdb.cp/namespace.cc (C::ensureRefs): New.
22719 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
22720
8e94b928
NR
227212004-01-20 Nick Roberts <nick@nick.uklinux.net>
22722
22723 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
22724 case "-stack-list-locals 2".
22725 * gdb.mi/mi-var-child.exp: Test for case
22726 "-var-list-children --all-values NAME".
22727
997b0952
MC
227282004-01-18 Michael Chastain <mec.gnu@mindspring.com>
22729
22730 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
22731
52470da3
MK
227322004-01-18 Mark Kettenis <kettenis@gnu.org>
22733
7049b4b8
MK
22734 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
22735 used with gdb_test_multiple.
22736
52470da3
MK
22737 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
22738 read at address 0. This fixes PR testsuite/1504.
22739
da6012e5
DJ
227402004-01-18 Daniel Jacobowitz <drow@mvista.com>
22741
22742 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
22743 Remove downloading, guessing the host executable, the calls to
22744 gdb_file_cmd and gdb_target_cmd, and "load" support.
22745 (infer_host_exec): New function broken out from gdb_load.
22746 (gdb_load): New wrapper for gdbserver_gdb_load.
22747 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
22748 gdb_target_cmd. Use -target-select.
22749 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
22750 Download binaries to the host. Clear last_mi_remote_file when
22751 we load a new binary.
22752 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
22753 call gdbserver_gdb_load and mi_gdb_target_cmd.
22754
32c70722
MC
227552004-01-17 Michael Chastain <mec.gnu@mindspring.com>
22756
22757 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
22758 type patterns.
22759
b0cecf36
MC
227602004-01-17 Michael Chastain <mec.gnu@mindspring.com>
22761
22762 * gdb.cp/templates.exp: Fix typo in test name of
22763 "print Foo<volatile char*>::foo".
22764
4120d7e6
MC
227652004-01-15 Michael Chastain <mec.gnu@mindspring.com>
22766
22767 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
22768
f679e530
BE
227692004-01-16 Ben Elliston <bje@wasabisystems.com>
22770
22771 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
22772 (clean mostlyclean): Remove empty rm.
22773
091c48f6
MC
227742004-01-15 Michael Chastain <mec.gnu@mindspring.com>
22775
22776 * gdb.base/setvar.exp: Add copyright years.
22777
3e5fc8d2
DC
227782004-01-14 David Carlton <carlton@bactrian.org>
22779
22780 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
22781 PR c++/1511 and update coment.
22782 * gdb.cp/templates.exp: Update patterns to match current output.
22783 If changes involve something other than whitespace, KFAIL
22784 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
22785
63d06c5c
DC
227862004-01-14 David Carlton <carlton@kealia.com>
22787
22788 * gdb.cp/namespace.exp: Add tests involving classes defined within
22789 namespaces.
22790 * gdb.cp/namespace.cc (C::CClass): New.
22791 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
22792
a51dab88
EZ
227932004-01-14 Elena Zannoni <ezannoni@redhat.com>
22794
22795 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
22796 what debug info we have. Print a better message if something goes
22797 wrong while producing the separate debug info file.
22798
a476ccc9
MC
227992004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22800
22801 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
22802
f453692c
MC
228032004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22804
22805 * gdb.base/callfuncs.c: Add copyright notice.
22806
f40063a5
MC
228072004-01-13 Michael Chastain <mec.gnu@mindspring.com>
22808
22809 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
22810 inheritance. PR gdb/1498, PR gcc/13539.
22811
19ac3974
EZ
228122004-01-13 Elena Zannoni <ezannoni@redhat.com>
22813
a9c64011
AS
22814 * gdb.threads/gcore-thread.exp: Prefix name of binary with
22815 test specific name.
22816 * gdb.mi/gdb669.exp: Ditto.
22817 * gdb.mi/mi-pthreads.exp: Ditto.
22818 * gdb.mi/mi1-pthreads.exp: Ditto.
22819 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 22820
56c97c6e
MC
228212004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22822
22823 * gdb.cp/member-ptr.cc: Add copyright notice.
22824
a0644324
MC
228252004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22826
22827 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
22828 some patterns for recent versions of gcc and hpacc. Delete
22829 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
22830 Delete tests that access a NULL pointer-to-member-data. This
22831 script is still disabled for gcc.
22832
32fabe09
EZ
228332004-01-12 Elena Zannoni <ezannoni@redhat.com>
22834
22835 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 22836 escaped correctly.
32fabe09 22837
1f8a6abb
EZ
228382004-01-12 Elena Zannoni <ezannoni@redhat.com>
22839
22840 * gdb.base/sepdebug.exp: New file.
22841 * gdb.base/sepdebug.c: New file.
22842 * lib/gdb.exp (separate_debug_filename): New procedure.
22843 (gdb_gnu_strip_debug): New procedure.
22844
48efe704
AC
228452004-01-12 Andrew Cagney <cagney@redhat.com>
22846
22847 * gdb.mi/ChangeLog: Delete file. Renamed to ...
22848 * gdb.mi/ChangeLog-1999-2003: New file.
22849
a9415475
AC
228502004-01-12 Andrew Cagney <cagney@redhat.com>
22851
22852 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
22853 "Renaming a directory to a non-empty directory returns ENOTEMPTY
22854 or EEXIST", treat EBUSY as an XFAIL.
22855
83b8cf9d
MC
228562004-01-11 Michael Chastain <mec.gnu@mindspring.com>
22857
22858 * gdb.base/scope.exp: Remove obsolete setup_xfail for
22859 hp_cc_compiler.
22860
9939d2a8
MC
228612004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22862
22863 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
22864 decorations.
22865
1ff8cadf
MC
228662004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22867
22868 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
22869 and "(aCC)" decorations. Remove obsolete doco about old
22870 test results.
22871
6fa9022e
MC
228722004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22873
22874 * gdb.cp/exception.exp: Fix typo in doco.
22875
209721fe
MK
228762004-01-09 Mark Kettenis <kettenis@gnu.org>
22877
22878 * gdb.base/gdb1476.exp: Fix typo.
22879
ef11303e
MC
228802004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22881
22882 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
22883 file.
22884
041ab88c
MC
228852004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22886
22887 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
22888 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
22889 Use gdb_compile. Remove restriction on gcc. Add some patterns
22890 for recent version of gdb. Delete second half, which was a copy
22891 of the first half with different build flags. This test is
22892 still disabled because it is still not ready for production.
22893
e36d075a
MC
228942004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22895
22896 * gdb.cp/exception.cc: Add copyright notice.
22897 * gdb.cp/exception.exp: Add a notice that this file is broken
22898 because of line number changes caused by addition of copyright
22899 notice.
22900
42b190ad
MC
229012004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22902
22903 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
22904 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
22905
8f25f06b
MC
229062004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22907
22908 * gdb.cp/classes.exp: Accept gnu abi 2.
22909 * gdb.cp/derivation.exp: Likewise.
22910 * gdb.cp/overload.exp: Likewise.
22911 * gdb.cp/virtfunc.exp: Likewise.
22912
06ded8b8
MC
229132004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22914
22915 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
22916 semicolon after end of function.
22917
77c26ae3
MC
229182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22919
22920 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
22921 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
22922 boilerplate code for compiling and running the program under
22923 test. Add some string method tests.
22924
20757486
MC
229252004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22926
22927 * gdb.cp/bs15503.cc: Add copyright notice.
22928 * gdb.cp/bs15503.exp: Adjust line number.
22929
0fd3b503
MC
229302004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22931
22932 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
22933 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
22934
10d1bea8
MC
229352004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22936
22937 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
22938 hp_cc_compiler.
22939
2789202a
MC
229402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22941
22942 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
22943 * gdb.cp/ctti.exp: Use the marker instead of "next".
22944 With gcc, run further before bailing.
22945
b862f14c
MC
229462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22947
22948 * gdb.cp/cttiadd.cc: Add copyright notice.
22949 * gdb.cp/cttiadd1.cc: Likewise.
22950 * gdb.cp/cttiadd2.cc: Likewise.
22951 * gdb.cp/cttiadd3.cc: Likewise.
22952
96da2469
MC
229532004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22954
22955 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
22956 Use gdb_test, gdb_test_multiple. Use floating-point values that
22957 have exact representations in IEEE-ish formats.
22958
053248ff
MC
229592004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22960
22961 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
22962 compilers. Delete duplicate call to get_compiler_info.
22963 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
22964 * gdb.base/volatile.exp: Likewise.
22965
84acecdd
MK
229662004-01-07 Mark Kettenis <kettenis@gnu.org>
22967
22968 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
22969 memory at address 0.
22970
fe11a27f
MC
229712004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22972
22973 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
22974 to test for hp-ux assembler. Fix copyright years.
22975
60ad077b
AC
229762004-01-07 Andrew Cagney <cagney@redhat.com>
22977
22978 * gdb.base/fileio.c (strerrno): Add "EBUSY".
22979
1c9b8f33
AC
229802004-01-07 Andrew Cagney <cagney@redhat.com>
22981
22982 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
22983 when creating the read-only file. From analysis by Roland McGrath
22984 and Elena Zannoni.
22985
753ccc7a
MC
229862004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22987
22988 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
22989
eca3e36b
MC
229902004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22991
22992 * gdb.base/cvexpr.c: Be type-safe with function pointers and
22993 data pointers.
22994
f8d4bac4
MC
229952004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22996
22997 * gdb.cp/m-static.exp: Compile one source file at a time.
22998 Delete unused call to get_compiler_info.
22999
9b4e0f94
MC
230002004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23001
23002 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
23003 * gdb.base/call-rt-st.exp: Likewise.
23004 * gdb.base/nodebug.exp: Likewise.
23005 * gdb.base/volatile.exp: Likewise.
23006 * gdb.cp/ref-types.exp: Likewise.
23007 * gdb.cp/templates.exp: Likewise.
23008
023c1024
MK
230092004-01-05 Mark Kettenis <kettenis@gnu.org>
23010
23011 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
23012
19703c4a
MC
230132004-01-05 Michael Chastain <mec.gnu@mindspring.com>
23014
23015 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
23016 hppa*-hp-hpux*.
23017
18b67037
MK
230182004-01-04 Mark Kettenis <kettenis@gnu.org>
23019
ba6219c8
MK
23020 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23021 x86_64-*-*.
23022
18b67037
MK
23023 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23024 sparc64-*-* and sparc*-solaris2*.
23025
1bfbbb9d
MK
230262004-01-04 Mark Kettenis <kettenis@gnu.org>
23027
23028 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
23029 return ${tests}" test. The ${tests} already mentions the
23030 filename.
23031
06846494
MC
230322004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23033
23034 * gdb.cp/local.exp: Accept gcc abi 2.
23035
3b0cb202
MC
230362004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23037
23038 * gdb.cp/templates.exp: Accept gcc abi 2.
23039
0643ec3f
MC
230402004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23041
23042 * lib/compiler.cc: Remove supports_template_debugging.
23043 * gdb.cp/templates.exp: Do not test supports_template_debugging.
23044
d231d0b1
MC
230452004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23046
23047 * gdb.cp/namespace.exp: Accept gcc abi 2.
23048
44ffb27c
MC
230492004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23050
23051 * gdb.cp/method.exp: Accept gcc abi 2.
23052
184ad485
MC
230532004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23054
23055 * gdb.cp/classes.exp: Generate identical results as old version.
23056 * gdb.cp/derivation.exp: Likewise.
23057 * gdb.cp/overload.exp: Likewise.
23058 * gdb.cp/virtfunc.exp: Likewise.
23059
116f09e7
MC
230602004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23061
23062 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
23063 mysterious bug with sourceware version of expect.
23064
b1379776
MC
230652004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23066
23067 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
23068 current versions of gcc, including gcc abi 2. Remove gratuitous
23069 restart of test program. Use gdb_test_multiple and gdb_test for
23070 all tests. Add patterns to xfail missing "const" in "const char *"
23071 and kfail PR gdb/1155.
23072
6b7a4c0e
MC
230732004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23074
23075 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
23076 current versions of gcc, including gcc abi 2. Remove gratuitous
23077 restart of test program. Use gdb_test_multiple and gdb_test for
23078 all tests. Add patterns to kfail PR gdb/1498.
23079
51615d72
MC
230802003-12-31 Michael Chastain <mec.gnu@mindspring.com>
23081
23082 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
23083 current versions of gcc, including gcc abi 2. Use "breakpoint"
23084 and "continue" instead of restarting the target program. Use
23085 gdb_test_multiple and gdb_test for all tests.
23086
7b79a9d7
MK
230872004-01-01 Mark Kettenis <kettenis@gnu.org>
23088
23089 * gdb.asm/asm-source.exp: Update copyright year. Link statically
23090 for *-*-solaris2*.
23091
1cd3489f
MC
230922003-12-31 Michael Chastain <mec.gnu@mindspring.com>
23093
23094 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
23095 current versions of gcc, including gcc abi 2. Use "breakpoint"
23096 and "continue" instead of restarting the target program several
23097 times. Use gdb_test_multiple and gdb_test for all tests.
23098
850742db
MC
230992003-12-18 Michael Chastain <mec.gnu@mindspring.com>
23100
23101 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
23102 source files.
23103
eb4bbda8
MC
231042003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23105
23106 * gdb.base/environ.exp: Handle compiling test case from multiple
23107 source files.
23108
e42c7771
MC
231092003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23110
23111 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
23112
80e4b428
JB
231132003-12-17 Jim Blandy <jimb@redhat.com>
23114
5f06973a
JB
23115 * gdb.base/freebpcmd.c: Add copyright notice.
23116
80e4b428
JB
23117 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
23118
0ab84fb7
MC
231192003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23120
23121 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
23122
1b3bb3d0
JB
231232003-12-13 Jim Blandy <jimb@redhat.com>
23124
23125 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
23126
3a4c9371
KB
231272003-12-12 Kevin Buettner <kevinb@redhat.com>
23128
23129 * gdb.asm/frv.inc: New file.
23130 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
23131
a1dea79a
FF
231322003-12-09 Fred Fish <fnf@redhat.com>
23133
23134 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
23135 functions to break1.c and leave prototypes behind. Add more
23136 "set breakpoint NN here" comments.
23137 * gdb.base/break1.c: New file.
23138
23139 * gdb.base/break.exp: Handle compiling test case from multiple
23140 source files and change source file references as needed.
23141 * gdb.base/completion.exp: Ditto.
23142 * gdb.base/condbreak.exp: Ditto.
23143 * gdb.base/define.exp: Ditto.
23144 * gdb.base/ena-dis-br.exp: Ditto.
23145 * gdb.base/info-proc.exp: Ditto.
23146 * gdb.base/maint.exp: Ditto.
23147 * gdb.base/until.exp: Ditto.
23148
23149 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
23150 hardcoded line numbers.
23151 * gdb.base/define.exp: Ditto.
23152 * gdb.base/ena-dis-br.exp: Ditto.
23153 * gdb.base/maint.exp: Ditto.
23154 * gdb.base/until.exp: Ditto.
23155
23156 * gdb.base/completion.exp: Use "break1" for completion tests since
23157 "break" is no longer a unique prefix.
23158
5266b69c
AC
231592003-12-06 Andrew Cagney <cagney@redhat.com>
23160
23161 * gdb.base/structs.exp (test_struct_returns): When applicable, set
23162 "return_value_unimplemented". When an unimplemented struct return
23163 architecture, report incorrect values as a KFAIL
23164
374451f0
MC
231652003-12-05 Michael Chastain <mec.gnu@mindspring.com>
23166
23167 * gdb.cp/rtti.exp: Accept new wording of warning from
23168 cp_lookup_rtti_type.
23169
ba9b20a7
MC
231702003-12-05 Michael Chastain <mec.gnu@mindspring.com>
23171
23172 Partial fix for PR testsuite/1456.
23173 * gdb.base/scope.exp (test_at_main): Replace references to
23174 gcc_compiled with calls to test_compiler_info.
23175 (test_at_foo): Likewise.
23176 (test_at_bar): Likewise.
23177
b74b6d0b
MC
231782003-12-04 Michael Chastain <mec.gnu@mindspring.com>
23179
23180 Partial fix for PR testsuite/1456.
23181 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
23182 to test_compiler_info.
23183
ccfa3402
MC
231842003-12-03 Michael Chastain <mec.gnu@mindspring.com>
23185
23186 * gdb.base/so-impl-ld.exp: Update copyright notice.
23187
f6246aba
MC
231882003-12-02 Michael Chastain <mec.gnu@mindspring.com>
23189
23190 Partial fix for PR testsuite/1456.
23191 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
23192 to test_compiler_info.
23193
13ae734a
MC
231942003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23195
23196 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
23197 from current versions of gdb. Clean up regular expressions.
23198 Delete redundant timeout case.
23199
d8e1cdee
MC
232002003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23201
23202 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
23203 from current versions of gdb. Clean up regular expressions.
23204 Delete redundant timeout case.
23205
96457b64
MC
232062003-12-01 Michael Chastain <mec.gnu@mindspring.com>
23207
23208 Partial fix for PR testsuite/1456.
23209 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
23210 gcc_compiled with call to test_compiler_info.
23211
f35309fc
MC
232122003-11-30 Michael Chastain <mec.gnu@mindspring.com>
23213
23214 Partial fix for PR testsuite/1456.
23215 * gdb.base/list.exp (test_list_function): Delete unused declaration
23216 of gcc_compiled.
23217
d7afdf9b
MC
232182003-11-29 Michael Chastain <mec.gnu@mindspring.com>
23219
23220 Partial fix for PR testsuite/1456.
23221 * gdb.base/complex.exp: Replace reference to gcc_compiled with
23222 call to test_compiler_info.
23223
71507b56
MK
232242003-11-29 Mark Kettenis <kettenis@gnu.org>
23225
23226 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
23227 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
23228 it to create the appropriate note.inc.
23229 * gdb.asm/asmsrc1.s: Include "note.inc".
23230 * gdb.asm/netbsd.inc: New file.
23231 * gdb.asm/empty.inc: New file.
23232
f81f93f7
MC
232332003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23234
23235 Partial fix for PR testsuite/1456.
23236 * gdb.base/constvars.exp: Replace references to gcc_compiled with
23237 calls to test_compiler_info.
23238
9a77938e
MC
232392003-11-27 Michael Chastain <mec.gnu@mindspring.com>
23240
23241 Partial fix for PR testsuite/1456.
23242 * gdb.base/volatile.exp: Replace references to gcc_compiled with
23243 calls to test_compiler_info.
23244
e8367dc7
MK
232452003-11-27 Mark Kettenis <kettenis@gnu.org>
23246
23247 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
23248 pattern for the KFAILs.
23249
526c61ee
AF
232502003-11-25 Adam Fedor <fedor@gnu.org>
23251
23252 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
23253 * gdb.objc/objcdecode.m: New file.
23254
28f2d600
AF
232552003-11-25 Adam Fedor <fedor@gnu.org>
23256
23257 * gdb.objc/nondebug.exp: Test for PR objc/1236.
23258 * gdb.objc/nondebug.m: New file.
23259
a3895cee
BE
232602003-11-26 Ben Elliston <bje@wasabisystems.com>
23261
23262 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23263 NetBSD as it does on FreeBSD. Modelled on a similar change by
23264 Mark Kettenis on 2003-05-30.
23265 (link-flags): Set to "--entry _start" regardless of target.
23266 Special linker flags are to be appended to $link-flags.
23267 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
23268
c9f2c8a3
MC
232692003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23270
23271 * gdb.cp/method.exp: Accept output of new demangler.
23272
15a0587a 232732003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
23274
23275 * gdb/class2.exp: New file.
23276 * gdb/class2.cc: New file.
23277
3c00b570
MC
232782003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23279
23280 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
23281 of new demangler.
23282
7027acc7
MK
232832003-11-23 Mark Kettenis <kettenis@gnu.org>
23284
23285 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
23286 of gdb_test "run".
23287
b0e1598a
MK
232882003-11-23 Mark Kettenis <kettenis@gnu.org>
23289
23290 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
23291 "continue" into "run".
23292
4d9eda44
MC
232932003-11-23 Michael Chastain <mec.gnu@mindspring.com>
23294
23295 Partial fix for PR testsuite/1456.
23296 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
23297 call to test_compiler_info.
23298 * gdb.cp/ctti.exp: Likewise.
23299 * gdb.cp/derivation.exp: Likewise.
23300 * gdb.cp/member-ptr.exp: Likewise.
23301 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
23302 reference to gcc_compiled.
23303
233042003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
23305
23306 Fix PR testsuite/1463.
23307 * gdb.base/structs.exp (start_structs_test): Call
23308 get_debug_format before using the debug format.
23309
d422fe19
AC
233102003-11-22 Andrew Cagney <cagney@redhat.com>
23311
23312 * lib/gdb.exp (gdb_test_multiple): Add simple example.
23313 * gdb.base/structs.exp: Use gdb_test_multiple.
23314
039cf96d
AC
233152003-11-20 Andrew Cagney <cagney@redhat.com>
23316
6882279b
AC
23317 * gdb.base/structs.exp: Handle and recover from internal errors.
23318 Replace "foo${n}" with "foo<n>" in test messages.
23319
e53890ae
AC
23320 * gdb.base/structs.exp: Update copyright. Rewrite.
23321 * gdb.base/structs.c: Update copyright. Rewrite.
23322
2b211c59
AC
23323 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
23324 resync count exceeded.
d63a86f8 23325
039cf96d
AC
23326 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
23327 from the internal error.
23328 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
23329 Original from Jim Blandy.
23330 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 23331
eac98b22
AC
233322003-11-19 Andrew Cagney <cagney@redhat.com>
23333
23334 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
23335 KFAIL.
23336
67455b2a
MK
233372003-11-17 Mark Kettenis <kettenis@gnu.org>
23338
23339 New testcase for PR backtrace/1435.
23340 * gdb.arch/i386-unwind.exp: New file.
23341 * gdb.arch/i386-unwind.c: New file.
23342
853d6e5b
AC
233432003-11-17 Andrew Cagney <cagney@redhat.com>
23344
23345 * lib/gdb.exp (compiler_info): New global.
23346 (test_compiler_info): New function.
23347 (get_compiler_info): Set compiler_info.
23348 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
23349 "compiler_info" to gcc-<major>-<minor>.
23350
38cf6e11
MC
233512003-11-15 Michael Chastain <mec.gnu@mindspring.com>
23352
23353 * gdb.trace/configure: Remove.
23354
a50d3602
EZ
233552003-11-13 Elena Zannoni <ezannoni@redhat.com>
23356
23357 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 23358 breakpoints.
a50d3602
EZ
23359 * gdb.base/break.exp: Remove all references to explicit line
23360 numbers.
23361
d9407aaa
NC
233622003-11-11 Nick Clifton <nickc@redhat.com>
23363
23364 * gdb.base/shreloc.exp: Do not run for targets which do not
23365 support shared objects.
23366
db488fc1
CV
233672003-11-10 Corinna Vinschen <vinschen@redhat.com>
23368
23369 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
23370 Don't run tests if nofileio flag is given.
23371
6a90a18e
EZ
233722003-11-07 Elena Zannoni <ezannoni@redhat.com>
23373
23374 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 23375 as well as 'Watchpoint'.
6a90a18e 23376
0b915e9c
EZ
233772003-11-06 Elena Zannoni <ezannoni@redhat.com>
23378
23379 Reported by Jim Ingham <jingham@apple.com>:
23380 * gdb.base/annota1.exp: Match at least one occurrence of the
23381 signal handler annotation.
23382
d7e4b55f
EZ
233832003-11-06 Elena Zannoni <ezannoni@redhat.com>
23384
a9c64011
AS
23385 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
23386 as well as 'Watchpoint'.
d7e4b55f 23387
2fe4e8d0
MC
233882003-11-05 Michael Chastain <mec@shout.net>
23389
23390 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
23391
6ef88553
KW
233922003-11-03 Kris Warkentin <kewarken@qnx.com>
23393
23394 * gdb.arch/gdb1291.c: New test file.
23395 * gdb.arch/gdb1291.exp: New test script.
23396 * gdb.arch/gdb1431.c: New test file.
23397 * gdb.arch/gdb1431.exp: New test script.
23398
ae7dc4d8
MC
233992003-10-22 Michael Chastain <mec@shout.net>
23400
23401 * gdb.mi/pthreads.c: Add copyright notice.
23402
c39d7427
MC
234032003-10-22 Michael Chastain <mec@shout.net>
23404
23405 * gdb.threads/pthreads.c: Add copyright notice.
23406
8b7d96c1
MC
234072003-10-20 Michael Chastain <mec@shout.net>
23408
23409 * gdb.base/gdb1056.exp: New test script.
23410
d1d69fdd
DJ
234112003-10-13 Daniel Jacobowitz <drow@mvista.com>
23412
23413 * gdb.threads/killed.exp: Use gdb_run_cmd.
23414
7d605576
DJ
234152003-10-13 Daniel Jacobowitz <drow@mvista.com>
23416
23417 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
23418 create a core file.
23419 * gdb.threads/gcore-thread.exp: Likewise.
23420
618ec112
CV
234212003-10-13 Corinna Vinschen <vinschen@redhat.com>
23422
23423 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
23424 type, based on char type.
23425 (struct bit_flags_short_t): New bitfield type, based on short type.
23426 (init_bit_flags_char): New fuction.
23427 (init_bit_flags_short): Ditto.
23428 (print_bit_flags_char): Ditto.
23429 (print_bit_flags_short): Ditto.
23430 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
23431
9367a73c
MC
234322003-10-11 Michael Chastain <mec@shout.net>
23433
23434 * gdb.base/call-rt-st.exp: Update copyright year.
23435
1decf120
KI
234362003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
23437
23438 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
23439 * gdb.disasm/sh3.s: Ditto.
23440
5445b2ae
DJ
234412003-10-07 Daniel Jacobowitz <drow@mvista.com>
23442
23443 * gdb.threads/switch-threads.exp: New test.
23444 * gdb.threads/switch-threads.c: New source file.
23445
aec24853
CV
234462003-10-07 Corinna Vinschen <vinschen@redhat.com>
23447
23448 * gdb.base/ending-run.exp: Add sh specific case.
23449
adc7428d
AC
234502003-10-06 Andrew Cagney <cagney@redhat.com>
23451
23452 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
23453 * gdb.disasm/mn10200.exp: Delete obsolete file.
23454
c9d37158
DJ
234552003-09-29 Daniel Jacobowitz <drow@mvista.com>
23456
23457 * ChangeLog: Correct an entry command.exp -> commands.exp.
23458 * gdb.base/commands.exp (bp_deleted_in_command_test)
23459 (temporary_breakpoint_commands): Check noargs.
23460
79c2c32d
DC
234612003-09-25 David Carlton <carlton@kealia.com>
23462
23463 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
23464 of some print tests, where appropriate. Add tests for C::D::cd,
23465 E::ce, F::cXfX, G::XgX.
23466 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
23467
594e6d67
RE
234682003-09-25 Richard Earnshaw <rearnsha@arm.com>
23469
23470 * lib/java.exp (java_init): Import target_alias before using it.
23471
10f0d451
DC
234722003-09-25 David Carlton <carlton@kealia.com>
23473
23474 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
23475
274bcba0
EZ
234762003-09-23 Elena Zannoni <ezannoni@redhat.com>
23477
d63a86f8 23478 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 23479 weirdness.
274bcba0 23480
cdbf20f7
MC
234812003-09-17 Michael Chastain <mec@shout.net>
23482
23483 * gdb.cp/gdb1355.exp: New file.
23484 * gdb.cp/gdb1355.c: New file.
23485
71e06f80
CV
234862003-09-15 Corinna Vinschen <vinschen@redhat.com>
23487
23488 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
23489 * gdb.asm/sh.inc: New file.
23490
5c4e30ca
DC
234912003-09-11 David Carlton <carlton@kealia.com>
23492
bd45b7af
DC
23493 * gdb.cp/namespace.exp: Add tests for namespace types.
23494 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
23495 (test_namespace): New.
23496
1c199746
EZ
234972003-09-11 Elena Zannoni <ezannoni@redhat.com>
23498
a9c64011 23499 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 23500 * gdb.stabs/weird.exp: Ditto.
1c199746 23501
04ed252f
MC
235022003-09-08 Michael Chastain <mec@shout.net>
23503
23504 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
23505
d8a2d9e7
MC
235062003-09-07 Michael Chastain <mec@shout.net>
23507
23508 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
23509 'parse error'.
23510
161afb24
MK
235112003-09-07 Mark Kettenis <m.kettenis@osp.nl>
23512
23513 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
23514
49f2741a
MC
235152003-08-30 Michael Chastain <mec@shout.net>
23516
23517 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
23518 * gdb.gdb/observer.exp: Ditto.
23519 * gdb.gdb/xfullpath.exp: Ditto.
23520
8afa723e
MK
235212003-08-29 Mark Kettenis <kettenis@gnu.org>
23522
23523 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
23524 *-*-*bsd*.
23525
f31dfe3b
JJ
235262003-08-28 Jeff Johnston <jjohnstn@redhat.com>
23527
23528 * gdb.base/dump.exp: Skip for ia64.
23529
4630e498
JJ
235302003-08-25 Jeff Johnston <jjohnstn@redhat.com>
23531
23532 * gdb.asm/asm-source.exp: Add ia64 support.
23533 * gdb.asm/ia64.inc: New file.
23534
1105b7ef
MC
235352003-08-22 Michael Chastain <mec@shout.net>
23536
23537 * gdb.cp: New directory.
23538 * gdb.cp/*: Copy from gdb.c++/*.
23539 * gdb.c++/*: Remove.
23540 * Makefile.in: Change gdb.c++ to gdb.cp.
23541 * configure.in: Ditto.
23542 * configure: Regnerate.
23543
c945b932
MK
235442003-08-18 Mark Kettenis <kettenis@gnu.org>
23545
23546 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
23547 * gdb.arch/i386-prologue.c (gdb1338): Add function.
23548
2b66634b
DJ
235492003-08-17 Daniel Jacobowitz <drow@mvista.com>
23550
23551 * mi-var-display.exp (-var-list-children weird): Accept function
23552 pointers with argument types.
23553 * mi1-var-display.exp (-var-list-children weird): Likewise.
23554 * mi2-var-display.exp (-var-list-children weird): Likewise.
23555
a356f73b
DJ
235562003-08-17 Daniel Jacobowitz <drow@mvista.com>
23557
23558 * gdb.base/annota3.exp: Add missing newline.
23559
483417b8
MC
235602003-08-06 Michael Chastain <mec@shout.net>
23561
23562 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
23563
c99c59c3
MS
235642003-08-12 Michael Snyder <msnyder@redhat.com>
23565
23566 * gdb.base/float.exp: Add test for SH.
23567
55ed7501
MK
235682003-08-10 Mark Kettenis <kettenis@gnu.org>
23569
23570 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
23571
1a371f2e
EZ
235722003-08-07 Elena Zannoni <ezannoni@redhat.com>
23573
23574 * gdb.base/completion.exp: Remove reduntant completion test
23575 on filename.
23576
e0f353ce
EZ
235772003-08-07 Elena Zannoni <ezannoni@redhat.com>
23578
a9c64011
AS
23579 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
23580 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
23581 gdb.trace/save-trace.exp: Make sure that full pathnames are
23582 escaped correctly.
e0f353ce 23583
5710a1af 235842003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 23585
a9c64011
AS
23586 * configure.in: Don't generate config.h from config.hin.
23587 * configure: Regenerate.
23588 * config.hin: Remove file.
23589 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
23590 * gdb.threads/pthreads.c: Ditto.
5710a1af 23591
dcd81ce9
DJ
235922003-08-07 Daniel Jacobowitz <drow@mvista.com>
23593
23594 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23595 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
23596 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
23597 Replace ld24 with seth/add3.
23598
6009d884
AC
235992003-08-02 Andrew Cagney <cagney@redhat.com>
23600
23601 * gdb.base/annota3.exp: New file.
23602 * gdb.base/annota3.c: New file.
23603 * gdb.c++/annota3.exp: New file.
23604 * gdb.c++/annota3.cc: New file.
23605
51514e06
MC
236062003-07-29 Michael Chastain <mec@shout.net>
23607
23608 * gdb.threads/tls.c (spin): Check errno only if sem_wait
23609 actually failed.
23610 (do_pass): Likewise.
23611 * gdb.threads/tls.exp: Always initialize no_of_threads.
23612
4ee6625b
DJ
236132003-07-27 Daniel Jacobowitz <drow@mvista.com>
23614
23615 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
23616 pattern.
23617 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
23618 * gdb.threads/tls.exp: Recognize one case of the host library not
23619 supporting TLS.
23620
225f2bf6
AC
236212003-07-27 Andrew Cagney <cagney@redhat.com>
23622
23623 * gdb.base/fileio.exp: Use SH when running commands using
23624 remote_exec.
23625
bcb27c9f
DJ
236262003-07-24 Daniel Jacobowitz <drow@mvista.com>
23627
23628 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23629 * gdb.base/relocate.c (dummy): New padding array.
23630
3d67be83
MS
236312003-07-22 Michael Snyder <msnyder@redhat.com>
23632
d63a86f8 23633 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
23634
23635 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
23636 patterns to be more general, accepting old and new output.
23637 Some output chars (such as '+') also must be quoted.
d63a86f8 23638 Some addresses are displayed numerically instead of
3d67be83
MS
23639 symbolically.
23640
57ba3b85
MS
236412003-07-23 Michael Snyder <msnyder@redhat.com>
23642
686d097c
MS
23643 * gdb.base/return2.exp: Don't test long-long return.
23644
57ba3b85
MS
23645 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
23646 * gdb.disasm/t01_mov.exp: Ditto.
23647 * gdb.disasm/t02_mova.s: Ditto.
23648 * gdb.disasm/t02_mova.exp: Ditto.
23649 * gdb.disasm/t03_add.s: Ditto.
23650 * gdb.disasm/t03_add.exp: Ditto.
23651 * gdb.disasm/t04_sub.s: Ditto.
23652 * gdb.disasm/t04_sub.exp: Ditto.
23653 * gdb.disasm/t05_cmp.s: Ditto.
23654 * gdb.disasm/t05_cmp.exp: Ditto.
23655 * gdb.disasm/t06_ari2.s: Ditto.
23656 * gdb.disasm/t06_ari2.exp: Ditto.
23657 * gdb.disasm/t07_ari3.s: Ditto.
23658 * gdb.disasm/t07_ari3.exp: Ditto.
23659 * gdb.disasm/t08_or.s: Ditto.
23660 * gdb.disasm/t08_or.exp: Ditto.
23661 * gdb.disasm/t09_xor.s: Ditto.
23662 * gdb.disasm/t09_xor.exp: Ditto.
23663 * gdb.disasm/t10_and.s: Ditto.
23664 * gdb.disasm/t10_and.exp: Ditto.
23665 * gdb.disasm/t11_logs.s: Ditto.
23666 * gdb.disasm/t11_logs.exp: Ditto.
23667 * gdb.disasm/t12_bit.s: Ditto.
23668 * gdb.disasm/t12_bit.exp: Ditto.
23669 * gdb.disasm/t13_otr.s: Ditto.
23670 * gdb.disasm/t13_otr.exp: Ditto.
23671
e00759ef
EZ
236722003-07-22 Elena Zannoni <ezannoni@redhat.com>
23673
23674 * gdb.threads/tls.exp :Add kfail for 'info address' case.
23675
8bc2021f
EZ
236762003-07-22 Elena Zannoni <ezannoni@redhat.com>
23677
a9c64011
AS
23678 * gdb.threads/tls.c : New file.
23679 * gdb.threads/tls.exp : New file.
23680 * gdb.threads/tls-main.c : New file.
23681 * gdb.threads/tls-shared.c : New file.
23682 * gdb.threads/tls-shared.exp : New file.
8bc2021f 23683
89320c4c
AS
236842003-07-22 Andreas Schwab <schwab@suse.de>
23685
23686 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
23687
180dea7c
AS
236882003-07-20 Andreas Schwab <schwab@suse.de>
23689
23690 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
23691 due to insn reordering.
23692
0714963c
AC
236932003-07-15 Andrew Cagney <cagney@redhat.com>
23694
23695 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
23696
98a23b3f
MC
236972003-07-15 Michael Chastain <mec@shout.net>
23698
23699 * gdb.base/gdb1250.exp: New file.
23700 * gdb.base/gdb1250.c: New file.
23701
27e417a2
ML
237022003-07-09 Michal Ludvig <mludvig@suse.cz>
23703
23704 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
23705 expansion of size_t to 'unsigned long', not only to 'unsigned'.
23706
8bc2021f
EZ
237072003-07-09 Elena Zannoni <ezannoni@redhat.com>
23708
a9c64011
AS
23709 * gdb.threads/tls.c: New file.
23710 * gdb.threads/tls.exp: New file.
23711 * gdb.threads/tls-main.c: New file.
23712 * gdb.threads/tls-shared.c: New file.
23713 * gdb.threads/tls-shared.exp: New file.
8bc2021f 23714
d99968dc
EZ
237152003-07-09 Elena Zannoni <ezannoni@redhat.com>
23716
23717 * gdb.base/annota1.exp: Make sure that we properly escape the
23718 full path of the source file. Xfail more permissive patterns,
d63a86f8 23719 due to a compiler debug info problem.
d99968dc 23720
83876b3b
AS
237212003-07-07 Andreas Schwab <schwab@suse.de>
23722
2705e972
AS
23723 * gdb.asm/m68k.inc: New file.
23724 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
23725
83876b3b
AS
23726 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
23727 arguments"): Also match negative number.
23728
23729 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
23730
3a871b37
DJ
237312003-07-03 Daniel Jacobowitz <drow@mvista.com>
23732
23733 * gdb.base/store.c (charest): New typedef.
23734 (add_char): Rename to add_charest, update.
23735 (wack_char): Rename to wack_charest, update types. Return l + r
23736 to keep r live across the call.
23737 (wack_short, wack_int, wack_long, wack_longest, wack_float)
23738 (wack_double, wack_doublest): Return l + r to keep r live across
23739 the call.
23740 * gdb.base/store.exp: Accomodate store.c changes.
23741
b2a7f303
DC
237422003-06-30 David Carlton <carlton@kealia.com>
23743
23744 * gdb.c++/maint.exp (test_invalid_name): New.
23745 (test_first_component): Add tests for invalid names.
23746
3c6cb4a1
MC
237472003-06-29 Michael Chastain <mec@shout.net>
23748
23749 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
23750 output of '<VTT for class>' for virtual base classes.
23751
f1c2644b
DJ
237522003-06-29 Daniel Jacobowitz <drow@mvista.com>
23753
23754 * gdb.base/completion.exp: Tab-complete "complet" instead of
23755 "compl".
23756 * gdb.base/complex.exp, gdb.base/complex.c: New files.
23757
18080350
DJ
237582003-06-29 Daniel Jacobowitz <drow@mvista.com>
23759
23760 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
23761 * gdb.base/volatile.exp: Likewise.
23762
f56973f8
DJ
237632003-06-29 Daniel Jacobowitz <drow@mvista.com>
23764
23765 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
23766 gdb/1265.
23767
237682003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
23769 Daniel Jacobowitz <drow@mvista.com>
23770
23771 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
23772 initial line count of 'captured_main' from 26 to 32.
23773 (test_with_self): Allow xmalloc call to be interleaved with the
23774 preceding two lines.
23775
e766d4d6
JB
237762003-06-24 Joel Brobecker <brobecker@gnat.com>
23777
23778 * gdb.base/bang.exp: New testcase.
23779
f125c9a4
JB
237802003-06-23 Joel Brobecker <brobecker@gnat.com>
23781
23782 * gdb.base/langs.exp: Add some tests for the "minimal" language
23783 support.
23784
6e25beaf
EZ
237852003-06-23 Elena Zannoni <ezannoni@redhat.com>
23786
23787 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
23788 the testcase.
23789
2f816dda
DJ
237902003-06-22 Daniel Jacobowitz <drow@mvista.com>
23791
23792 * gdb.base/relocate.exp: Test add-symbol-file with a variable
23793 offset.
23794
db5a5748
DJ
237952003-06-22 Daniel Jacobowitz <drow@mvista.com>
23796
23797 * gdb.c++/pr-1210.cc: New file.
23798 * gdb.c++/pr-1210.exp: New file.
23799
1df0c130
DJ
238002003-06-21 Daniel Jacobowitz <drow@mvista.com>
23801
23802 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
23803 000-exec-continue.
23804
a92feac0
MK
238052003-06-15 Mark Kettenis <kettenis@gnu.org>
23806
23807 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
23808 on *-*-*bsd* instead of *-*-freebsd*.
23809
81a58f5b
AC
238102003-06-14 Andrew Cagney <cagney@redhat.com>
23811
23812 * gdb.base/store.exp: Test longest and doublest. Test all
23813 parameters. Weaken return statement match.
23814 * gdb.base/store.c: Add longest and doublest - aka long long and
23815 long double functions. Put all parameters into local register
23816 variables. Use negative values.
23817
b257a0d3
AC
238182003-06-14 Andrew Cagney <cagney@redhat.com>
23819
23820 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
23821 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
23822 exit status.
23823 * gdb.base/fileio.exp: Disable target when nointerrupts and
23824 noinferiorio, instead of limiting it to remote. Use remote_exec
23825 instead of system.
d63a86f8 23826
21c38304
JJ
238272003-06-12 Jeff Johnston <jjohnstn@redhat.com>
23828
23829 * gdb.base/float.exp: Add ia64 support.
23830
1bcdb424
CV
238312003-06-12 Corinna Vinschen <vinschen@redhat.com>
23832
23833 * gdb.base/fileio.exp: Run only on remote targets.
23834
6aeb981f
CV
238352003-06-10 Corinna Vinschen <vinschen@redhat.com>
23836
23837 * gdb.base/fileio.c: New file, testing File-I/O.
23838 * gdb.base/fileio.exp: Ditto.
23839
53df362e
RG
238402003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
23841
23842 * gdb.base/shreloc.exp: New file, check symbol values obtained from
23843 shared objects after relocation at load time (gdb PR/1132).
23844 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 23845 as above, part of the shared object relocation test.
53df362e 23846
ffee1b46
MK
238472003-06-08 Mark Kettenis <kettenis@gnu.org>
23848
b5ca3722
MK
23849 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
23850 fully filled history list.
23851 * gdb.base/gdb_history: New file.
23852
03ed860d
MK
23853 * gdb.base/signals.exp: XFAIL "continue to func1" on
23854 i*86-*-freebsd*.
23855
ffee1b46
MK
23856 * gdb.base/attach.exp: When trying to attach to a nonexistent
23857 process, make it possible to specify the PID based on the target,
23858 and do so for *-*-freebsd*.
23859
d80dbb52
RH
238602003-06-02 Richard Henderson <rth@redhat.com>
23861
23862 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
23863
6dd77b81
RH
238642003-06-02 Richard Henderson <rth@redhat.com>
23865
23866 * gdb.base/selftest.exp: Next over lim_at_start initialization.
23867
f6347e16
RH
238682003-06-02 Richard Henderson <rth@redhat.com>
23869
23870 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
23871
2c161407
DJ
238722003-06-01 Daniel Jacobowitz <drow@mvista.com>
23873
23874 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
23875 of globalvar.
23876
572eb746
MK
238772003-06-01 Mark Kettenis <kettenis@gnu.org>
23878
23879 * gdb.asm/asm-source.exp: Check for memory read errors in
23880 disassembler test on *BSD too.
23881
9e9617a5
RH
238822003-06-01 Richard Henderson <rth@redhat.com>
23883
23884 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
23885 for .frame.
23886 (gdbasm_call): Lose ldgp.
23887 (gdbasm_startup): Add frame information.
23888 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
23889
7b34ad4e
MK
238902003-05-31 Mark Kettenis <kettenis@gnu.org>
23891
23892 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
23893 i?86-*-*.
23894
10059fdf
MK
238952003-05-30 Mark Kettenis <kettenis@gnu.org>
23896
23897 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23898 FreeBSD.
23899
acf4b816
RH
239002003-05-29 Richard Henderson <rth@redhat.com>
23901
23902 * gdb.asm/alpha.inc: New file.
23903 * gdb.asm/asm-source.exp: Use it.
23904
e9ecd949
JB
239052003-05-29 Jim Blandy <jimb@redhat.com>
23906
23907 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
23908 'core.PID'.
23909
e3e5a4f3
JB
239102003-05-22 Jim Blandy <jimb@redhat.com>
23911
23912 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
23913 backtrace.
d63a86f8 23914
72fe3d25
DC
239152003-05-20 David Carlton <carlton@math.stanford.edu>
23916
23917 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
23918 this time.
23919
58da2eb2
DC
239202003-05-19 David Carlton <carlton@bactrian.org>
23921
23922 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
23923 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
23924
1fcb5155
DC
239252003-05-19 David Carlton <carlton@bactrian.org>
23926
23927 * gdb.c++/namespace.exp: Add namespace scope and anonymous
23928 namespace tests.
23929 Bump copyright date.
23930 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
23931 (main): Call C::D::marker2.
23932 * gdb.c++/namespace1.cc: New file.
23933
85e85163
JJ
239342003-05-14 Jeff Johnston <jjohnstn@redhat.com>
23935
23936 Roland McGrath <roland@redhat.com>
d63a86f8 23937 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
23938 there is no manager thread.
23939
a25fbfec
JJ
239402003-05-08 Jeff Johnston <jjohnstn@redhat.com>
23941
d63a86f8
RM
23942 * gdb.threads/schedlock.exp: Remove assumption that all threads
23943 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
23944 in one of the child threads rather than the main thread.
23945
be375bae
JB
239462003-05-07 Jim Blandy <jimb@redhat.com>
23947
09bf6082
JB
23948 Add support for assembly source testing on the s390x.
23949 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
23950 architecture.
23951 * gdb.asm/s390x.inc: New file.
23952
be375bae
JB
23953 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
23954 succession of 'if' statements.
23955
00905d52
AC
239562003-05-05 Andrew Cagney <cagney@redhat.com>
23957
23958 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
23959
b1e29e33
AC
239602003-05-05 Andrew Cagney <cagney@redhat.com>
23961
23962 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
23963 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
23964
e33d66ec
EZ
239652003-05-02 Elena Zannoni <ezannoni@redhat.com>
23966
23967 * gdb.base/charset.exp: Update based on new behavior of set/show
23968 charset commands.
23969
2b6fd0d8
AC
239702003-05-01 Andrew Cagney <cagney@redhat.com>
23971
23972 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
23973 variable do not give memory errors.
23974
130cacce
AF
239752003-04-30 Adam Fedor <fedor@gnu.org>
23976
23977 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
23978 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
23979 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
23980 gdb.objc/basicclass.m: : New files
23981
23982 * lib/gdb.exp (gdb_compile_objc): New procedure.
23983
bea71854
DJ
239842003-04-27 Daniel Jacobowitz <drow@mvista.com>
23985
23986 * gdb.base/signals.exp: Make backtrace tests more specific.
23987
0f20eeea
DC
239882003-04-23 David Carlton <carlton@bactrian.org>
23989
23990 * gdb.c++/maint.exp (test_first_component): Add tests for
23991 'operator' in more locations.
23992
c8c4d8dc
KB
239932003-04-16 Kevin Buettner <kevinb@redhat.com>
23994
23995 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
23996
3fe60e3c
EZ
239972003-04-16 Elena Zannoni <ezannoni@redhat.com>
23998
23999 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 24000 func marke' instead. Update test name.
3fe60e3c 24001
9219021c
DC
240022003-04-15 David Carlton <carlton@math.stanford.edu>
24003
24004 * gdb.c++/maint.exp: New file.
24005
5dd55bdd
EZ
240062003-04-14 Elena Zannoni <ezannoni@redhat.com>
24007
24008 * gdb.threads/schedlock.c: Change type of thread function argument
24009 to long, to avoid warnings on 64-bit platforms.
24010
00890572
EZ
240112003-04-14 Elena Zannoni <ezannoni@redhat.com>
24012
a9c64011
AS
24013 * gdb.base/attach.exp: Add new message from ptrace in case of
24014 attaching to nonexistent process.
d63a86f8 24015
93201743
JB
240162003-04-11 Jim Blandy <jimb@redhat.com>
24017
24018 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24019 gdb.c++/userdef.cc: Place comments on the lines to which the
24020 marker function might return.
24021 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24022 gdb.c++/userdef.exp: Look for those comments to check that we've
24023 returned to the right place, instead of checking line numbers.
24024
2a11c64d
EZ
240252003-04-11 Elena Zannoni <ezannoni@redhat.com>
24026
a9c64011
AS
24027 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
24028 match on sourcefile name, instead of directory name.
2a11c64d 24029
68ab8fc5
EZ
240302003-04-10 Elena Zannoni <ezannoni@redhat.com>
24031
d63a86f8 24032 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
24033 working directory name.
24034
5624293a
JB
240352003-04-09 Jim Blandy <jimb@redhat.com>
24036
24037 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24038 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
24039 after an inferior function call, report the failure, but allow the
24040 test to continue.
24041
f1f02ee4
SC
240422003-04-05 Stephane Carrez <stcarrez@nerim.fr>
24043
24044 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24045 with -DPROTOTYPES.
24046
6eb79af0
SC
240472003-04-05 Stephane Carrez <stcarrez@nerim.fr>
24048
24049 * gdb.base/break.exp: Revert last patch.
24050
8dfb4cf0
SC
240512003-04-04 Stephane Carrez <stcarrez@nerim.fr>
24052
24053 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24054 with -DPROTOTYPES.
24055
ed4c619a
AC
240562003-04-02 Andrew Cagney <cagney@redhat.com>
24057
24058 * gdb.base/callfuncs.exp: Make "print add" messages unique.
24059 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
24060 matching directories by the name breakpoint.
24061 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
24062 Make "continue to marker1" consistent.
24063 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
24064 message consistent.
24065 * lib/gdb.exp: Put "the program is no longer running", and "the
24066 program exited" in parenthesis.
24067 * lib/mi-support.exp: Ditto.
d63a86f8 24068
4e35d5f0 240692003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 24070
4e35d5f0
BR
24071 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
24072
71900fe8
AC
240732003-03-29 Andrew Cagney <cagney@redhat.com>
24074
24075 * gdb.base/sizeof.c (main): Print the value of '\377'.
24076 * gdb.base/sizeof.exp: Check the sign of '\377'.
24077
c0655a16
MC
240782003-03-27 Michael Chastain <mec@shout.net>
24079
24080 * gdb.base/gdb1090.exp: New file.
24081 * gdb.base/gdb1090.cc: New file.
24082
5b2a3989
JB
240832003-03-27 J. Brobecker <brobecker@gnat.com>
24084
24085 * gdb.gdb/observer.exp: New regression test.
24086
79876890
MC
240872003-03-27 Michael Chastain <mec@shout.net>
24088
24089 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
24090 * gdb.base/ptype.exp: Likewise.
24091
6eac95e3
CV
240922003-03-27 Corinna Vinschen <vinschen@redhat.com>
24093
24094 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
24095
e8c71839
MC
240962003-03-26 Michael Chastain <mec@shout.net>
24097
24098 * gdb.base/ptype.exp: Actually use some typedef'd types.
24099
71b10041
SC
241002003-03-21 Stephane Carrez <stcarrez@nerim.fr>
24101
24102 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
24103 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
24104
2512cf80
CV
241052003-03-20 Corinna Vinschen <vinschen@redhat.com>
24106
24107 * gdb.base/default.exp: Fix regular expression.
24108
0d195a4f
CV
241092003-03-20 Corinna Vinschen <vinschen@redhat.com>
24110
24111 * gdb.base/args.exp: Fix regular expression.
24112
8a2dbca8
CV
241132003-03-20 Corinna Vinschen <vinschen@redhat.com>
24114
24115 * gdb.base/help.exp: Allow Win32 child process.
24116
bf028682
CV
241172003-03-20 Corinna Vinschen <vinschen@redhat.com>
24118
24119 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
24120 when stepping out of main().
24121
182dbe85
CV
241222003-03-20 Corinna Vinschen <vinschen@redhat.com>
24123
24124 * gdb.base/default.exp: Check for win32 specific message when calling
24125 "run" without executable.
24126
d67a6ba5
CV
241272003-03-20 Corinna Vinschen <vinschen@redhat.com>
24128
24129 * gdb.base/args.exp: Expect .exe in output.
24130
a955b5bb
CV
241312003-03-20 Corinna Vinschen <vinschen@redhat.com>
24132
24133 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
24134 Cygwin native.
24135
bf6bad4b
AC
241362003-03-17 Andrew Cagney <cagney@redhat.com>
24137
24138 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
24139 vector registes.
24140 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
24141 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
24142
293e9a31
DC
241432003-03-17 David Carlton <carlton@math.stanford.edu>
24144
24145 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
24146 test, for PR breakpoints/38.
24147 Call test_watchpoint_and_breakpoint.
24148 * gdb.base/watchpoint.c (func3): New function.
24149 (main): Call func3.
24150
5330f2db
DC
241512003-03-04 David Carlton <carlton@math.stanford.edu>
24152
24153 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
24154 Garply<Garply<char> >:: garply".
24155 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
24156 with respect to PR c++/1111; note also PR c++/1113.
24157 (test_template_breakpoints): KFAIL "constructor breakpoint" with
24158 respect to PR c++/1062.
24159 KFAIL "destructor breakpoint" with respect to PR c++/1112.
24160
6ece72da
DC
241612003-03-03 David Carlton <carlton@math.stanford.edu>
24162
24163 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
24164 with respect to PR c++/57.
24165 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
24166 c++/826.
24167 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
24168 respect to PR c++/57.
24169
85ca1584
DC
241702003-03-03 David Carlton <carlton@math.stanford.edu>
24171
24172 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
24173 respect to PR c++/33 into FAILs.
24174
98e9c5b8
MC
241752003-03-03 Michael Chastain <mec@shout.net>
24176
7bedbf27
MC
24177 * configure.in: Update copyright years.
24178
241792003-03-03 Michael Chastain <mec@shout.net>
24180
24181 * Makefile.in: Update copyright years.
98e9c5b8 24182
f683e100
DC
241832003-02-28 David Carlton <carlton@math.stanford.edu>
24184
24185 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
24186 print class instead of struct and/or superfluous protection
24187 specifiers, as long as the resulting output is equivalent to the
24188 source code.
24189 Delete FIXME from end of messages on tests that don't need
24190 fixing.
24191
a9e0cf2c
DC
241922003-02-28 David Carlton <carlton@math.stanford.edu>
24193
24194 * gdb.c++/templates.exp (do_tests): Allow const in the two
24195 Foo<volatile char *>::foo tests.
24196
e8d359df
MS
241972003-02-27 Michael Snyder <msnyder@redhat.com>
24198
d63a86f8 24199 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
24200 will be consistant.
24201
0b71dc91
DC
242022003-02-26 David Carlton <carlton@math.stanford.edu>
24203
24204 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
24205 char *>::foo" test with respect to PR c++/33. Create a new test
24206 which is identical to that one except that it doesn't put the
24207 space between the "char" and the "*"; KFAIL it, too.
24208
dd14ab43
DC
242092003-02-26 David Carlton <carlton@math.stanford.edu>
24210
24211 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
24212 template types into either PASSes or KFAILs (corresponding to PR
24213 c++/57). Tweak indentation. Update copyright.
24214
1146c7f1
SC
242152003-02-23 Stephane Carrez <stcarrez@nerim.fr>
24216
24217 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
24218
74641dfb
MC
242192003-02-13 Michael Chastain <mec@shout.net>
24220
24221 * gdb.base/exprs.exp: Remove i960 remnants.
24222 * gdb.base/funcargs.exp: Likewise.
24223 * gdb.base/list.exp: Likewise.
24224 * gdb.base/ptype.exp: Likewise.
24225
559cd2d0
DC
242262003-02-14 David Carlton <carlton@math.stanford.edu>
24227
24228 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
24229 pEe->D::vg()" from XFAIL to KFAIL.
24230
c4f90d87
JM
242312003-02-13 Jason Molenda (jmolenda@apple.com)
24232
24233 * gdb.base/maint.exp: Update maint print statistics regexp to include
24234 new entries.
24235
cbc4d97c
MC
242362003-02-13 Michael Chastain <mec@shout.net>
24237
24238 * gdb.c++/inherit.exp: Remove call to get_debug_format.
24239
40f235b7
MC
242402003-02-12 Michael Chastain <mec@shout.net>
24241
24242 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
24243 * gdb.c++/inherit.exp: Likewise.
24244 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
24245 * gdb.c++/templates.exp: Likewise.
24246 * gdb.c++/virtfunc.exp: Likewise.
24247
c56716b0
JM
242482003-02-06 Jason Molenda (jason-cl@molenda.com)
24249
24250 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
24251 why the code is written that way.
24252
070afcf8
MC
242532003-02-05 Michael Chastain <mec@shout.net>
24254
24255 * gdb.base/dump.exp: Add missing copyright line.
24256
5d0331e5
JM
242572003-02-05 Jason Molenda (jason-cl@molenda.com)
24258
f7ae6d3e 24259 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
24260 at the beginning so the breakpoint doesn't get set on the loop.
24261
92851186
MC
242622003-02-05 Michael Chastain <mec@shout.net>
24263
24264 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
24265 output for configurations with gcc 2.95.3.
24266
cbf1e085
AC
242672003-02-05 Keith Seitz <keiths@redhat.com>
24268 Andrew Cagney <ac131313@redhat.com>
24269
24270 * gdb.mi/mi-cli.exp: New file.
d63a86f8 24271
29518e1e
MC
242722003-02-04 Michael Chastain <mec@shout.net>
24273
24274 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
24275 Call perror and then continue.
24276
5af1d5f3
MC
242772003-02-03 Michael Chastain <mec@shout.net>
24278
24279 * gdb.c++/pr-1023.cc: New file.
24280 * gdb.c++/pr-1023.exp: New file.
24281
6b549786
JB
242822003-02-05 Jim Blandy <jimb@redhat.com>
24283
24284 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
24285 it's local to foobar. Check for it there, and check that it's not
24286 present in main.
24287 * gdb.c++/local.cc (marker2): New function.
24288 (foobar): Call marker1.
24289 (main): Call marker2 instead of marker1.
24290
67f16606
AC
242912003-02-04 Andrew Cagney <ac131313@redhat.com>
24292
24293 * gdb.disasm/mn10200.exp: Obsolete file.
24294 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
24295 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
24296 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
24297
1c5cb38e
DC
242982003-02-04 David Carlton <carlton@math.stanford.edu>
24299
24300 * gdb.c++/overload.exp: Test intToChar(1).
24301 * gdb.c++/overload.cc (intToChar): New.
24302 (main): Call intToChar.
24303
d1fe6965
DC
243042003-02-03 David Carlton <carlton@math.stanford.edu>
24305
24306 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
24307 'might_kfail' arg.
24308 KFAIL some of the continue_to_bp_overloaded calls, according to
24309 PR c++/1025.
24310
9ba61c5d
MC
243112003-02-01 Michael Chastain <mec@shout.net>
24312
24313 * gdb.base/advance.c (marker1): New marker function.
24314 * gdb.base/advance.exp: When the 'advance' command lands on the
24315 return breakpoint, it can legitimately stop on either the
24316 current line or the next line. Accommodate both outcomes.
24317 * gdb.base/until.exp: Likewise.
24318
e7494ffb
AC
243192003-02-02 Andrew Cagney <ac131313@redhat.com>
24320
24321 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
24322 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
24323 now a list, not a tuple.
24324 * gdb.mi/mi-var-display.exp: Ditto.
24325 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 24326
075559bc
AC
243272003-02-01 Andrew Cagney <ac131313@redhat.com>
24328
24329 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
24330 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
24331 stack backtraces.
24332 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 24333
2bd4c7b1
MK
243342003-02-01 Mark Kettenis <kettenis@gnu.org>
24335
24336 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24337 gdb.mi/mi1-pthreads.exp: Return instead of calling
24338 gdb_suppress_entire_file.
24339
eabd8992
MS
243402003-02-01 Mark Salter <msalter@redhat.com>
24341
24342 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
24343
71469e2f
MS
243442003-01-31 Mark Salter <msalter@redhat.com>
24345
24346 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
24347 Support empty arg.
24348
38a94d44
MC
243492003-01-30 Michael Chastain <mec@shout.net>
24350
24351 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
24352 This was a workaround for a UTF-8 bug in readline 4.3. The bug
24353 has been fixed in gdb/readline on 2003-01-09.
24354
19ea9e73
MS
243552003-01-29 Michael Snyder <msnyder@redhat.com>
24356
e8d359df
MS
24357 * gdb.base/maint.exp: Allow for leading underscore in symbol.
24358 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
24359 * gdb.base/args.exp: Skip if target does not support args passing.
24360
2307bd6a
DJ
243612003-01-22 Daniel Jacobowitz <drow@mvista.com>
24362
19ea9e73 24363 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
24364 gdb_test. Accept a list of expect arguments as the third
24365 parameter.
24366 (gdb_test): Use it.
24367
f2dd3617
EZ
243682003-01-20 Elena Zannoni <ezannoni@redhat.com>
24369
24370 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
24371 allow for different test tree configurations. Update some
24372 tescases accordingly.
24373 * gdb.arch/altivec-regs.exp: Ditto.
24374 * gdb.asm/asm-source.exp: Ditto.
24375 * gdb.base/advance.exp: Ditto.
24376 * gdb.base/display.exp: Ditto.
d63a86f8 24377 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
24378 * gdb.base/mips_pro.exp: Ditto.
24379 * gdb.base/overlays.exp: Ditto.
24380 * gdb.base/relocate.exp: Ditto.
24381 * gdb.base/setshow.exp: Ditto.
24382 * gdb.base/step-line.exp: Ditto.
24383 * gdb.base/step-test.exp: Ditto.
24384 * gdb.base/until.exp: Ditto.
24385 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
24386
c71cdefd
DC
243872003-01-17 David Carlton <carlton@math.stanford.edu>
24388
24389 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
24390 corresponding to PR c++/945.
24391 Update copyright.
24392
fdba05d7
DC
243932003-01-17 David Carlton <carlton@math.stanford.edu>
24394
24395 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
24396 corresponding to PR c++/68.
24397
243982003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
24399
24400 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
24401 (test_paddr_hairy_functions): Call print_addr_2_kfail for
24402 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
24403
c362c33a
EZ
244042003-01-15 Elena Zannoni <ezannoni@redhat.com>
24405
0fbc361c
EZ
24406 * gdb.base/break.exp: Fix change of default location, because of
24407 removal of until tests.
24408 * gdb.base/help.exp: Update test for new 'until' help message.
24409 Add test for help on 'advance'.
a9c64011 24410 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 24411
dabf8a35
MK
244122003-01-15 Mark Kettenis <kettenis@gnu.org>
24413
24414 * gdb.base/default.exp: Adapt "info float" test for recent changes
24415 to that command. Add test for "info vector".
24416 * gdb.base/float.exp: New file. Add test for "info float" that
24417 resembles the old test in gdb.base/default.exp.
24418
a1769aca
DC
244192003-01-15 David Carlton <carlton@math.stanford.edu>
24420
24421 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
24422
82025e13
EZ
244232003-01-15 Elena Zannoni <ezannoni@redhat.com>
24424
24425 * gdb.base/break.exp: Move the tests of until command from here...
24426 * gdb.base/until.exp: ... to here. New file. Add other tests.
24427 * gdb.base/advance.c: New file.
24428 * gdb.base/advance.exp: New file.
24429
8f9ab801
EZ
244302003-01-14 Elena Zannoni <ezannoni@redhat.com>
24431
a9c64011
AS
24432 * gdb.base/args.c: New file.
24433 * gdb.base/args.exp: New file.
8f9ab801 24434
9ae66589
DJ
244352003-01-14 Daniel Jacobowitz <drow@mvista.com>
24436
24437 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
24438
8d77e5c3
DJ
244392003-01-14 Daniel Jacobowitz <drow@mvista.com>
24440
24441 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
24442
12d2f0a1
DJ
244432003-01-14 Daniel Jacobowitz <drow@mvista.com>
24444
24445 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
24446 dates.
24447
6ca37014
DJ
244482003-01-13 Daniel Jacobowitz <drow@mvista.com>
24449
24450 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
24451
b0023472
DJ
244522003-01-13 Daniel Jacobowitz <drow@mvista.com>
24453
24454 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
24455 (ptype &*"foo").
24456 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
24457
607fbc54 244582003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
24459
24460 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
24461 * gdb.mi/mi1-console.exp: Likewise.
24462
607fbc54 244632003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
24464
24465 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
24466 * gdb.mi/mi1-console.exp: Likewise.
24467
a1fb14a2
DJ
244682003-01-13 Daniel Jacobowitz <drow@mvista.com>
24469
24470 * gdb.c++/overload.exp: Remove some fixed XFAILs.
24471
c4cf40b7
DJ
244722003-01-09 Daniel Jacobowitz <drow@mvista.com>
24473
24474 * gdb.base/detach.exp: New test.
24475
696d5a5b
DJ
244762003-01-09 Daniel Jacobowitz <drow@mvista.com>
24477
24478 * Makefile.in (ALL_SUBDIRS): New variable.
24479 (subdirs, clean, distclean): Use it.
24480 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
24481 regenerating Makefile, since it is generated from the top level.
24482 * gdb.asm/Makefile.in: Likewise.
24483 * gdb.base/Makefile.in: Likewise.
24484 * gdb.c++/Makefile.in: Likewise.
24485 * gdb.disasm/Makefile.in: Likewise.
24486 * gdb.java/Makefile.in: Likewise.
24487 * gdb.mi/Makefile.in: Likewise.
24488 * gdb.threads/Makefile.in: Likewise.
24489 * gdb.trace/Makefile.in: Likewise.
24490
754533e4
DC
244912003-01-09 David Carlton <carlton@math.stanford.edu>
24492
24493 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
24494 Add copyright year 2003.
24495
d8b3e9ee
MC
244962003-01-06 Michael Chastain <mec@shout.net>
24497
24498 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
24499 When selecting a thread, 'line' and 'file' are optional.
24500 * gdb.mi/mi1-pthreads.exp: Likewise.
24501
8e9e0fe6
AS
245022003-01-06 Andreas Schwab <schwab@suse.de>
24503
24504 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
24505 failures.
24506
b5ab8ff3
DJ
245072003-01-04 Daniel Jacobowitz <drow@mvista.com>
24508
24509 Fix PR gdb/844
24510 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
24511 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
24512
24513 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
24514 instead of calling gdb_suppress_entire_file.
24515 * gdb.threads/print-threads.exp: Likewise.
24516 * gdb.threads/schedlock.exp: Likewise.
24517
24518 * gdb.threads/killed.exp: Return instead of calling
24519 gdb_suppress_entire_file.
24520 * gdb.threads/linux-dp.exp: Likewise.
24521 * gdb.threads/pthreads.exp: Likewise.
24522
1e698235
DJ
245232003-01-04 Daniel Jacobowitz <drow@mvista.com>
24524
24525 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
24526 stabs.
24527 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
24528 * gdb.base/whatis.exp: Always allow (void) after function names.
24529
147ff08c
DJ
245302003-01-04 Daniel Jacobowitz <drow@mvista.com>
24531
24532 * gdb.c++/casts.exp: Correct regexp.
24533
dc62bfc2
MK
245342003-01-04 Mark Kettenis <kettenis@gnu.org>
24535
24536 * configure.in: Call AC_CONFIG_HEADER. Don't call
24537 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
24538 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
24539 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
24540 aforementioned directories in the AC_OUPUT call.
24541 * config.hin: New file.
24542 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24543 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
24544 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
24545 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
24546 pass -I$objdir instead of -I$objdir/$subdir in compilation.
24547 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
24548 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
24549 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
24550 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
24551 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
24552 gdb.threads/configure.in, gdb.threads/configure,
24553 gdb.threads/config.in, gdb.trace/configure.in,
24554 gdb.trace/configure: Removed.
24555
77afa639
MC
245562003-01-03 Michael Chastain <mec@shout.net>
24557
24558 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
24559 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
24560
7634bb6e
DJ
245612003-01-03 Daniel Jacobowitz <drow@mvista.com>
24562
24563 * gdb.base/store.exp: Fix regular expressions.
24564
b39c905e
MK
245652002-12-28 Mark Kettenis <kettenis@gnu.org>
24566
24567 * configure.in: Rewrite.
24568 * configure: Regenerated.
24569
0a8551dd
DC
245702003-01-03 David Carlton <carlton@math.stanford.edu>
24571
24572 * gdb.base/psymtab.exp: New file.
24573 * gdb.base/psymtab1.c: Ditto.
24574 * gdb.base/psymtab2.c: Ditto.
24575
c60b7188
AF
245762002-12-23 Adam Fedor <fedor@gnu.org>
24577
24578 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
24579
ee73db83
DC
245802002-12-23 David Carlton <carlton@math.stanford.edu>
24581
24582 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
24583 and current_directory initialization.
24584
d6c1774e
JB
245852002-12-22 Jim Blandy <jimb@redhat.com>
24586
f0a847b8
JB
24587 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
24588 rather than as part of the output file name.
24589
d6c1774e
JB
24590 * gdb.base/attach.exp: There's no need to copy the test program to
24591 /tmp; that was only ever necessary on HP/UX, and this test is
24592 entirely disabled there anyway.
24593
f0708dbb
JB
245942002-12-21 Jim Blandy <jimb@redhat.com>
24595
4c2acfea
JB
24596 * gdb.c++/psmang.exp: Doc fix.
24597
f0708dbb
JB
24598 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
24599 test.
24600
9579e000
DC
246012002-12-20 David Carlton <carlton@math.stanford.edu>
24602
24603 * gdb.c++/annota2.exp: KFAIL annotate-quit.
24604
d1810171
MC
246052002-12-18 Michael Chastain <mec@shout.net>
24606
24607 * gdb.c++/annota2.exp: Add copyright year 2002.
24608
76565097
DC
246092002-12-17 David Carlton <carlton@math.stanford.edu>
24610
24611 * gdb.c++/try_catch.cc: Add marker comments.
24612 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
24613 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
24614 * gdb.c++/m-static.cc: Ditto.
24615 * gdb.c++/m-static1.cc: Ditto.
24616 * gdb.c++/try_catch.cc: Ditto.
24617
da81390b
JJ
246182002-12-16 Jeff Johnston <jjohnstn@redhat.com>
24619
24620 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
24621 to see whether we are using the new -environment-directory
24622 command which resets via -r or the old version of the command
24623 which may prompt the user. Part of fix for gdb/741.
24624
b304d130
AC
246252002-12-13 Andrew Cagney <ac131313@redhat.com>
24626
24627 * gdb.fortran/types.exp: Update obsolete comment.
24628 * gdb.fortran/exprs.exp: Ditto.
24629 * lib/gdb.exp: Delete obsolete code.
24630 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
24631 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
24632 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
24633 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
24634 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
24635 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
24636 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
24637 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
24638 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
24639 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
24640 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
24641 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
24642 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
24643 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
24644 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
24645 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
24646 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
24647 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
24648 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
24649 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
24650 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
24651 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
24652 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
24653 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
24654 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
24655 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
24656 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
24657 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
24658 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
24659 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
24660 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
24661 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
24662 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
24663 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
24664 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
24665 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
24666 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
24667
a23b6e6a
DC
246682002-12-11 David Carlton <carlton@math.stanford.edu>
24669
24670 * gdb.c++/m-data.exp: Add test for members that shadow global
24671 variables: see PR gdb/804.
24672 * gdb.c++/m-data.cc: Ditto.
24673
6604731b
DJ
246742002-12-10 Daniel Jacobowitz <drow@mvista.com>
24675
24676 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
24677
de46ecd7
DC
246782002-12-06 David Carlton <carlton@math.stanford.edu>
24679
24680 * gdb.base/store.c: Don't declare functions static.
24681
27e829d0
AC
246822002-12-04 Andrew Cagney <ac131313@redhat.com>
24683
24684 * gdb.base/store.exp, gdb.base/store.c: New files.
24685
92806416
DJ
246862002-12-03 Daniel Jacobowitz <drow@mvista.com>
24687
24688 * gdb.base/selftest.exp: Update for current gdb.
24689
3bcbaac5
DJ
246902002-12-03 Daniel Jacobowitz <drow@mvista.com>
24691
24692 * gdb.base/maint.exp: Only dump symbols from one source file
24693 or objfile.
24694
f4f00b1f
DJ
246952002-12-03 Daniel Jacobowitz <drow@mvista.com>
24696
24697 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
24698 function call.
24699
f1c8a949
JB
247002002-11-25 Jim Blandy <jimb@redhat.com>
24701
24702 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
24703 function appearing in error message.
24704
9e297a97
DJ
247052002-11-21 Daniel Jacobowitz <drow@mvista.com>
24706
24707 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
24708
1f312e79
JJ
247092002-11-08 Jeff Johnston <jjohnstn@redhat.com>
24710
d63a86f8
RM
24711 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
24712 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
24713 should be in mi console format. This is part of fix for PR gdb/604.
24714
83c31e7d
FN
247152002-09-18 Fernando Nasser <fnasser@redhat.com>
24716
24717 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
24718 which explicitly prints the zero offset as "+0".
24719
322b3f65
DJ
247202002-10-22 Daniel Jacobowitz <drow@mvista.com>
24721
24722 * gdb.threads/schedlock.c (args): Make unsigned.
24723
247242002-10-21 Daniel Jacobowitz <drow@mvista.com>
24725
24726 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
24727 numbers. Allow "foo2|selected stack frame".
24728 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
24729 * gdb.asm/asmsrc2.s: Likewise.
24730 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
24731 comments.
24732 * gdb.asm/mips.inc: New file.
24733
5e2fe5b8
AF
247342002-10-18 Adam Fedor <fedor@gnu.org>
24735
24736 * gdb.base/default.exp: Update expected output to include 'ObjC'.
24737 * gdb.base/help.exp: Likewise.
24738
abe1a5d0
KB
247392002-10-17 Kevin Buettner <kevinb@redhat.com>
24740
24741 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
24742 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
24743
10abb1d4
JB
247442002-10-02 Jim Blandy <jimb@redhat.com>
24745
24746 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
24747
1f609b42
AC
247482002-10-01 Andrew Cagney <ac131313@redhat.com>
24749
24750 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
24751 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
24752 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
24753 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
24754 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
24755 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
24756 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
24757
0aee02e4
AC
247582002-09-29 Andrew Cagney <ac131313@redhat.com>
24759
24760 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
24761 * mi0-disassemble.exp, mi0-eval.exp: Delete.
24762 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
24763 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
24764 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
24765 * mi0-var-block.exp, mi0-var-child.exp: Delete.
24766 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 24767
6fde09ad
KB
247682002-09-27 Kevin Buettner <kevinb@redhat.com>
24769
24770 * gdb.base/annota1.exp (info break): Make directory components of
24771 path optional since not all compilers emit this debug information.
24772
889bf7c5
PA
24773 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
24774 step ends up stepping out of the function instead of stopping on
24775 the epilogue.
6fde09ad 24776
9e8aab75
KS
247772002-09-26 Keith Seitz <keiths@redhat.com>
24778
24779 * lib/insight-support.exp (gdbtk_start): Figure out where
24780 the insight executable is based on where gdb is. Use this
24781 executable to start insight instead of gdb.
24782
e36180d7
AC
247832002-09-25 Andrew Cagney <cagney@redhat.com>
24784
24785 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
24786
9dd34b2b
AC
247872002-09-24 Andrew Cagney <ac131313@redhat.com>
24788
24789 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
24790 test_isolated_complaints.
24791 (test_empty_complaint): New function.
24792 (test_empty_complaints): New function. Check no output when no
24793 complaints.
d63a86f8 24794
dea97812
KB
247952002-09-19 Jim Blandy <jimb@redhat.com>
24796
a9c64011 24797 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 24798
54951bd7
AC
247992002-09-19 Andrew Cagney <ac131313@redhat.com>
24800
24801 * gdb.gdb/complaints.exp: New file.
24802
dec43320
AC
248032002-09-18 Andrew Cagney <ac131313@redhat.com>
24804
24805 * gdb.base/maint.exp: Check `help maint internal-warning'.
24806
e70d6e3f
DC
248072002-09-18 David Carlton <carlton@math.stanford.edu>
24808
24809 * gdb.c++/m-static.exp: Remove breakpoints depending on line
24810 numbers, and replace them by a single breakpoint after the
24811 constructors are all finished.
24812 Add test 4.
24813 * gdb.c++/m-static.cc: Add test 4.
24814 * gdb.c++/m-static.h: New file.
24815 * gdb.c++/m-static1.cc: New file.
24816
24817 * gdb.c++/printmethod.exp: New file.
24818 * gdb.c++/printmethod.cc: New file.
24819
24820 * gdb.c++/pr-574.exp: New file.
24821 * gdb.c++/pr-574.cc: New file.
24822
afb5c968
CV
248232002-09-18 Corinna Vinschen <vinschen@redhat.com>
24824
24825 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
24826 embedded targets which never actually exit.
24827
31e45dee
FN
248282002-09-18 Fernando Nasser <fnasser@redhat.com>
24829
24830 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
24831 "don't step after run" as unresolved or unsupported, instead of xfail.
24832
a283c5a1
CV
248332002-09-18 Corinna Vinschen <vinschen@redhat.com>
24834
24835 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
24836 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
24837 Add newline to expected string in "step out of main (status wrapper)"
24838 case.
24839
11350d2a
CV
248402002-09-18 Corinna Vinschen <vinschen@redhat.com>
24841
24842 * lib/gdb.exp (rerun_to_main): Allow restarting application.
24843 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
24844
0deec7d6
TT
248452002-09-17 Tom Tromey <tromey@redhat.com>
24846
24847 * gdb.base/printcmds.exp (test_print_string_constants): Expect
24848 \000, not \0, in double-quoted string.
24849
b2b4a1b5
CV
248502002-09-14 Corinna Vinschen <vinschen@redhat.com>
24851
c9d37158 24852 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
24853 string after running the commands execution on breakpoint tests.
24854
1c56143a
CV
248552002-09-13 Corinna Vinschen <vinschen@redhat.com>
24856
24857 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
24858
37f8da45
JB
248592002-09-12 Joel Brobecker <brobecker@gnat.com>
24860
24861 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
24862
08b468e0
KS
248632002-09-10 Keith Seitz <keiths@redhat.com>
24864
24865 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
24866 runto proc.
24867 (mi_run_to_main): Use mi_runto.
24868 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
24869
dc360f58
KS
248702002-09-10 Keith Seitz <keiths@redhat.com>
24871
24872 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
24873 regexp for stopping at main. Could have multiple event notifications.
24874 Don't assume that main was declared with no parameters.
24875 (mi_next): Use mi_step_to.
24876 (mi_step): Use mi_next_to.
24877
ce3abcfb
CV
248782002-09-09 Corinna Vinschen <vinschen@redhat.com>
24879
24880 * gdb.base/default.exp: Fix expected string in `info float' test.
24881
d1f5b980
BE
248822002-09-09 Ben Elliston <bje@redhat.com>
24883
24884 * config/mips.exp: Update comments.
24885 * config/mips-idt.exp: Likewise.
24886 * config/nind.exp: Likewise.
24887 * config/slite.exp: Likewise.
24888 * config/sparclet.exp: Likewise.
24889 * config/udi.exp: Likewise.
24890 * config/vx.exp: Likewise.
24891 * config/vxworks29k.exp: Likewise.
24892
2f71430b
JB
248932002-09-05 Jim Blandy <jimb@redhat.com>
24894
24895 * gdb.threads/killed.exp: Fix test failure message.
24896
7ddebc7e
KS
248972002-09-04 Keith Seitz <keiths@redhat.com>
24898
24899 * lib/mi-support.exp: Update copyright.
24900 (mi_gdb_test): Increase the priority of the expected pattern
24901 so that it matches gdb_test.
24902
0ae67eb3
KS
249032002-09-03 Keith Seitz <keiths@redhat.com>
24904
24905 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
24906 Use integer comparison instead of string comparison for testing
24907 whether binary was built.
24908
38fc42c8
JB
249092002-09-03 Jim Blandy <jimb@redhat.com>
24910
24911 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
24912
b6ff0e81
JB
249132002-08-29 Jim Blandy <jimb@redhat.com>
24914
24915 * gdb.threads/pthreads.exp: Move the portable thread compilation
24916 code into a function in lib/gdb.exp, and call that from here.
24917 * lib/gdb.exp (gdb_compile_pthreads): New function.
24918
07c98896
KS
249192002-08-29 Keith Seitz <keiths@redhat.com>
24920
24921 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
24922 expect_out so that callers can get at it.
24923
0312286c
DJ
249242002-08-23 Daniel Jacobowitz <drow@mvista.com>
24925
24926 * gdb.threads/print-threads.c: New file.
24927 * gdb.threads/print-threads.exp: New file.
24928 * gdb.threads/schedlock.c: New file.
24929 * gdb.threads/schedlock.exp: New file.
24930
dd039bc4
EZ
249312002-08-22 Elena Zannoni <ezannoni@redhat.com>
24932
a9c64011
AS
24933 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
24934 not altivec.c.
dd039bc4 24935
1f36144c
MK
249362002-08-17 Mark Kettenis <kettenis@gnu.org>
24937
24938 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
24939 targets. The problem should be fixed now.
24940
16057ec7 249412002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
24942
24943 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
24944 2002-07-24 change that removes final dots from error messages.
24945
3c1499ad
TT
249462002-08-13 Tom Tromey <tromey@redhat.com>
24947
24948 * gdb.base/readline.exp: New file.
24949
a20ce2c3
AC
249502002-08-01 Andrew Cagney <ac131313@redhat.com>
24951
24952 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
24953 supress message.
24954
db034ac5
AC
249552002-08-01 Andrew Cagney <cagney@redhat.com>
24956
24957 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
24958 CHILL_FOR_TARGET and CHILL_LIB.
24959 * configure.in (configdirs): Remove gdb.chill.
24960 * configure: Regenerate.
24961 * lib/gdb.exp: Obsolete references to chill.
24962 * gdb.fortran/types.exp: Ditto.
24963 * gdb.fortran/exprs.exp: Ditto.
24964
3e000b18
KB
249652002-07-30 Kevin Buettner <kevinb@redhat.com>
24966
24967 * gdb.base/shlib-call.exp (additional_flags): Conditionally
24968 set Irix-specific compile and link flags.
24969
28f4966b
KB
249702002-07-29 Kevin Buettner <kevinb@redhat.com>
24971
24972 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
24973 source files. The ``-o'' option doesn't work with the ``-E'' option
24974 when using the Irix compiler.
24975
46c0d5a6
DJ
249762002-07-19 Daniel Jacobowitz <drow@mvista.com>
24977
24978 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
24979 Improve support for reusing an exec file. Copy exec file
24980 to target, and run gdbserver on the target instead of on the host.
24981
eecf4bed
JB
249822002-07-18 Jim Blandy <jimb@redhat.com>
24983
0f815cdf
JB
24984 * gdb.base/ending-run.exp: Don't expect to see the program end in
24985 some orderly fashion when we're running on a real stand-alone
24986 board.
24987
eecf4bed
JB
24988 * gdb.base/interrupt.exp: Correct logic for skipping tests on
24989 targets that don't support interrupts.
24990
52d309e4
JB
249912002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
24992
24993 * gdb.base/attach.exp: Add patterns to match output from /proc-based
24994 systems.
24995 Move comments in expect statements to inside the actions, so that they
24996 don't get matched against.
24997
ff683d9e
MK
249982002-07-10 Mark Kettenis <kettenis@gnu.org>
24999
25000 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
25001 function when asleep" test.
25002
b5356753
AC
250032002-07-10 Andrew Cagney <ac131313@redhat.com>
25004
25005 * gdb.base/page.exp: Rewrite to handle problems with very long
25006 `info set' output. Update copyright.
25007
6aa4d13a
AC
250082002-06-26 Andrew Cagney <ac131313@redhat.com>
25009
25010 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
25011 gdb.threads-hp.
25012 * gdb.hp/configure: Regenerate.
25013 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
25014 * gdb.hp/gdb.threads-hp/configure: Delete file.
25015 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
25016
8cf8c2b8
AC
250172002-06-22 Andrew Cagney <ac131313@redhat.com>
25018
25019 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
25020 setlocale, bindtextdomain and textdomain.
25021
6827a8f8
JB
250222002-06-11 Jim Blandy <jimb@redhat.com>
25023
919d772c
JB
25024 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
25025 preprocessor macro information is present.
25026
6827a8f8
JB
25027 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
25028 tests.
25029
c15b0d21
MS
250302002-06-06 Michael Snyder <msnyder@redhat.com>
25031
c5984d70
MS
25032 * gdb.base/overlays.exp: Record addresses of overlay
25033 functions in TCL variables rather than in GDB variables,
25034 to avoid having GDB convert them to pointers (with loss
25035 of information).
25036
d63a86f8 25037 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 25038 default linker script changes.
c15b0d21
MS
25039 * gdb.base/long_long.exp: Add check for sizeof (long double).
25040
be26fe0d
ML
250412002-06-06 Michal Ludvig <mludvig@suse.cz>
25042
25043 * gdb.asm/asm-source.exp: Add x86-64 target.
25044 * gdb.asm/x86_64.inc: New.
d63a86f8 25045
258093ca 250462002-05-30 Michael Chastain <mec@shout.net>
258093ca 25047
4b3153f1 25048 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
25049 * gdb.c++/m-static.cc: New file.
25050 * gdb.c++/m-static.exp: New file.
25051
241264c6
MS
250522002-05-28 Michael Snyder <msnyder@redhat.com>
25053
25054 * gdb.base/call-ar-st.exp: Allow for reduced floating point
25055 precision.
25056
9bba8c8f 250572002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 25058
4b3153f1 25059 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
25060 * gdb.c++/m-data.cc: New file.
25061 * gdb.c++/m-data.exp: New file.
25062
250632002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 25064
4b3153f1 25065 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 25066 * gdb.c++/try_catch.cc: New file.
d63a86f8 25067 * gdb.c++/try_catch.exp: New file.
9bba8c8f 25068
def1b996
MC
250692002-05-27 Michael Chastain <mec@shout.net>
25070
25071 * gdb.c++/local.exp: Accept more nested types in output.
25072
522ba268
MC
250732002-05-26 Michael Chastain <mec@shout.net>
25074
25075 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
25076
277254ba
MS
250772002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
25078
25079 * lib/gdb.exp (gdb_wrapper_init): Just because
25080 gdb_wrapper_file exists, this does not mean that the file
25081 should not be rebuilt. That is what gdb_wrapper_initialized
25082 is for.
25083 (default_gdb_init): Reset gdb_wrapper_initialized.
25084
b61a8733
MS
250852002-05-23 Michael Snyder <msnyder@redhat.com>
25086
d63a86f8 25087 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
25088 the precision of the floating point test results.
25089 * gdb.base/call-rt-st.exp: Ditto.
25090
b61a8733
MS
25091 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
25092 * gdb.base/call-rt-st.exp: Ditto.
25093
56f6e910
MC
250942002-05-19 Michael Chastain <mec@shout.net>
25095
25096 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
25097
ad0b0016
EZ
250982002-05-19 Elena Zannoni <ezannoni@redhat.com>
25099
a9c64011
AS
25100 * configure.in (configdirs): Add gdb.arch.
25101 * configure: Regenerate.
ad0b0016 25102
f617d2b6
JB
251032002-05-17 Jim Blandy <jimb@redhat.com>
25104
25105 * gdb.base/completion.exp: Recognize the more detailed error
25106 messages produced by the macro expander's lexical analyzer.
25107
eac2a696
EZ
251082002-05-14 Elena Zannoni <ezannoni@redhat.com>
25109
a9c64011
AS
25110 * gdb.arch/altivec-abi.c: New file.
25111 * gdb.arch/altivec-abi.exp: New file.
25112 * gdb.arch/altivec-regs.c: New file.
25113 * gdb.arch/altivec-regs.exp: New file.
eac2a696 25114
2fdde8f8
DJ
251152002-05-14 Daniel Jacobowitz <drow@mvista.com>
25116
25117 * gdb.base/maint.exp (maint print type): Update for new type
25118 structure.
d63a86f8 25119
e31f1a7c
EZ
251202002-05-14 Elena Zannoni <ezannoni@redhat.com>
25121
25122 * gdb.arch: New directory.
25123 * gdb.arch/configure.in: New file.
25124 * gdb.arch/configure: New file.
25125 * gdb.arch/Makefile.in: New file.
25126
db589741
CV
251272002-05-13 Corinna Vinschen <vinschen@redhat.com>
25128
25129 * gdb.asm/asm-source.exp: Add v850 as supported target.
25130 * gdb.asm/v850.inc: New file.
25131
8ce2a7dc
DJ
251322002-05-13 Daniel Jacobowitz <drow@mvista.com>
25133
25134 * gdb.c++/annota2.exp (annotate-quit): Add comment.
25135
df763c7f
DJ
251362002-05-12 Daniel Jacobowitz <drow@mvista.com>
25137
25138 * gdb.base/break.exp: Check 'break "marker2"'.
25139
377daeed
MS
251402002-05-10 Michael Snyder <msnyder@redhat.com>
25141
25142 * gdb.base/long_long.exp: Fix typo.
25143
c4b7bc2b
JB
251442002-05-10 Jim Blandy <jimb@redhat.com>
25145
ecac9a4e
JB
25146 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
25147 a bug.
25148
c4b7bc2b
JB
25149 * gdb.base/printcmds.exp (test_integer_literals_rejected):
25150 Recognize more detailed error message produced by the macro
25151 expander's lexical analyzer.
25152 * lib/gdb.exp (test_print_reject): Same.
25153
e71019a1
MK
251542002-05-09 Mark Kettenis <kettenis@gnu.org>
25155
25156 * gdb.c++/method.exp: Fix typo.
25157
fedfc8e6
MS
251582002-05-08 Michael Snyder <msnyder@redhat.com>
25159
166a1957
MS
25160 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
25161 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 25162 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
25163 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
25164 Add iftarget clause for strongarm.
d63a86f8 25165
f1c47eb2
MS
251662002-05-06 Michael Snyder <msnyder@redhat.com>
25167
cb9a9d3e
MS
25168 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
25169 (gdb_continue_to_end): Accept output from status wrapper.
25170 * gdb.base/ending-run.exp: Add case for output from status wrapper.
25171 Clean up fail messages to match pass messages.
25172
f1c47eb2
MS
25173 Enable the "needs_status_wrapper" testsuite feature.
25174 * lib/gdb.exp (gdb_wrapper_init): New procedure.
25175 (gdb_compile): Conditionally call gdb_wrapper_init.
25176 * gdb.base/a2-run.exp: Recognize output from status wrapper.
25177 * gdb.c++/method.exp: Recognize output from status wrapper.
25178
6079c749
BE
251792002-05-06 Ben Elliston <bje@redhat.com>
25180From Graydon Hoare <graydon@redhat.com>
25181
25182 * config/sid.exp: Include support for "rawsid" protocol.
25183
188baff3
JB
251842002-05-03 Jim Blandy <jimb@redhat.com>
25185
25186 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
25187 * gdb.c++/hang3.C: New file.
25188
b9c07f0f
AC
251892002-05-04 Andrew Cagney <ac131313@redhat.com>
25190
25191 * gdb.base/default.exp: Remove obsolete code.
25192 * gdb.c++/misc.exp: Ditto. Update copyright.
25193 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
25194 * gdb.base/whatis.exp: Ditto. Update copyright.
25195 * gdb.base/scope.exp: Ditto. Update copyright.
25196 * gdb.base/ptype.exp: Ditto. Update copyright.
25197 * gdb.base/printcmds.exp: Ditto. Update copyright.
25198 * gdb.base/opaque.exp: Ditto. Update copyright.
25199 * gdb.base/list.exp: Ditto.
25200 * gdb.base/funcargs.exp: Ditto. Update copyright.
25201 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
25202 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
25203 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
25204 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
25205 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
25206 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
25207
5c7a0397
MS
252082002-05-02 Michael Snyder <msnyder@redhat.com>
25209
d6dcc264 25210 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
25211 * gdb.base/long_long.exp: Add xscale target.
25212 * gdb.base/default.exp: Add xscale target.
25213
eb7f1c48
JB
252142002-05-01 Jim Blandy <jimb@redhat.com>
25215
25216 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
25217 gdb.c++/hang.exp: New test.
25218
a6befae8
FF
252192002-05-01 Fred Fish <fnf@redhat.com>
25220
25221 * gdb.base/completion.exp: Handle completions of "./Make" for
25222 more than one completion possibility, as is the case when we
25223 build and test in the source tree.
25224
0a310277
AG
252252002-04-29 Anthony Green <green@redhat.com>
25226
25227 * gdb.java/jmisc1.exp: New file.
25228 * gdb.java/jmisc2.exp: New file.
25229
6ff9af88
DJ
252302002-04-24 Daniel Jacobowitz <drow@mvista.com>
25231
25232 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
25233
96b3d632
EZ
252342002-04-23 Elena Zannoni <ezannoni@redhat.com>
25235
25236 * gdb.base/help.exp: Change 'help status' to allow for target
25237 dependent output differences.
25238
5019bb54
MC
252392002-04-22 Michael Chastain <mec@shout.net>
25240
25241 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
25242
a805a116
MC
252432002-04-22 Michael Chastain <mec@shout.net>
25244
25245 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
25246
a1706bfd
DM
252472002-04-17 David S. Miller <davem@redhat.com>
25248
25249 * gdb.asm/sparc64.inc: New file.
25250 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
25251
a73a20a2
EZ
252522002-04-19 Elena Zannoni <ezannoni@redhat.com>
25253
25254 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
25255 instruction file directly into the build tree. Clean up at end of
25256 test.
25257
ba678339
DM
252582002-04-18 David S. Miller <davem@redhat.com>
25259
25260 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
25261 handle 64-bit platforms correctly.
25262 * gdb.base/maint.exp: Likewise.
25263
b03399da
KB
252642002-04-18 Kevin Buettner <kevinb@redhat.com>
25265
25266 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
25267 ``-fpic'' when compiling files comprising a shared library, but
25268 it does need additional linker flags in order to find shared
25269 libraries at run time.
25270
e2004992
KB
252712002-04-18 Kevin Buettner <kevinb@redhat.com>
25272
25273 * gdb.base/cvexpr.c (use): New function.
25274 (main): Invoke use() on all global variables to prevent
25275 some linkers from deleting these otherwise unused symbols.
25276
d8937120
MC
252772002-04-17 Michael Chastain <mec@shout.net>
25278From David S. Miller <davem@redhat.com>
25279
25280 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
25281 handle 64-bit platforms correctly.
25282
ffd61a58
MS
252832002-04-12 Michael Snyder <msnyder@redhat.com>
25284From Jim Blandy <jimb@redhat.com>
a9c64011 25285 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
25286 script can handle this instead.
25287 * gdb.base/bar.c (barx): Same.
25288 * gdb.base/baz.c (bazx): Same.
25289 * gdb.base/grbx.c (grbxx): Same.
25290
25291 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
25292 manager doesn't automatically unmap overlays unnecessarily.
25293
6b8426a6
MH
252942002-04-10 Martin M. Hunt <hunt@redhat.com>
25295
25296 * gdb.base/ending-run.exp: Fix pattern for Mips targets
25297 stepping out of main.
25298
34af4875
MC
252992002-04-09 Michael Chastain <mec@shout.net>
25300
25301 * gdb.c++/local.cc (main): Move call to marker1() inside nested
25302 scope so that the nested scope tests will make sense.
25303 * gdb.c++/local.exp: Write patterns that actually work with gcc
25304 (the HP patterns "were never known to work with gcc").
25305 Keep the old aCC patterns too.
25306
2d1676a0
DJ
253072002-04-09 Daniel Jacobowitz <drow@mvista.com>
25308
25309 * gdb.base/attach.exp: Correct target board test.
25310
3a63e3f9
MC
253112002-04-08 Michael Chastain <mec@shout.net>
25312
25313 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
25314 in a const method. Add some xfail and fail cases for configurations
25315 that do not emit the "const ...".
25316
f18dabd2
MC
253172002-04-07 Michael Chastain <mec@shout.net>
25318
25319 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
25320 Accept "A * const" and "const A * const" as type of "this".
25321 Fix spelling of getFunky throughout. Make messages uniform.
25322
0fcddd82
EZ
253232002-04-07 Elena Zannoni <ezannoni@redhat.com>
25324
a9c64011 25325 Work around for PR gdb/285:
0fcddd82
EZ
25326 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
25327
16a8534a
EZ
253282002-04-07 Elena Zannoni <ezannoni@redhat.com>
25329
25330 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
25331 instructions file at run time instead of configure time.
25332 Sometimes we run the test in a directory that is not the one we
25333 configured in.
25334 * gdb.asm/configure.in: Delete creation of symlink.
25335 * gdb.asm/configure: Regenerate.
25336
24181d81
JB
253372002-04-05 J. Brobecker <brobecker@gnat.com>
25338
25339 * gdb.gdb/xfullpath.exp: New test, to exercise the new
25340 xfullpath () function.
25341
7cdb7107
DJ
253422002-04-04 Daniel Jacobowitz <drow@mvista.com>
25343
25344 * gdb.asm/Makefile.in: Correct dependencies.
25345
25346 * gdb.asm/powerpc.inc: New file.
25347 * gdb.asm/asm-source.exp: Add PowerPC.
25348 * gdb.asm/configure.in: Likewise.
25349 * gdb.asm/configure: Regenerated.
25350
a7d17088
DJ
253512002-04-04 Daniel Jacobowitz <drow@mvista.com>
25352
25353 * gdb.base/relocate.exp: New file.
25354 * gdb.base/relocate.c: New file.
25355
cd721503
FF
253562002-04-04 Fred Fish <fnf@redhat.com>
25357
25358 * gdb.base/step-test.exp: Update comment regarding stopping in
25359 memcpy/bcopy calls inserted as part of the compiler runtime.
25360
b22ad7a7
MS
253612002-04-04 Michael Snyder <msnyder@redhat.com>
25362
25363 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
25364
5f279fa6
DJ
253652002-04-03 Daniel Jacobowitz <drow@mvista.com>
25366
25367 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
25368 (gdb_expect): Remove $notransfer hack.
25369
dd0fd3ce
DJ
253702002-04-02 Daniel Jacobowitz <drow@mvista.com>
25371
25372 * gdb.c++/classes.exp ("calling method for small class"): Match
25373 updated register output.
25374
1e50cda1
DJ
253752002-03-30 Daniel Jacobowitz <drow@mvista.com>
25376
25377 Fix PR gdb/452
25378 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
25379 when finished. Make gdb_file_cmd send "exec-file" when
25380 appropriate.
25381
24015922
DJ
253822002-03-30 Daniel Jacobowitz <drow@mvista.com>
25383
25384 * gdb.base/attach.exp: Remove extra setup_xfail.
25385
dd7dfd64
MS
253862002-03-26 Michael Snyder <msnyder@redhat.com>
25387
25388 * gdb.base/default.exp: Add tests for dump, append, and restore.
25389 * gdb.base/help.exp: Add tests for dump, append, and restore.
25390 * gdb.base/dump.exp: New file, test dump, append and restore.
25391 * gdb.base/dump.c: New file.
25392
48b2f8d7
MS
253932002-03-27 Michael Snyder <msnyder@redhat.com>
25394
d63a86f8 25395 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
25396 clean-ups in help messages.
25397
05b4d525
FF
253982002-03-26 Fred Fish <fnf@redhat.com>
25399
25400 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
25401 have debugging info for those functions and the compiler uses them
25402 internally to copy structs around.
25403
d7679631
FF
254042002-03-26 Fred Fish <fnf@redhat.com>
25405
25406 * gdb.base/list.exp: Revert the change made yesterday and add note
25407 about why we don't list the default lines for remote targets.
25408
523ac3f9
MS
254092002-03-25 Michael Snyder <msnyder@redhat.com>
25410
25411 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
25412
754b2b8d
FF
254132002-03-25 Fred Fish <fnf@redhat.com>
25414
25415 * gdb.base/list.exp: This test works on remote targets so remove
25416 the short circuit for remote targets. Update copyright.
25417
33c3e192
FF
254182002-03-25 Fred Fish <fnf@redhat.com>
25419
25420 * gdb.base/attach.exp: Fix logic error that was suppressing this
25421 test for all non hppa*-*-hpux* targets, instead of the hp target.
25422 Move comments closer to the suppression point. Also now need to
25423 check that we are running natively.
25424
d43e73ee
MS
254252002-03-22 Michael Snyder <msnyder@redhat.com>
25426
882c8f02
MS
25427 * gdb.base/default.exp: Add test for gcore. Update copyright.
25428 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 25429
04c12f60
FF
254302002-03-06 Fred Fish <fnf@redhat.com>
25431
25432 * gdb.base/funcargs.c: Remove extraneous ';' character.
25433 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
25434
b43df995
MC
254352002-03-04 Michael Chastain <mec@shout.net>
25436
25437 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
25438 accommodate gcc v3 function signature.
25439 * gdb.mi/mi0-var-cmd-exp: Ditto.
25440
92362027
AC
254412002-02-24 Andrew Cagney <ac131313@redhat.com>
25442
25443 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
25444 ``GNU/Linux'' or ``Linux kernel''
25445 * testsuite/gdb.threads/pthreads.c: Ditto.
25446
258ad32d
MC
254472002-02-24 Michael Chastain <mec@shout.net>
25448
25449 * gdb.threads/pthreads.c (thread1): Add a return statement.
25450 (thread2): Likewise.
25451 (foo): Likewise.
25452
04c3b3d4
MC
254532002-02-23 Michael Chastain <mec@shout.net>
25454
25455 * gdb.threads/linux-dp.c (philosopher): Add a return statement
25456 to placate gcc.
25457
5a2a0a20
MC
254582002-02-23 Michael Chastain <mec@shout.net>
25459
25460 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
25461 test "ptype bint". The test passes on all my stabs configurations.
25462
a640f7fc
JB
254632002-02-21 Jim Blandy <jimb@redhat.com>
25464
27924826
JB
25465 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
25466 filename at a time, and watch for the ones we want to see.
25467
a640f7fc
JB
25468 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
25469 types of pointers to prototyped functions.
25470
edcc8c75
AC
254712002-02-20 Andrew Cagney <ac131313@redhat.com>
25472
25473 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
25474 signed, unsigned and straight char.
25475 (padding_char, padding_short, padding_int, padding_long,
25476 padding_long_long, padding_float, padding_double,
25477 padding_long_double): New global variables.
25478 (fill, fill_structs): New functions.
25479
25480 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
25481 for correctly sized writes. Update copyright.
25482 (get_valueof): New procedure.
25483 (get_sizeof): Call get_valueof.
25484 (check_valueof): New procedure.
25485 (check_padding): New procedure.
25486
ac57ea44
MC
254872002-02-20 Michael Chastain <mec@shout.net>
25488
25489 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
25490 to setup_xfail. Document some of the remaining calls.
25491
7a10c941
MC
254922002-02-18 Michael Chastain <mec@shout.net>
25493
25494 * gdb.c++/userdef.exp: Update copyright year.
25495
fb8acdcc
DJ
254962002-02-18 Daniel Jacobowitz <drow@mvista.com>
25497
25498 * gdb.c++/userdef.exp: Test overloaded operators properly.
25499 Remove xfails.
25500
fda6ae12
MS
255012002-02-14 Michael Snyder <msnyder@redhat.com>
25502
25503 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
25504
676a0442
DJ
255052002-02-14 Daniel Jacobowitz <drow@mvista.com>
25506
25507 * gdb.base/a2-run.exp: Check for a remote target properly.
25508 * gdb.base/annota1.exp: Likewise.
25509 * gdb.base/list.exp: Likewise.
25510 * gdb.base/reread.exp: Likewise.
25511 * gdb.base/scope.exp: Likewise.
25512 * gdb.base/shlib-call.exp: Likewise.
25513 * gdb.base/term.exp: Likewise.
25514 * gdb.c++/annota2.exp: Likewise.
25515
78b4f468
RE
255162002-02-13 Richard Earnshaw <rearnsha@arm.com>
25517
25518 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
25519
9a81ba51
MC
255202002-02-10 Michael Chastain <mec@shout.net>
25521
25522 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
25523 (call_after_alloca): Ditto.
25524
004af6c7
DJ
255252002-02-10 Daniel Jacobowitz <drow@mvista.com>
25526
25527 * gdb.base/ending-run.exp: Guard "cont" test with
25528 gdb_skip_stdio_test.
25529
37225f62
JB
255302002-02-06 Jim Blandy <jimb@redhat.com>
25531
25532 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
25533 from here...
25534 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
25535 To here. Disable this test on non-HP platforms. Add big comment.
25536
fe6fdd96
MS
255372002-02-04 Michael Snyder <msnyder@redhat.com>
25538
25539 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
25540 other than d10v and m32r.
25541
036fad3f
RE
255422002-02-02 Richard Earnshaw <rearnsha@arm.com>
25543
25544 * gdb.base/default.exp: Rewrite test patterns to reduce time
25545 taken to match them.
25546
7148ab62
DJ
255472002-01-30 Daniel Jacobowitz <drow@mvista.com>
25548
25549 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
25550 Allow a start function above main.
25551 * gdb.threads/linux-dp.exp: Fix copyright date.
25552
396cc255
DJ
255532002-01-30 Daniel Jacobowitz <drow@mvista.com>
25554
a9c64011
AS
25555 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
25556 (check_philosopher_stack): Check for manager thread before checking
25557 for a just-starting thread.
396cc255 25558
f038d31b
DJ
255592002-01-30 Daniel Jacobowitz <drow@mvista.com>
25560
25561 From Neil Booth <neil@daikokuya.demon.co.uk>:
25562 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
25563 warnings.
25564
b3ff9d9a
FF
255652002-01-21 Fred Fish <fnf@redhat.com>
25566
25567 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
25568 not caller.
25569
39ad761d
JB
255702002-01-21 Jim Blandy <jimb@redhat.com>
25571
25572 * gdb.base/reread.exp: Check that GDB properly re-reads the
25573 executable file when it changes while no inferior is running.
25574
aaf320fa
FF
255752002-01-21 Fred Fish <fnf@redhat.com>
25576
a9c64011
AS
25577 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
25578 optionally accept the "shlib events" variation.
aaf320fa 25579
808a31f5
JB
255802002-01-21 Jim Blandy <jimb@redhat.com>
25581
25582 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
25583 call `fflush' after every `printf', so that the output is produced
25584 at predictable points, regardless of whatever buffering does (or
25585 doesn't) take place.
25586 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
25587 at different points.
25588
4420d5e2
DJ
255892002-01-20 Daniel Jacobowitz <drow@mvista.com>
25590
25591 * gdb.c++/inherit.exp: Update copyright years.
25592 * gdb.c++/method.exp: Likewise.
25593
3e36a0f4
DJ
255942002-01-20 Daniel Jacobowitz <drow@mvista.com>
25595
25596 * gdb.c++/classes.exp: Update for improved v3 support and skipping
25597 artificial methods/arguments.
25598 * gdb.c++/derivation.exp: Likewise.
25599 * gdb.c++/inherit.exp: Likewise.
25600 * gdb.c++/method.exp: Likewise.
25601 * gdb.c++/virtfunc.exp: Likewise.
25602
b4ceaee6
AC
256032002-01-18 Andrew Cagney <ac131313@redhat.com>
25604
25605 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
25606 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
25607 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
25608 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
25609 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
25610 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
25611
ecace851
JB
256122002-01-17 Jim Blandy <jimb@redhat.com>
25613
25614 * gdb.asm/asm-source.exp (info symbol): Take another shot at
25615 anchoring the pattern matching the entry point symbol's name.
25616
375fc983
AC
256172002-01-17 Andrew Cagney <ac131313@redhat.com>
25618
25619 * gdb.base/maint.exp: Update ``maint internal-error'' to match
25620 continue/quit query. Update copyright.
25621
fe6fdd96
MS
256222002-01-14 Michael Snyder <msnyder@redhat.com>
25623
25624 * gdb.base/gcore.exp: Remove extra debugging output.
25625
e017c81f
DJ
256262002-01-13 Daniel Jacobowitz <drow@mvista.com>
25627
25628 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
25629 for slightly dubious v2 mangled string.
25630
37ab3bf8
DJ
256312002-01-13 Daniel Jacobowitz <drow@mvista.com>
25632
25633 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
25634
1bc05c3a 256352002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 25636
1bc05c3a 25637 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 25638
1bc05c3a
JM
25639 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
25640 constructors.
25641 * gdb.c++/derivation.exp: Likewise.
25642 * gdb.c++/templates.exp: Likewise.
25643 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 25644
1bc05c3a
JM
256452002-01-10 Michael Snyder <msnyder@redhat.com>
25646
25647 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 25648
a911c360
MS
256492002-01-08 Michael Snyder <msnyder@redhat.com>
25650
25651 * gdb.base/gcore.exp: New test for generate-core-file command.
25652 * gdb.base/gcore.c: Testcase for above.
25653 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
25654
ea2119ec
JM
256552002-01-08 Jason Merrill <jason@redhat.com>
25656
25657 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
25658
68203136
FF
256592002-01-07 Fred Fish <fnf@redhat.com>
25660
25661 * gdb.c++/overload.exp: Remove unconditional xfails for:
25662 print foo_instance1.overloadargs(1)
25663 print foo_instance1.overloadargs(1, 2)
25664 print foo_instance1.overloadargs(1, 2, 3)
25665 print foo_instance1.overloadargs(1, 2, 3, 4)
25666 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
25667 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
25668 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
25669 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
25670 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
25671 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
25672 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
25673 print foo_instance1.overload1arg()
25674 print foo_instance1.overload1arg((char)arg2)
25675 print foo_instance1.overload1arg((signed char)arg3)
25676 print foo_instance1.overload1arg((unsigned char)arg4)
25677 print foo_instance1.overload1arg((int)arg7)
25678 print foo_instance1.overload1arg((unsigned int)arg8)
25679 print foo_instance1.overload1arg((float)arg11)
25680 print foo_instance1.overload1arg((double)arg12)
d63a86f8 25681
21b9b5b1
MS
256822002-01-07 Michael Snyder <msnyder@redhat.com>
25683
25684 * gdb.base/huge.exp: New test. Print a very large target data object.
25685 (skip_huge_test): New test variable. Define if you want to skip this
25686 test. The test reads an 8 megabyte data object from the target, so it
25687 might be very time consuming on remote targets with a slow connection.
25688 * gdb.base/huge.c: New file. Test case for above.
25689
725f922e
FF
256902002-01-07 Fred Fish <fnf@redhat.com>
25691
25692 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
25693 g_instance.bfoo, and g_instance.cfoo.
25694
889bf7c5 256952002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 25696
889bf7c5
PA
25697 * gdb.base/break.c (multi_line_if_conditional): New function.
25698 (multi_ilne_while_conditional): Likewise.
25699 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
25700 IF or WHILE condition puts the breakpoint at the start of
25701 the condition.
f286b2c3 25702
634d57ec
JL
25703 * gdb.base/selftest.exp (backtrace through signal handler): Remove
25704 hppa*-*-hpux* expected failure.
25705 * gdb.base/structs.exp (do_function_calls): Similarly.
25706
25707 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
25708 watchpoints.
25709
9fbfe2dc
AC
257102002-01-06 Andrew Cagney <ac131313@redhat.com>
25711
25712 Fix PR gdb/66.
25713 * gdb.base/structs.exp: Replace skip for a29k with skip for
25714 gdb,cannot_call_functions.
25715 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
25716 * gdb.base/callfuncs.exp: Ditto.
25717 * gdb.base/call-rt-st.exp: Ditto.
25718 * gdb.base/call-strs.exp: Ditto.
25719 * gdb.base/callfwmall.exp: Ditto.
25720 * gdb.base/scope.exp: Obsolete xfail a29k.
25721 * gdb.c++/misc.exp: Ditto.
25722 * gdb.c++/cplusfuncs.exp: Ditto.
25723 * gdb.base/ptype.exp: Ditto.
25724 * gdb.base/printcmds.exp: Ditto.
25725 * gdb.base/opaque.exp: Ditto.
25726 * gdb.base/list.exp: Ditto.
25727 * gdb.base/funcargs.exp: Ditto.
25728 * gdb.base/default.exp: Ditto.
25729
8ddad156
MS
257302002-01-04 Michael Snyder <msnyder@redhat.com>
25731
ca4976a6 25732 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
25733 * gdb.base/maint.exp: Add tests for maint info sections options.
25734
1b074332
JL
25735Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
25736
25737 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
25738
7d159115
CV
257392001-12-20 Corinna Vinschen <vinschen@redhat.com>
25740
25741 * gdb.asm/arm.inc: New file.
25742 * gdb.asm/asm-source.exp: Add arm targets.
25743 * gdb.asm/configure.in: Ditto.
25744 * gdb.asm/configure: Recreated from configure.in.
25745
8fb87725
JL
25746Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
25747
afabe08c
JL
25748 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
25749 with HP's compiler.
25750 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
25751 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
25752 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
25753 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
25754
25755 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
25756 either HP's compilers or GCC.
25757
db521deb
JL
25758 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
25759 a SIGBUS or SIGSEGV.
25760
25761 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
25762
25763 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
25764 can be compiled with either HP's compiler or GCC.
25765
cfa88ab7
JL
25766 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
25767 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
25768 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
25769
ca344dff
JL
25770 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
25771 to match current gdb output. Update due to using auto-solib-limit
25772 for limiting instead of overloading auto-solib-add.
25773 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
25774 test program.
25775
3f3c6e55 25776 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
25777 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
25778 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
25779 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
25780 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
25781 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
25782 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
25783 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
25784 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
25785 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
25786 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
25787 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
25788 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 25789
8fb87725
JL
25790 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
25791 a SIGTRAP to the inferior.
25792
cf599fa7
CV
257932001-12-19 Corinna Vinschen <vinschen@redhat.com>
25794
25795 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
25796 Substitute call to target_link by call to gdb_compile.
25797
2cd045cd
JL
25798Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
25799
a9c64011
AS
25800 * gdb.base/break.exp: Fix HP specific search string when testing
25801 backtracing in a called function.
2cd045cd 25802
a9c64011
AS
25803 * gdb.base/constvars.exp: Only set lang to C++ if we're
25804 compiling the test with HP's compilers.
25805 * gdb.base/volatile.exp: Similarly.
2cd045cd 25806
99ebe9ac
JB
258072001-12-19 Jim Blandy <jimb@redhat.com>
25808
25809 * gdb.base/printcmds.exp: Expect the null character to be printed
25810 as '\0', and the '\013' to be printed as '\v'.
25811 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
25812 * gdb.base/setvar.exp: Same.
25813
b9891b29
JB
258142001-12-17 Jim Blandy <jimb@redhat.com>
25815
0eba65ab
JB
25816 * gdb.base/completion.exp: Rather than completing very long
25817 filenames, which can make the readline library produce output we
25818 don't recognize, cd to the directory first, and then complete
25819 using nice, short relative paths.
25820
6970b5b1
JB
25821 * gdb.base/completion.exp: On some systems, there is, in fact, a
25822 variable named `b' in scope, since GDB treats all static
a9c64011
AS
25823 variables as being in scope. So use `no_var_named_this'
25824 instead of `b'.
6970b5b1 25825
b9891b29 25826 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 25827 can't find the core file's registers as a failure.
b9891b29 25828
e6ccd35f
JSC
258292001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
25830
a9c64011
AS
25831 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
25832 test expect string more specific.
e6ccd35f 25833
105ba819
CV
258342001-12-13 Corinna Vinschen <vinschen@redhat.com>
25835
25836 * gdb.asm/asm-source.exp: Add support for xstormy16.
25837 * gdb.asm/configure.in: Ditto.
25838 * gdb.asm/configure: Rebuild.
25839 * gdb.asm/xstormy16.inc: New file.
25840
e9e79dd9
FF
258412001-12-10 Fred Fish <fnf@redhat.com>
25842
25843 * gdb.base/maint.exp: Update to match changes in type dumping code.
25844
347dc97d
JB
258452001-12-10 Jim Blandy <jimb@redhat.com>
25846
25847 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
25848 matching the entry point symbol's name at the beginning of the
25849 line.
347dc97d 25850
5178b9d6
DJ
258512001-12-07 Daniel Jacobowitz <drow@mvista.com>
25852
25853 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
25854 gdb.c++/inherit.exp, gdb.c++/method.exp,
25855 gdb.c++/namespace.exp, gdb.c++/templates.exp,
25856 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
25857 and class layout support.
25858
af890c52
DJ
258592001-12-07 Daniel Jacobowitz <drow@mvista.com>
25860
25861 * gdb.c++/classes.exp: Add test for static member function.
25862 * gdb.c++/misc.cc: Add class with static member function.
25863
7a345fb3
JB
258642001-12-07 Jim Blandy <jimb@redhat.com>
25865
f2e54a80 25866 If GDB says it can't find the struct the function returned, report
8032bf31
JB
25867 those tests as `unsupported'.
25868 * gdb.base/call-rt-st.exp (print_struct_call): New function.
25869 Rewrite subsequent tests to use it.
25870
25871 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
25872 those tests as `unsupported'.
25873 * gdb.base/structs.exp (call_struct_func): New function.
25874 (do_function_calls): Use call_struct_func to call the functions
25875 returning structs.
25876
0bc69509
JB
25877 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
25878 whether functions are prototyped or not, so we can't possibly pass
25879 arguments to t_float_values2 properly.
25880
7a345fb3
JB
25881 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
25882 value of `timeout' for targets other than the mips*tx39-*.
25883
edb6ede1
MS
258842001-12-06 Michael Snyder <msnyder@redhat.com>
25885
d63a86f8 25886 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
25887 and detect whether the start symbol has a leading underscore.
25888
2d842f13
JB
258892001-12-04 Jim Blandy <jimb@redhat.com>
25890
25891 * gdb.base/completion.exp: Clarify indentation.
25892
68550daf
JB
258932001-12-03 Jim Blandy <jimb@redhat.com>
25894
25895 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
25896 variables on the S/390, not `.word'.
25897
cd5195a8
JB
258982001-11-30 Jim Blandy <jimb@redhat.com>
25899
25900 Add assembly-source tests for s390-ibm-linux.
25901 * gdb.asm/s390.inc: New file.
25902 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
25903 the S/390 architecture.
a9c64011 25904 * gdb.asm/configure: Regenerated.
cd5195a8 25905
ca9efc90
MS
259062001-11-30 Michael Snyder <msnyder@redhat.com>
25907
25908 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
25909 next, info source, info sources, info line, global and static
25910 variables, and static functions.
25911 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
25912 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
25913 * gdb.asm/asmsrc1.s: Add a static function and some variables.
25914 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
25915 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
25916 (gdbasm_leave): Restore frame pointer.
25917 (gdbasm_startup): Copy stack set-up from crt0.S.
25918
d0e66976
FN
259192001-11-26 Fernando Nasser <fnasser@redhat.com>
25920
25921 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
25922 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
25923 to a local (non-static) variable. Copy tstruct.a to a static buffer
25924 and return a pointer to that buffer.
25925 * gdb.base/callfwmall.c (t_structs_a): Ditto.
25926
e2334072
MK
259272001-11-24 Mark Kettenis <kettenis@gnu.org>
25928
25929 * gdb.asm/configure.in: Fix recognition of ix86 target.
25930 * gdb.asm/configure: Regenerate.
25931
756caa3d
MS
259322001-11-21 Michael Snyder <msnyder@redhat.com>
25933
25934 * gdb.asm/sparc.inc: New file.
25935 * gdb.asm/asm-source.exp: Recognize sparc target.
25936 * gdb.asm/configure.in: Recognize sparc target.
25937 * gdb.asm/configure: Regenerate.
d63a86f8 25938
9a4d72d5
MS
259392001-11-21 Michael Snyder <msnyder@redhat.com>
25940
25941 * gdb.asm/m32r.inc: New file.
25942 * gdb.asm/asm-source.exp: Recognize m32r target.
25943 * gdb.asm/configure.in: Recognize m32r target.
25944 * gdb.asm/configure: Regenerate.
25945
a773d1cd
MS
259462001-11-20 Michael Snyder <msnyder@redhat.com>
25947
017ac23d
MS
25948 * gdb.asm/i386.inc: New file.
25949 * gdb.asm/asm-source.exp: Recognize ix86 target.
25950 * gdb.asm/configure.in: Recognize ix86 target.
25951 * gdb.asm/configure: Regenerate.
25952
a773d1cd
MS
25953 * gdb.c++/namespace.exp: Fix quotes in output messages.
25954
bb632afb
MS
259552001-11-14 Michael Snyder <msnyder@redhat.com>
25956
25d559ca 25957 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
25958 qualifier in a type cast expression, to designate an address
25959 in the instruction space (Harvard architecture).
25960
4749e309
MS
259612001-11-13 Michael Snyder <msnyder@redhat.com>
25962
25963 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
25964 Tests for expressions using 'const' and 'volatile'.
25965
25050984
CV
259662001-11-13 Corinna Vinschen <vinschen@redhat.com>
25967
25968 * gdb.asm/asm-sources.exp: Allow defining linker flags.
25969
1902c51f
DJ
259702001-11-12 Daniel Jacobowitz <drow@mvista.com>
25971
25972 * lib/mi-support.exp (mi_run_to_helper): Move comments
25973 outside of gdb_expect.
25974
dcf95b47
DJ
259752001-11-11 Daniel Jacobowitz <drow@mvista.com>
25976
25977 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
25978 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
25979 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
25980 mi0_run_to): New functions.
25981 * gdb.mi/mi-simplerun.exp: Use them.
25982 * gdb.mi/mi0-simplerun.exp: Likewise.
25983 * gdb.mi/mi-var-cmd.exp: Likewise.
25984 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 25985
45b074e1
AC
259862001-11-10 Andrew Cagney <ac131313@redhat.com>
25987
25988 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
25989 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
25990
bf50d346
AC
259912001-11-09 Andrew Cagney <ac131313@redhat.com>
25992
25993 * gdb.base/restore.exp: Include $expected value in restored test
25994 message.
25995
9383332c
AC
259962001-11-09 Andrew Cagney <ac131313@redhat.com>
25997
25998 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
25999 implemented.
26000
db62520a
MS
260012001-11-08 Michael Snyder <msnyder@redhat.com>
26002
26003 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
26004 Add pass/fail message for stop at breakpoint in call dummy function.
26005
b5703437
MS
260062001-11-07 Michael Snyder <msnyder@redhat.com>
26007
d63a86f8
RM
26008 * gdb.c++/templates.exp (test_template_breakpoints):
26009 If we get an overload menu, but it does not match what
760f6330 26010 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
26011 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
26012 making the whitespace optional. Argument for "new" may be
26013 "unsigned" as well as "unsigned int/long".
d63a86f8 26014 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
26015 making the whitespace optional. Also replace "(void) with
26016 "((void|)), making the keyword "void" optional.
d63a86f8 26017 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
26018 making the whitespace optional. Also replace "(void) with
26019 "((void|)), making the keyword "void" optional.
3bf40917
MS
26020 * gdb.base/callfuncs.c (t_float_values): This function must
26021 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 26022 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
26023 can be tested against both cases. Usually one case involves
26024 promotion of float to double, while the other does not.
26025 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
26026 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
26027 includes a stack frame for "start".
26028
c8ab4e6d
JB
260292001-11-05 Jim Blandy <jimb@redhat.com>
26030
26031 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
26032 pointers are 32 bits long, and that offsets of relocs are always
26033 stored in the data (REL-style), and not in the reloc entry itself
26034 (RELA-style).
26035 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
26036 stabs.
26037
3f08ced9
MS
260382001-11-01 Michael Snyder <msnyder@redhat.com>
26039
26040 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
26041 and regular expression operators by using quoting.
26042
cbfa24cd
MS
260432001-10-31 Michael Snyder <msnyder@redhat.com>
26044
26045 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
26046 depending on what the symbol table contains.
26047 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
26048 the output of the ptype command. Similarly, accept both "const &"
26049 and "const&".
26050
aaa68313
CV
260512001-10-31 Corinna Vinschen <vinschen@redhat.com>
26052
26053 * gdb.base/miscexprs.c (main): Add usage of preprocessor
26054 symbol `STORAGE' to allow to choose the storage class of
26055 the local datastructures.
26056 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
26057 compiler directive.
26058
91740388
MS
260592001-10-30 Michael Snyder <msnyder@redhat.com>
26060
26061 * gdb.base/jump.exp: Allow it to run for all targets.
26062
1b7c05e7
CV
260632001-10-29 Corinna Vinschen <vinschen@redhat.com>
26064
26065 * gdb.base/call-ar-st.c (print_double_array): Match for loop
26066 with new double_array size.
26067 (main): Change storage class of all local variables to static.
26068 Reduce size of double_array to 9.
26069 * gdb.base/call-ar-st.exp: Increase timeout value.
26070 Change expected output for double array to match new size in
26071 call-ar-st.c.
26072
36a22261
CV
260732001-10-29 Corinna Vinschen <vinschen@redhat.com>
26074
26075 * gdb.base/ending-run.exp: Create identical output when passing
26076 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 26077 Stormy16 target.
36a22261 26078
92b8ae91
MK
260792001-10-28 Mark Kettenis <kettenis@gnu.org>
26080
26081 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
26082 that we catch the expected failure under Linux/x86.
26083
cb135b83
OF
260842001-10-29 Orjan Friberg <orjanf@axis.com>
26085
26086 * gdb.base/setvar.exp: Escape curly braces.
26087 * gdb.stabs/weird.exp: Ditto.
26088
6884aa54
DJ
260892001-10-27 Daniel Jacobowitz <drow@mvista.com>
26090
26091 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
26092 * gdm.mi/mi0-hack-cli.exp: Likewise.
26093
0398c9aa
AC
260942001-10-25 Andrew Cagney <ac131313@redhat.com>
26095
26096 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
26097 messages.
26098
d20bf2e8
AC
260992001-10-21 Andrew Cagney <ac131313@redhat.com>
26100
26101 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
26102 checking MI enabled.
26103
03dd63aa
CV
261042001-10-09 Corinna Vinschen <vinschen@redhat.com>
26105
26106 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
26107
1d9d99f3
FCE
261082001-10-04 Frank Ch. Eigler <fche@redhat.com>
26109
26110 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
26111 if gdb child process crashes, just signal an error.
26112
838ae6c4
JB
261132001-10-02 Jim Blandy <jimb@redhat.com>
26114
26115 * lib/gdb.exp (test_xfail_format): Simplify.
26116
26117 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
26118 front of the variable name `format'. Simplify `if'.
26119
8f0cbc1c
DJ
261202001-10-01 Daniel Jacobowitz <drow@mvista.com>
26121
26122 * gdb.threads/pthreads.exp: Wait for output and delay
26123 before sending ^C.
26124
1f08dafd
DJ
261252001-10-01 Daniel Jacobowitz <drow@mvista.com>
26126
26127 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
26128 some incorrect output instead of timing out.
26129 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
26130
674f90ff
CV
261312001-09-28 Corinna Vinschen <vinschen@redhat.com>
26132
26133 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
26134 check to allow additional `int'.
26135
9b284272
DJ
261362001-09-27 Daniel Jacobowitz <drow@mvista.com>
26137
26138 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
26139 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
26140
b55a4771
MS
261412001-09-27 Michael Snyder <msnyder@redhat.com>
26142
26143 * lib/gdb.exp (test_debug_format): New proc.
26144 (setup_xfail_format): Use new proc test_debug_format.
26145 * gdb.base/constvars.exp (local_compiler_xfail_check): New
26146 proc; use new service proc test_debug_format.
26147 Replace all other "gcc_compiled" tests with this test.
26148 * gdb.base/volatile.exp (local_compiler_xfail_check): New
26149 proc; use new service proc test_debug_format.
26150 Replace all other "gcc_compiled" tests with this test.
26151
261522001-09-27 Michael Snyder <msnyder@redhat.com>
26153
26154 * gdb.base/cvexpr.exp: New file.
26155 * gdb.base/cvexpr.c: New file
26156 Test for expressions using const and volatile keywords.
26157
4e6667ac
CV
261582001-09-26 Corinna Vinschen <vinschen@redhat.com>
26159
26160 * gdb.base/constvars.exp: Check for different orders of keywords
26161 and additional "int" strings in output.
26162
4f337972
AC
261632001-09-22 Andrew Cagney <ac131313@redhat.com>
26164
26165 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
26166 responses from "help maint".
26167
2015650d
FCE
261682001-09-19 Frank Ch. Eigler <fche@redhat.com>
26169
26170 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
26171 to localhost:NNN instead of :NNN, in case Xvfb is listening
26172 only on TCP.
26173
f3bcedc1
CV
261742001-09-19 Corinna Vinschen <vinschen@redhat.com>
26175
26176 * gdb.base/recurse.exp: When checking leaving the watchpoint
26177 scope, recognize when gdb is in function's epilogue and pass.
26178
6b819c92
KS
261792001-09-18 Keith Seitz <keiths@redhat.com>
26180
26181 * lib/insight-support.exp (_gdbtk_export_target_info): Add
26182 support for running tests against sid targets.
26183 (gdbtk_done): Ditto.
26184
a10c9419
CV
261852001-09-18 Corinna Vinschen <vinschen@redhat.com>
26186
26187 * gdb.base/ending-run.c (main): Set stdout buffersize
26188 to the same reasonable value for any target.
26189 * gdb.base/ending-run.exp: Add a regular expression
26190 to make testsuite happy on Sanyo Stormy16 target.
26191
739d0d99
CV
261922001-09-17 Corinna Vinschen <vinschen@redhat.com>
26193
26194 * gdb.base/display.c (do_loops): Add float variable `f'.
26195 Increment f in loop.
26196 * gdb.base/display.exp: Increment timeout by 60 seconds.
26197 Change float display test to use variable `f'.
26198
1b8947f0
JB
261992001-09-17 Jim Blandy <jimb@redhat.com>
26200
26201 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
26202 overflowing the limited breakpoint tables on some ROM monitors
26203 (like the ROM68K).
26204
9890ac81
FCE
262052001-09-15 Frank Ch. Eigler <fche@redhat.com>
26206
26207 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
26208 the "-ac" (disable access control) flag.
26209
6db765ea
JH
262102001-08-30 Jeff Holcomb <jeffh@redhat.com>
26211
26212 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
26213 ints.
26214
4c32cc04
KS
262152001-08-30 Keith Seitz <keiths@redhat.com>
26216
26217 * lib/gdb.exp: Move all insight-related functionality into
26218 separate file.
26219 * lib/insight-support.exp: New file.
26220
8d6e6f81
FCE
262212001-08-29 Frank Ch. Eigler <fche@redhat.com>
26222
26223 * config/sid.exp (sid_start): Never set sid verbosity; disable
26224 expect_background {} that consumed its stdout; tolerate </dev/null.
26225 Attempt to set endianness override in "sid" protocol mode. Cleanup.
26226
6a90e1d0
AC
262272001-08-18 Andrew Cagney <ac131313@redhat.com>
26228
26229 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
26230 CLI jump command to start it.
26231 (mi_run_to_main): Fail immediatly when unexpected output.
26232
1759b3c3
AC
262332001-08-18 Andrew Cagney <ac131313@redhat.com>
26234
26235 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
26236 beginning of function. Fix PR gdb/191.
26237
61d11d80
FCE
262382001-08-16 Frank Ch. Eigler <fche@redhat.com>
26239
26240 * config/sid.exp (sid_start): Don't warn if we cannot figure out
26241 what to force sid endianness to.
26242
942a4df2
KS
262432001-08-15 Keith Seitz <keiths@redhat.com>
26244
26245 * lib/gdb.exp (gdbtk_start): Don't set environment
26246 variables for TCL_LIBRARY and friends. Insight will
26247 now figure these out for itself.
26248
0521c418
MS
262492001-08-02 Michael Snyder <msnyder@redhat.com>
26250
26251 * gdb.base/completion.exp: Remove the symbol "a64l" from
26252 the expect string; this is target-specific, and not related
26253 to what is being tested.
26254
74a9a58a
DB
262552001-08-02 Dave Brolley <brolley@redhat.com>
26256
26257 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
26258
c70819fa
MS
262592001-07-25 Michael Snyder <msnyder@redhat.com>
26260
c2b8fa57
MS
26261 * gdb.base/consecutive.exp: New file. Test stepping over
26262 breakpoints on consecutive instructions.
26263 * gdb.base/consecutive.c: New file.
26264
c70819fa
MS
26265 * gdb.base/call-rt-st.exp: Use double-backslash to quote
26266 curly braces in regular expressions.
26267
2b1a1355
MS
262682001-07-25 Michael Snyder <msnyder@redhat.com>
26269
26270 * gdb.base/ending-run.exp: Accept "Program exited normally" as
26271 legitimate output from stepping out of main.
26272
413eca6f
KS
262732001-07-22 Keith Seitz <keiths@redhat.com>
26274
26275 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
26276 the empty string, do not run the tests.
26277
7e5a9322
SC
262782001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26279
26280 * gdb.base/long_long.exp: Detect size of pointer. Take into
26281 account 2-byte pointers when testing for p/a results.
26282
de58f10f
SC
262832001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26284
d63a86f8 26285 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
26286 and defined to 1K for m68hc11.
26287 (random_data): Reduce table to 1K for embedded platforms (68hc11).
26288 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
26289 (sizeof_random_data): New variable to tell the size of the data table;
26290 don't test past this size; always run to main.
26291
d6f5fea1
SC
262922001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26293
26294 * gdb.base/return2.exp: return of long long and double fails for
26295 68HC11; don't execute these tests on that platform.
26296 * gdb.base/return.exp: Return of a double fails for 68hc11.
26297
c477543d
SC
262982001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26299
26300 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
26301 tests that print a float.
26302 * call-rt-st.exp: Likewise.
26303
63cf1c79
MK
263042001-07-12 Mark Kettenis <kettenis@gnu.org>
26305
26306 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
26307 running this test on Linux.
26308
112f9ab5
MC
263092001-06-24 Michael Chastain <chastain@redhat.com>
26310
26311 * gdb.base/arithmet.exp: Remove some tests to make all test names
26312 unique.
26313
4970cb0f
MS
263142001-07-03 Michael Snyder <msnyder@redhat.com>
26315
26316 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
26317 the output of the ptype command.
26318
d85da69f
MS
263192001-07-02 Michael Snyder <msnyder@redhat.com>
26320
4c8a82de
MS
26321 * gdb.base/completion.exp: Don't assume that break.c is the only
26322 source file that may contain functions named "marker".
d85da69f
MS
26323 * gdb.base/corefile.exp: Quote the curly braces in regexp.
26324
8afc772b
AC
263252001-06-28 Andrew Cagney <ac131313@redhat.com>
26326
26327 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
26328 of files to delete.
26329
26330 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
26331 * gdb.disasm/h8300s.exp: New file.
26332 gdb.disasm/h8300s.s: Likewise.
26333
cff22675
AC
263342001-06-27 Andrew Cagney <ac131313@redhat.com>
26335
26336 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
26337 empty breakpoint tables.
26338
68c81b54
AC
263392001-06-25 Andrew Cagney <ac131313@redhat.com>
26340
26341 * lib/mi-support.exp: Update args=... part of stop-reason
26342 patterns. Accept either a list or a tuple.
26343
2dd62704
AC
263442001-06-23 Andrew Cagney <ac131313@redhat.com>
26345
26346 * lib/mi-support.exp: Remove local emacs variable defining
26347 change-log-default-name.
26348
b4127474
MC
263492001-06-22 Michael Chastain <chastain@redhat.com>
26350
26351 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
26352 This is operationally compatible with the previous version.
26353
8dbfb380
JB
263542001-06-13 Jim Blandy <jimb@redhat.com>
26355
26356 * lib/gdb.exp (gdb_test): Doc fix.
26357
f2d8c86d
MC
263582001-06-10 Michael Chastain <chastain@redhat.com>
26359
26360 * gdb.base/exprs.exp: Remove a duplicate test.
26361
81564d34
JB
263622001-06-06 Jim Blandy <jimb@redhat.com>
26363
26364 * gdb.base/return2.exp (main): Use values to test float and double
26365 returns that are not NaN's, to avoid being confused by IEEE
26366 comparison rules.
26367
da55addb
MS
263682001-06-04 Michael Snyder <msnyder@redhat.com>
26369
26370 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 26371 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
26372 rather than wait for 12 more tests to time out.
26373
42c65987
JB
263742001-06-06 Jim Blandy <jimb@redhat.com>
26375
b18bced9 26376 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 26377 Don't forget to match the GDB prompt.
b18bced9 26378
42c65987
JB
26379 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
26380
5b41e5f0
JB
263812001-06-04 Jim Blandy <jimb@redhat.com>
26382
26383 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
26384 command.
26385
015e046f
KB
263862001-05-31 Kevin Buettner <kevinb@redhat.com>
26387
26388 * gdb.base/annota1.exp (info break): Match four or more spaces
26389 after "Address".
26390
fb1ffbbe
MC
263912001-05-31 Michael Chastain <chastain@redhat.com>
26392
26393 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
26394 (dm_type_int_star): Likewise.
26395 (dm_type_long_star): Likewise.
26396 (dm_type_void_star): Likewise.
26397
5ea2a32c
KB
263982001-05-29 Kevin Buettner <kevinb@redhat.com>
26399
26400 * gdb.base/completion.exp (INPUTRC): Set this environment variable
26401 to a known value in order to get consistent results regardless
26402 of the setting of INPUTRC or the presence or contents of .inputrc.
26403
ae23c492
MS
264042001-05-24 Michael Snyder <msnyder@redhat.com>
26405
ac55707e
MS
26406 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
26407 Don't require that the main thread and the manager thread are the
26408 first in the list.
26409
ae23c492
MS
26410 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
26411 debugging. If test fails, issue an "unsupported" not a "fail".
26412
400071f1
JB
264132001-05-24 Jim Blandy <jimb@redhat.com>
26414
26415 Don't assume that short is shorter than int.
26416 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
26417 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 26418 this isn't true.
400071f1
JB
26419 ("print unsigned char == (~0)"): Add test that verifies that ~0,
26420 an int, is not equal to ~0 stored in an unsigned char. This tests
26421 the same thing that the previous test meant to, but works on
26422 16-bit machines, too.
26423 ("print unsigned char != (~0)"): Same test, complemented.
26424
0816a3e5
MS
264252001-05-24 Michael Snyder <msnyder@redhat.com>
26426
26427 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 26428 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
26429 and prevents dejagnu getting out of step.
26430
f6dc23a9
KB
264312001-05-23 Kevin Buettner <kevinb@redhat.com>
26432
26433 * gdb.base/finish.exp (finish_void): Revise pattern for
26434 stopping on the call statement to not permit stopping at
26435 the start of the instructions comprising the call sequence.
26436
7dbd117d
MC
264372001-05-19 Michael Chastain <chastain@redhat.com>
26438
26439 * gdb.base/callfuncs.exp: Make all test names unique.
26440 * gdb.base/commands.exp: Make all test names unique.
26441 * gdb.base/condbreak.exp: Make all test names unique.
26442 * gdb.base/dbx.exp: Make all test names unique.
26443 * gdb.base/default.exp: Make all test names unique.
26444 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
26445 and TIMEOUT messages to their corresponding PASS message.
26446 * gdb.base/ending-run.exp: Make all test names unique.
26447 * gdb.base/long_long.exp: Remove duplicate test.
26448
6b0b0a9e
KB
264492001-05-21 Kevin Buettner <kevinb@redhat.com>
26450
26451 * gdb.base/finish.exp (finish_void): Allow "finish" command to
26452 stop on the call statement as well as the statement after the
26453 call.
26454
2caa35cb
MS
264552001-05-21 Michael Snyder <msnyder@redhat.com>
26456
26457 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
26458
40713331
EZ
264592001-05-10 Elena Zannoni <ezannoni@redhat.com>
26460
a9c64011
AS
26461 * gdb.base/completion.exp: Revamp test. Make it execute on all
26462 platforms.
40713331 26463
c2c1be8d
EZ
264642001-05-10 Elena Zannoni <ezannoni@redhat.com>
26465
a9c64011
AS
26466 * config/gdbserver.exp (gdb_load): Handle the case
26467 in which the arguments to gdbserver are given in the
26468 baseboard configuration file.
26469 Also handle the case in which the server needs to do a
26470 load.
2c9cd303 26471
9671de48
KS
264722001-05-07 Keith Seitz <keiths@cygnus.com>
26473
a9c64011
AS
26474 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
26475 set up the display for testing.
26476 (gdbtk_start): Convert all paths to paths that tcl will like.
26477 Export target information to environment.
26478 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
26479 necessary.
26480 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
26481 (to_tcl_path): New proc to convert a given pathname into
26482 a path acceptible as an argument to a tcl command.
26483 (_gdbtk_export_target_info): New proc to export target info
26484 into the environment for gdbtk testing.
26485 (gdbtk_done): New proc to signal end-of-test.
9671de48 26486
5a360f47
JB
264872001-05-06 Jim Blandy <jimb@redhat.com>
26488
26489 * restore.c: Make the code of caller0 correspond to its comment.
26490
66c756c6
MS
264912001-05-03 Michael Snyder <msnyder@redhat.com>
26492
26493 * config/sid.exp (gdb_target_sid): Check for error messages.
26494 On error or timeout, don't make expect exit (which will terminate
26495 all subsequent tests); instead just make gdb exit.
d63a86f8 26496 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
26497 return a negative value.
26498
a966fde5
JB
264992001-04-24 Jim Blandy <jimb@redhat.com>
26500
851c18e0
JB
26501 * gdb.c++/templates.exp: If we see the prompt for the overload
26502 list, but we haven't recognized any of the longer patterns,
26503 arrange for this test to fail, not hang.
26504
a966fde5
JB
26505 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
26506 variations.
26507
db144853
MC
265082001-04-22 Michael Chastain <chastain@redhat.com>
26509
26510 * gdb.c++/local.exp: Use the 'runto' library function.
26511 * gdb.c++/namespace.exp: Likewise.
26512 * gdb.c++/overload.exp: Likewise.
26513
3207ec21
KB
265142001-03-26 Kevin Buettner <kevinb@redhat.com>
26515
26516 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
26517 * gdb.base/step-line.exp: New file. Test step/next in presence of
26518 #line directives.
26519 * gdb.base/step-line.c: New file. Test program for the above.
26520 * gdb.base/step-line.inp: New file. We pretend that this file has
26521 been transformed by some other tool into step-line.c.
26522
13b57657
JB
265232001-03-21 Jim Blandy <jimb@redhat.com>
26524
26525 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
26526 unmangled operator names.
26527
754cbe1c
JB
265282001-03-20 Jim Blandy <jimb@redhat.com>
26529
26530 * gdb.threads/linux-dp.exp: Recognize an additional message
26531 generated by GDB when it doesn't understand how to debug threads
26532 on the target system.
26533
177495c9
AC
265342001-03-19 Andrew Cagney <ac131313@redhat.com>
26535
26536 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
26537
f266096b
MC
265382001-03-12 Michael Chastain <chastain@redhat.com>
26539
26540 * gdb.c++/derivation.exp: Use the 'runto' library function.
26541
cac3c2ff
MC
265422001-03-12 Michael Chastain <chastain@redhat.com>
26543
26544 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
26545
b6c11a24
MC
265462001-02-24 Michael Chastain <chastain@redhat.com>
26547
26548 * gdb.c++/ref-types.exp: Change handwritten code to library
26549 function 'runto'.
26550
6bae5bce
OF
265512001-03-16 Orjan Friberg <orjanf@axis.com>
26552
26553 * gdb.base/signals.exp: Set count to 0 explicitly.
26554
0015fd9a
MS
265552001-03-15 Mark Salter <msalter@redhat.com>
26556
26557 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
26558 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
26559 (gdb_load): Add support for additional target_info: gdb_download_size
26560 and gdb_load_timeout.
0015fd9a 26561
fc33412a
DT
26562Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
26563
26564 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
26565 file -- to prevent failing when the compile fails but we have no
26566 intention of running the tests anyway.
fc33412a
DT
26567
26568 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
26569 tests if set.
26570
26571 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 26572 integers.
fc33412a
DT
26573
26574 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
26575 * gdb.c++/namespace.exp: Ditto.
26576
115f06de
OF
265772001-03-07 Orjan Friberg <orjanf@axis.com>
26578
26579 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
26580 * gdb.base/pointers.exp: Relax pattern match of decimals.
26581
b6ba6518
KB
265822001-03-06 Kevin Buettner <kevinb@redhat.com>
26583
26584 * Makefile.in, config/abug.exp, config/cfdbug.exp,
26585 config/cpu32bug.exp, config/dve.exp, config/est.exp,
26586 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
26587 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
26588 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
26589 config/sh.exp, config/sid.exp, config/slite.exp,
26590 config/sparclet.exp, config/udi.exp, config/unknown.exp,
26591 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
26592 config/vxworks.exp, config/vxworks29k.exp,
26593 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
26594 gdb.base/all-bin.exp, gdb.base/annota1.exp,
26595 gdb.base/arithmet.exp, gdb.base/assign.exp,
26596 gdb.base/async.exp, gdb.base/attach.exp,
26597 gdb.base/bitfields.exp, gdb.base/bitops.exp,
26598 gdb.base/break.exp, gdb.base/call-ar-st.exp,
26599 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
26600 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
26601 gdb.base/commands.exp, gdb.base/completion.exp,
26602 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
26603 gdb.base/constvars.exp, gdb.base/corefile.exp,
26604 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
26605 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
26606 gdb.base/ending-run.exp, gdb.base/environ.exp,
26607 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
26608 gdb.base/finish.exp, gdb.base/foll-exec.exp,
26609 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
26610 gdb.base/funcargs.exp, gdb.base/help.exp,
26611 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
26612 gdb.base/logical.exp, gdb.base/long_long.exp,
26613 gdb.base/maint.exp, gdb.base/mips_pro.exp,
26614 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
26615 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
26616 gdb.base/pointers.exp, gdb.base/printcmds.exp,
26617 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
26618 gdb.base/regs.exp, gdb.base/relational.exp,
26619 gdb.base/remote.exp, gdb.base/reread.exp,
26620 gdb.base/restore.exp, gdb.base/return2.exp,
26621 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
26622 gdb.base/selftest.exp, gdb.base/setshow.exp,
26623 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
26624 gdb.base/sigall.exp, gdb.base/signals.exp,
26625 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
26626 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
26627 gdb.base/step-test.exp, gdb.base/structs.c,
26628 gdb.base/structs.exp, gdb.base/structs2.exp,
26629 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
26630 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
26631 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
26632 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26633 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
26634 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
26635 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
26636 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
26637 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
26638 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
26639 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
26640 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
26641 gdb.fortran/types.exp, gdb.java/jmisc.exp,
26642 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
26643 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
26644 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
26645 gdb.trace/circ.exp, gdb.trace/collection.exp,
26646 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
26647 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
26648 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
26649 gdb.trace/report.exp, gdb.trace/save-trace.exp,
26650 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
26651 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
26652 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
26653 notices.
26654
dc96c6c7 266552001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
26656
26657 * gdb.base/varargs.c (find_max_double): Fix printf format string:
26658 first arg is int not float.
26659
dc96c6c7 266602001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
26661
26662 * gdb.base/reread.exp: Unsupported for non-native targets;
26663 doesn't work for remote debugging.
26664
9b0c4aeb
FN
266652001-02-19 Fernando Nasser <fnasser@redhat.com>
26666
26667 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
26668 * gdb.base/ending-run.exp: Properly handle the BSP state when
26669 stepping past the end of main.
9b0c4aeb 26670
02aa71d5
MC
266712001-02-19 John Moore <jmoore@redhat.com>
26672
26673 * gdb.base/commands.exp (infrun_breakpoint_command_test):
26674 Converted HPUX fix for non-expected items following multiple
26675 step commands into general solution for all platforms.
26676
1fa449a4
MC
266772001-02-18 Michael Chastain <chastain@redhat.com>
26678
26679 * gdb.c++/classes.exp (do_tests): Change runto statements
26680 from "runto 'foo(void)'" to "runto 'foo'". This makes the
26681 statements demangler agnostic.
26682 * gdb.c++/virtfunc.exp (do_tests): Likewise.
26683 (gdb_virtfunc_restart): Likewise.
26684
b2f9ec70
MC
266852001-02-14 Michael Chastain <chastain@redhat.com>
26686
26687 * gdb.c++/inherit.exp (do_tests): Change runto statements
26688 from "runto 'foo(void)'" to "runto 'foo'". This makes the
26689 statements demangler agnostic.
26690
cf74b8ca
AC
26691Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
26692
26693 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
26694 ``continue to bkpt at common_routine in thread 2'' and ``stopped
26695 before calling common_routine 15 times'' tests.
cf74b8ca 26696
99f78f56
MC
266972001-02-11 Michael Chastain <chastain@redhat.com>
26698
26699 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
26700 Helps the test script figure out which demangler is in use.
26701 (dm_type_foo_ref): Ditto.
26702 (dm_type_int_star): Ditto.
26703 (dm_type_long_star): Ditto.
26704 (dm_type_unsigned_int): Ditto.
26705 (dm_type_void): Ditto.
26706 (dm_type_void_star): Ditto.
99707966 26707 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
26708 Probe the gdb demangler and set variables to accommodate
26709 formatting differences.
26710 (info_func_regexp): New function. Same as info_func, but
26711 matches against a regexp.
26712 (info_func): Match against a literal string.
26713 (print_addr_2): New function. Match against a literal string,
26714 which can be different from the input to gdb.
26715 (print_addr): Simply call print_addr_2 with the same argument twice.
26716 (test_lookup_operator_functions): Use demangler formatting variables.
26717 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
26718 the tests in the same order as the C++ class declaration.
26719 (test_paddr_operator_functions): Ditto.
26720 (test_paddr_overloaded_functions): Ditto.
26721 (test_paddr_hairy_functions): Use demangler formatting variables.
26722 Add reference to gdb/19 for related tests.
26723 (do_tests): Call probe_demangler.
26724
1de8f023
KB
267252001-01-30 Kevin Buettner <kevinb@redhat.com>
26726
26727 * gdb.c++/templates.cc (printf): Remove unused function definition.
26728
ca3f91ed
MS
267292001-01-26 Felix Lee <flee@redhat.com>
26730
26731 * sid.exp (sid_exit): Pass host, not target, to remote_close.
26732
267332001-01-25 matthew green <mrg@redhat.com>
26734
26735 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
26736 up sid.
26737 (sid_exit): Call `remote_pop_conn' after GDB is gone.
26738
267392001-01-25 matthew green <mrg@redhat.com>
26740
26741 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 26742 Deprecate $sid_spawn_id.
ca3f91ed
MS
26743 (sid_exit): Remove code necessary only for `spawn.'
26744
267452001-01-25 matthew green <mrg@redhat.com>
26746
26747 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
26748
fb18ec4a
MC
267492001-01-28 Michael Chastain <chastain@redhat.com>
26750
26751 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
26752 to call when tests fail. It takes gdb out of the overloaded
26753 function choice menu back to the main prompt, so that the test
26754 program stays synchronized.
26755 (set_bp_overloaded): New proc to collect all the common
26756 code for setting a breakpoint on an overloaded name. Calls
26757 take_gdb_out_of_choice_menu when needed.
26758 (menu_overload1arg): New variable to collect the repeated
26759 instances of the expected menu for an overloaded name. Change
26760 the regular expression to handle changes in g++ type encoding:
26761 "void" can be either "void" or "", and "unsigned int" can be
26762 either "unsigned int" or "unsigned".
26763 (continue_to_bp_overloaded): Change regular expressions to handle
26764 changes in g++ type encoding.
26765 (no proc): Call take_gdb_out_of_choice_menu when needed.
26766 Remove redundant calls to "info break". Accept either "canceled"
26767 or "cancelled". Change regular expressions in "info break"
26768 calls to handle changes in g++ type encoding. Give all tests
26769 unique strings.
26770
9c646a6e
BE
267712001-01-17 Ben Elliston <bje@redhat.com>
26772
26773 * config/sid.exp: New file.
26774
9549d9c1
AC
26775Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
26776
26777 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
26778
dc96c6c7 267792000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
26780
26781 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
26782 Add a RE to accept a non-ascii char if one is ever presented.
26783
b4df4f68
FN
267842000-12-20 Fernando Nasser <fnasser@redhat.com>
26785
297dd0fd 26786 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 26787
dc96c6c7 267882000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 26789
d63a86f8 26790 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
26791 in regexp. One '\' does not suffice on Linux.
26792
4a7bddb6
MC
267932000-12-09 Michael Chastain <chastain@redhat.com>
26794
26795 * gdb.base/break.exp (test_clear_command): Use a marker function
26796 rather than 'main' for the test function. Also move this
26797 test to an execution point where the marker function names are
26798 guaranteed to be bound to functions. (Executing tests after a
26799 'finish' from main runs into name conflicts with local names
26800 in __libc_start_main).
26801
dc96c6c7 268022000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
26803
26804 * gdb.base/finish.exp: New test for gdb's "finish" command.
26805 * gdb.base/return2.exp: New test for gdb's "return" command.
26806 * gdb.base/return2.c: New source file for above.
26807
dc96c6c7 268082000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
26809
26810 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
26811 * gdb.base/miscexprs.exp: Ditto.
26812 * gdb.base/pointers.exp: Ditto.
26813 * gdb.c++/derivation.exp: Ditto.
26814 * gdb.c++/local.exp: Ditto.
26815 * gdb.c++/namespace.exp: Ditto.
26816 * gdb.c++/overload.exp: Ditto.
26817 * gdb.c++/ref-types.exp: Ditto.
26818
dc96c6c7 268192000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
26820
26821 * gdb.base/constvars.exp: Test result of "up" command.
26822 * gdb.base/miscexprs.exp: Ditto.
26823 * gdb.base/pointers.exp: Ditto.
26824 * gdb.base/scope.exp: Ditto.
26825 * gdb.c++/derivation.exp: Ditto.
26826 * gdb.c++/local.exp: Ditto.
26827 * gdb.c++/namespace.exp: Ditto.
26828 * gdb.c++/overload.exp: Ditto.
26829 * gdb.c++/ref-types.exp: Ditto.
26830
44097287
FN
268312000-11-22 Michael Chastain <chastain@redhat.com>
26832
26833 * mips_pro.exp: Accept either "middle -> top -> main" or
26834 "middle -> main" in the backtrace, because gcc can optimize
26835 tail calls to jumps. Remove setup_xfail for the hppa case.
26836 Add a comment with the original warning messages from PR 3016,
26837 which was filed in 1993, to preserve them for posterity.
26838
9d2e1bab
ND
268392000-11-17 Nick Duffek <nsd@redhat.com>
26840
26841 * lib/gdb.exp (gdb_test): Override timeout with board info.
26842
1aca8eb7
ND
268432000-11-17 Nick Duffek <nsd@redhat.com>
26844
26845 * gdb.base/display.exp: Don't kill running stub. Add "again" to
26846 the second kill and detach messages.
26847
93076499
ND
268482000-11-17 Nick Duffek <nsd@redhat.com>
26849
26850 * configure.in: Add AC_EXEEXT.
26851 * configure: Regenerate.
26852 * Makefile.in (just-check): Export EXEEXT.
26853 * lib/gdb.exp ($EXEEXT): Import from environment.
26854 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
26855 expect "maint dump-me" on Cygwin.
26856 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
26857 $EXEEXT.
26858
30e87cd3
ND
268592000-11-17 Nick Duffek <nsd@redhat.com>
26860
26861 * gdb.base/break.exp: Test backtrace and finish from called
26862 function on all platforms, not just HP-UX.
26863
dc96c6c7 268642000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
26865
26866 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
26867 code from gdb_target_monitor, so it can be used independantly
26868 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 26869
dc96c6c7 268702000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
26871
26872 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
26873 * gdb.base/corefile.exp: Expect the message "Program is being
26874 debugged already" when we send the "corefile" command, since
26875 the preceeding gdb_load may have connected gdb to a remote target.
26876 * gdb.base/display.exp: Disable hardware watchpoints if new
26877 board info variable "no_hardware_watchpoints" is true.
26878 Replace single-letter commands with more readable ones.
26879 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
26880 if new board info variable "no_hardware_watchpoints" is true.
26881 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
26882 to see if stdio (printf) testing is possible.
26883 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
26884 board info variable "no_hardware_watchpoints" is true. Use new
26885 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
26886
39124dea
FN
268872000-11-13 Fernando Nasser <fnasser@redhat.com>
26888
26889 From Orjan Friberg <orjanf@axis.com>:
26890 * gdb.base/printcmds.exp: Escape curly braces followed by a number
26891 in array print pattern match.
26892
a9e2e984
FN
268932000-11-09 Fernando Nasser <fnasser@redhat.com>
26894
26895 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
26896 spelling "cancelled" to U.S. spelling "canceled" to match changes
26897 made to gdb.
26898 * gdb.c++/ovldbreak.exp: Ditto.
26899
c7db355b
PS
269002000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26901
26902 * gdb.base/callfuncs.c (main): Moved to end of file, call
26903 t_double_values to initialize the FPU before inferior calls are made.
26904 * gdb.base/callfuncs.exp: Test for register preservation after calling
26905 inferior functions. Add tests for continuining, finishing and
26906 returning from a stop in a call dummy.
26907
dc96c6c7 269082000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
26909
26910 * gdb.base/commands.exp: Break up long lines, and re-indent.
26911
dc96c6c7 269122000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
26913
26914 * config/gdbserver.exp: Rewritten from the ground up, to make it
26915 compatible with the current dejagnu tree, and to make it work with
26916 the new "gdbserver" in libremote.
26917
dc96c6c7 269182000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
26919
26920 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
26921 * gdb.base/varargs.exp: Skip entire test if no printf support.
26922 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
26923 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
26924
dc96c6c7 269252000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
26926
26927 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
26928 no floating point support.
26929 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
26930 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
26931 * gdb.base/call-rt-st.exp: Ditto.
26932 * gdb.base/call-strs.exp: Ditto.
26933
bac5fc66
JG
269342000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
26935
26936 * gdb.base/sizeof.c: include <stdio.h>.
26937
26938 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
26939 'finish', otherwise uncaptured gdb_prompt would potentially
26940 throw remaining test points out of sync.
bac5fc66 26941
b22a6027
SB
269422000-07-26 Scott Bambrough <scottb@netwinder.org>
26943
26944 * gdb.base/recurse.exp: Run tests for all targets.
26945 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
26946 gnu-oldld case on ARM.
26947 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
26948 for ARM targets.
d63a86f8 26949
d8231941
AG
26950Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
26951
26952 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
26953 * gdb.java/configure: Rebuild.
26954
8caabe69
AG
26955Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
26956
26957 * gdb.java/jv-exp.exp: New file.
26958
9d273ca3
AG
26959Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
26960
26961 * configure: Rebuilt.
26962 * configure.in (configdirs): Add gdb.java.
26963 * gdb.java/jmisc.java: New file.
26964 * gdb.java/jmisc.exp: New file.
26965 * gdb.java/Makefile.in: New file.
26966 * gdb.java/configure: Rebuilt.
26967 * gdb.java/configure.in: New file.
26968 * lib/java.exp: New file.
26969
4f823a66
AC
26970Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
26971
26972 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 26973 underflow.
4f823a66 26974
2391e11d
AC
26975Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
26976
26977 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 26978 and the compilers sizes.
2391e11d 26979
54602222
ND
269802000-07-09 Nick Duffek <nsd@redhat.com>
26981
26982 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
26983 (use_methods): New function.
26984 (main): Call use_methods().
26985 * gdb.c++/classes.exp (test_method_param_class): New procedure.
26986 (do_tests): Call test_method_param_class.
26987
2bec0572
ND
269882000-07-09 Nick Duffek <nsd@redhat.com>
26989
26990 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
26991 spelling.
26992 (test_enums): New procedure. Move enum tests from end of script
26993 to here. Set breakpoint on function name instead of line number.
26994 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
26995 (enums2): New marker function.
26996 (enums1): New function.
26997 (main): Call enums1(). Move enum tests to enums1().
26998
78492fde
AC
26999Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
27000
27001 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 27002 compile/link program. Update line numbers.
78492fde
AC
27003 * gdb.asm/d10v.inc: Define ``startup''.
27004 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 27005
49a2cef8
AC
27006Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
27007
27008 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
27009
3e6c8688
EZ
270102000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27011
27012 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 27013 of 'help maint print' command.
3e6c8688 27014
9ff5cbe9
AC
27015Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
27016
27017 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 27018 they use gdb_expect_list.
9ff5cbe9 27019
17c579bd
AC
27020Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
27021
27022 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
27023 memory-read-packet-size'' instead of ``set endian big'' to test
27024 long commands.
17c579bd 27025
e6d71bf3
DB
270262000-06-03 Daniel Berlin <dan@cgsoftware.com>
27027
27028 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 27029 g++, and stop skipping them.
e6d71bf3
DB
27030
27031 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
27032 work under g++.
27033
d63a86f8 27034 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
27035 initialization.
27036
dc96c6c7 270372000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
27038
27039 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
27040 the regular expression: accept an (almost) arbitrary sequence of
27041 "frames-invalid" and "breakpoints-invalid" messages both before
27042 and after the "starting" message.
27043
dc96c6c7 270442000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
27045
27046 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 27047
dc96c6c7 270482000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
27049
27050 * gdb.base/annota1.exp (annotate-signal-handler-caller):
27051 Relax the regular expression a little, make it pass on Solaris 8.
27052
8216cda9
KB
270532000-05-12 Kevin Buettner <kevinb@redhat.com>
27054
27055 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 27056 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
27057 Instead, it is permissible for gdb to stop on the line of the
27058 call itself.
27059
1a570b2f
MS
270602000-05-12 Michael Snyder <msnyder@.cygnus.com>
27061
27062 * gdb.base/break.exp (bp on small function, optimized file):
27063 Add a second pass pattern. The behavior differs here between stabs
27064 and dwarf for one-line functions. Stabs preserves two line symbols
27065 (one before the prologue and one after) with the same line number,
27066 but dwarf regards these as duplicates and discards one of them.
27067 Therefore the address after the prologue (where the breakpoint is)
27068 has no exactly matching line symbol, and GDB reports the breakpoint
27069 as if it were in the middle of a line rather than at the beginning.
27070
dc96c6c7 270712000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 27072
d63a86f8 27073 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
27074 rather than "send_gdb" (for consistancy).
27075
7d418785
AC
27076Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
27077
27078 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
27079 * gdb.c++/templates.cc: Properly check for GCC version number.
27080 * lib/compiler.cc: Likewise
27081
dc96c6c7 270822000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 27083
d63a86f8 27084 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
27085 gdb may not stop at the first line of main, due to code motion.
27086
dc96c6c7 270872000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
27088
27089 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
27090 This test depends on parsing the printf output from the target.
27091 Since the sparclet stub doesn't do stdio, this will never work.
27092 * gdb.base/call-rt-st.exp: ditto.
27093 * gdb.base/call-strs: ditto.
27094
dc96c6c7 270952000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
27096
27097 * gdb.base/miscexprs.exp: make sizeof long array test portable.
27098
27099 * gdb.base/ending-run.exp: After connecting to a remote target,
27100 but before running, the target will appear to be in a random
27101 location. Specify both a file and a line for breakpoints.
27102 Also, the function that calls main may be called 'init'
27103 rather than 'start'.
27104
a5a51225
EZ
271052000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27106
27107 * gdb.base/help.exp: Update output for add-symbol-file command.
27108
7930cc7c
FN
271092000-04-10 Fernando Nasser <fnasser@cygnus.com>
27110
27111 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27112 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
27113
23e37ab1
C
271142000-04-07 J.T. Conklin <jtc@redback.com>
27115
e93c542c
C
27116 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
27117
23e37ab1
C
27118 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
27119
591b8fa3
PDM
27120Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
27121
27122 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 27123 values that can be represented exactly.
591b8fa3
PDM
27124 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
27125 above change, and to not check against the directory part of the source
27126 file name.
27127 (step into print_long_arg_list): Likewise.
27128 (print print_small_structs from print_long_arg_list): Likewise.
27129 (print print_long_arg_list): Likewise.
27130
7a495180
EZ
271312000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27132
30b53638 27133 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 27134
beb998c6
AC
27135Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
27136
27137 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
27138
1c689132
DB
271392000-03-25 Daniel Berlin <dan@cgsoftware.com>
27140
27141 * gdb.base/commands.exp (deprecated_command_test): Add test for
27142 deprecate with no arguments.
27143
c1790a9d
JL
271442000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
27145
27146 * gdb.base/break.exp: Add new test for setting breakpoints on
27147 optimized code so we can test breakpoints work even when function
27148 prologues may be optimized away
27149
003ba290
FN
271502000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
27151
27152 From David Whedon <dwhedon@gordian.com>
a9c64011 27153 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 27154
6837a0a2
DB
271552000-03-22 Daniel Berlin <dan@cgsoftware.com>
27156
27157 * gdb.base/help.exp: Added test for new apropos command.
27158
b9593231
KB
271592000-03-21 Kevin Buettner <kevinb@redhat.com>
27160
27161 * gdb.base/pointers.c (usevar): New function.
27162 (main): Make sure that global variables v_int_pointer2, rptr,
27163 and y are all referenced someplace in the program by calling
27164 usevar() on them. [Some linkers delete symbols which are
27165 never referenced. The space remains, but there's no way to
27166 get a (symbolic) handle on the variable from the debugger.]
27167
751a959b
EZ
271682000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27169
27170 * gdb.base/printcmds.c: Add typedeffed arrays.
27171
27172 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 27173 procedure to test arrays that are typedef'd.
751a959b 27174
73a93a32
JI
271752000-03-13 James Ingham <jingham@leda.cygnus.com>
27176
27177 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 27178 the library directories.
73a93a32 27179
fb40c209
AC
27180Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
27181
27182 * configure.in (configdirs): Add sub directory gdb.mi.
27183 * configure: Re-generate.
27184
27185 * gdb.mi: New directory.
d63a86f8 27186
ee4dd2c9
AC
271872000-02-25 Scott Bambrough <scottb@netwinder.org>
27188
27189 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 27190 a long long value as a double on ARM platforms.
ee4dd2c9 27191
70f0cc22
JB
271922000-02-16 Jim Blandy <jimb@redhat.com>
27193
27194 * gdb.base/break.exp ("breakpoint line number"): Make sure the
27195 default source file is set properly before running this test.
27196
853819b8
EZ
271972000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27198
27199 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 27200 gdbtk/library directory, not in gdbtcl2.
853819b8 27201
dfcd3bfb
JM
272022000-02-04 Jim Blandy <jimb@redhat.com>
27203
27204 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
27205 backslash from regexp pattern.
27206
27207 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
27208 procedure. Use it to run all the "continue to bp overloaded"
27209 tests. Note that this changes the names of the tests slightly.
27210 If the breakpoint hit message includes a hex PC value, because
27211 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
27212 from the real source code, still consider that a pass.
27213
27214 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
27215 XFAIL here if the breakpoint message contains a hex address. Note
27216 similar change on 1999-11-02.
27217
27218 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
27219
27220 * gdb.base/ptype.exp: Establish a default source file before
27221 calling get_debug_format.
27222
272232000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
27224
27225 * gdb.base/watchpoint.exp: Remove duplication of test messages.
27226
8b93c638
JM
272272000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27228
27229 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
27230 of successive stepi commands -- while in the prologue we should see
27231 the function entry bracket.
27232
272332000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27234
27235 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
27236 reach __change_mode() when stepping through the end of main().
27237
c5394b80
JM
272382000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
27239
27240 * gdb.base/default.exp: Fix expected pattern.
27241 * gdb.base/help.exp: Same.
27242
0d06e24b
JM
272432000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27244
27245 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 27246 Don't use xfail's because that affects only the following test.
d63a86f8 27247
0d06e24b 27248 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 27249 solaris or linux.
0d06e24b
JM
27250
27251 * gdb.base/selftest.exp: Update to reflect changes to main.c.
27252
dc96c6c7 272532000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 27254
d63a86f8 27255 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
27256 "A syntax error" rather than "A parse error". Accept both.
27257
272582000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
27259
27260 * gdb.base/default.exp: Remove OS dependent string from "target
27261 remote" test.
27262 * gdb.base/help.exp: Same for "help target remote" test.
27263
c3f6f71d
JM
272642000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27265
27266 From Jim Kingdon <kingdon@redhat.com>:
27267
27268 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
27269 prompt (cleanup rather than necessity, but still might keep output
27270 from spilling to next test).
c3f6f71d
JM
27271
272722000-01-02 Fred Fish <fnf@cygnus.com>
27273
27274 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
27275 AIX, which defines them in <sys/types.h>.
27276
ed9a39eb 272771999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 27278
ed9a39eb 27279 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 27280 float" test.
ed9a39eb
JM
27281
272821999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 27283
ed9a39eb 27284 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
27285
27286 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
27287 outermost frame disallowed".
27288
272891999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
27290
27291 * gdb.base/setvar.exp: New tests for setting the value of a struct
27292 with a constant list.
27293
272941999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27295
27296 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
27297 require the user to type a cast before setting the value of a struct.
27298
de57eccd
JM
272991999-12-06 Jim Blandy <jimb@cygnus.com>
27300
27301 * gdb.base/default.exp: Expect the new 'info float' command on
27302 all i386 platforms.
27303
27304 * gdb.threads/linux-dp.exp: Expand our ability to recognize
27305 LinuxThreads libraries that don't support debugging.
27306
c2d11a7d
JM
27307Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27308
27309 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
27310 Change the buffer type to ``unsigned char'' to simplify size
27311 arithmetic.
c2d11a7d
JM
27312
27313 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
27314 stub only handles 400-1 byte packets. Verify that the download
27315 worked.
c2d11a7d
JM
27316
273171999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
27318
27319 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
27320 tests, using UNRESOLVED for the untested cases. Also, does not wait
27321 for a timeout if the prompt was received before a recognizable pattern.
27322
273231999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
27324
27325 * lib/gdb.exp (gdb_expect_list): Fix spelling.
27326
273271999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27328
27329 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 27330 watchpoints.
c2d11a7d
JM
27331
273321999-11-24 Jason Merrill <jason@casey.cygnus.com>
27333
27334 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
27335
27336 * gdb.c++/local.exp: Be more flexible in recognizing local class
27337 name mangling. Don't allow horribly truncated method names.
27338 * gdb.c++/derivation.exp: Expect protected inheritance.
27339 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
27340 * gdb.c++/virtfunc.exp: Likewise.
27341 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
27342 when printing a nested enum.
27343
273441999-11-22 Jim Blandy <jimb@cygnus.com>
27345
27346 * gdb.base/step-test.exp: Properly await GDB's response to setting
27347 a breakpoint on the call to large_struct_by_value.
27348
27349 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
27350 just because we have debug info for the `start' function.
27351
273521999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
27353
27354 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
27355 "Unknown signal" messages, which indicate (on LinuxThreads) that
27356 GDB doesn't know how to debug threads on this system. This is
27357 better than hanging while philosopher 0 dumps chatter into gdb.log.
27358
273591999-11-18 Tom Tromey <tromey@cygnus.com>
27360
27361 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
27362
273631999-11-18 Fred Fish <fnf@cygnus.com>
27364
27365 * gdb.base/coremaker2.c: Add sample program for generating
27366 cores that is more self contained than coremaker.c. Eventually
27367 I'll add more code to this and tie it into the testsuite.
27368
4ce44c66
JM
273691999-11-12 Stan Shebs <shebs@andros.cygnus.com>
27370
27371 * gdb.base/dollar.exp: Remove, now in gdb.hp.
27372
273731999-11-10 Jimmy Guo <guo@cup.hp.com>
27374
27375 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 27376 from $srcdir/lib/.
4ce44c66 27377 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 27378 and gdb.c++/.
4ce44c66
JM
27379
27380 * gdb.c++/derivation.exp: remove redundant get compiler info code.
27381
d63a86f8 27382 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
27383 'continue with watch' test point.
27384
273851999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
27386
27387 Merged from p2linux-990323-branch:
d63a86f8 27388
4ce44c66
JM
27389 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
27390
11cf8741
JM
27391Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
27392
27393 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 27394 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
27395
27396Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
27397
27398 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 27399 gdb_expect_list.
11cf8741
JM
27400
27401Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
27402
27403 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
27404
274051999-11-03 Mark Salter <msalter@cygnus.com>
27406
27407 * gdb.base/break.exp: Fix "stub continue" pattern.
27408
274091999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
27410
27411 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
27412
274131999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
27414
27415 * gdb.base/display.exp ("finish"): Add timeout clause.
27416
27417 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
27418 plain prompt clause, so this doesn't have to time out in order to
27419 fail.
27420
27421 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 27422 breakpoint hit messages include an address.
11cf8741
JM
27423
27424 * gdb.base/display.exp: Don't forget to escape parens in regular
27425 expressions. Unix regexp notatation sucks.
27426
274271999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27428
27429 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 27430 order for 'signalled' message.
11cf8741 27431
5c44784c
JM
274321999-11-01 Stan Shebs <shebs@andros.cygnus.com>
27433
27434 From Jimmy Guo <guo@cup.hp.com>:
27435 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
27436 * gdb.base/annota1.c: Add code for tests to work with.
27437
274381999-10-26 Frank Ch. Eigler <fche@cygnus.com>
27439
27440 * gdb.base/remote.exp: New test for remote downloading settings.
27441 * gdb.base/remote.c: New file with large .data.
27442
917317f4
JM
274431999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
27444
27445 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
27446 for LinuxThreads support, merged from the Code Fusion branch.
27447
27448Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
27449
27450 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
27451 containing exp_continue into a while within an expect. Don't
27452 attempt a start more than three times. Check return value from
27453 gdb_load.
d63a86f8 27454
2df3850c
JM
27455Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
27456
27457 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 27458 a pass case.
2df3850c 27459
2acceee2
JM
274601999-10-01 Kevin Buettner <kevinb@cygnus.com>
27461
27462 * gdb.base/break.c (main): Added a statement that we can step
27463 off of.
27464 * gdb.base/break.exp: Added tests for setting a breakpoint
27465 at an offset and stepping onto a breakpoint.
27466
274671999-10-01 Fred Fish <fnf@cygnus.com>
27468
d63a86f8 27469 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
27470 gdb output.
27471
c2c6d25f
JM
274721999-09-18 Jim Blandy <jimb@cris.red-bean.com>
27473
27474 * gdb.base/break.exp: Code locations are in hex, don't forget!
27475 (For HP-UX.)
27476
274771999-09-17 Stan Shebs <shebs@andros.cygnus.com>
27478
27479 * condbreak.exp: Use break.c as test program.
27480 * condbreak.c: Remove, redundant with break.c.
27481
274821999-09-15 Stan Shebs <shebs@andros.cygnus.com>
27483
27484 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 27485 Z-packets if the target needs it.
c2c6d25f
JM
27486
274871999-09-13 James Ingham <jingham@leda.cygnus.com>
27488
27489 * gdb.c++/overload.exp: Added tests for listing overloaded
27490 functions with function pointers in the arg, explicitly calling
27491 out the version you want.
27492
cff3e48b
JM
274931999-09-09 Stan Shebs <shebs@andros.cygnus.com>
27494
27495 * long_long.exp: Add variations of test cases that work for
27496 targets with 16-bit ints and 32-bit doubles.
27497
d4f3574e
SS
274981999-09-08 Stan Shebs <shebs@andros.cygnus.com>
27499
27500 * break.c (main): Compare a possibly-uninitialized argc with an
27501 unlikely value that fits in 16 bits.
27502
275031999-09-07 Stan Shebs <shebs@andros.cygnus.com>
27504
27505 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
27506 0xfeeb, don't want negative numbers if ints are 16 bits.
27507
27508 * lib/gdb.exp (skip_cplus_tests): New proc.
27509 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
27510 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
27511 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
27512 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
27513 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
27514 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
27515 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
27516 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
27517
27518 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
27519
27520Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
27521
27522 * gdb.base/corefile.exp (up): Allow a parameter to appear
27523 in the frame that we're going up to.
27524
27525 From Jim Blandy <jimb@cygnus.com>:
27526
27527 * gdb.base/default.exp (info float): Expect some output now.
27528
27529 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
27530 returning floating-point values to fail on the x86.
27531 * gdb.base/callfwmall.exp (do_function_calls): Same.
27532
27533 * gdb.base/list.exp (test_listsize): Correct expectations for
27534 listing line 1 with listsize 2. Also, listing a single line
27535 works now, as does listing three lines. [Kevin's note: There
27536 were a number of other cases fixed too where the expectations
27537 differed...]
27538
275391999-09-02 Stan Shebs <shebs@andros.cygnus.com>
27540
27541 * gdb.base/selftest.exp: Add case for when version prints as
27542 constant string instead of char pointer.
27543
104c1213
JM
275441999-08-25 Stan Shebs <shebs@andros.cygnus.com>
27545
27546 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 27547 stepping out of main.
104c1213
JM
27548
27549 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
27550 G++ used.
27551
27552 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 27553 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
27554
27555 * gdb.c++/ovldbreak.exp: Update match string in test that
27556 includes a warning of multiple breakpoints.
27557
275581999-08-24 Stan Shebs <shebs@andros.cygnus.com>
27559
27560 * gdb.base/display.exp: Improve precision of step-after-finish
27561 added yesterday.
27562
27563 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 27564 test.
104c1213
JM
27565
27566 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
27567 configs when using G++, not just hppa*.
27568
275691999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27570
27571 * gdb.base/async.c: New file.
27572 * gdb.base/async.exp: New file.
27573
27574Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
27575
27576 * gdb.base/break.exp: Tweak PA specific tests to properly handle
27577 PA64.
27578
53a5351d
JM
27579Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
27580
104c1213
JM
27581 * gdb.base/display.exp: "finish" can leave us mid-line on many
27582 targets, deal with it. Add a small constant to main, instead of
27583 1000 since main+1000 may not be a valid address in the target.
27584
53a5351d
JM
27585 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
27586 on hpux11.
27587
27588 * gdb.base/attach.exp: Handle another hpux11 error message variant
27589 when attaching to a process that does not exist.
27590
275911999-08-19 J.T. Conklin <jtc@redback.com>
27592
27593 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 27594 characters in 'continue to 1241' test.
53a5351d
JM
27595
275961999-08-17 Stan Shebs <shebs@andros.cygnus.com>
27597
27598 * gdb.base/call-ar-st.exp: Add a shorter match case for the
27599 stop in print_long_arg_list, define and use a whitespace
27600 variable in print_small_structs test, add an XFAIL for Solaris.
27601 * gdb.base/dbx.exp: XFAIL func commands until somebody is
27602 interested enough to fix.
27603
7be570e7
JM
276041999-08-13 Keith Seitz <keiths@cygnus.com>
27605
27606 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
27607 (dbx_gdb_load): Remove. Use gdb_load instead, since that
27608 proc knows about targets other than the natives.
27609 (test_assign): Use "gdb_run_cmd" to "run" the target.
27610 Check that we've actually hit the breakpoint at main.
27611 When we attempt to assign a value to a local variable, check
27612 that the variable is in the current scope, i.e., don't use
27613 a test with an empty result.
27614
27615Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
27616
27617 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 27618 command.
7be570e7
JM
27619
276201999-08-09 Stan Shebs <shebs@andros.cygnus.com>
27621
27622 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27623 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
27624 gdb.compat, gdb.threads-hp.
27625 gdb.hp/configure, gdb.hp/configure.in: New files.
27626 gdb.hp/Makefile.in: Recurse into new subdirs.
27627 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
27628 gdb.hp/gdb.objdbg: New directory, tests for debugging info
27629 in object files.
27630 gdb.hp/tools: New directory, aux tools for HP-specific tests.
27631
96baa820
JM
276321999-08-05 Stan Shebs <shebs@andros.cygnus.com>
27633
27634 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 27635 funky printf, remove a bogus p/a test.
96baa820
JM
27636
276371999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27638
27639 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
27640 connected to the target. This is necessary when running not
27641 natively.
96baa820
JM
27642
276431999-08-03 Stan Shebs <shebs@andros.cygnus.com>
27644
27645 * gdb.base/step-test.exp: Removed some extraneous messages.
27646
27647 * gdb.base/long_long.exp: Don't run memory examination tests
27648 on little-endian targets (they will need a different set of
27649 results to match).
27650
276511999-08-02 Stan Shebs <shebs@andros.cygnus.com>
27652
27653 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
27654 until somebody decides to fix GDB.
27655
27656 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 27657 constant as "ULL".
96baa820
JM
27658 * gdb.base/long_long.exp: Loosen x/c test, add partial result
27659 matches for a couple x/2 commands.
27660
a0b3c4fd
JM
276611999-07-30 Stan Shebs <shebs@andros.cygnus.com>
27662
27663 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
27664 by merging in ref-types2 tests.
27665 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
27666
27667 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27668 * gdb.c++/Makefile.in: Add standard actions.
27669 (EXECUTABLES): Rename from PROGS, update list.
27670 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
27671 from gdb.hp.
27672 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
27673 foo and bar locals.
27674 * gdb.c++/anon-union.exp: Fix tests to match.
27675 * gdb.c++/classes.exp: Run if HP compiler used, add extra
27676 expect matches to handle output variations.
27677 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
27678 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 27679 output, add HP alternatives for new and delete prints.
a0b3c4fd 27680 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 27681 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
27682 * gdb.c++/demangle.exp: Use $style when reporting failure.
27683 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
27684 * gdb.c++/inherit.exp: Run if HP compiler used, add some
27685 match alternatives.
27686 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 27687 compilers.
a0b3c4fd
JM
27688 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
27689 * gdb.c++/method.exp: Add match alternatives.
27690 * gdb.c++/misc.cc: Add bool types.
27691 * gdb.c++/misc.exp: Add tests for bool types.
27692 * gdb.c++/overload.exp: Add xfails.
27693 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
27694 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
27695 add some more template parameter tests (only for HP currently).
27696 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
27697 * gdb.c++/virtfunc.cc: Add return type and value for main.
27698 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
27699 match alternatives.
d63a86f8 27700
a0b3c4fd
JM
277011999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27702
27703 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
27704
277051999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
27706
27707 * gdb.base/signals.exp: Don't expect getting a backtrace from
27708 within a signal handler to fail on Linux.
27709
277101999-07-29 Stan Shebs <shebs@andros.cygnus.com>
27711
27712 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27713 * lib/gdb.exp: Remove some gratuitious semicolons.
27714 (delete_breakpoints): Increase timeout.
27715 (gdb_expect): Add -notransfer option.
27716 (gdb_test): Use -notransfer option.
27717 (get_compiler_info): Add f77 case.
27718 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 27719 case.
a0b3c4fd
JM
27720 (gdb_preprocess): Call get_compiler.
27721
27722 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
27723 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
27724 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
27725 gdb.base/long_long.exp, gdb.base/printcmds.exp,
27726 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
27727 third arg to gdb_test.
a0b3c4fd
JM
27728 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
27729 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 27730 HP-UX xfails, add others.
a0b3c4fd
JM
27731 * gdb.base/completion.exp: Reflect name change of self-test.
27732 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
27733 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
27734 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
27735 HP failure number.
a0b3c4fd
JM
27736 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
27737 useless HP-UX 10.30 references.
27738 * gdb.base/maint.exp: Loosen matches.
27739 * gdb.base/pointers.c (main): Declare more_code.
27740 * gdb.base/pointers.exp: Match on output of a `next'.
27741 * gdb.base/structs.c: Add prototypes.
27742 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
27743 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
27744
277451999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27746
27747 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 27748 command.
a0b3c4fd
JM
27749
277501999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27751
27752 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
27753 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
27754
27755 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
27756 debug info. Deal with lack of signal hanlder info in stack.
27757
a9c64011 27758 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
27759 * gdb.base/annota1.exp: If printf has debug info, deal with it.
27760
5a2468f5
JM
277611999-07-19 Stan Shebs <shebs@andros.cygnus.com>
27762
27763 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 27764 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 27765
adf40b2e
JM
27766Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27767
27768 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 27769 a1-selftest.exp.
adf40b2e
JM
27770 * gdb.base/configure: Re-generate.
27771
277721999-07-12 Stan Shebs <shebs@andros.cygnus.com>
27773
27774 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
27775 in trying to run first and name is too long.
27776
27777 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
27778 pointers2.c and pointers2.exp, respectively.
27779 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
27780 doschk happier.
27781
43e526b9
JM
277821999-07-08 Stan Shebs <shebs@andros.cygnus.com>
27783
27784 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
27785 callfuncs2.c and callfuncs2.exp.
27786
27787 * gdb.base/list.exp: Remove mistaken xfails.
27788 * gdb.base/list0.h: Add optional prototypes.
27789
9846de1b
JM
27790Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
27791
a9c64011 27792 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 27793 calling malloc.
a9c64011
AS
27794 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
27795 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 27796 use.
9846de1b
JM
27797
277981999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27799
27800 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
27801 * gdb.base/annota2.cc, annota2.exp: Move from here.
27802 * gdb.c++/annota2.cc, annota2.exp: To here.
27803 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
27804
43ff13b4
JM
27805Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
27806
27807 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 27808 a consistent format.
43ff13b4 27809
085dd6e6
JM
278101999-06-25 Stan Shebs <shebs@andros.cygnus.com>
27811
27812 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27813 * lib/gdb.exp (get_compiler_info): Add detection for assorted
27814 HP compilers, also set the globals $true and $false.
27815
27816 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
27817 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
27818 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
27819 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
27820 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
27821 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
27822 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
27823 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
27824 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
27825 whatis.c} Add C++ compatible function definitions and return
27826 types, add includes for library functions.
085dd6e6
JM
27827 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
27828 * gdb.base/step-test.c (myglob): Rename from glob.
27829 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
27830 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
27831 files, move here from gdb.hp.
085dd6e6 27832 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
27833 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
27834 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
27835 Adjust line numbers in regexps.
085dd6e6
JM
27836
27837 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
27838 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
27839 instead of 0/1.
27840
27841 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
27842 foll-vfork.exp: New files, move here from gdb.hp.
27843 * gdb.base/page.exp: New file, test of pagination command.
27844
27845 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
27846 recursion test.
27847 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
27848
27849 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 27850 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
27851
27852 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 27853 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 27854 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 27855 watchpoint test.
085dd6e6
JM
27856 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
27857 them work.
27858 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
27859 expressions properly.
27860 * gdb.base/corefile.exp: Loosen the match slightly.
27861 * gdb.base/default.exp: Allow "Error accessing memory" message
27862 also.
27863 * gdb.base/display.exp: Skip over x/0 j if PA64.
27864 * gdb.base/funcargs.exp: Add xfails for HP-UX.
27865 * gdb.base/interrupt.exp: Ditto.
27866 * gdb.base/langs.exp: Add symbolic matches governed by compiler
27867 in use.
27868 * gdb.base/list.exp: Add xfails for HP-UX.
27869 * gdb.base/long_long.exp: Refine some of the numeric matches.
27870 * gdb.base/mips_pro.exp: Xfail on HP-UX.
27871 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
27872 * gdb.base/nodebug.exp: Succeed on more varieties of output.
27873 * gdb.base/opaque.exp: Remove some HP-UX xfails.
27874 * gdb.base/ptype.exp: Succeed on more varieties of output.
27875 * gdb.base/scope.exp: Add xfails for HP-UX.
27876 * gdb.base/sect-cmd.exp: Add more cases.
27877 * gdb.base/setvar.exp: Add xfails for HP-UX.
27878 * gdb.base/shlib-call.exp: Loosen some matches slightly.
27879 * gdb.base/signals.exp: Match on void symbolically.
27880 * gdb.base/step-test.exp: Add case for PA64.
27881 * gdb.base/term.exp: Add exit and restart.
27882 * gdb.base/twice.exp: Clean up after self.
27883 * gdb.base/varargs.exp: Disable overload resolution explicitly.
27884 * gdb.base/whatis.exp: Allow more ways to pass tests.
27885
27886 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 27887 no longer useful.
085dd6e6
JM
27888
27889Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
27890
27891 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 27892 list of patterns.
085dd6e6 27893 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
27894 print_double_array(double_array)", "continuing to breakpoint
27895 1018", "print print_double_array(array_d)" and "continuing to
27896 1034" tests.
d63a86f8 27897
085dd6e6
JM
278981999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
27899
a9c64011 27900 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
27901
279021999-06-24 Stan Shebs <shebs@andros.cygnus.com>
27903
27904 * config/mt-*: Remove, these haven't been used since 1996.
27905
279061999-06-22 Stan Shebs <shebs@andros.cygnus.com>
27907
27908 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 27909 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
27910 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
27911
9e0b60a8
JM
279121999-06-18 Stan Shebs <shebs@andros.cygnus.com>
27913
27914 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
27915 simpler match case for the ptype of the big class.
27916
279171999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27918
27919 * gdb.exp: Fix test for gdb_prompt existence.
27920
279211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27922
27923 * gdb.exp (gdb_test): Add fail after calls to perror.
27924
279251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27926
27927 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
27928
279291999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27930
27931 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
27932
0f71a2f6
JM
27933Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
27934
27935 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 27936 malloc() is linked in.
0f71a2f6
JM
27937
279381999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27939
27940 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
27941 step at end.
27942
27943 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
27944
279451999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
27946
27947 * gdb.java/jv-print.exp: New file. (Our first Java test!)
27948
cce74817
JM
27949Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
27950
27951 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
27952 * gdb.base/mips_pro.exp: Likewise.
27953
279541999-06-02 Keith Seitz <keiths@cygnus.com>
27955
27956 * gdb.c++/templates.cc: Change all "new" operators to throw
27957 an exception.
27958 * gdb.c++/cplusfuncs.cc: Likewise.
27959
27960 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
27961
27962Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
27963
27964 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
27965 * gdb.base/ending-run.exp: When stepping out of main, accept a
27966 step into an arbitrary assembler file.
cce74817 27967
392a587b
JM
279681999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27969
d63a86f8 27970 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 27971 "breakpoint-invalid" to be printed.
6fdff2c5
PA
27972 * gdb.base/annota2.exp: Revise line number for main
27973 breakpoint. Allow any number of "frames-invalid" and
27974 "breakpoint-invalid" to be printed.
392a587b
JM
27975 * gdb.base/annota2.cc: Initialize a.x to 0.
27976
9e086581
JM
279771999-05-17 Keith Seitz <keiths@cygnus.com>
27978
6fdff2c5
PA
27979 * gdb.base/call-ar-st.exp: Skip
27980 "print print_double_array (double_array)" when "skip_float_tests" set.
27981 Ditto for "print print_double_array(array_d)",
27982 "print print_small_structs", "print print_ten_doubles", and
27983 "step into print_long_arg_list".
27984 Don't assume we can step into "print_long_arg_list": we could step
27985 into memcpy.
27986 * gdb.base/call-rt-st.exp: Don't run float-related tests when
27987 "skip_float_tests" is set: "print print_one_double(*d1)"
27988 and "print print_two_floats(*f3)".
9e086581
JM
27989 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
27990 "skip_float_tests" is set.
6fdff2c5
PA
27991 * gdb.base/varargs.exp: Skip
27992 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
27993 "skip_float_tests" set.
d63a86f8 27994
cd0fc7c3
SS
279951999-05-06 Keith Seitz <keiths@cygnus.com>
27996
27997 * gdb.base/annota2.cc: Include stdio.h.
27998
27999Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
28000
28001 * gdb.base/crossload.exp: Remove, this has been disabled ever
28002 since BFD stopped including all targets, and cross-GDB gets
28003 plenty of testing anyway.
28004 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
28005 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
28006 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
28007 * gdb.base/README: Remove, was doc for this.
28008 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 28009 needed.
cd0fc7c3 28010
b83266a0
SS
280111999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28012
28013 * gdb.base/call-ar-st.exp: Fix one regular expression in test
28014 output.
28015
28016 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
28017 * gdb.base/annota2.exp: New file. More annotation tests.
28018 * gdb.base/annota1.c: New file. Source file for annota1.exp.
28019 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
28020
280211999-04-23 Angela Marie Thomas <angela@cygnus.com>
28022
28023 * config/cfdbug.exp: New file.
28024
7a292a7a
SS
280251999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
28026
28027 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
28028 Marcus Daniel's and Dale Hawkins's demangler crashes.
28029
28030 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
28031 test_lucid_style_demangling, test_arm_style_demangling,
28032 test_hp_style_demangling): Try Tom Tromey's core-dumping
28033 identifier under each demangling style.
7a292a7a
SS
28034
280351999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
28036
28037 * gdb.c++/demangle.exp: Include the current demangling style
28038 in all test names.
28039 (current_demangling_style): New global variable.
28040 (set_demangling_style, test_demangling_core, test_demangling,
28041 test_demangling_exact): New functions.
28042 (test_gnu_style_demangling, test_lucid_style_demangling,
28043 test_arm_style_demangling, test_hp_style_demangling): Use those,
28044 instead of calling gdb_test and gdb_test_exact directly.
28045 (catch_demangling_errors): New function, which reports errors
28046 signalled by the demangling test functions in an orderly way.
28047 (do_tests): Use catch_demangling_errors.
28048
280491999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
28050
28051 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 28052 grouping in expressions, not {}.
7a292a7a
SS
28053
28054 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 28055 initialized yet.
7a292a7a
SS
28056
280571999-04-01 Stan Shebs <shebs@andros.cygnus.com>
28058
28059 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
28060 are listed.
28061
280621999-03-26 Stan Shebs <shebs@andros.cygnus.com>
28063
28064 * gdb.stabs/weird.exp: Test for CC being defined before
28065 looking at its value.
28066
280671999-03-25 Stan Shebs <shebs@andros.cygnus.com>
28068
28069 * gdb.base/call-ar-st.exp: Remove stray '#'.
28070 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
28071 "short int" and "long int".
28072 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 28073 change, to mollify finicky HP compiler.
7a292a7a
SS
28074 * gdb.hp/reg-test.exp (testfile): Fix file name.
28075 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 28076
7a292a7a
SS
28077 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
28078 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
28079 alternate form of enum ptype.
28080
c906108c
SS
280811999-03-23 Stan Shebs <shebs@andros.cygnus.com>
28082
7a292a7a
SS
28083 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
28084 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
28085 passing skip_hp_tests, so as not to waste time on guaranteed
28086 failure.
7a292a7a 28087
c906108c
SS
28088 * gdb.c++/overload.cc: Pass string instead of char addr, always
28089 init ccpfoo.
28090 * gdb.c++/templates.cc: Fix syntax error.
28091
7a292a7a
SS
28092Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28093
28094 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 28095 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
28096 command.
28097
280981999-03-18 James Ingham <jingham@cygnus.com>
28099
28100 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
28101
28102 * gdb.c++/method.exp: It was testing an uninitialized int on the
28103 stack and assuming it was positive.
28104
28105 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
28106
28107 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 28108 keep it from killing the rest of the tests.
7a292a7a
SS
28109 Use gdb_continue_to_end.
28110
28111 * gdb.base/sigall.exp: use gdb_continue_to_end.
28112
28113 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
28114
28115 * gdb.base/display.exp: use runto_main, not run.
28116
d63a86f8
RM
28117 * gdb.base/default.exp: Check for the current error message in the
28118 r abbreviation test.
7a292a7a
SS
28119 Add strongarm to the targets that know info float.
28120
d63a86f8 28121 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
28122 run which doesn't work with monitors.
28123
6fdff2c5
PA
28124 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
28125 1034 test.
7a292a7a
SS
28126
28127 * gdb.base/break.exp: use the gdb_continue_to_end proc.
28128
6fdff2c5
PA
28129 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
28130 end of a program. Traps the case (in Cygmon) when the program
28131 never really exits. Same as Mark's continue_to_exit, but I had
28132 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
28133
28134 * config/monitor.exp (gdb_target_monitor): added another
28135 target_info parameter: remotebinarydownload. This will set the
28136 remotebinarydownload flag if this is causing some boards trouble.
28137
281381999-03-18 Mark Salter <msalter@cygnus.com>
28139
28140 * lib/gdb.exp (continue_to_exit): New function.
28141
28142 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
28143 * gdb.base/ending-run.exp: Ditto.
28144 * gdb.base/step-test.exp: Ditto.
28145
281461999-03-16 Stan Shebs <shebs@andros.cygnus.com>
28147
28148 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
28149 (suggested by Art Haas <ahaas@neosoft.com>).
28150
281511999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
28152
889bf7c5 28153 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
28154
28155Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
28156
28157 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 28158 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
28159
281601999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
28161
28162 * gdb.base/call-strs.exp: Don't assume that `step' will step over
28163 a call to strlen; sometimes we do have sources.
28164
281651999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
28166
28167 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 28168 character, so GDB won't print garbage after its end.
d63a86f8 28169
c906108c
SS
28170 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
28171 breakpoint there instead. Sometimes GCC emits memcpy to handle
28172 the large structures being passed by value, so we step into that
28173 instead of sum_array_print, which obscures what we're really testing.
28174 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
28175 the bizarre steps into memcpy, so do that here. Add check for
28176 stepping into function calls that pass large structures by value.
28177 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
28178 Remove all references to specific line numbers.
28179 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
28180 New type and function.
28181 (main): Call large_struct_by_value, passing it a large struct by value.
28182 * lib/gdb.exp (gdb_get_line_number): New function.
28183
28184 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
28185 more portable.
28186
7a292a7a
SS
281871999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
28188
c906108c
SS
28189 * lib/gdb.exp: Doc fixes.
28190
7a292a7a
SS
281911999-03-05 Nick Clifton <nickc@cygnus.com>
28192
d63a86f8 28193 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
28194
281951999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
28196
c906108c 28197 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
28198 commands. They're not germane to this test, and they don't work
28199 that way on remote targets.
c906108c 28200
3fc11d3e
JM
282011999-03-01 James Ingham <jingham@cygnus.com>
28202
28203 * Changelog entries merged over from gdb development branch.
28204
3fc11d3e
JM
28205 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
28206
28207 * lib/gdb.exp (gdbtk_analyze_results): Generic function
28208 for outputting results of test run.
28209
2d4a1622 28210 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
28211
28212 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 28213
7a292a7a
SS
282141999-02-25 Felix Lee <flee@cygnus.com>
28215
28216 * lib/gdb.exp (debug_format): initialize
28217
c906108c
SS
282181999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
28219
28220 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
28221 * gdb.base/call-rt-st.c: Ditto.
28222
c906108c
SS
282231999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
28224
28225 * gdb.threads/pthreads.exp (horiz): New variable.
28226 (test_startup): Fix regexps that capture thread numbers.
28227
282281999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
28229
28230 * gdb.base/smoke.exp: Disambiguate two test case names (both
28231 called ``print'').
28232
28233Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28234
28235 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 28236 compilation.
c906108c
SS
28237
282381999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28239
28240 * gdb.base/miscexprs.exp: Change patterns to match GDB's
28241 actual output formatting.
28242 * gdb.base/smoke.exp: GDB removes leading 0's.
28243 * gdb.base/volatile.exp: Don't check type of remuneration;
28244 that variable is no longer defined in constvars.c.
28245 * gdb.base/step-test.c (main): Exit with explicit exit code.
28246 * gdb.base/step-test.exp: Remove two nexti checks--they are
28247 not portable.
28248
282491999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28250
28251 * gdb.base/help.exp ("help delete display"): Fix test to match
28252 gdb's output.
28253
28254 * gdb.base/long_long.c (known_types): Initialize values to zero.
28255 * gdb.base/long_long.exp: Step one more line
28256 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
28257 leading zeros. Explicitly ask for hex formatting. Use
28258 unique test case names.
c906108c
SS
28259
28260Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28261
d63a86f8 28262 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
28263
28264 * gdb.c++/method.exp: Add missing close brace.
28265
282661999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
28267
28268 * gdb.base/maint.exp: Use 'set height 0' to disable page
28269 prompting, not 'set height 400'.
28270
28271 Fix a bunch of timeouts.
28272 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
28273 four separate tests, so expect doesn't take forever to match a ton
28274 of text against a regexp with lots of .* forms.
28275 ("maint print psymbols", "maint print symbols"): Make some of
28276 these greps more selective, so that expect doesn't try to wade
28277 through huge piles of output and time out.
28278
28279 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
28280
28281 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
28282 tests: one which doesn't expect shlib events to be reported, and
28283 another which does, but is XFAIL for all platforms other than
28284 HP/UX.
c906108c
SS
28285
28286 * gdb.base/break.exp: Teach the test suite that the `catch
28287 fork', `catch vfork', and `catch exec' commands produce error
28288 messages on platforms that don't provide these features.
28289
28290Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28291
28292 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
28293 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
28294 (shortening names from solib_threshold.exp etc), won't run on
28295 anything but HP-UX for the foreseeable future.
c906108c 28296 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 28297 reflect move.
c906108c
SS
28298
28299Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
28300
28301 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 28302 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
28303
28304Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
28305
28306 * gdb.base/shlib-call.exp: add test cases to verify that gdb
28307 successfully re-sets breakpoints in shared libraries.
28308 * gdb.base/shmain.c (main): return 0, don't fall off the end.
28309
28310Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28311
d63a86f8
RM
28312 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
28313 and compiled w/o GCC.
c906108c
SS
28314
28315 * gdb.hp/watch-cmd.exp: ditto.
28316
28317 * gdb.hp/watch-hp.exp: ditto.
28318
28319 * gdb.hp/xdb1.exp: ditto.
28320
28321 * gdb.hp/xdb2.exp: ditto.
28322
28323 * gdb.hp/dbx.exp: ditto.
28324
28325Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
28326
28327 * constvars.c: Remove C++-isms.
28328 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 28329 with GCC.
c906108c
SS
28330
28331Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
28332
28333 The following changes are part of the HP merge.
28334
28335 * gdb.base/break.exp: new tests to verify that catchpoints for
28336 fork, vfork, and exec don't trigger inappropriately.
28337
28338 * gdb.base/opaque.exp: compile one file at a time, then link.
28339
28340 * gdb.base/signals.exp: be more restrictive about which hppa
28341 systems receive a setup_xfail. new tests.
28342
28343 * gdb.base/solib_threshold.build: new file.
28344 * gdb.base/solib_threshold.exp: new file.
28345 * gdb.base/solib_threshold.link_opts: new file.
28346 * gdb.base/solib_threshold.mk: new file.
28347 * gdb.base/gen_solib_threshold.c: new file.
28348
28349 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
28350 tests. New tests for enums inside classes.
28351
28352 * gdb.c++/compiler.cc: indicate support of template debugging.
28353
28354 * gdb.c++/demangle.exp: run hp style demangling tests.
28355
28356 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
28357 tests.
28358
28359 * gdb.c++/misc.cc: changes to support new tests.
28360
28361 * gdb.c++/templates.cc: changes to support HP's compiler; changes
28362 to support new tests.
28363
28364 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
28365 gcc, then skip these tests.
28366
28367Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
28368
28369 The following files are part of the HP merge; some had longer
28370 names at HP, but have been renamed to be no more than 14
28371 characters in length.
28372
28373 * gdb.hp/ambiguous.cc: new file.
28374 * gdb.hp/ambiguous.exp: new file.
28375 * gdb.hp/attach.exp: new file.
28376 * gdb.hp/attach2.exp: new file.
28377 * gdb.hp/classes-hp.exp: new file.
28378 * gdb.hp/ctti.exp: new file.
28379 * gdb.hp/ctti-add.cc: new file.
28380 * gdb.hp/ctti-add1.cc: new file.
28381 * gdb.hp/ctti-add2.cc: new file.
28382 * gdb.hp/ctti-add3.cc: new file.
28383 * gdb.hp/dbx.exp: new file.
28384 * gdb.hp/exception.cc: new file.
28385 * gdb.hp/exception.exp: new file.
28386 * gdb.hp/foll-exec.c: new file.
28387 * gdb.hp/foll-exec.exp: new file.
28388 * gdb.hp/foll-fork.c: new file.
28389 * gdb.hp/foll-fork.exp: new file.
28390 * gdb.hp/foll-vfork.c: new file.
28391 * gdb.hp/foll-vfork.exp: new file.
28392 * gdb.hp/inherit-hp.exp: new file.
28393 * gdb.hp/more-steps.exp: new file.
28394 * gdb.hp/namespace.cc: new file.
28395 * gdb.hp/namespace.exp: new file.
28396 * gdb.hp/optimize.exp: new file.
28397 * gdb.hp/pxdb.c: new file.
28398 * gdb.hp/pxdb.exp: new file.
28399 * gdb.hp/quicksort.exp: new file.
28400 * gdb.hp/reg-test.exp: new file.
28401 * gdb.hp/reg-test.s: new file.
28402 * gdb.hp/sized-enum.c: new file.
28403 * gdb.hp/sized-enum.exp: new file.
28404 * gdb.hp/start-stop.exp: new file.
28405 * gdb.hp/templ-hp.cc: new file.
28406 * gdb.hp/templ-hp.exp: new file.
28407 * gdb.hp/thr-lib.c: new file.
28408 * gdb.hp/thr-lib.exp: new file.
28409 * gdb.hp/thr-lib.h: new file.
28410 * gdb.hp/thr-liblib.c: new file.
28411 * gdb.hp/virtfun-hp.c: new file.
28412 * gdb.hp/virtfun-hp.exp: new file.
28413 * gdb.hp/watch-cmd.exp: new file.
28414 * gdb.hp/watch-hp.exp: new file.
28415 * gdb.hp/xdb1.exp: new file.
28416 * gdb.hp/xdb2.exp: new file.
28417 * gdb.hp/xdb3.exp: new file.
28418
28419Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
28420
28421 The following files are part of the HP merge; some had longer
28422 names at HP, but have been renamed to be no more than 14
28423 characters in length.
28424
28425 * gdb.base/ss.h: new file.
28426 * gdb.base/call-ar-st.c: new file.
28427 * gdb.base/call-ar-st.exp: new file.
28428 * gdb.base/call-rt-st.c: new file.
28429 * gdb.base/call-rt-st-exp: new file.
28430 * gdb.base/call-strs.exp: new file.
28431 * gdb.base/ena-dis-br.exp: new file.
28432 * gdb.base/environ.exp: new file.
28433 * gdb.base/long_long.exp: new file.
28434 * gdb.base/sect-cmd.exp: new file.
28435 * gdb.base/shlib-cl2.exp: new file.
28436 * gdb.base/smoke.exp: new file.
28437 * gdb.base/so-impl-ld.c: new file.
28438 * gdb.base/so-impl-ld.exp: new file.
28439 * gdb.base/so-indr-cl.c: new file.
28440 * gdb.base/so-indr-cl.exp: new file.
28441 * gdb.base/varargs.exp: new file.
28442 * gdb.base/volatile.exp: new file.
28443 * gdb.base/whatis-exp.exp: new file.
7a292a7a 28444 * gdb.base/display.exp: new file.
c906108c
SS
28445 * gdb.c++/derivation.exp: new file.
28446 * gdb.c++/local.exp: new file.
28447 * gdb.c++/member-ptr.exp: new file.
28448 * gdb.c++/overload.exp: new file.
28449 * gdb.c++/ovldbreak.exp: new file.
28450 * gdb.c++/ref-types.exp: new file.
28451 * gdb.c++/ref-types2.exp: new file.
28452 * gdb.c++/userdef.exp: new file.
d63a86f8 28453
c906108c
SS
28454Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
28455
28456 * gdb.base/default.exp: Reflect wording change in remote.c.
28457
dc96c6c7 28458Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28459
28460 * gdb.base/help.exp: Update to reflect current text.
28461
28462Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
28463
28464 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
28465 they're stack variables and contain garbage.
28466 * gdb.c++/anon-union.exp: new file.
28467
28468 The following changes were made by David Taylor
889bf7c5
PA
28469 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28470 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28471 in changes by HP.
c906108c
SS
28472
28473 * gdb.base/bitops.exp: new file.
28474 * gdb.base/default.exp: change expected messages for catch and
28475 info catch tests to reflect HP merge changes.
28476 * gdb.base/enable-disable-break.exp
28477 * gdb.base/ending-run.c: new file.
28478 * gdb.base/long_long.c: new file.
28479 * gdb.base/maint.exp: new file.
28480 * gdb.base/pointers2.exp: new file.
28481 * gdb.base/shlib-call2.exp: new file.
28482 * gdb.base/solib.exp: new file.
28483 * gdb.base/step-test.c: new file.
28484 * gdb.c++/anon-union.cc: new file.
28485 * gdb.c++/local.cc: new file.
28486 * gdb.c++/member-pointer.cc: new file.
28487 * gdb.c++/method.cc: new file.
28488 * gdb.c++/ref-types.cc: new file.
28489 * gdb.c++/ref-types2.cc: new file.
28490 * gdb.c++/userdef.cc: new file.
d63a86f8 28491
c906108c
SS
28492 * gdb.base/scope.exp: compile one file at a time, then link.
28493 * gdb.base/langs.exp: ditto.
28494 * gdb.base/list.exp: ditto.
d63a86f8 28495
c906108c
SS
28496Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
28497
28498 The following changes were made by David Taylor
889bf7c5
PA
28499 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28500 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28501 in changes by HP.
d63a86f8 28502
c906108c
SS
28503 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
28504 skip tests. When compiling pass c++ flag to gdb_compile.
28505 * gdb.c++/
d63a86f8 28506
c906108c
SS
28507 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
28508 test for on hppa*-*-hpux*; use args to see if c++ was specified.
28509 (skip_hp_tests): new function.
28510 (gdb_preprocess): new function.
28511
28512 * configure.in (hpdir): decide whether to configure gdb.hp.
28513 * configure: regenerated.
28514
28515 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
28516 to delete on clean.
28517 (EXECUTABLES): update to reflect new additions.
28518 * gdb.base/commands.exp: update message expected.
28519 * gdb.base/default.exp: add copyright notice.
28520 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
28521 * gdb.base/help.exp: update messages to reflect current text.
28522 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
28523 targets for recurse tests.
28524 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
28525 skip this file.
28526
28527 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
28528 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
28529 compilation.
28530 * gdb.c++/misc.exp: ditto.
28531 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
28532 run the tests. tell gdb_compile that it's a c++ compilation.
28533
28534 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 28535
c906108c
SS
28536 * gdb.base/all-bin.exp: new file.
28537 * gdb.base/arithmet.exp: new file.
28538 * gdb.base/assign.exp: new file.
28539 * gdb.base/completion.exp: new file.
28540 * gdb.base/cond-expr.exp: new file.
28541 * gdb.base/condbreak.exp: new file.
28542 * gdb.base/define.exp: new file.
28543 * gdb.base/dollar.exp: new file.
28544 * gdb.base/environment.exp: new file.
28545 * gdb.base/eval-skip.exp: new file.
28546 * gdb.base/jump.exp: new file.
28547 * gdb.base/logical.exp: new file.
28548 * gdb.base/pointers.exp: new file.
28549 * gdb.base/relational.exp: new file.
28550 * gdb.base/section_command.exp: new file.
28551 * gdb.base/whatis-expr.exp: new file.
28552
28553 * gdb.base/all-types.c: new file.
28554 * gdb.base/call-array-struct.c: new file.
28555 * gdb.base/call-return-struct.c: new file.
28556 * gdb.base/call-strings.c: new file.
28557 * gdb.base/callfuncs2.c: new file.
28558 * gdb.base/condbreak.c: new file.
28559 * gdb.base/constvars.c: new file.
28560 * gdb.base/display.c: new file.
28561 * gdb.base/int-type.c: new file.
28562 * gdb.base/jump.c: new file.
28563 * gdb.base/miscexprs.c: new file.
28564 * gdb.base/pointers.c: new file.
28565 * gdb.base/pointers2.c: new file.
28566 * gdb.base/shmain.c: new file.
28567 * gdb.base/shr1.c: new file.
28568 * gdb.base/shr2.c: new file.
28569 * gdb.base/solib.c: new file.
28570 * gdb.base/solib1.c: new file.
28571 * gdb.base/solib2.c: new file.
28572 * gdb.base/varargs.c: new file.
28573 * gdb.c++/derivation.cc: new file.
28574 * gdb.c++/overload.cc: new file.
28575 * gdb.c++/ovldbreak.cc: new file.
28576 * gdb.hp/attach.c: new file.
28577 * gdb.hp/attach2.c: new file.
28578 * gdb.hp/average.c: new file.
28579 * gdb.hp/compiler.c: new file.
28580 * gdb.hp/compiler.cc: new file.
28581 * gdb.hp/execd-program.c: new file.
28582 * gdb.hp/follow-exec.c: new file.
28583 * gdb.hp/follow-fork.c: new file.
28584 * gdb.hp/follow-vfork-and-exec.c: new file.
28585 * gdb.hp/misc-hp.cc: new file.
28586 * gdb.hp/more-steps.c: new file.
28587 * gdb.hp/optimize.c: new file.
28588 * gdb.hp/quicksort.c: new file.
28589 * gdb.hp/run-hp.c: new file.
28590 * gdb.hp/start-stop.c: new file.
28591 * gdb.hp/sum.c: new file.
28592 * gdb.hp/templates-hp.cc: new file.
28593 * gdb.hp/thread-local-in-lib.c: new file.
28594 * gdb.hp/thread-local-in-lib.h: new file.
28595 * gdb.hp/thread-local-in-lib.lib.c: new file.
28596 * gdb.hp/vforked-program.c: new file.
28597 * gdb.hp/virtfunc-hp.cc: new file.
28598 * gdb.hp/watchpoint-hp.c: new file.
28599 * gdb.hp/xdb.c: new file.
28600 * gdb.hp/xdb0.c: new file.
28601 * gdb.hp/xdb0.h: new file.
28602 * gdb.hp/xdb1.c: new file.
28603
28604Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
28605
28606 The following change was made by Edith Epstein
889bf7c5
PA
28607 <eepstein@cygnus.com> as part of a project to merge in changes
28608 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
28609
28610 * gdb.c++/demangle.exp: changed the expected output for some
28611 ARM-style mangling -- removed second reference to datatype.
889bf7c5 28612 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 28613 T1<char>::~T1<char>(void)
c906108c 28614 becomes,
a9c64011
AS
28615 maint demangle __dt__11T1__pt__2_cFv
28616 T1<char>::~T1(void)
c906108c 28617
889bf7c5 28618 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 28619
c906108c
SS
28620Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
28621
28622 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
28623 * gdb.trace/backtrace.exp: Likewise.
28624 * gdb.trace/circ.exp: Likewise.
28625 * gdb.trace/collection.exp: Likewise.
28626 * gdb.trace/deltrace.exp: Likewise.
28627 * gdb.trace/infotrace.exp: Likewise.
28628 * gdb.trace/limits.exp: Likewise.
28629 * gdb.trace/packetlen.exp: Likewise.
28630 * gdb.trace/passc-dyn.exp: Likewise.
28631 * gdb.trace/passcount.exp: Likewise.
28632 * gdb.trace/report.exp: Likewise.
28633 * gdb.trace/save-trace.exp: Likewise.
28634 * gdb.trace/tfind.exp: Likewise.
28635 * gdb.trace/tracecmd.exp: Likewise.
28636 * gdb.trace/while-dyn.exp: Likewise.
28637 * gdb.trace/while-stepping.exp: Likewise.
28638
286391998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
28640
28641 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
28642
28643Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
28644
28645 From Brendan Kehoe:
28646 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
28647 int return types.
28648
28649Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
28650
28651 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 28652 remote dos host testing right.
c906108c
SS
28653
28654Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
28655
28656 * gdb.base/corefile.exp: remove some xfails.
28657
28658Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
28659
28660 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 28661 have different timestamps.
c906108c
SS
28662
28663Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
28664
28665 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 28666 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
28667
28668Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
28669
28670 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 28671 delta.
c906108c
SS
28672
28673Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
28674
28675 * gdb.base/default.exp: Add brace missing from previous delta.
28676
28677Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
28678
28679 * gdb.base/default.exp: Support test for info float for all
28680 varieties of arm toolchain.
28681
dc96c6c7 28682Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28683
28684 * gdb.trace/*.exp: remove "remote_download" command.
28685
dc96c6c7 28686Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28687
28688 * gdb.trace/*.exp: remove -gdwarf from compile.
28689
28690Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
28691
28692 * gdb.trace/configure.in(AC_INIT): typo
28693 * gdb.trace/configure: regenerated
28694
dc96c6c7 28695Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28696
28697 * config/m68k-emc.exp: New file.
28698 * lib/<emc-support.exp trace-support.exp}: New files.
28699 * configure.in: add new test directory gdb.trace.
28700 * gdb.trace/{configure configure.in Makefile.in}: New files.
28701 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
28702 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
28703 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
28704 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
28705 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
28706 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
28707 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 28708
dc96c6c7 28709Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28710
28711 * gdb.c++/classes.exp: Change all regular expressions to match
28712 arbitrary combinations of newline/carriage-return, so that they
28713 will work equally well on Unix and Windows.
28714 * gdb.c++/inherit.exp: ditto.
28715 * gdb.c++/virtfunc.exp: ditto.
28716
287171998-08-11 Dawn Perchik <dawn@cygnus.com>
28718
28719 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
28720
c2d11a7d
JM
28721Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
28722
28723 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
28724 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
28725 to use a0-a3/d0-d3 as needed.
28726
28727Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
28728
28729 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
28730 * gdb.disasm/am33.exp: Corresponding changes.
28731
c906108c
SS
287321998-07-11 Felix Lee <flee@cygnus.com>
28733
28734 * gdb.base/callfuncs.exp: add cmp10 test.
28735 * gdb.base/callfuncs.c (cmp10): new function.
28736
28737Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
28738
d63a86f8 28739 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
28740 into two parts to get around a synchronization problem in expect.
28741
3fc11d3e
JM
28742Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
28743
28744 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
28745
28746 * configure.in: Add options for gdbtk testsuite.
28747
28748 * configure: Regenerate.
28749
28750 * gdb.gdbtk: New directory to hold gdbtk tests.
28751
c906108c
SS
28752Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28753
28754 * gdb.fortran/types.exp: Escape brackets in expect patterns
28755 for test_float_literal_types_accepted tests.
28756 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
28757 before run test.
28758
c2d11a7d
JM
28759Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
28760
28761 * am33.exp: Just compile, do not link the testcase.
28762 * am33.s: Add ".am33" pseudoop to force am33 mode.
28763
c906108c
SS
287641998-06-25 Felix Lee <flee@cygnus.com>
28765
28766 * gdb.base/setshow.exp: make sure $pc is sane.
28767
28768 * gdb.stabs/weird.exp: split expect patterns properly.
28769
c2d11a7d
JM
28770Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
28771
28772 * gdb.disasm/am33.s: New disassembler testfile for the am33.
28773 * gdb.disasm/am33.exp: Run it.
28774
dc96c6c7 28775Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28776
28777 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
28778 match processing (and eliminate spurious timeouts when running).
28779
dc96c6c7 28780Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28781
28782 * gdb.base/signals.exp (test_handle_all_print): put back Mach
28783 exception test, but conditionalize it on target [mach | gnu].
28784
dc96c6c7 28785Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28786
28787 * gdb.base/overlays.exp: fixup compile line for linker script.
28788
28789Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
28790
28791 * gdb.fortran/types.exp: don't guess at float size.
28792
28793Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
28794
28795 * gdb.base/exprs.exp: delete test that depends on int size.
28796
28797Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
28798
28799 * config/sim.exp: Removed checks for target triplets.
28800 (gdb_target_sim): Use gdb,target_sim_options.
28801
28802Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
28803
28804 * gdb.base/reread.exp: New file.
28805 * gdb.base/reread1.c: New file.
28806 * gdb.base/reread2.c: New file.
28807
28808Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
28809
28810 * config/sim.exp: Use 'target sim -sparclite' when running
28811 SPARClite programs.
28812
28813Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
28814
28815 * gdb.base/structs2.exp: New file.
28816 * gdb.base/structs2.c: New file.
28817
28818Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
28819
28820 * gdb.asm/common.inc: New file.
28821 * gdb.asm/d10v.inc: New file.
28822 * asm-source.exp: Pass -I's to gas to find .inc files.
28823 Update line numbers in expected output.
28824 * asmsrc1.s: Rewrite.
28825 * asmsrc2.s: Rewrite.
28826 * configure.in: Create arch.inc symlink.
28827 * configure: Regenerate.
28828 * Makefile.in (distclean): Delete arch.inc.
28829
28830Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
28831
28832 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
28833 (t_enum_value2): ditto
28834 (t_enum_value3): ditto
28835 (main): ditto
c906108c
SS
28836Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28837
28838 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
28839 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
28840 change.
28841 Use gdb_test instead of send_gdb/gdb_expect sequences.
28842
28843Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
28844
28845 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
28846 not void.
28847
28848Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
28849
28850 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
28851 subroutines. Used to test gdbs ability to single step through PC
28852 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
28853
28854Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
28855
28856 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
28857 more rigorous EGCS C++ error checking.
28858
28859Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28860
a9c64011
AS
28861 * gdb.base/help.exp: Clean up `help set args' and `help show args'
28862 tests.
28863 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
28864 function when asleep.
28865 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
28866 for i*86 Linux and SVR4 signal handling problems.
28867 Remove linux xfail for `next to handler in signals_tests_1', fixed
28868 by recent infrun.c change.
28869 Limit backtrace to 10 frames to avoid timeout problems with infinite
28870 stack backtraces.
28871 Adjust expect pattern in `handle all print' test to match Apr 28 1997
28872 target.[ch] change.
c906108c
SS
28873
28874Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
28875
28876 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
28877 for a newline from gdb before continuing.
28878 (default_gdb_exit): Just look for y or n.
28879 (gdb_test): Detect abnormal exit from GDB running on DOS; if
28880 it does, fail the rests of the tests in the file.
28881
28882Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
28883
28884 * config/cygmon.exp: New file.
28885
28886Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
28887
28888 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 28889 main" test on remote targets.
c906108c
SS
28890
28891 * gdb.base/scope.exp: Fix problem with filelocal_bss before
28892 run test on remote targets.
28893
28894Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
28895
28896 * gdb.asm: New directory.
28897 * configure.in: Configure it.
28898 * configure: Regenerate.
28899 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
28900 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
28901
28902Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
28903
28904 * config/mn10300-eval.exp: New file to support MN10300 eval board.
28905
dc96c6c7 28906Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 28907
a9c64011
AS
28908 * gdb.base/overlays (several files): Merge the two overlay
28909 managers into one. Change variables (foox, barx, bazx, grbxx)
28910 back into ints but force them to load in their proper sections.
c906108c
SS
28911
28912Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
28913
28914 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 28915 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
28916 (D10VCopy): Handle memory regions crossing 16k boundaries.
28917 (D10VCopy): Transfer data in 32 bit chunks.
28918
28919Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
28920
28921 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 28922 correct.
c906108c
SS
28923
28924 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 28925 map. Include space for printf in .text segment.
c906108c
SS
28926
28927 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 28928 updated d10v memory VMA/LMA map.
c906108c 28929 (D10VCopy): Call D10VTranslate.
d63a86f8 28930
c906108c
SS
28931Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
28932
28933 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
28934
28935 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
28936 that it won't be put into the .sdata - small data -
28937 section. Update reference.
c906108c
SS
28938 * gdb.base/baz.c (bazx, baz): Ditto.
28939 * gdb.base/foo.c (foox, foo): Ditto.
28940 * gdb.base/grbx.c (grbxx, grbx): Ditto.
28941
28942 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 28943 to be arrays.
d63a86f8 28944
dc96c6c7 28945Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 28946
a9c64011
AS
28947 * gdb.base/overlays.exp: fix up and get working again.
28948 Add tests for backtraces from an overlay function.
d63a86f8 28949
c906108c
SS
28950Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
28951
28952 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
28953 "calling function with watchpoint enabled".
28954
28955Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
28956
28957 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 28958 gdb_suppress_tests for d10v-*-*.
c906108c
SS
28959 * lib/gdb.exp (gdb_suppress_tests): Disable this function
28960 pending review of whether it is useful or not.
28961
28962Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
28963
28964 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
28965
28966Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
28967
28968 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
28969 * config/dve.exp: New file to support Densan boards.
28970
28971Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
28972
28973 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 28974 reads and BSD.
c906108c
SS
28975
28976Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
28977
28978 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
28979 response.
28980
28981 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
28982
28983Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
28984
28985 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 28986 test.
c906108c
SS
28987
28988 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 28989 target_sizeof_long and target_bigendian_p.
c906108c 28990 (structs_by_value, structs_by_reference): Check values according
889bf7c5 28991 to targets word size and endianess.
d63a86f8 28992
c906108c
SS
28993Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
28994
28995 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 28996 output.
c906108c
SS
28997
28998Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
28999
29000 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 29001 Update test of set args help to match source change.
c906108c
SS
29002
29003Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
29004
29005 * gdb.base/default.exp: Expect help system output to be in
29006 alphabetical order.
29007 * gdb.base/help.exp: Ditto.
29008
29009Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
29010
29011 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
29012 "i*86-pc-linux-gnu*".
29013 * gdb.base/interrupt.exp: Ditto.
29014 * gdb.base/corefile.exp: Ditto.
29015
29016 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 29017 define vxworks when building the testcase.
c906108c
SS
29018
29019 * gdb.base/ptype.exp: Fix testnames to be unique.
29020 * gdb.base/radix.exp: Ditto.
29021 * gdb.base/term.exp: Ditto.
29022 * gdb.base/whatis.exp: Ditto.
29023 * gdb.c++/classes.exp: Ditto.
29024
29025Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
29026
29027 * gdb.base/callfuncs.exp: Fix indentation.
29028
29029 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
29030 suppress_flag has been set.
29031 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
29032 target feature.
29033
29034Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
29035
29036 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
29037 the testcase.
29038
29039 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 29040 set_debug_traps() and breakpoint().
c906108c
SS
29041 * gdb.c++/misc.cc (main): Ditto.
29042 * gdb.c++/templates.cc (main): Ditto.
29043 * gdb.c++/virtfunc.cc (main): Ditto.
29044
29045Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
29046
29047 * lib/gdb.exp(gdb_step_for_stub): New function.
29048 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
29049 exists, reload the executable and do a "continue" instead of
29050 doing a jump.
29051 (runto_main): Use gdb_step_for_stub.
d63a86f8 29052
c906108c 29053 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 29054 tests to have unique names.
c906108c
SS
29055 * gdb.base/callfuncs.exp: Ditto.
29056 * gdb.base/commands.exp: Ditto.
29057 * gdb.base/default.exp: Ditto.
29058 * gdb.base/help.exp: Ditto.
29059 * gdb.base/list.exp: Ditto.
29060 * gdb.base/opaque.exp: Ditto.
29061 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
29062 similar tests.
d63a86f8 29063
c906108c
SS
29064 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
29065 * gdb.c++/cplusfuncs.cc: Ditto.
29066 * gdb.c++/virtfunc.cc: Ditto.
29067
29068 * config/monitor.exp: Keep track of the last file we saw, rather
29069 than trying to get the info from gdb.
29070
29071 * gdb.fortran/types.exp: Move comment to previous line.
29072
29073Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
29074
29075 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 29076 target mode.
c906108c
SS
29077
29078Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
29079
29080 From Bob Manson:
29081 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 29082 string from GDB when it connects.
c906108c
SS
29083
29084 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
29085
29086Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
29087
29088 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
29089 if we can't get a debug format from GDB (we may be testing an
29090 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
29091
29092 * gdb.stabs/weird.exp: Fix quoting.
29093
29094 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
29095
29096Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
29097
29098 * config/arm-ice.exp: New file.
29099
29100Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
29101
29102 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 29103 until it has been modified to work with the new testsuite.
c906108c 29104
99707966 29105 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
29106 testcase won't compile, cause all of the testcases in the file to
29107 fail instead.
c906108c
SS
29108
29109 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
29110 (gdb_clear_suppressed): New procedure.
29111 (gdb_stop_suppressing_tests): Only clear suppress_flag if
29112 it contains a positive value.
29113
29114Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
29115
29116 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
29117
29118 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
29119
29120Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
29121
29122 * lib/gdb.exp (setup_xfail_format): New function.
29123 (get_debug_format): New function to get debug format.
29124 (debug_format): New global variable to hold last value set
29125 by get_debug_format.
29126 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 29127 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
29128 * gdb.c++/ptype.exp: Ditto.
29129 * gdb.c++/classes.exp: Ditto.
29130 * gdb.c++/cplusfuncs.exp: Ditto.
29131 * gdb.c++/inherit.exp: Ditto.
29132 * gdb.c++/templates.exp: Ditto.
29133 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 29134
c906108c
SS
29135Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
29136
29137 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
29138 host doesn't have a currently-open connection.
29139
29140 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
29141 any gdb stub target. Handle cases where gdb doesn't respond when
29142 interrupted in a sane fashion.
c906108c
SS
29143
29144 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 29145 same thing in a totally different way.
c906108c
SS
29146
29147 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 29148 setting "timeout".
c906108c 29149 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 29150 default_gdb_init now.
c906108c
SS
29151
29152Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
29153
29154 * gdb.base/printcmds.exp: Fix "check for floating addition"
29155 regexp to accept results within approx +/- .01 of exact value.
29156 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
29157
29158Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
29159
29160 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 29161 properly.
c906108c
SS
29162 (gdb_expect): Add optional timeout parameter, and add timeout
29163 value to various calls.
29164 (gdb_suppress_tests): Only give one warning message per group.
29165
29166Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
29167
29168 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
29169 global variables. Handle getting a value for $timeout more
29170 gracefully.
c906108c
SS
29171
29172Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29173
29174 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 29175 initialize.
c906108c 29176 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 29177 by a target configuration file.
c906108c
SS
29178 (gdb_expect): Pass the timeout to remote_expect.
29179
29180 * config/monitor.exp(gdb_load): Fix typo in regexp.
29181
29182Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
29183
29184 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
29185
29186Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
29187
29188 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
29189 here. Call gdb_target_exec before rebooting the target, to make
29190 sure the connection to the target is closed.
c906108c
SS
29191 (gdb_load): Pass the name of the executable to gdb_target_monitor.
29192 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
29193 Also detect "Timeout reading from remote" error.
29194
29195 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
29196 gdb_target_monitor. Don't call gdb_file_cmd here; let
29197 gdb_target_monitor do it.
c906108c
SS
29198
29199 * gdb.disasm/hppa.exp: Don't use exec_output.
29200
29201Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
29202
29203 * gdb.base/list.exp: If we're debugging a non-native target,
29204 try to set the pc register to point to the start of the
29205 program before doing the first list command.
29206
29207 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 29208 test_calls after restarting.
c906108c
SS
29209
29210 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 29211 reloading.
c906108c
SS
29212
29213 * gdb.base/watchpoint.exp: Fix typo.
29214
29215 * gdb.base/setshow.exp: Check for use_gdb_stub.
29216
29217 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 29218 stub case.
c906108c
SS
29219 * gdb.base/langs.exp: Ditto.
29220
29221 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
29222 gdb_load_offset. If we weren't given a file to load, figure out
29223 what the current file is and use it.
c906108c
SS
29224
29225 * config/i386-bozo.exp: New file.
29226
29227Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
29228
29229 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
29230 feature.
29231
29232 * config/proelf.exp: New entry.
29233
29234Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
29235
29236 * lib/gdb.exp: Remove spurious .* patterns at the beginning
29237 of regexps.
29238
29239 * gdb.base/watchpoint.exp: Don't run the test_stepping
29240 tests if gdb can't call functions on the target.
29241
29242 * gdb.base/setshow.exp: Don't run the set prompt tests if
29243 the board has gdb_prompt set.
29244
29245Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
29246
29247 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
29248 * gdb.base/commands.exp: Likewise.
29249 * gdb.base/setshow.exp: Likewise.
29250
29251Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
29252
29253 * config/monitor.exp(gdb_start): Look for gdb_prompt target
29254 feature.
29255
29256 * config/i960.exp: New file.
29257
29258Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
29259
29260 * gdb.base/funcargs.exp: Check for gdb,short_int target
29261 feature instead of looking for explicit target triplets.
29262
dc96c6c7 29263Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 29264
d63a86f8 29265 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
29266 "p 123DEADBEEF", to check parse_number.
29267 * top.c: change "to enable to enable" to "to enable" in a couple
29268 of help strings.
29269
29270Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
29271
29272 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
29273 on the mn10300.
d63a86f8 29274
c906108c
SS
29275Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
29276
29277 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
29278 where the test executable is run with explicit args.
29279 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
29280
29281Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
29282
29283 * gdb.base/run.c: Use FAKEARGV to build test executable that
29284 does not require a command line arg, since most simulators
29285 don't currently support passing such an arg into the simulated
29286 program.
29287 * gdb.base/commands.exp: Change tests to insert the proper
29288 value as the arg to the first recursive factorial call. Change
29289 compilation line to define FAKEARGV at compile time.
29290
29291Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
29292
29293 * gdb.base/recurse.exp: Enable these tests for the mn10300.
29294 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
29295 function with watchpoint enabled" test.
29296
29297Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
29298
29299 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 29300 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
29301
29302 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 29303 "Tests restarted" messages.
c906108c
SS
29304
29305Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
29306
29307 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
29308
dc96c6c7 29309Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29310
29311 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
29312 for INFO SYMBOL; add help tests for OVERLAY commands.
29313 * gdb.base/default.exp: add tests for INFO SYMBOL command;
29314 add tests for OVERLAY commands
29315 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
29316 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
29317 * gdb.base/sigall.c: add usestubs code frag
29318 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 29319
c906108c
SS
29320Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
29321
29322 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
29323 failures.
29324 (gdb_stop_suppressing_tests): Note that tests have restarted.
29325
29326Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
29327
29328 * config/h8300.exp: New file.
29329
29330Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
29331
29332 * gdb.base/setshow.exp: Check for the existence of a
29333 feature, not its value.
29334
29335Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
29336
29337 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
29338
29339 * gdb.base/scope.exp: It's now init0(), not init().
29340
29341 * gdb.base/scope0.c: For now, change init() to be init0().
29342
29343 * config/monitor.exp: Use gdb_serial in preference to serial
29344 or netport.
29345
29346 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 29347 and it's not already set.
c906108c
SS
29348
29349Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
29350
29351 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 29352 isn't using a stub and if it supports argument passing.
c906108c
SS
29353
29354Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
29355
29356 * config/udi.exp(gdb_start): Make sure UDICONF is set
29357 properly before starting gdb.
29358
29359Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
29360
29361 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
29362 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
29363 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
29364
29365Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
29366
29367 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 29368 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
29369
29370 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
29371
29372 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
29373
29374 * config/monitor.exp: Make sure we disconnect from the target.
29375 Also, try a reboot/reload cycle instead of failing if the
29376 load fails.
29377
29378Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
29379
29380 * gdb.base/default.exp: Don't set match_max.
29381 * gdb.base/help.exp: Ditto.
29382 * gdb.base/list.exp: Ditto.
29383 * gdb.base/signals.exp: Ditto.
29384
29385 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
29386 set, use remote_ld to download the testcase instead of
29387 the GDB loader.
29388
29389Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
29390
29391 * config/vr5000.exp: New file.
29392
29393 * config/monitor.exp(gdb_target_monitor): Add pattern for
29394 "Ending remote" to detect errors in connecting.
29395
29396 * gdb.base/setshow.exp: Add .* within auto language test.
29397
29398 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
29399 target feature.
29400
29401 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 29402 and reboot the board if necessary.
c906108c
SS
29403
29404 * gdb.base/setvar.exp(test_set): Handle multiple prints within
29405 a set of tests. Remove print.* from the patterns being checked.
29406
29407Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
29408
29409 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
29410 refer to gdb_spawn_id.
29411
29412 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
29413 longer used.
29414 * config/sparclet.exp: Ditto.
29415 * config/sparclet-old.exp: Ditto.
29416 * config/slite.exp: Ditto.
29417 * config/sim.exp: Ditto.
29418 * gdb.base/funcargs.exp: Ditto.
29419
29420 * lib/gdb.exp:Remove references to gdb_spawn_id.
29421 (gdb_expect): Move to remote.exp.
29422
29423Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
29424
29425 * config/monitor.exp: Detect the "Couldn't establish connection"
29426 message from GDB.
29427
29428Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
29429
29430 * gdb.base/bitfields.exp: Use runto instead of explicit
29431 gdb_run_cmd/gdb_expect sequences.
29432
29433 * gdb.base/break.exp(text_next_with_recursion): Add match for
29434 gdb_expect call.
29435
29436 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
29437 We also need to handle the "A program is being debugged already"
29438 prompt from gdb. Use gdb_test to set the baud rate.
29439
29440 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
29441 to 20000. Really. I mean it.
29442
29443Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29444
29445 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
29446 fails. If suppress_flag is set, skip perror message about not
29447 being able to send to GDB.
c906108c 29448 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 29449 GDB.
c906108c
SS
29450 (gdb_expect): If suppress_flag is set, always fail immediately.
29451 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
29452 (gdb_init): Call gdb_stop_suppressing_tests.
29453 (default_gdb_exit): Ditto.
29454 (default_gdb_start): Ditto.
29455
29456 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 29457 gdb_stop_suppressing_tests as appropriate.
c906108c 29458 * gdb.base/break.exp: Ditto.
889bf7c5 29459 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
29460 * gdb.base/commands.exp: Ditto.
29461 * gdb.base/exprs.exp: Ditto.
889bf7c5 29462 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
29463 * gdb.base/list.exp: Ditto.
29464 * gdb.base/recurse.exp: Ditto.
889bf7c5 29465 * gdb.base/scope.exp: Ditto.
c906108c
SS
29466 * gdb.base/structs.exp: Ditto.
29467 * gdb.c++/inherit.exp: Ditto.
29468
29469Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
29470
29471 * config/vr4300.exp: New file.
29472
99707966 29473 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 29474
99707966 29475 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
29476
29477Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
29478
29479 * lib/gdb.exp(gdb_init): New function.
29480
29481 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 29482 for each individual variable set.
c906108c
SS
29483
29484 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
29485 name.
29486
29487 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
29488
29489 * gdb.base/scope.exp: Use gdb_test.
29490
29491 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
29492 aborting; the testsuite driver will do that for us (see
29493 gdb_finish). Also, use gdb_test in a few more places.
29494
29495Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
29496
29497 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
29498
29499Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
29500
29501 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
29502 and "add_tests" are not at the same address.
29503
29504Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
29505
29506 * gdb.base/ptype.exp: Use gdb_test.
29507
29508Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
29509
29510 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
29511 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
29512 left in. No longer expect them to fail.
29513
29514 * gdb.stabs/*.mt; Deleted, no longer used.
29515 * gdb.stabs/configure.in: Remove references to target makefile
29516 frags.
29517 * gdb.stabs/configure: Rebuilt.
29518
29519 * gdb.disasm/*.mt: Deleted, no longer used.
29520 * gdb.disasm/configure.in: Remove references to target makefile
29521 frags. Use "sh3.s" as the unique filename for this directory.
29522 * gdb.disasm/configure: Rebuilt.
29523
29524 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
29525 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
29526 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
29527
29528Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
29529
29530 * config/udi.exp: Use mondfe,name instead of remote_host.
29531
29532Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
29533
29534 * gdb.base/watchpoint.exp: Don't expect a failure when calling
29535 a function with a watchpoint enabled on the mn10200.
29536
29537 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
29538 before trying to create it!
29539
29540Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
29541
29542 * config/vx.exp: Use hostname instead of netport.
29543
29544 * config/vxworks.exp: New file.
29545
29546 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
29547
29548 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 29549 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
29550 occurs.
29551
29552 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
29553 $gdb_spawn_id directly.
29554 (gdb_run_cmd): Try _start as well as start. Use the target feature
29555 gdb,start_symbol as the symbol to start from when jumping.
29556
29557Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
29558
29559 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
29560 redundant) test.
29561
29562 * gdb.base/recurse.exp: Relax final value test for 'b' so that
29563 it doesn't lose for 16bit integer systems.
29564
29565Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
29566
29567 * gdb.fortran/types.exp: If the target doesn't support "double"
29568 data types, then expect "real" types to only be 4 bytes.
29569
29570 * gdb.c++/virtfunc.exp: Expect failure for virtual function
29571 call tests if the target doesn't support inferior function calls.
29572
29573 * gdb.base/printcmds.exp: Allow minor deviation in FP values
29574 in printf tests.
29575
29576Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
29577
29578 * gdb.base/help.exp: Disable "help set", "help show", and
29579 "help support". Simplify regexp for "help stack".
29580
29581 * gdb.base/default.exp: Set match_max to 5000 and the timeout
29582 to 60 seconds. Temporarily set match_max to 15000 around the
29583 "info copying" test.
29584
29585 * gdb.base/nodebug.exp: Don't try to do an inferior function
29586 call if the target doesn't support them.
29587 * gdb.base/printcmds.exp: Likewise.
29588 * gdb.base/setvar.exp: Likewise.
29589 * gdb.base/structs.exp: Likewise.
29590 * gdb.c++/templates.exp: Likewise.
29591 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
29592
29593 * gdb.base/recurse.exp: Enable for the mn10200.
29594
29595 * configure.in: Do configure gdb.stabs directory for *-*-elf
29596 targets.
29597 * configure: Rebuilt.
29598
29599 * gdb.base/break.exp: Check for gdb,noresults before testing
29600 exit status and/or results from the target.
29601 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
29602 * lib/gdb.exp: Remove old (now bogus) initialization of
29603 noinferior, noargs, noresults and nosignals.
29604
29605Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
29606
29607 * config/sh.exp: New file.
29608
29609 * config/slite.exp: Try to connect multiple times to the board
29610 before rebooting. Only send a "monitor run" if need_monitor_run
29611 is set.
29612
29613 * gdb.base/break.exp: Don't do the "stub continue" test if
29614 the target has gdb_stub set.
29615
29616 * gdb.base/callfuncs.exp: Increase the timeout.
29617
29618 * gdb.base/interrupt.exp: Don't even try to compile the testcase
29619 if the target has gdb,noinferiorio set.
29620
29621 * gdb.base/list.exp: Increase match_max to 10000 characters.
29622
29623 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
29624
29625 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
29626 target.
29627
29628 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
29629
29630Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
29631
29632 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
29633 trying to delete the copy of gdb. Catch the file delete so we
29634 don't die if the delete fails; also, the file should be copied to
29635 the host, not to the build.
c906108c
SS
29636
29637Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
29638
29639 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 29640 parenthesis in case it contains multiple regexps separated
c906108c
SS
29641 with |.
29642
29643 * gdb.base/watchpoint.exp: Use gdb_test.
29644 * gdb.base/default.exp: Ditto.
29645
29646Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
29647
99707966 29648 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 29649
c906108c
SS
29650 * gdb.base/scope.exp: Use gdb_test.
29651 * gdb.c++/classes.exp: Ditto.
29652 * gdb.c++/inherit.exp: Ditto.
29653
29654Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
29655
29656 * gdb.base/crossload.exp: Don't use execute_anywhere, use
29657 remote_exec instead.
29658 * gdb.base/corefile.exp: Don't be ridiculous.
29659 * gdb.base/*.c: Add missing stub invocations.
29660
29661Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
29662
29663 * config/slite.exp: Miscellaneous fixes.
29664
29665 * lib/gdb.exp: Fix runto.
29666
29667 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
29668 the target.
29669
29670 * gdb.base/watchpoint.exp: Fix regexp.
29671
29672 * lib/gdb.exp(default_gdb_exit): Add a catch to the
29673 close and wait commands, as the descriptor may now be
29674 invalid. Always call "remote_close host".
29675
29676Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
29677
29678 Major rewrite for testsuite revision.
d63a86f8 29679
c906108c
SS
29680 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
29681 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
29682 instead of relying on spawn_id to always contain a valid
29683 spawn id.
29684 (get_compiler_info): New procedure to build the ${binfile}.ci
29685 file, instead of replicating this in N different places.
29686 (gdb_compile): New procedure.
d63a86f8 29687
c906108c 29688 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
29689 appropriate arguments) instead of compile. Use gdb_test in a lot
29690 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
29691 at the start of a testcase, as this is no longer done magically.
29692
29693 config/*-gdb.exp: Rename without the -gdb suffix.
29694
29695 config/mips.exp: Use remote_close instead of exit_remote_shell.
29696 config/monitor.exp: Use target_info instead of looking at
29697 baud, timeout, etc.
29698 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
29699
29700Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29701
29702 * gdb.c++/templates.exp (test_ptype_of_templates),
29703 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
29704 Update expect patterns for destructors and assignment operators
29705 to match corresponding c-typeprint.c changes.
29706 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
29707 to destructor breakpoint test, GDB should be able to set the
29708 destructor breakpoint without specifying arguments.
29709
29710Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
29711
29712 * gdb.threads/pthreads.exp: Change result for failure to compile due
29713 to lack of pthreads runtime support from an error to simply an
29714 unsupported test, per dejagnu standards.
29715
29716Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29717
29718 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
29719 where GDB exits to reduce pattern match time.
29720 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
29721
29722 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
29723
dc96c6c7 29724Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29725
29726 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
29727 * gdb.base/default.exp: ditto.
29728 * gdb.base/nodebug.exp: ditto.
29729 * gdb.base/printcmds.exp: ditto.
29730 * gdb.base/ptype.exp: ditto.
29731 * gdb.base/setvar.exp: ditto.
29732 * gdb.base/structs.exp: ditto.
29733 * gdb.base/setshow.c: Guard against uninitialized values of argc.
29734
29735Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
29736
29737 * configure, */configure: Rebuild with autoconf 2.12.
29738
29739Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
29740
29741 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
29742 use new i*86-pc-linux*-gnu quads.
29743 * gdb.base/corefile.exp: Ditto.
29744 * gdb.base/signals.exp: Ditto.
29745 * gdb.base/sigall.exp: Ditto.
29746 * gdb.base/interrupt.exp: Ditto.
29747
29748 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
29749 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
29750 RedHat 4.0.
d63a86f8 29751
c906108c 29752 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
29753 linux. This allows the test case to at least compile on latest
29754 linux, but still not run due to missing the threads runtime library.
c906108c
SS
29755
29756Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29757
29758 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
29759 directory to search gdb directory. Accept and step over conditional
29760 stack alignment code. Consume $prompt in failure cases.
29761 Reset timeout to $oldtimeout instead of some arbitrary value.
29762 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
29763 timeout problems with infinite stack backtraces.
29764 * gdb.base/ptype.exp (ptype struct link, union tu_link):
29765 Accept function parameters for linkfunc member.
29766
29767Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
29768
29769 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
29770 (CXXFLAGS): Remove, unreferenced.
29771 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
29772 previous -B options and also add -B option to pick up cross compiled
29773 runtime.
c906108c
SS
29774 (TARGET_INCLUDES): Add for -I options and add code to initialize when
29775 doing cross compiles.
29776 (target_alias): Declare global.
29777 (xgcc): Set variable to full path of gcc in build tree. Use findfile
29778 to verify that gcc exists in build tree, and if so set CC to that
29779 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 29780
c906108c
SS
29781Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
29782
29783 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
29784 ptype test for anonymous union. Fixup testcase to match
29785 current gcc debug output.
29786
29787Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
29788
29789 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
29790 force argument to an unsigned long type.
29791
29792Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
29793
29794 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 29795 tests and anonymous union print/ptype tests.
c906108c
SS
29796 * gdb.base/list.exp (test_forward-search): Increase timeout by
29797 5 minutes for the "search extremely long line" case.
29798 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
29799 completely optional and that the pass/fail messages use the command as
29800 the message if that third arg is a null string.
29801 (gdb_test_exact): Arrange that a null string pattern means match a
29802 null string output rather than any output, which might include random
889bf7c5 29803 errors.
c906108c
SS
29804 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
29805 backtrace test.
29806 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
29807 always failing and failure is now exposed by gdb.exp changes.
29808
29809Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
29810
29811 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
29812 weren't being noted.
29813
29814Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29815
29816 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
29817 * gdb.stabs/weird.exp: Remove v_comb xfails.
29818
dc96c6c7 29819Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29820
29821 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 29822 list.exp scope.exp watchpoint.exp]
c906108c 29823 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 29824
dc96c6c7 29825Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29826
29827 * config/monitor.exp: Increase download timeout to 1000 seconds.
29828
dc96c6c7 29829Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29830
29831 * config/m32r.exp: Increase timeout to 120 seconds.
29832
29833Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
29834
29835 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
29836 and accept older ordering as obsolescent gcc or gdb.
29837 * gdb.c++/templates.exp: Ditto.
29838 * gdb.c++/virtfunc.exp: Ditto.
29839
29840Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
29841
29842 * gdb.base/coremaker.c: Add code to mmap some data so we
29843 can check that it ends up in the core file.
29844 * gdb.base/corefile.exp: Add test to read mmapped data
29845 from core file.
29846
dc96c6c7 29847Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29848
29849 * config/m32r.exp: New file.
29850
29851Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
29852
29853 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
29854 that cflags can contains -gstabs, and work correctly for other tests.
29855
dc96c6c7 29856Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29857
29858 * gdb.base/setshow.exp: New file, tests show and set.
29859 * gdb.base/setshow.c: New file, tests show and set.
29860 * gdb.base/help.exp: Add test for help set|show annotate.
29861 * gdb.base/default.exp: Add test for set|show annotate.
29862
29863Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
29864
29865 * testsuite/gdb.base/break.exp: Make backtrace from factorial
29866 errors unique.
29867 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
29868 explicitly.
29869
29870Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
29871
29872 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
29873 and width commands. This is done elsewhere.
29874 * (gdb_start): Don't call gdb_start_sim here. That's already
29875 done in gdb_load. This fixes lots of failures in default.exp.
29876
29877Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
29878
29879 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
29880 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
29881 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
29882 in the same we we treat other failures (since it may be an expected
889bf7c5 29883 condition), rather than as an error.
c906108c
SS
29884 * gdb.base/signals.exp (test_handle_all_print): Revert back to
29885 old test format.
29886
29887Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
29888
29889 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
29890 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 29891 twice. Nuke the duplicates.
c906108c 29892 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 29893 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
29894 Remove config.h along with other config files.
29895
29896Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
29897
29898 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
29899 "p func1 ()" and note that rests of tests are skipped.
29900 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 29901 setup_xfails for "print func2::coremaker_local".
c906108c
SS
29902 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
29903 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
29904 affected by the previous run test.
29905 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
29906 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
29907 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
29908 "pass int powerset tuple" and "pass modeless int powerset tuple".
29909 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
29910 "real write 4" and "real write 8".
29911 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 29912 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
29913 "print \$i after tuple assign 2", and
29914 "print vs2 after tuple assign 2".
29915 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
29916 meaningful error message and return -1 so the caller can
29917 suppress further tests and avoid a cascade of errors.
d63a86f8 29918
c906108c
SS
29919Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
29920
29921 * gdb.base/a1-selftest.exp: Tweak tests to account for new
29922 format for printing version.
29923 * gdb.base/default.exp: Ditto.
29924 * gdb.base/interrupt.exp: Fix problem with cascade of
29925 errors if child process dies while calling a function.
d63a86f8 29926
c906108c
SS
29927Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
29928
29929 * Makefile.in (VPATH): Add
29930 * Makefile.in (Makefile, config.status): Fix rules so things get
29931 remade when necessary.
29932
29933Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
29934
29935 * Makefile.in (just-check): Add path to sibling expect dir
29936 to environment variable specified by RPATH_ENVVAR.
29937
29938Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
29939
29940 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
29941 (just-check): Add shared library paths for libstdc++, tk,
29942 tcl, bfd, and opcodes to the environment variable specified
29943 in RPATH_ENVVAR.
29944 * configure.in: Add support to recognize --enable-shared flag
29945 and generate correct value for RPATH_ENVVAR.
29946 * configure: Regenerated with autoconf.
29947
29948Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
29949
29950 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 29951 include all osf versions.
c906108c
SS
29952 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
29953 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
29954 when target is linux. When failing to build pthreads test
29955 executable, give more meaningful message.
29956 * gdb.threads/pthreads.c: Hpux also uses old definition of second
29957 arg for pthread_create.
d63a86f8 29958
c906108c
SS
29959Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
29960
29961 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 29962 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 29963 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 29964 and -lpthreads (everybody else).
c906108c
SS
29965 (test_startup): Fail gracefully if threads are not supported.
29966 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
29967 "p/c array_index("abcdef",2)" when not gcc compiled.
29968 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
29969 "print func2::coremaker_local" when not gcc compiled.
29970 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
29971 "ptype on opaque struct tagname (statically)",
29972 "ptype on opaque struct tagname (dynamically) 1", and
29973 "ptype on opaque struct tagname (dynamically) 2"
29974 for not compiled with gcc.
29975 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
29976 backtrace when compiled with gcc.
d63a86f8 29977 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
29978 than always return success.
29979
29980Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
29981
29982 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
29983
29984Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
29985
29986 * gdb.base/structs.exp: Undo last change.
29987
29988Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
29989
29990 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
29991 encapsulate all the steps/nexts done during self test, starting
29992 at main, and makes them less sensitive to optimization issues.
29993 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
29994 signal handler" test.
29995 * gdb.threads/pthreads.exp: Only run this for native configs.
29996 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
29997 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
29998 tests.
29999 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
30000 for "runto test_calls(void)" test.
d63a86f8 30001
c906108c
SS
30002Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
30003
30004 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
30005 and don't expect address info in breakpoint confirmations.
30006
30007Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
30008
30009 * gdb.base/list.exp (test_forward_search): Increase timeout
30010 temporarily by 60 seconds for searching extremely long line,
889bf7c5 30011 and then reset to old value when done. Increase expect input
c906108c
SS
30012 buffer to 10000.
30013
30014Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
30015
30016 * gdb.base/list.exp (test_forward_search): Fix to handle very
30017 long source line without overflowing expect's input buffer.
30018
30019Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
30020
30021 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
30022 "buffer_full".
30023
30024 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
30025 "buffer_full".
30026
30027 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
30028 "buffer_full".
30029
30030 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
30031 "buffer_full".
30032
30033Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
30034
30035 * configure.in (configdirs): Add gdb.threads.
30036 * configure: Regenerated with autoconf.
30037 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
30038 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
30039 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 30040
c906108c
SS
30041Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
30042
30043 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
30044
30045Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
30046
30047 * gdb.base/signals.exp (test_handle_all_print): Test separately for
30048 each signal's status in the output of "handle all print".
30049 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
30050 the \r\n sequence that immediately precedes the gdb prompt.
30051 * gdb.base/a1-selftest.exp: Save original timeout and restore
30052 after test.
30053
30054Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
30055
30056 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
30057 symbol.
30058
30059Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
30060
30061 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
30062
30063Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
30064
30065 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
30066 timeout by 60 seconds.
30067
30068Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
30069
30070 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
30071 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
30072 error return.
30073
30074Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
30075
30076 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
30077 gdb initialization, also report how long dejagnu waited. Restore
30078 old timeout before doing error return. Temporarily increase timeout
889bf7c5 30079 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
30080
30081Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
30082
30083 * lib/gdb.exp: Report timeout value for verbosity level 2.
30084 * config/gdbserver.exp: Ditto.
30085 * config/hppro.exp: Ditto.
30086 * config/mips-gdb.exp: Ditto.
30087 * config/monitor.exp: Ditto.
30088 * config/netware.exp: Ditto.
30089 * config/sim-gdb.exp: Ditto.
30090 * config/slite-gdb.exp: Ditto.
30091 * config/udi-gdb.exp: Ditto.
30092 * config/unix-gdb.exp: Ditto.
30093 * config/vx-gdb.exp: Ditto.
30094 * gdb.base/a1-selftest.exp: Ditto.
30095 * gdb.base/a2-run.exp: Ditto.
30096 * gdb.base/break.exp: Ditto.
30097 * gdb.base/corefile.exp: Ditto.
30098 * gdb.base/list.exp: Ditto.
30099 * gdb.base/recurse.exp: Ditto.
30100 * gdb.base/scope.exp: Ditto.
30101 * gdb.base/signals.exp: Ditto.
30102
30103Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
30104
30105 * gdb.threads/Makefile.in (docdir): Removed.
30106
30107Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
30108
30109 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 30110 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 30111 @srcdir@.
d63a86f8 30112 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
30113 autoconf 2.5 or higher.
30114 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
30115
30116Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
30117
30118 * configure: Regenerated.
30119 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
30120 avoid name clashes with SunOS headers.
30121
30122Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
30123
30124 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
30125
30126Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
30127
30128 * gdb.base/callfuncs.exp: Finish last change -- make sure the
30129 prototype information ends up in the compiler info file.
30130
30131Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
30132
30133 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
30134 attempting to regenerate it. Eliminate use of a temporary file
30135 and just generate the info file directly. Source it immediately,
30136 for consistency of use.
30137 * gdb.base/corefile.exp: Ditto
30138 * gdb.base/exprs.exp: Ditto.
30139 * gdb.base/funcargs.exp: Ditto.
30140 * gdb.base/langs.exp: Ditto.
30141 * gdb.base/list.exp: Ditto.
30142 * gdb.base/mips_pro.exp: Ditto.
30143 * gdb.base/nodebug.exp: Ditto.
30144 * gdb.base/opaque.exp: Ditto.
30145 * gdb.base/ptype.exp: Ditto.
30146 * gdb.base/scope.exp: Ditto.
30147 * gdb.base/setvar.exp: Ditto.
30148 * gdb.base/signals.exp: Ditto.
30149 * gdb.base/whatis.exp: Ditto.
30150 * gdb.c++/templates.exp: Ditto.
30151 * gdb.c++/virtfunc.exp: Ditto.
30152 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 30153 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
30154
30155Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30156
30157 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
30158 it got fixed by the recent lookup_minimal_symbol_by_pc change.
30159 Increase timeout, a lot of single stepping might be needed if the
30160 target has no hardware watchpoints.
30161
30162Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
30163
30164 * gdb.base/break.exp: Ignore compiler warnings when compiling
30165 break.c.
30166 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
30167 * gdb.base/default.exp: Add h8300 xfails. Handle messages
30168 from remote-sim.
30169 * gdb.base/exprs.exp: Add h8300 xfails.
30170 * gdb.base/funcargs.exp: Likewise.
30171 * gdb.base/nodebug.exp: Likewise.
30172 * gdb.base/printcmds.exp: Likewise.
30173 * gdb.base/ptype.exp: Likewise.
30174 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
30175 h8300 xfails.
d63a86f8 30176 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
30177 on the h8300.
30178 * gdb.base/funcargs.c: Explicitly make last constant argument to
30179 call_after_alloca_subr an unsigned long type.
30180 * gdb.base/return.c: Include stdio.h.
30181
30182Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
30183
30184 * config/abug.exp: New file for the older Motorola Bug monitor
30185 that runs on the mvme13x series VME boards.
30186 * config/monitor.exp: Use the new config array for target settings
30187 if they exist.
30188
30189Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
30190
30191 * sim-gdb.exp: Make the SH simulator allocate less space when
30192 it is targeted.
30193
30194Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
30195
30196 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
30197 test.
30198
30199Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
30200
30201 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
30202 "rs6000-*-*" for "list function in include file" when gcc compiled.
30203 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
30204 for "p ctable1[120]".
30205 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
30206 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
30207 Remove setup_xfail for "rs6000-*-*" for
30208 "print 'scope0.c'::filelocal before run".
30209 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
30210 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
30211 since some compilers don't allow both options to be given
30212 on the same command line. Create object file and move it.
d63a86f8 30213
c906108c
SS
30214Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
30215
30216 * gdb.base/corefile.exp: Always regenerate the core file, since
30217 we always regenerate the coremaker program. Detect special case
30218 where registers cannot be read from core file.
d63a86f8 30219
c906108c
SS
30220Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
30221
30222 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
30223 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
30224 * gdb.c++/templates.exp: Only match on basename of file since
30225 some formats like xcoff don't encode directory information.
30226 * gdb.stabs/weird.exp: Use the right sed script for powerpc
30227 and rs6000 AIX xcoff targets.
30228 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
30229 * configure: Regenerate.
30230 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
30231 here, rather than in distclean.
d63a86f8 30232
c906108c
SS
30233Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
30234
30235 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
30236 defined, and use it to compile the test case with -O2. The
30237 native compilation still uses no optimization.
30238 * gdb.base/mips_pro.c: Remove inline assembly code since
30239 it is compiled PIC by default, which results in assembler
30240 warnings that make the testsuite think the compilation
30241 was unsuccessful.
30242
30243Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
30244
30245 * gdb.c++/misc.exp: Add note to message for
30246 "print s.a for foo struct" that this is a known gcc 2.7.2
30247 and earlier bug.
30248
30249Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
30250
30251 * gdb.base/break.exp: Fix pattern for matching "Delete all
30252 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
30253 setup_xfail for deleting all breakpoints test. Fix various
30254 timeout messages to include "(timeout)".
30255 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
30256 for "p t_float_values2(3.14159,float_val2)".
30257 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
30258 for "continue to call2g" when gcc compiled.
30259 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
30260 "up to foo in langs.exp", "show language at foo in langs.exp",
30261 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
30262 and "show language at fsub in langs.exp".
30263 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
30264 "list line 1 in include file", "list message for lines past EOF",
30265 "list function in include file", "list list0.h:foo", and
30266 "list filename:function; nonexistant function".
30267 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
30268 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
30269 and "ptype t_char_array" to be for native cc only.
d63a86f8 30270
c906108c
SS
30271Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
30272
d63a86f8 30273 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 30274 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 30275 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
30276
30277Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
30278
30279 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
30280 "bt in signals.exp". This problem only appears when running
30281 the testsuite, and then only intermittently.
30282
30283Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
30284
30285 * gdb.base/return.exp (return_tests): Differentiate between
30286 two tests of continuing.
30287
30288Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
30289
30290 * */Makefile.in (maintainer-clean): Remove config.log.
30291 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
30292 * gdb.c++/Makefile.in (PROGS): Add inherit.
30293 (clean): Remove *.ci.
30294
30295Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
30296
30297 * gdb.c++/misc.cc: Add test code from Mike Stump.
30298 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
30299
30300Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
30301
30302 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
30303 to "alpha-*-osf2*" and add comment.
30304 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
30305 setup_xfail for "step over execarg initialization" and
30306 "step over corearg initialization".
c906108c
SS
30307 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
30308 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
30309 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 30310 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
30311 "print func2::coremaker_local", and "backtrace in corefile.exp".
30312 * gdb.base/signals.exp: Build and source signals.ci.
30313 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
30314 to be for gcc only.
30315 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 30316
c906108c
SS
30317Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30318
30319 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
30320 Feb 3 procfs.c change.
30321
30322Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
30323
30324 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
30325
30326Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
30327
30328 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
30329 from dejagnu's apparent default of 10 seconds, which gives random
30330 results when running the tests over NFS on moderately loaded systems.
30331 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
30332
30333Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
30334
30335 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
30336 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 30337 result reports.
c906108c
SS
30338
30339Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
30340
30341 * configure.in (CY_AC_PATH_TCLH): Remove.
30342 * configure: Regenerate.
30343
30344Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
30345
30346 * gdb.c++/Makefile.in (clean): Add missing '{'.
30347
30348Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
30349
30350 * lib/gdb.exp: Provide a default value for noinferior.
30351
30352 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
30353 Load libgloss.exp.
30354
30355Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
30356
30357 * gdb.disasm/hppa.exp: Compile directly into an executable, use
30358 the executable, not the .o to run the tests from.
30359
30360Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
30361
30362 * gdb.base/break.exp: Don't test for program exit or exit status
30363 if $noresults if nonzero.
30364 * gdb.base/langs.exp: Likewise.
30365 * gdb.base/watchpoint.exp: Likewise.
30366
30367 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
30368 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
30369 trying to compile the testcase.
30370
30371Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
30372
30373 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
30374 * gdb.base/signals.exp (continue to handler): Likewise.
30375
30376Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
30377
30378 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
30379
30380 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
30381
30382Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
30383
30384 * gdb.base/corefile.exp: Recognize "not found" as failure
30385 when trying to determine if a core file was generated.
30386 If no core file was generate the first time, try again without
30387 the ulimit -c to work around braindamaged shells.
30388
30389Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
30390
30391 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
30392 [] tests with "test" and enclose string in quotes.
30393 * gdb.stabs/configure: Rebuild
d63a86f8 30394
c906108c
SS
30395Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
30396
30397 Changes in sync with expect:
30398 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
30399 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
30400 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
30401 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
30402 argument to AC_REQUIRE.
30403 * configure: Regenerated.
30404
30405Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
30406
30407 * gdb.base/corefile.exp: When generating a core, discard any
30408 error messages about ulimit not found and the "core dumped"
30409 message from the shell that runs the coredumper.
30410
30411Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
30412
30413 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
30414
30415 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
30416 which sed script to run. Expect failure for v_comb test
30417 on PA targets too.
d63a86f8 30418
c906108c
SS
30419Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
30420
30421 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 30422 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
30423
30424Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
30425
30426 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
30427 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 30428 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
30429 * lib/gdb.exp (default_gdb_start): Fix typo.
30430 * gdb.base/corefile.exp: Allow "Core was generated by ..."
30431 messages to not include the full program name that caused
30432 the core dump since some systems (such as solaris) apparently
30433 truncate this path to about 80 characters.
30434 When generating a core file first try increasing the core file
30435 size limit to unlimited since some systems may default it to
30436 zero, and it is harmless to try it. Move the test for failing
30437 to generate a core file to where it will actually get executed.
30438 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
30439 new gdb result from g++ debug info improvements and make old
30440 pattern obsolescent. Also account for size_t differences
30441 (may be int or long).
30442 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
30443 initialization before function call is placed in the delay slot
30444 and thus appears to be skipped over by commands such as "next".
30445
30446Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
30447
30448 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
30449
30450Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
30451
30452 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
30453 input source file; fix code to compile test to deal with this
30454 convention.
30455 * gdb.c++/*.exp: Likewise.
30456
30457Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
30458
30459 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
30460 "bt in signals.exp".
30461
30462Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
30463
30464 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
30465 "step over execarg initialization" and
889bf7c5 30466 "step over corearg initialization".
c906108c
SS
30467
30468Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
30469
30470 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
30471 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
30472
30473Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
30474
30475 From Rob Savoye (rob@poseidon.cygnus.com)
30476 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
30477 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
30478 configure.in}, gdb.disasm/{Makefile.in, configure.in},
30479 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
30480 configure.in}: Major reworking for autoconfig.
c906108c
SS
30481 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
30482 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 30483 New files.
c906108c
SS
30484 * config/unix-gdb.exp: Make GDB global.
30485 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
30486 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
30487 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
30488 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
30489 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
30490 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 30491 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
30492 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
30493 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
30494 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
30495 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 30496 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
30497 to returns as necessary, arrange for test to compile own testcase
30498 executable.
c906108c 30499 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 30500
c906108c
SS
30501Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
30502
30503 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 30504 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
30505 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
30506 "backtrace through signal handler".
30507
30508Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30509
30510 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
30511 continuing from a job control stop signal.
30512 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
30513
30514Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
30515
30516 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
30517 * gdb.base/corefile.exp: Likewise.
30518 * gdb.base/funcargs.exp: Likewise.
30519
30520Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
30521
30522 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
30523 * config/monitor.exp: Add support for setting baud rate.
30524
30525Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
30526
30527 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
30528 i*86-*-linux* xfails for "backtrace through signal handler".
30529 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
30530 "print func2::coremaker_local".
30531 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 30532 alpha-dec-osf2* xfail for
c906108c
SS
30533 "delete all breakpoints when none".
30534
30535Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
30536
30537 * gdb.base/break.exp: Change test that deletes all breakpoints
30538 when no user breakpoints are installed. A post 4.15 change
30539 causes gdb to no longer prompt in this case.
30540
30541Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
30542
30543 * gdb.base/return.exp (return_tests): Change xfail for test
30544 "correct value returned double test" to stop xfailing at
30545 Solaris 2.5. Apparently the bug has been fixed.
30546
30547Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
30548
30549 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
30550 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
30551
30552Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
30553
30554 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
30555 * gdb.disasm/hppa.s: Corresponding changes.
30556
30557Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
30558
30559 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
30560 makefile fragment.
30561 * config/mt-hpux: Deleted.
30562
30563Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
30564
d63a86f8 30565 * Many files: When warning about suppressed tests due to a
c906108c
SS
30566 nonexistant test binary, avoid incrementing the warning count.
30567
30568Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
30569
30570 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 30571
c906108c
SS
30572Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30573
30574 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
30575 "sparc-*-solaris2*".
30576
30577Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30578
30579 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
30580 Add global and local variables and initialize them.
30581 * gdb.base/corefile.exp: Test correct mapping of corefile sections
30582 by printing variables. Remove rs6000 and powerpc xfails, BFD now
30583 extracts the file name and terminating signal from the core file.
30584 * TODO: Remove note about tests for correct mapping of corefile.
30585 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
30586 from optimizing it away.
30587 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
30588 handles common blocks.
30589
30590Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
30591
30592 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
30593 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
30594
30595Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
30596
30597 * Makefile.in (maintainer-clean): New target, synonym for
30598 realclean.
30599 * gdb.base/Makefile.in (maintainer-clean): Likewise.
30600 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
30601 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
30602 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
30603 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
30604 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
30605
30606Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
30607
30608 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
30609 xfails when not gcc compiled for "print foo::funclocal".
30610 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
30611 "print foo::funclocal at foo",
30612 "print 'scope1.c'::foo::funclocal at foo",
30613 "print foo::funclocal_bss at foo",
30614 "print 'scope1.c'::foo::funclocal_bss at foo",
30615 "print foo::funclocal_ro at foo",
30616 "print 'scope1.c'::foo::funclocal_ro at foo",
30617 "print bar::funclocal at foo" and
30618 "print 'scope1.c'::bar::funclocal at foo".
30619 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
30620 gcc compiled for "print foo::funclocal at bar".
30621 Expand all messages to ensure that they identify that
30622 the test is at bar().
30623 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
30624 gcc compiled for:
30625 "ptype on opaque struct pointer (statically)",
30626 "ptype on opaque struct tagname (statically)",
30627 "ptype on opaque struct pointer (dynamically) 1",
30628 "ptype on opaque struct tagname (dynamically) 1",
30629 "ptype on opaque struct pointer (dynamically) 2" and
30630 "ptype on opaque struct tagname (dynamically) 2
30631 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
30632 gcc compiled for:
30633 "p datalocal"
30634 "whatis datalocal",
30635 "ptype datalocal",
30636 "p bsslocal",
30637 "whatis bsslocal", and
30638 "ptype bsslocal".
30639 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
30640 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
30641 when not gcc compiled.
30642 * gdb.base/funcargs.exp (float_and_integral_args): Add
30643 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
30644 compiled.
30645 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
30646 "backtrace from call6a" when not gcc compiled.
30647 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
30648 "backtrace from call7a" when not gcc compiled.
30649 * gdb.base/callfuncs.exp (do_function_calls):
30650 Add "hppa*-*-hpux*" xfail when not gcc compiled for
30651 "p t_char_array_values(char_array_val2,char_array_val1)",
30652 "p t_char_array_values(char_array_val1,char_array_val2)",
30653 "p t_char_array_values("carray 1","carray 2")",
30654 "p t_char_array_values("carray 1",char_array_val2)",
30655 "p t_char_array_values(char_array_val1,"carray 2")",
30656 "p sum_args(1,{2})",
30657 "p sum_args(2,{2,3})",
30658 "p sum_args(3,{2,3,4})",
30659 "p sum_args(4,{2,3,4,5})"
30660 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
30661 "backtrace in corefile.exp" when not gcc compiled.
30662
30663Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30664
30665 * gdb.base/signals.exp: Rewrite `handle all print' test as
30666 a procedure. Accept blanks or TABs as whitespace, increase
30667 timeout and expect input buffer size for the large output
30668 from the command. Remove "i*86-*-bsdi2.0" xfail.
30669
30670Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30671
30672 * gdb.base/setvar.exp: Add new testcases for truncation when
30673 assigning invalid values to bitfields.
30674
30675Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
30676
d63a86f8 30677 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
30678 mips-sgi-irix* xfail for
30679 "call inferior func with struct - returns char *"
30680 and fix test so that an optional (unsigned char *) cast is
889bf7c5 30681 accepted in the result.
c906108c
SS
30682
30683Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
30684
30685 * gdb.base/funcargs.exp (float_and_integral_args): Remove
30686 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
30687 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
30688 * gdb.base/signals.exp: Remove duplicate "handle all print" test
30689 that accidentally got checked in.
30690
30691Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
30692
d63a86f8 30693 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
30694 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
30695 compiled test.
30696 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
30697 Add mips-sgi-irix5* xfail for not gcc compiled.
30698 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
30699 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
30700 compiled for "p top", "whatis top", "p middle", and "whatis
30701 middle".
c906108c
SS
30702 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
30703 "whatis signed char" for not gcc compiled.
30704 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
30705 "set variable signed char=-1 (-1)" and
30706 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
30707 * gdb.base/funcargs.exp (float_and_integral_args):
30708 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
30709 Add mips-sgi-irix* xfail when not gcc compiled for
30710 "continue to call2b".
30711 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
30712 "continue to call2g".
6fdff2c5
PA
30713 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
30714 compiled for "backtrace from call6a"
30715 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
30716 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
30717 when not gcc compiled for "backtrace from call7a".
c906108c
SS
30718 (localvars_after_alloca): Fix gdb_test cmds for
30719 "print * after runto ...".
30720 Remove rs6000-*-* xfails for
30721 "print i after runto localvars_after_alloca" and
30722 "print l after runto localvars_after_alloca"
30723 for all compilers.
30724 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 30725 when not compiled with gcc, for:
c906108c
SS
30726 "print signed char == (minus)",
30727 "print signed char != (minus)",
30728 "print signed char < (minus)",
30729 "print signed char > (minus)".
30730 * gdb.base/callfuncs.exp (do_function_calls):
30731 Add mips-sgi-irix* xfail, when compiled with native compiler, for
30732 "call inferior func with struct - returns char *".
d63a86f8 30733 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
30734 "correct value returned double test" to include Solaris 2.4.
30735 * gdb.base/funcargs.exp (float_and_integral_args):
30736 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 30737
c906108c
SS
30738Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30739
30740 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
30741 enumeration bitfields if compiling with GNU C.
30742 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
30743 to empty' prompt.
30744
30745Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
30746
30747 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
30748 test for PRO targets.
30749
30750 * gdb.base/funcargs.exp: Avoid ever setting more than 8
30751 breakpoints in the inferior at any given time by making
30752 two groups of breakpoints for call2*, call6* and call7*
30753 tests.
30754
30755Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30756
30757 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
30758 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
30759 from optimizing it away.
30760 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
30761 "call inferior func with struct".
30762
30763Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
30764
30765 * configure.in: Only configure gdb.chill for particular targets.
30766
30767Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
30768
30769 * gdb.base/Makefile.in: Add action to .c.o transformation
30770 rule that generates a .ci file for each .o file and remove
30771 explicit .c.o rules except for callfuncs.o.
30772 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
30773 generates a .ci file for each .o file and remove explicit
30774 .cc.o rules.
30775 (clean): Remove *.tmp *.ci files.
30776 (EXECUTABLES): Remove templ-info.exp.
30777 * gdb.base/compiler.c: New file.
30778 * gdb.c++/compiler.cc: New file
30779 * gdb.base/scope.exp: Source gdb.base/scope.ci.
30780 Change rs6000-*-* xfail for
30781 "print 'scope0.c'::filelocal_ro" and
30782 "print 'scope1.c'::filelocal" and
30783 "print 'scope1.c'::filelocal_bss" and
30784 "print 'scope1.c'::filelocal_ro" and
30785 "print 'scope1.c'::foo::funclocal" and
30786 "print 'scope1.c'::foo::funclocal_ro" and
30787 "print 'scope1.c'::bar::funclocal" and
30788 "print 'scope0.c'::filelocal_ro" and
30789 "print 'scope1.c'::filelocal at foo" and
30790 "print 'scope1.c'::filelocal_bss at foo" and
30791 "print 'scope1.c'::filelocal_ro at foo" and
30792 "print 'scope1.c'::foo::funclocal at foo" and
30793 "print 'scope1.c'::foo::funclocal_bss at foo" and
30794 "print 'scope1.c'::foo::funclocal_ro at foo" and
30795 "print 'scope1.c'::bar::funclocal at foo" and
30796 "print 'scope0.c'::filelocal_ro" and
30797 "print 'scope1.c'::filelocal" and
30798 "print 'scope1.c'::filelocal_bss" and
30799 "print 'scope1.c'::filelocal_ro" and
30800 "print 'scope1.c'::foo::funclocal" and
30801 "print 'scope1.c'::foo::funclocal_bss" and
30802 "print 'scope1.c'::foo::funclocal_ro" and
30803 "print 'scope1.c'::bar::funclocal" and
30804 "print 'scope1.c'::bar::funclocal_bss"
30805 to only be xfail'd when not compiled with gcc.
d63a86f8 30806 Add rs6000-*-* xfail for
c906108c
SS
30807 "print 'scope0.c'::filelocal_bss before run"
30808 when compiled with gcc.
30809 (test_at_main): Add rs6000-*-* xfail for
30810 "print filelocal_ro in test_at_main"
30811 when compiled with gcc.
30812 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 30813 Add rs6000-*-aix* xfail for
c906108c
SS
30814 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
30815 "ptype t_char_array", not compiled with gcc.
30816 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
30817 xfail for "list foo (in include file)" when gcc compiled.
30818 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 30819 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
30820 "run to call0a" if not compiled with gcc.
30821 (unsigned_integral_args): Add rs6000-*-* xfail for
30822 "run to call1a" if not compiled with gcc.
30823 (float_and_integral_args): Add rs6000-*-* xfail for
30824 "run to call2a" if not compiled with gcc and for
30825 "continue to call2b" for any compiler.
30826 Add rs6000-*-* xfail to
30827 "print f1 after run to call2a" for gcc compiled.
30828 (discard_and_shuffle): Add rs6000-*-* xfail for
30829 "run to call6a".
30830 (shuffle_round_robin): Add rs6000-*-* xfail for
30831 "backtrace from call7a" if not compiled with gcc.
30832 Add rs6000-*-* xfail for
30833 "backtrace from call7b" if compiled with gcc.
30834 (call_after_alloca): Add rs6000-*-* xfail for
30835 "print c in call_after_alloca" and
30836 "print s in call_after_alloca" and
30837 "backtrace from call_after_alloca_subr"
30838 if not compiled with gcc.
30839 (localvars_in_indirect_call): Add rs6000-*-* xfail for
30840 "print c in localvars_in_indirect_call" and
30841 "print c in localvars_in_indirect_call" and
30842 "backtrace in indirectly called function" and
30843 "stepping into indirectly called function"
30844 if not compiled with gcc.
30845 (localvars_after_alloca): Add rs6000-*-* xfail for
30846 "print c after runto localvars_after_alloca" and
30847 "print s after runto localvars_after_alloca" and
30848 "print i after runto localvars_after_alloca" and
30849 "print l after runto localvars_after_alloca"
30850 for all compilers.
30851 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
30852 than whatis-info.exp.
30853 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
30854 than opaque-info.exp.
30855 Setup rs6000-*-* xfail for
d63a86f8 30856 "ptype on opaque struct pointer (statically)" and
c906108c
SS
30857 "ptype on opaque struct pointer (dynamically)" when
30858 not compiled with gcc.
30859 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
30860 rather than callf-info.exp.
30861 (do_function_calls): Add clear_xfail for rs6000-*-* for
30862 "p t_float_values2(3.14159,float_val2)". Seems to work
30863 fine there, both with xlc and gcc. Need to find out what
30864 it is doing right and fix other platforms.
30865 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
30866 "call inferior func with struct - returns int",
30867 "call inferior func with struct - returns long",
30868 "call inferior func with struct - returns float",
30869 "call inferior func with struct - returns double",
30870 "call inferior func with struct - returns char *",
30871 but only if not gcc compiled (presumes xlc compiled).
30872 Change rs6000-*-* xfails for
30873 "call inferior func with struct - returns char" and
30874 " call inferior func with struct - returns short" to only
30875 xfail if not using gcc.
30876 (clean mostlyclean): Remove *.ci and *.tmp files.
30877 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
30878 than templ-info.exp.
30879 * gdb.base/langs.exp: Source gdb.base/langs.ci.
30880 Add rs6000-*-* xfail for "up to foo in langs.exp"
30881 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 30882 when not gcc compiled.
d63a86f8 30883
c906108c
SS
30884Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30885
30886 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
30887 * gdb.base/corefile.exp: Likewise.
30888 * gdb.base/list.exp: Likewise.
30889 * gdb.base/scope.exp: Likewise.
30890 * gdb.base/siganls.exp: Likewise.
30891
30892 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
30893 compiler output.
30894 * gdb.base/whatis.exp: Likewise.
30895
30896Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
30897
30898 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
30899 failure (opcode table has been fixed to match reality).
30900
30901Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
30902
30903 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
30904 "call inferior func with struct - returns char",
30905 "call inferior func with struct - returns short"
30906
30907 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
30908 "print 'scope0.c'::filelocal at main",
30909 "print 'scope0.c'::filelocal_bss in test_at_main",
30910 "print 'scope0.c'::filelocal at foo",
30911 "print 'scope0.c'::filelocal_bss in test_at_foo",
30912 "print 'scope0.c'::filelocal at bar",
30913 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 30914
c906108c
SS
30915 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
30916 in source file 1". This bug seems to have been fixed with both
30917 gcc and native cc (was native assembler bug?).
30918
30919Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
30920
30921 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
30922 "backtrace through signal handler" to "i*86-*-sysv4*".
30923 * gdb.base/signals.exp: Add xfail for "'next' behaved as
30924 continue" case. Add "known SVR4 bug" to fail message.
30925 Add "i*86-*-bsdi2.0" xfail for "handle all print".
30926 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
30927 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
30928 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
30929 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
30930 "up to foo in langs.exp", "show language at foo in
30931 langs.exp", "up to cppsub_ in langs.exp", "show
30932 language at cppsub_ in langs.exp", "up to fsub in
30933 langs.exp", and "show language at fsub in langs.exp".
30934 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
30935 "bactrace in corefile.exp".
30936 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
30937 "call inferior function with struct - returns float" and
30938 "call inferior function with struct - returns double".
d63a86f8 30939
c906108c
SS
30940Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
30941
30942 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
30943 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
30944 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
30945 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
30946
30947Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
30948
30949 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
30950 (or overriden) "CHILL" macro rather then bare "gcc".
30951 Also look for ../../gcc/xgcc since that is what we will
30952 actually need, not "Makefile". Remove following assignment
30953 of CHILL to CHILL_FOR_TARGET because that results in
30954 recursive definition.
30955
30956Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
30957
30958 * gdb.base/corefile.exp: Change xfail for backtrace in
30959 corefile.exp from linuxaout to all linux.
30960 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
30961 cases where we miss the breakpoint at the signal handler
30962 for some reason. Setup xfail for linuxoldld/linuxaout and
30963 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
30964 hitting SIGURG breakpoint.
30965 * gdb.base/signals.exp: Setup xfail for "next" acting like
30966 continue to add linuxoldld. Setup xfail for all linux for
30967 "next to handler in signals_tests_1", "backtrace in
30968 signals_tests_1", "continue to func1", "pass SIGUSR1",
30969 and continue to handler".
30970
30971Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
30972
30973 * Update all FSF addresses except those in COPYING* files.
30974
30975Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
30976
30977 * gdb.base/a2-run.exp: Change messages to be more explicit about
30978 the status of args, and quote binfile in results.
30979
30980Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
30981
30982 * gdb.base/callfuncs.exp: Add tests for passing structs to
30983 inferior functions and return various types.
30984 * gdb.base/callfuncs.c: Add functions to receive a struct
30985 and return a member of the struct, in various types.
30986
30987Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30988
30989 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
30990
30991Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
30992
30993 * config/vxworks29k.exp: New file, sources vxworks.exp.
30994
30995Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30996
30997 * config/gdbremote.exp: New file. Testing framework using
30998 gdbserver.
30999
31000Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
31001
31002 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
31003 "call function when asleep" and "send end of file".
31004 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
31005 for "backtrace in corefile.exp".
31006 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
31007 for "backtrace through signal handler".
31008 * gdb.base/corefile.exp: Make sure we actually generate a core file
31009 before trying the core tests. Some systems allow the user to suppress
31010 generation of core files and default to that (linux for example).
31011 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
31012 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
31013
31014Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31015
31016 * gdb.threads: New directory with some crude multi-threaded
31017 gdb tests (step.exp and step2.exp).
31018 * config/mt-lynx (STEP_EXECUTABLE): Define.
31019 (THREADFLAGS): Define.
31020
31021Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
31022
31023 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
31024
31025 * gdb.base/signals.exp: Disable whole file for lynx until
31026 further notice.
31027
31028 * gdb.base/signals.exp: xfail test where "next" acts like
31029 "continue" for lynx.
31030
31031 * gdb.base/interrupt.exp: xfail test for calling function while
31032 inferior is asleep for lynx.
31033
31034 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
31035 than one cr-lf after each command.
31036
31037Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31038
31039 * configure.in: Reinstate setting of stabsdirs variable, fix
31040 typo in setting up configdirs for native builds.
31041
31042 * gdb.base/return.exp: Fix typo in return double test.
31043 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
31044 compiler from optimizing them away.
31045
31046Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
31047
31048 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
31049 sequences to be echo'd by gdb when using gdb_test.
31050 * gdb.chill/chexp.exp: Likewise.
31051 * gdb.fortran/exprs.exp: Likewise
31052
31053Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31054
31055 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
31056 after the inferior gdb has started.
31057
31058 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
31059 after each command.
31060 * gdb.base/funcargs.exp: Likewise.
31061 * gdb.base/gdbvars.exp: Likewise.
31062 * gdb.base/interrupt.exp: Likewise.
31063 * gdb.base/list.exp: Likewise.
31064 * gdb.base/watchpoint.exp: Likewise.
31065 * gdb.c++/demangle.exp: Likewise.
31066 * gdb.c++/inherit.exp: Likewise.
31067 * gdb.chill/chexp.exp: Likewise.
31068 * gdb.fortran/exprs.exp: Likewise.
31069
31070 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
31071 test if we can't handle IO to/from the inferior.
31072
31073 * gdb.c++/misc.exp: Always check for a program already being
31074 started after sending a "run" command to gdb.
31075
31076 * gdb.base/twice.exp: Start with a fresh gdb.
31077
31078 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
31079 only depend on gdb's expression code, not the chill runtime.
31080
31081 * gdb.base/return.c: Put return values into variables so we
31082 can have gdb print them rather than depending on the program
31083 to print them.
31084 * gdb.base/return.exp: Corresponding changes.
31085
31086 * lib/gdb.exp: Provide default value for noinferiorio.
31087 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
31088 the inferior.
31089
31090 * gdb.base/break.exp: Always check for a program already being
31091 started after sending a "run" command to gdb.
31092 (text_next_with_recursion): Don't check the output from the
31093 program's printf statement. Instead just make sure the program
31094 exited.
31095
31096 * gdb.base/commands.exp: Protect tests which need arguments with
31097 $noargs conditionals.
31098
31099Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31100
31101 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
31102 of structure member arrays to match gdb/valops.c:value_addr change.
31103
31104Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
31105
31106 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
31107 cases.
31108
31109Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
31110
31111 * configure.in (configdirs): Remove gdb.chill from default list
31112 of subdirs and then add it back in only if doing a native build.
31113 The current chill compiler does not yet work in any cross build.
31114 * Revert all signal changes from Jul 6.
31115 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
31116 for sh-hms targets, allowing these tests to link, with no other
31117 changes. Testing is suppressed by setting "nosignals" in site.exp.
31118
31119Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
31120
31121 * configure.in (signaldirs): Define and add to configdirs for all
31122 targets except some specific ones that are known to not support signals.
31123 Also clean up formatting.
31124 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
31125 (signals, sigall): Remove rules to build.
31126 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
31127 Moved to new gdb.signals directory.
31128 * gdb.signals: New test directory.
31129 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
31130 signals.c signals.exp}: New or moved files.
31131
31132Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
31133
31134 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
31135
31136Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
31137
31138 * gdb.base/return.exp: Xfail `return double' test failure
31139 on at least Solaris 2.3 and handle future/past versions on
31140 a case by case basis as appropriate. Also update message
31141 to include i*86 failures.
31142
31143Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31144
31145 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
31146
31147 * lib/gdb.exp: Fix comment which erroneously identified
31148 gdb_file_cmd as gdb_load (the 19 May change was in fact to
31149 gdb_file_cmd not gdb_load).
31150 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
31151
31152 * gdb.base/setvar.exp: Make test names consistent between pass and
31153 fail cases. Use gdb_test more.
31154
31155Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31156
31157 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
31158
31159Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31160
31161 * gdb.base/help.exp: Fix expected help string for `show commands'.
31162
31163Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
31164
31165 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
31166
31167 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
31168 of a text section.
31169
31170Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
31171
31172 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
31173 that loop eventually terminates. Fix Connection refused logic so
31174 that testsuite will expire nicely.
31175
31176Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
31177
31178 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
31179 config/rom68k.exp: New tcl glue for the appropriate monitors.
31180 These all just end up calling monitor.exp.
31181 * config/monitor.exp (gdb_target_monitor): Handle `Connection
31182 refused' by retrying. Cleanup some timeout issues.
31183 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
31184 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
31185 callers don't have to set/restore global timeout variable.
31186
31187 * The following set of changes centralizes management of the global
31188 timeout variable. This way, it can be set in one target dependent
31189 place instead of dozens of places scattered throughout the test suite.
31190 If you need to lengthen a timeout, then you should either set timeout
31191 in one of the config/{target}.exp files, or multiply it by a factor.
31192 Setting it to an absolute value is always going to lose for some
31193 targets.
31194 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
31195 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
31196 * gdb.base/funcargs.exp: Don't set timeout.
31197 * gdb.base/list.exp (test_forward_search): Only use local timeout.
31198 * gdb.base/printcmds.exp (test_print_string_constants
31199 test_print_array_constants): Don't set timeout.
31200 * gdb.base/ptype.exp: Don't set timeout.
31201 * gdb.base/recurse.exp: Don't set timeout.
31202 * gdb.base/return.exp: Don't set timeout.
31203 * gdb.base/watchpoint.exp: Don't set timeout.
31204 * gdb.c++/classes.exp (do_tests): Don't set timeout.
31205 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
31206
31207Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
31208
31209 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
31210
31211Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31212
31213 * lib/gdb.exp: Disable chill tests for irix5.
31214
31215Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31216
31217 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
31218 each test pass or fail.
31219
31220Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31221
31222 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
31223 xlc not gcc.
31224
31225Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
31226
31227 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
31228
31229Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
31230
31231 * config/est.exp: Fix copyright and comments. Remove dead code.
31232 Use targetname, serialport and baud variables instead of fixed
31233 constants.
31234 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
31235 * config/cpu32bug.exp: New file to support cpu32bug monitors.
31236
31237Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31238
31239 * gdb.base/watchpoint.exp: Don't run
31240 test_watchpoint_triggered_in_syscall for sunos.
31241
31242Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31243
31244 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
31245 they don't seem to exist. Do include stdio.h.
31246
31247Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31248
31249 * gdb.base/a1-selftest.exp: Add alpha xfail.
31250
31251Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31252
31253 * gdb.base/watchpoint.c (main): Prompt before calling read().
31254 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31255 Revise accordingly. Remove cruft about sending "123" several
31256 times, until it gets noticed. Clean up the "print buf[0]" stuff
31257 so that it passes or fails, and waits for prompts in the usual way.
31258
31259Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31260
31261 * gdb.base/recurse.exp: Fix comment.
31262
31263 * TODO: Remove item about printing variables in nodebug.exp. Add
31264 item about enabling tests which are only run on some targets.
31265
31266 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
31267 fail, make test names unique, use new gdb_test convention
31268 regarding pattern, use gdb_test more, etc.).
31269
31270 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
31271 fail, make test names unique, etc.).
31272
31273Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31274
31275 * gdb.base/nodebug.c: Change return type of top and middle to
31276 short.
31277 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
31278 are fixed by the recent mdebugread.c changes. Allow `short ()'
31279 as type for top and middle.
31280
31281Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31282
31283 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
31284 nearly as I can tell, the whole thing was an accident in Stu's
31285 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
31286 to replace a send/expect pair with gdb_test, but ended up only
31287 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
31288 of 30 Mar 1995 took care of it, but left this vestigial comment
31289 which I am now nuking.
31290
31291Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31292
31293 * gdb.base/break.exp: Look for different line number for
31294 breakpoint at main depending on usestubs.
31295
31296Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31297
31298 * gdb.base/list.exp: Adjust some alternate expect patterns to
31299 match recent list0.c change. Add alternate expect pattern for
31300 output from `list default lines around main' for optimizing
31301 compilers.
31302
31303Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31304
31305 * lib/gdb.exp: If nosignals is not set, set it to 0.
31306
31307Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
31308
31309 * config/slite-gdb.exp: Responds to load symbol table prompt.
31310 * gdb.base/break.exp: Adjust line number, fix rerun.
31311 * gdb.base/langs0.c: Add #ifdef usestubs.
31312
31313Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
31314
31315 * gdb.base/list.exp: Adjust line contents after adding new lines in
31316 list0.c. Also fix a syntax error.
31317
31318 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
31319 * gdb.base/break.exp: ditto.
31320 * gdb.base/list.exp: ditto.
31321 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
31322 * gdb.base/run.c: ditto.
31323 * gdb.base/list0.c: ditto.
31324 * gdb.base/funcargs.c: ditto.
31325
31326Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
31327
31328 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
31329 $targetname, $serialport and $baud instead of hardwired variables.
31330 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
31331 target doesn't support signals.
31332
31333Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
31334
31335 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
31336
31337Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31338
31339 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
31340 Don't rely on the value of an auto variable before it has been
31341 initialized. Use gdb_test more.
31342
31343Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31344
31345 * lib/gdb.exp (default_gdb_version): A version number must start
31346 with a digit, but other than that contains all characters up to
31347 the first whitespace character.
31348
31349Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31350
31351 * gdb.base/commands.exp (breakpoint_command_test): New tests.
31352
31353Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31354
31355 * gdb.c++/*.exp: Warn if executable does not exist. The original
31356 reason for skipping the warning was that configure.in sometimes
31357 intentionally skipped building the executables but the tcl code
31358 had no way of knowing. That (a) was always bogus with respect to
31359 error handling, (b) is no longer true (right now there is no way
31360 to skip C++ tests).
31361
31362 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
31363
31364Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31365
31366 * gdb.base/list.exp: Add expect patterns for output from
31367 SunPRO compiled executables.
31368 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
31369 types.
31370
31371Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31372
31373 * gdb.base/break.exp (test_next_with_recursion): Accept any line
31374 number (we are already testing that the correct source line text
31375 gets printed).
31376
31377 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
31378 that is what is intended, but something needed to be done to get
31379 sunos4 native working again.
31380
31381 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
31382
31383 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
31384 apparently went with a (very) old xfail.
31385
31386Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
31387
31388 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
31389 runto_main is a proc in gdb.exp that will do 'step' for target use
31390 stubs.
31391 * gdb.base/exprs.exp: ditto.
31392 * gdb.base/interrupt.exp: ditto.
31393 * gdb.base/opaque.exp: ditto.
31394 * gdb.base/printcmds.exp: ditto.
31395 * gdb.base/ptype.exp: ditto.
31396 * gdb.base/scope.exp: ditto.
31397 * gdb.base/setvar.exp: ditto.
31398 * gdb.base/signals.exp: ditto.
31399 * gdb.base/twice.exp: ditto.
31400 * gdb.c++/classes.exp: ditto.
31401 * gdb.c++/inherit.exp: ditto.
31402 * gdb.c++/templates.exp: ditto.
31403 * gdb.base/break.exp: no run and hit main for stubs. Change line
31404 numbers for breakpoints and info breakpoint.
31405 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
31406 breakpoint().
31407 * gdb.base/callfuncs.c: ditto.
31408 * gdb.base/exprs: ditto.
31409 * gdb.base/interrupt.c: ditto.
31410 * gdb.base/opaque0.c: ditto.
31411 * gdb.base/printcmds.c: ditto.
31412 * gdb.base/ptype.c: ditto.
31413 * gdb.base/scope0.c: ditto.
31414 * gdb.base/setvar.c: ditto.
31415 * gdb.base/signals.c: ditto.
31416 * gdb.base/twice.c: ditto.
31417 * gdb.c++/misc.cc: ditto.
31418 * gdb.c++/templates.cc: ditto.
31419
31420Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31421
31422 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
31423
31424 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
31425 somewhere between `read' and `main.c'. I'm pretty sure the
31426 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
31427 and it isn't particularly useful.
31428
31429 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
31430
31431Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31432
31433 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
31434
31435Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
31436
31437 * config/mt-slite: add LIBS and -nostdlib.
31438 * config/slite-gdb.exp: add this new file to support sparclite target.
31439
31440Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
31441
31442 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
31443
31444 * gdb.base/a2-run.exp: Change argument to istarget from
31445 "*-*-vxworks" to "*-*-vxworks*".
31446 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
31447
31448Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
31449
31450 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
31451 will not runto main but do a 'step' to step out of breakpoint().
31452 * config/mt-slite: add -Dusestubs.
31453
31454Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31455
31456 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
31457 instead of just @.
31458
31459 * gdb.base/signals.exp: Add test for "handle all print".
31460 * TODO: Remove "handle all print". Also remove item about
31461 checking copyright date (I don't like the idea of a spurious FAIL
31462 based on when we run the tests).
31463
31464 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
31465 for SunOS4 (reason for failure not investigated). Remove
31466 redundant test for $binfile.
31467
31468 * gdb.base/nodebug.c (array_index): Call malloc.
31469
31470 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
31471
31472Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
31473
31474 * gdb.base/recurse.exp: Update gdb_test invocation to use new
31475 conventions and slightly simplify the matching regexp.
31476
31477Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31478
31479 * gdb.base/break.exp: Update gdb_test invocation to use new
31480 convention.
31481
31482 * lib/gdb.exp: If noargs is not set, set it to 0.
31483
31484 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
31485 tests unique.
31486
31487 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
31488
31489Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31490
31491 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
31492 one argument of type "<non-float parameter>".
31493
31494Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
31495
31496 * config/rom68k.exp: New file to support Motorola IDP board.
31497 * gdb.base/a2-run.exp: Skip this file if noargs is set.
31498 * gdb.base/break.c: Change things around so that this program
31499 doesn't depend upon args. This is necessary to make remote
31500 targets work (in general, they can't take args).
31501 * gdb.base/break.exp: Don't try to send args to program. Don't
31502 expect output. Also, replace lots of code with gdb_test.
31503
31504Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31505
31506 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
31507 printing of '\'' (which is what the comment says we are testing,
31508 even though we were not), not '''.
31509 (test_integer_literals_rejected): Test that printing ''' is an error.
31510
31511 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31512 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
31513 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
31514 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
31515 Use gdb_test not test_print_accept.
31516 * lib/gdb.exp: Remove test_print_accept.
31517
31518 * gdb.base/signals.exp (signal_tests_1): Make pass message
31519 consistent with fail message.
31520
31521 * gdb.base/whatis.exp: Remove xfails for printing char vs.
31522 unsigned char; the bug (PR 1821) is fixed.
31523
31524 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
31525
31526 * gdb.base/scope.exp (test_at_localscopes): Call pass for
31527 successful tests--makes xfailing them work right.
31528
31529Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31530
31531 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
31532 only \r\n, not .*. The test can pass .* as the last thing in
31533 $pattern if that is what it wants. In addition to providing this
31534 flexibility, this change should speed up pattern matching in cases
31535 where the pattern already ended with .* (there were a number of
31536 them). This change also helps catch bad patterns--in the old
31537 scheme the typo "char \*" instead of "char \\*" would pass. Now
31538 it is caught.
31539 * Many .exp files: Update callers.
31540
31541 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
31542 clearer and does not spuriously match multiple ('s. Likewise for
31543 ) and *.
31544
31545 * gdb.base/nodebug.exp: Test ability to call a function and pass
31546 it a string (even with no debugging info).
31547
31548 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
31549 "p '\'", which is the same as "p ''" once tcl gets done with
31550 quoting, to "p '\\'", which I suspect is what is intended (one
31551 backslash gets sent to GDB).
31552
31553 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
31554
31555Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31556
31557 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
31558 1817) was fixed literally years ago.
31559
31560Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31561
31562 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
31563 test, it causes stepping out of call_after_alloca_subr with
31564 optimizing compilers.
31565 (localvars_in_indirect_call): Consume GDB prompt if `finish'
31566 fails.
31567
31568 * gdb.c++/templates.exp: Source templ-info.exp only if
31569 the templates executable exists.
31570
31571 * gdb.c++/misc.cc (class Contains_static_instance,
31572 class Contains_nested_static_instance),
31573 gdb.c++/classes.exp (test_static_members): Test printing of
31574 a class that contains a static instance of the class.
31575
31576Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31577
31578 * gdb.base/langs2.c (cppsub_): Don't prototype.
31579 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
31580 only, I believe).
31581
31582Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31583
31584 * lib/gdb.exp (skip_chill_tests): New procedure.
31585
31586 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
31587
31588Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
31589
31590 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
31591 each expect pattern. Cuts runtime from 12 to about 4 seconds.
31592
31593Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31594
31595 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
31596
31597 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
31598 disassemble 8, not 16, instructions for part 4.
31599
31600 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
31601 support the latter anymore.
31602
31603 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
31604 -DNO_PROTOTYPES.
31605 * gdb.base/callfuncs.c: Control use of prototypes based on
31606 NO_PROTOTYPES, not __STDC__.
31607 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
31608 t_float_values2 tests if prototypes in use.
31609
31610 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
31611 t_double_values): When checking differences against DELTA, check
31612 that difference is within the range (-DELTA,DELTA), not just
31613 (-infinity,DELTA).
31614
31615Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
31616
31617 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
31618 'file' command firts, then 'target', then 'load', this is due to gdb
31619 target set up.
31620 * config/mips-gdb.exp: Fix a couple regular exp bugs.
31621
31622Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
31623
31624 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
31625 FP load/store variants.
31626 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
31627
31628Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31629
31630 * gdb.base/term.exp: Do not give a warning if not native, it is
31631 not an abnormal condition.
31632
31633Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
31634
31635 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
31636 t_char_array".
31637
31638Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31639
31640 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
31641 are getting the version number.
31642
31643 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
31644 if not native, it is not an abnormal condition.
31645
31646Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31647
31648 * lib/gdb.exp: Just use "file exists", rather than undocumented
31649 dejagnu procedure "findfile".
31650
31651Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
31652
31653 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
31654 (LDFLAGS): Set to -Xlinker -Ur.
31655
31656 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
31657 Removed, these values are set by lib/gdb.exp.
31658
31659 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
31660
31661Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
31662
31663 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
31664 of replicating gdb startup code.
31665
31666 * config/mt-vxworks (LDFLAGS): Set to -r.
31667 (CFLAGS_FOR_TARGET): Removed.
31668
31669 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
31670 (gdb) and gdb for vxworks uses (vxgdb).
31671
31672 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
31673 executable is not in the tree and host != target, use sed and
31674 program_transform_name to determine the gdb name used by the
31675 target.
31676
31677 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
31678 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
31679
31680Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31681
31682 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
31683 floats, chars, and shorts where there are ANSI-style function
31684 definitions.
31685
31686 * gdb.base/langs.exp, gdb.base/langs*: New test.
31687 * gdb.base/Makefile.in: Build it.
31688 * TODO: Remove item about checking that C names don't get C++
31689 demangling applied; this test tests it.
31690
31691Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31692
31693 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
31694 went with the const70 xfail. The xfail went away a year ago.
31695
31696 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
31697
31698 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
31699 for hp300.
31700
31701 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
31702
31703 * gdb.base/a1-selftest.exp: Don't run on hp300.
31704
31705Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31706
31707 * Makefile.in (site.exp): Set host_alias and target_alias as well
31708 as host_triplet and target_triplet.
31709
31710Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31711
31712 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
31713
31714 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
31715 places as other ecoff systems).
31716
31717 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
31718 ultrix.
31719
31720Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31721
31722 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
31723 remove them.
31724 * gdb.base/nodebug.exp: Accept "function" in addition to "text
31725 variable and "variable" in addition to "data variable".
31726 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
31727
31728 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
31729 2.
31730 * gdb.base/list1.c (long_line): Add additional statement at start
31731 of function.
31732 * gdb.base/list.exp (test_forward_search): Update line number to
31733 reflect new statement.
31734
31735Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31736
31737 * gdb.base/signals.exp: Reinitialize searched source directories
31738 after gdb_start call.
31739
31740Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
31741
31742 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
31743 * gdb.stabs/Makefile.in: Likewise.
31744
31745 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
31746 change. Instead split the tests into smaller pieces.
31747 * gdb.disasm/hppa.s: Corresponding changes.
31748
31749Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31750
31751 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
31752 Quote ^C when passing it to stty. For some shells ^ is a pipe.
31753
31754 * gdb.base/funcargs.exp: Modify many tests so that every test
31755 either passes or fails. Make some test names unique.
31756
31757Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31758
31759 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
31760 Call stty to set interrupt character.
31761
31762 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
31763 for HP assembler versus GNU assembler based on actual behavior of
31764 $(CC), rather than assuming that $(AS) is always the GNU assembler.
31765
31766 * TODO: Suggest a few more stepping tests.
31767
31768Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
31769
31770 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
31771 restart GDB for h8300 after a continue.
31772 (return): Add pattern to match a29k-udi behavior.
31773 * gdb.base/nodebug.exp: Remove obsolete comment.
31774 * gdb.base/regs.exp: New file, testing of register displays.
31775 * gdb.base/return.exp: Fix typo in reference to $objdir.
31776 * gdb.base/whatis.exp: Always start with a fresh GDB.
31777
31778Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31779
31780 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
31781 higher, these tests generate a lot of output.
31782
31783Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31784
31785 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
31786 code following the catch silently ignored some errors; without the
31787 catch they should be thrown like any other tcl error. Also, the
31788 catch used "" instead of {} which meant all the callers who wanted
31789 to include one of the characters "[]$ had to quote it an extra time.
31790 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
31791 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
31792 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
31793 Remove extra quoting.
31794
31795Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
31796
31797 * gdb.base/commands.exp: Make test names unique; every test either
31798 passes or fails. Update some comments.
31799
31800 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
31801
31802Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31803
31804 The following fixes a FAIL caused by the fact that the alpha stabs
31805 configuration didn't use the ".if alpha" code in weird.def.
31806 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
31807 bit pointer, so the 32 bit version works even on the alpha.
31808 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
31809 Remove the stuff which allowed us to have separate versions for
31810 alpha and everything else.
31811
31812 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
31813 regexp which "info func operator\[\](" is supposed to match. Fix
31814 string to send to GDB. Note that GDB still doesn't work right. Add a
31815 new test for "info func .perator\[\](" which GDB does handle correctly.
31816
31817 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
31818
31819Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31820
31821 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
31822 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
31823 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
31824 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
31825 it makes the tests harder to understand and confuses test-o-matic.
31826 The preferred style is that each test provides a PASS or a FAIL,
31827 and has a unique message (e.g. "continue #54" not just "continue")
31828 which is the same for the pass and the fail.
31829 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31830 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
31831 to lib/gdb.exp.
31832 * gdb.base/printcmds.exp: Use test_print_accept. Remove
31833 prt_accept which was basically the same thing. Likewise for
31834 test_print_reject and prt_reject.
31835 * lib/gdb.exp (test_print_reject): Add some more error message
31836 patterns to match from the former printcmds.exp (prt_reject).
31837 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
31838 One defect of the passcount stuff is that some of it failed to
31839 report XPASS where appropriate.
31840 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
31841 stuff before and after arg in expected pattern.
31842 (test_paddr_operator_functions): Re-do test without print_addr_of;
31843 this is the only test which seems to want extra stuff there.
31844
31845Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31846
31847 * gdb.base/nodebug.exp: Update new tests to reflect improved
31848 wording of gdb output.
31849
31850 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
31851 and "ptype" work on variables in files compiled without -g.
31852 Replaces commented out "maint print msymbol" tests.
31853
31854Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31855
31856 * gdb.base/setvar.c (dummy): Call malloc.
31857
31858 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
31859 losing with the irix4 sed.
31860
31861 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
31862 ALRM" on irix4.
31863
31864Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31865
31866 * TODO: Remove items about corefile.exp testing new exec-file and
31867 backtrace; both are now done. Add items about printing enums.
31868
31869Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31870
31871 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
31872 "get signal $thissig" test fails.
31873
31874 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
31875
31876Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31877
31878 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
31879 compiler warning with dec alpha compiler.
31880
31881 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
31882 extra \n from gdb_test call (this explains why the prompt test
31883 that I removed yesterday was there).
31884 (user_defined_command_test): Remove extra \n and prompt test.
31885
31886 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
31887 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
31888 doesn't exist.
31889 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
31890 Also remove alpha workaround, which turns out to be because
31891 SIGABRT == SIGLOST.
31892
31893 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
31894
31895 * gdb.base/help.exp: Don't test "help show".
31896
31897Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31898
31899 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
31900 "set print address" is on.
31901 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
31902 pass prompt to gdb_test; gdb_test already looks for the prompt.
31903
31904 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
31905
31906 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
31907 was a vestige of the manual TESTSTRATEGY, and the purpose of it
31908 was to make sure that gdb can read a core file. But (a) the "read
31909 the corefile" part didn't make it to a1-selftest.exp, we just
31910 delete the corefile after creating it, and (b) we test reading
31911 corefiles in corefile.exp anyway. Also, this test left around a
31912 xgdb process on Solaris.
31913
31914 * gdb.base/corefile.exp: Also test backtrace.
31915
31916Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
31917
31918 * gdb.base/commands.exp: Test a simple user defined command with
31919 arguments and if/while statements; verify the full user command is
31920 printed by "show user".
31921
31922 * gdb.base/commands.exp: Test if/while commands as part of a
31923 breakpoint command list; verify they appear in breakpoint
31924 information.
31925
31926Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31927
31928 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
31929 than by dividing by zero.
31930
31931Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
31932
31933 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
31934 performing an inferior call with watchpoints enabled.
31935 * gdb.base/watchpoint.c (main): Delete second unnecessary read
31936 call.
31937
31938Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31939
31940 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
31941 of "file" command.
31942
31943 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
31944 Add additional pattern for when "int operator int(void);" appears
31945 in a different order.
31946
31947Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31948
31949 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
31950
31951 * gdb.base/help.exp: Replace most of docstrings for "info signals"
31952 and "signal" with ".*".
31953
31954Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31955
31956 * TODO: Add note about "handle all nostop".
31957
31958 * gdb.base/{sigall.c, sigall.exp}: New test.
31959 * gdb.base/Makefile.in: Add it.
31960
31961Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
31962
31963 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
31964 when invoking GDB, suppresses any windowing interface.
31965
31966Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
31967
31968 * config/sim-gdb: New file, simulator testing support.
31969
31970Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
31971
31972 * gdb.base/interrupt.exp: Test calling func1 twice.
31973
31974Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
31975
31976 * gdb.base/list.exp (test_forward_search): Set timeout higher
31977 when we'll be getting lots of output from gdb.
31978
31979 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
31980 "init_malloc" to after the expect statement. Run it if that
31981 regexp is taken, but also for two others which happen if source
31982 cannot be found.
31983
31984Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31985
31986 * gdb.base/printcmds.exp: New test, for printing register before
31987 program is running.
31988
31989Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31990
31991 * gdb.base/list.exp: Correct some alternate expect patterns
31992 to reflect changes in list1.c.
31993
31994Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31995
31996 * TODO: Add item regarding large frames.
31997
31998 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
31999
32000 * TODO: Remove item about enabling return.exp; it
32001 is enabled. Suggest a few more "return" tests.
32002
32003Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32004
32005 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
32006 anonymous unions.
32007
32008Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32009
32010 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
32011 and pr-5646.o, so "make" is the same as "make all", not "make
32012 pr-4975.o".
32013
32014Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
32015
32016 * gdb.base/list.exp: Adjust expectations to reflect changes in
32017 list1.c.
32018 (test_forward_search): New test proc.
32019 * gdb.base/list1.c (long_line): New function, has long source line.
32020
32021Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
32022
32023 * gdb.base/a1-selftest.exp: Change initial stepping to know about
32024 additional line of code that was added.
32025
32026Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
32027
32028 * gdb.disasm/hppa.s: Break the large branching tests into smaller
32029 tests so as not to overflow expect's input buffers.
32030 * gdb.disasm/hppa.exp: Corresponding changes.
32031
32032Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32033
32034 Beginnings of template debugging tests.
32035 * gdb.c++/templ-info.cc: New file to test for template
32036 debugging capability of the compiler.
32037 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
32038 templ-info.cc.
32039 * gdb.c++/templates.cc: Add explicit template instantiations
32040 to enable compiling with -fno-implicit-templates. Add destructor
32041 and 'value' method to T5 class for template tests.
32042 * gdb.c++/templates.exp: Add testcases for printing of template
32043 types, setting breakpoints on template methods and calling a
d63a86f8 32044 template method.
c906108c
SS
32045
32046Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
32047
32048 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
32049 branch target since some assemblers (gas-2.5) may emit a
32050 relocation for the branch instead of resolving it in the
32051 assembler.
32052
32053Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32054
32055 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
32056 through signal handler.
32057
32058Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32059
32060 * configure.in (*-*-netware): Use config/mt-netware.
32061
32062 * config/mt-netware: New file.
32063 * config/mt-i386-netware: Removed, separate configs for different
32064 netware architectures are no longer needed now that we have
32065 --with-headers.
32066
32067Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32068
32069 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
32070 by the recent changes to use ANSI C arithmetic conversions.
32071
32072Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32073
32074 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
32075 bug involving using inferior_pid to figure out whether to select a
32076 frame.
32077
32078Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
32079
32080 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
32081 match the current disassembler output.
32082
32083Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
32084
32085 * gdb.fortran/exprs.exp: Expect VOID instead of void.
32086 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
32087 types, expect "int" as type of integer values (for now).
32088
32089Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
32090
32091 * gdb.base/commands.exp: New tests for if/while commands.
32092
32093Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
32094
32095 * lib/gdb.exp (runto): Replace sub-pattern for hex value
32096 by .*, since hex values have different syntax in Chill mode.
32097
32098Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32099
32100 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
32101 linefeed from expect pattern for repeated types with indices > 9.
32102
32103Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
32104
32105 First part of Fortran test suite.
32106 * gdb.fortran: New directory.
32107 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
32108
32109Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32110
32111 * gdb.base/default.exp: Update expect pattern for load command
32112 without arguments.
32113
32114Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
32115
32116 * configure.in: Change i386 to i[345]86.
32117 * gdb.base/configure.in: Likewise.
32118 * gdb.c++/configure.in: Likewise.
32119 * gdb.chill/configure.in: Likewise.
32120
32121Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
32122
32123 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
32124 patterns, since that is not a valid context for comments.
32125
32126Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
32127
32128 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
32129 repeated types and repeated types with indices > 9.
32130
32131Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
32132
32133 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
32134 2417; old bug has been fixed.
32135
32136Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
32137
32138 * gdb.base/interrupt.exp: When trying to wake up the inferior,
32139 send the newline ourselves instead of assuming gdb_test will do
32140 so when passed an empty input string.
32141
32142 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
32143 stabs testcode.
32144
32145Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32146
32147 * lib/gdb.exp (gdb_test): Don't send anything if the first
32148 argument is an empty string. This makes cases where we want to
32149 match output that is already in expect's buffers (for example,
32150 matching a breakpoint after gdb_run_cmd has been called) work
32151 reliably.
32152
32153Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32154
32155 * config/netware.exp: New file.
32156
32157Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32158
32159 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
32160 the -B and -L prefixes so we can find the debugging stub.
32161
32162 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
32163 there and we are using the gcc from the tree.
32164
32165 * gdb.base/types.c: Removed.
32166
32167 * gdb.base/configure.in: Look for makefile fragments in ../config.
32168 Recognize i386-*-netware.
32169 * gdb.c++/configure.in: Likewise.
32170
32171Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32172
32173 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
32174 the correct TCL syntax.
32175
32176Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32177
32178 * gdb.base/opaque.exp: use runto instead of messing around with
32179 breakpoints. Simplify by using gdb_test.
32180
32181 * gdb.base/bitfields.exp: restart between tests on netware targets
32182 because breakpoints aren't relocated after target death. Run
32183 processes to completion.
32184
32185 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
32186
32187Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
32188
32189 * Makefile.in: Remove extra tabs that confuse some versions
32190 of "make". Use the newly built gdb to test with by default,
32191 rather than the first one in the tester's search path.
32192
32193Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
32194
32195 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
32196
32197 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
32198 condition help.
32199
32200Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32201
32202 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
32203
32204 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
32205 running.
32206 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
32207 * gdb.base/funcargs.exp: Likewise.
32208
32209 * gdb.base/bitfields.exp: Simplify by using gdb_test.
32210 * gdb.base/funcargs.exp: Likewise.
32211
32212 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
32213 message is "".
32214
32215Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32216
32217 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
32218 return,signals,twice}.exp: Handle non-existant binaries
32219 consistantly.
32220
32221 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
32222 * gdb.base/Makefile.in: Don't try to generate a core dump, we
32223 might testing a cross development system.
32224
32225Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32226
32227 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
32228 runtest script is relative to ${srcdir}, not ${rootdir}.
32229
32230Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
32231
32232 * gdb.base/signals.exp: Allow for optionality of breakpoint
32233 address.
32234
32235Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32236
32237 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
32238
32239Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32240
32241 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
32242 for size_t definition.
32243 * gdb.c++/templates.cc: Likewise
32244
32245 * config/mt-i386-netware: New file.
32246
32247 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
32248 defined.
32249
32250 * gdb.base/Makefile.in: Added support for systems that name core
32251 files by appending "core" to the program name.
32252 * gdb.base/a1-selftest.exp: Likewise.
32253
32254Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32255
32256 * gdb.base/return.exp: Add comment and message for `return double'
32257 test failure on Sparc Solaris.
32258
32259Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
32260
32261 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
32262
32263Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32264
32265 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
32266 from optimizing them away.
32267 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
32268 patterns to include default constructors and assignment operators,
32269 to match gcc versions beyond 2.5.8. Accept any cplus demangling
32270 character in the output of the virtual base pointer.
32271
32272Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32273
32274 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
32275 expression match in print_addr_of to avoid unintented matches.
32276 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
32277 versions up to 2.5.8.
32278
32279Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32280
32281 * gdb.base/list.exp: Tweak alternate pattern for listing of an
32282 included file to run under newer versions of expect.
32283 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
32284 consecutive >'s in templates to accomodate recent cplus-dem.c change.
32285 Remove xfail for the virtual table of BDDHookV.
32286
32287Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
32288
32289 * lib/gdb.exp (string_to_regexp): Set a default result.
32290 (default_gdb_start): Fix misleading message.
32291
32292Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
32293
32294 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
32295 Remove all CC, etc definitions.
32296 * config/mt-hpux: New file.
32297 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
32298 (CFLAGS, LDFLAGS): Define.
32299 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
32300
32301 * Makefile.in (site.exp): Don't insert host_os, etc.
32302 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
32303 (distclean): Check existence of subdir.
32304 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
32305 * gdb.base/Makefile.in: General cleanup and simplification.
32306 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32307 to build executables. Use default rule to build .o files.
32308 (EXPECT, RUNTEST, CC): Fix relative pathname.
32309 (site.exp): Don't insert host_os, etc.
32310 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
32311 and/or SIGUSR1 defined.
32312 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
32313 * gdb.c++/Makefile.in: General cleanup and simplification.
32314 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32315 (CFLAGS): Remove.
32316 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
32317
32318Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
32319
32320 * gdb.base/recurse.exp: Misc changes to get tests running again
32321 after Kung's changes to the watchpoint code.
32322 * gdb.base/watchpoint.exp: Likewise.
32323
32324Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
32325
32326 * lib/gdb.exp (string_to_regexp): Convert {\} also.
32327
32328Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
32329
32330 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
32331 * lib/gdb.exp (default_gdb_start): Define.
32332 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
32333 gdb.base/funcargs.exp, gdb.base/opaque.exp,
32334 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
32335 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
32336 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
32337 Don't call gdb_target_udi in between tests.
32338
32339Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32340
32341 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
32342 (which was basically just a local version of the same thing). In
32343 addition to avoiding duplication, gdb_test_exact is faster.
32344 * lib/gdb.exp (gdb_test_exact): Fix typo.
32345
32346 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
32347 don't give an error.
32348
32349 * gdb.base/term.exp: Call delete_breakpoints before starting.
32350
32351 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
32352 (t10): Add comment.
32353
32354Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32355
32356 Reorganization of the GDB Test Suite.
32357
32358 * gdb.base: New directory, contains all the basic tests.
32359 * gdb.c++: New directory, tests specific to C++.
32360 * gdb.chill: New directory, tests specific to Chill.
32361 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
32362 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
32363 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
32364 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
32365 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
32366 t30-31 to chill).
32367 * */gdbme.*: Rename to match appropriate expect scripts.
32368 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
32369 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
32370 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
32371 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
32372 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
32373 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
32374 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
32375 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
32376 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
32377 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
32378 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
32379 gdb.c++/virtfunc.cc: New names of C++ files.
32380 * gdb.chill/chillvars.ch: New name of Chill file.
32381 * gdb.base/configure.in, gdb.c++/configure.in,
32382 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
32383 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
32384 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
32385 * configure.in (configdirs): Update to reflect directory changes.
32386 (target_abbrev): No longer define for any configuration.
32387 * Makefile.in: Cosmetic improvements to header comments.
32388
32389Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
32390
32391 Various changes to gdb.t31:
32392
32393 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
32394 * gdbme.ch: Make all key-words and predefineds be upper-case.
32395 * chillvars.exp: Expect key-words and predefinds in upper-case.
32396
32397 * chillvars.exp: Use gdb_test_exact many places.
32398 Change expected output for arrays (which now includes index labels).
32399
32400 * pr-5020.exp, gdme.ch (module PR_5020):
32401 New test, for PR-5020.
32402
32403Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
32404
32405 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
32406 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
32407
32408Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
32409
32410 * Makefile.in: Fix bit-rot in definitions of CHILL,
32411 CHILL_FOR_TARGET and Chill_LIB.
32412 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
32413 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
32414 CHILL, and CHILL_LIB.
32415
32416Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
32417
32418 * Revert the previous changes. Please see Rob's directory
32419 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
32420
32421Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
32422
32423 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
32424 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
32425 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
32426 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
32427 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
32428 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
32429 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
32430 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
32431 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
32432 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
32433 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
32434 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
32435 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
32436 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
32437 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
32438 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
32439 changes from 94Q1.
32440
32441Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
32442
32443 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
32444 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
32445 Rob's new testing fragments.
32446
32447Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
32448
32449 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 32450 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
32451
32452Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32453
32454 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
32455 version also, match on casted version strings, and match on
32456 gdb startup case where the line numbers might be messed up.
32457
32458Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
32459
32460 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 32461 (CFLAGS): Delete it from here.
c906108c
SS
32462
32463Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
32464
32465 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
32466
32467Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
32468
32469 * Makefile.in (RUNTEST): Default to just "runtest".
32470
32471Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32472
32473 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
32474 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
32475 the code has been restructured.
32476
32477Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32478
32479 * gdb.t00/default.exp (set write): Allow any number of \r and/or
32480 \n, not just one of each.
32481
32482 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
32483 /bin/cc gives a warning if you do.
32484
32485Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
32486
d63a86f8 32487 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
32488 __t10ListS_link1ZUiRCUiPT0
32489
32490Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32491
32492 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
32493 on local variables in recursive functions.
32494
32495 * gdb.t07/Makefile.in: Build the new test.
32496
32497Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32498
32499 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
32500 directly. Instead compare the return values from actual calls.
32501
32502Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
32503
32504 * Makefile.in (check): Set TCL_LIBRARY for runtest.
32505
32506Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32507
32508 * From Peter Schauer with minor modifications.
a9c64011
AS
32509 * gdb.t15/return.exp (return_tests): Handle targets where "return"
32510 stops in mid-line in the caller. Add xfail for returning a float
32511 value on X86 targets.
c906108c
SS
32512
32513Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32514
32515 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
32516 to avoid expect lossage.
32517 (fmem_LRbug_tests): Likewise.
32518 * gdb.disasm/hppa.s: Corresponding changes.
32519
32520 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
32521 conditions to work with latest dejagnu/expect.
32522
32523 * gdb.t15/funcargs.exp (finish from indirect call): No longer
32524 expected to fail on the PA.
32525 (backtrace in call with trampolines): Explicitly require main
32526 to be frame #1 (no trampolines should show up in backtrace).
32527
32528 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
32529 "continue -expect".
32530 * gdb.t06/break.exp: Likewise.
32531 * gdb.t07/watchpoint.exp: Likewise.
32532 * gdb.t13/bitfields.exp: Likewise.
32533 * gdb.t15/{funcargs,return}.exp: Likewise.
32534 * gdb.stabs/weird.exp: Likewise.
32535 * config/{mips,udi}-gdb.exp: Likewise.
32536
32537 * hppa.sed: Enclose comments within a sed command to avoid
32538 losing with the old OSF1 sed.
32539
32540Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32541
32542 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
32543 sequent dynix.
32544 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
32545 * gdb.t15/funcargs.exp: Conditionally step again to really
32546 finish from marker_call_with_trampolines. Handle the case where
32547 the first step from within call_with_trampolines already steps
32548 us back to main.
32549 * gdb.t15/gdbme.c: Add comment to closing brace of
32550 call_with_trampolines for funcargs.exp.
32551
32552Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32553
d63a86f8 32554 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
32555 Fix typo(s).
32556
32557Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32558
32559 * gdb.t07/gdbme.c: More code for watchpoint testing.
32560
32561 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
32562 "Hardware watchpoint" throughout file.
32563 (test_watchpoint_triggered_in_syscall): New test.
32564 (test_complex_watchpoint): New test.
32565
32566Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32567
32568 * gdbme.c (call_with_trampolines): New function to try and step
32569 into. Tests trampoline problems on the PA.
32570
32571 * funcargs.exp (localvars_in_indirect_call): No longer expect
32572 stepping into indirect call to fail on PAs.
32573 (test_stepping_over_trampolines): New test.
32574
32575Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32576
32577 * TODO: Add suggestions for static member function tests, and
32578 completion tests.
32579
32580Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32581
32582 * TODO: Add suggestions for "p/a" tests.
32583
32584 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
32585 (default_gdb_exit): Replace all the hair with sending "quit" to
32586 the process with a simple close.
32587
32588Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32589
32590 * TODO: Add suggestions for shared library tests.
32591
32592Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32593
32594 * TODO: Add suggestions for x/s tests.
32595
32596Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32597
32598 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
32599 "enable once", and "enable breakpoints once" with ".*".
32600
32601Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32602
32603 * TODO: Add suggestions about structure passing tests.
32604
32605Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32606
32607 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
32608 the primary1 test, use work around if __GNUC__ < 2.
32609 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
32610 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
32611 Test for bad output rather than waiting for timeout. Issue
32612 second continue only if first continue failed.
32613
32614Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32615
32616 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
32617 operator[] test with gdb_test because the old code didn't seem to
32618 be getting the quoting right with the new dejagnu.
32619
32620Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
32621
32622 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
32623 one from the path.
32624 * Makefile.in: Use a fresh expect if there is one, use runtest
32625 from the src tree if there is one.
d63a86f8 32626
c906108c
SS
32627Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32628
32629 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
32630 next over recursive call. Revise the tests from that point on
32631 (which had been skipped) to match GDB's actual (correct) output.
32632
32633 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
32634 with next over a breakpoint whose condition is false.
32635
32636 * gdb.t00/help.exp: Comment out "help set print" tests just like
32637 (and for same reason as) "help set" test.
32638
32639Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32640
32641 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
32642 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
32643
32644Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32645
32646 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
32647 necessary gdb_target_udi.
32648
32649 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
32650
32651 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
32652 1838 and 2417; they are fixed.
32653
32654 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
32655 gdb.t03/ptype.exp (ptype structure, ptype union):
32656 Remove xfails; the test is looser than when the xfails were added.
32657
32658 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
32659 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
32660
32661 * gdb.t01/run.exp: Only run shell test if isnative.
32662
32663 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
32664 since "run" automatically loads if necessary. Call gdb_target_udi
32665 after the "file" since "file" kills any execution target.
32666
32667 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
32668 GDB. GDB doesn't work that way (not anymore at least) on UDI.
32669 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
32670 argument for UDI.
32671
32672Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32673
32674 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
32675
32676 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
32677
32678Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32679
32680 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
32681 properly quoting regexps. This makes the second argument to
32682 demangle a fixed string, which matches the callers, instead of a
32683 shell-style pattern which is what the previous implementation
32684 used. Update some of the callers.
32685
32686Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32687
32688 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
32689 (comib_nullified_tests): Fix typo.
32690 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
32691 strings. No longer expected to fail.
32692
32693 * gdb.disasm/hppa.s (addib_tests): Fix typo.
32694 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
32695 strings. No longer expected to fail.
32696
32697 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
32698 string. No longer expected to fail.
32699
32700Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32701
32702 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
32703 No longer expected to fail.
32704
32705 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
32706 string. No longer expected to fail.
32707
32708Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32709
32710 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
32711 only in the names (I probably got most of them). I was even
32712 generous with some which differed in underscores in names, and
32713 probably missed a few, and I *still* was able to remove almost a
32714 third of the file with almost no impact on testsuite coverage.
32715
32716Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32717
32718 * gdb.t00/default.exp: Match udi_attach error message as well as
32719 the one from child_attach.
32720
32721 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
32722
32723 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
32724
32725 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
32726 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
32727
32728 * Move test with enums and partial symbols back to
32729 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
32730 Reverts the change of 26 May 93. Per today's change to
32731 stabs.texinfo, the behavior that weird.exp was expecting was
32732 unreasonable; what is important is that the compiler+gdb get
32733 things right, which happens with a recent gcc. Also fix the test
32734 to deal with native compilers which put out the stab gdb can't
32735 deal with.
32736
32737Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32738
32739 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
32740 in the names. The main thing these accomplish is to slow things down.
32741 Many more such duplicates surely remain.
32742
32743 * gdb.t00/help.exp: Comment out "help support" test just like
32744 (and for same reason as) "help set" test.
32745
32746Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
32747
32748 * gdb.t06/break.exp: Remove setup_xfails for
32749 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
32750 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
32751 about known bug in gcc to include up through 2.5.8.
32752 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
32753 well as "_vb$".
32754 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
32755 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
32756 with latest gcc and gdb.
32757 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
32758 well as "_vb$".
32759
32760Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32761
32762 * configure.in (hppa*-*-*): Also configure and build stabs-only
32763 tests.
32764
32765Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32766
32767 * gdb.t10/hppa.mt: A makefile fragment for the PA.
32768 * gdb.t10/configure.in (hppa*-*-*): Use it.
32769
32770Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32771
32772 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
32773
32774Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32775
32776 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
32777 versions prior to 1.13.5.
32778
32779Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32780
32781 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
32782 the prompt is at the start of a line.
32783
32784Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32785
32786 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
32787 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
32788 in the copr tests now.
32789 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
32790 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
32791 expected to fail.
32792
32793Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
32794
32795 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
32796 gdb.t31/chillvars.exp, lib/gdb.exp:
32797 Tweak to run under either version of expect.
32798 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
32799 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
32800 * gdb.t11/list.exp: Remove extraneous whitespace.
32801
32802Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32803
32804 * gdb.t16/printcmds.exp (test_print_strings): Accept
32805 "(unsigned char *) " before the string.
32806
32807 * TODO: Add notes about printing of fancy types and GDB expressions.
32808
32809Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
32810
32811 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
32812 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 32813 if doing mips-idt-ecoff.
c906108c
SS
32814
32815Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
32816
32817 * Most .exp files: Tweak to run under either version of expect.
32818
32819Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32820
32821 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
32822 xfails; I'm not sure why they are failing, but not because of PR 1806.
32823
32824Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
32825
32826 * config/unix-gdb.exp: Remove gdb_unload cause it's already
32827 defined in lib/gdb.exp.
32828
32829Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32830
32831 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
32832 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
32833 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
32834 have to be typeless.
32835
32836Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32837
32838 * TODO: Add suggestion for copyright year test.
32839
32840Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
32841
32842 * configure.in (*-*-lynxos*): Add stabs tests.
32843
32844Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32845
32846 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
32847 so insert a tab before any assembler directive in column zero.
32848
32849 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
32850 stores.
32851 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
32852 stores.
32853 (fpu_short_memory_tests): Likewise.
32854
32855Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32856
32857 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
32858 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
32859 .stabs directives in comments.
32860
32861Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32862
32863 * TODO: New file, describing tests we could write.
32864 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
32865
32866Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32867
32868 * gdb.t06/signals.exp: Add kludge to force re-sync.
32869
32870 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
32871 to xgdb instead of gdb, get out of gdb.
32872
32873Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
32874
32875 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
32876 for info.
32877
32878Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32879
32880 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
32881 * gdb.stabs/configure.in (hppa*-*-*): Use it.
32882 * gdb.stabs/hppa.sed: New sed script for the PA.
32883
32884Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32885
32886 * gdb.stabs: Re-write weird.def and configuration to use sed
32887 instead of cpp. sed is portable and POSIX; cpp is neither.
32888
32889Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32890
32891 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
32892
32893Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32894
32895 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
32896
32897Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32898
32899 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
32900 "_vb$".
32901 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
32902 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
32903
32904Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32905
32906 * lib/gdb.exp: Comment out code which depends on non-existent
32907 `transform' procedure.
32908
32909Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
32910
32911 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
32912 * lib/gdb.exp: Transform tool name.
32913 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
32914 1.1's new error handling system.
32915
32916Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32917
32918 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
32919
32920Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32921
32922 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
32923 They made pattern matching so slow that timeouts happened on
32924 heavily loaded systems. Now any output from "show print" which
32925 gets us back to the GDB prompt is a PASS.
32926
32927Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
32928
32929 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
32930
32931Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32932
32933 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
32934
32935 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
32936 It is not from PR 3220.
32937
32938Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32939
32940 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
32941 just started failing because they depended on the order the
32942 subcommands are presented, or exact docstring text. This kind of
32943 test is a pain and has minimal benefit.
32944
32945Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32946
32947 * gdb.t09/corefile.exp: At end of test, use "core" command with
32948 no arguments.
32949
32950Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
32951
32952 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
32953 17}/Makefile.in: Make it possible to run the testsuite with Sun
32954 make and CC = cross gcc by adding explicit build rules for .o
32955 files.
32956
32957Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32958
32959 * gdb.t15/funcargs.exp: Don't put comments on same line as
32960 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 32961
c906108c
SS
32962Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32963
32964 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
32965
32966Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
32967
32968 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
32969 * gdb.t20/inherit.exp: remove three dumplicate entries.
32970
32971Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32972
32973 * gdb.t06/break.exp: For "next over recursive call", fail on any
32974 incorrect output, not just on "factorial (value=2)".
32975
32976Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32977
32978 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
32979 working now. Add an xfail if accesing a bss variable causes
32980 a memory error if the target is not yet run.
32981
32982Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32983
32984 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
32985 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
32986 name of __st* demangling (2 strings). Did Kung really get the
32987 more than 95 others right without testing them?
32988
32989Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
32990
32991 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
32992
32993Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
32994
32995 * configure.in (configdirs): Add gdb.disasm
32996 * gdb.disasm: New directory for GDB disassembler tests.
32997 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
32998
32999Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33000
33001 * gdb.t00/help.exp: Don't test "help set".
33002
33003 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
33004 from within expect statements. None of these happen anymore and
33005 they cause regressions to be silently unnoticed.
33006
33007 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
33008 messages) about known failures with gcc cygnus-2.4.5-930417.
33009
33010 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
33011 comp-info.exp so it gets built if it doesn't exist.
33012
33013 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
33014 it is no longer used.
33015 * gdb.t13/comp-info.c: Removed.
33016
33017Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33018
33019 * gdb.t06/signals.exp: Add xfail for sun3.
33020
33021Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33022
33023 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
33024 relevant because ^C doesn't get sent but failure can be reproduced
33025 interactively).
33026
33027Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33028
33029 * gdb.stabs/alpha.mt: New configuration file for alpha.
33030 * gdb.stabs/configure.in: Use it.
33031 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
33032 sharing with alpha.mt, redefine long to word via preprocessor.
33033 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
33034 for alpha.
33035 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
33036 native cc.
33037 * gdb.t00/teststrategy.exp: Change expect string so that we
33038 consume the `(xgdb)' from the command echo and from the gdb prompt.
33039 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
33040 gdb currently compares all values as long, so this failure probably
33041 applies to any configuration where LONGEST is bigger than a target int.
33042 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
33043 with gcc.
33044 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
33045 to handle opaque pointers, gcc is.
33046 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
33047 as first argument. Include <sys/types.h> and change all operator
33048 new definitions to use size_t.
33049 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
33050 now that we use size_t.
33051
33052Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33053
a9c64011 33054 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 33055 a long or float array cast all array members to the same type.
a9c64011 33056 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 33057 with 64 bit longs.
a9c64011 33058 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 33059 on alpha.
a9c64011 33060 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
33061
33062Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33063
33064 * gdb.t24 (demangle.exp): Constructors of templates have names like
33065 vector<int>::vector(int) not vector<int>::vector<int>(int). See
33066 section 14.6 of the ARM.
33067
33068 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
33069 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
33070 accomplish little and slow down the testsuite.
33071
33072 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
33073 Accept spaces various places.
33074
33075Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33076
33077 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
33078 with watchpoint enabled.
33079
33080 * Makefile.in: Remove definition of CC and remove the second
33081 definition of CXX (the "CXX = gcc" one remains). These definitions
33082 were causing backquotes to be expanded within backquotes, which
33083 doesn't work.
33084
33085Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
33086
33087 * gdb.t17/callfuncs.exp: Add "return 0" to end.
33088
33089Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33090
a9c64011
AS
33091 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
33092 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
33093 by mips cc and contains no stabs entries.
33094
33095Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
33096
33097 * config/vx-gdb.exp: Use fake device to load files rather than
33098 NFS.
33099 * lib/gdb.exp: New proc to do "file" command.
33100 * config/unix-gdb.exp: Use new "file" proc.
33101
33102Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
33103
33104 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
33105 Rework board rebooting slightly.
33106 (gdb_exit): Don't exit from the remote shell; there isn't one.
33107 * gdb.stabs/weird.exp: If a program is being debugged already,
33108 kill it.
33109 * gdb.t04/setvar.exp: Stop and restart gdb.
33110 * gdb.t05/expr.exp: Likewise.
33111 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
33112 restart gdb and reload the program.
33113 * gdb.t08/opaque.exp: Likewise.
33114 * gdb.t12/scope.exp: Likewise.
33115 * gdb.t13/bitfields.exp: Likewise.
33116 * gdb.t15/funcargs.exp: Likewise.
33117 * gdb.t20/classes.exp: Likewise.
33118 * gdb.t03/ptype.exp: Increase timeout.
33119 * gdb.t16/printcmds.exp (test_print_string_constants,
33120 test_print_array_constants): Likewise.
33121 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
33122 * gdb.t20/classes.exp (do_tests): Likewise.
33123 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
33124
33125Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
33126
33127 * gdb.stabs: Renamed *wierd* to *weird*.
33128
33129Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
33130
33131 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
33132 for timeout. Add "known gcc 2.4.5 bug" to failure message.
33133
33134Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
33135
33136 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
33137 (do_tests): Remove xfail for whatis on one_var and two_var.
33138
33139Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
33140
33141 * Makefile.in: Made cross building work better by adding
33142 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
33143
33144Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33145
33146 * gdb.t15/{return.c,return.exp,Makefile.in}:
33147 New test, currently commented out.
33148
33149Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
33150
33151 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
33152 still running and removes the leftover named socket so GDb can do
33153 clean restarts.
33154
33155Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
33156
33157 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
33158 console, not GDB.
33159 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
33160 cross testing works better with "make check"
33161 * config/unix-gdb: Use default procedures for exit and version.
33162 * config/vx-gdb.exp: Cleaned up and massaged back to working order
33163 with the newest VxWorks.
33164
33165Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33166
33167 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
33168 old form.
33169
33170 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
33171 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
33172
33173 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
33174
33175 * config/unix-gdb.exp: Remove this version of gdb_exit
33176 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
33177 Rob says he'll look at it when he gets back to testing boards.
33178
33179Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
33180
33181 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
33182 an expected fail for certain ptype commands.
33183
33184 * gdb.t20/classes.exp: Update expected results of "ptype class
33185 Base1" to account for the constructor that now appears in the type.
33186
33187Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
33188
33189 * configure.in (configdirs): Restore gdb.t04, which mysteriously
33190 disappeared from list.
33191 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
33192 "alldone" proc with call to cleanup and exit.
33193 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
33194 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
33195 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
33196 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
33197 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
33198 "alldone" proc with simple returns that suppress remaining
33199 tests. The alldone proc went away many months ago.
33200
33201Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33202
33203 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
33204
33205 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
33206
33207Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33208
33209 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
33210 as vax gdb will display them.
33211
33212Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33213
33214 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
33215 optimizers.
33216
33217 * scope.exp: Change "bad value for localval" messages so each one
33218 is unique.
33219
33220 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
33221 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
33222
33223 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
33224
33225Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33226
33227 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
33228 doesn't exist (due to optimization).
33229
33230Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33231
33232 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
33233 contains \r because the filename is long.
33234
33235 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
33236 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
33237
33238Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33239
33240 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
33241 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
33242 Ultrix.
33243 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
33244 int tests.
33245 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
33246
33247Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
33248
33249 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
33250
33251 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 33252 to match does not match the passing case but still matches the
c906108c
SS
33253 failing case.
33254
33255Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33256
33257 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
33258
33259Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
33260
33261 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
33262 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
33263 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
33264 Remove various versions of gdb_exit.
33265 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
33266 gdb_exit.
33267 * config/unix-gdb.exp: gdb_exit remains here, and should override
33268 the generic version, since it's doing a lot of wierd stuff that
33269 the other versions aren't. FIXME, fold it in, or abandon this
33270 version.
33271
33272Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33273
33274 * gdb.t24/demangle.exp: Add tests for PR 3220.
33275
33276Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33277
33278 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
33279
33280Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
33281
33282 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
33283 "i386-*-*". Works for i486 as well.
33284
33285 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
33286 bug, and expand domain of xfail to all SVR4 systems, since the
33287 actual problem is likely to be in generic SVR4 /proc support.
33288
33289Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33290
33291 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
33292
33293Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
33294
33295 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
33296 xfails for other systems. Match a missing 'Continuing.' as an
33297 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
33298
33299 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
33300 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
33301 Only issue warning for missing executables if -all option is used.
33302
33303 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
33304 file if -all option is used. It's like an unpredictable XFAIL.
33305
33306Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33307
33308 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
33309 for dynamically linked binaries.
33310
33311 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
33312
33313Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33314
33315 * gdb.t20/inherit.exp: Change message for "print tagless struct"
33316 to state that this is a known bug in old versions of g++.
33317
33318Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33319
33320 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
33321 while waiting for `Continuing'.
33322
33323Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
33324
33325 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
33326 in text, data, and bss.
33327 * gdb.t10/nodebug.c: Add local and global test variables for
33328 initialized and uninitialized data.
33329
33330Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33331
33332 * config/unix-gdb.exp (gdb_exit): Add "wait".
33333
33334Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33335
33336 * gdb.t06/signals.exp: xfail the continue from the handler for all
33337 targets.
33338
33339 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
33340 function with watchpoints enabled, the i386 call dummy starts with
33341 a call.
33342
33343 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
33344 386 bsd names its corefiles.
33345
33346Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
33347
33348 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
33349 compilers don't grok it.
33350 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
33351 with small octal ints rather than character constants, which
33352 are signed and might not fit if first promoted to int.
33353
33354Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
33355
33356 * gdb.t09/Makefile.in (clean): Remove corefile.
33357
33358Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33359
33360 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
33361
33362Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33363 and Jim Kingdon (kingdon@cygnus.com)
33364
33365 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
33366 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
33367 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
33368
33369Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33370
33371 * gdb.t17/interrupt.exp: Add xfail for hppa.
33372
33373Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33374
33375 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
33376 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
33377 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
33378 to determine signed-ness of bitfields and use the result to setup
33379 the xfail.
33380 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
33381 * gdb.t15/funcargs.exp: Use them to step until the second indirect
33382 call line is reached if necessary.
33383
33384Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33385
33386 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
33387
33388Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33389
33390 * gdb.t06/break.exp: Also test `clear' command.
33391
33392Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33393
33394 * gdb.t00/teststrategy.exp: Remove extra quote.
33395
33396 * gdb.t07/watchpoint.exp: Change xfail for calling function with
33397 watchpoint enabled to be for all non-68k machines.
33398
33399 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
33400
33401Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33402
33403 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
33404 targets use aout.mt instead of ecoff.mt as gas understands
33405 standard aout format.
33406
33407Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33408
33409 * lib/gdb.exp (runto): Don't insist that function we are running to
33410 was compiled with -g.
33411
33412 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
33413
33414 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
33415 to get back into the read system call.
33416 Accept leading newline in case where we woke it up.
33417
33418Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33419
33420 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
33421 to make the stabs test work on ecoff systems using gcc and -with-stabs.
33422 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
33423 enable ecoff configuration.
33424
33425Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33426
33427 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
33428
33429Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33430
33431 * gdb.t16/printcmds.exp: Add another printf test.
33432
33433Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
33434
33435 * configure.in: If configured -with-stabs on any target, add
33436 stabsdirs to configdirs.
33437
33438Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33439
33440 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
33441 fun" so pattern does not match the command itself.
33442
33443Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33444
33445 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
33446
33447Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33448
33449 * gdb.t17/interrupt.exp: Test for more things.
33450
33451Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33452
33453 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
33454 compiler arranges the code and line numbers.
33455
33456 * gdb.t17/interrupt.exp: Don't send \n after ^C.
33457
33458Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33459
33460 * gdb.t00/help.exp: Increase expect input buffer size.
33461
33462Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33463
33464 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
33465
33466 * gdb.t07/watchpoint.exp: Add xfail for hppa.
33467
33468 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
33469
33470 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
33471 [0-9]*, not just [0-9].
33472
33473Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33474
33475 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
33476
33477 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
33478
33479Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33480
33481 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
33482
33483Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33484
33485 * gdb.t06/signals.c: Add xfails for sun3.
33486
33487 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
33488
33489 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
33490 test_stepping tests.
33491
33492Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33493
33494 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
33495
33496 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
33497
33498 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
33499 rather than actually putting it through cpp twice.
33500
33501 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
33502
33503Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
33504
33505 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
33506 no longer needed.
33507
33508Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33509
33510 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
33511
33512 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
33513 C++ features prints as "struct", make it a pass, not an xfail.
33514
33515Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33516
33517 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
33518 Don't require VA to print as "class" rather than "struct".
33519
33520Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
33521
33522 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
33523
33524Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33525
33526 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
33527
33528Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33529
33530 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
33531 order.
33532
33533Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33534
33535 * gdb.t16/printcmds.exp: Add printf tests.
33536
33537 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
33538
33539 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
33540
33541Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
33542
33543 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
33544 pass counts, to counteract any existing or future setup_xfails.
33545
33546Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33547
33548 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
33549 {BEGIN,END}_COMMON for common block instead of STAB.
33550 * gdb.stabs/wierd.exp: Add xfail for rs6000.
33551
33552 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
33553 intp_var should be N_GSYM not N_LSYM.
33554 wierd-aout.S: Use a label for the value of the N_SO.
33555 wierd.def: Remove all backslashes.
33556 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
33557
33558Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33559
33560 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
33561 get the expected next to inheritance3.
33562
33563Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33564
33565 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
33566 now that gcc-2.4 gets it right.
33567
33568Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33569
33570 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
33571
33572 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
33573 generating comp-info.exp which works for cross-compilation.
33574
33575Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
33576
33577 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
33578 "*-*-sysv4.*".
33579
33580Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
33581
33582 * gdb.t01/run.exp: Start with a fresh gdb.
33583 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
33584 SVR4.x.
33585
33586Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
33587
33588 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
33589 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
33590 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
33591 Makefile.in (distclean, realclean): Remove gdbme.c from list of
33592 things to remove.
33593
33594Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
33595
33596 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
33597 test cases from bug reports.
33598
33599Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
33600
33601 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
33602 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
33603 avoid spurious xfails.
33604 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
33605 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
33606 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
33607
33608Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
33609
33610 * gdb.t00/teststrategy.exp: Rework to provide more useful
33611 description of each test, fix problem with systems that define
33612 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
33613 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
33614 results for "next over recursive call" so timeouts aren't taken
33615 by error.
33616
33617Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
33618
33619 * gdb.t12/scope.exp: Test printing of variables before run.
33620
33621 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
33622 printed in wrong order due to sorting.
33623
33624Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
33625
33626 * gdb.t00/teststrategy.exp: Fix expected results for printing
33627 user entered string constant. Is array of char, prints with no
33628 address.
33629
33630 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
33631 commands.
33632 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
33633 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
33634 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
33635 of struct of char arrays.
33636 * gdb.t00/radix.exp: New tests for radix commands.
33637
33638Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
33639
33640 * gdb.t16/printcmd.exp: Print a variable before running program
33641 (with xfail for AIX).
33642
33643Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
33644
33645 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
33646
33647 * gdb.t16/printcmd.exp: Don't print variables before running program.
33648
33649 * gdb.t06/break.exp: Don't require envp argument to main.
33650
33651 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
33652
33653 * gdb.t02/whatis.exp, gdb.t11/list.exp:
33654 Add xfails for rs6000.
33655
33656 * gdb.t02/whatis.exp: Change other tests not to re-test something
33657 we already tested.
33658
33659 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
33660 each type used has a variable of that type.
33661
33662Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
33663
33664 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
33665
33666Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
33667
33668 * configure.in: change srctrigger to be a file, not a directory
33669
33670Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
33671
33672 * configure.in (mips-idt-ecoff*): Added trailing '*'.
33673
33674 * gdb.t11/list.exp: Fixed a couple of typos.
33675
33676Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
33677
33678 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
33679 is fixed and PR is closed.
33680 * gdb.t16 (gdbme.c): Add simple test string variable.
33681 * gdb.t16 (printcmds.exp): Add tests with simple test string
33682 variable, primarily for boundaries on "set print elements".
33683
33684Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
33685
33686 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
33687 Make leading 0's optional and don't expect a tab in the middle
33688 of the number.
33689
33690 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
33691
33692 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
33693 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
33694 don't end command passed to gdb_test with newline.
33695
33696 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
33697 signed keyword away, don't expect signed bitfields to be signed.
33698
33699 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
33700 printing with only as many 1's as are in the field as well as printing
33701 with 32 1's (see comment).
33702
33703Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
33704
33705 * gdb.t00/default.exp: Start with a fresh gdb.
33706 * configure.in (configdirs): Remove gdb.t31 until the chill
33707 compiler works again. It no longer is able to find chillrt0
33708 since it isn't in libchill.a anymore.
33709 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
33710 wierd.o, make more modular.
33711 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
33712 spurious newlines that caused problems.
33713
33714Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33715
33716 * Move test with enums and partial symbols from gdb.t03/ptype.exp
33717 to gdb.stabs/wierd.exp since GCC has worked around the bug.
33718 gdb.stabs/wierd.{exp,def}: Many new tests.
33719
33720 * gdb.t00/default.exp: update info line for new message.
33721
33722 * gdb.t02/{whatis.exp,gdbme.c}:
33723 Test that "char *" doesn't print as "caddr_t".
33724
33725Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33726
33727 * gdb.t00/help.exp: Use .* in place of some help messages which
33728 just changed.
33729 gdb.t00/default.exp: Update "info frame" test for new message.
33730 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
33731 Remove some xfails
33732
33733Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33734
33735 * gdb.t03/{gdbme.c,ptype.exp}:
33736 Add tests for typedef'd struct and union without tags.
33737 Also check "whatis" on a variable of a typedef'd enum without a tag.
33738
33739 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
33740 PRMS 1823; the bug still exists but isn't reproduced by this test
33741 anymore), and remove rs6000 XFAIL (the bug is fixed).
33742
33743 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
33744 duplicated from whatis.exp. For those that are left, accept
33745 "long", "long int", or "int" for long variables (whatis.exp already
33746 has an XFAIL for "int", so no need to fail it here).
33747
33748 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
33749 Deal with GCC's names for types now that GDB uses the compiler's names.
33750
33751 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
33752 setup_xfail's for sunos4. If we #defined the signed keyword away,
33753 don't expect GDB to know that char it is signed.
33754
33755 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
33756
33757Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
33758
33759 * configure.in (configdirs): Add gdb.t24 for C++ tests that
33760 should work on any system, regardless of debugging format.
33761 * gdb.t21/demangle.exp: Move to gdb.t24.
33762 * gdb.t24/demangle.exp: Move from gdb.t21.
33763 * gdb.t24/{Makefile.in, configure.in}: New files.
33764
33765Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33766
33767 * configure.in: Do gdb.stabs and C++ tests only for stabs.
33768 * gdb.stabs: New directory.
33769
33770Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33771
33772 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
33773 not just "Quit anyway?".
33774
33775Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
33776
33777 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
33778 that all setup_xfails are immediately followed by clear_xfails.
33779
33780Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
33781
33782 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
33783 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
33784 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
33785 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
33786 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
33787 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33788 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33789 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
33790 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
33791 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
33792 gdb.t31/chillvars.exp, lib/gdb.exp:
33793 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
33794 bug-gdb@prep.ai.mit.edu.
33795
33796Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
33797
33798 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
33799 with 0.0, not integer 0.
33800
33801Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
33802
33803 * gdb.t06/break.exp: Update for "Kill the program" message change.
33804
33805Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
33806
33807 * Makefile.in (GDBFLAGS): Set to -nx.
33808 * Makefile.in (site.exp): Use GDBFLAGS.
33809
33810Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33811
33812 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
33813 Makefiles.
33814 (check): depend on just-check.
33815 (just-check): added so that tests can be run without a noop
33816 build pass.
33817
33818Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33819
33820 Switch to using configure's configdirs.
33821 * Makefile.in (Makefile): add configure.in dependency.
33822 (SUBDIRS): removed redundant assignment.
33823 * configure.in: switch subdirs assignment to configdirs.
33824 * gdb.t*/configure.in: new files.
33825
33826Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
33827
33828 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
33829 works.
33830
33831Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
33832
33833 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
33834 in explicit rules. Apparently this is not supported by some makes.
33835
33836Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
33837
33838 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
33839
33840Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33841
33842 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
33843 disappeared.
33844
33845Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
33846
33847 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
33848
33849Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
33850
33851 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
33852 watchpoint problem that is now fixed.
33853 * gdb.t30/chexp.exp: Remove setup_xfail for printing
33854 uninitialized convenience variables.
33855 * gdb.t31/chillvars.exp: Fix expected patterns for printing
33856 structures.
33857
33858Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33859
33860 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
33861 which causes expect to get out of sync with gdb on long output
33862 from help set.
33863 * gdb.t09/corefile.exp: Make expected pattern for core file
33864 failing signal and frame output format less sun specific.
33865
33866Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
33867
33868 * gdb.t31/chillvars.exp: Add and remove initial dummy
33869 breakpoint, so that symbol table is forced in.
33870 (Needed at least on Sunos4, though it seems not SVR4.)
33871 * gdb.t31/chillvars.exp: Update for changed output format.
33872
33873Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
33874
a9c64011 33875 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
33876
33877Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
33878
33879 * Makefile.in: Added --srcdir when invoking runtest, removed the
33880 need for a local config file. (optional now)
33881
33882Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
33883
33884 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
33885 failure count used to force early termination. Add some more
33886 expected failures for gnu style demangling.
33887
33888Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33889
33890 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
33891 pmi variable from gdb.t20/gdbme to get optimized away.
33892 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
33893 Check for written corefile upon timeout _and_ eof.
33894
33895Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33896
33897 * config/unix-gdb.exp: Add missing return 0.
33898
33899Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33900
33901 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
33902 test termination.
33903
33904Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
33905
33906 * configure.in (subdirs): Put back gdb.t17 which mysteriously
33907 disappeared.
33908
33909Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
33910
33911 * gdb.t10/crossload.exp: Disable the i860-elf test until such
33912 time as i860 support works.
33913
d63a86f8 33914 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
33915 "backtrace 100\r" rather than just "backtrace\r", to match last
33916 change.
33917
33918Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
33919
33920 * config/udi-gdb.exp (gdb_exit): Remove close command.
33921 (gdb_target_udi): New procedure to set the UDI target.
33922 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
33923 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
33924 Added waits for prompts after several question responses. Added
33925 some more responses used by a29k-amd-udi-gdb.
33926 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
33927 pass different arguments, restart UDI connection after program
33928 completion.
33929 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
33930 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33931 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
33932 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
33933 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
33934 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
33935 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33936 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
33937 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
33938 after program completion.
33939 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
33940 compiled with a SELECT_VECS setting.
33941 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
33942 infinite recursion.
33943
33944 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
33945 Added checks for COFF results, and made them expected failures for
33946 all targets. It would be better to make them expected failures
33947 for COFF targets only.
33948
33949Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
33950
33951 * Makefile.in: add null dvi target, don't bother to recurse
33952 through test directories for info and install-info; rename
33953 $(datadir) to be dejagnu instead of deja-gnu
33954
33955Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
33956
33957 * gdb.t31/gdbme.ch: Re-enable code that previously caused
33958 compiler to coredump.
33959 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
33960 code.
33961
33962Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
33963
33964 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
33965 coredump.
33966 * gdb.t31/chillvars.exp: Comment out tests that depend on that
33967 code.
33968
33969Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
33970
33971 * gdb.t03/ptype.exp: tests for return code from gdb_test.
33972 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
33973 which in a shell. Deletes xgdb when done.
33974 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
33975 Tests the return from the "set height" or "set width" commands.
33976 Added a few return codes where needed.
33977
33978Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
33979
33980 * Makefile.in (SUBDIRS): Add gdb.t17.
33981 * configure.in (subdirs): Add gdb.t17.
33982 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
33983 files to test gdb's calling of functions in the inferior with
33984 the correct arguments and gdb's ability to retrieve any
33985 result returned.
33986
33987Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
33988
33989 * config/unix-gdb.exp (gdb_exit): Remove close commands that
33990 may be called after gdb goes away. Previous versions of expect
33991 needed these to avoid file descriptor leaks, but they cause
33992 errors with the current revision of expect.
33993 * gdb.t00/gdbvars.exp: Use -re on expected output after
33994 setting sevenbit-strings.
33995 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
33996 to set sevenbit-strings consistent across tests.
33997 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
33998 set sevenbit-strings consistent across tests.
33999
34000Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
34001
34002 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
34003 expected output to match current "expect" expectations.
34004
34005Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
34006
34007 * gdb.t00/default.exp: Change expected output for default "source"
34008 command, to match new gdb behavior which requires a filename to
34009 source.
34010
34011Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
34012
34013 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
34014 expected fail for i486-*-* that misses the marker2 function.
34015 * gdb.t10/crossload.exp (bfddefault): Allow successful
34016 recognition of a format to pass even if no symbols are found.
34017 Explicitly catch failures where the format is not recognized
34018 or is ambiguous, and add the reason to the fail message.
34019 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
34020 the cause is and invalid target and add reason to failure message.
34021 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
34022 elf32-i386, elf32-sparc, and elf32-i860.
34023 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
34024 Set up expected failure for 'filename'::variable scope resolution,
34025 which is now apparently broken on all targets.
34026 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
34027 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
34028 gdb.t23/templates.exp: Change failure for missing binfile into
34029 just a warning.
34030 gdb.t21/demangle.exp: Change all cfront references to 'arm'
34031 references.
34032
34033Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
34034
34035 * gdb.t00/default.exp: Add expected output for default "source"
34036 command, to match new gdb behavior.
34037 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
34038
34039Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
34040
34041 * config/*-gdb.exp: returns an error, rather than exiting on
34042 internal errors.
34043
34044Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
34045
34046 * gdb.t03/gdbme.c: Add pointer to struct variable.
34047 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
34048 referencing struct members.
34049
34050Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
34051
34052 * configure.in (mips-idt-ecoff): New target.
34053 * config/mips-gdb.exp: New file for remote board using MIPS remote
34054 debugging protocol.
34055
34056 * Redid configuration scheme. Removed gdb.t*/configure.in.
34057 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
34058 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
34059 distclean targets. Built executables via .o files. Adjusted
34060 tests to account for source files in $(srcdir) rather than
34061 $(objdir).
34062 * lib/gdb.exp (runto): Don't expect () after the function name,
34063 because it may have arguments.
34064
34065Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
34066
34067 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
34068 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
34069 expected failures for mips-idt-* and mips-sgi-*.
34070 * gdb.t00/default.exp (attach): Kill process if requested.
34071 * gdb.t00/help.exp (help target core, help target): Accept a gdb
34072 that does not read core files.
34073 * gdb.t01/run.exp: Removed checks for exit status code.
34074 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
34075 it is linked in.
34076 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
34077 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
34078 appropriate, rather than doing it by hand.
34079 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
34080 execution.
34081 * gdb.t10/crossload.exp: Kill existing program if needed.
34082 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
34083 appropriate, rather than doing it by hand. Always increase
34084 timeout for this test, not just for VxWorks.
34085
34086Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
34087
34088 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
34089 of Chill STRUCT types and STRUCT values.
34090 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
34091 than "char".
34092 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 34093 struct2): New struct definitions and initializations to test
c906108c
SS
34094 simple Chill STRUCT types.
34095
34096Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
34097
34098 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
34099 the null byte at the end of strings.
34100 * gdb.t00/default.exp: Make show version insensitive to copyright
34101 date.
34102 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
34103 to avoid dependencies on target char signedness.
34104 * gdb.t16/printcmds.exp: Update expected results for explicitly
34105 unsigned char.
34106 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
34107 now work.
34108 * gdb.t21/demangle.exp: Add many more patterns for template
34109 demangling, most of them being expected failures.
34110 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
34111 string we are matching for, to match on the whole string.
34112 * gdb.t21/demangle.exp: Add many new test strings to demangle,
34113 and fix a whole bunch that had incorrect expected output but were
34114 passing anyway because of the bug in "proc demangle".
34115 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
34116 type.
34117 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
34118
34119Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
34120
a9c64011
AS
34121 * gdb/testsuite: made modifications to testcases, etc., to allow
34122 them to work properly given the reorganization of deja-gnu and the
34123 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
34124
34125Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
34126
34127 * gdb/testsuite: Initial creation of gdb/testsuite.
34128 Migrated dejagnu testcases and support files for testing nm to
34129 gdb/testsuite from deja-gnu. These files were moved "as is"
34130 with no modifications. This migration is part of a major overhaul
34131 of dejagnu. The modifications to these testcases, etc., which
34132 will allow them to work with the new version of dejagnu will be
34133 made in a future update.
48efe704 34134
8d8cb839 34135 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 34136\f
8d8cb839
EZ
34137;; Local Variables:
34138;; mode: change-log
34139;; left-margin: 8
34140;; fill-column: 74
34141;; version-control: never
34142;; End:
902f2ccb 34143
ecd75fc8 34144 Copyright 1993-2014 Free Software Foundation, Inc.
902f2ccb
MC
34145 Copying and distribution of this file, with or without modification,
34146 are permitted provided the copyright notice and this notice are preserved.