]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Mention PR breakpoints/16292 in corresponding ChangeLog entry.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
dc53a7ad
JB
12014-02-26 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.dwarf2/arr-stride.c: New file.
4 * gdb.dwarf2/arr-stride.exp: New file.
5
12ab52e9
PA
62014-02-26 Pedro Alves <palves@redhat.com>
7
8 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
9 that won't ever trigger. Make sure that GDB reports the correct
10 breakpoint that caused the stop.
11
849c862e
JK
122014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13
14 PR gdb/16626
15 * gdb.base/auto-load-script: New file.
16 * gdb.base/auto-load.c: New file.
17 * gdb.base/auto-load.exp: New file.
18
71b7d793
JK
19 PR gdb/16626
20 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21
e2f0d509
JK
222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23
24 Fix dw2-icycle.exp -fsanitize=address GDB crash.
25 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
26
50cc37c8
DE
272014-02-24 Doug Evans <dje@google.com>
28
29 * lib/gdb.exp (run_on_host): Log error output if program fails.
30
ea4758f2
PA
312014-02-21 Pedro Alves <palves@redhat.com>
32
33 * gdb.threads/step-after-sr-lock.c: Rename to ...
34 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
35 * gdb.threads/step-after-sr-lock.exp: Rename to ...
36 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
37 ... this.
38
d7b30f67
SDJ
392014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
40
41 PR tdep/16397
42 * gdb.arch/amd64-stap-special-operands.exp: New file.
43 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
44 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
45 * gdb.arch/amd64-stap-triplet.S: Likewise.
46 * gdb.arch/amd64-stap-triplet.c: Likewise.
47
83deb43f
JB
482014-02-20 Joel Brobecker <brobecker@adacore.com>
49
50 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
51 in .section pseudo-op.
52
adde2bff
DE
532014-02-20 lin zuojian <manjian2006@gmail.com>
54 Joel Brobecker <brobecker@adacore.com>
55 Doug Evans <xdje42@gmail.com>
56
57 PR symtab/16581
58 * gdb.dwarf2/dw2-icycle.S: New file.
59 * gdb.dwarf2/dw2-icycle.c: New file.
60 * gdb.dwarf2/dw2-icycle.exp: New file.
61
f7bd0f78
SC
622014-02-19 Siva Chandra Reddy <sivachandra@google.com>
63
64 * gdb.python/py-value-cc.cc: Improve test case to enable testing
65 operations on gdb.Value objects.
66 * gdb.python/py-value-cc.exp: Add new test to test operations on
67 gdb.Value objects.
68
c17ef0d5
DE
692014-02-18 Doug Evans <dje@google.com>
70
71 * Makefile.in (TESTS): New variable.
72 (expanded_tests, expanded_tests_or_none): New variables
73 (check-single): Pass $(expanded_tests_or_none) to runtest.
74 (check-parallel): Only run tests in $(TESTS) if non-empty.
75 (check/no-matching-tests-found): New rule.
76 * README: Document TESTS makefile variable.
77
5dd3176f
DE
782014-02-18 Doug Evans <dje@google.com>
79
80 * Makefile.in (check-parallel): rm -rf outputs temp.
81
0b10be4f
JK
822014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
83
84 Fix "ERROR: no fileid for" in the testsuite.
85 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
86
85f224e7
DE
872014-02-12 Doug Evans <dje@google.com>
88
89 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
90 (MISCELLANEOUS): New variable.
91 (clean): rm -rf $(MISCELLANEOUS).
92 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
93 dwp live in the same directory as symlinks, with each symlink pointed
94 to a differently named file in a different directory.
95
149b30ff
DE
962014-02-11 Doug Evans <dje@google.com>
97
98 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
99 of Tcl file commands.
100
1dfdac32
MK
1012014-02-10 Mark Kettenis <kettenis@gnu.org>
102
103 * gdb.threads/step-after-sr-lock.exp: Avoid executing
104 "kill -SIGUSR1 -1".
105
aa4fb036
JB
1062014-02-10 Joel Brobecker <brobecker@adacore.com>
107
108 * gdb.ada/tick_length_array_enum_idx: New testcase.
109
ed3ef339
DE
1102014-02-10 Doug Evans <xdje42@gmail.com>
111
112 * configure.ac (AC_OUTPUT): Add gdb.guile.
113 * configure: Regenerate.
114 * lib/gdb-guile.exp: New file.
115 * lib/gdb.exp (get_target_charset): New function.
116 * gdb.base/help.exp: Update expected output from "apropos apropos".
117 * gdb.guile/Makefile.in: New file.
118 * gdb.guile/guile.exp: New file.
119 * gdb.guile/scm-arch.c: New file.
120 * gdb.guile/scm-arch.exp: New file.
121 * gdb.guile/scm-block.c: New file.
122 * gdb.guile/scm-block.exp: New file.
123 * gdb.guile/scm-breakpoint.c: New file.
124 * gdb.guile/scm-breakpoint.exp: New file.
125 * gdb.guile/scm-disasm.c: New file.
126 * gdb.guile/scm-disasm.exp: New file.
127 * gdb.guile/scm-equal.c: New file.
128 * gdb.guile/scm-equal.exp: New file.
129 * gdb.guile/scm-error.exp: New file.
130 * gdb.guile/scm-error.scm: New file.
131 * gdb.guile/scm-frame-args.c: New file.
132 * gdb.guile/scm-frame-args.exp: New file.
133 * gdb.guile/scm-frame-args.scm: New file.
134 * gdb.guile/scm-frame-inline.c: New file.
135 * gdb.guile/scm-frame-inline.exp: New file.
136 * gdb.guile/scm-frame.c: New file.
137 * gdb.guile/scm-frame.exp: New file.
138 * gdb.guile/scm-generics.exp: New file.
139 * gdb.guile/scm-gsmob.exp: New file.
140 * gdb.guile/scm-iterator.c: New file.
141 * gdb.guile/scm-iterator.exp: New file.
142 * gdb.guile/scm-math.c: New file.
143 * gdb.guile/scm-math.exp: New file.
144 * gdb.guile/scm-objfile-script-gdb.in: New file.
145 * gdb.guile/scm-objfile-script.c: New file.
146 * gdb.guile/scm-objfile-script.exp: New file.
147 * gdb.guile/scm-objfile.c: New file.
148 * gdb.guile/scm-objfile.exp: New file.
149 * gdb.guile/scm-ports.exp: New file.
150 * gdb.guile/scm-pretty-print.c: New file.
151 * gdb.guile/scm-pretty-print.exp: New file.
152 * gdb.guile/scm-pretty-print.scm: New file.
153 * gdb.guile/scm-section-script.c: New file.
154 * gdb.guile/scm-section-script.exp: New file.
155 * gdb.guile/scm-section-script.scm: New file.
156 * gdb.guile/scm-symbol.c: New file.
157 * gdb.guile/scm-symbol.exp: New file.
158 * gdb.guile/scm-symtab-2.c: New file.
159 * gdb.guile/scm-symtab.c: New file.
160 * gdb.guile/scm-symtab.exp: New file.
161 * gdb.guile/scm-type.c: New file.
162 * gdb.guile/scm-type.exp: New file.
163 * gdb.guile/scm-value-cc.cc: New file.
164 * gdb.guile/scm-value-cc.exp: New file.
165 * gdb.guile/scm-value.c: New file.
166 * gdb.guile/scm-value.exp: New file.
167 * gdb.guile/source2.scm: New file.
168 * gdb.guile/types-module.cc: New file.
169 * gdb.guile/types-module.exp: New file.
170
7026a7c1
YQ
1712014-02-10 Yao Qi <yao@codesourcery.com>
172
173 PR testsuite/16543
174 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
175 * configure: Regenerated.
176 * Makefile.in: New file.
177
6c466447
AS
1782014-02-08 Andreas Schwab <schwab@linux-m68k.org>
179
180 * gdb.python/py-framefilter.exp: Fix typo.
181
6e854735
YQ
1822014-02-08 Yao Qi <yao@codesourcery.com>
183
184 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
185 that no =breakpoint-modified is emitted when breakpoints are
186 modified through MI commands.
187
d137e6dc
PA
1882014-02-07 Pedro Alves <pedro@codesourcery.com>
189 Pedro Alves <palves@redhat.com>
190
191 * gdb.threads/step-after-sr-lock.c: New file.
192 * gdb.threads/step-after-sr-lock.exp: New file.
193
b5ee5a50
PA
1942014-02-07 Pedro Alves <palves@redhat.com>
195
196 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
197
3c77faf3
JK
1982014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
199
200 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
201 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
202
6dddc817
DE
2032014-02-06 Doug Evans <xdje42@gmail.com>
204
205 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
206 output.
207
208 * gdb.gdb/python-interrupts.exp: New file.
209
de7b2893
YQ
2102014-02-05 Yao Qi <yao@codesourcery.com>
211
212 * gdb.trace/report.exp (use_collected_data): Test the output
213 of "info threads" and "info inferiors".
214
66d032ac
YQ
2152014-02-05 Yao Qi <yao@codesourcery.com>
216
217 Revert this patch:
218
219 2013-05-24 Yao Qi <yao@codesourcery.com>
220
221 * gdb.trace/tfile.exp: Test inferior and thread.
222
591a12a1
UW
2232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
224
225 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
226 on a function.
227 * gdb.base/step-bt.c: Call hello via function pointer to make
228 sure its first instruction is executed on powerpc64le-linux.
229
0ff3e01f
UW
2302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
231
232 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
233
084ee545
UW
2342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
235
236 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
237 of the test patterns for use on little-endian systems.
238
6ed14ff3
UW
2392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
240
241 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
242 (decimal_vector): Fix for little-endian.
243
401e27fd
JM
2442014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
245
246 * gdb.arch/sparc-sysstep.exp: New file.
247 * gdb.arch/sparc-sysstep.c: Likewise.
248
249 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
250
8b924729
EBM
2512014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
252
253 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
254
fb151210
JB
2552014-01-23 Tom Tromey <tromey@redhat.com>
256
257 * gdb.ada/array_char_idx: New testcase.
258
0740f8d8
TT
2592014-01-23 Tom Tromey <tromey@redhat.com>
260
261 PR python/16487:
262 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
263 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
264 classes.
265
21909fa1
TT
2662014-01-23 Tom Tromey <tromey@redhat.com>
267
268 PR python/16491:
269 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
270 string from an inferior frame.
271 * gdb.python/py-framefilter-mi.exp: Update.
272
87ce2a04
DE
2732014-01-22 Doug Evans <dje@google.com>
274
275 * gdb.server/server-mon.exp: Add tests for "set debug-format".
276
237b092b
AA
2772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
278
279 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
280
d674a709
AA
2812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
282
283 * gdb.trace/entry-values.exp: Remove excess space character from
284 regex patterns. Handle s390 call instruction.
285
20fa3390
AA
2862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
287
288 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
289 define "*_start" label. Make "name" static.
290 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
291 ${name} by references to ${name}_start.
292
78466714
AA
2932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
294
295 * gdb.base/info-macros.exp: Remove "debug" from the compile
296 options.
297
ec9f644a
IB
2982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
299
300 * gdb.dlang/demangle.exp: New file.
301
94b1b47e
IB
3022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
303
304 * gdb.dlang/primitive-types.exp: New file.
305
7f420862
IB
3062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
307
308 * configure.ac: Create gdb.dlang/Makefile.
309 * configure: Regenerate.
310 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
311 * gdb.dlang/Makefile.in: New file.
312 * lib/d-support.exp: New file.
313 * lib/gdb.exp (skip_d_tests): New proc.
314
52834460
MM
3152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
316
317 * gdb.btrace/delta.exp: Check reverse stepi.
318 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
319 * gdb.btrace/finish.exp: New.
320 * gdb.btrace/next.exp: New.
321 * gdb.btrace/nexti.exp: New.
322 * gdb.btrace/record_goto.c: Add comments.
323 * gdb.btrace/step.exp: New.
324 * gdb.btrace/stepi.exp: New.
325 * gdb.btrace/multi-thread-step.c: New.
326 * gdb.btrace/multi-thread-step.exp: New.
327 * gdb.btrace/rn-dl-bind.c: New.
328 * gdb.btrace/rn-dl-bind.exp: New.
329 * gdb.btrace/data.c: New.
330 * gdb.btrace/data.exp: New.
331 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
332
6e07b1d2
MM
3332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
334
335 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
336 * gdb.btrace/exception.exp: Update.
337 * gdb.btrace/instruction_history.exp: Update.
338 * gdb.btrace/record_goto.exp: Update.
339 * gdb.btrace/tailcall.exp: Update.
340 * gdb.btrace/unknown_functions.exp: Update.
341 * gdb.btrace/delta.exp: New.
342
0b722aec
MM
3432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
344
345 * gdb.btrace/record_goto.exp: Add backtrace test.
346 * gdb.btrace/tailcall.exp: Add backtrace test.
347
066ce621
MM
3482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
349
350 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
351 * gdb.btrace/record_goto.c: New.
352 * gdb.btrace/record_goto.exp: New.
353 * gdb.btrace/x86-record_goto.S: New.
354
0688d04e
MM
3552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
356
357 * gdb.btrace/function_call_history.exp: Update tests.
358 * gdb.btrace/instruction_history.exp: Update tests.
359
8710b709
MM
3602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
361
362 * gdb.btrace/function_call_history.exp: Fix expected field
363 order for "record function-call-history".
364 Add new tests for "record function-call-history /c".
365 * gdb.btrace/exception.cc: New.
366 * gdb.btrace/exception.exp: New.
367 * gdb.btrace/tailcall.exp: New.
368 * gdb.btrace/x86-tailcall.S: New.
369 * gdb.btrace/x86-tailcall.c: New.
370 * gdb.btrace/unknown_functions.c: New.
371 * gdb.btrace/unknown_functions.exp: New.
372 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
373
5de9129b
MM
3742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
375
376 * gdb.btrace/instruction_history.exp: Update.
377 * gdb.btrace/function_call_history.exp: Update.
378
23a7fe75
MM
3792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
380
381 * gdb.btrace/function_call_history.exp: Fix expected function
382 trace.
383 * gdb.btrace/instruction_history.exp: Initialize traced.
384 Remove traced_functions.
385
724c7dd8
MM
3862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
387
388 * gdb.btrace/function_call_history.exp: Update
389 * gdb.btrace/instruction_history.exp: Update.
390
6d78d93b
MM
3912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
392
393 * gdb.btrace/enable.exp: Update expected text.
394
93a360cc
OJ
3952014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
396
397 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
398 bytes.
399
3772b53f
MR
4002014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
401
402 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
403
596662fa
OJ
4042014-01-15 Omair Javaid <omair.javaid@linaro.org>
405
406 * lib/gdb.exp (supports_process_record): Return true for
407 arm*-linux*. (supports_reverse): Likewise.
408
b5b08fb4
SC
4092014-01-13 Siva Chandra Reddy <sivachandra@google.com>
410
411 PR python/15464
412 PR python/16113
413 * gdb.python/py-type.c: Enhance test case.
414 * gdb.python/py-value-cc.cc: Likewise
415 * gdb.python/py-type.exp: Add new tests.
416 * gdb.python/py-value-cc.exp: Likewise
417
52d7fb13
AA
4182014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
419 Pedro Alves <palves@redhat.com>
420
421 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
422 Make "name" extern.
423 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
424 references to ${name}_start by references to ${name}.
425
a2cd8cfe
JB
4262014-01-10 Joel Brobecker <brobecker@adacore.com>
427
428 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
429
4e23fced
JB
4302014-01-10 Joel Brobecker <brobecker@adacore.com>
431
432 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
433
c6a9e42c
PA
4342014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
435 Pedro Alves <palves@redhat.com>
436
437 * gdb.mi/mi-info-os.exp: Connect to the target with
438 mi_gdb_target_load.
439
b7ea362b
PA
4402014-01-08 Pedro Alves <palves@redhat.com>
441
442 * gdb.threads/reconnect-signal.c: New file.
443 * gdb.threads/reconnect-signal.exp: New file.
444
5e3f4fab
EBM
4452014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
446
447 * gdb.base/source-dir.exp: New file.
448
79301218
JB
4492014-01-07 Joel Brobecker <brobecker@adacore.com>
450
451 * gdb.ada/mi_interface: New testcase.
452
8e355c5d
JB
4532014-01-07 Joel Brobecker <brobecker@adacore.com>
454
455 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
456 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
457 gdb.ada/pp-rec-component/pck.ads: New files.
458
c0d48811
JB
4592014-01-07 Joel Brobecker <brobecker@adacore.com>
460
461 * gdb.python/py-pp-integral.c: New file.
462 * gdb.python/py-pp-integral.py: New file.
463 * gdb.python/py-pp-integral.exp: New file.
464
4924df79
GKB
4652013-12-19 Sergio Durigan Junior <sergiodj@redhat.com>
466
467 PR breakpoints/16297
468 * gdb.base/catch-syscall.c (read_syscall, pipe_syscall)
469 (write_syscall): New variables.
470 (main): Create a pipe, write 1 byte in it, and read 1 byte from
471 it.
472 * gdb.base/catch-syscall.exp (all_syscalls): Include "pipe,
473 "write" and "read" syscalls.
474 (fill_all_syscalls_numbers): Improve the way to obtain syscalls
475 numbers.
476
530e8392
KB
4772013-12-19 Keven Boell <keven.boell@intel.com>
478
479 * gdb.fortran/module.exp: Completion matches fortran module
480 names as well. ptype/whatis on modules return a proper type.
481 Add new check for having the correct scope.
482
7f9b20bb
KB
4832013-12-19 Keven Boell <keven.boell@intel.com>
484
485 * gdb.fortran/type.f90: New file.
486 * gdb.fortran/whatis_type.f90: New file.
487
2e0d821f
SDJ
4882013-12-18 Sergio Durigan Junior <sergiodj@redhat.com>
489
490 * gdb.base/catch-syscall.c: Include <sys/syscall.h>.
491 (close_syscall, chroot_syscall, exit_group_syscall): New
492 variables.
493 * gdb.base/catch-syscall.exp: Replace gdb_compile by
494 prepare_for_testing. Call fill_all_syscalls_numbers before
495 starting. Replace gdb_exit, gdb_start, gdb_reinitialize_dir and
496 gdb_load by clean_restart.
497 (check_info_bp_any_syscall, check_info_bp_specific_syscall)
498 (check_info_bp_many_syscalls): Remove global gdb_prompt.
499 (check_call_to_syscall): Likewise. Add global decimal. Improve
500 testing regex.
501 (check_return_from_syscall): Likewise.
502 (check_continue, insert_catch_syscall_with_arg): Remove global
503 gdb_prompt.
504 (insert_catch_syscall_with_many_args): Likewise. Add global
505 decimal. Fix $filter_str. Improve testing regex.
506 (check_for_program_end): Remove global gdb_prompt.
507 (test_catch_syscall_without_args): Likewise. Add global decimal.
508 Improve testing regex.
509 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
510 (test_catch_syscall_with_wrong_args)
511 (test_catch_syscall_restarting_inferior)
512 (test_catch_syscall_fail_nodatadir): Remove global gdb_prompt.
513 (do_syscall_tests): Likewise. Remove global srcdir.
514 (test_catch_syscall_without_args_noxml): Remove global gdb_prompt.
515 Add global last_syscall_number. Test for the exact syscall number
516 to be caught.
517 (test_catch_syscall_with_args_noxml): Remove global gdb_prompt.
518 Add global all_syscalls_numbers. Test each syscall number to be
519 caught, instead of only testing "close".
520 (test_catch_syscall_with_wrong_args_noxml): Remove global gdb_prompt.
521 (do_syscall_tests_without_xml): Likewise. Remove global srcdir.
522 Remove stale comment.
523 (fill_all_syscalls_numbers): Add global last_syscall_number. Fill
524 the correct syscall numbers using information from the inferior.
525
5ce0145d
PA
5262013-12-17 Pedro Alves <palves@redhat.com>
527
528 * gdb.trace/circ.exp: Expect frame info to be printed when
529 switching between frames with unavailable stack, but different
530 functions.
531
bdf22206
AB
5322013-12-17 Andrew Burgess <aburgess@broadcom.com>
533
534 * gdb.trace/unavailable-dwarf-piece.c: New file.
535 * gdb.trace/unavailable-dwarf-piece.exp: New file.
536
07d100d4
YQ
5372013-12-15 Yao Qi <yao@codesourcery.com>
538
539 * gdb.perf/skip-prologue.c: New.
540 * gdb.perf/skip-prologue.exp: New.
541 * gdb.perf/skip-prologue.py: New.
542
8a48ac95
JB
5432013-12-13 Joel Brobecker <brobecker@adacore.com>
544
545 * gdb.ada/arraydim: New testcase.
546
a16b0e22
SC
5472013-12-12 Siva Chandra Reddy <sivachandra@google.com>
548
549 PR python/16113
550 * gdb.python/py-value-cc.cc: Improve test case.
551 * gdb.python/py-value-cc.exp: Add new tests to test usage of
552 gdb.Field objects as subscripts on gdb.Value objects.
553
0987cf35
DE
5542013-12-10 Doug Evans <dje@google.com>
555
7b3fd68b 556 PR 16286
0987cf35
DE
557 * gdb.python/py-value.c: #include stdlib.h, string.h.
558 (str): New struct.
559 (main): New local xstr.
560 * gdb.python/py-value.exp (test_value_in_inferior): Add test to
561 fetch a value as a string with a length beyond the declared length
562 of the array.
563
409d8f48
AB
5642013-12-10 Andrew Burgess <aburgess@broadcom.com>
565
566 * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info,
567 update comment.
568
036e93df
JB
5692013-12-10 Joel Brobecker <brobecker@adacore.com>
570
571 * gdb.ada/int_deref.exp: Add test verifying that we print
572 the decoded symbol name when printing the address of Ada
573 symbols.
574
72bfa06c
JB
5752013-12-10 Joel Brobecker <brobecker@adacore.com>
576
577 * gdb.mi/mi-start.exp: Add test verifying that -list-features
578 contains "exec-run-start-option".
579
11ec5965
YQ
5802013-12-08 Yao Qi <yao@codesourcery.com>
581
582 * lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
583 (is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
584 (is_64_target, is_amd64_regs_target): Likewise.
585 (skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
586
594d8fa8
MF
5872013-12-07 Mike Frysinger <vapier@gentoo.org>
588
589 * gdb.ada/uninitialized_vars/parse_controlled.ads: Remove +x file mode.
590 * gdb.base/testenv.c: Likewise.
591
d9a196da
MF
5922013-12-07 Mike Frysinger <vapier@gentoo.org>
593
594 * gdb.hp/gdb.base-hp/so-thresh.sh: Change /bin/ksh to /bin/sh.
595 * gdb.hp/gdb.objdbg/tools/symaddr: Likewise.
596 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: Likewise.
597
782d47df
PA
5982013-12-06 Pedro Alves <palves@redhat.com>
599
600 * gdb.dwarf2/dw2-undefined-ret-addr.S: New file.
601 * gdb.dwarf2/dw2-undefined-ret-addr.c: New file.
602 * gdb.dwarf2/dw2-undefined-ret-addr.exp: New file.
603
399d6e30
DE
6042013-12-06 Doug Evans <dje@google.com>
605
606 * gdb.base/break.exp: Fix setting of $baz.
607
16b5a7cb
AB
6082013-12-06 Andrew Burgess <aburgess@broadcom.com>
609
610 * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
611 DW_OP_plus_uconst.
612
f84bc218
KB
6132013-12-06 Keven Boell <keven.boell@intel.com>
614
615 * lib/mi-support.exp (mi_list_varobj_children_range): Add
616 call to mi_list_array_varobj_children_with_index.
617 (mi_list_array_varobj_children_with_index): New function.
618 Add parameter to specify array start.
619
489e41dd 6202013-12-03 Jose E. Marchesi <jose.marchesi@oracle.com>
f1300300
JM
621
622 * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a
623 SIGPWR in sparc64.
624
625 * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR
626 have the same signal number. Handle this situation.
627
7fb1b8b1
JB
6282013-12-03 Joel Brobecker <brobecker@adacore.com>
629
630 * gdb.ada/dot_all: New testcase.
631
2ea126fa
JB
6322013-12-03 Joel Brobecker <brobecker@adacore.com>
633
634 * gdb.mi/mi-undefined-cmd.exp: New testcase.
635
6b7cbff1
JB
6362013-12-03 Joel Brobecker <brobecker@adacore.com>
637
638 * gdb.mi/mi-i-cmd.exp: New file.
639
04affae3
JK
6402013-12-02 Doug Evans <dje@google.com>
641
642 * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
643 at start.
644 * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
645 has been specified with a relative path and we have chdir'd before
646 accessing the debug info.
647
eebc056c
AB
6482013-11-28 Andrew Burgess <aburgess@broadcom.com>
649
650 * gdb.trace/unavailable.exp (gdb_collect_args_test): Update
651 expected results.
652 (gdb_collect_locals_test): Likewise.
653 (gdb_collect_globals_test): Likewise.
654
8b5e6dc2
YQ
6552013-11-28 Yao Qi <yao@codesourcery.com>
656
657 * lib/gdb.exp (with_gdb_prompt): New proc.
658 * gdb.perf/disassemble.exp: New.
659 * gdb.perf/disassemble.py: New.
660
0db4ca18
LM
6612013-11-26 Luis Machado <lgustavo@codesourcery.com>
662
663 * gdb.base/callfuncs.c (main): Assign malloc's return value
664 and free it afterwards.
665 * gdb.base/charset-malloc.c (malloc_stub): Likewise.
666 * gdb.base/printcmds.c (main): Likewise.
667 * gdb.base/randomize.c (main): Free "p" and change breakpoint
668 marker position.
669 * gdb.base/setvar.c (dummy): Assign malloc's return value
670 and free it afterwards.
671
d24a9f15
AB
6722013-11-26 Andrew Burgess <aburgess@broadcom.com>
673
674 * gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
675 gdb_test_multiple.
676
15859968
TT
6772013-11-26 Tom Tromey <tromey@redhat.com>
678
679 * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove.
680 * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove.
681 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
682
f7e3ecae
KS
6832013-11-25 Keith Seitz <keiths@redhat.com>
684
685 PR c++/14819
686 * gdb.cp/impl-this.cc: New file.
687 * gdb.cp/impl-this.exp: New file.
688
23e9d3b9
YQ
6892013-11-25 Yao Qi <yao@codesourcery.com>
690
691 * gdb.perf/backtrace.c: New.
692 * gdb.perf/backtrace.exp: New.
693 * gdb.perf/backtrace.py: New.
694
22825df7
YQ
6952013-11-24 Yao Qi <yao@codesourcery.com>
696
697 * gdb.perf/single-step.c: New.
698 * gdb.perf/single-step.exp: New.
699 * gdb.perf/single-step.py: New.
700
c1ea7c01
DE
7012013-11-23 Doug Evans <xdje42@gmail.com>
702
703 * gdb.base/ena-dis-br.exp: Add missing quote to "step after continue
704 with ignore count".
705
35720eaa
DE
7062013-11-23 Doug Evans <xdje42@gmail.com>
707
708 * gdb.python/py-value.exp (test_lazy_strings): Tweak test names.
709 (test_subscript_regression): Ditto.
710 (top level): Run test_subscript_regression for c++ with "c++" prefix.
711
3cd14e45
DE
7122013-11-23 Doug Evans <xdje42@gmail.com>
713
714 * gdb.python/py-type.exp (test_enums): Fix typo.
715
985c818c
DE
7162013-11-23 Doug Evans <xdje42@gmail.com>
717
718 * gdb.python/py-symbol.exp: Add some comments. Make all test names
719 unique.
720
f873dd7a
DE
7212013-11-23 Doug Evans <xdje42@gmail.com>
722
723 * gdb.python/py-symbol.exp: Fix whitespace.
724
38a502a4
DE
7252013-11-23 Doug Evans <xdje42@gmail.com>
726
727 * gdb.python/python.exp: Don't call skip_python_tests, we still want
728 to test some things in the case where python is not configured in.
729
c0621699
PA
7302013-11-22 Pedro Alves <palves@redhat.com>
731
732 * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
733 * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this. Adjust.
734 * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
735 * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
736 * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
737 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
738
f57e61cd
TT
7392013-11-22 Tom Tromey <tromey@redhat.com>
740
741 * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
742
da2b2fdf
TT
7432013-11-22 Tom Tromey <tromey@redhat.com>
744
745 * gdb.dwarf2/dw2-bad-cfi.c: New file.
746 * gdb.dwarf2/dw2-bad-cfi.exp: New file.
747 * gdb.dwarf2/dw2-bad-cfi.S: New file.
748
33f8fe58
PA
7492013-11-22 Pedro Alves <palves@redhat.com>
750
751 PR 16155
752 * gdb.dwarf2/dw2-dup-frame.S: New file.
753 * gdb.dwarf2/dw2-dup-frame.c: New file.
754 * gdb.dwarf2/dw2-dup-frame.exp: New file.
755
0a1e6121
YQ
7562013-11-22 Yao Qi <yao@codesourcery.com>
757
758 * lib/mi-support.exp (mi_create_dynamic_varobj): Update
759 comment and add one more argument "has_more".
760 * gdb.python/py-mi.exp: Callers update.
761
0061ea24
YQ
7622013-11-22 Yao Qi <yao@codesourcery.com>
763
764 * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
765 of mi_create_dynamic_varobj.
766
069d6a0f
PA
7672013-11-20 Pedro Alves <palves@redhat.com>
768
769 * gdb.base/maint.exp (maint print objfiles): Consume one line at a
770 time, and run it through all three milestone regexes.
771
10d8cbd2
SA
7722013-11-20 Sanimir Agovic <sanimir.agovic@intel.com>
773
774 * gdb.base/eval-avoid-side-effects.exp: New file.
775
57803a3c
WT
7762013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
777
60650f2e
WT
778 * gdb.arch/i386-mpx.c: New file
779 * gdb.arch/i386-mpx.exp: New file.
780
09748966
WT
7812013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
782
783 * gdb.python/py-pp-maint.exp: Consider new pretty-print added
784 for bnd registers.
785
60650f2e
WT
7862013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
787
57803a3c
WT
788 * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
789 start and end equal 0.
790
3e9ecad3
YQ
7912013-11-19 Yao Qi <yao@codesourcery.com>
792
793 * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
794 (mi_list_varobj_children_range): Likewise.
795
31b4ab9e
YQ
7962013-11-19 Yao Qi <yao@codesourcery.com>
797
798 * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
799
4392c534
YQ
8002013-11-19 Yao Qi <yao@codesourcery.com>
801
802 * lib/mi-support.exp: Fix format.
803
df7752b0
JB
8042013-11-19 Joel Brobecker <brobecker@adacore.com>
805
806 * gdb.ada/py_range: New testcase.
807
176f037c
JB
8082013-11-18 Joel Brobecker <brobecker@adacore.com>
809
810 * mi-language.exp: Add "-list-features" test verifying that
811 its output contains "language-option".
812
ee4a1c63
JB
8132013-11-16 Joel Brobecker <brobecker@adacore.com>
814
815 * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
816 * info_exc/foo.adb: Adjust to new exception name.
817 * info_exc.exp: Adjust after exception renaming in const.ads.
818 Update "info exception global" test to test "info exceptions
819 global_gdb" instead.
820
821 * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
822 * mi_exc_info/foo.adb (Adjust to new exception name.
823 * mi_exc_info.exp: Adjust after exception renaming in const.ads.
824 Update "-info-ada-exceptions global" test to test
825 "-info-ada-exceptions global_gdb" instead.
826
6ec41e1e
LM
8272013-11-15 Luis Machado <lgustavo@codesourcery.com>
828
829 * lib/mi-support.exp (mi_gdb_test): Expect different formats
830 of inferior output for remote and native sessions.
831 * gdb.mi/mi-console.exp: Remove obsolete comment.
832 Check for semihosted inferior output pattern.
833 (semihosted_string): New function.
834
391d3400
JB
8352013-11-15 Joel Brobecker <brobecker@adacore.com>
836
837 * gdb.ada/info_exc.exp: Allow other global exceptions to be
838 listed in the output of "info exceptions".
839 * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
840 listed in the output of "-info-ada-exceptions".
841
e092da29
JB
8422013-11-15 Joel Brobecker <brobecker@adacore.com>
843
844 * gdb.ada/info_exc.exp: Start inferior before starting
845 the "info exceptions" tests.
846 * gdb.ada/mi_exc_info.exp: Start inferior before starting
847 the "-info-ada-exceptions" tests.
848
805e1f19
TT
8492013-11-15 Tom Tromey <tromey@redhat.com>
850
851 * gdb.cp/includefile: New file.
852 * gdb.cp/filename.exp: New file.
853 * gdb.cp/filename.cc: New file.
854
9abb1bd6
DE
8552013-11-15 Doug Evans <xdje42@gmail.com>
856
857 * gdb.python/py-breakpoint.exp: Make tests have unique names.
858
8abea1a1
DE
8592013-11-15 Doug Evans <xdje42@gmail.com>
860
861 * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
862
330a7fce
DE
8632013-11-15 Doug Evans <xdje42@gmail.com>
864
865 * gdb.python/py-breakpoint.exp: Split up into several functions,
866 each with their own test prefix.
867
0acf8b65
JB
8682013-11-15 Joel Brobecker <brobecker@adacore.com>
869
870 * gdb.ada/O2_float_param: New testcase.
871
496038b3
TT
8722013-11-14 Tom Tromey <tromey@redhat.com>
873
874 * Makefile.in (check-parallel): Print summary from gdb.sum.
875
c7e8af9b
OJ
8762013-11-14 Omair Javaid <Omair.Javaid@linaro.org>
877
878 * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
879 and function label names.
880 * gdb.dwarf2/dw2-case-insensitive.c: Created function and
881 compile unit labels.
882
403cb6b1
JB
8832013-11-14 Joel Brobecker <brobecker@adacore.com>
884
885 * gdb.mi/mi-language.exp: New file.
886
74921315
KS
8872013-09-17 Keith Seitz <keiths@redhat.com>
888
889 PR c++/7935
890 PR c++/10541
891 * gdb.cp/nsalias.exp: New file.
892 * gdb.cp/nsalias.cc: New file.
893 * gdb.cp/nsrecurs.exp: Remove kfails. Conditionally run
894 tests only on known, working compiler versions.
895
08c43050
TT
8962013-11-13 Tom Tromey <tromey@redhat.com>
897
898 * gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
899 * gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
900
0682e708
DE
9012013-11-12 Doug Evans <dje@google.com>
902
903 * gdb.base/fileio.exp: Make $dir2 writable after the test is done
904 so that "rm -rf $builddir" Just Works.
905
a7e332c2
JB
9062013-11-12 Joel Brobecker <brobecker@adacore.com>
907
908 * gdb.ada/mi_exc_info: New testcase.
909
778865d3
JB
9102013-11-12 Joel Brobecker <brobecker@adacore.com>
911
912 * gdb.ada/info_exc: New testcase.
913
304a8ac1
DE
9142013-11-11 Doug Evans <dje@google.com>
915
916 * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
917 of testfile.
918
bc79de95
PM
9192013-11-11 Phil Muldoon <pmuldoon@redhat.com>
920
921 * gdb.python/py-linetable.S: New file.
922 * gdb.python/py-linetable.c: New file.
923 * gdb.python/py-linetable.exp: New file.
924
2df4d1d5
JB
9252013-11-11 Joel Brobecker <brobecker@adacore.com>
926
927 * gdb.ada/mi_ex_cond: New testcase.
928
204b5331
DE
9292013-11-07 Doug Evans <dje@google.com>
930
931 PR 11786
932 * gdb.base/gcore-relro-pie.c: New file.
933 * gdb.base/gcore-relro-pie.exp: New file.
934
92e32e33
PM
9352013-11-07 Phil Muldoon <pmuldoon@redhat.com>
936
937 * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
938 * gdb.python/py-cmd.c: New File.
939
f76c27b5
PM
9402013-11-07 Phil Muldoon <pmuldoon@redhat.com>
941
942 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
943
79600f4f 9442013-11-06 Doug Evans <xdje42@gmail.com>
01e48c0c
DE
945
946 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
947
6dbb6798
YQ
9482013-11-06 Yao Qi <yao@codesourcery.com>
949
950 * lib/gdb.exp (gdb_produce_source): New procedure.
951 * gdb.perf/solib.c: New.
952 * gdb.perf/solib.exp: New.
953 * gdb.perf/solib.py: New.
954
71c0c615
YQ
9552013-11-06 Yao Qi <yao@codesourcery.com>
956
957 * README: Mention performance tests.
958
f27a1236
YQ
9592013-11-06 Yao Qi <yao@codesourcery.com>
960
961 * lib/perftest.exp: New.
962 * gdb.perf/lib/perftest/__init__.py: New.
963 * gdb.perf/lib/perftest/measure.py: New.
964 * gdb.perf/lib/perftest/perftest.py: New.
965 * gdb.perf/lib/perftest/reporter.py: New.
966 * gdb.perf/lib/perftest/testresult.py: New.
967
7636ccf9
YQ
9682013-11-06 Yao Qi <yao@codesourcery.com>
969
970 * Makefile.in (check-perf): New target.
971 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
972 * configure: Re-generated.
973 * gdb.perf/Makefile.in: New.
974
81208388
TT
9752013-11-04 Tom Tromey <tromey@redhat.com>
976
977 * Makefile.in (TEST_DIRS): Remove.
978 (TEST_TARGETS, check-parallel): Rewrite.
979 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
980 (subdir_do, subdirs): Remove.
981 (do-check-parallel, check/%): New targets.
982 (clean): Remove outputs, temp, and cache directories.
983 (saw_dash_j): New variable.
984 (CHECK_TARGET): Use it.
985 (check): Depend on all, site.exp. Rewrite.
986 (check-single): Remove dependencies.
987 (slow_tests, all_tests, reordered_tests): New variables.
988
c63ffa1f
TT
9892013-11-04 Tom Tromey <tromey@redhat.com>
990
991 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
992 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
993 before loading binfile.
994 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
995 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
996 before loading binfile.
997
3fef966c
TT
9982013-11-04 Tom Tromey <tromey@redhat.com>
999
1000 * gdb.base/foll-exec.c (main): Use BASEDIR.
1001 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
1002 * gdb.base/foll-vfork.c (main): Use BASEDIR.
1003 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
1004 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
1005 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
1006
24890efd
TT
10072013-11-04 Tom Tromey <tromey@redhat.com>
1008
1009 * gdb.base/argv0-symlink.exp: Compute executable's directory
1010 dynamically.
1011
c59ffcab
TT
10122013-11-04 Tom Tromey <tromey@redhat.com>
1013
1014 * gdb.asm/asm-source.exp: Use standard_output_file.
1015
479c8d68
TT
10162013-11-04 Tom Tromey <tromey@redhat.com>
1017
1018 * gdb.server/file-transfer.exp: Use standard_output_file.
1019
1e537771
TT
10202013-11-04 Tom Tromey <tromey@redhat.com>
1021
1022 * gdb.base/fullname.exp: Use standard_output_file,
1023 relative_filename.
1024 * gdb.base/hashline1.exp: Use standard_testfile,
1025 standard_output_file, relative_filename, clean_restart.
1026 * gdb.base/hashline2.exp: Use standard_testfile,
1027 standard_output_file.
1028 * gdb.base/hashline3.exp: Use standard_testfile,
1029 standard_output_file, relative_filename.
1030 * lib/gdb.exp (relative_filename): New proc.
1031
b44b82af
TT
10322013-11-04 Tom Tromey <tromey@redhat.com>
1033
1034 * gdb.base/fileio.c (test_open, test_write, test_read)
1035 (test_lseek, test_close, test_stat, test_fstat)
1036 (test_isatty, test_system, test_rename, test_unlink):
1037 Use OUTDIR define.
1038 * gdb.base/fileio.exp: Define OUTDIR during compilation.
1039 Use standard_output_file.
1040
59b28c5d
TT
10412013-11-04 Tom Tromey <tromey@redhat.com>
1042
1043 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
1044 defines.
1045 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
1046 compilation. Use prepare_for_testing, standard_output_file.
1047
08b3fe69
TT
10482013-11-04 Tom Tromey <tromey@redhat.com>
1049
1050 * gdb.base/advance.exp: Use standard_testfile and
1051 prepare_for_testing.
1052 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
1053 appropriate directory when local.
1054 * gdb.base/dump.exp: Use standard_output_file. Update all
1055 "dump" and "restore" filenames.
1056 * gdb.base/interact.exp: Use standard_output_file.
1057 * gdb.base/jit-so.exp: Don't download file when local.
1058 * gdb.base/jit.exp (compile_jit_test): Don't download file
1059 when local.
1060 * gdb.base/list.exp: Use gdb_remote_download.
1061 * gdb.base/maint.exp: Use standard_output_file.
1062 * gdb.base/prelink.exp: Use standard_output_file.
1063 * gdb.base/save-bp.exp: Use standard_output_file.
1064 * gdb.base/sepdebug.exp: Use standard_testfile,
1065 standard_output_file.
1066 (test_different_dir): Don't declare objdir.
1067 * gdb.base/solib-search.exp: Use standard_output_file.
1068 * gdb.base/step-line.exp: Use gdb_remote_download.
1069 * gdb.base/trace-commands.exp: Use standard_output_file.
1070
32cfb09d
TT
10712013-11-04 Tom Tromey <tromey@redhat.com>
1072
1073 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
1074 to compilation. Use standard_output_file.
1075 (test_tfind_tfile): Update.
1076 * gdb.trace/tfile.c (write_basic_trace_file)
1077 (write_error_trace_file): Use TFILE_DIR.
1078 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
1079 standard_output_file.
1080
84741506
TT
10812013-11-04 Tom Tromey <tromey@redhat.com>
1082
1083 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1084 Use "dwarf2 always-disassemble" for the "maint set" test.
1085 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
1086 standard_output_file.
1087 * gdb.mi/mi-logging.exp: Use standard_output_file.
1088
cfb7b9a3
TT
10892013-11-04 Tom Tromey <tromey@redhat.com>
1090
1091 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
1092 downloads conditional on remote host.
1093 (set_arch): Likewise.
1094 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
1095 (load_description): Use standard_output_file.
1096
bdfe0594
TT
10972013-11-04 Tom Tromey <tromey@redhat.com>
1098
1099 * gdb.gdb/selftest.exp: Use standard_output_file.
1100 * lib/selftest-support.exp (do_self_tests): Use
1101 standard_output_file.
1102
8c639e73
TT
11032013-11-04 Tom Tromey <tromey@redhat.com>
1104
1105 * gdb.stabs/weird.exp: Use gdb_remote_download and
1106 standard_output_file.
1107
5030a410
TT
11082013-11-04 Tom Tromey <tromey@redhat.com>
1109
1110 * gdb.base/gcore-buffer-overflow.exp: Use
1111 standard_output_file, not standard_testfile.
1112 * gdb.base/twice.exp: Use standard_testfile, not
1113 standard_output_file. Use gdb_remote_download.
1114
95d7853e
TT
11152013-11-04 Tom Tromey <tromey@redhat.com>
1116
1117 * lib/gdb.exp (get_compiler_info): Use log_file -info and
1118 restore from that.
1119
eab88b54
MR
11202013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
1121
1122 * gdb.cp/derivation.exp: s/perrro/perror/
1123
a1b0fbee
MR
11242013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
1125
1126 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
1127 `debugdir'.
1128
638aa5a1
AB
11292013-10-31 Andrew Burgess <aburgess@broadcom.com>
1130
1131 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
1132 tests and update expected error message.
1133 (test_watch_register_location): New tests.
1134 (do_tests): Call test_watch_register_location.
1135 * gdb.base/watchpoints.exp: Update expected error message.
1136
055e608a
UW
11372013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1138
1139 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
1140 the patterns in gdb_test_multiple.
1141
9ac69859
NB
11422013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
1143
1144 * gdb.base/sym-file-lib.c: New file.
1145 * gdb.base/sym-file-loader.c: New file.
1146 * gdb.base/sym-file-loader.h: New file.
1147 * gdb.base/sym-file-main.c: New file.
1148 * gdb.base/sym-file.exp: New file.
1149 * lib/gdb.exp (is_elf_target): New function.
1150
24ba476b
PA
11512013-10-29 Pedro Alves <palves@redhat.com>
1152
1153 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
1154 variable setting change-log-default-name to ChangeLog-mi.
1155
f69d9aef
AB
11562013-10-29 Andrew Burgess <aburgess@broadcom.com>
1157
1158 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
1159 Expect <unavailable> pattern.
1160
71193121
TV
11612013-10-28 Tom de Vries <tom@codesourcery.com>
1162
1163 * gdb.arch/thumb2-it.S (it_8): Fix typo.
1164
38095c27
AK
11652013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
1166
1167 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
1168 remote stubs where exit() behaviour is unreliable.
1169
686d4def
PA
11702013-10-25 Pedro Alves <palves@redhat.com>
1171
1172 * gdb.cp/m-static.exp: Adjust expected output of printing a
1173 nonexistent or optimized out static field. Also test printing the
1174 the "container" object.
1175
a35cfb40
MR
11762013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1177
1178 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
1179 if in the persistent mode.
1180 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
1181
bbe769cc
MR
11822013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1183
1184 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
1185 support core file generation" reply.
1186
95e4302a
JM
11872013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1188
1189 PR gdb/15986
1190 * gdb.base/run.c (main): gdb_get_line_number tag added for
1191 commands.exp.
1192 (factorial): Likewise.
1193
1194 * gdb.base/commands.exp (watchpoint_command_test): Use
1195 gdb_get_line_number in order to determine the locations in run.c
1196 where local_var is detected to go out of scope.
1197
4c406179
JM
11982013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1199
1200 * gdb.base/gnu_vector.exp: Care about endianness when casting
1201 scalars to vectors.
1202
bb6216d8
TT
12032013-10-18 Tom Tromey <tromey@redhat.com>
1204
1205 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
1206 of "binfile".
1207
e8369a73
AB
12082013-10-18 Andrew Burgess <aburgess@broadcom.com>
1209
1210 * gdb.base/watchpoints.exp: Add test for setting software
1211 watchpoints of different types before starting the inferior.
1212
776f04fa
PA
12132013-10-18 Pedro Alves <palves@redhat.com>
1214
1215 PR gdb/16062
1216 * gdb.threads/stepi-random-signal.c: New file.
1217 * gdb.threads/stepi-random-signal.exp: New file.
1218
e4b8388f
MR
12192013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
1220
1221 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1222 Fix comment typo.
1223 * lib/gdb.exp (gdb_init): Likewise.
1224
50b34a18
TT
12252013-10-17 Tom Tromey <tromey@redhat.com>
1226
1227 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
1228
3db258f5
TT
12292013-10-14 Tom Tromey <tromey@redhat.com>
1230
1231 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
1232 name to gdb_test_no_output.
1233
4856b6bc
JK
12342013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1235
1236 Canonicalize directories for EXEC_FILENAME.
1237 * gdb.base/argv0-symlink.exp
1238 (kept file symbolic link name for info inferiors): New.
1239 (kept directory symbolic link name): Setup kfail.
1240 (kept directory symbolic link name for info inferiors): New.
1241
9772d074
UW
12422013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
1243
1244 * gdb.arch/s390-multiarch.exp: New file.
1245 * gdb.arch/s390-multiarch.c: New file.
1246
2a3be966
JB
12472013-10-11 Joel Brobecker <brobecker@adacore.com>
1248
1249 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
1250 use the appropriate GDB/MI command instead, and verify
1251 the test output.
1252
7c647d61
JB
12532013-10-11 Joel Brobecker <brobecker@adacore.com>
1254
1255 * gdb.base/source-nofile.gdb: New file.
1256 * gdb.base/source.exp: Add two tests verifying the behavior when
1257 the "source" command is given a non-existant filename.
1258
bb66bd51
YQ
12592013-10-11 Yao Qi <yao@codesourcery.com>
1260
1261 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
1262 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
1263 and 'dlclose'.
1264 [!__WIN32__]: Include "dlfcn.h".
1265 * gdb.mi/mi-catch-load.exp: Set up kfail.
1266
4f424bb1
AK
12672013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1268
1269 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
1270 generated corefile" by argument "$test".
1271
578d3588
PA
12722013-10-09 Pedro Alves <palves@redhat.com>
1273
1274 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
1275 output.
1276
eb4ca471
PA
12772013-10-09 Pedro Alves <palves@redhat.com>
1278
1279 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
1280 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
1281 (test_catch_syscall_with_wrong_args)
1282 (test_catch_syscall_restarting_inferior)
1283 (test_catch_syscall_fail_nodatadir)
1284 (test_catch_syscall_without_args_noxml)
1285 (test_catch_syscall_with_args_noxml)
1286 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
1287
dc294be5
TT
12882013-10-08 Tom Tromey <tromey@redhat.com>
1289
1290 * gdb.dwarf2/dwzbuildid.exp: New file.
1291 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
1292 parameters.
1293 (Dwarf::_defer_output): Change "section" parameter to
1294 "section_spec"; update.
1295 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
1296 procs.
1297
c968bd18
JB
12982013-10-08 Joel Brobecker <brobecker@adacore.com>
1299
1300 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
1301
f44eeb11
TT
13022013-10-07 Tom Tromey <tromey@redhat.com>
1303
1304 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
1305 to 0.
1306
0c557179
SDJ
13072013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1308
1309 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
1310 $_exitcode is void when opening a corefile.
1311 * gdb.base/exitsignal.exp: New file.
1312 * gdb.base/segv.c: Likewise.
1313 * gdb.base/normal.c: Likewise.
1314
5713b9b5
JB
13152013-10-04 Joel Brobecker <brobecker@adacore.com>
1316
1317 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
1318
3f983d47
YZ
13192013-10-02 Vidya Praveen <vidyapraveen@arm.com>
1320
1321 * gdb.trace/entry-values.exp: Modify regular expression to scan for
1322 'bl' instruction instead of 'call' for ARM and AArch64 targets.
1323
901461f8
PA
13242013-10-02 Pedro Alves <palves@redhat.com>
1325
1326 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
1327 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
1328 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
1329 (not_saved_pattern): New.
1330 Replace use of the former with the latter.
1331
b477a5e6
PA
13322013-10-02 Pedro Alves <palves@redhat.com>
1333
1334 * README (Board Settings): Document "exit_is_reliable".
1335 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
1336 running to exit reliably reports program exits.
1337 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
1338 info.
1339 * boards/native-stdio-gdbserver.exp: Likewise.
1340
a49bed3a
DE
13412013-10-01 Doug Evans <dje@google.com>
1342
1343 * gdb.python/python.exp: Remove redundant print-stack tests.
1344 Make all print-stack test names unique. Fix spelling of print-stack.
1345
2ed2ad44
YQ
13462013-09-29 Yao Qi <yao@codesourcery.com>
1347
1348 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
1349 is remote.
1350
7d760051
UW
13512013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1352
1353 PR shlibs/8882
1354 * gdb.base/corefile.exp: Add a check to assure warning-free
1355 core-file load.
1356
82bf32bc
JK
13572013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1358
1359 * gdb.dwarf2/dwp-symlink.c: New file.
1360 * gdb.dwarf2/dwp-symlink.exp: New file.
1361
4fa7d390
DE
13622013-09-20 Doug Evans <dje@google.com>
1363
6b4646ce
DE
1364 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
1365 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
1366 file.
1367 * gdb.dwarf2/fission-loclists.S: Ditto.
1368 * gdb.dwarf2/fission-reread.S: Ditto.
1369 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
1370 build_executable_from_fission_assembler.
1371 * gdb.dwarf2/fission-loclists.exp: Ditto.
1372 * gdb.dwarf2/fission-reread.exp: Ditto.
1373
4fa7d390
DE
1374 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
1375 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
1376 (gdb_gnu_strip_debug): Ditto.
1377 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
1378 * gdb.arch/altivec-abi.exp: Ditto.
1379 * gdb.base/attach-pie-misread.exp: Ditto.
1380 * gdb.base/comprdebug.exp: Ditto.
1381 * gdb.base/dup-sect.exp: Ditto.
1382 * gdb.base/gnu-debugdata.exp: Ditto.
1383 * gdb.base/step-symless.exp: Ditto.
1384 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1385 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
1386 * gdb.dwarf2/gdb-index.exp: Ditto.
1387
e4c6a2c4
AB
13882013-09-18 Andrew Burgess <aburgess@broadcom.com>
1389
1390 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
1391 register to "<optimized out>", and also print the registers.
1392
a205fbfc
PA
13932013-09-18 Pedro Alves <palves@redhat.com>
1394
1395 PR server/15967
1396 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
1397 change text.
1398
ee47b2f8
YQ
13992013-09-18 Yao Qi <yao@codesourcery.com>
1400
1401 * gdb.server/wrapper.c: New.
1402 * gdb.server/wrapper.exp: New.
1403
49fa26b0
PA
14042013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
1405 Jan Kratochvil <jan.kartochvil@redhat.com>
1406 Pedro Alves <palves@redhat.com>
1407
1408 PR gdb/11568
1409 * gdb.thread/thread-specific-bp.c: New file.
1410 * gdb.thread/thread-specific-bp.exp: New file.
1411
e83b28bc
SDJ
14122013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
1413
1414 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
1415 convenience function.
1416
08d72866
PA
14172013-09-17 Pedro Alves <palves@redhat.com>
1418
1419 PR gdb/15911
1420 * gdb.threads/info-threads-cur-sal-2.c: New file.
1421 * gdb.threads/info-threads-cur-sal.c: New file.
1422 * gdb.threads/info-threads-cur-sal.exp: New file.
1423
57b0d98e
YQ
14242013-09-17 Yao Qi <yao@codesourcery.com>
1425
1426 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
1427 [__WIN32__]: Include "windows.h" and define macro dlopen
1428 and dlclose.
1429 [!__WIN32__]: Include "dlfcn.h".
1430 * gdb.base/catch-load.exp (one_catch_load_test): Match
1431 directory separator.
1432
0295a32e
DE
14332013-09-16 Doug Evans <dje@google.com>
1434
a587b477
DE
1435 * lib/gdb.exp (using_fission): New proc.
1436 * gdb.base/info-macros.exp: Skip test if using Fission.
1437
0295a32e
DE
1438 * gdb.base/break-interp.exp: Fix indentation.
1439
a280dbd1
SDJ
14402013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1441
1442 * gdb.base/gdbvars.c (foo_void): New function.
1443 (foo_int): Likewise.
1444 * gdb.base/gdbvars.exp (test_convenience_functions): New
1445 function. Call it.
1446
4ac33720
UW
14472013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1448
1449 * gdb.arch/s390-tdbregs.c: New file.
1450 * gdb.arch/s390-tdbregs.exp: New file.
1451
b866c52d
SS
14522013-09-12 Stan Shebs <stan@codesourcery.com>
1453
1454 * README: New file.
1455
dc59cba6
DE
14562013-09-12 Doug Evans <dje@google.com>
1457
1458 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
1459 added code to print event.inferior.
1460
edf9f00c
JK
14612013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1462
1463 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
1464 debug part of the binary.
1465
5423b017
JK
14662013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1467
1468 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
1469 (addlink): Add comment.
1470
9295cf6f
SA
14712013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
1472
1473 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
1474 canonical pathname.
1475
89e63ee4
DE
14762013-09-04 Doug Evans <dje@google.com>
1477
314bb8c3
DE
1478 * gdb.python/py-events.py (exit_handler): Verify we get the expected
1479 event.
1480 (continue_handler, new_objfile_handler): Ditto.
1481 (test_events): Rename command to "test-events".
1482 (test_newobj_events): Rename command to "test-objfile-events".
1483 * gdb.python/py-events.exp: Update.
1484 * gdb.python/py-evsignal.exp: Update.
1485 * gdb.python/py-evthreads.exp: Update.
1486
89e63ee4
DE
1487 * gdb.base/enumval.c (ZERO): New enum value.
1488 (main): Use it
1489 * gdb.base/enumval.exp: Test ability to print ZERO.
1490
14912013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
41dc8db8
MB
1492 Pedro Alves <palves@redhat.com>
1493
1494 * gdb.base/relocate.exp: Check that invalid options are
1495 rejected.
1496
26c2b53c
AB
14972013-08-30 Andrew Burgess <aburgess@broadcom.com>
1498
1499 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
1500 (my_static_symbol): Add comment.
1501 (main): Reference my_bss_symbol.
1502
96d9056e
PM
15032013-08-30 Phil Muldoon <pmuldoon@redhat.com>
1504
1505 * gdb.python/py-arch.exp: Tests for invalid architecture.
1506
489d4f4d
SA
15072013-08-29 Sterling Augustine <saugustine@google.com>
1508
1509 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
1510 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
1511 said conditional.
1512
5b791bb5
PM
15132013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1514
1515 * gdb.python/py-arch.exp: Load gdb-python.exp.
1516
8f28f522
PM
15172013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1518
1519 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
1520 itertools for imap attribute. Otherwise use map().
1521 (ElidingIterator): Define wrapper function __next__.
1522 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
1523 use exec (open (read ())) instead.
1524 * gdb.python/py-framefilter.exp: Ditto.
1525 * gdb.python/py-arch.exp: Update print based test to Python 3.x
1526 compliance.
1527 * gdb.python/py-frame.exp: Ditto.
1528 * gdb.python/py-type.exp: Ditto.
1529
1f0c4988
JK
15302013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1531
1532 PR gdb/15415
1533 * gdb.base/argv0-symlink.c: New file.
1534 * gdb.base/argv0-symlink.exp: New file.
1535
7893c162
TT
15362013-08-28 Tom Tromey <tromey@redhat.com>
1537
1538 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
1539 when saving index.
1540
6211c335
YQ
15412013-08-27 Yao Qi <yao@codesourcery.com>
1542
1543 * gdb.trace/entry-values.exp: Test unavailable entry value is
1544 not shown when option '--skip-unavailable' is specified.
1545 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
1546 Add tests for new option '--skip-unavailable'.
1547
ce4ea2bb
YQ
15482013-08-27 Yao Qi <yao@codesourcery.com>
1549
1550 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
1551 remote_download if it is empty.
1552
6e45f158
DE
15532013-08-26 Doug Evans <dje@google.com>
1554
779bd270
DE
1555 PR symtab/15885
1556 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
1557 (clean): rm -f *.gdb-index *.with-index.
1558 * gdb.dwarf2/gdb-index.exp: New testcase.
1559
6e45f158
DE
1560 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
1561 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
1562 run_on_host. All callers updated.
1563
b1224238
YQ
15642013-08-24 Yao Qi <yao@codesourcery.com>
1565
1566 * gdb.trace/entry-values.c (end): New
1567 (main): Call end.
1568 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
1569 tracepoint and collect data. Test entry value is unavailable.
1570
b39a8faf
YQ
15712013-08-24 Yao Qi <yao@codesourcery.com>
1572
1573 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
1574 * gdb.trace/entry-values.c: New.
1575 * gdb.trace/entry-values.exp: New.
1576
9eaabc75
MW
15772013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
1578
1579 PR gdb/15501
1580 * gdb.base/ena-dis-br.exp: Add test to verify
1581 enable/disable commands work correctly with
1582 multiple arguments that include multiple locations.
1583
9f948660
SDJ
15842013-08-22 Samuel Bronson <naesten@gmail.com>
1585
1586 ARM Linux support for `catch syscall'.
1587 * gdb.base/catch-syscall.exp: Test this on ARM now.
1588 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
1589
e630b974
TT
15902013-08-22 Tom Tromey <tromey@redhat.com>
1591
1592 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
1593 default addr_size.
1594 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
1595
f3a76454
TT
15962013-08-22 Tom Tromey <tromey@redhat.com>
1597
1598 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
1599 standard_temp_file.
1600
de5f37e1
TT
16012013-08-22 Tom Tromey <tromey@redhat.com>
1602
1603 * gdb.arch/amd64-byte.exp: Use standard_testfile,
1604 clean_restart.
1605 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
1606 * gdb.arch/amd64-dword.exp: Use standard_testfile,
1607 clean_restart.
1608 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
1609 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
1610 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
1611 * gdb.arch/amd64-word.exp: Use standard_testfile,
1612 clean_restart.
1613 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
1614 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
1615 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
1616 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
1617 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
1618 * gdb.arch/i386-signal.exp: Use standard_testfile.
1619 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
1620 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
1621 * gdb.arch/i386-unwind.exp: Use standard_testfile.
1622 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
1623
8448e842
TT
16242013-08-22 Tom Tromey <tromey@redhat.com>
1625
1626 * gdb.python/py-error.exp: Use gdb_remote_download.
1627 * gdb.python/py-mi.exp: Use gdb_remote_download.
1628 * gdb.python/py-objfile-script.exp: Use standard_output_file.
1629 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
1630 (run_lang_tests): Likewise.
1631 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
1632 filename.
1633 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
1634 compiling. Use gdb_remote_download. Update some tests.
1635 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1636 standard_output_file.
1637 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
1638 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
1639 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
1640 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
1641 standard_output_file.
1642
16cfcbc2
TT
16432013-08-22 Tom Tromey <tromey@redhat.com>
1644
1645 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
1646
44ee8174
TT
16472013-08-22 Tom Tromey <tromey@redhat.com>
1648
1649 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
1650 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
1651 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
1652 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
1653 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
1654 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
1655 * lib/gdb.exp (gdb_remote_download): New proc.
1656
7a218f88
TT
16572013-08-22 Tom Tromey <tromey@redhat.com>
1658
1659 * gdb.dwarf2/clztest.exp: Use standard_testfile.
1660 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
1661 * gdb.dwarf2/fission-base.S: Remove directory from
1662 DW_AT_GNU_dwo_name.
1663 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
1664 debug-file-directory.
1665 * gdb.dwarf2/fission-reread.S: Remove directory from
1666 DW_AT_GNU_dwo_name.
1667 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
1668 debug-file-directory.
1669
70cc1c23
DE
16702013-08-16 Doug Evans <dje@google.com>
1671
1672 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
1673 prelink complains about an unhandled DWARF version.
1674
61884d20
DE
16752013-08-14 Cary Coutant <ccoutant@google.com>
1676
1677 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
1678
5e92f71a
TT
16792013-08-13 Tom Tromey <tromey@redhat.com>
1680 Yao Qi <yao@codesourcery.com>
1681
1682 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
1683 * lib/gdb.exp: Handle GDB_PARALLEL.
1684 (default_gdb_version): Kill inotify_pid if it exists.
1685 (default_gdb_exit): Emit warning if the inotify log is not
1686 empty.
1687 (standard_output_file): Respect GDB_PARALLEL.
1688 (standard_temp_file): Likewise.
1689 (gdb_init): Start inotifywait if requested.
1690
5c30d39a
AB
16912013-08-13 Andrew Burgess <aburgess@broadcom.com>
1692
1693 * gdb.base/printcmds.exp (test_printf): Add test for printf of
1694 pointer with various flags.
1695
17e1c970
TT
16962013-08-13 Tom Tromey <tromey@redhat.com>
1697
1698 * lib/cache.exp: New file.
1699 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
1700 * lib/gdb.exp: Load cache.exp.
1701 (support_complex_tests, is_ilp32_target, is_lp64_target)
1702 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
1703 (gdb_skip_xml_test): Use gdb_caching_proc.
1704 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
1705
4e234898
TT
17062013-08-13 Tom Tromey <tromey@redhat.com>
1707
1708 * lib/gdb.exp (standard_temp_file): New proc.
1709 (support_complex_tests, is_ilp32_target, is_lp64_target)
1710 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
1711 standard_temp_file.
1712
53e981d9
TT
17132013-08-13 Tom Tromey <tromey@redhat.com>
1714
1715 * lib/gdb.exp (build_id_debug_filename_get): Use
1716 standard_output_file.
1717 * lib/prelink-support.exp (section_get)
1718 (build_executable_own_libs): Use standard_output_file.
1719
3f539315
TT
17202013-08-12 Tom Tromey <tromey@redhat.com>
1721
1722 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
1723
b4013987
AA
17242013-08-12 Ali Anwar <alianwar@codesourcery.com>
1725
1726 * gdb.base/break.exp: Test break via convenience variable
1727 with file name.
1728
f61d5529
DE
17292013-08-09 Doug Evans <dje@google.com>
1730
1731 * lib/future.exp (gdb_find_ldd): New proc.
1732 * lib/prelink-support.exp (build_executable_own_libs): Call it.
1733 Make "/usr/sbin/" in prelink path optional.
1734
1ed8d800
YQ
17352013-08-09 Yao Qi <yao@codesourcery.com>
1736
1737 * gdb.trace/collection.exp (gdb_collect_args_test): Set
1738 "only" and "both" to 'print entry-values' before selecting
1739 trace frame.
1740
82a0a75f
YQ
17412013-08-08 Yao Qi <yao@codesourcery.com>
1742
1743 * gdb.trace/mi-trace-unavailable.exp: Don't set
1744 "print entry-values" to "no".
1745 (test_trace_unavailable): Set various values to
1746 "print entry-values" to test that the output of
1747 '-stack-list-locals' is not affected, and then set
1748 set "print entry-values" to "no".
1749
ac52f9a2
DE
17502013-08-07 Doug Evans <dje@google.com>
1751
1752 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
1753 * gdb.python/py-value-cc.exp: Update.
1754 * gdb.python/py-value.exp: Use different names for .o files for
1755 C and C++. Only perform C++ tests if !skip_cplus_tests.
1756
bf6d8a91
TT
17572013-08-07 Tom Tromey <tromey@redhat.com>
1758
1759 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
1760
f9125b6c
TT
17612013-08-07 Tom Tromey <tromey@redhat.com>
1762
1763 * gdb.dwarf2/dwz.exp: New file.
1764
3a1115a0
TT
17652013-08-02 Tom Tromey <tromey@redhat.com>
1766
1767 * gdb.base/watchpoint.c (struct foo5): New.
1768 (nullptr): New global.
1769 * gdb.base/watchpoint.exp (test_watch_location): Add test.
1770
b846d303
DE
17712013-08-01 Doug Evans <dje@google.com>
1772
7ee85ab1
DE
1773 PR symtab/15691
1774 * gdb.dwarf2/fission-mix.exp: New file.
1775 * gdb.dwarf2/fission-mix.h: New file.
1776 * gdb.dwarf2/fission-mix.c: New file.
1777 * gdb.dwarf2/fission-mix2.c: New file.
1778
b846d303
DE
1779 PR symtab/15695
1780 * gdb.base/func-ptr.exp: New file.
1781 * gdb.base/func-ptr.c: New file.
1782
67d21849
YQ
17832013-08-01 Yao Qi <yao@codesourcery.com>
1784
1785 * gdb.python/py-sync-interp.c: New.
1786 * gdb.python/py-sync-interp.exp: New.
1787
de74e63a
YQ
17882013-07-31 Yao Qi <yao@codesourcery.com>
1789
1790 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
1791 'tdump' on stack frame 0 and 1 respectively.
1792
680558e8
YQ
17932013-07-31 Yao Qi <yao@codesourcery.com>
1794
1795 PR gdb/13443
1796 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
1797 'traceframe'. Wrap test with with_test_prefix.
1798 (top level): Update.
1799
48bbe0bf
YQ
18002013-07-31 Yao Qi <yao@codesourcery.com>
1801
1802 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
1803 'gdb_start'.
1804 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
1805 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
1806
11b4b7cc
AB
18072013-07-30 Andrew Burgess <aburgess@broadcom.com>
1808
1809 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
1810 when printing an optimized out value. Expect an error when using
1811 an optimized out value in an expression.
1812
b0c54aa5
AB
18132013-07-30 Andrew Burgess <aburgess@broadcom.com>
1814
1815 * gdb.dwarf2/pieces-optimized-out.exp: New file.
1816 * gdb.dwarf2/pieces-optimized-out.c: New file.
1817 * gdb.dwarf2/pieces-optimized-out.S: New file.
1818
97c85fc6
MB
18192013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
1820
1821 PR gdb/15715
1822 * gdb.base/setshow.exp: Test that relative paths passed to
1823 'set history filename' are converted to absolute paths.
1824
5b32ae97
KS
18252013-07-26 Keith Seitz <keiths@redhat.com>
1826
1827 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
1828 of f77.
1829 Allow for compiler variations of integer types.
1830 Use mi_create_varobj.
1831 Use mi_list_varobj_children for the immediate children of `array'.
1832 Add "has_more" attribute for grandchildren test.
1833
6f64ef53
PA
18342013-07-26 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
1837 files.
1838
fdc8aae8
AB
18392013-07-25 Andrew Burgess <aburgess@broadcom.com>
1840
1841 * gdb.mi/mi-reg-undefined.exp: New file.
1842 * gdb.mi/mi-reg-undefined.c: Likewise.
1843 * gdb.mi/mi-reg-undefined.S: Likewise.
1844
6fbe845e
AB
18452013-07-25 Andrew Burgess <aburgess@broadcom.com>
1846
1847 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
1848 z, o, and t output formats.
1849 * gdb.base/display.exp: Use 'k' as an undefined format now that
1850 'z' is defined.
1851
7b79b135
DE
18522013-07-24 Doug Evans <dje@google.com>
1853
1854 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
1855 "--" to switch.
1856
a0607b84
YQ
18572013-07-24 Yao Qi <yao@codesourcery.com>
1858
1859 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
1860 host.
1861 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
1862 Likewise. If host is remote, copy ${binfile} to host.
1863
2eb14a9b
YQ
18642013-07-23 Yao Qi <yao@codesourcery.com>
1865
1866 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
1867 message.
1868
5d0a3b53
WN
18692013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1870
1871 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
1872 instructions and enable disp-step-syscall for arm targets.
1873
9a5911c0
WN
18742013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1875
1876 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
1877 assembler errors on arm.
1878 * gdb.dwarf2/mac-fileno.S: Likewise.
1879 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
1880 * gdb.dwarf2/pr13961.S: Likewise.
1881
fa876972
HZ
18822013-07-19 Hui Zhu <hui@codesourcery.com>
1883
1884 PR gdb/15692
1885 * gdb.mi/mi-dprintf.exp: Add double quotes test.
1886
1527aea8
YQ
18872013-07-19 Yao Qi <yao@codesourcery.com>
1888
1889 * gdb.trace/read-memory.exp (test_from_remote): Update test.
1890 (teset_from_exec): Likewise.
1891
73c1d57e
YQ
18922013-07-19 Yao Qi <yao@codesourcery.com>
1893
1894 * gdb.trace/read-memory.c: New.
1895 * gdb.trace/read-memory.exp: New.
1896
a075c3e5
YQ
18972013-07-19 Yao Qi <yao@codesourcery.com>
1898
1899 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
1900 $dest to link options if host is remote. Move the
1901 generated file to $dest.a on host if host is remote.
1902
623cc285
WN
19032013-07-18 Will Newton <will.newton@linaro.org>
1904
1905 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
1906 to ensure the test is linked against pthreads.
1907 * gdb.threads/tls-var-main.c: Likewise.
1908 * gdb.threads/tls-shared.c: Likewise.
1909
1f74d3b5
YQ
19102013-07-18 Yao Qi <yao@codesourcery.com>
1911
1912 * lib/future.exp (gdb_default_target_compile): Use tail name
1913 of $destfile as the output name of compile. Move the
1914 generated file to $destfile on build.
1915
f6dc277e
YQ
19162013-07-18 Yao Qi <yao@codesourcery.com>
1917
1918 * lib/gdb.exp (gdb_compile): Set
1919 gdb_saved_set_unbuffered_mode_obj to
1920 set_unbuffered_mode_saved.o if host is remote. Invoke
1921 remote_download to copy $unbuf_obj to host.
1922
e7045703
DE
19232013-07-17 Doug Evans <dje@google.com>
1924
1925 * gdb.python/py-frame-args.c: New file.
1926 * gdb.python/py-frame-args.py: New file.
1927 * gdb.python/py-frame-args.exp New file.
1928
5ea5559b
AB
19292013-07-16 Andrew Burgess <aburgess@broadcom.com>
1930
1931 * gdb.base/printcmds.exp (test_printf): Add tests for format
1932 strings with missing format specifier.
1933
4229ca0e
TT
19342013-07-16 Tom Tromey <tromey@redhat.com>
1935
1936 * gdb.ada/info_types.exp: Use standard_testfile.
1937
5ee657d5
TT
19382013-07-16 Tom Tromey <tromey@redhat.com>
1939
1940 * gdb.mi/mi-basics.exp: Use standard_output_file.
1941 (test_dir_specification, test_cwd_specification)
1942 (test_path_specification): Use testsubdir, not subdir and objdir.
1943
20e3d738
TT
19442013-07-16 Tom Tromey <tromey@redhat.com>
1945
1946 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
1947
7d7c6477
JB
19482013-07-09 Joel Brobecker <brobecker@adacore.com>
1949
1950 * gdb.ada/small_reg_param.exp: Accept optional entry value
1951 for parameter "w".
1952
52cd8b7d
JB
19532013-07-09 Joel Brobecker <brobecker@adacore.com>
1954
1955 * gdb.ada/small_reg_param.exp: Remove trailing space.
1956
2a998fc0
DE
19572013-07-09 Doug Evans <dje@google.com>
1958
1959 * gdb.base/default.exp: Update expected output of "show print array"
1960 and "show print pretty".
1961
0329e9fb
UW
19622013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1963
1964 * gdb.threads/wp-replication.exp: Stop counting available hardware
1965 watchpoints after NR_THREADS iterations.
1966
1953058f
AB
19672013-07-08 Andrew Burgess <aburgess@broadcom.com>
1968
1969 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
1970
7c0de741
YQ
19712013-07-07 Yao Qi <yao@codesourcery.com>
1972
1973 * boards/native-gdbserver.exp: Move invoke of
1974 process_multilib_options to gdbserver-base.exp.
1975 Move set_board_info 'compiler', 'gdb,noinferiorio',
1976 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
1977 gdbserver-base.exp.
1978 Move proc ${board}_download, ${board}_upload and
1979 ${board}_file to gdbserver-base.exp.
1980 * boards/native-extended-gdbserver.exp: Likewise.
1981 * boards/native-stdio-gdbserver.exp: Likewise.
1982 * boards/gdbserver-base.exp: New file.
1983
497a4c48
LM
19842013-07-05 Luis Machado <lgustavo@codesourcery.com>
1985
1986 * gdb.base/dump.exp: Remove arch-specific tests and do a
1987 generic data address check to set is64bitonly correctly.
1988
bb3f62fc
LM
19892013-07-05 Luis Machado <lgustavo@codesourcery.com>
1990
1991 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
1992 the register number instead of expecting only 0.
1993
005faa9d
WN
19942013-07-05 Will Newton <will.newton@linaro.org>
1995
1996 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
1997 in asm syntax to allow building on ARM.
1998
4767856f
YQ
19992013-07-05 Yao Qi <yao@codesourcery.com>
2000
2001 * boards/local-remote-host.exp: Remove obsolete comments.
2002 * boards/native-extended-gdbserver.exp: Likewise.
2003 * boards/native-gdbserver.exp: Likewise.
2004 * boards/native-stdio-gdbserver.exp: Likewise.
2005
691a26f5
AB
20062013-07-04 Andrew Burgess <aburgess@broadcom.com>
2007
2008 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
2009 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
2010 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
2011
4d142eaa
JK
20122013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2013
2014 * gdb.base/break-on-linker-gcd-function.exp: Replace
2015 prepare_for_testing by build_executable_from_specs and clean_restart.
2016
62cef515
TT
20172013-06-27 Tom Tromey <tromey@redhat.com>
2018
2019 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
2020 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
2021 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
2022 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
2023 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
2024 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
2025 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
2026 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
2027 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
2028 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
2029 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
2030 Use standard_testfile, standard_output_file, prepare_for_testing,
2031 clean_restart.
2032
0ab77f5f
TT
20332013-06-27 Tom Tromey <tromey@redhat.com>
2034
2035 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
2036 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
2037 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
2038 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2039 gdb.base/shreloc.exp, gdb.base/sigall.exp,
2040 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
2041 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
2042 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
2043 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
2044 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
2045 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
2046 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
2047 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
2048 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
2049 gdb.base/solib-weak.exp, gdb.base/source.exp,
2050 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
2051 gdb.base/stap-probe.exp, gdb.base/start.exp,
2052 gdb.base/step-break.exp, gdb.base/step-bt.exp,
2053 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
2054 gdb.base/step-test.exp, gdb.base/structs.exp,
2055 gdb.base/structs2.exp, gdb.base/structs3.exp,
2056 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
2057 standard_output_file, prepare_for_testing, clean_restart.
2058
822bd149
TT
20592013-06-27 Tom Tromey <tromey@redhat.com>
2060
2061 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
2062 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
2063 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
2064 gdb.base/pending.exp, gdb.base/permissions.exp,
2065 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
2066 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
2067 gdb.base/printcmds.exp, gdb.base/prologue.exp,
2068 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
2069 gdb.base/ptype.exp, gdb.base/randomize.exp,
2070 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
2071 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
2072 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
2073 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
2074 standard_testfile, standard_output_file, prepare_for_testing,
2075 clean_restart.
2076
f8b41b00
TT
20772013-06-27 Tom Tromey <tromey@redhat.com>
2078
a8c97a87
TT
2079 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
2080 gdb.base/huge.exp, gdb.base/included.exp,
2081 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
2082 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
2083 gdb.base/info-os.exp, gdb.base/info-proc.exp,
2084 gdb.base/info-target.exp, gdb.base/infoline.exp,
2085 gdb.base/interp.exp, gdb.base/interrupt.exp,
2086 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
2087 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
2088 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
2089 gdb.base/logical.exp, gdb.base/long_long.exp,
2090 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
2091 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
2092 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
2093 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
2094 standard_testfile, standard_output_file, prepare_for_testing,
2095 clean_restart.
2096
289f9037
TT
20972013-06-27 Tom Tromey <tromey@redhat.com>
2098
a8c97a87
TT
2099 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
2100 gdb.base/enumval.exp, gdb.base/environ.exp,
2101 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
2102 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
2103 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
2104 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
2105 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
2106 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
2107 gdb.base/fullname.exp, gdb.base/funcargs.exp,
2108 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
2109 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
2110 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
2111 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
2112 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
2113 gdb.base/gnu_vector.exp: Use standard_testfile,
2114 standard_output_file, prepare_for_testing, clean_restart.
289f9037 2115
f76495c8
TT
21162013-06-27 Tom Tromey <tromey@redhat.com>
2117
a8c97a87
TT
2118 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
2119 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
2120 gdb.base/call-strs.exp, gdb.base/callexit.exp,
2121 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
2122 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
2123 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
2124 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
2125 gdb.base/commands.exp, gdb.base/completion.exp,
2126 gdb.base/complex.exp, gdb.base/cond-expr.exp,
2127 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
2128 gdb.base/constvars.exp, gdb.base/corefile.exp,
2129 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
2130 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2131 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
2132 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
2133 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
2134 standard_output_file, prepare_for_testing, clean_restart.
2135
a64d2530
TT
21362013-06-27 Tom Tromey <tromey@redhat.com>
2137
a8c97a87
TT
2138 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
2139 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
2140 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
2141 gdb.base/async-shell.exp, gdb.base/async.exp,
2142 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
2143 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
2144 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
2145 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
2146 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
2147 gdb.base/break-on-linker-gcd-function.exp,
2148 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
2149 standard_output_file, prepare_for_testing, clean_restart.
2150
aaff8d73
YQ
21512013-06-26 Yao Qi <yao@codesourcery.com>
2152
2153 * gdb.trace/mi-trace-frame-collected.exp: New.
2154
a0743c90
YQ
21552013-06-25 Yao Qi <yao@codesourcery.com>
2156
2157 * boards/native-extended-gdbserver.exp: Set board_info
2158 'gdb,predefined_tsv'.
2159 * boards/native-gdbserver.exp: Likewise.
2160 * boards/native-stdio-gdbserver.exp: Likewise.
2161 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
2162 uploaded TSVs if target supports tracing.
2163 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
2164 tracing and target has predefined tsv.
2165
9d6e6e84
HZ
21662013-06-25 Yao Qi <yao@codesourcery.com>
2167 Hui Zhu <hui@codesourcery.com>
2168 Pedro Alves <palves@redhat.com>
2169
2170 PR breakpoints/15075
2171 PR breakpoints/15434
2172 * gdb.base/dprintf-next.c: New file.
2173 * gdb.base/dprintf-next.exp: New file.
2174 * gdb.base/dprintf-non-stop.c: New file.
2175 * gdb.base/dprintf-non-stop.exp: New file.
2176 * gdb.base/dprintf.exp: Don't check "continue" in the output
2177 of "info breakpoints".
2178 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2179 Don't check "continue" in script field.
2180
e7ab3185
TT
21812013-06-21 Tom Tromey <tromey@redhat.com>
2182
2183 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
2184 name in a test name.
2185
c898adb7
YQ
21862013-06-20 Yao Qi <yao@codesourcery.com>
2187
2188 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
2189 and set an action.
2190 (test_trace_unavailable): Test command -data-list-register-values
2191 in the context of traceframe and with option --skip-unavailable.
2192 * gdb.trace/trace-unavailable.c (foo): New.
2193 (main): Call it.
2194 * gdb.mi/gdb2549.exp: Update matching pattern.
2195
4d157a3d
MF
21962013-06-19 Mike Frysinger <vapier@gentoo.org>
2197
2198 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
2199 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
2200 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
2201 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
2202 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
2203
d69cace4
LM
22042013-06-19 Luis Machado <lgustavo@codesourcery.com>
2205
2206 * gdb.base/subst.exp: Delete default rules before further
2207 tests.
2208
9bdd0636
YQ
22092013-06-19 Yao Qi <yao@codesourcery.com>
2210
2211 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
2212 unsupported if it is not registered.
2213
427cd150
TT
22142013-06-18 Tom Tromey <tromey@redhat.com>
2215
2216 * gdb.base/random-signal.c: New file.
2217 * gdb.base/random-signal.exp: New file.
2218
6de7c271
WN
22192013-06-18 Will Newton <will.newton@linaro.org>
2220
2221 * gdb.base/skip.c: Use comma to evaluate results of foo()
2222 and bar() before passing to baz().
2223 * gdb.base/skip.c: baz() now takes one argument instead of
2224 two.
2225
5bd1ef56
TT
22262013-06-18 Tom Tromey <tromey@redhat.com>
2227
2228 * gdb.dwarf2/implptrpiece.exp: New file.
2229 * gdb.dwarf2/implptrconst.exp (d): New variable.
2230 Print d.
2231 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
2232
e379b391
TT
22332013-06-18 Tom Tromey <tromey@redhat.com>
2234
2235 * lib/selftest-support.exp (do_self_tests): Reject remote or
2236 non-native targets.
2237 * gdb.gdb/complaints.exp: Remove check.
2238 * gdb.gdb/observer.exp: Remove check.
2239 * gdb.gdb/xfullpath.exp: Remove check.
2240 * gdb.gdb/complaints.exp: Remove check.
2241
4ec70201
PA
22422013-06-07 Pedro Alves <palves@redhat.com>
2243
2244 * boards/native-extended-gdbserver.exp: Remove semicolon.
2245 * config/arm-ice.exp: Likewise.
2246 * config/bfin.exp: Likewise.
2247 * config/cygmon.exp: Likewise.
2248 * config/h8300.exp: Likewise.
2249 * config/monitor.exp: Likewise.
2250 * config/sid.exp: Likewise.
2251 * config/sim.exp: Likewise.
2252 * config/slite.exp: Likewise.
2253 * config/vx.exp: Likewise.
2254 * gdb.arch/i386-bp_permanent.exp: Likewise.
2255 * gdb.asm/asm-source.exp: Likewise.
2256 * gdb.base/args.exp: Likewise.
2257 * gdb.base/attach-pie-misread.exp: Likewise.
2258 * gdb.base/auxv.exp: Likewise.
2259 * gdb.base/bigcore.exp: Likewise.
2260 * gdb.base/bitfields2.exp: Likewise.
2261 * gdb.base/bitfields.exp: Likewise.
2262 * gdb.base/break.exp: Likewise.
2263 * gdb.base/break-interp.exp: Likewise.
2264 * gdb.base/callfuncs.exp: Likewise.
2265 * gdb.base/call-sc.exp: Likewise.
2266 * gdb.base/commands.exp: Likewise.
2267 * gdb.base/corefile.exp: Likewise.
2268 * gdb.base/dbx.exp: Likewise.
2269 * gdb.base/ending-run.exp: Likewise.
2270 * gdb.base/exprs.exp: Likewise.
2271 * gdb.base/funcargs.exp: Likewise.
2272 * gdb.base/hbreak2.exp: Likewise.
2273 * gdb.base/huge.exp: Likewise.
2274 * gdb.base/list.exp: Likewise.
2275 * gdb.base/memattr.exp: Likewise.
2276 * gdb.base/overlays.exp: Likewise.
2277 * gdb.base/printcmds.exp: Likewise.
2278 * gdb.base/recurse.exp: Likewise.
2279 * gdb.base/remotetimeout.exp: Likewise.
2280 * gdb.base/reread.exp: Likewise.
2281 * gdb.base/savedregs.exp: Likewise.
2282 * gdb.base/scope.exp: Likewise.
2283 * gdb.base/sepdebug.exp: Likewise.
2284 * gdb.base/setshow.exp: Likewise.
2285 * gdb.base/setvar.exp: Likewise.
2286 * gdb.base/sigaltstack.exp: Likewise.
2287 * gdb.base/siginfo-addr.exp: Likewise.
2288 * gdb.base/siginfo.exp: Likewise.
2289 * gdb.base/siginfo-obj.exp: Likewise.
2290 * gdb.base/sigrepeat.exp: Likewise.
2291 * gdb.base/sigstep.exp: Likewise.
2292 * gdb.base/structs.exp: Likewise.
2293 * gdb.base/testenv.exp: Likewise.
2294 * gdb.base/twice.exp: Likewise.
2295 * gdb.base/valgrind-db-attach.exp: Likewise.
2296 * gdb.base/valgrind-infcall.exp: Likewise.
2297 * gdb.base/varargs.exp: Likewise.
2298 * gdb.base/watchpoint.exp: Likewise.
2299 * gdb.cp/gdb1355.exp: Likewise.
2300 * gdb.cp/misc.exp: Likewise.
2301 * gdb.disasm/hppa.exp: Likewise.
2302 * gdb.disasm/t01_mov.exp: Likewise.
2303 * gdb.disasm/t02_mova.exp: Likewise.
2304 * gdb.disasm/t03_add.exp: Likewise.
2305 * gdb.disasm/t04_sub.exp: Likewise.
2306 * gdb.disasm/t05_cmp.exp: Likewise.
2307 * gdb.disasm/t06_ari2.exp: Likewise.
2308 * gdb.disasm/t07_ari3.exp: Likewise.
2309 * gdb.disasm/t08_or.exp: Likewise.
2310 * gdb.disasm/t09_xor.exp: Likewise.
2311 * gdb.disasm/t10_and.exp: Likewise.
2312 * gdb.disasm/t11_logs.exp: Likewise.
2313 * gdb.disasm/t12_bit.exp: Likewise.
2314 * gdb.disasm/t13_otr.exp: Likewise.
2315 * gdb.gdb/selftest.exp: Likewise.
2316 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2317 * gdb.mi/mi-reverse.exp: Likewise.
2318 * gdb.pascal/floats.exp: Likewise.
2319 * gdb.python/py-inferior.exp: Likewise.
2320 * gdb.threads/attach-into-signal.exp: Likewise.
2321 * gdb.threads/pthreads.exp: Likewise.
2322 * gdb.threads/thread_events.exp: Likewise.
2323 * gdb.threads/watchthreads.exp: Likewise.
2324 * gdb.trace/actions-changed.exp: Likewise.
2325 * gdb.trace/actions.exp: Likewise.
2326 * gdb.trace/ax.exp: Likewise.
2327 * gdb.trace/backtrace.exp: Likewise.
2328 * gdb.trace/change-loc.exp: Likewise.
2329 * gdb.trace/deltrace.exp: Likewise.
2330 * gdb.trace/disconnected-tracing.exp: Likewise.
2331 * gdb.trace/ftrace.exp: Likewise.
2332 * gdb.trace/infotrace.exp: Likewise.
2333 * gdb.trace/passc-dyn.exp: Likewise.
2334 * gdb.trace/passcount.exp: Likewise.
2335 * gdb.trace/pending.exp: Likewise.
2336 * gdb.trace/qtro.exp: Likewise.
2337 * gdb.trace/range-stepping.exp: Likewise.
2338 * gdb.trace/report.exp: Likewise.
2339 * gdb.trace/save-trace.exp: Likewise.
2340 * gdb.trace/status-stop.exp: Likewise.
2341 * gdb.trace/strace.exp: Likewise.
2342 * gdb.trace/tfile.exp: Likewise.
2343 * gdb.trace/tfind.exp: Likewise.
2344 * gdb.trace/trace-break.exp: Likewise.
2345 * gdb.trace/tracecmd.exp: Likewise.
2346 * gdb.trace/trace-mt.exp: Likewise.
2347 * gdb.trace/tspeed.exp: Likewise.
2348 * gdb.trace/tsv.exp: Likewise.
2349 * gdb.trace/while-stepping.exp: Likewise.
2350 * lib/gdb.exp: Likewise.
2351 * lib/gdbserver-support.exp: Likewise.
2352 * lib/java.exp: Likewise.
2353 * lib/mi-support.exp: Likewise.
2354 * lib/pascal.exp: Likewise.
2355 * lib/prompt.exp: Likewise.
2356 * lib/trace-support.exp: Likewise.
2357
47d48711
PA
23582013-06-07 Pedro Alves <palves@redhat.com>
2359
2360 * gdb.ada/info_types.c: Fix formating in copyright header.
2361 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
2362 * gdb.base/float.c: Likewise.
2363 * gdb.base/inferior-died.c: Likewise.
2364 * gdb.base/interp.c: Likewise.
2365 * gdb.base/jit-main.c: Likewise.
2366 * gdb.base/jit-solib.c: Likewise.
2367 * gdb.base/long_long.c: Likewise.
2368 * gdb.base/longjmp.c: Likewise.
2369 * gdb.base/nextoverexit.c: Likewise.
2370 * gdb.base/pr11022.c: Likewise.
2371 * gdb.base/prelink-lib.c: Likewise.
2372 * gdb.base/prelink.c: Likewise.
2373 * gdb.base/prologue.c: Likewise.
2374 * gdb.base/restore.c: Likewise.
2375 * gdb.base/sigchld.c: Likewise.
2376 * gdb.base/solib-search-lib1.c: Likewise.
2377 * gdb.base/solib-search-lib2.c: Likewise.
2378 * gdb.base/solib-search.c: Likewise.
2379 * gdb.base/solib-search.h: Likewise.
2380 * gdb.base/whatis.c: Likewise.
2381 * gdb.cp/abstract-origin.cc: Likewise.
2382 * gdb.cp/anon-struct.cc: Likewise.
2383 * gdb.cp/baseenum.cc: Likewise.
2384 * gdb.cp/bs15503.cc: Likewise.
2385 * gdb.cp/call-c-1.c: Likewise.
2386 * gdb.cp/call-c.cc: Likewise.
2387 * gdb.cp/class2.cc: Likewise.
2388 * gdb.cp/classes.cc: Likewise.
2389 * gdb.cp/cttiadd.cc: Likewise.
2390 * gdb.cp/cttiadd1.cc: Likewise.
2391 * gdb.cp/cttiadd2.cc: Likewise.
2392 * gdb.cp/cttiadd3.cc: Likewise.
2393 * gdb.cp/derivation.cc: Likewise.
2394 * gdb.cp/derivation2.cc: Likewise.
2395 * gdb.cp/dispcxx.cc: Likewise.
2396 * gdb.cp/exception.cc: Likewise.
2397 * gdb.cp/gdb2384-base.cc: Likewise.
2398 * gdb.cp/gdb2384-base.h: Likewise.
2399 * gdb.cp/gdb2384.cc: Likewise.
2400 * gdb.cp/gdb2495.cc: Likewise.
2401 * gdb.cp/mb-inline.h: Likewise.
2402 * gdb.cp/mb-inline1.cc: Likewise.
2403 * gdb.cp/mb-inline2.cc: Likewise.
2404 * gdb.cp/member-name.cc: Likewise.
2405 * gdb.cp/member-ptr.cc: Likewise.
2406 * gdb.cp/misc.cc: Likewise.
2407 * gdb.cp/namespace1.cc: Likewise.
2408 * gdb.cp/nextoverthrow.cc: Likewise.
2409 * gdb.cp/pr-574.cc: Likewise.
2410 * gdb.cp/pr9631.cc: Likewise.
2411 * gdb.cp/printmethod.cc: Likewise.
2412 * gdb.cp/psmang1.cc: Likewise.
2413 * gdb.cp/psmang2.cc: Likewise.
2414 * gdb.cp/psymtab-parameter.cc: Likewise.
2415 * gdb.cp/ptype-flags.cc: Likewise.
2416 * gdb.cp/ref-params.cc: Likewise.
2417 * gdb.cp/ref-types.cc: Likewise.
2418 * gdb.cp/smartp.cc: Likewise.
2419 * gdb.cp/try_catch.cc: Likewise.
2420 * gdb.cp/userdef.cc: Likewise.
2421 * gdb.cp/using-crash.cc: Likewise.
2422 * gdb.cp/virtfunc.cc: Likewise.
2423 * gdb.cp/virtfunc2.cc: Likewise.
2424 * gdb.dwarf2/callframecfa.S: Likewise.
2425 * gdb.dwarf2/dw2-ranges.c: Likewise.
2426 * gdb.dwarf2/dw2-ranges2.c: Likewise.
2427 * gdb.dwarf2/dw2-ranges3.c: Likewise.
2428 * gdb.dwarf2/dw2-restore.S: Likewise.
2429 * gdb.dwarf2/pieces.S: Likewise.
2430 * gdb.dwarf2/valop.S: Likewise.
2431 * gdb.java/jnpe.java: Likewise.
2432 * gdb.mi/mi-stepn.c: Likewise.
2433 * gdb.mi/mi-var-cp.cc: Likewise.
2434 * gdb.mi/mi-var-rtti.cc: Likewise.
2435 * gdb.mi/ns-stale-regcache.c: Likewise.
2436 * gdb.mi/pr11022.c: Likewise.
2437 * gdb.mi/solib-lib.c: Likewise.
2438 * gdb.mi/solib-main.c: Likewise.
2439 * gdb.python/py-arch.c: Likewise.
2440 * gdb.python/py-block.c: Likewise.
2441 * gdb.python/py-breakpoint.c: Likewise.
2442 * gdb.python/py-events.c: Likewise.
2443 * gdb.python/py-evthreads.c: Likewise.
2444 * gdb.python/py-explore.c: Likewise.
2445 * gdb.python/py-explore.cc: Likewise.
2446 * gdb.python/py-finish-breakpoint.c: Likewise.
2447 * gdb.python/py-finish-breakpoint2.cc: Likewise.
2448 * gdb.python/py-symbol.c: Likewise.
2449 * gdb.threads/execl.c: Likewise.
2450 * gdb.threads/execl1.c: Likewise.
2451
88ab5684
WN
24522013-06-07 Will Newton <will.newton@linaro.org>
2453
2454 * gdb.base/long_long.exp: Fix ARM EABI target glob.
2455
42daa7a0
WN
24562013-06-07 Will Newton <will.newton@linaro.org>
2457
2458 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
2459 and "starting".
2460
f4059ef3
WN
24612013-06-07 Will Newton <will.newton@linaro.org>
2462
2463 * gdb.cp/anon-struct.exp: Conditionalize constructor and
2464 destructor prototypes for ARM ABI.
2465 * gdb.cp/m-static.exp: Likewise.
2466
8cb5cc78
YQ
24672013-06-07 Yao Qi <yao@codesourcery.com>
2468
2469 * gdb.trace/mi-trace-unavailable.exp: New.
2470 * gdb.trace/trace-unavailable.c: New.
2471
c6cf1712
DE
24722013-06-06 Doug Evans <dje@google.com>
2473
2474 * gdb.cp/derivation.exp: Make tests have unique names.
2475
bf6be0f4
TT
24762013-06-06 Tom Tromey <tromey@redhat.com>
2477
2478 * gdb.base/dump.exp (capture_value): Don't put expression into
2479 test name if arguments passed in.
2480 Rename a couple more tests to make them unique.
2481
ebb022fa
TT
24822013-06-06 Tom Tromey <tromey@redhat.com>
2483
2484 * gdb.base/break-always.exp: Explicitly specify test name.
2485
69fc87c2
DE
24862013-06-05 Doug Evans <dje@google.com>
2487 Keith Seitz <keiths@redhat.com>
2488
2489 * gdb.cp/derivation2.cc: New file.
2490 * gdb.cp/derivation.cc (main): Call foo2.
2491 * gdb.cp/derivation.exp: Add tests for typedefs in another
2492 file, and when there's an active block.
2493
f993f39e
LM
24942013-06-05 Luis Machado <lgustavo@codesourcery.com>
2495
2496 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
2497 from targets that use function descriptors in the virtual tables.
2498 Handle presence of dot symbols.
2499
afacd7f3
GB
25002013-06-04 Gary Benson <gbenson@redhat.com>
2501
2502 * gdb.base/break-probes.exp: New file.
2503 * gdb.base/break-probes.c: Likewise.
2504 * gdb.base/break-probes-solib.c: Likewise.
2505 * gdb.base/info-shared.exp: New file.
2506 * gdb.base/info-shared.c: Likewise.
2507 * gdb.base/info-shared-solib1.c: Likewise.
2508 * gdb.base/info-shared-solib2.c: Likewise.
2509
a29a3fb7
GB
25102013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2511 Gary Benson <gbenson@redhat.com>
2512
2513 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
2514 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
2515 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
2516 to be set to "no" to indicate that no ld.so copy should be made.
2517 * gdb.base/break-interp.exp (solib_bp): New constant.
2518 (reach_1): Use the above instead of "_dl_debug_state".
2519 (test_attach): Likewise.
2520 (test_ld): Likewise.
2521 * gdb.threads/dlopen-libpthread.exp: New file.
2522 * gdb.threads/dlopen-libpthread.c: Likewise.
2523 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
2524 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
2525
62a813cc
YQ
25262013-05-30 Yao Qi <yao@codesourcery.com>
2527
2528 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2529 Add a test that no MI notification is emitted when executing
2530 -exec-arguments.
2531
8f56dad4
JK
25322013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2533
2534 PR testsuite/12649
2535 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
2536 $mi_gdb_prompt expectation by mi_expect_stop.
2537 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
2538 (mi info dprintf second time): Replace them by mi_send_resuming_command
2539 and mi_expect_stop.
2540
c588eb20
GB
25412013-05-24 Gary Benson <gbenson@redhat.com>
2542
2543 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
2544 backslash.
2545 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
2546 backslashes.
2547 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
2548 backslash.
2549
c0ea94eb
YQ
25502013-05-24 Yao Qi <yao@codesourcery.com>
2551
2552 * gdb.trace/tfile.exp: Test inferior and thread.
2553
db1ac436
YQ
25542013-05-24 Yao Qi <yao@codesourcery.com>
2555 Pedro Alves <palves@redhat.com>
2556
2557 * gdb.base/range-stepping.exp: Skip the rest of tests if the
2558 test fails.
2559 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2560 Return 0 if the test passes, otherwise return 1.
2561
b6abb10c
DE
25622013-05-23 Doug Evans <dje@google.com>
2563
2564 * boards/fission-dwp.exp: New file.
2565
bc5065a7
PA
25662013-05-23 Yao Qi <yao@codesourcery.com>
2567 Pedro Alves <palves@redhat.com>
2568
2569 * gdb.base/range-stepping.c: New file.
2570 * gdb.base/range-stepping.exp: New file.
2571 * gdb.trace/range-stepping.c: New file.
2572 * gdb.trace/range-stepping.exp: New file.
2573 * lib/range-stepping-support.exp: New file.
2574
5f2e6b00
TT
25752013-05-22 Tom Tromey <tromey@redhat.com>
2576
2577 * gdb.cp/class2.cc (main): New local 'aref'.
2578 * gdb.cp/class2.exp: Check printing of 'aref'.
2579
e6ba475a
DE
25802013-05-22 Doug Evans <dje@google.com>
2581
2582 * gdb.threads/wp-replication.c (main): Insert some code at the start
2583 to ensure the breakpoint on main is only hit once. Fix comment.
2584
52c935b6
KS
25852013-05-21 Keith Seitz <keiths@redhat.com>
2586 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
2589 gdb_expect.
2590 Add test to flush the remaining input buffer so that this
2591 file passes testsuite/12649.
2592
bd9673a4
PW
25932013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2594
2595 * gdb.base/catch-signal-fork.exp: New file.
2596 * gdb.base/catch-signal-fork.c: New file.
2597
69a97597
SA
25982013-05-21 Sterling Augustine <saugustine@google.com>
2599
2600 * boards/remote-stdio-gdbserver.exp: New file.
2601
44e97363
JK
26022013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2603
2604 PR testsuite/12649
2605 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
2606 racy matches.
2607
02392865
CG
26082013-05-21 Christian Groessler <chris@groessler.org>
2609
2610 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
2611 since it's not supported in all shells.
2612
c5867ab6
HZ
26132013-05-21 Hui Zhu <hui@codesourcery.com>
2614
2615 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
2616 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
2617
6c9e2db4
DE
26182013-05-20 Doug Evans <dje@google.com>
2619
2620 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
2621 (_handle_DW_TAG): Use it.
2622 (cu, tu): Replace parameters is_64, version, addr_size with options.
2623 All callers updated. Add Fission support.
2624 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
2625 * gdb.dwarf2/method-ptr.exp: Ditto.
2626 * gdb.dwarf2/nostaticblock.exp: Ditto.
2627 * gdb.dwarf2/subrange.exp: Ditto.
2628 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
2629
4a6e676c
TT
26302013-05-20 Tom Tromey <tromey@redhat.com>
2631
2632 * gdb.gdb/python-selftest.exp: New file.
2633
e19d3afb
DE
26342013-05-20 Doug Evans <dje@google.com>
2635
2636 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
2637 -fdebug-types-section.
2638
4d804846
JB
26392013-05-20 Joel Brobecker <brobecker@adacore.com>
2640
2641 * gdb.ada/float_param: New testcase.
2642
8d324e83
DE
26432013-05-17 Doug Evans <dje@google.com>
2644
7d0c9981
DE
2645 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
2646 Add tests for "maint check-symtabs", "maint expand-symtabs".
2647
8d324e83
DE
2648 * gdb.base/maint.exp: Remove testing of individual maint command
2649 help output.
2650
177aadc4
PA
26512013-05-16 Pedro Alves <palves@redhat.com>
2652
2653 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
2654 comment. Use gdb_test_no_output.
2655
b8fea896
JB
26562013-05-16 Joel Brobecker <brobecker@adacore.com>
2657
2658 * gdb.ada/complete.exp: Add test verifying completion using
2659 the "tab" key.
2660
52c935b6
KS
26612013-05-15 Keith Seitz <keiths@redhat.com>
2662
2663 * gdb.base/filesym.exp: New completer test.
2664 * gdb.base/filesym.c: New file.
2665
ed0f00b8
PA
26662013-05-15 Pedro Alves <palves@redhat.com>
2667
2668 * gdb.base/fixsection.c: Remove attribution.
2669 * gdb.base/watch-read.exp: Ditto.
2670
55fb6d27
TT
26712013-05-13 Tom Tromey <tromey@redhat.com>
2672
2673 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
2674 size and change type sizes to 4 bytes.
2675
ac1ca910
TT
26762013-05-13 Tom Tromey <tromey@redhat.com>
2677
2678 * gdb.base/exprs.exp (test_expr): Add regression test.
2679 * gdb.base/exprs.c (null_t_struct): New global.
2680
8414efef
MB
26812013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
2682
2683 * gdb.base/default.exp: Disable history saving.
2684 * gdb.base/setshow.exp: Likewise.
2685
9779ab84
PA
26862013-05-10 Pedro Alves <palves@redhat.com>
2687
2688 PR remote/15455
2689
2690 * gdb.trace/qtro.c: New file.
2691 * gdb.trace/qtro.exp: New file.
2692
1e611234
PM
26932013-05-10 Phil Muldoon <pmuldoon@redhat.com>
2694
2695 * gdb.python/py-framefilter.py: New File.
2696 * gdb.python/py-framefilter-mi.exp: Ditto.
2697 * gdb.python/py-framefilter.c: Ditto.
2698 * gdb.python/py-framefilter-mi.exp: Ditto.
2699 * gdb.python/py-framefilter-mi.c: Ditto,
2700 * gdb.python/py-framefilter-gdb.py.in: Ditto.
2701
5e4c3ac4
TT
27022013-05-08 Tom Tromey <tromey@redhat.com>
2703
2704 * gdb.base/solib-search.exp: Set test name for "set
2705 solib-search-path" test.
2706
993654a9
HAQ
27072013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
2708
2709 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
2710 (set_a_tracepoint): Set tracepoint before prologue.
2711 (run_trace_experiment): Test setup_tracepoints and 'break end'
2712 in it.
2713 (trace_buffer_normal): Remove.
2714 (gdb_trace_circular_tests): Remove. Move tests to...
2715 (top level): ...here. Call 'runto_main' before checking for
2716 trace support. Use commands to check the support for circular
2717 trace buffer and changing of trace buffer size. Add test
2718 to calculate size of single frame. Use this size to
2719 calculate the size of trace buffer. Use 'tfind pc func9'
2720 instead of 'tfind 9'. Use 'with_test_prefix'.
2721
c95aea6b
TT
27222013-05-07 Tom Tromey <tromey@redhat.com>
2723
2724 * lib/selftest-support.exp: New file.
2725 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
2726 do_self_tests.
2727 (setup_test, find_gdb): Remove.
2728 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
2729 do_self_tests.
2730 (setup_test, find_gdb): Remove.
2731 (test_observer): Don't call setup_test. Remove argument.
2732 * gdb.gdb/selftest.exp: Load selftest-support.exp.
2733 (find_gdb): Remove.
2734 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
2735 do_self_tests.
2736 (setup_test, find_gdb): Remove.
2737 (test_with_self): Don't call setup_test. Remove argument.
2738
1f031429
PA
27392013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2740
2741 * gdb.arch/system-gcore.exp: Remove.
2742 * gdb.arch/gcore.c: Remove.
2743 * gdb.base/gcore.exp: Add "info reg system".
2744
58ce7251
SDJ
27452013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
2746
2747 PR breakpoints/15413:
2748 * gdb.base/pending.exp: Add test for completion of the "condition"
2749 command for pending breakpoints.
2750 * gdb.linespec/linespec.ex: Add test for completion of the
2751 "condition" command when dealing with multiple locations.
2752
aacbb8a5
LM
27532013-05-07 Luis Machado <lgustavo@codesourcery.com>
2754
2755 * gdb.threads/wp-replication.c: New file.
2756 * gdb.threads/wp-replication.exp: New file.
2757
2dd6254d
SL
27582013-05-06 Sandra Loosemore <sandra@codesourcery.com>
2759
2760 * gdb.xml/tdesc-regs.exp: Add case for nios2.
2761
c2a96e8c
DE
27622013-05-06 Doug Evans <dje@google.com>
2763
b903e17e
DE
2764 * gdb.base/solib-search-lib1.c: New file.
2765 * gdb.base/solib-search-lib2.c: New file.
2766 * gdb.base/solib-search.c: New file.
2767 * gdb.base/solib-search.h: New file.
2768 * gdb.base/solib-search.exp: New file.
2769
fac51dd9
DE
2770 * lib/gdb.exp (gdb_core_cmd): New function.
2771 * gdb.arch/system-gcore.exp: Use it.
2772 * gdb.arch/vsx-regs.exp: Ditto.
2773 * gdb.base/gcore.exp: Ditto.
2774 * gdb.threads/gcore-thread.exp: Ditto.
2775
c2a96e8c
DE
2776 * gdb.reverse/shr.h: New file.
2777 * gdb.reverse/shr1.c: New file.
2778 * gdb.reverse/shr2.c: #include "shr.h".
2779 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
2780 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
2781 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
2782 Update tests using sleep/printf to use shr2.sl instead.
2783 * gdb.reverse/solib-reverse.exp: Ditto.
2784
b6807d98
TT
27852013-05-06 Tom Tromey <tromey@redhat.com>
2786
2787 * gdb.dwarf2/implptrconst.c: New file.
2788 * gdb.dwarf2/implptrconst.exp: New file.
2789 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
2790 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
2791 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
2792
96f7d3f1
PW
27932013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2794
2795 * gdb.base/catch-sig.c (main): Raise SIGINT.
2796 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
2797
1ebff1fd
HAQ
27982013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
2799
2800 * status-stop.exp (test_tstart_tstart): Check for error
2801 returned by the second 'tstart' command.
2802
f92b06da
WT
28032013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2804
2805 * gdb.xml/maint_print_struct.exp: New file.
2806 * gdb.xml/maint_print_struct.xml: New file.
2807
ff546935
TT
28082013-04-25 Tom Tromey <tromey@redhat.com>
2809
2810 * gdb.dwarf2/nostaticblock.exp: New file.
2811
bf9e4d0c
MB
28122013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
2813
2814 PR gdb/10462
2815 * gdb.base/setshow.exp: Add test case.
2816
a11cfd87
HZ
28172013-04-23 Hui Zhu <hui@codesourcery.com>
2818
2819 PR gdb/15293
a11cfd87
HZ
2820 * gdb.base/dprintf.exp: Add ignore command.
2821
2d9442cc
HZ
28222013-04-23 Hui Zhu <hui@codesourcery.com>
2823
2824 PR gdb/15165
2d9442cc
HZ
2825 * gdb.base/save-bp.exp: Add test for dprintf.
2826
0f3305ed
TT
28272013-04-22 Tom Tromey <tromey@redhat.com>
2828
2829 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
2830 notice_open_fds.
2831
d504301e
SDJ
28322013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2833
2834 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
2835 ldflags.
2836
9991b207
SDJ
28372013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2838
2839 * gdb.arch/arm-bl-branch-dest.c: New file.
2840 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
2841
433730c9
PA
28422013-04-19 Vladimir Kargov <kargov@gmail.com>
2843 Pedro Alves <palves@redhat.com>
2844
2845 * gdb.arch/i386-float.S: New file.
2846 * gdb.arch/i386-float.exp: New file.
2847
9a908334
LM
28482013-04-18 Luis Machado <lgustavo@codesourcery.com>
2849
2850 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
2851 type void *.
2852
4f22ed5c
DE
28532013-04-17 Doug Evans <dje@google.com>
2854
2855 * lib/dwarf.exp (Dwarf): New proc "tu".
2856 * gdb.dwarf2/missing-sig-type.exp: New file.
2857
a0d3f2f5
SCR
28582013-04-15 Siva Chandra Reddy <sivachandra@google.com>
2859
2860 Add option to link testcases with Pthreads library when
2861 using 'prepare_for_testing' in tests.
2862
2863 * lib/gdb.exp (build_executable_from_specs): Use
2864 gdb_compile_pthreads to compile if option "pthreads" is
2865 specified.
2866
cc16e6c9
TT
28672013-04-15 Tom Tromey <tromey@redhat.com>
2868
2869 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
2870
72f1fe8a
TT
28712013-04-15 Tom Tromey <tromey@redhat.com>
2872
2873 * gdb.base/default.exp: Update for $_exception.
2874 * gdb.cp/exceptprint.cc: New file.
2875 * gdb.cp/exceptprint.exp: New file.
2876 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
2877
6e72ca20
TT
28782013-04-15 Tom Tromey <tromey@redhat.com>
2879
2880 * gdb.cp/typeid.cc: New file.
2881 * gdb.cp/typeid.exp: New file.
2882
591f19e8
TT
28832013-04-15 Tom Tromey <tromey@redhat.com>
2884
2885 * gdb.cp/exception.exp: Add "catch rethrow" tests.
2886
da9160e4
YQ
28872013-04-13 Yao Qi <yao@codesourcery.com>
2888
2889 * gdb.base/completion.exp: Test completion of command
2890 'target ctf' if target ctf is supported.
2891
f81d1120
PA
28922013-04-10 Pedro Alves <palves@redhat.com>
2893
2894 * gdb.base/completion.exp: Test "set height", "set listsize" and
2895 "set trace-buffer-size" completion.
2896 * gdb.base/setshow.exp: Test "set height unlimited".
2897 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
2898 unlimited".
2899
393fd4c3
YQ
29002013-04-10 Yao Qi <yao@codesourcery.com>
2901
2902 * gdb.trace/actions.exp: Save trace data to CTF.
2903 Change to ctf target if GDB supports, read CTF data in ctf
2904 target, and check the actions of tracepoints.
2905 * gdb.trace/while-stepping.exp: Likewise.
2906 * gdb.trace/report.exp: Test GDB saves trace data to CTF
2907 format and read CTF trace file if GDB supports.
2908 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
2909 target is supported, change to ctf target, read trace data and
2910 check output of command "tstatus".
2911 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
2912 read CTF data by target ctf and call check_tsv.
2913
b7a273f8
YQ
29142013-04-10 Yao Qi <yao@codesourcery.com>
2915
2916 * gdb.trace/actions.exp (check_tracepoint): New.
2917 (top level): Start the tracing and check the actions of
2918 tracepoints. Save trace data to tfile format. Restart GDB
2919 and read trace file in tfile target. Check the actions of
2920 tracepoints again.
2921 * gdb.trace/while-stepping.exp: Likewise.
2922
f3786771
YQ
29232013-04-10 Yao Qi <yao@codesourcery.com>
2924
2925 * gdb.trace/report.exp: Use standard_output_file for saved
2926 trace file.
2927
5c2b4418
HZ
29282013-04-10 Hui Zhu <hui@codesourcery.com>
2929
2930 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
2931 (MISCELLANEOUS): Add dprintf-pendshr.sl.
2932 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
2933
f7543f0a
JK
29342013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2935
2936 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
2937 response.
2938
f6de8ec2
PA
29392013-04-08 Pedro Alves <palves@redhat.com>
2940
2941 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
2942 the location.
2943
b8abfd58
SL
29442013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2945
2946 * gdb.cp/cplabel.exp: Allow empty directory in file reported
2947 for breakpoint location.
2948
156bffd0
SL
29492013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2950
2951 * gdb.linespec/linespec.exp: Make dir/file:line tests
2952 conditional for non-remote hosts only.
2953
c9a6ce02
PA
29542013-04-04 Stan Shebs <stan@codesourcery.com>
2955 Pedro Alves <palves@redhat.com>
2956
2957 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
2958 * gdb.trace/actions-changed.c: New file.
2959 * gdb.trace/actions-changed.exp: New file.
2960 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
2961 (gdb_trace_setactions_command): ... this. Add "actions_command"
2962 parameter, and handle it.
2963 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
2964
4bd05f24
YQ
29652013-04-04 Yao Qi <yao@codesourcery.com>
2966
2967 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
2968 'step'.
2969
3758b5ce
YQ
29702013-04-03 Yao Qi <yao@codesourcery.com>
2971
2972 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
2973 "tfile-basic.tf".
2974 (test_tfind_tfile): Likewise.
2975
1dcaed0d
YQ
29762013-04-03 Yao Qi <yao@codesourcery.com>
2977
2978 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
2979 "tfile-basic.tf" instead of "basic.tf".
2980 (write_error_trace_file): Pass argument "tfile-error.tf"
2981 instead of "error.tf".
2982 * gdb.trace/tfile.exp: Update tfile names to
2983 "tfile-basic.tf" and "tfile-error.tf".
2984
0e7a53fc
SL
29852013-04-02 Sandra Loosemore <sandra@codesourcery.com>
2986
2987 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
2988 empty directory in file for breakpoint hit.
2989
9852c492
YQ
29902013-03-29 Yao Qi <yao@codesourcery.com>
2991
2992 * gdb.base/completion.exp: Test completion of commands
2993 "target core", "target tfile" and "target exec".
2994 * gdb.trace/tfile.exp: Test completion of command
2995 "target tfile".
2996
af312be7
JB
29972013-03-28 Joel Brobecker <brobecker@adacore.com>
2998
2999 * gdb.ada/win_fu_syms: New testcase.
3000
e4a48d9d
DE
30012013-03-28 Doug Evans <dje@google.com>
3002
3003 * gdb.base/maint.exp (maint print statistics): Update expected output.
3004
7f7cc265
PA
30052013-03-28 Pedro Alves <palves@redhat.com>
3006
3007 PR gdb/15294
3008
3009 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
3010 mean unlimited instead of $arg < 0.
3011 (test_listsize): Remove "listsize of 0 suppresses output" test.
3012 Test that "set listsize 0" ends up with an unlimited listsize.
3013
fc0da894
PA
30142013-03-28 Pedro Alves <palves@redhat.com>
3015
3016 * gdb.base/list.exp (last_line): New global.
3017 (last_line_re): New global.
3018 (test_listsize, test_list_function, test_list_forward)
3019 (test_repeat_list_command, test_list_range)
3020 (test_list_filename_and_function): Use them.
3021 * gdb.base/list0.c: Comment the last line of the file with "last
3022 line".
3023
abe7b711
PA
30242013-03-28 Pedro Alves <palves@redhat.com>
3025
3026 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
3027 list the whole file.
3028
15b3979c
PA
30292013-03-28 Pedro Alves <palves@redhat.com>
3030
3031 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
3032 "set listsize".
3033
96811e3b
KS
30342013-03-26 Keith Seitz <keiths@redhat.com>
3035
3036 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
3037 from passing.
3038
4043f22b
PA
30392013-03-26 Pedro Alves <palves@redhat.com>
3040
3041 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
3042 until after GDB has run.
3043
14a1aa17
YQ
30442013-03-26 Yao Qi <yao@codesourcery.com>
3045
3046 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
3047 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
3048
99c819ee
MM
30492013-03-26 Markus Metzger <markus.t.metzger@intel.com>
3050
3051 * gdb.btrace/enable.exp: Add regression test.
3052
24955f63
TT
30532013-03-25 Tom Tromey <tromey@redhat.com>
3054
3055 * gdb.cp/m-static.exp: Add destructor-printing tests.
3056
fce632b6
TT
30572013-03-25 Tom Tromey <tromey@redhat.com>
3058
3059 * gdb.cp/m-static.exp: Add constructor ptype tests.
3060 * gdb.cp/m-static.cc (single_constructor): New class.
3061 (main): Make instance of single_constructor.
3062
598d3636
JK
30632013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3064 Pedro Alves <palves@redhat.com>
3065
3066 * gdb.server/server-kill.c: New file.
3067 * gdb.server/server-kill.exp: New file.
3068
c12440c9
PA
30692013-03-21 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.trace/trace-buffer-size.exp (get default buffer size):
3072 Expect $gdb_prompt in gdb_test_multiple.
3073
bd712aed
DE
30742013-03-21 Doug Evans <dje@google.com>
3075
3076 * gdb.base/maint.exp: Update tests for per-command stats.
3077
b2f83c08
TT
30782013-03-21 Tom Tromey <tromey@redhat.com>
3079
3080 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
3081 * gdb.cp/misc.exp: Add test for FILENAME:: case.
3082
ef0026f0
PA
30832013-03-20 Pedro Alves <palves@redhat.com>
3084
3085 PR gdb/15289
3086
3087 * gdb.base/remote.exp: Test
3088 "set remote hardware-watchpoint-limit -1",
3089 "set remote hardware-breakpoint-limit -1",
3090 "set remote hardware-watchpoint-limit 2147483647" and
3091 "set remote hardware-breakpoint-limit 2147483647".
3092
3f1175a9
PA
30932013-03-20 Pedro Alves <palves@redhat.com>
3094 Yao Qi <yao@codesourcery.com>
3095
3096 * gdb.trace/tfile.c: Add comments.
3097 (nonconstglob): New global.
3098 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
3099 global that is not covered by the trace frame. Test
3100 disassembling.
3101
a09ae1c1
JK
31022013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3103
3104 * gdb.base/valgrind-infcall.exp
3105 (continue #$continue_count) <remote connection closed>
3106 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
3107 $valgrind_pid.
3108
9ce98649
TT
31092013-03-15 Tom Tromey <tromey@redhat.com>
3110
3111 * gdb.cp/overload.cc (intintfunc): New.
3112 * gdb.cp/overload.exp: Add regression test.
3113
0a251e08
YQ
31142013-03-15 Yao Qi <yao@codesourcery.com>
3115
3116 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
3117 using with_test_prefix.
3118 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
3119 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
3120 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
3121 * gdb.threads/watchpoint-fork.exp (test): Likewise.
3122 * gdb.base/break-interp.exp (test_core): Likewise.
3123 (test_attach_gdb): Likewise.
3124 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3125 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3126 Likewise.
3127 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3128 * gdb.base/jit.exp (one_jit_test): Likewise.
3129 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
3130 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
3131 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
3132 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
3133 Likewise.
3134 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3135 Likewise.
3136 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
3137 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
3138 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
3139 (tracepoint_change_loc_2): Likewise.
3140 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3141 Likewise.
3142 (disconnected_tfind): Likewise.
3143 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
3144 Likewise.
3145 (test_tfind_remote): Likewise.
3146 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
3147 Likewise.
3148 (test_pending_resolved): Likewise.
3149 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
3150 Likewise.
3151 (test_upload_tsv): Likewise.
3152 * gdb.trace/pending.exp (pending_tracepoint_resolved):
3153 Likewise.
3154 (pending_tracepoint_works): Likewise.
3155 * gdb.trace/report.exp (use_collected_data): Likewise.
3156 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
3157 Likewise.
3158 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
3159 * gdb.trace/strace.exp (strace_info_marker): Likewise.
3160 (strace_trace_on_same_addr): Likewise.
3161 (strace_trace_on_diff_addr): Likewise.
3162 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
3163 (gdb_collect_locals_test): Likewise.
3164 (gdb_unavailable_registers_test): Likewise.
3165 (gdb_collect_globals_test): Likewise.
3166
2c415c0f
YQ
31672013-03-15 Yao Qi <yao@codesourcery.com>
3168
3169 * gdb.base/condbreak.exp: Add semicolon back which was removed
3170 by my previous commit.
3171
ae59b1da
YQ
31722013-03-14 Yao Qi <yao@codesourcery.com>
3173
3174 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
3175 'return'.
3176 (gdb_target_monitor, gdb_load): Likewise.
3177 * config/sid.exp (gdb_load): Likewise.
3178 * config/slite.exp (gdb_load): Likewise.
3179 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
3180 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
3181 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
3182 (single_step_until): Likewise.
3183 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3184 * gdb.arch/system-gcore.exp: Likewise.
3185 * gdb.base/bigcore.exp (extract_heap): Likewise.
3186 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
3187 * gdb.base/call-ar-st.exp: Likewise.
3188 * gdb.base/call-rt-st.exp: Likewise.
3189 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
3190 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
3191 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
3192 * gdb.base/corefile.exp: Likewise.
3193 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
3194 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
3195 * gdb.base/fixsection.exp: Likewise.
3196 * gdb.base/funcargs.exp: Likewise.
3197 * gdb.base/gcore-buffer-overflow.exp: Likewise.
3198 * gdb.base/gcore-relro.exp: Likewise.
3199 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
3200 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
3201 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
3202 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
3203 * gdb.base/list.exp: Likewise.
3204 (set_listsize): Likewise.
3205 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
3206 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
3207 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
3208 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
3209 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
3210 * gdb.base/setvar.exp: Likewise.
3211 (test_set): Likewise.
3212 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
3213 * gdb.base/solib-overlap.exp: Likewise.
3214 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
3215 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
3216 * gdb.base/watchpoint.exp (initialize): Likewise.
3217 (test_simple_watchpoint): Likewise.
3218 (test_disabling_watchpoints): Likewise.
3219 (test_watchpoint_triggered_in_syscall): Likewise.
3220 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
3221 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
3222 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
3223 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
3224 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
3225 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
3226 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3227 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3228 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
3229 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
3230 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3231 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
3232 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
3233 * gdb.mi/gdb792.exp: Likewise.
3234 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
3235 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
3236 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
3237 * gdb.threads/gcore-thread.exp: Likewise.
3238 (load_core): Likewise.
3239 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
3240 (test_startup, check_control_c): Likewise.
3241 * gdb.threads/sigstep-threads.exp: Likewise.
3242 * gdb.threads/thread_check.exp: Likewise.
3243 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
3244 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
3245 (set_a_tracepoint, trace_buffer_normal): Likewise.
3246 (gdb_trace_circular_tests): Likewise.
3247 * gdb.trace/collection.exp: Likewise.
3248 * gdb.trace/disconnected-tracing.exp: Likewise.
3249 * gdb.trace/infotrace.exp: Likewise.
3250 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3251 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3252 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
3253 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
3254 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
3255 * gdb.trace/stap-trace.exp: Likewise.
3256 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
3257 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
3258 * gdb.trace/trace-buffer-size.exp: Likewise.
3259 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
3260 * gdb.trace/unavailable.exp: Likewise.
3261 * gdb.trace/while-dyn.exp: Likewise.
3262 * lib/fortran.exp (set_lang_fortran): Likewise.
3263 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
3264 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
3265 (default_gdb_start, get_compiler_info): Likewise.
3266 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
3267 (get_debug_format, setup_xfail_format): Likewise.
3268 (rerun_to_main, gdb_skip_float_test): Likewise.
3269 (build_id_debug_filename_get, get_remotetimeout): Likewise.
3270 * lib/java.exp (set_lang_java): Likewise.
3271 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
3272 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
3273 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
3274 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
3275 * lib/objc.exp (set_lang_objc): Likewise.
3276 * lib/pascal.exp (set_lang_pascal): Likewise.
3277 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
3278 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
3279 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
3280
bb869963
SDJ
32812013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
3282
3283 PR c++/15203
3284 PR c++/15210
3285 * gdb.cp/m-static.cc (keepalive_int): New function.
3286 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
3287 * gdb.cp/m-static.exp: New test for `sintvar'.
3288
e2be70a0
YQ
32892013-03-14 Yao Qi <yao@codesourcery.com>
3290
3291 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
3292 of 'tstatus' into tstatus_output.
3293 (top level): Save the trace data to tfile. Read trace file in
3294 tfile target. Check the trace status.
3295
8ddb1965
YQ
32962013-03-13 Yao Qi <yao@codesourcery.com>
3297
3298 * gdb.trace/tsv.exp (check_tsv): New.
3299 (top level): Save a tfile on current trace session. Call
3300 check_tsv on live target. Load the tfile with target tfile
3301 and call check_tsv again.
3302
045dd51f
YQ
33032013-03-13 Yao Qi <yao@codesourcery.com>
3304
3305 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
3306 Replace some "gdb_test" with "gdb_test_no_output".
3307
82d049ab
PH
33082013-03-12 Paul Hilfinger <hilfingr@adacore.com>
3309
3310 * gdb.ada/expr_delims.exp: New file.
3311 * gdb.ada/expr_delims/foo.adb: New file.
3312 * gdb.ada/expr_delims/pck.ads: New file.
3313 * gdb.ada/expr_delims/pck.adb: New file.
3314
cb8ea32b
KS
33152013-03-11 Keith Seitz <keiths@redhat.com>
3316
3317 * watchpoint.exp (test_no_hw_watchpoints): Add test using
3318 both condition and thread. Then delete the watchpoint.
3319
2f1d9bdd
MM
33202013-03-11 Christian Himpel <christian.himpel@intel.com>
3321
3322 * Makefile.in: Add btrace testsuite.
3323 * configure: Regenerated.
3324 * configure.ac: Add btrace testsuite.
3325 * gdb.btrace/Makefile.in: New file.
3326 * gdb.btrace/enable.c: New file.
3327 * gdb.btrace/enable.exp: New file.
3328 * gdb.btrace/function_call_history.c: New file.
3329 * gdb.btrace/function_call_history.exp: New file.
3330 * gdb.btrace/instruction_history.c: New file.
3331 * gdb.btrace/instruction_history.exp: New file.
3332 * gdb.btrace/instruction_history.S: New file.
3333 * lib/gdb.exp: Add btrace skip proc.
3334
05c56a9d
JK
33352013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3336
3337 Fix entry-values if the callee called a noreturn function.
3338 * gdb.arch/amd64-tailcall-noret.S: New file.
3339 * gdb.arch/amd64-tailcall-noret.c: New file.
3340 * gdb.arch/amd64-tailcall-noret.exp: New file.
3341
9112db09
JK
33422013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3343
3344 Fix entry-values in C++ across CUs.
3345 * gdb.arch/amd64-tailcall-cxx.exp: New file.
3346 * gdb.arch/amd64-tailcall-cxx1.S: New file.
3347 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
3348 * gdb.arch/amd64-tailcall-cxx2.S: New file.
3349 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
3350
be9a119c 33512013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
3352 Hafiz Abid Qadeer <abidh@codesourcery.com>
3353
3354 gdb/testsuite/
3355 * gdb.trace/trace-buffer-size.exp: New file.
3356 * gdb.trace/trace-buffer-size.c: New file.
3357
049109b0
PA
33582013-03-06 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
3361 doesn't support the tested optional feature, call "unsupported"
3362 with the same test message as the "pass" case, instead of calling
3363 "pass" with a different message. Use the same text for the "fail"
3364 cases too.
3365
4aa54120
YQ
33662013-03-06 Yao Qi <yao@codesourcery.com>
3367
3368 * gdb.trace/tstatus.exp: Remove the invocation of
3369 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
3370 (test_tracepoints): Don't set fast tracepoint.
3371 (top level): Don't check agent library is loaded or not.
3372
b8b71e63
YQ
33732013-03-06 Yao Qi <yao@codesourcery.com>
3374
3375 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
3376 parentheses by "\\".
3377
33f448b1
JK
33782013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3379
3380 * gdb.linespec/base/one/thefile.cc (twodup): New.
3381 (m): Call it.
3382 * gdb.linespec/base/two/thefile.cc (dupname): New.
3383 (n): Call it.
3384 * gdb.linespec/break-ask.exp: New file.
3385 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
3386
1c942fb9
YQ
33872013-02-28 Yao Qi <yao@codesourcery.com>
3388
3389 * gdb.trace/report.exp: Move some code to ...
3390 (use_collected_data): New.
3391 (top level): Call use_collected_data once on the live target.
3392 Save at file of the current trace session, load it with target
3393 tfile, and call use_collected_data again.
3394
5b967901
JK
33952013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3396
3397 * gdb.threads/fork-thread-pending.c (main): Add alarm.
3398
6447023f
JK
33992013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3400
3401 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
3402 Add final kill of ${valgrind_pid}.
3403
9f44fbc0
SCR
34042013-02-20 Siva Chandra Reddy <sivachandra@google.com>
3405
3406 * gdb.python/py-arch.c: New test case
3407 * gdb.python/py-arch.exp: New tests to test
3408 gdb.Architecture.disassemble
3409 * gdb.python/Makefile.in: Add py-arch to the list of
3410 EXECUTABLES.
3411
4c9ad8c2
TT
34122013-02-18 Tom Tromey <tromey@redhat.com>
3413
3414 * gdb.dwarf2/subrange.exp: New file.
3415
f5911ea1
HAQ
34162013-02-15 Pedro Alves <pedro@codesourcery.com>
3417 Hafiz Abid Qadeer <abidh@codesourcery.com>
3418
3419 * gdb.trace/tfile.exp: Add test for -trace-status command.
3420
420f4384
JK
34212013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3422
3423 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
3424 nanosleep by sleep.
3425
4819b3f8
PA
34262013-02-14 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
3429
1773c82c
HAQ
34302013-02-14 Pedro Alves <pedro@codesourcery.com>
3431 Hafiz Abid Qadeer <abidh@codesourcery.com>
3432
3433 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
3434
e234dfaf
TT
34352013-02-12 Tom Tromey <tromey@redhat.com>
3436
3437 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
3438 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
3439
6c01dd94
PA
34402013-02-12 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.base/catch-signal.c: Update copyright years.
3443 * gdb.base/catch-signal.exp: Update copyright years.
3444 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
3445 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
3446 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
3447 * gdb.dwarf2/dw2-error.S: Update copyright years.
3448 * gdb.dwarf2/dw2-error.c: Update copyright years.
3449 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
3450 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
3451 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
3452
595fc67f
PA
34532013-02-12 Pedro Alves <palves@redhat.com>
3454
3455 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
3456 message.
3457 * gdb.base/sigaltstack.exp: Ditto.
3458 * gdb.base/siginfo.exp: Ditto.
3459 * gdb.base/sizeof.exp: Ditto.
3460
17282693
PA
34612013-02-12 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.mi/mi-basics.exp: Tweak intro comment.
3464 * gdb.mi/mi-break.exp: Tweak intro comment.
3465 * gdb.mi/mi-console.exp: Tweak intro comment.
3466 * gdb.mi/mi-file.exp: Tweak intro comment.
3467 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
3468 * gdb.mi/mi-return.exp: Tweak intro comment.
3469 * gdb.mi/mi-stepi.exp: Tweak intro comment.
3470 * gdb.mi/mi-until.exp: Tweak intro comment.
3471 * gdb.mi/mi-watch.exp: Tweak intro comment.
3472
8a4ac37e
PA
34732013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3474
3475 * gdb.server/no-thread-db.exp: New file.
3476 * gdb.server/no-thread-db.c: New file.
3477 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
3478
c2792f5a
DE
34792013-02-11 Doug Evans <dje@google.com>
3480
3481 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
3482 two decfloats.
3483
d9e98382
SDJ
34842013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3485
3486 * gdb.base/bitfields.c (struct internalvartest): New declaration.
3487 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
3488
a321661a
JK
34892013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
3492
134a2066
YQ
34932013-02-06 Yao Qi <yao@codesourcery.com>
3494
3495 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
3496 to ...
3497 (test_create_delete_modify_tsv): ... here. New test on modifying
3498 the initial value of a tsv.
3499
5a2dc60a
JK
35002013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3501
3502 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
3503 (cd .../rdir): ... here.
3504
233d95b5
JK
35052013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3506
3507 * gdb.linespec/base/one/header.h: New file.
3508 * gdb.linespec/base/two/header.h: New file.
3509 * gdb.linespec/macro-relative.c: New file.
3510 * gdb.linespec/macro-relative.exp: New file.
3511
fbd9ab74
JK
35122013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3513
3514 * gdb.base/fullpath-expand-func.c: New file.
3515 * gdb.base/fullpath-expand.c: New file.
3516 * gdb.base/fullpath-expand.exp: New file.
3517 * gdb.base/realname-expand-real.c: New file.
3518 * gdb.base/realname-expand.c: New file.
3519 * gdb.base/realname-expand.exp: New file.
3520
1b56eb55
JK
35212013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
3524 * gdb.dwarf2/dw2-dir-file-name.c: New file.
3525
af529f8f
JK
35262013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3527
3528 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
3529 (compare_filenames_for_search does not match)
3530 (compare_filenames_for_search does match): New tests.
3531
f5b95b50
JK
35322013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3533
3534 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
3535
d47921b9
JK
35362013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3537
3538 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
3539
8a92335b
JK
35402013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3541
3542 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
3543 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
3544 ${binfile}.mini_debuginfo-debuglink and
3545 ${binfile}.mini_debuginfo-debuglink.xz.
3546
17f2157d
TT
35472013-02-01 Tom Tromey <tromey@redhat.com>
3548
3549 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
3550 attributes.
3551
d65f0a9c
TT
35522013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3553 Tom Tromey <tromey@redhat.com>
3554
3555 * gdb.dwarf2/method-ptr.exp: Link with c++.
3556 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
3557
f25c0135
TT
35582013-01-31 Tom Tromey <tromey@redhat.com>
3559
3560 * gdb.base/jit.exp (compile_jit_test): New proc.
3561 Add PIE tests.
3562
7078baeb
TT
35632013-01-31 Tom Tromey <tromey@redhat.com>
3564
3565 * gdb.dwarf2/method-ptr.cc: New file.
3566 * gdb.dwarf2/method-ptr.exp: New file.
3567
1d24041a
TT
35682013-01-31 Tom Tromey <tromey@redhat.com>
3569
3570 * lib/dwarf.exp (namespace Dwarf): New.
3571
8d9878a4
TT
35722013-01-29 Tom Tromey <tromey@redhat.com>
3573
3574 * gdb.dwarf2/fission-reread.exp: Add unload test.
3575
bed911e5
DE
35762013-01-28 Doug Evans <dje@google.com>
3577
3578 * gdb.dwarf2/fission-loclists.exp: New file.
3579 * gdb.dwarf2/fission-loclists.S: New file.
3580
e229648e
JK
35812013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3582
3583 Code cleanup.
3584 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
3585 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
3586 and prepare_for_testing.
3587 * gdb.base/store.exp: Likewise.
3588
86700f00
TT
35892013-01-25 Tom Tromey <tromey@redhat.com>
3590
3591 * gdb.python/py-explore.exp: Expect the gdb prompt.
3592
8954db33
AB
35932013-01-25 Andrew Burgess <aburgess@broadcom.com>
3594
3595 * gdb.base/gnu_vector.c: New variable for use in tests.
3596 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
3597 changes in scalar to vector casting and widening.
3598 * gdb.python/py-type.c: New variables for use in tests.
3599 * gdb.python/py-type.exp: Update vector related tests to reflect
3600 changes in scalar to vector casting and widening.
3601
2077afdd
TD
36022013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
3603
3604 * gdb.base/prologue-include.c: New file.
3605 * gdb.base/prologue-include.exp: New file.
3606 * gdb.base/prologue-include.h: New file.
3607
d7499464
HAQ
36082013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
3609
3610 PR gdb/13443
3611 * gdb.mi/mi-var-block.exp: Make test messages unique.
3612
e2a3e0f1
TT
36132013-01-23 Tom Tromey <tromey@redhat.com>
3614
3615 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
3616
152fcc9c
TT
36172013-01-23 Tom Tromey <tromey@redhat.com>
3618
3619 * gdb.cp/converts.cc (main): Initialize 'a'.
3620
bea883fd
SCR
36212013-01-23 Siva Chandra Reddy <sivachandra@google.com>
3622
3623 * testsuite/gdb.python/frame.exp: Add a test for
3624 gdb.Frame.architecture() method.
3625
0928e93d
PA
36262013-01-22 Pedro Alves <palves@redhat.com>
3627
3628 * gdb.base/annota1.exp (signal sent): No longer expect
3629 breakpoints-invalid.
3630 * gdb.cp/annota2.exp (continue until exit)
3631 (watch triggered on a.x): Ditto.
3632
9c97429f
PA
36332013-01-22 Pedro Alves <palves@redhat.com>
3634
3635 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
3636 Adjust tests to breakpoints-invalid changes.
3637 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
3638 variables.
3639 Adjust tests to breakpoints-invalid changes.
3640
187d10dd
PA
36412013-01-22 Pedro Alves <palves@redhat.com>
3642
3643 * gdb.base/annota1.exp (annotate ignore count change): Add
3644 expected output for failure case.
3645
ea3aedcb
TT
36462013-01-22 Tom Tromey <tromey@redhat.com>
3647
3648 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
3649 call.
3650
998580f1
MK
36512013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
3652
3653 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 3654 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
3655 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
3656 Also handle 'thread' field.
3657 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
3658 * gdb.mi/mi-watch.exp: Ditto.
3659 * lib/mi-support.exp: Ditto.
3660
8f1d5693
MK
36612013-01-21 Siva Chandra Reddy <sivachandra@google.com>
3662
3663 * gdb.python/py-explore.exp: Improve a test
3664
2d8c5d7c
DB
36652013-01-18  David Blaikie  <dblaikie@gmail.com>
3666
3667 * gdb.base/label.c (main): Correct the type of the second
3668 parameter.
3669
46f35228
TT
36702013-01-18 Tom Tromey <tromey@redhat.com>
3671
3672 * gdb.dwarf2/trace-crash.s: New file.
3673 * gdb.dwarf2/trace-crash.exp: New file.
3674
5965d69d
HAQ
36752013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
3676
43aaf8b6
PA
3677 PR gdb/13443
3678 * gdb.base/checkpoint.exp: Update test messages to make them
3679 unique.
5965d69d 3680
5ae4861a
YQ
36812013-01-18 Yao Qi <yao@codesourcery.com>
3682
3683 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
3684 output of 'info tracepoints'.
3685 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3686 Likewise.
3687 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3688 * gdb.trace/disconnected-tracing.c (struct foo): New.
3689
d84fca2c
JK
36902013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3691
3692 * gdb.dwarf2/dw2-dos-drive.S: New file.
3693 * gdb.dwarf2/dw2-dos-drive.exp: New file.
3694
aebb1cc9
DE
36952013-01-17 Doug Evans <dje@google.com>
3696
2782d512
DE
3697 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
3698 CXX_FOR_TARGET.
3699
aebb1cc9
DE
3700 * boards/cc-with-tweaks.exp: New file.
3701
db2b2972
TT
37022013-01-17 Tom Tromey <tromey@redhat.com>
3703
3704 * gdb.base/completion.exp: Add "set cp-abi" completion test.
3705
96343774
PA
37062013-01-17 Pedro Alves <palves@redhat.com>
3707
3708 Merge dg-extract-results.sh from upstream (svn 195224).
3709
3710 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3711 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
3712
3713 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3714 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
3715
3716 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3717 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
3718
3719 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3720 * dg-extract-results.sh: Redirect grep output to /dev/null instead
3721 of grep -q.
3722
675921c0
SD
37232012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3724
3725 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
3726 interface.
3727 * gdb.base/jithost.c: New file.
3728 * gdb.base/jithost.h: New file.
3729 * gdb.base/jitreader.c : New file.
3730 * gdb.base/jit-protocol.h: New file.
3731
ab04a2af
TT
37322013-01-16 Tom Tromey <tromey@redhat.com>
3733
3734 * gdb.base/catch-signal.c: New file.
3735 * gdb.base/catch-signal.exp: New file.
3736
8ac3646f
TT
37372013-01-16 Tom Tromey <tromey@redhat.com>
3738
3739 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
3740
22fc223e
JK
37412013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3742
3743 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
3744
44478ab3
TT
37452013-01-14 Tom Tromey <tromey@redhat.com>
3746
3747 * gdb.base/completion.exp: Add "set gnutarget" test.
3748
06d66ee9
TT
37492013-01-14 Tom Tromey <tromey@redhat.com>
3750
3751 * gdb.dwarf2/dw2-restrict.S: New file.
3752 * gdb.dwarf2/dw2-restrict.c: New file.
3753 * gdb.dwarf2/dw2-restrict.exp: New file.
3754
c9bf0622
TT
37552013-01-14 Tom Tromey <tromey@redhat.com>
3756
3757 * gdb.dwarf2/dw2-error.exp: New file.
3758 * gdb.dwarf2/dw2-error.c: New file.
3759 * gdb.dwarf2/dw2-error.S: New file.
3760
5b12a61c
JK
37612013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3762
3763 * gdb.cp/parse-lang.cc: New file.
3764 * gdb.cp/parse-lang.exp: New file.
3765
f0a4b570
JK
37662013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3767
3768 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
3769 (set substitute-path): New test.
3770 (fullname present): Remove content.
3771 (substituted fullname): New test.
3772
f751cc97
JB
37732013-01-13 Joel Brobecker <brobecker@adacore.com>
3774
3775 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
3776 check. Move $gdb_py_is_py24 value check right after.
3777
04164e8e
JK
37782013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
3781 targets.
3782
5bf480a5
YQ
37832013-01-11 Yao Qi <yao@codesourcery.com>
3784
3785 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
3786 for dprintf.
3787 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3788 Check the fields in "=breakpoint-created" for dprintf.
3789
f35a17b5
JK
37902012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 * gdb.mi/mi-fullname-deleted.exp: New file.
3793
85817405
JK
37942012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3795
3796 * gdb.base/skip-solib.exp (info skip with pending file): Update the
3797 expected output.
3798 (info skip with pending file): Remove.
3799 (ignoring function in solib, info skip for function multiply): Update
3800 the expected output.
3801 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
3802 (info skip (delete 1), info skip after disabling all)
3803 (info skip after enabling all, info skip after disabling 4 2-3)
3804 (info skip after enabling 2-3, info skip 2-3)
3805 (info skip after deleting 2 3): Update the expected output.
3806 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
3807 statement to its initialization and return.
3808 * gdb.linespec/skip-two.exp: New file.
3809
27210e12
DE
38102012-12-19 Doug Evans <dje@google.com>
3811
3812 * gdb.base/maint.exp: Handle testing with .gdb_index.
3813
bb627a12
JB
38142012-12-19 Joel Brobecker <brobecker@adacore.com>
3815
3816 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
3817 Cavium to FSF.
3818
7785b880
JB
38192012-12-19 Joel Brobecker <brobecker@adacore.com>
3820
3821 * dg-extract-results.sh: Update contact info in copyright notice.
3822 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
3823 GPL v3 or later. Update contact info.
3824 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
3825 gdb.threads/watchpoint-fork-mt.c,
3826 gdb.threads/watchpoint-fork-parent.c,
3827 gdb.threads/watchpoint-fork-st.c,
3828 gdb.threads/watchpoint-fork.h: Likewise.
3829
f2a8bc8a
YQ
38302012-12-15 Yao Qi <yao@codesourcery.com>
3831
3832 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
3833 'installed' field in '=breakpoint-modified'.
3834 (test_reconnect): Check 'installed' field in
3835 '=breakpoint-modified' and '=breakpoint-created'.
3836
3837 * gdb.trace/actions.exp: Update test for 'installed' field.
3838 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
3839 (tracepoint_change_loc_2): Likewise.
3840 Check 'info tracepoint' display nothing else.
3841 * gdb.trace/deltrace.exp: Likewise.
3842 * gdb.trace/infotrace.exp: Likewise.
3843 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
3844 Likewise.
3845 * gdb.trace/passcount.exp: Likewise.
3846 * gdb.trace/tracecmd.exp: Likewise.
3847 * gdb.trace/while-stepping.exp: Likewise.
3848
6592e36f
TT
38492012-12-14 Tom Tromey <tromey@redhat.com>
3850
3851 * gdb.cp/member-name.exp: New file.
3852 * gdb.cp/member-name.cc: New file.
3853
7d27a96d
TT
38542012-12-14 Tom Tromey <tromey@redhat.com>
3855
3856 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
3857
f8c05d0d
DE
38582012-12-14 Doug Evans <dje@google.com>
3859
3860 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
3861 DW_OP_GNU_implicit_pointer is section-relative.
3862
451b7c33
TT
38632012-12-14 Tom Tromey <tromey@redhat.com>
3864
43aaf8b6 3865 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 3866
10e339df
PA
38672012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
3868
6fdff2c5 3869 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 3870
e780d813
DE
38712012-12-13 Doug Evans <dje@google.com>
3872
3873 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
3874 * gdb.multi/multi-arch.exp: Ditto.
3875
ca3dbcc8 38762012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 3877
ca3dbcc8
MG
3878 * gdb.mi/mi-catch-load-so.c: New. Clone of the
3879 catch load test library source file.
3880 * gdb.mi/mi-catch-load.c: New. Clone of the catch
3881 load test source file.
3882 * gdb.mi/mi-catch-load.exp: New. Test file for
3883 basic MI -catch-load and -catch-unload tests.
3884
2960a434
PK
38852012-12-11 Paul Koning <paul_koning@dell.com>
3886
3887 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
3888 exception.
3889 (_iterator_except): New function.
3890 (ArrayPrinter): Use _iterator function instead of local _iterator
3891 class for Python 3 compatibility.
3892 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 3893 _iterator.
2960a434
PK
3894 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
3895 execfile for Python 3 compatibility.
3896 * gdb.python/python.exp: Handle Python 2.4 exception traceback
3897 format in error_prompt test.
6fdff2c5 3898
9325cb04
PK
38992012-12-10 Paul Koning <paul_koning@dell.com>
3900
3901 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 3902 compatibility.
9325cb04
PK
3903 * gdb.python/py-block.exp: Ditto.
3904 * gdb.python/py-breakpoint.exp: Ditto.
3905 * gdb.python/py-cmd.exp: Ditto.
3906 * gdb.python/py-events.py: Ditto.
3907 * gdb.python/py-finish-breakpoint.py: Ditto.
3908 * gdb.python/py-finish-breakpoint2.exp: Ditto.
3909 * gdb.python/py-finish-breakpoint2.py: Ditto.
3910 * gdb.python/py-frame-inline.exp: Ditto.
3911 * gdb.python/py-frame.exp: Ditto.
3912 * gdb.python/py-infthread.exp: Ditto.
3913 * gdb.python/py-objfile.exp: Ditto.
3914 * gdb.python/py-parameter.exp: Ditto.
3915 * gdb.python/py-progspace.exp: Ditto.
3916 * gdb.python/py-prompt.exp: Ditto.
3917 * gdb.python/py-symbol.exp: Ditto.
3918 * gdb.python/py-symtab.exp: Ditto.
3919 * gdb.python/py-template.exp: Ditto.
3920 * gdb.python/py-value-cc.exp: Ditto.
3921 * gdb.python/python.exp: Ditto.
3922 * gdb.python/source2.py: Ditto.
3923 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 3924 compatibility.
9325cb04
PK
3925 Use sorted() function rather than sort() method.
3926 Accept either int or long values for enum values.
3927 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
3928 execfile for Python 3 compatibility.
3929 * gdb.python/py-evsignal.exp: Ditto.
3930 * gdb.python/py-evthreads.exp: Ditto.
3931 * gdb.python/py-mi.exp: Ditto.
3932 * gdb.python/py-pp-maint.exp: Ditto.
3933 * gdb.python/py-prettyprint.exp: Ditto.
3934 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 3935 Python 3 compatibility.
9325cb04
PK
3936 Skip tests for Python 2.4.
3937 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 3938 Python 3 compatibility.
9325cb04
PK
3939 Use byte string rather than character string in memory write test
3940 if Python 3.
3941 * gdb.python/py-pp-maint.py: Change class declarations to "new
3942 class" syntax.
3943 * gdb.python/py-prettyprint.py: Change iterator class to generator
3944 function for Python 3 compatibility.
3945 Make all classes "new style".
3946 Fix indentation issue and stray semicolon.
3947 * gdb.python/py-shared.expChange print syntax for Python 3
3948 compatibility.
3949 Define "long" if Python 3.
3950 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 3951 compatibility.
9325cb04
PK
3952 Accept either int or long values for enum values.
3953 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 3954 compatibility.
9325cb04
PK
3955 Skip "long" and "unicode" tests if Python 3.
3956 Accept either "type" or "class" in type checks.
3957 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
3958 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
3959
8b9737bf
TT
39602012-12-10 Tom Tromey <tromey@redhat.com>
3961
3962 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
3963 (test): Add "two_cu" argument.
3964 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
3965 for types; allow two CUs.
3966
1b80a9fa
JK
39672012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3968
3969 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
3970 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
3971
f0b6d50a
YQ
39722012-12-08 Yao Qi <yao@codesourcery.com>
3973 Pedro Alves <palves@redhat.com>
3974
3975 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
3976 '=breakpoint-created' when GDB merges the tracepoints of both
3977 sides.
3978
2f68a895
TT
39792012-12-07 Tom Tromey <tromey@redhat.com>
3980
3981 * gdb.base/break1.c (enum some_enum, union some_union): New.
3982 (some_enum_global, some_union_global, some_value): New globals.
3983 * gdb.base/completion.exp: Add tag completion tests.
3984
4fc5d43e
TT
39852012-12-07 Tom Tromey <tromey@redhat.com>
3986
3987 * gdb.base/completion.exp: Add tests for ptype and whatis
3988 completion.
3989
6559e013
JB
39902012-12-07 Joel Brobecker <brobecker@adacore.com>
3991
3992 * gdb.base/stale-infcall.exp: Fix copyright line.
3993
ae2b630d
JB
39942012-12-07 Joel Brobecker <brobecker@adacore.com>
3995
3996 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
3997
0ba2eb0f
TT
39982012-12-06 Pedro Alves <palves@redhat.com>
3999 Tom Tromey <tromey@redhat.com>
4000
4001 * gdb.base/exprs.exp: Add tests for cast to void.
4002
731145cb
TT
40032012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
4004
4005 * gdb.python/py-mi.exp: Correct expected results for attribute
4006 "dynamic" returned by -var-update.
4007 Add test case for correct handling of "diplayhint" for children
4008 of dynamic varobjs.
4009 * gdb.python/py-prettyprint.c (set_itme): New function.
4010 (bug_14741) New function.
4011 (main) Add call to bug_14741().
4012 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
4013
e58fcc15
UW
40142012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
4015
4016 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
4017 ${binfile}.funcsyms list.
4018
e9eb0d14
YQ
40192012-12-04 Yao Qi <yao@codesourcery.com>
4020
4021 PR gdb/13443
4022 * gdb.trace/actions.exp: Make test messages unique.
4023
4983028c
TT
40242012-11-29 Tom Tromey <tromey@redhat.com>
4025
4026 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
4027
ea5e6b0e
UW
40282012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
4029
4030 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
4031 * gdb.opencl/datatypes.exp: Likewise.
4032 * gdb.opencl/operators.exp: Likewise.
4033 * gdb.opencl/vec_comps.exp: Likewise.
4034
cdde3dfb
JG
40352012-11-29 Jerome Guitton <guitton@adacore.com>
4036
4037 * gdb.ada/iwide: New testcase.
4038
b50d69b5
JG
40392012-11-29 Jerome Guitton <guitton@adacore.com>
4040
4041 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
4042 ptype test.
4043
c2d3fccf
JG
40442012-11-29 Jerome Guitton <guitton@adacore.com>
4045
4046 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
4047 form {VARIANT_TYPE}ADDRESS.
4048
5edf51fe
YQ
40492012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
4050
4051 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
4052 (func): New function.
4053 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
4054 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
4055 pointers to members with pointer-to-function type.
4056
608e2dbb
TT
40572012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4058 Tom Tromey <tromey@redhat.com>
4059
4060 * gdb.base/gnu-debugdata.exp: New file.
4061 * gdb.base/gnu-debugdata.c: New file.
4062 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
4063 (gdb_unload): Return 0 on success.
4064
4648e588
JK
40652012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4066
4067 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
4068
17d6efc4
JB
40692012-11-26 Joel Brobecker <brobecker@adacore.com>
4070
4071 * gdb.base/empty_exe.exp: New testcase.
4072
ace21957
MF
40732012-11-20 Mike Frysinger <vapier@gentoo.org>
4074
4075 * gdb.base/completion.exp: Add test for help aliases completion.
4076
5c401a0a
YQ
40772012-11-20 Yao Qi <yao@codesourcery.com>
4078
4079 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
4080 Don't test 'maint set show-debug-regs'.
4081 Use command 'set remotecache' instead of
4082 'set circular-trace-buffer'.
4083
8dea366b
KS
40842012-11-16 Keith Seitz <keiths@redhat.com>
4085
4086 PR c++/13615
4087 * gdb.cp/baseenum.cc: New file.
4088 * gdb.cp/baseenum.exp: New file.
4089 * gdb.cp/derivation.cc (A): Add copyright.
4090 Add a typedef.
4091 (B): Use A::value_type instead of int. Change all references.
4092 (D): Use value_type instead of int. Change all references.
4093 (E): Likewise.
4094 (F); Likewise.
4095 (Z): New class.
4096 (ZZ): New class.
6fdff2c5 4097 (N, Base, Derived): New namespace and classes.
8dea366b
KS
4098 (main): Add instances of Z and ZZ.
4099 Make sure all symbols from N are kept.
4100 * gdb.cp/derivation.exp: Update typedef changes in tests.
4101 Add tests for class typedefs both before and after starting
4102 the inferior.
4103 Add tests for searching for a typedef while stopped in a
4104 method.
4105
5e34c6c3
LM
41062012-11-14 Luis Machado <lgustavo@codesourcery.com>
4107
4108 * gdb.mi/mi-var-create-rtti.c: New file.
4109 * gdb.mi/mi-var-create-rtti.exp: New file.
4110
5e487a5f
LM
41112012-11-14 Luis Machado <lgustavo@codesourcery.com>
4112
4113 * gdb.base/structs3.exp: Run to main before doing any tests.
4114
6d67b990
AB
41152012-11-14 Andrew Burgess <aburgess@broadcom.com>
4116
4117 * gdb.python/py-type.exp: Uniquify test names.
4118
e5d98164
YQ
41192012-11-14 Yao Qi <yao@codesourcery.com>
4120
4121 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
4122 (thread_function) [DEBUG]: Call 'printf'.
4123 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
4124 command line if 'DEBUG=1' is passed to test.
4125 Remove a pattern to match inferior's output.
4126
62747a60
TT
41272012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
4128
4129 * gdb.mi/mi-fill-memory.exp: New test.
4130
18a9fc12
TT
41312012-11-12 Tom Tromey <tromey@redhat.com>
4132
4133 * gdb.base/completion.exp: Update for "info type-printers".
4134 * gdb.python/py-typeprint.cc: New file.
4135 * gdb.python/py-typeprint.exp: New file.
4136 * gdb.python/py-typeprint.py: New file.
4137
bd69fc68
TT
41382012-11-12 Tom Tromey <tromey@redhat.com>
4139
4140 * gdb.base/call-sc.exp: Use "ptype/r".
4141 * gdb.base/volatile.exp: Don't expect "int".
4142 * gdb.cp/ptype-flags.cc: New file.
4143 * gdb.cp/ptype-flags.exp: New file.
4144 * gdb.cp/templates.exp: Use ptype/r.
4145 (test_ptype_of_templates, test_template_typedef): Likewise.
4146 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
4147 argument. Handle template names and template parameters.
4148 * gdb.mi/mi-var-cmd.exp: Accept "long".
4149 * gdb.mi/mi-var-child.exp: Accept "long".
4150 * gdb.mi/mi-var-display.exp: Accept "long".
4151 * gdb.mi/mi2-var-child.exp: Accept "long".
4152
b3720c3a
TT
41532012-11-12 Tom Tromey <tromey@redhat.com>
4154
4155 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
4156 "ptype" from calls to cp_test_ptype_class.
4157 (test_enums): Likewise.
4158 * gdb.cp/derivation.exp: Remove "ptype" from calls to
4159 cp_test_ptype_class.
4160 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
4161 calls to cp_test_ptype_class.
4162 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
4163 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
4164 from calls to cp_test_ptype_class.
4165 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
4166 command here. Change "in_command" argument to "in_exp".
4167
0d63ecda
KS
41682012-11-10 Keith Seitz <keiths@redhat.com>
4169
4170 PR gdb/14288
4171 * gdb.base/printcmds.c: Add invalid_XXX globals
4172 for repeated byte tests.
4173 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
4174 * gdb.base/wchar.c (main): Add and construct a wchar_t
4175 array with repeated characters.
4176 * gdb.base/wchar.exp: Add repeated character tests.
4177
ed8a1c2d
AB
41782012-11-09 Andrew Burgess <aburgess@broadcom.com>
4179
4180 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
4181 disassembly output.
4182
9107fc8d
PA
41832012-11-09 Pedro Alves <palves@redhat.com>
4184
4185 PR gdb/14306
4186
4187 * gdb.multi/multi-arch-exec.c: New file.
4188 * gdb.multi/multi-arch-exec.exp: New file.
4189
558a9d82
YQ
41902012-11-09 Yao Qi <yao@codesourcery.com>
4191
4192 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
4193 (top level): Call it.
4194
e714f336
YQ
41952012-11-09 Yao Qi <yao@codesourcery.com>
4196
4197 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
4198 typo.
4199
6ecd4729
PA
42002012-11-09 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.multi/multi-arch.exp: New.
4203
9015683b
TT
42042012-11-08 Tom Tromey <tromey@redhat.com>
4205
4206 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
4207 core files, if possible.
4208 * gdb.base/siginfo-thread.c: New file
4209 * gdb.base/siginfo-thread.exp: New file
4210
ea9f10bb
TT
42112012-11-08 Tom Tromey <tromey@redhat.com>
4212
4213 * gdb.base/comprdebug.exp: New file.
4214
f6592439
PA
42152012-11-06 Pedro Alves <palves@redhat.com>
4216
4217 PR gdb/14810
4218
4219 * gdb.base/disabled-location.c: New file.
4220 * gdb.base/disabled-location.exp: New file.
4221
2d338fa9
TT
42222012-11-06 Tom Tromey <tromey@redhat.com>
4223
4224 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
4225 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
4226 gdb_gcore_cmd.
4227 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
4228 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
4229 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
4230 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
4231 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
4232 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
4233 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
4234 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
4235 * lib/gdb.exp (gdb_gcore_cmd): New proc.
4236
68c9da30
PA
42372012-11-05 Pedro Alves <palves@redhat.com>
4238
4239 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
4240 procedure.
4241 (do_vfork_and_follow_child_tests_exec)
4242 (do_vfork_and_follow_child_tests_exit): Call it.
4243
a7c8c931
PA
42442012-11-05 Pedro Alves <palves@redhat.com>
4245
4246 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
4247 fails.
4248
6f6484cd
YQ
42492012-11-03 Yao Qi <yao@codesourcery.com>
4250
4251 Fix PR gdb/14617.
4252 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4253 Remove setup_kfail, and update test.
4254
b45627a0
TT
42552012-11-02 Tom Tromey <tromey@redhat.com>
4256
4257 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
4258 test.
4259
f50f4e56
PA
42602012-11-02 Pedro Alves <palves@redhat.com>
4261
4262 PR gdb/14766
4263
4264 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
4265 setup_kfail.
4266 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
4267 get registers".
4268
71ce889d
PA
42692012-11-02 Pedro Alves <palves@redhat.com>
4270
4271 * gdb.base/foll-vfork-exit.c: New file.
4272 * gdb.base/foll-vfork.exp (top level): New file-describing
4273 comment.
4274 (vfork_child_follow_to_exit): New procedure.
4275 (tcatch_vfork_then_child_follow): Rename as ...
4276 (tcatch_vfork_then_child_follow_exec): ... this.
4277 (tcatch_vfork_then_child_follow_exit): New procedure.
4278 (do_vfork_and_follow_parent_tests): New procedure, factored out
4279 from do_vfork_and_exec_tests.
4280 (do_vfork_and_follow_child_tests_exec): Ditto.
4281 (do_vfork_and_exec_tests): Delete.
4282 (do_vfork_and_follow_child_tests_exit): New procedure.
4283 (top level): Run tests with both the program that has the vfork
4284 child execing, and the program has the vfork child exiting.
4285
1e35b1a9
PA
42862012-11-02 Pedro Alves <palves@redhat.com>
4287
4288 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
4289 (check_vfork_catchpoints, vfork_parent_follow_through_step)
4290 (vfork_parent_follow_to_bp): Call it.
4291 (kill_child): Delete.
4292 (vfork_and_exec_child_follow_to_main_bp)
4293 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
4294 longer call kill_child.
4295 (tcatch_vfork_then_parent_follow): Call setup_gdb.
4296 (do_vfork_and_exec_tests): Don't runto_main before calling each
4297 test procedure.
4298 (top level): Don't clean restart and set verbose before running
4299 each test procedure.
4300
43012012-11-02 Pedro Alves <palves@redhat.com>
4302
4303 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
4304 (vfork_parent_follow_to_bp)
4305 (vfork_and_exec_child_follow_to_main_bp)
4306 (vfork_and_exec_child_follow_through_step)
4307 (tcatch_vfork_then_parent_follow)
4308 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4309 Use with_test_prefix.
4310
43112012-11-02 Pedro Alves <palves@redhat.com>
4312
4313 * gdb.base/foll-vfork.c: Add copyright header.
4314 * gdb.base/vforked-prog.c: Add copyright header.
4315
43162012-11-02 Pedro Alves <palves@redhat.com>
4317
4318 * gdb.base/foll-vfork.exp
4319 (vfork_and_exec_child_follow_through_step): Don't skip on
4320 non-HP/UX targets. Expect the next to only step one line on
4321 non-HP/UX targets, rather than stopping only after the exec.
4322
43232012-11-02 Pedro Alves <palves@redhat.com>
4324
4325 Don't hard code line numbers.
4326
4327 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
4328 Expect text from the sources instead of a line number.
4329 (vfork_parent_follow_to_bp)
4330 (vfork_and_exec_child_follow_to_main_bp)
4331 (vfork_and_exec_child_follow_through_step)
4332 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4333 Use gdb_get_line_number.
4334
43352012-11-02 Pedro Alves <palves@redhat.com>
4336
4337 Modernize.
4338
4339 * gdb.base/foll-vfork.exp: Use standard_testfile and
4340 build_executable. Pass descriptive string to untested.
4341 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
4342 (vfork_and_exec_child_follow_to_main_bp)
4343 (vfork_and_exec_child_follow_through_step)
4344 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
4345 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
4346 of send_gdb/gdb_expect.
4347
4348 (kill_child): New procedure.
4349 (vfork_and_exec_child_follow_to_main_bp)
4350 (vfork_and_exec_child_follow_through_step): Use it.
4351
f0559fff
YQ
43522012-11-02 Yao Qi <yao@codesourcery.com>
4353
4354 * gdb.base/setvar.exp: Test setting nested struct.
4355 * gdb.base/setvar.c (v_struct3): New.
4356
c207c6da
DE
43572012-11-01 Doug Evans <dje@google.com>
4358
4359 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
4360 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
4361 use them.
4362
2f27adfe
AB
43632012-10-31 Andrew Burgess <aburgess@broadcom.com>
4364
4365 PR cli/14772
4366 * gdb.base/gnu_vector.c (union_with_vector_1)
4367 (struct_with_vector_1): Add new struct and union for testing
4368 ptype.
4369 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
4370 structs / unions containing vectors.
4371
bb662ca6
YQ
43722012-10-25 Yao Qi <yao@codesourcery.com>
4373
4374 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
4375 'setup_kfail' instead of 'setup_kfail_for_target'.
4376 * gdb.base/varargs.exp: Likewise.
4377 * lib/gdb.exp (setup_kfail_for_target): Remove.
4378
635d23ff
MK
43792012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
4380
4381 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
4382
afdb064f
MK
43832012-10-25 Mark Kettenis <kettenis@gnu.org>
4384
4385 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
4386
d99dcf51
JB
43872012-10-24 Joel Brobecker <brobecker@adacore.com>
4388
4389 * gdb.ada/set_wstr: New testcase.
4390
32560274
JB
43912012-10-24 Joel Brobecker <brobecker@adacore.com>
4392
4393 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
4394
5ded5331
JB
43952012-10-24 Joel Brobecker <brobecker@adacore.com>
4396
4397 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
4398
d8d84291
MK
43992012-10-24 Mark Kettenis <kettenis@gnu.org>
4400
4401 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
4402
6e933c51
JK
44032012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4404
4405 * gdb.base/callfuncs.exp (do_function_calls): Fix
4406 setup_kfail_for_target for -m32 mode.
4407
274bd000
MK
44082012-10-23 Mark Kettenis <kettenis@gnu.org>
4409
4410 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
4411 are now fixed.
4412
545f743d
YQ
44132012-10-23 Yao Qi <yao@codesourcery.com>
4414
4415 * gdb.base/info-os.exp: Resume the inferior until it exits.
4416
48b56b6a 44172012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
4418
99c7d5a8 4419 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
4420 * gdb.base/print-file-var.exp: Likewise.
4421 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 4422
8de0566d
YQ
44232012-10-17 Yao Qi <yao@codesourcery.com>
4424
4425 * gdb.mi/mi-memory-changed.exp: New.
4426
44883546
YQ
44272012-10-16 Yao Qi <yao@codesourcery.com>
4428
4429 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
4430 returns true.
4431 Call gdb_load_shlibs.
4432 * gdb.reverse/solib-reverse.exp: Likewise.
4433
345f514a
KS
44342012-10-15 Keith Seitz <keiths@redhat.com>
4435
4436 * lib/cp-support.exp (cp_test_ptype_class): Add support
4437 for class typedefs.
4438
4439 * gdb.cp/derivation.exp: Add tests for g_instance.
4440
9e3a7d65
JK
44412012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4442
4443 Fix entry values resolving in inlined frames.
4444 * gdb.arch/amd64-entry-value-inline.S: New file.
4445 * gdb.arch/amd64-entry-value-inline.c: New file.
4446 * gdb.arch/amd64-entry-value-inline.exp: New file.
4447
21a7b089
JK
44482012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4449 Doug Evans <dje@google.com>
4450
4451 Fix recent gdb_breakpoint regression.
4452 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
4453 braces from the parameter.
4454 * gdb.java/jprint.exp: Likewise.
4455
2c47921e
DE
44562012-10-15 Doug Evans <dje@google.com>
4457
4458 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
4459
89398707
JB
44602012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
4461
4462 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
4463
801e4185
TT
44642012-10-15 Tom Tromey <tromey@redhat.com>
4465
4466 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
4467
74f910c8
TT
44682012-10-15 Tom Tromey <tromey@redhat.com>
4469
4470 * gdb.python/py-symbol.exp: Test symbol destructor.
4471
91567807
YQ
44722012-10-14 Yao Qi <yao@codesourcery.com>
4473
4474 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
4475 * gdb.mi/mi-cli.exp: New.
4476
4477 * gdb.mi/mi2-basics.exp: Remove.
4478 * gdb.mi/mi2-break.exp: Remove.
4479 * gdb.mi/mi2-console.exp: Remove.
4480 * gdb.mi/mi2-disassemble.exp: Remove.
4481 * gdb.mi/mi2-eval.exp: Remove.
4482 * gdb.mi/mi2-file.exp: Remove.
4483 * gdb.mi/mi2-hack-cli.exp: Remove.
4484 * gdb.mi/mi2-pthreads.exp: Remove.
4485 * gdb.mi/mi2-read-memory.exp: Remove.
4486 * gdb.mi/mi2-regs.exp: Remove.
4487 * gdb.mi/mi2-return.exp: Remove.
4488 * gdb.mi/mi2-simplerun.exp: Remove.
4489 * gdb.mi/mi2-stack.exp: Remove.
4490 * gdb.mi/mi2-stepi.exp: Remove.
4491 * gdb.mi/mi2-syn-frame.exp: Remove.
4492 * gdb.mi/mi2-until.exp: Remove.
4493 * gdb.mi/mi2-watch.exp: Remove.
4494 * gdb.mi/mi2-var-block.exp: Remove.
4495 * gdb.mi/mi2-var-cmd.exp: Remove.
4496 * gdb.mi/mi2-var-display.exp: Remove.
4497
87332029
YQ
44982012-10-12 Yao Qi <yao@codesourcery.com>
4499
4500 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
4501 trail '.*' on matching patterns.
4502
11fc9057
L
45032012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4504
4505 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
4506 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
4507 * gdb.arch/i386-disp-step.exp: Likewise.
4508 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4509 * gdb.arch/i386-prologue.exp: Likewise.
4510 * gdb.arch/i386-size-overlap.exp: Likewise.
4511 * gdb.arch/i386-size.exp: Likewise.
4512 * gdb.arch/i386-unwind.exp: Likewise.
4513
7d46bcdc
L
45142012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4515
4516 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
4517 * gdb.arch/i386-word.exp: Likewise.
4518
31224d9d
L
45192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4520
4521 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
4522 is_ilp32_target to set nr_regs.
4523 * gdb.arch/i386-sse.exp: Likewise.
4524
5b7d0050
DE
45252012-10-11 Doug Evans <dje@google.com>
4526
7c09e5a0
DE
4527 PR breakpoints/14643.
4528 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
4529 * gdb.linespec/thread.c: New file.
4530 * gdb.linespec/thread.exp: New file.
4531
5b7d0050
DE
4532 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
4533 Recognize "message" -> print pass and fail. Add eof case.
4534 (runto): Recognize message, no-message. Print pass/fail if requested,
4535 with same treatment as gdb_breakpoint.
4536 (runto_main): Pass no-message to runto.
4537 (gdb_internal_error_resync): Add log message.
4538 (gdb_file_cmd): Tweak internal error fail text for consistency.
4539
2e24f4aa
JK
45402012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4541
4542 Fix crash during stepping on ppc32.
4543 * gdb.base/step-symless.c: New file.
4544 * gdb.base/step-symless.exp: New file.
4545
aa14df25
DE
45462012-10-03 Doug Evans <dje@google.com>
4547
4548 PR symtab/14601
4549 * gdb.cp/using-crash.exp: New file.
4550 * gdb.cp/using-crash.cc: New file.
4551
975531db
DE
45522012-10-02 Doug Evans <dje@google.com>
4553
4554 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
4555 more consistent.
4556 (runto,gdb_debug_format): Ditto.
4557 (gdb_file_cmd): Watch for eof in nested gdb_expect.
4558 Clean up logging and error messages.
4559
b3dc46ff
AB
45602012-10-01 Andrew Burgess <aburgess@broadcom.com>
4561
4562 Test find command on unmapped memory.
4563 * gdb.base/find-unmapped.c: New file.
4564 * gdb.base/find-unmapped.exp: New file.
4565
45814d45
YQ
45662012-09-29 Yao Qi <yao@codesourcery.com>
4567
4568 * gdb.trace/mi-tracepoint-changed.exp: New.
4569 * gdb.mi/mi-breakpoint-changed.exp: New.
4570 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
4571 * gdb.mi/pendshr2.c: New.
4572
4c2786ba
YQ
45732012-09-28 Yao Qi <yao@codesourcery.com>
4574
4575 * gdb.mi/pr11022.exp: New.
4576 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
4577
7977e5d2
TT
45782012-09-27 Tom Tromey <tromey@redhat.com>
4579
4580 * gdb.cp/derivation.exp: Add regression test.
4581 * gdb.cp/derivation.cc (class V_base, class V_inter, class
4582 V_derived): New.
4583 (vderived): New global.
4584
0971de02
TT
45852012-09-26 Tom Tromey <tromey@redhat.com>
4586
4587 * gdb.dwarf2/dw2-common-block.S: New file.
4588 * gdb.dwarf2/dw2-common-block.exp: New file.
4589
4357ac6c
TT
45902012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4591
4592 * gdb.fortran/common-block.exp: New file.
4593 * gdb.fortran/common-block.f90: New file.
4594
6f380991
AB
45952012-09-26 Andrew Burgess <aburgess@broadcom.com>
4596
4597 * gdb.base/duplicate-bp.c: New file.
4598 * gdb.base/duplicate-bp.exp: New file.
4599
8ae551cf
YQ
46002012-09-26 Yao Qi <yao@codesourcery.com>
4601
4602 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
4603
4604 Revert:
4605 2012-09-21 Yao Qi <yao@codesourcery.com>
4606
4607 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4608
318102b9
SP
46092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4610
4611 * gdb.base/longest-types.c: New test case.
4612 * gdb.base/longest-types.exp: New test case.
4613
a1e5fd69
YQ
46142012-09-25 Yao Qi <yao@codesourcery.com>
4615
4616 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
4617
04e7407c
JK
46182012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4619
4620 Fix internal error on canonicalization of clang types.
4621 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
4622 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
4623 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
4624
9bf4bce9
JK
46252012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4626
4627 Fix disassemble without parameters in tailcall frame.
4628 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
4629
2603f7ee
AB
46302012-09-21 Andrew Burgess <aburgess@broadcom.com>
4631
4632 * gdb.dwarf2/dw2-op-out-param.S: New file.
4633 * gdb.dwarf2/dw2-op-out-param.exp: New file.
4634
a3569abd
YQ
46352012-09-21 Yao Qi <yao@codesourcery.com>
4636
4637 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4638
a065d7af
YQ
46392012-09-21 Yao Qi <yao@codesourcery.com>
4640
4641 * gdb.mi/mi-cli.exp: Remove.
4642 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
4643
15544bd9
YQ
46442012-09-21 Yao Qi <yao@codesourcery.com>
4645
4646 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
4647 "=record-started" notification.
4648
82a90ccf
YQ
46492012-09-21 Yao Qi <yao@codesourcery.com>
4650
4651 * gdb.mi/mi-record-changed.exp: New.
4652 * gdb.mi/mi-reverse.exp: Adjust expected output.
4653
d7de8e3c
TT
46542012-09-20 Tom Tromey <tromey@redhat.com>
4655
4656 * gdb.python/python.exp: Test atexit.register.
4657
1aa99537
DE
46582012-09-20 Doug Evans <dje@google.com>
4659
05eade73
DE
4660 * boards/dwarf4-gdb-index.exp: New file.
4661
1aa99537
DE
4662 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
4663 while running the tests.
4664
4ae24af0
JB
46652012-09-18 Joel Brobecker <brobecker@adacore.com>
4666
4667 * gdb.ada/bp_reset: New testcase.
4668
bb25a15c
YQ
46692012-09-18 Yao Qi <yao@codesourcery.com>
4670
4671 * gdb.trace/mi-tsv-changed.exp: New.
4672
201b4506
YQ
46732012-09-18 Yao Qi <yao@codesourcery.com>
4674
4675 * gdb.trace/mi-traceframe-changed.exp: New.
4676
6fc1c773
YQ
46772012-09-17 Yao Qi <yao@codesourcery.com>
4678
4679 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
4680 when it is less than 0.
4681
1ab3b62c
JK
46822012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4683
4684 PR 14119
4685 * gdb.arch/amd64-tailcall-ret.S: New file.
4686 * gdb.arch/amd64-tailcall-ret.c: New file.
4687 * gdb.arch/amd64-tailcall-ret.exp: New file.
4688 * gdb.reverse/amd64-tailcall-reverse.S: New file.
4689 * gdb.reverse/amd64-tailcall-reverse.c: New file.
4690 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
4691
acf9414f
JK
46922012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4693
4694 PR 14548
4695 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
4696 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
4697 * gdb.reverse/singlejmp-reverse.S: New file.
4698 * gdb.reverse/singlejmp-reverse.c: New file.
4699 * gdb.reverse/singlejmp-reverse.exp: New file.
4700
666b578b
JK
47012012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4702
4703 Fix compatibility with old GCC (~4.1).
4704 * gdb.cp/converts.cc (my_enum_var): New variable.
4705
42056501
AB
47062012-09-14 Andrew Burgess <aburgess@broadcom.com>
4707
4708 * gdb.xml/tdesc-regs.exp: Update expected output for new
4709 vector_size syntax of vector types.
4710
b9516fa1
YPK
47112012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
4712
4713 Refactor Python "gdb" module into a proper Python package, by
4714 introducing a new "_gdb" module for code implemented in C, and
4715 using reload/__import__ instead of exec.
4716 * gdb.python/python.exp (Test stderr location): Update module
4717 location of GDB-specific sys.stderr.
4718 (Test stdout location): Ditto for sys.stdout.
4719
18dc9ad8
JK
47202012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
4723
ea3a9873
KS
47242012-09-12 Keith Seitz <keiths@redhat.com>
4725
4726 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
4727 conversion statement.
4728
5941debb
DE
47292012-09-12 Doug Evans <dje@google.com>
4730
4731 * gdb.base/help.exp: Remove testing of individual command help text,
4732 too much of a maintenance burden. Instead, test the functionality
4733 of "help" itself.
4734
cfc35e02
DE
47352012-09-11 Doug Evans <dje@google.com>
4736
3a0ed5d7
DE
4737 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
4738 breakpoint.
4739
cfc35e02
DE
4740 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
4741 * gdb.dwarf2/fission-reread.S: Ditto.
4742 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
4743 * gdb.dwarf2/fission-reread.exp: Ditto.
4744
350b1b26
AB
47452012-09-11 Andrew Burgess <aburgess@broadcom.com>
4746
4747 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
4748
2fa15f23
JB
47492012-09-10 Joel Brobecker <brobecker@adacore.com>
4750
4751 * gdb.ada/optim_drec: New testcase.
4752
09be558e
DE
47532012-09-10 Doug Evans <dje@google.com>
4754
4755 * boards/fission.exp: Explicitly mark "board" as not remote.
4756
5b4f6e25
KS
47572012-09-10 Keith Seitz <keiths@redhat.com>
4758
4759 PR gdb/13483
4760 * gdb.cp/converts.cc (A::A): Add ctor.
4761 (A::member_): Add member.
4762 (enum my_enum): New enumeration.
4763 (main): Add calls to foo1_7 with various
4764 permitted arguments.
4765 * gdb.cp/converts.exp: Add tests for boolean
4766 conversions permitted by the standard.
4767
b4ca5ed9
YPK
47682012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
4769
4770 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
4771 avoid spurious results due to ~/.gdbinit.
4772 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
4773 $INTERNAL_GDBFLAGS in run command.
4774 * gdb.gdb/observer.exp (setup_test): Ditto.
4775 * gdb.gdb/selftest.exp (test_with_self): Ditto.
4776 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
4777
d54b30bb
DE
47782012-09-06 Doug Evans <dje@google.com>
4779
14910956
DE
4780 * boards/fission.exp: New file.
4781
d54b30bb
DE
4782 * gdb.python/py-value.exp: Use clean_restart.
4783
91b253e1
DE
47842012-09-05 Doug Evans <dje@google.com>
4785
4786 * gdb.base/info-macros.c: Fix whitespace.
4787
1292279a
PA
47882012-08-28 Pedro Alves <palves@redhat.com>
4789
4790 PR gdb/14428
4791
4792 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
4793
1c8cdcb1
JK
47942012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4795
4796 * gdb.base/break-caller-line.c: New file.
4797 * gdb.base/break-caller-line.exp: New file.
4798
1e8e8b51
JK
47992012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4800
4801 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
4802 * gdb.arch/i386-cfi-notcurrent.S: New file.
4803 * gdb.arch/i386-cfi-notcurrent.exp: New file.
4804
1591a1e8
PA
48052012-08-27 Wei-cheng Wang <cole945@gmail.com>
4806 Yao Qi <yao@codesourcery.com>
4807 Pedro Alves <palves@redhat.com>
4808
4809 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
4810 New procedures.
4811 (top level): Add overlap checking tests.
4812
4442ada7
TT
48132012-08-24 Tom Tromey <tromey@redhat.com>
4814
4815 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
4816 gdb_test_multiple fails for other reasons.
4817
e7d50cc9
YQ
48182012-08-24 Yao Qi <yao@codesourcery.com>
4819
4820 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
4821
dfbd5e7b
PA
48222012-08-23 Pedro Alves <palves@redhat.com>
4823
4824 * gdb.base/help.exp: Adjust to "handle" help text change.
4825
8d735b87
YQ
48262012-08-23 Yao Qi <yao@codesourcery.com>
4827
4828 * gdb.trace/disconnected-tracing.c (start, end): New.
4829 (main): Call start and end.
4830 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
4831 existing tests into this proc.
4832 (disconnected_tfind): New.
4833
61b1d759
YQ
48342012-08-23 Yao Qi <yao@codesourcery.com>
4835
4836 * boards/native-gdbserver.exp (${board}_upload): New.
4837 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
4838 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
4839 Execute tfile on remote target.
4840 Copy trace file from target to host.
4841
6ca1b147
JM
48422012-08-22 Joseph Myers <joseph@codesourcery.com>
4843
4844 * gdb.arch/thumb-bx-pc.S: New file.
4845 * gdb.arch/thumb-bx-pc.exp: New file.
4846
706e3705
TT
48472012-08-22 Tom Tromey <tromey@redhat.com>
4848
4849 * gdb.base/maint.exp: Update.
4850
b4893d48
TT
48512012-08-22 Tom Tromey <tromey@redhat.com>
4852
4853 * lib/gdb.exp (skip_unwinder_tests): New proc.
4854 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
4855 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
4856
45b7da81
TT
48572012-08-21 Tom Tromey <tromey@redhat.com>
4858
4859 * gdb.hp/gdb.aCC/exception.exp: Remove.
4860
f94363d7
AP
4861012-08-19 Andrew Pinski <apinski@cavium.com>
4862
4863 * gdb.arch/mips-octeon-bbit.c: New file.
4864 * gdb.arch/mips-octeon-bbit.exp: New Test.
4865
e5afdbd7
KS
4866012-08-19 Keith Seitz <keiths@redhat.com>
4867
4868 PR c++/14365
4869 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
4870 * gdb.dwarf2/dw2-anon-mptr.S: New file.
4871
c29e8b64
JK
48722012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4873
4874 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
4875 verbose -log by more specific untested call.
4876
15a7e7bc
YQ
48772012-08-18 Yao Qi <yao@codesourcery.com>
4878
4879 * gdb.trace/tfind.exp: Move tests on various command help before
4880 checking target supports trace.
4881 Fix the expected output of 'help tfind end'.
4882
a451cb65
KS
48832012-08-17 Keith Seitz <keiths@redhat.com>
4884
4885 PR c++/13356
4886 * gdb.base/default.exp: Update all "check type" tests.
4887 * gdb.base/help.exp: Likewise.
4888 * gdb.base/setshow.exp: Likewise.
4889 * gdb.cp/converts.cc (foo1_type_check): New function.
4890 (foo2_type_check): New function.
4891 (foo3_type_check): New function.
4892 (main): Call new functions.
4893 * converts.exp: Add tests for integer-to-pointer conversions
4894 with/without strict type-checking.
4895
dbf6a605
MF
48962012-08-16 Mike Frysinger <vapier@gentoo.org>
4897
4898 * gdb.base/help.exp: Update expected output.
4899
0c92d8c1
JB
49002012-08-16 Joel Brobecker <brobecker@adacore.com>
4901
4902 * gdb.ada/rdv_wait: New testcase.
4903
e56f7f42
JK
49042012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 * gdb.base/attach-twice.exp: Remove excessive ps exec.
4907
f47f77df
DE
49082012-08-13 Doug Evans <dje@google.com>
4909
e202d6e8 4910 * gdb.base/help.exp: Update expected output.
f47f77df
DE
4911 * gdb.base/default.exp: Update expected output of "show convenience".
4912
a72c3253
DE
49132012-08-10 Doug Evans <dje@google.com>
4914
4915 * gdb.python/py-strfns.c: New file.
4916 * gdb.python/py-strfns.exp: New file.
4917 * gdb.python/py-type.exp (test_fields): Add vector tests.
4918
de0bea00
MF
49192012-08-10 Mike Frysinger <vapier@gentoo.org>
4920
4921 PR cli/10436:
4922 * gdb.base/completion.exp: Add tests for handle completion.
4923
5b9afe8a
YQ
49242012-08-09 Yao Qi <yao@codesourcery.com>
4925
4926 * gdb.mi/mi-cmd-param-changed.exp: New.
4927 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
4928 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
4929 * gdb.mi/mi2-prompt.exp: Likewise.
4930
4f485ebc
DE
49312012-08-08 Doug Evans <dje@google.com>
4932
4933 * gdb.base/debug-expr.c: New file.
4934 * gdb.base/debug-expr.exp: New file.
4935 * gdb.base/exprs.exp: Test {type} casts.
4936 * gdb.cp/debug-expr.exp: New file.
4937
5888842d
JK
49382012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4939
4940 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
4941 global variable loop, not a 'break'. Add loop count limit to 100.
4942 Add new fail case for terminated vgdb.
4943
4f69f4c2
JK
49442012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4945 Jean-Marc Saffroy <saffroy@gmail.com>
4946
4947 PR 11804
4948 * gdb.base/gcore-relro.exp: New file.
4949 * gdb.base/gcore-relro-main.c: New file.
4950 * gdb.base/gcore-relro-lib.c: New file.
4951
e2de5390
JK
49522012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4953
4954 Do not false FAIL with old GCCs.
4955 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
4956 GCC < 4.5 in $no_hw mode.
4957
606603c5
JK
49582012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4959
4960 * gdb.base/default.exp (cd): Accept new directory with no arguments.
4961
777f26c2
JK
49622012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4963
4964 * gdb.base/list.exp (test_only_end): New function.
4965 Call it.
4966
2c12abee
TT
49672012-08-06 Tom Tromey <tromey@redhat.com>
4968
4969 * gdb.python/py-mi.exp: Add test for printer whose children
4970 are a list.
4971 * gdb.python/py-prettyprint.c (struct children_as_list): New.
4972 (main): New variable children_as_list.
4973 * gdb.python/py-prettyprint.py (class pp_children_as_list):
4974 New.
4975 (register_pretty_printers): Register new printer.
4976
0eae2cf4
EBM
49772012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4978
4979 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
4980 symbols. Abort if vgdb remote connection is closed.
4981
09e0881d
DE
49822012-08-02 Doug Evans <dje@google.com>
4983
4984 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
4985
b40f514f
SDJ
49862012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
4987
4988 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
4989 s390x, PowerPC 64 and m68k-linux.
4990
11315ae0
UW
49912012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4992
4993 * gdb.base/annota1.exp: Accept no frames-invalid notification
4994 when starting up the program.
4995 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
4996 show a symbolic value as well.
4997 * gdb.server/server-exec-info.exp: Skip test when skipping
4998 gdbserver test and/or when skipping shared library tests.
4999 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
5000 avoid name conflicts with other tests.
5001
0547eeed
UW
50022012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5003
5004 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
5005 Fix wrong output on big-endian systems.
5006 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
5007 4-byte pointer types on 64-bit s390x.
5008
bdddb4de
UW
50092012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5010
5011 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
5012 marker comment at the beginning (after intialization).
5013 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
5014 breakpoint on marker comment instead of function begin.
5015 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
5016 PowerPC.
5017 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
5018 or 64-bit PowerPC.
5019 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
5020 gdb,no_hardware_watchpoints flag is set.
5021 (initialize): Remove now redundant can-use-hw-watchpoints change.
5022
5d206025
YQ
50232012-08-02 Yao Qi <yao@codesourcery.com>
5024 Pedro Alves <palves@redhat.com>
5025
5026 * boards/local-remote-host.exp: New.
5027
4f665099
UW
50282012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5029
5030 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
5031 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
5032 * gdb.base/print-file-var.exp: Likewise.
5033 * gdb.server/solib-list.exp: Skip on remote targets.
5034
b62e2b27
UW
50352012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5036
5037 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
5038 watchpoints on ARM. When expecting software watchpoints, tolerate
5039 (remote) targets that report unsupported hardware watchpoint only
5040 at continue time.
5041 (test_wide_location_2): Likewise.
5042
a967a851
JK
50432012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5044
5045 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
5046 valgrind versions.
5047
75d9f9ff 50482012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
5049
5050 * gdb.base/valgrind-infcall.c: New file.
5051 * gdb.base/valgrind-infcall.exp: New file.
5052
75d9f9ff
JK
5053 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
5054
1c9f2ed2
KS
50552012-07-30 Keith Seitz <keiths@redhat.com>
5056
5057 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
5058 linespecs.
5059
7f9b2034
DE
50602012-07-30 Doug Evans <dje@google.com>
5061
85220e01
DE
5062 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
5063 * gdb.dwarf2/pr13961.S: Ditto.
5064
7f9b2034
DE
5065 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
5066
4e969b4f
AB
50672012-07-30 Andrew Burgess <aburgess@broadcom.com>
5068
5069 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
5070 change its format immediately after reloading the binary.
5071
e7de8362
JK
50722012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5073
5074 Fix testsuite regression after --use-deprecated-index-sections removal.
5075 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
5076 string.
5077 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
5078
7255706c
YQ
50792012-07-27 Yao Qi <yao@codesourcery.com>
5080
5081 KFAIL for PR remote/14161.
5082 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
5083 Cleanup socket files.
5084 (strace_info_marker): Detach inferior.
5085
f2e8016f
TT
50862012-07-26 Tom Tromey <tromey@redhat.com>
5087
6fdff2c5 5088 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 5089
f66713d2
JK
50902012-07-26 Markus Metzger <markus.t.metzger@intel.com>
5091
5092 * gdb.python/py-inferior.c (thread): New function.
5093 (check_threads): New function.
5094 (test_threads): New function.
5095 * gdb.python/py-inferior.exp: Added test.
5096 Replaced runto with continue to breakpoint.
5097
8223e12c
TT
50982012-07-26 Tom Tromey <tromey@redhat.com>
5099
5100 * lib/ada.exp (standard_ada_testfile): New proc.
5101 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
5102 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
5103 * gdb.ada/array_return.exp: Use standard_ada_testfile.
5104 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
5105 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
5106 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
5107 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
5108 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
5109 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
5110 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
5111 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
5112 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
5113 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
5114 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
5115 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
5116 * gdb.ada/char_param.exp: Use standard_ada_testfile.
5117 * gdb.ada/complete.exp: Use standard_ada_testfile.
5118 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
5119 standard_output_file.
5120 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
5121 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
5122 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
5123 standard_output_file.
5124 * gdb.ada/exprs.exp: Use standard_ada_testfile.
5125 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
5126 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
5127 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
5128 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
5129 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
5130 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
5131 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
5132 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
5133 * gdb.ada/homonym.exp: Use standard_ada_testfile.
5134 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
5135 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
5136 * gdb.ada/interface.exp: Use standard_ada_testfile.
5137 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
5138 standard_output_file
5139 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
5140 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
5141 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
5142 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
5143 * gdb.ada/nested.exp: Use standard_ada_testfile.
5144 * gdb.ada/null_array.exp: Use standard_ada_testfile.
5145 * gdb.ada/null_record.exp: Use standard_ada_testfile.
5146 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
5147 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
5148 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
5149 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
5150 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
5151 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
5152 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
5153 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
5154 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
5155 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
5156 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
5157 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
5158 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
5159 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
5160 * gdb.ada/start.exp: Use standard_ada_testfile.
5161 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
5162 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
5163 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
5164 * gdb.ada/tagged.exp: Use standard_ada_testfile.
5165 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
5166 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
5167 * gdb.ada/tasks.exp: Use standard_ada_testfile.
5168 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
5169 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
5170 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
5171 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
5172 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
5173 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
5174 * gdb.ada/widewide.exp: Use standard_ada_testfile.
5175
bbec57e4
JK
51762012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5177
5178 Fix testsuite regression after --use-deprecated-index-sections removal.
5179 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
5180
9cc8e32c
JK
51812012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5182
5183 Fix compatibility with Tcl before 7.5.
5184 * lib/future.exp (lreverse): New function if it does not exist.
5185
ea5ca7b5
MK
51862012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
5187
5188 * gdb.mi/mi-pending.c: New method to set a second pending
5189 breakpoint.
5190 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
5191 condition.
5192
64776a0b
PA
51932012-07-20 Pedro Alves <palves@redhat.com>
5194
5195 PR threads/11692
5196 PR gdb/12203
5197
5198 * gdb.threads/create-fail.c: New file.
5199 * gdb.threads/create-fail.exp: New file.
5200
13e4e967
PA
52012012-07-19 Pedro Alves <palves@redhat.com>
5202
5203 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
5204 * config/vx.exp (gdb_start): Likewise.
5205 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
5206 * gdb.base/setvar.exp (test_set): Likewise.
5207 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
5208 * gdb.reverse/sigall-precsave.exp: Likewise.
5209 * gdb.reverse/sigall-reverse.exp: Likewise.
5210
b7aefa4d
PA
52112012-07-19 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
5214 handler before recording.
5215
608b4967
TT
52162012-07-19 Tom Tromey <tromey@redhat.com>
5217
5218 * gdb.cp/casts.exp: Add tests for typeof and decltype.
5219 * gdb.cp/casts.cc (decltype): New function.
5220 (main): Use it.
5221
b1e0c0fa
PA
52222012-07-19 Pedro Alves <palves@redhat.com>
5223
5224 * gdb.base/sigall.exp (signals): New list.
5225 <top level>: Loop over signals in the $signals list instead of
5226 calling a test function once per signal.
5227 * gdb.reverse/sigall-precsave.exp (signals): New list.
5228 <top level>: Loop over signals in the $signals list instead of
5229 calling a test function once per signal.
5230 * gdb.reverse/sigall-reverse.exp (signals): New list.
5231 <top level>: Loop over signals in the $signals list instead of
5232 calling a test function once per signal.
5233
6ace3df1
YQ
52342012-07-19 Yao Qi <yao@codesourcery.com>
5235
5236 * gdb.base/setshow.exp: Test 'set args ~'.
5237
263a0f8c
JK
52382012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5239
5240 * gdb.base/store.exp (check_set): Import gdb_prompt.
5241 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
5242 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
5243
8f043999
JK
52442012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5245
5246 PR 11914
5247 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
5248 (main): Call eval_sub.
5249 * gdb.python/py-prettyprint.exp:
5250 (python execfile ('py-prettyprint.py')): Move it earlier.
5251 New breakpoint for eval-break.
5252 (continue to breakpoint: eval-break, info locals): New test.
5253 (python execfile ('py-prettyprint.py')): Move it from here.
5254 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
5255 (register_pretty_printers): Register pp_eval_type.
5256
725c7b66
JK
52572012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5258
5259 Fix a testcase regression by me.
5260 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
5261 DW_FORM_data4.
5262
4359dff1
JK
52632012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5264 Doug Evans <dje@google.com>
5265
5266 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
5267 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
5268
61e44cfa
JK
52692012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5270
5271 Fix gdbserver run regression.
5272 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
5273
93c0ef37
TT
52742012-07-12 Tom Tromey <tromey@redhat.com>
5275
5276 * lib/gdb.exp (standard_testfile): Don't declare objdir.
5277 (clean_restart): Likewise.
5278 (core_find): Use standard_output_file.
5279
76027ef5
TT
52802012-07-12 Tom Tromey <tromey@redhat.com>
5281
5282 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
5283 * gdb.dwarf2/dw2-anonymous-func.exp: Use
5284 prepare_for_testing_full.
5285 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
5286 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
5287 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
5288 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
5289 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
5290 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
5291 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
5292 prepare_for_testing_full.
5293 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
5294 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
5295 prepare_for_testing_full.
5296 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
5297 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
5298 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
5299
85b4440a
TT
53002012-07-12 Tom Tromey <tromey@redhat.com>
5301
5302 * lib/gdb.exp (build_executable_from_specs): New proc, from
5303 build_executable.
5304 (build_executable): Use it.
5305 (prepare_for_testing_full): New proc.
5306
55baab26
TT
53072012-07-11 Tom Tromey <tromey@redhat.com>
5308
5309 * gdb.reverse/break-precsave.exp: Use standard_output_file.
5310 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
5311 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
5312 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
5313 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
5314 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
5315 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
5316 * gdb.reverse/step-precsave.exp: Use standard_output_file.
5317 * gdb.reverse/until-precsave.exp: Use standard_output_file.
5318 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
5319
298a9cf0
TT
53202012-07-10 Tom Tromey <tromey@redhat.com>
5321
5322 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
5323 standard_output_file.
5324 * gdb.mi/gdb2549.exp: Use standard_testfile.
5325 * gdb.mi/gdb669.exp: Use standard_testfile.
5326 * gdb.mi/gdb701.exp: Use standard_testfile.
5327 * gdb.mi/gdb792.exp: Use standard_testfile.
5328 * gdb.mi/mi-async.exp: Use standard_testfile.
5329 * gdb.mi/mi-basics.exp: Use standard_testfile.
5330 * gdb.mi/mi-break.exp: Use standard_testfile.
5331 * gdb.mi/mi-cli.exp: Use standard_testfile.
5332 * gdb.mi/mi-console.exp: Use standard_testfile.
5333 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
5334 * gdb.mi/mi-eval.exp: Use standard_testfile.
5335 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
5336 * gdb.mi/mi-file.exp: Use standard_testfile.
5337 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
5338 * gdb.mi/mi-logging.exp: Use standard_testfile.
5339 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
5340 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
5341 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
5342 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
5343 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
5344 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
5345 * gdb.mi/mi-pending.exp: Use standard_testfile,
5346 standard_output_file.
5347 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
5348 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
5349 * gdb.mi/mi-regs.exp: Use standard_testfile.
5350 * gdb.mi/mi-return.exp: Use standard_testfile.
5351 * gdb.mi/mi-reverse.exp: Use standard_testfile.
5352 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
5353 * gdb.mi/mi-solib.exp: Use standard_testfile,
5354 standard_output_file.
5355 * gdb.mi/mi-stack.exp: Use standard_testfile.
5356 * gdb.mi/mi-stepi.exp: Use standard_testfile.
5357 * gdb.mi/mi-stepn.exp: Use standard_testfile.
5358 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
5359 * gdb.mi/mi-until.exp: Use standard_testfile.
5360 * gdb.mi/mi-var-block.exp: Use standard_testfile.
5361 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
5362 * gdb.mi/mi-var-child.exp: Use standard_testfile.
5363 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
5364 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
5365 * gdb.mi/mi-var-display.exp: Use standard_testfile.
5366 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
5367 standard_output_file.
5368 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
5369 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
5370 * gdb.mi/mi-watch.exp: Use standard_testfile.
5371 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
5372 * gdb.mi/mi2-basics.exp: Use standard_testfile.
5373 * gdb.mi/mi2-break.exp: Use standard_testfile.
5374 * gdb.mi/mi2-cli.exp: Use standard_testfile.
5375 * gdb.mi/mi2-console.exp: Use standard_testfile.
5376 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
5377 * gdb.mi/mi2-eval.exp: Use standard_testfile.
5378 * gdb.mi/mi2-file.exp: Use standard_testfile.
5379 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
5380 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
5381 * gdb.mi/mi2-regs.exp: Use standard_testfile.
5382 * gdb.mi/mi2-return.exp: Use standard_testfile.
5383 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
5384 * gdb.mi/mi2-stack.exp: Use standard_testfile.
5385 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
5386 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
5387 * gdb.mi/mi2-until.exp: Use standard_testfile.
5388 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
5389 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
5390 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
5391 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
5392 * gdb.mi/mi2-watch.exp: Use standard_testfile.
5393
f5f3a911
TT
53942012-07-10 Tom Tromey <tromey@redhat.com>
5395
5396 * gdb.cp/abstract-origin.exp: Use standard_testfile.
5397 * gdb.cp/ambiguous.exp: Use standard_testfile,
5398 prepare_for_testing.
5399 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
5400 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
5401 * gdb.cp/anon-ns.exp: Use standard_testfile.
5402 * gdb.cp/anon-struct.exp: Use standard_testfile.
5403 * gdb.cp/anon-union.exp: Use standard_testfile,
5404 prepare_for_testing.
5405 * gdb.cp/arg-reference.exp: Use standard_testfile,
5406 prepare_for_testing.
5407 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
5408 * gdb.cp/breakpoint.exp: Use standard_testfile,
5409 prepare_for_testing.
5410 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
5411 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
5412 standard_output_file.
5413 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
5414 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
5415 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
5416 (test_static_members): Update.
5417 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
5418 * gdb.cp/converts.exp: Use standard_testfile.
5419 * gdb.cp/cp-relocate.exp: Use standard_testfile.
5420 * gdb.cp/cpcompletion.exp: Use standard_testfile,
5421 prepare_for_testing.
5422 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
5423 * gdb.cp/cplabel.exp: Use standard_testfile.
5424 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
5425 prepare_for_testing.
5426 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
5427 * gdb.cp/derivation.exp: Use standard_testfile,
5428 prepare_for_testing.
5429 * gdb.cp/destrprint.exp: Use standard_testfile.
5430 * gdb.cp/dispcxx.exp: Use standard_testfile.
5431 * gdb.cp/exception.exp: Use standard_testfile,
5432 prepare_for_testing.
5433 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
5434 * gdb.cp/extern-c.exp: Use standard_testfile,
5435 prepare_for_testing.
5436 * gdb.cp/formatted-ref.exp: Use standard_testfile,
5437 prepare_for_testing.
5438 * gdb.cp/fpointer.exp: Use standard_testfile.
5439 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
5440 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
5441 standard_output_file.
5442 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
5443 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
5444 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
5445 standard_output_file.
5446 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
5447 (do_tests): Update.
5448 * gdb.cp/koenig.exp: Use standard_testfile.
5449 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
5450 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
5451 * gdb.cp/m-static.exp: Use standard_testfile,
5452 prepare_for_testing.
5453 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
5454 * gdb.cp/mb-inline.exp: Use standard_testfile,
5455 prepare_for_testing.
5456 * gdb.cp/mb-templates.exp: Use standard_testfile,
5457 prepare_for_testing.
5458 * gdb.cp/member-ptr.exp: Use standard_testfile,
5459 prepare_for_testing.
5460 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
5461 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
5462 * gdb.cp/method2.exp: Use standard_testfile.
5463 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
5464 standard_output_file.
5465 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
5466 (do_tests): Update.
5467 * gdb.cp/namespace-enum.exp: Use standard_testfile,
5468 prepare_for_testing.
5469 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
5470 prepare_for_testing.
5471 * gdb.cp/namespace.exp: Use standard_testfile,
5472 prepare_for_testing.
5473 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
5474 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
5475 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
5476 * gdb.cp/nsimport.exp: Use standard_testfile,
5477 prepare_for_testing.
5478 * gdb.cp/nsnested.exp: Use standard_testfile.
5479 * gdb.cp/nsnoimports.exp: Use standard_testfile.
5480 * gdb.cp/nsrecurs.exp: Use standard_testfile,
5481 prepare_for_testing.
5482 * gdb.cp/nsstress.exp: Use standard_testfile,
5483 prepare_for_testing.
5484 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
5485 * gdb.cp/operator.exp: Use standard_testfile.
5486 * gdb.cp/oranking.exp: Use standard_testfile.
5487 * gdb.cp/overload-const.exp: Use standard_testfile.
5488 * gdb.cp/overload.exp: Use standard_testfile,
5489 prepare_for_testing.
5490 * gdb.cp/ovldbreak.exp: Use standard_testfile.
5491 * gdb.cp/ovsrch.exp: Use standard_testfile.
5492 * gdb.cp/paren-type.exp: Use standard_testfile.
5493 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
5494 prepare_for_testing.
5495 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
5496 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
5497 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
5498 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
5499 * gdb.cp/pr10728.exp: Use standard_testfile,
5500 standard_output_file.
5501 * gdb.cp/pr12028.exp: Use standard_testfile.
5502 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
5503 * gdb.cp/pr9167.exp: Use standard_testfile.
5504 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
5505 * gdb.cp/printmethod.exp: Use standard_testfile,
5506 prepare_for_testing.
5507 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
5508 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
5509 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
5510 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
5511 standard_output_file.
5512 * gdb.cp/readnow-language.exp: Use standard_testfile.
5513 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
5514 (gdb_start_again): Use clean_restart.
5515 * gdb.cp/ref-types.exp: Use standard_testfile,
5516 prepare_for_testing.
5517 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
5518 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
5519 * gdb.cp/smartp.exp: Use standard_testfile.
5520 * gdb.cp/static-method.exp: Use standard_testfile.
5521 * gdb.cp/static-print-quit.exp: Use standard_testfile.
5522 * gdb.cp/temargs.exp: Use standard_testfile.
5523 * gdb.cp/templates.exp: Use standard_testfile,
5524 prepare_for_testing.
5525 (do_tests): Update.
5526 * gdb.cp/try_catch.exp: Use standard_testfile,
5527 prepare_for_testing.
5528 * gdb.cp/typedef-operator.exp: Use standard_testfile.
5529 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
5530 * gdb.cp/virtbase.exp: Use standard_testfile,
5531 prepare_for_testing.
5532 * gdb.cp/virtfunc.exp: Use standard_testfile,
5533 prepare_for_testing.
5534 (do_tests): Update.
5535 * gdb.cp/virtfunc2.exp: Use standard_testfile,
5536 prepare_for_testing.
5537
686f09d0
TT
55382012-07-10 Tom Tromey <tromey@redhat.com>
5539
5540 * lib/gdb.exp (standard_testfile): Unset output variables from
5541 earlier invocations.
5542
9357e021
YQ
55432012-07-10 Yao Qi <yao@codesourcery.com>
5544
5545 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
5546 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
5547 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
5548 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
5549 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
5550 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
5551 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
5552 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
5553 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
5554 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
5555 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
5556 * gdb.mi/mi-var-display.exp: Likewise.
5557 * gdb.mi/mi-var-invalidate.exp: Likewise.
5558 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
5559 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
5560 * gdb.mi/mi2-console.exp: Likewise.
5561 * gdb.mi/mi2-disassemble.exp: Likewise.
5562 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
5563 * gdb.mi/mi2-read-memory.exp: Likewise.
5564 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
5565 * gdb.mi/mi2-simplerun.exp: Likewise.
5566 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
5567 * gdb.mi/mi2-syn-frame.exp: Likewise.
5568 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
5569 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
5570 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
5571
e314d629
TT
55722012-07-09 Tom Tromey <tromey@redhat.com>
5573
5574 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
5575 * gdb.base/callfuncs.exp: Add cast-based test.
5576 * gdb.base/callfuncs.c (voidfunc): New function.
5577
06928b3f
DE
55782012-07-08 Doug Evans <dje@google.com>
5579
5580 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
5581
32f11bad
JK
55822012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5583
5584 Fix XFAIL compatibility with old i386 systems.
5585 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
5586 Check also 'Cannot insert breakpoint 0'.
5587
76b83c51
JK
55882012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5589
5590 PR 14321
5591 * gdb.base/find.exp
5592 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
5593
a6fb9c08
TT
55942012-07-06 Tom Tromey <tromey@redhat.com>
5595
5596 * gdb.base/whatis.exp: Add test.
5597
71918a86
TT
55982012-07-06 Tom Tromey <tromey@redhat.com>
5599
5600 * gdb.base/whatis.exp: Add regression test.
5601
fcde5961
TT
56022012-07-06 Tom Tromey <tromey@redhat.com>
5603
5604 * gdb.base/whatis.exp: Add tests.
5605
f9cf0f4a
JK
56062012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5607
5608 PR 12649
5609 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
5610 gdb_test_multiple $gdb_prompt terminator.
5611
979ade8b
PA
56122012-07-04 Pedro Alves <palves@redhat.com>
5613
5614 * gdb.mi/mi-reverse.exp: Use supports_reverse and
5615 supports_process_record.
5616
8a980b44
PA
56172012-07-04 Pedro Alves <palves@redhat.com>
5618
5619 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
5620 endings.
5621 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
5622
855ba978
SS
56232012-07-03 Stan Shebs <stan@codesourcery.com>
5624
5625 * gdb.base/info-os.c (main): Retry resource acquisition until an
5626 available one is found.
5627 * gdb.base/info-os.exp: Collect resource keys from the program
5628 and use them in matching.
5629
fcb44371
JK
56302012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5631
5632 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
5633 Wrap the test into loop for corefile and core0file.
5634
08a67be6
JK
56352012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5636
5637 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
5638 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
5639 .note.GNU-stack.
5640
0f3c2347
JK
5641 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
5642
ff4a4500
SDJ
56432012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
5644
5645 * gdb.base/help.exp (help b, help br, help bre, help brea, help
5646 break): Include help message for the new `-probe' and `-probe-stap'
5647 options.
5648
d3ce09f5
SS
56492012-07-02 Stan Shebs <stan@codesourcery.com>
5650
5651 * gdb.base/dprintf.exp: Add agent style tests.
5652
a1624241
JK
56532012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5654
5655 * gdb.base/stale-infcall.c (infcall): New label test-next.
5656 (main): New labels test-pass and test-fail.
5657 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
5658 $test_fail_bpnum to test-fail.
5659 (test system longjmp tracking support): New test.
5660 Delete $test_fail_bpnum.
5661 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
5662 breakpoint.
5663
42e7ad6c
DE
56642012-06-30 Doug Evans <dje@google.com>
5665
5666 * gdb.dwarf2/fission-reread.S: New file.
5667 * gdb.dwarf2/fission-reread.exp: New file.
5668
37ce89eb
SS
56692012-06-28 Stan Shebs <stan@codesourcery.com>
5670
5671 * gdb.mi/mi-logging.exp: New file.
5672
e5ef252a
PA
56732012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5674 Pedro Alves <palves@redhat.com>
5675
5676 * gdb.threads/siginfo-threads.exp: New file.
5677 * gdb.threads/siginfo-threads.c: New file.
5678 * gdb.threads/sigstep-threads.exp: New file.
5679 * gdb.threads/sigstep-threads.c: New file.
5680
22f1fbae
TT
56812012-06-28 Tom Tromey <tromey@redhat.com>
5682
5683 * gdb.go/package.exp: Partially revert earlier patch; use
5684 gdb_compile again. Use standard_output_file.
5685
2e3cf129
DE
56862012-06-27 Doug Evans <dje@google.com>
5687
5688 * gdb.dwarf2/fission-base.c: New file.
5689 * gdb.dwarf2/fission-base.S: New file.
5690 * gdb.dwarf2/fission-base.exp: New file.
5691
785fd303
JK
56922012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5693
5694 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
5695
1bb9788d
TT
56962012-06-27 Tom Tromey <tromey@redhat.com>
5697
5698 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
5699 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
5700
c83ee902
TT
57012012-06-27 Tom Tromey <tromey@redhat.com>
5702
5703 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
5704 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
5705 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
5706 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
5707 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
5708 prepare_for_testing.
5709 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
5710 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
5711 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
5712 standard_testfile.
5713 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
5714 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
5715 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
5716 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
5717 prepare_for_testing.
5718 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
5719 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
5720 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
5721 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
5722 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
5723 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
5724 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
5725 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
5726 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
5727 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
5728 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
5729 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
5730 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
5731 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
5732 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
5733 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
5734 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
5735 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
5736 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
5737 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
5738 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
5739 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
5740 standard_output_file.
5741 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
5742 standard_output_file.
5743 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
5744 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
5745 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
5746 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
5747 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
5748 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
5749 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
5750 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
5751 * gdb.dwarf2/implptr.exp: Use standard_testfile.
5752 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
5753 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
5754 * gdb.dwarf2/pieces.exp: Use standard_testfile.
5755 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
5756 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
5757 * gdb.dwarf2/valop.exp: Use standard_testfile,
5758 prepare_for_testing.
5759
5204774b
TT
57602012-06-27 Tom Tromey <tromey@redhat.com>
5761
5762 * gdb.python/python.exp: Fix regexps in pagination tests.
5763
ee0bf529
SCR
57642012-06-26 Siva Chandra Reddy <sivachandra@google.com>
5765
5766 * gdb.python/py-symtab.exp: Add tests to test the new attribute
5767 'last' of gdb.Symtab_and_line.
5768 * gdb.python/py-symbol.c: Move break point comment to enable
5769 testing of gdb.Symtab_and_line.last.
5770
14fcc022
TT
57712012-06-26 Tom Tromey <tromey@redhat.com>
5772
5773 * gdb.threads/step.c: Remove.
5774 * gdb.threads/step.exp: Remove.
5775 * gdb.threads/step2.exp: Remove.
5776
0efbbabc
TT
57772012-06-26 Tom Tromey <tromey@redhat.com>
5778
5779 * gdb.threads/watchpoint-fork.exp (test): Use
5780 standard_output_file. Don't declare objdir.
5781 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
5782 standard_output_file.
5783 * gdb.threads/attach-stopped.exp: Use standard_testfile.
5784 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
5785 clean_restart. Remove incdir.
5786 * gdb.threads/corethreads.exp: Use standard_testfile.
5787 * gdb.threads/execl.exp: Use standard_testfile,
5788 standard_output_file, clean_restart.
5789 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
5790 clean_restart.
5791 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
5792 clean_restart.
5793 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
5794 incdir.
5795 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
5796 clean_restart. Remove incdir.
5797 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
5798 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
5799 clean_restart. Remove incdir.
5800 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
5801 Remove incdir.
5802 * gdb.threads/leader-exit.exp: Use standard_testfile.
5803 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
5804 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
5805 clean_restart.
5806 * gdb.threads/manythreads.exp: Use standard_testfile,
5807 clean_restart. Remove incdir.
5808 * gdb.threads/multi-create.exp: Use standard_testfile,
5809 clean_restart.
5810 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
5811 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
5812 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
5813 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
5814 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
5815 * gdb.threads/pending-step.exp: Use standard_testfile,
5816 clean_restart. Remove incdir.
5817 * gdb.threads/print-threads.exp: Use standard_testfile,
5818 clean_restart. Remove incdir.
5819 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
5820 clean_restart. Remove incdir.
5821 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
5822 Remove incdir.
5823 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
5824 incdir.
5825 * gdb.threads/sigthread.exp: Use standard_testfile,
5826 clean_restart.
5827 * gdb.threads/staticthreads.exp: Use standard_testfile,
5828 clean_restart. Remove incdir.
5829 * gdb.threads/switch-threads.exp: Use standard_testfile,
5830 clean_restart. Remove incdir.
5831 * gdb.threads/thread-execl.exp: Use standard_testfile,
5832 clean_restart. Remove incdir.
5833 * gdb.threads/thread-find.exp: Use standard_testfile,
5834 clean_restart.
5835 * gdb.threads/thread-specific.exp: Use standard_testfile,
5836 clean_restart. Remove incdir.
5837 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
5838 clean_restart. Remove incdir.
5839 * gdb.threads/thread_check.exp: Use standard_testfile,
5840 clean_restart. Remove incdir.
5841 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
5842 incdir.
5843 * gdb.threads/threadapply.exp: Use standard_testfile,
5844 clean_restart. Remove incdir.
5845 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
5846 clean_restart. Remove incdir.
5847 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
5848 clean_restart.
5849 * gdb.threads/tls-shared.exp: Use standard_testfile,
5850 clean_restart, standard_output_file.
5851 * gdb.threads/tls-var.exp: Use standard_testfile,
5852 standard_output_file.
5853 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
5854 Remove incdir.
5855 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
5856 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
5857 incdir.
5858 * gdb.threads/watchthreads2.exp: Use standard_testfile,
5859 clean_restart. Remove incdir.
5860
497a5eb0
TT
58612012-06-26 Tom Tromey <tromey@redhat.com>
5862
5863 * gdb.trace/actions.exp: Use standard_testfile.
5864 * gdb.trace/ax.exp: Use standard_testfile.
5865 * gdb.trace/backtrace.exp: Use standard_testfile.
5866 * gdb.trace/change-loc.exp: Use standard_testfile.
5867 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
5868 * gdb.trace/collection.exp: Use standard_testfile,
5869 prepare_for_testing.
5870 * gdb.trace/deltrace.exp: Use standard_testfile.
5871 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
5872 * gdb.trace/ftrace.exp: Use standard_testfile.
5873 * gdb.trace/infotrace.exp: Use standard_testfile.
5874 * gdb.trace/packetlen.exp: Use standard_testfile.
5875 * gdb.trace/passc-dyn.exp: Use standard_testfile.
5876 * gdb.trace/passcount.exp: Use standard_testfile.
5877 * gdb.trace/pending.exp: Use standard_testfile.
5878 * gdb.trace/report.exp: Use standard_testfile.
5879 * gdb.trace/save-trace.exp: Use standard_testfile.
5880 * gdb.trace/stap-trace.exp: Use standard_testfile.
5881 * gdb.trace/status-stop.exp: Use standard_testfile.
5882 * gdb.trace/strace.exp: Use standard_testfile.
5883 * gdb.trace/tfile.exp: Use standard_testfile.
5884 * gdb.trace/tfind.exp: Use standard_testfile.
5885 * gdb.trace/trace-break.exp: Use standard_testfile.
5886 * gdb.trace/trace-mt.exp: Use standard_testfile.
5887 * gdb.trace/tracecmd.exp: Use standard_testfile.
5888 * gdb.trace/tspeed.exp: Use standard_testfile.
5889 * gdb.trace/tstatus.exp: Use standard_testfile.
5890 * gdb.trace/tsv.exp: Use standard_testfile.
5891 * gdb.trace/unavailable.exp: Use standard_testfile,
5892 prepare_for_testing.
5893 * gdb.trace/while-dyn.exp: Use standard_testfile.
5894 * gdb.trace/while-stepping.exp: Use standard_testfile.
5895
7686c074
TT
58962012-06-26 Tom Tromey <tromey@redhat.com>
5897
5898 * gdb.reverse/break-precsave.exp: Use standard_testfile.
5899 * gdb.reverse/break-reverse.exp: Use standard_testfile.
5900 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
5901 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
5902 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
5903 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
5904 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
5905 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
5906 prepare_for_testing.
5907 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
5908 prepare_for_testing.
5909 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
5910 prepare_for_testing.
5911 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
5912 prepare_for_testing.
5913 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
5914 prepare_for_testing
5915 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
5916 * gdb.reverse/machinestate.exp: Use standard_testfile.
5917 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
5918 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
5919 build_executable.
5920 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
5921 build_executable.
5922 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
5923 standard_output_file.
5924 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
5925 standard_output_file.
5926 * gdb.reverse/step-precsave.exp: Use standard_testfile.
5927 * gdb.reverse/step-reverse.exp: Use standard_testfile.
5928 * gdb.reverse/until-precsave.exp: Use standard_testfile.
5929 * gdb.reverse/until-reverse.exp: Use standard_testfile.
5930 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
5931 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
5932
481fc100
TT
59332012-06-26 Tom Tromey <tromey@redhat.com>
5934
5935 * gdb.stabs/weird.exp: Remove directory-checking code. Use
5936 standard_output_file.
5937 * gdb.stabs/exclfwd.exp: Use standard_testfile,
5938 prepare_for_testing. Remove directory-checking code.
5939
7bb18ae2
TT
59402012-06-25 Tom Tromey <tromey@redhat.com>
5941
5942 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
5943 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
5944 build_executable, not prepare_for_testing.
5945 * gdb.multi/base.exp: Use standard_output_file. Use
5946 build_executable, not prepare_for_testing.
5947
cf09b3e4
TT
59482012-06-25 Tom Tromey <tromey@redhat.com>
5949
5950 * gdb.fortran/subarray.exp: Use standard_testfile,
5951 prepare_for_testing.
5952 * gdb.fortran/multi-dim.exp: Use standard_testfile.
5953 * gdb.fortran/module.exp: Use standard_testfile.
5954 * gdb.fortran/logical.exp: Use standard_testfile.
5955 * gdb.fortran/library-module.exp: Use standard_testfile,
5956 standard_output_file.
5957 * gdb.fortran/derived-type.exp: Use standard_testfile,
5958 prepare_for_testing.
5959 * gdb.fortran/complex.exp: Use standard_testfile,
5960 prepare_for_testing.
5961 * gdb.fortran/charset.exp: Use standard_testfile.
5962 * gdb.fortran/array-element.exp: Use standard_testfile,
5963 prepare_for_testing.
5964
18b5ff1b
KS
59652012-06-25 Keith Seitz <keiths@redhat.com>
5966
5967 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
5968 Change rbreak-related tests to KFAIL and add bugzilla numbers.
5969
17b77626
TT
59702012-06-25 Tom Tromey <tromey@redhat.com>
5971
5972 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
5973 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
5974 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
5975 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
5976
f91e3dc1
TT
59772012-06-25 Tom Tromey <tromey@redhat.com>
5978
5979 * gdb.linespec/ls-errs.exp: Use standard_testfile.
5980 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
5981 * gdb.linespec/linespec.exp: Use standard_testfile.
5982
a884434d
TT
59832012-06-25 Tom Tromey <tromey@redhat.com>
5984
5985 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
5986 prepare_for_testing.
5987
efc9d70a
TT
59882012-06-25 Tom Tromey <tromey@redhat.com>
5989
5990 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
5991 prepare_for_testing.
5992 * gdb.opt/inline-break.exp: Use standard_testfile,
5993 prepare_for_testing.
5994 * gdb.opt/inline-bt.exp: Use standard_testfile,
5995 prepare_for_testing.
5996 * gdb.opt/inline-cmds.exp: Use standard_testfile,
5997 prepare_for_testing.
5998 * gdb.opt/inline-locals.exp: Use standard_testfile,
5999 prepare_for_testing.
6000
e2fc92c6
TT
60012012-06-25 Tom Tromey <tromey@redhat.com>
6002
6003 * gdb.asm/asm-source.exp: Use standard_output_file,
6004 standard_testfile. Construct .o files in proper subdir.
6005
b0963d73
TT
60062012-06-25 Tom Tromey <tromey@redhat.com>
6007
6008 * gdb.server/ext-attach.exp: Use standard_testfile,
6009 prepare_for_testing.
6010 * gdb.server/ext-run.exp: Use standard_testfile,
6011 build_executable.
6012 * gdb.server/file-transfer.exp: Use standard_testfile,
6013 prepare_for_testing.
6014 * gdb.server/server-exec-info.exp: Use standard_testfile.
6015 * gdb.server/server-mon.exp: Use standard_testfile,
6016 prepare_for_testing.
6017 * gdb.server/server-run.exp: Use standard_testfile,
6018 build_executable.
6019 * gdb.server/solib-list.exp: Use standard_testfile,
6020 standard_output_file.
6021
8a3e1f8d
TT
60222012-06-25 Tom Tromey <tromey@redhat.com>
6023
6024 * lib/gdb.exp (standard_output_file): Use "file join".
6025 * gdb.go/chan.exp: Use standard_testfile.
6026 * gdb.go/handcall.exp: Use standard_testfile.
6027 * gdb.go/hello.exp: Use standard_testfile.
6028 * gdb.integers/chan.exp: Use standard_testfile.
6029 * gdb.go/methods.exp: Use standard_testfile.
6030 * gdb.go/package.exp: Use standard_testfile.
6031 * gdb.go/strings.exp: Use standard_testfile.
6032 * gdb.go/types.exp: Use standard_testfile.
6033 * gdb.go/unsafe.exp: Use standard_testfile.
6034
944a9061
MGD
60352012-06-25 Greta Yorsh <greta.yorsh@arm.com>
6036
6037 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
6038
1c06bd58
JK
60392012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6040
6041 Fix regression by the previous commit.
6042 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
6043
b4a58790
TT
60442012-06-22 Tom Tromey <tromey@redhat.com>
6045
6046 * gdb.python/lib-types.exp: Use standard_testfile,
6047 prepare_for_testing.
6048 * gdb.python/py-block.exp: Use standard_testfile.
6049 * gdb.python/py-breakpoint.exp: Use standard_testfile.
6050 * gdb.python/py-events.exp: Use standard_testfile,
6051 standard_output_file.
6052 * gdb.python/py-evsignal.exp: Use standard_testfile.
6053 * gdb.python/py-evethreads.exp: Use standard_testfile.
6054 * gdb.python/py-explore-cc.exp: Use standard_testfile.
6055 * gdb.python/py-explore.exp: Use standard_testfile.
6056 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
6057 standard_output_file.
6058 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
6059 prepare_for_testing.
6060 * gdb.python/py-frame-inline.exp: Use standard_testfile.
6061 * gdb.python/py-frame.exp: Use standard_testfile.
6062 * gdb.python/py-inferior.exp: Use standard_testfile.
6063 * gdb.python/py-infthread.exp: Use standard_testfile.
6064 * gdb.python/py-mi.exp: Use standard_testfile.
6065 * gdb.python/py-objfile-script.exp: Use standard_testfile,
6066 build_executable.
6067 * gdb.python/py-objfile.exp: Use standard_testfile.
6068 * gdb.python/py-pp-maint.exp: Use standard_testfile,
6069 prepare_for_testing.
6070 * gdb.python/py-prettyprint.exp: Use standard_testfile.
6071 * gdb.python/py-progspace.exp: Use standard_testfile,
6072 build_executable.
6073 * gdb.python/py-prompt.exp: Use standard_testfile,
6074 build_executable.
6075 * gdb.python/py-section-script.exp: Use standard_testfile,
6076 build_executable.
6077 * gdb.python/py-shared.exp: Use standard_testfile,
6078 standard_output_file, clean_restart.
6079 * gdb.python/py-symbol.exp: Use standard_output_file,
6080 prepare_for_testing.
6081 * gdb.python/py-symtab.exp: Use standard_output_file,
6082 prepare_for_testing
6083 * gdb.python/py-template.exp: Use standard_testfile.
6084 * gdb.python/py-type.exp: Use standard_testfile.
6085 * gdb.python/py-value-cc.exp: Use standard_testfile.
6086 * gdb.python/py-value.exp: Use standard_testfile.
6087 * gdb.python/python.exp: Use standard_testfile, build_executable.
6088
2c44deac
TT
60892012-06-22 Tom Tromey <tromey@redhat.com>
6090
6091 * gdb.objc/basicclass.exp: Use standard_testfile.
6092 (do_objc_tests): Don't declare objdir.
6093 * gdb.objc/nondebug.exp: Use standard_testfile.
6094 (do_objc_tests): Don't declare objdir.
6095 * gdb.objc/objcdecode.exp: Use standard_testfile.
6096 (do_objc_tests): Don't declare objdir.
6097
c24ccbce
TT
60982012-06-22 Tom Tromey <tromey@redhat.com>
6099
6100 * gdb.java/jmain.exp: Use standard_testfile.
6101 * gdb.java/jmisc.exp: Use standard_testfile.
6102 * gdb.java/jnpe.exp: Use standard_testfile.
6103 * gdb.java/jprint.exp: Use standard_testfile.
6104
0a6d0306
TT
61052012-06-22 Tom Tromey <tromey@redhat.com>
6106
6107 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
6108 (standard_output_file, standard_testfile): New procs.
6109 (build_executable, clean_restart): Use standard_output_file.
6110
6ea815ef
YQ
61112012-06-22 Yao Qi <yao@codesourcery.com>
6112
6113 * boards/native-gdbserver.exp: New proc ${board}_exec.
6114 * boards/native-stdio-gdbserver.exp: Likewise.
6115
4c93b1db
TT
61162012-06-21 Tom Tromey <tromey@redhat.com>
6117
6118 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
6119 (build_executable): Update.
6120 (get_compiler_info): Remove 'binfile' argument.
6121 * gdb.ada/arrayidx.exp: Update.
6122 * gdb.ada/null_array.exp: Update.
6123 * gdb.arch/altivec-abi.exp: Update.
6124 * gdb.arch/altivec-regs.exp: Update.
6125 * gdb.arch/amd64-byte.exp: Update.
6126 * gdb.arch/amd64-dword.exp: Update.
6127 * gdb.arch/amd64-word.exp: Update.
6128 * gdb.arch/i386-avx.exp: Update.
6129 * gdb.arch/i386-byte.exp: Update.
6130 * gdb.arch/i386-sse.exp: Update.
6131 * gdb.arch/i386-word.exp: Update.
6132 * gdb.arch/ppc-dfp.exp: Update.
6133 * gdb.arch/ppc-fp.exp: Update.
6134 * gdb.arch/vsx-regs.exp: Update.
6135 * gdb.base/all-bin.exp: Update.
6136 * gdb.base/annota1.exp: Update.
6137 * gdb.base/async.exp: Update.
6138 * gdb.base/attach.exp: Update.
6139 * gdb.base/break-interp.exp: Update.
6140 * gdb.base/call-ar-st.exp: Update.
6141 * gdb.base/call-rt-st.exp: Update.
6142 * gdb.base/call-sc.exp: Update.
6143 * gdb.base/callfuncs.exp: Update.
6144 * gdb.base/catch-load.exp: Update.
6145 * gdb.base/completion.exp: Update.
6146 * gdb.base/complex.exp: Update.
6147 * gdb.base/condbreak.exp: Update.
6148 * gdb.base/consecutive.exp: Update.
6149 * gdb.base/constvars.exp: Update.
6150 * gdb.base/corefile.exp: Update.
6151 * gdb.base/eval-skip.exp: Update.
6152 * gdb.base/expand-psymtabs.exp: Update.
6153 * gdb.base/exprs.exp: Update.
6154 * gdb.base/fileio.exp: Update.
6155 * gdb.base/fixsection.exp: Update.
6156 * gdb.base/funcargs.exp: Update.
6157 * gdb.base/gdb11530.exp: Update.
6158 * gdb.base/gdb1555.exp: Update.
6159 * gdb.base/gnu-ifunc.exp: Update.
6160 * gdb.base/gnu_vector.exp: Update.
6161 * gdb.base/info-macros.exp: Update.
6162 * gdb.base/jit-simple.exp: Update.
6163 * gdb.base/jit-so.exp: Update.
6164 * gdb.base/jit.exp: Update.
6165 * gdb.base/langs.exp: Update.
6166 * gdb.base/list.exp: Update.
6167 * gdb.base/logical.exp: Update.
6168 * gdb.base/long_long.exp: Update.
6169 * gdb.base/longjmp.exp: Update.
6170 * gdb.base/macscp.exp: Update.
6171 * gdb.base/mips_pro.exp: Update.
6172 * gdb.base/miscexprs.exp: Update.
6173 * gdb.base/morestack.exp: Update.
6174 * gdb.base/nodebug.exp: Update.
6175 * gdb.base/opaque.exp: Update.
6176 * gdb.base/pc-fp.exp: Update.
6177 * gdb.base/pending.exp: Update.
6178 * gdb.base/permissions.exp: Update.
6179 * gdb.base/pointers.exp: Update.
6180 * gdb.base/prelink.exp: Update.
6181 * gdb.base/printcmds.exp: Update.
6182 * gdb.base/psymtab.exp: Update.
6183 * gdb.base/ptype.exp: Update.
6184 * gdb.base/relational.exp: Update.
6185 * gdb.base/scope.exp: Update.
6186 * gdb.base/setvar.exp: Update.
6187 * gdb.base/shlib-call.exp: Update.
6188 * gdb.base/shreloc.exp: Update.
6189 * gdb.base/signals.exp: Update.
6190 * gdb.base/sizeof.exp: Update.
6191 * gdb.base/so-impl-ld.exp: Update.
6192 * gdb.base/so-indr-cl.exp: Update.
6193 * gdb.base/solib-disc.exp: Update.
6194 * gdb.base/solib-display.exp: Update.
6195 * gdb.base/solib-nodir.exp: Update.
6196 * gdb.base/solib-overlap.exp: Update.
6197 * gdb.base/solib-symbol.exp: Update.
6198 * gdb.base/solib-weak.exp: Update.
6199 * gdb.base/solib.exp: Update.
6200 * gdb.base/store.exp: Update.
6201 * gdb.base/structs.exp: Update.
6202 * gdb.base/structs2.exp: Update.
6203 * gdb.base/type-opaque.exp: Update.
6204 * gdb.base/unload.exp: Update.
6205 * gdb.base/varargs.exp: Update.
6206 * gdb.base/volatile.exp: Update.
6207 * gdb.base/watch_thread_num.exp: Update.
6208 * gdb.base/watchpoint-solib.exp: Update.
6209 * gdb.base/watchpoint.exp: Update.
6210 * gdb.base/watchpoints.exp: Update.
6211 * gdb.base/whatis.exp: Update.
6212 * gdb.cell/arch.exp: Update.
6213 * gdb.cell/break.exp: Update.
6214 * gdb.cell/bt.exp: Update.
6215 * gdb.cell/core.exp: Update.
6216 * gdb.cell/data.exp: Update.
6217 * gdb.cell/ea-cache.exp: Update.
6218 * gdb.cell/f-regs.exp: Update.
6219 * gdb.cell/fork.exp: Update.
6220 * gdb.cell/gcore.exp: Update.
6221 * gdb.cell/mem-access.exp: Update.
6222 * gdb.cell/ptype.exp: Update.
6223 * gdb.cell/registers.exp: Update.
6224 * gdb.cell/sizeof.exp: Update.
6225 * gdb.cell/solib-symbol.exp: Update.
6226 * gdb.cell/solib.exp: Update.
6227 * gdb.cp/ambiguous.exp: Update.
6228 * gdb.cp/breakpoint.exp: Update.
6229 * gdb.cp/bs15503.exp: Update.
6230 * gdb.cp/casts.exp: Update.
6231 * gdb.cp/class2.exp: Update.
6232 * gdb.cp/cpexprs.exp: Update.
6233 * gdb.cp/cplusfuncs.exp: Update.
6234 * gdb.cp/ctti.exp: Update.
6235 * gdb.cp/dispcxx.exp: Update.
6236 * gdb.cp/gdb1355.exp: Update.
6237 * gdb.cp/gdb2384.exp: Update.
6238 * gdb.cp/gdb2495.exp: Update.
6239 * gdb.cp/infcall-dlopen.exp: Update.
6240 * gdb.cp/local.exp: Update.
6241 * gdb.cp/m-data.exp: Update.
6242 * gdb.cp/m-static.exp: Update.
6243 * gdb.cp/mb-ctor.exp: Update.
6244 * gdb.cp/mb-inline.exp: Update.
6245 * gdb.cp/mb-templates.exp: Update.
6246 * gdb.cp/member-ptr.exp: Update.
6247 * gdb.cp/method.exp: Update.
6248 * gdb.cp/namespace.exp: Update.
6249 * gdb.cp/nextoverthrow.exp: Update.
6250 * gdb.cp/nsdecl.exp: Update.
6251 * gdb.cp/nsrecurs.exp: Update.
6252 * gdb.cp/nsstress.exp: Update.
6253 * gdb.cp/nsusing.exp: Update.
6254 * gdb.cp/pr-1023.exp: Update.
6255 * gdb.cp/pr-1210.exp: Update.
6256 * gdb.cp/pr-574.exp: Update.
6257 * gdb.cp/pr9631.exp: Update.
6258 * gdb.cp/printmethod.exp: Update.
6259 * gdb.cp/psmang.exp: Update.
6260 * gdb.cp/re-set-overloaded.exp: Update.
6261 * gdb.cp/rtti.exp: Update.
6262 * gdb.cp/shadow.exp: Update.
6263 * gdb.cp/templates.exp: Update.
6264 * gdb.cp/try_catch.exp: Update.
6265 * gdb.dwarf2/dw2-ranges.exp: Update.
6266 * gdb.dwarf2/pr10770.exp: Update.
6267 * gdb.fortran/library-module.exp: Update.
6268 * gdb.hp/gdb.aCC/optimize.exp: Update.
6269 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
6270 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
6271 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
6272 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
6273 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
6274 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
6275 * gdb.hp/gdb.compat/xdb1.exp: Update.
6276 * gdb.hp/gdb.compat/xdb2.exp: Update.
6277 * gdb.hp/gdb.compat/xdb3.exp: Update.
6278 * gdb.hp/gdb.defects/bs14602.exp: Update.
6279 * gdb.hp/gdb.defects/solib-d.exp: Update.
6280 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
6281 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
6282 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
6283 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
6284 * gdb.mi/gdb792.exp: Update.
6285 * gdb.mi/mi-pending.exp: Update.
6286 * gdb.mi/mi-solib.exp: Update.
6287 * gdb.mi/mi-var-cp.exp: Update.
6288 * gdb.opt/clobbered-registers-O2.exp: Update.
6289 * gdb.opt/inline-bt.exp: Update.
6290 * gdb.opt/inline-cmds.exp: Update.
6291 * gdb.opt/inline-locals.exp: Update.
6292 * gdb.python/py-events.exp: Update.
6293 * gdb.python/py-finish-breakpoint.exp: Update.
6294 * gdb.python/py-type.exp: Update.
6295 * gdb.reverse/solib-precsave.exp: Update.
6296 * gdb.reverse/solib-reverse.exp: Update.
6297 * gdb.server/solib-list.exp: Update.
6298 * gdb.stabs/weird.exp: Update.
6299 * gdb.threads/attach-into-signal.exp: Update.
6300 * gdb.threads/attach-stopped.exp: Update.
6301 * gdb.threads/tls-shared.exp: Update.
6302 * gdb.trace/change-loc.exp: Update.
6303 * gdb.trace/strace.exp: Update.
6304
95c391b6
TT
63052012-06-19 Tom Tromey <tromey@redhat.com>
6306
6307 * gdb.base/whatis.exp: Add tests.
6308
e910f0b6
TT
63092012-06-19 Tom Tromey <tromey@redhat.com>
6310
6311 * gdb.cp/m-static.cc (keepalive): New function.
6312 (gnu_obj_1::method): Use it.
6313
422d65e7
DE
63142012-06-18 Doug Evans <dje@google.com>
6315
6316 * gdb.base/info-fun.exp: New file.
6317 * gdb.base/info-fun.c: New file.
6318 * gdb.base/info-fun-solib.c: New file.
6319
e2e4d78b
JK
63202012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6321
6322 Remove stale dummy frames.
6323 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
6324 (maintenance info breakpoints): New tests.
6325 * gdb.base/stale-infcall.c: New file.
6326 * gdb.base/stale-infcall.exp: New file.
6327
1788b2d3
JK
63282012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6329
6330 * gdb.arch/amd64-entry-value-param.S: New file.
6331 * gdb.arch/amd64-entry-value-param.c: New file.
6332 * gdb.arch/amd64-entry-value-param.exp: New file.
6333
663b969e
TT
63342012-06-15 Tom Tromey <tromey@redhat.com>
6335
6336 * gdb.cp/namespace.exp: Add "show lang" test.
6337
8e09ad05
IS
63382012-06-15 Iain Sandoe <iain@codesourcery.com>
6339
6340 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
6341 case. (top level): Use gdb_file_cmd instead of gdb_load.
6342
f85e18ee
JK
63432012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6344
6345 PR tdep/14222
6346 * gdb.arch/i386-sse-stack-align.S: New file.
6347 * gdb.arch/i386-sse-stack-align.c: New file.
6348 * gdb.arch/i386-sse-stack-align.exp: New file.
6349
f3b5e280
KS
63502012-06-13 Keith Seitz <keiths@redhat.com>
6351
6352 PR breakpoints/13798 and mi/11541
6353 * gdb.linespec/ls-errs.exp: Add a few more tests for
6354 filenames with spaces and colons.
6355
50af5481
JK
63562012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6357
6358 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
6359 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
6360 (test_function): Call CV_f.
6361 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
6362 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
6363 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
6364 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
6365 (p CV_f(CV::i)): New tests.
6366
d55637df
TT
63672012-06-13 Tom Tromey <tromey@redhat.com>
6368
6369 * gdb.base/condbreak.exp: Add tests for "condition" completion.
6370
cc80f267
JK
63712012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6372
6373 Fix regression by the "ambiguous linespec" series.
6374 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
6375 tests.
6376
bb2af9cc
JK
63772012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6378
6379 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
6380 missing.
6381
e81a37f7
TT
63822012-06-11 Tom Tromey <tromey@redhat.com>
6383
6384 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
6385 location...
6386 (main): ...here.
6387
8efd7788
YQ
63882012-06-07 Yao Qi <yao@codesourcery.com>
6389
6390 * gdb.trace/strace.exp: Shorten some too-long lines.
6391
359f5fe6
PA
63922012-06-06 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.threads/clone-new-thread-event.c: New file.
6395 * gdb.threads/clone-new-thread-event.exp: New file.
6396
7b2fe205
YQ
63972012-06-06 Yao Qi <yao@codesourcery.com>
6398
6399 * gdb.base/dprintf.c (main): Add extra parameter when calling
6400 printf and fprintf.
6401 (bar): New function. It is a dead function, but to ensure
6402 'malloc' is linked explicitly.
6403
3eca55e8
YQ
64042012-06-06 Yao Qi <yao@codesourcery.com>
6405
6406 * gdb.base/info-proc.exp: Return if target doesn't support
6407 'info proc'.
6408
91cc9324
JK
64092012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6410
6411 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
6412 (run program with breakpoint commands): XFAIl if it is not.
6413
c56e7c43
JB
64142012-06-05 Joel Brobecker <brobecker@adacore.com>
6415
6416 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
6417 and add comment.
6418 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
6419 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
6420 "STOP" marker. Adjust testing strategy to make it work on
6421 all targets.
6422
6423 * gdb.base/print-file-var-main.c (main): Rewrite using local
6424 variables and adjust get_version_2's return value check.
6425 Add small comment.
6426 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
6427 marker. Adjust testing strategy to make it work on all targets.
6428
ccab2054
JB
64292012-06-05 Joel Brobecker <brobecker@adacore.com>
6430
6431 * gdb.ada/bad-task-bp-keyword: New testcase.
6432
d0d86158
JK
64332012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6434
6435 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
6436 Simplify it to ...
6437 (symbol-file ${testfile1}): ... here.
6438 (test eliminated var my_global_symbol)
6439 (test eliminated var my_static_symbol)
6440 (test eliminated var my_global_func, get address of main): Wrap them to
6441 'single psymtabs' and 'single symtabs'
6442 (get address of my_global_symbol, get address of my_static_symbol)
6443 (get address of my_global_func, get address of main): Wrap them to
6444 'order1' and 'order2'.
6445
952cf74c
JK
6446 * gdb.base/code_elim.exp
6447 (add-symbol-file ${testfile1} 0x100000)
6448 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
6449 'order2'.
6450 (order1: add-symbol-file ${testfile1} 0x100000)
6451 (order1: add-symbol-file ${testfile2} 0x200000)
6452 (order2: add-symbol-file ${testfile2} 0x200000)
6453 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
6454 .bss as appropriate.
6455
0c5bf5a9
JK
64562012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6457
6458 * gdb.server/solib-list-lib.c: New file.
6459 * gdb.server/solib-list-main.c: New file.
6460 * gdb.server/solib-list.exp: New file.
6461
4196f325
MR
64622012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
6463
6464 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
6465 for 'set print symbol' change.
6466
bfb05775
JK
64672012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6468
6469 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
6470 .debug_abbrev_seg3.
6471
685b1105
JK
64722012-05-24 John Steele Scott <toojays@toojays.net>
6473
6474 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
6475 * gdb.dwarf2/dw2-icc-opaque.S: New file.
6476 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
6477
f3e0e960
SS
64782012-05-23 Stan Shebs <stan@codesourcery.com>
6479
6480 * gdb.mi/mi-info-os.exp: New file.
6481
11eb1b4d
KS
64822012-05-23 Keith Seitz <keiths@redhat.com>
6483
6484 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
6485 return -1 to suppress the rest of the tests.
6486 (compile_stap_bin): Return boolean success value.
6487
b1af9e97
TT
64882012-05-21 Tom Tromey <tromey@redhat.com>
6489
6490 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
6491 Remove kfails.
6492 (test_print_mi_member_types): Likewise.
6493
248537e3
TT
64942012-05-21 Tom Tromey <tromey@redhat.com>
6495
6496 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
6497 print symbol' change.
6498
d791e155
TJB
64992012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
6500
6501 * gdb.python/py-prompt.exp: Quit if the target is remote.
6502
e77afa2e
JK
65032012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6504
6505 Fix ERROR: internal buffer is full.
6506 * gdb.base/info-os.exp (expect_multiline): New function.
6507 (get process list, get process groups, get threads)
6508 (get file descriptors, get internet-domain sockets)
6509 (get shared-memory regions, get semaphores, get message queues): Use
6510 it for these tests.
6511
9cb709b6
TT
65122012-05-18 Tom Tromey <tromey@redhat.com>
6513
6514 * gdb.mi/mi-var-cmd.exp: Update.
6515 * gdb.objc/basicclass.exp (do_objc_tests): Update.
6516 * gdb.cp/virtbase.exp: Update.
6517 * gdb.cp/classes.exp (test_static_members): Update.
6518 * gdb.cp/casts.exp: Update.
6519 * gdb.base/pointers.exp: Update.
6520 * gdb.base/funcargs.exp (pointer_args): Update.
6521 (structs_by_reference): Update.
6522 * gdb.base/find.exp: Update.
6523 * gdb.base/call-strs.exp: Send "set print symbol off".
6524 * gdb.base/call-ar-st.exp: Update.
6525 * gdb.ada/fun_addr.exp: Update.
6526 * gdb.base/printcmds.exp (test_print_symbol): New proc.
6527 Call it.
6528 (test_print_repeats_10, test_print_strings)
6529 (test_print_char_arrays): Update.
6530
b012acdd
TT
65312012-05-18 Tom Tromey <tromey@redhat.com>
6532
6533 * gdb.base/charset.exp (string_display): Update.
6534
1d51a733
TT
65352012-05-18 Tom Tromey <tromey@redhat.com>
6536
6537 * gdb.mi/mi2-var-display.exp: Update.
6538 * gdb.mi/mi-var-display.exp: Update.
6539 * gdb.mi/mi-var-child.exp: Update.
6540 * gdb.cp/expand-psymtabs-cxx.exp: Update.
6541 * gdb.cp/cp-relocate.exp (get_func_address): Update.
6542
957df313
DE
65432012-05-17 Doug Evans <dje@google.com>
6544
682c7f7b
DE
6545 * info-macros.exp: Pass "debug" to prepare_for_testing.
6546
957df313
DE
6547 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
6548 * gdb.ada/Makefile.in (clean): Ditto.
6549 * gdb.arch/Makefile.in (clean): Ditto.
6550 * gdb.asm/Makefile.in (clean): Ditto.
6551 * gdb.base/Makefile.in (clean): Ditto.
6552 * gdb.cell/Makefile.in (clean): Ditto.
6553 * gdb.cp/Makefile.in (clean): Ditto.
6554 * gdb.disasm/Makefile.in (clean): Ditto.
6555 * gdb.dwarf2/Makefile.in (clean): Ditto.
6556 * gdb.fortran/Makefile.in (clean): Ditto.
6557 * gdb.go/Makefile.in (clean): Ditto.
6558 * gdb.hp/Makefile.in (clean): Ditto.
6559 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
6560 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
6561 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
6562 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
6563 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
6564 * gdb.java/Makefile.in (clean): Ditto.
6565 * gdb.linespec/Makefile.in (clean): Ditto.
6566 * gdb.mi/Makefile.in (clean): Ditto.
6567 * gdb.modula2/Makefile.in (clean): Ditto.
6568 * gdb.multi/Makefile.in (clean): Ditto.
6569 * gdb.objc/Makefile.in (clean): Ditto.
6570 * gdb.opencl/Makefile.in (clean): Ditto.
6571 * gdb.opt/Makefile.in (clean): Ditto.
6572 * gdb.pascal/Makefile.in (clean): Ditto.
6573 * gdb.python/Makefile.in (clean): Ditto.
6574 * gdb.reverse/Makefile.in (clean): Ditto.
6575 * gdb.server/Makefile.in (clean): Ditto.
6576 * gdb.stabs/Makefile.in (clean): Ditto.
6577 * gdb.threads/Makefile.in (clean): Ditto.
6578 * gdb.trace/Makefile.in (clean): Ditto.
6579 * gdb.xml/Makefile.in (clean): Ditto.
6580
abc9d0dc
TT
65812012-05-16 Tom Tromey <tromey@redhat.com>
6582
6583 * gdb.base/macscp1.c (macscp_expr): Add comment.
6584 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
6585
6a3a010b
MR
65862012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6587
6588 * gdb.base/return-nodebug.exp: Also test float and double types.
6589
01429c8e
JK
65902012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6591
6592 PR testsuite/12649
6593 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
6594
54115cd4
JK
6595 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
6596
0c5f383f
SDJ
65972012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
6598
6599 * gdb.base/stap-probe.exp (stap_test): Remove calls to
6600 `rerun_to_main'.
6601 (stap_test_no_debuginfo): Likewise.
6602
e7e0cddf
SS
66032012-05-14 Stan Shebs <stan@codesourcery.com>
6604
6605 * gdb.base/dprintf.c: New file.
6606 * gdb.base/dprintf.exp: New file.
6607
c772f8e7
HZ
66082012-05-14 Hui Zhu <hui_zhu@mentor.com>
6609
6610 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
6611 * gdb.trace/disconnected-tracing.c: New file.
6612 * gdb.trace/disconnected-tracing.exp: New file.
6613
7efc75aa
SCR
66142012-05-13 Siva Chandra Reddy <sivachandra@google.com>
6615
6616 * gdb.python/python.c: Add a new breakpoint comment.
6617 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
6618
85d4a676
SS
66192011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
6620
6621 * gdb.base/info-os.exp: New file.
6622 * gdb.base/info-os.c: New file.
6623
64ea88dc
JB
66242012-05-10 Joel Brobecker <brobecker@adacore.com>
6625
4647ab1b
JB
6626 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
6627 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
6628 New files.
64ea88dc 6629
afba63f1
JB
66302012-05-10 Joel Brobecker <brobecker@adacore.com>
6631
6632 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
6633 gdb.base/ctxobj.exp: New files.
6634
9d198b1e
TT
66352012-05-09 Tom Tromey <tromey@redhat.com>
6636
6637 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
6638
9bfee719
MR
66392012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
6640
6641 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
6642
3a7341d8
MR
66432012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
6644
6645 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
6646 before using it.
6647
52b3699b
TG
66482012-05-04 Tristan Gingold <gingold@adacore.com>
6649
6650 * gdb.base/set-noassign.exp: New test.
6651
a20ee7a4
SCR
66522012-05-03 Siva Chandra Reddy <sivachandra@google.com>
6653
6654 * gdb.python/py-symbol.exp: Add tests to test the new methods
6655 gdb.Symtab.global_block() and gdb.Symtab.static_block().
6656 * gdb.python/py-symbol.c: Add new struct to help test
6657 gdb.Symtab.static_block().
6658
bf2f0858
DE
66592012-05-03 Doug Evans <dje@google.com>
6660
6661 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
6662 commented out.
6663
2d4e0376
YQ
66642012-05-03 Yao Qi <yao@codesourcery.com>
6665
6666 * gdb.base/catch-syscall.exp: Skip it before compilation if target
6667 doesn't support.
6668 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
6669 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
6670
6d0bb9f3
YQ
66712012-05-03 Yao Qi <yao@codesourcery.com>
6672
6673 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
6674
fd820528
DE
66752012-04-30 Doug Evans <dje@google.com>
6676
6677 PR testsuite/13961
6678 * gdb.dwarf2/pr13961.S: New file.
6679 * gdb.dwarf2/pr13961.exp: New file.
6680
b9e219b9
YQ
66812012-04-29 Yao Qi <yao@codesourcery.com>
6682
6683 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
6684
3019eac3
DE
66852012-04-28 Doug Evans <dje@google.com>
6686
6687 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
6688 .Ltype_int_in_cu2. Use name "int2" instead of "int".
6689 All uses updated.
6690 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
6691 "ptype func_cu1" to expand cu2 before cu1.
6692
62e5f89c
SDJ
66932012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
6694 Tom Tromey <tromey@redhat.com>
6695
6696 * gdb.base/default.exp: Add `$_probe_arg*' convenience
6697 variables.
6698 * gdb.base/stap-probe.c: New file.
6699 * gdb.base/stap-probe.exp: New file.
6700 * gdb.trace/stap-trace.c: New file.
6701 * gdb.trace/stap-trace.exp: New file.
6702 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
6703 libgcc's unwinder.
6704
14132e89
MR
67052012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
6706
6707 * gdb.arch/mips16-thunks-inmain.c: New file.
6708 * gdb.arch/mips16-thunks-main.c: New file.
6709 * gdb.arch/mips16-thunks-sin.c: New file.
6710 * gdb.arch/mips16-thunks-sinfrob.c: New file.
6711 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
6712 * gdb.arch/mips16-thunks-sinmain.c: New file.
6713 * gdb.arch/mips16-thunks-sinmips16.c: New file.
6714 * gdb.arch/mips16-thunks.exp: New file.
6715
a766d390
DE
67162012-04-25 Doug Evans <dje@google.com>
6717
6718 * configure.ac: Create gdb.go/Makefile.
6719 * configure: Regenerate.
6720 * gdb.base/default.exp: Add "go" to "set language" testing.
6721 * gdb.go/Makefile.in: New file.
6722 * gdb.go/basic-types.exp: New file.
6723 * gdb.go/chan.exp: New file.
6724 * gdb.go/chan.go: New file.
6725 * gdb.go/handcall.exp: New file.
6726 * gdb.go/handcall.go: New file.
6727 * gdb.go/hello.exp: New file.
6728 * gdb.go/hello.go: New file.
6729 * gdb.go/integers.exp: New file.
6730 * gdb.go/integers.go: New file.
6731 * gdb.go/methods.exp: New file.
6732 * gdb.go/methods.go: New file.
6733 * gdb.go/package.exp: New file.
6734 * gdb.go/package1.go: New file.
6735 * gdb.go/package2.go: New file.
6736 * gdb.go/print.exp: New file.
6737 * gdb.go/strings.exp: New file.
6738 * gdb.go/strings.go: New file.
6739 * gdb.go/types.exp: New file.
6740 * gdb.go/types.go: New file.
6741 * gdb.go/unsafe.exp: New file.
6742 * gdb.go/unsafe.go: New file.
6743 * lib/future.exp: Add Go support.
6744 (gdb_find_go, gdb_find_go_linker): New procs.
6745 (gdb_default_target_compile): Add Go support.
6746 * lib/gdb.exp (skip_go_tests): New proc.
6747 * lib/go.exp: New file.
6748
e65f9ffb
TT
67492012-04-25 Tom Tromey <tromey@redhat.com>
6750
6751 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
6752
14e75d8e
JK
67532012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6754 Jan Kratochvil <jan.kratochvil@redhat.com>
6755
6756 PR symtab/7259:
6757 * gdb.base/enumval.c: New test case.
6758 * gdb.base/enumval.exp: New test case.
6759 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
6760 field.bitpos.
6761
f3525b70
PA
67622012-04-17 Pedro Alves <palves@redhat.com>
6763
6764 * Makefile.in (site.exp): Make site.exp source
6765 $srcdir/lib/append_gdb_boards_dir.exp.
6766 * lib/append_gdb_boards_dir.exp: New file.
6767
bccbefd2
JK
67682012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6769
6770 New option "set auto-load safe-path".
6771 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
6772 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
6773
bf88dd68
JK
67742012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6775
6776 auto-load: Implementation.
6777 * gdb.base/help.exp (test set height): Increase the height.
6778 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
6779 to ...
6780 (info auto-load python-scripts): ... here.
6781 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
6782 to ...
6783 (info auto-load python-scripts *): ... here.
6784
c0d4d1c0
YQ
67852012-04-16 Yao Qi <yao@codesourcery.com>
6786
6787 * lib/trace-support.exp (get_in_proc_agent): New.
6788 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
6789 of in process trace agent.
6790 * gdb.trace/ftrace.exp: Likewise.
6791 * gdb.trace/pending.exp: Likewise.
6792 * gdb.trace/trace-break.exp: Likewise.
6793 * gdb.trace/trace-mt.exp
6794 * gdb.trace/tspeed.exp: Likewise.
6795 * gdb.trace/tstatus.exp
6796 * gdb.trace/strace.exp: Likewise.
6797
cbf68a60
TS
67982012-04-16 Thomas Schwinge <thomas@codesourcery.com>
6799
dd6d3b70
TS
6800 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
6801 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
6802
cbf68a60
TS
6803 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
6804
8264ba82
AG
68052012-04-14 Anton Gorenkov <xgsa@yandex.ru>
6806
6807 PR mi/13393
6808 * gdb.mi/mi-var-rtti.cc: New file.
6809 * gdb.mi/mi-var-rtti.exp: New file.
6810 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
6811 function.
6812 (mi_varobj_update_with_type_change): updated to avoid code duplication.
6813
de0919f8 68142012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
6815
6816 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
6817 EXECUTABLES.
6818 * gdb.python/py-explore.c: C program used for testing the new
6819 'explore' command on C constructs.
6820 * gdb.python/py-explore.cc: C++ program used for testing the new
6821 'explore' command on C++ constructs.
6822 * gdb-python/py-explore.exp: Tests for the new 'explore'
6823 command on C constructs.
6824 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
6825 command on C++ constructs.
6826
a82da7dd
MK
68272012-04-07 Mark Kettenis <kettenis@gnu.org>
6828
6829 * gdb.base/funcargs.exp (complex_args): Fix typo.
6830
e127cba8
JK
68312012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6832
6833 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
6834 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
6835
40e084e1
KS
68362012-04-05 Keith Seitz <keiths@redhat.com>
6837
6838 * gdb.base/advance.exp: Update error message for
6839 "advance malformed" test.
6840 * gdb.base/break.exp: Likewise for "breakpoint with
6841 trailing garbage" test.
6842 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
6843 with trailing garbage" test.
6844 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
6845 trailng garbage" test.
6846 * gdb.base/until.exp: Likewise for "malformed until" test.
6847 * gdb.cp/ovldbreak.exp: Create the breakpoint table
6848 for "breakpoint info (after setting on all)".
6849 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
6850 tests.
6851 * gdb.cp/cplabel.cc: New file.
6852 * gdb.cp/cplabel.exp: New test.
6853 * gdb.linespec/ls-errs.c: New file.
6854 * gdb.linespec/ls-errs.exp: New test.
6855
a72c8f6a
JK
68562012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6857
6858 * gdb.trace/unavailable.exp
6859 (collect globals: print object on: print derived_partial)
6860 (collect globals: print object on: print derived_whole)
6861 (collect globals: print object off: print derived_partial)
6862 (collect globals: print object off: print derived_whole): Update
6863 expected output.
6864
f87a3023
KS
68652012-03-30 Keith Seitz <keiths@redhat.com>
6866
6867 * gdb.python: Add test for linespecs with commas.
6868
e2171b3c
KS
68692012-03-28 Keith Seitz <keiths@redhat.com>
6870
6871 * gdb.linespec/ls-dollar.cc: New file.
6872 * gdb.linespec/ls-dollar.exp: New test.
6873
68742012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
6875
6876 * gdb.cp/namespace.exp: Add breakpoint tests for functions
6877 starting with the global namespace.
6878
2f4e0a80
DE
68792012-03-23 Doug Evans <dje@google.com>
6880
6881 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
6882
7b282c5a
SCR
68832012-03-22 Siva Chandra Reddy <sivachandra@google.com>
6884
6885 * gdb.python/py-value.cc: Add test case for testing the
6886 methodology exposing C++ values to Python.
6887 * gdb.python/py-value-cc.exp: Add tests testing the methodology
6888 exposing C++ values to Python.
6889 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
6890
2e98ca53
JK
68912012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6892 Siddhesh Poyarekar <siddhesh@redhat.com>
6893
6894 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
6895 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
6896 (generate native core dump): Make the test unsupported if core cannot
6897 be generated.
6898
8320cc4f
JK
68992012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6900
6901 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
6902 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
6903 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
6904
3a69ffb2
JK
69052012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6906
6907 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
6908
8fabffee
DE
69092012-03-17 Doug Evans <dje@google.com>
6910
6911 * dg-extract-results.sh: Handle KFAILs.
6912
ab260dad
JK
69132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6914
6915 PR symtab/13777
6916 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
6917
53ba8333
JB
69182012-03-16 Joel Brobecker <brobecker@adacore.com>
6919
6920 * gdb.ada/set_pckd_arr_elt: New testcase.
6921
481860b3
GB
69222012-03-16 Gary Benson <gbenson@redhat.com>
6923
6924 PR breakpoints/10738
6925 * gdb.opt/inline-break.exp: New file.
6926 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
6927 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
6928 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
6929 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
6930 * gdb.base/async-shell.exp: Likewise.
6931 * lib/mi-support.exp (library_loaded_re): Likewise.
6932
410528f0
TT
69332012-03-15 Tom Tromey <tromey@redhat.com>
6934
6935 * gdb.cp/virtfunc2.exp: Update expected output.
6936 * gdb.cp/pr9631.exp: Update expected output.
6937 * gdb.cp/member-ptr.exp: Update expected output.
6938 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
6939 output.
6940 * gdb.cp/casts.exp: Update expected output.
6941
c4aeac85
TT
69422012-03-15 Tom Tromey <tromey@redhat.com>
6943
6944 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
6945 (test_info_vtbl): Likewise.
6946 (do_tests): Call test_info_vtbl.
6947 * gdb.cp/virtfunc.cc (va): New global.
6948
856d06f9
TS
69492012-03-15 Thomas Schwinge <thomas@codesourcery.com>
6950
6951 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
6952 describing DWARF data structures.
6953 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
6954 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
6955 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
6956 * gdb.dwarf2/dw2-entry-value.S: Likewise.
6957 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6958 * gdb.dwarf2/dw2-param-error.S: Likewise.
6959 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
6960 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
6961 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
6962 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
6963 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
6964 * gdb.dwarf2/pr11465.S: Likewise.
6965
e837f12a
JK
69662012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6967
6968 * gdb.mi/mi2-prompt.exp: New file.
6969
ccbb4f28
JB
69702012-03-13 Joel Brobecker <brobecker@adacore.com>
6971
6972 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
6973
32039130
JB
69742012-03-13 Joel Brobecker <brobecker@adacore.com>
6975
6976 * gdb.ada/bp_range_type: New testcase.
6977
16899756
DE
69782012-03-13 Doug Evans <dje@google.com>
6979
6980 * gdb.base/default.exp: Delete tests for symbol-reloading.
6981 * gdb.base/help.exp: Ditto.
6982 * gdb.base/setshow.exp: Ditto.
6983 * gdb.base/gdb_history: Delete references to symbol-reloading.
6984
87b0bb13
JK
69852012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6986
6987 * gdb.base/attach-twice.c: New files.
6988 * gdb.base/attach-twice.exp: New files.
6989
0d7941a9
KS
69902012-03-08 Keith Seitz <keiths@redhat.com>
6991
6992 * lib/gdb.exp (gdb_get_line_number): Throw an
6993 error instead of returning -1.
6994 * gdb.base/break.exp: Remove unused variable
6995 bp_location5.
6996 * gdb.base/hbreak2.exp: Likewise.
6997 * gdb.base/sepdebug.exp: Likewise.
6998
f4647387
YQ
69992012-03-08 Yao Qi <yao@codesourcery.com>
7000 Pedro Alves <palves@redhat.com>
7001
7002 Fix PR server/13392.
7003 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
7004 (tracepoint_change_loc_2): Remove kfail. Return if failed to
7005 download tracepoints.
7006 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
7007 (pending_tracepoint_resolved_during_trace): Likewise.
7008 (pending_tracepoint_installed_during_trace): Likewise.
7009 (pending_tracepoint_with_action_resolved): Likewise.
7010
83c532cb
KS
70112012-03-08 Keith Seitz <keiths@redhat.com>
7012
7013 * gdb.ada/array_bounds.exp: Get breakpoint for line
7014 with "START", not "STOP".
7015 * gdb.python/py-infthread.exp: Do not continue to
7016 line marked "Break here.", which is undefined.
7017
d6b6bbb7
LM
70182012-03-08 Luis Machado <lgustavo@codesourcery.com>
7019
7020 Revert:
7021
7022 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7023
7024 Implement testsuite workaround for PR breakpoints/13781.
7025 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7026 (set breakpoint condition-evaluation host): New conditional command.
7027
7fe25d9b
JK
70282012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7029
7030 Fix CU relative vs. absolute DIE offsets.
7031 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
7032 one.
7033
51898c15
JK
70342012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7035
7036 Fix false FAIL on distros with relro linkage as default.
7037 * gdb.reverse/solib-precsave.exp: Try to compile the test using
7038 -Wl,-z,norelro first.
7039
8131799e
JB
70402012-03-06 Joel Brobecker <brobecker@adacore.com>
7041
7042 * gdb.ada/bp_on_var: New testcase.
7043
ba241969
JB
70442012-03-06 Joel Brobecker <brobecker@adacore.com>
7045
7046 * gdb.ada/bp_enum_homonym: New testcase.
7047
abe49676
YQ
70482012-03-06 Yao Qi <yao@codesourcery.com>
7049
7050 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
7051 x86_64-*-* and i?86-*-*.
7052 Set up KFAIL for gdb/13808.
7053
d8df103b
TT
70542012-03-05 Tom Tromey <tromey@redhat.com>
7055
7056 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
7057 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
7058
b7b189f3
TT
70592012-03-05 Tom Tromey <tromey@redhat.com>
7060
7061 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
7062
69dc1c4d
YQ
70632012-03-04 Yao Qi <yao@codesourcery.com>
7064
7065 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
7066 messages for KFAIL.
7067
3f20c47f
JK
70682012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7069
7070 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
7071 (print one_two_three, indexes off, print few_reps, indexes off)
7072 (print many_reps, indexes off, print empty, indexes off)
7073 (print one_two_three, print few_reps, print many_reps, print empty):
7074 Call setup_xfail if $gcc_old.
7075
abf1152a
JK
70762012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7077
7078 Implement testsuite workaround for PR breakpoints/13781.
7079 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7080 (set breakpoint condition-evaluation host): New conditional command.
7081
a06715f8
JK
70822012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7083
7084 Code cleanup.
7085 * gdb.cp/mb-templates.exp: New variables executable. Use it for
7086 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
7087 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
7088 number 1 by $bpnum. Four times.
7089
5808517f
YQ
70902012-03-03 Yao Qi <yao@codesourcery.com>
7091
7092 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
7093
dfe2ac14
JK
70942012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7095
7096 Setup KFAIL for PR server/13796.
7097 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
7098
8bbc467a
JB
70992012-03-02 Joel Brobecker <brobecker@adacore.com>
7100
7101 * gdb.ada/operator_bp: New testcase.
7102
c0eac87f
JB
71032012-03-02 Joel Brobecker <brobecker@adacore.com>
7104
7105 * gdb.ada/info_locals_renaming: New testcase.
7106
4f42c881
TT
71072012-03-02 Tom Tromey <tromey@redhat.com>
7108
7109 * gdb.base/nextoverexit.c: New file.
7110 * gdb.base/nextoverexit.exp: New file.
7111
7380c0c9
EBM
71122012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7113
7114 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
7115 parameter.
7116
1faeff08
MR
71172012-03-01 Maciej W. Rozycki <macro@mips.com>
7118
7119 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
7120 core registers.
7121
320b6f49 71222012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
7123 Maciej W. Rozycki <macro@codesourcery.com>
7124 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
7125
7126 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
7127
ad5f7d6e
PA
71282012-03-01 Pedro Alves <palves@redhat.com>
7129
7130 PR gdb/13767
7131
7132 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
7133 (gdb_collect_globals_test): Call it.
7134
d3dc44a6
KS
71352012-03-01 Keith Seitz <keiths@redhat.com>
7136
7137 * gdb.cp/method2.exp: Output of overload menu is now
7138 alphabetized. Update tests for "break A::method".
7139 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
7140 of hard-coding them.
7141 Overload menu is alphabetized: rewrite to accommodate.
7142 Unset variables LINE and TYPES which are used in other tests.
7143 Compute the output of "info break".
7144 Update the breakpoint table after all breakpoints are deleted.
7145 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
7146 compute ACTUALS and the method body based on parameters.
7147 Update expected output accordingly.
7148 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
7149 unique comments to allow the use of gdb_get_line_number.
7150
71512012-03-01 Keith Seitz <keiths@redhat.com>
7152
7153 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
7154 some Tcl syntax.
7155 * gdb.cp/ovldbreak.exp: Likewise.
7156
7949c2a0
KS
71572012-03-01 Keith Seitz <keiths@redhat.com>
7158
7159 * gdb.base/help.exp (help show user): Update expected result
7160 for new doc string changes (add "non-python").
7161
7d74f244
DE
71622012-03-01 Scott J. Goldman <scottjg@vmware.com>
7163
7164 * gdb.python/py-cmd.exp: Add test to verify that python commands can
7165 be put in the user-defined category and that the commands appear in
7166 "help user-defined".
7167
1b611343
JB
71682012-02-29 Joel Brobecker <brobecker@adacore.com>
7169
7170 * gdb.ada/tagged_not_init: New testcase.
7171
99b1c762
JB
71722012-02-29 Joel Brobecker <brobecker@adacore.com>
7173
7174 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
7175 * gdb.ada/enum_idx_packed: New testcase.
7176
2d4a02ee
JB
71772012-02-29 Joel Brobecker <brobecker@adacore.com>
7178
7179 * gdb.ada/aliased_array: New testcase.
7180
2e6fda7d
JB
71812012-02-29 Joel Brobecker <brobecker@adacore.com>
7182
7183 * gdb.ada/whatis_array_val: New testcase.
7184
9a7f938f
JK
71852012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7186
7187 Fix disp-step-syscall.exp: fork: single step over fork.
7188 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
7189 whitespaces.
7190 (single step over $syscall): Remove its check.
7191 (single step over $syscall final pc): New check.
7192
8703a944
JK
71932012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7194
7195 Support processors without SSSE3.
7196 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
7197 pabsd into ...
7198 (ssse3_test): ... a new function.
7199 (main): Call ssse3_test.
7200 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
7201 Update expected values everywhere.
7202 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
7203 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
7204 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
7205 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
7206 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
7207 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
7208 Move these tests lower.
7209 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
7210 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
7211 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
7212 New tests.
7213
c03e6ccc
YQ
72142012-02-29 Yao Qi <yao@codesourcery.com>
7215 Pedro Alves <palves@redhat.com>
7216
7217 * gdb.trace/trace-mt.c: New.
7218 * gdb.trace/trace-mt.exp: New.
7219
7964b62a
TS
72202012-02-28 Thomas Schwinge <thomas@codesourcery.com>
7221
2c8910ba
TS
7222 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
7223 numbers instead of hardcoding them.
7224 * gdb.base/annota1.c: Provide suitable markers.
7225 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
7226 numbers instead of hardcoding them.
7227 * gdb.base/annota3.c: Provide suitable markers.
7228
7229 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
7230 * gdb.base/annota3.c: Likewise.
7231 * gdb.base/sigall.c: Likewise.
7232 * gdb.base/signals.c: Likewise.
7233 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 7234
5a41c0b7
MR
72352012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
7236
7237 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
7238 failure return path.
7239
ebbbe5c5
LM
72402012-02-27 Luis Machado <lgustavo@codesourcery.com>
7241
7242 * gdb.base/save-bp.exp: Account for new condition evaluator output.
7243
8d126d8a
LM
72442012-02-24 Luis Machado <lgustavo@codesourcery.com>
7245
7246 * gdb.base/cond-eval-mode.exp: New file.
7247
11337c2f
PA
72482012-02-24 Pedro Alves <palves@redhat.com>
7249
7250 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
7251 (top level): Use with_test_prefix.
7252
13fc3e3c
PA
72532012-02-24 Pedro Alves <palves@redhat.com>
7254
7255 * gdb.threads/attach-into-signal.exp (corefunc): Use
7256 with_test_prefix.
7257
07c1b626
JK
72582012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 Fix false FAILs on old CPUs without SSE.
7261 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
7262 Return untested for Illegal instruction.
7263
596ba138
JK
72642012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7265
7266 Fix false FAILs with glibc debug infos installed.
7267 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
7268 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
7269
aeaa2474
SA
72702012-02-22 Sterling Augustine <saugustine@google.com>
7271
7272 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
7273 constant with cast.
7274
aed555c9
PA
72752012-02-21 Pedro Alves <palves@redhat.com>
7276
7277 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
7278
78afebb4
PA
72792012-02-21 Pedro Alves <palves@redhat.com>
7280
7281 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
7282
fdcfef12
PA
72832012-02-21 Pedro Alves <palves@redhat.com>
7284
7285 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
7286 with_test_prefix.
7287
0f4d39d5
PA
72882012-02-21 Pedro Alves <palves@redhat.com>
7289
7290 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
7291 with_test_prefix here.
7292 (top level): Do it here instead. Remove `:' from the
7293 with_test_prefix string.
7294 * gdb.base/attach-pie-misread.exp: Remove the leading space the
7295 the suffix `:' from the with_test_prefix prefix string.
7296 * gdb.base/break-interp.exp: Ditto.
7297 * gdb.base/catch-load.exp: Ditto.
7298 * gdb.base/disp-step-syscall.exp: Ditto.
7299 * gdb.base/jit-so.exp: Ditto.
7300 * gdb.base/jit.exp: Ditto.
7301 * gdb.base/sepdebug.exp: Ditto.
7302 * gdb.base/solib-display.exp: Ditto.
7303 * gdb.base/solib-overlap.exp: Ditto.
7304 * gdb.base/watch-cond-infcall.exp: Ditto.
7305 * gdb.base/watchpoint.exp: Ditto.
7306 * gdb.dwarf2/dw2-noloc.exp: Ditto.
7307 * gdb.mi/mi-watch.exp: Ditto.
7308 * gdb.mi/mi2-watch.exp: Ditto.
7309 * gdb.threads/non-ldr-exc-1.exp: Ditto.
7310 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7311 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7312 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7313 * gdb.threads/watchpoint-fork.exp: Ditto.
7314 * gdb.threads/watchthreads-reorder.exp: Ditto.
7315 * gdb.trace/change-loc.exp: Ditto.
7316 * gdb.trace/pending.exp: Ditto.
7317 * gdb.trace/status-stop.exp: Ditto.
7318 * gdb.trace/strace.exp: Ditto.
7319 * gdb.trace/trace-break.exp: Ditto.
7320 * gdb.trace/unavailable.exp: Ditto.
7321 * lib/gdb.exp (with_test_prefix): Always prefix with space and
7322 suffix with colon. Adjust leading comments.
7323
6a5870ce
PA
73242012-02-21 Pedro Alves <palves@redhat.com>
7325 Tom Tromey <tromey@redhat.com>
7326
7327 * lib/gdb.exp: Add description of test prefixes.
7328 (with_test_prefix): New procedure.
7329 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
7330 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
7331 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
7332 instead of lappend to append to pf_prefix.
7333 * gdb.base/catch-load.exp: Use with_test_prefix.
7334 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
7335 * gdb.base/jit-so.exp: Use with_test_prefix.
7336 * gdb.base/jit.exp: Use with_test_prefix.
7337 * gdb.base/return-nodebug.exp (do_test): Use append instead of
7338 lappend to append to pf_prefix.
7339 * gdb.base/sepdebug.exp: Use with_test_prefix.
7340 * gdb.base/solib-display.exp: Use with_test_prefix.
7341 * gdb.base/solib-overlap.exp: Use with_test_prefix.
7342 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
7343 * gdb.base/watchpoint.exp: Use with_test_prefix.
7344 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
7345 * gdb.mi/mi-watch.exp: Use with_test_prefix.
7346 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
7347 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
7348 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
7349 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
7350 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
7351 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
7352 append instead of lappend to append to pf_prefix.
7353 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
7354 * gdb.trace/change-loc.exp: Use with_test_prefix.
7355 * gdb.trace/pending.exp: Use with_test_prefix.
7356 * gdb.trace/status-stop.exp: Use with_test_prefix.
7357 * gdb.trace/strace.exp: Use with_test_prefix.
7358 * gdb.trace/trace-break.exp: Use with_test_prefix.
7359 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
7360 instead of lappend to append to pf_prefix.
7361
35dc4a6b
JK
73622012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7363
7364 Fix racy FAILs.
7365 * gdb.base/inferior-died.c (main): Add return of 0.
7366 * gdb.base/inferior-died.exp (continue): Fix expectation of
7367 asynchronous events.
7368 (p 1): New test.
7369
c5a006e6
PA
73702012-02-20 Pedro Alves <palves@redhat.com>
7371
7372 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
7373 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
7374 gdb's internal debug output. For the non-threaded case, look for
7375 "Program received signal SIGLARM", for the threaded case, peek at
7376 the thread's siginfo.
7377
cc51a170
PA
73782012-02-20 Pedro Alves <palves@redhat.com>
7379
7380 General cleanup, make output test messages unique, and build
7381 different executable files for the non-threaded and threaded
7382 cases.
7383
7384 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
7385 Delete.
7386 (executable_nothr, executable_thr): New globals.
7387 (top level): Adjust to delete both executables.
7388 (corefunc): New parameter $executable. Set $pf_prefix instead of
7389 hand writing a prefix in tests. Issue a clean_restart and enable
7390 lin-lwp debug output here.
7391 (top level): Adjust. Use build_executable. Don't start gdb here,
7392 and don't enable lin-lwp debug output here.
7393 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
7394
c755f03d
JK
73952012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7396
7397 Fix racy FAILs.
7398 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
7399 "continue" command.
7400
6bec5e0a
JK
74012012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7402
7403 Fix for gdbserver non-extended mode.
7404 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
7405 and gdb_run_cmd.
7406
2e8265fd
TT
74072012-02-17 Tom Tromey <tromey@redhat.com>
7408
7409 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
7410 * gdb.python/py-events.exp: Check 'dir' output.
7411 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
7412
9e507076
YQ
74132012-02-17 Yao Qi <yao@codesourcery.com>
7414
7415 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
7416
32d22ab1
TT
74172012-02-16 Tom Tromey <tromey@redhat.com>
7418
7419 * gdb.base/inferior-died.c: Don't include stdio.h.
7420
9addecb9
TT
74212012-02-16 Tom Tromey <tromey@redhat.com>
7422
7423 * gdb.base/inferior-died.c: New file.
7424 * gdb.base/inferior-died.exp: New file.
7425
4cb6da1c
AR
74262012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
7427
7428 * gdb.base/break-inline.exp: New file.
7429 * gdb.base/break-inline.c: New file.
7430
3af2590d
TT
74312012-02-15 Tom Tromey <tromey@redhat.com>
7432
7433 * gdb.base/pc-fp.exp: Add "info register" tests.
7434
29988831
TT
74352012-02-15 Tom Tromey <tromey@redhat.com>
7436
7437 * gdb.base/regs.exp: Remove.
7438
10010058
PA
74392012-02-15 Pedro Alves <palves@redhat.com>
7440
7441 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
7442 the target doesn't support tracepoints.
7443 * gdb.trace/circ.exp: Ditto.
7444 * gdb.trace/collection.exp: Ditto.
7445 * gdb.trace/packetlen.exp: Ditto.
7446 * gdb.trace/passc-dyn.exp: Ditto.
7447 * gdb.trace/report.exp: Ditto.
7448 * gdb.trace/tfind.exp: Ditto.
7449 * gdb.trace/tspeed.exp: Ditto.
7450 * gdb.trace/tsv.exp: Ditto.
7451 * gdb.trace/unavailable.exp: Ditto.
7452 * gdb.trace/while-dyn.exp: Ditto.
7453
a2e0062d
PA
74542012-02-15 Pedro Alves <palves@redhat.com>
7455
7456 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
7457 gdb_test_multiple, and call unsupported instead of fail, if the
7458 remote side does not support the request.
7459
a1999d40
PA
74602012-02-15 Pedro Alves <palves@redhat.com>
7461
7462 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
7463 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
7464 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
7465 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
7466 * gdb.server/server-run.exp: Make sure gdb is disconnected.
7467 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
7468 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
7469 doesn't start with "extended-" already.
7470
7cee1e54
PA
74712012-02-15 Pedro Alves <palves@redhat.com>
7472
7473 Support extended-remote. Avoid cascading timeouts.
7474
7475 * gdb.base/attach.exp (do_attach_tests): Add expected output for
7476 the extended-remote target. If attaching with no file fails, load
7477 the file manually.
7478 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
7479
816338b5
SS
74802012-02-14 Stan Shebs <stan@codesourcery.com>
7481
7482 * gdb.base/ena-dis-br.exp: Add enable count test.
7483
cc30c4bd
PA
74842012-02-13 Pedro Alves <palves@redhat.com>
7485
7486 * config/mips-idt.exp: Delete.
7487 * gdb.base/a2-run.exp: Remove mips-idt xfails.
7488 * gdb.base/bitfields.exp: Remove mips-idt restarts.
7489 * gdb.base/break.exp: Remove mips-idt references.
7490 * gdb.base/chng-syms.exp: Ditto.
7491 * gdb.base/default.exp: Ditto.
7492 * gdb.base/funcargs.exp (funcargs_reload): Delete.
7493 (top level): Don't call it.
7494 * gdb.base/opaque.exp: Remove mips-idt restarts.
7495 * gdb.base/ptype.exp: Remove mips-idt xfails.
7496 * gdb.base/scope.exp: Remove mips-idt restarts.
7497 * gdb.base/sepdebug.exp: Remove mips-idt references.
7498 * gdb.base/watchpoint.exp (maybe_clean_restart)
7499 (maybe_reinitialize): Delete.
7500 (test_disabling_watchpoints, test_disabling_watchpoints)
7501 (test_watchpoint_triggered_in_syscall)
7502 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7503 Don't call them.
7504
57008375
JK
75052012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7506
7507 * gdb.server/server-exec-info.exp: New file.
7508
4a2d9c08
PA
75092012-02-10 Pedro Alves <palves@redhat.com>
7510
7511 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
7512 always non-empty.
7513 (test_attach): Always pass $exec to test_attach_gdb.
7514
09fa21bd
TT
75152012-02-08 Tom Tromey <tromey@redhat.com>
7516
7517 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
7518 before inferior is started.
7519
f0823d2c
TT
75202012-02-07 Tom Tromey <tromey@redhat.com>
7521
7522 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
7523 Symbol.value.
7524 * gdb.python/py-symbol.c (qq): Set default value.
7525
75262012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
7527
7528 * gdb.python/py-symbol.c (qq): New global.
7529 * gdb.python/py-symbol.exp: Add test for frame-less
7530 lookup_symbol.
7531 * gdb.python/py-symtab.exp: Fix line number.
7532
f7e44f65
JB
75332012-02-03 Joel Brobecker <brobecker@adacore.com>
7534
7535 * gdb.ada/mi_task_arg: New testcase.
7536
4c9ed63c
PA
75372012-02-02 Pedro Alves <palves@redhat.com>
7538
7539 * gdb.reverse/until-precsave.exp: Also put "record save" under the
7540 extended timeout.
7541
c0b9f2c6
PA
75422012-02-02 Pedro Alves <palves@redhat.com>
7543
7544 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
7545 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
7546
5f8cefd7
PA
75472012-02-02 Pedro Alves <palves@redhat.com>
7548
7549 * gdb.base/term.exp: Rewrite.
7550 * gdb.base/term.c: New.
7551
2f3a2569
PA
75522012-02-02 Pedro Alves <palves@redhat.com>
7553
7554 * gdb.base/default.exp (run "r" abbreviation, run): Add
7555 extended-remote expected output.
7556
f149aabd
TT
75572012-02-02 Tom Tromey <tromey@redhat.com>
7558
7559 * gdb.cp/dispcxx.exp: New file.
7560 * gdb.cp/dispcxx.cc: New file.
7561
03bef283
TT
75622012-02-01 Tom Tromey <tromey@redhat.com>
7563
7564 * gdb.base/jit-simple.exp: New file.
7565 * gdb.base/jit-simple.c: New file.
7566
a79b18b5
YQ
75672012-01-30 Yao Qi <yao@codesourcery.com>
7568
7569 * gdb.base/skip.exp: Make test result unique.
7570
f0d1a53e
JK
75712012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7572
7573 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
7574 compatibility with valgrind-3.7.0.
7575
4b3c9f41
PA
75762012-01-27 Pedro Alves <palves@redhat.com>
7577
7578 * gdb.base/watchpoint.exp (no_hw): New global.
7579 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
7580 disable hw watchpoints.
7581 (test_wide_location_1, test_wide_location_2): If no_hw is set,
7582 don't expect hw watchpoints.
7583 (no_hw_watchpoints): Always clean restart.
7584 (do_tests): New procedure, factored out from the top level.
7585 (top level): Run tests twice. Once with hw watchpoints enabled,
7586 another time with hw watchpoints disabled.
7587
a13491c8
PA
75882012-01-27 Pedro Alves <palves@redhat.com>
7589
7590 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
7591 out from the top level.
7592 (top level): Call it instead.
7593
f2c8a051
PA
75942012-01-27 Pedro Alves <palves@redhat.com>
7595
7596 * gdb.base/watchpoint.exp (top level): Re-enable hardware
7597 watchpoints sooner.
7598
654d7a9e
PA
75992012-01-27 Pedro Alves <palves@redhat.com>
7600
7601 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
7602
274f47f3
PA
76032012-01-27 Pedro Alves <palves@redhat.com>
7604
7605 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
7606 "You may have requested too many hardware
7607 breakpoints/watchpoints".
7608
e4d63ba2
PA
76092012-01-27 Pedro Alves <palves@redhat.com>
7610
7611 * gdb.base/watchpoint.exp (maybe_clean_restart)
7612 (maybe_reinitialize): New.
7613 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
7614 expect "hit N times".
7615 (test_disabling_watchpoints, test_complex_watchpoint)
7616 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7617 Call maybe_clean_restart.
7618 (top level): Use clean_restart. Remove "mips-idt-*"
7619 reinitialization.
7620
dbd95daf
PA
76212012-01-27 Pedro Alves <palves@redhat.com>
7622
7623 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
7624
f3ad2025
PA
76252012-01-27 Pedro Alves <palves@redhat.com>
7626
7627 * gdb.base/watchpoint.exp: Clean restart after tests that don't
7628 require `initialize' anymore. Remove unnecessary `initialize'
7629 calls.
7630
100aa3ae
PA
76312012-01-27 Pedro Alves <palves@redhat.com>
7632
7633 * gdb.base/watchpoint.exp (wp_set): Delete.
7634 (initialize, test_simple_watchpoint, top level): Remove dead code.
7635
c79a8e11
PA
76362012-01-27 Pedro Alves <palves@redhat.com>
7637
7638 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
7639 typo.
7640
048fe15a
PA
76412012-01-27 Pedro Alves <palves@redhat.com>
7642
7643 * config/extended-gdbserver.exp: New file.
7644 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
7645 comment.
7646 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
7647 * boards/native-extended-gdbserver.exp: New file.
7648
4033a6bf
PA
76492012-01-26 Pedro Alves <palves@redhat.com>
7650
7651 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
7652 and gdb_test_multiple.
7653
3d7f4b81
PA
76542012-01-26 Pedro Alves <palves@redhat.com>
7655
7656 Make test messages unique, and more identifiable.
7657 * gdb.multi/watchpoint-multi.exp: Change test messages.
7658
484abf42
TT
76592012-01-25 Tom Tromey <tromey@redhat.com>
7660
7661 * gdb.base/solib-disc.exp: Fix regexps.
7662
edcc5120
TT
76632012-01-24 Tom Tromey <tromey@redhat.com>
7664
7665 * lib/mi-support.exp (mi_expect_stop): Add special case for
7666 solib-event.
7667 * gdb.base/catch-load-so.c: New file.
7668 * gdb.base/catch-load.exp: New file.
7669 * gdb.base/catch-load.c: New file.
7670 * gdb.base/break-interp.exp (reach_1): Update regexp.
7671
30b91c90
JK
76722012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7673
7674 Fix fuzzy results.
7675 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
7676 lpsimple and func.
7677
53fe1783
GB
76782012-01-24 Gary Benson <gbenson@redhat.com>
7679
7680 Delete #if 0'd out code.
7681 * gdb.base/default.exp (info catch): Remove.
7682 * gdb.base/gdb_history (info catch): Likewise.
7683 * gdb.base/help.exp (info catch): Likewise.
7684
d0d8b0c6
JK
76852012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7686
7687 Fix watchpoints to be specific for each inferior.
7688 * gdb.multi/watchpoint-multi.c: New file.
7689 * gdb.multi/watchpoint-multi.exp: New file.
7690
4403d8e9
JK
76912012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7692
7693 Fix watchpoints across inferior fork.
7694 * gdb.threads/watchpoint-fork-child.c: New file.
7695 * gdb.threads/watchpoint-fork-mt.c: New file.
7696 * gdb.threads/watchpoint-fork-parent.c: New file.
7697 * gdb.threads/watchpoint-fork-st.c: New file.
7698 * gdb.threads/watchpoint-fork.exp: New file.
7699 * gdb.threads/watchpoint-fork.h: New file.
7700
050a2e1d
PA
77012012-01-23 Pedro Alves <palves@redhat.com>
7702
7703 * gdb.base/call-signal-resume.exp: Allow output after "return".
7704
6a52fb62
PA
77052012-01-20 Pedro Alves <palves@redhat.com>
7706
7707 * gdb.python/py-finish-breakpoint.py: Fix typo.
7708
145b16a9
UW
77092012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
7710
7711 * gdb.base/info-proc.exp: Also run on remote targets. Main
7712 "info proc" command is now always present; whether target supports
7713 actual info proc operation is detected when attempting to issue
7714 the command.
7715
26f6125e
JK
77162012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7717
7718 * .gdbinit: Remove.
7719
eb5227ce
PA
77202012-01-19 Pedro Alves <palves@redhat.com>
7721
7722 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
7723 look at the funtions' returns.
7724 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
7725 (jprint.print(int, int)): Change return type to int. Adjust.
7726
1db33378
PP
77272012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7728
7729 PR gdb/9538
7730 * gdb.base/sepdebug.exp: New test.
7731
b9736cf8
PA
77322012-01-18 Pedro Alves <palves@redhat.com>
7733
7734 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
7735 Allow output before ^done.
7736
4aac40c8
TT
77372012-01-16 Tom Tromey <tromey@redhat.com>
7738
7739 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
7740 Add tests for relative directory.
7741
cafec441
TT
77422012-01-16 Tom Tromey <tromey@redhat.com>
7743
7744 * gdb.base/printcmds.c (enum flag_enum): New.
7745 (three): New global.
7746 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
7747 enum printing.
7748 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
7749 FlagEnumerationPrinter.
7750 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
7751 * gdb.python/py-pp-maint.c (enum flag_enum): New.
7752 (fval): New global.
7753
abcc4978
PA
77542012-01-16 Pedro Alves <palves@redhat.com>
7755
7756 * lib/gdb.exp (banned_procedures): New variable.
7757 (banned_variables_traced): Rename to ...
7758 (banned_traced): ... this.
7759 (gdb_init): Also trace banned procedures.
7760 (gdb_finish): Also untrace banned procedures.
7761
97ccebe8
PA
77622012-01-16 Pedro Alves <palves@redhat.com>
7763
7764 Remove all calls to strace.
7765
2af7517b
JK
77662012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
7769 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
7770
9241a8bc
PP
77712012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7772
7773 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
7774 * gdb.base/pie-execl.exp: Likewise.
7775
3848a17f
KS
77762012-01-12 Keith Seitz <keiths@redhat.com>
7777
7778 PR mi/10586
7779 * gdb.mi/var-cmd.c (struct anonymous): New structure.
7780 (do_anonymous_type_tests): New function.
7781 (main): Call do_anonymous_type_tests.
7782 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
7783 (verify_everything): New procedure.
7784 * gdb.mi/mi-var-cp.cc (class A): New class.
7785 (anonymous_structs_and_unions): New function.
7786 (main): Call anonymous_structs_and_unions.
7787 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
7788 (verify_everything): New procedure.
7789
440e2fca
KS
77902012-01-12 Keith Seitz <keiths@redhat.com>
7791
7792 * lib/mi-support.exp: Expand comments about PATH_EXPR.
7793 (varobj_tree::get_path_expr): Assume that all varobjs are
7794 compound unless they are known simple types.
7795 Adjust path expressions based on parent type, path parent type,
7796 and tree language.
7797 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
7798 the root varobj.
7799 (mi_walk_varobj_tree): Add LANGUAGE parameter.
7800
675399c9
PA
78012012-01-11 Pedro Alves <palves@redhat.com>
7802
7803 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
7804 core files on this machine" anymore.
7805
97ddaa9b
PH
78062012-01-11 Paul Hilfinger <hilfingr@adacore.com>
7807
7808 * gdb.base/watchpoint.c (recurser): Initialize local_x.
7809 (main): Repeat recurser call.
7810 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
7811 equivalent to 'local_x'.
7812
ea733575 78132012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 7814 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
7815
7816 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
7817
2ca0b532
PA
78182012-01-05 Pedro Alves <alves.ped@gmail.com>
7819
7820 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
7821 * gdb.python/py-events.c (first): Add bits for new "step N" test.
7822 * gdb.python/py-events.exp: Test that "step N" tripping on a
7823 breakpoint emits a breakpoint event.
7824
6e681866
JB
78252012-01-03 Joel Brobecker <brobecker@adacore.com>
7826
7827 * gdb.base/auxv.exp: Reformat the copyright notice.
7828
3c2d6aff
YQ
78292012-01-03 Yao Qi <yao@codesourcery.com>
7830
7831 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
7832 (strace_trace_on_diff_addr): New.
7833 * gdb.trace/strace.c: (main): Add two local variables.
7834
0852fee3
UW
78352011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
7836
7837 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
7838 * gdb.cell/gcore.exp: Likewise.
7839 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
7840 to verify the correct instance of main is selected.
7841
12c3e59c
JB
78422012-01-02 Joel Brobecker <brobecker@adacore.com>
7843
7844 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
7845 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
7846 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
7847 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
7848 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
7849 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
7850 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
7851 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
7852 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
7853 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
7854 gdb.threads/thread_check.c: Reformat copyright header.
7855
c0f378ec
EBM
78562011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
7857
e4a7ca93 7858 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
7859 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
7860 is not enabled.
7861
3bc96cfb
JK
78622011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7863
7864 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
7865 parameter to self_exec, adjust the function.
7866 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
7867 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
7868 (set var do_exit = 0): Remove test.
7869 (newline at end of file): Add one.
7870
095bcf5e
JB
78712011-12-27 Joel Brobecker <brobecker@adacore.com>
7872
7873 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
7874 New files.
7875
18d19bd1
JK
78762011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7877
7878 Fix racy FAILs.
7879 * gdb.threads/fork-thread-pending.c (barrier): New variable.
7880 (thread_function, thread_forker): Call pthread_barrier_wait for it.
7881 (main): Call pthread_barrier_init for it.
7882
e809353a
JK
78832011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7884
7885 Fix double send_gdb leading to racy FAILs.
7886 * gdb.base/break.exp (set silent break bp_location1): Replace
7887 3x send_gdb and gdb_expect by gdb_test.
7888 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
7889 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
7890 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
7891 instead of send_gdb. Twice.
7892 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
7893 3x send_gdb and gdb_expect by gdb_test.
7894 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
7895
da8cb7ec
JK
78962011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7897
7898 * gdb.linespec/linespec.exp: Compile using {c++}.
7899
ae1a303e
JK
79002011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7901
7902 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
7903 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
7904 (verify GCC PR debug/51668): New test.
7905
cc72b2a2
KP
79062011-12-23 Kevin Pouget <kevin.pouget@st.com>
7907
7908 Introduce gdb.FinishBreakpoint in Python.
7909 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
7910 py-finish-breakpoint2
7911 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
7912 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
7913 instead of line number.
7914 * gdb.python/py-finish-breakpoint.c: New file.
7915 * gdb.python/py-finish-breakpoint.exp: New file.
7916 * gdb.python/py-finish-breakpoint.py: New file.
7917 * gdb.python/py-finish-breakpoint2.cc: New file.
7918 * gdb.python/py-finish-breakpoint2.exp: New file.
7919 * gdb.python/py-finish-breakpoint2.py: New file.
7920
3b7962f9
JK
79212011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7922
7923 Partial fix of compatibility with gcc-4.7.
7924 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
7925 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
7926 Add comment to add a PASS case in the future.
7927
6538471c
JK
7928 Fix compatibility with gcc-4.7.
7929 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
7930
7052e42c
UW
79312011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
7932
7933 PR tdep/12797
7934 * gdb.base/callfuncs.exp: Remove KFAIL.
7935
9ac7f98e
JB
79362011-12-21 Joel Brobecker <brobecker@adacore.com>
7937
7938 * gdb.ada/task_bp: New testcase.
7939
f6eeced0
JK
79402011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7941
7942 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
7943 -DNO_SECTIONS.
7944 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
7945
72225e17
JK
79462011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7947
7948 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
7949 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
7950 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7951 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
7952 conditional for gcc <= 4.5.
7953
13ac8d2c
JK
79542011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7955
7956 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
7957 by XFAIL.
7958 * gdb.cp/static-method.exp (info addr A::func())
7959 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7960 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7961 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7962 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
7963 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
7964 (test value of F in k3_m): Likewise.
7965 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7966 Likewise.
7967
049682ba
JK
79682011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7969
7970 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
7971 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
7972 Remove.
7973 * gdb.threads/attachstop-mt.c: Remove.
7974 * gdb.threads/attachstop-mt.exp: Remove.
7975
2c9d8796
MK
79762011-12-17 Mark Kettenis <kettenis@gnu.org>
7977
7978 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
7979
e0f9f062
DE
79802011-12-16 Doug Evans <dje@google.com>
7981
f4aa2101 7982 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
7983 * boards/native-gdbserver.exp: New file.
7984
e0f9f062
DE
7985 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
7986 gdbserver output.
7987 (gdbserver_default_get_remote_address): New function.
7988 (gdbserver_start): Call gdb,get_remote_address to compute argument
7989 to "target remote" command.
7990
80b6e756
PM
79912011-12-16 Phil Muldoon <pmuldoon@redhat.com>
7992
1c3ad6ab 7993 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
7994 python print-stack. Add set/show python print-stack
7995 off|full|message tests.
7996
1576bd00
YQ
79972011-12-15 Yao Qi <yao@codesourcery.com>
7998
7999 * gdb.trace/strace.c: New
8000 * gdb.trace/strace.exp: New.
8001
d6a0f6e0
TT
80022011-12-14 Tom Tromey <tromey@redhat.com>
8003
8004 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
8005
31015e1d
DE
80062011-12-14 Doug Evans <dje@google.com>
8007
8008 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
8009
7b50312a
PA
80102011-12-14 Pedro Alves <pedro@codesourcery.com>
8011
8012 PR threads/10729
8013
8014 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 8015 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 8016
924437bc
PA
80172011-12-13 Pedro Alves <pedro@codesourcery.com>
8018 Doug Evans <dje@google.com>
8019
8020 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
8021 (clean_restart): Remove references to the gdb_stub target board
8022 variable.
8023 (gdb_step_for_stub): Delete.
8024
8025 * gdb.base/annota1.exp: Remove all references to [target_info
8026 exists gdb_stub], gdb_step_for_stub and usestubs.
8027 * gdb.base/annota3.exp: Ditto.
8028 * gdb.base/async.exp: Ditto.
8029 * gdb.base/break.exp: Ditto.
8030 * gdb.base/code-expr.exp: Ditto.
8031 * gdb.base/commands.exp: Ditto.
8032 * gdb.base/completion.exp: Ditto.
8033 * gdb.base/condbreak.exp: Ditto.
8034 * gdb.base/consecutive.exp: Ditto.
8035 * gdb.base/cvexpr.exp: Ditto.
8036 * gdb.base/define.exp: Ditto.
8037 * gdb.base/display.exp: Ditto.
8038 * gdb.base/ena-dis-br.exp: Ditto.
8039 * gdb.base/environ.exp: Ditto.
8040 * gdb.base/gnu-ifunc.exp: Ditto.
8041 * gdb.base/maint.exp: Ditto.
8042 * gdb.base/pending.exp: Ditto.
8043 * gdb.base/sect-cmd.exp: Ditto.
8044 * gdb.base/sepdebug.exp: Ditto.
8045 * gdb.base/unload.exp: Ditto.
8046 * gdb.base/watchpoint-solib.exp: Ditto.
8047 * gdb.cp/annota2.exp: Ditto.
8048 * gdb.cp/annota3.exp: Ditto.
8049 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
8050 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
8051 * gdb.mi/mi-pending.exp: Ditto.
8052 * gdb.trace/circ.exp: Ditto.
8053 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
8054 * gdb.base/list.exp: Ditto.
8055
8056 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
8057 breakpoint function and all references to the usestubs macro.
8058 * gdb.base/exprs.c: Ditto.
8059 * gdb.base/freebpcmd.c: Ditto.
8060 * gdb.base/bitfields.c: Ditto.
8061 * gdb.base/bitfields2.c: Ditto.
8062 * gdb.base/break.c: Ditto.
8063 * gdb.base/call-sc.c: Ditto.
8064 * gdb.base/call-signals.c: Ditto.
8065 * gdb.base/callfuncs.c: Ditto.
8066 * gdb.base/charset.c: Ditto.
8067 * gdb.base/consecutive.c: Ditto.
8068 * gdb.base/constvars.c: Ditto.
8069 * gdb.base/funcargs.c: Ditto.
8070 * gdb.base/int-type.c: Ditto.
8071 * gdb.base/interrupt.c: Ditto.
8072 * gdb.base/langs0.c: Ditto.
8073 * gdb.base/list0.c: Ditto.
8074 * gdb.base/mips_pro.c: Ditto.
8075 * gdb.base/miscexprs.c: Ditto.
8076 * gdb.base/nodebug.c: Ditto.
8077 * gdb.base/opaque0.c: Ditto.
8078 * gdb.base/pointers.c: Ditto.
8079 * gdb.base/printcmds.c: Ditto.
8080 * gdb.base/ptype.c: Ditto.
8081 * gdb.base/recurse.c: Ditto.
8082 * gdb.base/reread1.c: Ditto.
8083 * gdb.base/reread2.c: Ditto.
8084 * gdb.base/restore.c: Ditto.
8085 * gdb.base/return.c: Ditto.
8086 * gdb.base/run.c: Ditto.
8087 * gdb.base/scope0.c: Ditto.
8088 * gdb.base/sepdebug.c: Ditto.
8089 * gdb.base/setshow.c: Ditto.
8090 * gdb.base/setvar.c: Ditto.
8091 * gdb.base/sigall.c: Ditto.
8092 * gdb.base/signals.c: Ditto.
8093 * gdb.base/structs.c: Ditto.
8094 * gdb.base/structs2.c: Ditto.
8095 * gdb.base/testenv.c: Ditto.
8096 * gdb.base/twice.c: Ditto.
8097 * gdb.base/unwindonsignal.c: Ditto.
8098 * gdb.base/watchpoint.c: Ditto.
8099 * gdb.base/watchpoints.c: Ditto.
8100 * gdb.base/whatis.c: Ditto.
8101 * gdb.cp/classes.cc: Ditto.
8102 * gdb.cp/cplusfuncs.cc: Ditto.
8103 * gdb.cp/derivation.cc: Ditto.
8104 * gdb.cp/formatted-ref.cc: Ditto.
8105 * gdb.cp/misc.cc: Ditto.
8106 * gdb.cp/overload.cc: Ditto.
8107 * gdb.cp/ovldbreak.cc: Ditto.
8108 * gdb.cp/ref-params.cc: Ditto.
8109 * gdb.cp/ref-types.cc: Ditto.
8110 * gdb.cp/templates.cc: Ditto.
8111 * gdb.cp/virtfunc.cc: Ditto.
8112 * gdb.hp/gdb.aCC/run.c: Ditto.
8113 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
8114 * gdb.hp/gdb.compat/xdb0.c: Ditto.
8115 * gdb.reverse/consecutive-reverse.c: Ditto.
8116 * gdb.reverse/sigall-reverse.c: Ditto.
8117 * gdb.reverse/until-reverse.c: Ditto.
8118 * gdb.reverse/watch-reverse.c: Ditto.
8119 * gdb.trace/actions.c: Ditto.
8120 * gdb.trace/circ.c: Ditto.
8121 * gdb.trace/collection.c: Ditto.
8122
fabde485
PA
81232011-12-13 Pedro Alves <pedro@codesourcery.com>
8124
8125 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
8126 (func6, func7): New.
8127 (main): Call func6 and func7.
8128 * gdb.base/watchpoint.exp (test_wide_location_1)
8129 (test_wide_location_2): New.
8130 (top level): Re-enable hardware watchpoints if necessary. Call
8131 test_wide_location_1 and test_wide_location_2.
8132
ff7d1690
YQ
81332011-12-11 Yao Qi <yao@codesourcery.com>
8134
8135 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
8136
a6af7abe
JB
81372011-12-11 Joel Brobecker <brobecker@adacore.com>
8138
8139 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
8140 expected output for unsupported case.
8141
61638e15
JK
81422011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8143
8144 PR testsuite/12649
8145 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
8146 Protect gdb_test_multiple by final $gdb_prompt match.
8147
0a00efc3
JK
81482011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8149
8150 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
8151 New variable, new test.
8152 (list static-method.cc:xxx::(anonymous namespace)::A::func)
8153 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
8154 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
8155 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
8156 them if HAVE_GCC_45682_FIXED is not set.
8157
4511b1ba
YQ
81582011-12-10 Yao Qi <yao@codesourcery.com>
8159
8160 * gdb.trace/status-stop.exp: New.
8161 * gdb.trace/status-stop.c: New.
8162
27949e73
JK
81632011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8164
8165 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
8166 timeout.
8167
d8ea7931
TT
81682011-12-08 Tom Tromey <tromey@redhat.com>
8169
8170 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
8171 condition.
8172
1cc310d2
SS
81732011-12-07 Stan Shebs <stan@codesourcery.com>
8174
8175 * gdb.trace/tfind.exp: Update for output changes.
8176
d482a875
PA
81772011-12-07 Pedro Alves <pedro@codesourcery.com>
8178
8179 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
8180 throws "Cannot insert catchpoints in this configuration".
8181 * gdb.ada/mi_catch_ex.exp: Likewise.
8182
f0ba3972
PA
81832011-12-06 Pedro Alves <pedro@codesourcery.com>
8184
8185 * gdb.base/break-always.exp: Test changing memory at addresses
8186 with breakpoints inserted.
8187
f8eba3c6
TT
81882011-12-06 Joel Brobecker <brobecker@acacore.com>
8189
6fdff2c5
PA
8190 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
8191 involving a fully qualified function name.
f8eba3c6
TT
8192
81932011-12-06 Tom Tromey <tromey@redhat.com>
8194
8195 * gdb.ada/homonym.exp: Add three breakpoint tests.
8196
81972011-12-06 Tom Tromey <tromey@redhat.com>
8198
8199 * gdb.base/solib-weak.exp (do_test): Remove kfail.
8200 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
8201 * gdb.objc/objcdecode.exp: Update for output changes.
8202 * gdb.linespec/linespec.exp: New file.
8203 * gdb.linespec/lspec.cc: New file.
8204 * gdb.linespec/lspec.h: New file.
8205 * gdb.linespec/body.h: New file.
8206 * gdb.linespec/base/two/thefile.cc: New file.
8207 * gdb.linespec/base/one/thefile.cc: New file.
8208 * gdb.linespec/Makefile.in: New file.
8209 * gdb.cp/templates.exp (test_template_breakpoints): Update for
8210 output changes.
8211 * gdb.cp/re-set-overloaded.exp: Remove kfail.
8212 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
8213 makes one breakpoint.
8214 * gdb.cp/method2.exp (test_break): Update for output changes.
8215 * gdb.cp/mb-templates.exp: Update for output changes.
8216 * gdb.cp/mb-inline.exp: Update for output changes.
8217 * gdb.cp/mb-ctor.exp: Update for output changes.
8218 * gdb.cp/ovsrch.exp: Use fully-qualified names.
8219 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
8220 has multiple matches.
8221 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
8222 error message change.
8223 * gdb.base/list.exp (test_list_filename_and_number): Update for
8224 error message change.
8225 * gdb.base/break.exp: Disable pending breakpoints. Update for
8226 output changes.
8227 * configure.ac: Add gdb.linespec.
8228 * configure: Rebuild.
8229 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
8230
c642a434
UW
82312011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
8232
8233 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
8234 last_break register on s390*-*-* targets.
8235
b18003d1
JB
82362011-12-06 Joel Brobecker <brobecker@adacore.com>
8237
8238 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
8239 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
8240 of parameter X in procedure Foo.
8241
fe96589c
SS
82422011-12-05 Stan Shebs <stan@codesourcery.com>
8243
8244 * gdb.trace/tfind.exp: Update help string matches.
8245
1820ab47
JK
82462011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8247
8248 * gdb.server/ext-run.exp (get process list): Accept also systemd
8249 as PID 1.
8250
e11ac3a3
JK
82512011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8252 Pedro Alves <pedro@codesourcery.com>
8253
8254 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
8255 starting GDB.
8256 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
8257 $use_gdb_stub.
8258 * gdb.base/display.exp: Likewise.
8259 * gdb.base/ending-run.exp: Likewise.
8260 * gdb.base/list.exp (test_listsize): Likewise.
8261 * gdb.base/setshow.exp: Likewise.
8262 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
8263 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
8264 check by global $use_gdb_stub.
8265 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
8266 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
8267 (default_gdb_init): Unset global $use_gdb_stub.
8268 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
8269 by global $use_gdb_stub.
8270 * lib/gdbserver-support.exp: Extend comments for set_board_info
8271 gdb_protocol and gdb,socketport.
8272 (gdbserver_start_extended): Set global gdbserver_protocol and
8273 gdbserver_gdbport. Clear global use_gdb_stub.
8274 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
8275 from target use_gdb_stub.
8276 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
8277
1d41d75c
DE
82782011-12-03 Doug Evans <dje@google.com>
8279
8280 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
8281 (gdb_step_for_stub): Add comments.
8282
d6d7a51a
MR
82832011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
8284
8285 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
8286 to the caller.
8287 (gdb_test_multiple): Likewise.
8288
05acf274
JK
82892011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8290
8291 Fix gdb.mi/mi-solib.exp without system debug info installed.
8292 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
8293 expect attribute, return 0 for it. Update comments.
8294
2268b414
JK
82952011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8296
8297 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
8298 (corrupted list): Adjust the expectation.
8299
585861ea
JK
83002011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8301
8302 PR threads/13448
8303 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
8304 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
8305 * gdb.threads/tls-var-main.c: New file.
8306 * gdb.threads/tls-var.c: New file.
8307 * gdb.threads/tls-var.exp: New file.
8308
968643aa
JK
83092011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8310
8311 PR testsuite/12649
8312 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
8313 Protect gdb_test_multiple by final $gdb_prompt match.
8314 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
8315 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
8316 (test_tracepoints): Likewise.
8317
9750bca9
JK
83182011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8319
8320 PR breakpoints/13346
8321 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
8322 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
8323 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
8324
ac1349b7
JB
83252011-12-01 Joel Brobecker <brobecker@adacore.com>
8326
8327 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
8328 * gdb.ada/homonym/homonym.adb: For use of all types defined
8329 locally inside both Get_Value subprograms.
8330
26d44faf
JK
83312011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8332
8333 Fix racy FAILs.
8334 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
8335 of send_gdb.
8336
514f6425
UW
83372011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8338
8339 * gdb.base/testenv.exp: Skip on remote targets. Unset global
8340 environment variable after test completed.
8341
4255c8d2
UW
83422011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8343
8344 * gdb.base/solib-nodir.exp: Skip if remote target.
8345 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
8346 application. Call gdb_load_shlibs.
8347 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
8348
a35ad96a
JB
83492011-11-29 Joel Brobecker <brobecker@adacore.com>
8350
8351 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
8352
1a1d5513
JB
83532011-11-28 Joel Brobecker <brobecker@adacore.com>
8354
8355 * gdb.ada/fullname_bp: New testcase.
8356
50b4ddf8
JK
83572011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8358
8359 PR testsuite/12649
8360 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
8361 Wrap send_gdb into a new gdb_test.
8362
fb0aec57
JK
8363 Code cleanup.
8364 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
8365 Convert send_gdb and gdb_expect to gdb_test_multiple.
8366
2376d946
JK
83672011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8368
8369 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
8370
1eec78bd
KS
83712011-11-23 Keith Seitz <keiths@redhat.com>
8372
8373 * lib/mi-support.exp (varobj_tree): New namespace and procs.
8374 (mi_varobj_tree_test_children_callback): New proc.
8375 (mi_walk_varobj_tree): New proc.
8376
36dfb11c
TT
83772011-11-22 Tom Tromey <tromey@redhat.com>
8378
8379 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
8380 Add "use_mi_command" argument.
8381 (mi_run_cmd, mi_run_with_cli): New procs.
8382 * gdb.mi/solib-lib.c: New file.
8383 * gdb.mi/solib-main.c: New file.
8384 * gdb.mi/mi-solib.exp: New file.
8385
0e965dd0
DE
83862011-11-21 Doug Evans <dje@google.com>
8387
8388 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
8389 _Unwind_DebugHook is missing.
8390
f196051f
SS
83912011-11-20 Stan Shebs <stan@codesourcery.com>
8392
8393 * gdb.trace/tstatus.exp: New.
8394 * gdb.trace/actions.c: Include string.h.
8395
bfccc43c
YQ
83962011-11-18 Yao Qi <yao@codesourcery.com>
8397
8398 * gdb.trace/pending.exp: New.
8399 * gdb.trace/pending.c: New.
8400 * gdb.trace/pendshr1.c: New.
8401 * gdb.trace/pendshr2.c: New.
8402 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
8403 tracepoint location becomes pending.
8404 (tracepoint_change_loc_2): New.
8405
73cd8ab1
DM
84062011-11-16 David S. Miller <davem@davemloft.net>
8407
8408 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
8409 target is sparc*-*-linux*
8410
77426730
PK
84112011-11-15 Paul Koning <paul_koning@dell.com>
8412
8413 * gdb.python/py-type.exp: New testcases for exceptions on scalar
8414 types.
8415
ed59ded5
DE
84162011-11-14 Doug Evans <dje@google.com>
8417
8418 * gdb.base/shell.exp: New file.
8419
405f8e94
SS
84202011-11-14 Stan Shebs <stan@codesourcery.com>
8421
8422 * gdb.trace/ftrace.c: New.
8423 * gdb.trace/ftrace.exp: New.
8424
1e4d1764
YQ
84252011-11-14 Yao Qi <yao@codesourcery.com>
8426
8427 * gdb.trace/change-loc-1.c: New.
8428 * gdb.trace/change-loc-2.c: New.
8429 * gdb.trace/change-loc.c: New.
8430 * gdb.trace/change-loc.exp: New.
8431 * gdb.trace/change-loc.h: New.
8432 * gdb.trace/trace-break.c (marker): Define new symbol.
8433 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 8434 New.
1e4d1764
YQ
8435 (break_trace_same_addr_6): New.
8436
71eba9c2 84372011-11-12 Matt Rice <ratmice@gmail.com>
8438
8439 * gdb.base/info-macros.exp: Make tests for info definitions
8440 test info macro. Add tests for info macro argument processing.
8441 Rename a few tests.
8442
1d93e29a
KS
84432011-11-11 Keith Seitz <keiths@redhat.com>
8444
8445 PR gdb/12843
8446 * gdb.base/linespecs.exp: New file.
8447
a4b5b48a
DE
84482011-11-11 Doug Evans <dje@google.com>
8449
8450 * gdb.threads/print-threads.exp: Extend timeout for slower
8451 tests.
8452
f6b47be4
DE
84532011-11-10 Doug Evans <dje@google.com>
8454
792a0230
DE
8455 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
8456 "record to end of main" test.
8457
f6b47be4
DE
8458 * gdb.python/py-type.c (TS): New typedef.
8459 (ts): New global.
8460 * gdb.python/py-type.exp: Test field list of typedef.
8461
22355c90
JB
84622011-11-10 Joel Brobecker <brobecker@adacore.com>
8463
8464 * gdb.ada/small_reg_param: New testcase.
8465
a7860e76
TT
84662011-11-09 Tom Tromey <tromey@redhat.com>
8467
8468 * gdb.cp/destrprint.exp: New file.
8469 * gdb.cp/destrprint.cc: New file.
8470
72a2e3dc
MI
84712011-11-08 Meador Inge <meadori@codesourcery.com>
8472
8473 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
8474 (switch_stack_to_other): New test function.
8475 * gdb.arch/thumb-prologue.exp: New test cases.
8476
c7195df2 84772011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
8478
8479 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
8480
d3895d7d
YQ
84812011-11-08 Yao Qi <yao@codesourcery.com>
8482
8483 * gdb.exp (supports_process_record): New.
8484 (supports_reverse): New.
8485 * gdb.reverse/break-precsave.exp: Call support_process_record
8486 to run test conditionally.
8487 * gdb.reverse/consecutive-precsave.exp: Likewise.
8488 * gdb.reverse/i386-precsave.exp: Likewise.
8489 * gdb.reverse/machinestate-precsave.exp: Likewise.
8490 * gdb.reverse/solib-precsave.exp: Likewise.
8491 * gdb.reverse/step-precsave.exp: Likewise.
8492 * gdb.reverse/until-precsave.exp: Likewise.
8493 * gdb.reverse/watch-precsave.exp: Likewise.
8494 * gdb.reverse/break-reverse.exp: Call support_reverse to run
8495 test conditionally.
8496 * gdb.reverse/consecutive-reverse.exp: Likewise.
8497 * gdb.reverse/finish-precsave.exp: Likewise.
8498 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8499 * gdb.reverse/finish-reverse.exp: Likewise.
8500 * gdb.reverse/i386-reverse.exp: Likewise.
8501 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8502 * gdb.reverse/machinestate.exp: Likewise.
8503 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
8504 * gdb.reverse/sigall-precsave.exp: Likewise.
8505 * gdb.reverse/sigall-reverse.exp: Likewise.
8506 * gdb.reverse/solib-reverse.exp: Likewise.
8507 * gdb.reverse/step-reverse.exp: Likewise.
8508 * gdb.reverse/until-reverse.exp: Likewise.
8509 * gdb.reverse/watch-reverse.exp: Likewise.
8510
a59306a3
YQ
85112011-11-05 Yao Qi <yao@codesourcery.com>
8512
8513 * gdb.trace/trace-break.exp: Add test on setting two
8514 fast tracepoints at the same address.
8515
87769f59
JK
85162011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8517
8518 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
8519
3065dfb6
SS
85202011-11-02 Stan Shebs <stan@codesourcery.com>
8521
8522 * gdb.trace/collection.c: Add code using strings.
8523 * gdb.trace/collection.exp: Add tests of string collection.
8524
89e208db
JK
85252011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8526
8527 * gdb.base/skip-solib.exp (executable_main): New variable.
8528 (binfile_main): Base it on that.
8529 Use $executable_main in clean_restart calls. Drop gdb_exit and
8530 gdb_start calls.
8531
405e54e9
JK
85322011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8533
8534 Fix racy FAILs.
8535 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
8536 breakpoint_re globals import by async. Set string_regex to .* for
8537 async. Remove the optional thread_selected_re and breakpoint_re
8538 globals expectations.
8539
58e8570a
JM
85402011-11-01 Joseph Myers <joseph@codesourcery.com>
8541
8542 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
8543 well as Cygwin.
8544
7b35ec7f 85452011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
8546
8547 Add tests for skip command.
89e208db
JK
8548 * gdb.base/skip-solib-lib.c: New
8549 * gdb.base/skip-solib-main.c: New
8550 * gdb.base/skip-solib.exp: New
8551 * gdb.base/skip.c: New
8552 * gdb.base/skip.exp: New
8553 * gdb.base/skip1.c: New
8554 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 8555
b9fd1791
PA
85562011-10-31 Yao Qi <yao@codesourcery.com>
8557 Pedro Alves <pedro@codesourcery.com>
8558
6fdff2c5
PA
8559 * gdb.trace/trace-break.c: New.
8560 * gdb.trace/trace-break.exp: New.
b9fd1791 8561
4323fecc
JK
85622011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8563
8564 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
8565 break-here-2.
8566
0e5bf2a8
PA
85672011-10-28 Pedro Alves <pedro@codesourcery.com>
8568
8569 * gdb.threads/no-unwaited-for-left.c: New.
8570 * gdb.threads/no-unwaited-for-left.exp: New.
8571 * gdb.threads/non-ldr-exc-1.c: New.
8572 * gdb.threads/non-ldr-exc-1.exp: New.
8573 * gdb.threads/non-ldr-exc-2.c: New.
8574 * gdb.threads/non-ldr-exc-2.exp: New.
8575 * gdb.threads/non-ldr-exc-3.c: New.
8576 * gdb.threads/non-ldr-exc-3.exp: New.
8577 * gdb.threads/non-ldr-exc-4.c: New.
8578 * gdb.threads/non-ldr-exc-4.exp: New.
8579
3a3dad98
JK
85802011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8581
8582 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
8583 * gdb.base/attach-pie-misread.exp: Likewise.
8584 * gdb.base/break-interp.exp: Likewise.
8585 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
8586 testcases for use_gdb_stub.
8587 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
8588 (continue): New testcase.
8589 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
8590 * gdb.threads/attach-into-signal.exp: Likewise.
8591 * gdb.threads/attach-stopped.exp: Likewise.
8592 * gdb.threads/attachstop-mt.exp: Likewise.
8593
d6a5d40c
PK
85942011-10-28 Paul Koning <paul_koning@dell.com>
8595
8596 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
8597
ca539be8
JK
85982011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8599
8600 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
8601 (mi_gdb_test): Import globals thread_selected_re
8602 and breakpoint_re. Expect them optionally at the regex start.
8603
d234ef5c
DE
86042011-10-27 Doug Evans <dje@google.com>
8605
8606 * gdb.python/python.exp: Test source -s.
8607
ab964825
PK
86082011-10-26 Paul Koning <paul_koning@dell.com>
8609
8610 * gdb.python/lib-types.cc (struct A): New structure.
8611 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 8612
54d8a644
PK
86132011-10-25 Paul Koning <paul_koning@dell.com>
8614
8615 PR python/13327
d234ef5c 8616
54d8a644
PK
8617 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
8618 fetch_lazy method.
8619
b0221781
YQ
86202011-10-24 Yao Qi <yao@codesourcery.com>
8621
8622 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
8623 target is tic6x-*-*.
8624
6cda5a20
JB
86252011-10-21 Joel Brobecker <brobecker@adacore.com>
8626
8627 * gdb.ada/mi_task_info/task_switch.adb: New file.
8628 * gdb.ada/mi_task_info.exp: New file.
8629
5ed9db04
JK
86302011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8631
8632 * gdb.cp/expand-psymtabs-cxx.exp: New file.
8633 * gdb.cp/expand-psymtabs-cxx.cc: New file.
8634
9df2fbc4
PM
86352011-10-20 Phil Muldoon <pmuldoon@redhat.com>
8636
8637 PR python/12656
8638
8639 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
8640 global_block tests.
8641
736086ba
TT
86422011-10-18 Tom Tromey <tromey@redhat.com>
8643
8644 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
8645
4af31552
TT
86462011-10-18 Tom Tromey <tromey@redhat.com>
8647
8648 * gdb.base/source.exp: Don't include full file name in test name.
8649 * gdb.python/python.exp: Don't include full file name in test
8650 name.
8651
43136979
AR
86522011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8653
8654 * gdb.base/attach-pie-noexec.c: New files.
8655 * gdb.base/attach-pie-noexec.exp: New files.
8656
543a9323
JM
86572011-10-17 Joseph Myers <joseph@codesourcery.com>
8658
8659 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
8660 prompt for each extra line in command.
8661
21ae7a4d
JK
86622011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8663
8664 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
8665 Revert the part of:
8666 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8667 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8668 Change the expected string.
8669
20ec36d9
JK
86702011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8671
8672 Fix results with system glibc debug info installed.
8673 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
8674 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
8675 Accept also __libc_ symbol prefix and no prefix.
8676
6501c2fc
KS
86772011-10-14 Keith Seitz <keiths@redhat.com>
8678
8679 PR c++/13225
8680 * gdb.cp/converts.cc (foo3_1): New function.
8681 (foo3_2): New functions.
8682 * gdb.cp/converts.exp: Add tests for int to pointer conversion
8683 and null pointer conversions of integer constant zero.
8684 Add test to check if all arguments are checked for incompatible
8685 conversion BADNESS.
8686
55b1fd0c
TT
86872011-10-14 Tom Tromey <tromey@redhat.com>
8688
8689 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
8690 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
8691 linespec.
8692
22c05d8a
JK
86932011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 Fix internal error regression.
8696 * gdb.dwarf2/implptr-optimized-out.S: New file.
8697 * gdb.dwarf2/implptr-optimized-out.exp: New file.
8698
1d6edc3c
JK
86992011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8700
8701 Fix empty DWARF expressions DATA vs. SIZE conditionals.
8702 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
8703 (loclist): New.
8704 (4): New abbrev.
8705 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
8706 Use prepare_for_testing, remove clean_restart.
8707 (p arraynoloc, p arraycallnoloc): New tests.
8708
9ec72168
JK
87092011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8710
8711 * gdb.cp/namespace-enum.exp (executable): New variable.
8712 (binfile): Use ${objdir}/${subdir}/ prefix.
8713 Use ${executable} for clean_restart.
8714
9c6c53f7
SA
87152011-10-11 Sterling Augustine <saugustine@google.com>
8716
8717 * gdb.cp/Makefile.in: Add namespace-enum test.
8718 * gdb.cp/namespace-enum.exp: New file.
8719 * gdb.cp/namespace-enum.c: New file.
8720 * gdb.cp/namespace-enum-main.c: New file.
8721
fac7ceb3
UW
87222011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
8723
8724 * gdb.python/py-shared.exp: Relax filename check to handle remote:
8725 sysroot.
8726
941b2081
JK
87272011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8728
8729 Reimplement @entry in input expressions.
8730 * gdb.base/exprs.c (v_int_array_init): New variable.
8731 * gdb.base/exprs.exp (print v_int_array_init)
8732 (print *v_int_array_init@1, print *v_int_array_init@2)
8733 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
8734 (print v_int_array_init[1]@1): New tests.
8735
0344e878
JM
87362011-10-10 Joseph Myers <joseph@codesourcery.com>
8737
8738 * gdb.cp/gdb2495.exp: Do not include directories in filename in
8739 expected message.
8740
5a56e9c5
DE
87412011-10-09 Doug Evans <dje@google.com>
8742
8743 * gdb.base/alias.exp: Add tests for alias command.
8744
2bda9cc5
JK
87452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8746
8747 * gdb.arch/amd64-entry-value.s: New file.
8748 * gdb.mi/mi2-amd64-entry-value.s: New file.
8749
a471c594
JK
87502011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8751
8752 Display @entry parameter values even for references.
8753 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
8754 functions.
8755 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
8756 reference and datap_input.
8757 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
8758 breakpoints.
8759 (continue to breakpoint: entry_reference: reference)
8760 (entry_reference: bt at entry)
8761 (continue to breakpoint: entry_reference: breakhere_reference)
8762 (entry_reference: bt, entry_reference: ptype regparam)
8763 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
8764 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
8765 (entry_reference: p regcopy, entry_reference: p nodataparam)
8766 (entry_reference: p nodataparam@entry): New tests.
8767
36b11add
JK
87682011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8769
8770 Support @entry in input expressions.
8771 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
8772 (entry_stack: p s1@entry, entry_stack: p s2@entry)
8773 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
8774 (tailcall: p j@entry): New tests.
8775 * gdb.cp/koenig.cc (A::entry): New function.
8776 (main): Call it.
8777 * gdb.cp/koenig.exp (p entry (c)): New test.
8778
e18b2753
JK
87792011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8780
8781 Display @entry parameter values (without references).
8782 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
8783 (different, validity, invalid): New functions.
8784 (main): Call them.
8785 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
8786 stacktest, breakhere_stacktest, different, breakhere_different,
8787 breakhere_validity and breakhere_invalid.
8788 (entry: bt): Update for @entry.
8789 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
8790 (entry_validity: *, entry_invalid: *): Many new tests.
8791 * gdb.base/break.exp
8792 (run until breakpoint set at small function, optimized file): Accept
8793 also the @entry suffix.
8794 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
8795 * gdb.mi/mi2-amd64-entry-value.c: New files.
8796 * gdb.mi/mi2-amd64-entry-value.exp: New files.
8797
2d6c5dc2
JK
87982011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8799
8800 Protect entry values against self tail calls.
8801 * gdb.arch/amd64-entry-value.cc (self2, self): New.
8802 (main): Call self.
8803 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
8804 (set debug entry-values 1, self: bt debug entry-values): New tests.
8805
111c6489
JK
88062011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8807
8808 Recognize virtual tail call frames.
8809 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
8810 (amb_b, amb_a): New.
8811 (main): Call a and b.
8812 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
8813 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
8814 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
8815 New tests.
8816
8e3b41a9
JK
88172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8818
8819 Implement basic support for DW_TAG_GNU_call_site.
8820 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
8821 * gdb.arch/amd64-entry-value.cc: New file.
8822 * gdb.arch/amd64-entry-value.exp: New file.
8823
181cebd4
JK
88242011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8825
8826 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
8827 * gdb.dwarf2/implptr-64bit.S: New file.
8828 * gdb.dwarf2/implptr-64bit.exp: New file.
8829
741f5e3c
JK
88302011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8831
8832 Fix initial language detection with -readnow.
8833 * gdb.cp/readnow-language.cc: New file.
8834 * gdb.cp/readnow-language.exp: New file.
8835
a73d2258
JK
88362011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8837
8838 Fix printed anonymous struct name.
8839 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
8840
af369495
JM
88412011-10-09 Joseph Myers <joseph@codesourcery.com>
8842
8843 * gdb.base/solib-symbol.exp: Do not include directories in
8844 filenames in expected messages.
8845
1fa57852
DE
88462011-10-07 Doug Evans <dje@google.com>
8847
8848 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
8849
bd054e06
KP
88502011-10-07 Kevin Pouget <kevin.pouget@st.com>
8851
8852 Allow Python notification of new object-file loadings.
8853 * gdb.python/py-events.exp: Test newobjfile event.
8854 * gdb.python/py-events.py: Register newobjfile callback.
8855 * gdb.python/py-events.c: Add call to shared library
8856 * gdb.python/py-events-shlib.c: New file.
8857
8031b6f8
JM
88582011-10-06 Joseph Myers <joseph@codesourcery.com>
8859
8860 * gdb.base/fixsection.exp: Do not include directories in filename
8861 in expected message.
8862
7fea6923
PM
88632011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8864
8865 Add tests for passing of environment variables to inferior.
8866 * gdb.base/testenv.c: New test source.
8867 * gdb.base/testenv.exp: New expect test.
8868
687f2a88
PK
88692011-10-04 Paul Koning <paul_koning@dell.com>
8870
8871 * gdb.python/py-value.c (main): Break before return.
8872
cb6be26b
KP
88732011-10-04 Kevin Pouget <kevin.pouget@st.com>
8874
8875 PR python/12691: Add the inferior to Python exited event
8876 * gdb.python/py-events.exp: Test the inferior attribute of exited
8877 event with a fork.
8878 * gdb.python/py-events.py: Print inferior number on exit.
8879 * gdb.python/py-events.c: Fork the inferior.
8880
fb213700
EBM
88812011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
8882
8883 * gdb.base/jit.exp: Add testcase name to log message
8884
aa2071bd
PK
88852011-10-03 Paul Koning <paul_koning@dell.com>
8886 Jan Kratochvil <jan.kratochvil@redhat.com>
8887
8888 * gdb.python/py-value.exp
8889 (python inval = gdb.parse_and_eval('*(int*)0'))
8890 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
8891 (set argc=2, python print argc_lazy): New tests.
8892
dd11a36c
JB
88932011-10-02 Joel Brobecker <brobecker@adacore.com>
8894
8895 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
8896
46f886f1
JK
88972011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8898 Pedro Alves <pedro@codesourcery.com>
8899
8900 * gdb.python/py-value.exp (test_value_in_inferior): New variable
8901 can_read_0, test for it.
8902 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
8903 (parse_and_eval with memory error): ... here, make it untested if
8904 can_read_0.
8905
c5cb204f
MP
89062011-09-30 Marek Polacek <mpolacek@redhat.com>
8907
8908 * gdb.python/python.exp (verify pagination beforehand)
8909 (verify pagination afterwards): Fix race by splitting the line.
8910
68fb0ec0
JM
89112011-09-29 Joseph Myers <joseph@codesourcery.com>
8912
8913 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
8914 for 64-bit multilibs from i?86-* targets.
8915
6aee0d90
MP
89162011-09-29 Marek Polacek <mpolacek@redhat.com>
8917
8918 * lib/gdb.exp: Fix a typo in one of the comments.
8919
e9101ff5
MP
89202011-09-29 Marek Polacek <mpolacek@redhat.com>
8921
8922 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
8923 matching pattern.
8924
7a81bdbf
PK
89252011-09-28 Paul Koning <paul_koning@dell.com>
8926
8927 * gdb.python/py-type.c (enum E): New.
8928 * gdb.python/py-type.exp (test_fields): Add tests for Python
8929 mapping access to fields.
8930 (test_enums): New test for field access on enums.
8931
6710bf39
SS
89322011-09-27 Stan Shebs <stan@codesourcery.com>
8933
8934 * gdb.trace/collection.exp: Test collection of $_ret.
8935
b2a6bdeb
AT
89362011-09-22 Andreas Tobler <andreast@fgznet.ch>
8937
8938 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
8939 list of compilation switches for <*-*-freebsd*>.
8940
3c9057f3
SS
89412011-09-19 Stan Shebs <stan@codesourcery.com>
8942
8943 * gdb.trace/tspeed.exp: New file.
8944 * gdb.trace/tspeed.c: New file.
8945
34518530
YQ
89462011-09-18 Yao Qi <yao@codesourcery.com>
8947
8948 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
8949 instructions.
8950 (test_adr_32bit, test_pop_pc): Likewise.
8951 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
8952 Thumb instructions.
8953 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
8954 in gdb_test_multiple.
8955 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
8956
ab254057
YQ
89572011-09-17 Yao Qi <yao@codesourcery.com>
8958
8959 * lib/gdb.exp (can_single_step_to_signal_handler): New.
8960 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
8961 support single step to signal handler.
8962
9c317b71
YQ
89632011-09-17 Yao Qi <yao@codesourcery.com>
8964
8965 * gdb.base/disp-step-fork.c: New.
8966 * gdb.base/disp-step-syscall.exp: New.
8967 * gdb.base/disp-step-vfork.c: New.
8968
a8123151
JB
89692011-09-16 Joel Brobecker <brobecker@adacore.com>
8970
8971 * gdb.ada/tasks.exp: Make the expected output for
8972 the `info tasks' tests more resilient to spacing
8973 changes.
8974
63a9aad8
JK
89752011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8976
8977 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
8978 (reached breakpoint 2, reached breakpoint 3): Update expected output.
8979
2aa48337
KP
89802011-09-15 Kevin Pouget <kevin.pouget@st.com>
8981
8982 PR Python/12692 Add gdb.selected_inferior() to Python interface.
8983 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
8984
6839b47f
KP
89852011-04-30 Kevin Pouget <kevin.pouget@st.com>
8986
8987 Handle multiple breakpoint hits in Python interface:
8988 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
8989 presence.
8990 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
8991 breakpoint hits.
8992
0935723e
JK
89932011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8994 Jan Kratochvil <jan.kratochvil@redhat.com>
8995
8996 * gdb.python/py-events.exp: Remove pretty printing comment.
8997 * gdb.python/py-evsignal.exp: New file.
8998 * gdb.python/py-evthreads.c: Include signal.h.
8999 (thread3): Remove variable count3. Remove variable bad and use raise
9000 instead.
9001 (thread2): Remove variable count2. Move thread3 pthread_create here,
9002 merge pthread_join to a single line.
9003 (main): Remove variable count1. Merge pthread_join with pthread_create
9004 to a single line.
9005 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
9006 KFAIL python/12966 for gdbserver. Test return value of
9007 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
9008 gdb_expect by gdb_test and gdb_test_multiple.
9009 (thread 2, thread 3): New tests.
9010
4801a9a3
PA
90112011-09-12 Matt Rice <ratmice@gmail.com>
9012 Pedro Alves <pedro@codesourcery.com>
9013
9014 PR gdb/13175
9015
9016 * gdb.base/interp.exp: New tests.
9017 * gdb.base/interp.c: New file.
9018
24ece742
DE
90192011-09-12 Doug Evans <dje@google.com>
9020
9021 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
9022 * gdb.dwarf2/typeddwarf.exp: Ditto.
9023
7f062217
JK
90242011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9025
9026 Fix compatibility with x32 arch.
9027 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
9028 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
9029 is_x86_like_target.
9030 * testsuite/gdb.trace/collection.exp: Likewise.
9031 * testsuite/gdb.trace/report.exp: Likewise.
9032 * testsuite/gdb.trace/unavailable.exp: Likewise.
9033 * testsuite/gdb.trace/while-dyn.exp: Likewise.
9034 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
9035 (is_x86_like_target): Check also is_amd64_regs_target.
9036
08711b9a
JK
90372011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9038
9039 PR breakpoints/12435
9040 * gdb.arch/amd64-prologue-xmm.c: New file.
9041 * gdb.arch/amd64-prologue-xmm.exp: New file.
9042 * gdb.arch/amd64-prologue-xmm.s: New file.
9043
b99b5f66
JK
90442011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9045
9046 * gdb.dwarf2/dw2-param-error-main.c: New file.
9047 * gdb.dwarf2/dw2-param-error.S: New file.
9048 * gdb.dwarf2/dw2-param-error.exp: New file.
9049
a391a2f6
PA
90502011-09-08 Pedro Alves <pedro@codesourcery.com>
9051
9052 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
9053 inferior's pid and look for a core dump named core.$pid. Use
9054 `remote_file' commands on the host instead of hand coding shell
9055 commands on the build.
9056 * gdb.base/valgrind-db-attach.exp: Kill the program before
9057 finishing the test.
9058
7d8e6458 90592011-09-02 Matt Rice <ratmice@gmail.com>
9060
9061 * lib/prompt.exp: New file for testing the first prompt.
9062 * gdb.python/py-prompt.exp: Ditto.
9063 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
9064
68e77c9e
PA
90652011-09-02 Pedro Alves <pedro@codesourcery.com>
9066
9067 * gdb.threads/gcore-thread.exp: Set the global core_supported to
9068 0, before testing gcore.
9069
9655e943
JK
90702011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9071
df6dc84d
JK
9072 * dw2-ifort-parameter-debug.S: Update copyright year.
9073 * dw2-ifort-parameter.c: Update copyright year.
9074 * dw2-ifort-parameter.exp: Update copyright year.
9075
9655e943
JK
9076 * dw2-ifort-parameter-debug.S: New file.
9077 * dw2-ifort-parameter.c: New file.
9078 * dw2-ifort-parameter.exp: New file.
9079
353d1d73
JK
90802011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9081
9082 * gdb.base/commands.exp (error_clears_commands_left): New function.
9083 (): Call it.
9084
5c07461a
JK
90852011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9086
9087 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
9088 (C): Initialize `a'.
9089 * gdb.mi/mi-inheritance-syntax-error.exp
9090 (-data-evaluate-expression $path): Expect `a' as 5.
9091
0d932b2f
MK
90922011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
9093
9094 PR mi/11912
9095 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
9096 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
9097 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
9098 keyword in output of -var-info-path-expression.
9099
bdb54049
JK
91002011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9101
9102 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
9103 * gdb.trace/collection.exp: Likewise.
9104 * gdb.trace/report.exp: Likewise.
9105 * gdb.trace/unavailable.exp: Likewise.
9106 * gdb.trace/while-dyn.exp: Likewise.
9107
59cde39c
KS
91082011-08-18 Keith Seitz <keiths@redhat.com>
9109
9110 PR c++/12266
9111 * gdb.cp/meth-typedefs.cc: New file.
9112 * gdb.cp/meth-typedefs.exp: New file.
9113
fa3a4f15
PM
91142011-08-17 Phil Muldoon <pmuldoon@redhat.com>
9115
6fdff2c5 9116 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 9117
c1049fca
JK
91182011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9119
9120 * gdb.arch/i386-dr3-watch.exp
9121 (watchpoint on gap1 does not fit debug registers)
9122 (delete all watchpoints): Fix racy expect strings.
9123
d93f7b5c
YQ
91242011-08-14 Yao Qi <yao@codesourcery.com>
9125
9126 * gdb.base/maint.exp: set data_section to ".neardata".
9127 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
9128 * gdb.base/savedregs.exp: Handle SIGILL.
9129 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
9130 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
9131
457e09f0
DE
91322011-08-12 Doug Evans <dje@google.com>
9133
9134 * gdb.python/py-symbol.exp: Add test for symbol.type.
9135
5d0bb2fb
UW
91362011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
9137
9138 * gdb.threads/pthreads.exp: Enable on non-native configurations.
9139 * gdb.mi/mi-pthreads.exp: Likewise.
9140 * gdb.mi/mi2-pthreads.exp: Likewise.
9141 * gdb.mi/gdb669.exp.exp: Likewise.
9142
fcdfa280
PA
91432011-08-09 Pedro Alves <pedro@codesourcery.com>
9144
9145 * lib/mi-support.exp (detect_async): Rename to...
9146 (mi_detect_async): ... this.
9147 * gdb.mi/mi-nonstop-exit.exp: Adjust.
9148 * gdb.mi/mi-nonstop.exp: Adjust.
9149 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
9150 * gdb.mi/mi-nsintrall.exp: Adjust.
9151 * gdb.mi/mi-nsmoribund.exp: Adjust.
9152 * gdb.mi/mi-nsthrexec.exp: Adjust.
9153
9d8fa392
PA
91542011-08-09 Pedro Alves <pedro@codesourcery.com>
9155
9156 * gdb.base/display.c (do_loops): New `p_i' local.
9157 * gdb.base/display.exp: Test displaying a variable that is
9158 temporarily at a bad address.
9159
b6cede78
JK
91602011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9161
9162 * gdb.dwarf2/dw2-op-stack-value.S: New file.
9163 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
9164
67bedb8c
JK
91652011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9166
9167 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
9168 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
9169 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 9170
af6e93b2
PA
91712011-08-05 Pedro Alves <pedro@codesourcery.com>
9172
9173 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
9174 procedure.
9175 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
9176
1cf0e11f
YQ
91772011-08-05 Yao Qi <yao@codesourcery.com>
9178
9179 * gdb.base/callfuncs.exp: Set language after main.
9180 * gdb.cp/cplusfuncs.exp: Likewise.
9181 * gdb.cp/inherit.exp: Likewise.
9182
a1e28cb2
UW
91832011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9184
9185 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
9186 * gdb.base/watch-vfork.exp: Skip on remote targets.
9187
d4f5bbb9
UW
91882011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9189
9190 * gdb.threads/thread-find.exp: Support remote targets.
9191
724f4f80
UW
91922011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9193
9194 * gdb.base/jit.exp: Download solib_binfile to target.
9195 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
9196 and call dlopen without full path name.
9197 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
9198 dlopen without full path name.
9199
934709f0
PW
92002011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9201
9202 * gdb.base/break-always.exp: Complete the test
9203 with duplicated breakpoints and enabling/disabling them.
9204
c26106c4
TT
92052011-08-02 Tom Tromey <tromey@redhat.com>
9206
9207 PR gdb/11289:
9208 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
9209
9300444e 92102011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
9211
9212 PR gdb/13045
9213 * gdb.base/float.exp: Add new test case for PR gdb/13045
9214 * gdb.base/float.c: New file.
9215
00bd41d6
PM
92162011-07-28 Phil Muldoon <pmuldoon@redhat.com>
9217
9218 * gdb.python/py-mi.exp: Test printers returning string hint, and
9219 also not returning a value.
9220 * gdb.python/py-prettyprint.c: Add testcase for above.
9221 * gdb.python/py-prettyprint.py: Add test printer for above.
9222
d24f74ce
JK
92232011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9224
9225 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
9226 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
9227 (.Ldie30) Add as field "data4".
9228 (.Ldie32) Rename field "b" to "shl".
9229 (abbrev4) Change for the "data4" field.
9230 (abbrev5, abbrev6) Remove.
9231 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
9232 (p &s.shl): ... here. Add comment.
9233 (p &s.data4): New.
9234
bb7da2bf
JK
92352011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9236
9237 Fix crash on lval_computed values.
9238 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
9239
11081198
JK
92402011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9241
9242 * gdb.base/help.exp (help whatis): Update the expected string.
9243
3c6e0cb3
JK
92442011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9245
9246 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
9247 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
9248 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
9249 Change the expected string.
9250
efa80663
PA
92512011-07-26 Pedro Alves <pedro@codesourcery.com>
9252
9253 * gdb.base/watchpoint.exp
9254 (test_disable_enable_software_watchpoint): New procedure.
9255 (top level): Run it.
9256
db8e4570
UW
92572011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
9258
9259 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
9260 executable file "${binfile}", C++ version "${binfile}-cxx".
9261 * gdb.python/py-prettyprint.exp: Likewise.
9262 * gdb.python/py-symbol.exp: Likewise.
9263 * gdb.python/py-type.exp: Likewise.
9264 * gdb.python/py-value.exp: Likewise.
9265 * gdb.python/py-template.exp (test_template_arg): Pass full executable
9266 file name instead of just suffix.
9267
543305c9
JK
92682011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9269
9270 Fix implicit pointer offsets.
9271 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
9272 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
9273 (continue to breakpoint: continue to baz breakpoint for implptr)
9274 (sanity check element 0, sanity check element 1)
9275 (enter the inlined function, check element 0 for the offset)
9276 (check element 1 for the offset)
9277 (continue to breakpoint: ignore the second baz breakpoint): New tests.
9278 (set foo breakpoint for implptr): Update the breakpoint number.
9279
b3215adc
UW
92802011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9281
9282 * gdb.python/py-mi.exp: Use different file names for different
9283 versions of the executable under test.
9284 * gdb.python/py-prettyprint.exp: Likewise.
9285 * gdb.python/py-symbol.exp: Likewise.
9286 * gdb.python/py-template.exp: Likewise.
9287 * gdb.python/py-type.exp: Likewise.
9288 * gdb.python/py-value.exp: Likewise.
9289
182b9acc
UW
92902011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9291
9292 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
9293 flag after restarting GDB if necessary.
9294
e6052b5d
UW
92952011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9296
9297 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
9298
1ced966e
PA
92992011-07-22 Pedro Alves <pedro@codesourcery.com>
9300
9301 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
9302 backend doesn't leave used debug registers behind.
9303
3543a589
TT
93042011-07-22 Tom Tromey <tromey@redhat.com>
9305
9306 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
9307 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
9308 argument.
9309 * gdb.dwarf2/typeddwarf-amd64.S: New file.
9310
14d15303 93112011-07-21 Matt Rice <ratmice@gmail.com>
9312
9313 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
9314 in mostlyclean rule. Add files ending in .core.
9315
9b158ba0 93162011-07-21 Matt Rice <ratmice@gmail.com>
9317
9318 PR macros/12999
9319 * gdb.base/info-macros.c: New test sources.
9320 * gdb.base/info-macros.exp: New tests.
9321
d17b6f81
PM
93222011-07-21 Phil Muldoon <pmuldoon@redhat.com>
9323
9324 * gdb.python/python.exp: Add prompt substitution tests.
9325
918dd910
JK
93262011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9327
9328 Fix crash if referenced CU is aged out.
9329 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
9330 New.
9331 * gdb.dwarf2/implptr.exp: Likewise.
9332
0e37a63c
JK
93332011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9334
9335 * gdb.dwarf2/implptr.S: Rebuilt.
9336 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
9337 (bar): Use them for j, k, l.
9338 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
9339 COMPILE.
9340 (print j in implptr:bar): Update for the intp typedef.
9341 (print p[0].x in implptr:foo): Use more exact regex.
9342
f65cf84c
TT
93432011-07-18 Tom Tromey <tromey@redhat.com>
9344
9345 * gdb.cp/static-method.exp: Add missing single quote.
9346
d5b4a7be
YQ
93472011-07-18 Yao Qi <yao@codesourcery.com>
9348
9349 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
9350 supported.
9351 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9352 * gdb.mi/mi-nonstop.exp: Likewise.
9353 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9354 * gdb.mi/mi-nsintrall.exp: Likewise.
9355 * gdb.mi/mi-nsmoribund.exp: Likewise.
9356 * gdb.mi/mi-nsthrexec.exp: Likewise.
9357 * gdb.python/py-evthreads.exp: Likewise.
9358
e9ea2662
JK
93592011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9360
9361 Code cleanup.
9362 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
9363 it. Substitute it instead of test_compiler_info everywhere.
9364
ce451573
UW
93652011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9366
9367 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
9368 remote targets as well.
9369
756d88a7
UW
93702011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9371
9372 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
9373 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
9374
31f83dc5
UW
93752011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9376
9377 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
9378 a remote machine, not the host.
9379 (gdb_compile_shlib): Set soname if target is remote.
9380
059241a0
PP
93812011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9382
9383 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
9384
28a0b48c 93852011-07-13 Matt Rice <ratmice@gmail.com>
9386
9387 * gdb.python/py-objfile-script-gdb.py: Renamed to
9388 py-objfile-script-gdb.py.in.
9389 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
9390 py-objfile-script-gdb.py.
9391 * gdb.python/py-objfile-script.exp: Update reference to
9392 py-objfile-script-gdb.py.
9393
9a771b67
JK
93942011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9395
9396 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
9397 reference undefined label.
9398
04ad99e6
JK
93992011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9400
9401 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
9402 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
9403 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
9404 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
9405
713389e0
PM
94062011-07-11 Phil Muldoon <pmuldoon@redhat.com>
9407
6fdff2c5 9408 PR python/12438
713389e0 9409 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 9410 deprecated tests. Add set/show python print-backtrace tests.
713389e0 9411
97d146f8
JK
94122011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9413
9414 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
9415 debug info.
9416
facde0e5 94172011-07-06 Matt Rice <ratmice@gmail.com>
9418
9419 * gdb.python/python.exp: Update filename paths.
9420 * gdb.python/py-symtab.exp: Ditto.
9421
438640d1
MP
94222011-07-06 Marek Polacek <mpolacek@redhat.com>
9423
9424 * gdb.python/py-evthreads.exp: Add missing `$'.
9425
33a365df
MF
94262011-07-06 Jie Zhang <jie.zhang@analog.com>
9427
9428 * config/bfin.exp: New file.
9429 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
9430 * gdb.asm/bfin.inc: New file.
9431
8f7ae686
MP
94322011-07-06 Marek Polacek <mpolacek@redhat.com>
9433
df46027d 9434 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
9435 the whole output.
9436
eb2a6f42
TT
94372011-07-05 Tom Tromey <tromey@redhat.com>
9438
9439 * gdb.java/jprint.java (jprint.hi): New field.
9440 * gdb.java/jprint.exp: Print string.
9441
177b42fe
TJB
94422011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
9443
9444 * gdb.base/call-sc.c: Fix typos.
9445 * gdb.base/ifelse.exp: Likewise.
9446 * gdb.base/structs.c: Likewise.
9447
3b2a0cf2
JB
94482011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9449
9450 * gdb.base/jit-so.exp: New test.
9451 * gdb.base/jit-dlmain.c: New file.
9452 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
9453
46fc714c
JK
94542011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9455
9456 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
9457 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
9458 * gdb.cp/pr9167.exp (p b): Likewise.
9459 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
9460 (test value of P in inner_m, test type of Z in inner_m): Call
9461 setup_xfail for gcc <= 4.5.
46fc714c 9462
418c7cf7
JK
94632011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9464
9465 * gdb.cp/paren-type.cc: New files.
9466 * gdb.cp/paren-type.exp: New files.
9467
3d50dd94
JK
94682011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9469
9470 Stop on first linespec terminator instead of eating what we can.
9471 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
9472 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
9473 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
9474 (break C::f()): ... this one.
9475 (break C::operator()()): New test.
9476 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
9477 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
9478 test.
9479
dcf9f4ab
JK
94802011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9481
9482 Fall back linespec to minimal symbols.
9483 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
9484 error message.
9485 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
9486 * gdb.cp/minsym-fallback-main.cc: New file.
9487 * gdb.cp/minsym-fallback.cc: New file.
9488 * gdb.cp/minsym-fallback.exp: New file.
9489 * gdb.cp/minsym-fallback.h: New file.
9490
3f542ed1
JK
94912011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9492
9493 * gdb.cp/no-dmgl-verbose.cc: New file.
9494 * gdb.cp/no-dmgl-verbose.exp: New file.
9495
94962011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
9497
9498 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
9499 __GI_.
9500 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
9501 (f): New function.
9502 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
9503 (complete p 'func<short>(): ... here.
9504 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
9505 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
9506 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
9507 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
9508 Make them KFAIL gcc/49546.
9509
00eb2c4a
JB
95102011-07-01 Joel Brobecker <brobecker@adacore.com>
9511
9512 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
9513
85a20c42
JK
95142011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9515
9516 Test GCC PR debug/49546.
9517 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
9518 (test type of F in k3_m, test value of F in k3_m): New.
9519 * gdb.cp/temargs.cc (struct S3, struct K3): New.
9520 (main): New variable k3. Call k3.k3_m.
9521
d2d43431
JB
95222011-07-01 Jean-Charles Delay <delay@adacore.com>
9523
9524 * gdb.ada/packed_array.exp: Fix expected outout.
9525
54ae186f
JB
95262011-07-01 Jean-Charles Delay <delay@adacore.com>
9527
9528 * gdb.ada/packed_array.exp: fixed expected output.
9529
8f17729f
JB
95302011-07-01 Joel Brobecker <brobecker@adacore.com>
9531
9532 * gdb.ada/same_enum: New testcase.
9533
f5aa6869
JB
95342011-07-01 Joel Brobecker <brobecker@adacore.com>
9535
9536 * gdb.ada/ptr_typedef: New testcase.
9537
828292f2
JB
95382011-07-01 Joel Brobecker <brobecker@adacore.com>
9539
9540 * gdb.ada/arrayptr.exp: Add ptype test.
9541
18920c42
JB
95422011-07-01 Joel Brobecker <brobecker@adacore.com>
9543
9544 * gdb.ada/char_enum: New testcase.
9545
3536d9e3 95462011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
9547
9548 * gdb.base/dump.exp (capture_pointer_with_type): New.
9549 Get value from address instead of name.
9550 Start GDB once, and do `dump' and `restore'
9551 tests together.
9552
db863c42
MF
95532011-06-30 Jie Zhang <jie.zhang@analog.com>
9554 Mike Frysinger <vapier@gentoo.org>
9555
9556 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
9557 helper functions for getting/setting remotetimeout variable.
9558 * lib/gdb.exp (gdb_load): If the target is remote, set
9559 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
9560 with $loadtimeout. Set $load_ok to 0 before doing the load.
9561 Instead of returning, immediately, set $load_ok to 0. Call
9562 set_remotetimeout with $oldremotetimeout, and then return if
9563 $load_ok is 1.
9564
e9e642a8
AB
95652011-06-30 Andrew Burgess <aburgess@broadcom.com>
9566
9567 * gdb.python/py-template.exp: Don't run this test if the target
9568 does not support c++ tests.
9569
32019081
JK
95702011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9571
9572 Fix non-only rename list for Fortran modules import.
9573 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
9574 tests.
9575 * gdb.fortran/module.f90 (module moduse): New.
9576 (program module): use moduse, test var_x, var_y and var_z.
9577
0ecee54c
TT
95782011-06-29 Tom Tromey <tromey@redhat.com>
9579
9580 PR testsuite/12040:
9581 * gdb.fortran/array-element.exp: Use f90, not f77.
9582 * gdb.fortran/complex.exp: Use f90, not f77.
9583 * gdb.fortran/derived-type.exp: Use f90, not f77.
9584 * gdb.fortran/library-module.exp: Use f90, not f77.
9585 * gdb.fortran/logical.exp: Use f90, not f77.
9586 * gdb.fortran/module.exp: Use f90, not f77.
9587 * gdb.fortran/multi-dim.exp: Use f90, not f77.
9588 * gdb.fortran/subarray.exp: Use f90, not f77.
9589
3b2b8fea
TT
95902011-06-29 Tom Tromey <tromey@redhat.com>
9591
9592 * gdb.fortran/charset.exp: New file.
9593 * gdb.fortran/charset.f90: New file.
9594
42159ca5
TT
95952011-06-29 Tom Tromey <tromey@redhat.com>
9596
9597 PR testsuite/12040:
9598 * lib/future.exp: New file, mostly extracted from ada.exp.
9599 Rewrote compatibility code to use rename.
9600 (gdb_find_gfortran): New proc.
9601 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
9602 gfortran patch.
9603 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
9604 Move to future.exp.
9605 * lib/gdb.exp: Always load future.exp.
9606
af69a5ce
YQ
96072011-06-28 Yao Qi <yao@codesourcery.com>
9608
9609 * gdb.cp/exception.cc: Don't include iostream.
9610 (bar): Remove print statement.
9611 (catcher): New.
9612 (main): Remove print statements. Call function catcher.
9613 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
9614 Set breakpoint on catcher, and check the value of parameter.
9615
ab5c6a72
YQ
96162011-06-23 Yao Qi <yao@codesourcery.com>
9617
6fdff2c5
PA
9618 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
9619 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 9620
9497469f
MP
96212011-06-23 Marek Polacek <mpolacek@redhat.com>
9622
9623 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
9624 mi_gdb_test.
9625
b9132588
MP
96262011-06-23 Marek Polacek <mpolacek@redhat.com>
9627
5d197ed0 9628 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 9629
e55595ca
MP
96302011-06-23 Marek Polacek <mpolacek@redhat.com>
9631
5d197ed0
MP
9632 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
9633
96342011-06-23 Marek Polacek <mpolacek@redhat.com>
9635
9636 * gdb.mi/mi2-basics.exp: Fix races. Honour the
9637 `test_exec_and_symbol_mi_operatons' return value.
9638 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9639 gdb_test_multiple.
9640 (test_exec_and_symbol_mi_operatons): Likewise.
9641 (test_path_specification): Likewise.
e55595ca 9642
be777e08
YQ
96432011-06-23 Yao Qi <yao@codesourcery.com>
9644
9645 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
9646 supported.
9647 * lib/gdb.exp (support_displaced_stepping): New.
9648
615556d6
YQ
96492011-06-23 Yao Qi <yao@codesourcery.com>
9650
9651 * gdb.threads/execl.exp: Skip on remote target.
9652
833b0ca7
MP
96532011-06-21 Marek Polacek <mpolacek@redhat.com>
9654
5d197ed0 9655 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
9656 mi_gdb_test.
9657
1ee4023a
MP
96582011-06-20 Marek Polacek <mpolacek@redhat.com>
9659
5d197ed0 9660 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 9661
d0b1d624
MP
96622011-06-20 Marek Polacek <mpolacek@redhat.com>
9663
5d197ed0 9664 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
9665 mi_gdb_test.
9666
79aa92c1
MP
96672011-06-20 Marek Polacek <mpolacek@redhat.com>
9668
5d197ed0 9669 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 9670
5ce5db06
YQ
96712011-06-14 Yao Qi <yao@codesourcery.com>
9672
9673 gdb/testsuite/
9674 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
9675
533a737e
JK
96762011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9677
9678 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
9679
d0e53741
TT
96802011-06-10 Tom Tromey <tromey@redhat.com>
9681
9682 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
9683 Add tests for pointer-to-member-function.
9684 * gdb.cp/temargs.cc (S::somefunc): New function.
9685 (K2): New class.
9686 (main): Instantiate K2; call method.
9687
b5916bbd
JB
96882011-06-08 Joel Brobecker <brobecker@adacore.com>
9689
9690 * gdb.python/py-inferior.c (f2): Make str an array rather
9691 than a pointer.
9692 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
9693
5be4dfca
JK
96942011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9695
9696 * gdb.base/async-shell.c: New file.
9697 * gdb.base/async-shell.exp: New file.
9698
9f47e254
PA
96992011-06-06 Pedro Alves <pedro@codesourcery.com>
9700
9701 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
9702
64b9b334
JB
97032011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
9704
9705 From Stephen Kitt <steve@sk2.org>
9706 * gdb.base/help.exp: Adjust following some spelling corrections
9707 in GDB.
9708
dbc0f131
YQ
97092011-06-01 Yao Qi <yao@codesourcery.com>
9710
9711 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
9712
fd336a18
KS
97132010-05-31 Keith Seitz <keiths@redhat.com>
9714
9715 PR c++/12750
9716 * gdb.cp/static-method.cc: New file.
9717 * gdb.cp/static-method.exp: New file.
9718
fa8b9902
KS
97192010-05-31 Keith Seitz <keiths@redhat.com>
9720
9721 PR symtab/12704
9722 * gdb.cp/anon-ns.cc: New file.
9723 * gdb.cp/anon-ns.exp: New file.
9724
0a5b1e09
PA
97252011-05-31 Pedro Alves <pedro@codesourcery.com>
9726
9727 * gdb.arch/i386-dr3-watch.c: New file.
9728 * gdb.arch/i386-dr3-watch.exp: New file.
9729
0578b8d1
YQ
97302011-05-30 Yao Qi <yao@codesourcery.com>
9731
9732 * gdb.base/callfuncs.c (t_structs_fc): New.
9733 (t_structs_dc, t_structs_ldc): New.
9734 (t_double_many_args):
9735 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
9736 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
9737 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
9738 * gdb.base/callfuncs.exp: Call new functions.
9739
6680506e
YQ
97402011-05-30 Yao Qi <yao@codesourcery.com>
9741
ff4d2c60
YQ
9742 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
9743 Call rerun_and_prepare for each test to isolate effects.
9744
97452011-05-30 Yao Qi <yao@codesourcery.com>
9746
9747 * gdb.base/varargs.c (find_max_float_real): New.
9748 (find_max_double_real, find_max_long_double_real): New.
9749 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
9750 * lib/gdb.exp (setup_kfail_for_target): New.
9751
e43ec454
YQ
97522011-05-30 Yao Qi <yao@codesourcery.com>
9753
9754 * gdb.base/funcargs.c (callca, callcb, callcc): New.
9755 (callcd, callce, callcf, callc1a, callc1b): New.
9756 (callc2a, callc2b): New.
9757 * gdb.base/funcargs.exp (complex_args): New.
9758 (complex_integral_args, complex_float_integral_args): New.
9759 * lib/gdb.exp (support_complex_tests): New. Determine
9760 whether to run test cases on _Complex types.
9761
432b4d03
JK
97622011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9763
9764 * gdb.threads/leader-exit.c: New file.
9765 * gdb.threads/leader-exit.exp: New file.
9766
6caf069d
MP
97672011-05-27 Marek Polacek <mpolacek@redhat.com>
9768
9497469f 9769 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 9770
97fce28b
MP
97712011-05-27 Marek Polacek <mpolacek@redhat.com>
9772
9773 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
9774 remove the `supported' variable.
9775 * gdb.mi/mi-nonstop.exp: Likewise.
9776 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9777 * gdb.mi/mi-nsintrall.exp: Likewise.
9778 * gdb.mi/mi-nsmoribund.exp: Likewise.
9779 * gdb.mi/mi-nsthrexec.exp: Likewise.
9780
9da8c2a0
PA
97812011-05-26 Pedro Alves <pedro@codesourcery.com>
9782
9783 * gdb.reverse/finish-reverse-bkpt.exp: New test.
9784
2c03e5be
PA
97852011-05-26 Pedro Alves <pedro@codesourcery.com>
9786
9787 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
9788
2e21250d
KS
97892011-05-24 Keith Seitz <keiths@redhat.com>
9790
9791 PR breakpoint/12803
9792 * gdb.cp/cmpd-minsyms.cc (a): New method.
9793 (b): New method.
9794 (c): New method.
9795 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
9796
cdac0397
PA
97972011-05-24 Pedro Alves <pedro@codesourcery.com>
9798
9799 * gdb.base/commands.exp (watchpoint_command_test): Check that the
9800 watchpoint's command list didn't execute when the watchpoint went
9801 out of scope.
9802
ee5683ab
PM
98032011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
9804
9805 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
9806 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
9807 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
9808 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9809 * gdb.arch/i386-permbkpt.exp: Likewise.
9810 * gdb.arch/i386-prologue.exp: Likewise.
9811 * gdb.arch/i386-size-overlap.exp: Likewise.
9812 * gdb.arch/i386-size.exp: Likewise.
9813 * gdb.arch/i386-unwind.exp: Likewise.
9814 * gdb.reverse/i386-precsave.exp: Likewise.
9815 * gdb.reverse/i386-reverse.exp: Likewise.
9816 * gdb.reverse/i386-sse-reverse.exp: Likewise.
9817 * gdb.reverse/i387-env-reverse.exp: Likewise.
9818 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9819
c91c8c16
PA
98202011-05-24 Pedro Alves <pedro@codesourcery.com>
9821
9822 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
9823 file doesn't error, using MI.
9824
c50491a7
TT
98252011-05-23 Tom Tromey <tromey@redhat.com>
9826
9827 * gdb.base/charset.exp (string_display): Add tests to assign to
9828 arrays.
9829 * gdb.base/charset.c (short_array, int_array, long_array): New.
9830
4a07b7da
PA
98312011-05-20 Pedro Alves <pedro@codesourcery.com>
9832
9833 Cope with async mode.
9834
4a07b7da
PA
9835 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
9836 into gdb_test + mi_expect_stop.
9837
b275f2d2
PA
98382011-05-20 Pedro Alves <pedro@codesourcery.com>
9839
9840 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
9841 (callme): Remove printf call.
9842
eec52c44
PM
98432011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
9844
9845 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
9846 quote pattern to avoid problems with Cygwin/mingw expect versions.
9847 * gdb.base/default.exp (show convenience): Use double
9848 quote pattern for regular expressions.
9849
b3c8eb43
JK
98502011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9851
9852 Fix -readnow for -gdwarf-4 unused type units.
9853 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
9854 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
9855
ed731959
JK
98562011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9857
9858 * gdb.base/kill-after-signal.c: New file.
9859 * gdb.base/kill-after-signal.exp: New file.
9860
3b48433d
PA
98612011-05-16 Pedro Alves <pedro@codesourcery.com>
9862
9863 * gdb.ada/start.exp: Call untested with the correct test filename.
9864 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
9865 test filename. Make the test's binary unique.
9866 * gdb.arch/i386-signal.exp: Call untested with the correct test
9867 filename.
9868 * gdb.arch/i386-size-overlap.exp: Ditto.
9869 * gdb.arch/Makefile.in (EXECUTABLES): Update.
9870 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9871 * gdb.cp/call-c.exp: Ditto.
9872 * gdb.mi/mi-reverse.exp: Call untested with the correct test
9873 filename. Make the test's binary unique.
9874 * gdb.mi/Makefile.in (EXECUTABLES): Update.
9875 * gdb.python/py-mi.exp: Ditto.
9876 * gdb.python/Makefile.in (EXECUTABLES): Update.
9877 * gdb.reverse/i386-precsave.exp: Ditto.
9878 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
9879 test filename.
9880 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9881 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
9882 unique.
9883 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
9884 test filename.
9885 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
9886 * gdb.trace/tfile.exp: Ditto.
9887
ba4a8bdd
YQ
98882011-05-14 Yao Qi <yao@codesourcery.com>
9889
9890 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
9891 type.
9892
dbaefcf7
DE
98932011-05-13 Doug Evans <dje@google.com>
9894
9895 * gdb.python/py-objfile-script.exp: New file.
9896 * gdb.python/py-objfile-script.c: New file.
9897 * gdb.python/py-objfile-script-gdb.py: New file.
9898 * testsuite/gdb.python/py-section-script.exp: Test
9899 "info auto-load-scripts".
9900
9930639c
TT
99012011-05-13 Tom Tromey <tromey@redhat.com>
9902
9903 * gdb.dwarf2/clztest.exp: New file.
9904 * gdb.dwarf2/clztest.c: New file.
9905 * gdb.dwarf2/clztest.S: New file.
9906
05272e11
DE
99072011-05-13 Doug Evans <dje@google.com>
9908
cc63ef9b
DE
9909 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
9910 String16 tests.
05272e11 9911
6edba76f
TT
99122011-05-13 Tom Tromey <tromey@redhat.com>
9913
9914 * lib/gdb.exp (is_x86_like_target): New proc.
9915 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
9916 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
9917 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
9918 -nostdlib to compiler.
9919 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
9920 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
9921 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
9922 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
9923 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
9924
028d0ed5
TJB
99252011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9926
9927 * gdb.python/py-function.exp: Test setting a value from a function
9928 which executes a command.
9929
8a9b8146
TT
99302011-05-12 Tom Tromey <tromey@redhat.com>
9931
9932 * gdb.dwarf2/typeddwarf.S: New file.
9933 * gdb.dwarf2/typeddwarf.c: New file.
9934 * gdb.dwarf2/typeddwarf.exp: New file.
9935
10483e8e
MP
99362011-05-12 Marek Polacek <mpolacek@redhat.com>
9937
9938 * gdb.mi/mi-basics.exp: Fix races. Honour the
9939 `test_exec_and_symbol_mi_operatons' return value.
9940 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9941 gdb_test_multiple.
9942 (test_exec_and_symbol_mi_operatons): Likewise.
9943 (test_path_specification): Likewise.
9944
faf067f1
JK
99452011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9946
9947 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
9948 (gdb_touch_execfile): Remove catch wrappers. New variable time.
9949 Replace `file copy' and `file rename' by `file mtime'. Twice.
9950
7ff911a3
JK
99512011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9952
9953 * gdb.base/readline-ask.c: New file.
9954 * gdb.base/readline-ask.exp: New file.
9955 * gdb.base/readline-ask.inputrc: New file.
9956
a536c6d7
UW
99572011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
9958
9959 * gdb.cell/bt.exp: Delete breakpoints before running to signal
9960 to avoid race condition.
9961 * gdb.cell/coremaker.c: Use small stack size.
9962 * gdb.cell/ea-standalone.exp: Use file name without path as
9963 argument to c_to.
9964 * gdb.cell/fork.exp: Allow other output when continuing to end.
9965
d472a426
JK
99662011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9967
9968 * gdb.threads/corethreads.c: New file.
9969 * gdb.threads/corethreads.exp: New file.
9970
99712011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
9972
9973 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
9974 Try to compile the test using -Wl,-z,norelro first.
9975 (load_core): New variable libthread_db_seen, initialize it.
9976 (zeroed-threads cannot be listed): Protect it by XFAIL on
9977 !$libthread_db_seen.
9978
8be455d7
JK
99792011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9980
9981 PR 12573
9982 * gdb.dwarf2/dw2-skip-prologue.S: New file.
9983 * gdb.dwarf2/dw2-skip-prologue.c: New file.
9984 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
9985
1976171a
JK
99862011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9987
9988 * gdb.cp/psymtab-parameter.cc: New file.
9989 * gdb.cp/psymtab-parameter.exp: New file.
9990
7db6f30f
JK
99912011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9992
9993 Fix a race.
9994 * gdb.cp/static-print-quit.exp (print c): Split to ...
9995 (print c - <return>, print c - q <return>, print c - to quit):
9996 ... these. Make the testfile untested on gdb-7.1.
9997
85161e9e 99982011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
9999
10000 * lib/gdb.exp (exec_target_file, exec_symbol_file,
10001 gdb_rename_execfile, gdb_touch_execfile): New.
10002 * gdb.base/reread.exp: Use new procs to handle multiple
10003 exec files.
10004
0c51be18
YQ
100052011-05-05 Yao Qi <yao@codesourcery.com>
10006
10007 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
10008 (test_adr_32bit, test_pop_pc): New.
10009 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
10010 (test_adr_32bit, test_pop_pc): New.
10011
4d393d60
JM
100122011-05-04 Joseph Myers <joseph@codesourcery.com>
10013
10014 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
10015 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
10016 targets.
10017 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
10018 handle targets.
10019
8ffd0459
JK
100202011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10021
10022 * gdb.base/completion.exp (complete help info wat): Rename to ...
10023 (complete 'help info wat'): ... here.
10024 Remove all `-re ".*' and `-re "^.*' redundant regexes.
10025 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
10026
8e28d804
PA
100272011-05-04 Pedro Alves <pedro@codesourcery.com>
10028
10029 * gdb.base/completion.exp: Use gdb_test_multiple instead of
10030 gdb_test and explicit $gdb_prompt/timeout matches.
10031
3eb2ef34
YQ
100322011-05-04 Yao Qi <yao@codesourcery.com>
10033
10034 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
10035 and __thumb2__.
10036
aaaf81a3
MP
100372011-05-03 Marek Polacek <mpolacek@redhat.com>
10038
10039 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
10040 in place of `gdb_test "delete breakpoints"'. This eliminates two
10041 testcases.
10042
c4cbc0df
PA
100432011-05-02 Pedro Alves <pedro@codesourcery.com>
10044
10045 PR testsuite/12649
10046 Fix races.
10047
10048 * gdb.base/completion.exp: Remove all sleep calls. Remove
10049 unnecessary regexs. Don't explicitly expect anything after the
10050 prompt. Eat the prompt if necessary.
10051
b4cbb4a3
EBM
100522011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
10053
10054 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
10055 accept to show the caller line again as well as the line after.
10056
d65aec65
PM
100572011-04-29 Phil Muldoon <pmuldoon@redhat.com>
10058
10059 PR mi/12531
10060
10061 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
10062 compile target.
10063 * gdb.python/py-prettyprint.exp: Add C++ object for
10064 CPLUS_FAKE_CHILD test.
10065
30852783
UW
100662011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
10067
10068 * gdb.base/signest.exp: New file.
10069 * gdb.base/signest.c: Likewise.
10070
c7b1f0d9
JK
100712011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10072
10073 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
10074 thread and breakpoint notifications.
10075
559a7a62
JK
100762011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10077
10078 * gdb.base/fortran-sym-case.c: New file.
10079 * gdb.base/fortran-sym-case.exp: New file.
10080 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
10081 * gdb.dwarf2/dw2-case-insensitive.c: New file.
10082 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
10083
8344e389
JK
100842011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10085
10086 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
10087 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
10088 false #1', `if true else false #2' and `if true else false #3'.
10089
2484c66b
UW
100902011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
10091
10092 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
10093 while delivering signal.
10094
8d3788bd
VP
100952011-04-27 Vladimir Prus <vladimir@codesourcery.com>
10096
10097 MI breakpoint notifications.
10098
10099 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
10100 * testsuite/gdb.mi/mi2-cli.exp: Adust.
10101 * testsuite/gdb.mi/mi-watch.exp: Adust.
10102 * testsuite/gdb.mi/mi2-watch.exp: Adust.
10103 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
10104 notifications.
8d3788bd 10105
3e03848b
JK
101062011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10107
10108 * gdb.base/gdbindex-stabs-dwarf.c: New file.
10109 * gdb.base/gdbindex-stabs.c: New file.
10110 * gdb.base/gdbindex-stabs.exp: New file.
10111
918c9108
YQ
101122011-04-25 Yao Qi <yao@codesourcery.com>
10113
10114 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
10115 with /*...*/.
10116 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
10117
90556b8c
JK
101182011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10119
10120 * gdb.python/py-value.exp (test_objfiles): Name the first test
10121 `py-value in file.filename'.
10122
03f2bd59
JK
101232011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10124
10125 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
10126 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
10127 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
10128 !gdbserver_reconnect_p..
10129 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
10130
7b08b9eb
JK
101312011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10132
10133 * gdb.cp/cpcompletion.exp (complete class methods)
10134 (complete class methods beginning with F): Move them above runto. New
10135 comment about the runto delimiter.
10136
b78974c3
PA
101372011-04-20 Pedro Alves <pedro@codesourcery.com>
10138
10139 * gdb.base/maint.exp: Test that "maint print registers" works
10140 without a running program.
10141
20429c40 101422011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 10143
20429c40
MP
10144 * gdb.base/setshow.exp: Fix racy tests.
10145 ($old_gdb_prompt): New variable.
10146
7a9dd1b2
TT
101472011-04-19 Tom Tromey <tromey@redhat.com>
10148
10149 * gdb.mi/mi-nsmoribund.exp:
10150 * gdb.hp/gdb.objdbg/objdbg01.exp:
10151 * gdb.base/structs.exp (test_struct_returns):
10152 * gdb.base/call-sc.exp (test_scalar_returns):
10153 * gdb.base/bigcore.exp: Remove duplicate words.
10154
02835898
JK
101552011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10156
10157 * gdb.base/break-interp-lib.c (v, vptr): New variables.
10158 * gdb.base/break-interp.exp (test_attach): New comment.
10159
254f582e
JK
101602011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10161
10162 * gdb.threads/gcore-thread.exp ($core0file): New variable.
10163 (clear __stack_user.next, clear stack_used.next)
10164 (save a zeroed-threads corefile): New test.
10165 Call core_load for $core0file.
10166 (zeroed-threads cannot be listed): New test.
10167
4fe85f5c
JK
101682011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10169
10170 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
10171 filename.
10172 ($srcfile): Preserve the original value.
10173 ($testfile): Match it the .exp filename.
10174 ($corefile): New variable. Substitute it around.
10175 Use clean_restart.
10176 ($prev_timeout): Remove.
10177 (load_core): Move core loading into this proc.
10178 Fix restore of $timeout if load_core fails.
10179
63524580
JK
101802011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10181
10182 * gdb.base/eu-strip-infcall.c: New file.
10183 * gdb.base/eu-strip-infcall.exp: New file.
10184
90359a16
JK
101852011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10186
10187 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
10188 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
10189
626e7282
JK
101902011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10191
10192 Fix Python access to inlined frames.
10193 * gdb.python/py-frame-inline.c: New file.
10194 * gdb.python/py-frame-inline.exp: New file.
10195
3363d018
EBM
101962011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
10197
10198 * gdb.base/gdb1090.exp: Change breakpoint location to read the
10199 content of 's24' correctly (avoiding "optimized out").
10200 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
10201
28781456
JK
102022011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10203
10204 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
10205
4a4106ca
TJB
102062011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
10207
10208 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
10209 expect a colon in watch -location output.
10210
d26ccb4f
JK
102112011-04-13 Marek Polacek <mpolacek@redhat.com>
10212
df46027d 10213 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
10214 New testcase `expect response to define backtrace'. Also remove
10215 redundant `default' block.
10216
e1ab1f9c
JK
102172011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10218
10219 * gdb.python/py-prettyprint.c (struct hint_error): New.
10220 (main): New variable hint_error.
10221 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
10222 "print hint_error".
10223 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
10224 (register_pretty_printers): Register it.
10225
0c2e6019
TT
102262011-04-04 Tom Tromey <tromey@redhat.com>
10227
10228 * gdb.cp/maint.exp (test_help): Update.
10229 (test_namespace): Likewise.
10230
af57139d
JB
102312011-04-01 Joel Brobecker <brobecker@adacore.com>
10232
10233 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
10234 * gdb.ada/arrayptr.exp: Add new tests.
10235
956a9fb9
JB
102362011-04-01 Joel Brobecker <brobecker@adacore.com>
10237
10238 * gdb.ada/mi_catch_ex: New testcase.
10239
d0c4d642
PA
102402011-04-01 Pedro Alves <pedro@codesourcery.com>
10241
10242 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
10243 base::overload(void) method without specifying "const".
10244
18819fa6
UW
102452011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
10246
10247 * gdb.arch/thumb-singlestep.S: New file.
10248 * gdb.arch/thumb-singlestep.exp: Likewise.
10249
a4c8e806
TT
102502011-03-31 Tom Tromey <tromey@redhat.com>
10251
10252 * gdb.python/py-prettyprint.py (exception_flag): New global.
10253 (NoStringContainerPrinter._iterator.next): Check it.
10254 * gdb.python/py-prettyprint.c (main): New variable nstype2.
10255 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
10256
53832f31
TT
102572011-03-29 Tom Tromey <tromey@redhat.com>
10258
10259 * gdb.cp/anon-struct.cc: New file.
10260 * gdb.cp/anon-struct.exp: New file.
10261
e4620230
JK
102622011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10263
10264 Test STT_GNU_IFUNC support.
10265 * gdb.base/gnu-ifunc-lib.c: New file.
10266 * gdb.base/gnu-ifunc.c: New file.
10267 * gdb.base/gnu-ifunc.exp: New file.
10268
d0fb5eae
JK
102692011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10270
10271 Support a ring of related breakpoints.
10272 * gdb.base/watchpoint-delete.c: New file.
10273 * gdb.base/watchpoint-delete.exp: New file.
10274
20106cfb
JK
102752011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10276
10277 * gdb.ada/arrayparam.exp (print first after function call): Use
10278 explicit package name. Add a comment
10279 (print lasta after function call): Rename ...
10280 (print last after function call): ... it and use explicit package
10281 name.
10282 (print length after function call): Use explicit package name.
10283 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
10284 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
10285 (multiple matches for symbol i): Rename ...
10286 (multiple matches for symbol integervar): ... it.
10287 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
10288 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
10289
e7ab5e63
AB
102902011-03-25 Andrew Burgess <aburgess@broadcom.com>
10291
10292 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
10293 environment variable to make grep output more predictable. Move
10294 all the environment setup into gdb_init so it's done once per test
10295 case rather than each time we start gdb.
10296
9ef07c8c
TT
102972011-03-24 Tom Tromey <tromey@redhat.com>
10298
10299 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
10300 test.
10301
dd90784c
JK
103022011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10303
10304 * gdb.dwarf2/dw2-entry-value-main.c: New file.
10305 * gdb.dwarf2/dw2-entry-value.S: New file.
10306 * gdb.dwarf2/dw2-entry-value.exp: New file.
10307
05775840
PM
103082011-03-22 Phil Muldoon <pmuldoon@redhat.com>
10309
6fdff2c5 10310 PR python/12183
05775840
PM
10311
10312 * gdb.python/py-function.exp: Add GdbError tests.
10313
8661b11b
PA
103142011-03-18 Pedro Alves <pedro@codesourcery.com>
10315
10316 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
10317 (reglocal_test_func, statlocal_test_func): New functions.
10318 (globals_test_func): Call new functions.
10319 * gdb.trace/unavailable.exp (gdb_collect_args_test)
10320 (gdb_collect_locals_test): New procedure.
10321 (gdb_trace_collection_test): Call new procedures.
10322
0fdb4f18
PA
103232011-03-18 Pedro Alves <pedro@codesourcery.com>
10324
10325 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
10326 (test_register, test_register_unavailable): New procedures.
10327 (gdb_unavailable_registers_test): New procedure.
10328 (gdb_trace_collection_test): Call it.
10329
99c3dc11
PM
103302011-03-18 Phil Muldoon <pmuldoon@redhat.com>
10331
6fdff2c5 10332 PR python/12149
99c3dc11
PM
10333
10334 * gdb.python/python.exp: Add gdb.write tests.
10335
29703da4
PM
103362010-03-17 Phil Muldoon <pmuldoon@redhat.com>
10337
10338 * gdb.python/Makefile.in: Add py-objfile.
10339 * gdb.python/py-objfile.exp: New file.
10340 * gdb.python/py-objfile.c: New file.
10341 * gdb.python/py-block.exp: Add is_valid tests.
10342 * gdb.python/py-inferior.exp: Ditto.
10343 * gdb.python/py-infthread.exp: Ditto.
10344 * gdb.python/py-symbol.exp: Ditto.
10345 * gdb.python/py-symtab.exp: Ditto.
10346
598997c8
KS
103472011-03-16 Keith Seitz <keiths@redhat.com>
10348
10349 PR c++/12273
10350 * gdb.cp/cmpd-minsyms.exp: New test.
10351 * gdb.cp/cmpd-minsyms.cc: New file.
10352
10353 PR c++/11734
10354 * gdb.cp/ovsrch.exp: New test.
10355 * gdb.cp/ovsrch.h: New file.
10356 * gdb.cp/ovsrch1.cc: New file.
10357 * gdb.cp/ovsrch2.cc: New file.
10358 * gdb.cp/ovsrch3.cc: New file.
10359 * gdb.cp/ovsrch4.cc: New file.
10360
c91513d8
PP
103612011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10362
10363 PR gdb/12528
10364 * gdb.base/Makefile.in: Adjust EXECUTABLES.
10365 * gdb.base/break-on-linker-gcd-function.exp: New test.
10366 * gdb.base/break-on-linker-gcd-function.cc: New file.
10367
7470fc63
AT
103682011-03-15 Andreas Tobler <andreast@fgznet.ch>
10369
10370 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
10371
959e7469
PM
103722011-03-15 Phil Muldoon <pmuldoon@redhat.com>
10373
10374 * lib/gdb.exp (gdb_unload): Add another termination case.
10375
9373cf26
JK
103762011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10377
10378 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
10379 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
10380 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
10381 Provide a stub byte there.
10382 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
10383 DW_AT_entry_pc.
10384 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
10385
24e9cda0
UW
103862011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
10387
10388 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
10389 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
10390 "generic ABI, auto".
10391 (altivec_abi_tests): Accept vectors returned by reference.
10392
7371cf6d
PM
103932010-03-14 Phil Muldoon <pmuldoon@redhat.com>
10394
10395 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
10396
ce77046a
UW
103972011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
10398
10399 * gdb.python/py-section-script.exp: Skip test if no Python support.
10400
176400c3
UW
104012011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
10402
10403 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
10404
ecec24e6
PM
104052011-03-10 Phil Muldoon <pmuldoon@redhat.com>
10406
10407 * gdb.python/py-parameter.exp: Update tests to the new Python
10408 parameter API. Add "no documentation" test. Add deprecated API
10409 backward compatibility test.
10410
5dbdd470
TT
104112011-03-09 Tom Tromey <tromey@redhat.com>
10412
10413 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
10414 gdb_continue_to_end.
10415
b66e66ee
MK
104162011-03-09 Mark Kettenis <kettenis@gnu.org>
10417
10418 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
10419 tabs.
10420
eceb0c5f
TT
104212011-03-09 Tom Tromey <tromey@redhat.com>
10422
10423 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
10424 parentheses.
10425 (gdb_continue_to_end): Add "allow_extra" parameter. Use
10426 $command.
10427 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
10428 argument to gdb_continue_to_end.
10429 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10430 argument to gdb_continue_to_end.
10431 * gdb.cp/annota3.exp: Fix regex.
10432 * gdb.cp/annota2.exp: Fix regex.
10433 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
10434 gdb_continue_to_end.
10435 * gdb.base/call-signal-resume.exp: Revert earlier patch.
10436 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
10437 gdb_continue_to_end.
10438
63154eca
PA
104392011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10440
10441 * gdb.server/ext-run.exp
10442 (load new file without any gdbserver inferior): New test.
10443
967d1f9b
TT
104442011-03-07 Tom Tromey <tromey@redhat.com>
10445
10446 * Makefile.in (TAGS): Rewrite.
10447
d68dcbb9
JK
104482011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10449
10450 * gdb.trace/report.exp (12.1: trace report #1): New match for the
10451 initial commands echo. New match for `Found trace'. Anchor all the
10452 other matches. Anchor and match for `No trace frame found' the final
10453 match.
10454
6bf58e63
TT
104552011-03-07 Tom Tromey <tromey@redhat.com>
10456
10457 * Makefile.in (TAGS): New target.
10458
fda326dd
TT
104592011-03-07 Tom Tromey <tromey@redhat.com>
10460
10461 * lib/opencl.exp (skip_opencl_tests): Update for exit message
10462 change.
10463 * lib/mi-support.exp (mi_gdb_test): Update for exit message
10464 change.
10465 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
10466 exit message change.
10467 (skip_altivec_tests): Update for exit message change.
10468 (skip_vsx_tests): Likewise.
10469 (gdb_continue_to_end): Likewise. Add 'command' argument.
10470 * lib/cell.exp (skip_cell_tests): Update for exit message change.
10471 * gdb.threads/tls.exp: Update for exit message change.
10472 * gdb.threads/thread-unwindonsignal.exp: Use
10473 gdb_continue_to_end.
10474 * gdb.threads/step.exp (step_it): Update for exit message change.
10475 (continue_all): Likewise.
10476 * gdb.threads/print-threads.exp (test_all_threads): Update for
10477 exit message change.
10478 * gdb.threads/interrupted-hand-call.exp: Use
10479 gdb_continue_to_end.
10480 * gdb.threads/execl.exp: Use gdb_continue_to_end.
10481 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
10482 gdb_continue_to_end.
10483 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
10484 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
10485 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
10486 * gdb.cp/method.exp: Update for exit message change.
10487 * gdb.cp/mb-templates.exp: Update for exit message change.
10488 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
10489 * gdb.cp/annota3.exp: Update for exit message change.
10490 * gdb.cp/annota2.exp: Update for exit message change.
10491 * gdb.cell/fork.exp: Use gdb_continue_to_end.
10492 * gdb.base/term.exp: Update for exit message change.
10493 * gdb.base/step-test.exp (test_i): Update for exit message change.
10494 * gdb.base/sigstep.exp (advance): Update for exit message change.
10495 (advancei): Likewise.
10496 * gdb.base/siginfo.exp: Update for exit message change.
10497 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
10498 * gdb.base/reread.exp: Use gdb_continue_to_end.
10499 * gdb.base/langs.exp: Use gdb_continue_to_end.
10500 * gdb.base/interrupt.exp: Update for exit message change.
10501 * gdb.base/gdb1555.exp: Update for exit message change.
10502 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
10503 * gdb.base/ending-run.exp: Update for exit message change.
10504 * gdb.base/chng-syms.exp: Update for exit message change.
10505 * gdb.base/checkpoint.exp: Update for exit message change.
10506 * gdb.base/catch-syscall.exp (check_for_program_end): Use
10507 gdb_continue_to_end.
10508 (test_catch_syscall_with_wrong_args): Likewise.
10509 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
10510 * gdb.base/break-interp.exp (test_ld): Update for exit message
10511 change.
10512 * gdb.base/bang.exp: Update for exit message change.
10513 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
10514 (do_call_attach_tests): Likewise.
10515 * gdb.base/a2-run.exp: Update for exit message change.
10516 * gdb.arch/ppc-dfp.exp: Update for exit message change.
10517 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
10518 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
10519
dd19bd70
JK
105202011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10521
10522 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
10523
30e62689
TT
105242011-03-03 Tom Tromey <tromey@redhat.com>
10525
10526 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
10527 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
10528 * gdb.hp/gdb.aCC/configure.ac: Remove.
10529 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
10530 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
10531 * gdb.hp/gdb.base-hp/configure.ac: Remove.
10532 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
10533 * gdb.hp/gdb.compat/configure (Makefile): Remove.
10534 * gdb.hp/gdb.compat/configure.ac: Remove.
10535 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
10536 * gdb.hp/gdb.defects/configure (Makefile): Remove.
10537 * gdb.hp/gdb.defects/configure.ac: Remove.
10538 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
10539 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
10540 * gdb.hp/gdb.objdbg/configure.ac: Remove.
10541 * gdb.hp/configure.ac: Remove.
10542 * gdb.hp/configure: Remove.
10543 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
10544 substitution.
10545 (Makefile): Remove rule.
10546 * gdb.cell/configure.ac: Remove.
10547 * gdb.cell/configure: Remove.
10548 * gdb.stabs/Makefile.in (Makefile): Remove.
10549 (distclean): Don't remove config.status or config.log.
10550 * gdb.stabs/configure (Makefile): Remove.
10551 * gdb.stabs/configure.ac: Remove.
10552 * configure: Rebuild.
10553 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
10554 Remove stabs- and cell-specific logic. Test for existence of
10555 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
10556 subdirectories, gdb.cell, and and gdb.stabs.
10557 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
10558
c171f854
JB
105592011-03-03 Joel Brobecker <brobecker@adacore.com>
10560
10561 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
10562 end of buffer.
10563
9a5193cb
JB
105642011-03-02 Joel Brobecker <brobecker@adacore.com>
10565
10566 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
10567 gdb_test when running a test where we expected no output back.
10568
9bb4c1bb
MS
105692011-02-28 Michael Snyder <msnyder@vmware.com>
10570
10571 * gdb.cp/overload.cc: Change initializer value to integer.
10572
3bd0f5ef
MS
105732011-02-27 Michael Snyder <msnyder@vmware.com>
10574
10575 * gdb.multi/base.exp: Add test for remove-inferiors.
10576
2279eaad
JB
105772011-02-26 Joel Brobecker <brobecker@adacore.com>
10578
10579 * gdb.python/py-frame.exp: Simplify the initialization phase
10580 using prepare_for_testing.
10581
c82c0b55
MS
105822011-02-25 Michael Snyder <msnyder@vmware.com>
10583
10584 * gdb.multi/base.exp: Add tests for info inferiors with args.
10585
1d94651b
JK
105862011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10587
10588 * gdb.dwarf2/dw2-ranges.S: Rename to ...
10589 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
10590 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
10591 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
10592 asmfile3. Comment the STABS (#3) file compilation. Compile
10593 everything through assembler. Provide KFAIL for symtab/12497.
10594 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
10595 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
10596 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
10597 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
10598
3bd0f5ef
MS
105992011-02-24 Michael Snyder <msnyder@vmware.com>
10600
10601 * gdb.base/break.exp: Add tests for delete breakpoints using
10602 convenience variables and value history references.
10603
12c1418e
MS
106042011-02-24 Michael Snyder <msnyder@vmware.com>
10605
10606 * gdb.base/break.exp: Remove debugging 'printf' accidentally
10607 left behind in previous check-in.
10608
e5a67952
MS
106092011-02-23 Michael Snyder <msnyder@vmware.com>
10610
10611 * gdb.base/break.exp: Add tests for "info break" with arguments.
10612 * gdb.trace/infotrace.exp: Update patterns for error and help.
10613 * gdb.base/completion.exp: Update pattern.
10614 * gdb.base/ena-dis-br.exp: Update pattern.
10615 * gdb.base/help.exp: Update patterns.
10616
106172011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
10618
10619 * gdb.base/memattr.exp: New test.
10620 * gdb.base/memattr.c: Test load for memattr.exp.
10621
6e6fbe60
DE
106222011-02-22 Doug Evans <dje@google.com>
10623
10624 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
10625
1d41d745
MS
106262011-02-22 Michael Snyder <msnyder@vmware.com>
10627
10628 * Makefile.in: Make more clean.
10629 * gdb.ada/Makefile.in: Ditto.
10630 * gdb.arch/Makefile.in: Ditto.
10631 * gdb.asm/Makefile.in: Ditto.
10632 * gdb.base/Makefile.in: Ditto.
10633 * gdb.cp/Makefile.in: Ditto.
10634 * gdb.dwarf2/Makefile.in: Ditto.
10635 * gdb.java/Makefile.in: Ditto.
10636 * gdb.mi/Makefile.in: Ditto.
10637 * gdb.modula2/Makefile.in: Ditto.
10638 * gdb.python/Makefile.in: Ditto.
10639 * gdb.server/Makefile.in: Ditto.
10640 * gdb.stabs/Makefile.in: Ditto.
10641 * gdb.threads/Makefile.in: Ditto.
10642 * gdb.trace/Makefile.in: Ditto.
10643
79ba84ca
MS
106442011-02-22 Michael Snyder <msnyder@vmware.com>
10645
df46027d 10646 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
10647 info threads.
10648
b9b35694
JB
106492011-02-22 Joel Brobecker <brobecker@adacore.com>
10650
10651 * gdb.python/py-breakpoint.exp: Fix the expected output of
10652 one of the "maint info breakpoints" tests to accept the output
10653 generated on platforms that do not have hardware watchpoints.
10654
8bfb830f
JB
106552011-02-22 Joel Brobecker <brobecker@adacore.com>
10656
10657 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
10658 clean_restart. Be a little stricter in the expected output
10659 for one of the tests. Fix a typo in one of the comments.
10660
c45f3c54
JB
106612011-02-22 Joel Brobecker <brobecker@adacore.com>
10662
10663 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
10664 Delete variable binfile, no longer use. Add or modify test
10665 comments to make them unique.
10666
b97c863c
MS
106672011-02-21 Michael Snyder <msnyder@vmware.com>
10668
10669 * Makefile.in: Update for make clean.
10670 * gdb.ada/Makefile.in: Ditto.
10671 * gdb.arch/Makefile.in: Ditto.
10672 * gdb.asm/Makefile.in: Ditto.
10673 * gdb.base/Makefile.in: Ditto.
10674 * gdb.cp/Makefile.in: Ditto.
10675 * gdb.dwarf2/Makefile.in: Ditto.
10676 * gdb.java/Makefile.in: Ditto.
10677 * gdb.mi/Makefile.in: Ditto.
10678 * gdb.modula2/Makefile.in: Ditto.
10679 * gdb.python/Makefile.in: Ditto.
10680 * gdb.server/Makefile.in: Ditto.
10681 * gdb.stabs/Makefile.in: Ditto.
10682 * gdb.threads/Makefile.in: Ditto.
10683 * gdb.trace/Makefile.in: Ditto.
10684
aea5b279
MS
106852011-02-21 Michael Snyder <msnyder@vmware.com>
10686
10687 * gdb.threads/thread-find.exp: Update patterns for changes in
10688 output of "info threads" command.
10689
e3039479
UW
106902011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10691 Ulrich Weigand <uweigand@de.ibm.com>
10692
10693 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
10694 (skip_hw_watchpoint_tests): Likewise.
10695 (skip_hw_watchpoint_multi_tests): Likewise.
10696
b800ec70
UW
106972011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
10698
10699 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
10700 (skip_hw_watchpoint_tests): Likewise.
10701 (skip_hw_watchpoint_multi_tests): Likewise.
10702 (skip_hw_watchpoint_access_tests): Likewise.
10703
10704 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
10705 * gdb.base/pr11022.exp: Likewise.
10706 * gdb.base/watch-read.exp: Likewise.
10707 * gdb.base/watch_thread_num.exp: Likewise.
10708 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
10709 * gdb.base/watchpoint-hw.exp: Likewise.
10710 * gdb.base/watchpoint.exp: Likewise.
10711 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
10712 * gdb.threads/watchthreads-reorder.exp: Likewise.
10713 * gdb.threads/watchthreads.exp: Likewise.
10714 * gdb.threads/watchthreads2.exp: Likewise.
10715
91033e37
JB
107162011-02-21 Joel Brobecker <brobecker@adacore.com>
10717
10718 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
10719 the debugger is unable to find the array bounds.
10720
eeaafae2
JK
107212011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10722
10723 * gdb.cp/typedef-operator.exp: New file.
10724 * gdb.cp/typedef-operator.cc: New file.
10725
e338d953
MS
107262011-02-17 Michael Snyder <msnyder@vmware.com>
10727
10728 * gdb.threads/thread-find.exp: Fix regular expressions.
10729
e67ad678
JB
107302011-02-17 Joel Brobecker <brobecker@adacore.com>
10731
10732 * gdb.ada/packed_array: Expand testcase to test printing of
10733 unconstrained packed array.
10734
93084bca
JB
107352011-02-17 Joel Brobecker <brobecker@adacore.com>
10736
10737 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
10738
a0c78a73
PA
107392011-02-16 Pedro Alves <pedro@codesourcery.com>
10740
f65d5553 10741 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
10742 (main): Initialize it before collecting, and and clear it
10743 afterwards.
f65d5553
PA
10744 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
10745 collecting with '{type} addr', where the addr expression is not an
10746 rvalue.
a0c78a73 10747
3dfcbbd2
KW
107482011-02-16 Ken Werner <ken.werner@de.ibm.com>
10749
10750 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
10751 a bool variable. Expect correct OpenCL names for vector types. Use the
10752 uc3 variable name instead of referring to the uchar3 built-in type.
10753 Escape the asterisk at the half pointer test.
10754
08807d5a
PA
107552011-02-16 Pedro Alves <pedro@codesourcery.com>
10756
f65d5553 10757 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
10758 (main): Initialize it before collecting, and and clear it
10759 afterwards.
f65d5553
PA
10760 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
10761 collecting overlapping memory ranges.
08807d5a 10762
60f98dde
MS
107632011-02-15 Michael Snyder <msnyder@vmware.com>
10764
10765 * gdb.base/default.exp: Add tests for thread commands.
10766 * gdb.base/help.exp: Add tests for thread commands.
10767 * gdb.threads/thread-find.exp: New test for thread find command.
10768
648cd113
KW
107692011-02-15 Ken Werner <ken.werner@de.ibm.com>
10770
10771 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
10772
494e194e
YQ
107732011-02-15 Yao Qi <yao@codesourcery.com>
10774
10775 PR tdep/12352
10776 * gdb.arch/arm-disp-step.S : New test for str instruction.
10777 * gdb.arch/arm-disp-step.exp : Likewise.
10778
d9492458
TJB
107792011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
10780
10781 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
10782 "vector_register2_vr" test strings. Test the extended floating
10783 point registers (F32~F63).
10784 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
10785 IBM XL C compiler. Make the test program use a register provided
10786 by the compiler for the lxvd2x instruction.
10787
8af8e3bc
PA
107882011-02-14 Pedro Alves <pedro@codesourcery.com>
10789
10790 * gdb.trace/unavailable.cc (class Base, class Middle, class
10791 Derived): New types.
10792 (derived_unavail, derived_partial, derived_whole): New globals.
10793 (virtual_partial): New global.
10794 (virtualp): Point at virtual_partial.
10795 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
10796 related to unavailable vptr.
10797
1b28d0b3
PA
107982011-02-14 Pedro Alves <pedro@codesourcery.com>
10799
10800 * gdb.trace/unavailable.cc (a, b, c): New globals.
10801 (main): Set and clear them.
10802 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
10803 `a' and `c', and check that `b' isn't collected, although `a' and
10804 `c' are.
10805
ec0a52e1
PA
108062011-02-14 Pedro Alves <pedro@codesourcery.com>
10807
10808 * gdb.trace/unavailable.cc (struct Virtual): New.
10809 (virtualp): New global pointer.
10810 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
10811 printing a pointer to an object whose type has a vtable, with
10812 print object on.
10813
24e6bcee
PA
108142011-02-14 Pedro Alves <pedro@codesourcery.com>
10815
10816 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
10817 value repeat handles unavailableness.
10818
39d37385
PA
108192011-02-14 Pedro Alves <pedro@codesourcery.com>
10820
10821 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
10822 tests for building arrays from unavailable values, subscripting
10823 non-memory rvalue unvailable arrays, and accessing fields or
10824 baseclasses of non-lazy unavailable values,
10825 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
10826 struct types.
10827 (g_smallstruct, g_smallstruct_b): New globals.
10828
06d72e16
PA
108292011-02-14 Pedro Alves <pedro@codesourcery.com>
10830
10831 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
10832
bc9a5551
JK
108332011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10834
10835 Fix const/volatile qualifiers of C++ types, PR c++/12328.
10836 * gdb.cp/overload-const.exp: New file.
10837 * gdb.cp/overload-const.cc: New file.
10838
54fcddd0
UW
108392011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10840
10841 * gdb.opencl/callfuncs.cl: New file.
10842 * gdb.opencl/callfuncs.exp: New test.
10843 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
10844
d6dafb7c
UW
108452011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10846
10847 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
10848 when computing result.
10849 * gdb.arch/altivec-abi.exp: Update expected results.
10850
a449c2d8
TJB
108512011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10852
10853 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
10854 * gdb.base/jit.exp: Likewise.
10855 * gdb.base/pie-execl.exp: Likewise.
10856 * gdb.base/solib-nodir.exp: Likewise.
10857 * gdb.base/solib-overlap.exp: Likewise.
10858
764880b7
PA
108592011-02-07 Pedro Alves <pedro@codesourcery.com>
10860
10861 * gdb.trace/collection.c (global_pieces): New.
10862 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
10863 New procedure.
10864 (gdb_trace_collection_test): Call it.
10865
505500db
SW
108662011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
10867
10868 * gdb.python/py-evthreads.c: New file.
10869 * gdb.python/py-evthreads.exp: New file.
10870 * gdb.python/py-events.py: New file.
10871 * gdb.python/py-events.exp: New file.
10872 * gdb.python/py-events.c: New file.
10873
385203ed
DD
108742011-02-04 David Daney <ddaney@caviumnetworks.com>
10875
10876 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
10877
9011945e
AB
108782011-02-03 Andrew Burgess <aburgess@broadcom.com>
10879
10880 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
10881 gdb.base/disasm-end-cu.exp: New test for disassembling over the
10882 boundary between two compilation units.
10883
580688f3
PA
108842011-02-02 Pedro Alves <pedro@codesourcery.com>
10885
10886 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
10887 (Virtual): New structs.
10888 (virtual_o, virtual_middle_b): New globals.
10889 * gdb.cp/virtbase.exp: New tests.
10890
d3f0f853
PP
108912011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10892
10893 * gdb.base/jit.exp: New file.
10894 * gdb.base/jit-main.c: New file.
10895 * gdb.base/jit-solib.c: New file.
10896
b2030fb5
UW
108972011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
10898
10899 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
10900 proceed to initial kernel entry point.
10901 * gdb.opencl/datatypes.exp: Likewise.
10902 * gdb.opencl/operators.exp: Likewise.
10903 * gdb.opencl/vec_comps.exp: Likewise.
10904
2db19d1e
SW
109052011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
10906
10907 * gdb.cp/nsnested.cc: New.
10908 * gdb.cp/nsnested.exp: New.
10909 * gdb.cp/nsnoimports.exp: New.
10910 * gdb.cp/nsnoimports.cc: New.
10911
6b0c4c1f
JB
109122011-01-31 Joel Brobecker <brobecker@adacore.com>
10913
10914 * gdb.base/interact.exp: Add extra tests that verify that
10915 the value of the interactive-mode setting does not change
10916 after the script is sourced.
10917
80b23b6a
JK
109182011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10919
10920 * gdb.cp/noparam.exp: New file.
10921 * gdb.cp/noparam.cc: New file.
10922
ffd5ec24
PA
109232011-01-28 Pedro Alves <pedro@codesourcery.com>
10924
10925 * gdb.trace/tfile.exp: Test that with no traceframe selected,
10926 there's no stack or registers.
10927
a81766d8
TT
109282011-01-26 Tom Tromey <tromey@redhat.com>
10929
10930 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
10931 space before string output. Add test for "set print pretty off"
10932 case.
10933
585fdaa1
PA
109342011-01-25 Pedro Alves <pedro@codesourcery.com>
10935
10936 * gdb.base/frame-args.exp: Adjust.
10937 * gdb.dwarf2/dw2-noloc.exp: Adjust.
10938 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
10939 * gdb.dwarf2/pieces.exp: Adjust.
10940 * gdb.opt/clobbered-registers-O2.exp: Adjust.
10941 * gdb.opt/inline-locals.exp: Adjust.
10942 * gdb.threads/fork-child-threads.exp: Adjust.
10943
d468832a
KW
109442011-01-25 Ken Werner <ken.werner@de.ibm.com>
10945
10946 * gdb.opencl/convs_casts.cl: Move program scope variables into the
10947 OpenCL kernel function. Add a comment as marker. Add address space
10948 qualifiers for the remaining program scope variables.
10949 * gdb.opencl/datatypes.cl: Likewise.
10950 * gdb.opencl/operators.cl: Likewise.
10951 * gdb.opencl/vec_comps.cl: Likewise.
10952 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
10953 Add breakpoint at the marker comment.
10954 * gdb.opencl/datatypes.exp: Likewise.
10955 * gdb.opencl/operators.exp: Likewise.
10956 * gdb.opencl/vec_comps.exp: Likewise.
10957
490f124f
PA
109582011-01-24 Pedro Alves <pedro@codesourcery.com>
10959
10960 * gdb.base/printcmds.c (some_struct): New struct and instance.
10961 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
10962 procedure.
10963 <global scope>: Call it.
10964
6da78614
KW
109652011-01-21 Ken Werner <ken.werner@de.ibm.com>
10966
10967 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
10968 argument to the gdb_compile_opencl_hostapp call.
10969
ec64c9aa
YQ
109702011-01-19 Yao Qi <yao@codesourcery.com>
10971
10972 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
10973 positve list.
10974
810cfdbb
YQ
109752011-01-19 Yao Qi <yao@codesourcery.com>
10976
10977 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
10978 canonical form.
10979 Remove "xscale-*-*"
10980 * gdb.xml/tdesc-regs.exp: Likewise.
10981 * gdb.python/py-section-script.exp: Replace ARM target triplet
10982 with canonical form.
10983 Match arm*-*-symbianelf*.
10984 * gdb.base/dup-sect.exp: Likewise.
10985 * lib/dwarf.exp: New.
10986 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
10987 dwarf2_support.
10988 * gdb.dwarf2/dup-psym.exp: Likewise.
10989 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
10990 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10991 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
10992 * gdb.dwarf2/dw2-basic.exp: Likewise.
10993 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10994 * gdb.dwarf2/dw2-const.exp: Likewise.
10995 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
10996 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
10997 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10998 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
10999 * gdb.dwarf2/dw2-filename.exp: Likewise.
11000 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11001 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
11002 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11003 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11004 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
11005 * gdb.dwarf2/dw2-noloc.exp: Likewise.
11006 * gdb.dwarf2/dw2-op-call.exp: Likewise.
11007 * gdb.dwarf2/dw2-producer.exp: Likewise.
11008 * gdb.dwarf2/dw2-ranges.exp: Likewise.
11009 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
11010 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
11011 * gdb.dwarf2/dw2-strp.exp: Likewise.
11012 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
11013 * gdb.dwarf2/implptr.exp: Likewise.
11014 * gdb.dwarf2/mac-fileno.exp: Likewise.
11015 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
11016 * gdb.dwarf2/pieces.exp: Likewise.
11017 * gdb.dwarf2/pr11465.exp: Likewise.
11018 * gdb.dwarf2/valop.exp: Likewise.
11019 * gdb.dwarf2/watch-notconst.exp: Likewise.
11020 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
11021
4694da01
TT
110222011-01-19 Tom Tromey <tromey@redhat.com>
11023
11024 * gdb.python/py-infthread.exp: Add thread tests.
11025
b075872c
JB
110262011-01-14 Joel Brobecker <brobecker@adacore.com>
11027
11028 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
11029
2c3e6e24
JB
110302011-01-14 Joel Brobecker <brobecker@adacore.com>
11031
11032 * gdb.ada/widewide: New testcase.
11033
de8fa76c
JB
110342011-01-13 Joel Brobecker <brobecker@adacore.com>
11035
11036 * gdb.base/interact.exp: New testcase.
11037
1b05df00
TT
110382011-01-12 Tom Tromey <tromey@redhat.com>
11039
11040 * gdb.mi/gdb2549.exp: Update for error message changes.
11041 * gdb.mi/mi-cli.exp: Likewise.
11042 * gdb.mi/mi-disassemble.exp: Likewise.
11043 * gdb.mi/mi-pthreads.exp: Likewise.
11044 * gdb.mi/mi-regs.exp: Likewise.
11045 * gdb.mi/mi-stack.exp: Likewise.
11046 * gdb.mi/mi-var-block.exp: Likewise.
11047 * gdb.mi/mi-var-cmd.exp: Likewise.
11048 * gdb.mi/mi2-cli.exp: Likewise.
11049 * gdb.mi/mi2-disassemble.exp: Likewise.
11050 * gdb.mi/mi2-pthreads.exp: Likewise.
11051 * gdb.mi/mi2-regs.exp: Likewise.
11052 * gdb.mi/mi2-stack.exp: Likewise.
11053 * gdb.mi/mi2-var-block.exp: Likewise.
11054 * gdb.mi/mi2-var-cmd.exp: Likewise.
11055
c2ff108b
JK
110562011-01-12 Andrew Burgess <aburgess@broadcom.com>
11057 Jan Kratochvil <jan.kratochvil@redhat.com>
11058
11059 PR fortran/11104 and DWARF unbound arrays detection.
11060 * gdb.fortran/multi-dim.exp: New file.
11061 * gdb.fortran/multi-dim.f90: New file.
11062
b716877b
AB
110632011-01-12 Andrew Burgess <aburgess@broadcom.com>
11064
11065 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
11066 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
11067 add new tests for opcode dumping.
11068
6c162d5e
TT
110692011-01-11 Tom Tromey <tromey@redhat.com>
11070
11071 * gdb.python/py-infthread.exp: Load gdb-python.exp.
11072
77b06cd7
TJB
110732010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
11074
11075 Convert hardware watchpoints to use breakpoint_ops.
11076 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
11077 type is not supported.
11078 * gdb.base/foll-fork.exp: Likewise.
11079 * gdb.base/foll-vfork.exp: Likewise.
11080
f39a75d0
PM
110812011-01-10 Phil Muldoon <pmuldoon@redhat.com>
11082
11083 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
11084 Use load_lib gdb-python.exp.
11085 * gdb.python/python.exp: Ditto.
11086 * gdb.python/py-function.exp: Ditto.
11087
fc529d80
AS
110882011-01-09 Andreas Schwab <schwab@linux-m68k.org>
11089
11090 * gdb.threads/tls.exp ("info address me"): Fix expected output.
11091
fb03cb59
JK
110922011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11093
11094 * configure: Regenerate.
11095
d8e22779
TT
110962011-01-06 Tom Tromey <tromey@redhat.com>
11097
11098 * gdb.python/py-frame.exp: Test gdb.newest_frame.
11099
09050809
JB
111002011-01-06 Joel Brobecker <brobecker@adacore.com>
11101
fc529d80
AS
11102 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
11103 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
11104 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11105 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
11106 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
11107 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11108 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
11109 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
11110 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
11111 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
11112 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
11113 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
11114 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
11115 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11116 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11117 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
11118 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
11119 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
11120 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11121 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
11122 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
11123 gdb.ada/uninitialized_vars.exp,
11124 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
11125 Simplify by using clean_restart.
09050809 11126
8ed5dd9e
JB
111272011-01-06 Joel Brobecker <brobecker@adacore.com>
11128
11129 Add marker to be used as anchor for inserting breakpoints.
11130 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
11131 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
11132 Likewise.
11133
11134 Remove uses of gdb_start_cmd.
11135 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
11136 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
11137
11138 Do not run testcase if testing with GDBserver.
11139 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
11140 if testing with GDBserver.
11141
368a124f
JB
111422011-01-06 Joel Brobecker <brobecker@adacore.com>
11143
11144 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
11145 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
11146 copyright header.
11147
44944448
JB
111482011-01-05 Joel Brobecker <brobecker@adacore.com>
11149
11150 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
11151 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
11152 testsuite/gdb.fortran/complex.f,
11153 testsuite/gdb.fortran/derived-type.f90,
11154 testsuite/gdb.fortran/library-module-lib.f90,
11155 testsuite/gdb.fortran/library-module-main.f90,
11156 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
11157 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
11158 Copyright year update.
11159
31886ea6
JB
111602011-01-05 Joel Brobecker <brobecker@adacore.com>
11161
11162 * gdb.base/langs1.f: Add copyright header.
11163
ebedcab5
JK
111642011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11165
11166 * gdb.base/morestack.exp: New file.
11167 * gdb.base/morestack.c: New file.
11168
de1eb2f9
JK
111692011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11170
11171 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
11172
9e87a409
JB
111732010-12-29 Joel Brobecker <brobecker@adacore.com>
11174
11175 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
11176 * gdb.ada/arrayptr.exp: Add test printing that new variable.
11177
720d1a40
JB
111782010-12-29 Joel Brobecker <brobecker@adacore.com>
11179
11180 * gdb.ada/lang_switch.exp: Correct expected parameter value.
11181
a283af87
AS
111822010-12-25 Andreas Schwab <schwab@linux-m68k.org>
11183
5d3d9cba
AS
11184 * gdb.threads/tls.exp: Fix typo.
11185
a283af87
AS
11186 * gdb.threads/thread-specific.exp (get_thread_list): Update.
11187 * gdb.threads/execl.exp: Update.
11188
2a20745c
YQ
111892010-12-23 Yao Qi <yao@codesourcery.com>
11190
11191 * gdb.arch/arm-disp-step.exp: New.
11192 * gdb.arch/arm-disp-step.S: New.
11193
a7658b96
TT
111942010-12-21 Tom Tromey <tromey@redhat.com>
11195
11196 * gdb.threads/execl.exp: Update.
11197 * gdb.threads/linux-dp.exp: Update.
11198 * gdb.threads/manythreads.exp: Update.
11199 * gdb.threads/tls.exp: Update.
11200
5b79abe7
TT
112012010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11202
11203 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
11204 (NextOverThrowDerivates) <resumebpt>: New.
11205 (resumebpt_test): New.
11206 (main): Call resumebpt_test.
11207 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
11208
0914bcdb
SS
112092010-12-12 Stan Shebs <stan@codesourcery.com>
11210
11211 * gdb.trace/tsv.exp: Test print command on trace state variables.
11212
305aeedc
TT
112132010-12-09 Tom Tromey <tromey@redhat.com>
11214
11215 * gdb.base/interp.exp: Add regression test.
11216
186c406b
TT
112172010-12-09 Tom Tromey <tromey@redhat.com>
11218
11219 * gdb.java/jnpe.java: New file.
11220 * gdb.java/jnpe.exp: New file.
11221 * gdb.cp/nextoverthrow.exp: New file.
11222 * gdb.cp/nextoverthrow.cc: New file.
11223
aae1c79a
DE
112242010-12-07 Doug Evans <dje@google.com>
11225
11226 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
11227 of data-directory.
11228 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
11229 updated.
11230 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
11231
60f98dde 112322010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
11233
11234 * gdb.base/callfuncs.exp: Test for skip_float_tests.
11235 * gdb.base/call-sc.exp: Ditto.
11236 * gdb.base/finish.exp: Ditto.
11237 * gdb.base/return.exp: Ditto.
11238 * gdb.base/return2.exp: Ditto.
11239
5fa290c1
DE
112402010-11-30 Doug Evans <dje@google.com>
11241
11242 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
11243 (gdb_expect_list): Fix spelling errors in comments.
11244 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
11245 send_gdb/gdb_expect_list where applicable.
11246 * gdb.base/call-ar-st.exp: Ditto.
11247 * gdb.base/funcargs.exp: Ditto.
11248 * gdb.base/gcore.exp: Ditto.
11249 * gdb.base/page.exp: Ditto.
11250 * gdb.base/sigaltstack.exp: Ditto.
11251 * gdb.base/siginfo.exp: Ditto.
11252 * gdb.base/sigstep.exp: Ditto.
11253 * gdb.base/trace-commands.exp: Ditto.
11254
4e04c971
DE
112552010-11-29 Doug Evans <dje@google.com>
11256
11257 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
11258 printer-name;subprinter-name.
11259
8cf6f0b1
TT
112602010-11-29 Tom Tromey <tromey@redhat.com>
11261
11262 * gdb.dwarf2/implptr.exp: New file.
11263 * gdb.dwarf2/implptr.c: New file.
11264 * gdb.dwarf2/implptr.S: New file.
11265
94b6973e
PM
112662010-11-29 Phil Muldoon <pmuldoon@redhat.com>
11267
fc529d80 11268 PR python/12199
94b6973e
PM
11269
11270 * gdb.python/py-breakpoint.exp: Test the delete method.
11271
8358c15c
JK
112722010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11273
11274 Fix step_resume_breakpoint unsaved during an infcall.
11275 * gdb.base/step-resume-infcall.exp: New file.
11276 * gdb.base/step-resume-infcall.c: New file.
11277
f6df29bc
TJB
112782010-11-24 Edjunior Machado <emachado@br.ibm.com>
11279
11280 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
11281
f2b5a5cf
TJB
112822010-11-24 Edjunior Machado <emachado@br.ibm.com>
11283
11284 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
11285 on ppc64's symbols; "finish" and "return" commands must accept to
11286 show the caller line again as well as the line after.
11287 * gdb.asm/powerpc64.inc: New file.
11288
6b0ecdc2
DE
112892010-11-23 Doug Evans <dje@google.com>
11290
11291 * lib/gdb.exp (gdb_test_sequence): New function.
11292 (gdb_expect_list): Add verbose -log call for each pattern.
11293 * gdb.base/signals.exp (test_handle_all_print): Call it.
11294 Reduce timeout increment from 6 minutes to 1 minute.
11295 * gdb.server/ext-run.exp: Call it.
11296
ea976c60
PM
112972010-11-23 Phil Muldoon <pmuldoon@redhat.com>
11298
f2b5a5cf 11299 PR python/12212
ea976c60
PM
11300
11301 * gdb.python/python.exp: Check that selected_thread raises an
11302 error when no inferior is loaded.
11303
c0efa795
JK
113042010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11305
11306 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
11307 * gdb.dwarf2/dw2-stack-boundary.S: New file.
11308
ec3aa567
JK
113092010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11310
11311 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
11312 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
11313
d8249011
DE
113142010-11-18 Doug Evans <dje@google.com>
11315
11316 * gdb.server/ext-run.exp: Fix intermittent failures.
11317
d4eba7d1
NF
113182010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11319
11320 * gdb.stabs/gdb11479.exp: Use runto_main.
11321
b04c2f88
NF
113222010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11323
11324 * gdb.base/break-entry.exp: Skip if using a stub.
11325
ae9d7ce4
NF
113262010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11327
11328 * gdb.python/py-inferior.exp: Pack values in target endianness.
11329
621c8364
TT
113302010-11-12 Tom Tromey <tromey@redhat.com>
11331
11332 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
11333 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
11334 MemoryError.
11335 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
11336 type.
11337 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
11338 MemoryError.
11339 (test_subscript_regression): Update exception type.
11340
84f4c1fe
PM
113412010-11-11 Phil Muldoon <pmuldoon@redhat.com>
11342
11343 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
11344 breakpoint tests.
11345
a1442452
PA
113462010-11-09 Pedro Alves <pedro@codesourcery.com>
11347
11348 * gdb.base/watchpoint.exp: Test "watch -location" with an
11349 innacessible location.
11350
efd11a33
JK
113512010-11-09 Edjunior Machado <emachado@br.ibm.com>
11352 Luis Machado <luisgpm@br.ibm.com>
11353
11354 * gdb.base/maint.exp: Expect "." prefix.
11355 * gdb.base/nodebug.exp: Expect "." Likewise.
11356 * gdb.base/sepsymtab.exp: Expect "." Likewise.
11357 * gdb.base/watchpoint-cond-gone.exp: Likewise.
11358 * gdb.base/watchpoint.exp: Expect a software watch to be created for
11359 POWER server processors.
11360
aa00efb5
JK
113612010-11-08 Edjunior Machado <emachado@br.ibm.com>
11362 Luis Machado <luisgpm@br.ibm.com>
11363
11364 * gdb.base/break-entry.exp: convert entry point for
11365 ppc64 and expect leading `.' on ppc64's symbols
11366
99e7ae30
DE
113672010-11-05 Doug Evans <dje@google.com>
11368
11369 * gdb.base/help.exp: Update expected output.
b521dba8
DE
11370 * gdb.python/py-param.exp: Delete, contents moved to ...
11371 * gdb.python/py-parameter.exp: ... here. New file.
11372 Add test for gdb.parameter ("directories").
99e7ae30 11373
f4b8a18d
KW
113742010-11-05 Ken Werner <ken.werner@de.ibm.com>
11375
11376 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
11377 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
11378 * configure: Regenerate.
11379 * gdb.opencl/Makefile.in: New File.
11380 * gdb.opencl/datatypes.exp: Likewise.
11381 * gdb.opencl/datatypes.cl: Likewise.
11382 * gdb.opencl/operators.exp: Likewise.
11383 * gdb.opencl/operators.cl: Likewise.
11384 * gdb.opencl/vec_comps.exp: Likewise.
11385 * gdb.opencl/vec_comps.cl: Likewise.
11386 * gdb.opencl/convs_casts.exp: Likewise.
11387 * gdb.opencl/convs_casts.cl: Likewise.
11388 * lib/opencl.exp: Likewise.
11389 * lib/opencl_hostapp.c: Likewise.
11390 * lib/opencl_kernel.cl: Likewise.
11391 * lib/cl_util.c: Likewise.
11392 * lib/cl_util.c: Likewise.
11393 * gdb.base/default.exp (set language): Add "opencl" to the list of
11394 languages.
11395
a9d5ef47
SW
113962010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
11397
11398 * gdb.cp/overload.exp: Added test for inheritance overload.
11399 * gdb.cp/overload.cc: Ditto.
11400 * gdb.cp/oranking.exp: Removed releveant kfails.
11401
03eb1c79
JK
114022010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11403 Joel Brobecker <brobecker@adacore.com>
11404
11405 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
11406 check test_compiler_info.
11407
dbc98a8b
KW
114082010-11-03 Ken Werner <ken.werner@de.ibm.com>
11409
11410 * gdb.base/gnu_vector.exp: Adjust expect messages.
11411
120bd360
KW
114122010-11-03 Ken Werner <ken.werner@de.ibm.com>
11413
11414 * gdb.base/gnu_vector.exp: Add unary operator tests.
11415
c37f7098
KW
114162010-11-03 Ken Werner <ken.werner@de.ibm.com>
11417
11418 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
11419
7b51bc51
DE
114202010-11-02 Doug Evans <dje@google.com>
11421
11422 * gdb.python/py-pp-maint.c: New file.
11423 * gdb.python/py-pp-maint.exp: New file.
11424 * gdb.python/py-pp-maint.py: New file.
11425
50c97f38
TT
114262010-11-02 Tom Tromey <tromey@redhat.com>
11427
11428 * gdb.base/default.exp: Remove "scheme" from language list.
11429
a289b8f6
JK
114302010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11431
11432 Revert:
11433 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11434 * gdb.threads/sigstep-threads.exp: New file.
11435 * gdb.threads/sigstep-threads.c: New file.
11436
cd017491
MS
114372010-10-20 Michael Snyder <msnyder@vmware.com>
11438
11439 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
11440
8e6a5956
UW
114412010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11442
11443 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
11444 Skip test completely if gdb,no_hardware_watchpoints.
11445
2c04da0d
UW
114462010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11447
11448 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
11449 strict, but do not check for any particular function name within libc.
11450
79afc5ef
SW
114512010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11452
11453 * gdb.cp/smartp.exp: New test.
11454 * gdb.cp/smartp.cc : New test.
11455
026ffab7
SW
114562010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11457
11458 * gdb.cp/converts.exp: Test pointer to bool conversion.
11459 Test pointer to long conversion.
11460 * gdb.cp/oranking.exp: Removed relevant kfail.
11461
3a772aa4
TT
114622010-10-18 Tom Tromey <tromey@redhat.com>
11463
11464 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
11465 argument to lazy_string.
11466 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
11467 (pp_ls.to_string): Use it.
11468 * gdb.python/py-prettyprint.c (main): Move declarations to top.
11469 Add "estring2" local.
11470
5fc3827b
JK
114712010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11472
11473 Fix s390x compatibility.
11474 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
11475 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
11476
8aeb23f3
JK
114772010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11478
11479 * gdb.threads/sigstep-threads.exp: New file.
11480 * gdb.threads/sigstep-threads.c: New file.
11481
c1e56572
JK
114822010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11483
11484 * gdb.base/pie-execl.exp: New file.
11485 * gdb.base/pie-execl.c: New file.
11486
92163a10
JK
114872010-10-13 Doug Evans <dje@google.com>
11488 Jan Kratochvil <jan.kratochvil@redhat.com>
11489
11490 PR exp/12117
11491 * gdb.cp/ptype-cv-cp.cc: New file.
11492 * gdb.cp/ptype-cv-cp.exp: New file.
11493
7062b0a0
SW
114942010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
11495
11496 * gdb.cp/converts.cc: New test program.
11497 * gdb.cp/converts.exp: New test.
11498 * gdb.cp/overload.exp: Added test for void* vs int*.
11499 * gdb.cp/overload.exp: Ditto.
11500 * gdb.cp/oranking.exp: Removed related kfail.
11501
0e3509db
DE
115022010-10-13 Doug Evans <dje@google.com>
11503
11504 * lib/gdb-python.exp (gdb_check_python_config): New function.
11505 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
11506 * gdb.python/lib-types.cc: New file.
11507 * gdb.python/lib-types.exp: New file.
11508
8dc78533
JK
115092010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11510
11511 * gdb.python/py-error.exp: New file.
11512 * gdb.python/py-error.py: New file.
11513
93c17e06
JK
115142010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11515
11516 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
11517 gdb_test_multiple.
11518
d8b34041
JK
115192010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11520
11521 * gdb.base/break-interp.exp: Use ldlags for linking flags.
11522 * gdb.base/prelink.exp: Likewise.
11523 * gdb.base/solib-nodir.exp: Likewise.
11524 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
11525 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
11526 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
11527
e0cc584e
UW
115282010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
11529
11530 * break-interp.exp (test_ld): Use two separate gdb_expect statements
11531 for the "info files" test to avoid timeouts on slow machines.
11532
cfc353b1
JK
115332010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11534
11535 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
11536 (main): Make openlib dummy call.
11537
d3d7896d
JK
115382010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11539
11540 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
11541 * break-interp.exp (reach): Move the core body ...
11542 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
11543 (test_ld): Provide always real argument, even to the linker. Replace
11544 dl_main by _dl_debug_state.
11545
5e533c94
JK
115462010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11547
11548 Fix results of prelinked PIEs on ppc*.
11549 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
11550 Accept also DISPLACEMENT "PRESENT".
11551 (main): Replace "ZERO" displacements by "PRESENT".
11552
33540610
SW
115532010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
11554
11555 * gdb.cp/oranking.exp: New test.
11556 * gdb.cp/oranking.cc: New test program.
11557
3bdf2bbd
KW
115582010-10-08 Ken Werner <ken.werner@de.ibm.com>
11559
11560 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
11561 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
11562
2f608a3a
KW
115632010-10-06 Ken Werner <ken.werner@de.ibm.com>
11564
11565 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
11566 lush, lynx) New constant.
11567 * gdb.base/constvars.exp: Test const array types.
11568 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
11569
aa2e2d8d
DE
115702010-10-06 Doug Evans <dje@google.com>
11571
11572 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
11573 of syscall staging area.
11574
2844d6b5
KW
115752010-10-06 Ken Werner <ken.werner@de.ibm.com>
11576
11577 * gdb.base/gnu_vector.c: Add variable c4.
11578 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
11579 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11580
7d8ac8bb
MR
115812010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
11582
11583 * gdb.arch/altivec-abi.exp: Fix a typo.
11584
84a02e58
MR
115852010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
11586
11587 * lib/mi-support.exp (thread_selected_re): Correct pattern used
11588 to match a thread ID.
11589
b18e6318
JK
115902010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11591
11592 Fix s390x testcase compatibility.
11593 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
11594
a2c09bd0
DE
115952010-10-01 Doug Evans <dje@google.com>
11596
11597 * lib/gdb-python.exp: New file.
11598 * gdb.python/py-block.exp: Use it.
11599 * gdb.python/py-breakpoint.exp: Ditto.
11600 * gdb.python/py-frame.exp: Ditto.
11601 * gdb.python/py-inferior.exp: Ditto.
11602 * gdb.python/py-param.exp: Ditto.
11603 * gdb.python/py-prettyprint.exp: Ditto.
11604 * gdb.python/py-shared.exp: Ditto.
11605 * gdb.python/py-symbol.exp: Ditto.
11606 * gdb.python/py-symtab.exp: Ditto.
11607 * gdb.python/py-type.exp: Ditto.
11608 * gdb.python/py-value.exp: Ditto.
11609 * gdb.python/python.exp: Ditto.
11610
38f12cfc
TT
116112010-09-30 Tom Tromey <tromey@redhat.com>
11612
11613 * gdb.base/anon.exp: New file.
11614 * gdb.base/anon.c: New file.
11615
9ae8282d
TT
116162010-09-30 Tom Tromey <tromey@redhat.com>
11617
11618 * gdb.base/completion.exp: Test completion through anonymous
11619 union.
11620 * gdb.base/break1.c (struct some_struct): Add anonymous union.
11621
e9e07ba6
JK
116222010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11623
11624 Fix printing parameters of inlined functions.
11625 * gdb.dwarf2/dw2-inline-param.exp: New file.
11626 * gdb.dwarf2/dw2-inline-param-main.c: New file.
11627 * gdb.dwarf2/dw2-inline-param.S: New file.
11628
cd2effb2
JK
116292010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11630
11631 PR corefiles/12071.
11632 * gdb.base/corefile.exp (quit with a process, no question: load core)
11633 (quit with a core file): New tests.
11634
bceffbf3
JK
116352010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11636
11637 Fix GDB crash on inferior calls with self-referencing classes.
11638 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
11639 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
11640 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
11641
1736ad11
JK
116422010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11643
11644 Fix lost siginfo_t for inferior calls.
11645 * gdb.base/siginfo-infcall.exp: New file.
11646 * gdb.base/siginfo-infcall.c: New file.
11647
a176ad92
JB
116482010-09-22 Joel Brobecker <brobecker@adacore.com>
11649
11650 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
11651
c2b0a229
JK
116522010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11653
11654 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
11655 New test.
11656 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
11657
e8ae22d1
JB
116582010-09-22 Joel Brobecker <brobecker@adacore.com>
11659
11660 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
11661 type of our const type.
11662
ec322823
SW
116632010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
11664
11665 * gdb.cp/pr12028.cc: New.
11666 * gdb.cp/pr12028.exp: New.
11667
72929c62
JB
116682010-09-22 Joel Brobecker <brobecker@adacore.com>
11669
11670 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
11671
875b4ff5 116722010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 11673 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
11674
11675 PR mi/11407
11676 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
11677 * gdb.mi/dw2-ref-missing-frame-main.c New File.
11678 * gdb.mi/dw2-ref-missing-frame.S New File.
11679 * gdb.mi/dw2-ref-missing-frame.exp New File.
11680
7155d578
TT
116812010-09-14 Tom Tromey <tromey@redhat.com>
11682
11683 PR symtab/8399:
11684 * gdb.threads/tls.exp: Remove kfail. Update expected output.
11685
515ed532
TT
116862010-09-14 Tom Tromey <tromey@redhat.com>
11687
11688 PR exp/11803:
11689 * gdb.threads/tls.exp: Use C++.
11690 (check_thread_local): Use K::another_thread_local.
11691 * gdb.threads/tls.c (class K): New.
11692 (another_thread_local): Now a member of K.
11693 (spin): Update. No longer K&R C.
11694
450ca57c
SW
116952010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
11696
11697 * gdb.cp/koenig.cc: created class for testing member lookup.
11698 * gdb.cp/koenig.exp: Added test for member lookup.
11699
dbd492a3
JK
117002010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11701
11702 Fix false FAILs on sourcetree topdir directory containing "kill".
11703 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
11704 source line matching regexp.
11705
8d4d924b
JK
117062010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11707
11708 * gdb.python/python.exp (set height 0, collect help from uiout)
11709 (verify help to uiout): New tests.
11710
8e64f2a0
JK
117112010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11712
11713 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
11714 is_lp64_target to check 64bit target.
11715
4569eed2
JK
117162010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11717
11718 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
11719 (test_ld) <powerpc64-*>: New.
11720
5e1617b1
DJ
117212010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11722
11723 * gdb.cp/templates.exp (test_template_args): Allow "struct".
11724
c767944b
DJ
117252010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11726
11727 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
11728 (FunctionArg::method): New function.
11729 (empty, arg): New variables.
11730 (main): Call arg.method.
11731 * gdb.cp/templates.exp (test_template_args): New function.
11732 (do_tests): Call it.
11733
27d3a3fc
UW
117342010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
11735
11736 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
11737 of "next" to proceed over pthread_exit call.
11738
55b7ce7f
UW
117392010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
11740
11741 * gdb.base/maint.exp: Avoid wildcards against potentially very long
11742 "maint print statistics" output to prevent expect timeouts.
11743
809df446
JK
117442010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11745
11746 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
11747 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11748 (test_float_rejected): ... here.
11749 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
11750 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11751 (test_float_rejected): ... here.
11752 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
11753 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11754 (test_float_rejected): ... here.
11755 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
11756 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11757 (test_float_rejected): ... here.
11758
8464be76
DJ
117592010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11760
11761 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
11762 before disabling hardware watchpoints.
11763 (test_inaccessible_watchpoint): Check that hardware watchpoints
11764 are used. Test for watchpoints on a constant address.
11765
14dba4b4
JK
117662010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11767
11768 * gdb.base/ui-redirect.exp: New file.
11769
3f3540e1 117702010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 11771 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
11772
11773 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
11774
0f254bb7
DE
117752010-08-31 Doug Evans <dje@google.com>
11776
11777 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
11778
03f17ccf
TT
117792010-08-30 Tom Tromey <tromey@redhat.com>
11780
11781 PR python/11792:
11782 * gdb.python/py-value.exp (test_subscript_regression): Add
11783 dynamic_type test.
11784
640617ad
DJ
117852010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
11786
11787 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
11788 instead of running to main. Do not test the main function.
11789 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
11790 Add new main.
11791
2ed91d1b
PA
117922010-08-26 Pedro Alves <pedro@codesourcery.com>
11793
11794 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
11795 one test.
11796
673bfd45
DE
117972010-08-24 Doug Evans <dje@google.com>
11798
11799 PR symtab/11942
11800 * gdb.dwarf2/dw4-sig-types.cc: New file.
11801 * gdb.dwarf2/dw4-sig-types.h: New file.
11802 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
11803 * gdb.dwarf2/dw4-sig-types.exp: New file.
11804
f9ffd4bb
TT
118052010-08-23 Tom Tromey <tromey@redhat.com>
11806
11807 PR python/11145:
11808 * gdb.python/py-value.c (Base, Derived): New types.
11809 (base): New global.
11810 * gdb.python/py-value.exp (test_subscript_regression): Add
11811 dynamic_cast test.
11812
d839c8a4
TT
118132010-08-23 Tom Tromey <tromey@redhat.com>
11814
11815 PR python/10676:
11816 * gdb.python/py-type.exp (test_fields): Add tests for type
11817 equality.
11818
702c2711
TT
118192010-08-23 Tom Tromey <tromey@redhat.com>
11820
11821 PR python/11915:
11822 * gdb.python/py-type.exp (test_fields): Add tests for array.
11823
832bafd3
KS
118242010-08-23 Keith Seitz <keiths@redhat.com>
11825
11826 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
11827 have any children. Create a new abbrev for it.
11828 Add missing terminal sequence to .debug_abbrev.
11829
c37bf528
KS
118302010-08-20 Keith Seitz <keiths@redhat.com>
11831
11832 PR symtab/11465:
11833 * gdb.dwarf2/pr11465.exp: New test.
11834 * gdb.dwarf2/pr11465.S: New file.
11835 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
11836 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
11837
4572cbac
TJB
118382010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
11839
11840 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
11841 registers. Update data sets with the new v2_double element in the
11842 VSX register union. Add vector_register3_vr data set for the AltiVec
11843 registers. Use gdb_test_no_output instead of send_gdb.
11844
e7fbb131
PA
118452010-08-19 Pedro Alves <pedro@codesourcery.com>
11846
11847 * gdb.python/py-shared.exp: New file, factored out from
11848 python.exp.
11849 * gdb.python/py-shared.c: New file.
11850 * gdb.python/py-shared-sl.c: New file.
11851 * gdb.python/python-1.c: New file.
11852 * gdb.python/python-sl.c: Delete.
11853 * gdb.python/python.c: Mention python-1.c.
11854 * gdb.python/python.exp: Move shared library tests to
11855 py-shared.exp.
11856 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
11857 (MISCELLANEOUS): New.
11858 (clean mostlyclean): Also remove $MISCELLANEOUS.
11859
d30f5e1f
DE
118602010-08-19 Doug Evans <dje@google.com>
11861
11862 PR exp/11926
11863 * gdb.base/printcmds.exp (test_float_accepted): New function.
11864 Move existing float tests there. Add tests for floats with suffixes.
11865 (test_float_rejected): New function.
11866 * gdb.java/jv-print.exp (test_float_accepted): New function.
11867 (test_float_rejected): New function.
11868 * gdb.objc/print.exp: New file.
11869 * gdb.pascal/print.exp: New file.
11870 * lib/objc.exp: New file.
11871
7b3fd859
PM
118722010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
11873
11874 * gdb.base/default.exp (info set): Avoid full buffer error and force
11875 reading up to final gdb prompt.
11876 (show): Likewise.
11877
c92817ce
TT
118782010-08-18 Tom Tromey <tromey@redhat.com>
11879
11880 PR symtab/11919:
11881 * gdb.base/completion.exp: Add test.
11882
f1208f9e
DE
118832010-08-18 Doug Evans <dje@google.com>
11884
11885 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
11886 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
11887 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
11888 Simplify, early exit if runto_main fails.
11889 * gdb.fortran/exprs.exp: load_lib fortran.exp.
11890 (set_lang_fortran): Moved to lib/fortran.exp.
11891 * gdb.fortran/types.exp: load_lib fortran.exp.
11892 (set_lang_fortran): Moved to lib/fortran.exp.
11893 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
11894 * gdb.java/jprint.exp (set_lang_java): Ditto.
11895 * gdb.java/jv-exp.exp: load_lib java.exp.
11896 If set_lang_java fails, issue a warning instead of failure to be
11897 consistent with other set_lang_foo uses.
11898 (set_lang_java): Moved to lib/java.exp.
11899 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
11900 If set_lang_java fails, issue a warning instead of failure to be
11901 consistent with other set_lang_foo uses.
11902 * gdb.pascal/types.exp: load_lib pascal.exp.
11903 (set_lang_pascal): Moved to lib/pascal.exp.
11904 * lib/fortran.exp: New file.
11905 * lib/java.exp (set_lang_java): New function.
11906 * lib/pascal.exp (set_lang_pascal): New function.
11907
2f06b485
YQ
119082010-08-18 Yao Qi <yao@codesourcery.com
11909
11910 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
11911 func_nofb_start and func_loopfb_start, so that address of functions
11912 is equal to these labels on Thumb.
11913
96e25403
YQ
119142010-08-18 Yao Qi <yao@codesourcery.com>
11915
11916 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
11917 to reflect latest c source file.
11918
36e6adc4
JK
119192010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11920
11921 * gdb.cp/infcall-dlopen.exp: New file.
11922 * gdb.cp/infcall-dlopen.cc: New file.
11923 * gdb.cp/infcall-dlopen-lib.cc: New file.
11924
f431efe5
PA
119252010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11926 Pedro Alves <pedro@codesourcery.com>
11927
11928 PR breakpoints/11371
11929
11930 * gdb.base/watch-cond-infcall.exp: New file.
11931 * gdb.base/watch-cond-infcall.c: New file.
11932
06a64a0b
TT
119332010-08-16 Tom Tromey <tromey@redhat.com>
11934
11935 * gdb.base/help.exp: Update.
11936 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
11937 watchpoint.
11938 (test_watch_location): New proc.
11939 (test_watchpoint_in_big_blob): Delete watchpoint.
11940 * gdb.base/watchpoint.c (func5): New function.
11941 (main): Call it.
11942
70ebf4ed
DE
119432010-08-16 Doug Evans <dje@google.com>
11944
11945 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
11946
ca5c20b6
PM
119472010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11948
11949 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
11950 tests.
11951
7346b668
KW
119522010-08-11 Ken Werner <ken.werner@de.ibm.com>
11953
11954 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
11955 * gdb.base/gnu_vector.c: New File.
11956 * gdb.base/gnu_vector.exp: Likewise.
11957
cb2e07a6
PM
119582010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11959
11960 * gdb.python/python.c: New File.
11961 * gdb.python/python-sl.c: New File.
11962 * gdb.python/python.exp: Test solib_address and decode_line
11963 * functions.
11964
5da1313b
JK
119652010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11966
11967 * gdb.python/python.exp (show height, set height 10)
11968 (verify pagination beforehand, verify pagination beforehand: q)
11969 (gdb.execute does not page, verify pagination afterwards)
11970 (verify pagination afterwards: q): New.
11971
49c3ccf7
DE
119722010-08-02 Doug Evans <dje@google.com>
11973
11974 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
11975 because of an older gcc, change test2
11976 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
11977 to unsupported.
11978
42c0c4f1
KH
119792010-07-30 Kazu Hirata <kazu@codesourcery.com>
11980
11981 * gdb.base/break-always.exp: Do not expect full paths to file
11982 names.
11983 * gdb.base/commands.exp: Likewise.
11984
d3765805
DE
119852010-07-30 Doug Evans <dje@google.com>
11986
c98ee71b
DE
11987 * gdb.cp/temargs.exp: For new tests that require newer gccs,
11988 xfail them when run with older gccs.
11989
fd961404
DE
11990 * lib/gdb.exp (build_executable): Forward "c++" option to
11991 get_compiler_info.
11992
999adef4
DE
11993 * gdb.python/py-type.exp (test_template): Mark as xfail tests
11994 "python print ttype.template_argument(1)" and
11995 "python print isinstance(ttype.template_argument(1), gdb.Value)"
11996 if using gcc 4.4 or earlier.
11997
d3765805
DE
11998 * gdb.base/valgrind-db-attach.exp: Use unique test name for
11999 attach-to-debugger handling.
12000
1276c759
JK
120012010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12002
12003 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
12004 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
12005 (main): Use copyreloc.
12006 * gdb.base/prelink.exp (split debug of executable)
12007 (.dynbss vs. .bss address shift): New tests.
12008
88caa9b9
PA
120092010-07-29 Pedro Alves <pedro@codesourcery.com>
12010
12011 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
12012 in gdb_test_multiple.
12013
c6f2ac43
PA
120142010-07-29 Pedro Alves <pedro@codesourcery.com>
12015
12016 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
12017 environment.
12018
326fd672
TT
120192010-07-28 Tom Tromey <tromey@redhat.com>
12020
12021 PR python/11060:
12022 * gdb.python/py-type.c (Temargs): New template.
12023 (temvar): New variable.
12024 * gdb.python/py-type.exp (test_template): New proc.
12025
3ce3b1ba
PA
120262010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12027
12028 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
12029 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
12030
34eaf542
TT
120312010-07-28 Tom Tromey <tromey@redhat.com>
12032
12033 PR c++/9946:
12034 * gdb.cp/temargs.exp: New file.
12035 * gdb.cp/temargs.cc: New file.
12036
d41b819e
JK
120372010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12038
12039 * gdb.base/help.exp (help disassemble): Update the content.
12040
26ab7092
JK
120412010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12042
12043 * gdb.threads/ia64-sigill.exp: New file.
12044 * gdb.threads/ia64-sigill.c: New file.
12045
5283e9e1
TT
120462010-07-27 Tom Tromey <tromey@redhat.com>
12047
12048 * gdb.opt/inline-cmds.c (ATTR): New define.
12049 (func1): Use it.
12050 (func2): Likewise.
12051 (func3): Likewise.
12052 (outer_inline1): Likewise.
12053 (outer_inline2): Likewise.
12054 * gdb.opt/inline-bt.c (ATTR): New define.
12055 (func1): Use it.
12056 (func2): Likewise.
12057 * gdb.opt/inline-locals.c (ATTR): New define.
12058 (func1): Use it.
12059 (func2): Likewise.
12060
e992ef73
TT
120612010-07-27 Tom Tromey <tromey@redhat.com>
12062
12063 * gdb.stabs/gdb11479.c (hack): New function.
12064 (test): Use it.
12065 (test2): Use it.
12066 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
12067 (int32_search_buf, int64_search_buf): No longer static.
12068 (x): Remove.
12069 * gdb.base/relocate.c (hack): New function.
12070
5374244e
PM
120712010-07-27 Phil Muldoon <pmuldoon@redhat.com>
12072
12073 * gdb.python/py-value.exp (test_inferior_function_call): New function.
12074 * gdb.python/py-value.c (func1): New function.
12075 (func2): Likewise.
12076
a99aee83
CV
120772010-07-26 Corinna Vinschen <vinschen@redhat.com>
12078
12079 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
12080 as not to clash with .data section.
12081
a04ba985
JG
120822010-07-26 Jerome Guitton <guitton@adacore.com>
12083
12084 * gdb.base/code_elim.exp: New file.
12085 * gdb.base/code_elim1.c: New file.
12086 * gdb.base/code_elim2.c: New file.
12087
23bd0f7c
PA
120882010-07-21 Pedro Alves <pedro@codesourcery.com>
12089
12090 PR symtab/11827
12091
12092 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
12093 (some_volatile_enum): New variable.
12094 * gdb.base/printcmds.exp (test_print_enums): New.
12095 <top level>: Call it.
12096
883df6dd
SW
120972010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
12098
12099 * gdb.cp/fpointer.cc: New test.
12100 * gdb.cp/fpointer.exp: New test.
12101
569b05a5
JK
121022010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12103
12104 * gdb.base/solib-nodir.exp: New file.
12105 * lib/gdb.exp (runto): New case for a GDB internal error.
12106
51d7d803
JK
121072010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12108 Ulrich Weigand <uweigand@de.ibm.com>
12109 Tom Tromey <tromey@redhat.com>
12110
12111 * gdb.base/charset-malloc.c: New file.
12112 * gdb.base/charset.c (malloc_stub): New prototype.
12113 (main): Call it instead of malloc itself.
12114 * gdb.base/charset.exp: Use only prepare_for_testing.
12115 (binfile): Remove the variable.
12116
c0edd9ed
JK
121172010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12118
12119 Make core files the process_stratum.
12120 * gdb.base/corefile.exp (run: load core again)
12121 (run: sanity check we see the core file, run: with core)
12122 (run: core file is cleared, attach: load core again)
12123 (attach: sanity check we see the core file, attach: with core)
12124 (attach: core file is cleared): New tests.
12125 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
12126
3cbaedff
KW
121272010-07-14 Ken Werner <ken.werner@de.ibm.com>
12128
12129 * gdb.arch/altivec-abi.exp: New tests.
12130
91158a56
TT
121312010-07-13 Tom Tromey <tromey@redhat.com>
12132
12133 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
12134 (main): Use it.
12135 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
12136
0f5238ed
TT
121372010-07-13 Tom Tromey <tromey@redhat.com>
12138
12139 * gdb.base/label.exp: New file.
12140 * gdb.base/label.c: New file.
12141
add265ae
L
121422010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
12143 H.J. Lu <hongjiu.lu@intel.com>
12144
12145 * lib/gdb.exp (is_ilp32_target): New.
12146 (is_lp64_target): Likewise.
12147
12148 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
12149 target.
12150 * gdb.arch/amd64-disp-step.exp: Likewise.
12151 * gdb.arch/amd64-dword.exp: Likewise.
12152 * gdb.arch/amd64-i386-address.exp: Likewise.
12153 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 12154
add265ae
L
12155 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
12156 target.
12157 * gdb.arch/i386-bp_permanent.exp: Likewise.
12158 * gdb.arch/i386-byte.exp: Likewise.
12159 * gdb.arch/i386-disp-step.exp: Likewise.
12160 * gdb.arch/i386-gnu-cfi.exp: Likewise.
12161 * gdb.arch/i386-prologue.exp: Likewise.
12162 * gdb.arch/i386-size-overlap.exp: Likewise.
12163 * gdb.arch/i386-size.exp: Likewise.
12164 * gdb.arch/i386-sse.exp: Likewise.
12165 * gdb.arch/i386-unwind.exp: Likewise.
12166 * gdb.arch/i386-word.exp: Likewise.
12167
12168 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
12169 test only when building 64-bit executables. Do not hard-code
12170 -m64 option.
12171
2dfb8c17
DE
121722010-07-07 Doug Evans <dje@google.com>
12173
12174 * lib/gdb.exp (gdb_test_list_exact): New function.
12175 * gdb.base/default.exp (show convenience): Call it, add tests for
12176 $_sdata = void, $_thread = 0.
12177
4e5799b6
JK
121782010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12179 Joel Brobecker <brobecker@adacore.com>
12180
12181 Fix re-run of PIE executable, PR shlibs/11776.
12182 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
12183 Remove $displacement_main to match the solib-svr4.c change. New "kill"
12184 and re-"run" of the inferior.
12185
1a219cc7
JK
121862010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12187 Joel Brobecker <brobecker@adacore.com>
12188
12189 Cope with missing /usr/sbin/prelink.
12190 * lib/prelink-support.exp (prelink_no):
12191 <result == 1 && $output is "no such file or directory">: New.
12192 (prelink_yes): Likewise. Return on failed prelink_no.
12193
5e3b36f8
JK
121942010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12195 Joel Brobecker <brobecker@adacore.com>
12196
12197 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
12198 build_executable by build_executable_own_libs. Replace "prelink -R"
12199 execution by a call of prelink_yes. Comment why "prelink -r" needs no
12200 change.
12201 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
12202 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
12203 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
12204 Replace build_executable by build_executable_own_libs's function
12205 build_executable_own_libs.
12206 (prelinkNO): Create new stub to call prelink_no.
12207 (prelinkYES): Create new stub to call prelink_yes.
12208 (test_attach): Rename calls of copy to file_copy.
12209 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
12210 (copy): Move to ...
12211 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
12212 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
12213 * gdb.base/prelink.exp: Disable testcase also for is_remote and
12214 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
12215 special flags by gdb_compile_shlib. Replace second gdb_compile by
12216 build_executable_own_libs. Replace "prelink -R" execution by a call of
12217 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
12218 a second call of prelink_yes. Replace restart commands by
12219 clean_restart.
12220 (prelink): Rename to ...
12221 (seen displacement message): ... this test. Extend its expectation
12222 strictness.
12223
86e4bafc
JK
122242010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12225
12226 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
12227 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
12228 displacement message exactly once.
12229
3cd07d20
JK
122302010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12231 Joel Brobecker <brobecker@adacore.com>
12232
12233 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
12234 its restore after the <$relink_args != ""> loop. new comment.
12235
0a1e94c7
JK
122362010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12237 Joel Brobecker <brobecker@adacore.com>
12238
12239 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
12240 code for it. New variable relink_args.
12241 (prelinkYES): Call prelinkNO.
12242 (test_attach): Accept new parameter relink_args. Re-prelink the binary
12243 in such case. Move the core code to ...
12244 (test_attach_gdb): ... a new function. Send GDB command "file".
12245 Extend expected "Attaching to " string.
12246
2f70bcfb
TT
122472010-07-02 Tom Tromey <tromey@redhat.com>
12248
12249 * gdb.base/bitops.exp: Remove extraneous "pass".
12250
a17ac5b0
TT
122512010-07-02 Ken Werner <ken.werner@de.ibm.com>
12252
12253 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
12254
dc10affe
PA
122552010-07-01 Pedro Alves <pedro@codesourcery.com>
12256
d41c0fc8
PA
12257 * gdb.base/help.exp: Adjust expected output.
12258
122592010-07-01 Pedro Alves <pedro@codesourcery.com>
12260
12261 * gdb.base/help.exp: Adjust expected output.
dc10affe 12262
0a600c36
JK
122632010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12264
12265 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
12266 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
12267 c++/11702.
12268
37cc8bfe
JK
122692010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12270 Doug Evans <dje@google.com>
12271
12272 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
12273 add .dynamic entry'.
12274
254e6b9e
DE
122752010-06-29 Doug Evans <dje@google.com>
12276
12277 Test PR c++/11702.
12278 * gdb.cp/m-static.exp: Add testcase.
12279 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
12280
595939de 122812010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
12282 Tom Tromey <tromey@redhat.com>
12283 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
12284
12285 * gdb.python/py-inferior.c: New File.
12286 * gdb.python/py-infthread.c: New File.
12287 * gdb.python/py-inferior.exp: New File.
12288 * gdb.python/py-infthread.exp: New File.
12289
98751a41
JK
122902010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12291
12292 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
12293 (ptype ::C::OtherFileClass typedefs): New.
12294 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
12295 (C::OtherFileClass::cOtherFileClassVar2): New.
12296 (C::OtherFileClass::cOtherFileClassVar_use): Use also
12297 cOtherFileClassVar2.
12298 (C::cOtherFileType2, C::cOtherFileVar2): New.
12299 (C::cOtherFileVar_use): use also cOtherFileVar2.
12300 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
12301
41f62f39
JK
123022010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12303
12304 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
12305 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
12306 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
12307 (print ::C::cOtherFileVar)
12308 (whatis C::OtherFileClass::cOtherFileClassType)
12309 (whatis ::C::OtherFileClass::cOtherFileClassType)
12310 (print C::OtherFileClass::cOtherFileClassVar)
12311 (print ::cOtherFileClassVar)
12312 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
12313 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
12314 trailing content.
12315 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
12316 (C::OtherFileClass::cOtherFileClassVar)
12317 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
12318 (C::cOtherFileVar, C::cOtherFileVar_use): New.
12319
af53d231
JK
123202010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12321
12322 Test PR c++/11703 and PR gdb/1448.
12323 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
12324 gdb/1448.
12325
9655fd1a
JK
123262010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12327
12328 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
12329 (main) <rtti_data>: New.
12330 * gdb.cp/virtbase.exp (print rtti_data): New.
12331
824cc8dd
JK
123322010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12333 Joel Brobecker <brobecker@adacore.com>
12334
12335 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
12336
6036c742
JK
123372010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12338
12339 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
12340
de6a0421
DE
123412010-06-28 Doug Evans <dje@google.com>
12342
12343 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
12344
b2dae948
DE
123452010-06-27 Doug Evans <dje@google.com>
12346
12347 * gdb.cp/m-static.exp: Update expected test output.
12348
0f3bb72e
PH
123492010-06-25 Paul Hilfinger <hilfinger@adacore.com>
12350
889bf7c5
PA
12351 * gdb.gdb/selftest.exp: Adjust expected message for
12352 capturing start-up runtime.
0f3bb72e 12353
bc9f0842
TT
123542010-06-25 Tom Tromey <tromey@redhat.com>
12355
12356 PR python/10808:
12357 * gdb.python/python.exp: Add new tests.
12358
099ef718
SW
123592010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
12360
12361 * gdb.cp/operator.cc: Created an import loop.
12362 * gdb.cp/operator.exp: Added testcase for import loop.
12363
5868a632
JK
123642010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12365
12366 Test PR python/11407.
12367 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
12368 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
12369 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
12370 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
12371 executable_nofb and executable_fb. New variables srcsfile, objsfile,
12372 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
12373 binfile. Call gdb_compile with clean_restart twice.
12374 (func_nofb print, func_nofb backtrace, func_loopfb print)
12375 (func_loopfb backtrace): New.
12376
af76db58
JK
123772010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12378
12379 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
12380 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
12381 by a hand made one.
12382 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
12383 i?86 requirement. Remove variables srcfile and binfile. New variable
12384 sources, executable_nofb and executable_fb. Call prepare_for_testing.
12385
f2c7657e
UW
123862010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12387
12388 * gdb.cell/dwarfaddr.exp: New file.
12389 * gdb.cell/dwarfaddr.S: New file.
12390
628fe4e4
JK
123912010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12392
12393 Test PR 9436.
12394 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
12395
f1421989
HZ
123962010-06-24 Hui Zhu <teawater@gmail.com>
12397
12398 * gdb.base/eval.exp: New file.
12399
d03285ec
UW
124002010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12401
12402 * gdb.cell/fork.exp: New file.
12403 * gdb.cell/fork.c: Likewise.
12404 * gdb.cell/fork-spu.c: Likewise.
12405
41b2c92d
PM
124062010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
12407
12408 * lib/gdb.exp (banned_variables_traced): New global variable.
12409 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
12410 (gdb_init): Use `trace add variable' instead of obsolete
12411 `trace variable'.
12412
d5bc977f
DE
124132010-06-21 Doug Evans <dje@google.com>
12414
12415 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
12416
d2ed6730
UW
124172010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12418
12419 * gdb.arch/spu-ls.exp: New file.
12420 * gdb.arch/spu-ls.c: Likewise.
12421
6aed2dbc
SS
124222010-06-18 Stan Shebs <stan@codesourcery.com>
12423
12424 * gdb.threads/thread-specific.exp: Add tests of $_thread.
12425
e0756905
UW
124262010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12427
12428 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
12429 * gdb.base/watch-cond.exp: Likewise.
12430 * gdb.python/py-breakpoint.exp: Likewise.
12431
d8053d4d
PA
124322010-06-18 Pedro Alves <pedro@codesourcery.com>
12433
12434 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
12435 clean_restart, make sure every test has a distinct message, and
12436 that messages don't include the executable' full path.
12437
81ce510c
DE
124382010-06-17 Doug Evans <dje@google.com>
12439
12440 * gdb.arch/i386-size.exp: Updated expected output for
12441 DISASSEMBLY_OMIT_FNAME.
12442
65d79d4b
SDJ
124432010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12444 Sergio Durigan Junior <sergiodj@redhat.com>
12445
12446 * gdb.base/watch-notconst.c: New file.
12447 * gdb.base/watch-notconst.S: New file.
12448 * gdb.base/watch-notconst2.c: New file.
12449 * gdb.base/watch-notconst2.S: New file.
12450 * gdb.base/watch-notconst.exp: New file.
12451 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
12452 (func4): Add operations on `global_ptr_ptr'.
12453 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
12454 routine to test watchpoints created with a constant expression.
12455 (test_inaccessible_watchpoint): Include tests for watchpoints
12456 created with a constant expression.
12457
df0f4836
KB
124582010-06-14 Kevin Buettner <kevinb@redhat.com>
12459
12460 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12461 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
12462 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
12463 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
12464 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12465 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12466 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
12467 of `_start'.
12468
b769def5
UW
124692010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12470
12471 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
12472 not supported on the target.
12473 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12474 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12475 * gdb.mi/mi-nsintrall.exp: Likewise.
12476 * gdb.mi/mi-nsmoribund.exp: Likewise.
12477 * gdb.mi/mi-nsthrexec.exp: Likewise.
12478
d914c394
SS
124792010-06-11 Stan Shebs <stan@codesourcery.com>
12480
12481 * gdb.base/permissions.exp: New file.
12482
124832010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
12484
12485 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
12486 does not support ELF executable class.
12487
f3ce5b9c
UW
124882010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12489
12490 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
12491
8e46892c
JK
124922010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12493
12494 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
12495 (runto): Catch "The target does not support running in non-stop mode.".
12496
6cc55c64
MS
124972010-06-11 Michael Snyder <msnyder@vmware.com>
12498
12499 * gdb.base/setshow.exp (set language asm): Don't use
12500 gdb_test_no_output, fails on some targets.
12501
caddefa4
UW
125022010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12503
12504 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
12505 * gdb.cp/pr9167.exp: Likewise.
12506
468b1aa7
UW
125072010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12508
12509 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
12510
5c3552dc
UW
125112010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12512
12513 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
12514
02e6fe6a
UW
125152010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12516
12517 * gdb.base/charset.c (main): Make sure malloc gets linked in.
12518
0e03807e
TT
125192010-06-11 Tom Tromey <tromey@redhat.com>
12520
12521 PR gdb/9977, PR exp/11636::
12522 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
12523 (pieces_test_f6): Update expected output.
12524
2bdf28a0
JK
125252010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12526
12527 * gdb.base/moribund-step.exp: New.
12528
f6978de9
MS
125292010-06-08 Michael Snyder <msnyder@vmware.com>
12530
12531 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 12532 * gdb.ada/boolean_expr.exp:
f6978de9
MS
12533 * gdb.ada/frame_args.exp: Ditto.
12534 * gdb.ada/lang_switch.exp: Ditto.
12535 * gdb.ada/ptype_arith_binop.exp: Ditto.
12536 * gdb.ada/ref_param.exp: Ditto.
12537 * gdb.ada/type_coercion.exp:Ditto.
12538
12539 * gdb.asm/asm-source.exp: Ditto.
12540
12541 * gdb.base/attach.exp: Ditto.
12542 * gdb.base/bitfields2.exp: Ditto.
12543 * gdb.base/call-signal-resume.exp: Ditto.
12544 * gdb.base/callfuncs.exp: Ditto.
12545 * gdb.base/commands.exp: Ditto.
12546 * gdb.base/dbx.exp: Ditto.
12547 * gdb.base/default.exp: Ditto.
12548 * gdb.base/dump.exp: Ditto.
12549 * gdb.base/exprs.exp: Ditto.
12550 * gdb.base/freebpcmd.exp: Ditto.
12551 * gdb.base/interrupt.exp: Ditto.
12552 * gdb.base/list.exp: Ditto.
12553 * gdb.base/long_long.exp: Ditto.
12554 * gdb.base/maint.exp: Ditto.
12555 * gdb.base/ptype.exp: Ditto.
12556 * gdb.base/return.exp: Ditto.
12557 * gdb.base/setshow.exp: Ditto.
12558 * gdb.base/sigbpt.exp: Ditto.
12559 * gdb.base/sigrepeat.exp: Ditto.
12560
12561 * gdb.cp/classes.exp: Ditto.
12562
12563 * gdb.dwarf2/dw2-restore.exp: Ditto.
12564
12565 * gdb.gdb/selftest.exp: Ditto.
12566
12567 * gdb.multi/base.exp: Ditto.
12568 * gdb.multi/bkpt-multi-exec.exp: Ditto.
12569
12570 * gdb.python/py-block.exp: Ditto.
12571 * gdb.python/py-prettyprint.exp: Ditto.
12572 * gdb.python/py-template.exp: Ditto.
12573
12574 * gdb.server/ext-attach.exp: Ditto.
12575 * gdb.server/ext-run.exp: Ditto.
12576 * gdb.server/server-mon.exp: Ditto.
12577
12578 * gdb.threads/fork-thread-pending.exp: Ditto.
12579 * gdb.threads/hand-call-in-threads.exp: Ditto.
12580 * gdb.threads/interrupted-hand-call.exp: Ditto.
12581 * gdb.threads/linux-dp.exp: Ditto.
12582 * gdb.threads/manythreads.exp: Ditto.
12583 * gdb.threads/print-threads.exp: Ditto.
12584 * gdb.threads/pthreads.exp: Ditto.
12585 * gdb.threads/schedlock.exp: Ditto.
12586 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12587 * gdb.threads/threadapply.exp: Ditto.
12588
de7ff789
MS
125892010-06-08 Michael Snyder <msnyder@vmware.com>
12590
889bf7c5 12591 * gdb.ada/exec_changed.exp:
de7ff789
MS
12592 Use ".*" instead of "" as wildcard regexp.
12593
12594 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
12595 * gdb.base/call-ar-st.exp: Ditto.
12596 * gdb.base/checkpoint.exp: Ditto.
12597 * gdb.base/default.exp: Ditto.
12598 * gdb.base/dump.exp: Ditto.
12599 * gdb.base/ending-run.exp: Ditto.
12600 * gdb.base/fileio.exp: Ditto.
12601 * gdb.base/miscexprs.exp: Ditto.
12602 * gdb.base/pointers.exp: Ditto.
12603 * gdb.base/readline.exp: Ditto.
12604 * gdb.base/reread.exp: Ditto.
12605 * gdb.base/restore.exp: Ditto.
12606 * gdb.base/shlib-call.exp: Ditto.
12607 * gdb.base/valgrind-db-attach.exp: Ditto.
12608 * gdb.base/volatile.exp: Ditto.
12609 * gdb.base/watchpoints.exp: Ditto.
12610
12611 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
12612
12613 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
12614 * gdb.python/py-value.exp: Ditto.
12615
12616 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
12617 * gdb.trace/circ.exp: Ditto.
12618 * gdb.trace/collection.exp: Ditto.
12619 * gdb.trace/packetlen.exp: Ditto.
12620 * gdb.trace/passc-dyn.exp: Ditto.
12621 * gdb.trace/report.exp: Ditto.
12622 * gdb.trace/tfile.exp: Ditto.
12623 * gdb.trace/tfind.exp: Ditto.
12624 * gdb.trace/while-dyn.exp: Ditto.
12625
3bebe2f2
JK
126262010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12627
12628 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
12629
5c631832
JK
126302010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12631
12632 Test PR 10640.
12633 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
12634
4c3376c8
SW
126352010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
12636
12637 * gdb.cp/koenig.exp: Test for ADL operators.
12638 * gdb.cp/koenig.cc: Added ADL operators.
12639 * gdb.cp/operator.exp: New test.
12640 * gdb.cp/operator.cc: New test.
12641
dc226d5a
MS
126422010-06-04 Michael Snyder <msnyder@vmware.com>
12643
dfb88a23
MS
12644 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
12645 * gdb.base/pending.exp: Ditto.
f7ae76b3 12646
dc226d5a
MS
12647 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
12648
967cf477
DE
126492010-06-04 Doug Evans <dje@google.com>
12650
12651 * gdb.python/py-prettyprint.exp: Add new test for enabled and
12652 disabled printers.
12653 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
12654 (enable_lookup_function): New function.
12655
eb801841
TT
126562010-06-04 Tom Tromey <tromey@redhat.com>
12657
12658 * gdb.python/py-value.exp (test_value_hash): Don't test equality
12659 of hash and id.
12660
38979823
JK
126612010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12662
12663 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
12664 newline.
12665 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
12666 (empty verbose non-noisy clear, empty verbose noisy clear)
12667 (empty non-verbose noisy clear): Likewise.
12668
35ec993f
MS
126692010-06-03 Michael Snyder <msnyder@vmware.com>
12670
12671 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
12672 * gdb.base/display.exp: Ditto.
12673 * gdb.base/find.exp: Ditto.
12674 * gdb.base/ifelse.exp: Ditto.
12675 * gdb.base/multi-forks.exp: Ditto.
12676 * gdb.base/recurse.exp: Ditto.
12677 * gdb.base/setshow.exp: Ditto.
12678 * gdb.base/value-double-free.exp: Ditto.
12679 * gdb.base/watch-vfork.exp: Ditto.
12680 * gdb.base/watch_thread_num.exp: Ditto.
12681 * gdb.base/watchpoint-solib.exp: Ditto.
12682 * gdb.base/watchpoint.exp: Ditto.
12683 * gdb.base/watchpoints.exp: Ditto.
12684
12685 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
12686 * gdb.cp/overload.exp: Ditto.
12687 * gdb.cp/virtfunc.exp: Ditto.
12688
12689 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
12690
889bf7c5 12691 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
12692 Replace gdb_test with gdb_test_no_output.
12693
889bf7c5 12694 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
12695 Replace gdb_test with gdb_test_no_output.
12696 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
12697 * gdb.threads/watchthreads.exp: Ditto.
12698 * gdb.threads/watchthreads2.exp: Ditto.
12699
12700 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
12701 * gdb.trace/tfind.exp: Ditto.
12702
c22decce
JB
127032010-06-03 Joel Brobecker <brobecker@adacore.com>
12704
12705 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
12706 successful test if message is the empty string.
12707
fd5700c7
JK
127082010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12709
12710 * gdb.fortran/module.exp (stopped language detection): New test.
12711
f55ee35c
JK
127122010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12713
12714 Support DW_TAG_module as separate namespaces.
12715 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
12716 gdb.fortran/library-module-lib.f90: New.
12717 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
12718 (print i): Remove.
12719 (continue to breakpoint: i-is-1, print var_i value 1)
12720 (continue to breakpoint: i-is-2, print var_i value 2)
12721 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
12722 (print var_d, print var_i value 14, ptype modmany, complete `modm)
12723 (complete `modmany, complete `modmany`, complete `modmany`var)
12724 (show language, setting breakpoint at module): New tests.
12725 * gdb.fortran/module.f90 (module mod): Remove.
12726 (module mod1, module mod2, module modmany, subroutine sub1)
12727 (subroutine sub2, program module): New.
12728
b8e8282f
JK
127292010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12730
12731 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
12732 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
12733 * gdb.cp/anon-union.exp (pass): Rename to ...
12734 (print z 2): ... here.
b8e8282f 12735
019ebafc
MS
127362010-06-02 Michael Snyder <msnyder@vmware.com>
12737
e68d8fd4
MS
12738 * gdb.trace/actions.exp: Use gdb_test_no_output.
12739 * gdb.trace/circ.exp: Ditto.
12740 * gdb.trace/packetlen.exp: Ditto.
12741 * gdb.trace/save-trace.exp: Ditto.
12742 * gdb.trace/tracecmd.exp: Ditto.
12743 * gdb.trace/tsv.exp: Ditto.
12744
12b5d08a
MS
12745 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
12746 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
12747 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
12748 * gdb.threads/manythreads.exp: Ditto.
12749 * gdb.threads/print-threads.exp: Ditto.
12750 * gdb.threads/pthreads.exp: Ditto.
12751 * gdb.threads/schedlock.exp: Ditto.
12752 * gdb.threads/staticthreads.exp: Ditto.
12753 * gdb.threads/thread-specific.exp: Ditto.
12754 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12755 * gdb.threads/threadapply.exp: Ditto.
12756 * gdb.threads/watchthreads.exp: Ditto.
12757 * gdb.threads/watchthreads2.exp: Ditto.
12758
89493308
MS
12759 * gdb.python/py-block.exp: Use gdb_test_no_output.
12760 * gdb.python/py-prettyprint.exp: Ditto.
12761 * gdb.python/py-template.exp: Ditto.
12762 * gdb.python/py-value.exp: Ditto.
12763
12764 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
12765 * gdb.reverse/watch-reverse.exp: Ditto.
12766
12767 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
12768 * gdb.server/ext-run.exp: Ditto.
12769
019ebafc
MS
12770 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
12771 * gdb.dwarf2/dw2-compressed.exp: Ditto.
12772 * gdb.dwarf2/dw2-intercu.exp: Ditto.
12773 * gdb.dwarf2/dw2-intermix.exp: Ditto.
12774 * gdb.dwarf2/dw2-producer.exp: Ditto.
12775 * gdb.dwarf2/mac-fileno.exp: Ditto.
12776
12777 * gdb.gdb/observer.exp: Use gdb_test_no_output.
12778 * gdb.gdb/selftest.exp: Ditto.
12779
12780 * gdb.multi/base.exp: Use gdb_test_no_output.
12781
12782 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
12783
3e0ca3a5
JK
127842010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12785
12786 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
12787
9db70545
MS
127882010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
12789
a8d52276
MS
12790 * gdb.cp/class2.exp: Use gdb_test_no_output.
12791 * gdb.cp/classes.exp: Ditto.
12792 * gdb.cp/extern-c.exp: Ditto.
12793 * gdb.cp/inherit.exp: Ditto.
12794 * gdb.cp/maint.exp: Ditto.
12795 * gdb.cp/mb-inline.exp: Ditto.
12796 * gdb.cp/mb-templates.exp: Ditto.
12797 * gdb.cp/method2.exp: Ditto.
12798 * gdb.cp/misc.exp: Ditto.
12799 * gdb.cp/ovldbreak.exp: Ditto.
12800 * gdb.cp/punctuator.exp: Ditto.
12801 * gdb.cp/templates.exp: Ditto.
12802 * gdb.cp/virtbase.exp: Ditto.
12803
889bf7c5 12804 * gdb.threads/attach-stopped.exp:
9db70545 12805 Replace uses of send_gdb / gdb_expect.
889bf7c5 12806 * gdb.threads/attachstop-mt.exp:
9db70545 12807 Replace uses of send_gdb / gdb_expect.
889bf7c5 12808 * gdb.threads/gcore-thread.exp:
9db70545 12809 Replace uses of send_gdb / gdb_expect.
889bf7c5 12810 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
12811 Replace uses of send_gdb / gdb_expect.
12812 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 12813 * gdb.threads/print-threads.exp:
9db70545
MS
12814 Replace uses of send_gdb / gdb_expect.
12815 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
12816 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
12817 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
12818
12819 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
12820 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
12821 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
12822 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
12823 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
12824 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
12825 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
12826 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
12827 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
12828 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
12829 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
12830
359cc68c
JK
128312010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12832
12833 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
12834
7d3fe98e
SW
128352010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
12836
12837 * gdb.cp/koenig.exp: Added new test case.
12838 * gdb.cp/koenig.cc: Ditto.
12839
27d3a1a2
MS
128402010-06-01 Michael Snyder <msnyder@vmware.com>
12841
12842 * gdb.base/arithmet.exp: Use gdb_test_no_output.
12843 * gdb.base/arrayidx.exp: Ditto.
12844 * gdb.base/attach.exp: Ditto.
12845 * gdb.base/auxv.exp: Ditto.
12846 * gdb.base/bigcre.exp: Ditto.
12847 * gdb.base/break-always.exp: Ditto.
12848 * gdb.base/break-interp.exp: Ditto.
12849 * gdb.base/break.exp: Ditto.
12850 * gdb.base/breakpoint-shadow.exp: Ditto.
12851 * gdb.base/call-ar-st.exp: Ditto.
12852 * gdb.base/call-sc.exp: Ditto.
12853 * gdb.base/call-signal-resume.exp: Ditto.
12854 * gdb.base/callfuncs.exp: Ditto.
12855 * gdb.base/catch-syscall.exp: Ditto.
12856 * gdb.base/charset.exp: Ditto.
12857 * gdb.base/code-expr.exp: Ditto.
12858 * gdb.base/commands.exp: Ditto.
12859 * gdb.base/cond-expr.exp: Ditto.
12860 * gdb.base/condbreak.exp: Ditto.
12861 * gdb.base/cursal.exp: Ditto.
12862 * gdb.base/cvexpr.exp: Ditto.
12863 * gdb.base/default.exp: Ditto.
12864 * gdb.base/del.exp: Ditto.
12865 * gdb.base/detach.exp: Ditto.
12866 * gdb.base/display.exp: Ditto.
12867 * gdb.base/ena-dis-br.exp: Ditto.
12868 * gdb.base/eval-skip.exp: Ditto.
12869 * gdb.base/foll-fork.exp: Ditto.
12870 * gdb.base/foll-vfork.exp: Ditto.
12871 * gdb.base/frame-args.exp: Ditto.
12872 * gdb.base/funcargs.exp: Ditto.
12873 * gdb.base/gcore-buffer-overflow.exp: Ditto.
12874 * gdb.base/gdbvars.exp: Ditto.
12875 * gdb.base/help.exp: Ditto.
12876 * gdb.base/ifelse.exp: Ditto.
12877 * gdb.base/included.exp: Ditto.
12878 * gdb.base/list.exp: Ditto.
12879 * gdb.base/macscp.exp: Ditto.
12880 * gdb.base/maint.exp: Ditto.
12881 * gdb.base/multi-fork.exp: Ditto.
12882 * gdb.base/overlays.exp: Ditto.
12883 * gdb.base/page.exp: Ditto.
12884 * gdb.base/pending.exp: Ditto.
12885 * gdb.base/pointers.exp: Ditto.
12886 * gdb.base/pr11022.exp: Ditto.
12887 * gdb.base/prelink.exp: Ditto.
12888 * gdb.base/printcmds.exp: Ditto.
12889 * gdb.base/psymtab.exp: Ditto.
12890 * gdb.base/randomize.exp: Ditto.
12891 * gdb.base/relational.exp: Ditto.
12892 * gdb.base/relocate.exp: Ditto.
12893 * gdb.base/remote.exp: Ditto.
12894 * gdb.base/sepdebug.exp: Ditto.
12895 * gdb.base/set-lang-auto.exp: Ditto.
12896 * gdb.base/setshow.exp: Ditto.
12897 * gdb.base/setvar.exp: Ditto.
12898 * gdb.base/signals.exp: Ditto.
12899 * gdb.base/signull.exp: Ditto.
12900 * gdb.base/sigstep.exp: Ditto.
12901 * gdb.base/sizeof.exp: Ditto.
12902 * gdb.base/solib-disc.exp: Ditto.
12903 * gdb.base/store.exp: Ditto.
12904 * gdb.base/structs.exp: Ditto.
12905 * gdb.base/structs2.exp: Ditto.
12906 * gdb.base/subst.exp: Ditto.
12907 * gdb.base/term.exp: Ditto.
12908 * gdb.base/trace-commands.exp: Ditto.
12909 * gdb.base/unwindonsignal.exp: Ditto.
12910 * gdb.base/valgrind-db-attach.exp: Ditto.
12911 * gdb.base/varargs.exp: Ditto.
12912 * gdb.base/watch-cond.exp: Ditto.
12913 * gdb.base/watch_thread_num.exp: Ditto.
12914 * gdb.base/watchpoint-cond-gone.exp: Ditto.
12915 * gdb.base/watchpoint.exp: Ditto.
12916 * gdb.base/whatis-exp.exp: Ditto.
12917
f8d3bf8f
MS
129182010-06-01 Michael Snyder <msnyder@vmware.com>
12919
12920 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
12921 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
12922 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
12923 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
12924 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
12925 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
12926 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
12927 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
12928 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
12929 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
12930 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
12931 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
12932 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
12933 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
12934 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
12935
3f9e0d32
JK
129362010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12937
12938 * gdb.base/commands.exp (begin commands on watch): Remove excessive
12939 trailing newline.
12940 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
12941 * gdb.java/jmisc.exp (p *args\n): Rename to ...
12942 (p *args): ... here and remove excessive trailing newline.
12943
f629457d
JB
129442010-05-31 Joel Brobecker <brobecker@adacore.com>
12945
12946 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
12947
09eef106
JK
129482010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12949
12950 Accept the new Linux kernel "t (tracing stop)" string.
12951 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
12952 Update comment.
12953 (state_wait) <T (tracing stop)>: New.
12954 (main): Update the state_wait expect string.
12955
94f31136
PA
129562010-05-28 Pedro Alves <pedro@codesourcery.com>
12957
12958 * limits.c, limits.exp: Delete files.
12959 * Makefile.in (clean mostlyclean): Adjust.
12960 * tracecmd.exp: Adjust.
12961
096554ab
JK
129622010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12963
12964 * gdb.base/tui-layout.exp: New.
12965
27d3a1a2 129662010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 12967
889bf7c5 12968 * gdb.reverse/break-precsave.exp:
bcd2dc50 12969 Replace uses of send_gdb / gdb_expect.
889bf7c5 12970 * gdb.reverse/break-reverse.exp:
bcd2dc50 12971 Replace uses of send_gdb / gdb_expect.
889bf7c5 12972 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 12973 Replace uses of send_gdb / gdb_expect.
889bf7c5 12974 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 12975 Replace uses of send_gdb / gdb_expect.
889bf7c5 12976 * gdb.reverse/finish-precsave.exp:
bcd2dc50 12977 Replace uses of send_gdb / gdb_expect.
889bf7c5 12978 * gdb.reverse/finish-reverse.exp:
bcd2dc50 12979 Replace uses of send_gdb / gdb_expect.
889bf7c5 12980 * gdb.reverse/i386-precsave.exp:
bcd2dc50 12981 Replace uses of send_gdb / gdb_expect.
889bf7c5 12982 * gdb.reverse/i386-reverse.exp:
bcd2dc50 12983 Replace uses of send_gdb / gdb_expect.
889bf7c5 12984 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 12985 Replace uses of send_gdb / gdb_expect.
889bf7c5 12986 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 12987 Replace uses of send_gdb / gdb_expect.
889bf7c5 12988 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 12989 Replace uses of send_gdb / gdb_expect.
889bf7c5 12990 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 12991 Replace uses of send_gdb / gdb_expect.
889bf7c5 12992 * gdb.reverse/machinestate.exp:
bcd2dc50 12993 Replace uses of send_gdb / gdb_expect.
889bf7c5 12994 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 12995 Replace uses of send_gdb / gdb_expect.
889bf7c5 12996 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 12997 Replace uses of send_gdb / gdb_expect.
889bf7c5 12998 * gdb.reverse/solib-precsave.exp:
bcd2dc50 12999 Replace uses of send_gdb / gdb_expect.
889bf7c5 13000 * gdb.reverse/solib-reverse.exp:
bcd2dc50 13001 Replace uses of send_gdb / gdb_expect.
889bf7c5 13002 * gdb.reverse/step-precsave.exp:
bcd2dc50 13003 Replace uses of send_gdb / gdb_expect.
889bf7c5 13004 * gdb.reverse/step-reverse.exp:
bcd2dc50 13005 Replace uses of send_gdb / gdb_expect.
889bf7c5 13006 * gdb.reverse/until-precsave.exp:
bcd2dc50 13007 Replace uses of send_gdb / gdb_expect.
889bf7c5 13008 * gdb.reverse/until-reverse.exp:
bcd2dc50 13009 Replace uses of send_gdb / gdb_expect.
889bf7c5 13010 * gdb.reverse/watch-precsave.exp:
bcd2dc50 13011 Replace uses of send_gdb / gdb_expect.
889bf7c5 13012 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
13013 Replace uses of send_gdb / gdb_expect.
13014
3def43e0
JK
130152010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13016
13017 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
13018 excessive newline.
13019
27d3a1a2 130202010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
13021
13022 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
13023 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
13024 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
13025 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
13026 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
13027 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
13028 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
13029 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
13030 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
13031 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
13032 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
13033 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
13034 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
13035 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
13036 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
13037 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
13038 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
13039 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
13040 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 13041
27d3a1a2 130422010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 13043
22454424
MS
13044 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
13045 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
13046
13047 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
13048 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
13049 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
13050
889bf7c5 13051 * gdb.reverse/consecutive-reverse.exp:
22454424 13052 Replace uses of send_gdb / gdb_expect.
889bf7c5 13053 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
13054 Replace uses of send_gdb / gdb_expect.
13055
13056 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
13057 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
13058 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 13059 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
13060 Replace uses of send_gdb / gdb_expect.
13061 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
13062 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
13063 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
13064 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
13065 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
13066 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
13067 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
13068 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
13069 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
13070
130712010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 13072
22454424 13073 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13074
22454424 13075 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13076
22454424
MS
13077 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
13078 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
13079 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
13080 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
13081 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
13082 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
13083 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
13084 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
13085 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 13086
6e5f2c59
TT
130872010-05-25 Tom Tromey <tromey@redhat.com>
13088
13089 * gdb.base/macscp.exp: Add missing space after setup_kfail.
13090
bbc8b958
TT
130912010-05-25 Tom Tromey <tromey@redhat.com>
13092
13093 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
13094 argument order.
13095 * gdb.base/macscp.exp: Fix setup_kfail argument order.
13096 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
13097 order.
13098 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
13099 order.
13100 * gdb.base/call-sc.exp (setup_kfails): Remove.
13101 (setup_compiler_kfails): Remove.
13102 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
13103 argument order.
13104 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
13105 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
13106 (advancei): Fix setup_kfail argument order.
13107 * gdb.base/radix.exp: Fix setup_kfail argument order.
13108 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
13109 order.
13110 * gdb.base/structs.exp (setup_kfails): Remove.
13111 (setup_compiler_kfails): Fix setup_kfail argument order.
13112 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
13113 order.
13114 * gdb.java/jmain.exp: Fix setup_kfail argument order.
13115 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
13116 setup_kfail argument order.
13117 * gdb.cp/overload.exp: Fix setup_kfail argument order.
13118
83d1babf
TT
131192010-05-25 Tom Tromey <tromey@redhat.com>
13120
13121 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
13122
6acb16a2
MS
131232010-05-25 Michael Snyder <msnyder@vmware.com>
13124
13125 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
13126 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
13127 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
13128 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
13129 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
13130 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
13131 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
13132 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
13133 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
13134 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
13135 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
13136 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
13137 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
13138 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
13139 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
13140 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
13141 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
13142 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
13143 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
13144 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
13145 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
13146 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
13147 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
13148 * gdb.base/default.exp: Replace send_gdb with gdb_test.
13149 * gdb.base/define.exp: Replace send_gdb with gdb_test.
13150 * gdb.base/display.exp: Replace send_gdb with gdb_test.
13151 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
13152 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
13153 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
13154 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
13155 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
13156 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
13157 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
13158 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
13159 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
13160 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
13161 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
13162 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
13163 * gdb.base/help.exp: Replace send_gdb with gdb_test.
13164 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
13165 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
13166 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
13167 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
13168 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
13169 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
13170 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
13171 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 13172 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
13173
131742010-05-25 Doug Evans <dje@google.com>
13175
13176 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
13177 gdb.string_to_argv.
ad3986f0 13178
d3b1e874
TT
131792010-05-21 Tom Tromey <tromey@redhat.com>
13180
13181 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
13182 Call it.
13183 * gdb.dwarf2/pieces.S: Update.
13184 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
13185
cb826367
TT
131862010-05-21 Tom Tromey <tromey@redhat.com>
13187
13188 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
13189 Call it.
13190 * gdb.dwarf2/pieces.c (struct C): New.
13191 (f6): New function.
13192 * gdb.dwarf2/pieces.S: Replace.
13193
74de6778
TT
131942010-05-21 Tom Tromey <tromey@redhat.com>
13195
13196 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
13197 Call it.
13198
afd74c5f
TT
131992010-05-21 Tom Tromey <tromey@redhat.com>
13200
13201 * gdb.dwarf2.pieces.exp: New file.
13202 * gdb.dwarf2.pieces.S: New file.
13203 * gdb.dwarf2.pieces.c: New file.
13204
a7b75dfd 132052010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 13206 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
13207
13208 * lib/gdb.exp (gdb_test_no_output): New function.
13209 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
13210 when testing commands that should produce no output.
13211
c81c812a
JB
132122010-05-17 Joel Brobecker <brobecker@adacore.com>
13213
13214 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
13215 parameter that we want to watch being a constant.
13216
0cce5bd9
JB
132172010-05-17 Joel Brobecker <brobecker@adacore.com>
13218
13219 * gdb.ada/cond_lang: New testcase.
13220
47050449
JB
132212010-05-17 Joel Brobecker <brobecker@adacore.com>
13222
13223 * lib/gdb.exp (banned_variables): New variable/constant.
13224 (gdb_init): Add write trace on variables listed in banned_variables.
13225 (gdb_finish): Remove write traces on variables listed in
13226 banned_variables.
13227
77c01586
JB
132282010-05-17 Joel Brobecker <brobecker@adacore.com>
13229
13230 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
13231 * gdb.cp/koenig.exp: Likewise.
13232
88d4aea7
PM
132332010-05-14 Phil Muldoon <pmuldoon@redhat.com>
13234
889bf7c5 13235 PR python/11482
88d4aea7
PM
13236
13237 * gdb.python/py-value.exp (test_value_hash): New function.
13238
f5a010c0
PM
132392010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
13240
13241 PR exp/11530.
13242 * gdb.base/gdb11530.c: New file.
13243 * gdb.base/gdb11530.exp: New file.
13244
8ef4892f
JK
132452010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13246
13247 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
13248 * gdb.dwarf2/dw2-modula2-self-type.S: New.
13249
7322dca9
SW
132502010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
13251
13252 * gdb.cp/koenig.exp: New test.
13253 * gdb.cp/koenig.cc: New test program.
13254
02e7ea18
JB
132552010-05-05 Joel Brobecker <brobecker@adacore.com>
13256
13257 Remove the use of prms_id and bug_id throughout the testsuite.
13258
e1c34c5d
PM
132592010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
13260
13261 PR exp/11349.
13262 * testsuite/gdb.cp/ref-types.exp: Add test to examine
13263 use a reference local variable.
13264
8e1d0c49
JK
132652010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13266
13267 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
13268 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
13269 variable different_dir. Move debugfile into a full directory pathname
13270 under DIFFERENT_DIR.
13271 * lib/gdb.exp (separate_debug_filename): Remove.
13272 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
13273 variable debug_dir and mkdir of it. Update function comments.
13274
e66408ed
PA
132752010-04-29 Pedro Alves <pedro@codesourcery.com>
13276
13277 PR gdb/11557
13278
13279 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
13280 files.
13281
d7b32ed3
PM
132822010-04-29 Phil Muldoon <pmuldoon@redhat.com>
13283
889bf7c5 13284 * gdb.python/py-param.exp: New File.
d7b32ed3 13285
6aecb9c2
JB
132862010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
13287
13288 * gdb.base/default.exp: Fix "set language" test.
13289
bdf92a1c
PM
132902010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
13291
13292 PR breakpoints/11531.
13293 * gdb.base/gdb11531.c: New file.
13294 * gdb.base/gdb11531.exp: New file.
13295
3f172e24
TT
132962010-04-26 Tom Tromey <tromey@redhat.com>
13297
13298 * gdb.base/completion.exp: Add tests for completion and deprecated
13299 commands.
13300
64af4c92
JK
133012010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13302
13303 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
13304 (print /x char_array): Escape curly brackets.
13305
492928e4
JK
133062010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13307
13308 Fix deadlock on looped list of loaded shared objects.
13309 * gdb.base/solib-corrupted.exp: New.
13310
66d09542
DE
133112010-04-23 Doug Evans <dje@google.com>
13312
13313 * gdb.python/py-section-script.c: New file.
13314 * gdb.python/py-section-script.exp: New file.
13315 * gdb.python/py-section-script.py: New file.
13316
8bd10a10
CM
133172010-04-20 Chris Moller <cmoller@redhat.com>
13318
13319 PR 10179
13320
13321 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
13322 * gdb.base/pr10179-a.c:
13323 * gdb.base/pr10179-b.c:
13324 * gdb.base/pr10179.exp: New files.
13325
c0201579
JK
133262010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13327
13328 Fix crashes on dangling display expressions.
13329 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
13330 is SEP.
13331 (lib_flags): Remove the "debug" keyword.
13332 (libsepdebug): New variable for iterating new loop.
13333 (save_pf_prefix): New variable wrapping the loop.
13334 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
13335 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
13336
793b0ff8
PM
133372010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13338
13339 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
13340
097f51f7
PM
133412010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13342
13343 PR stabs/11479.
13344 * gdb.stabs/gdb11479.exp: New file.
13345 * gdb.stabs/gdb11479.c: New file.
13346
9a22f0d0
PM
133472010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13348
13349 * gdb.base/charset.c (Strin16, String32): New variables.
13350 * gdb.base/charset.exp (gdb_test): Test correct display
13351 of 16 or 32 bit strings.
13352
133532010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
13354
13355 PR 9167
13356 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
13357 * gdb.cp/pr9167.cc: New file.
13358 * gdb.cp/pr9167.exp: New file.
13359
13360
6e354e5e
PM
133612010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
13362
13363 PR pascal/11492.
13364 * gdb.pascal/gdb11492.pas: New file.
13365 * gdb.pascal/gdb11492.exp: New file.
13366
be942545
JB
133672010-04-20 Joel Brobecker <brobecker@adacore.com>
13368
1667e6e3 13369 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 13370
0c3acc09
JB
133712010-04-20 Joel Brobecker <brobecker@adacore.com>
13372
13373 * gdb.ada/dyn_loc: New testcase.
13374
ec31cde5
CM
133752010-04-20 Chris Moller <cmoller@redhat.com>
13376
13377 PR 10867
889bf7c5 13378
ec31cde5
CM
13379 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
13380 * gdb.cp/pr10687.cc: New file.
13381 * gdb.cp/pr10687.exp: New file.
13382
13383
ce4b0682
SDJ
133842010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13385 Sergio Durigan Junior <sergiodj@redhat.com>
13386
13387 * gdb.fortran/logical.exp: New testcase.
13388 * gdb.fortran/logical.f90: New file.
13389
3436961f
DE
133902010-04-19 Doug Evans <dje@google.com>
13391
13392 * gdb.base/help.exp (help source): Update expected output.
13393
4d836c09
JK
133942010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13395
13396 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
13397 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
13398 gdb_exit and return.
13399 (executable): New variable.
13400 (binfile): Use it.
13401
6149aea9
PA
134022010-04-19 Pedro Alves <pedro@codesourcery.com>
13403
13404 PR breakpoints/8554.
13405
13406 * gdb.trace/save-trace.exp: Adjust.
13407
ed41462c
L
134082010-04-17 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 PR corefiles/11511
13411 * gdb.arch/system-gcore.exp: New.
13412 * gdb.arch/gcore.c: Likewise.
13413
3f7b2faa
DE
134142010-04-15 Doug Evans <dje@google.com>
13415
fa33c3cd
DE
13416 * gdb.python/py-progspace.c: New file.
13417 * gdb.python/py-progspace.exp: New file.
13418
3f7b2faa
DE
13419 * gdb.base/source.exp: Add tests for "source -s".
13420
79f283fe
PM
134212010-04-14 Phil Muldoon <pmuldoon@redhat.com>
13422
13423 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
13424 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
13425 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
13426 * gdb.python/py-mi.exp: New test for to_string returning None.
13427
fc8eb08a
PM
134282010-04-12 Phil Muldoon <pmuldoon@redhat.com>
13429
13430 * gdb.python/py-breakpoint.c: Make result global.
13431
26e197f6
JK
134322010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13433
13434 Fix non-GNU make compatibility.
13435 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
13436
adc36818
PM
134372010-04-09 Phil Muldoon <pmuldoon@redhat.com>
13438
13439 * gdb.python/py-breakpoint.exp: New File.
13440 * gdb.python/py-breakpoint.C: Ditto.
13441
64e17368
SS
134422010-04-08 Stan Shebs <stan@codesourcery.com>
13443
13444 * gdb.trace/actions.exp: Clear default-collect.
13445 * gdb.trace/save-trace.exp: Clear default-collect.
13446
fff5cc64
PM
134472010-04-08 Phil Muldoon <pmuldoon@redhat.com>
13448
13449 * gdb.python/py-value: Add null string variable.
13450 (test_lazy_string): Test zero length, NULL address lazy
13451 strings.
13452
a055a187
L
134532010-04-07 H.J. Lu <hongjiu.lu@intel.com>
13454
13455 * gdb.arch/i386-avx.c: New.
13456 * gdb.arch/i386-avx.exp: Likewise.
13457
13458 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
13459
96e39866
DE
134602010-04-06 Doug Evans <dje@google.com>
13461
13462 * gdb.base/source-test.gdb: New file.
13463 * gdb.base/source.exp: Test source -v.
13464
5984a431
UW
134652010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13466
13467 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
13468
ec8a089a
PM
134692010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
13470
13471 * gdb.stabs/aout.sed: Convert all backslash to double backslash
13472 within one line, unless it is followed by a double quote.
13473 * gdb.stabs/hppa.sed: Idem.
13474 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
13475 * gdb.stabs/weird.exp: Check for correct parsing of
13476 char and string constants.
ec8a089a
PM
13477 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
13478 in .stabs to .stabx substitution.
13479
fce3c1f0
SS
134802010-04-05 Stan Shebs <stan@codesourcery.com>
13481
13482 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
13483 constant global.
13484 * gdb.trace/tfile.exp: Try to print them.
13485
d77f58be
SS
134862010-04-04 Stan Shebs <stan@codesourcery.com>
13487
13488 * gdb.base/completion.exp: Update for new "info watchpoints".
13489 * gdb.base/default.exp: Ditto.
13490 * gdb.base/help.exp: Ditto.
13491 * gdb.base/watchpoint.exp: Ditto.
13492 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 13493
af54718e
SS
134942010-04-04 Stan Shebs <stan@codesourcery.com>
13495
13496 * gdb.trace/tfile.exp: Sharpen tfind test.
13497
74d1f91e
JK
134982010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13499
13500 * gdb.base/break-entry.exp: New.
13501
eb8e76db 135022010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 13503 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
13504
13505 * gdb.reverse/i386-sse-reverse.exp: New file.
13506 * gdb.reverse/i386-sse-reverse.c: New file.
13507
bf65cad8
PA
135082010-04-02 Pedro Alves <pedro@codesourcery.com>
13509
13510 * gdb.trace/tfind.exp: Adjust expected disassembly output.
13511
fff87407
SS
135122010-04-01 Stan Shebs <stan@codesourcery.com>
13513
13514 * gdb.trace/actions.exp: Tweak expected output.
13515 * gdb.trace/while-stepping.exp: Tweak expected output.
13516
fe01d668
L
135172010-04-01 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
13520
86b17b60
PA
135212010-04-01 Pedro Alves <pedro@codesourcery.com>
13522
13523 * gdb.base/commands.exp: Adjust.
13524 * gdb.cp/extern-c.exp: Adjust.
13525
2c58c0a9
PA
135262010-04-01 Pedro Alves <pedro@codesourcery.com>
13527
13528 * gdb.trace/collection.c (local_test_func): Define a local struct,
13529 and instanciate it.
13530
0db9b91c
PA
135312010-04-01 Pedro Alves <pedro@codesourcery.com>
13532
13533 * gdb.trace/collection.exp (gdb_collect_args_test)
13534 (gdb_collect_argarray_test): XFAIL the tests that assume the
13535 argarray argument's elements are collected.
13536
8072405b
JK
135372010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
13538
13539 * gdb.dwarf2/dw2-bad-parameter-type.exp,
13540 gdb.dwarf2/dw2-bad-parameter-type.S: New.
13541
8bf6485c
SS
135422010-03-31 Stan Shebs <stan@codesourcery.com>
13543
13544 * gdb.trace/save-trace.exp: Test save/restore of default-collect
13545 and tracepoint conditionals.
13546 (gdb_verify_tracepoints): Delete unused return.
13547
fd7f724a
KS
135482010-03-26 Keith Seitz <keiths@redhat.com>
13549
13550 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
13551 appear in the output before main.
13552 Remove KFAIL for gdb/2215 aka bz 9320.
13553
8d9e7719
DE
135542010-03-30 Doug Evans <dje@google.com>
13555
0906dd0b
DE
13556 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
13557 by dejagnu.
13558 * gdb.arch/amd64-dword.exp: Ditto.
13559
8d9e7719
DE
13560 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
13561 match.
13562 (break printf): Ditto.
13563
1da644f0
SW
135642010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
13565
13566 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
13567 gcc < 4.4.
13568 * gdb.cp/shadow.exp: Ditto.
13569
a8121990
PA
135702010-03-29 Pedro Alves <pedro@codesourcery.com>
13571
13572 * gdb.trace/collection.exp (run_trace_experiment): Make sure
13573 "tstart" is silent.
13574
6e79d367
PA
135752010-03-29 Pedro Alves <pedro@codesourcery.com>
13576
13577 * gdb.trace/collection.exp (executable): New.
13578 (binfile): Use it.
13579 (fpreg, spreg, pcreg): New.
13580 (test_register): Use gdb_test_multiple. Pass /x to print.
13581 (prepare_for_trace_test): New.
13582 (run_trace_experiment): Use "continue", not gdb_run_cmd.
13583 (gdb_collect_args_test, gdb_collect_argstruct_test)
13584 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
13585 prepare_for_trace_test.
13586 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
13587 fpreg, spreg and pcreg.
13588 (gdb_collect_expression_test, gdb_collect_globals_test): Use
13589 prepare_for_trace_test.
13590 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
13591 try to detect tracing support here. Don't set breakpoints at
13592 `begin' or `end' here.
13593 <global scope>: Use clean_restart. Run to main before checking
13594 for tracing support. Check for for tracing support here.
13595
09248348
JK
135962010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13597
13598 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
13599 " as $displacement" to "seen displacement message".
13600
d350db38
PA
136012010-03-28 Pedro Alves <pedro@codesourcery.com>
13602
13603 * gdb.trace/while-dyn.exp (executable): New variable.
13604 (binfile): Use it.
13605 (test_while_stepping): New function. Move most tests here. Call
13606 it once for each of the while-stepping, stepping and ws aliases.
13607
907af001
UW
136082010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13609
13610 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
13611 that do not provide the tagless_struct type name at all.
13612 (test_print_anon_union): Do not check value of uninitialized
13613 union member. Do not use cp_test_ptype_class, so we can accept
13614 "long" as well as "long int".
13615
610197fd
PA
136162010-03-26 Pedro Alves <pedro@codesourcery.com>
13617
13618 * gdb.trace/tfile.c (tohex, bin2hex): New.
13619 (write_error_trace_file): Hexify error description.
13620
6c28cbf2
SS
136212010-03-25 Stan Shebs <stan@codesourcery.com>
13622
13623 * gdb.trace/tfile.c: Generate an additional trace file, improve
13624 portability.
13625 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
13626 files in a better way.
13627
e62b8c7e
KS
136282010-03-25 Keith Seitz <keiths@redhat.com>
13629
13630 * gdb.java/jprint.exp: XFAIL printing of static class members
13631 because of GCC debuginfo problem.
13632
82ccf5a5
JK
136332010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13634
13635 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
13636
293e2f9e
DJ
136372010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13638
13639 * gdb.base/completion.exp: Allow long instead of long int.
13640 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
13641 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
13642 variable p.
13643 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
13644 * gdb.base/pointers.exp: Allow long instead of long int.
13645 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
13646 * gdb.base/step-line.exp: Allow a directory before the source file name.
13647
95a42b64
TT
136482010-03-24 Tom Tromey <tromey@redhat.com>
13649
13650 PR breakpoints/9352:
13651 * gdb.base/default.exp: Update.
13652 * gdb.base/commands.exp: Update.
13653 * gdb.cp/extern-c.exp: Test setting commands on multiple
13654 breakpoints at once.
13655
2390201f
DJ
136562010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13657
13658 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
13659 if gdb,nosignals.
13660 * gdb.base/watchpoints.c: Do not include unnecessary headers.
13661 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
13662 exited".
13663
8c9a6790
SS
136642010-03-24 Stan Shebs <stan@codesourcery.com>
13665
13666 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
13667
a6c727b2
DJ
136682010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13669
13670 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
13671 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
13672 argument. Handle "short" and "long".
13673 (Top level): Pass overprototyped output for old_fptr and xptr.
13674
4dfd5423
PA
136752010-03-23 Pedro Alves <pedro@codesourcery.com>
13676
13677 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
13678 format strings and add casts to avoid compiler warnings.
13679
136802010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
13681
13682 * lib/trace-support.exp (gdb_trace_setactions):
13683 Don't expect whitespace after ">" prompt.
13684 * gdb.trace/actions.exp: Adjust for output changes.
13685 * gdb.trace/while-stepping.exp: Likewise.
13686
c847d045
JK
136872010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13688
13689 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
13690 and r157645).
13691
5f717f1d
JK
136922010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13693
13694 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
13695 New.
13696
7d6d51d5
DJ
136972010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
13698
13699 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
13700 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
13701
3b11a015
SS
137022010-03-19 Stan Shebs <stan@codesourcery.com>
13703
13704 * gdb.trace/ax.exp: New file.
13705
d7d158ed
DE
137062010-03-19 Doug Evans <dje@google.com>
13707
6bb85cd1
DE
13708 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
13709 output from gcc.
13710
d7d158ed
DE
13711 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
13712 named /usr/sbin/prelink<foo>.
13713
4daf5ac0
SS
137142010-03-18 Stan Shebs <stan@codesourcery.com>
13715
13716 * gdb.trace/circ.exp: Test circular-trace-buffer.
13717 * gdb.trace/tfile.exp: Update tstatus test.
13718
e8d05480
JB
137192010-03-18 Joel Brobecker <brobecker@adacore.com>
13720
13721 * gdb.dwarf2/dw2-anonymous-func.S: New file.
13722 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
13723
441b986a
UW
137242010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13725
13726 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
13727
4247603b
PA
137282010-03-18 Pedro Alves <pedro@codesourcery.com>
13729
13730 * gdb.base/default.exp: Adjust the expected output of the finish
13731 and until commands when the inferior is not being run.
13732
13387711
SW
137332010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
13734
13735 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
13736 * gdb.cp/nsusing.exp: Ditto.
13737
6e31430b
TT
137382010-03-15 Tom Tromey <tromey@redhat.com>
13739
13740 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
13741 * gdb.cp/userdef.cc (operator==): New function.
13742 (main): New locals mem1, mem2.
13743
e2d69cb5
JZ
137442010-03-15 Jie Zhang <jie@codesourcery.com>
13745
13746 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
13747 Declare and use new loadtimeout variable.
13748
f572f0a9
DJ
137492010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
13750
13751 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
13752 Use gdb_load later.
13753
51f4c0b0
PA
137542010-03-14 Pedro Alves <pedro@codesourcery.com>
13755
13756 * gdb.base/solib-disc.c (main): Make format of fprintf a string
13757 literal. Add missing endlines to prints to stderr.
13758
1c809c68
TT
137592010-03-12 Tom Tromey <tromey@redhat.com>
13760
13761 PR c++/9708:
13762 * gdb.cp/m-static.exp: Add regression test.
13763 * gdb.cp/m-static.cc (method): New method.
13764 (main): Call it.
13765
00ae8fef
SW
137662010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
13767
13768 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
13769 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
13770
759f0f0b
PA
137712010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
13772
21e24d21
PA
13773 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
13774
137752010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
13776
759f0f0b
PA
13777 * lib/gdb.exp (skip_stl_tests): New.
13778 (gdb_compile): Symbian needs -ldl.
13779 (shlib_target_file): New.
13780 (shlib_symbol_file): New.
13781 (gdb_load_shlibs): Use shlib_target_file.
13782 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
13783 * gdb.cp/exception.exp: Use skip_stl_tests.
13784 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
13785 * gdb.cp/try_catch.exp: Use skip_stl_tests.
13786 * gdb.cp/mb-templates.exp: Ditto.
13787 * gdb.base/commands.exp: Relax regexes.
13788 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
13789 shlib_target_file and shlib_symbol_file.
13790 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
13791 sections.
13792 * gdb.base/ending-run.exp: Accept E32Main for symbian.
13793 * gdb.base/solib-disc.exp: Use
13794 shlib_target_file and shlib_symbol_file.
13795 * gdb.base/unload.exp: Don't skip on symbian. Use
13796 shlib_target_file and shlib_symbol_file.
13797 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
13798
6a8f2671 137992010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 13800
6a8f2671
PA
13801 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
13802 * gdb.trace/report.exp: Adjust for x86 and x86_64.
13803 Issue a tfind end before looking for a tracepoint frame.
13804 * gdb.trace/tfind.exp: Adjust tstatus output.
13805 Adjust disassembly output.
13806 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
13807
ccf26247
JK
138082010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13809
13810 * gdb.base/break-interp.exp: Create new displacement parameter value
13811 for the test_ld calls.
13812 (reach): New parameter displacement, verify its content. New push of
13813 pf_prefix "reach-$func:". Import global expect_out.
13814 (test_core): New parameter displacement, verify its content. New push
13815 of pf_prefix "core:". New command "set verbose on". Import global
13816 expect_out.
13817 (test_attach): New parameter displacement, verify its content. New
13818 push of pf_prefix "attach:". New command "set verbose on". Import
13819 global expect_out.
13820 (test_ld): New parameter displacement, pass it to the reach, test_core
13821 and test_attach calls and verify its content in the "ld.so exit" test.
13822 * gdb.base/prelink.exp: Remove gdb_exit and final return.
13823 (prelink): Update expected text, use gdb_test.
13824
e469c7fb
DE
138252010-03-10 Doug Evans <dje@google.com>
13826
13827 * gdb.base/checkpoint.exp: Fix comment.
13828 Lengthen timeout while doing >600 checkpoints test.
13829 Rename duplicate "kill all one" test to keep test names unique.
13830
60e1c644
PA
138312010-03-10 Pedro Alves <pedro@codesourcery.com>
13832
13833 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
13834
cec808ec
KS
138352010-03-08 Keith Seitz <keiths@redhat.com>
13836
889bf7c5
PA
13837 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
13838 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
13839 (dm_type_long): New function.
13840 (dm_type_unsigned_short): New function.
13841 (dm_type_unsigned_long): New function.
13842 (myint): New typedef.
13843 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
13844 long, unsigned shor and long, operator char*, and typedef.
13845 (test_lookup_operator_functions): Add operator char* test.
13846 (test_paddr_operator_functions): Likewise.
13847 (test_paddr_overloaded_functions): Use probe values for
13848 short, long, and unsigned short and long.
13849 (test_paddr_hairy_functions): If the demangler probe detected
13850 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
13851 demangler.
13852 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
13853 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
13854 and "print null_pmf".
13855 Add test "ptype a.*pmf".
13856 * gdb.cp/overload.exp: Allow optional "int" to appear with
13857 "short" and "long".
13858 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
13859 long expect value for men_overload1arg.
13860 Allow "int" to appear with "short" and "long".
13861 When testing "info break", add argument for main (void).
13862 Also allow "int" to appear with "short" and "long".
13863 Ditto with "unsigned" and "long long".
cec808ec
KS
13864 * gdb.java/jmain.exp: Do not enclose methods names in single
13865 quotes.
13866 * gdb.java/jmisc.exp: Likewise.
13867 * gdb.java/jprint.exp: Likewise.
13868 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
13869
13870 From Jan Kratochvil <jan.kratochvil@redhat.com>:
13871 * gdb.cp/exception.exp (backtrace after first throw)
13872 (backtrace after second throw): Allow a namespace before __cxa_throw.
13873 (backtrace after first catch, backtrace after second catch): Allow
13874 a namespace before __cxa_begin_catch.
13875
13876 * gdb.cp/cpexprs.exp: New file.
13877 * gdb.cp/cpexprs.cc: New file.
13878
13879 From Daniel Jacobowitz <dan@codesourcery.com>
13880 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
13881 to use string_to_regexp.
13882 (ctor, dtor): New functions. Use them to match constructor
13883 and destructor function types.
13884 (Top level): Use runto_main.
13885
f870a310
TT
138862010-03-05 Tom Tromey <tromey@redhat.com>
13887
13888 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
13889 gdb.target_charset.
13890 (pp_ns.to_string): Likewise.
13891
0c199f28
KS
138922010-03-04 Keith Seitz <keiths@redhat.com>
13893
13894 * gdb.cp/overload.exp: Test that the filename portion of a linespec
13895 can be quoted. Test that both the filename and function/line
13896 portions can be quoted at the same time.
13897
c7437ca6
PA
138982010-03-04 Pedro Alves <pedro@codesourcery.com>
13899
13900 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
13901
b111b805
DE
139022010-03-03 Doug Evans <dje@google.com>
13903
24486cb7
DE
13904 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
13905 libc contains libpthread.
13906
b111b805
DE
13907 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
13908 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
13909 of gdb_compile. Add another pattern to match android backtrace.
13910
a0e0ef55
TT
139112010-03-03 Tom Tromey <tromey@redhat.com>
13912
13913 PR gdb/11345:
13914 * gdb.base/printcmds.exp (test_printf): Add test.
13915
1ba53b71
L
139162010-03-02 H.J. Lu <hongjiu.lu@intel.com>
13917
13918 * gdb.arch/amd64-byte.exp: New.
13919 * gdb.arch/amd64-dword.exp: Likewise.
13920 * gdb.arch/amd64-pseudo.c: Likewise.
13921 * gdb.arch/amd64-word.exp: Likewise.
13922 * gdb.arch/i386-byte.exp: Likewise.
13923 * gdb.arch/i386-pseudo.c: Likewise.
13924 * gdb.arch/i386-word.exp: Likewise.
13925
f5dff777
DJ
139262010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13927
13928 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
13929 types. Add structreg, bitfields, and flags registers.
13930 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
13931 registers.
13932
90884b2b
L
139332010-03-01 H.J. Lu <hongjiu.lu@intel.com>
13934
13935 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
13936 (load_description): Set architecture if defined.
13937
dc00d89f
PM
139382010-02-28 Phil Muldoon <pmuldoon@redhat.com>
13939
13940 * gdb.python/py-frame.exp: Add read_var block tests.
13941 * gdb.python/py-frame.c (block): New function.
13942
0e095b7e
JK
139432010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13944 Daniel Jacobowitz <dan@codesourcery.com>
13945
13946 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
13947
624f1a65
DM
139482010-02-25 David S. Miller <davem@davemloft.net>
13949
13950 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
13951 fix logic for setting all_syscalls_numbers.
13952
f3e9a817
PM
139532010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13954
13955 * Makefile.in: Add py-block and py-symbol.
13956 * gdb.python/py-symbol.exp: New File.
13957 * gdb.python/py-symtab.exp: New File.
13958 * gdb.python/py-block.exp: New File.
13959 * gdb.python/py-symbol.c: New File.
13960 * gdb.python/py-block.c: New File.
13961
f6bbabf0
PM
139622010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13963
13964 PR python/11314
13965 * lib/gdb.exp (skip_python_tests): New function.
13966 * gdb.python/py-cmd.exp: Use skip_python_tests.
13967 * gdb.python/py-frame.exp: Likewise.
13968 * gdb.python/py-function.exp: Likewise.
13969 * gdb.python/py-prettyprint.exp: Likewise.
13970 * gdb.python/py-template.exp: Likewise.
13971 * gdb.python/py-type.exp: Likewise.
13972 * gdb.python/py-value.exp: Likewise.
13973
85d721b8
PA
139742010-02-22 Pedro Alves <pedro@codesourcery.com>
13975
13976 PR9605
13977
13978 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
13979
48e32051
TT
139802010-02-19 Tom Tromey <tromey@redhat.com>
13981
13982 PR c++/8693, PR c++/9496:
13983 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
13984 regression tests.
13985
ac9c0048
JK
139862010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13987
13988 Fix compatibility with m68k as.
13989 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
13990 Use only /* comments */.
13991
57bb97a4
UW
139922010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13993
13994 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
13995 * configure: Regenerate.
13996
7d1bf85c
DJ
139972010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
13998
13999 * gdb.python/py-type.exp: Check for Python support.
14000
061b5285
PA
140012010-02-17 Pedro Alves <pedro@codesourcery.com>
14002
14003 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
14004 `regsub' syntax available.
14005
f8a8bc2c
PA
140062010-02-17 Pedro Alves <pedro@codesourcery.com>
14007
14008 * gdb.base/shmain.c (main): Remove printf call.
14009 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
14010 * gdb.base/unload.c (main): Make format of fprintf a string
14011 literal. Add missing endlines to prints to stderr.
14012 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
14013
6f451e5e
TT
140142010-02-17 Tom Tromey <tromey@redhat.com>
14015
14016 * gdb.java/jprint.java (jprint.props): New field.
14017 * gdb.java/jprint.exp (set_lang_java): Add regression test.
14018
12d79008
PA
140192010-02-17 Pedro Alves <pedro@codesourcery.com>
14020
ef801a0e 14021 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
14022 available.
14023
d252f7e5
DJ
140242010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14025
14026 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
14027 creation to support remote host testing.
14028
67bdab6c
DJ
140292010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14030
14031 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
14032 Recognize "command not found".
14033
bb391223
DJ
140342010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14035
14036 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
14037 single-stepping.
14038
70362913
DJ
140392010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14040
14041 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
14042 if arguments are not supported.
14043
493f3c00
DJ
140442010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14045
14046 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
14047 be const or non-const.
14048
8034c749
DJ
140492010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14050
14051 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
14052 mi_send_resuming_command to send -exec-continue.
14053
791dfb64
DJ
140542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14055
14056 * gdb.base/list.exp (test_list_filename_and_function): Add test
14057 with single quotes.
14058 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
14059 matching.
14060 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
14061 Add KFAIL'd tests for PR gdb/11289.
14062
7c5fe868
DJ
140632010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14064
14065 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
14066
fdc498b8
DJ
140672010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14068
14069 * gdb.base/comp-dir/subdir/dummy.txt: New file.
14070 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
14071 a temporary directory.
14072
b519e2a6
DJ
140732010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14074
14075 * gdb.base/charset.exp: Use a single regular expression to match
14076 show host-charset and show target-charset output.
14077
74164c56
JK
140782010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14079
14080 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
14081 "Illegal process-id" expect string more exact.
14082 (attach to digits-starting nonsense is prohibited): New.
14083
701ed6dc
JK
140842010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14085
14086 * gdb.base/prelink.exp (set verbose on): New.
14087
889bf7c5 140882010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
14089
14090 * mi-reverse.exp: New file. Test for reverse option to the
14091 following MI commands: exec-continue, exec-finish, exec-next,
14092 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 14093
dadf0e9c
JB
140942010-02-09 Joel Brobecker <brobecker@adacore.com>
14095
14096 * gdb.ada/ptype_tagged_param: New testcase.
14097
714f19d5
TT
140982010-02-08 Tom Tromey <tromey@redhat.com>
14099
14100 PR c++/8017:
14101 * gdb.cp/overload.exp: Add tests.
14102 * gdb.cp/overload.cc (struct K): New.
14103 (namespace N): New.
14104 (main): Call new functions.
14105 (K::staticoverload): Define.
14106
889bf7c5 141072010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
14108
14109 PR gdb/10728
14110 * gdb.cp/pr10728-x.h: New file.
14111 * gdb.cp/pr10728-x.cc: New file.
14112 * gdb.cp/pr10728-y.cc: New file.
14113 * gdb.cp/pr10728.exp: New file.
14114 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
14115
889bf7c5 141162010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
14117
14118 PR gdb/9067
14119 * gdb.cp/pr9067.exp: New
14120 * gdb.cp/pr9067.cc: New
14121 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
14122
7b356089
JB
141232010-02-08 Joel Brobecker <brobecker@adacore.com>
14124
14125 * lib/gdb.exp (gdb_test_timeout): New global variable.
14126 Set it to timeout if not already set.
14127 (gdb_init): Reset the value of timeout to gdb_test_timeout.
14128
1be00882
DE
141292010-02-05 Doug Evans <dje@google.com>
14130
14131 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
14132 user.
14133
82856980
SW
141342010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
14135
14136 PR c++/7935:
14137 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
14138
1a334831
TT
141392010-02-04 Tom Tromey <tromey@redhat.com>
14140
14141 * gdb.cp/virtbase.exp: Make test case names unique.
14142
9c3c02fd
TT
141432010-02-02 Tom Tromey <tromey@redhat.com>
14144
14145 * gdb.cp/virtbase.exp: Add regression tests.
14146 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
14147 (main): Instantiate RHC.
14148
0cc2414c
TT
141492010-02-02 Tom Tromey <tromey@redhat.com>
14150
14151 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
14152 type-printing change.
14153
edf3d5f3
TT
141542010-02-02 Tom Tromey <tromey@redhat.com>
14155
14156 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
14157 * gdb.cp/virtbase.cc: New file.
14158 * gdb.cp/virtbase.exp: New file.
14159 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
14160
e4b7f41c
JK
141612010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14162
14163 PR libc/11214:
14164 * gdb.threads/current-lwp-dead.c: Include features.h.
14165 (HAS_NOMMU): New.
14166 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
14167
b381ea14
JK
141682010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14169
14170 * gdb.base/symbol-without-target_section.exp,
14171 gdb.base/symbol-without-target_section.c: New.
14172
c593ac0e
DJ
141732010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14174
14175 * gdb.base/bigcore.exp: Reset increased timeout.
14176 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
14177
db25f29d
DJ
141782010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14179
14180 * gdb.base/gcore.exp (capture_command_output): Use
14181 gdb_test_multiple.
14182
f9d67f43
DJ
141832010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14184
14185 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
14186 * gdb.arch/thumb2-it.exp (test_it_break): New function.
14187 (Top level): Call it.
14188
177321bd
DJ
141892010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14190
14191 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
14192
97f2ed50
DJ
141932010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14194
14195 * gdb.base/call-strs.exp, gdb.base/default.exp,
14196 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
14197 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
14198 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
14199 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
14200 gdb.base/watchpoint-solib.exp: Save and restore timeout.
14201 * gdb.base/ending-run.exp: Correct restore of timeout.
14202 * gdb.base/page.exp: Remove unnecessary timeout setting.
14203
e4e2711a
JB
142042010-01-29 Joel Brobecker <brobecker@adacore.com>
14205
14206 * gdb.ada/rec_return: New testcase.
14207
ba581dc1
JB
142082010-01-29 Joel Brobecker <brobecker@adacore.com>
14209
14210 * gdb.ada/call_pn: New testcase.
14211
4ea95be9
DJ
142122010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
14213
14214 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
14215 (Top level): Use it to resume.
14216 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
14217 the Thumb mode displaced stepping error as unsupported.
14218
df83a9bf
SW
142192010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
14220
889bf7c5
PA
14221 * gdb.cp/nsusing.exp: Added more tests.
14222 * gdb.cp/nsrecurs.exp: Ditto.
14223 * gdb.cp/nsusing.cc: Added test functions.
14224 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 14225
40b27cdc
JK
142262010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14227
14228 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
14229 absolute directory pathnames in gdb.sum file.
14230
de958931
SW
142312010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
14232
14233 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
14234 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
14235
708ead4e
TT
142362010-01-26 Tom Tromey <tromey@redhat.com>
14237
14238 PR exp/7643:
14239 * gdb.base/printcmds.exp (test_print_string_constants): Remove
14240 setup_kfail.
14241
b14e635e
SW
142422010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
14243
14244 * gdb.cp/nsrecurs.exp: New test.
14245 * gdb.cp/nsrecurs.cc: New test program.
14246 * gdb.cp/nsstress.exp: New test.
14247 * gdb.cp/nsstress.cc: New test program.
14248 * gdb.cp/nsdecl.exp: New test.
14249 * gdb.cp/nsdecl.cc: New test program.
14250
8540c487
SW
142512010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
14252
14253 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
14254 imported into file scope.
14255 Marked test as xfail.
14256 * gdb.cp/namespace-using.cc (marker5): New function.
14257 * gdb.cp/shadow.exp: New test.
14258 * gdb.cp/shadow.cc: New test program.
14259 * gdb.cp/nsimport.exp: New test.
14260 * gdb.cp/nsimport.cc: New test program.
14261
421d5d99
TT
142622010-01-25 Tom Tromey <tromey@redhat.com>
14263
14264 PR gdb/11049:
14265 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
14266 with "set print null-stop on".
14267
691f8dc1
JK
142682010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14269
14270 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
14271 Adjust it for DISASSEMBLY_OMIT_FNAME.
14272
0b92b5bb
TT
142732010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14274
14275 PR symtab/11199:
14276 * gdb.dwarf2/member-ptr-forwardref.exp,
14277 gdb.dwarf2/member-ptr-forwardref.S: New.
14278
23787403
JK
142792010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14280
14281 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
14282 (thread1_func): Protect thread1_tid with thread1_tid_cond by
14283 thread1_tid_mutex. Remove gdbstop_mutex handling.
14284 (thread2_func): Protect thread2_tid with thread2_tid_cond by
14285 thread2_tid_mutex. Remove gdbstop_mutex handling.
14286 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
14287 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
14288 pthread_cond_wait conditionalizations by while loops.
14289
b966cb8a
TT
142902010-01-20 Tom Tromey <tromey@redhat.com>
14291
14292 PR backtrace/10770:
14293 * gdb.dwarf2/pr10770.exp: New file.
14294 * gdb.dwarf2/pr10770.c: New file.
14295 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
14296
fcae584b
VP
142972010-01-20 Vladimir Prus <vladimir@codesourcery.com>
14298
14299 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
14300 that target was removed, and the test always runs native anyway.
14301
a0f49112
JK
143022010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14303
14304 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
14305 gdb.base/watchpoint-cond-gone-stripped.c: New.
14306
ceeb3d5a
TT
143072010-01-19 Tom Tromey <tromey@redhat.com>
14308
14309 PR c++/8000:
14310 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
14311 existing tests.
14312 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
14313 (main): Use AAA::SomeEnum.
14314
dd322c54
JK
143152010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14316
14317 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
14318 (test_ignore_count): Declare line_callme_body global.
14319 (run to breakpoint with ignore count): Use line_callme_body.
14320 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
14321 (set line_main_hello, set line_main_return): Reindent.
14322 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
14323 New.
14324 (continue to callee4): Use line_callee4_body.
14325 (check *stopped from CLI command): Use line_callee4_next.
14326 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
14327 (set line_main_hello, set line_main_return): Reindent.
14328 (set line_callee4_head, set line_callee4_body): New.
14329 (continue to callee4): Use line_callee4_body.
14330
4e8f195d
TT
143312010-01-18 Tom Tromey <tromey@redhat.com>
14332
14333 PR c++/9680:
14334 * gdb.cp/casts.cc: Add new classes and variables.
14335 * gdb.cp/casts.exp: Test new operators.
14336
9e14a9ba
JB
143372010-01-18 Tom Tromey <tromey@redhat.com>
14338 Thiago Jung Bauermann <bauerman@br.ibm.com>
14339
14340 * gdb.python/source2.py: New file.
14341 * gdb.python/source1: New file.
14342 * gdb.python/python.exp: Test "source" command.
14343
00bf0b85
SS
143442010-01-15 Stan Shebs <stan@codesourcery.com>
14345
14346 * gdb.trace/tfile.c: New file.
14347 * gdb.trace/tfile.exp: New file.
889bf7c5 14348
55235ad7
JK
143492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14350
14351 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
14352
9f2982ff
JK
143532010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14354
14355 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
14356
bbfba9ed
JK
143572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14358
14359 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
14360 (libfunc): New parameter action. Implement also selectable "sleep".
14361 * gdb.base/break-interp-main.c: Include assert.h.
14362 (libfunc): New parameter action.
14363 (main): New parameters argc and argv. Assert argc. Pass argv.
14364 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
14365 (test_attach): New proc.
14366 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
14367 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
14368
61f0d762
JK
143692010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14370
14371 * gdb.base/break-interp.exp (test_core): New proc.
14372 (test_ld): Call it.
14373
06a6f270
JK
143742010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14375
14376 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
14377 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
14378 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
14379 and gdb_compile_shlib. Use new -Wl compiler options.
14380 (dl bt, main bt): New tests.
14381
51bee8e9
JK
143822010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14383
14384 Support PIEs with no symfile_objfile.
14385 * gdb.base/break-interp.exp: New argument at the test_ld calls.
14386 (test_ld): New parameter trynosym.
14387 (test_ld <$trynosym>): New block.
14388
b8040f19
JK
143892010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14390
14391 * gdb.base/break-interp.exp: New file.
14392
be759fcf
PM
143932010-01-13 Phil Muldoon <pmuldoon@redhat.com>
14394
14395 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
14396 * gdb.python/py-prettyprint.py (pp_ls): New printer.
14397 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
14398 test.
14399 * gdb.python/py-prettyprint.c: Define lazystring test structure.
14400 * gdb.python/py-mi.exp: Add lazy string test.
14401
dc146f7c
VP
144022010-01-13 Vladimir Prus <vladimir@codesourcery.com>
14403
14404 * lib/mi-support.exp (mi_check_thread_states): Handle
14405 core number in thread listing.
14406
b4ba55a1
JB
144072010-01-12 Joel Brobecker <brobecker@adacore.com>
14408
14409 * gdb.base/maint.exp: Adjust the expected output for the
14410 "maint print type" test. Use gdb_test_multiple instead of
14411 gdb_sent/gdb_expect.
14412
08e24bd4
DE
144132010-01-11 Doug Evans <dje@google.com>
14414
6496a609
DE
14415 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
14416 from gdbserver_download. All callers updated.
14417
08e24bd4
DE
14418 * gdb.server/ext-run.exp: "info os processes" requires xml support.
14419
b5cfddf5
JK
144202010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14421
14422 Implement binary numbers parsing.
14423 * gdb.base/printcmds.exp (test_integer_literals_accepted)
14424 (test_integer_literals_rejected): New binary tests.
14425
3725885a
RW
144262010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14427
14428 * gdb.cell/configure: Regenerate.
14429
37aeb5df
JK
144302010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14431
14432 * gdb.base/corefile.exp: Move the core finding block out and call it as
14433 core_find, new variable $corefile, replace corefile by $corefile and
14434 [file tail $corefile] for usage vs. test names resp.
14435 * lib/gdb.exp (core_find): Move it as a new function here. New
14436 parameter binfile and deletefiles. New variable $destcore. Pre-delete
14437 $destcore. Return "" on error.
14438
d521f563
JK
144392010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14440
14441 Workaround PR binutils/10802.
14442 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
14443 (twice).
14444
28f24826
DJ
144452010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14446
14447 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
14448
2de75e71
JB
144492010-01-08 Joel Brobecker <brobecker@adacore.com>
14450
14451 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
14452 call, to avoid interruption.
14453
fe00719b 144542010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
14455
14456 * gdb.stabs/weird.def (args93): New.
14457
d0ef5df8
DE
144582010-01-07 Doug Evans <dje@google.com>
14459
14460 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
14461
3a08d52f
TT
144622010-01-07 Tom Tromey <tromey@redhat.com>
14463
14464 * gdb.base/source.exp: Use correct line number.
14465
7a697b8d
SS
144662010-01-05 Stan Shebs <stan@codesourcery.com>
14467
14468 * gdb.trace/tracecmd.exp: Test ftrace.
14469
7803799a
UW
144702010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14471
14472 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
14473
c54eabfa
JK
144742010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14475
14476 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
14477 "uint_for_mi_testing".
14478
02e7ef19
JB
144792010-01-01 Joel Brobecker <brobecker@adacore.com>
14480
14481 Test indented comment in file being sourced.
14482 * gdb.base/commands.exp: Test indented comment in file being sourced.
14483
abd775ce
JB
144842010-01-01 Joel Brobecker <brobecker@adacore.com>
14485
14486 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
14487 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
14488 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
14489 notice.
14490
79b55b82
JB
144912010-01-01 Joel Brobecker <brobecker@adacore.com>
14492
14493 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
14494 notice.
14495
8997583e
JK
144962010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14497
14498 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
14499 missing $after_stopped and comma (,) expectation.
14500
6da95a67
SS
145012009-12-31 Stan Shebs <stan@codesourcery.com>
14502
14503 * gdb.trace/actions.exp: Test teval action.
889bf7c5 14504
218d2fc6
TJB
145052009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14506
14507 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
14508 (top level): Call test_watchpoint_in_big_blob.
14509 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
14510 watchpoints.
14511 (func3): Write to buf.
14512
236f1d4d
SS
145132009-12-29 Stan Shebs <stan@codesourcery.com>
14514
14515 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 14516
f61e138d
SS
145172009-12-28 Stan Shebs <stan@codesourcery.com>
14518
14519 * gdb.trace/tsv.exp: New file.
14520 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 14521
0219b378
DJ
145222009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
14523
14524 * gdb.base/find.c (main): Reference search buffers.
14525 * gdb.base/included.c (main): Reference integer.
14526 * gdb.base/ptype.c (charfoo): Declare.
14527 (intfoo): Call charfoo.
14528 * gdb.base/scope0.c (useitp): New function.
14529 (usestatics): Use useitp.
14530 (useit): Add a type for val.
14531 * gdb.base/scope1.c (useit1): Take a pointer argument.
14532 (usestatics1): Update calls to useit1.
14533 * gdb.cp/call-c.cc: Declare foo.
14534 (main): Call foo.
14535 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
14536 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
14537 (main): Call C::ensureRefs and ensureOtherRefs.
14538 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
14539 variables.
14540 (ensureOtherRefs): New function.
14541 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
14542 * gdb.cp/templates.cc (main): Call t5i.value.
14543
3f78692f
JK
145442009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14545
14546 Fix compatibility with G++-4.5.
14547 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
14548 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
14549 (uncaught return): Remove.
14550
429374b8
JK
145512009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14552 Phil Muldoon <pmuldoon@redhat.com>
14553
14554 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
14555 (bp_location13, bp_location14, bp_location17, bp_location18)
14556 (marker3_proto, marker4_proto): New variables.
14557 (breakpoint info): Update output.
14558 (run until breakpoint at marker3, run until breakpoint at marker4): New
14559 tests.
14560
859825b8
JK
145612009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14562
14563 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
14564 Replace the printf call of Y by provided "y-set-1" label. New block
14565 for the second shared library.
14566 * gdb.base/unload.exp: Compile also the second library, call
14567 gdb_load_shlibs also for it. Use now gdb_breakpoint.
14568 (single pending breakpoint info): Rename to ...
14569 (pending breakpoint info before run): ... this extended test.
14570 (libfile2, libname2, libsrcfile2, libsrc2)
14571 (lib_sl2): New variables.
14572 (exec_opts): Set also SHLIB_NAME2.
14573 (pending breakpoint info on first run at shrfunc1)
14574 (pending breakpoint info on second run at shrfunc1)
14575 (pending breakpoint info on second run at shrfunc2)
14576 (print y from libfile, print y from libfile2): New tests.
14577 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
14578 * gdb.base/unloadshr2.c: New.
14579
e6a386cd
HZ
145802009-12-22 Hui Zhu <teawater@gmail.com>
14581
14582 * gdb.reverse/sigall-reverse.exp: Adjust.
14583
9e19b45e
VP
145842009-12-21 Vladimir Prus <vladimir@codesourcery.com>
14585
14586 PR gdb/10884
14587
14588 * gdb.mi/var-cmd.c (do_bitfield_tests): New
14589 (main): Call do_bitfield_tests.
aacf5b1e 14590 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 14591
d53a7b30
JB
145922009-12-20 Joel Brobecker <brobecker@adacore.com>
14593
14594 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
14595 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
14596 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
14597 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
14598 gdb.modula2/unbounded1.c: Update copyright header.
14599
191ca0a1
CM
146002009-12-10 Chris Moller <moller@mollerware.com>
14601
14602 PR gdb/9399
14603 * gdb.cp/virtfunc2.exp: New tests
14604 * gdb.cp/virtfunc2.cc: New tests
14605 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
14606
0fa6cf1b
MS
146072009-12-10 Oza Pawandeep (paawan1982@yahoo.com
14608
14609 * gdb.reverse/i387-env-reverse.c: New file.
14610 * gdb.reverse/i387-env-reverse.exp: New file.
14611 * gdb.reverse/i387-stack-reverse.c: New file.
14612 * gdb.reverse/i387-stack-reverse.exp: New file.
14613
361ae042
PM
146142009-12-08 Phil Muldoon <pmuldoon@redhat.com>
14615
14616 * gdb.python/py-type.exp (test_range): New test.
14617
bfd31e71
PM
146182009-12-03 Phil Muldoon <pmuldoon@redhat.com>
14619
14620 PR python/10805
14621
14622 * gdb.python/py-type.exp: New file.
14623 * gdb.python/py-type.c: New file.
14624 * Makefile.in: Add py-type.
14625
57a1d736
TT
146262009-12-03 Tom Tromey <tromey@redhat.com>
14627
14628 * gdb.python/py-value.exp (test_parse_and_eval): New
14629 function.
14630
1f3b5d1b
PP
146312009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14632
14633 PR gdb/11022
14634
14635 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
14636 * gdb.base/pr11022.c: New test.
14637
8b7dbdc9
JK
146382009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14639
14640 Fix spurious false FAILs.
14641 * gdb.base/structs.c (chartest): New.
14642 (main): Fill-in chartest.
14643 * gdb.base/structs.exp (anychar_re, first): New.
14644 (start_structs_test): Import global anychar_re and first.
14645 New gdb_test call "set print elements 300; ${testfile}"
14646 (start_structs_test <$first>): New block.
14647 (any): Import global anychar_re. New variable ac. Use ${ac}.
14648
6a53b2ec
JK
146492009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14650
14651 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
14652
d7167b4c
JK
146532009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14654
14655 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
14656 Force $srcfile file.
14657 * gdb.base/foll-fork.c (callee): Comment out the printf call.
14658
b1798462
UW
146592009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14660
14661 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
14662 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
14663 * gdb.threads/watchthreads-reorder.exp: Likewise.
14664
b6199126
DJ
146652009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
14666
14667 PR gdb/8704
14668
14669 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
14670 "if", and "thread". Correct matching in the previous test.
14671
b22a0510
DJ
146722009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
14673
14674 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
14675
930636d2
MS
146762009-11-23 Michael Snyder <msnyder@vmware.com>
14677
14678 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
14679 * gdb.reverse-watch-precsave.exp: Ditto.
14680
21a0512e
PP
146812009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
14682
14683 * gdb.asm/asm-source.exp: Adjust.
14684 * gdb.base/help.exp: Adjust.
889bf7c5 14685
fc30d5e0
PA
146862009-11-22 Pedro Alves <pedro@codesourcery.com>
14687
14688 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
14689 (do_syscall_tests_without_xml): Set data-directory to
14690 /the/path/to/nowhere.
14691
f6bc2008
PA
146922009-11-21 Pedro Alves <pedro@codesourcery.com>
14693
14694 * gdb.threads/local-watch-wrong-thread.c,
14695 gdb.threads/local-watch-wrong-thread.exp: New files.
14696
8c2fb5de
PA
146972009-11-21 Pedro Alves <pedro@codesourcery.com>
14698
14699 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
14700 assume new `regsub' syntax available.
14701
ebec9a0f
PA
147022009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14703
a79d3c27
JK
14704 * gdb.base/watchpoint-hw-hit-once.exp,
14705 gdb.base/watchpoint-hw-hit-once.c: New.
14706
147072009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14708
14709 * gdb.threads/watchthreads-reorder.exp,
14710 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 14711
276a961b
MK
147122009-11-17 Nathan Sidwell <nathan@codesourcery.com>
14713
14714 * gdb.xml/tdesc-regs.exp: Use for m68k.
14715
4867c1fb
PA
147162009-11-15 Pedro Alves <pedro@codesourcery.com>
14717
14718 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
14719
f6838f81
DJ
147202009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14721
14722 * lib/gdb.exp (current_target_name): New procedure.
14723 (gdb_wrapper_target): New variable.
14724 (gdb_wrapper_init): Set gdb_wrapper_target.
14725 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
14726 wrapper.
14727
4ac4dd3f
DJ
147282009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14729
14730 * gdb.base/remote.exp: Delete the slowest load test.
14731 Do not load with fixed packet sizes.
14732
a7881759
DJ
147332009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14734
14735 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
14736
97a5b505
DJ
147372009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14738
14739 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
14740 srcfile when setting a breakpoint.
14741
d3e1fc54
DJ
147422009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
14743
14744 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
14745 macros.
14746
7cbcbded
DJ
147472009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14748
14749 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
14750 to be in memory.
14751 * gdb.base/display.c (force_mem): New.
14752 (do_loops): Use it. Add breakpoint comments.
14753 (do_vars): Add a breakpoint comment.
14754 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
14755 line numbers.
14756
bdea3a92
NF
147572009-11-13 Nathan Froyd <froydnj@codesourcery.com>
14758
14759 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
14760 instead of a bare "run".
14761
269f82e5
PP
147622009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14763
14764 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 14765
a69b7d9d
DJ
147662009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14767
14768 * lib/cell.exp (skip_cell_tests): Clean up test files before
14769 returning.
14770
b598bfda
DJ
147712009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14772
14773 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
14774 and the breakpoint menu. Do not call perror if a prompt is seen.
14775 Consume the following GDB prompt.
14776 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
14777 * gdb.cp/namespace.exp: Use gdb_test.
14778 * gdb.cp/templates.exp: Use gdb_test.
14779 (test_template_breakpoints): Use gdb_test_multiple.
14780
87728fa0
DJ
147812009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14782
14783 * gdb.base/break1.c (struct some_struct, values): Move earlier.
14784 (marker4): Reference values.
14785
b67c692f
DJ
147862009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14787
14788 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
14789 is missing.
14790
f0df251a
DJ
147912009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14792
14793 * gdb.base/break.c (need_malloc): New.
14794 * gdb.base/constvars.c (main): Reference crass and crisp.
14795 * gdb.base/gdb1821.c (main): Reference bar.
14796 * gdb.cp/gdb1355.cc (main): Reference s1.
14797 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
14798 (main): Call them.
14799 * gdb.cp/hang2.cc (dummy2): Define.
14800 * gdb.cp/hang3.cc (dummy3): Define.
14801 * gdb.cp/m-data.cc (main): Reference shadow.
14802
bdf7534a
NF
148032009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14804 Nathan Froyd <froydnj@codesourcery.com>
14805
14806 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
14807 remote host.
14808
f24fce77
NF
148092009-11-12 Nathan Froyd <froydnj@codesourcery.com>
14810
14811 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
14812 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
14813 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14814 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14815 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14816 * gdb.dwarf2/dw2-producer.exp: Likewise.
14817 * gdb.dwarf2/mac-fileno.exp: Likewise.
14818 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
14819 py-prettyprint.py to the remote host.
14820 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
14821
40f0318e
KS
148222009-11-11 Keith Seitz <keiths@redhat.com>
14823
14824 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
14825 use it instead of "Foo".
14826 * gdb.cp/classes.exp (do_tests): Add a test to access
14827 a method through a typedef'd class name.
14828
f3d9f7fb
NF
148292009-11-11 Nathan Froyd <froydnj@codesourcery.com>
14830
14831 * gdb.base/long_long.exp: Permit leading zeros on floating-point
14832 exponents.
14833 * gdb.base/pointers.exp: Likewise.
14834 * gdb.cp/ref-types.exp: Likewise.
14835
a4216f37
KS
148362009-11-11 Keith Seitz <keiths@redhat.com>
14837
14838 * gdb.cp/cplusfuncs.cc (class foo): Add operators
14839 new[] and delete[].
14840 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
14841 "void".
14842 (probe_demangler): Remove all single-quoting of
14843 method and variable names.
14844 (info_func_regexp): Remove the word "void" from any
14845 occurrence of "(void)".
14846 (print_addr_2): Remove all single-quoting of
14847 method names.
14848 (print_addr_2_kfail): Likewise.
14849 (print_addr): Single-quote C function names before
14850 passing to print_addr_2.
14851 (test_paddr_operator_functions): Remove single-quoting
14852 for method names.
14853 Add tests for operator new[] and operator delete[].
14854
9b14d7aa
JK
148552009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14856
14857 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
14858
85feb311
KS
148592009-11-09 Keith Seitz <keiths@redhat.com>
14860
14861 * gdb.cp/overload.exp: Add tests for resolving overloaded
14862 methods in expression parsing/evaluation.
14863
fa335448
DJ
148642009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
14865
14866 * lib/gdb.exp (default_gdb_version): Use --version instead of
14867 --command.
14868
ec3c07fc
NS
148692009-11-10 Nathan Sidwell <nathan@codesourcery.com>
14870
14871 * lib/gdb.exp (gdb_compile_test): New.
14872 (skip_ada_tests, skip_java_tests): New.
14873 (gdb_compile): Use gdb_compile_test for f77.
14874 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
14875 * lib/java.exp (compile_java_from_source): Remove runtests check,
14876 use gdb_compile_test to record result.
14877 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
14878 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
14879 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
14880 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
14881 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
14882 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
14883 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
14884 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
14885 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
14886 adjust gdb_compile invocations.
14887
b8b4e42b
JK
148882009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14889
14890 * Makefile.in (abs_builddir): New.
14891 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
14892 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
14893 `$(abs_builddir)/site.exp'.
14894
f8b7eaf3
DJ
148952009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
14896
14897 * config/m68k-emc.exp, lib/emc-support.exp,
14898 gdb.trace/gdb_c_test.c: Delete.
14899 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
14900 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14901 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14902 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14903 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14904 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
14905 casing for m68k-*-elf.
14906
c4187697
NS
149072009-11-03 Pedro Alves <pedro@codesourcery.com>
14908
14909 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
14910 * gdb.arch/i386-prologue.exp: Likewise.
14911 * gdb.arch/i386-unwind.exp: Likewise.
14912
db16b772
DJ
149132009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14914
14915 * lib/gdb.exp (gdb_expect): Fix timeout typo.
14916
bcf71277
DJ
149172009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14918
14919 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
14920
0105cee2
DJ
149212009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14922
14923 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
14924
24ddea62
JK
149252009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14926
14927 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
14928
287ccc17
JK
149292009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14930
14931 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
14932 * gdb.base/sepdebug2.c: New file.
14933
08bca259 149342009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
14935
14936 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
14937 the modified warnings for catch syscall. Verify if GDB was compiled
14938 with support for lib expat, and choose which tests to run depending
14939 on this.
14940
5d4e2b76
VP
149412009-10-30 Vladimir Prus <vladimir@codesourcery.com>
14942
14943 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
14944 that composite commands are parsed OK. And also test
14945 that breakpoint commands do work.
14946
240e538a
MS
149472009-10-23 Michael Snyder <msnyder@vmware.com>
14948
14949 gdb.reverse/consecutive-precsave.exp: Change expect pattern
14950 to allow for new disassembly style.
14951
9c419145
PP
149522009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14953
14954 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 14955
02506ff1
MS
149562009-10-22 Michael Snyder <msnyder@vmware.com>
14957
14958 * gdb.reverse/break-precsave.exp: New test.
14959 * gdb.reverse/consecutive-precsave.exp: Ditto.
14960 * gdb.reverse/finish-precsave.exp: Ditto.
14961 * gdb.reverse/i386-precsave.exp: Ditto.
14962 * gdb.reverse/machinestate-precsave.exp: Ditto.
14963 * gdb.reverse/sigall-precsave.exp: Ditto.
14964 * gdb.reverse/solilb-precsave.exp: Ditto.
14965 * gdb.reverse/step-precsave.exp: Ditto.
14966 * gdb.reverse/until-precsave.exp: Ditto.
14967 * gdb.reverse/watch-precsave.exp: Ditto.
14968
4cf866a3
MS
149692009-10-22 Michael Snyder <msnyder@vmware.com>
14970
14971 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
14972 for gdb_expect. Adjust one test's expect strings for the new
14973 format of disassemble.
14974 * gdb.reverse/finish-reverse.exp: Delete 'return'.
14975 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
14976 gdb_test_multiple.
14977 * gdb.reverse/step-reverse.exp: Delete 'return'.
14978 * gdb.reverse/until-reverse.exp: Delete blank lines.
14979 * gdb.reverse/watch-reverse.exp: Delete blank lines.
14980
2b28d209
PP
149812009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
14982
14983 * gdb.base/consecutive.exp: Adjust.
14984 * gdb.base/display.exp: Likewise.
14985 * gdb.base/pc-fp.exp: Likewise.
14986 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 14987
33b9c32b
MS
149882009-10-19 Michael Snyder <msnyder@vmware.com>
14989
14990 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
14991 * gdb.reverse/finish-reverse.c: Ditto.
14992 * gdb.reverse/sigall-reverse.c: Ditto.
14993 * gdb.reverse/solib-reverse.c: Ditto.
14994 * gdb.reverse/step-reverse.c: Ditto.
14995 * gdb.reverse/watch-reverse.c: Ditto.
14996
6c95b8df
PA
149972009-10-19 Pedro Alves <pedro@codesourcery.com>
14998 Stan Shebs <stan@codesourcery.com>
14999
15000 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
15001 * gdb.base/foll-exec.exp: Adjust to expect a process id before
15002 "Executing new program".
15003 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
15004 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
15005 left listed after having been killed.
15006 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
15007 * gdb.base/maint.exp: Adjust test.
15008
15009 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
15010 * gdb.multi/Makefile.in: New.
15011 * gdb.multi/base.exp: New.
15012 * gdb.multi/goodbye.c: New.
15013 * gdb.multi/hangout.c: New.
15014 * gdb.multi/hello.c: New.
15015 * gdb.multi/bkpt-multi-exec.c: New.
15016 * gdb.multi/bkpt-multi-exec.exp: New.
15017 * gdb.multi/crashme.c: New.
15018
279017b7
TG
150192009-10-13 Tristan Gingold <gingold@adacore.com>
15020
15021 * gdb.base/sepdebug.exp: Check debug info are found.
15022
0413d738
PA
150232009-10-08 Pedro Alves <pedro@codesourcery.com>
15024
15025 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
15026 bits.
15027
c628eecc
JK
150282009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15029
15030 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
15031
38af1bfe
JB
150322009-10-07 Joel Brobecker <brobecker@adacore.com>
15033
15034 * gdb.base/watchpoints.c: Add copyright header. Reformat one
15035 of the comments.
15036
2b0adecd
PM
150372009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
15038
15039 * gdb.base/annota1.exp: Remove obsolete match_max increase.
15040 * gdb.base/annota3.exp: Idem.
15041 * gdb.base/maint.exp: Idem.
15042
8d417781
PM
150432009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
15044
889bf7c5 15045 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
15046 to default.
15047
bb61102d
PM
150482009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
15049
889bf7c5 15050 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
15051 mingw and cygwin targets.
15052
ace5c364
PM
150532009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
15054 Pedro Alves <pedro@codesourcery.com>
15055
889bf7c5 15056 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
15057 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
15058
c2d494a0
PM
150592009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
15060
e1b52ce2
PM
15061 * gdb.base/shr1.c: Use %p in format string.
15062 * gdb.base/unload.c: Avoid warning in fprintf.
15063 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 15064
209f53f5
PM
150652009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
15066
15067 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
15068 long type.
15069 (test_unlink): Correct printf string.
15070 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
15071 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
15072
8172766a
JK
150732009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15074
15075 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
15076 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
15077 * gdb.arch/ia64-breakpoint-shadow.S: New file.
15078
0f73703c
UW
150792009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15080
15081 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
15082 * gdb.objc/nondebug.exp: Likewise.
15083
b32306ca
UW
150842009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15085
15086 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
15087 target_info setting.
15088
15089 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
15090 that detect new threads during "info threads".
15091
0057022f
UW
150922009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15093
15094 * gdb.threads/manythreads.c (main): Increase thread stack size
15095 to 2*PTHREAD_STACK_MIN.
15096 * gdb.threads/multi-create.c (main): Likewise.
15097 (create_function): Likewise.
15098
f29c0325
UW
150992009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15100
15101 * gdb.base/dump.exp: Pass difference of pointer types instead
15102 of integer types as offset to restore in intarr3.srec case.
15103
fcb34849
UW
151042009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15105
15106 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
15107
d5142e3b
UW
151082009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15109
15110 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
15111
087b74b2 151122009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 15113
087b74b2
PM
15114 New test for two watchpoints, with disabling of
15115 the first inserted.
15116 * testsuite/gdb.base/watchpoints.c: New file.
15117 * testsuite/gdb.base/watchpoints.exp: New file.
15118
96c07c5b
TT
151192009-09-25 Tom Tromey <tromey@redhat.com>
15120
15121 * gdb.base/charset.exp: Test utf-16 strings with Python.
15122
b8899f2b
TT
151232009-09-25 Tom Tromey <tromey@redhat.com>
15124
15125 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
15126 UCS-4.
15127 * gdb.base/charset.c (utf_32_string): Rename.
15128 (init_utf32): Rename.
15129 (main): Update.
15130
329719ec
TT
151312009-09-22 Tom Tromey <tromey@redhat.com>
15132
15133 * gdb.python/py-function.exp: Add regression tests.
15134
11ef0d76
KS
151352009-09-21 Keith Seitz <keiths@redhat.com>
15136
15137 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
15138 with invalid operator.
15139
3fe8f3b3
KS
151402009-09-21 Keith Seitz <keiths@redhat.com>
15141
15142 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
15143 and destructor using typedef name of class.
15144 * gdb.cp/classes.cc (class Base1): Add a destructor.
15145 (base1): New typedef.
15146 (use_methods): Instanitate an object of type base1.
15147 * gdb.cp/templates.exp (test_template_typedef): New procedure.
15148 (do_tests): Call test_template_typedef.
15149 * gdb.cp/templates.cc (Baz::~Baz): New method.
15150 (intBazOne): New typedef.
15151 (main): Instantiate intBazOne.
15152
7a9fe101
PM
151532009-09-21 Phil Muldoon <pmuldoon@redhat.com>
15154
15155 PR python/10633
15156
15157 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
15158 Function.
15159 (run_lang_tests): Add print elements test.
15160
2e4d963f
PM
151612009-09-21 Phil Muldoon <pmuldoon@redhat.com>
15162
15163 * gdb.python/py-value.exp (test_subscript_regression): New
15164 function. Test for invalid subscripts.
15165 * gdb.python/py-value.c (main): Add test array, and pointer to it.
15166 (ptr_ref): New function.
15167
ec7e75e7
PP
151682009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15169
15170 * gdb.base/default.exp: Fix "show convenience".
15171
0cc7d26f
TT
151722009-09-15 Tom Tromey <tromey@redhat.com>
15173
15174 * lib/mi-support.exp (mi_create_varobj): Update.
15175 (mi_create_floating_varobj): Likewise.
15176 (mi_create_dynamic_varobj): New proc.
15177 (mi_varobj_update): Update.
15178 (mi_varobj_update_with_type_change): Likewise.
15179 (mi_varobj_update_kv_helper): New proc.
15180 (mi_varobj_update_dynamic_helper): Rewrite.
15181 (mi_varobj_update_dynamic): New proc.
15182 (mi_list_varobj_children): Update.
15183 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
15184 * gdb.python/python-prettyprint.py (pp_outer): New class.
15185 (pp_nullstr): Likewise.
15186 (lookup_function): Register new printers.
15187 * gdb.python/python-prettyprint.c (struct substruct): New type.
15188 (struct outerstruct): Likewise.
15189 (substruct_test): New function.
15190 (struct nullstr): New type.
15191 (string_1, string_2): New globals.
15192 (main): Add new tests.
15193 * gdb.python/python-mi.exp: Added regression tests.
15194 * gdb.mi/mi2-var-display.exp: Update.
15195 * gdb.mi/mi2-var-cmd.exp: Update.
15196 * gdb.mi/mi2-var-child.exp: Update.
15197 * gdb.mi/mi2-var-block.exp: Update.
15198 * gdb.mi/mi-var-invalidate.exp: Update.
15199 * gdb.mi/mi-var-display.exp: Update.
15200 * gdb.mi/mi-var-cmd.exp: Update.
15201 * gdb.mi/mi-var-child.exp: Update.
15202 * gdb.mi/mi-var-block.exp: Update.
15203 * gdb.mi/mi-break.exp: Update.
15204 * gdb.mi/gdb701.exp: Update.
15205
a96d9b2e
SDJ
152062009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
15207
15208 * Makefile.in: Inclusion of catch-syscall object.
15209 * gdb.base/catch-syscall.c: New file.
15210 * gdb.base/catch-syscall.exp: New file.
15211
b43b923a
MS
152122009-09-12 Michael Snyder <msnyder@vmware.com>
15213
15214 * gdb.reverse/step-reverse.exp: Explicitly check for targets
15215 that can support reverse debuggnig.
15216
cec03d70
TT
152172009-09-11 Tom Tromey <tromey@redhat.com>
15218
15219 * gdb.dwarf2/valop.S: New file.
15220 * gdb.dwarf2/valop.exp: New file.
15221
e23bb3fc
MK
152222009-09-11 Mark Kettenis <kettenis@gnu.org>
15223
15224 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
15225
37c3696d
DE
152262009-09-10 Doug Evans <dje@google.com>
15227
15228 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
15229 Add $gdb_prompt to second breakpoint regexp.
15230
5172aecb
JB
152312009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
15232
15233 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
15234 names, add missing ones.
15235 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
15236 * gdb.python/py-frame.c: Rename from python-frame.c.
15237 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
15238 testfile name.
15239 * gdb.python/py-function.exp: Rename from python-function.exp.
15240 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
15241 testfile name.
15242 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
15243 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
15244 Adjust testfile name.
15245 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
15246 * gdb.python/py-template.cc: Rename from python-template.cc.
15247 * gdb.python/py-template.exp: Rename from python-template.exp.
15248 Adjust testfile name.
15249 * gdb.python/py-value.c: Rename from python-value.c.
15250 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
15251 testfile name.
15252
b554e4bd
JK
152532009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15254
15255 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
15256 $bpt2address.
15257 (Second breakpoint address is valid on ia64)
15258 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
15259
9a68ae16
JM
152602009-09-03 Joseph Myers <joseph@codesourcery.com>
15261
15262 * gdb.base/ending-run.exp: Restrict regular expression matching
15263 line number to require closing brace following.
15264
146b9145
DE
152652009-09-03 Doug Evans <dje@google.com>
15266
15267 * gdb.base/store.exp (check_set): Fix typo in expected value message.
15268
787d21e1
TT
152692009-09-02 Tom Tromey <tromey@redhat.com>
15270
15271 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
15272
e7802207
TT
152732009-09-02 Tom Tromey <tromey@redhat.com>
15274
15275 * gdb.dwarf2/callframecfa.exp: New file.
15276 * gdb.dwarf2/callframecfa.S: New file.
15277
817aadd2
JK
152782009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15279
15280 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
15281 gdb.base/solib-overlap-main.c: New.
15282
4a76eae5
DJ
152832009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
15284
15285 PR gdb/10565
15286
15287 * gdb.base/bitfields.c (struct container, container): New.
15288 (main): Initialize it and call break5.
15289 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
15290
d4b96c9a
JK
152912009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15292
15293 Support constant DW_AT_data_member_location by GCC PR debug/40659.
15294 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
15295
4e22772d
JK
152962009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15297
15298 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
15299
2efab443
MS
153002009-08-26 Michael Snyder <msnyder@vmware.com>
15301
15302 * gdb.base/i386-reverse.c: New file.
15303 * gdb.base/i386-reverse.exp: New file.
15304 * gdb.base/Makefile.in: Add new files to be removed.
15305
07ab73a0
JM
153062009-08-26 Joseph Myers <joseph@codesourcery.com>
15307
15308 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
15309 environment-pwd for remote host.
15310 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
15311
676accff
KS
153122009-08-24 Keith Seitz <keiths@redhat.com>
15313
15314 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
15315 Add two new C++ completer tests which limit the output to a
889bf7c5 15316 given class.
676accff 15317
f9f7ad22
MS
153182009-08-24 Michael Snyder <msnyder@vmware.com>
15319
15320 * gdb.base/del.exp: Fix typo in comment.
15321 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
15322
81ecdfbb
RW
153232009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15324
15325 * configure: Regenerate.
15326 * gdb.hp/configure: Likewise.
15327 * gdb.hp/gdb.aCC/configure: Likewise.
15328 * gdb.hp/gdb.base-hp/configure: Likewise.
15329 * gdb.hp/gdb.compat/configure: Likewise.
15330 * gdb.hp/gdb.defects/configure: Likewise.
15331 * gdb.hp/gdb.objdbg/configure: Likewise.
15332 * gdb.stabs/configure: Likewise.
15333
cab0c772
UW
153342009-08-19 Doug Evans <dje@google.com>
15335
15336 * gdb.base/gdbvars.c: New file.
15337 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
15338
b8fa0bfa
PA
153392009-08-14 Pedro Alves <pedro@codesourcery.com>
15340
15341 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15342 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
15343
b84aa90a
PA
153442009-08-13 Pedro Alves <pedro@codesourcery.com>
15345
15346 * gdb.base/default.exp: Adjust "set language test": it's now an
15347 enum command. Larger help string moved to "help set language".
15348 * gdb.base/help.exp: Adjust "help set language" expected output,
15349 now lists all known languages.
15350
0d8f9b2c
NF
153512009-08-11 Nathan Froyd <froydnj@codesourcery.com>
15352
15353 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
15354 all frame arguments.
15355 * gdb.arch/altivec-regs.exp: Likewise.
15356
bda180e0
TT
153572009-08-07 Tom Tromey <tromey@redhat.com>
15358
15359 * gdb.base/setshow.exp: Add tests for changes to set language, set
15360 check range, and set check type.
15361
48cb2d85
VP
153622009-08-03 Vladimir Prus <vladimir@codesourcery.com>
15363
15364 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
15365 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 15366 Call it.
48cb2d85 15367
1ea34204
UW
153682009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15369
15370 * configure.ac: Run gdb.cell tests when appropriate.
15371 * configure: Regenerate.
15372 * lib/cell.exp: New file.
15373 * gdb.cell: New directory.
15374 * gdb.cell/configure.ac: New file.
15375 * gdb.cell/configure: New file.
15376 * gdb.cell/Makefile.in: New file.
15377 * gdb.cell/arch.exp: New file.
15378 * gdb.cell/break.c: New file.
15379 * gdb.cell/break.exp: New file.
15380 * gdb.cell/break-spu.c: New file.
15381 * gdb.cell/bt.c: New file.
15382 * gdb.cell/bt2-spu.c: New file.
15383 * gdb.cell/bt-spu.c: New file.
15384 * gdb.cell/bt.exp: New file.
15385 * gdb.cell/coremaker.c: New file.
15386 * gdb.cell/coremaker-spu.c: New file.
15387 * gdb.cell/core.exp: New file.
15388 * gdb.cell/gcore.exp: New file.
15389 * gdb.cell/data.c: New file.
15390 * gdb.cell/data.exp: New file.
15391 * gdb.cell/data-spu.c: New file.
15392 * gdb.cell/ea-cache.exp: New file.
15393 * gdb.cell/ea-cache.c: New file.
15394 * gdb.cell/ea-cache-spu.c: New file.
15395 * gdb.cell/ea-standalone.c: New file.
15396 * gdb.cell/ea-standalone.exp: New file.
15397 * gdb.cell/ea-test.c: New file.
15398 * gdb.cell/ea-test.exp: New file.
15399 * gdb.cell/f-regs.exp: New file.
15400 * gdb.cell/mem-access.c: New file.
15401 * gdb.cell/mem-access.exp: New file.
15402 * gdb.cell/mem-access-spu.c: New file.
15403 * gdb.cell/ptype.exp: New file.
15404 * gdb.cell/registers.exp: New file.
15405 * gdb.cell/size.c: New file.
15406 * gdb.cell/sizeof.exp: New file.
15407 * gdb.cell/size-spu.c: New file.
15408 * gdb.cell/solib.exp: New file.
15409 * gdb.cell/solib-symbol.exp: New file.
15410
85e747d2
UW
154112009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15412
15413 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
15414
58d6951d
DJ
154152009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
15416
15417 * gdb.base/float.exp: Handle VFP registers.
15418
6e0a4f15
MS
154192009-07-14 Michael Snyder <msnyder@vmware.com>
15420
dcd5da87
MS
15421 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
15422 to bring gdb to the beginning of the calling line.
15423
6e0a4f15
MS
15424 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
15425 confusing the i386 epilogue unwinder.
15426
782b2b07
SS
154272009-07-14 Stan Shebs <stan@codesourcery.com>
15428
15429 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
15430
f662c3bc
MS
154312009-07-14 Michael Snyder <msnyder@vmware.com>
15432
15433 * gdb.reverse/step-reverse.exp (stepi into function call):
15434 Call instruction may not be first instruction in the line.
15435 (reverse stepi from a function call): Used wrong line number.
15436
8f313923
JK
154372009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15438
15439 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
15440
4662c76e
JK
154412009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15442
15443 Fix gdb.base/macscp.exp when using custom inputrc.
15444 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
15445 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
15446 env(TERM) set.
15447 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
15448 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
15449
aa81e255
JK
154502009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15451
15452 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
15453 * gdb.base/annota1.exp (thread_test): Import global $testfile.
15454 Change the compilation target to match the testcase name.
15455 * gdb.base/sect-cmd.exp: Change the compilation target to match the
15456 testcase name.
15457 * a2-run.exp: Use for setup prepare_for_testing. Change the
15458 compilation target to match the testcase name.
15459 * gdb.base/commands.exp: Likewise.
15460 * gdb.base/finish.exp: Likewise.
15461 * gdb.base/float.exp: Likewise.
15462 * gdb.base/info-target.exp: Likewise.
15463 * gdb.base/relational.exp: Likewise.
15464 * gdb.base/term.exp: Likewise.
15465 * gdb.base/until.exp: Likewise.
15466 * gdb.base/volatile.exp: Likewise.
15467 * gdb.base/whatis-exp.exp: Likewise.
15468
4c93b1d7
HZ
154692009-07-11 Hui Zhu <teawater@gmail.com>
15470
15471 * gdb.base/help.exp (disassemble): Update expected help text.
15472
812f7342
TT
154732009-07-09 Tom Tromey <tromey@redhat.com>
15474
15475 * lib/gdb.exp: Handle TRANSCRIPT.
15476 (remote_spawn, remote_close, send_gdb): New procs.
15477
fbb8f299
PM
154782009-07-10 Phil Muldoon <pmuldoon@redhat.com>
15479
15480 * gdb.python/python-prettyprint.c: Add counted null string
15481 structure.
15482 * gdb.python/python-prettyprint.exp: Print null string. Test for
15483 embedded nulls.
15484 * gdb.python/python-prettyprint.py (pp_ns): New Function.
15485 * gdb.python/python-value.exp (test_value_in_inferior): Add
15486 variable length string fetch tests.
15487 * gdb.python/python-value.c (main): Add strings for string fetch tests.
15488
c0ac0ec7
JK
154892009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15490
15491 * gdb.base/dump.exp (inaccessible memory is reported): New test.
15492
30b66ecc
TT
154932009-07-07 Tom Tromey <tromey@redhat.com>
15494
15495 * gdb.base/call-rt-st.exp: Update for change to escape output.
15496 * gdb.base/callfuncs.exp: Likewise.
15497 * gdb.base/charset.exp: Likewise.
15498 * gdb.base/constvars.exp: Likewise.
15499 * gdb.base/long_long.exp: Likewise.
15500 * gdb.base/pointers.exp: Likewise.
15501 * gdb.base/printcmds.exp: Likewise.
15502 * gdb.base/setvar.exp: Likewise.
15503 * gdb.base/store.exp: Likewise.
15504 * gdb.cp/ref-types.exp: Likewise.
15505 * gdb.mi/mi-var-child.exp: Likewise.
15506 * gdb.mi/mi-var-display.exp: Likewise.
15507 * gdb.mi/mi2-var-display.exp: Likewise.
15508 * gdb.base/charset.exp: Test octal escape sequence length.
15509 Update for change to escape output.
15510
187c4a2b
JK
155112009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15512
15513 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
15514
d80a43f9
DJ
155152009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
15516
15517 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
15518
047427a8
JK
155192009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15520
15521 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
15522 gdbserver increasing $portnum if "Can't bind address" has been seen.
15523
8b5a0f4f
PA
155242009-07-05 Pedro Alves <pedro@codesourcery.com>
15525
15526 * gdb.base/ending-run.exp: Add "step out of main" pattern for
15527 mingw32ce.
15528
7d93ba58
PA
155292009-07-05 Pedro Alves <pedro@codesourcery.com>
15530
15531 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
15532 VFP format.
15533
2277426b
PA
155342009-07-02 Pedro Alves <pedro@codesourcery.com>
15535
15536 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
15537 linux. Adjust to use "inferior", "info inferiors", "detach
15538 inferior" and "kill inferior" instead of "restart", "info fork",
15539 "detach fork" and "delete fork".
15540 * gdb.base/ending-run.exp: Spell out "info".
15541 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
15542 the "kill" command.
15543
5af949e3
UW
155442009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15545
15546 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
15547 change to prefix TLS offset in hex with 0x.
15548
5d3729b5
UW
155492009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15550
15551 * gdb.base/default.exp: Update test case for "x" changes.
15552
af589bd0
TG
155532009-07-01 Tristan Gingold <gingold@adacore.com>
15554
15555 * gdb.base/bigcore.exp: Make darwin untested.
15556
40974f91
JK
155572009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15558
15559 * gdb.base/completion.exp (directory completion): Create the directory.
15560 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
15561 escapeuniquesub.
15562 (directory completion 2): Expect now ${escapeuniquesub}.
15563 (Glob remaining of directory test): Remove one excessive newline.
15564 Expect the real output.
15565
59dd3af6
JK
155662009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15567
15568 Fix `make check//%' target after `make check' has been ran.
15569 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
15570 a mkdir call.
15571 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
15572 (%/.dir): Remove.
15573
f4e164aa
JK
155742009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15575
15576 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
15577 the expected result record.
15578
69af2122
JK
155792009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15580
15581 Remove racy FAILs relying just on the timeouts.
15582 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
15583 (annotation_level 2): Remove racy FAILs.
15584
2fd481e1
PP
155852009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15586
15587 gdb/10275
889bf7c5
PA
15588 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
15589
c38f313d
DJ
155902009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
15591
15592 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
15593
8b777f02
VP
155942009-06-30 Vladimir Prus <vladimir@codesourcery.com>
15595
15596 * gdb.mi/mi-stack.exp: Testing symbolic options
15597 to -stack-list-locals and -stack-list-arguments.
15598
00c7eacf
JK
155992009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15600
15601 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
15602
6bc80edc
TT
156032009-06-29 Tom Tromey <tromey@redhat.com>
15604
15605 * dg-extract-results.sh: New file.
15606 * Makefile.in (FORCE_PARALLEL): New variable.
15607 (CHECK_TARGET): New conditional variable.
15608 (check): Use CHECK_TARGET.
15609 (DO_RUNTEST): New variable.
15610 (check-single): New target.
15611 (TEST_DIRS): New variable.
15612 (TEST_TARGETS): Likewise.
15613 (check-parallel): New target.
15614 (check-gdb.%): New pattern.
15615 (BASE1_FILES): New variable.
15616 (BASE2_FILES): Likewise.
15617 (check-gdb.base%): New pattern.
15618 (%/.dir): New pattern.
15619 * configure: Rebuild.
15620 * aclocal.m4 (AM_CONDITIONAL): New defun.
15621 * configure.ac: Check whether user is using GNU make.
15622 (GMAKE): New conditional.
15623
794684b6
SW
156242009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
15625
15626 * gdb.cp/namespace-nested-import.cc: New test.
15627 * gdb.cp/namespace-nested-import.exp: New test.
15628
edb3359d
DJ
156292009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
15630
15631 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
15632 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
15633 * gdb.opt/Makefile.in (EXECUTABLES): Update.
15634 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
15635 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
15636 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
15637 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
15638 gdb.opt/inline-markers.c: New files.
15639 * lib/gdb.exp (skip_inline_frame_tests): New function.
15640 (skip_inline_var_tests): New function.
15641
cf657a0c
AS
156422009-06-27 Andreas Schwab <schwab@linux-m68k.org>
15643
15644 * gdb.cp/exception.exp: Don't require $hex before inner frame in
15645 backtrace.
15646
28d41a99
MS
156472009-06-27 Michael Snyder <msnyder@vmware.com>
15648
15649 * gdb.reverse: New directory.
15650 * gdb.reverse/break-reverse.c: New test.
15651 * gdb.reverse/break-reverse.exp: New test.
15652 * gdb.reverse/consecutive-reverse.c: New test.
15653 * gdb.reverse/consecutive-reverse.exp: New test.
15654 * gdb.reverse/finish-reverse.c: New test.
15655 * gdb.reverse/finish-reverse.exp: New test.
15656 * gdb.reverse/machinestate.c: New test.
15657 * gdb.reverse/ms1.c: New test.
15658 * gdb.reverse/machinestate.exp: New test.
15659 * gdb.reverse/Makefile.in: New file.
15660 * gdb.reverse/shr2.c: New test.
15661 * gdb.reverse/solib-reverse.c: New test.
15662 * gdb.reverse/solib-reverse.exp: New test.
15663 * gdb.reverse/step-reverse.c: New test.
15664 * gdb.reverse/step-reverse.exp: New test.
15665 * gdb.reverse/until-reverse.c: New test.
15666 * gdb.reverse/ur1.c: New test.
15667 * gdb.reverse/until-reverse.exp: New test.
15668 * gdb.reverse/watch-reverse.c: New test.
15669 * gdb.reverse/watch-reverse.exp: New test.
15670 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
15671 * configure: Regenerate.
15672
fe3c8b0d
DE
156732009-06-26 Doug Evans <dje@google.com>
15674
15675 * gdb.base/psymtab.exp: Turn off pending breakpoints.
15676
3a72a602
PM
156772009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
15678
15679 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
15680 windows problem for 'file delete $binfile'.
15681
27aa8d6a
SW
156822009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
15683
15684 * gdb.cp/namespace-using.exp: New test.
15685 * gdb.cp/namespace-using.cc: New test.
15686
8ac055f8
JB
156872009-05-20 Joel Brobecker <brobecker@adacore.com>
15688
15689 * gdb.ada/variant_record_packed_array: New testcase.
15690
85e306ed
TT
156912009-06-23 Tom Tromey <tromey@redhat.com>
15692
15693 * gdb.base/charset.exp (test_combination): Regression test.
15694 * gdb.base/charset.c (my_wchar_t): New typedef.
15695 (myvar): New global.
15696 (main): Set myvar.
15697
56643c5e
PM
156982009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
15699
15700 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
15701 target.
15702
1fac167a
UW
157032009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15704
15705 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
15706
7ccb0be9
UW
157072009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15708
15709 * gdb.mi/gdb680.exp: Update test for error message.
15710
568d6575
UW
157112009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15712
15713 * gdb.base/annota1.exp: Allow multiple occurrences of the
15714 frames-invalid annotation.
15715 * gdb.cp/annota2.exp: Likewise.
15716
7cd1089b
PM
157172009-06-15 Phil Muldoon <pmuldoon@redhat.com>
15718
15719 * gdb.cp/gdb2495.cc: New file.
15720 * gdb.cp/gdb2495.exp: New file.
15721
72c63395
JK
157222009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15723
15724 Report error on GDB crash during runto.
15725 * lib/gdb.exp (runto <eof>): New.
15726
3788363d
DJ
157272009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
15728
15729 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
15730 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
15731 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
15732 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
15733 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
15734 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
15735 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
15736 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
15737 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
15738 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
15739 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
15740 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
15741 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
15742 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
15743 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
15744 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
15745 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
15746 gdb.server/server-mon.exp, gdb.server/server-run.exp,
15747 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15748 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15749 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
15750 gdb.trace/passcount.exp, gdb.trace/report.exp,
15751 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
15752 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
15753 gdb.trace/while-stepping.exp: Use a unique name for the compiled
15754 executable.
15755
17592de3
PA
157562009-06-07 Pedro Alves <pedro@codesourcery.com>
15757
15758 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
15759 defined before referencing it.
15760
701e355d
DE
157612009-06-03 Doug Evans <dje@google.com>
15762
15763 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
15764 * gdb.arch/i386-see.c: Ditto.
15765
f2292c65
PM
157662009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
15767
15768 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
15769 (check_macro): Return 1 if undefined.
15770 If first test fails, check if macro debug information is available,
15771 and report unsupported test if no macro information is found.
15772
5a437975
DE
157732009-05-29 Doug Evans <dje@google.com>
15774
15775 * gdb.threads/hand-call-in-threads.exp: New.
15776 * gdb.threads/hand-call-in-threads.c: New.
15777
c141c696
MS
157782009-05-29 Michael Snyder <msnyder@vmware.com>
15779
15780 * gdb.base/break-always.exp: Change "1" to "on".
15781 Add confirmation check.
15782
b3444185
PA
157832009-05-28 Pedro Alves <pedro@codesourcery.com>
15784
15785 * gdb.threads/threxit-hop-specific.c: New.
15786 * gdb.threads/threxit-hop-specific.exp: New.
15787 * gdb.threads/thread-execl.c: New.
15788 * gdb.threads/thread-execl.exp: New.
15789
b6313243
TT
157902009-05-27 Tom Tromey <tromey@redhat.com>
15791 Thiago Jung Bauermann <bauerman@br.ibm.com>
15792
15793 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
15794 (mi_child_regexp): Likewise.
15795 (mi_list_varobj_children_range): Likewise.
15796 (mi_get_features): Likewise.
15797 (mi_list_varobj_children): Rewrite.
15798 * gdb.python/python-mi.exp: New file.
15799
a6bac58e
TT
158002009-05-27 Tom Tromey <tromey@redhat.com>
15801 Thiago Jung Bauermann <bauerman@br.ibm.com>
15802 Phil Muldoon <pmuldoon@redhat.com>
15803 Paul Pluzhnikov <ppluzhnikov@google.com>
15804
15805 * gdb.python/python-prettyprint.exp: New file.
15806 * gdb.python/python-prettyprint.c: New file.
15807 * gdb.python/python-prettyprint.py: New file.
15808 * gdb.base/display.exp: print/r is now valid.
15809
2c74e833
TT
158102009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
15811 Tom Tromey <tromey@redhat.com>
15812 Pedro Alves <pedro@codesourcery.com>
15813 Paul Pluzhnikov <ppluzhnikov@google.com>
15814
15815 * gdb.python/python-template.exp: New file.
15816 * gdb.python/python-template.cc: New file.
15817 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15818 tests.
15819 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15820 Call it.
15821 (test_value_after_death): New proc.
15822 * gdb.python/python-value.c (PTR): New typedef.
15823 (main): New variable 'x'.
15824
89c73ade
TT
158252009-05-27 Tom Tromey <tromey@redhat.com>
15826
15827 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15828 tests.
15829 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15830 Call it.
15831
a75724bc
PA
158322009-05-27 Pedro Alves <pedro@codesourcery.com>
15833
15834 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
15835
e58b0e63
PA
158362009-05-24 Pedro Alves <pedro@codesourcery.com>
15837
15838 * gdb.threads/fork-thread-pending.c: New.
15839 * gdb.threads/fork-thread-pending.exp: New.
15840
4ac36638
JK
158412009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15842
15843 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
15844 * gdb.dwarf2/dw2-strp.S (a_string2): New.
15845
889bf7c5 158462009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 15847
889bf7c5 15848 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 15849
b242c3c2
PA
158502009-05-17 Pedro Alves <pedro@codesourcery.com>
15851
15852 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
15853 `gdb_get_line_number'. Call `callee' in both parent and child.
15854 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
15855 `gdb_get_line_number' instead of hardcoding line numbers.
15856 (catch_fork_unpatch_child): New procedure to test detaching
15857 breakpoints from child fork.
15858 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
15859 hardcoding line numbers.
15860 (do_fork_tests): Run `catch_fork_unpatch_child'.
15861
ee342b23
VP
158622009-05-17 Vladimir Prus <vladimir@codesourcery.com>
15863
15864 * gdb.mi/mi-cmd-var.exp: Check that when varobj
15865 of structure type enters or leaves the scope, it
15866 is reported by -var-update.
15867
e2009e98
DE
158682009-05-11 Doug Evans <dje@sebabeach.org>
15869
15870 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 15871 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
15872 * gdb.threads/schedlock.c (main): Fix off-by-one error.
15873
00903456
JK
158742009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15875
15876 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
15877
dc621c35
DE
158782009-04-30 Doug Evans <dje@google.com>
15879
15880 * gdb.threads/watchthreads2.exp: New testcase.
15881 * gdb.threads/watchthreads2.c: New testcase.
15882
9ab4e744
DE
158832009-04-29 Doug Evans <dje@google.com>
15884
15885 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
15886 * gdb.cp/mb-ctor.cc: Ditto.
15887 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
15888 * gdb.cp/mb-inline.h (multi_line_foo): New function.
15889 * gdb.cp/mb-inline1.cc: Call it.
15890 * gdb.cp/mb-inline2.cc: Ditto.
15891 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
15892 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
15893
484086b7
JK
158942009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15895
15896 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
15897 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
15898 Replace all uses of `decimal' by `nonzero'.
15899 (info macro FROM_COMMANDLINE): New test.
15900
379a77b5
TT
159012009-04-27 Tom Tromey <tromey@redhat.com>
15902
15903 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
15904
b92b73c2
DE
159052009-04-27 Doug Evans <dje@google.com>
15906
15907 * gdb.threads/watchthreads.c (main): Initialize args before starting
15908 the threads. Plus formatting cleanup.
15909 * gdb.threads/watchthreads.exp: Avoid errant failures due to
15910 biased scheduling of one thread.
15911
945a118d
JG
159122009-04-27 Jerome Guitton <guitton@adacore.com>
15913
15914 * gdb.cp/templates.cc (GetMax): New template.
15915 (main): Declare two instances of GetMax.
15916 * gdb.cp/templates.exp: Add new test.
15917
d389af10
JK
159182009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15919
15920 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
15921
e7f86de9
JM
159222009-04-22 Joseph Myers <joseph@codesourcery.com>
15923
15924 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
15925
334cc82d
TT
159262009-04-15 Tom Tromey <tromey@redhat.com>
15927
15928 * gdb.base/charset.exp: Add regression test.
15929
d12672cc
JB
159302009-04-14 Joel Brobecker <brobecker@adacore.com>
15931
15932 * gdb.base/exe-lock.exp: New testcase.
15933
18e8c3bc
TT
159342009-04-13 Tom Tromey <tromey@redhat.com>
15935
15936 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
15937 operator on Frame.
15938
5ecd5cbe
UW
159392009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15940
15941 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
15942 * gdb.server/ext-attach.exp: Likewise.
15943
7309f756
VP
159442009-04-03 Vladimir Prus <vladimir@codesourcery.com>
15945
15946 Eliminate some sleep usage.
15947
889bf7c5
PA
15948 * gdb.mi/basics.c (do_nothing): New.
15949 (main): Use do_nothing instead of printf, so that
15950 not to introduce race condition between output of
15951 inferiour and output of gdb. Do not use sleep as it
15952 is not generally available on embedded targets.
7309f756 15953
f4b95f6f
PA
159542009-04-02 Pedro Alves <pedro@codesourcery.com>
15955
15956 * gdb.server/ext-attach.exp: Expect an optional process id after
15957 "Detached from remote process".
15958
de40b933
JK
159592009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15960
15961 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
15962 gdb.dwarf2/dw2-unresolved.exp: New.
15963
2ae101a4
PA
159642009-04-02 Pedro Alves <pedro@codesourcery.com>
15965
15966 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
15967 mi_run_to_main.
15968
56a8e183
PA
159692009-04-02 Pedro Alves <pedro@codesourcery.com>
15970
15971 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
15972 mi_run_to_main. Skip thread exit test on remote targets.
15973 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
15974 mi_run_to_main.
15975 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
15976 mi_run_to_main.
15977 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
15978 when expecting ^connected. Detect when the target doesn't support
15979 non-stop mode.
15980 (mi_run_cmd): Detect if non-stop mode was requested by isn't
15981 supported. Return -1 on error, 0 on success.
15982 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
15983 (mi_runto): Return mi_runto_helper's result explicitly.
15984
c35fafde
PA
159852009-04-01 Pedro Alves <pedro@codesourcery.com>
15986
15987 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
15988
f8a8dce6
JB
159892009-04-01 Tom Tromey <tromey@redhat.com>
15990
15991 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
15992 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
15993 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
15994 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
15995
71c25dea
TT
159962009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
15997 Jan Kratochvil <jan.kratochvil@redhat.com>
15998
15999 PR gdb/931
16000 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
16001 output.
16002 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
16003 for gdb/931.
16004 * dw2-strp.S (DW_AT_language): Change to C++.
16005 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
16006
02d9a9ce
JB
160072009-03-31 Joel Brobecker <brobecker@adacore.com>
16008
16009 * gdb.ada/tasks: New testcase.
16010
1042e4c0
SS
160112009-03-30 Stan Shebs <stan@codesourcery.com>
16012
16013 * gdb.trace/actions.exp: Update to match new info trace format.
16014 * gdb.trace/deltrace.exp: Ditto.
16015 * gdb.trace/infotrace.exp: Ditto.
16016 * gdb.trace/passcount.exp: Ditto.
16017 * gdb.trace/save-trace.exp: Ditto.
16018 * gdb.trace/while-stepping.exp: Ditto.
16019 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
16020
f8f6f20b
TJB
160212009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16022
16023 * gdb.python/python-frame.c: New file.
16024 * gdb.python/python-frame.exp: New file.
16025
c0c6f777
TJB
160262009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
16027
16028 * gdb.python/python-value.exp: Add tests for the address
16029 attribute.
16030
3cb51905
AS
160312009-03-29 Andreas Schwab <schwab@linux-m68k.org>
16032
16033 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
16034
88fc996f
DE
160352009-03-26 Doug Evans <dje@google.com>
16036
16037 * gdb.mi/mi-nonstop-exit.exp: New file.
16038 * gdb.mi/non-stop-exit.c: New file.
16039
56ef84b1
TT
160402009-03-26 Tom Tromey <tromey@redhat.com>
16041
16042 Update for change to prologue skipping:
16043 * gdb.mi/mi2-simplerun.exp: Update.
16044 * gdb.mi/mi2-break.exp: Update.
16045 * gdb.mi/mi-simplerun.exp: Update.
16046 * gdb.mi/mi-break.exp: Update.
16047 * gdb.base/ending-run.exp: Update.
16048
def2b000
TJB
160492009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
16050
16051 * gdb.python/python-value.exp (test_value_in_inferior): Test
16052 gdb.Value.is_optimized_out attribute.
16053
442ddf59
JK
160542009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16055
16056 * gdb.dwarf2/dw2-noloc-main.c: New file.
16057 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
16058 (.text): Remove.
16059 (.data): New.
16060 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
16061 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
16062 (DW_TAG_subprogram func_cu1, noloc): Remove.
16063 (main): New.
16064 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
16065 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
16066 (file_symbols): New procedure.
16067
a8df5de4
TT
160682009-03-25 Tom Tromey <tromey@redhat.com>
16069
16070 * gdb.base/charset.exp (valid_target_charset): New proc.
16071 Use it to skip tests on invalid charsets.
16072
cc1d7add
PM
160732009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
16074
16075 * gdb.base/completion.exp: Add a test for directory completion.
16076
bcd5727b
JK
160772009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16078
16079 Fix a racy FAIL.
16080 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
16081 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
16082
cc924cad
TJB
160832009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
16084
16085 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
16086 * gdb.python/python-function.exp: Add test for function returning
16087 a GDB value.
16088
bc3b79fd
TJB
160892009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
16090
16091 * gdb.python/python-function.exp: New file.
16092
6c7a06a3
TT
160932009-03-20 Tom Tromey <tromey@redhat.com>
16094
16095 * gdb.base/store.exp: Update for change to escape output.
16096 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
16097 to escape output.
16098 * gdb.base/pointers.exp: Update for change to escape output.
16099 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
16100 to escape output.
16101 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
16102 escape output.
16103 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
16104 to escape output.
16105 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
16106 escape output.
16107 * gdb.base/setvar.exp: Update for change to escape output.
16108 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
16109 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
16110 to escape output.
16111 (test_print_string_constants): Likewise.
16112 * gdb.base/charset.exp (valid_host_charset): Check size of
16113 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
16114 cases. Handle "auto"-related output.
16115 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
16116 (uvar, Uvar): New globals.
16117
c31af87b
JG
161182009-03-19 Jerome Guitton <guitton@adacore.com>
16119
16120 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
16121 deltas.
16122 * gdb.ada/fixed_points.exp: Ditto.
16123
51272cf2
PA
161242009-03-18 Pedro Alves <pedro@codesourcery.com>
16125
16126 * return-nodebug.c: Don't include stdio.h.
16127 (init): Delete.
16128 (func): Delete definition and provide extern declaration.
16129 (t): New.
16130 (main): Don't call printf. Call func and store its result in t.
16131 * return-nodebug1.c: New.
16132 * return-nodebug.exp: Don't expect stdio output. Instead, print
16133 the global variable t. Drop printf formatters and cast types from
16134 foreach loop. Don't use prepare_for_testing. Compile
16135 return-nodebug.c and return-nodebug1.c in separate steps. Don't
16136 define FORMAT or CAST.
16137
d24948ac
PP
161382009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16139
16140 * gdb.base/solib-display.exp: Disable test for remote targers.
16141
61ff14c6
JK
161422009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16143
16144 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
16145
cb4dce93
JK
161462009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16147
16148 Fix a racy FAIL.
16149 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
16150 code from `follow parent, print pids'.
16151 (`follow child, print pids', `follow parent, print pids'): Call it.
16152 Replace `gdb_test "break..."' by gdb_breakpoint.
16153
f7c60c5e
VP
161542009-03-13 Vladimir Prus <vladimir@codesourcery.com>
16155
16156 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 16157 sync and async modes.
f7c60c5e 16158
383ace49
JB
161592009-03-12 Joel Brobecker <brobecker@adacore.com>
16160
16161 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
16162 that was checked in by mistake. Remove loading of ada.exp, since
16163 this is not necessary in this case.
16164
4ce102af
JB
161652009-03-12 Joel Brobecker <brobecker@adacore.com>
16166
16167 * gdb.ada/ptype_arith_binop.exp: New testcase.
16168
529a2aef
JB
161692009-03-12 Joel Brobecker <brobecker@adacore.com>
16170
16171 * gdb.ada/mod_from_name: New testcase.
16172
8a38181c
JB
161732009-03-12 Joel Brobecker <brobecker@adacore.com>
16174
16175 * gdb.ada/tick_last_segv: New testcase.
16176
11436dee
VP
161772009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16178
61ff14c6 16179 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 16180
1f31650a
VP
161812009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16182
61ff14c6
JK
16183 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
16184 include the token in ^running and frame info in *stopped.
1f31650a 16185
a3247a22
PP
161862009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16187
16188 * solib-display.exp: New file.
16189 * solib-display-main.c: New file.
16190 * solib-display-lib.c: New file.
61ff14c6 16191
aae64587
PA
161922009-03-05 Pedro Alves <pedro@codesourcery.com>
16193
16194 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
16195
44aabfbc
JK
161962009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16197
16198 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
16199 (list_and_check_macro): Use more specific test name.
16200 (next to definition): Make the test names unique.
16201
c087fcd3
PM
162022009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
16203
16204 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 16205
c86cf029
VP
162062009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16207
16208 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
16209 notifications.
16210 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
16211 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
16212 * lib/mi-support.exp (library_loaded_re): New.
16213 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
16214
3ea85240
VP
162152009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16216
16217 * gdb.gdb/observer.exp: Use test_notification observer, not
16218 normal_stop, everywhere.
16219 (test_normal_stop_notifications): Rename to...
16220 (test_notifications): ...this.
16221 (test_observer_normal_stop): Rename to...
16222 (test_observer): ...this.
16223
1903f0e6
DE
162242009-02-16 Doug Evans <dje@google.com>
16225
16226 * gdb.arch/amd64-disp-step.S (test_int3): New test.
16227 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
16228 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
16229 (test_prefixed_syscall,test_int3): New tests.
16230 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
16231 (test_prefixed_syscall,test_int3): New tests.
16232
1d33d6ba
VP
162332009-02-14 Vladimir Prus <vladimir@codesourcery.com>
16234
3cb51905
AS
16235 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
16236 (mi_expect_interrupt): Likewise.
16237 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
16238 response.
1d33d6ba 16239
faafb047
PM
162402009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16241
16242 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
16243 * gdb.base/pc-fp.exp (get_valueofx): Remove.
16244 Replace calls to get_valueofx by get_hexadecimal_valueof.
16245
417e16e2
PM
162462009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16247
16248 * lib/gdb.exp (get_valueof): Accept anything as a return value.
16249 (get_integer_valueof): New procedure.
16250 (get_sizeof): Use new get_integer_value_of.
16251 * gdb.base/sizeof.exp: Replace all uses of get_valueof
16252 by get_integer_valueof.
16253
7065b901
TT
162542009-02-13 Tom Tromey <tromey@redhat.com>
16255
16256 * gdb.base/remote.exp (get_sizeof): Remove.
16257 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
16258 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
16259 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
16260 * lib/gdb.exp (get_valueof): Move from long_long.exp.
16261 (get_sizeof): Likewise.
16262
5d7cb8df
JK
162632009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16264
16265 PR fortran/9806
16266 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
16267
b2febfff
PP
162682009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16269
16270 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
16271
4aa995e1
PA
162722009-02-06 Pedro Alves <pedro@codesourcery.com>
16273
16274 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
16275
d8906c6f
TJB
162762009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16277
16278 * gdb.python/python-cmd.exp: New file.
16279
ff4ab08d
TG
162802009-02-06 Tristan Gingold <gingold@adacore.com>
16281
16282 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
16283
aacd552b
TG
162842009-02-05 Tristan Gingold <gingold@adacore.com>
16285
16286 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
16287 pointer is dereferenced and use this signal name in regexp.
16288 * gdb.base/signull.exp: Ditto.
16289 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
16290 * gdb.base/signull.c (main): Ditto.
16291
08c637de
TJB
162922009-02-04 Tom Tromey <tromey@redhat.com>
16293 Thiago Jung Bauermann <bauerman@br.ibm.com>
16294
16295 * gdb.python/python-value.exp: Use `gdb.history' instead of
16296 `gdb.value_from_history'.
16297 (test_value_numeric_ops): Add test for conversion of enum constant.
16298 * gdb.python/python-value.c (enum e): New type.
16299 (evalue): New global.
16300 (main): Use argv.
16301
20261af8
JG
163022009-02-04 Jerome Guitton <guitton@adacore.com>
16303
16304 * gdb.ada/uninitialized_vars: New test program.
16305 * gdb.ada/uninitialized_vars.exp: New testcase.
16306
52e44b43
TT
163072009-02-02 Tom Tromey <tromey@redhat.com>
16308
16309 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
16310 * gdb.cp/pr2489.cc: Rename...
16311 * gdb.cp/pr9594.cc: ... to this.
16312
1c71341a
TT
163132009-02-02 Tom Tromey <tromey@redhat.com>
16314
16315 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
16316 * gdb.cp/pr2489.cc: New file.
16317 * gdb.cp/cpcompletion.exp: New file.
16318
a4295225
TT
163192009-02-02 Tom Tromey <tromey@redhat.com>
16320
16321 PR exp/9059:
16322 * gdb.cp/call-c.exp: Add regression test.
16323 * gdb.cp/call-c.cc (FooHandle): New typedef.
16324 (main): New variable 'handle'.
16325
592375cd
VP
163262009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16327
16328 * lib/mi-support.exp (et_mi_thread_list)
16329 (check_mi_and_console_threads): Adjust for current thread in
16330 -thread-list-ids output.
16331
41447f92
VP
163322009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16333
889bf7c5
PA
16334 * gdb.mi/mi-break.exp (test_disabled_creation): New.
16335 Call it.
41447f92 16336
35669430
DE
163372009-01-28 Doug Evans <dje@google.com>
16338
16339 * gdb.arch/amd64-disp-step.S: New file.
16340 * gdb.arch/amd64-disp-step.exp: New file.
16341 * gdb.arch/i386-disp-step.S: New file.
16342 * gdb.arch/i386-disp-step.exp: New file.
16343
09f00d9a
PM
163442009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
16345
16346 * gdb.base/find.exp: Set newline variable
16347 using quotes instead of braces to fix cygwin failures.
16348
1e8fb976
PA
163492009-01-23 Pedro Alves <pedro@codesourcery.com>
16350
16351 * gdb.base/radix.exp: Add tests to ensure that that set
16352 input-radix 0 and set output-radix 0 are really rejected.
16353
da061712
PA
163542009-01-23 Pedro Alves <pedro@codesourcery.com>
16355
16356 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
16357 copyright years.
16358
dd7e2d2b
PA
163592009-01-23 Pedro Alves <pedro@codesourcery.com>
16360
16361 PR gdb/9664:
16362 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
16363
392452f6
PA
163642009-01-22 Pedro Alves <pedro@codesourcery.com>
16365
16366 PR c++/9631:
16367 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
16368
8653e71c
PM
163692009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
16370
16371 * gdb.server/file-transfer.exp: Use EXEEXT variable for
16372 binfile definition to fix Windows OS failure.
16373
a12cc160
DJ
163742009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16375
16376 PR gdb/9346
16377 * gdb.base/interrupt.c (sigint_handler): New.
16378 (main): Install a SIGINT handler if SIGNALS is defined. Exit
16379 on error.
16380 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
16381 Test "signal SIGINT".
16382
b89667eb
DE
163832009-01-19 Doug Evans <dje@google.com>
16384
16385 * gdb.base/break.exp: Update expected gdb output.
16386 * gdb.base/sepdebug.exp: Ditto.
16387 * gdb.mi/mi-syn-frame.exp: Ditto.
16388 * gdb.mi/mi2-syn-frame.exp: Ditto.
16389 * gdb.base/call-signal-resume.exp: New file.
16390 * gdb.base/call-signals.c: New file.
16391 * gdb.base/unwindonsignal.exp: New file.
16392 * gdb.base/unwindonsignal.c: New file.
16393 * gdb.threads/interrupted-hand-call.exp: New file.
16394 * gdb.threads/interrupted-hand-call.c: New file.
16395 * gdb.threads/thread-unwindonsignal.exp: New file.
16396
adb483fe
DJ
163972009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
16398
16399 * gdb.base/define.exp: Test defining and hooking prefix commands.
16400 * gdb.python/python.exp: Update test for "show user" output.
16401
60023297
JK
164022009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16403
16404 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
16405 now the output exactly, using less wildcards. Expect also the output
16406 of gfortran-4.3. Update for the f-valprint.c modification from
16407 2008-04-22.
16408 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
16409 Remove gdb_test test names where matching the command.
16410
ccc57cf9
PA
164112009-01-01 Pedro Alves <pedro@codesourcery.com>
16412
16413 PR breakpoints/9681:
16414 * gdb.base/watchpoint.exp: Add regression test.
16415
c7a6ca08
PA
164162008-12-31 Pedro Alves <pedro@codesourcery.com>
16417
16418 * gdb.threads/attach-into-signal.exp: Don't use
16419 gdb_suppress_entire_file.
16420 * gdb.threads/attach-stopped.exp: Ditto.
16421 * gdb.threads/attachstop-mt.exp: Ditto.
16422
3a031f65
PA
164232008-12-31 Pedro Alves <pedro@codesourcery.com>
16424
16425 PR gdb/8812:
16426 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
16427
09e6485f
PA
164282008-12-29 Pedro Alves <pedro@codesourcery.com>
16429
16430 PR gdb/7536:
16431 * gdb.base/radix.exp: Add tests to ensure invalid input radices
16432 and unsupported output radices are really rejected.
16433
0cd53049
JK
164342008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16435
16436 * gdb.cp/punctuator.exp: Backslash the '$' signs.
16437
ba163c7e
TT
164382008-12-22 Tom Tromey <tromey@redhat.com>
16439
16440 * gdb.cp/punctuator.exp: New file.
16441
6f4de6c9
JK
164422008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16443
16444 * gdb.base/completion.exp (Completing non-existing component): New test.
16445
0f34d0b4
JK
164462008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16447
16448 Fix for PR gdb/8648.
16449 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
16450 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
16451 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
16452 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
16453
db2ad4c3
JK
164542008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16455
16456 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
16457
bb5ef15e
DP
164582008-12-16 Christophe Lyon <christophe.lyon@st.com>
16459
16460 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
16461 compiler actually generate code at the expected line number.
16462
90142adc
JZ
164632008-12-15 Jie Zhang <jie.zhang@analog.com>
16464
16465 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
16466
fad6eecd
TT
164672008-12-12 Tom Tromey <tromey@redhat.com>
16468
16469 * gdb.base/commands.exp (redefine_hook_test): New proc.
16470 Call it.
16471
17c8aaf5
TT
164722008-12-11 Tom Tromey <tromey@redhat.com>
16473
16474 * gdb.base/macscp.exp: New regression test.
16475
7c8adf68
TT
164762008-12-11 Tom Tromey <tromey@redhat.com>
16477
16478 * gdb.base/macscp.exp: Print "address.addr".
16479 * gdb.base/macscp1.c (struct outer): New struct.
16480 (address): New global.
16481
b05dcbb7
TT
164822008-12-09 Tom Tromey <tromey@redhat.com>
16483
16484 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
16485 Call it.
16486
2d476de1
DE
164872008-12-04 Doug Evans <dje@google.com>
16488
16489 * gdb.server/ext-run.exp: Relax regexp for init program.
16490
87bdc959
TG
164912008-12-03 Tristan Gingold <gingold@adacore.com>
16492
16493 * gdb.base/macscp.exp: Generate an object file during compilation
16494 to work around Darwin dsymutil limitations.
16495
e0740f77
JK
164962008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16497
16498 Test resolving external references to TLS variables.
16499 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
16500 FILE2_THREAD_LOCAL.
16501 (testfile2, srcfile2): New variables.
16502 * gdb.threads/tls.c (file2_thread_local)
16503 (function_referencing_file2_thread_local): New.
16504 * gdb.threads/tls2.c: New file.
16505
67f0aac5
JB
165062008-11-28 Joel Brobecker <brobecker@adacore.com>
16507
16508 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
16509 rather than integer, as integer might not be big enough when
16510 on 64bit targets.
67f0aac5 16511
c332165e
JG
165122008-11-27 Jerome Guitton <guitton@adacore.com>
16513
16514 * gdb.cp/formatted-ref.exp: Add equality test.
16515 * gdb.ada/formatted_ref.exp: Ditto.
16516
fc9b693c
JK
165172008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16518
16519 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
16520 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
16521
a9c64011
AS
165222008-11-20 Andreas Schwab <schwab@suse.de>
16523
16524 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
16525 matching syscall entry point.
16526 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16527 (tcatch_vfork_then_child_follow): Likewise. Finish through
16528 vfork even if we stopped at the syscall trampoline.
16529
e2fd701e
DE
165302008-11-20 Doug Evans <dje@google.com>
16531
16532 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
16533
69abc51c
TJB
165342008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
16535
16536 * gdb.arch/ppc-dfp.exp: New file.
16537 * gdb.arch/ppc-dfp.c: New file.
16538
c14c28ba
PP
165392008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16540
16541 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 16542
2e74121d
DE
165432008-11-17 Doug Evans <dje@google.com>
16544
16545 * gdb.mi/mi-syn-frame.exp: Update expected output.
16546 * gdb.mi/mi2-syn-frame.exp: Update expected output.
16547
66bb093b
VP
165482008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16549
16550 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
16551 "thread N" results in =thread-selected.
16552 * lib/mi-support (mi_run_cmd, mi_expect_stop)
16553 (mi_send_resuming_command_raw): Be prepared for
16554 =thread-selected.
16555
3d043ef6
VP
165562008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16557
a9c64011
AS
16558 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
16559 * lib/mi-support.exp: Likewise.
3d043ef6 16560
808104c8
JB
165612008-11-16 Joel Brobecker <brobecker@adacore.com>
16562
16563 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
16564 commands from the expected output for "help catch".
16565
00b22944
JB
165662008-11-15 Joel Brobecker <brobecker@adacore.com>
16567
16568 * gdb.ada/int_deref.exp: New testcase.
16569
59669435
TT
165702008-11-14 Nick Roberts <nickrob@snap.net.nz>
16571
16572 * gdb.mi/gdb2549.exp: New file.
16573
de04a248
DE
165742008-11-11 Doug Evans <dje@google.com>
16575
16576 * gdb.base/callexit.exp: New file.
16577 * gdb.base/callexit.c: New file.
16578
6b8ce727
DE
165792008-11-10 Doug Evans <dje@google.com>
16580
16581 * lib/gdb.exp (GDBFLAGS): Move -nx ...
16582 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
16583 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
16584 (default_gdb_start,default_gdb_exit): Ditto.
16585 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
16586 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
16587 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
16588 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
16589 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
16590 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
16591
1b14b8aa
AS
165922008-11-03 Andreas Schwab <schwab@suse.de>
16593
16594 * gdb.base/hashline2.exp: Fix typo.
16595 * gdb.base/hashline3.exp: Likewise.
16596
f3134b88
TT
165972008-10-30 Tom Tromey <tromey@redhat.com>
16598
16599 * gdb.base/pointers.exp: Add test.
16600 * gdb.base/pointers.c (k, S): New typedefs.
16601 (instance): New global.
16602
c2226152
AS
166032008-10-30 Andreas Schwab <schwab@suse.de>
16604
16605 * gdb.base/args.exp: Add tests for newlines.
16606
462f405c
JB
166072008-10-30 Joel Brobecker <brobecker@adacore.com>
16608
16609 gdb.base/foll-exec.exp: Update the expected output of a couple
16610 of "info breakpoints" tests.
16611
79a45b7d
TT
166122008-10-28 Tom Tromey <tromey@redhat.com>
16613
16614 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
16615
adc13a14
PA
166162008-10-24 Pedro Alves <pedro@codesourcery.com>
16617
16618 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
16619 gdb_start_cmd.
16620 Use runto_main before any test that requires execution.
16621
252fbfc8
PA
166222008-10-23 Pedro Alves <pedro@codesourcery.com>
16623
16624 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
16625 instead of SIGINT.
16626
28148e3d
JB
166272008-10-22 Joel Brobecker <brobecker@adacore.com>
16628
16629 * gdb.base/completion.exp: Update expected output following
16630 the addition of the "info tasks" command.
16631
c209f847
TT
166322008-10-22 Tom Tromey <tromey@redhat.com>
16633
16634 * gdb.base/exprs.exp (test_expr): Add test for string
16635 concatenation.
16636
f177e350
PA
166372008-10-19 Pedro Alves <pedro@codesourcery.com>
16638
16639 * configure.ac: Output gdb.python/Makefile.
16640 * configure: Regenerate.
16641 * gdb.python/Makefile.in: New.
16642
cce89356
JB
166432008-10-16 Joel Brobecker <brobecker@adacore.com>
16644
16645 * gdb.base/foll-fork.exp: Adjust the expected output to match
16646 the new description for fork/vfork catchpoints in the "info
16647 breakpoints" output.
16648
176d289d
TJB
166492008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16650
16651 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
16652
a08702d6
TJB
166532008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16654
16655 * gdb.python/python-value.c: New file.
16656 * gdb.python/python-value.exp: New file.
16657
1c5cfe86
PA
166582008-10-15 Pedro Alves <pedro@codesourcery.com>
16659
16660 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
16661
5a98ad69
DP
166622008-10-15 Denis Pilat <denis.pilat@st.com>
16663
41702f1b 16664 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 16665
dcb1a1e2
TT
166662008-10-09 Tom Tromey <tromey@redhat.com>
16667
16668 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
16669 'fprintf' and 'stderr'.
16670
9124fe48
JB
166712008-10-07 Joel Brobecker <brobecker@adacore.com>
16672
16673 * gdb.ada/ref_tick_size.exp: New testcase.
16674
45452591
DE
166752008-10-06 Doug Evans <dje@google.com>
16676
16677 * gdb.dwarf2/dw2-cu-size.exp: New file.
16678 * gdb.dwarf2/dw2-cu-size.S: New file.
16679
16680 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
16681 .Ltype_int for clarity.
16682
4fc5b208
PP
166832008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
16684
16685 PR gdb/2384:
16686 * gdb.cp/gdb2384.exp: Extended to test more cases.
16687 * gdb.cp/gdb2384.cc: Likewise.
16688 * gdb.cp/gdb2384-base.h: Likewise.
16689 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 16690
d78df370
JK
166912008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16692
16693 * gdb.base/maint.exp (maint print type): Remove printing
16694 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
16695
9a044a89
TT
166962008-09-30 Tom Tromey <tromey@redhat.com>
16697
16698 * gdb.base/macscp.exp: Add completion tests.
16699 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
16700 (TWENTY_THREE): Likewise.
16701 (FORTY_EIGHT): Likewise.
16702
506800a9
TT
167032008-09-30 Tom Tromey <tromey@redhat.com>
16704
16705 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
16706 everywhere.
16707 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
16708
1a6f01b5
JK
167092008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
16710
16711 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
16712 testcase is derived from. Fix racy dependency on an expected PID
16713 number. No longer support the testcase on Linux kernel 2.4.x.
16714
2fae03e8
TT
167152008-09-27 Tom Tromey <tromey@redhat.com>
16716
16717 * gdb.base/macscp.exp: Add tests for stringification, splicing,
16718 and varargs.
16719
1ad15515
PA
167202008-09-22 Pedro Alves <pedro@codesourcery.com>
16721
16722 * lib/mi-support.exp (mi_expect_interrupt): New.
16723 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
16724 from gdb.mi/mi-nonstop.exp.
16725 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
16726 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
16727 lib/mi-support.exp.
16728 Use mi_check_thread_states throughout. Avoid ".*" and do not
16729 require an anchor after -exec-run.
16730
d0b76dc6
DJ
167312008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
16732
16733 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
16734 stop is pending. Avoid ".*" when two stops are pending.
16735 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
16736 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
16737 newlines in fullnames.
16738 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
16739 (mi_expect_stop): Update comments. Only anchor in sync mode.
16740 Do not match newlines.
16741 (mi_send_resuming_command_raw): Always return status.
16742 (mi_get_stop_line): Do not match more than one line by accident.
16743 Only anchor in sync mode.
16744 (mi_run_inline_test): If -exec-next fails, give up.
16745
9990c830
UW
167462008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16747
16748 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
16749 on SPU.
16750
ebcf6f00
JB
167512008-09-10 Joel Brobecker <brobecker@adacore.com>
16752
16753 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
16754
b6db24e5
JB
167552008-09-10 Joel Brobecker <brobecker@adacore.com>
16756
16757 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
16758 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
16759 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
16760 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
16761 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
16762 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
16763 gdb.ada/interface.exp, gdb.ada/null_array.exp,
16764 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
16765 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
16766 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
16767 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
16768 Include the "= " sequence in the expected output of print tests.
16769
2bf448e0
JB
167702008-09-10 Joel Brobecker <brobecker@adacore.com>
16771
16772 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
16773 description for boolean types.
16774
d51fd4c8
PA
167752008-09-09 Pedro Alves <pedro@codesourcery.com>
16776
16777 * gdb.base/hook-stop-continue.c: New.
16778 * gdb.base/hook-stop-continue.exp: New.
16779
694182d2
DJ
167802008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
16781
16782 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
16783
3b8a7fc0
JG
167842008-09-08 Jerome Guitton <guitton@adacore.com>
16785
16786 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
16787 (stack_check_probe_2, stack_check_probe_loop_1)
16788 (stack_check_probe_loop_2): New functions.
16789 (main): Add call to these new functions.
16790 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
16791 functions, check that the breakpoint is inserted at the appropriate
16792 location.
16793 (insert_breakpoint): Slightly refine this procedure so that it can
16794 be called several times in the test.
16795
96cc0ae8
JG
167962008-09-08 Jerome Guitton <guitton@adacore.com>
16797
16798 * gdb.base/stack-checking.c: New file.
16799 * gdb.base/stack-checking.exp: New file.
16800
1f08b409
TJB
168012008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16802
16803 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
16804 * gdb.arch/altivec-regs.exp: Likewise.
16805 * gdb.arch/vsx-regs.exp: Likewise.
16806
3099e1c4
TJB
168072008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16808
16809 * gdb.arch/ppc-fp.exp: New file.
16810 * gdb.arch/ppc-fp.c: New file.
16811
cc69bfc1
PP
168122008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16813
16814 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
16815 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 16816
b02a33db
MS
168172008-09-04 Michael Snyder <msnyder@vmware.com>
16818
16819 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
16820 as "at" (for non-debug functions such as _start).
16821
2992cbe0
UW
168222008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16823
16824 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
16825 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
16826 software watchpoints.
16827 * gdb.base/watch_thread_num.exp: Likewise.
16828
514f746b
AR
168292008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
16830
16831 * gdb.arch/i386-bp_permanent.exp: New test.
16832
876cecd0
TT
168332008-08-24 Tom Tromey <tromey@redhat.com>
16834
16835 * gdb.base/maint.exp: Update "maint print type".
16836
80f73d71
VP
168372008-08-21 Vladimir Prus <vladimir@codesourcery.com>
16838
16839 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
16840 support. Adjust the order of "*running" notifications.
16841 * gdb.mi/non-stop.c: Don't cast from int to void* and
16842 back.
16843
d9c78d7d
MK
168442008-08-20 Mark Kettenis <kettenis@gnu.org>
16845
16846 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
16847 expect to find it in the "info frame" output.
16848
97a2d1d3
DJ
168492008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
16850
16851 * gdb.base/interp.exp: Always consume both prompts.
16852
b96e2927
PA
168532008-08-20 Pedro Alves <pedro@codesourcery.com>
16854
16855 * gdb.base/pending.exp: Test pending breakpoints without symbols
16856 loaded.
16857
8cf6e61a
VP
168582008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16859
16860 * lib/mi-support.exp (mi_expect_stop): Produce
16861 more details on failures.
16862 * gdb.mi/mi-nonstop.exp: New.
16863 * gdb.mi/non-stop.c: New.
16864
c6ebd6cf
VP
168652008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16866
a9c64011
AS
16867 * gdb.mi/mi-async.exp: Use 'set target-async'.
16868 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 16869
46a9b8ed
DJ
168702008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
16871
16872 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
16873
44feb3ce
TT
168742008-08-17 Tom Tromey <tromey@redhat.com>
16875
16876 * gdb.base/help.exp (help catch): Rewrite.
16877
311a4e6b
TJB
168782008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16879
16880 * gdb.base/define.exp: Test indented command documentation.
16881 * gdb.python/python.exp: Test indented multi-line command.
16882
604c2f83
LM
168832008-08-15 Luis Machado <luisgpm@br.ibm.com>
16884
16885 * testsuite/gdb.arch/vsx-regs.c: New source file.
16886 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
16887 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
16888
886a217c
TT
168892008-08-14 Tom Tromey <tromey@redhat.com>
16890
16891 * gdb.base/macscp.exp: Add regression test for "macro define" or
16892 "macro undef" with no arguments.
16893
c814a4f3
PP
168942008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16895
16896 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 16897
12ab8a60
UW
168982008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16899
16900 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
16901
d57a3c85
TJB
169022008-08-06 Tom Tromey <tromey@redhat.com>
16903
16904 * gdb.python/python.exp: New file.
16905
c7b778ff
JK
169062008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16907
16908 Fix for PR gdb/1543.
16909 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
16910 $LOCATION.
16911 (location): New variable.
16912 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
16913 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
16914 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
16915 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
16916 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
16917 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
16918 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
16919 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
16920 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
16921 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
16922 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
16923 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
16924 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
16925 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
16926 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16927 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
16928 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
16929 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
16930 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
16931 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16932 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
16933 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
16934 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
16935 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
16936 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
16937 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
16938 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
16939 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
16940 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
16941 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
16942 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
16943 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
16944 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
16945 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
16946 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
16947 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
16948 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
16949 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16950 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
16951 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
16952 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
16953 gdb.base/type-opaque.exp, gdb.base/until.exp,
16954 gdb.base/value-double-free.c, gdb.base/varargs.exp,
16955 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
16956 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
16957 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
16958 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
16959 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
16960 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
16961 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
16962 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
16963 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
16964 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
16965 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
16966 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
16967 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
16968 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
16969 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
16970 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16971 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
16972 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
16973 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
16974 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16975 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
16976 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
16977 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
16978 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16979 gdb.pascal/types.exp, gdb.stabs/weird.exp,
16980 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
16981 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
16982 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
16983 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
16984 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
16985 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
16986 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16987 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
16988 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16989 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
16990 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16991 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16992 lib/mi-support.exp, lib/trace-support.exp: Remove reference
16993 to bug-gdb@prep.ai.mit.edu .
16994
5e06a3d1
VP
169952008-07-31 Vladimir Prus <vladimir@codesourcery.com>
16996
16997 * lib/mi-support.exp (mi_load_shlibs): New.
16998 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
16999
9d81d21b
VP
170002008-07-30 Vladimir Prus <vladimir@codesourcery.com>
17001
17002 * lib/mi-support.exp (get_mi_thread_list)
17003 (check_mi_and_console_threads): New, moved from ...
17004 * gdb.mi/mi-pthread.exp: ...here.
17005 * gdb.mi/gdb669.exp (get_mi_thread_list)
17006 (check_mi_and_console_threads): Delete.
17007 * gdb.mi/mi2-pthread.exp: Likewise.
17008
bae98fe0
TT
170092008-07-28 Tom Tromey <tromey@redhat.com>
17010
17011 * Makefile.in (just-check): Remove. Move body to...
17012 (check): ... here.
17013
57380f4e
DJ
170142008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17015
17016 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
17017 Add a test for duplicated SIGINTs.
17018
e09490f1
DJ
170192008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17020
17021 * gdb.threads/schedlock.exp (get_args): Update to work for any
17022 value of NUM.
17023 (Top level): Report the number of threads that did not resume.
17024
6387b45f
DJ
170252008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17026
17027 * gdb.dwarf2/dw2-compressed.S: Also define __start.
17028
62f64ff2
DJ
170292008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17030
17031 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
17032 non-MI prompt.
17033
fa8de41e
TT
170342008-07-26 Tom Tromey <tromey@redhat.com>
17035
17036 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
17037 (function_struct, function_struct_ptr): New globals.
17038 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
17039 function pointer in a struct.
17040
ccb3ac8a
TT
170412008-07-26 Tom Tromey <tromey@redhat.com>
17042
17043 * gdb.base/macscp.exp: Add test for macro lexing bug.
17044
d7d9f01e
TT
170452008-07-18 Tom Tromey <tromey@redhat.com>
17046
17047 * gdb.base/macscp.exp: Add macro tests.
17048
9bf07184
PP
170492008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17050
17051 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
17052
becf6477
PP
170532008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17054
17055 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
17056
0709f7d3
PP
170572008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
17058
17059 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 17060
7093c834
PP
170612008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
17062
17063 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 17064
b432ffe3
JK
170652008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17066
17067 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
17068
b1a268e5
VP
170692008-07-12 Vladimir Prus <vladimir@codesourcery.com>
17070
17071 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
17072
e2995f8e
KB
170732008-07-11 Kevin Buettner <kevinb@redhat.com>
17074
17075 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
17076 of regexp to account for changes made to GDB in the printing of
17077 byte vectors.
17078
14032a66
TT
170792008-07-11 Tom Tromey <tromey@redhat.com>
17080
17081 * gdb.base/completion.exp: Add 'help' completion test.
17082
981505ef
JK
170832008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17084
17085 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
17086
10568435
JK
170872008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17088
17089 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
17090
4487aabf
PA
170912008-07-09 Pedro Alves <pedro@codesourcery.com>
17092
17093 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
17094
a4a9b1c4
PA
170952008-07-09 Pedro Alves <pedro@codesourcery.com>
17096
17097 * gdb.base/fullname.exp: Restore pwd if compiling failed.
17098
3c3185ac
JK
170992008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17100
17101 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
17102
7ebd49dc
VP
171032008-06-28 Vladimir Prus <vladimir@codesourcery.com>
17104
17105 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
17106 previous commit. Add a comment.
17107
84e46146
PA
171082008-06-28 Pedro Alves <pedro@codesourcery.com>
17109
17110 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
17111
0f8d4a2f
VP
171122008-06-28 Vladimir Prus <vladimir@codesourcery.com>
17113
17114 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
17115
f747e0ce
PA
171162008-06-27 Pedro Alves <pedro@codesourcery.com>
17117
17118 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
17119 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
17120 compiling an executable, link in an object that forces unbuffered
17121 output.
17122 * lib/set_unbuffered_mode.c: New file.
17123
734a5c36
JK
171242008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17125
17126 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
17127
a2840c35
VP
171282008-06-25 Vladimir Prus <vladimir@codesourcery.com>
17129
a9c64011
AS
17130 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
17131 mi_expect_stop.
17132 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
17133 Demand that *running is output.
17134 (detect_async): Perform checking every time.
17135 (mi_send_resuming_command): Extract everything into...
17136 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
17137 (mi_expect_stop): Don't accept any output before *stopped.
17138
6ae37fef
VP
171392008-06-13 Vladimir Prus <vladimir@codesourcery.com>
17140
17141 Robustify mi-simplerun.
a9c64011
AS
17142 * gdb.mi/basics.c (main): Add a call to sleep.
17143 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
17144 * gdb.mi/mi2-cli.exp: Likewise.
17145 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 17146
b4aa76f0 171472008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
17148
17149 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
17150
e1ac3328
VP
171512008-06-10 Vladimir Prus <vladimir@codesourcery.com>
17152
a9c64011
AS
17153 * gdb.mi/mi-console.exp: Adjust.
17154 * gdb.mi/mi-syn-frame.exp: Adjust.
17155 * gdb.mi/mi2-console.exp: Adjust.
17156 * gdb.mi/mi2-syn-frame.exp: Adjust.
17157 * lib/mi-support.exp (mi_run_cmd): Adjust.
17158 (mi_send_resuming_command): Adjust.
e1ac3328 17159
f7f9a841
VP
171602008-06-10 Vladimir Prus <vladimir@codesourcery.com>
17161
17162 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
17163 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
17164 testing of stopped.
17165 * gdb.mi/mi2-syn-frame.exp: Likewise.
17166 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
17167 (async, detect_async): New.
17168 (mi_expect_stop, mi_continue_to_line): Adjust expectation
17169 depending on if we're running in sync or async mode.
f7f9a841 17170
37cd5d19
TT
171712008-06-09 Tom Tromey <tromey@redhat.com>
17172
17173 * gdb.base/completion.exp: New tests for field name completion
17174 with spaces, and field name completion with '->'.
17175
65d12d83
TT
171762008-06-06 Tom Tromey <tromey@redhat.com>
17177
17178 * gdb.base/break1.c (struct some_struct): New struct.
17179 (values): New global.
17180 * gdb.base/completion.exp: Add field name completion test.
17181
ebfe2e3f
PP
171822008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17183
17184 * gdb.cp/call-c.exp: Test for incorrect handling of reference
17185 to pointer.
17186 * gdb.cp/call-c.cc: Likewise.
17187
bcf6fc3a
NR
171882008-06-06 Nick Roberts <nickrob@snap.net.nz>
17189
17190 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
17191 annotation.
17192
49fd4a42 171932008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 17194 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
17195
17196 * gdb.threads/execl.c, gdb.threads/execl1.c,
17197 gdb.threads/execl.exp: New tests.
a9c64011 17198
8a34ac3f
AR
171992008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
17200 Daniel Jacobowitz <dan@codesourcery.com>
17201
17202 * gdb.cp/exception.exp: Activate test, make it work with pending
17203 catchpoints.
17204
86ae69ef
JK
172052008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
17206
17207 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
17208
f7f9ae2c
VP
172092008-05-28 Vladimir Prus <vladimir@codesourcery.com>
17210
a9c64011
AS
17211 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
17212 now printed.
17213 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 17214
2a2d4dc3
AS
172152008-05-27 Andreas Schwab <schwab@suse.de>
17216
17217 * gdb.base/frame-args.exp: Handle arguments that are optimized
17218 out.
17219
5099e4d9
LM
172202008-05-26 Luis Machado <luisgpm@br.ibm.com>
17221
17222 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
17223 quiet for ppc32 and group options into a single variable.
17224
d9c36a91
JB
172252008-05-23 Joel Brobecker <brobecker@adacore.com>
17226
17227 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
17228 of zero-size elements.
17229 * gdb.ada/null_array.exp: Test printing this new array.
17230
103a8671
JK
172312008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17232
17233 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
17234
07a4cc1a 172352008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
17236
17237 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
17238 of the "finish" command.
17239
55f996a7
NR
172402008-05-21 Nick Roberts <nickrob@snap.net.nz>
17241
17242 * gdb.base/annota1.exp: Test for new annotation.
17243
907fc202
UW
172442008-05-16 Pedro Alves <pedro@codesourcery.com>
17245
17246 * gdb.base/fixsection.exp: New file.
17247 * gdb.base/fixsection0.c: New file.
17248 * gdb.base/fixsection1.c: New file.
17249
e8f97270
UW
172502008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17251
17252 * gdb.base/annota1.exp: Accept printf@... in place of printf.
17253 * gdb.base/annota3.exp: Likewise.
17254
ac0bb574
NF
172552008-05-13 Nathan Froyd <froydnj@codesourcery.com>
17256
17257 * gdb.base/watch_thread_num.exp: Don't run tests that require
17258 watchpoints if the target doesn't support them.
17259
6fadd07a
DE
172602008-05-12 Doug Evans <dje@google.com>
17261
17262 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
17263
6e9a4a30
JB
172642008-05-09 Joel Brobecker <brobecker@adacore.com>
17265
17266 * gdb.ada/assign_1.exp: New testcase.
17267
08388c79
DE
172682008-05-09 Doug Evans <dje@google.com>
17269
a3c83fae
DE
17270 * gdb.base/find.exp: New file.
17271 * gdb.base/find.c: New file.
08388c79 17272
bd5ddfe8
DJ
172732008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
17274
17275 * gdb.base/commands.exp (watchpoint_command_test): Handle
17276 gdb,no_hardware_watchpoints.
17277 * gdb.base/float.exp: Allow ARM targets without floating point.
17278 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
17279
b5dd68e2 172802008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 17281 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
17282
17283 * gdb.ada/lang_switch: New test program.
17284 * gdb.ada/lang_switch.exp: New testcase.
17285
382d13d1
DE
172862008-05-05 Doug Evans <dje@google.com>
17287
17288 * gdb.base/help.exp (disassemble): Update expected help text.
17289
9dd789d0
PA
172902008-05-04 Pedro Alves <pedro@codesourcery.com>
17291
17292 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
17293
611c83ae
PA
172942008-05-04 Pedro Alves <pedro@codesourcery.com>
17295
17296 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
17297 different times.
17298
ff013f42
JK
172992008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17300
17301 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
17302 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
17303 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
17304 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
17305
96dff6a2
VP
173062008-05-04 Vladimir Prus <vladimir@codesourcery.com>
17307
17308 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
17309 notification to appear.
17310
55cd6f92
DJ
173112008-05-04 Daniel Jacobowitz <dan@debian.org>
17312
17313 * gdb.base/fullname.c: New file.
17314 * gdb.base/fullname.exp: New file.
17315 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
17316
d705c43c
PA
173172008-05-03 Pedro Alves <pedro@codesourcery.com>
17318
17319 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
17320 expressions with macros.
17321
333222e1
JK
173222008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17323
17324 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
17325
5ac01682
DJ
173262008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
17327
17328 * gdb.base/completion.exp: Handle lack of other symbols beginning
17329 with "a".
17330
17331 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
17332
237fc4c9
PA
173332008-05-02 Jim Blandy <jimb@codesourcery.com>
17334
17335 * gdb.asm/asmsrc1.s: Add scratch space.
17336
ed5e9466
DJ
173372008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17338 Daniel Jacobowitz <dan@codesourcery.com>
17339
17340 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
17341 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
17342 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
17343
b39cc962
DJ
173442007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
17345
17346 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
17347
36d520f5
JB
173482008-05-01 Joel Brobecker <brobecker@adacore.com>
17349
17350 * gdb.base/info-target.exp: New testcase.
17351
8d4e3071
DJ
173522008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17353
17354 * gdb.cp/hang.exp: Use .cc instead of .C.
17355 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
17356 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
17357
6f3f3097
DJ
173582008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17359
17360 * gdb.base/gdb1250.exp: Remove perror.
17361 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
17362
5550a914
PA
173632008-04-30 Pedro Alves <pedro@codesourcery.com>
17364
17365 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
17366 .2byte.
17367
d848e687
DJ
173682008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
17369
17370 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
17371 (maybe_kfail): New.
17372
93b5768b
PA
173732008-04-25 Pedro Alves <pedro@codesourcery.com>
17374
17375 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
17376
721c02de
VP
173772008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17378
a9c64011
AS
17379 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
17380 * gdb.mi/mi2-syn-frame.exp: Likewise.
17381 * lib/mi-support.exp: Likewise.
721c02de 17382
74960c60
VP
173832008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17384
17385 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
17386 to specify regexp for the location to stop at.
17387 * gdb.base/break-always.c: New.
17388 * gdb.base/break-always.exp: New.
17389
d24317b4
VP
173902008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17391
17392 * lib/mi-support.exp (mi_runto_helper): Adjust
17393 for the original-location field.
17394 (mi_create_breakpoint, mi_list_breakpoints): New.
17395 * gdb.mi/mi-break.exp: Adjust.
17396 * gdb.mi/mi2-break.exp: Adjust.
17397 * gdb.mi/mi-pending.exp: Adjust.
17398 * gdb.mi/mi-simplerun.exp: Adjust.
17399 * gdb.mi/mi2-simplerun.exp: Adjust.
17400 * gdb.mi/mi-syn-frame.exp: Adjust.
17401 * gdb.mi/mi2-syn-frame.exp: Adjust.
17402 * gdb.mi/mi-until.exp: Adjust.
17403 * gdb.mi/mi2-until.exp: Adjust.
17404 * gdb.mi/mi-var-display.exp: Adjust.
17405 * gdb.mi/mi2-var-display.exp: Adjust.
17406 * gdb.mi/mi-watch.exp: Adjust.
17407 * gdb.mi/mi2-watch.exp: Adjust.
17408
fdc59709 174092008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 17410
a9c64011
AS
17411 * aclocal.m4: Add override.m4.
17412 * configure: Regenerate.
fdc59709 17413
8e91f023
VP
174142008-04-19 Vladimir Prus <vladimir@codesourcery.com>
17415
17416 * gdb.mi/var-cmd.c (do_at_tests): Verify that
17417 '-var-update --all-values' reports new value even the type
17418 of a variable object has changed.
17419
233a11ab
CS
174202008-04-18 Craig Silverstein <csilvers@google.com>
17421
17422 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
17423 files.
d24317b4 17424
9c1137ad
JB
174252008-04-18 Joel Brobecker <brobecker@adacore.com>
17426
17427 * gdb.ada/atomic_enum: New test program.
17428 * gdb.ada/atomic_enum.exp: New testcase.
17429
66d0bbc7
DE
174302008-04-17 Doug Evans <dje@google.com>
17431
17432 * gdb.opt/Makefile.in: Fix whitespace.
17433
100906b0
UW
174342008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
17435
17436 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
17437
4584e32e
DE
174382008-04-17 Doug Evans <dje@google.com>
17439
17440 * gdb.base/hashline1.exp: New testcase.
17441 * gdb.base/hashline2.exp: New testcase.
17442 * gdb.base/hashline2.exp: New testcase.
17443
0a320680
PA
174442008-04-17 Pedro Alves <pedro@codesourcery.com>
17445
17446 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
17447
18ac113b
AR
174482008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
17449
17450 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
17451 temporary breakpoint to match "Temporary breakpoint".
17452 * gdb.base/break.exp (delete_breakpoints): Likewise.
17453 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
17454 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
17455 * gdb.base/display.exp: Likewise.
17456 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
17457 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
17458 * gdb.base/restore.exp (restore_tests): Likewise.
17459 * gdb.base/sepdebug.exp: Likewise.
17460 * gdb.base/watchpoint.exp: Likewise.
17461 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
17462 * gdb.mi/mi-pending.exp: Likewise.
17463 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
17464 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
17465 * gdb.mi/mi-var-cmd.exp: Likewise.
17466 * gdb.mi/mi-var-display.exp: Likewise.
17467 * gdb.mi/mi2-cli.exp: Likewise.
17468 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
17469 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
17470 * gdb.mi/mi2-var-display.exp: Likewise.
17471 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
17472 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
17473 new "disp" field.
a9c64011 17474 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
17475 reason. This is to support fix for PR2424.
17476
add38693
JK
174772008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17478
17479 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
17480
fcacd99f
VP
174812008-04-13 Vladimir Prus <vladimir@codesourcery.com>
17482
17483 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 17484 field. Add more floating varobj tests.
fcacd99f 17485 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
17486 field.
17487 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
17488 (main): Call do_at_tests.
17489 * lib/mi-support.exp (mi_create_floating_varobj)
17490 (mi_varobj_update_with_type_change): New.
fcacd99f 17491
de051565
MK
174922008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
17493
17494 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
17495 option of -var-evaluate-expression.
17496 * gdb.mi/mi2-var-display.exp: Likewise.
17497
dbc52822
VP
174982008-04-07 Vladimir Prus <vladimir@codesourcery.com>
17499
17500 Introduce test setup helpers.
a9c64011
AS
17501 * lib/gdb.exp (build_executable, clean_restart)
17502 (prepare_for_testing): New.
17503 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
17504 * gdb.base/return.exp: Likewise.
17505 * gdb.base/ending-run.exp: Likewise.
dbc52822 17506
473591da
NR
175072008-04-07 Nick Roberts <nickrob@snap.net.nz>
17508
17509 * gdb.mi/mi-async.exp: New test for asynchronous Machine
17510 Interface (MI) responses.
17511
2b2d9e11
VP
175122008-04-06 Vladimir Prus <vladimir@codesourcery.com>
17513
a9c64011
AS
17514 * gdb.cp/breakpoint.cc: New code to test conditions involving
17515 member variables.
17516 * gdb.cp/breakpoint.exp: Test condition involving member
17517 variables.
2b2d9e11 17518
bb378428
VP
175192008-04-05 Vladimir Prus <vladimir@codesourcery.com>
17520
17521 * lib/mi-support.exp (mi_expect_stop): New.
17522 (mi_run_cmd): Change the
17523 token. Use mi_send_resuming_command, use
17524 mi_expect_stop.
17525 (mi_execute_to_helper): Rename to mi_execute_to.
17526 (mi_send_resuming_command): Add more error patterns.
17527 (mi_wait_for_stop): Renamed to...
17528 (mi_get_stop_line): ...this.
17529 (mi_run_inline_test): Adjust.
17530
17531 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
17532 * gdb.mi/mi-console.exp: Likewise.
17533 * gdb.mi/mi-pending.exp: Likewise.
17534 * gdb.mi/mi-simplerun.exp: Likewise.
17535 * gdb.mi/mi-stack.exp: Likewise.
17536 * gdb.mi/mi-stepi.exp: Likewise.
17537 * gdb.mi/mi-syn-frame.exp: Add comment.
17538 * gdb.mi/mi-until.exp: Likewise.
17539 * gdb.mi/mi-var-display.exp: Likewise.
17540 * gdb.mi/mi-watch.exp: Likewise.
17541 * gdb.mi/mi2-cli.exp: Likewise.
17542 * gdb.mi/mi2-console.exp: Likewise.
17543 * gdb.mi/mi2-simplerun.exp: Likewise.
17544 * gdb.mi/mi2-stack.exp: Likewise.
17545 * gdb.mi/mi2-stepi.exp: Likewise.
17546 * gdb.mi/mi2-until.exp: Likewise.
17547 * gdb.mi/mi2-var-display.exp: Likewise.
17548 * gdb.mi/mi2-watch.exp: Likewise.
17549
62172bb9
UW
175502008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17551
17552 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
17553
17554 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
17555
a13e061a
PA
175562008-04-04 Pedro Alves <pedro@codesourcery.com>
17557
17558 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
17559 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
17560 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17561 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
17562 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
17563 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
17564 expect an mi error duplicated in stderr.
17565
eae06beb
JB
175662008-04-03 Joel Brobecker <brobecker@adacore.com>
17567
17568 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
17569 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
17570 Add a couple of tests that verify the behavior when the new setting
17571 is set to "cancel" and "all".
17572 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
17573 "ask" before we start the testing.
17574
79c6ced6
AR
175752008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
17576
17577 * gdb.cp/casts.cc: Add class reference variables.
17578 * gdb.cp/casts.exp: New test cases for up/down casting references.
17579
6c2d1a6b
MK
175802008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
17581
17582 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
17583 instead of beginning to make an extra test pass.
17584 * gdb.mi/mi2-var-display.exp: Likewise.
17585
55b411d9
MR
175862008-03-31 Maciej W. Rozycki <macro@mips.com>
17587
17588 * gdb.base/break.exp: Mark failures as such. Fix formatting.
17589
c6140da2
MD
175902008-03-31 Markus Deuling <deuling@de.ibm.com>
17591 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17592
17593 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
17594 value. Add xfail for older kernels.
17595
79732189
AR
175962008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
17597
17598 Bring mi-support in line with gdb.exp.
17599 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
17600 (mi_gdb_start): New function.
17601
33c3676e
MR
176022008-03-28 Maciej W. Rozycki <macro@mips.com>
17603
17604 * gdb.mi/mi-var-cmd.exp: Fix a typo.
17605
92e28119
VP
176062008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17607
17608 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
17609 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 17610
9e8e3afe
VP
176112008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17612
17613 * lib/mi-support.exp (mi_create_varobj_checked): New.
17614 (mi_list_varobj_children): Allow to check for a
17615 value.
17616 (mi_list_array_varobj_children): New.
17617
17618 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
17619 and mi_list_varobj_children, as opposed to hardcoding
17620 expected strings.
17621 * gdb.mi/gdb701.exp: Likewise.
17622 * gdb.mi/gdb792.exp: Likewise.
17623 * gdb.mi/mi-var-block.exp: Likewise.
17624 * gdb.mi/mi-var-cmd.exp: Likewise.
17625 * gdb.mi/mi-var-invalidate.exp: Likewise.
17626 * gdb.mi/mi2-var-block.exp: Likewise.
17627 * gdb.mi/mi2-var-child.exp: Likewise.
17628 * gdb.mi/mi2-var-cmd.exp: Likewise.
17629 * gdb.mi/mi2-var-display.exp: Likewise.
17630
9df50351
JK
176312008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17632
17633 Fix random false FAILs on i386.
17634 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
17635
31e5d73a
DJ
176362008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
17637
17638 PR gdb/544
17639 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
17640
12f4afab
DJ
176412008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
17642
17643 PR gdb/544
17644 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
17645
b562a0cb
DJ
176462008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17647
17648 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
17649 fixed PR gdb/544.
17650
17faa917
DJ
176512008-03-21 Pedro Alves <pedro@codesourcery.com>
17652
17653 * gdb.threads/fork-child-threads.exp: Test next over fork.
17654
6214f497
DJ
176552008-03-21 Chris Demetriou <cgd@google.com>
17656
17657 * gdb.base/break.exp (rbreak junk): New test for rbreak
17658 "Junk at end of arguments" issue.
17659
63092375
DJ
176602008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17661
17662 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
17663 *& to work on created array elements.
17664 (Top level): Test print $pc with a file. Test string operations
17665 without a target.
17666 * gdb.base/ptype.exp: Do not expect *& to work on created array
17667 elements.
17668
b21991b0
DJ
176692008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17670
17671 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
17672 gdb.threads/staticthreads.exp: Update exit query.
17673
c4b347c7
SL
176742008-03-07 Sandra Loosemore <sandra@codesourcery.com>
17675
17676 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
17677
fa4727a6
DJ
176782008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
17679
17680 * gdb.base/watchpoint.c (global_ptr, func4): New.
17681 (main): Call func4.
17682 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
17683 (test_inaccessible_watchpoint): New.
17684
2f34202f
MR
176852008-02-29 Maciej W. Rozycki <macro@mips.com>
17686
17687 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
17688 select the largest.
17689
0d6ba1b1
DJ
176902008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17691
17692 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
17693 frames-invalid annotations.
17694
e691325a
PM
176952008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
17696
a9c64011 17697 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 17698
f85b5ecc
DE
176992008-02-27 Doug Evans <dje@google.com>
17700
17701 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
17702 for bug 1738.
17703 (breakpoint_to_handler_entry): Ditto.
17704
b40e7bf3
JB
177052008-02-27 Joel Brobecker <brobecker@adacore.com>
17706
17707 * gdb.base/ending-run.exp: Use the first line of code inside
17708 function body to test breakpoints.
17709 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
17710 location where the breakpoint is inserted when using the line
17711 where a function is declared. Fix typo in the description of
17712 one of the tests.
17713 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
17714
2faca73a
PM
177152008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
17716
17717 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 17718 tests.
2faca73a 17719
6f439c36
PM
177202008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
17721
17722 * gdb.base/args.exp: avoid same output for tests
17723 with single quotes.
17724
54e52265
VP
177252008-02-26 Vladimir Prus <vladimir@codesourcery.com>
17726
a9c64011
AS
17727 * gdb.base/annota1.exp: Adjust for 'info break'
17728 format changes.
17729 * gdb.base/annota3.exp: Likewise.
17730 * gdb.base/break.exp: Likewise.
17731 * gdb.base/condbreak.exp: Likewise.
17732 * gdb.base/pending.exp: Likewise.
17733 * gdb.base/sepdebug.exp: Likewise.
17734 * gdb.base/unload.exp: Likewise.
17735 * gdb.cp/ovldbreak.exp: Likewise.
17736 * gdb.mi/mi-pending.exp: Likewise.
54e52265 17737
897b09ca
DE
177382008-02-07 Doug Evans <dje@google.com>
17739
17740 * gdb.cp/mb-inline.exp: New.
17741 * gdb.cp/mb-inline.h: New.
17742 * gdb.cp/mb-inline1.cc: New.
17743 * gdb.cp/mb-inline2.cc: New.
17744
b1c32d35
PM
177452008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
17746
17747 * gdb.pascal/floats.pas: New test program.
17748 * gdb.pascal/floats.exp: New testcase.
17749
1a4ca44a
TJB
177502008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
17751
17752 * gdb.base/callfuncs.c (t_float_many_args): New function.
17753 (t_double_many_args): New function.
17754 * gdb.base/callfuncs.exp: Add tests for exceeding float
17755 and double parameters passed through the stack.
17756
439048e8
JB
177572008-02-05 Joel Brobecker <brobecker@adacore.com>
17758
17759 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
17760 gdb.ada/complete/foo.adb: New files.
17761 * gdb.ada/complete.exp: New testcase.
17762
81fe8080
DE
177632008-02-03 Doug Evans <dje@google.com>
17764
301f0ecf
DE
17765 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
17766
81fe8080
DE
17767 * gdb.cp/gdb2384.exp: New file.
17768 * gdb.cp/gdb2384.cc: New file.
17769 * gdb.cp/gdb2384-base.h: New file.
17770 * gdb.cp/gdb2384-base.cc: New file.
17771
4b071aec
DE
177722008-02-02 Doug Evans <dje@google.com>
17773
17774 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
17775
61137ba6
JB
177762007-02-01 Joel Brobecker <brobecker@adacore.com>
17777
17778 * gdb.ada/sym_print_name: New test program.
17779 * gdb.ada/sym_print_name.exp: New testcase.
17780
177812007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
17782
17783 * gdb.ada/nested/hello.adb: New file.
17784 * gdb.ada/nested.exp: New testcase.
17785 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17786
98deb0da
VP
177872008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17788
17789 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
17790 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
17791 don't cause future evaluations of function to report
17792 creation of internal breakpoints.
98deb0da 17793
723a2275
VP
177942008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17795
17796 * gdb.mi/mi-break.exp (test_error): New.
17797 Call it.
17798
fb546a2f
LM
177992008-01-31 Luis Machado <luisgpm@br.ibm.com>
17800
17801 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
17802 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
17803
2d8fd90a
PM
178042008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17805
17806 * gdb.pascal/integers.pas: New test program.
17807 * gdb.pascal/integers.exp: New testcase.
17808
a7fa0ded
PM
178092008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17810
17811 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
17812
5e1a1926
TJB
178132008-01-30 Luis Machado <luisgpm@br.ibm.com>
17814
17815 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
17816 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
17817
8d04f9f0
JB
178182008-01-30 Paul Hilfinger <hilfinger@adacore.com>
17819
17820 * gdb.ada/formatted_ref: New test program.
17821 * gdb.ada/formatted_ref.exp: New testcase.
17822
17823 * gdb.cp/formatted-ref.cc: New file.
17824 * gdb.cp/formatted-ref.exp: New testcase.
17825
ce75a98f
JB
178262008-01-30 Joel Brobecker <brobecker@adacore.com>
17827
17828 * gdb.base/ptype.exp: Add testing of "ptype $pc".
17829
e835f6bf
NR
178302008-01-30 Nick Roberts <nickrob@snap.net.nz>
17831
17832 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
17833 (test_file_list_exec_source_file): Update to new macro-info field.
17834
d118ef87
PH
178352008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
17836
17837 * gdb.ada/exprs: New test program.
17838 * gdb.ada/exprs.exp: New testcase.
17839
7d35ab09
TJB
178402008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
17841
17842 * dfp-test.c (DELTA, DELTA_B): New definitions.
17843 (double_val1, double_val2, double_val3, double_val4, double_val5,
17844 double_val6, double_val7, double_val8, double_val9, double_val10,
17845 double_val11, double_val12, double_val13, double_val14, dec32_val1,
17846 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
17847 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
17848 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
17849 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
17850 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
17851 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
17852 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
17853 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
17854 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
17855 dec128_val16): New global variables.
17856 (decimal_dec128_align): New function.
17857 (decimal_mixed): Likewise.
17858 (decimal_many_args_dec32): Likewise.
17859 (decimal_many_args_dec64): Likewise.
17860 (decimal_many_args_dec128): Likewise.
17861 (decimal_many_args_mixed): Likewise.
17862 * dfp-test.exp: Add tests calling new inferior functions.
17863
2d717e4f
DJ
178642008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17865
17866 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
17867 gdb.server/ext-run.exp: New files.
17868 * lib/gdbserver-support.exp (gdbserver_download): New.
17869 (gdbserver_start): New. Update gdbserver expected
17870 output.
17871 (gdbserver_spawn): Use them.
17872 (gdbserver_start_extended): New.
17873
e85a822c
DJ
178742008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17875
17876 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
17877 Run on GNU/Linux.
17878 (do_exec_tests): Check for systems which do not support catchpoints.
17879 Do not match START.
17880 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
17881 Run on GNU/Linux. Enable verbose output.
17882 (check_fork_catchpoints): New.
17883 (explicit_fork_child_follow, catch_fork_child_follow)
17884 (tcatch_fork_parent_follow): Update expected messages.
17885 (do_fork_tests): Use check_fork_catchpoints.
17886 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
17887 Run on GNU/Linux. Enable verbose output.
17888 (check_vfork_catchpoints): New.
17889 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
17890 expected messages.
17891 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
17892
401ea829
JB
178932008-01-29 Jim Blandy <jimb@red-bean.com>
17894
17895 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
17896 host' errors.
17897 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
17898
aceaf3ad
JB
178992008-01-29 Jim Blandy <jimb@red-bean.com>
17900
17901 * gdb.threads/sigthread.c: Use barriers to ensure that
17902 child_thread and child_thread_two are always initialized before we
17903 start to use them.
17904
a5606eee
VP
179052008-01-29 Vladimir Prus <vladimir@codesourcery.com>
17906
17907 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
17908 * gdb.base/watchpoint-solib.c: New.
17909 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 17910
c55a82bb
PM
179112008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
17912
17913 * gdb.base/gdb1056.exp: Add unsigned integer test.
17914
0993fe05
DE
179152008-01-28 Doug Evans <dje@google.com>
17916
17917 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
17918
4fe42e7f
JB
179192008-01-27 Jim Blandy <jimb@codesourcery.com>
17920
c7a69933
JB
17921 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
17922
4fe42e7f
JB
17923 * gdb.base/expand-psymtabs.exp: Doc fix.
17924
5def8285
MK
179252008-01-26 Mark Kettenis <kettenis@gnu.org>
17926
17927 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17928
5313c911
NR
179292008-01-24 Nick Roberts <nickrob@snap.net.nz>
17930
a9c64011 17931 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
17932 -var-set-format.
17933
93815fbf
VP
179342008-01-23 Chris Demetriou <cgd@google.com>
17935
17936 * gdb.threads/thread_events.c: New testcase source file.
17937 * gdb.threads/thread_events.exp: New testcase expect file.
17938
467a88ee
NR
179392008-01-23 Nick Roberts <nickrob@snap.net.nz>
17940
17941 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
17942
17943 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
17944 -var-set-format.
17945
d8f82aba
DJ
179462008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17947 Vladimir Prus <vladimir@codesourcery.com>
17948
17949 * gdb.base/float.exp: Allow missing floating point for m68k and
17950 PowerPC.
17951
60c46647
VP
179522008-01-22 Vladimir Prus <vladimir@codesourcery.com>
17953
17954 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
17955 ignore count.
17956 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
17957 * gdb.mi/mi-cli.exp: Adjust.
17958 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 17959
c7dd36a1
PA
179602008-01-17 Pedro Alves <pedro@codesourcery.com>
17961
17962 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
17963 and 'dummy_ptr' integer pointer. Initialize struct_declarations
17964 with dummy_ptr's address.
17965 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
17966 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
17967 all targets.
17968 * gdb.mi/mi2-var-child.exp: Likewise.
17969
39d5313e
JB
179702008-01-09 Joel Brobecker <brobecker@adacore.com>
17971
17972 * gdb.ada/null_array: New test program.
17973 * gdb.ada/null_array.exp: New testcase.
17974
0aea4bf3
LM
179752008-01-09 Luis Machado <luisgpm@br.ibm.com>
17976
17977 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
17978 with required float modifiers.
17979
0b354900
JB
179802008-01-08 Joel Brobecker <brobecker@adacore.com>
17981
17982 * gdb.ada/funcall_param: New test program.
17983 * gdb.ada/funcall_param.exp: New testcase.
17984
cdb7f5d4
JB
179852008-01-08 Joel Brobecker <brobecker@adacore.com>
17986
17987 * gdb.ada/arrayparam: New test program.
17988 * gdb.ada/arrayparam.exp: New testcase.
17989
88e2547f
JB
179902008-01-08 Joel Brobecker <brobecker@adacore.com>
17991
17992 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
17993 landed. Should also fix random failures in the test following it.
17994
f6867ce0
TJB
179952008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
17996
17997 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
17998 for expressions with decimal float values.
17999 (test_dfp_conversions): New function to test casts to and from
18000 decimal float types.
18001 Call test_dfp_conversions.
18002 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
18003 elements.
18004 (main): Initialize ds.float4 and ds.double8 elements.
18005 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
18006 string to new error message.
18007 (d64_set_tests): Likewise.
18008 (d128_set_tests): Likewise.
18009 Add tests for expressions with decimal float variables. Add tests for
18010 conversions to and from decimal float types.
18011
f9c11282
JB
180122008-01-05 Joel Brobecker <brobecker@adacore.com>
18013
18014 * gdb.ada/packed_tagged/comp_bug.adb: New file.
18015 * gdb.ada/packed_tagged.exp: New testcase.
18016
0ecbca72
JB
180172008-01-04 Joel Brobecker <brobecker@adacore.com>
18018
18019 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
18020 gdb.ada/homonym/homonym_main.adb: New files.
18021 * gdb.ada/homonym.exp: New testcase.
18022
c18d3d89
JB
180232008-01-04 Joel Brobecker <brobecker@adacore.com>
18024
18025 * gdb.ada/packed_array.exp: Add testing of references to
18026 a packed array.
18027
ecc7085b
JB
180282008-01-04 Joel Brobecker <brobecker@adacore.com>
18029
18030 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
18031 New files.
18032 * gdb.ada/type_coercion.exp: New testcase.
18033
c474c922
JB
180342008-01-04 Joel Brobecker <brobecker@adacore.com>
18035
18036 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
18037 gdb.ada/tagged/foo.adb: New file.
18038 * gdb.ada/tagged.exp: New testcase.
18039
9005b927
JB
180402008-01-04 Joel Brobecker <brobecker@adacore.com>
18041
18042 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
18043 gdb.ada/ptype_field/foo.adb: New files.
18044 * gdb.ada/ptype_field.exp: New testcase.
18045
1a6aaad8
JB
180462008-01-03 Joel Brobecker <brobecker@adacore.com>
18047
18048 * gdb.ada/print_pc.exp: New testcase.
18049
0ef22f53
JB
180502008-01-03 Joel Brobecker <brobecker@adacore.com>
18051
18052 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
18053 gdb.ada/taft_type/p.adb: New files.
18054 * gdb.ada/taft_type.exp: New testcase.
18055
1689ecf8
JB
180562008-01-03 Joel Brobecker <brobecker@adacore.com>
18057
18058 * gdb.ada/array_bounds/bar.adb: New file.
18059 * gdb.ada/array_bounds.exp: New testcase.
18060
a4d0b9c3
JB
180612008-01-03 Joel Brobecker <brobecker@adacore.com>
18062
18063 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
18064 gdb.ada/arrayptr/foo.adb: New files.
18065 * gdb.ada/arrayptr.exp: New testcase.
18066
a31ace00
JB
180672008-01-03 Joel Brobecker <brobecker@adacore.com>
18068
18069 * gdb.base/set-lang-auto.exp: New testcase.
18070
a97fced3
JB
180712008-01-03 Joel Brobecker <brobecker@adacore.com>
18072
18073 * gdb.ada/fun_addr/foo.adb: New file.
18074 * gdb.ada/fun_addr.exp: New testcase.
18075
ef29ce1a
JK
180762008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18077
18078 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
18079 New files
18080
0fafefe3
JB
180812008-01-02 Joel Brobecker <brobecker@adacore.com>
18082
18083 * array_subscript_addr/p.adb: New file.
a9c64011 18084 * array_subscript_addr.exp: New testcase.
0fafefe3 18085
c4359f8d
JB
180862008-01-02 Joel Brobecker <brobecker@adacore.com>
18087
a9c64011 18088 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
18089 New files.
18090 * gdb.ada/str_cmp_ref.exp: New testcase.
18091
1aa1b15b
JB
180922008-01-01 Joel Brobecker <brobecker@adacore.com>
18093
18094 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
18095 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 18096 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 18097
81c9b2cf
JB
180982008-01-01 Joel Brobecker <brobecker@adacore.com>
18099
18100 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
18101 gdb.ada/ref_param/pck.ads: New files.
18102 * gdb.ada/ref_param.exp: New testcase.
18103
319e4674
JB
181042008-01-01 Joel Brobecker <brobecker@adacore.com>
18105
18106 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
18107 gdb.ada/interface/foo.adb: New files.
18108 * gdb.ada/interface.exp: New testcase.
18109
ef682c56
JB
181102007-12-31 Jim Blandy <jimb@codesourcery.com>
18111
18112 * gdb.base/multi-forks.exp: Consume all output from child
18113 processes before proceeding to next test.
18114
f6f3eb6c
JB
181152007-12-29 Jim Blandy <jimb@codesourcery.com>
18116
18117 * configure: Regenerated.
18118
f652e42f
JB
181192007-12-27 Joel Brobecker <brobecker@adacore.com>
18120
18121 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
18122 gdb.ada/fixed_cmp/fixed.adb: New files.
18123 * gdb.ada/fixed_cmp.exp: New testcase.
18124
6943e596
JB
181252007-12-27 Joel Brobecker <brobecker@adacore.com>
18126
18127 * gdb.ada/boolean_expr.exp: New testcase.
18128
aad9a193
JB
181292007-12-26 Jim Blandy <jimb@codesourcery.com>
18130
18131 * gdb.base/multi-forks.exp: Doc fix.
18132
fb5f3683
JB
181332007-12-26 Joel Brobecker <brobecker@adacore.com>
18134
18135 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
18136 * gdb.ada/char_param.exp: Do not compile our test program with
18137 -gnata, this is unnecessary.
18138 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
18139
384e4a9c
JB
181402007-12-24 Joel Brobecker <brobecker@adacore.com>
18141
18142 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
18143 gdb.ada/print_chars/foo.adb: New files.
18144 * gdb.ada/print_chars.exp: New testcase.
18145
01e044f7
JB
181462007-12-24 Joel Brobecker <brobecker@adacore.com>
18147
18148 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
18149 gdb.ada/char_param/foo.adb: New files.
18150 * gdb.ada/char_param.exp: New testcase.
18151
0ce17860
JB
181522007-12-22 Jim Blandy <jimb@codesourcery.com>
18153
18154 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
18155 hard-coding source line numbers into the test.
18156 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
18157 gdb_get_line_number to find.
18158
919809b9
JB
181592007-12-22 Joel Brobecker <brobecker@adacore.com>
18160
18161 * gdb.base/ptype.c (highest): New struct type.
18162 (the_highest): New variable of that type.
18163 (main): Add dummy assignment to a field of variable the_highest.
18164 * gdb.base/ptype.exp: Test type printing of our new variable.
18165
abc8a88d
PM
181662007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
18167
18168 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 18169 and record first explicitly generated thread number.
abc8a88d
PM
18170 Use that thread number for thread specific watchpoint test.
18171 Add iteration number to repetitive tests.
18172
5158f3e3
CES
181732007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18174 Jim Blandy <jimb@codesourcery.com>
18175
18176 * gdb.base/expand-psymtabs.c: New testcase
18177 source file.
18178 * gdb.base/expand-psymtabs.exp: New testcase
18179 expect file.
18180
37e4754d
LM
181812007-12-17 Luis Machado <luisgpm@br.ibm.com>
18182
18183 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
18184 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
18185
551e5d04
JB
181862007-12-17 Joel Brobecker <brobecker@adacore.com>
18187
18188 * gdb.ada/frame_args/foo.adb: New file.
18189 * gdb.ada/frame_args/pck.ads: New file.
18190 * gdb.ada/frame_args/pck.adb: New file.
18191 * gdb.ada/frame_args.exp: New testcase.
18192
a05ee097
JB
181932007-12-17 Joel Brobecker <brobecker@adacore.com>
18194
18195 * gdb.base/frame-args.c: New file.
18196 * gdb.base/frame-args.exp: New testcase.
18197
c162e8c9 181982007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 18199 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
18200
18201 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
18202
afe8ab22 182032007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18204
afe8ab22
VP
18205 * gdb.mi/mi-pending.exp: New.
18206 * gdb.mi/mi-pending.c: New.
18207 * gdb.mi/mi-pendshr.c: New.
18208
dfdfb3ca
JB
182092007-12-06 Jim Blandy <jimb@codesourcery.com>
18210
18211 * gdb.base/default.exp: Update expected output for 'info catch'.
18212
b7fca990
JK
182132007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18214
18215 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
18216 must be set to binary.
18217
6a1afc1e
PA
182182007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
18219
18220 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
18221
a6b151f1
DJ
182222007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
18223
18224 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
18225 gdb.mi/mi-file-transfer.exp: New.
18226
43039443
JK
182272007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18228
18229 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
18230
0ef2251b
MR
182312007-11-22 Maciej W. Rozycki <macro@mips.com>
18232
18233 * gdb.trace/backtrace.exp: Fix a typo.
18234 * gdb.trace/circ.exp: Likewise.
18235 * gdb.trace/collection.exp: Likewise.
18236 * gdb.trace/limits.exp: Likewise.
18237 * gdb.trace/report.exp: Likewise.
18238 * gdb.trace/tfind.exp: Likewise.
18239 * gdb.trace/while-dyn.exp: Likewise.
18240
5443631e
NR
182412007-11-21 Nick Roberts <nickrob@snap.net.nz>
18242
18243 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
18244 objects of pointers that can't be dereferenced are now
18245 "noneditable".
18246
a4ce5b0d
UW
182472007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18248
18249 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
18250 (target_cpu): Remove.
18251
d6e956e5
VP
182522007-10-15 Vladimir Prus <vladimir@codesourcery.com>
18253
18254 * gdb.base/ending-run.exp: Expect the list of cleared
18255 breakpoint to come in natural order, not the reversed one.
a9c64011 18256
214270ab
VP
182572007-11-07 Vladimir Prus <vladimir@codesourcery.com>
18258
18259 * gdb.mi/mi-var-child.c (do_child_deletion): New.
18260 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 18261
1a619819
LM
182622007-11-05 Luis Machado <luisgpm@br.ibm.com>
18263
18264 * gdb.base/printcmds.exp: New function
18265 test_printf_with_dfp.
18266
5b01a6fa
DE
182672007-11-02 Doug Evans <dje@google.com>
18268
18269 * gdb.disasm/t01_mov.s: Remove carriage returns.
18270 * gdb.disasm/t02_mova.s: Ditto.
18271 * gdb.disasm/t03_add.s: Ditto.
18272 * gdb.disasm/t04_sub.s: Ditto.
18273 * gdb.disasm/t05_cmp.s: Ditto.
18274 * gdb.disasm/t06_ari2.s: Ditto.
18275 * gdb.disasm/t07_ari3.s: Ditto.
18276 * gdb.disasm/t08_or.s: Ditto.
18277 * gdb.disasm/t09_xor.s: Ditto.
18278 * gdb.disasm/t10_and.s: Ditto.
18279 * gdb.disasm/t11_logs.s: Ditto.
18280 * gdb.disasm/t12_bit.s: Ditto.
18281 * gdb.disasm/t13_otr.s: Ditto.
18282
ec33ab7f
JK
182832007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18284
18285 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
18286
ae0d01ff
UW
182872007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18288
18289 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
18290 provide DFP support.
18291
55eddb0f
DJ
182922007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
18293
18294 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
18295 Test "set powerpc vector-abi". Skip auto-detection tests for old
18296 toolchains.
18297
7020f05c
PA
182982007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18299
18300 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
18301 with [string compare].
18302
84bc3db9
PA
183032007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18304
18305 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
18306 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
18307
5876dc88
LM
183082007-10-25 Luis Machado <luisgpm@br.ibm.com>
18309
18310 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
18311 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
18312 * gdb.opt/Makefile.in: New makefile.
18313 * Makefile.in: Create new directory "gdb.opt".
18314 * configure.ac: Add "gdb.opt" directory.
18315 * configure: Regenerated.
a9c64011 18316
c3ea9a14
DE
183172007-10-25 Doug Evans <dje@google.com>
18318
18319 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
18320 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
18321
a9c64011 183222007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
18323 Thiago Jung Bauermann <bauerman@br.ibm.com>
18324
18325 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
18326 Floating Point expressions.
18327 * gdb.base/dfp-test.exp: new file adding tests for Decimal
18328 Floating Point variables.
18329 * gdb.base/dfp-test.c: new file containing program with Decimal
18330 Floating variables, used by gdb.base/dfp-test.exp.
18331
62a24a2b
DJ
183322007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
18333
18334 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
18335
e7b1eae6
UW
183362007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18337
18338 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
18339 compiling test case with GCC.
18340 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
18341
c641edcc
UW
183422007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18343
18344 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18345 format changes.
18346
5e5ebfe6
MS
183472007-10-18 Michael Snyder <msnyder@specifix.com>
18348
18349 * gdb.base/dbx.exp: Add missing "-re " operator.
18350
e831e7b6
GM
183512007-10-16 Gaius Mulley <gaius@glam.ac.uk>
18352
18353 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
18354 * configure.ac: Removed trailing spaces after backslash.
18355 * gdb.modula2: New directory.
18356 * gdb.modula2/Makefile.in: New file.
18357 * gdb.modula2/unbounded-array.exp: New file.
18358 * gdb.modula2/unbounded1.c: New file.
18359
7cc46491
DJ
183602007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
18361
18362 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
18363
183642007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
18365
18366 * gdb.base/sigstep.c (main): Add checks for
18367 return values for setitimer call.
18368 Call setitimer again with itimer = ITIMER_REAL
18369 if first call to setitimer fails.
18370
e91528f0
KH
183712007-10-11 Kazu Hirata <kazu@codesourcery.com>
18372
18373 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
18374 of $timeout.
18375
2ec9a4f8
DJ
183762007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18377
18378 * gdb.server/server-run.exp: Test for dynamic linker symbols.
18379
183802007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
18381
18382 * lib/gdb.exp (gdb_run_cmd): Move comment outside
18383 of gdb_expect call, to avoid interruption.
18384
64b2fa04
PA
183852007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
18386
18387 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
18388 (v_unsigned_long_long, v_long_long_array)
18389 (v_signed_long_long_array, v_unsigned_long_long_array)
18390 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
18391 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
18392 [!NO_LONG_LONG]: New.
18393 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
18394 v_long_long_member.
18395
18396 (v_long_long_func, v_signed_long_long_func)
18397 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
18398 (main) [!NO_LONG_LONG]: Initialize long long variants.
18399
18400 * gdb.base/whatis.exp: If board file requests no_long_long, build
18401 test with NO_LONG_LONG defined. Test long long, signed long long,
18402 and unsigned long long variants but only if board file doesn't
18403 disable it.
18404
a912286e 184052007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 18406 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
18407
18408 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
18409 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
18410 * configure: Regenerated.
18411 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
18412 gdb.pascal/types.exp, lib/pascal.exp: New files.
18413
471ba8c9
DJ
184142007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
18415
18416 * gdb.cp/classes.exp (do_tests): Always step to the line after the
18417 call.
18418 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
18419 to return to the call.
18420 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
18421 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
18422 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
18423 * gdb.mi/mi-until.exp (test_until): Likewise.
18424 * gdb.mi/mi2-until.exp (test_until): Likewise.
18425
fef8a650
DJ
184262007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
18427
18428 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
18429 two-char array.
18430 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
18431
d983da9c
DJ
184322007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
18433
18434 * gdb.threads/watchthreads.c (thread_function): Sleep between
18435 iterations.
18436 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
18437 at once for S/390. Generate matching fails and passes.
18438
17f62551
VP
184392007-09-27 Vladimir Prus <vladimir@codesourcery.com>
18440
18441 * gdb.mi/var-cmd.c (do_children_tests): Initialize
18442 the 'struct_declarations' variable to zeros.
a9c64011 18443
ed0616c6
VP
184442007-09-24 Vladimir Prus <vladimir@codesourcery.com>
18445
18446 * gdb.cp/mb-ctor.cc: New.
18447 * gdb.cp/mb-ctor.exp: New.
18448 * gdb.cp/mb-templates.cc: New.
18449 * gdb.cp/mb-templates.exp: New.
18450
41f1b697
DJ
184512007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
18452
18453 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
18454
3f213f78
PA
184552007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
18456
18457 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
18458 targets.
18459 * configure: Regenerate.
18460
0d381245 184612007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18462
0d381245
VP
18463 * gdb.base/annota1.exp: Adjust for 'info break'
18464 format changes.
18465 * gdb.base/annota3.exp: Likewise.
18466 * gdb.base/break.exp: Likewise.
18467 * gdb.base/condbreak.exp: Likewise.
18468 * gdb.base/pending.exp: Likewise.
18469 * gdb.base/sepdebug.exp: Likewise.
18470 * gdb.base/unload.exp: Likewise.
18471 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 18472
fe3f5fa8
VP
184732007-09-22 Vladimir Prus <vladimir@codesourcery.com>
18474
18475 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
18476 messages.
18477 * gdb.base/chng-syms.exp: Likewise.
18478 * gdb.base/unload.exp: Likewise.
a9c64011 18479
a75cf6c0
DJ
184802007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
18481
18482 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
18483
18ecae38
DJ
184842007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
18485
18486 * schedlock.c (NUM): Change to 1.
18487 (main): Use args[0] for the main thread.
18488 * schedlock.exp: Only expect two threads. Only issue one pass or fail
18489 regardless of the number of threads.
18490
5509918f
MR
184912007-09-14 Maciej W. Rozycki <macro@mips.com>
18492
4a543daf
MR
18493 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
18494 type down.
18495 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18496 test.
18497 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
18498 watchpoint type down.
18499 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18500 test.
18501
185022007-09-14 Maciej W. Rozycki <macro@mips.com>
18503
5509918f
MR
18504 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
18505 Move all the tests here and run them twice, once using software
18506 watchpoints and once using hardware watchpoints.
18507 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
18508
40b53987
DJ
185092007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
18510
18511 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
18512 test.
18513
695e2681
MK
185142007-09-10 Mark Kettenis <kettenis@gnu.org>
18515
8b3fc8d8
MK
18516 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
18517 build-id.
18518
695e2681
MK
18519 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
18520 know about $ORIGIN. Calculate output dir from $dest instead of
18521 using ${objdir}/{$subdir}.
18522
58d69f29
MK
185232007-09-09 Mark Kettenis <kettenis@gnu.org>
18524
18525 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
18526 gcore, before continuing with the test.
18527
3e347599
DJ
185282007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
18529
18530 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
18531 * gdb.mi/mi-watch.exp: Likewise.
18532
ea37ba09
DJ
185332007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18534 Jim Blandy <jimb@codesourcery.com>
18535
18536 * gdb.arch/i386-sse.exp: Do not expect character constants.
18537 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
18538 * gdb.base/display.exp: Allow print/s.
18539 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
18540 and unsigned char array changes.
18541
2025a643
DJ
185422007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18543
18544 * gdb.base/display.exp: Add tests for printf %p.
18545
26669a27
PA
185462007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
18547
18548 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
18549 the dll name to unicode.
18550
c8f021f8
JK
185512007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18552
18553 * gdb.base/default.exp (show version): Update the version text.
18554 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
18555
4cf31eea
JK
185562007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18557
18558 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
18559 New files.
18560
4935890f
JK
185612007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18562
18563 * lib/gdb.exp (build_id_debug_filename_get): New function.
18564 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
18565 Remove the generate DEBUG file for the future testcase runs.
18566 New testcase for the NT_GNU_BUILD_ID retrieval.
18567 Move the final testing step to ...
18568 (test_different_dir): ... a new function.
18569 New parameter XFAIL to XFAIL all the tests performed.
18570 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
18571 New parameter TYPE to PF_PREFIX all the tests performed.
18572
02142340
VP
185732007-08-31 Vladimir Prus <vladimir@codesourcery.com>
18574
18575 * gdb.mi/mi-var-cp.cc (path_expression): New
18576 function.
18577 * gdb.mi/mi-var-cp.exp: Run path exression tests.
18578
36acd84e
UW
185792007-08-27 Markus Deuling <deuling@de.ibm.com>
18580
18581 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
18582 to fit into SPU Local Store memory.
18583
a896d121
JB
185842007-08-23 Joel Brobecker <brobecker@adacore.com>
18585
18586 * gdb.base/default.exp: Adjust the expected output of "info
18587 warranty" after the switch to GPLv3.
18588
7b433602
JB
185892007-08-23 Joel Brobecker <brobecker@adacore.com>
18590
18591 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
18592 to 30000 (from 20000).
18593
e22f8b7c
JB
185942007-08-23 Joel Brobecker <brobecker@adacore.com>
18595
18596 Switch the license of all .exp files to GPLv3.
18597 Switch the license of all .f and .f90 files to GPLv3.
18598 Switch the license of all .s and .S files to GPLv3.
18599
5a0e3bd0
JB
186002007-08-23 Joel Brobecker <brobecker@adacore.com>
18601
18602 * configure.ac: Switch license to GPLv3.
18603
cc00619d
JB
186042007-08-23 Joel Brobecker <brobecker@adacore.com>
18605
18606 Switch the licensing to GPLv3 for all .ads and .adb files.
18607
8d26208a
DJ
186082007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
18609
18610 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
18611 and t_int_double.
18612 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
18613
4fcb9948
JB
186142007-08-17 Joel Brobecker <brobecker@adacore.com>
18615
18616 * gdb.base/step-line.c: Switch license to GPL version 3, and
18617 update copyright year.
18618 * gdb.base/step-line.inp: Likewise.
18619
b9c34f67
JB
186202007-08-17 Joel Brobecker <brobecker@adacore.com>
18621
18622 * gdb.base/gdb1555.exp: Make expected output immune to formatting
18623 changes inside gdb1555.c.
18624 * gdb.base/pending.exp: Likewise.
18625
2cc17678
DJ
186262007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
18627
18628 * config/default.exp: New file.
18629
e48883f7
DJ
186302007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18631
18632 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
18633 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
18634
1ab80e5b
MR
186352007-07-30 Maciej W. Rozycki <macro@mips.com>
18636
18637 * gdb.base/dump.exp: Force the correct endianness for binary
18638 formats not carrying this information.
18639
aba471f5
DJ
186402007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
18641
18642 * gdb.threads/staticthreads.exp: Match .*sem_post.
18643
d4e07204
DJ
186442007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
18645
18646 * gdb.base/readline.exp (operate_and_get_next): Match the final
18647 prompt.
18648
2b97317d
KB
186492007-07-23 Kevin Buettner <kevinb@redhat.com>
18650
18651 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
18652 to restarting SID.
18653
44efa07a
KB
186542007-07-18 Kevin Buettner <kevinb@redhat.com>
18655
18656 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
18657 prior to `gdb_start'.
18658
7b5ebade
KB
186592007-07-18 Kevin Buettner <kevinb@redhat.com>
18660
18661 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
18662 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
18663 Remove call to gdb_unload.
18664
255e7678
DJ
186652007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
18666 Daniel Jacobowitz <dan@codesourcery.com>
18667
18668 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
18669 for __WIN32__.
18670 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
18671 * gdb.base/unload.exp: Use shared library test routines.
18672
3a40aaa0
UW
186732007-07-03 Markus Deuling <deuling@de.ibm.com>
18674
18675 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
18676 * gdb.base/solib-symbol-lib.c: Likewise.
18677 * gdb.base/solib-symbol-main.c: Likewise.
18678
b0f4b84b
DJ
186792007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
18680
18681 * config/gdbserver.exp (gdb_reconnect): New.
18682 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
18683 gdb.base/solib-disc.exp: New files.
18684 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
18685 remote debugging".
18686 (gdb_compile): Add shlib_load flag.
18687 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
18688 port.
18689 (gdbserver_reconnect): New.
18690
1b05479a
DJ
186912007-07-01 Nick Roberts <nickrob@snap.net.nz>
18692 Daniel Jacobowitz <dan@codesourcery.com>
18693
18694 * gdb.base/annota3.exp: Test for if construct.
18695
86f78eb2
DJ
186962007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
18697
18698 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
18699
6a2eb474 187002007-06-21 Chris Dearman <chris@mips.com>
a9c64011 18701 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
18702
18703 * gdb.base/display.exp: Allow a newline after display/i.
18704 * gdb.base/pc-fp.exp: Likewise.
18705 * gdb.base/sigbpt.exp: Likewise.
18706
f8b73d13
DJ
187072007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18708
18709 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
18710 required features to be included.
18711
4339e69e
DJ
187122007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18713
18714 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
18715 in info threads output.
18716
23d964e7
UW
187172007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18718 Markus Deuling <deuling@de.ibm.com>
18719
18720 * gdb.arch/spu-info.exp: New testcase.
18721 * gdb.arch/spu-info.c: New file.
18722
fd20f75b
DJ
187232007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
18724
18725 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
18726 tpcs_offset. Restore lr after the call.
18727 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
18728
2226f861
DJ
187292007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
18730
18731 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
18732 (gdbserver_run): Kill any running gdbserver.
18733 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
18734
d12371a9
MR
187352007-05-17 Maciej W. Rozycki <macro@mips.com>
18736
18737 * gdb.base/sigbpt.exp: Preset segv_addr.
18738
93f02886
DJ
187392007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
18740
18741 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
18742 (gdb_compile_shlib): Likewise.
18743 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
18744 (default_gdb_init): Clear cleanfiles.
18745 (gdb_finish): Delete recorded cleanfiles.
18746 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
18747
18748 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
18749 Do not use isnative.
18750 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
18751 gdb.base/so-impl-ld.exp: Likewise.
18752 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
18753 * gdb.base/unload.exp: Likewise. Do not pass empty option to
18754 gdb_compile.
18755
b04e06d7
VP
187562007-05-15 Vladimir Prus <vladimir@codesourcery.com>
18757
18758 * config/unknown.exp: Remove.
18759
069ed931
UW
187602007-05-15 Markus Deuling <deuling@de.ibm.com>
18761
18762 * gdb.base/info-proc.exp: Check is_remote.
18763
09db0d03
UW
187642007-05-14 Markus Deuling <deuling@de.ibm.com>
18765
18766 * gdb.base/gcore.exp: Initialize variable core_supported.
18767
af2cbe8c
DJ
187682007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18769
18770 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
18771
027c0295
DJ
187722007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18773
18774 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
18775 * gdb.threads/print-threads.exp (test_all_threads): Allow
18776 negative and hexadecimal thread IDs.
18777
dc5000e7
DJ
187782007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18779
18780 * gdb.java/jprint.java (public): Avoid invalid call to static
18781 method.
18782
2e74ed18
DP
187832007-05-14 Denis Pilat <denis.pilat@st.com>
18784
18785 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
18786 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
18787 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18788 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
18789 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
18790
83547f02
UW
187912007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18792
18793 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 18794 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
18795 this mode.
18796 * gdb.base/ovlymgr.c: Provide stubs for spu target.
18797 * gdb.base/spu.ld: New file.
18798
b18be20d
DJ
187992007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
18800
18801 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
18802
be444858
DJ
188032007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
18804
18805 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
18806
b1d53152
DJ
188072007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18808
18809 * gdb.java/jmain.exp: Handle demangled names with and without method
18810 signatures.
18811
d084b331
DJ
188122007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18813
18814 * gdb.mi/mi-syn-frame.c (main, foo, bar)
18815 (have_a_very_merry_interrupt): Remove calls to puts.
18816 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
18817 inferior output.
18818 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
18819 test names.
18820
db9d7fc5
DJ
188212007-04-29 Markus Deuling <deuling@de.ibm.com>
18822 Daniel Jacobowitz <dan@codesourcery.com>
18823
18824 * gdb.base/auxv.exp (core_works): Also check is_remote.
18825 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
18826
ef783a7d 188272007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18828
ef783a7d
VP
18829 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
18830 message, not the undefined 'module' variable.
18831 * gdb.base/siginfo.exp: Likewise.
18832 * gdb.base/sigstep.exp: Likewise.
18833 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
18834 serialport.
18835 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
18836
b7b73cae
CV
188372007-04-25 Corinna Vinschen <vinschen@redhat.com>
18838
18839 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
18840 target sim fails. Return 0 otherwise.
18841 (gdb_load): Return prematurely if gdb_target_sim fails.
18842
7d90fdfa
DP
188432007-04-16 Denis Pilat <denis.pilat@st.com>
18844
18845 * gdb.base/setshow.exp: Reset height after having set it to 100.
18846
5d3e9c85
DP
188472007-04-16 Denis Pilat <denis.pilat@st.com>
18848
18849 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
18850
18e75969
DP
188512007-04-16 Denis Pilat <denis.pilat@st.com>
18852
18853 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
18854
25d5ea92
VP
188552007-04-14 Vladimir Prus <vladimir@codesourcery.com>
18856
18857 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
18858 tests. Run the frozen varobjs test.
18859 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 18860 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 18861
0b49cb80
JK
188622007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18863
18864 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
18865 gdb.base/type-opaque.exp: New files.
18866
a73bafbc 188672007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
18868
18869 * gdb.mi/mi-var-child.c
a73bafbc
VP
18870 (do_children_tests): User char[2] instead of
18871 char so that automatic printing of pointers to char
18872 don't give unpredicable result.
18873 * gdb.mi/var-cmd.c (do_locals_test): Initialize
18874 local variables.
18875 * gdb.mi/mi-var-child.exp: Step to right line
18876 of do_children_tests.
18877 * gdb.mi/mi2-var-child.exp: Likewise.
18878 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 18879 do_locals_tests.
a73bafbc
VP
18880 (do_children_tests): User char[2] instead of
18881 char so that automatic printing of pointers to char
a9c64011 18882 don't give unpredicable result.
a73bafbc 18883 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 18884 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
18885 Pass test name to mi_wait_for_stop.
18886
7ce59000
DJ
188872007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18888
18889 * gdb.asm/asm-source.exp: Remove d10v case.
18890 * lib/gdb.exp (skip_cplus_tests): Likewise.
18891 * gdb.asm/d10v.inc: Deleted.
18892
20389057
DJ
188932007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18894
18895 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
18896
8807d78b
DJ
188972007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18898
18899 * config/netware.exp: Delete file.
18900
aa3edb8e
JB
189012007-03-29 Joel Brobecker <brobecker@adacore.com>
18902
18903 * gdb.dwarf2/dw2-noloc.S: New file.
18904 * gdb.dwarf2/dw2-noloc.exp: New file.
18905
297561ac
PA
189062007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
18907
18908 * gdb.cp/method2.cc: New test.
18909 * gdb.cp/method2.exp: New test.
18910 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
18911
1f81bd39
DJ
189122007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18913
18914 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
18915
9453113a
DJ
189162007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
18917
18918 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
18919
b741e217
DJ
189202007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18921
18922 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
18923 (gdb_load): Delete, replace with...
18924 (gdb_reload): ...this.
18925 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
18926 * gdb.server/server-mon.exp: Likewise.
18927 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
18928 (gdb_start_cmd): New.
18929 (gdb_file_cmd): Save the last loaded file.
18930 (gdb_reload): New.
18931 (gdb_gnu_strip_debug): Use transform.
18932 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
18933 support here. Use new $last_loaded_file. Check mtime.
18934 (gdb_target_cmd): Handle ObjC failure case.
18935 (infer_host_exec): Delete.
18936 (gdbserver_load): Rename to...
18937 (gdbserver_run): ...this. Simplify.
18938 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
18939 (mi_gdb_load): Move most contents to a new function...
18940 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
18941 (mi_run_cmd): Use mi_gdb_target_load.
18942 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
18943 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
18944 Use gdb_run_cmd.
18945 * gdb.base/charsign.exp: Remove incorrect comment.
18946 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
18947 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
18948 gdb.base/start.exp: Use gdb_start_cmd.
18949
446ab585 189502007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 18951 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
18952
18953 * gdb.base/sigbpt.exp: Fix the message when skipping test.
18954 * gdb.base/signull.exp: Similarly.
18955
bbb88ebf
UW
189562007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18957
18958 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
18959 messages available to test cases (like chng-sym.exp).
18960
cb8c4a99
AS
189612007-03-14 Andreas Schwab <schwab@suse.de>
18962
18963 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18964 format changes.
18965
4e463ff5
DJ
189662007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
18967
18968 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
18969 (optimized_1): New.
18970 (main): Call optimized_1.
18971 (gdb2029): Correct typos. Call gdb2029_marker.
18972 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
18973 for gdb2029.
18974
b6db2c47
MK
189752007-03-12 Mark Kettenis <kettenis@gnu.org>
18976
18977 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
18978 as tabs. Remove redundant test pattern.
18979
70ed3737
UW
189802007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18981
18982 * gdb.base/long_long.exp: Accept optional symbol name in <...>
18983 for /a format output.
18984
47b67b60
DJ
189852007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
18986
18987 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
18988 collect output incrementally.
18989
b8953b0e
UW
189902007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18991
18992 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
18993 for -var-create lpcharacter test.
18994 * gdb.mi/mi2-var-cmd.exp: Likewise.
18995
7acd5c40
UW
189962007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18997
18998 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
18999 pass on targets where address zero is readable.
19000
9c6759c1
UW
190012007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19002
19003 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
19004 just a single architecture.
19005
a2f1aeb4
UW
190062007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19007
19008 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
19009 (fetch_all_registers): New function, uses gdb_test_multiple and
19010 exp_continue to fetch inferior output line-by-line.
19011 Replace all uses of do_get_all_registers by fetch_all_registers.
19012
46579ac2
UW
190132007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19014
19015 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
19016 in target_info.
19017
fc133f24
MS
190182007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19019
a9c64011 19020 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
19021 consistancy; add a default (timeout) case.
19022
7646a51d
MS
190232007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19024
19025 * gdb.base/watchpoint.exp: Fix truncated comment.
19026
dcfff61f
MS
190272007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19028
19029 * Makefile.in: Remove spurious single-quotes from sed command.
19030
664e3ee9
DJ
190312007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
19032
19033 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
19034 func.
19035 * gdb.mi/mi2-var-cmd.exp: Likewise.
19036
d7cc6f2f
JB
190372007-02-27 Joel Brobecker <brobecker@adacore.com>
19038
a9c64011
AS
19039 * gdb.dwarf2/dw2-producer.S: New file.
19040 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
19041
190422007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
19043
19044 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19045 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19046 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19047 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19048 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
19049 Revert tests to use mi_gdb_test and include value field in output
19050 of -var-create.
19051
93d42b30
DJ
190522007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
19053
19054 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
19055
c499ed39
DJ
190562007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
19057
19058 * gdb.base/maint.exp: Remove full paths from test names.
19059 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
19060 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
19061
9836f81b
JB
190622007-02-27 Joel Brobecker <brobecker@adacore.com>
19063
19064 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
19065
c74d0ad8
DJ
190662007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19067
19068 * gdb.server/server-mon.exp: New test.
19069
2711e456
DJ
190702007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19071
19072 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
19073
ff6f572f
DJ
190742007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19075
19076 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
19077 register capitalization.
19078
fada3feb
DP
190792007-02-13 Denis Pilat <denis.pilat@st.com>
19080
19081 * gdb.mi/mi-var-invalidate.exp: New file.
19082
fb1e4ffc
DJ
190832007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19084
19085 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
19086
3da939d7
DJ
190872007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19088
19089 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
19090
123dc839
DJ
190912007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19092
19093 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
19094 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
19095
877e3645 190962007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
19097
19098 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19099 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19100 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19101 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19102 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 19103 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 19104 Update tests to include value field in output of -var-create.
a9c64011 19105
3c0a2960
AS
191062007-02-08 Andreas Schwab <schwab@suse.de>
19107
19108 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
19109
108546a0
DJ
191102007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
19111
19112 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
19113 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
19114
d701dcab
DP
191152007-02-02 Denis Pilat <denis.pilat@st.com>
19116
19117 * gdb.threads/threadapply.exp: check that frame is not changed by
19118 the thread apply all command.
19119
783e3e2f
AS
191202007-01-31 Andreas Schwab <schwab@suse.de>
19121
6d9c3a87
AS
19122 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
19123
3c50d7b9
AS
19124 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
19125 in the dwarf sections.
19126 * gdb.dwarf2/mac-fileno.S: Likewise.
19127
783e3e2f
AS
19128 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
19129 bspstore register on ia64.
19130
78ff580e
AS
191312007-01-29 Andreas Schwab <schwab@suse.de>
19132
cc8e9b12
AS
19133 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
19134 "frame-begin" annotation.
19135
78ff580e
AS
19136 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
19137 number of "frames-invalid" annotations.
19138
704a4f78
DJ
191392007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
19140
19141 * gdb.base/commands.exp: Call if_commands_test.
19142 (gdb_test_no_prompt, if_commands_test): New.
19143
e741bf94
MK
191442007-01-28 Mark Kettenis <kettenis@gnu.org>
19145
19146 * gdb.threads/sigthread.c (NSIGS): Make bigger.
19147
474d0ad3
AS
191482007-01-27 Andreas Schwab <schwab@suse.de>
19149
19150 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
19151 .short/.int/.quad in the dwarf sections.
19152 * gdb.dwarf2/dw2-intercu.S: Likewise.
19153 * gdb.dwarf2/dw2-intermix.S: Likewise.
19154
e784b426
JK
191552007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19156
19157 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
19158 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
19159 array.
e784b426
JK
19160 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
19161 * gdb.base/setvar.exp: Likewise.
19162
37f08e04
AS
191632007-01-26 Andreas Schwab <schwab@suse.de>
19164
9a01813a
AS
19165 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
19166 test.
19167
37f08e04
AS
19168 * gdb.base/multi-forks.exp ("restart $i"): Also match
19169 __kernel_syscall_via_break.
19170
6e2a9270
VP
191712007-01-24 Vladimir Prus <vladimir@codesourcery.com>
19172
19173 * lib/mi-support.exp (mi_delete_varobj): New.
19174 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
19175 testcase.
19176 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
19177 (main): Call the above.
19178 (reference_update_test, base_in_reference_test)
19179 (reference_to_pointer): Delete the created varobjs.
a9c64011 19180
e515b470
DJ
191812007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
19182
19183 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
19184 * configure: Regenerated.
19185 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
19186 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
19187 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
19188 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
19189 * lib/gdb.exp (gdb_skip_xml_test): New function.
19190
08d8bcd7
DJ
191912007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
19192
19193 * gdb.base/sigrepeat.exp: Correct error message.
19194
191952007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
19196 Daniel Jacobowitz <dan@codesourcery.com>
19197
19198 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
19199 gdb.arch/i386-gnu-cfi-asm.S: New files.
19200
97c3f1f3
JK
192012007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19202
19203 * lib/gdb.exp: Abort on missing `site.exp'.
19204
cb1df416
DJ
192052007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19206 Daniel Jacobowitz <dan@codesourcery.com>
19207
19208 * gdb.base/included.c, gdb.base/included.exp,
19209 gdb.base/included.h: New files.
19210
35990120
DJ
192112007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19212
19213 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
19214 (maximize_rlimit): Reduce limits on 64-bit systems.
19215
6e81a116 192162007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
19217
19218 From Marcus Deuling <deuling@de.ibm.com>:
19219 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
19220 every case.
19221
6c3c41f3
NR
192222007-01-13 Nick Roberts <nickrob@snap.net.nz>
19223
19224 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
19225 (test_path_specification): Use objdir instead of srcdir to always
19226 get an absolute filename.
19227
2f12c312
DJ
192282007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
19229
19230 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
19231
81121995
VP
192322007-01-11 Vladimir Prus <vladimir@codesourcery.com>
19233
19234 * gdb.mi/mi-var-cp.cc (reference_update_tests):
19235 Make sure the variable we're using is in scope.
19236 (reference_to_pointer): Likewise.
19237
4741b737
DJ
192382007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19239
19240 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
19241 has no debug information.
19242
054410c3
DJ
192432007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19244
19245 * gdb.base/annota1.exp: Remove extra send_gdb.
19246
818f79f6
DJ
192472007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19248
19249 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
19250
f7a6bb70
DJ
192512007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19252
19253 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
19254
57e66780
DJ
192552007-01-08 Nick Roberts <nickrob@snap.net.nz>
19256 Daniel Jacobowitz <dan@codesourcery.com>
19257
19258 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
19259 lcharacter or linteger change. Correct duplicated test name.
19260 * gdb.mi/mi2-var-cmd.exp: Likewise.
19261
3d799a95
DJ
192622007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
19263
19264 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
19265
192662007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 19267
a9c64011
AS
19268 * gdb.base/nofield.c: New file.
19269 * gdb.base/nofield.exp: New testcase.
51679ba9 19270
eafb94e8
NR
192712007-01-05 Nick Roberts <nickrob@snap.net.nz>
19272
19273 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
19274
19275 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
19276 test.
19277
5e572bb4
DJ
192782007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19279
19280 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
19281
74a44383
DJ
192822007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19283
19284 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
19285 when continuing.
19286
1b572db9
DJ
192872007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19288
19289 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
19290 Expect ".exe" extension.
19291
381bc39b
DJ
192922007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19293
19294 * gdb.base/charset.exp: Add explicit filename to break.
19295 * gdb.base/dbx.exp: Add explicit filename to breaks.
19296
2b70e4c6
DJ
192972007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19298
19299 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
19300 * gdb.mi/mi2-file.exp: Likewise.
19301
303b6f5d
DJ
193022007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19303
19304 Implement specification of MI tests as comments
19305 in C and C++ sources.
19306 * lib/mi-support.exp (mi_autotest_data): New variable.
19307 (mi_autotest_source): New variable.
19308 (count_newlines, mi_prepare_inline_tests)
19309 (mi_get_inline_test, mi_continue_to_line)
19310 (mi_run_inline_test, mi_tbreak)
19311 (mi_send_resuming_command, mi_wait_for_stop): New functions.
19312 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
19313 Run inline tests.
19314 * gdb.mi/mi-var-cp.cc: Define tests here.
19315
23da0d94
VP
193162007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19317
19318 Simplify usage of mi_continue_to.
19319 * lib/mi-support.exp (mi_runto_helper): Renamed
19320 from mi_runto, added new parameter 'run_or_continue'.
19321 (mi_runto): Use mi_runto_helper.
19322 (mi_continue_to): Accept just function name as parameter.
19323 Use mi_runto_helper.
19324 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
19325 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 19326
f9e18282
JB
193272006-01-04 Joel Brobecker <brobecker@adacore.com>
19328
19329 Make this testcase a bit more realistic. The current code
19330 is too simplistic, and allows the compiler to optimize out
19331 some of the entities we need for this testcase.
19332 * gdb.ada/null_record/bar.ads (Void_Star): New type.
19333 (Do_Nothing): Add extra parameter.
19334 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
19335 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
19336 by using a variable of type Void_Star.
19337
fd678c65
JB
193382006-01-04 Joel Brobecker <brobecker@adacore.com>
19339
19340 * gdb.ada/catch_ex/foo.adb: New file.
19341 * gdb.ada/catch_ex.exp: New testcase.
19342
05cfdb42
DJ
193432007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
19344
19345 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
19346 pass --image-base to linker.
19347
2e03ee74
DJ
193482007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19349 Daniel Jacobowitz <dan@codesourcery.com>
19350
19351 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
19352 secondary prompts.
19353
0d5de010
DJ
193542007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19355
19356 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
19357 output. Test the types of members and member pointers.
19358 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
19359 gdb/2092.
19360 * gdb.cp/member-ptr.exp: Search for a comment instead of a
19361 statement. Enable for GCC. Update expected output for some tests
19362 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
19363 layout.
19364 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
19365 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
19366 (Diamond::vget_base): New.
19367 (main): Add new tests.
19368 * gdb.cp/printmethod.exp: Update expected output for member functions.
19369 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
19370 print pEe->D::vg().
19371
61a771aa
DJ
193722007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19373
19374 * gdb.threads/tls.exp: Allow stops in sem_post.
19375
2fa63963
DJ
193762006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
19377
19378 * gdb.base/annota1.exp: Allow .*printf in backtraces.
19379 * gdb.base/annota3.exp: Likewise.
19380 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
19381 again (instead of timing out).
19382 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
19383 GCC bug 26475.
19384 * gdb.java/jmisc.exp: Adjust to work with method signatures including
19385 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
19386 test from jmisc1.exp.
19387 * gdb.java/jmisc1.exp: Delete.
19388 * gdb.java/jprint.exp: Adjust to work with method signatures including
19389 return types.
19390 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
19391 * gdb.threads/linux-dp.exp: Don't be confused by program output.
19392 * lib/java.exp (compile_java_from_source): Pass the correct type
19393 to target_compile.
19394
5eefc2b7
JB
193952006-12-31 Joel Brobecker <brobecker@adacore.com>
19396
19397 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
19398 (stack_align_edx): New function.
19399 (stack_align_eax): New function.
19400 (main): Add calls to stack_align_edx and stack_align_eax.
19401 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
19402 Add testing for the cases where the register used during a stack
19403 realignment is edx. Same for eax.
19404
227c54da
DJ
194052006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
19406
19407 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
19408 and generic PE targets.
19409
cab8ac94
JB
194102006-12-29 Joel Brobecker <brobecker@adacore.com>
19411
19412 * gdb.ada/array_return.exp: Update copyright date list.
19413
ba54f318
JB
194142006-12-27 Joel Brobecker <brobecker@adacore.com>
19415
19416 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
19417 (Create_Small_Float_Vector): New function.
19418 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
19419 function body.
19420 * gdb.ada/array_return/p.adb: Use new type and function from
19421 package Pck.
19422 * gdb.ada/array_return.exp: Add a test verifying that GDB is
19423 able to print the value returned by a function returning an
19424 array of float.
19425
6b7a35dd
JB
194262006-12-20 Joel Brobecker <brobecker@adacore.com>
19427
19428 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
19429 The associated tests should be PASSing.
19430
038224f6
VP
194312006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19432
19433 Test for base in references.
19434 * gdb.mi/mi-var-cp.cc: Add test code.
19435 * gdb.mi/mi-var-cp.exp: Test for bases in references.
19436 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
19437 * gdb.mi/mi2-watch.exp: Likewise.
19438 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
19439 (mi_list_varobj_children): New function.
19440
b26ed50d
VP
194412006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19442
19443 * lib/mi-support.exp
19444 (mi_runto): Accept "()" after function name.
19445 (mi_create_varobj): New function.
19446 (mi_varobj_update): New function.
19447 (mi_Check_varobj_value): New function.
19448 * gdb.mi/mi-var-cp.exp: New file.
19449 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 19450
08232497
DJ
194512006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
19452
19453 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
19454 gdb.base/weaklib2.c: New files.
19455
d394c993 194562006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 19457
ac6c2fba
NS
19458 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
19459 info. Adjust test names.
19460
8ec659a0 19461 * gdb.base/break.c (main): Move position of malloc.
d394c993 19462 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 19463
acd65feb
VP
194642006-11-28 Vladimir Prus <vladimir@codesourcery.com>
19465
19466 * gdb.mi/mi-var-cmd.exp: Check -var-update after
19467 assignement of arrays and function pointers.
19468 * gdb.mi/var-cmd.c: Add declaration necessary for above
19469 tests.
19470
f556d5e5
NS
194712006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19472
19473 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
19474
19475 * gdb.threads/linux-dp.exp: Read thread table before and after
19476 creating each philosopher and verify it.
19477
697bc68d
NS
194782006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19479 Paul Brook <paul@codesourcery.com>
19480 Daniel Jacobowitz <dan@codesourcery.com>
19481
19482 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 19483 main to remove duplication. Add start function of the form
697bc68d
NS
19484 '_*start[1-9]*'. Add RVDS start function.
19485
29d73ae4
DJ
194862006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19487
19488 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
19489
c1d88655
UW
194902006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19491
19492 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
19493 * gdb.asm/spu.inc: New file.
19494 * gdb.base/term.exp: Disable if [target_info exists noargs].
19495 * gdb.gdb/complaints.exp: Disable if ![isnative].
19496 * gdb.gdb/selftest.exp: Likewise.
19497 * gdb.gdb/observer.exp: Likewise.
19498 * gdb.gdb/xfullpath.exp: Likewise.
19499 * gdb.base/attach.exp: Disable on SPU target.
19500 * gdb.cp/bs145503.exp: Likewise.
19501 * gdb.cp/exception.exp: Likewise.
19502 * gdb.cp/userdef.exp: Likewise.
19503
32a13b1a
DJ
195042006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19505
19506 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
19507
d8295fe9
VP
195082006-11-10 Vladimir Prus <vladimir@codesourcery.com>
19509
19510 * gdb.base/completion.exp: Fix completion tests for
19511 'info' and 'info '.
19512 * gdb.base/help.exp (help_test_raw, test_class_help)
19513 (test_prefix_command_help): Move...
19514 * lib/gdb.exp: Here.
19515 * gdb.base/main.exp: Adjust.
19516 * gdb.cp/maint.exp: Adjust.
19517 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 19518
8c394015
VP
195192006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19520
19521 * gdb.stabs/weird.exp (print_weird_var): Use
19522 gdb_test_multiple instead of gdb_expect.
19523
027fc1bc
VP
195242006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19525
19526 * gdb.base/help.exp (help_test_raw): New.
19527 (test_class_help): New.
19528 (test_prefix_command_help): New.
19529 Adjust testcases.
19530
67609209
FR
195312006-11-09 Christophe Lyon <christophe.lyon@st.com>
19532
19533 * gdb.base/constvars.c (main): Write to crass and crips, so that
19534 they are allocated by the compiler.
19535
f73adfeb
AS
195362006-10-27 Andreas Schwab <schwab@suse.de>
19537
19538 * gdb.base/multi-forks.exp: Use "detach fork" instead of
19539 "detach-fork".
19540
2f83a18e
DJ
195412006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
19542
19543 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
19544 of patterns.
19545
94277a38
DJ
195462006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19547
19548 * gdb.base/sepdebug.exp: Remove debug format test.
19549 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
19550 Handle no-symtab.
19551 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
19552
5bd2f6e2
DJ
195532006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19554
19555 * gdb.threads/manythreads.c (thread_function, main): Don't cast
19556 int to pointer or pointer to int.
19557 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
19558
8c008720
DJ
195592006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
19560
19561 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
19562
9e35dae4
DJ
195632006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19564
19565 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
19566
d9639e13
DJ
195672006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
19568
19569 PR c++/2116
19570 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
19571
390a1bd0
JB
195722006-10-06 Joel Brobecker <brobecker@adacore.com>
19573
19574 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
19575 the corresponding bug has been fixed in GDB (PR/2018).
19576
dd920c33
JB
195772006-10-06 Joel Brobecker <brobecker@adacore.com>
19578
19579 * gdb.base/subst.exp: New testcase.
19580
53bbefe9
JB
195812006-10-06 Joel Brobecker <brobecker@adacore.com>
19582
19583 * gdb.ada/array_return/pck.ads: Add copyright notice.
19584 * gdb.ada/array_return/pck.adb: Likewise.
19585 * gdb.ada/array_return/p.adb: Likewise.
19586 * gdb.ada/exec_changed/first.adb: Likewise.
19587 * gdb.ada/exec_changed/second.adb: Likewise.
19588
09851417
JB
195892006-10-06 Joel Brobecker <brobecker@adacore.com>
19590
19591 * gdb.ada/watch_arg/watch.adb: New file.
19592 * gdb.ada/watch_arg.exp: New testcase.
19593
041bf30d
VP
195942006-10-02 Vladimir Prus <vladimir@codesourcery.com>
19595
19596 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 19597 via string_to_regexp.
041bf30d 19598 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 19599
f286fbdd 196002006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
19601
19602 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
19603 Remove unused / obsolete files.
19604
7c07f349
NR
196052006-09-19 Nick Roberts <nickrob@snap.net.nz>
19606
19607 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
19608
cd5ff84a
VP
196092006-09-17 Vladimir Prus <vladimir@codesourcery.com>
19610
19611 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
19612 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 19613 the number of frames.
cd5ff84a 19614
ae018d1a
DJ
196152006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
19616
19617 * gdb.base/args.c (main): Add breakpoint marker.
19618 * gdb.base/args.exp: Use args_test for tests. Add new tests which
19619 really test empty arguments.
19620 (args_load): Delete.
19621 (args_test): New.
19622
b399c549
NR
196232006-09-13 Nick Roberts <nickrob@snap.net.nz>
19624
19625 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 19626 check for one file.
b399c549 19627
2ab1eb7a
VP
196282006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
19629
19630 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
19631 HIGH_FRAME argument to -stack-list-locals can be larger than
19632 the number of frames.
a9c64011 19633
476308bf
FF
196342006-08-18 Fred Fish <fnf@specifix.com>
19635
19636 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
19637 '$' in front of skip_vmx_tests_saved when setting that.
19638
8625200f
AS
196392006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
19640
19641 * gdb.base/trace-commands.exp: New file.
19642
089ec8f1
DJ
196432006-08-10 Joel Brobecker <brobecker@adacore.com>
19644 Daniel Jacobowitz <dan@codesourcery.com>
19645
19646 * gdb.base/step-bt.exp: Make hexadecimal address optional in
19647 expected output of the backtrace commands.
19648
b60f0898
JB
196492006-08-09 Joel Brobecker <brobecker@adacore.com>
19650
19651 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
19652 untested followed by return combination.
19653 * gdb.arch/altivec-regs.exp: Likewise.
19654 * gdb.arch/e500-abi.exp: Likewise.
19655 * gdb.arch/e500-regs.exp: Likewise.
19656 * gdb.arch/gdb1291.exp: Likewise.
19657 * gdb.arch/gdb1431.exp: Likewise.
19658 * gdb.arch/gdb1558.exp: Likewise.
19659 * gdb.arch/i386-prologue.exp: Likewise.
19660 * gdb.arch/i386-unwind.exp: Likewise.
19661 * gdb.asm/asm-source.exp: Likewise.
19662 * gdb.base/a2-run.exp: Likewise.
19663 * gdb.base/advance.exp: Likewise.
19664 * gdb.base/all-bin.exp: Likewise.
19665 * gdb.base/annota1.exp: Likewise.
19666 * gdb.base/annota3.exp: Likewise.
19667 * gdb.base/args.exp: Likewise.
19668 * gdb.base/arithmet.exp: Likewise.
19669 * gdb.base/assign.exp: Likewise.
19670 * gdb.base/async.exp: Likewise.
19671 * gdb.base/attach.exp: Likewise.
19672 * gdb.base/bang.exp: Likewise.
19673 * gdb.base/bigcore.exp: Likewise.
19674 * gdb.base/bitfields.exp: Likewise.
19675 * gdb.base/bitfields2.exp: Likewise.
19676 * gdb.base/break.exp: Likewise.
19677 * gdb.base/call-sc.exp: Likewise.
19678 * gdb.base/call-strs.exp: Likewise.
19679 * gdb.base/callfuncs.exp: Likewise.
19680 * gdb.base/checkpoint.exp: Likewise.
19681 * gdb.base/chng-syms.exp: Likewise.
19682 * gdb.base/code-expr.exp: Likewise.
19683 * gdb.base/commands.exp: Likewise.
19684 * gdb.base/completion.exp: Likewise.
19685 * gdb.base/cond-expr.exp: Likewise.
19686 * gdb.base/condbreak.exp: Likewise.
19687 * gdb.base/consecutive.exp: Likewise.
19688 * gdb.base/constvars.exp: Likewise.
19689 * gdb.base/corefile.exp: Likewise.
19690 * gdb.base/cvexpr.exp: Likewise.
19691 * gdb.base/dbx.exp: Likewise.
19692 * gdb.base/define.exp: Likewise.
19693 * gdb.base/detach.exp: Likewise.
19694 * gdb.base/display.exp: Likewise.
19695 * gdb.base/dump.exp: Likewise.
19696 * gdb.base/ena-dis-br.exp: Likewise.
19697 * gdb.base/ending-run.exp: Likewise.
19698 * gdb.base/environ.exp: Likewise.
19699 * gdb.base/eval-skip.exp: Likewise.
19700 * gdb.base/exprs.exp: Likewise.
19701 * gdb.base/fileio.exp: Likewise.
19702 * gdb.base/finish.exp: Likewise.
19703 * gdb.base/float.exp: Likewise.
19704 * gdb.base/foll-exec.exp: Likewise.
19705 * gdb.base/foll-fork.exp: Likewise.
19706 * gdb.base/foll-vfork.exp: Likewise.
19707 * gdb.base/freebpcmd.exp: Likewise.
19708 * gdb.base/funcargs.exp: Likewise.
19709 * gdb.base/gcore.exp: Likewise.
19710 * gdb.base/gdb1090.exp: Likewise.
19711 * gdb.base/gdb1250.exp: Likewise.
19712 * gdb.base/huge.exp: Likewise.
19713 * gdb.base/info-proc.exp: Likewise.
19714 * gdb.base/interrupt.exp: Likewise.
19715 * gdb.base/jump.exp: Likewise.
19716 * gdb.base/langs.exp: Likewise.
19717 * gdb.base/lineinc.exp: Likewise.
19718 * gdb.base/list.exp: Likewise.
19719 * gdb.base/logical.exp: Likewise.
19720 * gdb.base/long_long.exp: Likewise.
19721 * gdb.base/macscp.exp: Likewise.
19722 * gdb.base/maint.exp: Likewise.
19723 * gdb.base/mips_pro.exp: Likewise.
19724 * gdb.base/miscexprs.exp: Likewise.
19725 * gdb.base/multi-forks.exp: Likewise.
19726 * gdb.base/opaque.exp: Likewise.
19727 * gdb.base/overlays.exp: Likewise.
19728 * gdb.base/pc-fp.exp: Likewise.
19729 * gdb.base/pointers.exp: Likewise.
19730 * gdb.base/printcmds.exp: Likewise.
19731 * gdb.base/psymtab.exp: Likewise.
19732 * gdb.base/ptype.exp: Likewise.
19733 * gdb.base/recurse.exp: Likewise.
19734 * gdb.base/relational.exp: Likewise.
19735 * gdb.base/relocate.exp: Likewise.
19736 * gdb.base/remote.exp: Likewise.
19737 * gdb.base/reread.exp: Likewise.
19738 * gdb.base/restore.exp: Likewise.
19739 * gdb.base/return.exp: Likewise.
19740 * gdb.base/return2.exp: Likewise.
19741 * gdb.base/scope.exp: Likewise.
19742 * gdb.base/sect-cmd.exp: Likewise.
19743 * gdb.base/sep.exp: Likewise.
19744 * gdb.base/sepdebug.exp: Likewise.
19745 * gdb.base/setshow.exp: Likewise.
19746 * gdb.base/setvar.exp: Likewise.
19747 * gdb.base/sigall.exp: Likewise.
19748 * gdb.base/sigbpt.exp: Likewise.
19749 * gdb.base/signals.exp: Likewise.
19750 * gdb.base/signull.exp: Likewise.
19751 * gdb.base/sizeof.exp: Likewise.
19752 * gdb.base/solib.exp: Likewise.
19753 * gdb.base/step-line.exp: Likewise.
19754 * gdb.base/step-test.exp: Likewise.
19755 * gdb.base/structs.exp: Likewise.
19756 * gdb.base/structs2.exp: Likewise.
19757 * gdb.base/term.exp: Likewise.
19758 * gdb.base/twice.exp: Likewise.
19759 * gdb.base/until.exp: Likewise.
19760 * gdb.base/varargs.exp: Likewise.
19761 * gdb.base/volatile.exp: Likewise.
19762 * gdb.base/watchpoint.exp: Likewise.
19763 * gdb.base/whatis-exp.exp: Likewise.
19764 * gdb.base/whatis.exp: Likewise.
19765 * gdb.cp/ambiguous.exp: Likewise.
19766 * gdb.cp/annota2.exp: Likewise.
19767 * gdb.cp/annota3.exp: Likewise.
19768 * gdb.cp/bool.exp: Likewise.
19769 * gdb.cp/breakpoint.exp: Likewise.
19770 * gdb.cp/casts.exp: Likewise.
19771 * gdb.cp/class2.exp: Likewise.
19772 * gdb.cp/classes.exp: Likewise.
19773 * gdb.cp/cplusfuncs.exp: Likewise.
19774 * gdb.cp/ctti.exp: Likewise.
19775 * gdb.cp/derivation.exp: Likewise.
19776 * gdb.cp/exception.exp: Likewise.
19777 * gdb.cp/gdb1355.exp: Likewise.
19778 * gdb.cp/hang.exp: Likewise.
19779 * gdb.cp/inherit.exp: Likewise.
19780 * gdb.cp/local.exp: Likewise.
19781 * gdb.cp/m-data.exp: Likewise.
19782 * gdb.cp/m-static.exp: Likewise.
19783 * gdb.cp/member-ptr.exp: Likewise.
19784 * gdb.cp/method.exp: Likewise.
19785 * gdb.cp/misc.exp: Likewise.
19786 * gdb.cp/namespace.exp: Likewise.
19787 * gdb.cp/overload.exp: Likewise.
19788 * gdb.cp/ovldbreak.exp: Likewise.
19789 * gdb.cp/pr-1023.exp: Likewise.
19790 * gdb.cp/pr-1210.exp: Likewise.
19791 * gdb.cp/pr-574.exp: Likewise.
19792 * gdb.cp/printmethod.exp: Likewise.
19793 * gdb.cp/psmang.exp: Likewise.
19794 * gdb.cp/ref-params.exp: Likewise.
19795 * gdb.cp/ref-types.exp: Likewise.
19796 * gdb.cp/rtti.exp: Likewise.
19797 * gdb.cp/templates.exp: Likewise.
19798 * gdb.cp/try_catch.exp: Likewise.
19799 * gdb.cp/userdef.exp: Likewise.
19800 * gdb.cp/virtfunc.exp: Likewise.
19801 * gdb.disasm/am33.exp: Likewise.
19802 * gdb.disasm/h8300s.exp: Likewise.
19803 * gdb.disasm/mn10300.exp: Likewise.
19804 * gdb.disasm/sh3.exp: Likewise.
19805 * gdb.disasm/t01_mov.exp: Likewise.
19806 * gdb.disasm/t02_mova.exp: Likewise.
19807 * gdb.disasm/t03_add.exp: Likewise.
19808 * gdb.disasm/t04_sub.exp: Likewise.
19809 * gdb.disasm/t05_cmp.exp: Likewise.
19810 * gdb.disasm/t06_ari2.exp: Likewise.
19811 * gdb.disasm/t07_ari3.exp: Likewise.
19812 * gdb.disasm/t08_or.exp: Likewise.
19813 * gdb.disasm/t09_xor.exp: Likewise.
19814 * gdb.disasm/t10_and.exp: Likewise.
19815 * gdb.disasm/t11_logs.exp: Likewise.
19816 * gdb.disasm/t12_bit.exp: Likewise.
19817 * gdb.disasm/t13_otr.exp: Likewise.
19818 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
19819 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
19820 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19821 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
19822 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
19823 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
19824 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
19825 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
19826 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
19827 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
19828 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
19829 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
19830 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
19831 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
19832 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
19833 * gdb.mi/gdb701.exp: Likewise.
19834 * gdb.mi/gdb792.exp: Likewise.
19835 * gdb.mi/mi-basics.exp: Likewise.
19836 * gdb.mi/mi-break.exp: Likewise.
19837 * gdb.mi/mi-cli.exp: Likewise.
19838 * gdb.mi/mi-console.exp: Likewise.
19839 * gdb.mi/mi-disassemble.exp: Likewise.
19840 * gdb.mi/mi-eval.exp: Likewise.
19841 * gdb.mi/mi-file.exp: Likewise.
19842 * gdb.mi/mi-read-memory.exp: Likewise.
19843 * gdb.mi/mi-regs.exp: Likewise.
19844 * gdb.mi/mi-return.exp: Likewise.
19845 * gdb.mi/mi-simplerun.exp: Likewise.
19846 * gdb.mi/mi-stack.exp: Likewise.
19847 * gdb.mi/mi-stepi.exp: Likewise.
19848 * gdb.mi/mi-syn-frame.exp: Likewise.
19849 * gdb.mi/mi-until.exp: Likewise.
19850 * gdb.mi/mi-var-block.exp: Likewise.
19851 * gdb.mi/mi-var-child.exp: Likewise.
19852 * gdb.mi/mi-var-cmd.exp: Likewise.
19853 * gdb.mi/mi-var-display.exp: Likewise.
19854 * gdb.mi/mi-watch.exp: Likewise.
19855 * gdb.mi/mi2-basics.exp: Likewise.
19856 * gdb.mi/mi2-break.exp: Likewise.
19857 * gdb.mi/mi2-cli.exp: Likewise.
19858 * gdb.mi/mi2-console.exp: Likewise.
19859 * gdb.mi/mi2-disassemble.exp: Likewise.
19860 * gdb.mi/mi2-eval.exp: Likewise.
19861 * gdb.mi/mi2-file.exp: Likewise.
19862 * gdb.mi/mi2-read-memory.exp: Likewise.
19863 * gdb.mi/mi2-regs.exp: Likewise.
19864 * gdb.mi/mi2-return.exp: Likewise.
19865 * gdb.mi/mi2-simplerun.exp: Likewise.
19866 * gdb.mi/mi2-stack.exp: Likewise.
19867 * gdb.mi/mi2-stepi.exp: Likewise.
19868 * gdb.mi/mi2-syn-frame.exp: Likewise.
19869 * gdb.mi/mi2-until.exp: Likewise.
19870 * gdb.mi/mi2-var-block.exp: Likewise.
19871 * gdb.mi/mi2-var-child.exp: Likewise.
19872 * gdb.mi/mi2-var-cmd.exp: Likewise.
19873 * gdb.mi/mi2-var-display.exp: Likewise.
19874 * gdb.mi/mi2-watch.exp: Likewise.
19875 * gdb.stabs/exclfwd.exp: Likewise.
19876 * gdb.stabs/weird.exp: Likewise.
19877 * gdb.threads/gcore-thread.exp: Likewise.
19878 * gdb.trace/actions.exp: Likewise.
19879 * gdb.trace/backtrace.exp: Likewise.
19880 * gdb.trace/circ.exp: Likewise.
19881 * gdb.trace/collection.exp: Likewise.
19882 * gdb.trace/deltrace.exp: Likewise.
19883 * gdb.trace/infotrace.exp: Likewise.
19884 * gdb.trace/limits.exp: Likewise.
19885 * gdb.trace/packetlen.exp: Likewise.
19886 * gdb.trace/passc-dyn.exp: Likewise.
19887 * gdb.trace/passcount.exp: Likewise.
19888 * gdb.trace/report.exp: Likewise.
19889 * gdb.trace/save-trace.exp: Likewise.
19890 * gdb.trace/tfind.exp: Likewise.
19891 * gdb.trace/tracecmd.exp: Likewise.
19892 * gdb.trace/while-dyn.exp: Likewise.
19893 * gdb.trace/while-stepping.exp: Likewise.
19894
f4b618d1
JB
198952006-08-08 Joel Brobecker <brobecker@adacore.com>
19896
19897 * gdb.base/step-bt.c: New file.
19898 * gdb.base/step-bt.exp: New testcase.
19899
3d00d119
DJ
199002006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
19901
19902 * config/monitor.exp (gdb_load): Remove support for obsolete
19903 download-write-size.
19904 * gdb.base/remote.exp: Likewise. Update all callers of
19905 gdb_timed_load.
19906
017b5bd4
DJ
199072006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
19908
19909 * cursal.exp: Pass binfile to gdb_load.
19910
837c599d
DJ
199112006-08-01 Nathan Sidwell <nathan@codesourcery.com>
19912
19913 * gdb.base/cursal.exp: Add "" to gdb_load call.
19914
8dd4540b
MK
199152006-07-29 Mark Kettenis <kettenis@gnu.org>
19916
19917 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
19918 NetBSD/ELF targets.
19919
ab5c9f60
DJ
199202006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
19921
19922 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
19923 operator*.
19924
4c42eaff
DJ
199252006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
19926
19927 * gdb.base/completion.exp: Update for change in "file" behavior.
19928 * gdb.stabs/weird.exp: Likewise.
19929 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
19930 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
19931
0155cc76
NS
199322006-07-24 Nathan Sidwell <nathan@codesourcery.com>
19933
19934 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
19935 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
19936
16026cd7
AS
199372006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
19938
19939 * gdb.base/default.exp: Update source command error message.
19940 * gdb.base/help.exp: Update 'help source' message.
19941
16963cb6
DJ
199422006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
19943
19944 * gdb.cp/bs15503.exp: Update comment for no longer crashing
19945 test.
19946
6d7fd486
AS
199472006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
19948
19949 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
19950
29e8a844
DJ
199512006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19952
19953 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
19954
6afcfa39
DJ
199552006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19956
19957 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
19958
267a692b
MK
199592006-07-17 Mark Kettenis <kettenis@gnu.org>
19960
19961 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
19962 *-*-openbsd* from targets for wich we expect ARM FPA floating
19963 point format.
19964
85d2fec4
NR
199652006-07-17 Nick Roberts <nickrob@snap.net.nz>
19966
19967 * gdb.cp/annota3.exp: Expect frame-begin annotation.
19968
199692006-07-17 Mark Kettenis <kettenis@gnu.org>
19970
19971 * gdb.base/annota3.exp: Expect frame-begin annotation.
19972
85b4c6e8
JB
199732006-07-14 Joel Brobecker <brobecker@adacore.com>
19974
19975 * gdb.base/help.exp: Adjust "help unset" test to accept
19976 any list of unset commands.
19977
fb933624
DJ
199782006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
19979 Daniel Jacobowitz <dan@codesourcery.com>
19980
19981 * gdb.cp/ref-params.exp: New test.
19982 * gdb.cp/ref-params.cc: New source file.
19983 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
19984
1dff4b64
MK
199852006-07-08 Mark Kettenis <kettenis@gnu.org>
19986
19987 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
19988 spaces/tabs in regular expressions since they might not be there.
19989
40d2e0e3
AS
199902006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
19991
19992 * gdb.base/ifelse.exp: New file.
19993
f6c957d2
NS
199942006-07-04 Nathan Sidwell <nathan@codesourcery.com>
19995
19996 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
19997 line.
19998 * gdb.base/huge.exp: Loop over compilation to find a size that
19999 is acceptable.
20000 * gdb.base/remote.exp: Correct expected strings.
20001 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
20002
b9c5a23d
DJ
200032006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20004
20005 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
20006
9af2e58d
DJ
200072006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20008
20009 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
20010 native.
20011
30930ca5
DJ
200122006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20013
20014 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
20015 enable stabs testing.
20016
aa32fa1d
DJ
200172006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20018
bd4a4c80 20019 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
20020 gdb_test_multiple does.
20021
321fef15
DJ
200222006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20023
20024 * Makefile.in (host_alias): Remove.
20025 (target_alias): Use @target_noncanonical@.
20026 (site.exp): Don't set host_alias.
20027 * aclocal.m4: Remove contents. Include acx.m4.
20028 * configure: Regenerated.
20029 * configure.ac: Use ACX_NONCANONICAL_TARGET.
20030
e1c2defa
NS
200312006-06-13 Nathan Sidwell <nathan@codesourcery.com>
20032
e63b55d1
NS
20033 * lib/gdb.exp (gdb_load_cmd): New.
20034
5600ea19
NS
20035 * gdb.base/fileio.c: Add system(NULL) test.
20036 * gdb.base/fileio.exp: Check it.
20037
e1c2defa
NS
20038 * gdb.base/break.c: Add 10a breakpoint at }
20039 * gdb.base/break.exp: Add test for breakpoint at }
20040 * gdb.cp/anon-union.cc: Add code at end of function.
20041 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
20042 * gdb.mi/var-cmd.c: Add code at end of function.
20043 * gdb.mi/mi-var-display.exp: Adjust end of next.
20044 * gdb.mi/mi2-var-display.exp: Likewise.
20045 * gdb.base/fileio.c: Add stop function and insert calls at
20046 stopping places.
20047 * gdb.base/fileio.exp: Breakpoint stop function and remove
20048 explicit line number references.
20049
6c0112ec
JB
200502006-05-19 Joel Brobecker <brobecker@adacore.com>
20051
a9c64011
AS
20052 * gdb.base/del.exp (test_delete_alias): New function.
20053 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 20054
154189a4
FF
200552006-05-18 Fred Fish <fnf@specifix.com>
20056
20057 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
20058 required. Check for spurious output after program exits normally.
20059
582e64c2
FF
200602006-05-17 Fred Fish <fnf@specifix.com>
20061
20062 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
20063 gdb_load, so it works in the simulator.
20064
8ef6493a
FF
200652006-05-11 Fred Fish <fnf@specifix.com>
20066
20067 * gdb.base/bang.exp: Ignore unexpected output between the
20068 "program exited normally" and the gdb prompt, as many other
20069 tests do.
20070
692b141c
MK
200712006-05-07 Mark Kettenis <kettenis@gnu.org>
20072
20073 * gdb.base/help.exp: Make "delete checkpoint" part option for
20074 "help d" and "help delete" tests.
20075
540b8a30
UW
200762006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20077
a9c64011 20078 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
20079 expected output in some mi_gdb_test statements.
20080 * gdb.mi/mi2-basics.exp: Likewise.
20081
9b6462d9
JB
200822006-05-05 Joel Brobecker <brobecker@adacore.com>
20083
20084 * gdb.base/del.c: New file.
20085 * gdb.base/del.exp: New testcase.
20086
954de43b
DM
200872006-05-05 David S. Miller <davem@sunset.davemloft.net>
20088
20089 * gdb.base/break.exp: Do not assume a breakpoint on
20090 main will actually be in $srcfile when optimizing.
1303f75e
DM
20091 * gdb.base/savedregs.exp: Do not require that the dummy
20092 frame location match up to a symbol and source file location.
c3242428
DM
20093 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
20094 will get printed without a mi_cmd_data_list_register_values prefix.
20095 (*-data-list-register-*): Correct regular expressions to expect the new
20096 pseudo d? floating point registers.
20097 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 20098
c7e64c9a
DJ
200992006-05-05 Christophe Lyon <christophe.lyon@st.com>
20100
20101 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
20102 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
20103 is allocated by the compiler.
20104 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
20105 anons, e, anone to force their allocation by the compiler.
20106
201072006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
20108
20109 * gdb.base/help.exp: Update expected text for help d and
20110 help delete.
20111
27ce9a6d
MK
201122006-05-02 Mark Kettenis <kettenis@gnu.org>
20113
20114 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
20115 NetBSD/ELF targets.
20116
8608915f
MK
201172006-04-30 Mark Kettenis <kettenis@gnu.org>
20118
20119 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
20120 single-step breakpoint fails; make this a KFAIL on
20121 sparc*-*-openbsd*.
20122 * gdb.base/siginfo.exp: Likewise.
20123 * gdb.base/sigstep.exp (advance, advancei): Likewise.
20124
b8db102d
MS
201252006-04-26 Michael Snyder <msnyder@redhat.com>
20126
20127 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
20128 which may have to consume output from other forks.
20129 Add tests to make sure that "delete fork" succeeded.
20130
c702009a
MS
201312006-04-20 Michael Snyder <msnyder@redhat.com>
20132
20133 * 2006-03-22 Jim Blandy <jimb@redhat.com>
20134 Add support for the Renesas M32C and M16C.
20135
20136 * gdb.asm/asm-source.exp: Add m32c target.
20137 * gdb.asm/m32c.inc: Support for m32c target.
20138
e28493f2
AS
201392006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
20140
20141 * gdb.base/commands.exp (recursive_source_test): New test.
20142
880da185
DM
201432006-04-04 David S. Miller <davem@sunset.davemloft.net>
20144
20145 * gdb.base/float.exp: Add pattern for sparc targets.
20146
61d9b92f
DJ
201472006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
20148
20149 * gdb.base/commands.exp (stray_arg0_test): New test.
20150
bd717df8
PB
201512006-03-30 Paul Brook <paul@codesourcery.com>
20152
20153 * gdb.mi/mi-until.exp: kfail broken until command.
20154 * gdb.mi/mi2-until.exp: Ditto.
20155
ec793d3c
NR
201562006-03-27 Nick Roberts <nickrob@snap.net.nz>
20157
20158 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
20159
831004b7
AO
201602006-03-08 Alexandre Oliva <aoliva@redhat.com>
20161
20162 * gdb.base/prelink.exp: Anchor tested-for regular expression
20163 on gdb prompt.
20164
effe49a0
PB
201652006-03-07 Paul Brook <paul@codesourcery.com>
20166
20167 * gdb.base/assign.exp: Correct fail message.
20168
e5461016
PB
201692006-03-07 Paul Brook <paul@codesourcery.com>
20170
20171 * lib/compiler.c: Extract armcc version number.
20172 * lib/compiler.cc: Ditto.
20173
fc91c6c2
PB
201742006-03-07 Paul Brook <paul@codesourcery.com>
20175
20176 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
20177 additional_flags=-w.
20178 * gdb.arch/altivec-regs.exp: Ditto.
20179 * gdb.arch/e500-abi.exp: Ditto.
20180 * gdb.arch/e500-regs.exp: Ditto.
20181 * gdb.base/all-bin.exp: Ditto.
20182 * gdb.base/annota1.exp: Ditto.
20183 * gdb.base/annota3.exp: Ditto.
20184 * gdb.base/args.exp: Ditto.
20185 * gdb.base/arithmet.exp: Ditto.
20186 * gdb.base/assign.exp: Ditto.
20187 * gdb.base/async.exp: Ditto.
20188 * gdb.base/bang.exp: Ditto.
20189 * gdb.base/break.exp: Ditto.
20190 * gdb.base/call-rt-st.exp: Ditto.
20191 * gdb.base/completion.exp: Ditto.
20192 * gdb.base/cond-expr.exp: Ditto.
20193 * gdb.base/condbreak.exp: Ditto.
20194 * gdb.base/consecutive.exp: Ditto.
20195 * gdb.base/define.exp: Ditto.
20196 * gdb.base/display.exp: Ditto.
20197 * gdb.base/ena-dis-br.exp: Ditto.
20198 * gdb.base/environ.exp: Ditto.
20199 * gdb.base/eval-skip.exp: Ditto.
20200 * gdb.base/info-proc.exp: Ditto.
20201 * gdb.base/jump.exp: Ditto.
20202 * gdb.base/logical.exp: Ditto.
20203 * gdb.base/long_long.exp: Ditto.
20204 * gdb.base/maint.exp: Ditto.
20205 * gdb.base/miscexprs.exp: Ditto.
20206 * gdb.base/pc-fp.exp: Ditto.
20207 * gdb.base/pointers.exp: Ditto.
20208 * gdb.base/relational.exp: Ditto.
20209 * gdb.base/reread.exp: Ditto.
20210 * gdb.base/sect-cmd.exp: Ditto.
20211 * gdb.base/sep.exp: Ditto.
20212 * gdb.base/sepdebug.exp: Ditto.
20213 * gdb.base/until.exp: Ditto.
20214 * gdb.base/whatis-exp.exp: Ditto.
20215 * gdb.cp/annota2.exp: Ditto.
20216 * gdb.cp/annota3.exp: Ditto.
20217 * gdb.trace/actions.exp: Ditto.
20218 * gdb.trace/backtrace.exp: Ditto.
20219 * gdb.trace/circ.exp: Ditto.
20220 * gdb.trace/collection.exp: Ditto.
20221 * gdb.trace/deltrace.exp: Ditto.
20222 * gdb.trace/infotrace.exp: Ditto.
20223 * gdb.trace/limits.exp: Ditto.
20224 * gdb.trace/packetlen.exp: Ditto.
20225 * gdb.trace/passc-dyn.exp: Ditto.
20226 * gdb.trace/passcount.exp: Ditto.
20227 * gdb.trace/report.exp: Ditto.
20228 * gdb.trace/save-trace.exp: Ditto.
20229 * gdb.trace/tfind.exp: Ditto.
20230 * gdb.trace/tracecmd.exp: Ditto.
20231 * gdb.trace/while-dyn.exp: Ditto.
20232 * gdb.trace/while-stepping.exp: Ditto.
20233 * lib/gdb.exp: Ditto.
20234 (gdb_compile): Handle nowarning option.
20235
5f4a23d9
AO
202362006-03-07 Alexandre Oliva <aoliva@redhat.com>
20237
20238 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
20239 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
20240 Rename executable to prelinkt. Don't re-prelink if we didn't
20241 get a core file. Test prelink -u exit status to tell whether
20242 prelinking failed. Use gdb_test_multiple.
20243
9733fc94
DJ
202442006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
20245
20246 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
20247 (do_tests): Call it.
20248
cc10cae3
AO
202492006-02-28 Alexandre Oliva <aoliva@redhat.com>
20250
20251 * gdb.base/prelink.exp: New test.
20252 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
20253
15c46491
WZ
202542006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
20255
20256 * gdb.fortran/derived-type.f90: New file.
20257 * gdb.fortran/derived-type.exp: New testcase.
20258
5c9f7ded
DJ
202592006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
20260
20261 * gdb.base/default.exp: Allow ';' as a directory separator.
20262
5b96932b
AS
202632006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20264
20265 * gdb.base/help.exp (help add-symbol-file): Update.
20266
1986bccd
AS
202672006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20268
20269 * gdb.base/help.exp (help load): Update expected results.
20270
a8b7528f
FF
202712006-02-19 Fred Fish <fnf@specifix.com>
20272
20273 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
20274 specifix hex value as part of results.
20275 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 20276
f8261448
FF
202772006-02-16 Fred Fish <fnf@specifix.com>
20278
20279 * gdb.base/whatis.c: Define variables using typedefs char_addr,
20280 ushort_addr, and slong_addr, so the typedefs are not optimized
20281 away.
20282 * gdb.base/whatis.exp: Add tests using type name for struct type,
20283 union type, enum type, and typedef.
a9c64011 20284
31d8bdd2
MK
202852006-02-13 Mark Kettenis <kettenis@gnu.org>
20286
20287 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
20288
34e41e63
JB
202892006-02-13 Jim Blandy <jimb@redhat.com>
20290
20291 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
20292 case where it takes two "next" commands to skip past the init
20293 call.
20294
ac6e4f31
FF
202952006-02-12 Fred Fish <fnf@specifix.com>
20296
20297 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
20298 to handle cases where it takes two "next" commands to skip
20299 past the init call.
20300
2db2d571
JB
203012006-02-07 Joel Brobecker <brobecker@adacore.com>
20302
20303 * gdb.ada/array_return.exp: Mark the last test as expected to fail
20304 on hppa32 targets.
20305
38fcd64c
DJ
203062006-02-06 Vladimir Prus <ghost@cs.msu.su>
20307
20308 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
20309 field.
20310
1315ad46
MK
203112006-01-29 Mark Kettenis <kettenis@gnu.org>
20312
20313 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
20314
5625b943
DJ
203152006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
20316
20317 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
20318 files.
20319
80df1bbe
DJ
203202006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
20321
20322 * gdb.cp/maint.exp: Set complaints to a positive value.
20323
9078e690
DJ
203242006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20325
20326 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
20327 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
20328 function name.
20329
9c903399
DJ
203302006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20331
20332 * gdb.base/checkpoint.c: Update copyright notice. Include
20333 <stdlib.h>.
20334
761ae4d6
JB
203352006-01-04 Jim Blandy <jimb@redhat.com>
20336
20337 * gdb.asm/asm-source.exp: Independently provide default values for
20338 asm-flags and debug-flags. Use 'string equal' to do the
20339 comparison, not the implicit expr's '==' operator. Remove
20340 now-unneeded assignments to asm-flags. In h8300 case, place
20341 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
20342
099ac3dd
MS
203432006-01-04 Michael Snyder <msnyder@redhat.com>
20344
20345 * gdb.base/checkpoint.c: New file.
20346 * gdb.base/checkpoint.exp: New file.
20347 * gdb.base/multi-fork.c: New file.
20348 * gdb.base/multi-fork.exp: New file.
20349 * gdb.base/pi.txt: New file (data for checkpoint.c test).
20350
f4d85314
FF
203512006-01-04 Fred Fish <fnf@specifix.com>
20352
20353 * gdb.base/ptype.c (foo): Add typedef.
20354 (intfoo): Add function.
20355 * gdb.base/ptype1.c: New file.
20356 * gdb.base/ptype.exp: Handle compilation and linking with two
20357 source files. Test that proper type for "foo" is found based
20358 on source context rather than first match found in symtabs.
20359
a1b06f35
MK
203602005-12-28 Mark Kettenis <kettenis@gnu.org>
20361
20362 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
20363 * gdb.asm/openbsd.inc: Indent commands.
20364
d082a1e2
MK
203652005-12-26 Mark Kettenis <kettenis@gnu.org>
20366
c65016bd
MK
20367 * gdb.base/freebpcmd.exp: Increase timeout.
20368
d082a1e2
MK
20369 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
20370
d3c32a0e
DJ
203712005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
20372
20373 * gdb.base/default.exp: Update check for "show version".
20374
9fdb1f50
RC
203752005-12-09 Randolph Chung <tausq@debian.org>
20376
20377 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
20378 * gdb.asm/pa64.inc: New file.
20379
5f2c56f7
RC
203802005-12-09 Randolph Chung <tausq@debian.org>
20381
20382 * gdb.asm/common.inc: Indent commands.
20383 * gdb.asm/asmsrc1.s: Likewise.
20384 * gdb.asm/asmsrc2.s: Likewise.
20385
8117349c
RC
203862005-12-09 Randolph Chung <tausq@debian.org>
20387
20388 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
20389 (get_addr_of_sym): Remove duplicate print.
20390 (gen_core): xfail hppa*-*-hpux*, update expected output.
20391 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
20392 * gdb.arch/pa64-nullify.s: New file.
20393
8f07f25a
RC
203942005-12-09 Randolph Chung <tausq@debian.org>
20395
20396 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
20397
55b39184
DJ
203982005-12-07 Christophe Lyon <christophe.lyon@st.com>
20399
20400 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
20401 code generation for these functions.
20402 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
20403 error message.
20404
31e2b00f
AS
204052005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
20406
20407 * gdb.base/help.exp (help b, help br, help bre, help brea)
20408 (help break): Update the expected message.
20409
c3d0b56e
SC
204102005-11-11 Stephane Carrez <stcarrez@nerim.fr>
20411
20412 * gdb.asm/m68hc11.inc: Setup the data section.
20413 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
20414 script for this test.
20415 (m6812-*-*): Likewise.
20416
36ae0ea9
RC
204172005-11-09 Randolph Chung <tausq@debian.org>
20418
20419 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
20420
9d6f42e9
WZ
204212005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
20422
20423 * gdb.base/break.exp: Fix a comment typo.
20424
e2126a14
EZ
204252005-11-03 Jim Blandy <jimb@redhat.com>
20426
a9c64011
AS
20427 Checked in by Elena Zannoni <ezannoni@redhat.com>
20428
889bf7c5 20429 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 20430
e0ac7199
CV
204312005-11-02 Corinna Vinschen <vinschen@redhat.com>
20432
20433 * gdb.arch/gdb1558.c: Include stdio.h.
20434
31d3fb18
MK
204352005-10-31 Mark Kettenis <kettenis@gnu.org>
20436
20437 * gdb.asm/asm-source.exp: Use -e instead of --entry.
20438
e52b687c
MK
204392005-10-31 Mark Kettenis <kettenis@gnu.org>
20440
20441 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
20442
f4711d79
PG
204432005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
20444
a9c64011
AS
20445 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20446 vscr" tests to better match output.
f4711d79 20447
987a9106
JB
204482005-10-12 Jim Blandy <jimb@redhat.com>
20449
20450 * gdb.base/structs.exp (any): New function.
20451 (test_struct_returns): Don't make any assumptions at all about
20452 what value the function returns when GDB can't set the return
20453 value.
20454
2336bb58
JB
204552005-10-09 Joel Brobecker <brobecker@adacore.com>
20456
20457 * gdb.ada/arrayidx/p.adb: New file.
20458 * gdb.ada/arrayidx.exp: New testcase
20459
204602005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
20461
20462 * gdb.ada/array_return/pck.ads: New file.
20463 * gdb.ada/array_return/pck.adb: New file.
20464 * gdb.ada/array_return/p.adb: New file.
20465 * gdb.ada/array_return.exp: New testcase.
20466
705335ea
JB
204672005-10-03 Joel Brobecker <brobecker@adacore.com>
20468
a9c64011
AS
20469 * gdb.base/arrayidx.c: New file.
20470 * gdb.base/arrayidx.exp: New testcase.
705335ea 20471
11ee9940
NR
204722005-09-29 Nick Roberts <nickrob@snap.net.nz>
20473
20474 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
20475 frames-invalid and breakpoints-invalid are no longer generated
20476 with level 3 so don't expect them in the output.
20477
39fb8e9e
BR
204782005-09-27 Bob Rossi <bob@brasko.net>
20479
a9c64011 20480 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
20481 from test. Escape the | in mi_gdb_test call.
20482 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
20483 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
20484 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
20485 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
20486 expected regex's in mi_gdb_test calls.
20487 * lib/mi-support.exp: Remove arbitrary .* from tests.
20488 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
20489 Fully anchor GDB/MI expected results in mi_gdb_test.
20490 * lib/gdb.exp (string_to_regexp): Escape the ] character.
20491 * gdb.base/sizeof.exp: Remove escape character. Correct test.
20492
2af48f68
PB
204932005-09-26 Paul Brook <paul@codesourcery.com>
20494
20495 * long_long.exp: Exclude eabi targets from arm FPA float format test.
20496
f34502bc
WZ
204972005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20498
20499 * bfp-test.c: New file.
20500 * bfp-test.exp: New testcase.
20501
ca929517
WZ
205022005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20503
20504 * gdb.fortran/subarray.exp: New testcase to test the evaluation
20505 of subarray and substring variable.
20506 * gdb.fortran/subarray.f: New source file for the test of subarray
20507 and substring variable evaluation.
20508 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
20509 of string constant.
20510
c761af65
DJ
205112005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
20512
20513 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
20514 copyright dates.
20515
561d7a1d
PG
205162005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
20517
20518 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
20519 powerpc altivec' test with an almost identical 'info vector' test.
20520
b2b64cc9
PG
205212005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20522
a9c64011
AS
20523 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20524 vscr" tests to match output.
b2b64cc9 20525
6ac4d15a
PG
205262005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20527
a9c64011
AS
20528 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
20529 output.
6ac4d15a 20530
40e55bef
BR
205312005-09-11 Bob Rossi <bob@brasko.net>
20532
889bf7c5
PA
20533 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
20534 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
20535 commands that return an MI output command and an asyncronous MI output
20536 command.
40e55bef
BR
20537 * gdb.mi/mi-console.exp: Ditto.
20538
3c7385ec
BR
205392005-09-11 Bob Rossi <bob@brasko.net>
20540
20541 * gdb.mi/mi-var-child.c: Include <string.h>.
20542
a6cd0eb3
DJ
205432005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
20544
20545 * killed.exp: Correct gdb_expect syntax.
20546
2f168eed
CV
205472005-08-09 Corinna Vinschen <vinschen@redhat.com>
20548
20549 * lib/mi-support.exp (mi_gdb_load): Fix typo.
20550
ecd3fd0f
BR
205512005-08-02 Bob Rossi <bob@brasko.net>
20552
20553 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
20554 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
20555 Change tests to inferior-tty-set/show.
20556 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
20557 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
20558 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
20559 inferior. Use mi_gdb_test to get GDB and Inferior output.
20560 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
20561 descriptor.
20562 (mi_inferior_tty_name): Add inferior PTY file name.
20563 (mi_gdb_start): Add INFERIOR_PTY parameter.
20564 (mi_gdb_test): Add IPATTERN parameter.
20565
f1ea48cb 205662005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 20567
f1ea48cb
BR
20568 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
20569 parameter to mi_gdb_test.
20570 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
20571
6e650a67
DJ
205722005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20573
20574 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
20575 struct_declarations.
20576 * gdb.mi/mi-var-child.exp: Step over the initialization of
20577 struct_declarations.
20578
8be260b6
DJ
205792005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20580
20581 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
20582 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
20583 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
20584 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
20585 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
20586 file.
20587
4e660f07
NR
205882005-07-27 Nick Roberts <nickrob@snap.net.nz>
20589
20590 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
20591 (do_children_tests): Assign values to the extra elements.
20592
20593 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
20594 them for tests for "-var-update --no-values" and
a9c64011 20595 "-var-update --all-values".
4e660f07
NR
20596 Add test for "-var-list-children --simple-values".
20597
20598 * gdb.mi/basics.c (callee4): Add integer array D[3]...
20599
20600 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
20601 "-stack-list-locals --simple-values" Improve doc strings and
20602 comments.
20603
6bdae935
MK
206042005-07-18 Mark Kettenis <kettenis@gnu.org>
20605
598b7a6f
MK
20606 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
20607 *-*-openbsd*.
20608 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
20609
6bdae935
MK
20610 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
20611 sigaltsatck'.
20612
1323e929 206132005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 20614
1323e929
BR
20615 * gdb.base/default.exp (tty): Changed output of command.
20616 * gdb.base/help.exp (help tty): Ditto.
20617
b1a9c082
MK
206182005-07-12 Mark Kettenis <kettenis@gnu.org>
20619
20620 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
20621
10a844a2
MK
206222005-07-10 Mark Kettenis <kettenis@gnu.org>
20623
20624 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
20625 -stack-select-frame without arguments.
20626 (test_stack_frame_listing): Add test for newly implemented command
20627 -stack-info-frame.
20628
3cb3b8df
BR
206292005-07-06 Bob Rossi <bob@brasko.net>
20630
20631 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
20632 command.
20633 (Copyright): Update copyright.
20634
a0c5fbcf
WZ
206352005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
20636
20637 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
20638 tests to evaluate exponentiation expression.
20639
984971d0
AS
206402005-06-29 Andreas Schwab <schwab@suse.de>
20641
20642 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
20643 main to avoid warnings.
20644
20645 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
20646
fe03833f
NR
206472005-06-20 Nick Roberts <nickrob@snap.net.nz>
20648
20649 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
20650 -stack-select-frame without arguments.
20651 (test_stack_frame_listing): Add test for newly implemented command
20652 -stack-info-frame.
a9c64011 20653
7a55f279
WZ
206542005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
20655
0ffa0ea5
DJ
20656 * gdb.fortran/array-element.f: New file.
20657 * gdb.fortran/array-element.exp: New testcase.
7a55f279 20658
26585198
DJ
206592005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
20660
20661 * gdb.base/bigcore.exp: Correct checks for systems which can
20662 not dump a large core file.
20663
c1bd25fd
DJ
206642005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
20665
20666 * gdb.base/relocate.c: Add a copyright notice.
20667 (dummy): Remove.
20668 * gdb.base/relocate.exp: Test printing the values of variables
20669 from a relocatable file.
20670
589e074d
DJ
206712005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
20672
20673 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
20674 excess MI output after an error.
20675
0915f927
JB
206762005-05-29 Joel Brobecker <brobecker@adacore.com>
20677
20678 * gdb.arch/alpha-step.c: New file.
20679 * gdb.arch/alpha-step.exp: New testcase.
20680
76ff342d
DJ
206812005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
20682 Dennis Brueni <dennis@slickedit.com>
20683
20684 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
20685 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
20686 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
20687 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
20688 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
20689 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
20690 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
20691
96b0c7ac
DJ
206922005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
20693 Wu Zhou <woodzltc@cn.ibm.com>
20694
20695 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
20696 IBM's xlc compiler.
20697 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
20698 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
20699
f21565d2
JB
207002005-05-13 Jim Blandy <jimb@redhat.com>
20701
20702 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
20703 calling gdb_suppress_entire_file.
20704 * gdb.base/charset.exp: Same.
20705 * gdb.base/call-rt-st.exp: Same.
20706
6006a3a1
BR
207072005-05-05 Bob Rossi <bob_rossi@cox.net>
20708
20709 * lib/gdb.exp (fullname_syntax): Added global regex.
20710 (fullname_syntax_POSIX): Ditto.
20711 (fullname_syntax_UNC): Ditto.
20712 (fullname_syntax_DOS_CASE): Ditto.
20713 (fullname_syntax_DOS): Ditto.
20714 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
20715 fullname_syntax variable to scope and use it.
20716 (test_file_list_exec_source_files): Ditto.
20717 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
20718
c3b69c04
DJ
207192005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
20720
20721 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
20722
3c95e6af
PG
207232004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
20724
a9c64011
AS
20725 * lib/gdb.exp (skip_altivec_tests): New function, based on
20726 check_vmx_hw_available from the GCC testsuite.
20727 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
20728 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 20729
78df6c56
JB
207302005-05-02 Jim Blandy <jimb@redhat.com>
20731
20732 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
20733 calling gdb_suppress_entire_file.
20734
1690f9cf
DJ
207352005-04-30 Randolph Chung <tausq@debian.org>
20736
20737 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
20738 Slightly relax "sem_post" name checking.
20739
5ea106f7
PG
207402005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
20741
20742 * gdb.base/unload.exp: Use new shared library infrastructure.
20743
bf7234cf
PG
207442005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
20745
20746 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 20747 infrastructure.
bf7234cf 20748
547b869a
CV
207492005-04-29 Corinna Vinschen <vinschen@redhat.com>
20750
20751 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
20752 * gdb.asm/h8300.inc: New file.
20753
f07e55f0
PG
207542005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20755
20756 * gdb.base/shlib-call.exp: Change to use new shared library
20757 infrastructure.
20758
3cbba3d1
PG
207592005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20760
a9c64011
AS
20761 * gdb.base/pending.exp: Change to use new shared library
20762 infrastructure.
3cbba3d1 20763
ed6df200
PG
207642005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20765
a9c64011
AS
20766 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
20767 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 20768
8c8f4ebe
PG
207692005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
20770
a9c64011
AS
20771 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
20772 shared objects being adjusted and update copyright years.
8c8f4ebe 20773
607fbc54
DJ
207742005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
20775
20776 * ChangeLog: Correct some 2003-01-13 dates.
20777 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
20778 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
20779 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
20780 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
20781 gdb.trace/tfind.exp: Update copyright years.
20782
57bf0e56
DJ
207832005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
20784 Daniel Jacobowitz <dan@codesourcery.com>
20785
20786 * lib/gdb.exp (gdb_compile): Handle shlib=.
20787 (gdb_compile_shlib): New function.
20788
9b593790
PG
207892005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
20790
a9c64011 20791 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 20792
9494c6a5
DJ
207932005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20794
20795 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
20796 gdb.server.
20797 * configure.ac: Likewise.
20798 * configure: Regenerated.
20799 * gdb.gdbserver/Makefile.in: Moved to...
20800 * gdb.server/Makefile.in: ... here.
20801 * gdb.gdbserver/server.c: Moved to...
20802 * gdb.server/server.c: ... here.
20803 * gdb.gdbserver/server-run.exp: Moved to...
20804 * gdb.server/server-run.exp: ... here.
20805
6f8eac0e
DJ
208062005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20807
20808 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
20809 * configure.ac: Create gdb.gdbserver/Makefile.
20810 * configure: Regenerated.
20811 * lib/gdbserver-support.exp: New file, derived from
20812 config/gdbserver.exp.
20813 * config/gdbserver.exp: Use gdbserver-support.exp.
20814 * gdb.gdbserver/Makefile.in: New file.
20815 * gdb.gdbserver/server.c: New file.
20816 * gdb.gdbserver/server-run.exp: New file.
20817
6e87504d
PG
208182005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
20819
a9c64011
AS
20820 * lib/gdb.exp (test_compiler_info): Return compiler_info
20821 if no arguments are given.
6e87504d 20822
d1779be4
PG
208232005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
20824
20825 * gdb.arch/altivec-abi.exp: Check for compiler and set
20826 use altivec' flag accordingly.
20827 * gdb.arch/altivec-regs.exp: Likewise.
20828
88750304
DJ
208292005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
20830
20831 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
20832
f3fb768d
AS
208332005-03-27 Andreas Schwab <schwab@suse.de>
20834
20835 * gdb.base/bigcore.c (main): Add missing mode argument in open
20836 call.
20837
7e813ac5
DJ
208382005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
20839
20840 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
20841 downloads.
20842 * config/gdbserver.exp (gdb_load): Likewise.
20843
8e3049aa
PB
208442005-03-14 Paul Brook <paul@codesourcery.com>
20845
20846 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
20847 targets.
20848
a9df7c44
JB
208492005-03-09 Joel Brobecker <brobecker@adacore.com>
20850
20851 * gdb.dwarf2/dup-psym.S: New file.
20852 * gdb.dwarf2/dup-psym.exp: New testcase.
20853
9f0d94e8
JB
208542005-03-09 Joel Brobecker <brobecker@adacore.com>
20855
20856 * gdb.ada/exec_changed/first.adb: New file.
20857 * gdb.ada/exec_changed/second.adb: New file.
20858 * gdb.ada/exec_changed.exp: New testcase.
20859
5f579bc5
NS
208602005-03-08 Nathan Sidwell <nathan@codesourcery.com>
20861
36e9969c
NS
20862 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
20863 (A2): New class.
20864 (main): Test operator+.
20865 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
20866 breakpoint test.
20867
5f579bc5
NS
20868 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
20869 * gdb.base/signull.exp: Disable if gdb,nosignals.
20870 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
20871 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
20872 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
20873 * gdb.mi/mi2-console.exp: Likewise.
20874 * gdb.trace/collection.exp (run_trace_experiment): Consume the
20875 continue output at start.
20876 (gdb_collect_locals_test): Robustify regexp.
20877 * gdb.trace/passc-dyn.exp: Fix comment typo.
20878 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
20879
be46087e
CV
208802005-03-08 Corinna Vinschen <vinschen@redhat.com>
20881
20882 * gdb.asm/asm-source.exp: Add iq2000 case.
20883 * gdb.asm/iq2000.inc: New file.
20884
384e1a61 208852005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 20886
384e1a61
MI
20887 * gdb.base/command.exp: Change hardcoded value to regular expression.
20888 * gdb.base/float.exp: Add powerpc to the list of targets checked.
20889
584b6e9e
DJ
208902005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
20891
20892 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
20893 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
20894 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
20895 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
20896 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
20897
ab5b5d61
MK
208982005-03-05 Mark Kettenis <kettenis@gnu.org>
20899
20900 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
20901 changes.
20902
ae051c1b
PG
209032004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
20904
a9c64011
AS
20905 * lib/compiler.c: Add test for IBM's xlc compiler.
20906 * lib/compiler.cc: Likewise.
ae051c1b 20907
3f0f6ed2
JB
209082004-02-24 Joel Brobecker <brobecker@adacore.com>
20909
20910 * gdb.ada/fixed_points.exp: Create compilation object directory
20911 before running the test.
20912 * gdb.ada/null_record.exp: Likewise.
20913 * gdb.ada/packed_array.exp: Likewise.
20914 * gdb.ada/start.exp: Likewise.
20915
724f452b
JB
209162005-02-15 Joel Brobecker <brobecker@adacore.com>
20917
20918 * gdb.ada/packed_array/pa.adb: New file.
20919 * gdb.ada/packed_array.exp: New testcase.
20920
57f5cdfb 209212005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 20922
1f393151
MK
20923 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
20924 files.
20925
ebdda337
MK
20926 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
20927 on *-*-openbsd*. Correctly match whitespace in regukar
20928 expressions.
20929
cf309262
DJ
209302005-02-10 Daniel Jacobowitz <dan@debian.org>
20931
20932 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
20933 PR exp/1821
20934 * gdb.base/gdb1821.c: New test file.
20935 * gdb.base/gdb1821.exp: New test file.
20936
3be49e7a
JB
209372005-02-09 Joel Brobecker <brobecker@adacore.com>
20938
20939 * gdb.base/start.c: New file.
20940 * gdb.base/start.exp: New testcase.
20941
e292e67d
JB
209422005-02-09 Joel Brobecker <brobecker@adacore.com>
20943
20944 * gdb.ada/start/dummy.adb: New file.
20945 * gdb.ada/start.exp: New testcase.
20946
dbdfa66c
CV
209472005-02-09 Corinna Vinschen <vinschen@redhat.com>
20948
20949 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
20950 for printing symbols and statistics.
20951 Add test for using relative pathnames in "maint print msymbols" test.
20952 Mark "maint info sections DATA" XFAIL on Cygwin.
20953 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
20954 tests.
20955
d7941671
AC
209562005-02-09 Andreas Schwab <schwab@suse.de>
20957
20958 Committed by Andrew Cagney <cagney@gnu.org>
20959 * gdb.base/remotetimeout.exp: New file.
20960
74e5ef44
MK
209612005-02-07 Mark Kettenis <kettenis@gnu.org>
20962
20963 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
20964
464dd14d
JB
209652005-02-03 Joel Brobecker <brobecker@adacore.com>
20966
20967 * gdb.ada/gnat_ada.gpr: New file.
20968 * gdb.ada/gnat_ada.gin: Delete, no longer used.
20969 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
20970 * configure.ac: No longer generate gnat_ada.gpr.
20971 * configure: Regenerate.
20972 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
20973 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
20974 * gdb.ada/null_record/bar.ads: Likewise.
20975 * gdb.ada/null_record/bar.adb: Likewise.
20976 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
20977 * gdb.ada/null_record.exp (testdir): New variable.
20978 (testfile): executable is now in testdir subdirectory.
20979 (srcfile): Use full path to the main compilation unit.
20980 * gdb.ada/fixed_points.exp: Same changes as above.
20981
30d756ae
NR
209822005-02-03 Nick Roberts <nickrob@snap.net.nz>
20983
20984 * gdb.base/interp.exp: New test.
20985
9d799f85
AC
209862005-01-24 Andrew Cagney <cagney@gnu.org>
20987
20988 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
20989
15656118
AC
209902005-01-19 Andrew Cagney <cagney@gnu.org>
20991
a892c31b
AC
20992 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
20993 configure.ac not configure.in.
20994
15656118
AC
20995 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
20996 of powerpc*-*-*.
20997 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 20998 * gdb.base/list.exp (test_list_function)
15656118
AC
20999 (test_list_filename_and_function): Ditto.
21000 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
21001
a7b01baf
AC
210022005-01-16 Andrew Cagney <cagney@gnu.org>
21003
17d92a02
AC
21004 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
21005
a7b01baf
AC
21006 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
21007
bc8332bb
AC
210082005-01-14 Andrew Cagney <cagney@gnu.org>
21009
21010 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
21011 * gdb.mi/mi2-var-cmd.exp: Ditto.
21012
4d074752
CV
210132005-01-10 Corinna Vinschen <vinschen@redhat.com>
21014
21015 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
21016
bec39cab
AC
210172005-01-07 Andrew Cagney <cagney@gnu.org>
21018
21019 * configure.ac: Rename configure.in, require autoconf 2.59.
21020 * configure: Re-generate.
21021 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
21022 * gdb.stabs/configure: Re-generate.
21023 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
21024 * gdb.hp/configure: Re-generate.
21025 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
21026 autoconf 2.59.
21027 * gdb.hp/gdb.objdbg/configure: Re-generate.
21028 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
21029 autoconf 2.59.
21030 * gdb.hp/gdb.defects/configure: Re-generate.
21031 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
21032 autoconf 2.59.
21033 * gdb.hp/gdb.compat/configure: Re-generate.
21034 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
21035 autoconf 2.59.
21036 * gdb.hp/gdb.base-hp/configure: Re-generate.
21037 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
21038 autoconf 2.59.
21039 * gdb.hp/gdb.aCC/configure: Re-generate.
21040
f10b16d4
JB
210412004-12-15 Jim Blandy <jimb@redhat.com>
21042
21043 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
21044 under NPTL when there is debugging info available for libpthread.
21045
fb6e1814
JG
210462004-12-13 Jerome Guitton <guitton@gnat.com>
21047
21048 * gdb.ada/fixed_points.c: New file.
21049 * gdb.ada/fixed_points.exp: New file.
21050
fe46cd3a
RC
210512004-12-03 Randolph Chung <tausq@debian.org>
21052
21053 * gdb.arch/pa-nullify.exp: New file.
21054 * gdb.arch/pa-nullify.s: New file.
21055
8de0841b
RC
210562004-11-30 Randolph Chung <tausq@debian.org>
21057
21058 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
21059 instead of "tbug". Fix regexp to work properly with gdb_test.
21060
c8170782
PH
210612004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
21062
21063 * gdb.base/bitfields2.exp: New test.
21064 * gdb.base/bitfields2.c: New file.
21065
954269c2
RE
210662004-11-28 Richard Earnshaw <rearnsha@arm.com>
21067
21068 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
21069
0107feed
RC
210702004-11-16 Randolph Chung <tausq@debian.org>
21071
21072 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
21073
f073ae8c
DJ
210742004-11-14 Daniel Jacobowitz <dan@debian.org>
21075
21076 * gdb.threads/threadapply.exp: Correct "macro details" test.
21077
19ad59e7
JJ
210782004-11-11 Jeff Johnston <jjohnstn@redhat.com>
21079
21080 * gdb.threads/threadapply.exp: New test.
21081 * gdb.threads/threadapply.c: New file.
21082
9cf0961b
MK
210832004-11-07 Mark Kettenis <kettenis@gnu.org>
21084
21085 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
21086 frames.
21087
c789492a
FL
210882004-11-05 Felix Lee <felix+log1@specifixinc.com>
21089
21090 * gdb.base/cursal.exp: New file.
21091 * gdb.base/cursal.c: New file.
21092
a1e167bb
AC
210932004-11-03 Andrew Cagney <cagney@gnu.org>
21094
21095 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
21096
b7cbf173
MK
210972004-10-30 Mark Kettenis <kettenis@gnu.org>
21098
21099 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
21100 NetBSD/ELF targets.
21101
88f9d34f
JB
211022004-10-29 Joel Brobecker <brobecker@gnat.com>
21103
21104 * gdb.threads/bp_in_thread.c: New file, copied from
21105 pthread_cond_wait.c.
21106 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
21107 file, rather than reusing the .c file from another testcase.
21108
ca7d6a0c
JB
211092004-10-20 Joel Brobecker <brobecker@gnat.com>
21110
21111 * gdb.ada/null_record.exp: Check where we stopped after
21112 sending the start command, instead of where the associated
21113 temporary breakpoint was inserted.
21114
0d863d03
AC
211152004-10-14 Andrew Cagney <cagney@gnu.org>
21116
21117 * gdb.mi/gdb701.c (main): Return 0.
21118
d11e72cb
DJ
211192004-10-13 Daniel Jacobowitz <dan@debian.org>
21120
d40539a4 21121 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 21122
e1923096
JJ
211232004-10-12 Jeff Johnston <jjohnstn@redhat.com>
21124
21125 * gdb.threads/schedlock.c: Add comment markers to use to find
21126 line numbers.
21127 * gdb.threads/schedlock.exp: Adjust regex to handle the new
21128 comments.
21129 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
21130 breakpoint lines.
21131
ec8ba2c9
DJ
211322004-10-12 Daniel Jacobowitz <dan@debian.org>
21133
21134 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
21135
0eb3658b
DJ
211362004-10-12 Daniel Jacobowitz <dan@debian.org>
21137
21138 * configure.in: Add gdb.dwarf2.
21139 * configure: Regenerated.
21140 * Makefile.in: Add gdb.dwarf2.
21141 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
21142 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
21143 gdb.dwarf2/file1.txt: New files.
21144
a271cc33
OF
211452004-10-11 Orjan Friberg <orjanf@axis.com>
21146
a9c64011 21147 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
21148 of "run", since the latter doesn't work with remote targets. Adjust
21149 the breakpoint numbering accordingly.
21150 * gdb.threads/pthread_cond_wait.exp: Ditto.
21151
895ce074
MC
211522004-10-08 Michael Chastain <mec.gnu@mindspring.com>
21153
21154 * gdb.base/overlays.exp: Update copyright years.
21155
6be3092d
KI
211562004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
21157
21158 * gdb.base/overlays.exp: Disable if target is Linux.
21159
e05389b8
FL
211602004-10-06 Felix Lee <felix+log1@specifixinc.com>
21161
21162 * config/gdbserver.exp (gdb_load): Use right filename on remote.
21163
73cb587d
KI
211642004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
21165
21166 * gdb.asm/asm-source.exp: Add m32r-linux target.
21167 * gdb.asm/m32r-linux.inc: New file.
21168
3c0edcdc
AC
211692004-09-24 Andrew Cagney <cagney@redhat.com>
21170 David Anderson <anderson@redhat.com>
21171
21172 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
21173 command fails, assume things will work.
21174 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
21175 (_GNU_SOURCE): Define.
21176 (print_unsigned, print_hex): Change parameter to "long long".
21177 (print_byte_count): New function, use to print byte counts.
21178 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
21179 O_LARGEFILE.
21180 (main): Compute an upper bound on a corefile in max_core_size.
21181 Limit memory chunk size to max_core_size. Limit total memory
21182 allocated to max_core_size.
21183
4bb3667f
AC
211842004-09-23 Andrew Cagney <cagney@gnu.org>
21185
21186 * gdb.base/bigcore.exp: Replace the code that creates a corefile
21187 from a separate process with code that creates a corefile by
21188 making the inferior dump core.
21189
60fe1a51
MK
211902004-09-23 Mark Kettenis <kettenis@gnu.org>
21191
21192 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
21193 block.
21194
8e937346
MC
211952004-09-23 Michael Chastain <mec.gnu@mindspring.com>
21196
21197 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
21198 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
21199 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
21200 Likewise.
21201
7213f6d6
JJ
212022004-09-20 Jeff Johnston <jjohnstn@redhat.com>
21203
21204 * gdb.java/jprint.exp: New test case for java inferior call.
21205 * gdb.java/jprint.java: Ditto.
21206
eac69dca
JB
212072004-09-15 Joel Brobecker <brobecker@gnat.com>
21208
21209 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
21210
22227696
MC
212112004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21212
21213 * gdb.threads/killed.c: Include <stdlib.h>.
21214 * gdb.threads/pthreads.c: Likewise.
21215
7dd403a4
MC
212162004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21217
21218 * gdb.threads/killed.c: Add copyright notice.
21219
33f2d567
JM
212202004-09-10 Jason Molenda (jmolenda@apple.com)
21221
a9c64011
AS
21222 * gdb.base/define.exp: Two new tests to verify zero space chars
21223 after 'if' and 'while' commands in a user-defined command is correctly
21224 parsed.
33f2d567 21225
e05b62ac
AC
212262004-09-08 Andrew Cagney <cagney@gnu.org>
21227
21228 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
21229 delivery test with duplicate at end of file.
21230
9cbe82da
MK
212312004-09-06 Mark Kettenis <kettenis@jive.nl>
21232
21233 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
21234
564803d9
MC
212352004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21236
21237 * config/hppro.exp: Removed.
21238
7c6807ce
MC
212392004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21240
21241 * config/sparclet.exp: Removed.
21242
bf7e26dd
MC
212432004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21244
21245 * config/udi.exp: Removed.
21246
714e341b
MC
212472004-09-02 Michael Chastain <mec.gnu@mindspring.com>
21248
21249 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
21250 of "exp_continue".
21251 (advancei): Likewise.
21252
1236e623
JJ
212532004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21254
21255 * gdb.base/unload.exp: Fix so messages aren't duplicated.
21256
3bdcad15
MI
212572004-09-01 Manoj Iyer <manjo@austin.ibm.com>
21258
228af206 21259 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
21260 to check for nodebug in executable.
21261 * gdb.gdb/observer.exp (setup_test): Likewise.
21262 * gdb.gdb/selftest.exp (test_with_self): Likewise.
21263 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
21264
c72b934c
AC
212652004-09-01 Andrew Cagney <cagney@gnu.org>
21266
21267 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21268 files.
21269
edd9b715
JJ
212702004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21271
21272 * gdb.base/unload.exp: Fix expected warning message to match
21273 latest format.
21274
fb4ce06b
CV
212752004-09-01 Corinna Vinschen <vinschen@redhat.com>
21276
21277 * gdb.base/call-rt-st.exp: Fix typos.
21278
ce78e7c3
MI
212792004-08-31 Manoj Iyer <manjo@austin.ibm.com>
21280
21281 * gdb.threads/thread_check.exp: New testcase.
21282 * gdb.threads/thread_check.c: New testcase.
21283
2dedb159
AC
212842004-08-31 Andrew Cagney <cagney@gnu.org>
21285
21286 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
21287 (skip_to_handler_entry): New procedures. Test stepping into a
21288 handler when the breakpoint is at the handler's entry point.
21289
68f53502
AC
212902004-08-30 Andrew Cagney <cagney@gnu.org>
21291
21292 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
21293 gdb/1757.
21294
3e3ffd2b
MC
212952004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21296
21297 With code from Manoj Iyer <manjo@austin.ibm.com>:
21298 * lib/gdb.exp (gdb_file_cmd): Return more information in the
21299 return value. Add an arm for "no debugging symbols found".
21300 Change a stray "error" to "perror".
21301 (gdb_run_cmd): Adapt to new return value.
21302 * gdb.base/remote.exp: Adapt to new return value.
21303 * gdb.gdb/complaints.exp: Likewise.
21304 * gdb.gdb/observer.exp: Likewise.
21305 * gdb.gdb/selftest.exp: Likewise.
21306 * gdb.gdb/xfullpath.exp: Likewise.
21307
4b6f5fd2
JB
213082004-08-27 Joel Brobecker <brobecker@gnat.com>
21309
21310 * gdb.threads/bp_in_thread.exp: New testcase.
21311
e5b25496
MC
213122004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21313
21314 Fix PR testsuite/1735.
21315 * gdb.threads/schedlock.c (thread_function): Add a cast
21316 to suppress a gcc warning.
21317 * gdb.threads/thread-specific.c (thread_function): Likewise.
21318
934353d6
MC
213192004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21320
21321 * gdb.base/unload.c: Include <stdlib.h>.
21322
f98a0aef 213232004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 21324
f98a0aef 21325 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
21326 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
21327 synchronized after the "return".
21328
5a2e8882
MC
213292004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21330
21331 * gdb.mi/basics.c: Include <stdio.h>.
21332 * gdb.mi/pthreads.c: Include <stdlib.h>.
21333 * gdb.mi/var-cmd.c: Include <stdlib.h>.
21334
a9640423
MC
213352004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21336
21337 * gdb.threads/schedlock.c: Add copyright notice.
21338
b04e311d
AC
213392004-08-25 Andrew Cagney <cagney@gnu.org>
21340
21341 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
21342 (skip_over_handler, breakpoint_over_hander): New test procedures.
21343 (advance, advancei): Add a proper prefix, do not use
21344 rerun_to_main.
21345 * gdb.base/sigstep.c (main): Change to use an infinite loop.
21346
7c27f15b
MC
213472004-08-24 Michael Chastain <mec.gnu@mindspring.com>
21348
21349 * gdb.mi/basics.c: Add copyright notice.
21350 * gdb.mi/var-cmd.c: Add copyright notice.
21351
fffc87ae
MC
213522004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21353
21354 * lib/gdb.exp: Remove signed_keyword_not_used.
21355 * lib/compiler.c: Likewise.
21356 * lib/compiler.cc: Likewise.
21357
d782e0bf
MC
213582004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21359
21360 * gdb.base/whatis.c: Remove conditional disabling of "signed".
21361 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
21362
96033e83
MC
213632004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21364
21365 * gdb.base/whatis.c: Add copyright notice.
21366
cf38c229
MK
213672004-08-20 Mark Kettenis <kettenis@gnu.org>
21368
21369 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
21370 it to skip the breakpoints encoded in the inline assembly.
21371
f4b49756
MC
213722004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21373
21374 * Makefile.in: Add gdb.fortran.
21375
2f193b69
MC
213762004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21377
21378 * gdb.base/call-sc.exp (test_scalar_returns):
21379 Fix cut-and-paste glitch in "Make fun return now".
21380
89a237cb
MC
213812004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21382
21383 * configure.in: Add gdb.fortran.
21384 * configure: Regenerate.
21385 * gdb.fortran/Makefile.in: New file.
21386 * lib/gdb.exp (skip_fortran_tests): New procedure.
21387
469aff8e
MC
213882004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21389
21390 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
21391 reference to bug-gnu@prep.ai.mit.edu.
21392 * gdb.mi/mi-var-child.exp: Likewise.
21393 * gdb.mi/mi-var-cmd.exp: Likewise.
21394 * gdb.mi/mi-var-display.exp: Likewise.
21395 * gdb.mi/mi2-var-block.exp: Likewise.
21396 * gdb.mi/mi2-var-child.exp: Likewise.
21397 * gdb.mi/mi2-var-cmd.exp: Likewise.
21398 * gdb.mi/mi2-var-display.exp: Likewise.
21399
00b51b9f
MK
214002004-08-15 Mark Kettenis <kettenis@gnu.org>
21401
21402 * gdb.base/unload.c (main): Make local variable msg const.
21403
45f07fef
MC
214042004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21405
21406 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
21407 to bug-gnu@prep.ai.mit.edu.
21408 * gdb.mi/mi-disassemble.exp: Likewise.
21409 * gdb.mi/mi-eval.exp: Likewise.
21410 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
21411 default line number.
21412 * gdb.mi/mi-return.exp: Likewise.
21413 * gdb.mi/mi-simplerun.exp: Likewise.
21414 * gdb.mi/mi-stack.exp: Likewise.
21415 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
21416 number with explicit range test.
21417 * gdb.mi/mi-watch.exp: Likewise.
21418 * gdb.mi/mi2-break.exp: Likewise.
21419 * gdb.mi/mi2-cli.exp: Likewise.
21420 * gdb.mi/mi2-disassemble.exp: Likewise.
21421 * gdb.mi/mi2-eval.exp: Likewise.
21422 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
21423 default line number.
21424 * gdb.mi/mi2-return.exp: Likewise.
21425 * gdb.mi/mi2-simplerun.exp: Likewise.
21426 * gdb.mi/mi2-stack.exp: Likewise.
21427 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
21428 number with explicit range test.
21429 * gdb.mi/mi2-watch.exp: Likewise.
21430
dd8c8ee7
MC
214312004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21432
21433 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
21434 * gdb.cp/m-static.exp: Likewise.
21435 * gdb.cp/rtti.exp: Likewise.
21436
4e838464
MK
214372004-08-14 Mark Kettenis <kettenis@gnu.org>
21438
21439 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
21440
8d8cb839
EZ
214412004-08-14 Eli Zaretskii <eliz@gnu.org>
21442
21443 * ChangeLog: Prefix Local Variables with semi-colons and indent
21444 the reference to older ChangeLog files, to fix fontification in
21445 Emacs.
21446
deea8bb0
MC
214472004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21448
21449 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
21450 * gdb.mi/mi2-break.exp: Likewise.
21451
c3297504
MC
214522004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21453
21454 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
21455
25808999
MC
214562004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21457
21458 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
21459
226a8d71
MC
214602004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21461
21462 * gdb.cp/classes.exp: Remove unused declarations. Just let
21463 test names default instead of providing special names. Remove
21464 extraneous demangler test.
21465
37fdf854
JJ
214662004-08-12 Jeff Johnston <jjohnstn@redhat.com>
21467
21468 * gdb.base/unload.exp: New test for breakpoints in dynamically
21469 loaded libraries.
21470 * gdb.base/unload.c: Ditto.
21471 * gdb.base/unloadshr.c: Ditto.
21472
2d3a7986
MC
214732004-08-12 Michael Chastain <mec.gnu@mindspring.com>
21474
21475 * gdb.cp/classes.exp (test_ptype_class_objects): Call
21476 cp_test_ptype_class.
21477 (test_enums): Likewise.
21478
c72b934c
AC
214792004-08-10 Andrew Cagney <cagney@gnu.org>
21480
21481 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21482 files.
21483
cc503c8a
AC
214842004-08-10 Andrew Cagney <cagney@gnu.org>
21485
21486 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
21487 init_malloc call.
21488
902f2ccb
MC
214892004-08-10 Michael Chastain <mec.gnu@mindspring.com>
21490
21491 * ChangeLog: Add copyright notice. The notice is copied
21492 from emacs 21.3 top level ChangeLog.
21493
78c90502
MC
214942004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21495
21496 * lib/cp-support.exp: New file.
21497 * lib/cp-support.exp (cp_test_type_class): New function.
21498 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
21499 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
21500 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
21501 cp_test_ptype_class.
21502
88e5ea78
MC
215032004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21504
21505 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
21506 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
21507 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
21508 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
21509 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
21510 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
21511 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
21512 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
21513 gdb.mi/mi2-watch.exp: Update copyright years.
21514
6a89fc9c
MK
215152004-08-09 Mark Kettenis <kettenis@gnu.org>
21516
21517 * gdb.base/sigaltstack.exp: Provide proper anchoring.
21518
1482e0de
MC
215192004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21520
21521 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
21522 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
21523 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
21524 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
21525 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
21526 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
21527 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
21528 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
21529 gdb.mi/mi-watch.exp: Update copyright years.
21530
1a5ce3f3
DJ
215312004-08-08 Daniel Jacobowitz <dan@debian.org>
21532
21533 PR gdb/1738
21534 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
21535 from a breakpoint with a pending signal.
21536
04f6ecf2
DJ
215372004-08-08 Daniel Jacobowitz <dan@debian.org>
21538
21539 PR gdb/1736
21540 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
21541 * gdb.base/sigaltstack.exp (finish_test): Consume output until
21542 the prompt.
21543 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
21544
54d90d35
DJ
215452004-08-08 Daniel Jacobowitz <dan@debian.org>
21546
21547 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
21548
d2f6abb0
DJ
215492004-08-08 Daniel Jacobowitz <dan@debian.org>
21550
21551 PR gdb/1736
21552 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
21553 for i?86-*-linux*.
21554
5598c03d
DJ
215552004-08-08 Daniel Jacobowitz <dan@debian.org>
21556
21557 * gdb.arch/i386-prologue.exp: Compile without debug information.
21558
c6fee705
MC
215592004-08-08 Michael Chastain <mec.gnu@mindspring.com>
21560
21561 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
21562 rather than asking gdb to search.
21563
dd90efdb
MC
215642004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21565
21566 * gdb.base/gcore.c: Include <string.h>.
21567
1e84bec1
MC
215682004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21569
21570 * gdb.base/gcore.c: Add copyright notice.
21571
e425eb2b
MC
215722004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21573
21574 * gdb.base/freebpcmd.c: Include <stdio.h>.
21575 * gdb.base/long_long.c: Include <string.h>.
21576 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
21577 * gdb.base/siginfo.c: Include <string.h>.
21578 * gdb.base/sigstep.c: Include <string.h>.
21579
cb9aaed5
MC
215802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21581
21582 * gdb.base/complex.c: Include <stdlib.h>.
21583
55944f3d
MC
215842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21585
21586 * gdb.base/complex.c: Add copyright notice.
21587
7b2953d9
MC
215882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21589
21590 * gdb.base/charset.c: Include <stdlib.h>.
21591
c9133d23
MC
215922004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21593
21594 * gdb.base/auxv.c: Include <stdlib.h>.
21595
0a8490ad
MC
215962004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21597
21598 * gdb.base/auxv.c: Add copyright notice.
21599
3426d5ec
MC
216002004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21601
21602 * gdb.base/coremaker.c: Add copyright notice.
21603 * gdb.base/coremaker2.c: Add copyright notice.
21604
8da195dd
AC
216052004-08-04 Andrew Cagney <cagney@gnu.org>
21606
21607 * gdb.base/store.exp: Update copyright.
21608 (check_set, up_set, check_struct, up_struct): Add a prefix to test
21609 names, do not import gdb_prompt.
21610
8d394f98
AC
216112004-08-01 Andrew Cagney <cagney@gnu.org>
21612
21613 Fix PR testsuite/1729.
21614 * gdb.base/dump.exp: Add test name to callers of capture_value, do
21615 not use capture_value with value 4.
21616 (capture_value): Add optional test name parameter.
21617 (test_reload_saved_value, test_restore_saved_value): Use $msg as
21618 the prefix, pass to capture_value.
21619
b6702b23
MK
216202004-08-01 Mark Kettenis <kettenis@gnu.org>
21621
21622 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
21623 * gdb.arch/i386-prologue.c (standard): New prototype and function.
21624 (main): Call new function.
21625
c203e0ca
MC
216262004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21627
21628 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
21629
a7995a30
MC
216302004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21631
21632 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
21633
9366563b
MC
216342004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21635
b6eeaf26 21636 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
21637 Accept more values of vtbl pointer. Remove some messages
21638 about "obsolete gcc or gdb".
21639
2fc1f950
MC
216402004-07-30 Michael Chastain <mec.gnu@mindspring.com>
21641
21642 * gdb.cp/classes.exp: Accept more varieties of ptype output.
21643
c724d49b
MC
216442004-07-30 Michael Chastain <mec.gnu@mindspring.com>
21645
21646 * gdb.base/asm-source.exp: Properly convert target board
21647 debug flags from gcc format to binutils format.
21648
736b0fce
MK
216492004-07-28 Mark Kettenis <kettenis@gnu.org>
21650
21651 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
21652 gdb1718". PR backtrace/1718 partially fixed.
21653
5633ea5c
JJ
216542004-07-27 Jeff Johnston <jjohnstn@redhat.com>
21655
21656 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
21657
575eebb1
NC
216582004-07-26 Nick Clifton <nickc@redhat.com>
21659
21660 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
21661 good default value for a specific architecture is available then
21662 set it to that value. Otherwise default to the -gstabs switch.
21663 Remove the -g... switches from the asm-flags variable. Allow the
21664 target board info to override the value if it wants to. Pass the
21665 switch on the assembler command line.
21666
62104619
MK
216672004-07-23 Mark Kettenis <kettenis@gnu.org>
21668
21669 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
21670 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
21671 (main): Call new function.
21672
4a1135b8
MC
216732004-07-22 Michael Chastain <mec.gnu@mindspring.com>
21674
21675 Test for PR exp/1715.
21676 * gdb.base/radix.exp: Refactor common procedures. Make all
21677 test names unique. Change XFAIL to KFAIL.
21678
8a12c1f0
MC
216792004-07-20 Michael Chastain <mec.gnu@mindspring.com>
21680
21681 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
21682 * gdb.ada/gnat_ada.gin: ... to here.
21683 * configure.in: Use gnat_ada.gin.
21684 * configure: Regenerate.
21685
23b451cf
AC
216862004-07-20 Andrew Cagney <cagney@gnu.org>
21687
21688 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
21689 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
21690 XFAILs. Clean up test messages and comments. Check backtraces.
21691 Delete re-sync code.
21692
ab618a02
MC
216932004-07-19 Michael Chastain <mec.gnu@mindspring.com>
21694
21695 Fix PR cli/740.
21696 * gdb.base/annota1.exp: Honor gdb,nosignals.
21697 * gdb.base/annota3.exp: Likewise.
21698
46dad340
MC
216992004-07-19 Michael Chastain <mec.gnu@mindspring.com>
21700
21701 * lib/java.exp: Update copyright notice.
21702
756d8c70
AC
217032004-07-19 Andrew Cagney <cagney@gnu.org>
21704
21705 * gdb.base/selftest.exp: Copy file from here ...
21706 * gdb.gdb/selftest.exp: ... to here.
21707
586027e6
AC
217082004-07-16 Andrew Cagney <cagney@redhat.com>
21709
21710 * lib/insight-support.exp: Delete file.
21711 * lib/java.exp (java_init): Fix copyright.
21712
029d2200
AC
217132004-07-16 Andrew Cagney <cagney@gnu.org>
21714
21715 * gdb.base/restore.c: Append "prologue" to comments marking the a
21716 function's prologue.
21717 * gdb.base/restore.exp: Update copyright, re-indent.
21718 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
21719 callerN" prefix where needed. Update patterns that match a
21720 function's prologue.
21721
653b62c5
MC
217222004-07-16 Michael Chastain <mec.gnu@mindspring.com>
21723
21724 * gdb.base/restore.c: Add copyright notice.
21725
f7d690e5
AC
217262004-07-16 Andrew Cagney <cagney@gnu.org>
21727
21728 * gdb.base/logical.exp: Update copyright.
21729 (evaluate): New procedure. Use to re-implement tests using
21730 several tables.
21731
d629a7cb
MH
217322004-07-14 Martin Hunt <hunt@redhat.com>
21733
21734 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
21735 which fixes some problems where init.tcl was not found.
21736
9c7bb332
AC
217372004-07-13 Andrew Cagney <cagney@gnu.org>
21738
6bf46641
AC
21739 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
21740 (check_sizeof, check_valueof): Do not include the output in the
21741 test name. Use gdb_test.
21742 (get_valueof): Use gdb_test_multiple.
21743
c4ffd4c0
AC
21744 * gdb.base/step-test.exp: Update copyright. Use
21745 gdb_test_multiple. Ensure that test names do not include
21746 architecture dependent output.
21747
ab89363a
AC
21748 * gdb.gdb/observer.exp: Update copyright.
21749 (setup_test): Use gdb_test_multiple.
21750 (attach_first_observer, attach_second_observer)
21751 (attach_third_observer, detach_first_observer)
21752 (detach_second_observer, detach_third_observer)
21753 (reset_counters, check_counters): Make $message a prefix.
21754 (test_normal_stop_notifications): Add "args" parameter - a list of
21755 init functions to be called. Make $message a prefix,
21756 (test_observer_normal_stop): Change the message prefixes so that
21757 they are unique, pass the attach / detach procedures to
21758 test_normal_stop_notifications.
21759
ec58997a
AC
21760 * gdb.base/signull.exp (test_segv): Prefix all tests with
21761 "${name}". Clean up test messages.
21762
b475183b
AC
21763 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
21764
9c7bb332
AC
21765 * gdb.base/ena-dis-br.exp: Update copyright.
21766 (break_at): New function. Replace send_gdb with gdb_test,
21767 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
21768 ignore count, not stopped at bpt", with KFAIL.
21769
2dd95497
CV
217702004-07-13 Corinna Vinschen <vinschen@redhat.com>
21771
21772 * gdb.base/attach.exp: Remove cleanupfile handling.
21773
419e626b
AC
217742004-07-12 Andrew Cagney <cagney@gnu.org>
21775
21776 * gdb.base/annota1.exp: Cleanup corefile test name.
21777 * gdb.base/annota3.exp: Ditto.
21778
8b1b3228
AC
217792004-07-12 Andrew Cagney <cagney@gnu.org>
21780
78650829
AC
21781 * gdb.base/signals.exp: Clean up copyright, re-indent.
21782
8b1b3228
AC
21783 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
21784 gdb_test and gdb_test_multiple.
21785
935c2760
JJ
217862004-07-08 Jeff Johnston <jjohnstn@redhat.com>
21787
21788 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 21789 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
21790 provide line number info for first statement in main.
21791
1544280f
AC
217922004-07-08 Andrew Cagney <cagney@gnu.org>
21793
1279f4ff
AC
21794 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
21795
1544280f
AC
21796 * gdb.base/sigbpt.exp: Make the common part of each test name a
21797 prefix instead of suffix.
21798
bcc82369
BR
217992004-07-07 Bob Rossi <bob_rossi@cox.net>
21800
21801 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
21802 test from test_tbreak_creation_and_listing to
21803 test_file_list_exec_source_file
21804 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
21805 Changed name of test from test_tbreak_creation_and_listing to
21806 test_file_list_exec_source_file
21807
23f4b0aa
JJ
218082004-07-07 Jeff Johnston <jjohnstn@redhat.com>
21809
21810 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
21811 the jmisc() constructor instead of <init>.
21812 * gdb.java/jmisc1.exp: Ditto.
21813
56401cd5
AC
218142004-07-07 Andrew Cagney <cagney@gnu.org>
21815
21816 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
21817 corrupting the PC.
21818
44ae2f6a
MC
218192004-07-06 Michael Chastain <mec.gnu@mindspring.com>
21820
21821 * gdb.cp/templates.exp: Accept whitespace change in demangler
21822 output.
21823
45a83408
AC
218242004-07-06 Andrew Cagney <cagney@gnu.org>
21825
21826 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
21827
d205ad70
MC
218282004-07-02 Michael Chastain <mec.gnu@mindspring.com>
21829
21830 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
21831 * lib/compiler.cc: Likewise.
21832
06ea1a61
MC
218332004-06-30 Michael Chastain <mec.gnu@mindspring.com>
21834
21835 * lib/compiler.cc: Work around string preprocessing problem
21836 with old hp c++ compiler.
21837 * lib/compiler.c: Likewise.
21838
daab1251
CV
218392004-06-29 Corinna Vinschen <vinschen@redhat.com>
21840
21841 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
21842 directives to conditionalize symbol prefixing.
21843 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
21844 additional_flags handling. Add underscore prefix for Cygwin.
21845 * gdb.arch/i386-unwind.c: Use preprocessor directives to
21846 conditionalize symbol prefixing.
21847 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
21848 additional_flags handling. Add underscore prefix for Cygwin.
21849
cc984116
CV
218502004-06-29 Corinna Vinschen <vinschen@redhat.com>
21851
21852 * gdb.base/bigcore.exp: Skip test on Cygwin.
21853
c279b077
MC
218542004-06-28 Michael Chastain <mec.gnu@mindspring.com>
21855
21856 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
21857 formats for "info register". Use gdb_test_multiple. Fix
21858 the "invalid register" test.
21859
0e915747
CV
218602004-06-28 Corinna Vinschen <vinschen@redhat.com>
21861
21862 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
21863 PID for Cygwin. Add Cygwin specific strings to check for in some
21864 tests.
21865 (do_attach_tests): Add a test for user interaction when attaching
21866 to a process with no matching symbol table already loaded.
21867
11422c86
AC
218682004-06-26 Andrew Cagney <cagney@gnu.org>
21869
21870 Test PR java/1567 and PR java/1565.
21871 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
21872 * gdb.java/jmisc2.exp: Delete file.
21873
cefbce26
MC
218742004-06-26 Michael Chastain <mec.gnu@mindspring.com>
21875
21876 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
21877
e19f872c
CV
218782004-06-25 Corinna Vinschen <vinschen@redhat.com>
21879
21880 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
21881 attach process.
21882
d931ba3b
MC
218832004-06-23 Michael Chastain <mec.gnu@mindspring.com>
21884
21885 * gdb.cp/pr-1553.exp: Remove.
21886
aef68c48
MC
218872004-06-22 Michael Chastain <mec.gnu@mindspring.com>
21888
21889 * gdb.cp/pr-1553.cc: Remove.
21890 * gdb.cp/pr-1553.exp: Disable this test.
21891
8d5df71a
JB
218922004-06-20 Jim Blandy <jimb@redhat.com>
21893
a9c64011 21894 Fix PR testsuite/1680.
8d5df71a
JB
21895 * gdb.arch/i386-sse.exp: Properly quote curly braces in
21896 regular expressions.
21897
4ac6f39d
MC
218982004-06-19 Michael Chastain <mec.gnu@mindspring.com>
21899
21900 Fix PR testsuite/1679.
21901 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
21902 Issue an UNSUPPORTED result instead.
21903
1b413552
JB
219042004-06-18 Jim Blandy <jimb@redhat.com>
21905
21906 * gdb.base/charset.exp: Only send a control-C if we see a new
21907 prompt and incomplete command.
21908
6daa6ebd
MC
219092004-06-18 Michael Chastain <mec.gnu@mindspring.com>
21910
21911 * gdb.cp/pr-574.cc: Add copyright notice.
21912
51fa4ae0
JB
219132004-06-17 Jim Blandy <jimb@redhat.com>
21914
21915 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
21916 cases where the regexp has no groups; this grabs random text from
21917 the previous test suite, whatever that was.
21918
8fea26c5
MC
219192004-06-17 Michael Chastain <mec.gnu@mindspring.com>
21920
21921 * gdb.cp/printmethod.cc: Add copyright notice.
21922
1e3aeb41
MC
219232004-06-16 Michael Chastain <mec.gnu@mindspring.com>
21924
21925 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
21926
9d9030bc
AC
219272004-06-16 Andrew Cagney <cagney@gnu.org>
21928
21929 * gdb.base/signull.c: Update copyright. Include <string.h>.
21930 (bowler): Replace data_pointer with data_read
21931 and data_write cases. Add code_descriptor case.
21932 (zero, desc): New array and pointer.
21933 (data, code): Change to simple pointers.
21934 * gdb.base/signull.exp: Fix probe pattern matching a function
21935 descriptor SIGSEGV. Replace data_pointer with data_read and
21936 data_write tests.
21937
acd4ad44
AC
219382004-06-16 Andrew Cagney <cagney@gnu.org>
21939
21940 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
21941
08fd625c
MC
219422004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21943
21944 * gdb.base/long_long.c: Add copyright notice.
21945
1903502c
MC
219462004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21947
21948 * gdb.base/long_long.exp: Remove reference to
21949 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
21950 to gdb_breakpoint and gdb_continue_to_breakpoint.
21951
83313cb1
JB
219522004-06-14 Jim Blandy <jimb@redhat.com>
21953
21954 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
21955 endian case.
21956
1bf404ef
AC
219572004-06-14 Andrew Cagney <cagney@gnu.org>
21958
21959 * gdb.base/gcore.exp (capture_command_output): Delete the always
21960 passing tests containing inferior values.
21961 * gdb.base/ending-run.exp: Do not include the breakpoint address
21962 in the test message. Update copyright.
21963 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
21964 size in the test name, use gdb_test_multiple. Update copyright.
21965
ef220b33
MC
219662004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21967
21968 * gdb.cp/ref-types.cc: Add copyright notice.
21969
4f70a4c9
MC
219702004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21971
21972 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
21973 hp_aCC_compiler.
21974 * lib/compiler.cc: Likewise.
21975 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
21976 'set' commands. Log diagnostics for other lines. Set
21977 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
21978
335928ac
MC
219792004-06-13 Michael Chastain <mec.gnu@mindspring.com>
21980
21981 * gdb.cp/try_catch.cc: Add copyright notice.
21982
2efb12e8
MC
219832004-06-12 Michael Chastain <mec.gnu@mindspring.com>
21984
21985 * gdb.cp/userdef.cc: Add copyright notice.
21986
0bbed51a
MC
219872004-06-11 Michael Chastain <mec.gnu@mindspring.com>
21988
21989 * gdb.cp/virtfunc.cc: Add copyright notice.
21990
e12a46c9
RC
219912004-06-11 Randolph Chung <tausq@debian.org>
21992
21993 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
21994 problem.
21995
338e05af
AC
219962004-06-10 Andrew Cagney <cagney@gnu.org>
21997
21998 * lib/compiler.cc, lib/compiler.c: Append either
21999 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
22000 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
22001 instead of gcc-3-3.
22002
dc3f10cb
AC
220032004-06-09 Andrew Cagney <cagney@gnu.org>
22004
b4d946af
AC
22005 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
22006 gdb/1455, bug is specific to "long long" and "double".
a9c64011 22007
dc3f10cb
AC
22008 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
22009 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
22010 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
22011 fixed.
22012
b5c0bfa2
AC
220132004-06-09 Andrew Cagney <cagney@gnu.org>
22014
22015 * gdb.base/structs.exp (test_struct_returns): Replace
22016 "return_value_unknown" and "finish_value_unknown" by
22017 "return_value_known" and "finish_value_known". Instead of
22018 "return_value_unknown" iff "finish_value_unknown", check
22019 "return_value_known" implies "finish_value_known".
22020
caeb605f
MH
220212004-06-08 Martin Hunt <hunt@redhat.com>
22022
22023 * gdb.base/float.exp: Add pattern for mips targets.
22024
c892bb64
RC
220252004-06-08 Randolph Chung <tausq@debian.org>
22026
22027 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
22028 message for unknown architectures more clear.
22029
48306d3e
JB
220302004-06-08 Joel Brobecker <brobecker@gnat.com>
22031
22032 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
22033 start the execution of the program.
22034
83ecb59f
JB
220352004-06-07 Jim Blandy <jimb@redhat.com>
22036
22037 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
22038 * gdb.arch/i386-cpuid.h: New helper file.
22039
55264cb4
RC
220402004-06-07 Randolph Chung <tausq@debian.org>
22041
22042 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
22043 has started.
22044
23cadb28
RM
220452004-06-04 Roland McGrath <roland@redhat.com>
22046
22047 Fix PR gdb/1647.
22048 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
22049 differently to be robust to output buffering differences.
22050
51d01eda
MC
220512004-06-04 Michael Chastain <mec.gnu@mindspring.com>
22052
22053 * gdb.threads/pthreads.exp: Update copyright years.
22054 (check_control_c): Change asynchronous 'after' to synchronous.
22055
f4fc3b93
RM
220562004-06-04 Roland McGrath <roland@redhat.com>
22057
22058 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
22059 next gdb prompt.
22060
4013522b
MC
220612004-06-02 Michael Chastain <mec.gnu@mindspring.com>
22062
22063 Fix PR gdb/1636.
22064 * gdb.threads/manythreads.exp: Change asynchronous 'after'
22065 calls to synchronous.
22066
7a8f1e6b
JB
220672004-05-26 Jim Blandy <jimb@redhat.com>
22068
22069 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
22070
81bb3443
RC
220712004-05-24 Randolph Chung <tausq@debian.org>
22072
22073 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
22074 * gdb.asm/pa.inc: New file.
22075
8f5a3103
MK
220762004-05-22 Mark Kettenis <kettenis@gnu.org>
22077
22078 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
22079
734b8fe8 220802004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 22081 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
22082
22083 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
22084 GDB prompt.
22085
725603e1
UW
220862004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22087
f4fc3b93 22088 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
22089 setjmp/longjmp. Use sigaction instead of signal.
22090
8b923272 220912004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 22092 Michael Snyder <msnyder@redhat.com>
8b923272
JB
22093
22094 * gdb.threads/pthread_cond_wait.c: New file.
22095 * gdb.threads/pthread_cond_wait.exp: New testcase.
22096
8bfabb04
AC
220972004-05-13 Andrew Cagney <cagney@redhat.com>
22098
22099 * gdb.base/signull.exp, gdb.base/signull.c: New files.
22100 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
22101
42edda50
AC
221022004-05-11 Andrew Cagney <cagney@redhat.com>
22103
22104 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
22105 fixed but revealed gdb/1639.
22106
d303a6c7
AC
221072004-05-10 Andrew Cagney <cagney@redhat.com>
22108
22109 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
22110 func1" and "next to 2nd alarm", kernel bug avoided.
22111
bf08c2a1
DJ
221122004-05-10 Daniel Jacobowitz <dan@debian.org>
22113
22114 PR external/1568
22115 * gdb.base/bigcore.exp: Check the size of the dumped core file.
22116 XFAIL if it is smaller than bytes_allocated.
22117 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
22118 (main): Make chunks_allocated unsigned. Correct comment.
22119
c0586a34
JB
221202004-05-07 Joel Brobecker <brobecker@gnat.com>
22121
22122 * gdb.arch/powerpc-aix-prologue.c: New file.
22123 * gdb.arch/powerpc-aix-prologue.exp: New file.
22124
f2785d12
JB
221252004-05-07 Jim Blandy <jimb@redhat.com>
22126
22127 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
22128 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
22129
bd7f6e30
JB
221302004-05-06 Joel Brobecker <brobecker@gnat.com>
22131
22132 * gdb.base/sep.exp: No longer setup_kfail when the program was
22133 built with dwarf2.
22134
0a5e7efe
JI
221352004-05-05 Jim Ingham <jingham@apple.com>
22136
22137 * gdb.base/pending.exp: Make sure pending breakpoints
22138 preserve the ignore count.
f4fc3b93 22139
a8958849
MK
221402004-04-27 Jerome Guitton <guitton@gnat.com>
22141
22142 * i386-prologue.exp: Add testcase for jump instruction as first
22143 instruction of the real code.
22144 * i386-prologue.c (jump_at_beginning): New function.
22145
7e103f5b
MK
221462004-04-28 Mark Kettenis <kettenis@gnu.org>
22147
22148 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
22149 x86_64-*-*.
22150
5d38b224
MK
221512004-04-28 Mark Kettenis <kettenis@gnu.org>
22152
22153 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
22154 i*86-*-*.
22155
0ef32fd9
MK
221562004-04-25 Mark Kettenis <kettenis@gnu.org>
22157
22158 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
22159 expression that checks the return type.
22160
71d7dd7c
AC
221612004-04-23 Andrew Cagney <cagney@redhat.com>
22162
22163 * gdb.base/call-sc.exp: New test of scalar call/return values.
22164 * gdb.base/call-sc.c: Ditto.
22165
1e9f977e
JJ
221662004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22167
22168 * gdb.threads/manythreads.c: Reduce thread stack size.
22169
899d9e3a
JJ
221702004-04-23 Jeff Johnston <jjohnstn@redhat.com>
22171
22172 * gdb.threads/manythreads.c: Add copyright notice.
22173
61bcae62
AC
221742004-04-23 Andrew Cagney <cagney@redhat.com>
22175
22176 * gdb.base/siginfo.exp: Better handle step out of signal.
22177 * gdb.base/sigstep.exp: Ditto.
22178
7339a42e 221792004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 22180 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
22181
22182 * gdb.threads/manythreads.c: New testcase.
22183 * gdb.threads/manythreads.exp: Ditto.
22184
5c98409b
JB
221852004-04-22 Jim Blandy <jimb@redhat.com>
22186
22187 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
22188 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
22189
3b611f1a
MC
221902004-04-21 Michael Chastain <mec.gnu@mindspring.com>
22191
22192 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
22193
f0fd9238
AC
221942004-04-21 Andrew Cagney <cagney@redhat.com>
22195
22196 * gdb.base/sigstep.c: New file.
22197 * gdb.base/sigstep.exp: New file.
22198
90990674
JB
221992004-04-16 Joel Brobecker <brobecker@gnat.com>
22200
22201 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
22202 call to observer_notify_normal_stop.
22203
78cef34b
AC
222042004-04-15 Andrew Cagney <cagney@redhat.com>
22205
22206 * gdb.base/siginfo.c: New file.
22207 * gdb.base/siginfo.exp: New file.
22208
d2343407
JB
222092004-04-12 J. Brobecker <brobecker@gnat.com>
22210
22211 * gdb.base/sep.exp: Fix typo in comment.
22212
a2dba3c8
JB
222132004-04-12 J. Brobecker <brobecker@gnat.com>
22214
22215 * gdb.base/sep.c: New file.
22216 * gdb.base/sep-proc.c: New file.
22217 * gdb.base/sep.exp: New testcase.
22218
15f7b60e
MK
222192004-04-09 Mark Kettenis <kettenis@gnu.org>
22220
22221 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
22222 support.
22223
44f4de1a
AC
222242004-04-05 Andrew Cagney <cagney@redhat.com>
22225
22226 * gdb.base/sigaltstack.c: New file.
22227 * gdb.base/sigaltstack.exp: New file.
22228
ef04f396
JB
222292004-04-04 Joel Brobecker <brobecker@gnat.com>
22230
22231 * gdb.base/foll-fork.exp: Update the expected output for
22232 "help set follow-fork-mode", to match a change that was made
22233 to the help of this variable on 2004-01-13.
22234
d40d2c92
JB
222352004-04-01 Joel Brobecker <brobecker@gnat.com>
22236
22237 * lib/ada.exp: Add copyright notice.
22238 * bar.ads: Likewise.
22239 * bar.adb: Likewise.
22240 * null_record.adb: Likewise.
22241 * null_record.exp: Likewise.
22242 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
22243
f86ef5a3
JB
222442004-04-01 Joel Brobecker <brobecker@gnat.com>
22245
22246 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
22247 * configure: Regenerate.
22248
414e70e3
JB
222492004-04-01 Joel Brobecker <brobecker@gnat.com>
22250
22251 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
22252 to build the application. Remove the message printed when in
22253 verbose mode, redundant with the UNSUPPORTED message above.
22254
f0aaee49
JB
222552004-03-31 Joel Brobecker <brobecker@gnat.com>
22256
22257 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
22258 * gdb.ada (null_record.exp): New testcase.
22259
ac81cb54
JB
222602004-03-31 Joel Brobecker <brobecker@gnat.com>
22261
22262 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
22263
854af2f7
JB
222642004-03-31 Joel Brobecker <brobecker@gnat.com>
22265
22266 * gdb.ada: New subdirectory.
22267 * gdb.ada/Makefile.in: New file.
22268 * gdb.ada/gnat_ada.gpr.in: New file.
22269
034cb681
JB
222702004-03-31 Joel Brobecker <brobecker@gnat.com>
22271
22272 * lib/ada.exp: New file.
22273
78a1a894
DJ
222742004-03-24 Daniel Jacobowitz <drow@mvista.com>
22275
22276 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
22277 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
22278
4b2b3b3e
AC
222792004-03-22 Andrew Cagney <cagney@redhat.com>
22280
22281 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
22282 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
22283 Problem identified by Ulrich Weigand.
22284
23c73aa3
DC
222852004-03-17 David Carlton <carlton@kealia.com>
22286
22287 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
22288 PR c++/826.
22289
d63a86f8
RM
222902004-03-16 Roland McGrath <roland@redhat.com>
22291
22292 * gdb.base/auxv.exp: New file.
22293 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
22294
0e02aa50
DC
222952004-03-12 David Carlton <carlton@kealia.com>
22296
22297 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
22298 * gdb.cp/pr-1553.cc: Ditto.
22299 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
22300 pass branch.
22301
c20b71be
MC
223022004-03-12 Michael Chastain <mec.gnu@mindspring.com>
22303
22304 * gdb.cp/templates.exp: Accept more template types.
22305
c7414a01
MC
223062004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22307
22308 From Corinna Vinschen with modifications.
22309 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
22310 local variable obj_with_enum.
22311 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
22312 results with obj_with_enum.
22313
ed69573c
MC
223142004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22315
22316 * gdb.cp/classes.cc: New file, copied from misc.cc.
22317 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
22318
28301461
MC
223192004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22320
22321 * gdb.cp/misc.cc: Add copyright notice.
22322
1198ecbe
DC
223232004-03-05 David Carlton <carlton@kealia.com>
22324
22325 * gdb.cp/rtti.exp: Add 'print *obj3' test.
22326 * gdb.cp/rtti.h: Update copyright.
22327 (namespace n2::n3): New.
22328 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
22329 (n2::n3::func3): New.
22330 (main): Call n2::n3::func3.
22331 * gdb.cp/rtti2.cc: Update copyright.
22332 (n2::create3): New.
22333
9e08c470
MK
223342004-03-04 Mark Kettenis <kettenis@gnu.org>
22335
22336 * gdb.asm/openbsd.inc: Fix typo.
22337
4bebc3aa
FF
223382004-03-03 Fred Fish <fnf@redhat.com>
22339
22340 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
22341 "val" instead of unused "size". Update copyright year.
22342
6ea9fb37
DJ
223432004-02-29 Daniel Jacobowitz <drow@mvista.com>
22344
22345 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
22346 to use unsigned char.
22347 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
22348 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
22349
23b23974
DJ
223502004-02-29 Daniel Jacobowitz <drow@mvista.com>
22351
22352 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
22353 line of output.
22354
7574fd53
DJ
223552004-02-28 Daniel Jacobowitz <drow@mvista.com>
22356
22357 * gdb.base/relocate.c (dummy): Initialize.
22358
a195357f
DJ
223592004-02-28 Daniel Jacobowitz <drow@mvista.com>
22360
22361 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
22362 a breakpoint at exit.
22363
72fd54a9
FF
223642004-02-27 Fred Fish <fnf@redhat.com>
22365
22366 * gdb.base/chng-syms.exp: Add expect condition to match failing
22367 case that isn't a timeout.
22368
b9d23137
AC
223692004-02-27 Andrew Cagney <cagney@redhat.com>
22370
22371 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
22372 support.
22373
15d208f6 223742004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 22375
15d208f6
FF
22376 * gdb.arch/gdb1431.c: Remove.
22377 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
22378 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
22379 of "until" incorrectly.
22380
98f9cd2d
JB
223812004-02-26 J. Brobecker <brobecker@gnat.com>
22382
22383 * gdb.cp/class2.cc (empty): New class.
22384 (refer): New function.
22385 (main): Declare an object of type empty and use it.
22386 * gdb.cp/class2.exp: Print the value of an object of type empty.
22387
9b50c11b
JJ
223882004-02-26 Jeff Johnston <jjohnstn@redhat.com>
22389
22390 * gdb.base/langs.exp: Update query string to match the
22391 new nquery format used for pending breakpoints.
22392
0dcd613f
AC
223932004-02-26 Andrew Cagney <cagney@redhat.com>
22394
22395 Fix PR i18n/1570.
22396 * gdb.base/charset.c: Update copyright notice.
22397 (main, init_string): Remove the escape character '\e' tests.
22398 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
22399 * gdb.base/charset.exp (valid_host_charset): Ditto.
22400 * gdb.base/setvar.exp: Ditto.
22401
b8a56647
AC
224022004-02-24 Andrew Cagney <cagney@redhat.com>
22403
90d59e34
AC
22404 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
22405 mmapped data in core file" PASS and FAIL messages consistent.
22406
b8a56647
AC
22407 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
22408 setting a breakpoint. Work around PR java/1565.
22409
9f27c604
JJ
224102004-02-23 Jeff Johnston <jjohnstn@redhat.com>
22411
22412 * lib/gdb.exp (gdb_breakpoint): Update query string to match
22413 new nquery format.
22414 * gdb.base/pending.exp: Ditto.
22415
3224a706
MK
224162004-02-22 Mark Kettenis <kettenis@gnu.org>
22417
22418 * configure.in: Run stabs tests on *BSD.
22419 * configure: Regenerated.
22420
41e0a9ca
MK
224212004-02-21 Mark Kettenis <kettenis@gnu.org>
22422
22423 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
22424
1e1b3428
FF
224252004-02-20 Fred Fish <fnf@redhat.com>
22426
22427 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
22428 blank in test for "returns short", for consistency with other
22429 "returns xxx" tests. Update copyright year.
22430
f9a7572a
FF
224312004-02-19 Fred Fish <fnf@redhat.com>
22432
22433 New testcase for PR breakpoint/1558.
22434 * gdb.arch/gdb1558.exp: New file.
22435 * gdb.arch/gdb1558.c: New file.
22436
b2ce2854
EZ
224372004-02-19 Elena Zannoni <ezannoni@redhat.com>
22438
22439 * gdb.base/nodebug.exp: Fix typo.
22440
e7c9ff01
JB
224412004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22442
22443 Committed by Jim Blandy <jimb@redhat.com>.
22444
62f4b920
JB
22445 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
22446
2db536a1
JB
22447 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
22448
e7c9ff01
JB
22449 * gdb.base/float.exp: Support s390*-*-* targets.
22450
f3205b34
AF
224512004-02-17 Adam Fedor <fedor@gnu.org>
22452
22453 * gdb.base/gdb1555.exp: New file.
22454 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
22455
9d62932d
EZ
224562004-02-17 Elena Zannoni <ezannoni@redhat.com>
22457
22458 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
22459
344c9711
FF
224602004-02-16 Fred Fish <fnf@redhat.com>
22461
22462 * gdb.arch/gdb1291.c: Remove
22463 * gdb.arch/gdb1291.s: New test input file.
22464 * gdb.arch/gdb1291.exp: Expand test to check case that should not
22465 fail. Test for correct result, known incorrect result, other
22466 failures and timeouts.
22467
2d822687
AC
224682004-02-16 Andrew Cagney <cagney@redhat.com>
22469
22470 * gdb.base/bigcore.exp: New file.
22471 * gdb.base/bigcore.c: New file.
22472
dac15b66
AC
224732004-02-13 Andrew Cagney <cagney@redhat.com>
22474
22475 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
22476 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
22477 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
22478 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
22479 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
22480 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
22481 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
22482 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
22483 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
22484 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
22485
6bdfc2c4
JJ
224862004-02-11 Jeff Johnston <jjohnstn@redhat.com>
22487
22488 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
22489 executed is an alloc instruction.
22490
87b3ede8
DC
224912004-02-11 David Carlton <carlton@kealia.com>
22492
22493 * gdb.cp/breakpoint.exp: New.
22494 * gdb.cp/breakpoint.cc: New.
22495
6e19e2bf
MC
224962004-02-11 Michael Chastain <mec.gnu@mindspring.com>
22497
22498 Partial fix for PR gdb/1543.
22499 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
22500 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
22501 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
22502 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
22503 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
22504 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
22505 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
22506 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
22507 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
22508 to bug-gdb@prep.ai.mit.edu .
22509 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
22510 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
22511 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
22512 Likewise.
22513
5c5455dc
AC
225142004-02-10 Andrew Cagney <cagney@redhat.com>
22515
22516 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
22517 using gdb_internal_error_resync.
22518
9cf689d7
DJ
225192004-02-09 Daniel Jacobowitz <drow@mvista.com>
22520
22521 * gdb.threads/thread-specific.exp: Stop early if no threads are
22522 found.
22523
d2dc51db
MC
225242004-02-09 Michael Chastain <mec.gnu@mindspring.com>
22525
22526 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
22527
14b1a056
DJ
225282004-02-08 Daniel Jacobowitz <drow@mvista.com>
22529
22530 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
22531 breakpoints.
22532
83f66e8f
DJ
225332004-02-07 Daniel Jacobowitz <drow@mvista.com>
22534
22535 * config/sim.exp (gdb_load): Handle $arg == "".
22536 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
22537 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
22538
30fc0091
EZ
225392004-02-07 Elena Zannoni <ezannoni@redhat.com>
22540
a9c64011
AS
22541 * gdb.base/maint.exp: Update test to reflect
22542 obstack changes.
30fc0091 22543
4d806929
JJ
225442004-02-04 Jeff Johnston <jjohnstn@redhat.com>
22545
22546 * gdb.base/pendshr.c (pendfunc): New function that calls
22547 pendfunc1.
22548 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
22549
7bfdd688
FF
225502004-02-04 Fred Fish <fnf@redhat.com>
22551
22552 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
22553 function symbols and update copyright years.
22554 * gdb.arch/gdb1291.c: Ditto.
22555
aaa08ee4
MC
225562004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22557
22558 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
22559
dbad7755
MC
225602004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22561
22562 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
22563
ec4646ef
MC
225642004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22565
22566 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
22567
1b802196
FF
225682004-02-02 Fred Fish <fnf@redhat.com>
22569
22570 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
22571 remote targets. Update copyright years.
22572
18fe2033
JJ
225732004-02-02 Jeff Johnston <jjohnstn@redhat.com>
22574
22575 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
22576 support.
22577 * gdb.base/langs.exp: Fix test which attempts to create
22578 breakpoint on non-existent function to handle new pending
22579 support.
22580 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
22581 a breakpoint.
22582 * gdb.base/pending.exp: New test.
22583 * gdb.base/pending.c: New file.
22584 * gdb.base/pendshr.c: Ditto.
22585
8d577d32
DC
225862004-02-02 David Carlton <carlton@kealia.com>
22587
22588 * gdb.cp/overload.exp: Add overloadNamespace tests.
22589 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
22590 (overloadNamespace, XXX): New.
22591 (main): Call XXX::marker2.
22592
3ad13771
FF
225932004-02-01 Fred Fish <fnf@redhat.com>
22594
22595 * gdb.base/dump.exp: Use runto_main instead of "runto main".
22596 * gdb.base/finish.exp: Ditto.
22597 * gdb.base/gcore.exp: Ditto.
22598 * gdb.base/huge.exp: Ditto.
22599 * gdb.base/info-proc.exp: Ditto.
22600 * gdb.base/return2.exp: Ditto.
22601 * gdb.threads/gcore-thread.exp: Ditto.
22602
44c75849
DJ
226032004-02-01 Daniel Jacobowitz <drow@mvista.com>
22604
22605 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
22606
005bc093
MK
226072004-02-01 Mark Kettenis <kettenis@gnu.org>
22608
22609 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
22610 that opening the file succeeds on OpenBSD.
22611
c47cebdb
DJ
226122004-02-01 Daniel Jacobowitz <drow@mvista.com>
22613
22614 * gdb.threads/thread-specific.c: New file.
22615 * gdb.threads/threads-specific.exp: New test script.
22616 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
22617 to expect_out.
22618
5a01311c
MK
226192004-02-01 Mark Kettenis <kettenis@gnu.org>
22620
22621 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
22622 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
22623 only on the "print_small_structs from print_long_arg_list" test.
22624
ce22a4f1
DJ
226252004-02-01 Daniel Jacobowitz <drow@mvista.com>
22626
22627 * gdb.base/completion.exp: Kill a stray backslash.
22628
22629 From Jim Ingham <jingham@apple.com>:
22630 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
22631 agrees with the result from sending a tab.
22632
abbab9d3
DJ
226332004-01-31 Daniel Jacobowitz <drow@mvista.com>
22634
22635 * gdb.base/chng-syms.exp: Remove stray newline.
22636
53904d1e
MK
226372004-01-31 Mark Kettenis <kettenis@gnu.org>
22638
22639 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
22640 *-*-openbsd*.
22641 * gdb.asm/openbsd.inc: New file.
22642
3a4b3aac
MK
226432004-01-30 Mark Kettenis <kettenis@gnu.org>
22644
22645 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
22646 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
22647 *-*solaris2*. Remove commented out default settings for
22648 asm-flags. Replace gdb_compile with target_link.
22649
ebac27b4
MC
226502004-01-29 Michael Chastain <mec.gnu@mindspring.com>
22651
22652 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
22653 for all tests. Remove old hp-ux and cygnus xfail cases.
22654
d8679d84
PH
226552004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
22656
22657 * gdb.base/chng-syms.exp: New file.
22658 * gdb.base/chng-syms.c: New file.
22659
0a55bc22
MC
226602004-01-24 Michael Chastain <mec.gnu@mindspring.com>
22661
22662 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
22663 Provide arms for current output in all my configurations.
22664
94b8e876
MC
226652004-01-24 Michael Chastain <mec.gnu@mindspring.com>
22666
22667 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
22668 * lib/compiler.cc: Likewise.
22669 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
22670 get the right preprocessor. Eval the output directly. Remove
22671 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
22672 hp_f77_compiler and hp_f90_compiler completely.
22673 (gdb_preprocess): Delete.
22674 (get_compiler): Delete.
22675
7cf03d44
MK
226762004-01-24 Mark Kettenis <kettenis@gnu.org>
22677
22678 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
22679 <string.h>.
22680
68b6dce9
NR
226812004-01-24 Nick Roberts <nick@nick.uklinux.net>
22682
22683 * gdb.mi/mi-stack.exp: Update copyright.
22684
b368761e
DC
226852004-01-23 David Carlton <carlton@kealia.com>
22686
22687 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
22688 test for cp_lookup_transparent_type.
22689 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
22690 call them.
22691
f2061b53
DJ
226922004-01-23 Daniel Jacobowitz <drow@mvista.com>
22693
22694 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
22695 after -var-update.
22696
37fc574a
DC
226972004-01-23 David Carlton <carlton@kealia.com>
22698
22699 * gdb.cp/namespace.cc (C::ensureRefs): New.
22700 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
22701
8e94b928
NR
227022004-01-20 Nick Roberts <nick@nick.uklinux.net>
22703
22704 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
22705 case "-stack-list-locals 2".
22706 * gdb.mi/mi-var-child.exp: Test for case
22707 "-var-list-children --all-values NAME".
22708
997b0952
MC
227092004-01-18 Michael Chastain <mec.gnu@mindspring.com>
22710
22711 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
22712
52470da3
MK
227132004-01-18 Mark Kettenis <kettenis@gnu.org>
22714
7049b4b8
MK
22715 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
22716 used with gdb_test_multiple.
22717
52470da3
MK
22718 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
22719 read at address 0. This fixes PR testsuite/1504.
22720
da6012e5
DJ
227212004-01-18 Daniel Jacobowitz <drow@mvista.com>
22722
22723 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
22724 Remove downloading, guessing the host executable, the calls to
22725 gdb_file_cmd and gdb_target_cmd, and "load" support.
22726 (infer_host_exec): New function broken out from gdb_load.
22727 (gdb_load): New wrapper for gdbserver_gdb_load.
22728 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
22729 gdb_target_cmd. Use -target-select.
22730 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
22731 Download binaries to the host. Clear last_mi_remote_file when
22732 we load a new binary.
22733 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
22734 call gdbserver_gdb_load and mi_gdb_target_cmd.
22735
32c70722
MC
227362004-01-17 Michael Chastain <mec.gnu@mindspring.com>
22737
22738 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
22739 type patterns.
22740
b0cecf36
MC
227412004-01-17 Michael Chastain <mec.gnu@mindspring.com>
22742
22743 * gdb.cp/templates.exp: Fix typo in test name of
22744 "print Foo<volatile char*>::foo".
22745
4120d7e6
MC
227462004-01-15 Michael Chastain <mec.gnu@mindspring.com>
22747
22748 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
22749
f679e530
BE
227502004-01-16 Ben Elliston <bje@wasabisystems.com>
22751
22752 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
22753 (clean mostlyclean): Remove empty rm.
22754
091c48f6
MC
227552004-01-15 Michael Chastain <mec.gnu@mindspring.com>
22756
22757 * gdb.base/setvar.exp: Add copyright years.
22758
3e5fc8d2
DC
227592004-01-14 David Carlton <carlton@bactrian.org>
22760
22761 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
22762 PR c++/1511 and update coment.
22763 * gdb.cp/templates.exp: Update patterns to match current output.
22764 If changes involve something other than whitespace, KFAIL
22765 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
22766
63d06c5c
DC
227672004-01-14 David Carlton <carlton@kealia.com>
22768
22769 * gdb.cp/namespace.exp: Add tests involving classes defined within
22770 namespaces.
22771 * gdb.cp/namespace.cc (C::CClass): New.
22772 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
22773
a51dab88
EZ
227742004-01-14 Elena Zannoni <ezannoni@redhat.com>
22775
22776 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
22777 what debug info we have. Print a better message if something goes
22778 wrong while producing the separate debug info file.
22779
a476ccc9
MC
227802004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22781
22782 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
22783
f453692c
MC
227842004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22785
22786 * gdb.base/callfuncs.c: Add copyright notice.
22787
f40063a5
MC
227882004-01-13 Michael Chastain <mec.gnu@mindspring.com>
22789
22790 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
22791 inheritance. PR gdb/1498, PR gcc/13539.
22792
19ac3974
EZ
227932004-01-13 Elena Zannoni <ezannoni@redhat.com>
22794
a9c64011
AS
22795 * gdb.threads/gcore-thread.exp: Prefix name of binary with
22796 test specific name.
22797 * gdb.mi/gdb669.exp: Ditto.
22798 * gdb.mi/mi-pthreads.exp: Ditto.
22799 * gdb.mi/mi1-pthreads.exp: Ditto.
22800 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 22801
56c97c6e
MC
228022004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22803
22804 * gdb.cp/member-ptr.cc: Add copyright notice.
22805
a0644324
MC
228062004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22807
22808 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
22809 some patterns for recent versions of gcc and hpacc. Delete
22810 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
22811 Delete tests that access a NULL pointer-to-member-data. This
22812 script is still disabled for gcc.
22813
32fabe09
EZ
228142004-01-12 Elena Zannoni <ezannoni@redhat.com>
22815
22816 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 22817 escaped correctly.
32fabe09 22818
1f8a6abb
EZ
228192004-01-12 Elena Zannoni <ezannoni@redhat.com>
22820
22821 * gdb.base/sepdebug.exp: New file.
22822 * gdb.base/sepdebug.c: New file.
22823 * lib/gdb.exp (separate_debug_filename): New procedure.
22824 (gdb_gnu_strip_debug): New procedure.
22825
48efe704
AC
228262004-01-12 Andrew Cagney <cagney@redhat.com>
22827
22828 * gdb.mi/ChangeLog: Delete file. Renamed to ...
22829 * gdb.mi/ChangeLog-1999-2003: New file.
22830
a9415475
AC
228312004-01-12 Andrew Cagney <cagney@redhat.com>
22832
22833 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
22834 "Renaming a directory to a non-empty directory returns ENOTEMPTY
22835 or EEXIST", treat EBUSY as an XFAIL.
22836
83b8cf9d
MC
228372004-01-11 Michael Chastain <mec.gnu@mindspring.com>
22838
22839 * gdb.base/scope.exp: Remove obsolete setup_xfail for
22840 hp_cc_compiler.
22841
9939d2a8
MC
228422004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22843
22844 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
22845 decorations.
22846
1ff8cadf
MC
228472004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22848
22849 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
22850 and "(aCC)" decorations. Remove obsolete doco about old
22851 test results.
22852
6fa9022e
MC
228532004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22854
22855 * gdb.cp/exception.exp: Fix typo in doco.
22856
209721fe
MK
228572004-01-09 Mark Kettenis <kettenis@gnu.org>
22858
22859 * gdb.base/gdb1476.exp: Fix typo.
22860
ef11303e
MC
228612004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22862
22863 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
22864 file.
22865
041ab88c
MC
228662004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22867
22868 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
22869 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
22870 Use gdb_compile. Remove restriction on gcc. Add some patterns
22871 for recent version of gdb. Delete second half, which was a copy
22872 of the first half with different build flags. This test is
22873 still disabled because it is still not ready for production.
22874
e36d075a
MC
228752004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22876
22877 * gdb.cp/exception.cc: Add copyright notice.
22878 * gdb.cp/exception.exp: Add a notice that this file is broken
22879 because of line number changes caused by addition of copyright
22880 notice.
22881
42b190ad
MC
228822004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22883
22884 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
22885 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
22886
8f25f06b
MC
228872004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22888
22889 * gdb.cp/classes.exp: Accept gnu abi 2.
22890 * gdb.cp/derivation.exp: Likewise.
22891 * gdb.cp/overload.exp: Likewise.
22892 * gdb.cp/virtfunc.exp: Likewise.
22893
06ded8b8
MC
228942004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22895
22896 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
22897 semicolon after end of function.
22898
77c26ae3
MC
228992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22900
22901 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
22902 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
22903 boilerplate code for compiling and running the program under
22904 test. Add some string method tests.
22905
20757486
MC
229062004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22907
22908 * gdb.cp/bs15503.cc: Add copyright notice.
22909 * gdb.cp/bs15503.exp: Adjust line number.
22910
0fd3b503
MC
229112004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22912
22913 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
22914 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
22915
10d1bea8
MC
229162004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22917
22918 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
22919 hp_cc_compiler.
22920
2789202a
MC
229212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22922
22923 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
22924 * gdb.cp/ctti.exp: Use the marker instead of "next".
22925 With gcc, run further before bailing.
22926
b862f14c
MC
229272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22928
22929 * gdb.cp/cttiadd.cc: Add copyright notice.
22930 * gdb.cp/cttiadd1.cc: Likewise.
22931 * gdb.cp/cttiadd2.cc: Likewise.
22932 * gdb.cp/cttiadd3.cc: Likewise.
22933
96da2469
MC
229342004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22935
22936 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
22937 Use gdb_test, gdb_test_multiple. Use floating-point values that
22938 have exact representations in IEEE-ish formats.
22939
053248ff
MC
229402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22941
22942 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
22943 compilers. Delete duplicate call to get_compiler_info.
22944 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
22945 * gdb.base/volatile.exp: Likewise.
22946
84acecdd
MK
229472004-01-07 Mark Kettenis <kettenis@gnu.org>
22948
22949 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
22950 memory at address 0.
22951
fe11a27f
MC
229522004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22953
22954 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
22955 to test for hp-ux assembler. Fix copyright years.
22956
60ad077b
AC
229572004-01-07 Andrew Cagney <cagney@redhat.com>
22958
22959 * gdb.base/fileio.c (strerrno): Add "EBUSY".
22960
1c9b8f33
AC
229612004-01-07 Andrew Cagney <cagney@redhat.com>
22962
22963 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
22964 when creating the read-only file. From analysis by Roland McGrath
22965 and Elena Zannoni.
22966
753ccc7a
MC
229672004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22968
22969 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
22970
eca3e36b
MC
229712004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22972
22973 * gdb.base/cvexpr.c: Be type-safe with function pointers and
22974 data pointers.
22975
f8d4bac4
MC
229762004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22977
22978 * gdb.cp/m-static.exp: Compile one source file at a time.
22979 Delete unused call to get_compiler_info.
22980
9b4e0f94
MC
229812004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22982
22983 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
22984 * gdb.base/call-rt-st.exp: Likewise.
22985 * gdb.base/nodebug.exp: Likewise.
22986 * gdb.base/volatile.exp: Likewise.
22987 * gdb.cp/ref-types.exp: Likewise.
22988 * gdb.cp/templates.exp: Likewise.
22989
023c1024
MK
229902004-01-05 Mark Kettenis <kettenis@gnu.org>
22991
22992 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
22993
19703c4a
MC
229942004-01-05 Michael Chastain <mec.gnu@mindspring.com>
22995
22996 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
22997 hppa*-hp-hpux*.
22998
18b67037
MK
229992004-01-04 Mark Kettenis <kettenis@gnu.org>
23000
ba6219c8
MK
23001 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23002 x86_64-*-*.
23003
18b67037
MK
23004 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23005 sparc64-*-* and sparc*-solaris2*.
23006
1bfbbb9d
MK
230072004-01-04 Mark Kettenis <kettenis@gnu.org>
23008
23009 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
23010 return ${tests}" test. The ${tests} already mentions the
23011 filename.
23012
06846494
MC
230132004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23014
23015 * gdb.cp/local.exp: Accept gcc abi 2.
23016
3b0cb202
MC
230172004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23018
23019 * gdb.cp/templates.exp: Accept gcc abi 2.
23020
0643ec3f
MC
230212004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23022
23023 * lib/compiler.cc: Remove supports_template_debugging.
23024 * gdb.cp/templates.exp: Do not test supports_template_debugging.
23025
d231d0b1
MC
230262004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23027
23028 * gdb.cp/namespace.exp: Accept gcc abi 2.
23029
44ffb27c
MC
230302004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23031
23032 * gdb.cp/method.exp: Accept gcc abi 2.
23033
184ad485
MC
230342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23035
23036 * gdb.cp/classes.exp: Generate identical results as old version.
23037 * gdb.cp/derivation.exp: Likewise.
23038 * gdb.cp/overload.exp: Likewise.
23039 * gdb.cp/virtfunc.exp: Likewise.
23040
116f09e7
MC
230412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23042
23043 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
23044 mysterious bug with sourceware version of expect.
23045
b1379776
MC
230462004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23047
23048 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
23049 current versions of gcc, including gcc abi 2. Remove gratuitous
23050 restart of test program. Use gdb_test_multiple and gdb_test for
23051 all tests. Add patterns to xfail missing "const" in "const char *"
23052 and kfail PR gdb/1155.
23053
6b7a4c0e
MC
230542004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23055
23056 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
23057 current versions of gcc, including gcc abi 2. Remove gratuitous
23058 restart of test program. Use gdb_test_multiple and gdb_test for
23059 all tests. Add patterns to kfail PR gdb/1498.
23060
51615d72
MC
230612003-12-31 Michael Chastain <mec.gnu@mindspring.com>
23062
23063 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
23064 current versions of gcc, including gcc abi 2. Use "breakpoint"
23065 and "continue" instead of restarting the target program. Use
23066 gdb_test_multiple and gdb_test for all tests.
23067
7b79a9d7
MK
230682004-01-01 Mark Kettenis <kettenis@gnu.org>
23069
23070 * gdb.asm/asm-source.exp: Update copyright year. Link statically
23071 for *-*-solaris2*.
23072
1cd3489f
MC
230732003-12-31 Michael Chastain <mec.gnu@mindspring.com>
23074
23075 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
23076 current versions of gcc, including gcc abi 2. Use "breakpoint"
23077 and "continue" instead of restarting the target program several
23078 times. Use gdb_test_multiple and gdb_test for all tests.
23079
850742db
MC
230802003-12-18 Michael Chastain <mec.gnu@mindspring.com>
23081
23082 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
23083 source files.
23084
eb4bbda8
MC
230852003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23086
23087 * gdb.base/environ.exp: Handle compiling test case from multiple
23088 source files.
23089
e42c7771
MC
230902003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23091
23092 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
23093
80e4b428
JB
230942003-12-17 Jim Blandy <jimb@redhat.com>
23095
5f06973a
JB
23096 * gdb.base/freebpcmd.c: Add copyright notice.
23097
80e4b428
JB
23098 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
23099
0ab84fb7
MC
231002003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23101
23102 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
23103
1b3bb3d0
JB
231042003-12-13 Jim Blandy <jimb@redhat.com>
23105
23106 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
23107
3a4c9371
KB
231082003-12-12 Kevin Buettner <kevinb@redhat.com>
23109
23110 * gdb.asm/frv.inc: New file.
23111 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
23112
a1dea79a
FF
231132003-12-09 Fred Fish <fnf@redhat.com>
23114
23115 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
23116 functions to break1.c and leave prototypes behind. Add more
23117 "set breakpoint NN here" comments.
23118 * gdb.base/break1.c: New file.
23119
23120 * gdb.base/break.exp: Handle compiling test case from multiple
23121 source files and change source file references as needed.
23122 * gdb.base/completion.exp: Ditto.
23123 * gdb.base/condbreak.exp: Ditto.
23124 * gdb.base/define.exp: Ditto.
23125 * gdb.base/ena-dis-br.exp: Ditto.
23126 * gdb.base/info-proc.exp: Ditto.
23127 * gdb.base/maint.exp: Ditto.
23128 * gdb.base/until.exp: Ditto.
23129
23130 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
23131 hardcoded line numbers.
23132 * gdb.base/define.exp: Ditto.
23133 * gdb.base/ena-dis-br.exp: Ditto.
23134 * gdb.base/maint.exp: Ditto.
23135 * gdb.base/until.exp: Ditto.
23136
23137 * gdb.base/completion.exp: Use "break1" for completion tests since
23138 "break" is no longer a unique prefix.
23139
5266b69c
AC
231402003-12-06 Andrew Cagney <cagney@redhat.com>
23141
23142 * gdb.base/structs.exp (test_struct_returns): When applicable, set
23143 "return_value_unimplemented". When an unimplemented struct return
23144 architecture, report incorrect values as a KFAIL
23145
374451f0
MC
231462003-12-05 Michael Chastain <mec.gnu@mindspring.com>
23147
23148 * gdb.cp/rtti.exp: Accept new wording of warning from
23149 cp_lookup_rtti_type.
23150
ba9b20a7
MC
231512003-12-05 Michael Chastain <mec.gnu@mindspring.com>
23152
23153 Partial fix for PR testsuite/1456.
23154 * gdb.base/scope.exp (test_at_main): Replace references to
23155 gcc_compiled with calls to test_compiler_info.
23156 (test_at_foo): Likewise.
23157 (test_at_bar): Likewise.
23158
b74b6d0b
MC
231592003-12-04 Michael Chastain <mec.gnu@mindspring.com>
23160
23161 Partial fix for PR testsuite/1456.
23162 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
23163 to test_compiler_info.
23164
ccfa3402
MC
231652003-12-03 Michael Chastain <mec.gnu@mindspring.com>
23166
23167 * gdb.base/so-impl-ld.exp: Update copyright notice.
23168
f6246aba
MC
231692003-12-02 Michael Chastain <mec.gnu@mindspring.com>
23170
23171 Partial fix for PR testsuite/1456.
23172 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
23173 to test_compiler_info.
23174
13ae734a
MC
231752003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23176
23177 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
23178 from current versions of gdb. Clean up regular expressions.
23179 Delete redundant timeout case.
23180
d8e1cdee
MC
231812003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23182
23183 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
23184 from current versions of gdb. Clean up regular expressions.
23185 Delete redundant timeout case.
23186
96457b64
MC
231872003-12-01 Michael Chastain <mec.gnu@mindspring.com>
23188
23189 Partial fix for PR testsuite/1456.
23190 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
23191 gcc_compiled with call to test_compiler_info.
23192
f35309fc
MC
231932003-11-30 Michael Chastain <mec.gnu@mindspring.com>
23194
23195 Partial fix for PR testsuite/1456.
23196 * gdb.base/list.exp (test_list_function): Delete unused declaration
23197 of gcc_compiled.
23198
d7afdf9b
MC
231992003-11-29 Michael Chastain <mec.gnu@mindspring.com>
23200
23201 Partial fix for PR testsuite/1456.
23202 * gdb.base/complex.exp: Replace reference to gcc_compiled with
23203 call to test_compiler_info.
23204
71507b56
MK
232052003-11-29 Mark Kettenis <kettenis@gnu.org>
23206
23207 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
23208 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
23209 it to create the appropriate note.inc.
23210 * gdb.asm/asmsrc1.s: Include "note.inc".
23211 * gdb.asm/netbsd.inc: New file.
23212 * gdb.asm/empty.inc: New file.
23213
f81f93f7
MC
232142003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23215
23216 Partial fix for PR testsuite/1456.
23217 * gdb.base/constvars.exp: Replace references to gcc_compiled with
23218 calls to test_compiler_info.
23219
9a77938e
MC
232202003-11-27 Michael Chastain <mec.gnu@mindspring.com>
23221
23222 Partial fix for PR testsuite/1456.
23223 * gdb.base/volatile.exp: Replace references to gcc_compiled with
23224 calls to test_compiler_info.
23225
e8367dc7
MK
232262003-11-27 Mark Kettenis <kettenis@gnu.org>
23227
23228 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
23229 pattern for the KFAILs.
23230
526c61ee
AF
232312003-11-25 Adam Fedor <fedor@gnu.org>
23232
23233 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
23234 * gdb.objc/objcdecode.m: New file.
23235
28f2d600
AF
232362003-11-25 Adam Fedor <fedor@gnu.org>
23237
23238 * gdb.objc/nondebug.exp: Test for PR objc/1236.
23239 * gdb.objc/nondebug.m: New file.
23240
a3895cee
BE
232412003-11-26 Ben Elliston <bje@wasabisystems.com>
23242
23243 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23244 NetBSD as it does on FreeBSD. Modelled on a similar change by
23245 Mark Kettenis on 2003-05-30.
23246 (link-flags): Set to "--entry _start" regardless of target.
23247 Special linker flags are to be appended to $link-flags.
23248 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
23249
c9f2c8a3
MC
232502003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23251
23252 * gdb.cp/method.exp: Accept output of new demangler.
23253
15a0587a 232542003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
23255
23256 * gdb/class2.exp: New file.
23257 * gdb/class2.cc: New file.
23258
3c00b570
MC
232592003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23260
23261 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
23262 of new demangler.
23263
7027acc7
MK
232642003-11-23 Mark Kettenis <kettenis@gnu.org>
23265
23266 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
23267 of gdb_test "run".
23268
b0e1598a
MK
232692003-11-23 Mark Kettenis <kettenis@gnu.org>
23270
23271 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
23272 "continue" into "run".
23273
4d9eda44
MC
232742003-11-23 Michael Chastain <mec.gnu@mindspring.com>
23275
23276 Partial fix for PR testsuite/1456.
23277 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
23278 call to test_compiler_info.
23279 * gdb.cp/ctti.exp: Likewise.
23280 * gdb.cp/derivation.exp: Likewise.
23281 * gdb.cp/member-ptr.exp: Likewise.
23282 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
23283 reference to gcc_compiled.
23284
232852003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
23286
23287 Fix PR testsuite/1463.
23288 * gdb.base/structs.exp (start_structs_test): Call
23289 get_debug_format before using the debug format.
23290
d422fe19
AC
232912003-11-22 Andrew Cagney <cagney@redhat.com>
23292
23293 * lib/gdb.exp (gdb_test_multiple): Add simple example.
23294 * gdb.base/structs.exp: Use gdb_test_multiple.
23295
039cf96d
AC
232962003-11-20 Andrew Cagney <cagney@redhat.com>
23297
6882279b
AC
23298 * gdb.base/structs.exp: Handle and recover from internal errors.
23299 Replace "foo${n}" with "foo<n>" in test messages.
23300
e53890ae
AC
23301 * gdb.base/structs.exp: Update copyright. Rewrite.
23302 * gdb.base/structs.c: Update copyright. Rewrite.
23303
2b211c59
AC
23304 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
23305 resync count exceeded.
d63a86f8 23306
039cf96d
AC
23307 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
23308 from the internal error.
23309 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
23310 Original from Jim Blandy.
23311 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 23312
eac98b22
AC
233132003-11-19 Andrew Cagney <cagney@redhat.com>
23314
23315 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
23316 KFAIL.
23317
67455b2a
MK
233182003-11-17 Mark Kettenis <kettenis@gnu.org>
23319
23320 New testcase for PR backtrace/1435.
23321 * gdb.arch/i386-unwind.exp: New file.
23322 * gdb.arch/i386-unwind.c: New file.
23323
853d6e5b
AC
233242003-11-17 Andrew Cagney <cagney@redhat.com>
23325
23326 * lib/gdb.exp (compiler_info): New global.
23327 (test_compiler_info): New function.
23328 (get_compiler_info): Set compiler_info.
23329 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
23330 "compiler_info" to gcc-<major>-<minor>.
23331
38cf6e11
MC
233322003-11-15 Michael Chastain <mec.gnu@mindspring.com>
23333
23334 * gdb.trace/configure: Remove.
23335
a50d3602
EZ
233362003-11-13 Elena Zannoni <ezannoni@redhat.com>
23337
23338 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 23339 breakpoints.
a50d3602
EZ
23340 * gdb.base/break.exp: Remove all references to explicit line
23341 numbers.
23342
d9407aaa
NC
233432003-11-11 Nick Clifton <nickc@redhat.com>
23344
23345 * gdb.base/shreloc.exp: Do not run for targets which do not
23346 support shared objects.
23347
db488fc1
CV
233482003-11-10 Corinna Vinschen <vinschen@redhat.com>
23349
23350 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
23351 Don't run tests if nofileio flag is given.
23352
6a90a18e
EZ
233532003-11-07 Elena Zannoni <ezannoni@redhat.com>
23354
23355 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 23356 as well as 'Watchpoint'.
6a90a18e 23357
0b915e9c
EZ
233582003-11-06 Elena Zannoni <ezannoni@redhat.com>
23359
23360 Reported by Jim Ingham <jingham@apple.com>:
23361 * gdb.base/annota1.exp: Match at least one occurrence of the
23362 signal handler annotation.
23363
d7e4b55f
EZ
233642003-11-06 Elena Zannoni <ezannoni@redhat.com>
23365
a9c64011
AS
23366 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
23367 as well as 'Watchpoint'.
d7e4b55f 23368
2fe4e8d0
MC
233692003-11-05 Michael Chastain <mec@shout.net>
23370
23371 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
23372
6ef88553
KW
233732003-11-03 Kris Warkentin <kewarken@qnx.com>
23374
23375 * gdb.arch/gdb1291.c: New test file.
23376 * gdb.arch/gdb1291.exp: New test script.
23377 * gdb.arch/gdb1431.c: New test file.
23378 * gdb.arch/gdb1431.exp: New test script.
23379
ae7dc4d8
MC
233802003-10-22 Michael Chastain <mec@shout.net>
23381
23382 * gdb.mi/pthreads.c: Add copyright notice.
23383
c39d7427
MC
233842003-10-22 Michael Chastain <mec@shout.net>
23385
23386 * gdb.threads/pthreads.c: Add copyright notice.
23387
8b7d96c1
MC
233882003-10-20 Michael Chastain <mec@shout.net>
23389
23390 * gdb.base/gdb1056.exp: New test script.
23391
d1d69fdd
DJ
233922003-10-13 Daniel Jacobowitz <drow@mvista.com>
23393
23394 * gdb.threads/killed.exp: Use gdb_run_cmd.
23395
7d605576
DJ
233962003-10-13 Daniel Jacobowitz <drow@mvista.com>
23397
23398 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
23399 create a core file.
23400 * gdb.threads/gcore-thread.exp: Likewise.
23401
618ec112
CV
234022003-10-13 Corinna Vinschen <vinschen@redhat.com>
23403
23404 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
23405 type, based on char type.
23406 (struct bit_flags_short_t): New bitfield type, based on short type.
23407 (init_bit_flags_char): New fuction.
23408 (init_bit_flags_short): Ditto.
23409 (print_bit_flags_char): Ditto.
23410 (print_bit_flags_short): Ditto.
23411 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
23412
9367a73c
MC
234132003-10-11 Michael Chastain <mec@shout.net>
23414
23415 * gdb.base/call-rt-st.exp: Update copyright year.
23416
1decf120
KI
234172003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
23418
23419 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
23420 * gdb.disasm/sh3.s: Ditto.
23421
5445b2ae
DJ
234222003-10-07 Daniel Jacobowitz <drow@mvista.com>
23423
23424 * gdb.threads/switch-threads.exp: New test.
23425 * gdb.threads/switch-threads.c: New source file.
23426
aec24853
CV
234272003-10-07 Corinna Vinschen <vinschen@redhat.com>
23428
23429 * gdb.base/ending-run.exp: Add sh specific case.
23430
adc7428d
AC
234312003-10-06 Andrew Cagney <cagney@redhat.com>
23432
23433 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
23434 * gdb.disasm/mn10200.exp: Delete obsolete file.
23435
c9d37158
DJ
234362003-09-29 Daniel Jacobowitz <drow@mvista.com>
23437
23438 * ChangeLog: Correct an entry command.exp -> commands.exp.
23439 * gdb.base/commands.exp (bp_deleted_in_command_test)
23440 (temporary_breakpoint_commands): Check noargs.
23441
79c2c32d
DC
234422003-09-25 David Carlton <carlton@kealia.com>
23443
23444 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
23445 of some print tests, where appropriate. Add tests for C::D::cd,
23446 E::ce, F::cXfX, G::XgX.
23447 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
23448
594e6d67
RE
234492003-09-25 Richard Earnshaw <rearnsha@arm.com>
23450
23451 * lib/java.exp (java_init): Import target_alias before using it.
23452
10f0d451
DC
234532003-09-25 David Carlton <carlton@kealia.com>
23454
23455 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
23456
274bcba0
EZ
234572003-09-23 Elena Zannoni <ezannoni@redhat.com>
23458
d63a86f8 23459 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 23460 weirdness.
274bcba0 23461
cdbf20f7
MC
234622003-09-17 Michael Chastain <mec@shout.net>
23463
23464 * gdb.cp/gdb1355.exp: New file.
23465 * gdb.cp/gdb1355.c: New file.
23466
71e06f80
CV
234672003-09-15 Corinna Vinschen <vinschen@redhat.com>
23468
23469 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
23470 * gdb.asm/sh.inc: New file.
23471
5c4e30ca
DC
234722003-09-11 David Carlton <carlton@kealia.com>
23473
bd45b7af
DC
23474 * gdb.cp/namespace.exp: Add tests for namespace types.
23475 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
23476 (test_namespace): New.
23477
1c199746
EZ
234782003-09-11 Elena Zannoni <ezannoni@redhat.com>
23479
a9c64011 23480 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 23481 * gdb.stabs/weird.exp: Ditto.
1c199746 23482
04ed252f
MC
234832003-09-08 Michael Chastain <mec@shout.net>
23484
23485 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
23486
d8a2d9e7
MC
234872003-09-07 Michael Chastain <mec@shout.net>
23488
23489 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
23490 'parse error'.
23491
161afb24
MK
234922003-09-07 Mark Kettenis <m.kettenis@osp.nl>
23493
23494 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
23495
49f2741a
MC
234962003-08-30 Michael Chastain <mec@shout.net>
23497
23498 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
23499 * gdb.gdb/observer.exp: Ditto.
23500 * gdb.gdb/xfullpath.exp: Ditto.
23501
8afa723e
MK
235022003-08-29 Mark Kettenis <kettenis@gnu.org>
23503
23504 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
23505 *-*-*bsd*.
23506
f31dfe3b
JJ
235072003-08-28 Jeff Johnston <jjohnstn@redhat.com>
23508
23509 * gdb.base/dump.exp: Skip for ia64.
23510
4630e498
JJ
235112003-08-25 Jeff Johnston <jjohnstn@redhat.com>
23512
23513 * gdb.asm/asm-source.exp: Add ia64 support.
23514 * gdb.asm/ia64.inc: New file.
23515
1105b7ef
MC
235162003-08-22 Michael Chastain <mec@shout.net>
23517
23518 * gdb.cp: New directory.
23519 * gdb.cp/*: Copy from gdb.c++/*.
23520 * gdb.c++/*: Remove.
23521 * Makefile.in: Change gdb.c++ to gdb.cp.
23522 * configure.in: Ditto.
23523 * configure: Regnerate.
23524
c945b932
MK
235252003-08-18 Mark Kettenis <kettenis@gnu.org>
23526
23527 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
23528 * gdb.arch/i386-prologue.c (gdb1338): Add function.
23529
2b66634b
DJ
235302003-08-17 Daniel Jacobowitz <drow@mvista.com>
23531
23532 * mi-var-display.exp (-var-list-children weird): Accept function
23533 pointers with argument types.
23534 * mi1-var-display.exp (-var-list-children weird): Likewise.
23535 * mi2-var-display.exp (-var-list-children weird): Likewise.
23536
a356f73b
DJ
235372003-08-17 Daniel Jacobowitz <drow@mvista.com>
23538
23539 * gdb.base/annota3.exp: Add missing newline.
23540
483417b8
MC
235412003-08-06 Michael Chastain <mec@shout.net>
23542
23543 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
23544
c99c59c3
MS
235452003-08-12 Michael Snyder <msnyder@redhat.com>
23546
23547 * gdb.base/float.exp: Add test for SH.
23548
55ed7501
MK
235492003-08-10 Mark Kettenis <kettenis@gnu.org>
23550
23551 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
23552
1a371f2e
EZ
235532003-08-07 Elena Zannoni <ezannoni@redhat.com>
23554
23555 * gdb.base/completion.exp: Remove reduntant completion test
23556 on filename.
23557
e0f353ce
EZ
235582003-08-07 Elena Zannoni <ezannoni@redhat.com>
23559
a9c64011
AS
23560 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
23561 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
23562 gdb.trace/save-trace.exp: Make sure that full pathnames are
23563 escaped correctly.
e0f353ce 23564
5710a1af 235652003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 23566
a9c64011
AS
23567 * configure.in: Don't generate config.h from config.hin.
23568 * configure: Regenerate.
23569 * config.hin: Remove file.
23570 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
23571 * gdb.threads/pthreads.c: Ditto.
5710a1af 23572
dcd81ce9
DJ
235732003-08-07 Daniel Jacobowitz <drow@mvista.com>
23574
23575 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23576 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
23577 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
23578 Replace ld24 with seth/add3.
23579
6009d884
AC
235802003-08-02 Andrew Cagney <cagney@redhat.com>
23581
23582 * gdb.base/annota3.exp: New file.
23583 * gdb.base/annota3.c: New file.
23584 * gdb.c++/annota3.exp: New file.
23585 * gdb.c++/annota3.cc: New file.
23586
51514e06
MC
235872003-07-29 Michael Chastain <mec@shout.net>
23588
23589 * gdb.threads/tls.c (spin): Check errno only if sem_wait
23590 actually failed.
23591 (do_pass): Likewise.
23592 * gdb.threads/tls.exp: Always initialize no_of_threads.
23593
4ee6625b
DJ
235942003-07-27 Daniel Jacobowitz <drow@mvista.com>
23595
23596 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
23597 pattern.
23598 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
23599 * gdb.threads/tls.exp: Recognize one case of the host library not
23600 supporting TLS.
23601
225f2bf6
AC
236022003-07-27 Andrew Cagney <cagney@redhat.com>
23603
23604 * gdb.base/fileio.exp: Use SH when running commands using
23605 remote_exec.
23606
bcb27c9f
DJ
236072003-07-24 Daniel Jacobowitz <drow@mvista.com>
23608
23609 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23610 * gdb.base/relocate.c (dummy): New padding array.
23611
3d67be83
MS
236122003-07-22 Michael Snyder <msnyder@redhat.com>
23613
d63a86f8 23614 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
23615
23616 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
23617 patterns to be more general, accepting old and new output.
23618 Some output chars (such as '+') also must be quoted.
d63a86f8 23619 Some addresses are displayed numerically instead of
3d67be83
MS
23620 symbolically.
23621
57ba3b85
MS
236222003-07-23 Michael Snyder <msnyder@redhat.com>
23623
686d097c
MS
23624 * gdb.base/return2.exp: Don't test long-long return.
23625
57ba3b85
MS
23626 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
23627 * gdb.disasm/t01_mov.exp: Ditto.
23628 * gdb.disasm/t02_mova.s: Ditto.
23629 * gdb.disasm/t02_mova.exp: Ditto.
23630 * gdb.disasm/t03_add.s: Ditto.
23631 * gdb.disasm/t03_add.exp: Ditto.
23632 * gdb.disasm/t04_sub.s: Ditto.
23633 * gdb.disasm/t04_sub.exp: Ditto.
23634 * gdb.disasm/t05_cmp.s: Ditto.
23635 * gdb.disasm/t05_cmp.exp: Ditto.
23636 * gdb.disasm/t06_ari2.s: Ditto.
23637 * gdb.disasm/t06_ari2.exp: Ditto.
23638 * gdb.disasm/t07_ari3.s: Ditto.
23639 * gdb.disasm/t07_ari3.exp: Ditto.
23640 * gdb.disasm/t08_or.s: Ditto.
23641 * gdb.disasm/t08_or.exp: Ditto.
23642 * gdb.disasm/t09_xor.s: Ditto.
23643 * gdb.disasm/t09_xor.exp: Ditto.
23644 * gdb.disasm/t10_and.s: Ditto.
23645 * gdb.disasm/t10_and.exp: Ditto.
23646 * gdb.disasm/t11_logs.s: Ditto.
23647 * gdb.disasm/t11_logs.exp: Ditto.
23648 * gdb.disasm/t12_bit.s: Ditto.
23649 * gdb.disasm/t12_bit.exp: Ditto.
23650 * gdb.disasm/t13_otr.s: Ditto.
23651 * gdb.disasm/t13_otr.exp: Ditto.
23652
e00759ef
EZ
236532003-07-22 Elena Zannoni <ezannoni@redhat.com>
23654
23655 * gdb.threads/tls.exp :Add kfail for 'info address' case.
23656
8bc2021f
EZ
236572003-07-22 Elena Zannoni <ezannoni@redhat.com>
23658
a9c64011
AS
23659 * gdb.threads/tls.c : New file.
23660 * gdb.threads/tls.exp : New file.
23661 * gdb.threads/tls-main.c : New file.
23662 * gdb.threads/tls-shared.c : New file.
23663 * gdb.threads/tls-shared.exp : New file.
8bc2021f 23664
89320c4c
AS
236652003-07-22 Andreas Schwab <schwab@suse.de>
23666
23667 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
23668
180dea7c
AS
236692003-07-20 Andreas Schwab <schwab@suse.de>
23670
23671 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
23672 due to insn reordering.
23673
0714963c
AC
236742003-07-15 Andrew Cagney <cagney@redhat.com>
23675
23676 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
23677
98a23b3f
MC
236782003-07-15 Michael Chastain <mec@shout.net>
23679
23680 * gdb.base/gdb1250.exp: New file.
23681 * gdb.base/gdb1250.c: New file.
23682
27e417a2
ML
236832003-07-09 Michal Ludvig <mludvig@suse.cz>
23684
23685 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
23686 expansion of size_t to 'unsigned long', not only to 'unsigned'.
23687
8bc2021f
EZ
236882003-07-09 Elena Zannoni <ezannoni@redhat.com>
23689
a9c64011
AS
23690 * gdb.threads/tls.c: New file.
23691 * gdb.threads/tls.exp: New file.
23692 * gdb.threads/tls-main.c: New file.
23693 * gdb.threads/tls-shared.c: New file.
23694 * gdb.threads/tls-shared.exp: New file.
8bc2021f 23695
d99968dc
EZ
236962003-07-09 Elena Zannoni <ezannoni@redhat.com>
23697
23698 * gdb.base/annota1.exp: Make sure that we properly escape the
23699 full path of the source file. Xfail more permissive patterns,
d63a86f8 23700 due to a compiler debug info problem.
d99968dc 23701
83876b3b
AS
237022003-07-07 Andreas Schwab <schwab@suse.de>
23703
2705e972
AS
23704 * gdb.asm/m68k.inc: New file.
23705 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
23706
83876b3b
AS
23707 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
23708 arguments"): Also match negative number.
23709
23710 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
23711
3a871b37
DJ
237122003-07-03 Daniel Jacobowitz <drow@mvista.com>
23713
23714 * gdb.base/store.c (charest): New typedef.
23715 (add_char): Rename to add_charest, update.
23716 (wack_char): Rename to wack_charest, update types. Return l + r
23717 to keep r live across the call.
23718 (wack_short, wack_int, wack_long, wack_longest, wack_float)
23719 (wack_double, wack_doublest): Return l + r to keep r live across
23720 the call.
23721 * gdb.base/store.exp: Accomodate store.c changes.
23722
b2a7f303
DC
237232003-06-30 David Carlton <carlton@kealia.com>
23724
23725 * gdb.c++/maint.exp (test_invalid_name): New.
23726 (test_first_component): Add tests for invalid names.
23727
3c6cb4a1
MC
237282003-06-29 Michael Chastain <mec@shout.net>
23729
23730 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
23731 output of '<VTT for class>' for virtual base classes.
23732
f1c2644b
DJ
237332003-06-29 Daniel Jacobowitz <drow@mvista.com>
23734
23735 * gdb.base/completion.exp: Tab-complete "complet" instead of
23736 "compl".
23737 * gdb.base/complex.exp, gdb.base/complex.c: New files.
23738
18080350
DJ
237392003-06-29 Daniel Jacobowitz <drow@mvista.com>
23740
23741 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
23742 * gdb.base/volatile.exp: Likewise.
23743
f56973f8
DJ
237442003-06-29 Daniel Jacobowitz <drow@mvista.com>
23745
23746 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
23747 gdb/1265.
23748
237492003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
23750 Daniel Jacobowitz <drow@mvista.com>
23751
23752 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
23753 initial line count of 'captured_main' from 26 to 32.
23754 (test_with_self): Allow xmalloc call to be interleaved with the
23755 preceding two lines.
23756
e766d4d6
JB
237572003-06-24 Joel Brobecker <brobecker@gnat.com>
23758
23759 * gdb.base/bang.exp: New testcase.
23760
f125c9a4
JB
237612003-06-23 Joel Brobecker <brobecker@gnat.com>
23762
23763 * gdb.base/langs.exp: Add some tests for the "minimal" language
23764 support.
23765
6e25beaf
EZ
237662003-06-23 Elena Zannoni <ezannoni@redhat.com>
23767
23768 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
23769 the testcase.
23770
2f816dda
DJ
237712003-06-22 Daniel Jacobowitz <drow@mvista.com>
23772
23773 * gdb.base/relocate.exp: Test add-symbol-file with a variable
23774 offset.
23775
db5a5748
DJ
237762003-06-22 Daniel Jacobowitz <drow@mvista.com>
23777
23778 * gdb.c++/pr-1210.cc: New file.
23779 * gdb.c++/pr-1210.exp: New file.
23780
1df0c130
DJ
237812003-06-21 Daniel Jacobowitz <drow@mvista.com>
23782
23783 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
23784 000-exec-continue.
23785
a92feac0
MK
237862003-06-15 Mark Kettenis <kettenis@gnu.org>
23787
23788 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
23789 on *-*-*bsd* instead of *-*-freebsd*.
23790
81a58f5b
AC
237912003-06-14 Andrew Cagney <cagney@redhat.com>
23792
23793 * gdb.base/store.exp: Test longest and doublest. Test all
23794 parameters. Weaken return statement match.
23795 * gdb.base/store.c: Add longest and doublest - aka long long and
23796 long double functions. Put all parameters into local register
23797 variables. Use negative values.
23798
b257a0d3
AC
237992003-06-14 Andrew Cagney <cagney@redhat.com>
23800
23801 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
23802 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
23803 exit status.
23804 * gdb.base/fileio.exp: Disable target when nointerrupts and
23805 noinferiorio, instead of limiting it to remote. Use remote_exec
23806 instead of system.
d63a86f8 23807
21c38304
JJ
238082003-06-12 Jeff Johnston <jjohnstn@redhat.com>
23809
23810 * gdb.base/float.exp: Add ia64 support.
23811
1bcdb424
CV
238122003-06-12 Corinna Vinschen <vinschen@redhat.com>
23813
23814 * gdb.base/fileio.exp: Run only on remote targets.
23815
6aeb981f
CV
238162003-06-10 Corinna Vinschen <vinschen@redhat.com>
23817
23818 * gdb.base/fileio.c: New file, testing File-I/O.
23819 * gdb.base/fileio.exp: Ditto.
23820
53df362e
RG
238212003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
23822
23823 * gdb.base/shreloc.exp: New file, check symbol values obtained from
23824 shared objects after relocation at load time (gdb PR/1132).
23825 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 23826 as above, part of the shared object relocation test.
53df362e 23827
ffee1b46
MK
238282003-06-08 Mark Kettenis <kettenis@gnu.org>
23829
b5ca3722
MK
23830 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
23831 fully filled history list.
23832 * gdb.base/gdb_history: New file.
23833
03ed860d
MK
23834 * gdb.base/signals.exp: XFAIL "continue to func1" on
23835 i*86-*-freebsd*.
23836
ffee1b46
MK
23837 * gdb.base/attach.exp: When trying to attach to a nonexistent
23838 process, make it possible to specify the PID based on the target,
23839 and do so for *-*-freebsd*.
23840
d80dbb52
RH
238412003-06-02 Richard Henderson <rth@redhat.com>
23842
23843 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
23844
6dd77b81
RH
238452003-06-02 Richard Henderson <rth@redhat.com>
23846
23847 * gdb.base/selftest.exp: Next over lim_at_start initialization.
23848
f6347e16
RH
238492003-06-02 Richard Henderson <rth@redhat.com>
23850
23851 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
23852
2c161407
DJ
238532003-06-01 Daniel Jacobowitz <drow@mvista.com>
23854
23855 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
23856 of globalvar.
23857
572eb746
MK
238582003-06-01 Mark Kettenis <kettenis@gnu.org>
23859
23860 * gdb.asm/asm-source.exp: Check for memory read errors in
23861 disassembler test on *BSD too.
23862
9e9617a5
RH
238632003-06-01 Richard Henderson <rth@redhat.com>
23864
23865 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
23866 for .frame.
23867 (gdbasm_call): Lose ldgp.
23868 (gdbasm_startup): Add frame information.
23869 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
23870
7b34ad4e
MK
238712003-05-31 Mark Kettenis <kettenis@gnu.org>
23872
23873 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
23874 i?86-*-*.
23875
10059fdf
MK
238762003-05-30 Mark Kettenis <kettenis@gnu.org>
23877
23878 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23879 FreeBSD.
23880
acf4b816
RH
238812003-05-29 Richard Henderson <rth@redhat.com>
23882
23883 * gdb.asm/alpha.inc: New file.
23884 * gdb.asm/asm-source.exp: Use it.
23885
e9ecd949
JB
238862003-05-29 Jim Blandy <jimb@redhat.com>
23887
23888 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
23889 'core.PID'.
23890
e3e5a4f3
JB
238912003-05-22 Jim Blandy <jimb@redhat.com>
23892
23893 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
23894 backtrace.
d63a86f8 23895
72fe3d25
DC
238962003-05-20 David Carlton <carlton@math.stanford.edu>
23897
23898 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
23899 this time.
23900
58da2eb2
DC
239012003-05-19 David Carlton <carlton@bactrian.org>
23902
23903 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
23904 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
23905
1fcb5155
DC
239062003-05-19 David Carlton <carlton@bactrian.org>
23907
23908 * gdb.c++/namespace.exp: Add namespace scope and anonymous
23909 namespace tests.
23910 Bump copyright date.
23911 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
23912 (main): Call C::D::marker2.
23913 * gdb.c++/namespace1.cc: New file.
23914
85e85163
JJ
239152003-05-14 Jeff Johnston <jjohnstn@redhat.com>
23916
23917 Roland McGrath <roland@redhat.com>
d63a86f8 23918 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
23919 there is no manager thread.
23920
a25fbfec
JJ
239212003-05-08 Jeff Johnston <jjohnstn@redhat.com>
23922
d63a86f8
RM
23923 * gdb.threads/schedlock.exp: Remove assumption that all threads
23924 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
23925 in one of the child threads rather than the main thread.
23926
be375bae
JB
239272003-05-07 Jim Blandy <jimb@redhat.com>
23928
09bf6082
JB
23929 Add support for assembly source testing on the s390x.
23930 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
23931 architecture.
23932 * gdb.asm/s390x.inc: New file.
23933
be375bae
JB
23934 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
23935 succession of 'if' statements.
23936
00905d52
AC
239372003-05-05 Andrew Cagney <cagney@redhat.com>
23938
23939 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
23940
b1e29e33
AC
239412003-05-05 Andrew Cagney <cagney@redhat.com>
23942
23943 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
23944 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
23945
e33d66ec
EZ
239462003-05-02 Elena Zannoni <ezannoni@redhat.com>
23947
23948 * gdb.base/charset.exp: Update based on new behavior of set/show
23949 charset commands.
23950
2b6fd0d8
AC
239512003-05-01 Andrew Cagney <cagney@redhat.com>
23952
23953 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
23954 variable do not give memory errors.
23955
130cacce
AF
239562003-04-30 Adam Fedor <fedor@gnu.org>
23957
23958 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
23959 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
23960 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
23961 gdb.objc/basicclass.m: : New files
23962
23963 * lib/gdb.exp (gdb_compile_objc): New procedure.
23964
bea71854
DJ
239652003-04-27 Daniel Jacobowitz <drow@mvista.com>
23966
23967 * gdb.base/signals.exp: Make backtrace tests more specific.
23968
0f20eeea
DC
239692003-04-23 David Carlton <carlton@bactrian.org>
23970
23971 * gdb.c++/maint.exp (test_first_component): Add tests for
23972 'operator' in more locations.
23973
c8c4d8dc
KB
239742003-04-16 Kevin Buettner <kevinb@redhat.com>
23975
23976 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
23977
3fe60e3c
EZ
239782003-04-16 Elena Zannoni <ezannoni@redhat.com>
23979
23980 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 23981 func marke' instead. Update test name.
3fe60e3c 23982
9219021c
DC
239832003-04-15 David Carlton <carlton@math.stanford.edu>
23984
23985 * gdb.c++/maint.exp: New file.
23986
5dd55bdd
EZ
239872003-04-14 Elena Zannoni <ezannoni@redhat.com>
23988
23989 * gdb.threads/schedlock.c: Change type of thread function argument
23990 to long, to avoid warnings on 64-bit platforms.
23991
00890572
EZ
239922003-04-14 Elena Zannoni <ezannoni@redhat.com>
23993
a9c64011
AS
23994 * gdb.base/attach.exp: Add new message from ptrace in case of
23995 attaching to nonexistent process.
d63a86f8 23996
93201743
JB
239972003-04-11 Jim Blandy <jimb@redhat.com>
23998
23999 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24000 gdb.c++/userdef.cc: Place comments on the lines to which the
24001 marker function might return.
24002 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24003 gdb.c++/userdef.exp: Look for those comments to check that we've
24004 returned to the right place, instead of checking line numbers.
24005
2a11c64d
EZ
240062003-04-11 Elena Zannoni <ezannoni@redhat.com>
24007
a9c64011
AS
24008 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
24009 match on sourcefile name, instead of directory name.
2a11c64d 24010
68ab8fc5
EZ
240112003-04-10 Elena Zannoni <ezannoni@redhat.com>
24012
d63a86f8 24013 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
24014 working directory name.
24015
5624293a
JB
240162003-04-09 Jim Blandy <jimb@redhat.com>
24017
24018 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24019 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
24020 after an inferior function call, report the failure, but allow the
24021 test to continue.
24022
f1f02ee4
SC
240232003-04-05 Stephane Carrez <stcarrez@nerim.fr>
24024
24025 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24026 with -DPROTOTYPES.
24027
6eb79af0
SC
240282003-04-05 Stephane Carrez <stcarrez@nerim.fr>
24029
24030 * gdb.base/break.exp: Revert last patch.
24031
8dfb4cf0
SC
240322003-04-04 Stephane Carrez <stcarrez@nerim.fr>
24033
24034 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24035 with -DPROTOTYPES.
24036
ed4c619a
AC
240372003-04-02 Andrew Cagney <cagney@redhat.com>
24038
24039 * gdb.base/callfuncs.exp: Make "print add" messages unique.
24040 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
24041 matching directories by the name breakpoint.
24042 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
24043 Make "continue to marker1" consistent.
24044 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
24045 message consistent.
24046 * lib/gdb.exp: Put "the program is no longer running", and "the
24047 program exited" in parenthesis.
24048 * lib/mi-support.exp: Ditto.
d63a86f8 24049
4e35d5f0 240502003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 24051
4e35d5f0
BR
24052 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
24053
71900fe8
AC
240542003-03-29 Andrew Cagney <cagney@redhat.com>
24055
24056 * gdb.base/sizeof.c (main): Print the value of '\377'.
24057 * gdb.base/sizeof.exp: Check the sign of '\377'.
24058
c0655a16
MC
240592003-03-27 Michael Chastain <mec@shout.net>
24060
24061 * gdb.base/gdb1090.exp: New file.
24062 * gdb.base/gdb1090.cc: New file.
24063
5b2a3989
JB
240642003-03-27 J. Brobecker <brobecker@gnat.com>
24065
24066 * gdb.gdb/observer.exp: New regression test.
24067
79876890
MC
240682003-03-27 Michael Chastain <mec@shout.net>
24069
24070 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
24071 * gdb.base/ptype.exp: Likewise.
24072
6eac95e3
CV
240732003-03-27 Corinna Vinschen <vinschen@redhat.com>
24074
24075 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
24076
e8c71839
MC
240772003-03-26 Michael Chastain <mec@shout.net>
24078
24079 * gdb.base/ptype.exp: Actually use some typedef'd types.
24080
71b10041
SC
240812003-03-21 Stephane Carrez <stcarrez@nerim.fr>
24082
24083 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
24084 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
24085
2512cf80
CV
240862003-03-20 Corinna Vinschen <vinschen@redhat.com>
24087
24088 * gdb.base/default.exp: Fix regular expression.
24089
0d195a4f
CV
240902003-03-20 Corinna Vinschen <vinschen@redhat.com>
24091
24092 * gdb.base/args.exp: Fix regular expression.
24093
8a2dbca8
CV
240942003-03-20 Corinna Vinschen <vinschen@redhat.com>
24095
24096 * gdb.base/help.exp: Allow Win32 child process.
24097
bf028682
CV
240982003-03-20 Corinna Vinschen <vinschen@redhat.com>
24099
24100 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
24101 when stepping out of main().
24102
182dbe85
CV
241032003-03-20 Corinna Vinschen <vinschen@redhat.com>
24104
24105 * gdb.base/default.exp: Check for win32 specific message when calling
24106 "run" without executable.
24107
d67a6ba5
CV
241082003-03-20 Corinna Vinschen <vinschen@redhat.com>
24109
24110 * gdb.base/args.exp: Expect .exe in output.
24111
a955b5bb
CV
241122003-03-20 Corinna Vinschen <vinschen@redhat.com>
24113
24114 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
24115 Cygwin native.
24116
bf6bad4b
AC
241172003-03-17 Andrew Cagney <cagney@redhat.com>
24118
24119 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
24120 vector registes.
24121 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
24122 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
24123
293e9a31
DC
241242003-03-17 David Carlton <carlton@math.stanford.edu>
24125
24126 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
24127 test, for PR breakpoints/38.
24128 Call test_watchpoint_and_breakpoint.
24129 * gdb.base/watchpoint.c (func3): New function.
24130 (main): Call func3.
24131
5330f2db
DC
241322003-03-04 David Carlton <carlton@math.stanford.edu>
24133
24134 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
24135 Garply<Garply<char> >:: garply".
24136 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
24137 with respect to PR c++/1111; note also PR c++/1113.
24138 (test_template_breakpoints): KFAIL "constructor breakpoint" with
24139 respect to PR c++/1062.
24140 KFAIL "destructor breakpoint" with respect to PR c++/1112.
24141
6ece72da
DC
241422003-03-03 David Carlton <carlton@math.stanford.edu>
24143
24144 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
24145 with respect to PR c++/57.
24146 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
24147 c++/826.
24148 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
24149 respect to PR c++/57.
24150
85ca1584
DC
241512003-03-03 David Carlton <carlton@math.stanford.edu>
24152
24153 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
24154 respect to PR c++/33 into FAILs.
24155
98e9c5b8
MC
241562003-03-03 Michael Chastain <mec@shout.net>
24157
7bedbf27
MC
24158 * configure.in: Update copyright years.
24159
241602003-03-03 Michael Chastain <mec@shout.net>
24161
24162 * Makefile.in: Update copyright years.
98e9c5b8 24163
f683e100
DC
241642003-02-28 David Carlton <carlton@math.stanford.edu>
24165
24166 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
24167 print class instead of struct and/or superfluous protection
24168 specifiers, as long as the resulting output is equivalent to the
24169 source code.
24170 Delete FIXME from end of messages on tests that don't need
24171 fixing.
24172
a9e0cf2c
DC
241732003-02-28 David Carlton <carlton@math.stanford.edu>
24174
24175 * gdb.c++/templates.exp (do_tests): Allow const in the two
24176 Foo<volatile char *>::foo tests.
24177
e8d359df
MS
241782003-02-27 Michael Snyder <msnyder@redhat.com>
24179
d63a86f8 24180 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
24181 will be consistant.
24182
0b71dc91
DC
241832003-02-26 David Carlton <carlton@math.stanford.edu>
24184
24185 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
24186 char *>::foo" test with respect to PR c++/33. Create a new test
24187 which is identical to that one except that it doesn't put the
24188 space between the "char" and the "*"; KFAIL it, too.
24189
dd14ab43
DC
241902003-02-26 David Carlton <carlton@math.stanford.edu>
24191
24192 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
24193 template types into either PASSes or KFAILs (corresponding to PR
24194 c++/57). Tweak indentation. Update copyright.
24195
1146c7f1
SC
241962003-02-23 Stephane Carrez <stcarrez@nerim.fr>
24197
24198 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
24199
74641dfb
MC
242002003-02-13 Michael Chastain <mec@shout.net>
24201
24202 * gdb.base/exprs.exp: Remove i960 remnants.
24203 * gdb.base/funcargs.exp: Likewise.
24204 * gdb.base/list.exp: Likewise.
24205 * gdb.base/ptype.exp: Likewise.
24206
559cd2d0
DC
242072003-02-14 David Carlton <carlton@math.stanford.edu>
24208
24209 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
24210 pEe->D::vg()" from XFAIL to KFAIL.
24211
c4f90d87
JM
242122003-02-13 Jason Molenda (jmolenda@apple.com)
24213
24214 * gdb.base/maint.exp: Update maint print statistics regexp to include
24215 new entries.
24216
cbc4d97c
MC
242172003-02-13 Michael Chastain <mec@shout.net>
24218
24219 * gdb.c++/inherit.exp: Remove call to get_debug_format.
24220
40f235b7
MC
242212003-02-12 Michael Chastain <mec@shout.net>
24222
24223 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
24224 * gdb.c++/inherit.exp: Likewise.
24225 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
24226 * gdb.c++/templates.exp: Likewise.
24227 * gdb.c++/virtfunc.exp: Likewise.
24228
c56716b0
JM
242292003-02-06 Jason Molenda (jason-cl@molenda.com)
24230
24231 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
24232 why the code is written that way.
24233
070afcf8
MC
242342003-02-05 Michael Chastain <mec@shout.net>
24235
24236 * gdb.base/dump.exp: Add missing copyright line.
24237
5d0331e5
JM
242382003-02-05 Jason Molenda (jason-cl@molenda.com)
24239
f7ae6d3e 24240 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
24241 at the beginning so the breakpoint doesn't get set on the loop.
24242
92851186
MC
242432003-02-05 Michael Chastain <mec@shout.net>
24244
24245 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
24246 output for configurations with gcc 2.95.3.
24247
cbf1e085
AC
242482003-02-05 Keith Seitz <keiths@redhat.com>
24249 Andrew Cagney <ac131313@redhat.com>
24250
24251 * gdb.mi/mi-cli.exp: New file.
d63a86f8 24252
29518e1e
MC
242532003-02-04 Michael Chastain <mec@shout.net>
24254
24255 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
24256 Call perror and then continue.
24257
5af1d5f3
MC
242582003-02-03 Michael Chastain <mec@shout.net>
24259
24260 * gdb.c++/pr-1023.cc: New file.
24261 * gdb.c++/pr-1023.exp: New file.
24262
6b549786
JB
242632003-02-05 Jim Blandy <jimb@redhat.com>
24264
24265 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
24266 it's local to foobar. Check for it there, and check that it's not
24267 present in main.
24268 * gdb.c++/local.cc (marker2): New function.
24269 (foobar): Call marker1.
24270 (main): Call marker2 instead of marker1.
24271
67f16606
AC
242722003-02-04 Andrew Cagney <ac131313@redhat.com>
24273
24274 * gdb.disasm/mn10200.exp: Obsolete file.
24275 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
24276 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
24277 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
24278
1c5cb38e
DC
242792003-02-04 David Carlton <carlton@math.stanford.edu>
24280
24281 * gdb.c++/overload.exp: Test intToChar(1).
24282 * gdb.c++/overload.cc (intToChar): New.
24283 (main): Call intToChar.
24284
d1fe6965
DC
242852003-02-03 David Carlton <carlton@math.stanford.edu>
24286
24287 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
24288 'might_kfail' arg.
24289 KFAIL some of the continue_to_bp_overloaded calls, according to
24290 PR c++/1025.
24291
9ba61c5d
MC
242922003-02-01 Michael Chastain <mec@shout.net>
24293
24294 * gdb.base/advance.c (marker1): New marker function.
24295 * gdb.base/advance.exp: When the 'advance' command lands on the
24296 return breakpoint, it can legitimately stop on either the
24297 current line or the next line. Accommodate both outcomes.
24298 * gdb.base/until.exp: Likewise.
24299
e7494ffb
AC
243002003-02-02 Andrew Cagney <ac131313@redhat.com>
24301
24302 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
24303 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
24304 now a list, not a tuple.
24305 * gdb.mi/mi-var-display.exp: Ditto.
24306 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 24307
075559bc
AC
243082003-02-01 Andrew Cagney <ac131313@redhat.com>
24309
24310 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
24311 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
24312 stack backtraces.
24313 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 24314
2bd4c7b1
MK
243152003-02-01 Mark Kettenis <kettenis@gnu.org>
24316
24317 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24318 gdb.mi/mi1-pthreads.exp: Return instead of calling
24319 gdb_suppress_entire_file.
24320
eabd8992
MS
243212003-02-01 Mark Salter <msalter@redhat.com>
24322
24323 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
24324
71469e2f
MS
243252003-01-31 Mark Salter <msalter@redhat.com>
24326
24327 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
24328 Support empty arg.
24329
38a94d44
MC
243302003-01-30 Michael Chastain <mec@shout.net>
24331
24332 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
24333 This was a workaround for a UTF-8 bug in readline 4.3. The bug
24334 has been fixed in gdb/readline on 2003-01-09.
24335
19ea9e73
MS
243362003-01-29 Michael Snyder <msnyder@redhat.com>
24337
e8d359df
MS
24338 * gdb.base/maint.exp: Allow for leading underscore in symbol.
24339 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
24340 * gdb.base/args.exp: Skip if target does not support args passing.
24341
2307bd6a
DJ
243422003-01-22 Daniel Jacobowitz <drow@mvista.com>
24343
19ea9e73 24344 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
24345 gdb_test. Accept a list of expect arguments as the third
24346 parameter.
24347 (gdb_test): Use it.
24348
f2dd3617
EZ
243492003-01-20 Elena Zannoni <ezannoni@redhat.com>
24350
24351 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
24352 allow for different test tree configurations. Update some
24353 tescases accordingly.
24354 * gdb.arch/altivec-regs.exp: Ditto.
24355 * gdb.asm/asm-source.exp: Ditto.
24356 * gdb.base/advance.exp: Ditto.
24357 * gdb.base/display.exp: Ditto.
d63a86f8 24358 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
24359 * gdb.base/mips_pro.exp: Ditto.
24360 * gdb.base/overlays.exp: Ditto.
24361 * gdb.base/relocate.exp: Ditto.
24362 * gdb.base/setshow.exp: Ditto.
24363 * gdb.base/step-line.exp: Ditto.
24364 * gdb.base/step-test.exp: Ditto.
24365 * gdb.base/until.exp: Ditto.
24366 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
24367
c71cdefd
DC
243682003-01-17 David Carlton <carlton@math.stanford.edu>
24369
24370 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
24371 corresponding to PR c++/945.
24372 Update copyright.
24373
fdba05d7
DC
243742003-01-17 David Carlton <carlton@math.stanford.edu>
24375
24376 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
24377 corresponding to PR c++/68.
24378
243792003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
24380
24381 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
24382 (test_paddr_hairy_functions): Call print_addr_2_kfail for
24383 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
24384
c362c33a
EZ
243852003-01-15 Elena Zannoni <ezannoni@redhat.com>
24386
0fbc361c
EZ
24387 * gdb.base/break.exp: Fix change of default location, because of
24388 removal of until tests.
24389 * gdb.base/help.exp: Update test for new 'until' help message.
24390 Add test for help on 'advance'.
a9c64011 24391 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 24392
dabf8a35
MK
243932003-01-15 Mark Kettenis <kettenis@gnu.org>
24394
24395 * gdb.base/default.exp: Adapt "info float" test for recent changes
24396 to that command. Add test for "info vector".
24397 * gdb.base/float.exp: New file. Add test for "info float" that
24398 resembles the old test in gdb.base/default.exp.
24399
a1769aca
DC
244002003-01-15 David Carlton <carlton@math.stanford.edu>
24401
24402 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
24403
82025e13
EZ
244042003-01-15 Elena Zannoni <ezannoni@redhat.com>
24405
24406 * gdb.base/break.exp: Move the tests of until command from here...
24407 * gdb.base/until.exp: ... to here. New file. Add other tests.
24408 * gdb.base/advance.c: New file.
24409 * gdb.base/advance.exp: New file.
24410
8f9ab801
EZ
244112003-01-14 Elena Zannoni <ezannoni@redhat.com>
24412
a9c64011
AS
24413 * gdb.base/args.c: New file.
24414 * gdb.base/args.exp: New file.
8f9ab801 24415
9ae66589
DJ
244162003-01-14 Daniel Jacobowitz <drow@mvista.com>
24417
24418 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
24419
8d77e5c3
DJ
244202003-01-14 Daniel Jacobowitz <drow@mvista.com>
24421
24422 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
24423
12d2f0a1
DJ
244242003-01-14 Daniel Jacobowitz <drow@mvista.com>
24425
24426 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
24427 dates.
24428
6ca37014
DJ
244292003-01-13 Daniel Jacobowitz <drow@mvista.com>
24430
24431 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
24432
b0023472
DJ
244332003-01-13 Daniel Jacobowitz <drow@mvista.com>
24434
24435 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
24436 (ptype &*"foo").
24437 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
24438
607fbc54 244392003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
24440
24441 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
24442 * gdb.mi/mi1-console.exp: Likewise.
24443
607fbc54 244442003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
24445
24446 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
24447 * gdb.mi/mi1-console.exp: Likewise.
24448
a1fb14a2
DJ
244492003-01-13 Daniel Jacobowitz <drow@mvista.com>
24450
24451 * gdb.c++/overload.exp: Remove some fixed XFAILs.
24452
c4cf40b7
DJ
244532003-01-09 Daniel Jacobowitz <drow@mvista.com>
24454
24455 * gdb.base/detach.exp: New test.
24456
696d5a5b
DJ
244572003-01-09 Daniel Jacobowitz <drow@mvista.com>
24458
24459 * Makefile.in (ALL_SUBDIRS): New variable.
24460 (subdirs, clean, distclean): Use it.
24461 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
24462 regenerating Makefile, since it is generated from the top level.
24463 * gdb.asm/Makefile.in: Likewise.
24464 * gdb.base/Makefile.in: Likewise.
24465 * gdb.c++/Makefile.in: Likewise.
24466 * gdb.disasm/Makefile.in: Likewise.
24467 * gdb.java/Makefile.in: Likewise.
24468 * gdb.mi/Makefile.in: Likewise.
24469 * gdb.threads/Makefile.in: Likewise.
24470 * gdb.trace/Makefile.in: Likewise.
24471
754533e4
DC
244722003-01-09 David Carlton <carlton@math.stanford.edu>
24473
24474 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
24475 Add copyright year 2003.
24476
d8b3e9ee
MC
244772003-01-06 Michael Chastain <mec@shout.net>
24478
24479 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
24480 When selecting a thread, 'line' and 'file' are optional.
24481 * gdb.mi/mi1-pthreads.exp: Likewise.
24482
8e9e0fe6
AS
244832003-01-06 Andreas Schwab <schwab@suse.de>
24484
24485 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
24486 failures.
24487
b5ab8ff3
DJ
244882003-01-04 Daniel Jacobowitz <drow@mvista.com>
24489
24490 Fix PR gdb/844
24491 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
24492 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
24493
24494 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
24495 instead of calling gdb_suppress_entire_file.
24496 * gdb.threads/print-threads.exp: Likewise.
24497 * gdb.threads/schedlock.exp: Likewise.
24498
24499 * gdb.threads/killed.exp: Return instead of calling
24500 gdb_suppress_entire_file.
24501 * gdb.threads/linux-dp.exp: Likewise.
24502 * gdb.threads/pthreads.exp: Likewise.
24503
1e698235
DJ
245042003-01-04 Daniel Jacobowitz <drow@mvista.com>
24505
24506 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
24507 stabs.
24508 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
24509 * gdb.base/whatis.exp: Always allow (void) after function names.
24510
147ff08c
DJ
245112003-01-04 Daniel Jacobowitz <drow@mvista.com>
24512
24513 * gdb.c++/casts.exp: Correct regexp.
24514
dc62bfc2
MK
245152003-01-04 Mark Kettenis <kettenis@gnu.org>
24516
24517 * configure.in: Call AC_CONFIG_HEADER. Don't call
24518 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
24519 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
24520 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
24521 aforementioned directories in the AC_OUPUT call.
24522 * config.hin: New file.
24523 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24524 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
24525 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
24526 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
24527 pass -I$objdir instead of -I$objdir/$subdir in compilation.
24528 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
24529 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
24530 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
24531 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
24532 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
24533 gdb.threads/configure.in, gdb.threads/configure,
24534 gdb.threads/config.in, gdb.trace/configure.in,
24535 gdb.trace/configure: Removed.
24536
77afa639
MC
245372003-01-03 Michael Chastain <mec@shout.net>
24538
24539 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
24540 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
24541
7634bb6e
DJ
245422003-01-03 Daniel Jacobowitz <drow@mvista.com>
24543
24544 * gdb.base/store.exp: Fix regular expressions.
24545
b39c905e
MK
245462002-12-28 Mark Kettenis <kettenis@gnu.org>
24547
24548 * configure.in: Rewrite.
24549 * configure: Regenerated.
24550
0a8551dd
DC
245512003-01-03 David Carlton <carlton@math.stanford.edu>
24552
24553 * gdb.base/psymtab.exp: New file.
24554 * gdb.base/psymtab1.c: Ditto.
24555 * gdb.base/psymtab2.c: Ditto.
24556
c60b7188
AF
245572002-12-23 Adam Fedor <fedor@gnu.org>
24558
24559 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
24560
ee73db83
DC
245612002-12-23 David Carlton <carlton@math.stanford.edu>
24562
24563 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
24564 and current_directory initialization.
24565
d6c1774e
JB
245662002-12-22 Jim Blandy <jimb@redhat.com>
24567
f0a847b8
JB
24568 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
24569 rather than as part of the output file name.
24570
d6c1774e
JB
24571 * gdb.base/attach.exp: There's no need to copy the test program to
24572 /tmp; that was only ever necessary on HP/UX, and this test is
24573 entirely disabled there anyway.
24574
f0708dbb
JB
245752002-12-21 Jim Blandy <jimb@redhat.com>
24576
4c2acfea
JB
24577 * gdb.c++/psmang.exp: Doc fix.
24578
f0708dbb
JB
24579 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
24580 test.
24581
9579e000
DC
245822002-12-20 David Carlton <carlton@math.stanford.edu>
24583
24584 * gdb.c++/annota2.exp: KFAIL annotate-quit.
24585
d1810171
MC
245862002-12-18 Michael Chastain <mec@shout.net>
24587
24588 * gdb.c++/annota2.exp: Add copyright year 2002.
24589
76565097
DC
245902002-12-17 David Carlton <carlton@math.stanford.edu>
24591
24592 * gdb.c++/try_catch.cc: Add marker comments.
24593 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
24594 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
24595 * gdb.c++/m-static.cc: Ditto.
24596 * gdb.c++/m-static1.cc: Ditto.
24597 * gdb.c++/try_catch.cc: Ditto.
24598
da81390b
JJ
245992002-12-16 Jeff Johnston <jjohnstn@redhat.com>
24600
24601 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
24602 to see whether we are using the new -environment-directory
24603 command which resets via -r or the old version of the command
24604 which may prompt the user. Part of fix for gdb/741.
24605
b304d130
AC
246062002-12-13 Andrew Cagney <ac131313@redhat.com>
24607
24608 * gdb.fortran/types.exp: Update obsolete comment.
24609 * gdb.fortran/exprs.exp: Ditto.
24610 * lib/gdb.exp: Delete obsolete code.
24611 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
24612 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
24613 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
24614 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
24615 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
24616 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
24617 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
24618 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
24619 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
24620 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
24621 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
24622 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
24623 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
24624 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
24625 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
24626 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
24627 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
24628 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
24629 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
24630 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
24631 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
24632 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
24633 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
24634 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
24635 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
24636 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
24637 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
24638 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
24639 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
24640 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
24641 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
24642 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
24643 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
24644 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
24645 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
24646 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
24647 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
24648
a23b6e6a
DC
246492002-12-11 David Carlton <carlton@math.stanford.edu>
24650
24651 * gdb.c++/m-data.exp: Add test for members that shadow global
24652 variables: see PR gdb/804.
24653 * gdb.c++/m-data.cc: Ditto.
24654
6604731b
DJ
246552002-12-10 Daniel Jacobowitz <drow@mvista.com>
24656
24657 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
24658
de46ecd7
DC
246592002-12-06 David Carlton <carlton@math.stanford.edu>
24660
24661 * gdb.base/store.c: Don't declare functions static.
24662
27e829d0
AC
246632002-12-04 Andrew Cagney <ac131313@redhat.com>
24664
24665 * gdb.base/store.exp, gdb.base/store.c: New files.
24666
92806416
DJ
246672002-12-03 Daniel Jacobowitz <drow@mvista.com>
24668
24669 * gdb.base/selftest.exp: Update for current gdb.
24670
3bcbaac5
DJ
246712002-12-03 Daniel Jacobowitz <drow@mvista.com>
24672
24673 * gdb.base/maint.exp: Only dump symbols from one source file
24674 or objfile.
24675
f4f00b1f
DJ
246762002-12-03 Daniel Jacobowitz <drow@mvista.com>
24677
24678 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
24679 function call.
24680
f1c8a949
JB
246812002-11-25 Jim Blandy <jimb@redhat.com>
24682
24683 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
24684 function appearing in error message.
24685
9e297a97
DJ
246862002-11-21 Daniel Jacobowitz <drow@mvista.com>
24687
24688 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
24689
1f312e79
JJ
246902002-11-08 Jeff Johnston <jjohnstn@redhat.com>
24691
d63a86f8
RM
24692 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
24693 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
24694 should be in mi console format. This is part of fix for PR gdb/604.
24695
83c31e7d
FN
246962002-09-18 Fernando Nasser <fnasser@redhat.com>
24697
24698 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
24699 which explicitly prints the zero offset as "+0".
24700
322b3f65
DJ
247012002-10-22 Daniel Jacobowitz <drow@mvista.com>
24702
24703 * gdb.threads/schedlock.c (args): Make unsigned.
24704
247052002-10-21 Daniel Jacobowitz <drow@mvista.com>
24706
24707 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
24708 numbers. Allow "foo2|selected stack frame".
24709 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
24710 * gdb.asm/asmsrc2.s: Likewise.
24711 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
24712 comments.
24713 * gdb.asm/mips.inc: New file.
24714
5e2fe5b8
AF
247152002-10-18 Adam Fedor <fedor@gnu.org>
24716
24717 * gdb.base/default.exp: Update expected output to include 'ObjC'.
24718 * gdb.base/help.exp: Likewise.
24719
abe1a5d0
KB
247202002-10-17 Kevin Buettner <kevinb@redhat.com>
24721
24722 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
24723 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
24724
10abb1d4
JB
247252002-10-02 Jim Blandy <jimb@redhat.com>
24726
24727 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
24728
1f609b42
AC
247292002-10-01 Andrew Cagney <ac131313@redhat.com>
24730
24731 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
24732 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
24733 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
24734 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
24735 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
24736 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
24737 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
24738
0aee02e4
AC
247392002-09-29 Andrew Cagney <ac131313@redhat.com>
24740
24741 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
24742 * mi0-disassemble.exp, mi0-eval.exp: Delete.
24743 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
24744 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
24745 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
24746 * mi0-var-block.exp, mi0-var-child.exp: Delete.
24747 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 24748
6fde09ad
KB
247492002-09-27 Kevin Buettner <kevinb@redhat.com>
24750
24751 * gdb.base/annota1.exp (info break): Make directory components of
24752 path optional since not all compilers emit this debug information.
24753
889bf7c5
PA
24754 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
24755 step ends up stepping out of the function instead of stopping on
24756 the epilogue.
6fde09ad 24757
9e8aab75
KS
247582002-09-26 Keith Seitz <keiths@redhat.com>
24759
24760 * lib/insight-support.exp (gdbtk_start): Figure out where
24761 the insight executable is based on where gdb is. Use this
24762 executable to start insight instead of gdb.
24763
e36180d7
AC
247642002-09-25 Andrew Cagney <cagney@redhat.com>
24765
24766 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
24767
9dd34b2b
AC
247682002-09-24 Andrew Cagney <ac131313@redhat.com>
24769
24770 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
24771 test_isolated_complaints.
24772 (test_empty_complaint): New function.
24773 (test_empty_complaints): New function. Check no output when no
24774 complaints.
d63a86f8 24775
dea97812
KB
247762002-09-19 Jim Blandy <jimb@redhat.com>
24777
a9c64011 24778 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 24779
54951bd7
AC
247802002-09-19 Andrew Cagney <ac131313@redhat.com>
24781
24782 * gdb.gdb/complaints.exp: New file.
24783
dec43320
AC
247842002-09-18 Andrew Cagney <ac131313@redhat.com>
24785
24786 * gdb.base/maint.exp: Check `help maint internal-warning'.
24787
e70d6e3f
DC
247882002-09-18 David Carlton <carlton@math.stanford.edu>
24789
24790 * gdb.c++/m-static.exp: Remove breakpoints depending on line
24791 numbers, and replace them by a single breakpoint after the
24792 constructors are all finished.
24793 Add test 4.
24794 * gdb.c++/m-static.cc: Add test 4.
24795 * gdb.c++/m-static.h: New file.
24796 * gdb.c++/m-static1.cc: New file.
24797
24798 * gdb.c++/printmethod.exp: New file.
24799 * gdb.c++/printmethod.cc: New file.
24800
24801 * gdb.c++/pr-574.exp: New file.
24802 * gdb.c++/pr-574.cc: New file.
24803
afb5c968
CV
248042002-09-18 Corinna Vinschen <vinschen@redhat.com>
24805
24806 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
24807 embedded targets which never actually exit.
24808
31e45dee
FN
248092002-09-18 Fernando Nasser <fnasser@redhat.com>
24810
24811 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
24812 "don't step after run" as unresolved or unsupported, instead of xfail.
24813
a283c5a1
CV
248142002-09-18 Corinna Vinschen <vinschen@redhat.com>
24815
24816 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
24817 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
24818 Add newline to expected string in "step out of main (status wrapper)"
24819 case.
24820
11350d2a
CV
248212002-09-18 Corinna Vinschen <vinschen@redhat.com>
24822
24823 * lib/gdb.exp (rerun_to_main): Allow restarting application.
24824 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
24825
0deec7d6
TT
248262002-09-17 Tom Tromey <tromey@redhat.com>
24827
24828 * gdb.base/printcmds.exp (test_print_string_constants): Expect
24829 \000, not \0, in double-quoted string.
24830
b2b4a1b5
CV
248312002-09-14 Corinna Vinschen <vinschen@redhat.com>
24832
c9d37158 24833 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
24834 string after running the commands execution on breakpoint tests.
24835
1c56143a
CV
248362002-09-13 Corinna Vinschen <vinschen@redhat.com>
24837
24838 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
24839
37f8da45
JB
248402002-09-12 Joel Brobecker <brobecker@gnat.com>
24841
24842 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
24843
08b468e0
KS
248442002-09-10 Keith Seitz <keiths@redhat.com>
24845
24846 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
24847 runto proc.
24848 (mi_run_to_main): Use mi_runto.
24849 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
24850
dc360f58
KS
248512002-09-10 Keith Seitz <keiths@redhat.com>
24852
24853 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
24854 regexp for stopping at main. Could have multiple event notifications.
24855 Don't assume that main was declared with no parameters.
24856 (mi_next): Use mi_step_to.
24857 (mi_step): Use mi_next_to.
24858
ce3abcfb
CV
248592002-09-09 Corinna Vinschen <vinschen@redhat.com>
24860
24861 * gdb.base/default.exp: Fix expected string in `info float' test.
24862
d1f5b980
BE
248632002-09-09 Ben Elliston <bje@redhat.com>
24864
24865 * config/mips.exp: Update comments.
24866 * config/mips-idt.exp: Likewise.
24867 * config/nind.exp: Likewise.
24868 * config/slite.exp: Likewise.
24869 * config/sparclet.exp: Likewise.
24870 * config/udi.exp: Likewise.
24871 * config/vx.exp: Likewise.
24872 * config/vxworks29k.exp: Likewise.
24873
2f71430b
JB
248742002-09-05 Jim Blandy <jimb@redhat.com>
24875
24876 * gdb.threads/killed.exp: Fix test failure message.
24877
7ddebc7e
KS
248782002-09-04 Keith Seitz <keiths@redhat.com>
24879
24880 * lib/mi-support.exp: Update copyright.
24881 (mi_gdb_test): Increase the priority of the expected pattern
24882 so that it matches gdb_test.
24883
0ae67eb3
KS
248842002-09-03 Keith Seitz <keiths@redhat.com>
24885
24886 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
24887 Use integer comparison instead of string comparison for testing
24888 whether binary was built.
24889
38fc42c8
JB
248902002-09-03 Jim Blandy <jimb@redhat.com>
24891
24892 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
24893
b6ff0e81
JB
248942002-08-29 Jim Blandy <jimb@redhat.com>
24895
24896 * gdb.threads/pthreads.exp: Move the portable thread compilation
24897 code into a function in lib/gdb.exp, and call that from here.
24898 * lib/gdb.exp (gdb_compile_pthreads): New function.
24899
07c98896
KS
249002002-08-29 Keith Seitz <keiths@redhat.com>
24901
24902 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
24903 expect_out so that callers can get at it.
24904
0312286c
DJ
249052002-08-23 Daniel Jacobowitz <drow@mvista.com>
24906
24907 * gdb.threads/print-threads.c: New file.
24908 * gdb.threads/print-threads.exp: New file.
24909 * gdb.threads/schedlock.c: New file.
24910 * gdb.threads/schedlock.exp: New file.
24911
dd039bc4
EZ
249122002-08-22 Elena Zannoni <ezannoni@redhat.com>
24913
a9c64011
AS
24914 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
24915 not altivec.c.
dd039bc4 24916
1f36144c
MK
249172002-08-17 Mark Kettenis <kettenis@gnu.org>
24918
24919 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
24920 targets. The problem should be fixed now.
24921
16057ec7 249222002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
24923
24924 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
24925 2002-07-24 change that removes final dots from error messages.
24926
3c1499ad
TT
249272002-08-13 Tom Tromey <tromey@redhat.com>
24928
24929 * gdb.base/readline.exp: New file.
24930
a20ce2c3
AC
249312002-08-01 Andrew Cagney <ac131313@redhat.com>
24932
24933 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
24934 supress message.
24935
db034ac5
AC
249362002-08-01 Andrew Cagney <cagney@redhat.com>
24937
24938 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
24939 CHILL_FOR_TARGET and CHILL_LIB.
24940 * configure.in (configdirs): Remove gdb.chill.
24941 * configure: Regenerate.
24942 * lib/gdb.exp: Obsolete references to chill.
24943 * gdb.fortran/types.exp: Ditto.
24944 * gdb.fortran/exprs.exp: Ditto.
24945
3e000b18
KB
249462002-07-30 Kevin Buettner <kevinb@redhat.com>
24947
24948 * gdb.base/shlib-call.exp (additional_flags): Conditionally
24949 set Irix-specific compile and link flags.
24950
28f4966b
KB
249512002-07-29 Kevin Buettner <kevinb@redhat.com>
24952
24953 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
24954 source files. The ``-o'' option doesn't work with the ``-E'' option
24955 when using the Irix compiler.
24956
46c0d5a6
DJ
249572002-07-19 Daniel Jacobowitz <drow@mvista.com>
24958
24959 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
24960 Improve support for reusing an exec file. Copy exec file
24961 to target, and run gdbserver on the target instead of on the host.
24962
eecf4bed
JB
249632002-07-18 Jim Blandy <jimb@redhat.com>
24964
0f815cdf
JB
24965 * gdb.base/ending-run.exp: Don't expect to see the program end in
24966 some orderly fashion when we're running on a real stand-alone
24967 board.
24968
eecf4bed
JB
24969 * gdb.base/interrupt.exp: Correct logic for skipping tests on
24970 targets that don't support interrupts.
24971
52d309e4
JB
249722002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
24973
24974 * gdb.base/attach.exp: Add patterns to match output from /proc-based
24975 systems.
24976 Move comments in expect statements to inside the actions, so that they
24977 don't get matched against.
24978
ff683d9e
MK
249792002-07-10 Mark Kettenis <kettenis@gnu.org>
24980
24981 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
24982 function when asleep" test.
24983
b5356753
AC
249842002-07-10 Andrew Cagney <ac131313@redhat.com>
24985
24986 * gdb.base/page.exp: Rewrite to handle problems with very long
24987 `info set' output. Update copyright.
24988
6aa4d13a
AC
249892002-06-26 Andrew Cagney <ac131313@redhat.com>
24990
24991 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
24992 gdb.threads-hp.
24993 * gdb.hp/configure: Regenerate.
24994 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
24995 * gdb.hp/gdb.threads-hp/configure: Delete file.
24996 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
24997
8cf8c2b8
AC
249982002-06-22 Andrew Cagney <ac131313@redhat.com>
24999
25000 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
25001 setlocale, bindtextdomain and textdomain.
25002
6827a8f8
JB
250032002-06-11 Jim Blandy <jimb@redhat.com>
25004
919d772c
JB
25005 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
25006 preprocessor macro information is present.
25007
6827a8f8
JB
25008 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
25009 tests.
25010
c15b0d21
MS
250112002-06-06 Michael Snyder <msnyder@redhat.com>
25012
c5984d70
MS
25013 * gdb.base/overlays.exp: Record addresses of overlay
25014 functions in TCL variables rather than in GDB variables,
25015 to avoid having GDB convert them to pointers (with loss
25016 of information).
25017
d63a86f8 25018 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 25019 default linker script changes.
c15b0d21
MS
25020 * gdb.base/long_long.exp: Add check for sizeof (long double).
25021
be26fe0d
ML
250222002-06-06 Michal Ludvig <mludvig@suse.cz>
25023
25024 * gdb.asm/asm-source.exp: Add x86-64 target.
25025 * gdb.asm/x86_64.inc: New.
d63a86f8 25026
258093ca 250272002-05-30 Michael Chastain <mec@shout.net>
258093ca 25028
4b3153f1 25029 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
25030 * gdb.c++/m-static.cc: New file.
25031 * gdb.c++/m-static.exp: New file.
25032
241264c6
MS
250332002-05-28 Michael Snyder <msnyder@redhat.com>
25034
25035 * gdb.base/call-ar-st.exp: Allow for reduced floating point
25036 precision.
25037
9bba8c8f 250382002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 25039
4b3153f1 25040 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
25041 * gdb.c++/m-data.cc: New file.
25042 * gdb.c++/m-data.exp: New file.
25043
250442002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 25045
4b3153f1 25046 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 25047 * gdb.c++/try_catch.cc: New file.
d63a86f8 25048 * gdb.c++/try_catch.exp: New file.
9bba8c8f 25049
def1b996
MC
250502002-05-27 Michael Chastain <mec@shout.net>
25051
25052 * gdb.c++/local.exp: Accept more nested types in output.
25053
522ba268
MC
250542002-05-26 Michael Chastain <mec@shout.net>
25055
25056 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
25057
277254ba
MS
250582002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
25059
25060 * lib/gdb.exp (gdb_wrapper_init): Just because
25061 gdb_wrapper_file exists, this does not mean that the file
25062 should not be rebuilt. That is what gdb_wrapper_initialized
25063 is for.
25064 (default_gdb_init): Reset gdb_wrapper_initialized.
25065
b61a8733
MS
250662002-05-23 Michael Snyder <msnyder@redhat.com>
25067
d63a86f8 25068 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
25069 the precision of the floating point test results.
25070 * gdb.base/call-rt-st.exp: Ditto.
25071
b61a8733
MS
25072 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
25073 * gdb.base/call-rt-st.exp: Ditto.
25074
56f6e910
MC
250752002-05-19 Michael Chastain <mec@shout.net>
25076
25077 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
25078
ad0b0016
EZ
250792002-05-19 Elena Zannoni <ezannoni@redhat.com>
25080
a9c64011
AS
25081 * configure.in (configdirs): Add gdb.arch.
25082 * configure: Regenerate.
ad0b0016 25083
f617d2b6
JB
250842002-05-17 Jim Blandy <jimb@redhat.com>
25085
25086 * gdb.base/completion.exp: Recognize the more detailed error
25087 messages produced by the macro expander's lexical analyzer.
25088
eac2a696
EZ
250892002-05-14 Elena Zannoni <ezannoni@redhat.com>
25090
a9c64011
AS
25091 * gdb.arch/altivec-abi.c: New file.
25092 * gdb.arch/altivec-abi.exp: New file.
25093 * gdb.arch/altivec-regs.c: New file.
25094 * gdb.arch/altivec-regs.exp: New file.
eac2a696 25095
2fdde8f8
DJ
250962002-05-14 Daniel Jacobowitz <drow@mvista.com>
25097
25098 * gdb.base/maint.exp (maint print type): Update for new type
25099 structure.
d63a86f8 25100
e31f1a7c
EZ
251012002-05-14 Elena Zannoni <ezannoni@redhat.com>
25102
25103 * gdb.arch: New directory.
25104 * gdb.arch/configure.in: New file.
25105 * gdb.arch/configure: New file.
25106 * gdb.arch/Makefile.in: New file.
25107
db589741
CV
251082002-05-13 Corinna Vinschen <vinschen@redhat.com>
25109
25110 * gdb.asm/asm-source.exp: Add v850 as supported target.
25111 * gdb.asm/v850.inc: New file.
25112
8ce2a7dc
DJ
251132002-05-13 Daniel Jacobowitz <drow@mvista.com>
25114
25115 * gdb.c++/annota2.exp (annotate-quit): Add comment.
25116
df763c7f
DJ
251172002-05-12 Daniel Jacobowitz <drow@mvista.com>
25118
25119 * gdb.base/break.exp: Check 'break "marker2"'.
25120
377daeed
MS
251212002-05-10 Michael Snyder <msnyder@redhat.com>
25122
25123 * gdb.base/long_long.exp: Fix typo.
25124
c4b7bc2b
JB
251252002-05-10 Jim Blandy <jimb@redhat.com>
25126
ecac9a4e
JB
25127 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
25128 a bug.
25129
c4b7bc2b
JB
25130 * gdb.base/printcmds.exp (test_integer_literals_rejected):
25131 Recognize more detailed error message produced by the macro
25132 expander's lexical analyzer.
25133 * lib/gdb.exp (test_print_reject): Same.
25134
e71019a1
MK
251352002-05-09 Mark Kettenis <kettenis@gnu.org>
25136
25137 * gdb.c++/method.exp: Fix typo.
25138
fedfc8e6
MS
251392002-05-08 Michael Snyder <msnyder@redhat.com>
25140
166a1957
MS
25141 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
25142 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 25143 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
25144 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
25145 Add iftarget clause for strongarm.
d63a86f8 25146
f1c47eb2
MS
251472002-05-06 Michael Snyder <msnyder@redhat.com>
25148
cb9a9d3e
MS
25149 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
25150 (gdb_continue_to_end): Accept output from status wrapper.
25151 * gdb.base/ending-run.exp: Add case for output from status wrapper.
25152 Clean up fail messages to match pass messages.
25153
f1c47eb2
MS
25154 Enable the "needs_status_wrapper" testsuite feature.
25155 * lib/gdb.exp (gdb_wrapper_init): New procedure.
25156 (gdb_compile): Conditionally call gdb_wrapper_init.
25157 * gdb.base/a2-run.exp: Recognize output from status wrapper.
25158 * gdb.c++/method.exp: Recognize output from status wrapper.
25159
6079c749
BE
251602002-05-06 Ben Elliston <bje@redhat.com>
25161From Graydon Hoare <graydon@redhat.com>
25162
25163 * config/sid.exp: Include support for "rawsid" protocol.
25164
188baff3
JB
251652002-05-03 Jim Blandy <jimb@redhat.com>
25166
25167 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
25168 * gdb.c++/hang3.C: New file.
25169
b9c07f0f
AC
251702002-05-04 Andrew Cagney <ac131313@redhat.com>
25171
25172 * gdb.base/default.exp: Remove obsolete code.
25173 * gdb.c++/misc.exp: Ditto. Update copyright.
25174 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
25175 * gdb.base/whatis.exp: Ditto. Update copyright.
25176 * gdb.base/scope.exp: Ditto. Update copyright.
25177 * gdb.base/ptype.exp: Ditto. Update copyright.
25178 * gdb.base/printcmds.exp: Ditto. Update copyright.
25179 * gdb.base/opaque.exp: Ditto. Update copyright.
25180 * gdb.base/list.exp: Ditto.
25181 * gdb.base/funcargs.exp: Ditto. Update copyright.
25182 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
25183 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
25184 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
25185 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
25186 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
25187 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
25188
5c7a0397
MS
251892002-05-02 Michael Snyder <msnyder@redhat.com>
25190
d6dcc264 25191 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
25192 * gdb.base/long_long.exp: Add xscale target.
25193 * gdb.base/default.exp: Add xscale target.
25194
eb7f1c48
JB
251952002-05-01 Jim Blandy <jimb@redhat.com>
25196
25197 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
25198 gdb.c++/hang.exp: New test.
25199
a6befae8
FF
252002002-05-01 Fred Fish <fnf@redhat.com>
25201
25202 * gdb.base/completion.exp: Handle completions of "./Make" for
25203 more than one completion possibility, as is the case when we
25204 build and test in the source tree.
25205
0a310277
AG
252062002-04-29 Anthony Green <green@redhat.com>
25207
25208 * gdb.java/jmisc1.exp: New file.
25209 * gdb.java/jmisc2.exp: New file.
25210
6ff9af88
DJ
252112002-04-24 Daniel Jacobowitz <drow@mvista.com>
25212
25213 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
25214
96b3d632
EZ
252152002-04-23 Elena Zannoni <ezannoni@redhat.com>
25216
25217 * gdb.base/help.exp: Change 'help status' to allow for target
25218 dependent output differences.
25219
5019bb54
MC
252202002-04-22 Michael Chastain <mec@shout.net>
25221
25222 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
25223
a805a116
MC
252242002-04-22 Michael Chastain <mec@shout.net>
25225
25226 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
25227
a1706bfd
DM
252282002-04-17 David S. Miller <davem@redhat.com>
25229
25230 * gdb.asm/sparc64.inc: New file.
25231 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
25232
a73a20a2
EZ
252332002-04-19 Elena Zannoni <ezannoni@redhat.com>
25234
25235 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
25236 instruction file directly into the build tree. Clean up at end of
25237 test.
25238
ba678339
DM
252392002-04-18 David S. Miller <davem@redhat.com>
25240
25241 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
25242 handle 64-bit platforms correctly.
25243 * gdb.base/maint.exp: Likewise.
25244
b03399da
KB
252452002-04-18 Kevin Buettner <kevinb@redhat.com>
25246
25247 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
25248 ``-fpic'' when compiling files comprising a shared library, but
25249 it does need additional linker flags in order to find shared
25250 libraries at run time.
25251
e2004992
KB
252522002-04-18 Kevin Buettner <kevinb@redhat.com>
25253
25254 * gdb.base/cvexpr.c (use): New function.
25255 (main): Invoke use() on all global variables to prevent
25256 some linkers from deleting these otherwise unused symbols.
25257
d8937120
MC
252582002-04-17 Michael Chastain <mec@shout.net>
25259From David S. Miller <davem@redhat.com>
25260
25261 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
25262 handle 64-bit platforms correctly.
25263
ffd61a58
MS
252642002-04-12 Michael Snyder <msnyder@redhat.com>
25265From Jim Blandy <jimb@redhat.com>
a9c64011 25266 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
25267 script can handle this instead.
25268 * gdb.base/bar.c (barx): Same.
25269 * gdb.base/baz.c (bazx): Same.
25270 * gdb.base/grbx.c (grbxx): Same.
25271
25272 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
25273 manager doesn't automatically unmap overlays unnecessarily.
25274
6b8426a6
MH
252752002-04-10 Martin M. Hunt <hunt@redhat.com>
25276
25277 * gdb.base/ending-run.exp: Fix pattern for Mips targets
25278 stepping out of main.
25279
34af4875
MC
252802002-04-09 Michael Chastain <mec@shout.net>
25281
25282 * gdb.c++/local.cc (main): Move call to marker1() inside nested
25283 scope so that the nested scope tests will make sense.
25284 * gdb.c++/local.exp: Write patterns that actually work with gcc
25285 (the HP patterns "were never known to work with gcc").
25286 Keep the old aCC patterns too.
25287
2d1676a0
DJ
252882002-04-09 Daniel Jacobowitz <drow@mvista.com>
25289
25290 * gdb.base/attach.exp: Correct target board test.
25291
3a63e3f9
MC
252922002-04-08 Michael Chastain <mec@shout.net>
25293
25294 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
25295 in a const method. Add some xfail and fail cases for configurations
25296 that do not emit the "const ...".
25297
f18dabd2
MC
252982002-04-07 Michael Chastain <mec@shout.net>
25299
25300 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
25301 Accept "A * const" and "const A * const" as type of "this".
25302 Fix spelling of getFunky throughout. Make messages uniform.
25303
0fcddd82
EZ
253042002-04-07 Elena Zannoni <ezannoni@redhat.com>
25305
a9c64011 25306 Work around for PR gdb/285:
0fcddd82
EZ
25307 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
25308
16a8534a
EZ
253092002-04-07 Elena Zannoni <ezannoni@redhat.com>
25310
25311 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
25312 instructions file at run time instead of configure time.
25313 Sometimes we run the test in a directory that is not the one we
25314 configured in.
25315 * gdb.asm/configure.in: Delete creation of symlink.
25316 * gdb.asm/configure: Regenerate.
25317
24181d81
JB
253182002-04-05 J. Brobecker <brobecker@gnat.com>
25319
25320 * gdb.gdb/xfullpath.exp: New test, to exercise the new
25321 xfullpath () function.
25322
7cdb7107
DJ
253232002-04-04 Daniel Jacobowitz <drow@mvista.com>
25324
25325 * gdb.asm/Makefile.in: Correct dependencies.
25326
25327 * gdb.asm/powerpc.inc: New file.
25328 * gdb.asm/asm-source.exp: Add PowerPC.
25329 * gdb.asm/configure.in: Likewise.
25330 * gdb.asm/configure: Regenerated.
25331
a7d17088
DJ
253322002-04-04 Daniel Jacobowitz <drow@mvista.com>
25333
25334 * gdb.base/relocate.exp: New file.
25335 * gdb.base/relocate.c: New file.
25336
cd721503
FF
253372002-04-04 Fred Fish <fnf@redhat.com>
25338
25339 * gdb.base/step-test.exp: Update comment regarding stopping in
25340 memcpy/bcopy calls inserted as part of the compiler runtime.
25341
b22ad7a7
MS
253422002-04-04 Michael Snyder <msnyder@redhat.com>
25343
25344 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
25345
5f279fa6
DJ
253462002-04-03 Daniel Jacobowitz <drow@mvista.com>
25347
25348 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
25349 (gdb_expect): Remove $notransfer hack.
25350
dd0fd3ce
DJ
253512002-04-02 Daniel Jacobowitz <drow@mvista.com>
25352
25353 * gdb.c++/classes.exp ("calling method for small class"): Match
25354 updated register output.
25355
1e50cda1
DJ
253562002-03-30 Daniel Jacobowitz <drow@mvista.com>
25357
25358 Fix PR gdb/452
25359 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
25360 when finished. Make gdb_file_cmd send "exec-file" when
25361 appropriate.
25362
24015922
DJ
253632002-03-30 Daniel Jacobowitz <drow@mvista.com>
25364
25365 * gdb.base/attach.exp: Remove extra setup_xfail.
25366
dd7dfd64
MS
253672002-03-26 Michael Snyder <msnyder@redhat.com>
25368
25369 * gdb.base/default.exp: Add tests for dump, append, and restore.
25370 * gdb.base/help.exp: Add tests for dump, append, and restore.
25371 * gdb.base/dump.exp: New file, test dump, append and restore.
25372 * gdb.base/dump.c: New file.
25373
48b2f8d7
MS
253742002-03-27 Michael Snyder <msnyder@redhat.com>
25375
d63a86f8 25376 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
25377 clean-ups in help messages.
25378
05b4d525
FF
253792002-03-26 Fred Fish <fnf@redhat.com>
25380
25381 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
25382 have debugging info for those functions and the compiler uses them
25383 internally to copy structs around.
25384
d7679631
FF
253852002-03-26 Fred Fish <fnf@redhat.com>
25386
25387 * gdb.base/list.exp: Revert the change made yesterday and add note
25388 about why we don't list the default lines for remote targets.
25389
523ac3f9
MS
253902002-03-25 Michael Snyder <msnyder@redhat.com>
25391
25392 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
25393
754b2b8d
FF
253942002-03-25 Fred Fish <fnf@redhat.com>
25395
25396 * gdb.base/list.exp: This test works on remote targets so remove
25397 the short circuit for remote targets. Update copyright.
25398
33c3e192
FF
253992002-03-25 Fred Fish <fnf@redhat.com>
25400
25401 * gdb.base/attach.exp: Fix logic error that was suppressing this
25402 test for all non hppa*-*-hpux* targets, instead of the hp target.
25403 Move comments closer to the suppression point. Also now need to
25404 check that we are running natively.
25405
d43e73ee
MS
254062002-03-22 Michael Snyder <msnyder@redhat.com>
25407
882c8f02
MS
25408 * gdb.base/default.exp: Add test for gcore. Update copyright.
25409 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 25410
04c12f60
FF
254112002-03-06 Fred Fish <fnf@redhat.com>
25412
25413 * gdb.base/funcargs.c: Remove extraneous ';' character.
25414 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
25415
b43df995
MC
254162002-03-04 Michael Chastain <mec@shout.net>
25417
25418 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
25419 accommodate gcc v3 function signature.
25420 * gdb.mi/mi0-var-cmd-exp: Ditto.
25421
92362027
AC
254222002-02-24 Andrew Cagney <ac131313@redhat.com>
25423
25424 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
25425 ``GNU/Linux'' or ``Linux kernel''
25426 * testsuite/gdb.threads/pthreads.c: Ditto.
25427
258ad32d
MC
254282002-02-24 Michael Chastain <mec@shout.net>
25429
25430 * gdb.threads/pthreads.c (thread1): Add a return statement.
25431 (thread2): Likewise.
25432 (foo): Likewise.
25433
04c3b3d4
MC
254342002-02-23 Michael Chastain <mec@shout.net>
25435
25436 * gdb.threads/linux-dp.c (philosopher): Add a return statement
25437 to placate gcc.
25438
5a2a0a20
MC
254392002-02-23 Michael Chastain <mec@shout.net>
25440
25441 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
25442 test "ptype bint". The test passes on all my stabs configurations.
25443
a640f7fc
JB
254442002-02-21 Jim Blandy <jimb@redhat.com>
25445
27924826
JB
25446 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
25447 filename at a time, and watch for the ones we want to see.
25448
a640f7fc
JB
25449 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
25450 types of pointers to prototyped functions.
25451
edcc8c75
AC
254522002-02-20 Andrew Cagney <ac131313@redhat.com>
25453
25454 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
25455 signed, unsigned and straight char.
25456 (padding_char, padding_short, padding_int, padding_long,
25457 padding_long_long, padding_float, padding_double,
25458 padding_long_double): New global variables.
25459 (fill, fill_structs): New functions.
25460
25461 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
25462 for correctly sized writes. Update copyright.
25463 (get_valueof): New procedure.
25464 (get_sizeof): Call get_valueof.
25465 (check_valueof): New procedure.
25466 (check_padding): New procedure.
25467
ac57ea44
MC
254682002-02-20 Michael Chastain <mec@shout.net>
25469
25470 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
25471 to setup_xfail. Document some of the remaining calls.
25472
7a10c941
MC
254732002-02-18 Michael Chastain <mec@shout.net>
25474
25475 * gdb.c++/userdef.exp: Update copyright year.
25476
fb8acdcc
DJ
254772002-02-18 Daniel Jacobowitz <drow@mvista.com>
25478
25479 * gdb.c++/userdef.exp: Test overloaded operators properly.
25480 Remove xfails.
25481
fda6ae12
MS
254822002-02-14 Michael Snyder <msnyder@redhat.com>
25483
25484 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
25485
676a0442
DJ
254862002-02-14 Daniel Jacobowitz <drow@mvista.com>
25487
25488 * gdb.base/a2-run.exp: Check for a remote target properly.
25489 * gdb.base/annota1.exp: Likewise.
25490 * gdb.base/list.exp: Likewise.
25491 * gdb.base/reread.exp: Likewise.
25492 * gdb.base/scope.exp: Likewise.
25493 * gdb.base/shlib-call.exp: Likewise.
25494 * gdb.base/term.exp: Likewise.
25495 * gdb.c++/annota2.exp: Likewise.
25496
78b4f468
RE
254972002-02-13 Richard Earnshaw <rearnsha@arm.com>
25498
25499 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
25500
9a81ba51
MC
255012002-02-10 Michael Chastain <mec@shout.net>
25502
25503 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
25504 (call_after_alloca): Ditto.
25505
004af6c7
DJ
255062002-02-10 Daniel Jacobowitz <drow@mvista.com>
25507
25508 * gdb.base/ending-run.exp: Guard "cont" test with
25509 gdb_skip_stdio_test.
25510
37225f62
JB
255112002-02-06 Jim Blandy <jimb@redhat.com>
25512
25513 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
25514 from here...
25515 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
25516 To here. Disable this test on non-HP platforms. Add big comment.
25517
fe6fdd96
MS
255182002-02-04 Michael Snyder <msnyder@redhat.com>
25519
25520 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
25521 other than d10v and m32r.
25522
036fad3f
RE
255232002-02-02 Richard Earnshaw <rearnsha@arm.com>
25524
25525 * gdb.base/default.exp: Rewrite test patterns to reduce time
25526 taken to match them.
25527
7148ab62
DJ
255282002-01-30 Daniel Jacobowitz <drow@mvista.com>
25529
25530 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
25531 Allow a start function above main.
25532 * gdb.threads/linux-dp.exp: Fix copyright date.
25533
396cc255
DJ
255342002-01-30 Daniel Jacobowitz <drow@mvista.com>
25535
a9c64011
AS
25536 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
25537 (check_philosopher_stack): Check for manager thread before checking
25538 for a just-starting thread.
396cc255 25539
f038d31b
DJ
255402002-01-30 Daniel Jacobowitz <drow@mvista.com>
25541
25542 From Neil Booth <neil@daikokuya.demon.co.uk>:
25543 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
25544 warnings.
25545
b3ff9d9a
FF
255462002-01-21 Fred Fish <fnf@redhat.com>
25547
25548 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
25549 not caller.
25550
39ad761d
JB
255512002-01-21 Jim Blandy <jimb@redhat.com>
25552
25553 * gdb.base/reread.exp: Check that GDB properly re-reads the
25554 executable file when it changes while no inferior is running.
25555
aaf320fa
FF
255562002-01-21 Fred Fish <fnf@redhat.com>
25557
a9c64011
AS
25558 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
25559 optionally accept the "shlib events" variation.
aaf320fa 25560
808a31f5
JB
255612002-01-21 Jim Blandy <jimb@redhat.com>
25562
25563 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
25564 call `fflush' after every `printf', so that the output is produced
25565 at predictable points, regardless of whatever buffering does (or
25566 doesn't) take place.
25567 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
25568 at different points.
25569
4420d5e2
DJ
255702002-01-20 Daniel Jacobowitz <drow@mvista.com>
25571
25572 * gdb.c++/inherit.exp: Update copyright years.
25573 * gdb.c++/method.exp: Likewise.
25574
3e36a0f4
DJ
255752002-01-20 Daniel Jacobowitz <drow@mvista.com>
25576
25577 * gdb.c++/classes.exp: Update for improved v3 support and skipping
25578 artificial methods/arguments.
25579 * gdb.c++/derivation.exp: Likewise.
25580 * gdb.c++/inherit.exp: Likewise.
25581 * gdb.c++/method.exp: Likewise.
25582 * gdb.c++/virtfunc.exp: Likewise.
25583
b4ceaee6
AC
255842002-01-18 Andrew Cagney <ac131313@redhat.com>
25585
25586 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
25587 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
25588 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
25589 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
25590 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
25591 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
25592
ecace851
JB
255932002-01-17 Jim Blandy <jimb@redhat.com>
25594
25595 * gdb.asm/asm-source.exp (info symbol): Take another shot at
25596 anchoring the pattern matching the entry point symbol's name.
25597
375fc983
AC
255982002-01-17 Andrew Cagney <ac131313@redhat.com>
25599
25600 * gdb.base/maint.exp: Update ``maint internal-error'' to match
25601 continue/quit query. Update copyright.
25602
fe6fdd96
MS
256032002-01-14 Michael Snyder <msnyder@redhat.com>
25604
25605 * gdb.base/gcore.exp: Remove extra debugging output.
25606
e017c81f
DJ
256072002-01-13 Daniel Jacobowitz <drow@mvista.com>
25608
25609 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
25610 for slightly dubious v2 mangled string.
25611
37ab3bf8
DJ
256122002-01-13 Daniel Jacobowitz <drow@mvista.com>
25613
25614 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
25615
1bc05c3a 256162002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 25617
1bc05c3a 25618 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 25619
1bc05c3a
JM
25620 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
25621 constructors.
25622 * gdb.c++/derivation.exp: Likewise.
25623 * gdb.c++/templates.exp: Likewise.
25624 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 25625
1bc05c3a
JM
256262002-01-10 Michael Snyder <msnyder@redhat.com>
25627
25628 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 25629
a911c360
MS
256302002-01-08 Michael Snyder <msnyder@redhat.com>
25631
25632 * gdb.base/gcore.exp: New test for generate-core-file command.
25633 * gdb.base/gcore.c: Testcase for above.
25634 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
25635
ea2119ec
JM
256362002-01-08 Jason Merrill <jason@redhat.com>
25637
25638 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
25639
68203136
FF
256402002-01-07 Fred Fish <fnf@redhat.com>
25641
25642 * gdb.c++/overload.exp: Remove unconditional xfails for:
25643 print foo_instance1.overloadargs(1)
25644 print foo_instance1.overloadargs(1, 2)
25645 print foo_instance1.overloadargs(1, 2, 3)
25646 print foo_instance1.overloadargs(1, 2, 3, 4)
25647 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
25648 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
25649 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
25650 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
25651 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
25652 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
25653 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
25654 print foo_instance1.overload1arg()
25655 print foo_instance1.overload1arg((char)arg2)
25656 print foo_instance1.overload1arg((signed char)arg3)
25657 print foo_instance1.overload1arg((unsigned char)arg4)
25658 print foo_instance1.overload1arg((int)arg7)
25659 print foo_instance1.overload1arg((unsigned int)arg8)
25660 print foo_instance1.overload1arg((float)arg11)
25661 print foo_instance1.overload1arg((double)arg12)
d63a86f8 25662
21b9b5b1
MS
256632002-01-07 Michael Snyder <msnyder@redhat.com>
25664
25665 * gdb.base/huge.exp: New test. Print a very large target data object.
25666 (skip_huge_test): New test variable. Define if you want to skip this
25667 test. The test reads an 8 megabyte data object from the target, so it
25668 might be very time consuming on remote targets with a slow connection.
25669 * gdb.base/huge.c: New file. Test case for above.
25670
725f922e
FF
256712002-01-07 Fred Fish <fnf@redhat.com>
25672
25673 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
25674 g_instance.bfoo, and g_instance.cfoo.
25675
889bf7c5 256762002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 25677
889bf7c5
PA
25678 * gdb.base/break.c (multi_line_if_conditional): New function.
25679 (multi_ilne_while_conditional): Likewise.
25680 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
25681 IF or WHILE condition puts the breakpoint at the start of
25682 the condition.
f286b2c3 25683
634d57ec
JL
25684 * gdb.base/selftest.exp (backtrace through signal handler): Remove
25685 hppa*-*-hpux* expected failure.
25686 * gdb.base/structs.exp (do_function_calls): Similarly.
25687
25688 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
25689 watchpoints.
25690
9fbfe2dc
AC
256912002-01-06 Andrew Cagney <ac131313@redhat.com>
25692
25693 Fix PR gdb/66.
25694 * gdb.base/structs.exp: Replace skip for a29k with skip for
25695 gdb,cannot_call_functions.
25696 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
25697 * gdb.base/callfuncs.exp: Ditto.
25698 * gdb.base/call-rt-st.exp: Ditto.
25699 * gdb.base/call-strs.exp: Ditto.
25700 * gdb.base/callfwmall.exp: Ditto.
25701 * gdb.base/scope.exp: Obsolete xfail a29k.
25702 * gdb.c++/misc.exp: Ditto.
25703 * gdb.c++/cplusfuncs.exp: Ditto.
25704 * gdb.base/ptype.exp: Ditto.
25705 * gdb.base/printcmds.exp: Ditto.
25706 * gdb.base/opaque.exp: Ditto.
25707 * gdb.base/list.exp: Ditto.
25708 * gdb.base/funcargs.exp: Ditto.
25709 * gdb.base/default.exp: Ditto.
25710
8ddad156
MS
257112002-01-04 Michael Snyder <msnyder@redhat.com>
25712
ca4976a6 25713 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
25714 * gdb.base/maint.exp: Add tests for maint info sections options.
25715
1b074332
JL
25716Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
25717
25718 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
25719
7d159115
CV
257202001-12-20 Corinna Vinschen <vinschen@redhat.com>
25721
25722 * gdb.asm/arm.inc: New file.
25723 * gdb.asm/asm-source.exp: Add arm targets.
25724 * gdb.asm/configure.in: Ditto.
25725 * gdb.asm/configure: Recreated from configure.in.
25726
8fb87725
JL
25727Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
25728
afabe08c
JL
25729 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
25730 with HP's compiler.
25731 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
25732 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
25733 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
25734 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
25735
25736 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
25737 either HP's compilers or GCC.
25738
db521deb
JL
25739 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
25740 a SIGBUS or SIGSEGV.
25741
25742 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
25743
25744 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
25745 can be compiled with either HP's compiler or GCC.
25746
cfa88ab7
JL
25747 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
25748 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
25749 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
25750
ca344dff
JL
25751 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
25752 to match current gdb output. Update due to using auto-solib-limit
25753 for limiting instead of overloading auto-solib-add.
25754 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
25755 test program.
25756
3f3c6e55 25757 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
25758 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
25759 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
25760 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
25761 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
25762 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
25763 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
25764 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
25765 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
25766 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
25767 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
25768 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
25769 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 25770
8fb87725
JL
25771 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
25772 a SIGTRAP to the inferior.
25773
cf599fa7
CV
257742001-12-19 Corinna Vinschen <vinschen@redhat.com>
25775
25776 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
25777 Substitute call to target_link by call to gdb_compile.
25778
2cd045cd
JL
25779Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
25780
a9c64011
AS
25781 * gdb.base/break.exp: Fix HP specific search string when testing
25782 backtracing in a called function.
2cd045cd 25783
a9c64011
AS
25784 * gdb.base/constvars.exp: Only set lang to C++ if we're
25785 compiling the test with HP's compilers.
25786 * gdb.base/volatile.exp: Similarly.
2cd045cd 25787
99ebe9ac
JB
257882001-12-19 Jim Blandy <jimb@redhat.com>
25789
25790 * gdb.base/printcmds.exp: Expect the null character to be printed
25791 as '\0', and the '\013' to be printed as '\v'.
25792 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
25793 * gdb.base/setvar.exp: Same.
25794
b9891b29
JB
257952001-12-17 Jim Blandy <jimb@redhat.com>
25796
0eba65ab
JB
25797 * gdb.base/completion.exp: Rather than completing very long
25798 filenames, which can make the readline library produce output we
25799 don't recognize, cd to the directory first, and then complete
25800 using nice, short relative paths.
25801
6970b5b1
JB
25802 * gdb.base/completion.exp: On some systems, there is, in fact, a
25803 variable named `b' in scope, since GDB treats all static
a9c64011
AS
25804 variables as being in scope. So use `no_var_named_this'
25805 instead of `b'.
6970b5b1 25806
b9891b29 25807 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 25808 can't find the core file's registers as a failure.
b9891b29 25809
e6ccd35f
JSC
258102001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
25811
a9c64011
AS
25812 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
25813 test expect string more specific.
e6ccd35f 25814
105ba819
CV
258152001-12-13 Corinna Vinschen <vinschen@redhat.com>
25816
25817 * gdb.asm/asm-source.exp: Add support for xstormy16.
25818 * gdb.asm/configure.in: Ditto.
25819 * gdb.asm/configure: Rebuild.
25820 * gdb.asm/xstormy16.inc: New file.
25821
e9e79dd9
FF
258222001-12-10 Fred Fish <fnf@redhat.com>
25823
25824 * gdb.base/maint.exp: Update to match changes in type dumping code.
25825
347dc97d
JB
258262001-12-10 Jim Blandy <jimb@redhat.com>
25827
25828 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
25829 matching the entry point symbol's name at the beginning of the
25830 line.
347dc97d 25831
5178b9d6
DJ
258322001-12-07 Daniel Jacobowitz <drow@mvista.com>
25833
25834 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
25835 gdb.c++/inherit.exp, gdb.c++/method.exp,
25836 gdb.c++/namespace.exp, gdb.c++/templates.exp,
25837 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
25838 and class layout support.
25839
af890c52
DJ
258402001-12-07 Daniel Jacobowitz <drow@mvista.com>
25841
25842 * gdb.c++/classes.exp: Add test for static member function.
25843 * gdb.c++/misc.cc: Add class with static member function.
25844
7a345fb3
JB
258452001-12-07 Jim Blandy <jimb@redhat.com>
25846
f2e54a80 25847 If GDB says it can't find the struct the function returned, report
8032bf31
JB
25848 those tests as `unsupported'.
25849 * gdb.base/call-rt-st.exp (print_struct_call): New function.
25850 Rewrite subsequent tests to use it.
25851
25852 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
25853 those tests as `unsupported'.
25854 * gdb.base/structs.exp (call_struct_func): New function.
25855 (do_function_calls): Use call_struct_func to call the functions
25856 returning structs.
25857
0bc69509
JB
25858 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
25859 whether functions are prototyped or not, so we can't possibly pass
25860 arguments to t_float_values2 properly.
25861
7a345fb3
JB
25862 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
25863 value of `timeout' for targets other than the mips*tx39-*.
25864
edb6ede1
MS
258652001-12-06 Michael Snyder <msnyder@redhat.com>
25866
d63a86f8 25867 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
25868 and detect whether the start symbol has a leading underscore.
25869
2d842f13
JB
258702001-12-04 Jim Blandy <jimb@redhat.com>
25871
25872 * gdb.base/completion.exp: Clarify indentation.
25873
68550daf
JB
258742001-12-03 Jim Blandy <jimb@redhat.com>
25875
25876 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
25877 variables on the S/390, not `.word'.
25878
cd5195a8
JB
258792001-11-30 Jim Blandy <jimb@redhat.com>
25880
25881 Add assembly-source tests for s390-ibm-linux.
25882 * gdb.asm/s390.inc: New file.
25883 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
25884 the S/390 architecture.
a9c64011 25885 * gdb.asm/configure: Regenerated.
cd5195a8 25886
ca9efc90
MS
258872001-11-30 Michael Snyder <msnyder@redhat.com>
25888
25889 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
25890 next, info source, info sources, info line, global and static
25891 variables, and static functions.
25892 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
25893 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
25894 * gdb.asm/asmsrc1.s: Add a static function and some variables.
25895 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
25896 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
25897 (gdbasm_leave): Restore frame pointer.
25898 (gdbasm_startup): Copy stack set-up from crt0.S.
25899
d0e66976
FN
259002001-11-26 Fernando Nasser <fnasser@redhat.com>
25901
25902 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
25903 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
25904 to a local (non-static) variable. Copy tstruct.a to a static buffer
25905 and return a pointer to that buffer.
25906 * gdb.base/callfwmall.c (t_structs_a): Ditto.
25907
e2334072
MK
259082001-11-24 Mark Kettenis <kettenis@gnu.org>
25909
25910 * gdb.asm/configure.in: Fix recognition of ix86 target.
25911 * gdb.asm/configure: Regenerate.
25912
756caa3d
MS
259132001-11-21 Michael Snyder <msnyder@redhat.com>
25914
25915 * gdb.asm/sparc.inc: New file.
25916 * gdb.asm/asm-source.exp: Recognize sparc target.
25917 * gdb.asm/configure.in: Recognize sparc target.
25918 * gdb.asm/configure: Regenerate.
d63a86f8 25919
9a4d72d5
MS
259202001-11-21 Michael Snyder <msnyder@redhat.com>
25921
25922 * gdb.asm/m32r.inc: New file.
25923 * gdb.asm/asm-source.exp: Recognize m32r target.
25924 * gdb.asm/configure.in: Recognize m32r target.
25925 * gdb.asm/configure: Regenerate.
25926
a773d1cd
MS
259272001-11-20 Michael Snyder <msnyder@redhat.com>
25928
017ac23d
MS
25929 * gdb.asm/i386.inc: New file.
25930 * gdb.asm/asm-source.exp: Recognize ix86 target.
25931 * gdb.asm/configure.in: Recognize ix86 target.
25932 * gdb.asm/configure: Regenerate.
25933
a773d1cd
MS
25934 * gdb.c++/namespace.exp: Fix quotes in output messages.
25935
bb632afb
MS
259362001-11-14 Michael Snyder <msnyder@redhat.com>
25937
25d559ca 25938 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
25939 qualifier in a type cast expression, to designate an address
25940 in the instruction space (Harvard architecture).
25941
4749e309
MS
259422001-11-13 Michael Snyder <msnyder@redhat.com>
25943
25944 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
25945 Tests for expressions using 'const' and 'volatile'.
25946
25050984
CV
259472001-11-13 Corinna Vinschen <vinschen@redhat.com>
25948
25949 * gdb.asm/asm-sources.exp: Allow defining linker flags.
25950
1902c51f
DJ
259512001-11-12 Daniel Jacobowitz <drow@mvista.com>
25952
25953 * lib/mi-support.exp (mi_run_to_helper): Move comments
25954 outside of gdb_expect.
25955
dcf95b47
DJ
259562001-11-11 Daniel Jacobowitz <drow@mvista.com>
25957
25958 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
25959 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
25960 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
25961 mi0_run_to): New functions.
25962 * gdb.mi/mi-simplerun.exp: Use them.
25963 * gdb.mi/mi0-simplerun.exp: Likewise.
25964 * gdb.mi/mi-var-cmd.exp: Likewise.
25965 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 25966
45b074e1
AC
259672001-11-10 Andrew Cagney <ac131313@redhat.com>
25968
25969 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
25970 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
25971
bf50d346
AC
259722001-11-09 Andrew Cagney <ac131313@redhat.com>
25973
25974 * gdb.base/restore.exp: Include $expected value in restored test
25975 message.
25976
9383332c
AC
259772001-11-09 Andrew Cagney <ac131313@redhat.com>
25978
25979 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
25980 implemented.
25981
db62520a
MS
259822001-11-08 Michael Snyder <msnyder@redhat.com>
25983
25984 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
25985 Add pass/fail message for stop at breakpoint in call dummy function.
25986
b5703437
MS
259872001-11-07 Michael Snyder <msnyder@redhat.com>
25988
d63a86f8
RM
25989 * gdb.c++/templates.exp (test_template_breakpoints):
25990 If we get an overload menu, but it does not match what
760f6330 25991 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
25992 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
25993 making the whitespace optional. Argument for "new" may be
25994 "unsigned" as well as "unsigned int/long".
d63a86f8 25995 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
25996 making the whitespace optional. Also replace "(void) with
25997 "((void|)), making the keyword "void" optional.
d63a86f8 25998 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
25999 making the whitespace optional. Also replace "(void) with
26000 "((void|)), making the keyword "void" optional.
3bf40917
MS
26001 * gdb.base/callfuncs.c (t_float_values): This function must
26002 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 26003 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
26004 can be tested against both cases. Usually one case involves
26005 promotion of float to double, while the other does not.
26006 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
26007 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
26008 includes a stack frame for "start".
26009
c8ab4e6d
JB
260102001-11-05 Jim Blandy <jimb@redhat.com>
26011
26012 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
26013 pointers are 32 bits long, and that offsets of relocs are always
26014 stored in the data (REL-style), and not in the reloc entry itself
26015 (RELA-style).
26016 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
26017 stabs.
26018
3f08ced9
MS
260192001-11-01 Michael Snyder <msnyder@redhat.com>
26020
26021 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
26022 and regular expression operators by using quoting.
26023
cbfa24cd
MS
260242001-10-31 Michael Snyder <msnyder@redhat.com>
26025
26026 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
26027 depending on what the symbol table contains.
26028 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
26029 the output of the ptype command. Similarly, accept both "const &"
26030 and "const&".
26031
aaa68313
CV
260322001-10-31 Corinna Vinschen <vinschen@redhat.com>
26033
26034 * gdb.base/miscexprs.c (main): Add usage of preprocessor
26035 symbol `STORAGE' to allow to choose the storage class of
26036 the local datastructures.
26037 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
26038 compiler directive.
26039
91740388
MS
260402001-10-30 Michael Snyder <msnyder@redhat.com>
26041
26042 * gdb.base/jump.exp: Allow it to run for all targets.
26043
1b7c05e7
CV
260442001-10-29 Corinna Vinschen <vinschen@redhat.com>
26045
26046 * gdb.base/call-ar-st.c (print_double_array): Match for loop
26047 with new double_array size.
26048 (main): Change storage class of all local variables to static.
26049 Reduce size of double_array to 9.
26050 * gdb.base/call-ar-st.exp: Increase timeout value.
26051 Change expected output for double array to match new size in
26052 call-ar-st.c.
26053
36a22261
CV
260542001-10-29 Corinna Vinschen <vinschen@redhat.com>
26055
26056 * gdb.base/ending-run.exp: Create identical output when passing
26057 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 26058 Stormy16 target.
36a22261 26059
92b8ae91
MK
260602001-10-28 Mark Kettenis <kettenis@gnu.org>
26061
26062 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
26063 that we catch the expected failure under Linux/x86.
26064
cb135b83
OF
260652001-10-29 Orjan Friberg <orjanf@axis.com>
26066
26067 * gdb.base/setvar.exp: Escape curly braces.
26068 * gdb.stabs/weird.exp: Ditto.
26069
6884aa54
DJ
260702001-10-27 Daniel Jacobowitz <drow@mvista.com>
26071
26072 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
26073 * gdm.mi/mi0-hack-cli.exp: Likewise.
26074
0398c9aa
AC
260752001-10-25 Andrew Cagney <ac131313@redhat.com>
26076
26077 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
26078 messages.
26079
d20bf2e8
AC
260802001-10-21 Andrew Cagney <ac131313@redhat.com>
26081
26082 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
26083 checking MI enabled.
26084
03dd63aa
CV
260852001-10-09 Corinna Vinschen <vinschen@redhat.com>
26086
26087 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
26088
1d9d99f3
FCE
260892001-10-04 Frank Ch. Eigler <fche@redhat.com>
26090
26091 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
26092 if gdb child process crashes, just signal an error.
26093
838ae6c4
JB
260942001-10-02 Jim Blandy <jimb@redhat.com>
26095
26096 * lib/gdb.exp (test_xfail_format): Simplify.
26097
26098 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
26099 front of the variable name `format'. Simplify `if'.
26100
8f0cbc1c
DJ
261012001-10-01 Daniel Jacobowitz <drow@mvista.com>
26102
26103 * gdb.threads/pthreads.exp: Wait for output and delay
26104 before sending ^C.
26105
1f08dafd
DJ
261062001-10-01 Daniel Jacobowitz <drow@mvista.com>
26107
26108 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
26109 some incorrect output instead of timing out.
26110 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
26111
674f90ff
CV
261122001-09-28 Corinna Vinschen <vinschen@redhat.com>
26113
26114 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
26115 check to allow additional `int'.
26116
9b284272
DJ
261172001-09-27 Daniel Jacobowitz <drow@mvista.com>
26118
26119 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
26120 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
26121
b55a4771
MS
261222001-09-27 Michael Snyder <msnyder@redhat.com>
26123
26124 * lib/gdb.exp (test_debug_format): New proc.
26125 (setup_xfail_format): Use new proc test_debug_format.
26126 * gdb.base/constvars.exp (local_compiler_xfail_check): New
26127 proc; use new service proc test_debug_format.
26128 Replace all other "gcc_compiled" tests with this test.
26129 * gdb.base/volatile.exp (local_compiler_xfail_check): New
26130 proc; use new service proc test_debug_format.
26131 Replace all other "gcc_compiled" tests with this test.
26132
261332001-09-27 Michael Snyder <msnyder@redhat.com>
26134
26135 * gdb.base/cvexpr.exp: New file.
26136 * gdb.base/cvexpr.c: New file
26137 Test for expressions using const and volatile keywords.
26138
4e6667ac
CV
261392001-09-26 Corinna Vinschen <vinschen@redhat.com>
26140
26141 * gdb.base/constvars.exp: Check for different orders of keywords
26142 and additional "int" strings in output.
26143
4f337972
AC
261442001-09-22 Andrew Cagney <ac131313@redhat.com>
26145
26146 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
26147 responses from "help maint".
26148
2015650d
FCE
261492001-09-19 Frank Ch. Eigler <fche@redhat.com>
26150
26151 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
26152 to localhost:NNN instead of :NNN, in case Xvfb is listening
26153 only on TCP.
26154
f3bcedc1
CV
261552001-09-19 Corinna Vinschen <vinschen@redhat.com>
26156
26157 * gdb.base/recurse.exp: When checking leaving the watchpoint
26158 scope, recognize when gdb is in function's epilogue and pass.
26159
6b819c92
KS
261602001-09-18 Keith Seitz <keiths@redhat.com>
26161
26162 * lib/insight-support.exp (_gdbtk_export_target_info): Add
26163 support for running tests against sid targets.
26164 (gdbtk_done): Ditto.
26165
a10c9419
CV
261662001-09-18 Corinna Vinschen <vinschen@redhat.com>
26167
26168 * gdb.base/ending-run.c (main): Set stdout buffersize
26169 to the same reasonable value for any target.
26170 * gdb.base/ending-run.exp: Add a regular expression
26171 to make testsuite happy on Sanyo Stormy16 target.
26172
739d0d99
CV
261732001-09-17 Corinna Vinschen <vinschen@redhat.com>
26174
26175 * gdb.base/display.c (do_loops): Add float variable `f'.
26176 Increment f in loop.
26177 * gdb.base/display.exp: Increment timeout by 60 seconds.
26178 Change float display test to use variable `f'.
26179
1b8947f0
JB
261802001-09-17 Jim Blandy <jimb@redhat.com>
26181
26182 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
26183 overflowing the limited breakpoint tables on some ROM monitors
26184 (like the ROM68K).
26185
9890ac81
FCE
261862001-09-15 Frank Ch. Eigler <fche@redhat.com>
26187
26188 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
26189 the "-ac" (disable access control) flag.
26190
6db765ea
JH
261912001-08-30 Jeff Holcomb <jeffh@redhat.com>
26192
26193 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
26194 ints.
26195
4c32cc04
KS
261962001-08-30 Keith Seitz <keiths@redhat.com>
26197
26198 * lib/gdb.exp: Move all insight-related functionality into
26199 separate file.
26200 * lib/insight-support.exp: New file.
26201
8d6e6f81
FCE
262022001-08-29 Frank Ch. Eigler <fche@redhat.com>
26203
26204 * config/sid.exp (sid_start): Never set sid verbosity; disable
26205 expect_background {} that consumed its stdout; tolerate </dev/null.
26206 Attempt to set endianness override in "sid" protocol mode. Cleanup.
26207
6a90e1d0
AC
262082001-08-18 Andrew Cagney <ac131313@redhat.com>
26209
26210 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
26211 CLI jump command to start it.
26212 (mi_run_to_main): Fail immediatly when unexpected output.
26213
1759b3c3
AC
262142001-08-18 Andrew Cagney <ac131313@redhat.com>
26215
26216 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
26217 beginning of function. Fix PR gdb/191.
26218
61d11d80
FCE
262192001-08-16 Frank Ch. Eigler <fche@redhat.com>
26220
26221 * config/sid.exp (sid_start): Don't warn if we cannot figure out
26222 what to force sid endianness to.
26223
942a4df2
KS
262242001-08-15 Keith Seitz <keiths@redhat.com>
26225
26226 * lib/gdb.exp (gdbtk_start): Don't set environment
26227 variables for TCL_LIBRARY and friends. Insight will
26228 now figure these out for itself.
26229
0521c418
MS
262302001-08-02 Michael Snyder <msnyder@redhat.com>
26231
26232 * gdb.base/completion.exp: Remove the symbol "a64l" from
26233 the expect string; this is target-specific, and not related
26234 to what is being tested.
26235
74a9a58a
DB
262362001-08-02 Dave Brolley <brolley@redhat.com>
26237
26238 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
26239
c70819fa
MS
262402001-07-25 Michael Snyder <msnyder@redhat.com>
26241
c2b8fa57
MS
26242 * gdb.base/consecutive.exp: New file. Test stepping over
26243 breakpoints on consecutive instructions.
26244 * gdb.base/consecutive.c: New file.
26245
c70819fa
MS
26246 * gdb.base/call-rt-st.exp: Use double-backslash to quote
26247 curly braces in regular expressions.
26248
2b1a1355
MS
262492001-07-25 Michael Snyder <msnyder@redhat.com>
26250
26251 * gdb.base/ending-run.exp: Accept "Program exited normally" as
26252 legitimate output from stepping out of main.
26253
413eca6f
KS
262542001-07-22 Keith Seitz <keiths@redhat.com>
26255
26256 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
26257 the empty string, do not run the tests.
26258
7e5a9322
SC
262592001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26260
26261 * gdb.base/long_long.exp: Detect size of pointer. Take into
26262 account 2-byte pointers when testing for p/a results.
26263
de58f10f
SC
262642001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26265
d63a86f8 26266 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
26267 and defined to 1K for m68hc11.
26268 (random_data): Reduce table to 1K for embedded platforms (68hc11).
26269 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
26270 (sizeof_random_data): New variable to tell the size of the data table;
26271 don't test past this size; always run to main.
26272
d6f5fea1
SC
262732001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26274
26275 * gdb.base/return2.exp: return of long long and double fails for
26276 68HC11; don't execute these tests on that platform.
26277 * gdb.base/return.exp: Return of a double fails for 68hc11.
26278
c477543d
SC
262792001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26280
26281 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
26282 tests that print a float.
26283 * call-rt-st.exp: Likewise.
26284
63cf1c79
MK
262852001-07-12 Mark Kettenis <kettenis@gnu.org>
26286
26287 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
26288 running this test on Linux.
26289
112f9ab5
MC
262902001-06-24 Michael Chastain <chastain@redhat.com>
26291
26292 * gdb.base/arithmet.exp: Remove some tests to make all test names
26293 unique.
26294
4970cb0f
MS
262952001-07-03 Michael Snyder <msnyder@redhat.com>
26296
26297 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
26298 the output of the ptype command.
26299
d85da69f
MS
263002001-07-02 Michael Snyder <msnyder@redhat.com>
26301
4c8a82de
MS
26302 * gdb.base/completion.exp: Don't assume that break.c is the only
26303 source file that may contain functions named "marker".
d85da69f
MS
26304 * gdb.base/corefile.exp: Quote the curly braces in regexp.
26305
8afc772b
AC
263062001-06-28 Andrew Cagney <ac131313@redhat.com>
26307
26308 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
26309 of files to delete.
26310
26311 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
26312 * gdb.disasm/h8300s.exp: New file.
26313 gdb.disasm/h8300s.s: Likewise.
26314
cff22675
AC
263152001-06-27 Andrew Cagney <ac131313@redhat.com>
26316
26317 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
26318 empty breakpoint tables.
26319
68c81b54
AC
263202001-06-25 Andrew Cagney <ac131313@redhat.com>
26321
26322 * lib/mi-support.exp: Update args=... part of stop-reason
26323 patterns. Accept either a list or a tuple.
26324
2dd62704
AC
263252001-06-23 Andrew Cagney <ac131313@redhat.com>
26326
26327 * lib/mi-support.exp: Remove local emacs variable defining
26328 change-log-default-name.
26329
b4127474
MC
263302001-06-22 Michael Chastain <chastain@redhat.com>
26331
26332 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
26333 This is operationally compatible with the previous version.
26334
8dbfb380
JB
263352001-06-13 Jim Blandy <jimb@redhat.com>
26336
26337 * lib/gdb.exp (gdb_test): Doc fix.
26338
f2d8c86d
MC
263392001-06-10 Michael Chastain <chastain@redhat.com>
26340
26341 * gdb.base/exprs.exp: Remove a duplicate test.
26342
81564d34
JB
263432001-06-06 Jim Blandy <jimb@redhat.com>
26344
26345 * gdb.base/return2.exp (main): Use values to test float and double
26346 returns that are not NaN's, to avoid being confused by IEEE
26347 comparison rules.
26348
da55addb
MS
263492001-06-04 Michael Snyder <msnyder@redhat.com>
26350
26351 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 26352 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
26353 rather than wait for 12 more tests to time out.
26354
42c65987
JB
263552001-06-06 Jim Blandy <jimb@redhat.com>
26356
b18bced9 26357 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 26358 Don't forget to match the GDB prompt.
b18bced9 26359
42c65987
JB
26360 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
26361
5b41e5f0
JB
263622001-06-04 Jim Blandy <jimb@redhat.com>
26363
26364 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
26365 command.
26366
015e046f
KB
263672001-05-31 Kevin Buettner <kevinb@redhat.com>
26368
26369 * gdb.base/annota1.exp (info break): Match four or more spaces
26370 after "Address".
26371
fb1ffbbe
MC
263722001-05-31 Michael Chastain <chastain@redhat.com>
26373
26374 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
26375 (dm_type_int_star): Likewise.
26376 (dm_type_long_star): Likewise.
26377 (dm_type_void_star): Likewise.
26378
5ea2a32c
KB
263792001-05-29 Kevin Buettner <kevinb@redhat.com>
26380
26381 * gdb.base/completion.exp (INPUTRC): Set this environment variable
26382 to a known value in order to get consistent results regardless
26383 of the setting of INPUTRC or the presence or contents of .inputrc.
26384
ae23c492
MS
263852001-05-24 Michael Snyder <msnyder@redhat.com>
26386
ac55707e
MS
26387 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
26388 Don't require that the main thread and the manager thread are the
26389 first in the list.
26390
ae23c492
MS
26391 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
26392 debugging. If test fails, issue an "unsupported" not a "fail".
26393
400071f1
JB
263942001-05-24 Jim Blandy <jimb@redhat.com>
26395
26396 Don't assume that short is shorter than int.
26397 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
26398 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 26399 this isn't true.
400071f1
JB
26400 ("print unsigned char == (~0)"): Add test that verifies that ~0,
26401 an int, is not equal to ~0 stored in an unsigned char. This tests
26402 the same thing that the previous test meant to, but works on
26403 16-bit machines, too.
26404 ("print unsigned char != (~0)"): Same test, complemented.
26405
0816a3e5
MS
264062001-05-24 Michael Snyder <msnyder@redhat.com>
26407
26408 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 26409 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
26410 and prevents dejagnu getting out of step.
26411
f6dc23a9
KB
264122001-05-23 Kevin Buettner <kevinb@redhat.com>
26413
26414 * gdb.base/finish.exp (finish_void): Revise pattern for
26415 stopping on the call statement to not permit stopping at
26416 the start of the instructions comprising the call sequence.
26417
7dbd117d
MC
264182001-05-19 Michael Chastain <chastain@redhat.com>
26419
26420 * gdb.base/callfuncs.exp: Make all test names unique.
26421 * gdb.base/commands.exp: Make all test names unique.
26422 * gdb.base/condbreak.exp: Make all test names unique.
26423 * gdb.base/dbx.exp: Make all test names unique.
26424 * gdb.base/default.exp: Make all test names unique.
26425 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
26426 and TIMEOUT messages to their corresponding PASS message.
26427 * gdb.base/ending-run.exp: Make all test names unique.
26428 * gdb.base/long_long.exp: Remove duplicate test.
26429
6b0b0a9e
KB
264302001-05-21 Kevin Buettner <kevinb@redhat.com>
26431
26432 * gdb.base/finish.exp (finish_void): Allow "finish" command to
26433 stop on the call statement as well as the statement after the
26434 call.
26435
2caa35cb
MS
264362001-05-21 Michael Snyder <msnyder@redhat.com>
26437
26438 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
26439
40713331
EZ
264402001-05-10 Elena Zannoni <ezannoni@redhat.com>
26441
a9c64011
AS
26442 * gdb.base/completion.exp: Revamp test. Make it execute on all
26443 platforms.
40713331 26444
c2c1be8d
EZ
264452001-05-10 Elena Zannoni <ezannoni@redhat.com>
26446
a9c64011
AS
26447 * config/gdbserver.exp (gdb_load): Handle the case
26448 in which the arguments to gdbserver are given in the
26449 baseboard configuration file.
26450 Also handle the case in which the server needs to do a
26451 load.
2c9cd303 26452
9671de48
KS
264532001-05-07 Keith Seitz <keiths@cygnus.com>
26454
a9c64011
AS
26455 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
26456 set up the display for testing.
26457 (gdbtk_start): Convert all paths to paths that tcl will like.
26458 Export target information to environment.
26459 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
26460 necessary.
26461 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
26462 (to_tcl_path): New proc to convert a given pathname into
26463 a path acceptible as an argument to a tcl command.
26464 (_gdbtk_export_target_info): New proc to export target info
26465 into the environment for gdbtk testing.
26466 (gdbtk_done): New proc to signal end-of-test.
9671de48 26467
5a360f47
JB
264682001-05-06 Jim Blandy <jimb@redhat.com>
26469
26470 * restore.c: Make the code of caller0 correspond to its comment.
26471
66c756c6
MS
264722001-05-03 Michael Snyder <msnyder@redhat.com>
26473
26474 * config/sid.exp (gdb_target_sid): Check for error messages.
26475 On error or timeout, don't make expect exit (which will terminate
26476 all subsequent tests); instead just make gdb exit.
d63a86f8 26477 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
26478 return a negative value.
26479
a966fde5
JB
264802001-04-24 Jim Blandy <jimb@redhat.com>
26481
851c18e0
JB
26482 * gdb.c++/templates.exp: If we see the prompt for the overload
26483 list, but we haven't recognized any of the longer patterns,
26484 arrange for this test to fail, not hang.
26485
a966fde5
JB
26486 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
26487 variations.
26488
db144853
MC
264892001-04-22 Michael Chastain <chastain@redhat.com>
26490
26491 * gdb.c++/local.exp: Use the 'runto' library function.
26492 * gdb.c++/namespace.exp: Likewise.
26493 * gdb.c++/overload.exp: Likewise.
26494
3207ec21
KB
264952001-03-26 Kevin Buettner <kevinb@redhat.com>
26496
26497 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
26498 * gdb.base/step-line.exp: New file. Test step/next in presence of
26499 #line directives.
26500 * gdb.base/step-line.c: New file. Test program for the above.
26501 * gdb.base/step-line.inp: New file. We pretend that this file has
26502 been transformed by some other tool into step-line.c.
26503
13b57657
JB
265042001-03-21 Jim Blandy <jimb@redhat.com>
26505
26506 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
26507 unmangled operator names.
26508
754cbe1c
JB
265092001-03-20 Jim Blandy <jimb@redhat.com>
26510
26511 * gdb.threads/linux-dp.exp: Recognize an additional message
26512 generated by GDB when it doesn't understand how to debug threads
26513 on the target system.
26514
177495c9
AC
265152001-03-19 Andrew Cagney <ac131313@redhat.com>
26516
26517 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
26518
f266096b
MC
265192001-03-12 Michael Chastain <chastain@redhat.com>
26520
26521 * gdb.c++/derivation.exp: Use the 'runto' library function.
26522
cac3c2ff
MC
265232001-03-12 Michael Chastain <chastain@redhat.com>
26524
26525 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
26526
b6c11a24
MC
265272001-02-24 Michael Chastain <chastain@redhat.com>
26528
26529 * gdb.c++/ref-types.exp: Change handwritten code to library
26530 function 'runto'.
26531
6bae5bce
OF
265322001-03-16 Orjan Friberg <orjanf@axis.com>
26533
26534 * gdb.base/signals.exp: Set count to 0 explicitly.
26535
0015fd9a
MS
265362001-03-15 Mark Salter <msalter@redhat.com>
26537
26538 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
26539 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
26540 (gdb_load): Add support for additional target_info: gdb_download_size
26541 and gdb_load_timeout.
0015fd9a 26542
fc33412a
DT
26543Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
26544
26545 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
26546 file -- to prevent failing when the compile fails but we have no
26547 intention of running the tests anyway.
fc33412a
DT
26548
26549 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
26550 tests if set.
26551
26552 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 26553 integers.
fc33412a
DT
26554
26555 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
26556 * gdb.c++/namespace.exp: Ditto.
26557
115f06de
OF
265582001-03-07 Orjan Friberg <orjanf@axis.com>
26559
26560 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
26561 * gdb.base/pointers.exp: Relax pattern match of decimals.
26562
b6ba6518
KB
265632001-03-06 Kevin Buettner <kevinb@redhat.com>
26564
26565 * Makefile.in, config/abug.exp, config/cfdbug.exp,
26566 config/cpu32bug.exp, config/dve.exp, config/est.exp,
26567 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
26568 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
26569 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
26570 config/sh.exp, config/sid.exp, config/slite.exp,
26571 config/sparclet.exp, config/udi.exp, config/unknown.exp,
26572 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
26573 config/vxworks.exp, config/vxworks29k.exp,
26574 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
26575 gdb.base/all-bin.exp, gdb.base/annota1.exp,
26576 gdb.base/arithmet.exp, gdb.base/assign.exp,
26577 gdb.base/async.exp, gdb.base/attach.exp,
26578 gdb.base/bitfields.exp, gdb.base/bitops.exp,
26579 gdb.base/break.exp, gdb.base/call-ar-st.exp,
26580 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
26581 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
26582 gdb.base/commands.exp, gdb.base/completion.exp,
26583 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
26584 gdb.base/constvars.exp, gdb.base/corefile.exp,
26585 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
26586 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
26587 gdb.base/ending-run.exp, gdb.base/environ.exp,
26588 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
26589 gdb.base/finish.exp, gdb.base/foll-exec.exp,
26590 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
26591 gdb.base/funcargs.exp, gdb.base/help.exp,
26592 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
26593 gdb.base/logical.exp, gdb.base/long_long.exp,
26594 gdb.base/maint.exp, gdb.base/mips_pro.exp,
26595 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
26596 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
26597 gdb.base/pointers.exp, gdb.base/printcmds.exp,
26598 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
26599 gdb.base/regs.exp, gdb.base/relational.exp,
26600 gdb.base/remote.exp, gdb.base/reread.exp,
26601 gdb.base/restore.exp, gdb.base/return2.exp,
26602 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
26603 gdb.base/selftest.exp, gdb.base/setshow.exp,
26604 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
26605 gdb.base/sigall.exp, gdb.base/signals.exp,
26606 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
26607 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
26608 gdb.base/step-test.exp, gdb.base/structs.c,
26609 gdb.base/structs.exp, gdb.base/structs2.exp,
26610 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
26611 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
26612 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
26613 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26614 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
26615 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
26616 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
26617 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
26618 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
26619 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
26620 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
26621 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
26622 gdb.fortran/types.exp, gdb.java/jmisc.exp,
26623 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
26624 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
26625 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
26626 gdb.trace/circ.exp, gdb.trace/collection.exp,
26627 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
26628 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
26629 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
26630 gdb.trace/report.exp, gdb.trace/save-trace.exp,
26631 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
26632 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
26633 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
26634 notices.
26635
dc96c6c7 266362001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
26637
26638 * gdb.base/varargs.c (find_max_double): Fix printf format string:
26639 first arg is int not float.
26640
dc96c6c7 266412001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
26642
26643 * gdb.base/reread.exp: Unsupported for non-native targets;
26644 doesn't work for remote debugging.
26645
9b0c4aeb
FN
266462001-02-19 Fernando Nasser <fnasser@redhat.com>
26647
26648 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
26649 * gdb.base/ending-run.exp: Properly handle the BSP state when
26650 stepping past the end of main.
9b0c4aeb 26651
02aa71d5
MC
266522001-02-19 John Moore <jmoore@redhat.com>
26653
26654 * gdb.base/commands.exp (infrun_breakpoint_command_test):
26655 Converted HPUX fix for non-expected items following multiple
26656 step commands into general solution for all platforms.
26657
1fa449a4
MC
266582001-02-18 Michael Chastain <chastain@redhat.com>
26659
26660 * gdb.c++/classes.exp (do_tests): Change runto statements
26661 from "runto 'foo(void)'" to "runto 'foo'". This makes the
26662 statements demangler agnostic.
26663 * gdb.c++/virtfunc.exp (do_tests): Likewise.
26664 (gdb_virtfunc_restart): Likewise.
26665
b2f9ec70
MC
266662001-02-14 Michael Chastain <chastain@redhat.com>
26667
26668 * gdb.c++/inherit.exp (do_tests): Change runto statements
26669 from "runto 'foo(void)'" to "runto 'foo'". This makes the
26670 statements demangler agnostic.
26671
cf74b8ca
AC
26672Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
26673
26674 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
26675 ``continue to bkpt at common_routine in thread 2'' and ``stopped
26676 before calling common_routine 15 times'' tests.
cf74b8ca 26677
99f78f56
MC
266782001-02-11 Michael Chastain <chastain@redhat.com>
26679
26680 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
26681 Helps the test script figure out which demangler is in use.
26682 (dm_type_foo_ref): Ditto.
26683 (dm_type_int_star): Ditto.
26684 (dm_type_long_star): Ditto.
26685 (dm_type_unsigned_int): Ditto.
26686 (dm_type_void): Ditto.
26687 (dm_type_void_star): Ditto.
99707966 26688 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
26689 Probe the gdb demangler and set variables to accommodate
26690 formatting differences.
26691 (info_func_regexp): New function. Same as info_func, but
26692 matches against a regexp.
26693 (info_func): Match against a literal string.
26694 (print_addr_2): New function. Match against a literal string,
26695 which can be different from the input to gdb.
26696 (print_addr): Simply call print_addr_2 with the same argument twice.
26697 (test_lookup_operator_functions): Use demangler formatting variables.
26698 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
26699 the tests in the same order as the C++ class declaration.
26700 (test_paddr_operator_functions): Ditto.
26701 (test_paddr_overloaded_functions): Ditto.
26702 (test_paddr_hairy_functions): Use demangler formatting variables.
26703 Add reference to gdb/19 for related tests.
26704 (do_tests): Call probe_demangler.
26705
1de8f023
KB
267062001-01-30 Kevin Buettner <kevinb@redhat.com>
26707
26708 * gdb.c++/templates.cc (printf): Remove unused function definition.
26709
ca3f91ed
MS
267102001-01-26 Felix Lee <flee@redhat.com>
26711
26712 * sid.exp (sid_exit): Pass host, not target, to remote_close.
26713
267142001-01-25 matthew green <mrg@redhat.com>
26715
26716 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
26717 up sid.
26718 (sid_exit): Call `remote_pop_conn' after GDB is gone.
26719
267202001-01-25 matthew green <mrg@redhat.com>
26721
26722 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 26723 Deprecate $sid_spawn_id.
ca3f91ed
MS
26724 (sid_exit): Remove code necessary only for `spawn.'
26725
267262001-01-25 matthew green <mrg@redhat.com>
26727
26728 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
26729
fb18ec4a
MC
267302001-01-28 Michael Chastain <chastain@redhat.com>
26731
26732 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
26733 to call when tests fail. It takes gdb out of the overloaded
26734 function choice menu back to the main prompt, so that the test
26735 program stays synchronized.
26736 (set_bp_overloaded): New proc to collect all the common
26737 code for setting a breakpoint on an overloaded name. Calls
26738 take_gdb_out_of_choice_menu when needed.
26739 (menu_overload1arg): New variable to collect the repeated
26740 instances of the expected menu for an overloaded name. Change
26741 the regular expression to handle changes in g++ type encoding:
26742 "void" can be either "void" or "", and "unsigned int" can be
26743 either "unsigned int" or "unsigned".
26744 (continue_to_bp_overloaded): Change regular expressions to handle
26745 changes in g++ type encoding.
26746 (no proc): Call take_gdb_out_of_choice_menu when needed.
26747 Remove redundant calls to "info break". Accept either "canceled"
26748 or "cancelled". Change regular expressions in "info break"
26749 calls to handle changes in g++ type encoding. Give all tests
26750 unique strings.
26751
9c646a6e
BE
267522001-01-17 Ben Elliston <bje@redhat.com>
26753
26754 * config/sid.exp: New file.
26755
9549d9c1
AC
26756Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
26757
26758 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
26759
dc96c6c7 267602000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
26761
26762 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
26763 Add a RE to accept a non-ascii char if one is ever presented.
26764
b4df4f68
FN
267652000-12-20 Fernando Nasser <fnasser@redhat.com>
26766
297dd0fd 26767 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 26768
dc96c6c7 267692000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 26770
d63a86f8 26771 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
26772 in regexp. One '\' does not suffice on Linux.
26773
4a7bddb6
MC
267742000-12-09 Michael Chastain <chastain@redhat.com>
26775
26776 * gdb.base/break.exp (test_clear_command): Use a marker function
26777 rather than 'main' for the test function. Also move this
26778 test to an execution point where the marker function names are
26779 guaranteed to be bound to functions. (Executing tests after a
26780 'finish' from main runs into name conflicts with local names
26781 in __libc_start_main).
26782
dc96c6c7 267832000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
26784
26785 * gdb.base/finish.exp: New test for gdb's "finish" command.
26786 * gdb.base/return2.exp: New test for gdb's "return" command.
26787 * gdb.base/return2.c: New source file for above.
26788
dc96c6c7 267892000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
26790
26791 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
26792 * gdb.base/miscexprs.exp: Ditto.
26793 * gdb.base/pointers.exp: Ditto.
26794 * gdb.c++/derivation.exp: Ditto.
26795 * gdb.c++/local.exp: Ditto.
26796 * gdb.c++/namespace.exp: Ditto.
26797 * gdb.c++/overload.exp: Ditto.
26798 * gdb.c++/ref-types.exp: Ditto.
26799
dc96c6c7 268002000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
26801
26802 * gdb.base/constvars.exp: Test result of "up" command.
26803 * gdb.base/miscexprs.exp: Ditto.
26804 * gdb.base/pointers.exp: Ditto.
26805 * gdb.base/scope.exp: Ditto.
26806 * gdb.c++/derivation.exp: Ditto.
26807 * gdb.c++/local.exp: Ditto.
26808 * gdb.c++/namespace.exp: Ditto.
26809 * gdb.c++/overload.exp: Ditto.
26810 * gdb.c++/ref-types.exp: Ditto.
26811
44097287
FN
268122000-11-22 Michael Chastain <chastain@redhat.com>
26813
26814 * mips_pro.exp: Accept either "middle -> top -> main" or
26815 "middle -> main" in the backtrace, because gcc can optimize
26816 tail calls to jumps. Remove setup_xfail for the hppa case.
26817 Add a comment with the original warning messages from PR 3016,
26818 which was filed in 1993, to preserve them for posterity.
26819
9d2e1bab
ND
268202000-11-17 Nick Duffek <nsd@redhat.com>
26821
26822 * lib/gdb.exp (gdb_test): Override timeout with board info.
26823
1aca8eb7
ND
268242000-11-17 Nick Duffek <nsd@redhat.com>
26825
26826 * gdb.base/display.exp: Don't kill running stub. Add "again" to
26827 the second kill and detach messages.
26828
93076499
ND
268292000-11-17 Nick Duffek <nsd@redhat.com>
26830
26831 * configure.in: Add AC_EXEEXT.
26832 * configure: Regenerate.
26833 * Makefile.in (just-check): Export EXEEXT.
26834 * lib/gdb.exp ($EXEEXT): Import from environment.
26835 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
26836 expect "maint dump-me" on Cygwin.
26837 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
26838 $EXEEXT.
26839
30e87cd3
ND
268402000-11-17 Nick Duffek <nsd@redhat.com>
26841
26842 * gdb.base/break.exp: Test backtrace and finish from called
26843 function on all platforms, not just HP-UX.
26844
dc96c6c7 268452000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
26846
26847 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
26848 code from gdb_target_monitor, so it can be used independantly
26849 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 26850
dc96c6c7 268512000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
26852
26853 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
26854 * gdb.base/corefile.exp: Expect the message "Program is being
26855 debugged already" when we send the "corefile" command, since
26856 the preceeding gdb_load may have connected gdb to a remote target.
26857 * gdb.base/display.exp: Disable hardware watchpoints if new
26858 board info variable "no_hardware_watchpoints" is true.
26859 Replace single-letter commands with more readable ones.
26860 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
26861 if new board info variable "no_hardware_watchpoints" is true.
26862 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
26863 to see if stdio (printf) testing is possible.
26864 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
26865 board info variable "no_hardware_watchpoints" is true. Use new
26866 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
26867
39124dea
FN
268682000-11-13 Fernando Nasser <fnasser@redhat.com>
26869
26870 From Orjan Friberg <orjanf@axis.com>:
26871 * gdb.base/printcmds.exp: Escape curly braces followed by a number
26872 in array print pattern match.
26873
a9e2e984
FN
268742000-11-09 Fernando Nasser <fnasser@redhat.com>
26875
26876 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
26877 spelling "cancelled" to U.S. spelling "canceled" to match changes
26878 made to gdb.
26879 * gdb.c++/ovldbreak.exp: Ditto.
26880
c7db355b
PS
268812000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26882
26883 * gdb.base/callfuncs.c (main): Moved to end of file, call
26884 t_double_values to initialize the FPU before inferior calls are made.
26885 * gdb.base/callfuncs.exp: Test for register preservation after calling
26886 inferior functions. Add tests for continuining, finishing and
26887 returning from a stop in a call dummy.
26888
dc96c6c7 268892000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
26890
26891 * gdb.base/commands.exp: Break up long lines, and re-indent.
26892
dc96c6c7 268932000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
26894
26895 * config/gdbserver.exp: Rewritten from the ground up, to make it
26896 compatible with the current dejagnu tree, and to make it work with
26897 the new "gdbserver" in libremote.
26898
dc96c6c7 268992000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
26900
26901 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
26902 * gdb.base/varargs.exp: Skip entire test if no printf support.
26903 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
26904 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
26905
dc96c6c7 269062000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
26907
26908 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
26909 no floating point support.
26910 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
26911 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
26912 * gdb.base/call-rt-st.exp: Ditto.
26913 * gdb.base/call-strs.exp: Ditto.
26914
bac5fc66
JG
269152000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
26916
26917 * gdb.base/sizeof.c: include <stdio.h>.
26918
26919 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
26920 'finish', otherwise uncaptured gdb_prompt would potentially
26921 throw remaining test points out of sync.
bac5fc66 26922
b22a6027
SB
269232000-07-26 Scott Bambrough <scottb@netwinder.org>
26924
26925 * gdb.base/recurse.exp: Run tests for all targets.
26926 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
26927 gnu-oldld case on ARM.
26928 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
26929 for ARM targets.
d63a86f8 26930
d8231941
AG
26931Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
26932
26933 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
26934 * gdb.java/configure: Rebuild.
26935
8caabe69
AG
26936Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
26937
26938 * gdb.java/jv-exp.exp: New file.
26939
9d273ca3
AG
26940Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
26941
26942 * configure: Rebuilt.
26943 * configure.in (configdirs): Add gdb.java.
26944 * gdb.java/jmisc.java: New file.
26945 * gdb.java/jmisc.exp: New file.
26946 * gdb.java/Makefile.in: New file.
26947 * gdb.java/configure: Rebuilt.
26948 * gdb.java/configure.in: New file.
26949 * lib/java.exp: New file.
26950
4f823a66
AC
26951Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
26952
26953 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 26954 underflow.
4f823a66 26955
2391e11d
AC
26956Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
26957
26958 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 26959 and the compilers sizes.
2391e11d 26960
54602222
ND
269612000-07-09 Nick Duffek <nsd@redhat.com>
26962
26963 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
26964 (use_methods): New function.
26965 (main): Call use_methods().
26966 * gdb.c++/classes.exp (test_method_param_class): New procedure.
26967 (do_tests): Call test_method_param_class.
26968
2bec0572
ND
269692000-07-09 Nick Duffek <nsd@redhat.com>
26970
26971 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
26972 spelling.
26973 (test_enums): New procedure. Move enum tests from end of script
26974 to here. Set breakpoint on function name instead of line number.
26975 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
26976 (enums2): New marker function.
26977 (enums1): New function.
26978 (main): Call enums1(). Move enum tests to enums1().
26979
78492fde
AC
26980Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
26981
26982 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 26983 compile/link program. Update line numbers.
78492fde
AC
26984 * gdb.asm/d10v.inc: Define ``startup''.
26985 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 26986
49a2cef8
AC
26987Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
26988
26989 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
26990
3e6c8688
EZ
269912000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26992
26993 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 26994 of 'help maint print' command.
3e6c8688 26995
9ff5cbe9
AC
26996Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
26997
26998 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 26999 they use gdb_expect_list.
9ff5cbe9 27000
17c579bd
AC
27001Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
27002
27003 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
27004 memory-read-packet-size'' instead of ``set endian big'' to test
27005 long commands.
17c579bd 27006
e6d71bf3
DB
270072000-06-03 Daniel Berlin <dan@cgsoftware.com>
27008
27009 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 27010 g++, and stop skipping them.
e6d71bf3
DB
27011
27012 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
27013 work under g++.
27014
d63a86f8 27015 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
27016 initialization.
27017
dc96c6c7 270182000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
27019
27020 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
27021 the regular expression: accept an (almost) arbitrary sequence of
27022 "frames-invalid" and "breakpoints-invalid" messages both before
27023 and after the "starting" message.
27024
dc96c6c7 270252000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
27026
27027 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 27028
dc96c6c7 270292000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
27030
27031 * gdb.base/annota1.exp (annotate-signal-handler-caller):
27032 Relax the regular expression a little, make it pass on Solaris 8.
27033
8216cda9
KB
270342000-05-12 Kevin Buettner <kevinb@redhat.com>
27035
27036 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 27037 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
27038 Instead, it is permissible for gdb to stop on the line of the
27039 call itself.
27040
1a570b2f
MS
270412000-05-12 Michael Snyder <msnyder@.cygnus.com>
27042
27043 * gdb.base/break.exp (bp on small function, optimized file):
27044 Add a second pass pattern. The behavior differs here between stabs
27045 and dwarf for one-line functions. Stabs preserves two line symbols
27046 (one before the prologue and one after) with the same line number,
27047 but dwarf regards these as duplicates and discards one of them.
27048 Therefore the address after the prologue (where the breakpoint is)
27049 has no exactly matching line symbol, and GDB reports the breakpoint
27050 as if it were in the middle of a line rather than at the beginning.
27051
dc96c6c7 270522000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 27053
d63a86f8 27054 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
27055 rather than "send_gdb" (for consistancy).
27056
7d418785
AC
27057Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
27058
27059 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
27060 * gdb.c++/templates.cc: Properly check for GCC version number.
27061 * lib/compiler.cc: Likewise
27062
dc96c6c7 270632000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 27064
d63a86f8 27065 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
27066 gdb may not stop at the first line of main, due to code motion.
27067
dc96c6c7 270682000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
27069
27070 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
27071 This test depends on parsing the printf output from the target.
27072 Since the sparclet stub doesn't do stdio, this will never work.
27073 * gdb.base/call-rt-st.exp: ditto.
27074 * gdb.base/call-strs: ditto.
27075
dc96c6c7 270762000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
27077
27078 * gdb.base/miscexprs.exp: make sizeof long array test portable.
27079
27080 * gdb.base/ending-run.exp: After connecting to a remote target,
27081 but before running, the target will appear to be in a random
27082 location. Specify both a file and a line for breakpoints.
27083 Also, the function that calls main may be called 'init'
27084 rather than 'start'.
27085
a5a51225
EZ
270862000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27087
27088 * gdb.base/help.exp: Update output for add-symbol-file command.
27089
7930cc7c
FN
270902000-04-10 Fernando Nasser <fnasser@cygnus.com>
27091
27092 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27093 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
27094
23e37ab1
C
270952000-04-07 J.T. Conklin <jtc@redback.com>
27096
e93c542c
C
27097 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
27098
23e37ab1
C
27099 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
27100
591b8fa3
PDM
27101Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
27102
27103 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 27104 values that can be represented exactly.
591b8fa3
PDM
27105 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
27106 above change, and to not check against the directory part of the source
27107 file name.
27108 (step into print_long_arg_list): Likewise.
27109 (print print_small_structs from print_long_arg_list): Likewise.
27110 (print print_long_arg_list): Likewise.
27111
7a495180
EZ
271122000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27113
30b53638 27114 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 27115
beb998c6
AC
27116Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
27117
27118 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
27119
1c689132
DB
271202000-03-25 Daniel Berlin <dan@cgsoftware.com>
27121
27122 * gdb.base/commands.exp (deprecated_command_test): Add test for
27123 deprecate with no arguments.
27124
c1790a9d
JL
271252000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
27126
27127 * gdb.base/break.exp: Add new test for setting breakpoints on
27128 optimized code so we can test breakpoints work even when function
27129 prologues may be optimized away
27130
003ba290
FN
271312000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
27132
27133 From David Whedon <dwhedon@gordian.com>
a9c64011 27134 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 27135
6837a0a2
DB
271362000-03-22 Daniel Berlin <dan@cgsoftware.com>
27137
27138 * gdb.base/help.exp: Added test for new apropos command.
27139
b9593231
KB
271402000-03-21 Kevin Buettner <kevinb@redhat.com>
27141
27142 * gdb.base/pointers.c (usevar): New function.
27143 (main): Make sure that global variables v_int_pointer2, rptr,
27144 and y are all referenced someplace in the program by calling
27145 usevar() on them. [Some linkers delete symbols which are
27146 never referenced. The space remains, but there's no way to
27147 get a (symbolic) handle on the variable from the debugger.]
27148
751a959b
EZ
271492000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27150
27151 * gdb.base/printcmds.c: Add typedeffed arrays.
27152
27153 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 27154 procedure to test arrays that are typedef'd.
751a959b 27155
73a93a32
JI
271562000-03-13 James Ingham <jingham@leda.cygnus.com>
27157
27158 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 27159 the library directories.
73a93a32 27160
fb40c209
AC
27161Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
27162
27163 * configure.in (configdirs): Add sub directory gdb.mi.
27164 * configure: Re-generate.
27165
27166 * gdb.mi: New directory.
d63a86f8 27167
ee4dd2c9
AC
271682000-02-25 Scott Bambrough <scottb@netwinder.org>
27169
27170 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 27171 a long long value as a double on ARM platforms.
ee4dd2c9 27172
70f0cc22
JB
271732000-02-16 Jim Blandy <jimb@redhat.com>
27174
27175 * gdb.base/break.exp ("breakpoint line number"): Make sure the
27176 default source file is set properly before running this test.
27177
853819b8
EZ
271782000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27179
27180 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 27181 gdbtk/library directory, not in gdbtcl2.
853819b8 27182
dfcd3bfb
JM
271832000-02-04 Jim Blandy <jimb@redhat.com>
27184
27185 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
27186 backslash from regexp pattern.
27187
27188 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
27189 procedure. Use it to run all the "continue to bp overloaded"
27190 tests. Note that this changes the names of the tests slightly.
27191 If the breakpoint hit message includes a hex PC value, because
27192 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
27193 from the real source code, still consider that a pass.
27194
27195 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
27196 XFAIL here if the breakpoint message contains a hex address. Note
27197 similar change on 1999-11-02.
27198
27199 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
27200
27201 * gdb.base/ptype.exp: Establish a default source file before
27202 calling get_debug_format.
27203
272042000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
27205
27206 * gdb.base/watchpoint.exp: Remove duplication of test messages.
27207
8b93c638
JM
272082000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27209
27210 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
27211 of successive stepi commands -- while in the prologue we should see
27212 the function entry bracket.
27213
272142000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27215
27216 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
27217 reach __change_mode() when stepping through the end of main().
27218
c5394b80
JM
272192000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
27220
27221 * gdb.base/default.exp: Fix expected pattern.
27222 * gdb.base/help.exp: Same.
27223
0d06e24b
JM
272242000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27225
27226 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 27227 Don't use xfail's because that affects only the following test.
d63a86f8 27228
0d06e24b 27229 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 27230 solaris or linux.
0d06e24b
JM
27231
27232 * gdb.base/selftest.exp: Update to reflect changes to main.c.
27233
dc96c6c7 272342000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 27235
d63a86f8 27236 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
27237 "A syntax error" rather than "A parse error". Accept both.
27238
272392000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
27240
27241 * gdb.base/default.exp: Remove OS dependent string from "target
27242 remote" test.
27243 * gdb.base/help.exp: Same for "help target remote" test.
27244
c3f6f71d
JM
272452000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27246
27247 From Jim Kingdon <kingdon@redhat.com>:
27248
27249 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
27250 prompt (cleanup rather than necessity, but still might keep output
27251 from spilling to next test).
c3f6f71d
JM
27252
272532000-01-02 Fred Fish <fnf@cygnus.com>
27254
27255 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
27256 AIX, which defines them in <sys/types.h>.
27257
ed9a39eb 272581999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 27259
ed9a39eb 27260 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 27261 float" test.
ed9a39eb
JM
27262
272631999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 27264
ed9a39eb 27265 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
27266
27267 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
27268 outermost frame disallowed".
27269
272701999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
27271
27272 * gdb.base/setvar.exp: New tests for setting the value of a struct
27273 with a constant list.
27274
272751999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27276
27277 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
27278 require the user to type a cast before setting the value of a struct.
27279
de57eccd
JM
272801999-12-06 Jim Blandy <jimb@cygnus.com>
27281
27282 * gdb.base/default.exp: Expect the new 'info float' command on
27283 all i386 platforms.
27284
27285 * gdb.threads/linux-dp.exp: Expand our ability to recognize
27286 LinuxThreads libraries that don't support debugging.
27287
c2d11a7d
JM
27288Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27289
27290 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
27291 Change the buffer type to ``unsigned char'' to simplify size
27292 arithmetic.
c2d11a7d
JM
27293
27294 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
27295 stub only handles 400-1 byte packets. Verify that the download
27296 worked.
c2d11a7d
JM
27297
272981999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
27299
27300 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
27301 tests, using UNRESOLVED for the untested cases. Also, does not wait
27302 for a timeout if the prompt was received before a recognizable pattern.
27303
273041999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
27305
27306 * lib/gdb.exp (gdb_expect_list): Fix spelling.
27307
273081999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27309
27310 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 27311 watchpoints.
c2d11a7d
JM
27312
273131999-11-24 Jason Merrill <jason@casey.cygnus.com>
27314
27315 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
27316
27317 * gdb.c++/local.exp: Be more flexible in recognizing local class
27318 name mangling. Don't allow horribly truncated method names.
27319 * gdb.c++/derivation.exp: Expect protected inheritance.
27320 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
27321 * gdb.c++/virtfunc.exp: Likewise.
27322 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
27323 when printing a nested enum.
27324
273251999-11-22 Jim Blandy <jimb@cygnus.com>
27326
27327 * gdb.base/step-test.exp: Properly await GDB's response to setting
27328 a breakpoint on the call to large_struct_by_value.
27329
27330 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
27331 just because we have debug info for the `start' function.
27332
273331999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
27334
27335 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
27336 "Unknown signal" messages, which indicate (on LinuxThreads) that
27337 GDB doesn't know how to debug threads on this system. This is
27338 better than hanging while philosopher 0 dumps chatter into gdb.log.
27339
273401999-11-18 Tom Tromey <tromey@cygnus.com>
27341
27342 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
27343
273441999-11-18 Fred Fish <fnf@cygnus.com>
27345
27346 * gdb.base/coremaker2.c: Add sample program for generating
27347 cores that is more self contained than coremaker.c. Eventually
27348 I'll add more code to this and tie it into the testsuite.
27349
4ce44c66
JM
273501999-11-12 Stan Shebs <shebs@andros.cygnus.com>
27351
27352 * gdb.base/dollar.exp: Remove, now in gdb.hp.
27353
273541999-11-10 Jimmy Guo <guo@cup.hp.com>
27355
27356 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 27357 from $srcdir/lib/.
4ce44c66 27358 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 27359 and gdb.c++/.
4ce44c66
JM
27360
27361 * gdb.c++/derivation.exp: remove redundant get compiler info code.
27362
d63a86f8 27363 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
27364 'continue with watch' test point.
27365
273661999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
27367
27368 Merged from p2linux-990323-branch:
d63a86f8 27369
4ce44c66
JM
27370 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
27371
11cf8741
JM
27372Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
27373
27374 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 27375 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
27376
27377Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
27378
27379 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 27380 gdb_expect_list.
11cf8741
JM
27381
27382Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
27383
27384 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
27385
273861999-11-03 Mark Salter <msalter@cygnus.com>
27387
27388 * gdb.base/break.exp: Fix "stub continue" pattern.
27389
273901999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
27391
27392 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
27393
273941999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
27395
27396 * gdb.base/display.exp ("finish"): Add timeout clause.
27397
27398 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
27399 plain prompt clause, so this doesn't have to time out in order to
27400 fail.
27401
27402 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 27403 breakpoint hit messages include an address.
11cf8741
JM
27404
27405 * gdb.base/display.exp: Don't forget to escape parens in regular
27406 expressions. Unix regexp notatation sucks.
27407
274081999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27409
27410 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 27411 order for 'signalled' message.
11cf8741 27412
5c44784c
JM
274131999-11-01 Stan Shebs <shebs@andros.cygnus.com>
27414
27415 From Jimmy Guo <guo@cup.hp.com>:
27416 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
27417 * gdb.base/annota1.c: Add code for tests to work with.
27418
274191999-10-26 Frank Ch. Eigler <fche@cygnus.com>
27420
27421 * gdb.base/remote.exp: New test for remote downloading settings.
27422 * gdb.base/remote.c: New file with large .data.
27423
917317f4
JM
274241999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
27425
27426 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
27427 for LinuxThreads support, merged from the Code Fusion branch.
27428
27429Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
27430
27431 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
27432 containing exp_continue into a while within an expect. Don't
27433 attempt a start more than three times. Check return value from
27434 gdb_load.
d63a86f8 27435
2df3850c
JM
27436Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
27437
27438 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 27439 a pass case.
2df3850c 27440
2acceee2
JM
274411999-10-01 Kevin Buettner <kevinb@cygnus.com>
27442
27443 * gdb.base/break.c (main): Added a statement that we can step
27444 off of.
27445 * gdb.base/break.exp: Added tests for setting a breakpoint
27446 at an offset and stepping onto a breakpoint.
27447
274481999-10-01 Fred Fish <fnf@cygnus.com>
27449
d63a86f8 27450 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
27451 gdb output.
27452
c2c6d25f
JM
274531999-09-18 Jim Blandy <jimb@cris.red-bean.com>
27454
27455 * gdb.base/break.exp: Code locations are in hex, don't forget!
27456 (For HP-UX.)
27457
274581999-09-17 Stan Shebs <shebs@andros.cygnus.com>
27459
27460 * condbreak.exp: Use break.c as test program.
27461 * condbreak.c: Remove, redundant with break.c.
27462
274631999-09-15 Stan Shebs <shebs@andros.cygnus.com>
27464
27465 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 27466 Z-packets if the target needs it.
c2c6d25f
JM
27467
274681999-09-13 James Ingham <jingham@leda.cygnus.com>
27469
27470 * gdb.c++/overload.exp: Added tests for listing overloaded
27471 functions with function pointers in the arg, explicitly calling
27472 out the version you want.
27473
cff3e48b
JM
274741999-09-09 Stan Shebs <shebs@andros.cygnus.com>
27475
27476 * long_long.exp: Add variations of test cases that work for
27477 targets with 16-bit ints and 32-bit doubles.
27478
d4f3574e
SS
274791999-09-08 Stan Shebs <shebs@andros.cygnus.com>
27480
27481 * break.c (main): Compare a possibly-uninitialized argc with an
27482 unlikely value that fits in 16 bits.
27483
274841999-09-07 Stan Shebs <shebs@andros.cygnus.com>
27485
27486 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
27487 0xfeeb, don't want negative numbers if ints are 16 bits.
27488
27489 * lib/gdb.exp (skip_cplus_tests): New proc.
27490 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
27491 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
27492 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
27493 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
27494 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
27495 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
27496 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
27497 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
27498
27499 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
27500
27501Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
27502
27503 * gdb.base/corefile.exp (up): Allow a parameter to appear
27504 in the frame that we're going up to.
27505
27506 From Jim Blandy <jimb@cygnus.com>:
27507
27508 * gdb.base/default.exp (info float): Expect some output now.
27509
27510 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
27511 returning floating-point values to fail on the x86.
27512 * gdb.base/callfwmall.exp (do_function_calls): Same.
27513
27514 * gdb.base/list.exp (test_listsize): Correct expectations for
27515 listing line 1 with listsize 2. Also, listing a single line
27516 works now, as does listing three lines. [Kevin's note: There
27517 were a number of other cases fixed too where the expectations
27518 differed...]
27519
275201999-09-02 Stan Shebs <shebs@andros.cygnus.com>
27521
27522 * gdb.base/selftest.exp: Add case for when version prints as
27523 constant string instead of char pointer.
27524
104c1213
JM
275251999-08-25 Stan Shebs <shebs@andros.cygnus.com>
27526
27527 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 27528 stepping out of main.
104c1213
JM
27529
27530 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
27531 G++ used.
27532
27533 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 27534 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
27535
27536 * gdb.c++/ovldbreak.exp: Update match string in test that
27537 includes a warning of multiple breakpoints.
27538
275391999-08-24 Stan Shebs <shebs@andros.cygnus.com>
27540
27541 * gdb.base/display.exp: Improve precision of step-after-finish
27542 added yesterday.
27543
27544 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 27545 test.
104c1213
JM
27546
27547 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
27548 configs when using G++, not just hppa*.
27549
275501999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27551
27552 * gdb.base/async.c: New file.
27553 * gdb.base/async.exp: New file.
27554
27555Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
27556
27557 * gdb.base/break.exp: Tweak PA specific tests to properly handle
27558 PA64.
27559
53a5351d
JM
27560Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
27561
104c1213
JM
27562 * gdb.base/display.exp: "finish" can leave us mid-line on many
27563 targets, deal with it. Add a small constant to main, instead of
27564 1000 since main+1000 may not be a valid address in the target.
27565
53a5351d
JM
27566 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
27567 on hpux11.
27568
27569 * gdb.base/attach.exp: Handle another hpux11 error message variant
27570 when attaching to a process that does not exist.
27571
275721999-08-19 J.T. Conklin <jtc@redback.com>
27573
27574 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 27575 characters in 'continue to 1241' test.
53a5351d
JM
27576
275771999-08-17 Stan Shebs <shebs@andros.cygnus.com>
27578
27579 * gdb.base/call-ar-st.exp: Add a shorter match case for the
27580 stop in print_long_arg_list, define and use a whitespace
27581 variable in print_small_structs test, add an XFAIL for Solaris.
27582 * gdb.base/dbx.exp: XFAIL func commands until somebody is
27583 interested enough to fix.
27584
7be570e7
JM
275851999-08-13 Keith Seitz <keiths@cygnus.com>
27586
27587 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
27588 (dbx_gdb_load): Remove. Use gdb_load instead, since that
27589 proc knows about targets other than the natives.
27590 (test_assign): Use "gdb_run_cmd" to "run" the target.
27591 Check that we've actually hit the breakpoint at main.
27592 When we attempt to assign a value to a local variable, check
27593 that the variable is in the current scope, i.e., don't use
27594 a test with an empty result.
27595
27596Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
27597
27598 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 27599 command.
7be570e7
JM
27600
276011999-08-09 Stan Shebs <shebs@andros.cygnus.com>
27602
27603 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27604 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
27605 gdb.compat, gdb.threads-hp.
27606 gdb.hp/configure, gdb.hp/configure.in: New files.
27607 gdb.hp/Makefile.in: Recurse into new subdirs.
27608 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
27609 gdb.hp/gdb.objdbg: New directory, tests for debugging info
27610 in object files.
27611 gdb.hp/tools: New directory, aux tools for HP-specific tests.
27612
96baa820
JM
276131999-08-05 Stan Shebs <shebs@andros.cygnus.com>
27614
27615 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 27616 funky printf, remove a bogus p/a test.
96baa820
JM
27617
276181999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27619
27620 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
27621 connected to the target. This is necessary when running not
27622 natively.
96baa820
JM
27623
276241999-08-03 Stan Shebs <shebs@andros.cygnus.com>
27625
27626 * gdb.base/step-test.exp: Removed some extraneous messages.
27627
27628 * gdb.base/long_long.exp: Don't run memory examination tests
27629 on little-endian targets (they will need a different set of
27630 results to match).
27631
276321999-08-02 Stan Shebs <shebs@andros.cygnus.com>
27633
27634 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
27635 until somebody decides to fix GDB.
27636
27637 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 27638 constant as "ULL".
96baa820
JM
27639 * gdb.base/long_long.exp: Loosen x/c test, add partial result
27640 matches for a couple x/2 commands.
27641
a0b3c4fd
JM
276421999-07-30 Stan Shebs <shebs@andros.cygnus.com>
27643
27644 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
27645 by merging in ref-types2 tests.
27646 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
27647
27648 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27649 * gdb.c++/Makefile.in: Add standard actions.
27650 (EXECUTABLES): Rename from PROGS, update list.
27651 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
27652 from gdb.hp.
27653 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
27654 foo and bar locals.
27655 * gdb.c++/anon-union.exp: Fix tests to match.
27656 * gdb.c++/classes.exp: Run if HP compiler used, add extra
27657 expect matches to handle output variations.
27658 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
27659 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 27660 output, add HP alternatives for new and delete prints.
a0b3c4fd 27661 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 27662 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
27663 * gdb.c++/demangle.exp: Use $style when reporting failure.
27664 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
27665 * gdb.c++/inherit.exp: Run if HP compiler used, add some
27666 match alternatives.
27667 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 27668 compilers.
a0b3c4fd
JM
27669 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
27670 * gdb.c++/method.exp: Add match alternatives.
27671 * gdb.c++/misc.cc: Add bool types.
27672 * gdb.c++/misc.exp: Add tests for bool types.
27673 * gdb.c++/overload.exp: Add xfails.
27674 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
27675 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
27676 add some more template parameter tests (only for HP currently).
27677 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
27678 * gdb.c++/virtfunc.cc: Add return type and value for main.
27679 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
27680 match alternatives.
d63a86f8 27681
a0b3c4fd
JM
276821999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27683
27684 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
27685
276861999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
27687
27688 * gdb.base/signals.exp: Don't expect getting a backtrace from
27689 within a signal handler to fail on Linux.
27690
276911999-07-29 Stan Shebs <shebs@andros.cygnus.com>
27692
27693 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27694 * lib/gdb.exp: Remove some gratuitious semicolons.
27695 (delete_breakpoints): Increase timeout.
27696 (gdb_expect): Add -notransfer option.
27697 (gdb_test): Use -notransfer option.
27698 (get_compiler_info): Add f77 case.
27699 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 27700 case.
a0b3c4fd
JM
27701 (gdb_preprocess): Call get_compiler.
27702
27703 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
27704 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
27705 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
27706 gdb.base/long_long.exp, gdb.base/printcmds.exp,
27707 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
27708 third arg to gdb_test.
a0b3c4fd
JM
27709 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
27710 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 27711 HP-UX xfails, add others.
a0b3c4fd
JM
27712 * gdb.base/completion.exp: Reflect name change of self-test.
27713 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
27714 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
27715 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
27716 HP failure number.
a0b3c4fd
JM
27717 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
27718 useless HP-UX 10.30 references.
27719 * gdb.base/maint.exp: Loosen matches.
27720 * gdb.base/pointers.c (main): Declare more_code.
27721 * gdb.base/pointers.exp: Match on output of a `next'.
27722 * gdb.base/structs.c: Add prototypes.
27723 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
27724 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
27725
277261999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27727
27728 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 27729 command.
a0b3c4fd
JM
27730
277311999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27732
27733 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
27734 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
27735
27736 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
27737 debug info. Deal with lack of signal hanlder info in stack.
27738
a9c64011 27739 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
27740 * gdb.base/annota1.exp: If printf has debug info, deal with it.
27741
5a2468f5
JM
277421999-07-19 Stan Shebs <shebs@andros.cygnus.com>
27743
27744 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 27745 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 27746
adf40b2e
JM
27747Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27748
27749 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 27750 a1-selftest.exp.
adf40b2e
JM
27751 * gdb.base/configure: Re-generate.
27752
277531999-07-12 Stan Shebs <shebs@andros.cygnus.com>
27754
27755 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
27756 in trying to run first and name is too long.
27757
27758 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
27759 pointers2.c and pointers2.exp, respectively.
27760 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
27761 doschk happier.
27762
43e526b9
JM
277631999-07-08 Stan Shebs <shebs@andros.cygnus.com>
27764
27765 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
27766 callfuncs2.c and callfuncs2.exp.
27767
27768 * gdb.base/list.exp: Remove mistaken xfails.
27769 * gdb.base/list0.h: Add optional prototypes.
27770
9846de1b
JM
27771Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
27772
a9c64011 27773 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 27774 calling malloc.
a9c64011
AS
27775 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
27776 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 27777 use.
9846de1b
JM
27778
277791999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27780
27781 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
27782 * gdb.base/annota2.cc, annota2.exp: Move from here.
27783 * gdb.c++/annota2.cc, annota2.exp: To here.
27784 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
27785
43ff13b4
JM
27786Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
27787
27788 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 27789 a consistent format.
43ff13b4 27790
085dd6e6
JM
277911999-06-25 Stan Shebs <shebs@andros.cygnus.com>
27792
27793 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27794 * lib/gdb.exp (get_compiler_info): Add detection for assorted
27795 HP compilers, also set the globals $true and $false.
27796
27797 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
27798 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
27799 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
27800 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
27801 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
27802 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
27803 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
27804 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
27805 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
27806 whatis.c} Add C++ compatible function definitions and return
27807 types, add includes for library functions.
085dd6e6
JM
27808 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
27809 * gdb.base/step-test.c (myglob): Rename from glob.
27810 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
27811 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
27812 files, move here from gdb.hp.
085dd6e6 27813 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
27814 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
27815 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
27816 Adjust line numbers in regexps.
085dd6e6
JM
27817
27818 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
27819 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
27820 instead of 0/1.
27821
27822 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
27823 foll-vfork.exp: New files, move here from gdb.hp.
27824 * gdb.base/page.exp: New file, test of pagination command.
27825
27826 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
27827 recursion test.
27828 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
27829
27830 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 27831 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
27832
27833 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 27834 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 27835 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 27836 watchpoint test.
085dd6e6
JM
27837 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
27838 them work.
27839 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
27840 expressions properly.
27841 * gdb.base/corefile.exp: Loosen the match slightly.
27842 * gdb.base/default.exp: Allow "Error accessing memory" message
27843 also.
27844 * gdb.base/display.exp: Skip over x/0 j if PA64.
27845 * gdb.base/funcargs.exp: Add xfails for HP-UX.
27846 * gdb.base/interrupt.exp: Ditto.
27847 * gdb.base/langs.exp: Add symbolic matches governed by compiler
27848 in use.
27849 * gdb.base/list.exp: Add xfails for HP-UX.
27850 * gdb.base/long_long.exp: Refine some of the numeric matches.
27851 * gdb.base/mips_pro.exp: Xfail on HP-UX.
27852 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
27853 * gdb.base/nodebug.exp: Succeed on more varieties of output.
27854 * gdb.base/opaque.exp: Remove some HP-UX xfails.
27855 * gdb.base/ptype.exp: Succeed on more varieties of output.
27856 * gdb.base/scope.exp: Add xfails for HP-UX.
27857 * gdb.base/sect-cmd.exp: Add more cases.
27858 * gdb.base/setvar.exp: Add xfails for HP-UX.
27859 * gdb.base/shlib-call.exp: Loosen some matches slightly.
27860 * gdb.base/signals.exp: Match on void symbolically.
27861 * gdb.base/step-test.exp: Add case for PA64.
27862 * gdb.base/term.exp: Add exit and restart.
27863 * gdb.base/twice.exp: Clean up after self.
27864 * gdb.base/varargs.exp: Disable overload resolution explicitly.
27865 * gdb.base/whatis.exp: Allow more ways to pass tests.
27866
27867 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 27868 no longer useful.
085dd6e6
JM
27869
27870Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
27871
27872 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 27873 list of patterns.
085dd6e6 27874 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
27875 print_double_array(double_array)", "continuing to breakpoint
27876 1018", "print print_double_array(array_d)" and "continuing to
27877 1034" tests.
d63a86f8 27878
085dd6e6
JM
278791999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
27880
a9c64011 27881 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
27882
278831999-06-24 Stan Shebs <shebs@andros.cygnus.com>
27884
27885 * config/mt-*: Remove, these haven't been used since 1996.
27886
278871999-06-22 Stan Shebs <shebs@andros.cygnus.com>
27888
27889 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 27890 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
27891 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
27892
9e0b60a8
JM
278931999-06-18 Stan Shebs <shebs@andros.cygnus.com>
27894
27895 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
27896 simpler match case for the ptype of the big class.
27897
278981999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27899
27900 * gdb.exp: Fix test for gdb_prompt existence.
27901
279021999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27903
27904 * gdb.exp (gdb_test): Add fail after calls to perror.
27905
279061999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27907
27908 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
27909
279101999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27911
27912 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
27913
0f71a2f6
JM
27914Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
27915
27916 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 27917 malloc() is linked in.
0f71a2f6
JM
27918
279191999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27920
27921 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
27922 step at end.
27923
27924 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
27925
279261999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
27927
27928 * gdb.java/jv-print.exp: New file. (Our first Java test!)
27929
cce74817
JM
27930Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
27931
27932 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
27933 * gdb.base/mips_pro.exp: Likewise.
27934
279351999-06-02 Keith Seitz <keiths@cygnus.com>
27936
27937 * gdb.c++/templates.cc: Change all "new" operators to throw
27938 an exception.
27939 * gdb.c++/cplusfuncs.cc: Likewise.
27940
27941 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
27942
27943Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
27944
27945 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
27946 * gdb.base/ending-run.exp: When stepping out of main, accept a
27947 step into an arbitrary assembler file.
cce74817 27948
392a587b
JM
279491999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27950
d63a86f8 27951 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 27952 "breakpoint-invalid" to be printed.
6fdff2c5
PA
27953 * gdb.base/annota2.exp: Revise line number for main
27954 breakpoint. Allow any number of "frames-invalid" and
27955 "breakpoint-invalid" to be printed.
392a587b
JM
27956 * gdb.base/annota2.cc: Initialize a.x to 0.
27957
9e086581
JM
279581999-05-17 Keith Seitz <keiths@cygnus.com>
27959
6fdff2c5
PA
27960 * gdb.base/call-ar-st.exp: Skip
27961 "print print_double_array (double_array)" when "skip_float_tests" set.
27962 Ditto for "print print_double_array(array_d)",
27963 "print print_small_structs", "print print_ten_doubles", and
27964 "step into print_long_arg_list".
27965 Don't assume we can step into "print_long_arg_list": we could step
27966 into memcpy.
27967 * gdb.base/call-rt-st.exp: Don't run float-related tests when
27968 "skip_float_tests" is set: "print print_one_double(*d1)"
27969 and "print print_two_floats(*f3)".
9e086581
JM
27970 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
27971 "skip_float_tests" is set.
6fdff2c5
PA
27972 * gdb.base/varargs.exp: Skip
27973 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
27974 "skip_float_tests" set.
d63a86f8 27975
cd0fc7c3
SS
279761999-05-06 Keith Seitz <keiths@cygnus.com>
27977
27978 * gdb.base/annota2.cc: Include stdio.h.
27979
27980Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
27981
27982 * gdb.base/crossload.exp: Remove, this has been disabled ever
27983 since BFD stopped including all targets, and cross-GDB gets
27984 plenty of testing anyway.
27985 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
27986 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
27987 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
27988 * gdb.base/README: Remove, was doc for this.
27989 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 27990 needed.
cd0fc7c3 27991
b83266a0
SS
279921999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27993
27994 * gdb.base/call-ar-st.exp: Fix one regular expression in test
27995 output.
27996
27997 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
27998 * gdb.base/annota2.exp: New file. More annotation tests.
27999 * gdb.base/annota1.c: New file. Source file for annota1.exp.
28000 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
28001
280021999-04-23 Angela Marie Thomas <angela@cygnus.com>
28003
28004 * config/cfdbug.exp: New file.
28005
7a292a7a
SS
280061999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
28007
28008 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
28009 Marcus Daniel's and Dale Hawkins's demangler crashes.
28010
28011 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
28012 test_lucid_style_demangling, test_arm_style_demangling,
28013 test_hp_style_demangling): Try Tom Tromey's core-dumping
28014 identifier under each demangling style.
7a292a7a
SS
28015
280161999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
28017
28018 * gdb.c++/demangle.exp: Include the current demangling style
28019 in all test names.
28020 (current_demangling_style): New global variable.
28021 (set_demangling_style, test_demangling_core, test_demangling,
28022 test_demangling_exact): New functions.
28023 (test_gnu_style_demangling, test_lucid_style_demangling,
28024 test_arm_style_demangling, test_hp_style_demangling): Use those,
28025 instead of calling gdb_test and gdb_test_exact directly.
28026 (catch_demangling_errors): New function, which reports errors
28027 signalled by the demangling test functions in an orderly way.
28028 (do_tests): Use catch_demangling_errors.
28029
280301999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
28031
28032 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 28033 grouping in expressions, not {}.
7a292a7a
SS
28034
28035 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 28036 initialized yet.
7a292a7a
SS
28037
280381999-04-01 Stan Shebs <shebs@andros.cygnus.com>
28039
28040 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
28041 are listed.
28042
280431999-03-26 Stan Shebs <shebs@andros.cygnus.com>
28044
28045 * gdb.stabs/weird.exp: Test for CC being defined before
28046 looking at its value.
28047
280481999-03-25 Stan Shebs <shebs@andros.cygnus.com>
28049
28050 * gdb.base/call-ar-st.exp: Remove stray '#'.
28051 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
28052 "short int" and "long int".
28053 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 28054 change, to mollify finicky HP compiler.
7a292a7a
SS
28055 * gdb.hp/reg-test.exp (testfile): Fix file name.
28056 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 28057
7a292a7a
SS
28058 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
28059 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
28060 alternate form of enum ptype.
28061
c906108c
SS
280621999-03-23 Stan Shebs <shebs@andros.cygnus.com>
28063
7a292a7a
SS
28064 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
28065 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
28066 passing skip_hp_tests, so as not to waste time on guaranteed
28067 failure.
7a292a7a 28068
c906108c
SS
28069 * gdb.c++/overload.cc: Pass string instead of char addr, always
28070 init ccpfoo.
28071 * gdb.c++/templates.cc: Fix syntax error.
28072
7a292a7a
SS
28073Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28074
28075 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 28076 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
28077 command.
28078
280791999-03-18 James Ingham <jingham@cygnus.com>
28080
28081 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
28082
28083 * gdb.c++/method.exp: It was testing an uninitialized int on the
28084 stack and assuming it was positive.
28085
28086 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
28087
28088 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 28089 keep it from killing the rest of the tests.
7a292a7a
SS
28090 Use gdb_continue_to_end.
28091
28092 * gdb.base/sigall.exp: use gdb_continue_to_end.
28093
28094 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
28095
28096 * gdb.base/display.exp: use runto_main, not run.
28097
d63a86f8
RM
28098 * gdb.base/default.exp: Check for the current error message in the
28099 r abbreviation test.
7a292a7a
SS
28100 Add strongarm to the targets that know info float.
28101
d63a86f8 28102 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
28103 run which doesn't work with monitors.
28104
6fdff2c5
PA
28105 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
28106 1034 test.
7a292a7a
SS
28107
28108 * gdb.base/break.exp: use the gdb_continue_to_end proc.
28109
6fdff2c5
PA
28110 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
28111 end of a program. Traps the case (in Cygmon) when the program
28112 never really exits. Same as Mark's continue_to_exit, but I had
28113 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
28114
28115 * config/monitor.exp (gdb_target_monitor): added another
28116 target_info parameter: remotebinarydownload. This will set the
28117 remotebinarydownload flag if this is causing some boards trouble.
28118
281191999-03-18 Mark Salter <msalter@cygnus.com>
28120
28121 * lib/gdb.exp (continue_to_exit): New function.
28122
28123 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
28124 * gdb.base/ending-run.exp: Ditto.
28125 * gdb.base/step-test.exp: Ditto.
28126
281271999-03-16 Stan Shebs <shebs@andros.cygnus.com>
28128
28129 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
28130 (suggested by Art Haas <ahaas@neosoft.com>).
28131
281321999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
28133
889bf7c5 28134 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
28135
28136Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
28137
28138 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 28139 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
28140
281411999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
28142
28143 * gdb.base/call-strs.exp: Don't assume that `step' will step over
28144 a call to strlen; sometimes we do have sources.
28145
281461999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
28147
28148 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 28149 character, so GDB won't print garbage after its end.
d63a86f8 28150
c906108c
SS
28151 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
28152 breakpoint there instead. Sometimes GCC emits memcpy to handle
28153 the large structures being passed by value, so we step into that
28154 instead of sum_array_print, which obscures what we're really testing.
28155 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
28156 the bizarre steps into memcpy, so do that here. Add check for
28157 stepping into function calls that pass large structures by value.
28158 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
28159 Remove all references to specific line numbers.
28160 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
28161 New type and function.
28162 (main): Call large_struct_by_value, passing it a large struct by value.
28163 * lib/gdb.exp (gdb_get_line_number): New function.
28164
28165 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
28166 more portable.
28167
7a292a7a
SS
281681999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
28169
c906108c
SS
28170 * lib/gdb.exp: Doc fixes.
28171
7a292a7a
SS
281721999-03-05 Nick Clifton <nickc@cygnus.com>
28173
d63a86f8 28174 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
28175
281761999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
28177
c906108c 28178 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
28179 commands. They're not germane to this test, and they don't work
28180 that way on remote targets.
c906108c 28181
3fc11d3e
JM
281821999-03-01 James Ingham <jingham@cygnus.com>
28183
28184 * Changelog entries merged over from gdb development branch.
28185
3fc11d3e
JM
28186 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
28187
28188 * lib/gdb.exp (gdbtk_analyze_results): Generic function
28189 for outputting results of test run.
28190
2d4a1622 28191 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
28192
28193 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 28194
7a292a7a
SS
281951999-02-25 Felix Lee <flee@cygnus.com>
28196
28197 * lib/gdb.exp (debug_format): initialize
28198
c906108c
SS
281991999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
28200
28201 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
28202 * gdb.base/call-rt-st.c: Ditto.
28203
c906108c
SS
282041999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
28205
28206 * gdb.threads/pthreads.exp (horiz): New variable.
28207 (test_startup): Fix regexps that capture thread numbers.
28208
282091999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
28210
28211 * gdb.base/smoke.exp: Disambiguate two test case names (both
28212 called ``print'').
28213
28214Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28215
28216 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 28217 compilation.
c906108c
SS
28218
282191999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28220
28221 * gdb.base/miscexprs.exp: Change patterns to match GDB's
28222 actual output formatting.
28223 * gdb.base/smoke.exp: GDB removes leading 0's.
28224 * gdb.base/volatile.exp: Don't check type of remuneration;
28225 that variable is no longer defined in constvars.c.
28226 * gdb.base/step-test.c (main): Exit with explicit exit code.
28227 * gdb.base/step-test.exp: Remove two nexti checks--they are
28228 not portable.
28229
282301999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28231
28232 * gdb.base/help.exp ("help delete display"): Fix test to match
28233 gdb's output.
28234
28235 * gdb.base/long_long.c (known_types): Initialize values to zero.
28236 * gdb.base/long_long.exp: Step one more line
28237 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
28238 leading zeros. Explicitly ask for hex formatting. Use
28239 unique test case names.
c906108c
SS
28240
28241Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28242
d63a86f8 28243 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
28244
28245 * gdb.c++/method.exp: Add missing close brace.
28246
282471999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
28248
28249 * gdb.base/maint.exp: Use 'set height 0' to disable page
28250 prompting, not 'set height 400'.
28251
28252 Fix a bunch of timeouts.
28253 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
28254 four separate tests, so expect doesn't take forever to match a ton
28255 of text against a regexp with lots of .* forms.
28256 ("maint print psymbols", "maint print symbols"): Make some of
28257 these greps more selective, so that expect doesn't try to wade
28258 through huge piles of output and time out.
28259
28260 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
28261
28262 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
28263 tests: one which doesn't expect shlib events to be reported, and
28264 another which does, but is XFAIL for all platforms other than
28265 HP/UX.
c906108c
SS
28266
28267 * gdb.base/break.exp: Teach the test suite that the `catch
28268 fork', `catch vfork', and `catch exec' commands produce error
28269 messages on platforms that don't provide these features.
28270
28271Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28272
28273 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
28274 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
28275 (shortening names from solib_threshold.exp etc), won't run on
28276 anything but HP-UX for the foreseeable future.
c906108c 28277 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 28278 reflect move.
c906108c
SS
28279
28280Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
28281
28282 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 28283 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
28284
28285Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
28286
28287 * gdb.base/shlib-call.exp: add test cases to verify that gdb
28288 successfully re-sets breakpoints in shared libraries.
28289 * gdb.base/shmain.c (main): return 0, don't fall off the end.
28290
28291Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28292
d63a86f8
RM
28293 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
28294 and compiled w/o GCC.
c906108c
SS
28295
28296 * gdb.hp/watch-cmd.exp: ditto.
28297
28298 * gdb.hp/watch-hp.exp: ditto.
28299
28300 * gdb.hp/xdb1.exp: ditto.
28301
28302 * gdb.hp/xdb2.exp: ditto.
28303
28304 * gdb.hp/dbx.exp: ditto.
28305
28306Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
28307
28308 * constvars.c: Remove C++-isms.
28309 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 28310 with GCC.
c906108c
SS
28311
28312Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
28313
28314 The following changes are part of the HP merge.
28315
28316 * gdb.base/break.exp: new tests to verify that catchpoints for
28317 fork, vfork, and exec don't trigger inappropriately.
28318
28319 * gdb.base/opaque.exp: compile one file at a time, then link.
28320
28321 * gdb.base/signals.exp: be more restrictive about which hppa
28322 systems receive a setup_xfail. new tests.
28323
28324 * gdb.base/solib_threshold.build: new file.
28325 * gdb.base/solib_threshold.exp: new file.
28326 * gdb.base/solib_threshold.link_opts: new file.
28327 * gdb.base/solib_threshold.mk: new file.
28328 * gdb.base/gen_solib_threshold.c: new file.
28329
28330 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
28331 tests. New tests for enums inside classes.
28332
28333 * gdb.c++/compiler.cc: indicate support of template debugging.
28334
28335 * gdb.c++/demangle.exp: run hp style demangling tests.
28336
28337 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
28338 tests.
28339
28340 * gdb.c++/misc.cc: changes to support new tests.
28341
28342 * gdb.c++/templates.cc: changes to support HP's compiler; changes
28343 to support new tests.
28344
28345 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
28346 gcc, then skip these tests.
28347
28348Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
28349
28350 The following files are part of the HP merge; some had longer
28351 names at HP, but have been renamed to be no more than 14
28352 characters in length.
28353
28354 * gdb.hp/ambiguous.cc: new file.
28355 * gdb.hp/ambiguous.exp: new file.
28356 * gdb.hp/attach.exp: new file.
28357 * gdb.hp/attach2.exp: new file.
28358 * gdb.hp/classes-hp.exp: new file.
28359 * gdb.hp/ctti.exp: new file.
28360 * gdb.hp/ctti-add.cc: new file.
28361 * gdb.hp/ctti-add1.cc: new file.
28362 * gdb.hp/ctti-add2.cc: new file.
28363 * gdb.hp/ctti-add3.cc: new file.
28364 * gdb.hp/dbx.exp: new file.
28365 * gdb.hp/exception.cc: new file.
28366 * gdb.hp/exception.exp: new file.
28367 * gdb.hp/foll-exec.c: new file.
28368 * gdb.hp/foll-exec.exp: new file.
28369 * gdb.hp/foll-fork.c: new file.
28370 * gdb.hp/foll-fork.exp: new file.
28371 * gdb.hp/foll-vfork.c: new file.
28372 * gdb.hp/foll-vfork.exp: new file.
28373 * gdb.hp/inherit-hp.exp: new file.
28374 * gdb.hp/more-steps.exp: new file.
28375 * gdb.hp/namespace.cc: new file.
28376 * gdb.hp/namespace.exp: new file.
28377 * gdb.hp/optimize.exp: new file.
28378 * gdb.hp/pxdb.c: new file.
28379 * gdb.hp/pxdb.exp: new file.
28380 * gdb.hp/quicksort.exp: new file.
28381 * gdb.hp/reg-test.exp: new file.
28382 * gdb.hp/reg-test.s: new file.
28383 * gdb.hp/sized-enum.c: new file.
28384 * gdb.hp/sized-enum.exp: new file.
28385 * gdb.hp/start-stop.exp: new file.
28386 * gdb.hp/templ-hp.cc: new file.
28387 * gdb.hp/templ-hp.exp: new file.
28388 * gdb.hp/thr-lib.c: new file.
28389 * gdb.hp/thr-lib.exp: new file.
28390 * gdb.hp/thr-lib.h: new file.
28391 * gdb.hp/thr-liblib.c: new file.
28392 * gdb.hp/virtfun-hp.c: new file.
28393 * gdb.hp/virtfun-hp.exp: new file.
28394 * gdb.hp/watch-cmd.exp: new file.
28395 * gdb.hp/watch-hp.exp: new file.
28396 * gdb.hp/xdb1.exp: new file.
28397 * gdb.hp/xdb2.exp: new file.
28398 * gdb.hp/xdb3.exp: new file.
28399
28400Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
28401
28402 The following files are part of the HP merge; some had longer
28403 names at HP, but have been renamed to be no more than 14
28404 characters in length.
28405
28406 * gdb.base/ss.h: new file.
28407 * gdb.base/call-ar-st.c: new file.
28408 * gdb.base/call-ar-st.exp: new file.
28409 * gdb.base/call-rt-st.c: new file.
28410 * gdb.base/call-rt-st-exp: new file.
28411 * gdb.base/call-strs.exp: new file.
28412 * gdb.base/ena-dis-br.exp: new file.
28413 * gdb.base/environ.exp: new file.
28414 * gdb.base/long_long.exp: new file.
28415 * gdb.base/sect-cmd.exp: new file.
28416 * gdb.base/shlib-cl2.exp: new file.
28417 * gdb.base/smoke.exp: new file.
28418 * gdb.base/so-impl-ld.c: new file.
28419 * gdb.base/so-impl-ld.exp: new file.
28420 * gdb.base/so-indr-cl.c: new file.
28421 * gdb.base/so-indr-cl.exp: new file.
28422 * gdb.base/varargs.exp: new file.
28423 * gdb.base/volatile.exp: new file.
28424 * gdb.base/whatis-exp.exp: new file.
7a292a7a 28425 * gdb.base/display.exp: new file.
c906108c
SS
28426 * gdb.c++/derivation.exp: new file.
28427 * gdb.c++/local.exp: new file.
28428 * gdb.c++/member-ptr.exp: new file.
28429 * gdb.c++/overload.exp: new file.
28430 * gdb.c++/ovldbreak.exp: new file.
28431 * gdb.c++/ref-types.exp: new file.
28432 * gdb.c++/ref-types2.exp: new file.
28433 * gdb.c++/userdef.exp: new file.
d63a86f8 28434
c906108c
SS
28435Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
28436
28437 * gdb.base/default.exp: Reflect wording change in remote.c.
28438
dc96c6c7 28439Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28440
28441 * gdb.base/help.exp: Update to reflect current text.
28442
28443Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
28444
28445 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
28446 they're stack variables and contain garbage.
28447 * gdb.c++/anon-union.exp: new file.
28448
28449 The following changes were made by David Taylor
889bf7c5
PA
28450 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28451 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28452 in changes by HP.
c906108c
SS
28453
28454 * gdb.base/bitops.exp: new file.
28455 * gdb.base/default.exp: change expected messages for catch and
28456 info catch tests to reflect HP merge changes.
28457 * gdb.base/enable-disable-break.exp
28458 * gdb.base/ending-run.c: new file.
28459 * gdb.base/long_long.c: new file.
28460 * gdb.base/maint.exp: new file.
28461 * gdb.base/pointers2.exp: new file.
28462 * gdb.base/shlib-call2.exp: new file.
28463 * gdb.base/solib.exp: new file.
28464 * gdb.base/step-test.c: new file.
28465 * gdb.c++/anon-union.cc: new file.
28466 * gdb.c++/local.cc: new file.
28467 * gdb.c++/member-pointer.cc: new file.
28468 * gdb.c++/method.cc: new file.
28469 * gdb.c++/ref-types.cc: new file.
28470 * gdb.c++/ref-types2.cc: new file.
28471 * gdb.c++/userdef.cc: new file.
d63a86f8 28472
c906108c
SS
28473 * gdb.base/scope.exp: compile one file at a time, then link.
28474 * gdb.base/langs.exp: ditto.
28475 * gdb.base/list.exp: ditto.
d63a86f8 28476
c906108c
SS
28477Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
28478
28479 The following changes were made by David Taylor
889bf7c5
PA
28480 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28481 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28482 in changes by HP.
d63a86f8 28483
c906108c
SS
28484 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
28485 skip tests. When compiling pass c++ flag to gdb_compile.
28486 * gdb.c++/
d63a86f8 28487
c906108c
SS
28488 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
28489 test for on hppa*-*-hpux*; use args to see if c++ was specified.
28490 (skip_hp_tests): new function.
28491 (gdb_preprocess): new function.
28492
28493 * configure.in (hpdir): decide whether to configure gdb.hp.
28494 * configure: regenerated.
28495
28496 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
28497 to delete on clean.
28498 (EXECUTABLES): update to reflect new additions.
28499 * gdb.base/commands.exp: update message expected.
28500 * gdb.base/default.exp: add copyright notice.
28501 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
28502 * gdb.base/help.exp: update messages to reflect current text.
28503 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
28504 targets for recurse tests.
28505 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
28506 skip this file.
28507
28508 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
28509 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
28510 compilation.
28511 * gdb.c++/misc.exp: ditto.
28512 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
28513 run the tests. tell gdb_compile that it's a c++ compilation.
28514
28515 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 28516
c906108c
SS
28517 * gdb.base/all-bin.exp: new file.
28518 * gdb.base/arithmet.exp: new file.
28519 * gdb.base/assign.exp: new file.
28520 * gdb.base/completion.exp: new file.
28521 * gdb.base/cond-expr.exp: new file.
28522 * gdb.base/condbreak.exp: new file.
28523 * gdb.base/define.exp: new file.
28524 * gdb.base/dollar.exp: new file.
28525 * gdb.base/environment.exp: new file.
28526 * gdb.base/eval-skip.exp: new file.
28527 * gdb.base/jump.exp: new file.
28528 * gdb.base/logical.exp: new file.
28529 * gdb.base/pointers.exp: new file.
28530 * gdb.base/relational.exp: new file.
28531 * gdb.base/section_command.exp: new file.
28532 * gdb.base/whatis-expr.exp: new file.
28533
28534 * gdb.base/all-types.c: new file.
28535 * gdb.base/call-array-struct.c: new file.
28536 * gdb.base/call-return-struct.c: new file.
28537 * gdb.base/call-strings.c: new file.
28538 * gdb.base/callfuncs2.c: new file.
28539 * gdb.base/condbreak.c: new file.
28540 * gdb.base/constvars.c: new file.
28541 * gdb.base/display.c: new file.
28542 * gdb.base/int-type.c: new file.
28543 * gdb.base/jump.c: new file.
28544 * gdb.base/miscexprs.c: new file.
28545 * gdb.base/pointers.c: new file.
28546 * gdb.base/pointers2.c: new file.
28547 * gdb.base/shmain.c: new file.
28548 * gdb.base/shr1.c: new file.
28549 * gdb.base/shr2.c: new file.
28550 * gdb.base/solib.c: new file.
28551 * gdb.base/solib1.c: new file.
28552 * gdb.base/solib2.c: new file.
28553 * gdb.base/varargs.c: new file.
28554 * gdb.c++/derivation.cc: new file.
28555 * gdb.c++/overload.cc: new file.
28556 * gdb.c++/ovldbreak.cc: new file.
28557 * gdb.hp/attach.c: new file.
28558 * gdb.hp/attach2.c: new file.
28559 * gdb.hp/average.c: new file.
28560 * gdb.hp/compiler.c: new file.
28561 * gdb.hp/compiler.cc: new file.
28562 * gdb.hp/execd-program.c: new file.
28563 * gdb.hp/follow-exec.c: new file.
28564 * gdb.hp/follow-fork.c: new file.
28565 * gdb.hp/follow-vfork-and-exec.c: new file.
28566 * gdb.hp/misc-hp.cc: new file.
28567 * gdb.hp/more-steps.c: new file.
28568 * gdb.hp/optimize.c: new file.
28569 * gdb.hp/quicksort.c: new file.
28570 * gdb.hp/run-hp.c: new file.
28571 * gdb.hp/start-stop.c: new file.
28572 * gdb.hp/sum.c: new file.
28573 * gdb.hp/templates-hp.cc: new file.
28574 * gdb.hp/thread-local-in-lib.c: new file.
28575 * gdb.hp/thread-local-in-lib.h: new file.
28576 * gdb.hp/thread-local-in-lib.lib.c: new file.
28577 * gdb.hp/vforked-program.c: new file.
28578 * gdb.hp/virtfunc-hp.cc: new file.
28579 * gdb.hp/watchpoint-hp.c: new file.
28580 * gdb.hp/xdb.c: new file.
28581 * gdb.hp/xdb0.c: new file.
28582 * gdb.hp/xdb0.h: new file.
28583 * gdb.hp/xdb1.c: new file.
28584
28585Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
28586
28587 The following change was made by Edith Epstein
889bf7c5
PA
28588 <eepstein@cygnus.com> as part of a project to merge in changes
28589 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
28590
28591 * gdb.c++/demangle.exp: changed the expected output for some
28592 ARM-style mangling -- removed second reference to datatype.
889bf7c5 28593 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 28594 T1<char>::~T1<char>(void)
c906108c 28595 becomes,
a9c64011
AS
28596 maint demangle __dt__11T1__pt__2_cFv
28597 T1<char>::~T1(void)
c906108c 28598
889bf7c5 28599 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 28600
c906108c
SS
28601Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
28602
28603 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
28604 * gdb.trace/backtrace.exp: Likewise.
28605 * gdb.trace/circ.exp: Likewise.
28606 * gdb.trace/collection.exp: Likewise.
28607 * gdb.trace/deltrace.exp: Likewise.
28608 * gdb.trace/infotrace.exp: Likewise.
28609 * gdb.trace/limits.exp: Likewise.
28610 * gdb.trace/packetlen.exp: Likewise.
28611 * gdb.trace/passc-dyn.exp: Likewise.
28612 * gdb.trace/passcount.exp: Likewise.
28613 * gdb.trace/report.exp: Likewise.
28614 * gdb.trace/save-trace.exp: Likewise.
28615 * gdb.trace/tfind.exp: Likewise.
28616 * gdb.trace/tracecmd.exp: Likewise.
28617 * gdb.trace/while-dyn.exp: Likewise.
28618 * gdb.trace/while-stepping.exp: Likewise.
28619
286201998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
28621
28622 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
28623
28624Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
28625
28626 From Brendan Kehoe:
28627 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
28628 int return types.
28629
28630Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
28631
28632 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 28633 remote dos host testing right.
c906108c
SS
28634
28635Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
28636
28637 * gdb.base/corefile.exp: remove some xfails.
28638
28639Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
28640
28641 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 28642 have different timestamps.
c906108c
SS
28643
28644Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
28645
28646 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 28647 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
28648
28649Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
28650
28651 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 28652 delta.
c906108c
SS
28653
28654Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
28655
28656 * gdb.base/default.exp: Add brace missing from previous delta.
28657
28658Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
28659
28660 * gdb.base/default.exp: Support test for info float for all
28661 varieties of arm toolchain.
28662
dc96c6c7 28663Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28664
28665 * gdb.trace/*.exp: remove "remote_download" command.
28666
dc96c6c7 28667Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28668
28669 * gdb.trace/*.exp: remove -gdwarf from compile.
28670
28671Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
28672
28673 * gdb.trace/configure.in(AC_INIT): typo
28674 * gdb.trace/configure: regenerated
28675
dc96c6c7 28676Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28677
28678 * config/m68k-emc.exp: New file.
28679 * lib/<emc-support.exp trace-support.exp}: New files.
28680 * configure.in: add new test directory gdb.trace.
28681 * gdb.trace/{configure configure.in Makefile.in}: New files.
28682 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
28683 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
28684 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
28685 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
28686 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
28687 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
28688 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 28689
dc96c6c7 28690Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28691
28692 * gdb.c++/classes.exp: Change all regular expressions to match
28693 arbitrary combinations of newline/carriage-return, so that they
28694 will work equally well on Unix and Windows.
28695 * gdb.c++/inherit.exp: ditto.
28696 * gdb.c++/virtfunc.exp: ditto.
28697
286981998-08-11 Dawn Perchik <dawn@cygnus.com>
28699
28700 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
28701
c2d11a7d
JM
28702Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
28703
28704 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
28705 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
28706 to use a0-a3/d0-d3 as needed.
28707
28708Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
28709
28710 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
28711 * gdb.disasm/am33.exp: Corresponding changes.
28712
c906108c
SS
287131998-07-11 Felix Lee <flee@cygnus.com>
28714
28715 * gdb.base/callfuncs.exp: add cmp10 test.
28716 * gdb.base/callfuncs.c (cmp10): new function.
28717
28718Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
28719
d63a86f8 28720 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
28721 into two parts to get around a synchronization problem in expect.
28722
3fc11d3e
JM
28723Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
28724
28725 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
28726
28727 * configure.in: Add options for gdbtk testsuite.
28728
28729 * configure: Regenerate.
28730
28731 * gdb.gdbtk: New directory to hold gdbtk tests.
28732
c906108c
SS
28733Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28734
28735 * gdb.fortran/types.exp: Escape brackets in expect patterns
28736 for test_float_literal_types_accepted tests.
28737 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
28738 before run test.
28739
c2d11a7d
JM
28740Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
28741
28742 * am33.exp: Just compile, do not link the testcase.
28743 * am33.s: Add ".am33" pseudoop to force am33 mode.
28744
c906108c
SS
287451998-06-25 Felix Lee <flee@cygnus.com>
28746
28747 * gdb.base/setshow.exp: make sure $pc is sane.
28748
28749 * gdb.stabs/weird.exp: split expect patterns properly.
28750
c2d11a7d
JM
28751Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
28752
28753 * gdb.disasm/am33.s: New disassembler testfile for the am33.
28754 * gdb.disasm/am33.exp: Run it.
28755
dc96c6c7 28756Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28757
28758 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
28759 match processing (and eliminate spurious timeouts when running).
28760
dc96c6c7 28761Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28762
28763 * gdb.base/signals.exp (test_handle_all_print): put back Mach
28764 exception test, but conditionalize it on target [mach | gnu].
28765
dc96c6c7 28766Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28767
28768 * gdb.base/overlays.exp: fixup compile line for linker script.
28769
28770Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
28771
28772 * gdb.fortran/types.exp: don't guess at float size.
28773
28774Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
28775
28776 * gdb.base/exprs.exp: delete test that depends on int size.
28777
28778Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
28779
28780 * config/sim.exp: Removed checks for target triplets.
28781 (gdb_target_sim): Use gdb,target_sim_options.
28782
28783Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
28784
28785 * gdb.base/reread.exp: New file.
28786 * gdb.base/reread1.c: New file.
28787 * gdb.base/reread2.c: New file.
28788
28789Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
28790
28791 * config/sim.exp: Use 'target sim -sparclite' when running
28792 SPARClite programs.
28793
28794Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
28795
28796 * gdb.base/structs2.exp: New file.
28797 * gdb.base/structs2.c: New file.
28798
28799Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
28800
28801 * gdb.asm/common.inc: New file.
28802 * gdb.asm/d10v.inc: New file.
28803 * asm-source.exp: Pass -I's to gas to find .inc files.
28804 Update line numbers in expected output.
28805 * asmsrc1.s: Rewrite.
28806 * asmsrc2.s: Rewrite.
28807 * configure.in: Create arch.inc symlink.
28808 * configure: Regenerate.
28809 * Makefile.in (distclean): Delete arch.inc.
28810
28811Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
28812
28813 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
28814 (t_enum_value2): ditto
28815 (t_enum_value3): ditto
28816 (main): ditto
c906108c
SS
28817Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28818
28819 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
28820 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
28821 change.
28822 Use gdb_test instead of send_gdb/gdb_expect sequences.
28823
28824Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
28825
28826 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
28827 not void.
28828
28829Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
28830
28831 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
28832 subroutines. Used to test gdbs ability to single step through PC
28833 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
28834
28835Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
28836
28837 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
28838 more rigorous EGCS C++ error checking.
28839
28840Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28841
a9c64011
AS
28842 * gdb.base/help.exp: Clean up `help set args' and `help show args'
28843 tests.
28844 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
28845 function when asleep.
28846 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
28847 for i*86 Linux and SVR4 signal handling problems.
28848 Remove linux xfail for `next to handler in signals_tests_1', fixed
28849 by recent infrun.c change.
28850 Limit backtrace to 10 frames to avoid timeout problems with infinite
28851 stack backtraces.
28852 Adjust expect pattern in `handle all print' test to match Apr 28 1997
28853 target.[ch] change.
c906108c
SS
28854
28855Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
28856
28857 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
28858 for a newline from gdb before continuing.
28859 (default_gdb_exit): Just look for y or n.
28860 (gdb_test): Detect abnormal exit from GDB running on DOS; if
28861 it does, fail the rests of the tests in the file.
28862
28863Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
28864
28865 * config/cygmon.exp: New file.
28866
28867Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
28868
28869 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 28870 main" test on remote targets.
c906108c
SS
28871
28872 * gdb.base/scope.exp: Fix problem with filelocal_bss before
28873 run test on remote targets.
28874
28875Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
28876
28877 * gdb.asm: New directory.
28878 * configure.in: Configure it.
28879 * configure: Regenerate.
28880 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
28881 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
28882
28883Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
28884
28885 * config/mn10300-eval.exp: New file to support MN10300 eval board.
28886
dc96c6c7 28887Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 28888
a9c64011
AS
28889 * gdb.base/overlays (several files): Merge the two overlay
28890 managers into one. Change variables (foox, barx, bazx, grbxx)
28891 back into ints but force them to load in their proper sections.
c906108c
SS
28892
28893Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
28894
28895 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 28896 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
28897 (D10VCopy): Handle memory regions crossing 16k boundaries.
28898 (D10VCopy): Transfer data in 32 bit chunks.
28899
28900Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
28901
28902 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 28903 correct.
c906108c
SS
28904
28905 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 28906 map. Include space for printf in .text segment.
c906108c
SS
28907
28908 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 28909 updated d10v memory VMA/LMA map.
c906108c 28910 (D10VCopy): Call D10VTranslate.
d63a86f8 28911
c906108c
SS
28912Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
28913
28914 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
28915
28916 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
28917 that it won't be put into the .sdata - small data -
28918 section. Update reference.
c906108c
SS
28919 * gdb.base/baz.c (bazx, baz): Ditto.
28920 * gdb.base/foo.c (foox, foo): Ditto.
28921 * gdb.base/grbx.c (grbxx, grbx): Ditto.
28922
28923 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 28924 to be arrays.
d63a86f8 28925
dc96c6c7 28926Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 28927
a9c64011
AS
28928 * gdb.base/overlays.exp: fix up and get working again.
28929 Add tests for backtraces from an overlay function.
d63a86f8 28930
c906108c
SS
28931Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
28932
28933 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
28934 "calling function with watchpoint enabled".
28935
28936Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
28937
28938 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 28939 gdb_suppress_tests for d10v-*-*.
c906108c
SS
28940 * lib/gdb.exp (gdb_suppress_tests): Disable this function
28941 pending review of whether it is useful or not.
28942
28943Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
28944
28945 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
28946
28947Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
28948
28949 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
28950 * config/dve.exp: New file to support Densan boards.
28951
28952Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
28953
28954 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 28955 reads and BSD.
c906108c
SS
28956
28957Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
28958
28959 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
28960 response.
28961
28962 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
28963
28964Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
28965
28966 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 28967 test.
c906108c
SS
28968
28969 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 28970 target_sizeof_long and target_bigendian_p.
c906108c 28971 (structs_by_value, structs_by_reference): Check values according
889bf7c5 28972 to targets word size and endianess.
d63a86f8 28973
c906108c
SS
28974Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
28975
28976 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 28977 output.
c906108c
SS
28978
28979Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
28980
28981 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 28982 Update test of set args help to match source change.
c906108c
SS
28983
28984Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
28985
28986 * gdb.base/default.exp: Expect help system output to be in
28987 alphabetical order.
28988 * gdb.base/help.exp: Ditto.
28989
28990Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
28991
28992 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
28993 "i*86-pc-linux-gnu*".
28994 * gdb.base/interrupt.exp: Ditto.
28995 * gdb.base/corefile.exp: Ditto.
28996
28997 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 28998 define vxworks when building the testcase.
c906108c
SS
28999
29000 * gdb.base/ptype.exp: Fix testnames to be unique.
29001 * gdb.base/radix.exp: Ditto.
29002 * gdb.base/term.exp: Ditto.
29003 * gdb.base/whatis.exp: Ditto.
29004 * gdb.c++/classes.exp: Ditto.
29005
29006Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
29007
29008 * gdb.base/callfuncs.exp: Fix indentation.
29009
29010 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
29011 suppress_flag has been set.
29012 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
29013 target feature.
29014
29015Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
29016
29017 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
29018 the testcase.
29019
29020 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 29021 set_debug_traps() and breakpoint().
c906108c
SS
29022 * gdb.c++/misc.cc (main): Ditto.
29023 * gdb.c++/templates.cc (main): Ditto.
29024 * gdb.c++/virtfunc.cc (main): Ditto.
29025
29026Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
29027
29028 * lib/gdb.exp(gdb_step_for_stub): New function.
29029 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
29030 exists, reload the executable and do a "continue" instead of
29031 doing a jump.
29032 (runto_main): Use gdb_step_for_stub.
d63a86f8 29033
c906108c 29034 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 29035 tests to have unique names.
c906108c
SS
29036 * gdb.base/callfuncs.exp: Ditto.
29037 * gdb.base/commands.exp: Ditto.
29038 * gdb.base/default.exp: Ditto.
29039 * gdb.base/help.exp: Ditto.
29040 * gdb.base/list.exp: Ditto.
29041 * gdb.base/opaque.exp: Ditto.
29042 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
29043 similar tests.
d63a86f8 29044
c906108c
SS
29045 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
29046 * gdb.c++/cplusfuncs.cc: Ditto.
29047 * gdb.c++/virtfunc.cc: Ditto.
29048
29049 * config/monitor.exp: Keep track of the last file we saw, rather
29050 than trying to get the info from gdb.
29051
29052 * gdb.fortran/types.exp: Move comment to previous line.
29053
29054Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
29055
29056 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 29057 target mode.
c906108c
SS
29058
29059Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
29060
29061 From Bob Manson:
29062 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 29063 string from GDB when it connects.
c906108c
SS
29064
29065 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
29066
29067Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
29068
29069 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
29070 if we can't get a debug format from GDB (we may be testing an
29071 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
29072
29073 * gdb.stabs/weird.exp: Fix quoting.
29074
29075 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
29076
29077Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
29078
29079 * config/arm-ice.exp: New file.
29080
29081Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
29082
29083 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 29084 until it has been modified to work with the new testsuite.
c906108c 29085
99707966 29086 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
29087 testcase won't compile, cause all of the testcases in the file to
29088 fail instead.
c906108c
SS
29089
29090 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
29091 (gdb_clear_suppressed): New procedure.
29092 (gdb_stop_suppressing_tests): Only clear suppress_flag if
29093 it contains a positive value.
29094
29095Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
29096
29097 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
29098
29099 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
29100
29101Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
29102
29103 * lib/gdb.exp (setup_xfail_format): New function.
29104 (get_debug_format): New function to get debug format.
29105 (debug_format): New global variable to hold last value set
29106 by get_debug_format.
29107 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 29108 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
29109 * gdb.c++/ptype.exp: Ditto.
29110 * gdb.c++/classes.exp: Ditto.
29111 * gdb.c++/cplusfuncs.exp: Ditto.
29112 * gdb.c++/inherit.exp: Ditto.
29113 * gdb.c++/templates.exp: Ditto.
29114 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 29115
c906108c
SS
29116Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
29117
29118 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
29119 host doesn't have a currently-open connection.
29120
29121 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
29122 any gdb stub target. Handle cases where gdb doesn't respond when
29123 interrupted in a sane fashion.
c906108c
SS
29124
29125 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 29126 same thing in a totally different way.
c906108c
SS
29127
29128 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 29129 setting "timeout".
c906108c 29130 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 29131 default_gdb_init now.
c906108c
SS
29132
29133Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
29134
29135 * gdb.base/printcmds.exp: Fix "check for floating addition"
29136 regexp to accept results within approx +/- .01 of exact value.
29137 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
29138
29139Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
29140
29141 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 29142 properly.
c906108c
SS
29143 (gdb_expect): Add optional timeout parameter, and add timeout
29144 value to various calls.
29145 (gdb_suppress_tests): Only give one warning message per group.
29146
29147Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
29148
29149 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
29150 global variables. Handle getting a value for $timeout more
29151 gracefully.
c906108c
SS
29152
29153Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29154
29155 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 29156 initialize.
c906108c 29157 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 29158 by a target configuration file.
c906108c
SS
29159 (gdb_expect): Pass the timeout to remote_expect.
29160
29161 * config/monitor.exp(gdb_load): Fix typo in regexp.
29162
29163Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
29164
29165 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
29166
29167Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
29168
29169 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
29170 here. Call gdb_target_exec before rebooting the target, to make
29171 sure the connection to the target is closed.
c906108c
SS
29172 (gdb_load): Pass the name of the executable to gdb_target_monitor.
29173 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
29174 Also detect "Timeout reading from remote" error.
29175
29176 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
29177 gdb_target_monitor. Don't call gdb_file_cmd here; let
29178 gdb_target_monitor do it.
c906108c
SS
29179
29180 * gdb.disasm/hppa.exp: Don't use exec_output.
29181
29182Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
29183
29184 * gdb.base/list.exp: If we're debugging a non-native target,
29185 try to set the pc register to point to the start of the
29186 program before doing the first list command.
29187
29188 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 29189 test_calls after restarting.
c906108c
SS
29190
29191 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 29192 reloading.
c906108c
SS
29193
29194 * gdb.base/watchpoint.exp: Fix typo.
29195
29196 * gdb.base/setshow.exp: Check for use_gdb_stub.
29197
29198 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 29199 stub case.
c906108c
SS
29200 * gdb.base/langs.exp: Ditto.
29201
29202 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
29203 gdb_load_offset. If we weren't given a file to load, figure out
29204 what the current file is and use it.
c906108c
SS
29205
29206 * config/i386-bozo.exp: New file.
29207
29208Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
29209
29210 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
29211 feature.
29212
29213 * config/proelf.exp: New entry.
29214
29215Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
29216
29217 * lib/gdb.exp: Remove spurious .* patterns at the beginning
29218 of regexps.
29219
29220 * gdb.base/watchpoint.exp: Don't run the test_stepping
29221 tests if gdb can't call functions on the target.
29222
29223 * gdb.base/setshow.exp: Don't run the set prompt tests if
29224 the board has gdb_prompt set.
29225
29226Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
29227
29228 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
29229 * gdb.base/commands.exp: Likewise.
29230 * gdb.base/setshow.exp: Likewise.
29231
29232Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
29233
29234 * config/monitor.exp(gdb_start): Look for gdb_prompt target
29235 feature.
29236
29237 * config/i960.exp: New file.
29238
29239Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
29240
29241 * gdb.base/funcargs.exp: Check for gdb,short_int target
29242 feature instead of looking for explicit target triplets.
29243
dc96c6c7 29244Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 29245
d63a86f8 29246 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
29247 "p 123DEADBEEF", to check parse_number.
29248 * top.c: change "to enable to enable" to "to enable" in a couple
29249 of help strings.
29250
29251Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
29252
29253 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
29254 on the mn10300.
d63a86f8 29255
c906108c
SS
29256Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
29257
29258 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
29259 where the test executable is run with explicit args.
29260 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
29261
29262Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
29263
29264 * gdb.base/run.c: Use FAKEARGV to build test executable that
29265 does not require a command line arg, since most simulators
29266 don't currently support passing such an arg into the simulated
29267 program.
29268 * gdb.base/commands.exp: Change tests to insert the proper
29269 value as the arg to the first recursive factorial call. Change
29270 compilation line to define FAKEARGV at compile time.
29271
29272Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
29273
29274 * gdb.base/recurse.exp: Enable these tests for the mn10300.
29275 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
29276 function with watchpoint enabled" test.
29277
29278Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
29279
29280 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 29281 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
29282
29283 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 29284 "Tests restarted" messages.
c906108c
SS
29285
29286Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
29287
29288 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
29289
dc96c6c7 29290Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29291
29292 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
29293 for INFO SYMBOL; add help tests for OVERLAY commands.
29294 * gdb.base/default.exp: add tests for INFO SYMBOL command;
29295 add tests for OVERLAY commands
29296 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
29297 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
29298 * gdb.base/sigall.c: add usestubs code frag
29299 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 29300
c906108c
SS
29301Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
29302
29303 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
29304 failures.
29305 (gdb_stop_suppressing_tests): Note that tests have restarted.
29306
29307Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
29308
29309 * config/h8300.exp: New file.
29310
29311Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
29312
29313 * gdb.base/setshow.exp: Check for the existence of a
29314 feature, not its value.
29315
29316Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
29317
29318 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
29319
29320 * gdb.base/scope.exp: It's now init0(), not init().
29321
29322 * gdb.base/scope0.c: For now, change init() to be init0().
29323
29324 * config/monitor.exp: Use gdb_serial in preference to serial
29325 or netport.
29326
29327 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 29328 and it's not already set.
c906108c
SS
29329
29330Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
29331
29332 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 29333 isn't using a stub and if it supports argument passing.
c906108c
SS
29334
29335Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
29336
29337 * config/udi.exp(gdb_start): Make sure UDICONF is set
29338 properly before starting gdb.
29339
29340Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
29341
29342 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
29343 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
29344 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
29345
29346Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
29347
29348 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 29349 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
29350
29351 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
29352
29353 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
29354
29355 * config/monitor.exp: Make sure we disconnect from the target.
29356 Also, try a reboot/reload cycle instead of failing if the
29357 load fails.
29358
29359Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
29360
29361 * gdb.base/default.exp: Don't set match_max.
29362 * gdb.base/help.exp: Ditto.
29363 * gdb.base/list.exp: Ditto.
29364 * gdb.base/signals.exp: Ditto.
29365
29366 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
29367 set, use remote_ld to download the testcase instead of
29368 the GDB loader.
29369
29370Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
29371
29372 * config/vr5000.exp: New file.
29373
29374 * config/monitor.exp(gdb_target_monitor): Add pattern for
29375 "Ending remote" to detect errors in connecting.
29376
29377 * gdb.base/setshow.exp: Add .* within auto language test.
29378
29379 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
29380 target feature.
29381
29382 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 29383 and reboot the board if necessary.
c906108c
SS
29384
29385 * gdb.base/setvar.exp(test_set): Handle multiple prints within
29386 a set of tests. Remove print.* from the patterns being checked.
29387
29388Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
29389
29390 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
29391 refer to gdb_spawn_id.
29392
29393 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
29394 longer used.
29395 * config/sparclet.exp: Ditto.
29396 * config/sparclet-old.exp: Ditto.
29397 * config/slite.exp: Ditto.
29398 * config/sim.exp: Ditto.
29399 * gdb.base/funcargs.exp: Ditto.
29400
29401 * lib/gdb.exp:Remove references to gdb_spawn_id.
29402 (gdb_expect): Move to remote.exp.
29403
29404Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
29405
29406 * config/monitor.exp: Detect the "Couldn't establish connection"
29407 message from GDB.
29408
29409Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
29410
29411 * gdb.base/bitfields.exp: Use runto instead of explicit
29412 gdb_run_cmd/gdb_expect sequences.
29413
29414 * gdb.base/break.exp(text_next_with_recursion): Add match for
29415 gdb_expect call.
29416
29417 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
29418 We also need to handle the "A program is being debugged already"
29419 prompt from gdb. Use gdb_test to set the baud rate.
29420
29421 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
29422 to 20000. Really. I mean it.
29423
29424Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29425
29426 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
29427 fails. If suppress_flag is set, skip perror message about not
29428 being able to send to GDB.
c906108c 29429 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 29430 GDB.
c906108c
SS
29431 (gdb_expect): If suppress_flag is set, always fail immediately.
29432 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
29433 (gdb_init): Call gdb_stop_suppressing_tests.
29434 (default_gdb_exit): Ditto.
29435 (default_gdb_start): Ditto.
29436
29437 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 29438 gdb_stop_suppressing_tests as appropriate.
c906108c 29439 * gdb.base/break.exp: Ditto.
889bf7c5 29440 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
29441 * gdb.base/commands.exp: Ditto.
29442 * gdb.base/exprs.exp: Ditto.
889bf7c5 29443 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
29444 * gdb.base/list.exp: Ditto.
29445 * gdb.base/recurse.exp: Ditto.
889bf7c5 29446 * gdb.base/scope.exp: Ditto.
c906108c
SS
29447 * gdb.base/structs.exp: Ditto.
29448 * gdb.c++/inherit.exp: Ditto.
29449
29450Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
29451
29452 * config/vr4300.exp: New file.
29453
99707966 29454 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 29455
99707966 29456 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
29457
29458Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
29459
29460 * lib/gdb.exp(gdb_init): New function.
29461
29462 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 29463 for each individual variable set.
c906108c
SS
29464
29465 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
29466 name.
29467
29468 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
29469
29470 * gdb.base/scope.exp: Use gdb_test.
29471
29472 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
29473 aborting; the testsuite driver will do that for us (see
29474 gdb_finish). Also, use gdb_test in a few more places.
29475
29476Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
29477
29478 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
29479
29480Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
29481
29482 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
29483 and "add_tests" are not at the same address.
29484
29485Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
29486
29487 * gdb.base/ptype.exp: Use gdb_test.
29488
29489Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
29490
29491 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
29492 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
29493 left in. No longer expect them to fail.
29494
29495 * gdb.stabs/*.mt; Deleted, no longer used.
29496 * gdb.stabs/configure.in: Remove references to target makefile
29497 frags.
29498 * gdb.stabs/configure: Rebuilt.
29499
29500 * gdb.disasm/*.mt: Deleted, no longer used.
29501 * gdb.disasm/configure.in: Remove references to target makefile
29502 frags. Use "sh3.s" as the unique filename for this directory.
29503 * gdb.disasm/configure: Rebuilt.
29504
29505 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
29506 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
29507 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
29508
29509Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
29510
29511 * config/udi.exp: Use mondfe,name instead of remote_host.
29512
29513Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
29514
29515 * gdb.base/watchpoint.exp: Don't expect a failure when calling
29516 a function with a watchpoint enabled on the mn10200.
29517
29518 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
29519 before trying to create it!
29520
29521Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
29522
29523 * config/vx.exp: Use hostname instead of netport.
29524
29525 * config/vxworks.exp: New file.
29526
29527 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
29528
29529 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 29530 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
29531 occurs.
29532
29533 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
29534 $gdb_spawn_id directly.
29535 (gdb_run_cmd): Try _start as well as start. Use the target feature
29536 gdb,start_symbol as the symbol to start from when jumping.
29537
29538Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
29539
29540 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
29541 redundant) test.
29542
29543 * gdb.base/recurse.exp: Relax final value test for 'b' so that
29544 it doesn't lose for 16bit integer systems.
29545
29546Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
29547
29548 * gdb.fortran/types.exp: If the target doesn't support "double"
29549 data types, then expect "real" types to only be 4 bytes.
29550
29551 * gdb.c++/virtfunc.exp: Expect failure for virtual function
29552 call tests if the target doesn't support inferior function calls.
29553
29554 * gdb.base/printcmds.exp: Allow minor deviation in FP values
29555 in printf tests.
29556
29557Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
29558
29559 * gdb.base/help.exp: Disable "help set", "help show", and
29560 "help support". Simplify regexp for "help stack".
29561
29562 * gdb.base/default.exp: Set match_max to 5000 and the timeout
29563 to 60 seconds. Temporarily set match_max to 15000 around the
29564 "info copying" test.
29565
29566 * gdb.base/nodebug.exp: Don't try to do an inferior function
29567 call if the target doesn't support them.
29568 * gdb.base/printcmds.exp: Likewise.
29569 * gdb.base/setvar.exp: Likewise.
29570 * gdb.base/structs.exp: Likewise.
29571 * gdb.c++/templates.exp: Likewise.
29572 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
29573
29574 * gdb.base/recurse.exp: Enable for the mn10200.
29575
29576 * configure.in: Do configure gdb.stabs directory for *-*-elf
29577 targets.
29578 * configure: Rebuilt.
29579
29580 * gdb.base/break.exp: Check for gdb,noresults before testing
29581 exit status and/or results from the target.
29582 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
29583 * lib/gdb.exp: Remove old (now bogus) initialization of
29584 noinferior, noargs, noresults and nosignals.
29585
29586Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
29587
29588 * config/sh.exp: New file.
29589
29590 * config/slite.exp: Try to connect multiple times to the board
29591 before rebooting. Only send a "monitor run" if need_monitor_run
29592 is set.
29593
29594 * gdb.base/break.exp: Don't do the "stub continue" test if
29595 the target has gdb_stub set.
29596
29597 * gdb.base/callfuncs.exp: Increase the timeout.
29598
29599 * gdb.base/interrupt.exp: Don't even try to compile the testcase
29600 if the target has gdb,noinferiorio set.
29601
29602 * gdb.base/list.exp: Increase match_max to 10000 characters.
29603
29604 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
29605
29606 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
29607 target.
29608
29609 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
29610
29611Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
29612
29613 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
29614 trying to delete the copy of gdb. Catch the file delete so we
29615 don't die if the delete fails; also, the file should be copied to
29616 the host, not to the build.
c906108c
SS
29617
29618Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
29619
29620 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 29621 parenthesis in case it contains multiple regexps separated
c906108c
SS
29622 with |.
29623
29624 * gdb.base/watchpoint.exp: Use gdb_test.
29625 * gdb.base/default.exp: Ditto.
29626
29627Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
29628
99707966 29629 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 29630
c906108c
SS
29631 * gdb.base/scope.exp: Use gdb_test.
29632 * gdb.c++/classes.exp: Ditto.
29633 * gdb.c++/inherit.exp: Ditto.
29634
29635Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
29636
29637 * gdb.base/crossload.exp: Don't use execute_anywhere, use
29638 remote_exec instead.
29639 * gdb.base/corefile.exp: Don't be ridiculous.
29640 * gdb.base/*.c: Add missing stub invocations.
29641
29642Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
29643
29644 * config/slite.exp: Miscellaneous fixes.
29645
29646 * lib/gdb.exp: Fix runto.
29647
29648 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
29649 the target.
29650
29651 * gdb.base/watchpoint.exp: Fix regexp.
29652
29653 * lib/gdb.exp(default_gdb_exit): Add a catch to the
29654 close and wait commands, as the descriptor may now be
29655 invalid. Always call "remote_close host".
29656
29657Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
29658
29659 Major rewrite for testsuite revision.
d63a86f8 29660
c906108c
SS
29661 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
29662 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
29663 instead of relying on spawn_id to always contain a valid
29664 spawn id.
29665 (get_compiler_info): New procedure to build the ${binfile}.ci
29666 file, instead of replicating this in N different places.
29667 (gdb_compile): New procedure.
d63a86f8 29668
c906108c 29669 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
29670 appropriate arguments) instead of compile. Use gdb_test in a lot
29671 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
29672 at the start of a testcase, as this is no longer done magically.
29673
29674 config/*-gdb.exp: Rename without the -gdb suffix.
29675
29676 config/mips.exp: Use remote_close instead of exit_remote_shell.
29677 config/monitor.exp: Use target_info instead of looking at
29678 baud, timeout, etc.
29679 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
29680
29681Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29682
29683 * gdb.c++/templates.exp (test_ptype_of_templates),
29684 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
29685 Update expect patterns for destructors and assignment operators
29686 to match corresponding c-typeprint.c changes.
29687 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
29688 to destructor breakpoint test, GDB should be able to set the
29689 destructor breakpoint without specifying arguments.
29690
29691Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
29692
29693 * gdb.threads/pthreads.exp: Change result for failure to compile due
29694 to lack of pthreads runtime support from an error to simply an
29695 unsupported test, per dejagnu standards.
29696
29697Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29698
29699 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
29700 where GDB exits to reduce pattern match time.
29701 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
29702
29703 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
29704
dc96c6c7 29705Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29706
29707 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
29708 * gdb.base/default.exp: ditto.
29709 * gdb.base/nodebug.exp: ditto.
29710 * gdb.base/printcmds.exp: ditto.
29711 * gdb.base/ptype.exp: ditto.
29712 * gdb.base/setvar.exp: ditto.
29713 * gdb.base/structs.exp: ditto.
29714 * gdb.base/setshow.c: Guard against uninitialized values of argc.
29715
29716Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
29717
29718 * configure, */configure: Rebuild with autoconf 2.12.
29719
29720Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
29721
29722 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
29723 use new i*86-pc-linux*-gnu quads.
29724 * gdb.base/corefile.exp: Ditto.
29725 * gdb.base/signals.exp: Ditto.
29726 * gdb.base/sigall.exp: Ditto.
29727 * gdb.base/interrupt.exp: Ditto.
29728
29729 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
29730 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
29731 RedHat 4.0.
d63a86f8 29732
c906108c 29733 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
29734 linux. This allows the test case to at least compile on latest
29735 linux, but still not run due to missing the threads runtime library.
c906108c
SS
29736
29737Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29738
29739 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
29740 directory to search gdb directory. Accept and step over conditional
29741 stack alignment code. Consume $prompt in failure cases.
29742 Reset timeout to $oldtimeout instead of some arbitrary value.
29743 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
29744 timeout problems with infinite stack backtraces.
29745 * gdb.base/ptype.exp (ptype struct link, union tu_link):
29746 Accept function parameters for linkfunc member.
29747
29748Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
29749
29750 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
29751 (CXXFLAGS): Remove, unreferenced.
29752 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
29753 previous -B options and also add -B option to pick up cross compiled
29754 runtime.
c906108c
SS
29755 (TARGET_INCLUDES): Add for -I options and add code to initialize when
29756 doing cross compiles.
29757 (target_alias): Declare global.
29758 (xgcc): Set variable to full path of gcc in build tree. Use findfile
29759 to verify that gcc exists in build tree, and if so set CC to that
29760 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 29761
c906108c
SS
29762Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
29763
29764 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
29765 ptype test for anonymous union. Fixup testcase to match
29766 current gcc debug output.
29767
29768Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
29769
29770 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
29771 force argument to an unsigned long type.
29772
29773Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
29774
29775 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 29776 tests and anonymous union print/ptype tests.
c906108c
SS
29777 * gdb.base/list.exp (test_forward-search): Increase timeout by
29778 5 minutes for the "search extremely long line" case.
29779 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
29780 completely optional and that the pass/fail messages use the command as
29781 the message if that third arg is a null string.
29782 (gdb_test_exact): Arrange that a null string pattern means match a
29783 null string output rather than any output, which might include random
889bf7c5 29784 errors.
c906108c
SS
29785 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
29786 backtrace test.
29787 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
29788 always failing and failure is now exposed by gdb.exp changes.
29789
29790Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
29791
29792 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
29793 weren't being noted.
29794
29795Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29796
29797 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
29798 * gdb.stabs/weird.exp: Remove v_comb xfails.
29799
dc96c6c7 29800Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29801
29802 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 29803 list.exp scope.exp watchpoint.exp]
c906108c 29804 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 29805
dc96c6c7 29806Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29807
29808 * config/monitor.exp: Increase download timeout to 1000 seconds.
29809
dc96c6c7 29810Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29811
29812 * config/m32r.exp: Increase timeout to 120 seconds.
29813
29814Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
29815
29816 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
29817 and accept older ordering as obsolescent gcc or gdb.
29818 * gdb.c++/templates.exp: Ditto.
29819 * gdb.c++/virtfunc.exp: Ditto.
29820
29821Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
29822
29823 * gdb.base/coremaker.c: Add code to mmap some data so we
29824 can check that it ends up in the core file.
29825 * gdb.base/corefile.exp: Add test to read mmapped data
29826 from core file.
29827
dc96c6c7 29828Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29829
29830 * config/m32r.exp: New file.
29831
29832Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
29833
29834 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
29835 that cflags can contains -gstabs, and work correctly for other tests.
29836
dc96c6c7 29837Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29838
29839 * gdb.base/setshow.exp: New file, tests show and set.
29840 * gdb.base/setshow.c: New file, tests show and set.
29841 * gdb.base/help.exp: Add test for help set|show annotate.
29842 * gdb.base/default.exp: Add test for set|show annotate.
29843
29844Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
29845
29846 * testsuite/gdb.base/break.exp: Make backtrace from factorial
29847 errors unique.
29848 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
29849 explicitly.
29850
29851Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
29852
29853 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
29854 and width commands. This is done elsewhere.
29855 * (gdb_start): Don't call gdb_start_sim here. That's already
29856 done in gdb_load. This fixes lots of failures in default.exp.
29857
29858Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
29859
29860 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
29861 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
29862 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
29863 in the same we we treat other failures (since it may be an expected
889bf7c5 29864 condition), rather than as an error.
c906108c
SS
29865 * gdb.base/signals.exp (test_handle_all_print): Revert back to
29866 old test format.
29867
29868Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
29869
29870 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
29871 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 29872 twice. Nuke the duplicates.
c906108c 29873 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 29874 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
29875 Remove config.h along with other config files.
29876
29877Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
29878
29879 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
29880 "p func1 ()" and note that rests of tests are skipped.
29881 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 29882 setup_xfails for "print func2::coremaker_local".
c906108c
SS
29883 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
29884 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
29885 affected by the previous run test.
29886 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
29887 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
29888 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
29889 "pass int powerset tuple" and "pass modeless int powerset tuple".
29890 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
29891 "real write 4" and "real write 8".
29892 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 29893 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
29894 "print \$i after tuple assign 2", and
29895 "print vs2 after tuple assign 2".
29896 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
29897 meaningful error message and return -1 so the caller can
29898 suppress further tests and avoid a cascade of errors.
d63a86f8 29899
c906108c
SS
29900Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
29901
29902 * gdb.base/a1-selftest.exp: Tweak tests to account for new
29903 format for printing version.
29904 * gdb.base/default.exp: Ditto.
29905 * gdb.base/interrupt.exp: Fix problem with cascade of
29906 errors if child process dies while calling a function.
d63a86f8 29907
c906108c
SS
29908Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
29909
29910 * Makefile.in (VPATH): Add
29911 * Makefile.in (Makefile, config.status): Fix rules so things get
29912 remade when necessary.
29913
29914Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
29915
29916 * Makefile.in (just-check): Add path to sibling expect dir
29917 to environment variable specified by RPATH_ENVVAR.
29918
29919Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
29920
29921 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
29922 (just-check): Add shared library paths for libstdc++, tk,
29923 tcl, bfd, and opcodes to the environment variable specified
29924 in RPATH_ENVVAR.
29925 * configure.in: Add support to recognize --enable-shared flag
29926 and generate correct value for RPATH_ENVVAR.
29927 * configure: Regenerated with autoconf.
29928
29929Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
29930
29931 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 29932 include all osf versions.
c906108c
SS
29933 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
29934 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
29935 when target is linux. When failing to build pthreads test
29936 executable, give more meaningful message.
29937 * gdb.threads/pthreads.c: Hpux also uses old definition of second
29938 arg for pthread_create.
d63a86f8 29939
c906108c
SS
29940Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
29941
29942 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 29943 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 29944 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 29945 and -lpthreads (everybody else).
c906108c
SS
29946 (test_startup): Fail gracefully if threads are not supported.
29947 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
29948 "p/c array_index("abcdef",2)" when not gcc compiled.
29949 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
29950 "print func2::coremaker_local" when not gcc compiled.
29951 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
29952 "ptype on opaque struct tagname (statically)",
29953 "ptype on opaque struct tagname (dynamically) 1", and
29954 "ptype on opaque struct tagname (dynamically) 2"
29955 for not compiled with gcc.
29956 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
29957 backtrace when compiled with gcc.
d63a86f8 29958 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
29959 than always return success.
29960
29961Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
29962
29963 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
29964
29965Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
29966
29967 * gdb.base/structs.exp: Undo last change.
29968
29969Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
29970
29971 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
29972 encapsulate all the steps/nexts done during self test, starting
29973 at main, and makes them less sensitive to optimization issues.
29974 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
29975 signal handler" test.
29976 * gdb.threads/pthreads.exp: Only run this for native configs.
29977 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
29978 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
29979 tests.
29980 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
29981 for "runto test_calls(void)" test.
d63a86f8 29982
c906108c
SS
29983Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
29984
29985 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
29986 and don't expect address info in breakpoint confirmations.
29987
29988Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
29989
29990 * gdb.base/list.exp (test_forward_search): Increase timeout
29991 temporarily by 60 seconds for searching extremely long line,
889bf7c5 29992 and then reset to old value when done. Increase expect input
c906108c
SS
29993 buffer to 10000.
29994
29995Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
29996
29997 * gdb.base/list.exp (test_forward_search): Fix to handle very
29998 long source line without overflowing expect's input buffer.
29999
30000Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
30001
30002 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
30003 "buffer_full".
30004
30005 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
30006 "buffer_full".
30007
30008 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
30009 "buffer_full".
30010
30011 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
30012 "buffer_full".
30013
30014Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
30015
30016 * configure.in (configdirs): Add gdb.threads.
30017 * configure: Regenerated with autoconf.
30018 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
30019 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
30020 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 30021
c906108c
SS
30022Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
30023
30024 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
30025
30026Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
30027
30028 * gdb.base/signals.exp (test_handle_all_print): Test separately for
30029 each signal's status in the output of "handle all print".
30030 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
30031 the \r\n sequence that immediately precedes the gdb prompt.
30032 * gdb.base/a1-selftest.exp: Save original timeout and restore
30033 after test.
30034
30035Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
30036
30037 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
30038 symbol.
30039
30040Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
30041
30042 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
30043
30044Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
30045
30046 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
30047 timeout by 60 seconds.
30048
30049Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
30050
30051 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
30052 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
30053 error return.
30054
30055Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
30056
30057 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
30058 gdb initialization, also report how long dejagnu waited. Restore
30059 old timeout before doing error return. Temporarily increase timeout
889bf7c5 30060 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
30061
30062Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
30063
30064 * lib/gdb.exp: Report timeout value for verbosity level 2.
30065 * config/gdbserver.exp: Ditto.
30066 * config/hppro.exp: Ditto.
30067 * config/mips-gdb.exp: Ditto.
30068 * config/monitor.exp: Ditto.
30069 * config/netware.exp: Ditto.
30070 * config/sim-gdb.exp: Ditto.
30071 * config/slite-gdb.exp: Ditto.
30072 * config/udi-gdb.exp: Ditto.
30073 * config/unix-gdb.exp: Ditto.
30074 * config/vx-gdb.exp: Ditto.
30075 * gdb.base/a1-selftest.exp: Ditto.
30076 * gdb.base/a2-run.exp: Ditto.
30077 * gdb.base/break.exp: Ditto.
30078 * gdb.base/corefile.exp: Ditto.
30079 * gdb.base/list.exp: Ditto.
30080 * gdb.base/recurse.exp: Ditto.
30081 * gdb.base/scope.exp: Ditto.
30082 * gdb.base/signals.exp: Ditto.
30083
30084Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
30085
30086 * gdb.threads/Makefile.in (docdir): Removed.
30087
30088Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
30089
30090 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 30091 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 30092 @srcdir@.
d63a86f8 30093 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
30094 autoconf 2.5 or higher.
30095 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
30096
30097Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
30098
30099 * configure: Regenerated.
30100 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
30101 avoid name clashes with SunOS headers.
30102
30103Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
30104
30105 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
30106
30107Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
30108
30109 * gdb.base/callfuncs.exp: Finish last change -- make sure the
30110 prototype information ends up in the compiler info file.
30111
30112Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
30113
30114 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
30115 attempting to regenerate it. Eliminate use of a temporary file
30116 and just generate the info file directly. Source it immediately,
30117 for consistency of use.
30118 * gdb.base/corefile.exp: Ditto
30119 * gdb.base/exprs.exp: Ditto.
30120 * gdb.base/funcargs.exp: Ditto.
30121 * gdb.base/langs.exp: Ditto.
30122 * gdb.base/list.exp: Ditto.
30123 * gdb.base/mips_pro.exp: Ditto.
30124 * gdb.base/nodebug.exp: Ditto.
30125 * gdb.base/opaque.exp: Ditto.
30126 * gdb.base/ptype.exp: Ditto.
30127 * gdb.base/scope.exp: Ditto.
30128 * gdb.base/setvar.exp: Ditto.
30129 * gdb.base/signals.exp: Ditto.
30130 * gdb.base/whatis.exp: Ditto.
30131 * gdb.c++/templates.exp: Ditto.
30132 * gdb.c++/virtfunc.exp: Ditto.
30133 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 30134 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
30135
30136Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30137
30138 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
30139 it got fixed by the recent lookup_minimal_symbol_by_pc change.
30140 Increase timeout, a lot of single stepping might be needed if the
30141 target has no hardware watchpoints.
30142
30143Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
30144
30145 * gdb.base/break.exp: Ignore compiler warnings when compiling
30146 break.c.
30147 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
30148 * gdb.base/default.exp: Add h8300 xfails. Handle messages
30149 from remote-sim.
30150 * gdb.base/exprs.exp: Add h8300 xfails.
30151 * gdb.base/funcargs.exp: Likewise.
30152 * gdb.base/nodebug.exp: Likewise.
30153 * gdb.base/printcmds.exp: Likewise.
30154 * gdb.base/ptype.exp: Likewise.
30155 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
30156 h8300 xfails.
d63a86f8 30157 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
30158 on the h8300.
30159 * gdb.base/funcargs.c: Explicitly make last constant argument to
30160 call_after_alloca_subr an unsigned long type.
30161 * gdb.base/return.c: Include stdio.h.
30162
30163Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
30164
30165 * config/abug.exp: New file for the older Motorola Bug monitor
30166 that runs on the mvme13x series VME boards.
30167 * config/monitor.exp: Use the new config array for target settings
30168 if they exist.
30169
30170Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
30171
30172 * sim-gdb.exp: Make the SH simulator allocate less space when
30173 it is targeted.
30174
30175Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
30176
30177 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
30178 test.
30179
30180Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
30181
30182 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
30183 "rs6000-*-*" for "list function in include file" when gcc compiled.
30184 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
30185 for "p ctable1[120]".
30186 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
30187 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
30188 Remove setup_xfail for "rs6000-*-*" for
30189 "print 'scope0.c'::filelocal before run".
30190 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
30191 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
30192 since some compilers don't allow both options to be given
30193 on the same command line. Create object file and move it.
d63a86f8 30194
c906108c
SS
30195Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
30196
30197 * gdb.base/corefile.exp: Always regenerate the core file, since
30198 we always regenerate the coremaker program. Detect special case
30199 where registers cannot be read from core file.
d63a86f8 30200
c906108c
SS
30201Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
30202
30203 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
30204 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
30205 * gdb.c++/templates.exp: Only match on basename of file since
30206 some formats like xcoff don't encode directory information.
30207 * gdb.stabs/weird.exp: Use the right sed script for powerpc
30208 and rs6000 AIX xcoff targets.
30209 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
30210 * configure: Regenerate.
30211 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
30212 here, rather than in distclean.
d63a86f8 30213
c906108c
SS
30214Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
30215
30216 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
30217 defined, and use it to compile the test case with -O2. The
30218 native compilation still uses no optimization.
30219 * gdb.base/mips_pro.c: Remove inline assembly code since
30220 it is compiled PIC by default, which results in assembler
30221 warnings that make the testsuite think the compilation
30222 was unsuccessful.
30223
30224Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
30225
30226 * gdb.c++/misc.exp: Add note to message for
30227 "print s.a for foo struct" that this is a known gcc 2.7.2
30228 and earlier bug.
30229
30230Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
30231
30232 * gdb.base/break.exp: Fix pattern for matching "Delete all
30233 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
30234 setup_xfail for deleting all breakpoints test. Fix various
30235 timeout messages to include "(timeout)".
30236 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
30237 for "p t_float_values2(3.14159,float_val2)".
30238 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
30239 for "continue to call2g" when gcc compiled.
30240 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
30241 "up to foo in langs.exp", "show language at foo in langs.exp",
30242 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
30243 and "show language at fsub in langs.exp".
30244 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
30245 "list line 1 in include file", "list message for lines past EOF",
30246 "list function in include file", "list list0.h:foo", and
30247 "list filename:function; nonexistant function".
30248 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
30249 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
30250 and "ptype t_char_array" to be for native cc only.
d63a86f8 30251
c906108c
SS
30252Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
30253
d63a86f8 30254 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 30255 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 30256 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
30257
30258Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
30259
30260 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
30261 "bt in signals.exp". This problem only appears when running
30262 the testsuite, and then only intermittently.
30263
30264Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
30265
30266 * gdb.base/return.exp (return_tests): Differentiate between
30267 two tests of continuing.
30268
30269Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
30270
30271 * */Makefile.in (maintainer-clean): Remove config.log.
30272 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
30273 * gdb.c++/Makefile.in (PROGS): Add inherit.
30274 (clean): Remove *.ci.
30275
30276Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
30277
30278 * gdb.c++/misc.cc: Add test code from Mike Stump.
30279 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
30280
30281Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
30282
30283 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
30284 to "alpha-*-osf2*" and add comment.
30285 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
30286 setup_xfail for "step over execarg initialization" and
30287 "step over corearg initialization".
c906108c
SS
30288 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
30289 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
30290 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 30291 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
30292 "print func2::coremaker_local", and "backtrace in corefile.exp".
30293 * gdb.base/signals.exp: Build and source signals.ci.
30294 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
30295 to be for gcc only.
30296 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 30297
c906108c
SS
30298Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30299
30300 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
30301 Feb 3 procfs.c change.
30302
30303Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
30304
30305 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
30306
30307Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
30308
30309 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
30310 from dejagnu's apparent default of 10 seconds, which gives random
30311 results when running the tests over NFS on moderately loaded systems.
30312 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
30313
30314Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
30315
30316 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
30317 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 30318 result reports.
c906108c
SS
30319
30320Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
30321
30322 * configure.in (CY_AC_PATH_TCLH): Remove.
30323 * configure: Regenerate.
30324
30325Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
30326
30327 * gdb.c++/Makefile.in (clean): Add missing '{'.
30328
30329Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
30330
30331 * lib/gdb.exp: Provide a default value for noinferior.
30332
30333 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
30334 Load libgloss.exp.
30335
30336Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
30337
30338 * gdb.disasm/hppa.exp: Compile directly into an executable, use
30339 the executable, not the .o to run the tests from.
30340
30341Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
30342
30343 * gdb.base/break.exp: Don't test for program exit or exit status
30344 if $noresults if nonzero.
30345 * gdb.base/langs.exp: Likewise.
30346 * gdb.base/watchpoint.exp: Likewise.
30347
30348 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
30349 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
30350 trying to compile the testcase.
30351
30352Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
30353
30354 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
30355 * gdb.base/signals.exp (continue to handler): Likewise.
30356
30357Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
30358
30359 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
30360
30361 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
30362
30363Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
30364
30365 * gdb.base/corefile.exp: Recognize "not found" as failure
30366 when trying to determine if a core file was generated.
30367 If no core file was generate the first time, try again without
30368 the ulimit -c to work around braindamaged shells.
30369
30370Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
30371
30372 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
30373 [] tests with "test" and enclose string in quotes.
30374 * gdb.stabs/configure: Rebuild
d63a86f8 30375
c906108c
SS
30376Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
30377
30378 Changes in sync with expect:
30379 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
30380 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
30381 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
30382 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
30383 argument to AC_REQUIRE.
30384 * configure: Regenerated.
30385
30386Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
30387
30388 * gdb.base/corefile.exp: When generating a core, discard any
30389 error messages about ulimit not found and the "core dumped"
30390 message from the shell that runs the coredumper.
30391
30392Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
30393
30394 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
30395
30396 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
30397 which sed script to run. Expect failure for v_comb test
30398 on PA targets too.
d63a86f8 30399
c906108c
SS
30400Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
30401
30402 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 30403 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
30404
30405Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
30406
30407 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
30408 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 30409 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
30410 * lib/gdb.exp (default_gdb_start): Fix typo.
30411 * gdb.base/corefile.exp: Allow "Core was generated by ..."
30412 messages to not include the full program name that caused
30413 the core dump since some systems (such as solaris) apparently
30414 truncate this path to about 80 characters.
30415 When generating a core file first try increasing the core file
30416 size limit to unlimited since some systems may default it to
30417 zero, and it is harmless to try it. Move the test for failing
30418 to generate a core file to where it will actually get executed.
30419 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
30420 new gdb result from g++ debug info improvements and make old
30421 pattern obsolescent. Also account for size_t differences
30422 (may be int or long).
30423 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
30424 initialization before function call is placed in the delay slot
30425 and thus appears to be skipped over by commands such as "next".
30426
30427Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
30428
30429 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
30430
30431Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
30432
30433 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
30434 input source file; fix code to compile test to deal with this
30435 convention.
30436 * gdb.c++/*.exp: Likewise.
30437
30438Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
30439
30440 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
30441 "bt in signals.exp".
30442
30443Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
30444
30445 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
30446 "step over execarg initialization" and
889bf7c5 30447 "step over corearg initialization".
c906108c
SS
30448
30449Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
30450
30451 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
30452 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
30453
30454Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
30455
30456 From Rob Savoye (rob@poseidon.cygnus.com)
30457 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
30458 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
30459 configure.in}, gdb.disasm/{Makefile.in, configure.in},
30460 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
30461 configure.in}: Major reworking for autoconfig.
c906108c
SS
30462 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
30463 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 30464 New files.
c906108c
SS
30465 * config/unix-gdb.exp: Make GDB global.
30466 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
30467 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
30468 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
30469 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
30470 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
30471 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 30472 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
30473 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
30474 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
30475 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
30476 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 30477 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
30478 to returns as necessary, arrange for test to compile own testcase
30479 executable.
c906108c 30480 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 30481
c906108c
SS
30482Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
30483
30484 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 30485 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
30486 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
30487 "backtrace through signal handler".
30488
30489Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30490
30491 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
30492 continuing from a job control stop signal.
30493 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
30494
30495Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
30496
30497 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
30498 * gdb.base/corefile.exp: Likewise.
30499 * gdb.base/funcargs.exp: Likewise.
30500
30501Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
30502
30503 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
30504 * config/monitor.exp: Add support for setting baud rate.
30505
30506Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
30507
30508 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
30509 i*86-*-linux* xfails for "backtrace through signal handler".
30510 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
30511 "print func2::coremaker_local".
30512 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 30513 alpha-dec-osf2* xfail for
c906108c
SS
30514 "delete all breakpoints when none".
30515
30516Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
30517
30518 * gdb.base/break.exp: Change test that deletes all breakpoints
30519 when no user breakpoints are installed. A post 4.15 change
30520 causes gdb to no longer prompt in this case.
30521
30522Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
30523
30524 * gdb.base/return.exp (return_tests): Change xfail for test
30525 "correct value returned double test" to stop xfailing at
30526 Solaris 2.5. Apparently the bug has been fixed.
30527
30528Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
30529
30530 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
30531 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
30532
30533Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
30534
30535 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
30536 * gdb.disasm/hppa.s: Corresponding changes.
30537
30538Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
30539
30540 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
30541 makefile fragment.
30542 * config/mt-hpux: Deleted.
30543
30544Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
30545
d63a86f8 30546 * Many files: When warning about suppressed tests due to a
c906108c
SS
30547 nonexistant test binary, avoid incrementing the warning count.
30548
30549Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
30550
30551 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 30552
c906108c
SS
30553Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30554
30555 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
30556 "sparc-*-solaris2*".
30557
30558Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30559
30560 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
30561 Add global and local variables and initialize them.
30562 * gdb.base/corefile.exp: Test correct mapping of corefile sections
30563 by printing variables. Remove rs6000 and powerpc xfails, BFD now
30564 extracts the file name and terminating signal from the core file.
30565 * TODO: Remove note about tests for correct mapping of corefile.
30566 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
30567 from optimizing it away.
30568 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
30569 handles common blocks.
30570
30571Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
30572
30573 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
30574 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
30575
30576Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
30577
30578 * Makefile.in (maintainer-clean): New target, synonym for
30579 realclean.
30580 * gdb.base/Makefile.in (maintainer-clean): Likewise.
30581 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
30582 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
30583 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
30584 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
30585 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
30586
30587Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
30588
30589 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
30590 xfails when not gcc compiled for "print foo::funclocal".
30591 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
30592 "print foo::funclocal at foo",
30593 "print 'scope1.c'::foo::funclocal at foo",
30594 "print foo::funclocal_bss at foo",
30595 "print 'scope1.c'::foo::funclocal_bss at foo",
30596 "print foo::funclocal_ro at foo",
30597 "print 'scope1.c'::foo::funclocal_ro at foo",
30598 "print bar::funclocal at foo" and
30599 "print 'scope1.c'::bar::funclocal at foo".
30600 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
30601 gcc compiled for "print foo::funclocal at bar".
30602 Expand all messages to ensure that they identify that
30603 the test is at bar().
30604 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
30605 gcc compiled for:
30606 "ptype on opaque struct pointer (statically)",
30607 "ptype on opaque struct tagname (statically)",
30608 "ptype on opaque struct pointer (dynamically) 1",
30609 "ptype on opaque struct tagname (dynamically) 1",
30610 "ptype on opaque struct pointer (dynamically) 2" and
30611 "ptype on opaque struct tagname (dynamically) 2
30612 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
30613 gcc compiled for:
30614 "p datalocal"
30615 "whatis datalocal",
30616 "ptype datalocal",
30617 "p bsslocal",
30618 "whatis bsslocal", and
30619 "ptype bsslocal".
30620 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
30621 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
30622 when not gcc compiled.
30623 * gdb.base/funcargs.exp (float_and_integral_args): Add
30624 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
30625 compiled.
30626 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
30627 "backtrace from call6a" when not gcc compiled.
30628 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
30629 "backtrace from call7a" when not gcc compiled.
30630 * gdb.base/callfuncs.exp (do_function_calls):
30631 Add "hppa*-*-hpux*" xfail when not gcc compiled for
30632 "p t_char_array_values(char_array_val2,char_array_val1)",
30633 "p t_char_array_values(char_array_val1,char_array_val2)",
30634 "p t_char_array_values("carray 1","carray 2")",
30635 "p t_char_array_values("carray 1",char_array_val2)",
30636 "p t_char_array_values(char_array_val1,"carray 2")",
30637 "p sum_args(1,{2})",
30638 "p sum_args(2,{2,3})",
30639 "p sum_args(3,{2,3,4})",
30640 "p sum_args(4,{2,3,4,5})"
30641 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
30642 "backtrace in corefile.exp" when not gcc compiled.
30643
30644Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30645
30646 * gdb.base/signals.exp: Rewrite `handle all print' test as
30647 a procedure. Accept blanks or TABs as whitespace, increase
30648 timeout and expect input buffer size for the large output
30649 from the command. Remove "i*86-*-bsdi2.0" xfail.
30650
30651Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30652
30653 * gdb.base/setvar.exp: Add new testcases for truncation when
30654 assigning invalid values to bitfields.
30655
30656Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
30657
d63a86f8 30658 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
30659 mips-sgi-irix* xfail for
30660 "call inferior func with struct - returns char *"
30661 and fix test so that an optional (unsigned char *) cast is
889bf7c5 30662 accepted in the result.
c906108c
SS
30663
30664Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
30665
30666 * gdb.base/funcargs.exp (float_and_integral_args): Remove
30667 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
30668 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
30669 * gdb.base/signals.exp: Remove duplicate "handle all print" test
30670 that accidentally got checked in.
30671
30672Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
30673
d63a86f8 30674 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
30675 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
30676 compiled test.
30677 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
30678 Add mips-sgi-irix5* xfail for not gcc compiled.
30679 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
30680 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
30681 compiled for "p top", "whatis top", "p middle", and "whatis
30682 middle".
c906108c
SS
30683 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
30684 "whatis signed char" for not gcc compiled.
30685 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
30686 "set variable signed char=-1 (-1)" and
30687 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
30688 * gdb.base/funcargs.exp (float_and_integral_args):
30689 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
30690 Add mips-sgi-irix* xfail when not gcc compiled for
30691 "continue to call2b".
30692 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
30693 "continue to call2g".
6fdff2c5
PA
30694 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
30695 compiled for "backtrace from call6a"
30696 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
30697 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
30698 when not gcc compiled for "backtrace from call7a".
c906108c
SS
30699 (localvars_after_alloca): Fix gdb_test cmds for
30700 "print * after runto ...".
30701 Remove rs6000-*-* xfails for
30702 "print i after runto localvars_after_alloca" and
30703 "print l after runto localvars_after_alloca"
30704 for all compilers.
30705 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 30706 when not compiled with gcc, for:
c906108c
SS
30707 "print signed char == (minus)",
30708 "print signed char != (minus)",
30709 "print signed char < (minus)",
30710 "print signed char > (minus)".
30711 * gdb.base/callfuncs.exp (do_function_calls):
30712 Add mips-sgi-irix* xfail, when compiled with native compiler, for
30713 "call inferior func with struct - returns char *".
d63a86f8 30714 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
30715 "correct value returned double test" to include Solaris 2.4.
30716 * gdb.base/funcargs.exp (float_and_integral_args):
30717 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 30718
c906108c
SS
30719Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30720
30721 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
30722 enumeration bitfields if compiling with GNU C.
30723 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
30724 to empty' prompt.
30725
30726Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
30727
30728 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
30729 test for PRO targets.
30730
30731 * gdb.base/funcargs.exp: Avoid ever setting more than 8
30732 breakpoints in the inferior at any given time by making
30733 two groups of breakpoints for call2*, call6* and call7*
30734 tests.
30735
30736Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30737
30738 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
30739 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
30740 from optimizing it away.
30741 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
30742 "call inferior func with struct".
30743
30744Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
30745
30746 * configure.in: Only configure gdb.chill for particular targets.
30747
30748Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
30749
30750 * gdb.base/Makefile.in: Add action to .c.o transformation
30751 rule that generates a .ci file for each .o file and remove
30752 explicit .c.o rules except for callfuncs.o.
30753 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
30754 generates a .ci file for each .o file and remove explicit
30755 .cc.o rules.
30756 (clean): Remove *.tmp *.ci files.
30757 (EXECUTABLES): Remove templ-info.exp.
30758 * gdb.base/compiler.c: New file.
30759 * gdb.c++/compiler.cc: New file
30760 * gdb.base/scope.exp: Source gdb.base/scope.ci.
30761 Change rs6000-*-* xfail for
30762 "print 'scope0.c'::filelocal_ro" and
30763 "print 'scope1.c'::filelocal" and
30764 "print 'scope1.c'::filelocal_bss" and
30765 "print 'scope1.c'::filelocal_ro" and
30766 "print 'scope1.c'::foo::funclocal" and
30767 "print 'scope1.c'::foo::funclocal_ro" and
30768 "print 'scope1.c'::bar::funclocal" and
30769 "print 'scope0.c'::filelocal_ro" and
30770 "print 'scope1.c'::filelocal at foo" and
30771 "print 'scope1.c'::filelocal_bss at foo" and
30772 "print 'scope1.c'::filelocal_ro at foo" and
30773 "print 'scope1.c'::foo::funclocal at foo" and
30774 "print 'scope1.c'::foo::funclocal_bss at foo" and
30775 "print 'scope1.c'::foo::funclocal_ro at foo" and
30776 "print 'scope1.c'::bar::funclocal at foo" and
30777 "print 'scope0.c'::filelocal_ro" and
30778 "print 'scope1.c'::filelocal" and
30779 "print 'scope1.c'::filelocal_bss" and
30780 "print 'scope1.c'::filelocal_ro" and
30781 "print 'scope1.c'::foo::funclocal" and
30782 "print 'scope1.c'::foo::funclocal_bss" and
30783 "print 'scope1.c'::foo::funclocal_ro" and
30784 "print 'scope1.c'::bar::funclocal" and
30785 "print 'scope1.c'::bar::funclocal_bss"
30786 to only be xfail'd when not compiled with gcc.
d63a86f8 30787 Add rs6000-*-* xfail for
c906108c
SS
30788 "print 'scope0.c'::filelocal_bss before run"
30789 when compiled with gcc.
30790 (test_at_main): Add rs6000-*-* xfail for
30791 "print filelocal_ro in test_at_main"
30792 when compiled with gcc.
30793 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 30794 Add rs6000-*-aix* xfail for
c906108c
SS
30795 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
30796 "ptype t_char_array", not compiled with gcc.
30797 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
30798 xfail for "list foo (in include file)" when gcc compiled.
30799 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 30800 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
30801 "run to call0a" if not compiled with gcc.
30802 (unsigned_integral_args): Add rs6000-*-* xfail for
30803 "run to call1a" if not compiled with gcc.
30804 (float_and_integral_args): Add rs6000-*-* xfail for
30805 "run to call2a" if not compiled with gcc and for
30806 "continue to call2b" for any compiler.
30807 Add rs6000-*-* xfail to
30808 "print f1 after run to call2a" for gcc compiled.
30809 (discard_and_shuffle): Add rs6000-*-* xfail for
30810 "run to call6a".
30811 (shuffle_round_robin): Add rs6000-*-* xfail for
30812 "backtrace from call7a" if not compiled with gcc.
30813 Add rs6000-*-* xfail for
30814 "backtrace from call7b" if compiled with gcc.
30815 (call_after_alloca): Add rs6000-*-* xfail for
30816 "print c in call_after_alloca" and
30817 "print s in call_after_alloca" and
30818 "backtrace from call_after_alloca_subr"
30819 if not compiled with gcc.
30820 (localvars_in_indirect_call): Add rs6000-*-* xfail for
30821 "print c in localvars_in_indirect_call" and
30822 "print c in localvars_in_indirect_call" and
30823 "backtrace in indirectly called function" and
30824 "stepping into indirectly called function"
30825 if not compiled with gcc.
30826 (localvars_after_alloca): Add rs6000-*-* xfail for
30827 "print c after runto localvars_after_alloca" and
30828 "print s after runto localvars_after_alloca" and
30829 "print i after runto localvars_after_alloca" and
30830 "print l after runto localvars_after_alloca"
30831 for all compilers.
30832 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
30833 than whatis-info.exp.
30834 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
30835 than opaque-info.exp.
30836 Setup rs6000-*-* xfail for
d63a86f8 30837 "ptype on opaque struct pointer (statically)" and
c906108c
SS
30838 "ptype on opaque struct pointer (dynamically)" when
30839 not compiled with gcc.
30840 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
30841 rather than callf-info.exp.
30842 (do_function_calls): Add clear_xfail for rs6000-*-* for
30843 "p t_float_values2(3.14159,float_val2)". Seems to work
30844 fine there, both with xlc and gcc. Need to find out what
30845 it is doing right and fix other platforms.
30846 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
30847 "call inferior func with struct - returns int",
30848 "call inferior func with struct - returns long",
30849 "call inferior func with struct - returns float",
30850 "call inferior func with struct - returns double",
30851 "call inferior func with struct - returns char *",
30852 but only if not gcc compiled (presumes xlc compiled).
30853 Change rs6000-*-* xfails for
30854 "call inferior func with struct - returns char" and
30855 " call inferior func with struct - returns short" to only
30856 xfail if not using gcc.
30857 (clean mostlyclean): Remove *.ci and *.tmp files.
30858 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
30859 than templ-info.exp.
30860 * gdb.base/langs.exp: Source gdb.base/langs.ci.
30861 Add rs6000-*-* xfail for "up to foo in langs.exp"
30862 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 30863 when not gcc compiled.
d63a86f8 30864
c906108c
SS
30865Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30866
30867 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
30868 * gdb.base/corefile.exp: Likewise.
30869 * gdb.base/list.exp: Likewise.
30870 * gdb.base/scope.exp: Likewise.
30871 * gdb.base/siganls.exp: Likewise.
30872
30873 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
30874 compiler output.
30875 * gdb.base/whatis.exp: Likewise.
30876
30877Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
30878
30879 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
30880 failure (opcode table has been fixed to match reality).
30881
30882Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
30883
30884 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
30885 "call inferior func with struct - returns char",
30886 "call inferior func with struct - returns short"
30887
30888 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
30889 "print 'scope0.c'::filelocal at main",
30890 "print 'scope0.c'::filelocal_bss in test_at_main",
30891 "print 'scope0.c'::filelocal at foo",
30892 "print 'scope0.c'::filelocal_bss in test_at_foo",
30893 "print 'scope0.c'::filelocal at bar",
30894 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 30895
c906108c
SS
30896 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
30897 in source file 1". This bug seems to have been fixed with both
30898 gcc and native cc (was native assembler bug?).
30899
30900Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
30901
30902 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
30903 "backtrace through signal handler" to "i*86-*-sysv4*".
30904 * gdb.base/signals.exp: Add xfail for "'next' behaved as
30905 continue" case. Add "known SVR4 bug" to fail message.
30906 Add "i*86-*-bsdi2.0" xfail for "handle all print".
30907 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
30908 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
30909 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
30910 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
30911 "up to foo in langs.exp", "show language at foo in
30912 langs.exp", "up to cppsub_ in langs.exp", "show
30913 language at cppsub_ in langs.exp", "up to fsub in
30914 langs.exp", and "show language at fsub in langs.exp".
30915 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
30916 "bactrace in corefile.exp".
30917 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
30918 "call inferior function with struct - returns float" and
30919 "call inferior function with struct - returns double".
d63a86f8 30920
c906108c
SS
30921Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
30922
30923 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
30924 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
30925 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
30926 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
30927
30928Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
30929
30930 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
30931 (or overriden) "CHILL" macro rather then bare "gcc".
30932 Also look for ../../gcc/xgcc since that is what we will
30933 actually need, not "Makefile". Remove following assignment
30934 of CHILL to CHILL_FOR_TARGET because that results in
30935 recursive definition.
30936
30937Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
30938
30939 * gdb.base/corefile.exp: Change xfail for backtrace in
30940 corefile.exp from linuxaout to all linux.
30941 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
30942 cases where we miss the breakpoint at the signal handler
30943 for some reason. Setup xfail for linuxoldld/linuxaout and
30944 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
30945 hitting SIGURG breakpoint.
30946 * gdb.base/signals.exp: Setup xfail for "next" acting like
30947 continue to add linuxoldld. Setup xfail for all linux for
30948 "next to handler in signals_tests_1", "backtrace in
30949 signals_tests_1", "continue to func1", "pass SIGUSR1",
30950 and continue to handler".
30951
30952Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
30953
30954 * Update all FSF addresses except those in COPYING* files.
30955
30956Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
30957
30958 * gdb.base/a2-run.exp: Change messages to be more explicit about
30959 the status of args, and quote binfile in results.
30960
30961Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
30962
30963 * gdb.base/callfuncs.exp: Add tests for passing structs to
30964 inferior functions and return various types.
30965 * gdb.base/callfuncs.c: Add functions to receive a struct
30966 and return a member of the struct, in various types.
30967
30968Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30969
30970 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
30971
30972Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
30973
30974 * config/vxworks29k.exp: New file, sources vxworks.exp.
30975
30976Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30977
30978 * config/gdbremote.exp: New file. Testing framework using
30979 gdbserver.
30980
30981Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
30982
30983 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
30984 "call function when asleep" and "send end of file".
30985 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
30986 for "backtrace in corefile.exp".
30987 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
30988 for "backtrace through signal handler".
30989 * gdb.base/corefile.exp: Make sure we actually generate a core file
30990 before trying the core tests. Some systems allow the user to suppress
30991 generation of core files and default to that (linux for example).
30992 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
30993 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
30994
30995Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30996
30997 * gdb.threads: New directory with some crude multi-threaded
30998 gdb tests (step.exp and step2.exp).
30999 * config/mt-lynx (STEP_EXECUTABLE): Define.
31000 (THREADFLAGS): Define.
31001
31002Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
31003
31004 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
31005
31006 * gdb.base/signals.exp: Disable whole file for lynx until
31007 further notice.
31008
31009 * gdb.base/signals.exp: xfail test where "next" acts like
31010 "continue" for lynx.
31011
31012 * gdb.base/interrupt.exp: xfail test for calling function while
31013 inferior is asleep for lynx.
31014
31015 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
31016 than one cr-lf after each command.
31017
31018Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31019
31020 * configure.in: Reinstate setting of stabsdirs variable, fix
31021 typo in setting up configdirs for native builds.
31022
31023 * gdb.base/return.exp: Fix typo in return double test.
31024 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
31025 compiler from optimizing them away.
31026
31027Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
31028
31029 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
31030 sequences to be echo'd by gdb when using gdb_test.
31031 * gdb.chill/chexp.exp: Likewise.
31032 * gdb.fortran/exprs.exp: Likewise
31033
31034Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31035
31036 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
31037 after the inferior gdb has started.
31038
31039 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
31040 after each command.
31041 * gdb.base/funcargs.exp: Likewise.
31042 * gdb.base/gdbvars.exp: Likewise.
31043 * gdb.base/interrupt.exp: Likewise.
31044 * gdb.base/list.exp: Likewise.
31045 * gdb.base/watchpoint.exp: Likewise.
31046 * gdb.c++/demangle.exp: Likewise.
31047 * gdb.c++/inherit.exp: Likewise.
31048 * gdb.chill/chexp.exp: Likewise.
31049 * gdb.fortran/exprs.exp: Likewise.
31050
31051 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
31052 test if we can't handle IO to/from the inferior.
31053
31054 * gdb.c++/misc.exp: Always check for a program already being
31055 started after sending a "run" command to gdb.
31056
31057 * gdb.base/twice.exp: Start with a fresh gdb.
31058
31059 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
31060 only depend on gdb's expression code, not the chill runtime.
31061
31062 * gdb.base/return.c: Put return values into variables so we
31063 can have gdb print them rather than depending on the program
31064 to print them.
31065 * gdb.base/return.exp: Corresponding changes.
31066
31067 * lib/gdb.exp: Provide default value for noinferiorio.
31068 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
31069 the inferior.
31070
31071 * gdb.base/break.exp: Always check for a program already being
31072 started after sending a "run" command to gdb.
31073 (text_next_with_recursion): Don't check the output from the
31074 program's printf statement. Instead just make sure the program
31075 exited.
31076
31077 * gdb.base/commands.exp: Protect tests which need arguments with
31078 $noargs conditionals.
31079
31080Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31081
31082 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
31083 of structure member arrays to match gdb/valops.c:value_addr change.
31084
31085Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
31086
31087 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
31088 cases.
31089
31090Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
31091
31092 * configure.in (configdirs): Remove gdb.chill from default list
31093 of subdirs and then add it back in only if doing a native build.
31094 The current chill compiler does not yet work in any cross build.
31095 * Revert all signal changes from Jul 6.
31096 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
31097 for sh-hms targets, allowing these tests to link, with no other
31098 changes. Testing is suppressed by setting "nosignals" in site.exp.
31099
31100Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
31101
31102 * configure.in (signaldirs): Define and add to configdirs for all
31103 targets except some specific ones that are known to not support signals.
31104 Also clean up formatting.
31105 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
31106 (signals, sigall): Remove rules to build.
31107 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
31108 Moved to new gdb.signals directory.
31109 * gdb.signals: New test directory.
31110 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
31111 signals.c signals.exp}: New or moved files.
31112
31113Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
31114
31115 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
31116
31117Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
31118
31119 * gdb.base/return.exp: Xfail `return double' test failure
31120 on at least Solaris 2.3 and handle future/past versions on
31121 a case by case basis as appropriate. Also update message
31122 to include i*86 failures.
31123
31124Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31125
31126 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
31127
31128 * lib/gdb.exp: Fix comment which erroneously identified
31129 gdb_file_cmd as gdb_load (the 19 May change was in fact to
31130 gdb_file_cmd not gdb_load).
31131 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
31132
31133 * gdb.base/setvar.exp: Make test names consistent between pass and
31134 fail cases. Use gdb_test more.
31135
31136Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31137
31138 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
31139
31140Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31141
31142 * gdb.base/help.exp: Fix expected help string for `show commands'.
31143
31144Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
31145
31146 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
31147
31148 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
31149 of a text section.
31150
31151Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
31152
31153 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
31154 that loop eventually terminates. Fix Connection refused logic so
31155 that testsuite will expire nicely.
31156
31157Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
31158
31159 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
31160 config/rom68k.exp: New tcl glue for the appropriate monitors.
31161 These all just end up calling monitor.exp.
31162 * config/monitor.exp (gdb_target_monitor): Handle `Connection
31163 refused' by retrying. Cleanup some timeout issues.
31164 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
31165 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
31166 callers don't have to set/restore global timeout variable.
31167
31168 * The following set of changes centralizes management of the global
31169 timeout variable. This way, it can be set in one target dependent
31170 place instead of dozens of places scattered throughout the test suite.
31171 If you need to lengthen a timeout, then you should either set timeout
31172 in one of the config/{target}.exp files, or multiply it by a factor.
31173 Setting it to an absolute value is always going to lose for some
31174 targets.
31175 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
31176 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
31177 * gdb.base/funcargs.exp: Don't set timeout.
31178 * gdb.base/list.exp (test_forward_search): Only use local timeout.
31179 * gdb.base/printcmds.exp (test_print_string_constants
31180 test_print_array_constants): Don't set timeout.
31181 * gdb.base/ptype.exp: Don't set timeout.
31182 * gdb.base/recurse.exp: Don't set timeout.
31183 * gdb.base/return.exp: Don't set timeout.
31184 * gdb.base/watchpoint.exp: Don't set timeout.
31185 * gdb.c++/classes.exp (do_tests): Don't set timeout.
31186 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
31187
31188Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
31189
31190 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
31191
31192Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31193
31194 * lib/gdb.exp: Disable chill tests for irix5.
31195
31196Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31197
31198 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
31199 each test pass or fail.
31200
31201Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31202
31203 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
31204 xlc not gcc.
31205
31206Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
31207
31208 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
31209
31210Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
31211
31212 * config/est.exp: Fix copyright and comments. Remove dead code.
31213 Use targetname, serialport and baud variables instead of fixed
31214 constants.
31215 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
31216 * config/cpu32bug.exp: New file to support cpu32bug monitors.
31217
31218Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31219
31220 * gdb.base/watchpoint.exp: Don't run
31221 test_watchpoint_triggered_in_syscall for sunos.
31222
31223Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31224
31225 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
31226 they don't seem to exist. Do include stdio.h.
31227
31228Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31229
31230 * gdb.base/a1-selftest.exp: Add alpha xfail.
31231
31232Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31233
31234 * gdb.base/watchpoint.c (main): Prompt before calling read().
31235 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31236 Revise accordingly. Remove cruft about sending "123" several
31237 times, until it gets noticed. Clean up the "print buf[0]" stuff
31238 so that it passes or fails, and waits for prompts in the usual way.
31239
31240Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31241
31242 * gdb.base/recurse.exp: Fix comment.
31243
31244 * TODO: Remove item about printing variables in nodebug.exp. Add
31245 item about enabling tests which are only run on some targets.
31246
31247 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
31248 fail, make test names unique, use new gdb_test convention
31249 regarding pattern, use gdb_test more, etc.).
31250
31251 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
31252 fail, make test names unique, etc.).
31253
31254Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31255
31256 * gdb.base/nodebug.c: Change return type of top and middle to
31257 short.
31258 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
31259 are fixed by the recent mdebugread.c changes. Allow `short ()'
31260 as type for top and middle.
31261
31262Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31263
31264 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
31265 nearly as I can tell, the whole thing was an accident in Stu's
31266 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
31267 to replace a send/expect pair with gdb_test, but ended up only
31268 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
31269 of 30 Mar 1995 took care of it, but left this vestigial comment
31270 which I am now nuking.
31271
31272Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31273
31274 * gdb.base/break.exp: Look for different line number for
31275 breakpoint at main depending on usestubs.
31276
31277Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31278
31279 * gdb.base/list.exp: Adjust some alternate expect patterns to
31280 match recent list0.c change. Add alternate expect pattern for
31281 output from `list default lines around main' for optimizing
31282 compilers.
31283
31284Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31285
31286 * lib/gdb.exp: If nosignals is not set, set it to 0.
31287
31288Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
31289
31290 * config/slite-gdb.exp: Responds to load symbol table prompt.
31291 * gdb.base/break.exp: Adjust line number, fix rerun.
31292 * gdb.base/langs0.c: Add #ifdef usestubs.
31293
31294Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
31295
31296 * gdb.base/list.exp: Adjust line contents after adding new lines in
31297 list0.c. Also fix a syntax error.
31298
31299 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
31300 * gdb.base/break.exp: ditto.
31301 * gdb.base/list.exp: ditto.
31302 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
31303 * gdb.base/run.c: ditto.
31304 * gdb.base/list0.c: ditto.
31305 * gdb.base/funcargs.c: ditto.
31306
31307Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
31308
31309 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
31310 $targetname, $serialport and $baud instead of hardwired variables.
31311 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
31312 target doesn't support signals.
31313
31314Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
31315
31316 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
31317
31318Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31319
31320 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
31321 Don't rely on the value of an auto variable before it has been
31322 initialized. Use gdb_test more.
31323
31324Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31325
31326 * lib/gdb.exp (default_gdb_version): A version number must start
31327 with a digit, but other than that contains all characters up to
31328 the first whitespace character.
31329
31330Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31331
31332 * gdb.base/commands.exp (breakpoint_command_test): New tests.
31333
31334Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31335
31336 * gdb.c++/*.exp: Warn if executable does not exist. The original
31337 reason for skipping the warning was that configure.in sometimes
31338 intentionally skipped building the executables but the tcl code
31339 had no way of knowing. That (a) was always bogus with respect to
31340 error handling, (b) is no longer true (right now there is no way
31341 to skip C++ tests).
31342
31343 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
31344
31345Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31346
31347 * gdb.base/list.exp: Add expect patterns for output from
31348 SunPRO compiled executables.
31349 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
31350 types.
31351
31352Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31353
31354 * gdb.base/break.exp (test_next_with_recursion): Accept any line
31355 number (we are already testing that the correct source line text
31356 gets printed).
31357
31358 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
31359 that is what is intended, but something needed to be done to get
31360 sunos4 native working again.
31361
31362 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
31363
31364 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
31365 apparently went with a (very) old xfail.
31366
31367Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
31368
31369 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
31370 runto_main is a proc in gdb.exp that will do 'step' for target use
31371 stubs.
31372 * gdb.base/exprs.exp: ditto.
31373 * gdb.base/interrupt.exp: ditto.
31374 * gdb.base/opaque.exp: ditto.
31375 * gdb.base/printcmds.exp: ditto.
31376 * gdb.base/ptype.exp: ditto.
31377 * gdb.base/scope.exp: ditto.
31378 * gdb.base/setvar.exp: ditto.
31379 * gdb.base/signals.exp: ditto.
31380 * gdb.base/twice.exp: ditto.
31381 * gdb.c++/classes.exp: ditto.
31382 * gdb.c++/inherit.exp: ditto.
31383 * gdb.c++/templates.exp: ditto.
31384 * gdb.base/break.exp: no run and hit main for stubs. Change line
31385 numbers for breakpoints and info breakpoint.
31386 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
31387 breakpoint().
31388 * gdb.base/callfuncs.c: ditto.
31389 * gdb.base/exprs: ditto.
31390 * gdb.base/interrupt.c: ditto.
31391 * gdb.base/opaque0.c: ditto.
31392 * gdb.base/printcmds.c: ditto.
31393 * gdb.base/ptype.c: ditto.
31394 * gdb.base/scope0.c: ditto.
31395 * gdb.base/setvar.c: ditto.
31396 * gdb.base/signals.c: ditto.
31397 * gdb.base/twice.c: ditto.
31398 * gdb.c++/misc.cc: ditto.
31399 * gdb.c++/templates.cc: ditto.
31400
31401Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31402
31403 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
31404
31405 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
31406 somewhere between `read' and `main.c'. I'm pretty sure the
31407 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
31408 and it isn't particularly useful.
31409
31410 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
31411
31412Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31413
31414 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
31415
31416Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
31417
31418 * config/mt-slite: add LIBS and -nostdlib.
31419 * config/slite-gdb.exp: add this new file to support sparclite target.
31420
31421Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
31422
31423 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
31424
31425 * gdb.base/a2-run.exp: Change argument to istarget from
31426 "*-*-vxworks" to "*-*-vxworks*".
31427 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
31428
31429Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
31430
31431 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
31432 will not runto main but do a 'step' to step out of breakpoint().
31433 * config/mt-slite: add -Dusestubs.
31434
31435Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31436
31437 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
31438 instead of just @.
31439
31440 * gdb.base/signals.exp: Add test for "handle all print".
31441 * TODO: Remove "handle all print". Also remove item about
31442 checking copyright date (I don't like the idea of a spurious FAIL
31443 based on when we run the tests).
31444
31445 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
31446 for SunOS4 (reason for failure not investigated). Remove
31447 redundant test for $binfile.
31448
31449 * gdb.base/nodebug.c (array_index): Call malloc.
31450
31451 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
31452
31453Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
31454
31455 * gdb.base/recurse.exp: Update gdb_test invocation to use new
31456 conventions and slightly simplify the matching regexp.
31457
31458Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31459
31460 * gdb.base/break.exp: Update gdb_test invocation to use new
31461 convention.
31462
31463 * lib/gdb.exp: If noargs is not set, set it to 0.
31464
31465 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
31466 tests unique.
31467
31468 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
31469
31470Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31471
31472 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
31473 one argument of type "<non-float parameter>".
31474
31475Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
31476
31477 * config/rom68k.exp: New file to support Motorola IDP board.
31478 * gdb.base/a2-run.exp: Skip this file if noargs is set.
31479 * gdb.base/break.c: Change things around so that this program
31480 doesn't depend upon args. This is necessary to make remote
31481 targets work (in general, they can't take args).
31482 * gdb.base/break.exp: Don't try to send args to program. Don't
31483 expect output. Also, replace lots of code with gdb_test.
31484
31485Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31486
31487 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
31488 printing of '\'' (which is what the comment says we are testing,
31489 even though we were not), not '''.
31490 (test_integer_literals_rejected): Test that printing ''' is an error.
31491
31492 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31493 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
31494 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
31495 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
31496 Use gdb_test not test_print_accept.
31497 * lib/gdb.exp: Remove test_print_accept.
31498
31499 * gdb.base/signals.exp (signal_tests_1): Make pass message
31500 consistent with fail message.
31501
31502 * gdb.base/whatis.exp: Remove xfails for printing char vs.
31503 unsigned char; the bug (PR 1821) is fixed.
31504
31505 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
31506
31507 * gdb.base/scope.exp (test_at_localscopes): Call pass for
31508 successful tests--makes xfailing them work right.
31509
31510Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31511
31512 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
31513 only \r\n, not .*. The test can pass .* as the last thing in
31514 $pattern if that is what it wants. In addition to providing this
31515 flexibility, this change should speed up pattern matching in cases
31516 where the pattern already ended with .* (there were a number of
31517 them). This change also helps catch bad patterns--in the old
31518 scheme the typo "char \*" instead of "char \\*" would pass. Now
31519 it is caught.
31520 * Many .exp files: Update callers.
31521
31522 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
31523 clearer and does not spuriously match multiple ('s. Likewise for
31524 ) and *.
31525
31526 * gdb.base/nodebug.exp: Test ability to call a function and pass
31527 it a string (even with no debugging info).
31528
31529 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
31530 "p '\'", which is the same as "p ''" once tcl gets done with
31531 quoting, to "p '\\'", which I suspect is what is intended (one
31532 backslash gets sent to GDB).
31533
31534 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
31535
31536Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31537
31538 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
31539 1817) was fixed literally years ago.
31540
31541Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31542
31543 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
31544 test, it causes stepping out of call_after_alloca_subr with
31545 optimizing compilers.
31546 (localvars_in_indirect_call): Consume GDB prompt if `finish'
31547 fails.
31548
31549 * gdb.c++/templates.exp: Source templ-info.exp only if
31550 the templates executable exists.
31551
31552 * gdb.c++/misc.cc (class Contains_static_instance,
31553 class Contains_nested_static_instance),
31554 gdb.c++/classes.exp (test_static_members): Test printing of
31555 a class that contains a static instance of the class.
31556
31557Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31558
31559 * gdb.base/langs2.c (cppsub_): Don't prototype.
31560 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
31561 only, I believe).
31562
31563Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31564
31565 * lib/gdb.exp (skip_chill_tests): New procedure.
31566
31567 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
31568
31569Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
31570
31571 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
31572 each expect pattern. Cuts runtime from 12 to about 4 seconds.
31573
31574Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31575
31576 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
31577
31578 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
31579 disassemble 8, not 16, instructions for part 4.
31580
31581 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
31582 support the latter anymore.
31583
31584 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
31585 -DNO_PROTOTYPES.
31586 * gdb.base/callfuncs.c: Control use of prototypes based on
31587 NO_PROTOTYPES, not __STDC__.
31588 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
31589 t_float_values2 tests if prototypes in use.
31590
31591 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
31592 t_double_values): When checking differences against DELTA, check
31593 that difference is within the range (-DELTA,DELTA), not just
31594 (-infinity,DELTA).
31595
31596Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
31597
31598 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
31599 'file' command firts, then 'target', then 'load', this is due to gdb
31600 target set up.
31601 * config/mips-gdb.exp: Fix a couple regular exp bugs.
31602
31603Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
31604
31605 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
31606 FP load/store variants.
31607 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
31608
31609Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31610
31611 * gdb.base/term.exp: Do not give a warning if not native, it is
31612 not an abnormal condition.
31613
31614Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
31615
31616 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
31617 t_char_array".
31618
31619Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31620
31621 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
31622 are getting the version number.
31623
31624 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
31625 if not native, it is not an abnormal condition.
31626
31627Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31628
31629 * lib/gdb.exp: Just use "file exists", rather than undocumented
31630 dejagnu procedure "findfile".
31631
31632Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
31633
31634 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
31635 (LDFLAGS): Set to -Xlinker -Ur.
31636
31637 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
31638 Removed, these values are set by lib/gdb.exp.
31639
31640 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
31641
31642Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
31643
31644 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
31645 of replicating gdb startup code.
31646
31647 * config/mt-vxworks (LDFLAGS): Set to -r.
31648 (CFLAGS_FOR_TARGET): Removed.
31649
31650 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
31651 (gdb) and gdb for vxworks uses (vxgdb).
31652
31653 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
31654 executable is not in the tree and host != target, use sed and
31655 program_transform_name to determine the gdb name used by the
31656 target.
31657
31658 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
31659 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
31660
31661Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31662
31663 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
31664 floats, chars, and shorts where there are ANSI-style function
31665 definitions.
31666
31667 * gdb.base/langs.exp, gdb.base/langs*: New test.
31668 * gdb.base/Makefile.in: Build it.
31669 * TODO: Remove item about checking that C names don't get C++
31670 demangling applied; this test tests it.
31671
31672Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31673
31674 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
31675 went with the const70 xfail. The xfail went away a year ago.
31676
31677 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
31678
31679 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
31680 for hp300.
31681
31682 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
31683
31684 * gdb.base/a1-selftest.exp: Don't run on hp300.
31685
31686Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31687
31688 * Makefile.in (site.exp): Set host_alias and target_alias as well
31689 as host_triplet and target_triplet.
31690
31691Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31692
31693 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
31694
31695 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
31696 places as other ecoff systems).
31697
31698 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
31699 ultrix.
31700
31701Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31702
31703 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
31704 remove them.
31705 * gdb.base/nodebug.exp: Accept "function" in addition to "text
31706 variable and "variable" in addition to "data variable".
31707 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
31708
31709 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
31710 2.
31711 * gdb.base/list1.c (long_line): Add additional statement at start
31712 of function.
31713 * gdb.base/list.exp (test_forward_search): Update line number to
31714 reflect new statement.
31715
31716Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31717
31718 * gdb.base/signals.exp: Reinitialize searched source directories
31719 after gdb_start call.
31720
31721Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
31722
31723 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
31724 * gdb.stabs/Makefile.in: Likewise.
31725
31726 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
31727 change. Instead split the tests into smaller pieces.
31728 * gdb.disasm/hppa.s: Corresponding changes.
31729
31730Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31731
31732 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
31733 Quote ^C when passing it to stty. For some shells ^ is a pipe.
31734
31735 * gdb.base/funcargs.exp: Modify many tests so that every test
31736 either passes or fails. Make some test names unique.
31737
31738Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31739
31740 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
31741 Call stty to set interrupt character.
31742
31743 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
31744 for HP assembler versus GNU assembler based on actual behavior of
31745 $(CC), rather than assuming that $(AS) is always the GNU assembler.
31746
31747 * TODO: Suggest a few more stepping tests.
31748
31749Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
31750
31751 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
31752 restart GDB for h8300 after a continue.
31753 (return): Add pattern to match a29k-udi behavior.
31754 * gdb.base/nodebug.exp: Remove obsolete comment.
31755 * gdb.base/regs.exp: New file, testing of register displays.
31756 * gdb.base/return.exp: Fix typo in reference to $objdir.
31757 * gdb.base/whatis.exp: Always start with a fresh GDB.
31758
31759Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31760
31761 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
31762 higher, these tests generate a lot of output.
31763
31764Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31765
31766 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
31767 code following the catch silently ignored some errors; without the
31768 catch they should be thrown like any other tcl error. Also, the
31769 catch used "" instead of {} which meant all the callers who wanted
31770 to include one of the characters "[]$ had to quote it an extra time.
31771 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
31772 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
31773 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
31774 Remove extra quoting.
31775
31776Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
31777
31778 * gdb.base/commands.exp: Make test names unique; every test either
31779 passes or fails. Update some comments.
31780
31781 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
31782
31783Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31784
31785 The following fixes a FAIL caused by the fact that the alpha stabs
31786 configuration didn't use the ".if alpha" code in weird.def.
31787 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
31788 bit pointer, so the 32 bit version works even on the alpha.
31789 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
31790 Remove the stuff which allowed us to have separate versions for
31791 alpha and everything else.
31792
31793 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
31794 regexp which "info func operator\[\](" is supposed to match. Fix
31795 string to send to GDB. Note that GDB still doesn't work right. Add a
31796 new test for "info func .perator\[\](" which GDB does handle correctly.
31797
31798 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
31799
31800Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31801
31802 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
31803 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
31804 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
31805 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
31806 it makes the tests harder to understand and confuses test-o-matic.
31807 The preferred style is that each test provides a PASS or a FAIL,
31808 and has a unique message (e.g. "continue #54" not just "continue")
31809 which is the same for the pass and the fail.
31810 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31811 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
31812 to lib/gdb.exp.
31813 * gdb.base/printcmds.exp: Use test_print_accept. Remove
31814 prt_accept which was basically the same thing. Likewise for
31815 test_print_reject and prt_reject.
31816 * lib/gdb.exp (test_print_reject): Add some more error message
31817 patterns to match from the former printcmds.exp (prt_reject).
31818 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
31819 One defect of the passcount stuff is that some of it failed to
31820 report XPASS where appropriate.
31821 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
31822 stuff before and after arg in expected pattern.
31823 (test_paddr_operator_functions): Re-do test without print_addr_of;
31824 this is the only test which seems to want extra stuff there.
31825
31826Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31827
31828 * gdb.base/nodebug.exp: Update new tests to reflect improved
31829 wording of gdb output.
31830
31831 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
31832 and "ptype" work on variables in files compiled without -g.
31833 Replaces commented out "maint print msymbol" tests.
31834
31835Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31836
31837 * gdb.base/setvar.c (dummy): Call malloc.
31838
31839 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
31840 losing with the irix4 sed.
31841
31842 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
31843 ALRM" on irix4.
31844
31845Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31846
31847 * TODO: Remove items about corefile.exp testing new exec-file and
31848 backtrace; both are now done. Add items about printing enums.
31849
31850Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31851
31852 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
31853 "get signal $thissig" test fails.
31854
31855 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
31856
31857Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31858
31859 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
31860 compiler warning with dec alpha compiler.
31861
31862 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
31863 extra \n from gdb_test call (this explains why the prompt test
31864 that I removed yesterday was there).
31865 (user_defined_command_test): Remove extra \n and prompt test.
31866
31867 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
31868 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
31869 doesn't exist.
31870 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
31871 Also remove alpha workaround, which turns out to be because
31872 SIGABRT == SIGLOST.
31873
31874 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
31875
31876 * gdb.base/help.exp: Don't test "help show".
31877
31878Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31879
31880 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
31881 "set print address" is on.
31882 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
31883 pass prompt to gdb_test; gdb_test already looks for the prompt.
31884
31885 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
31886
31887 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
31888 was a vestige of the manual TESTSTRATEGY, and the purpose of it
31889 was to make sure that gdb can read a core file. But (a) the "read
31890 the corefile" part didn't make it to a1-selftest.exp, we just
31891 delete the corefile after creating it, and (b) we test reading
31892 corefiles in corefile.exp anyway. Also, this test left around a
31893 xgdb process on Solaris.
31894
31895 * gdb.base/corefile.exp: Also test backtrace.
31896
31897Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
31898
31899 * gdb.base/commands.exp: Test a simple user defined command with
31900 arguments and if/while statements; verify the full user command is
31901 printed by "show user".
31902
31903 * gdb.base/commands.exp: Test if/while commands as part of a
31904 breakpoint command list; verify they appear in breakpoint
31905 information.
31906
31907Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31908
31909 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
31910 than by dividing by zero.
31911
31912Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
31913
31914 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
31915 performing an inferior call with watchpoints enabled.
31916 * gdb.base/watchpoint.c (main): Delete second unnecessary read
31917 call.
31918
31919Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31920
31921 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
31922 of "file" command.
31923
31924 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
31925 Add additional pattern for when "int operator int(void);" appears
31926 in a different order.
31927
31928Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31929
31930 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
31931
31932 * gdb.base/help.exp: Replace most of docstrings for "info signals"
31933 and "signal" with ".*".
31934
31935Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31936
31937 * TODO: Add note about "handle all nostop".
31938
31939 * gdb.base/{sigall.c, sigall.exp}: New test.
31940 * gdb.base/Makefile.in: Add it.
31941
31942Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
31943
31944 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
31945 when invoking GDB, suppresses any windowing interface.
31946
31947Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
31948
31949 * config/sim-gdb: New file, simulator testing support.
31950
31951Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
31952
31953 * gdb.base/interrupt.exp: Test calling func1 twice.
31954
31955Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
31956
31957 * gdb.base/list.exp (test_forward_search): Set timeout higher
31958 when we'll be getting lots of output from gdb.
31959
31960 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
31961 "init_malloc" to after the expect statement. Run it if that
31962 regexp is taken, but also for two others which happen if source
31963 cannot be found.
31964
31965Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31966
31967 * gdb.base/printcmds.exp: New test, for printing register before
31968 program is running.
31969
31970Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31971
31972 * gdb.base/list.exp: Correct some alternate expect patterns
31973 to reflect changes in list1.c.
31974
31975Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31976
31977 * TODO: Add item regarding large frames.
31978
31979 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
31980
31981 * TODO: Remove item about enabling return.exp; it
31982 is enabled. Suggest a few more "return" tests.
31983
31984Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31985
31986 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
31987 anonymous unions.
31988
31989Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31990
31991 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
31992 and pr-5646.o, so "make" is the same as "make all", not "make
31993 pr-4975.o".
31994
31995Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
31996
31997 * gdb.base/list.exp: Adjust expectations to reflect changes in
31998 list1.c.
31999 (test_forward_search): New test proc.
32000 * gdb.base/list1.c (long_line): New function, has long source line.
32001
32002Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
32003
32004 * gdb.base/a1-selftest.exp: Change initial stepping to know about
32005 additional line of code that was added.
32006
32007Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
32008
32009 * gdb.disasm/hppa.s: Break the large branching tests into smaller
32010 tests so as not to overflow expect's input buffers.
32011 * gdb.disasm/hppa.exp: Corresponding changes.
32012
32013Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32014
32015 Beginnings of template debugging tests.
32016 * gdb.c++/templ-info.cc: New file to test for template
32017 debugging capability of the compiler.
32018 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
32019 templ-info.cc.
32020 * gdb.c++/templates.cc: Add explicit template instantiations
32021 to enable compiling with -fno-implicit-templates. Add destructor
32022 and 'value' method to T5 class for template tests.
32023 * gdb.c++/templates.exp: Add testcases for printing of template
32024 types, setting breakpoints on template methods and calling a
d63a86f8 32025 template method.
c906108c
SS
32026
32027Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
32028
32029 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
32030 branch target since some assemblers (gas-2.5) may emit a
32031 relocation for the branch instead of resolving it in the
32032 assembler.
32033
32034Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32035
32036 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
32037 through signal handler.
32038
32039Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32040
32041 * configure.in (*-*-netware): Use config/mt-netware.
32042
32043 * config/mt-netware: New file.
32044 * config/mt-i386-netware: Removed, separate configs for different
32045 netware architectures are no longer needed now that we have
32046 --with-headers.
32047
32048Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32049
32050 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
32051 by the recent changes to use ANSI C arithmetic conversions.
32052
32053Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32054
32055 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
32056 bug involving using inferior_pid to figure out whether to select a
32057 frame.
32058
32059Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
32060
32061 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
32062 match the current disassembler output.
32063
32064Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
32065
32066 * gdb.fortran/exprs.exp: Expect VOID instead of void.
32067 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
32068 types, expect "int" as type of integer values (for now).
32069
32070Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
32071
32072 * gdb.base/commands.exp: New tests for if/while commands.
32073
32074Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
32075
32076 * lib/gdb.exp (runto): Replace sub-pattern for hex value
32077 by .*, since hex values have different syntax in Chill mode.
32078
32079Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32080
32081 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
32082 linefeed from expect pattern for repeated types with indices > 9.
32083
32084Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
32085
32086 First part of Fortran test suite.
32087 * gdb.fortran: New directory.
32088 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
32089
32090Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32091
32092 * gdb.base/default.exp: Update expect pattern for load command
32093 without arguments.
32094
32095Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
32096
32097 * configure.in: Change i386 to i[345]86.
32098 * gdb.base/configure.in: Likewise.
32099 * gdb.c++/configure.in: Likewise.
32100 * gdb.chill/configure.in: Likewise.
32101
32102Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
32103
32104 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
32105 patterns, since that is not a valid context for comments.
32106
32107Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
32108
32109 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
32110 repeated types and repeated types with indices > 9.
32111
32112Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
32113
32114 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
32115 2417; old bug has been fixed.
32116
32117Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
32118
32119 * gdb.base/interrupt.exp: When trying to wake up the inferior,
32120 send the newline ourselves instead of assuming gdb_test will do
32121 so when passed an empty input string.
32122
32123 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
32124 stabs testcode.
32125
32126Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32127
32128 * lib/gdb.exp (gdb_test): Don't send anything if the first
32129 argument is an empty string. This makes cases where we want to
32130 match output that is already in expect's buffers (for example,
32131 matching a breakpoint after gdb_run_cmd has been called) work
32132 reliably.
32133
32134Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32135
32136 * config/netware.exp: New file.
32137
32138Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32139
32140 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
32141 the -B and -L prefixes so we can find the debugging stub.
32142
32143 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
32144 there and we are using the gcc from the tree.
32145
32146 * gdb.base/types.c: Removed.
32147
32148 * gdb.base/configure.in: Look for makefile fragments in ../config.
32149 Recognize i386-*-netware.
32150 * gdb.c++/configure.in: Likewise.
32151
32152Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32153
32154 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
32155 the correct TCL syntax.
32156
32157Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32158
32159 * gdb.base/opaque.exp: use runto instead of messing around with
32160 breakpoints. Simplify by using gdb_test.
32161
32162 * gdb.base/bitfields.exp: restart between tests on netware targets
32163 because breakpoints aren't relocated after target death. Run
32164 processes to completion.
32165
32166 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
32167
32168Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
32169
32170 * Makefile.in: Remove extra tabs that confuse some versions
32171 of "make". Use the newly built gdb to test with by default,
32172 rather than the first one in the tester's search path.
32173
32174Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
32175
32176 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
32177
32178 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
32179 condition help.
32180
32181Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32182
32183 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
32184
32185 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
32186 running.
32187 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
32188 * gdb.base/funcargs.exp: Likewise.
32189
32190 * gdb.base/bitfields.exp: Simplify by using gdb_test.
32191 * gdb.base/funcargs.exp: Likewise.
32192
32193 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
32194 message is "".
32195
32196Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32197
32198 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
32199 return,signals,twice}.exp: Handle non-existant binaries
32200 consistantly.
32201
32202 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
32203 * gdb.base/Makefile.in: Don't try to generate a core dump, we
32204 might testing a cross development system.
32205
32206Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32207
32208 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
32209 runtest script is relative to ${srcdir}, not ${rootdir}.
32210
32211Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
32212
32213 * gdb.base/signals.exp: Allow for optionality of breakpoint
32214 address.
32215
32216Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32217
32218 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
32219
32220Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32221
32222 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
32223 for size_t definition.
32224 * gdb.c++/templates.cc: Likewise
32225
32226 * config/mt-i386-netware: New file.
32227
32228 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
32229 defined.
32230
32231 * gdb.base/Makefile.in: Added support for systems that name core
32232 files by appending "core" to the program name.
32233 * gdb.base/a1-selftest.exp: Likewise.
32234
32235Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32236
32237 * gdb.base/return.exp: Add comment and message for `return double'
32238 test failure on Sparc Solaris.
32239
32240Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
32241
32242 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
32243
32244Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32245
32246 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
32247 from optimizing them away.
32248 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
32249 patterns to include default constructors and assignment operators,
32250 to match gcc versions beyond 2.5.8. Accept any cplus demangling
32251 character in the output of the virtual base pointer.
32252
32253Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32254
32255 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
32256 expression match in print_addr_of to avoid unintented matches.
32257 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
32258 versions up to 2.5.8.
32259
32260Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32261
32262 * gdb.base/list.exp: Tweak alternate pattern for listing of an
32263 included file to run under newer versions of expect.
32264 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
32265 consecutive >'s in templates to accomodate recent cplus-dem.c change.
32266 Remove xfail for the virtual table of BDDHookV.
32267
32268Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
32269
32270 * lib/gdb.exp (string_to_regexp): Set a default result.
32271 (default_gdb_start): Fix misleading message.
32272
32273Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
32274
32275 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
32276 Remove all CC, etc definitions.
32277 * config/mt-hpux: New file.
32278 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
32279 (CFLAGS, LDFLAGS): Define.
32280 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
32281
32282 * Makefile.in (site.exp): Don't insert host_os, etc.
32283 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
32284 (distclean): Check existence of subdir.
32285 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
32286 * gdb.base/Makefile.in: General cleanup and simplification.
32287 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32288 to build executables. Use default rule to build .o files.
32289 (EXPECT, RUNTEST, CC): Fix relative pathname.
32290 (site.exp): Don't insert host_os, etc.
32291 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
32292 and/or SIGUSR1 defined.
32293 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
32294 * gdb.c++/Makefile.in: General cleanup and simplification.
32295 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32296 (CFLAGS): Remove.
32297 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
32298
32299Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
32300
32301 * gdb.base/recurse.exp: Misc changes to get tests running again
32302 after Kung's changes to the watchpoint code.
32303 * gdb.base/watchpoint.exp: Likewise.
32304
32305Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
32306
32307 * lib/gdb.exp (string_to_regexp): Convert {\} also.
32308
32309Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
32310
32311 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
32312 * lib/gdb.exp (default_gdb_start): Define.
32313 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
32314 gdb.base/funcargs.exp, gdb.base/opaque.exp,
32315 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
32316 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
32317 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
32318 Don't call gdb_target_udi in between tests.
32319
32320Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32321
32322 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
32323 (which was basically just a local version of the same thing). In
32324 addition to avoiding duplication, gdb_test_exact is faster.
32325 * lib/gdb.exp (gdb_test_exact): Fix typo.
32326
32327 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
32328 don't give an error.
32329
32330 * gdb.base/term.exp: Call delete_breakpoints before starting.
32331
32332 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
32333 (t10): Add comment.
32334
32335Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32336
32337 Reorganization of the GDB Test Suite.
32338
32339 * gdb.base: New directory, contains all the basic tests.
32340 * gdb.c++: New directory, tests specific to C++.
32341 * gdb.chill: New directory, tests specific to Chill.
32342 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
32343 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
32344 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
32345 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
32346 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
32347 t30-31 to chill).
32348 * */gdbme.*: Rename to match appropriate expect scripts.
32349 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
32350 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
32351 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
32352 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
32353 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
32354 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
32355 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
32356 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
32357 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
32358 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
32359 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
32360 gdb.c++/virtfunc.cc: New names of C++ files.
32361 * gdb.chill/chillvars.ch: New name of Chill file.
32362 * gdb.base/configure.in, gdb.c++/configure.in,
32363 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
32364 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
32365 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
32366 * configure.in (configdirs): Update to reflect directory changes.
32367 (target_abbrev): No longer define for any configuration.
32368 * Makefile.in: Cosmetic improvements to header comments.
32369
32370Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
32371
32372 Various changes to gdb.t31:
32373
32374 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
32375 * gdbme.ch: Make all key-words and predefineds be upper-case.
32376 * chillvars.exp: Expect key-words and predefinds in upper-case.
32377
32378 * chillvars.exp: Use gdb_test_exact many places.
32379 Change expected output for arrays (which now includes index labels).
32380
32381 * pr-5020.exp, gdme.ch (module PR_5020):
32382 New test, for PR-5020.
32383
32384Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
32385
32386 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
32387 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
32388
32389Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
32390
32391 * Makefile.in: Fix bit-rot in definitions of CHILL,
32392 CHILL_FOR_TARGET and Chill_LIB.
32393 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
32394 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
32395 CHILL, and CHILL_LIB.
32396
32397Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
32398
32399 * Revert the previous changes. Please see Rob's directory
32400 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
32401
32402Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
32403
32404 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
32405 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
32406 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
32407 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
32408 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
32409 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
32410 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
32411 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
32412 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
32413 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
32414 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
32415 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
32416 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
32417 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
32418 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
32419 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
32420 changes from 94Q1.
32421
32422Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
32423
32424 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
32425 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
32426 Rob's new testing fragments.
32427
32428Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
32429
32430 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 32431 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
32432
32433Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32434
32435 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
32436 version also, match on casted version strings, and match on
32437 gdb startup case where the line numbers might be messed up.
32438
32439Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
32440
32441 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 32442 (CFLAGS): Delete it from here.
c906108c
SS
32443
32444Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
32445
32446 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
32447
32448Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
32449
32450 * Makefile.in (RUNTEST): Default to just "runtest".
32451
32452Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32453
32454 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
32455 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
32456 the code has been restructured.
32457
32458Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32459
32460 * gdb.t00/default.exp (set write): Allow any number of \r and/or
32461 \n, not just one of each.
32462
32463 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
32464 /bin/cc gives a warning if you do.
32465
32466Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
32467
d63a86f8 32468 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
32469 __t10ListS_link1ZUiRCUiPT0
32470
32471Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32472
32473 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
32474 on local variables in recursive functions.
32475
32476 * gdb.t07/Makefile.in: Build the new test.
32477
32478Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32479
32480 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
32481 directly. Instead compare the return values from actual calls.
32482
32483Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
32484
32485 * Makefile.in (check): Set TCL_LIBRARY for runtest.
32486
32487Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32488
32489 * From Peter Schauer with minor modifications.
a9c64011
AS
32490 * gdb.t15/return.exp (return_tests): Handle targets where "return"
32491 stops in mid-line in the caller. Add xfail for returning a float
32492 value on X86 targets.
c906108c
SS
32493
32494Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32495
32496 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
32497 to avoid expect lossage.
32498 (fmem_LRbug_tests): Likewise.
32499 * gdb.disasm/hppa.s: Corresponding changes.
32500
32501 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
32502 conditions to work with latest dejagnu/expect.
32503
32504 * gdb.t15/funcargs.exp (finish from indirect call): No longer
32505 expected to fail on the PA.
32506 (backtrace in call with trampolines): Explicitly require main
32507 to be frame #1 (no trampolines should show up in backtrace).
32508
32509 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
32510 "continue -expect".
32511 * gdb.t06/break.exp: Likewise.
32512 * gdb.t07/watchpoint.exp: Likewise.
32513 * gdb.t13/bitfields.exp: Likewise.
32514 * gdb.t15/{funcargs,return}.exp: Likewise.
32515 * gdb.stabs/weird.exp: Likewise.
32516 * config/{mips,udi}-gdb.exp: Likewise.
32517
32518 * hppa.sed: Enclose comments within a sed command to avoid
32519 losing with the old OSF1 sed.
32520
32521Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32522
32523 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
32524 sequent dynix.
32525 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
32526 * gdb.t15/funcargs.exp: Conditionally step again to really
32527 finish from marker_call_with_trampolines. Handle the case where
32528 the first step from within call_with_trampolines already steps
32529 us back to main.
32530 * gdb.t15/gdbme.c: Add comment to closing brace of
32531 call_with_trampolines for funcargs.exp.
32532
32533Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32534
d63a86f8 32535 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
32536 Fix typo(s).
32537
32538Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32539
32540 * gdb.t07/gdbme.c: More code for watchpoint testing.
32541
32542 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
32543 "Hardware watchpoint" throughout file.
32544 (test_watchpoint_triggered_in_syscall): New test.
32545 (test_complex_watchpoint): New test.
32546
32547Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32548
32549 * gdbme.c (call_with_trampolines): New function to try and step
32550 into. Tests trampoline problems on the PA.
32551
32552 * funcargs.exp (localvars_in_indirect_call): No longer expect
32553 stepping into indirect call to fail on PAs.
32554 (test_stepping_over_trampolines): New test.
32555
32556Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32557
32558 * TODO: Add suggestions for static member function tests, and
32559 completion tests.
32560
32561Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32562
32563 * TODO: Add suggestions for "p/a" tests.
32564
32565 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
32566 (default_gdb_exit): Replace all the hair with sending "quit" to
32567 the process with a simple close.
32568
32569Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32570
32571 * TODO: Add suggestions for shared library tests.
32572
32573Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32574
32575 * TODO: Add suggestions for x/s tests.
32576
32577Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32578
32579 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
32580 "enable once", and "enable breakpoints once" with ".*".
32581
32582Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32583
32584 * TODO: Add suggestions about structure passing tests.
32585
32586Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32587
32588 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
32589 the primary1 test, use work around if __GNUC__ < 2.
32590 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
32591 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
32592 Test for bad output rather than waiting for timeout. Issue
32593 second continue only if first continue failed.
32594
32595Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32596
32597 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
32598 operator[] test with gdb_test because the old code didn't seem to
32599 be getting the quoting right with the new dejagnu.
32600
32601Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
32602
32603 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
32604 one from the path.
32605 * Makefile.in: Use a fresh expect if there is one, use runtest
32606 from the src tree if there is one.
d63a86f8 32607
c906108c
SS
32608Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32609
32610 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
32611 next over recursive call. Revise the tests from that point on
32612 (which had been skipped) to match GDB's actual (correct) output.
32613
32614 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
32615 with next over a breakpoint whose condition is false.
32616
32617 * gdb.t00/help.exp: Comment out "help set print" tests just like
32618 (and for same reason as) "help set" test.
32619
32620Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32621
32622 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
32623 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
32624
32625Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32626
32627 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
32628 necessary gdb_target_udi.
32629
32630 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
32631
32632 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
32633 1838 and 2417; they are fixed.
32634
32635 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
32636 gdb.t03/ptype.exp (ptype structure, ptype union):
32637 Remove xfails; the test is looser than when the xfails were added.
32638
32639 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
32640 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
32641
32642 * gdb.t01/run.exp: Only run shell test if isnative.
32643
32644 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
32645 since "run" automatically loads if necessary. Call gdb_target_udi
32646 after the "file" since "file" kills any execution target.
32647
32648 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
32649 GDB. GDB doesn't work that way (not anymore at least) on UDI.
32650 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
32651 argument for UDI.
32652
32653Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32654
32655 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
32656
32657 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
32658
32659Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32660
32661 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
32662 properly quoting regexps. This makes the second argument to
32663 demangle a fixed string, which matches the callers, instead of a
32664 shell-style pattern which is what the previous implementation
32665 used. Update some of the callers.
32666
32667Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32668
32669 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
32670 (comib_nullified_tests): Fix typo.
32671 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
32672 strings. No longer expected to fail.
32673
32674 * gdb.disasm/hppa.s (addib_tests): Fix typo.
32675 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
32676 strings. No longer expected to fail.
32677
32678 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
32679 string. No longer expected to fail.
32680
32681Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32682
32683 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
32684 No longer expected to fail.
32685
32686 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
32687 string. No longer expected to fail.
32688
32689Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32690
32691 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
32692 only in the names (I probably got most of them). I was even
32693 generous with some which differed in underscores in names, and
32694 probably missed a few, and I *still* was able to remove almost a
32695 third of the file with almost no impact on testsuite coverage.
32696
32697Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32698
32699 * gdb.t00/default.exp: Match udi_attach error message as well as
32700 the one from child_attach.
32701
32702 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
32703
32704 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
32705
32706 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
32707 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
32708
32709 * Move test with enums and partial symbols back to
32710 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
32711 Reverts the change of 26 May 93. Per today's change to
32712 stabs.texinfo, the behavior that weird.exp was expecting was
32713 unreasonable; what is important is that the compiler+gdb get
32714 things right, which happens with a recent gcc. Also fix the test
32715 to deal with native compilers which put out the stab gdb can't
32716 deal with.
32717
32718Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32719
32720 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
32721 in the names. The main thing these accomplish is to slow things down.
32722 Many more such duplicates surely remain.
32723
32724 * gdb.t00/help.exp: Comment out "help support" test just like
32725 (and for same reason as) "help set" test.
32726
32727Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
32728
32729 * gdb.t06/break.exp: Remove setup_xfails for
32730 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
32731 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
32732 about known bug in gcc to include up through 2.5.8.
32733 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
32734 well as "_vb$".
32735 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
32736 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
32737 with latest gcc and gdb.
32738 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
32739 well as "_vb$".
32740
32741Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32742
32743 * configure.in (hppa*-*-*): Also configure and build stabs-only
32744 tests.
32745
32746Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32747
32748 * gdb.t10/hppa.mt: A makefile fragment for the PA.
32749 * gdb.t10/configure.in (hppa*-*-*): Use it.
32750
32751Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32752
32753 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
32754
32755Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32756
32757 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
32758 versions prior to 1.13.5.
32759
32760Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32761
32762 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
32763 the prompt is at the start of a line.
32764
32765Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32766
32767 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
32768 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
32769 in the copr tests now.
32770 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
32771 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
32772 expected to fail.
32773
32774Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
32775
32776 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
32777 gdb.t31/chillvars.exp, lib/gdb.exp:
32778 Tweak to run under either version of expect.
32779 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
32780 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
32781 * gdb.t11/list.exp: Remove extraneous whitespace.
32782
32783Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32784
32785 * gdb.t16/printcmds.exp (test_print_strings): Accept
32786 "(unsigned char *) " before the string.
32787
32788 * TODO: Add notes about printing of fancy types and GDB expressions.
32789
32790Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
32791
32792 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
32793 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 32794 if doing mips-idt-ecoff.
c906108c
SS
32795
32796Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
32797
32798 * Most .exp files: Tweak to run under either version of expect.
32799
32800Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32801
32802 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
32803 xfails; I'm not sure why they are failing, but not because of PR 1806.
32804
32805Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
32806
32807 * config/unix-gdb.exp: Remove gdb_unload cause it's already
32808 defined in lib/gdb.exp.
32809
32810Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32811
32812 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
32813 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
32814 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
32815 have to be typeless.
32816
32817Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32818
32819 * TODO: Add suggestion for copyright year test.
32820
32821Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
32822
32823 * configure.in (*-*-lynxos*): Add stabs tests.
32824
32825Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32826
32827 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
32828 so insert a tab before any assembler directive in column zero.
32829
32830 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
32831 stores.
32832 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
32833 stores.
32834 (fpu_short_memory_tests): Likewise.
32835
32836Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32837
32838 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
32839 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
32840 .stabs directives in comments.
32841
32842Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32843
32844 * TODO: New file, describing tests we could write.
32845 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
32846
32847Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32848
32849 * gdb.t06/signals.exp: Add kludge to force re-sync.
32850
32851 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
32852 to xgdb instead of gdb, get out of gdb.
32853
32854Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
32855
32856 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
32857 for info.
32858
32859Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32860
32861 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
32862 * gdb.stabs/configure.in (hppa*-*-*): Use it.
32863 * gdb.stabs/hppa.sed: New sed script for the PA.
32864
32865Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32866
32867 * gdb.stabs: Re-write weird.def and configuration to use sed
32868 instead of cpp. sed is portable and POSIX; cpp is neither.
32869
32870Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32871
32872 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
32873
32874Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32875
32876 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
32877
32878Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32879
32880 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
32881 "_vb$".
32882 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
32883 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
32884
32885Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32886
32887 * lib/gdb.exp: Comment out code which depends on non-existent
32888 `transform' procedure.
32889
32890Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
32891
32892 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
32893 * lib/gdb.exp: Transform tool name.
32894 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
32895 1.1's new error handling system.
32896
32897Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32898
32899 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
32900
32901Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32902
32903 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
32904 They made pattern matching so slow that timeouts happened on
32905 heavily loaded systems. Now any output from "show print" which
32906 gets us back to the GDB prompt is a PASS.
32907
32908Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
32909
32910 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
32911
32912Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32913
32914 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
32915
32916 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
32917 It is not from PR 3220.
32918
32919Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32920
32921 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
32922 just started failing because they depended on the order the
32923 subcommands are presented, or exact docstring text. This kind of
32924 test is a pain and has minimal benefit.
32925
32926Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32927
32928 * gdb.t09/corefile.exp: At end of test, use "core" command with
32929 no arguments.
32930
32931Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
32932
32933 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
32934 17}/Makefile.in: Make it possible to run the testsuite with Sun
32935 make and CC = cross gcc by adding explicit build rules for .o
32936 files.
32937
32938Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32939
32940 * gdb.t15/funcargs.exp: Don't put comments on same line as
32941 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 32942
c906108c
SS
32943Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32944
32945 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
32946
32947Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
32948
32949 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
32950 * gdb.t20/inherit.exp: remove three dumplicate entries.
32951
32952Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32953
32954 * gdb.t06/break.exp: For "next over recursive call", fail on any
32955 incorrect output, not just on "factorial (value=2)".
32956
32957Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32958
32959 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
32960 working now. Add an xfail if accesing a bss variable causes
32961 a memory error if the target is not yet run.
32962
32963Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32964
32965 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
32966 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
32967 name of __st* demangling (2 strings). Did Kung really get the
32968 more than 95 others right without testing them?
32969
32970Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
32971
32972 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
32973
32974Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
32975
32976 * configure.in (configdirs): Add gdb.disasm
32977 * gdb.disasm: New directory for GDB disassembler tests.
32978 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
32979
32980Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32981
32982 * gdb.t00/help.exp: Don't test "help set".
32983
32984 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
32985 from within expect statements. None of these happen anymore and
32986 they cause regressions to be silently unnoticed.
32987
32988 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
32989 messages) about known failures with gcc cygnus-2.4.5-930417.
32990
32991 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
32992 comp-info.exp so it gets built if it doesn't exist.
32993
32994 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
32995 it is no longer used.
32996 * gdb.t13/comp-info.c: Removed.
32997
32998Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32999
33000 * gdb.t06/signals.exp: Add xfail for sun3.
33001
33002Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33003
33004 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
33005 relevant because ^C doesn't get sent but failure can be reproduced
33006 interactively).
33007
33008Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33009
33010 * gdb.stabs/alpha.mt: New configuration file for alpha.
33011 * gdb.stabs/configure.in: Use it.
33012 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
33013 sharing with alpha.mt, redefine long to word via preprocessor.
33014 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
33015 for alpha.
33016 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
33017 native cc.
33018 * gdb.t00/teststrategy.exp: Change expect string so that we
33019 consume the `(xgdb)' from the command echo and from the gdb prompt.
33020 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
33021 gdb currently compares all values as long, so this failure probably
33022 applies to any configuration where LONGEST is bigger than a target int.
33023 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
33024 with gcc.
33025 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
33026 to handle opaque pointers, gcc is.
33027 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
33028 as first argument. Include <sys/types.h> and change all operator
33029 new definitions to use size_t.
33030 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
33031 now that we use size_t.
33032
33033Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33034
a9c64011 33035 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 33036 a long or float array cast all array members to the same type.
a9c64011 33037 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 33038 with 64 bit longs.
a9c64011 33039 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 33040 on alpha.
a9c64011 33041 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
33042
33043Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33044
33045 * gdb.t24 (demangle.exp): Constructors of templates have names like
33046 vector<int>::vector(int) not vector<int>::vector<int>(int). See
33047 section 14.6 of the ARM.
33048
33049 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
33050 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
33051 accomplish little and slow down the testsuite.
33052
33053 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
33054 Accept spaces various places.
33055
33056Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33057
33058 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
33059 with watchpoint enabled.
33060
33061 * Makefile.in: Remove definition of CC and remove the second
33062 definition of CXX (the "CXX = gcc" one remains). These definitions
33063 were causing backquotes to be expanded within backquotes, which
33064 doesn't work.
33065
33066Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
33067
33068 * gdb.t17/callfuncs.exp: Add "return 0" to end.
33069
33070Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33071
a9c64011
AS
33072 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
33073 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
33074 by mips cc and contains no stabs entries.
33075
33076Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
33077
33078 * config/vx-gdb.exp: Use fake device to load files rather than
33079 NFS.
33080 * lib/gdb.exp: New proc to do "file" command.
33081 * config/unix-gdb.exp: Use new "file" proc.
33082
33083Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
33084
33085 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
33086 Rework board rebooting slightly.
33087 (gdb_exit): Don't exit from the remote shell; there isn't one.
33088 * gdb.stabs/weird.exp: If a program is being debugged already,
33089 kill it.
33090 * gdb.t04/setvar.exp: Stop and restart gdb.
33091 * gdb.t05/expr.exp: Likewise.
33092 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
33093 restart gdb and reload the program.
33094 * gdb.t08/opaque.exp: Likewise.
33095 * gdb.t12/scope.exp: Likewise.
33096 * gdb.t13/bitfields.exp: Likewise.
33097 * gdb.t15/funcargs.exp: Likewise.
33098 * gdb.t20/classes.exp: Likewise.
33099 * gdb.t03/ptype.exp: Increase timeout.
33100 * gdb.t16/printcmds.exp (test_print_string_constants,
33101 test_print_array_constants): Likewise.
33102 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
33103 * gdb.t20/classes.exp (do_tests): Likewise.
33104 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
33105
33106Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
33107
33108 * gdb.stabs: Renamed *wierd* to *weird*.
33109
33110Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
33111
33112 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
33113 for timeout. Add "known gcc 2.4.5 bug" to failure message.
33114
33115Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
33116
33117 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
33118 (do_tests): Remove xfail for whatis on one_var and two_var.
33119
33120Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
33121
33122 * Makefile.in: Made cross building work better by adding
33123 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
33124
33125Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33126
33127 * gdb.t15/{return.c,return.exp,Makefile.in}:
33128 New test, currently commented out.
33129
33130Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
33131
33132 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
33133 still running and removes the leftover named socket so GDb can do
33134 clean restarts.
33135
33136Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
33137
33138 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
33139 console, not GDB.
33140 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
33141 cross testing works better with "make check"
33142 * config/unix-gdb: Use default procedures for exit and version.
33143 * config/vx-gdb.exp: Cleaned up and massaged back to working order
33144 with the newest VxWorks.
33145
33146Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33147
33148 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
33149 old form.
33150
33151 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
33152 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
33153
33154 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
33155
33156 * config/unix-gdb.exp: Remove this version of gdb_exit
33157 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
33158 Rob says he'll look at it when he gets back to testing boards.
33159
33160Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
33161
33162 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
33163 an expected fail for certain ptype commands.
33164
33165 * gdb.t20/classes.exp: Update expected results of "ptype class
33166 Base1" to account for the constructor that now appears in the type.
33167
33168Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
33169
33170 * configure.in (configdirs): Restore gdb.t04, which mysteriously
33171 disappeared from list.
33172 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
33173 "alldone" proc with call to cleanup and exit.
33174 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
33175 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
33176 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
33177 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
33178 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
33179 "alldone" proc with simple returns that suppress remaining
33180 tests. The alldone proc went away many months ago.
33181
33182Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33183
33184 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
33185
33186 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
33187
33188Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33189
33190 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
33191 as vax gdb will display them.
33192
33193Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33194
33195 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
33196 optimizers.
33197
33198 * scope.exp: Change "bad value for localval" messages so each one
33199 is unique.
33200
33201 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
33202 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
33203
33204 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
33205
33206Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33207
33208 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
33209 doesn't exist (due to optimization).
33210
33211Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33212
33213 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
33214 contains \r because the filename is long.
33215
33216 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
33217 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
33218
33219Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33220
33221 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
33222 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
33223 Ultrix.
33224 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
33225 int tests.
33226 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
33227
33228Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
33229
33230 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
33231
33232 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 33233 to match does not match the passing case but still matches the
c906108c
SS
33234 failing case.
33235
33236Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33237
33238 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
33239
33240Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
33241
33242 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
33243 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
33244 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
33245 Remove various versions of gdb_exit.
33246 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
33247 gdb_exit.
33248 * config/unix-gdb.exp: gdb_exit remains here, and should override
33249 the generic version, since it's doing a lot of wierd stuff that
33250 the other versions aren't. FIXME, fold it in, or abandon this
33251 version.
33252
33253Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33254
33255 * gdb.t24/demangle.exp: Add tests for PR 3220.
33256
33257Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33258
33259 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
33260
33261Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
33262
33263 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
33264 "i386-*-*". Works for i486 as well.
33265
33266 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
33267 bug, and expand domain of xfail to all SVR4 systems, since the
33268 actual problem is likely to be in generic SVR4 /proc support.
33269
33270Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33271
33272 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
33273
33274Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
33275
33276 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
33277 xfails for other systems. Match a missing 'Continuing.' as an
33278 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
33279
33280 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
33281 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
33282 Only issue warning for missing executables if -all option is used.
33283
33284 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
33285 file if -all option is used. It's like an unpredictable XFAIL.
33286
33287Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33288
33289 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
33290 for dynamically linked binaries.
33291
33292 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
33293
33294Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33295
33296 * gdb.t20/inherit.exp: Change message for "print tagless struct"
33297 to state that this is a known bug in old versions of g++.
33298
33299Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33300
33301 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
33302 while waiting for `Continuing'.
33303
33304Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
33305
33306 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
33307 in text, data, and bss.
33308 * gdb.t10/nodebug.c: Add local and global test variables for
33309 initialized and uninitialized data.
33310
33311Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33312
33313 * config/unix-gdb.exp (gdb_exit): Add "wait".
33314
33315Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33316
33317 * gdb.t06/signals.exp: xfail the continue from the handler for all
33318 targets.
33319
33320 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
33321 function with watchpoints enabled, the i386 call dummy starts with
33322 a call.
33323
33324 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
33325 386 bsd names its corefiles.
33326
33327Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
33328
33329 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
33330 compilers don't grok it.
33331 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
33332 with small octal ints rather than character constants, which
33333 are signed and might not fit if first promoted to int.
33334
33335Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
33336
33337 * gdb.t09/Makefile.in (clean): Remove corefile.
33338
33339Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33340
33341 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
33342
33343Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33344 and Jim Kingdon (kingdon@cygnus.com)
33345
33346 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
33347 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
33348 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
33349
33350Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33351
33352 * gdb.t17/interrupt.exp: Add xfail for hppa.
33353
33354Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33355
33356 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
33357 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
33358 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
33359 to determine signed-ness of bitfields and use the result to setup
33360 the xfail.
33361 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
33362 * gdb.t15/funcargs.exp: Use them to step until the second indirect
33363 call line is reached if necessary.
33364
33365Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33366
33367 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
33368
33369Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33370
33371 * gdb.t06/break.exp: Also test `clear' command.
33372
33373Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33374
33375 * gdb.t00/teststrategy.exp: Remove extra quote.
33376
33377 * gdb.t07/watchpoint.exp: Change xfail for calling function with
33378 watchpoint enabled to be for all non-68k machines.
33379
33380 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
33381
33382Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33383
33384 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
33385 targets use aout.mt instead of ecoff.mt as gas understands
33386 standard aout format.
33387
33388Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33389
33390 * lib/gdb.exp (runto): Don't insist that function we are running to
33391 was compiled with -g.
33392
33393 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
33394
33395 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
33396 to get back into the read system call.
33397 Accept leading newline in case where we woke it up.
33398
33399Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33400
33401 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
33402 to make the stabs test work on ecoff systems using gcc and -with-stabs.
33403 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
33404 enable ecoff configuration.
33405
33406Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33407
33408 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
33409
33410Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33411
33412 * gdb.t16/printcmds.exp: Add another printf test.
33413
33414Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
33415
33416 * configure.in: If configured -with-stabs on any target, add
33417 stabsdirs to configdirs.
33418
33419Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33420
33421 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
33422 fun" so pattern does not match the command itself.
33423
33424Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33425
33426 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
33427
33428Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33429
33430 * gdb.t17/interrupt.exp: Test for more things.
33431
33432Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33433
33434 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
33435 compiler arranges the code and line numbers.
33436
33437 * gdb.t17/interrupt.exp: Don't send \n after ^C.
33438
33439Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33440
33441 * gdb.t00/help.exp: Increase expect input buffer size.
33442
33443Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33444
33445 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
33446
33447 * gdb.t07/watchpoint.exp: Add xfail for hppa.
33448
33449 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
33450
33451 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
33452 [0-9]*, not just [0-9].
33453
33454Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33455
33456 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
33457
33458 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
33459
33460Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33461
33462 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
33463
33464Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33465
33466 * gdb.t06/signals.c: Add xfails for sun3.
33467
33468 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
33469
33470 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
33471 test_stepping tests.
33472
33473Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33474
33475 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
33476
33477 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
33478
33479 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
33480 rather than actually putting it through cpp twice.
33481
33482 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
33483
33484Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
33485
33486 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
33487 no longer needed.
33488
33489Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33490
33491 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
33492
33493 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
33494 C++ features prints as "struct", make it a pass, not an xfail.
33495
33496Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33497
33498 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
33499 Don't require VA to print as "class" rather than "struct".
33500
33501Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
33502
33503 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
33504
33505Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33506
33507 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
33508
33509Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33510
33511 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
33512 order.
33513
33514Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33515
33516 * gdb.t16/printcmds.exp: Add printf tests.
33517
33518 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
33519
33520 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
33521
33522Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
33523
33524 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
33525 pass counts, to counteract any existing or future setup_xfails.
33526
33527Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33528
33529 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
33530 {BEGIN,END}_COMMON for common block instead of STAB.
33531 * gdb.stabs/wierd.exp: Add xfail for rs6000.
33532
33533 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
33534 intp_var should be N_GSYM not N_LSYM.
33535 wierd-aout.S: Use a label for the value of the N_SO.
33536 wierd.def: Remove all backslashes.
33537 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
33538
33539Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33540
33541 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
33542 get the expected next to inheritance3.
33543
33544Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33545
33546 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
33547 now that gcc-2.4 gets it right.
33548
33549Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33550
33551 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
33552
33553 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
33554 generating comp-info.exp which works for cross-compilation.
33555
33556Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
33557
33558 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
33559 "*-*-sysv4.*".
33560
33561Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
33562
33563 * gdb.t01/run.exp: Start with a fresh gdb.
33564 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
33565 SVR4.x.
33566
33567Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
33568
33569 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
33570 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
33571 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
33572 Makefile.in (distclean, realclean): Remove gdbme.c from list of
33573 things to remove.
33574
33575Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
33576
33577 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
33578 test cases from bug reports.
33579
33580Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
33581
33582 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
33583 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
33584 avoid spurious xfails.
33585 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
33586 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
33587 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
33588
33589Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
33590
33591 * gdb.t00/teststrategy.exp: Rework to provide more useful
33592 description of each test, fix problem with systems that define
33593 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
33594 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
33595 results for "next over recursive call" so timeouts aren't taken
33596 by error.
33597
33598Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
33599
33600 * gdb.t12/scope.exp: Test printing of variables before run.
33601
33602 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
33603 printed in wrong order due to sorting.
33604
33605Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
33606
33607 * gdb.t00/teststrategy.exp: Fix expected results for printing
33608 user entered string constant. Is array of char, prints with no
33609 address.
33610
33611 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
33612 commands.
33613 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
33614 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
33615 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
33616 of struct of char arrays.
33617 * gdb.t00/radix.exp: New tests for radix commands.
33618
33619Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
33620
33621 * gdb.t16/printcmd.exp: Print a variable before running program
33622 (with xfail for AIX).
33623
33624Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
33625
33626 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
33627
33628 * gdb.t16/printcmd.exp: Don't print variables before running program.
33629
33630 * gdb.t06/break.exp: Don't require envp argument to main.
33631
33632 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
33633
33634 * gdb.t02/whatis.exp, gdb.t11/list.exp:
33635 Add xfails for rs6000.
33636
33637 * gdb.t02/whatis.exp: Change other tests not to re-test something
33638 we already tested.
33639
33640 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
33641 each type used has a variable of that type.
33642
33643Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
33644
33645 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
33646
33647Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
33648
33649 * configure.in: change srctrigger to be a file, not a directory
33650
33651Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
33652
33653 * configure.in (mips-idt-ecoff*): Added trailing '*'.
33654
33655 * gdb.t11/list.exp: Fixed a couple of typos.
33656
33657Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
33658
33659 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
33660 is fixed and PR is closed.
33661 * gdb.t16 (gdbme.c): Add simple test string variable.
33662 * gdb.t16 (printcmds.exp): Add tests with simple test string
33663 variable, primarily for boundaries on "set print elements".
33664
33665Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
33666
33667 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
33668 Make leading 0's optional and don't expect a tab in the middle
33669 of the number.
33670
33671 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
33672
33673 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
33674 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
33675 don't end command passed to gdb_test with newline.
33676
33677 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
33678 signed keyword away, don't expect signed bitfields to be signed.
33679
33680 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
33681 printing with only as many 1's as are in the field as well as printing
33682 with 32 1's (see comment).
33683
33684Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
33685
33686 * gdb.t00/default.exp: Start with a fresh gdb.
33687 * configure.in (configdirs): Remove gdb.t31 until the chill
33688 compiler works again. It no longer is able to find chillrt0
33689 since it isn't in libchill.a anymore.
33690 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
33691 wierd.o, make more modular.
33692 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
33693 spurious newlines that caused problems.
33694
33695Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33696
33697 * Move test with enums and partial symbols from gdb.t03/ptype.exp
33698 to gdb.stabs/wierd.exp since GCC has worked around the bug.
33699 gdb.stabs/wierd.{exp,def}: Many new tests.
33700
33701 * gdb.t00/default.exp: update info line for new message.
33702
33703 * gdb.t02/{whatis.exp,gdbme.c}:
33704 Test that "char *" doesn't print as "caddr_t".
33705
33706Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33707
33708 * gdb.t00/help.exp: Use .* in place of some help messages which
33709 just changed.
33710 gdb.t00/default.exp: Update "info frame" test for new message.
33711 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
33712 Remove some xfails
33713
33714Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33715
33716 * gdb.t03/{gdbme.c,ptype.exp}:
33717 Add tests for typedef'd struct and union without tags.
33718 Also check "whatis" on a variable of a typedef'd enum without a tag.
33719
33720 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
33721 PRMS 1823; the bug still exists but isn't reproduced by this test
33722 anymore), and remove rs6000 XFAIL (the bug is fixed).
33723
33724 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
33725 duplicated from whatis.exp. For those that are left, accept
33726 "long", "long int", or "int" for long variables (whatis.exp already
33727 has an XFAIL for "int", so no need to fail it here).
33728
33729 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
33730 Deal with GCC's names for types now that GDB uses the compiler's names.
33731
33732 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
33733 setup_xfail's for sunos4. If we #defined the signed keyword away,
33734 don't expect GDB to know that char it is signed.
33735
33736 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
33737
33738Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
33739
33740 * configure.in (configdirs): Add gdb.t24 for C++ tests that
33741 should work on any system, regardless of debugging format.
33742 * gdb.t21/demangle.exp: Move to gdb.t24.
33743 * gdb.t24/demangle.exp: Move from gdb.t21.
33744 * gdb.t24/{Makefile.in, configure.in}: New files.
33745
33746Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33747
33748 * configure.in: Do gdb.stabs and C++ tests only for stabs.
33749 * gdb.stabs: New directory.
33750
33751Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33752
33753 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
33754 not just "Quit anyway?".
33755
33756Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
33757
33758 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
33759 that all setup_xfails are immediately followed by clear_xfails.
33760
33761Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
33762
33763 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
33764 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
33765 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
33766 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
33767 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
33768 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33769 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33770 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
33771 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
33772 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
33773 gdb.t31/chillvars.exp, lib/gdb.exp:
33774 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
33775 bug-gdb@prep.ai.mit.edu.
33776
33777Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
33778
33779 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
33780 with 0.0, not integer 0.
33781
33782Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
33783
33784 * gdb.t06/break.exp: Update for "Kill the program" message change.
33785
33786Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
33787
33788 * Makefile.in (GDBFLAGS): Set to -nx.
33789 * Makefile.in (site.exp): Use GDBFLAGS.
33790
33791Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33792
33793 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
33794 Makefiles.
33795 (check): depend on just-check.
33796 (just-check): added so that tests can be run without a noop
33797 build pass.
33798
33799Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33800
33801 Switch to using configure's configdirs.
33802 * Makefile.in (Makefile): add configure.in dependency.
33803 (SUBDIRS): removed redundant assignment.
33804 * configure.in: switch subdirs assignment to configdirs.
33805 * gdb.t*/configure.in: new files.
33806
33807Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
33808
33809 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
33810 works.
33811
33812Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
33813
33814 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
33815 in explicit rules. Apparently this is not supported by some makes.
33816
33817Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
33818
33819 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
33820
33821Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33822
33823 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
33824 disappeared.
33825
33826Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
33827
33828 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
33829
33830Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
33831
33832 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
33833 watchpoint problem that is now fixed.
33834 * gdb.t30/chexp.exp: Remove setup_xfail for printing
33835 uninitialized convenience variables.
33836 * gdb.t31/chillvars.exp: Fix expected patterns for printing
33837 structures.
33838
33839Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33840
33841 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
33842 which causes expect to get out of sync with gdb on long output
33843 from help set.
33844 * gdb.t09/corefile.exp: Make expected pattern for core file
33845 failing signal and frame output format less sun specific.
33846
33847Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
33848
33849 * gdb.t31/chillvars.exp: Add and remove initial dummy
33850 breakpoint, so that symbol table is forced in.
33851 (Needed at least on Sunos4, though it seems not SVR4.)
33852 * gdb.t31/chillvars.exp: Update for changed output format.
33853
33854Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
33855
a9c64011 33856 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
33857
33858Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
33859
33860 * Makefile.in: Added --srcdir when invoking runtest, removed the
33861 need for a local config file. (optional now)
33862
33863Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
33864
33865 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
33866 failure count used to force early termination. Add some more
33867 expected failures for gnu style demangling.
33868
33869Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33870
33871 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
33872 pmi variable from gdb.t20/gdbme to get optimized away.
33873 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
33874 Check for written corefile upon timeout _and_ eof.
33875
33876Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33877
33878 * config/unix-gdb.exp: Add missing return 0.
33879
33880Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33881
33882 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
33883 test termination.
33884
33885Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
33886
33887 * configure.in (subdirs): Put back gdb.t17 which mysteriously
33888 disappeared.
33889
33890Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
33891
33892 * gdb.t10/crossload.exp: Disable the i860-elf test until such
33893 time as i860 support works.
33894
d63a86f8 33895 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
33896 "backtrace 100\r" rather than just "backtrace\r", to match last
33897 change.
33898
33899Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
33900
33901 * config/udi-gdb.exp (gdb_exit): Remove close command.
33902 (gdb_target_udi): New procedure to set the UDI target.
33903 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
33904 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
33905 Added waits for prompts after several question responses. Added
33906 some more responses used by a29k-amd-udi-gdb.
33907 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
33908 pass different arguments, restart UDI connection after program
33909 completion.
33910 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
33911 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33912 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
33913 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
33914 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
33915 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
33916 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33917 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
33918 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
33919 after program completion.
33920 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
33921 compiled with a SELECT_VECS setting.
33922 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
33923 infinite recursion.
33924
33925 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
33926 Added checks for COFF results, and made them expected failures for
33927 all targets. It would be better to make them expected failures
33928 for COFF targets only.
33929
33930Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
33931
33932 * Makefile.in: add null dvi target, don't bother to recurse
33933 through test directories for info and install-info; rename
33934 $(datadir) to be dejagnu instead of deja-gnu
33935
33936Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
33937
33938 * gdb.t31/gdbme.ch: Re-enable code that previously caused
33939 compiler to coredump.
33940 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
33941 code.
33942
33943Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
33944
33945 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
33946 coredump.
33947 * gdb.t31/chillvars.exp: Comment out tests that depend on that
33948 code.
33949
33950Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
33951
33952 * gdb.t03/ptype.exp: tests for return code from gdb_test.
33953 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
33954 which in a shell. Deletes xgdb when done.
33955 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
33956 Tests the return from the "set height" or "set width" commands.
33957 Added a few return codes where needed.
33958
33959Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
33960
33961 * Makefile.in (SUBDIRS): Add gdb.t17.
33962 * configure.in (subdirs): Add gdb.t17.
33963 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
33964 files to test gdb's calling of functions in the inferior with
33965 the correct arguments and gdb's ability to retrieve any
33966 result returned.
33967
33968Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
33969
33970 * config/unix-gdb.exp (gdb_exit): Remove close commands that
33971 may be called after gdb goes away. Previous versions of expect
33972 needed these to avoid file descriptor leaks, but they cause
33973 errors with the current revision of expect.
33974 * gdb.t00/gdbvars.exp: Use -re on expected output after
33975 setting sevenbit-strings.
33976 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
33977 to set sevenbit-strings consistent across tests.
33978 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
33979 set sevenbit-strings consistent across tests.
33980
33981Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
33982
33983 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
33984 expected output to match current "expect" expectations.
33985
33986Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
33987
33988 * gdb.t00/default.exp: Change expected output for default "source"
33989 command, to match new gdb behavior which requires a filename to
33990 source.
33991
33992Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
33993
33994 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
33995 expected fail for i486-*-* that misses the marker2 function.
33996 * gdb.t10/crossload.exp (bfddefault): Allow successful
33997 recognition of a format to pass even if no symbols are found.
33998 Explicitly catch failures where the format is not recognized
33999 or is ambiguous, and add the reason to the fail message.
34000 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
34001 the cause is and invalid target and add reason to failure message.
34002 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
34003 elf32-i386, elf32-sparc, and elf32-i860.
34004 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
34005 Set up expected failure for 'filename'::variable scope resolution,
34006 which is now apparently broken on all targets.
34007 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
34008 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
34009 gdb.t23/templates.exp: Change failure for missing binfile into
34010 just a warning.
34011 gdb.t21/demangle.exp: Change all cfront references to 'arm'
34012 references.
34013
34014Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
34015
34016 * gdb.t00/default.exp: Add expected output for default "source"
34017 command, to match new gdb behavior.
34018 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
34019
34020Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
34021
34022 * config/*-gdb.exp: returns an error, rather than exiting on
34023 internal errors.
34024
34025Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
34026
34027 * gdb.t03/gdbme.c: Add pointer to struct variable.
34028 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
34029 referencing struct members.
34030
34031Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
34032
34033 * configure.in (mips-idt-ecoff): New target.
34034 * config/mips-gdb.exp: New file for remote board using MIPS remote
34035 debugging protocol.
34036
34037 * Redid configuration scheme. Removed gdb.t*/configure.in.
34038 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
34039 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
34040 distclean targets. Built executables via .o files. Adjusted
34041 tests to account for source files in $(srcdir) rather than
34042 $(objdir).
34043 * lib/gdb.exp (runto): Don't expect () after the function name,
34044 because it may have arguments.
34045
34046Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
34047
34048 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
34049 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
34050 expected failures for mips-idt-* and mips-sgi-*.
34051 * gdb.t00/default.exp (attach): Kill process if requested.
34052 * gdb.t00/help.exp (help target core, help target): Accept a gdb
34053 that does not read core files.
34054 * gdb.t01/run.exp: Removed checks for exit status code.
34055 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
34056 it is linked in.
34057 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
34058 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
34059 appropriate, rather than doing it by hand.
34060 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
34061 execution.
34062 * gdb.t10/crossload.exp: Kill existing program if needed.
34063 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
34064 appropriate, rather than doing it by hand. Always increase
34065 timeout for this test, not just for VxWorks.
34066
34067Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
34068
34069 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
34070 of Chill STRUCT types and STRUCT values.
34071 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
34072 than "char".
34073 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 34074 struct2): New struct definitions and initializations to test
c906108c
SS
34075 simple Chill STRUCT types.
34076
34077Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
34078
34079 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
34080 the null byte at the end of strings.
34081 * gdb.t00/default.exp: Make show version insensitive to copyright
34082 date.
34083 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
34084 to avoid dependencies on target char signedness.
34085 * gdb.t16/printcmds.exp: Update expected results for explicitly
34086 unsigned char.
34087 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
34088 now work.
34089 * gdb.t21/demangle.exp: Add many more patterns for template
34090 demangling, most of them being expected failures.
34091 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
34092 string we are matching for, to match on the whole string.
34093 * gdb.t21/demangle.exp: Add many new test strings to demangle,
34094 and fix a whole bunch that had incorrect expected output but were
34095 passing anyway because of the bug in "proc demangle".
34096 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
34097 type.
34098 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
34099
34100Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
34101
a9c64011
AS
34102 * gdb/testsuite: made modifications to testcases, etc., to allow
34103 them to work properly given the reorganization of deja-gnu and the
34104 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
34105
34106Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
34107
34108 * gdb/testsuite: Initial creation of gdb/testsuite.
34109 Migrated dejagnu testcases and support files for testing nm to
34110 gdb/testsuite from deja-gnu. These files were moved "as is"
34111 with no modifications. This migration is part of a major overhaul
34112 of dejagnu. The modifications to these testcases, etc., which
34113 will allow them to work with the new version of dejagnu will be
34114 made in a future update.
48efe704 34115
8d8cb839 34116 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 34117\f
8d8cb839
EZ
34118;; Local Variables:
34119;; mode: change-log
34120;; left-margin: 8
34121;; fill-column: 74
34122;; version-control: never
34123;; End:
902f2ccb 34124
ecd75fc8 34125 Copyright 1993-2014 Free Software Foundation, Inc.
902f2ccb
MC
34126 Copying and distribution of this file, with or without modification,
34127 are permitted provided the copyright notice and this notice are preserved.