Revert Makefile.in patch to remove all-lib.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6c466447
AS
12014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2
3 * gdb.python/py-framefilter.exp: Fix typo.
4
6e854735
YQ
52014-02-08 Yao Qi <yao@codesourcery.com>
6
7 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8 that no =breakpoint-modified is emitted when breakpoints are
9 modified through MI commands.
10
d137e6dc
PA
112014-02-07 Pedro Alves <pedro@codesourcery.com>
12 Pedro Alves <palves@redhat.com>
13
14 * gdb.threads/step-after-sr-lock.c: New file.
15 * gdb.threads/step-after-sr-lock.exp: New file.
16
b5ee5a50
PA
172014-02-07 Pedro Alves <palves@redhat.com>
18
19 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20
3c77faf3
JK
212014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22
23 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
24 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
25
6dddc817
DE
262014-02-06 Doug Evans <xdje42@gmail.com>
27
28 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
29 output.
30
31 * gdb.gdb/python-interrupts.exp: New file.
32
de7b2893
YQ
332014-02-05 Yao Qi <yao@codesourcery.com>
34
35 * gdb.trace/report.exp (use_collected_data): Test the output
36 of "info threads" and "info inferiors".
37
66d032ac
YQ
382014-02-05 Yao Qi <yao@codesourcery.com>
39
40 Revert this patch:
41
42 2013-05-24 Yao Qi <yao@codesourcery.com>
43
44 * gdb.trace/tfile.exp: Test inferior and thread.
45
591a12a1
UW
462014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
47
48 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
49 on a function.
50 * gdb.base/step-bt.c: Call hello via function pointer to make
51 sure its first instruction is executed on powerpc64le-linux.
52
0ff3e01f
UW
532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
54
55 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
56
084ee545
UW
572014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
58
59 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
60 of the test patterns for use on little-endian systems.
61
6ed14ff3
UW
622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
63
64 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
65 (decimal_vector): Fix for little-endian.
66
401e27fd
JM
672014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
68
69 * gdb.arch/sparc-sysstep.exp: New file.
70 * gdb.arch/sparc-sysstep.c: Likewise.
71
72 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
73
8b924729
EBM
742014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
75
76 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
77
fb151210
JB
782014-01-23 Tom Tromey <tromey@redhat.com>
79
80 * gdb.ada/array_char_idx: New testcase.
81
0740f8d8
TT
822014-01-23 Tom Tromey <tromey@redhat.com>
83
84 PR python/16487:
85 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
86 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
87 classes.
88
21909fa1
TT
892014-01-23 Tom Tromey <tromey@redhat.com>
90
91 PR python/16491:
92 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
93 string from an inferior frame.
94 * gdb.python/py-framefilter-mi.exp: Update.
95
87ce2a04
DE
962014-01-22 Doug Evans <dje@google.com>
97
98 * gdb.server/server-mon.exp: Add tests for "set debug-format".
99
237b092b
AA
1002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
101
102 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
103
d674a709
AA
1042014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
105
106 * gdb.trace/entry-values.exp: Remove excess space character from
107 regex patterns. Handle s390 call instruction.
108
20fa3390
AA
1092014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
110
111 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
112 define "*_start" label. Make "name" static.
113 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
114 ${name} by references to ${name}_start.
115
78466714
AA
1162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
117
118 * gdb.base/info-macros.exp: Remove "debug" from the compile
119 options.
120
ec9f644a
IB
1212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
122
123 * gdb.dlang/demangle.exp: New file.
124
94b1b47e
IB
1252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
126
127 * gdb.dlang/primitive-types.exp: New file.
128
7f420862
IB
1292014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
130
131 * configure.ac: Create gdb.dlang/Makefile.
132 * configure: Regenerate.
133 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
134 * gdb.dlang/Makefile.in: New file.
135 * lib/d-support.exp: New file.
136 * lib/gdb.exp (skip_d_tests): New proc.
137
52834460
MM
1382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
139
140 * gdb.btrace/delta.exp: Check reverse stepi.
141 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
142 * gdb.btrace/finish.exp: New.
143 * gdb.btrace/next.exp: New.
144 * gdb.btrace/nexti.exp: New.
145 * gdb.btrace/record_goto.c: Add comments.
146 * gdb.btrace/step.exp: New.
147 * gdb.btrace/stepi.exp: New.
148 * gdb.btrace/multi-thread-step.c: New.
149 * gdb.btrace/multi-thread-step.exp: New.
150 * gdb.btrace/rn-dl-bind.c: New.
151 * gdb.btrace/rn-dl-bind.exp: New.
152 * gdb.btrace/data.c: New.
153 * gdb.btrace/data.exp: New.
154 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
155
6e07b1d2
MM
1562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
157
158 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
159 * gdb.btrace/exception.exp: Update.
160 * gdb.btrace/instruction_history.exp: Update.
161 * gdb.btrace/record_goto.exp: Update.
162 * gdb.btrace/tailcall.exp: Update.
163 * gdb.btrace/unknown_functions.exp: Update.
164 * gdb.btrace/delta.exp: New.
165
0b722aec
MM
1662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
167
168 * gdb.btrace/record_goto.exp: Add backtrace test.
169 * gdb.btrace/tailcall.exp: Add backtrace test.
170
066ce621
MM
1712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
172
173 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
174 * gdb.btrace/record_goto.c: New.
175 * gdb.btrace/record_goto.exp: New.
176 * gdb.btrace/x86-record_goto.S: New.
177
0688d04e
MM
1782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
179
180 * gdb.btrace/function_call_history.exp: Update tests.
181 * gdb.btrace/instruction_history.exp: Update tests.
182
8710b709
MM
1832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
184
185 * gdb.btrace/function_call_history.exp: Fix expected field
186 order for "record function-call-history".
187 Add new tests for "record function-call-history /c".
188 * gdb.btrace/exception.cc: New.
189 * gdb.btrace/exception.exp: New.
190 * gdb.btrace/tailcall.exp: New.
191 * gdb.btrace/x86-tailcall.S: New.
192 * gdb.btrace/x86-tailcall.c: New.
193 * gdb.btrace/unknown_functions.c: New.
194 * gdb.btrace/unknown_functions.exp: New.
195 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
196
5de9129b
MM
1972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
198
199 * gdb.btrace/instruction_history.exp: Update.
200 * gdb.btrace/function_call_history.exp: Update.
201
23a7fe75
MM
2022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
203
204 * gdb.btrace/function_call_history.exp: Fix expected function
205 trace.
206 * gdb.btrace/instruction_history.exp: Initialize traced.
207 Remove traced_functions.
208
724c7dd8
MM
2092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
210
211 * gdb.btrace/function_call_history.exp: Update
212 * gdb.btrace/instruction_history.exp: Update.
213
6d78d93b
MM
2142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
215
216 * gdb.btrace/enable.exp: Update expected text.
217
93a360cc
OJ
2182014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
219
220 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
221 bytes.
222
3772b53f
MR
2232014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
224
225 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
226
596662fa
OJ
2272014-01-15 Omair Javaid <omair.javaid@linaro.org>
228
229 * lib/gdb.exp (supports_process_record): Return true for
230 arm*-linux*. (supports_reverse): Likewise.
231
b5b08fb4
SC
2322014-01-13 Siva Chandra Reddy <sivachandra@google.com>
233
234 PR python/15464
235 PR python/16113
236 * gdb.python/py-type.c: Enhance test case.
237 * gdb.python/py-value-cc.cc: Likewise
238 * gdb.python/py-type.exp: Add new tests.
239 * gdb.python/py-value-cc.exp: Likewise
240
52d7fb13
AA
2412014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
242 Pedro Alves <palves@redhat.com>
243
244 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
245 Make "name" extern.
246 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
247 references to ${name}_start by references to ${name}.
248
a2cd8cfe
JB
2492014-01-10 Joel Brobecker <brobecker@adacore.com>
250
251 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
252
4e23fced
JB
2532014-01-10 Joel Brobecker <brobecker@adacore.com>
254
255 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
256
c6a9e42c
PA
2572014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
258 Pedro Alves <palves@redhat.com>
259
260 * gdb.mi/mi-info-os.exp: Connect to the target with
261 mi_gdb_target_load.
262
b7ea362b
PA
2632014-01-08 Pedro Alves <palves@redhat.com>
264
265 * gdb.threads/reconnect-signal.c: New file.
266 * gdb.threads/reconnect-signal.exp: New file.
267
5e3f4fab
EBM
2682014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
269
270 * gdb.base/source-dir.exp: New file.
271
79301218
JB
2722014-01-07 Joel Brobecker <brobecker@adacore.com>
273
274 * gdb.ada/mi_interface: New testcase.
275
8e355c5d
JB
2762014-01-07 Joel Brobecker <brobecker@adacore.com>
277
278 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
279 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
280 gdb.ada/pp-rec-component/pck.ads: New files.
281
c0d48811
JB
2822014-01-07 Joel Brobecker <brobecker@adacore.com>
283
284 * gdb.python/py-pp-integral.c: New file.
285 * gdb.python/py-pp-integral.py: New file.
286 * gdb.python/py-pp-integral.exp: New file.
287
4924df79
GKB
2882013-12-19 Sergio Durigan Junior <sergiodj@redhat.com>
289
290 PR breakpoints/16297
291 * gdb.base/catch-syscall.c (read_syscall, pipe_syscall)
292 (write_syscall): New variables.
293 (main): Create a pipe, write 1 byte in it, and read 1 byte from
294 it.
295 * gdb.base/catch-syscall.exp (all_syscalls): Include "pipe,
296 "write" and "read" syscalls.
297 (fill_all_syscalls_numbers): Improve the way to obtain syscalls
298 numbers.
299
530e8392
KB
3002013-12-19 Keven Boell <keven.boell@intel.com>
301
302 * gdb.fortran/module.exp: Completion matches fortran module
303 names as well. ptype/whatis on modules return a proper type.
304 Add new check for having the correct scope.
305
7f9b20bb
KB
3062013-12-19 Keven Boell <keven.boell@intel.com>
307
308 * gdb.fortran/type.f90: New file.
309 * gdb.fortran/whatis_type.f90: New file.
310
2e0d821f
SDJ
3112013-12-18 Sergio Durigan Junior <sergiodj@redhat.com>
312
313 * gdb.base/catch-syscall.c: Include <sys/syscall.h>.
314 (close_syscall, chroot_syscall, exit_group_syscall): New
315 variables.
316 * gdb.base/catch-syscall.exp: Replace gdb_compile by
317 prepare_for_testing. Call fill_all_syscalls_numbers before
318 starting. Replace gdb_exit, gdb_start, gdb_reinitialize_dir and
319 gdb_load by clean_restart.
320 (check_info_bp_any_syscall, check_info_bp_specific_syscall)
321 (check_info_bp_many_syscalls): Remove global gdb_prompt.
322 (check_call_to_syscall): Likewise. Add global decimal. Improve
323 testing regex.
324 (check_return_from_syscall): Likewise.
325 (check_continue, insert_catch_syscall_with_arg): Remove global
326 gdb_prompt.
327 (insert_catch_syscall_with_many_args): Likewise. Add global
328 decimal. Fix $filter_str. Improve testing regex.
329 (check_for_program_end): Remove global gdb_prompt.
330 (test_catch_syscall_without_args): Likewise. Add global decimal.
331 Improve testing regex.
332 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
333 (test_catch_syscall_with_wrong_args)
334 (test_catch_syscall_restarting_inferior)
335 (test_catch_syscall_fail_nodatadir): Remove global gdb_prompt.
336 (do_syscall_tests): Likewise. Remove global srcdir.
337 (test_catch_syscall_without_args_noxml): Remove global gdb_prompt.
338 Add global last_syscall_number. Test for the exact syscall number
339 to be caught.
340 (test_catch_syscall_with_args_noxml): Remove global gdb_prompt.
341 Add global all_syscalls_numbers. Test each syscall number to be
342 caught, instead of only testing "close".
343 (test_catch_syscall_with_wrong_args_noxml): Remove global gdb_prompt.
344 (do_syscall_tests_without_xml): Likewise. Remove global srcdir.
345 Remove stale comment.
346 (fill_all_syscalls_numbers): Add global last_syscall_number. Fill
347 the correct syscall numbers using information from the inferior.
348
5ce0145d
PA
3492013-12-17 Pedro Alves <palves@redhat.com>
350
351 * gdb.trace/circ.exp: Expect frame info to be printed when
352 switching between frames with unavailable stack, but different
353 functions.
354
bdf22206
AB
3552013-12-17 Andrew Burgess <aburgess@broadcom.com>
356
357 * gdb.trace/unavailable-dwarf-piece.c: New file.
358 * gdb.trace/unavailable-dwarf-piece.exp: New file.
359
07d100d4
YQ
3602013-12-15 Yao Qi <yao@codesourcery.com>
361
362 * gdb.perf/skip-prologue.c: New.
363 * gdb.perf/skip-prologue.exp: New.
364 * gdb.perf/skip-prologue.py: New.
365
8a48ac95
JB
3662013-12-13 Joel Brobecker <brobecker@adacore.com>
367
368 * gdb.ada/arraydim: New testcase.
369
a16b0e22
SC
3702013-12-12 Siva Chandra Reddy <sivachandra@google.com>
371
372 PR python/16113
373 * gdb.python/py-value-cc.cc: Improve test case.
374 * gdb.python/py-value-cc.exp: Add new tests to test usage of
375 gdb.Field objects as subscripts on gdb.Value objects.
376
0987cf35
DE
3772013-12-10 Doug Evans <dje@google.com>
378
7b3fd68b 379 PR 16286
0987cf35
DE
380 * gdb.python/py-value.c: #include stdlib.h, string.h.
381 (str): New struct.
382 (main): New local xstr.
383 * gdb.python/py-value.exp (test_value_in_inferior): Add test to
384 fetch a value as a string with a length beyond the declared length
385 of the array.
386
409d8f48
AB
3872013-12-10 Andrew Burgess <aburgess@broadcom.com>
388
389 * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info,
390 update comment.
391
036e93df
JB
3922013-12-10 Joel Brobecker <brobecker@adacore.com>
393
394 * gdb.ada/int_deref.exp: Add test verifying that we print
395 the decoded symbol name when printing the address of Ada
396 symbols.
397
72bfa06c
JB
3982013-12-10 Joel Brobecker <brobecker@adacore.com>
399
400 * gdb.mi/mi-start.exp: Add test verifying that -list-features
401 contains "exec-run-start-option".
402
11ec5965
YQ
4032013-12-08 Yao Qi <yao@codesourcery.com>
404
405 * lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
406 (is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
407 (is_64_target, is_amd64_regs_target): Likewise.
408 (skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
409
594d8fa8
MF
4102013-12-07 Mike Frysinger <vapier@gentoo.org>
411
412 * gdb.ada/uninitialized_vars/parse_controlled.ads: Remove +x file mode.
413 * gdb.base/testenv.c: Likewise.
414
d9a196da
MF
4152013-12-07 Mike Frysinger <vapier@gentoo.org>
416
417 * gdb.hp/gdb.base-hp/so-thresh.sh: Change /bin/ksh to /bin/sh.
418 * gdb.hp/gdb.objdbg/tools/symaddr: Likewise.
419 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: Likewise.
420
782d47df
PA
4212013-12-06 Pedro Alves <palves@redhat.com>
422
423 * gdb.dwarf2/dw2-undefined-ret-addr.S: New file.
424 * gdb.dwarf2/dw2-undefined-ret-addr.c: New file.
425 * gdb.dwarf2/dw2-undefined-ret-addr.exp: New file.
426
399d6e30
DE
4272013-12-06 Doug Evans <dje@google.com>
428
429 * gdb.base/break.exp: Fix setting of $baz.
430
16b5a7cb
AB
4312013-12-06 Andrew Burgess <aburgess@broadcom.com>
432
433 * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
434 DW_OP_plus_uconst.
435
f84bc218
KB
4362013-12-06 Keven Boell <keven.boell@intel.com>
437
438 * lib/mi-support.exp (mi_list_varobj_children_range): Add
439 call to mi_list_array_varobj_children_with_index.
440 (mi_list_array_varobj_children_with_index): New function.
441 Add parameter to specify array start.
442
489e41dd 4432013-12-03 Jose E. Marchesi <jose.marchesi@oracle.com>
f1300300
JM
444
445 * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a
446 SIGPWR in sparc64.
447
448 * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR
449 have the same signal number. Handle this situation.
450
7fb1b8b1
JB
4512013-12-03 Joel Brobecker <brobecker@adacore.com>
452
453 * gdb.ada/dot_all: New testcase.
454
2ea126fa
JB
4552013-12-03 Joel Brobecker <brobecker@adacore.com>
456
457 * gdb.mi/mi-undefined-cmd.exp: New testcase.
458
6b7cbff1
JB
4592013-12-03 Joel Brobecker <brobecker@adacore.com>
460
461 * gdb.mi/mi-i-cmd.exp: New file.
462
04affae3
JK
4632013-12-02 Doug Evans <dje@google.com>
464
465 * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
466 at start.
467 * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
468 has been specified with a relative path and we have chdir'd before
469 accessing the debug info.
470
eebc056c
AB
4712013-11-28 Andrew Burgess <aburgess@broadcom.com>
472
473 * gdb.trace/unavailable.exp (gdb_collect_args_test): Update
474 expected results.
475 (gdb_collect_locals_test): Likewise.
476 (gdb_collect_globals_test): Likewise.
477
8b5e6dc2
YQ
4782013-11-28 Yao Qi <yao@codesourcery.com>
479
480 * lib/gdb.exp (with_gdb_prompt): New proc.
481 * gdb.perf/disassemble.exp: New.
482 * gdb.perf/disassemble.py: New.
483
0db4ca18
LM
4842013-11-26 Luis Machado <lgustavo@codesourcery.com>
485
486 * gdb.base/callfuncs.c (main): Assign malloc's return value
487 and free it afterwards.
488 * gdb.base/charset-malloc.c (malloc_stub): Likewise.
489 * gdb.base/printcmds.c (main): Likewise.
490 * gdb.base/randomize.c (main): Free "p" and change breakpoint
491 marker position.
492 * gdb.base/setvar.c (dummy): Assign malloc's return value
493 and free it afterwards.
494
d24a9f15
AB
4952013-11-26 Andrew Burgess <aburgess@broadcom.com>
496
497 * gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
498 gdb_test_multiple.
499
15859968
TT
5002013-11-26 Tom Tromey <tromey@redhat.com>
501
502 * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove.
503 * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove.
504 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
505
f7e3ecae
KS
5062013-11-25 Keith Seitz <keiths@redhat.com>
507
508 PR c++/14819
509 * gdb.cp/impl-this.cc: New file.
510 * gdb.cp/impl-this.exp: New file.
511
23e9d3b9
YQ
5122013-11-25 Yao Qi <yao@codesourcery.com>
513
514 * gdb.perf/backtrace.c: New.
515 * gdb.perf/backtrace.exp: New.
516 * gdb.perf/backtrace.py: New.
517
22825df7
YQ
5182013-11-24 Yao Qi <yao@codesourcery.com>
519
520 * gdb.perf/single-step.c: New.
521 * gdb.perf/single-step.exp: New.
522 * gdb.perf/single-step.py: New.
523
c1ea7c01
DE
5242013-11-23 Doug Evans <xdje42@gmail.com>
525
526 * gdb.base/ena-dis-br.exp: Add missing quote to "step after continue
527 with ignore count".
528
35720eaa
DE
5292013-11-23 Doug Evans <xdje42@gmail.com>
530
531 * gdb.python/py-value.exp (test_lazy_strings): Tweak test names.
532 (test_subscript_regression): Ditto.
533 (top level): Run test_subscript_regression for c++ with "c++" prefix.
534
3cd14e45
DE
5352013-11-23 Doug Evans <xdje42@gmail.com>
536
537 * gdb.python/py-type.exp (test_enums): Fix typo.
538
985c818c
DE
5392013-11-23 Doug Evans <xdje42@gmail.com>
540
541 * gdb.python/py-symbol.exp: Add some comments. Make all test names
542 unique.
543
f873dd7a
DE
5442013-11-23 Doug Evans <xdje42@gmail.com>
545
546 * gdb.python/py-symbol.exp: Fix whitespace.
547
38a502a4
DE
5482013-11-23 Doug Evans <xdje42@gmail.com>
549
550 * gdb.python/python.exp: Don't call skip_python_tests, we still want
551 to test some things in the case where python is not configured in.
552
c0621699
PA
5532013-11-22 Pedro Alves <palves@redhat.com>
554
555 * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
556 * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this. Adjust.
557 * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
558 * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
559 * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
560 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
561
f57e61cd
TT
5622013-11-22 Tom Tromey <tromey@redhat.com>
563
564 * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
565
da2b2fdf
TT
5662013-11-22 Tom Tromey <tromey@redhat.com>
567
568 * gdb.dwarf2/dw2-bad-cfi.c: New file.
569 * gdb.dwarf2/dw2-bad-cfi.exp: New file.
570 * gdb.dwarf2/dw2-bad-cfi.S: New file.
571
33f8fe58
PA
5722013-11-22 Pedro Alves <palves@redhat.com>
573
574 PR 16155
575 * gdb.dwarf2/dw2-dup-frame.S: New file.
576 * gdb.dwarf2/dw2-dup-frame.c: New file.
577 * gdb.dwarf2/dw2-dup-frame.exp: New file.
578
0a1e6121
YQ
5792013-11-22 Yao Qi <yao@codesourcery.com>
580
581 * lib/mi-support.exp (mi_create_dynamic_varobj): Update
582 comment and add one more argument "has_more".
583 * gdb.python/py-mi.exp: Callers update.
584
0061ea24
YQ
5852013-11-22 Yao Qi <yao@codesourcery.com>
586
587 * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
588 of mi_create_dynamic_varobj.
589
069d6a0f
PA
5902013-11-20 Pedro Alves <palves@redhat.com>
591
592 * gdb.base/maint.exp (maint print objfiles): Consume one line at a
593 time, and run it through all three milestone regexes.
594
10d8cbd2
SA
5952013-11-20 Sanimir Agovic <sanimir.agovic@intel.com>
596
597 * gdb.base/eval-avoid-side-effects.exp: New file.
598
57803a3c
WT
5992013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
600
60650f2e
WT
601 * gdb.arch/i386-mpx.c: New file
602 * gdb.arch/i386-mpx.exp: New file.
603
09748966
WT
6042013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
605
606 * gdb.python/py-pp-maint.exp: Consider new pretty-print added
607 for bnd registers.
608
60650f2e
WT
6092013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
610
57803a3c
WT
611 * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
612 start and end equal 0.
613
3e9ecad3
YQ
6142013-11-19 Yao Qi <yao@codesourcery.com>
615
616 * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
617 (mi_list_varobj_children_range): Likewise.
618
31b4ab9e
YQ
6192013-11-19 Yao Qi <yao@codesourcery.com>
620
621 * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
622
4392c534
YQ
6232013-11-19 Yao Qi <yao@codesourcery.com>
624
625 * lib/mi-support.exp: Fix format.
626
df7752b0
JB
6272013-11-19 Joel Brobecker <brobecker@adacore.com>
628
629 * gdb.ada/py_range: New testcase.
630
176f037c
JB
6312013-11-18 Joel Brobecker <brobecker@adacore.com>
632
633 * mi-language.exp: Add "-list-features" test verifying that
634 its output contains "language-option".
635
ee4a1c63
JB
6362013-11-16 Joel Brobecker <brobecker@adacore.com>
637
638 * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
639 * info_exc/foo.adb: Adjust to new exception name.
640 * info_exc.exp: Adjust after exception renaming in const.ads.
641 Update "info exception global" test to test "info exceptions
642 global_gdb" instead.
643
644 * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
645 * mi_exc_info/foo.adb (Adjust to new exception name.
646 * mi_exc_info.exp: Adjust after exception renaming in const.ads.
647 Update "-info-ada-exceptions global" test to test
648 "-info-ada-exceptions global_gdb" instead.
649
6ec41e1e
LM
6502013-11-15 Luis Machado <lgustavo@codesourcery.com>
651
652 * lib/mi-support.exp (mi_gdb_test): Expect different formats
653 of inferior output for remote and native sessions.
654 * gdb.mi/mi-console.exp: Remove obsolete comment.
655 Check for semihosted inferior output pattern.
656 (semihosted_string): New function.
657
391d3400
JB
6582013-11-15 Joel Brobecker <brobecker@adacore.com>
659
660 * gdb.ada/info_exc.exp: Allow other global exceptions to be
661 listed in the output of "info exceptions".
662 * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
663 listed in the output of "-info-ada-exceptions".
664
e092da29
JB
6652013-11-15 Joel Brobecker <brobecker@adacore.com>
666
667 * gdb.ada/info_exc.exp: Start inferior before starting
668 the "info exceptions" tests.
669 * gdb.ada/mi_exc_info.exp: Start inferior before starting
670 the "-info-ada-exceptions" tests.
671
805e1f19
TT
6722013-11-15 Tom Tromey <tromey@redhat.com>
673
674 * gdb.cp/includefile: New file.
675 * gdb.cp/filename.exp: New file.
676 * gdb.cp/filename.cc: New file.
677
9abb1bd6
DE
6782013-11-15 Doug Evans <xdje42@gmail.com>
679
680 * gdb.python/py-breakpoint.exp: Make tests have unique names.
681
8abea1a1
DE
6822013-11-15 Doug Evans <xdje42@gmail.com>
683
684 * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
685
330a7fce
DE
6862013-11-15 Doug Evans <xdje42@gmail.com>
687
688 * gdb.python/py-breakpoint.exp: Split up into several functions,
689 each with their own test prefix.
690
0acf8b65
JB
6912013-11-15 Joel Brobecker <brobecker@adacore.com>
692
693 * gdb.ada/O2_float_param: New testcase.
694
496038b3
TT
6952013-11-14 Tom Tromey <tromey@redhat.com>
696
697 * Makefile.in (check-parallel): Print summary from gdb.sum.
698
c7e8af9b
OJ
6992013-11-14 Omair Javaid <Omair.Javaid@linaro.org>
700
701 * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
702 and function label names.
703 * gdb.dwarf2/dw2-case-insensitive.c: Created function and
704 compile unit labels.
705
403cb6b1
JB
7062013-11-14 Joel Brobecker <brobecker@adacore.com>
707
708 * gdb.mi/mi-language.exp: New file.
709
74921315
KS
7102013-09-17 Keith Seitz <keiths@redhat.com>
711
712 PR c++/7935
713 PR c++/10541
714 * gdb.cp/nsalias.exp: New file.
715 * gdb.cp/nsalias.cc: New file.
716 * gdb.cp/nsrecurs.exp: Remove kfails. Conditionally run
717 tests only on known, working compiler versions.
718
08c43050
TT
7192013-11-13 Tom Tromey <tromey@redhat.com>
720
721 * gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
722 * gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
723
0682e708
DE
7242013-11-12 Doug Evans <dje@google.com>
725
726 * gdb.base/fileio.exp: Make $dir2 writable after the test is done
727 so that "rm -rf $builddir" Just Works.
728
a7e332c2
JB
7292013-11-12 Joel Brobecker <brobecker@adacore.com>
730
731 * gdb.ada/mi_exc_info: New testcase.
732
778865d3
JB
7332013-11-12 Joel Brobecker <brobecker@adacore.com>
734
735 * gdb.ada/info_exc: New testcase.
736
304a8ac1
DE
7372013-11-11 Doug Evans <dje@google.com>
738
739 * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
740 of testfile.
741
bc79de95
PM
7422013-11-11 Phil Muldoon <pmuldoon@redhat.com>
743
744 * gdb.python/py-linetable.S: New file.
745 * gdb.python/py-linetable.c: New file.
746 * gdb.python/py-linetable.exp: New file.
747
2df4d1d5
JB
7482013-11-11 Joel Brobecker <brobecker@adacore.com>
749
750 * gdb.ada/mi_ex_cond: New testcase.
751
204b5331
DE
7522013-11-07 Doug Evans <dje@google.com>
753
754 PR 11786
755 * gdb.base/gcore-relro-pie.c: New file.
756 * gdb.base/gcore-relro-pie.exp: New file.
757
92e32e33
PM
7582013-11-07 Phil Muldoon <pmuldoon@redhat.com>
759
760 * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
761 * gdb.python/py-cmd.c: New File.
762
f76c27b5
PM
7632013-11-07 Phil Muldoon <pmuldoon@redhat.com>
764
765 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
766
79600f4f 7672013-11-06 Doug Evans <xdje42@gmail.com>
01e48c0c
DE
768
769 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
770
6dbb6798
YQ
7712013-11-06 Yao Qi <yao@codesourcery.com>
772
773 * lib/gdb.exp (gdb_produce_source): New procedure.
774 * gdb.perf/solib.c: New.
775 * gdb.perf/solib.exp: New.
776 * gdb.perf/solib.py: New.
777
71c0c615
YQ
7782013-11-06 Yao Qi <yao@codesourcery.com>
779
780 * README: Mention performance tests.
781
f27a1236
YQ
7822013-11-06 Yao Qi <yao@codesourcery.com>
783
784 * lib/perftest.exp: New.
785 * gdb.perf/lib/perftest/__init__.py: New.
786 * gdb.perf/lib/perftest/measure.py: New.
787 * gdb.perf/lib/perftest/perftest.py: New.
788 * gdb.perf/lib/perftest/reporter.py: New.
789 * gdb.perf/lib/perftest/testresult.py: New.
790
7636ccf9
YQ
7912013-11-06 Yao Qi <yao@codesourcery.com>
792
793 * Makefile.in (check-perf): New target.
794 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
795 * configure: Re-generated.
796 * gdb.perf/Makefile.in: New.
797
81208388
TT
7982013-11-04 Tom Tromey <tromey@redhat.com>
799
800 * Makefile.in (TEST_DIRS): Remove.
801 (TEST_TARGETS, check-parallel): Rewrite.
802 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
803 (subdir_do, subdirs): Remove.
804 (do-check-parallel, check/%): New targets.
805 (clean): Remove outputs, temp, and cache directories.
806 (saw_dash_j): New variable.
807 (CHECK_TARGET): Use it.
808 (check): Depend on all, site.exp. Rewrite.
809 (check-single): Remove dependencies.
810 (slow_tests, all_tests, reordered_tests): New variables.
811
c63ffa1f
TT
8122013-11-04 Tom Tromey <tromey@redhat.com>
813
814 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
815 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
816 before loading binfile.
817 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
818 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
819 before loading binfile.
820
3fef966c
TT
8212013-11-04 Tom Tromey <tromey@redhat.com>
822
823 * gdb.base/foll-exec.c (main): Use BASEDIR.
824 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
825 * gdb.base/foll-vfork.c (main): Use BASEDIR.
826 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
827 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
828 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
829
24890efd
TT
8302013-11-04 Tom Tromey <tromey@redhat.com>
831
832 * gdb.base/argv0-symlink.exp: Compute executable's directory
833 dynamically.
834
c59ffcab
TT
8352013-11-04 Tom Tromey <tromey@redhat.com>
836
837 * gdb.asm/asm-source.exp: Use standard_output_file.
838
479c8d68
TT
8392013-11-04 Tom Tromey <tromey@redhat.com>
840
841 * gdb.server/file-transfer.exp: Use standard_output_file.
842
1e537771
TT
8432013-11-04 Tom Tromey <tromey@redhat.com>
844
845 * gdb.base/fullname.exp: Use standard_output_file,
846 relative_filename.
847 * gdb.base/hashline1.exp: Use standard_testfile,
848 standard_output_file, relative_filename, clean_restart.
849 * gdb.base/hashline2.exp: Use standard_testfile,
850 standard_output_file.
851 * gdb.base/hashline3.exp: Use standard_testfile,
852 standard_output_file, relative_filename.
853 * lib/gdb.exp (relative_filename): New proc.
854
b44b82af
TT
8552013-11-04 Tom Tromey <tromey@redhat.com>
856
857 * gdb.base/fileio.c (test_open, test_write, test_read)
858 (test_lseek, test_close, test_stat, test_fstat)
859 (test_isatty, test_system, test_rename, test_unlink):
860 Use OUTDIR define.
861 * gdb.base/fileio.exp: Define OUTDIR during compilation.
862 Use standard_output_file.
863
59b28c5d
TT
8642013-11-04 Tom Tromey <tromey@redhat.com>
865
866 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
867 defines.
868 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
869 compilation. Use prepare_for_testing, standard_output_file.
870
08b3fe69
TT
8712013-11-04 Tom Tromey <tromey@redhat.com>
872
873 * gdb.base/advance.exp: Use standard_testfile and
874 prepare_for_testing.
875 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
876 appropriate directory when local.
877 * gdb.base/dump.exp: Use standard_output_file. Update all
878 "dump" and "restore" filenames.
879 * gdb.base/interact.exp: Use standard_output_file.
880 * gdb.base/jit-so.exp: Don't download file when local.
881 * gdb.base/jit.exp (compile_jit_test): Don't download file
882 when local.
883 * gdb.base/list.exp: Use gdb_remote_download.
884 * gdb.base/maint.exp: Use standard_output_file.
885 * gdb.base/prelink.exp: Use standard_output_file.
886 * gdb.base/save-bp.exp: Use standard_output_file.
887 * gdb.base/sepdebug.exp: Use standard_testfile,
888 standard_output_file.
889 (test_different_dir): Don't declare objdir.
890 * gdb.base/solib-search.exp: Use standard_output_file.
891 * gdb.base/step-line.exp: Use gdb_remote_download.
892 * gdb.base/trace-commands.exp: Use standard_output_file.
893
32cfb09d
TT
8942013-11-04 Tom Tromey <tromey@redhat.com>
895
896 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
897 to compilation. Use standard_output_file.
898 (test_tfind_tfile): Update.
899 * gdb.trace/tfile.c (write_basic_trace_file)
900 (write_error_trace_file): Use TFILE_DIR.
901 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
902 standard_output_file.
903
84741506
TT
9042013-11-04 Tom Tromey <tromey@redhat.com>
905
906 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
907 Use "dwarf2 always-disassemble" for the "maint set" test.
908 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
909 standard_output_file.
910 * gdb.mi/mi-logging.exp: Use standard_output_file.
911
cfb7b9a3
TT
9122013-11-04 Tom Tromey <tromey@redhat.com>
913
914 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
915 downloads conditional on remote host.
916 (set_arch): Likewise.
917 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
918 (load_description): Use standard_output_file.
919
bdfe0594
TT
9202013-11-04 Tom Tromey <tromey@redhat.com>
921
922 * gdb.gdb/selftest.exp: Use standard_output_file.
923 * lib/selftest-support.exp (do_self_tests): Use
924 standard_output_file.
925
8c639e73
TT
9262013-11-04 Tom Tromey <tromey@redhat.com>
927
928 * gdb.stabs/weird.exp: Use gdb_remote_download and
929 standard_output_file.
930
5030a410
TT
9312013-11-04 Tom Tromey <tromey@redhat.com>
932
933 * gdb.base/gcore-buffer-overflow.exp: Use
934 standard_output_file, not standard_testfile.
935 * gdb.base/twice.exp: Use standard_testfile, not
936 standard_output_file. Use gdb_remote_download.
937
95d7853e
TT
9382013-11-04 Tom Tromey <tromey@redhat.com>
939
940 * lib/gdb.exp (get_compiler_info): Use log_file -info and
941 restore from that.
942
eab88b54
MR
9432013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
944
945 * gdb.cp/derivation.exp: s/perrro/perror/
946
a1b0fbee
MR
9472013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
948
949 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
950 `debugdir'.
951
638aa5a1
AB
9522013-10-31 Andrew Burgess <aburgess@broadcom.com>
953
954 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
955 tests and update expected error message.
956 (test_watch_register_location): New tests.
957 (do_tests): Call test_watch_register_location.
958 * gdb.base/watchpoints.exp: Update expected error message.
959
055e608a
UW
9602013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
961
962 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
963 the patterns in gdb_test_multiple.
964
9ac69859
NB
9652013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
966
967 * gdb.base/sym-file-lib.c: New file.
968 * gdb.base/sym-file-loader.c: New file.
969 * gdb.base/sym-file-loader.h: New file.
970 * gdb.base/sym-file-main.c: New file.
971 * gdb.base/sym-file.exp: New file.
972 * lib/gdb.exp (is_elf_target): New function.
973
24ba476b
PA
9742013-10-29 Pedro Alves <palves@redhat.com>
975
976 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
977 variable setting change-log-default-name to ChangeLog-mi.
978
f69d9aef
AB
9792013-10-29 Andrew Burgess <aburgess@broadcom.com>
980
981 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
982 Expect <unavailable> pattern.
983
71193121
TV
9842013-10-28 Tom de Vries <tom@codesourcery.com>
985
986 * gdb.arch/thumb2-it.S (it_8): Fix typo.
987
38095c27
AK
9882013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
989
990 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
991 remote stubs where exit() behaviour is unreliable.
992
686d4def
PA
9932013-10-25 Pedro Alves <palves@redhat.com>
994
995 * gdb.cp/m-static.exp: Adjust expected output of printing a
996 nonexistent or optimized out static field. Also test printing the
997 the "container" object.
998
a35cfb40
MR
9992013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1000
1001 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
1002 if in the persistent mode.
1003 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
1004
bbe769cc
MR
10052013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1006
1007 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
1008 support core file generation" reply.
1009
95e4302a
JM
10102013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1011
1012 PR gdb/15986
1013 * gdb.base/run.c (main): gdb_get_line_number tag added for
1014 commands.exp.
1015 (factorial): Likewise.
1016
1017 * gdb.base/commands.exp (watchpoint_command_test): Use
1018 gdb_get_line_number in order to determine the locations in run.c
1019 where local_var is detected to go out of scope.
1020
4c406179
JM
10212013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1022
1023 * gdb.base/gnu_vector.exp: Care about endianness when casting
1024 scalars to vectors.
1025
bb6216d8
TT
10262013-10-18 Tom Tromey <tromey@redhat.com>
1027
1028 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
1029 of "binfile".
1030
e8369a73
AB
10312013-10-18 Andrew Burgess <aburgess@broadcom.com>
1032
1033 * gdb.base/watchpoints.exp: Add test for setting software
1034 watchpoints of different types before starting the inferior.
1035
776f04fa
PA
10362013-10-18 Pedro Alves <palves@redhat.com>
1037
1038 PR gdb/16062
1039 * gdb.threads/stepi-random-signal.c: New file.
1040 * gdb.threads/stepi-random-signal.exp: New file.
1041
e4b8388f
MR
10422013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
1043
1044 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1045 Fix comment typo.
1046 * lib/gdb.exp (gdb_init): Likewise.
1047
50b34a18
TT
10482013-10-17 Tom Tromey <tromey@redhat.com>
1049
1050 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
1051
3db258f5
TT
10522013-10-14 Tom Tromey <tromey@redhat.com>
1053
1054 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
1055 name to gdb_test_no_output.
1056
4856b6bc
JK
10572013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1058
1059 Canonicalize directories for EXEC_FILENAME.
1060 * gdb.base/argv0-symlink.exp
1061 (kept file symbolic link name for info inferiors): New.
1062 (kept directory symbolic link name): Setup kfail.
1063 (kept directory symbolic link name for info inferiors): New.
1064
9772d074
UW
10652013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
1066
1067 * gdb.arch/s390-multiarch.exp: New file.
1068 * gdb.arch/s390-multiarch.c: New file.
1069
2a3be966
JB
10702013-10-11 Joel Brobecker <brobecker@adacore.com>
1071
1072 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
1073 use the appropriate GDB/MI command instead, and verify
1074 the test output.
1075
7c647d61
JB
10762013-10-11 Joel Brobecker <brobecker@adacore.com>
1077
1078 * gdb.base/source-nofile.gdb: New file.
1079 * gdb.base/source.exp: Add two tests verifying the behavior when
1080 the "source" command is given a non-existant filename.
1081
bb66bd51
YQ
10822013-10-11 Yao Qi <yao@codesourcery.com>
1083
1084 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
1085 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
1086 and 'dlclose'.
1087 [!__WIN32__]: Include "dlfcn.h".
1088 * gdb.mi/mi-catch-load.exp: Set up kfail.
1089
4f424bb1
AK
10902013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1091
1092 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
1093 generated corefile" by argument "$test".
1094
578d3588
PA
10952013-10-09 Pedro Alves <palves@redhat.com>
1096
1097 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
1098 output.
1099
eb4ca471
PA
11002013-10-09 Pedro Alves <palves@redhat.com>
1101
1102 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
1103 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
1104 (test_catch_syscall_with_wrong_args)
1105 (test_catch_syscall_restarting_inferior)
1106 (test_catch_syscall_fail_nodatadir)
1107 (test_catch_syscall_without_args_noxml)
1108 (test_catch_syscall_with_args_noxml)
1109 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
1110
dc294be5
TT
11112013-10-08 Tom Tromey <tromey@redhat.com>
1112
1113 * gdb.dwarf2/dwzbuildid.exp: New file.
1114 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
1115 parameters.
1116 (Dwarf::_defer_output): Change "section" parameter to
1117 "section_spec"; update.
1118 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
1119 procs.
1120
c968bd18
JB
11212013-10-08 Joel Brobecker <brobecker@adacore.com>
1122
1123 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
1124
f44eeb11
TT
11252013-10-07 Tom Tromey <tromey@redhat.com>
1126
1127 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
1128 to 0.
1129
0c557179
SDJ
11302013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1131
1132 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
1133 $_exitcode is void when opening a corefile.
1134 * gdb.base/exitsignal.exp: New file.
1135 * gdb.base/segv.c: Likewise.
1136 * gdb.base/normal.c: Likewise.
1137
5713b9b5
JB
11382013-10-04 Joel Brobecker <brobecker@adacore.com>
1139
1140 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
1141
3f983d47
YZ
11422013-10-02 Vidya Praveen <vidyapraveen@arm.com>
1143
1144 * gdb.trace/entry-values.exp: Modify regular expression to scan for
1145 'bl' instruction instead of 'call' for ARM and AArch64 targets.
1146
901461f8
PA
11472013-10-02 Pedro Alves <palves@redhat.com>
1148
1149 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
1150 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
1151 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
1152 (not_saved_pattern): New.
1153 Replace use of the former with the latter.
1154
b477a5e6
PA
11552013-10-02 Pedro Alves <palves@redhat.com>
1156
1157 * README (Board Settings): Document "exit_is_reliable".
1158 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
1159 running to exit reliably reports program exits.
1160 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
1161 info.
1162 * boards/native-stdio-gdbserver.exp: Likewise.
1163
a49bed3a
DE
11642013-10-01 Doug Evans <dje@google.com>
1165
1166 * gdb.python/python.exp: Remove redundant print-stack tests.
1167 Make all print-stack test names unique. Fix spelling of print-stack.
1168
2ed2ad44
YQ
11692013-09-29 Yao Qi <yao@codesourcery.com>
1170
1171 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
1172 is remote.
1173
7d760051
UW
11742013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1175
1176 PR shlibs/8882
1177 * gdb.base/corefile.exp: Add a check to assure warning-free
1178 core-file load.
1179
82bf32bc
JK
11802013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1181
1182 * gdb.dwarf2/dwp-symlink.c: New file.
1183 * gdb.dwarf2/dwp-symlink.exp: New file.
1184
4fa7d390
DE
11852013-09-20 Doug Evans <dje@google.com>
1186
6b4646ce
DE
1187 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
1188 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
1189 file.
1190 * gdb.dwarf2/fission-loclists.S: Ditto.
1191 * gdb.dwarf2/fission-reread.S: Ditto.
1192 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
1193 build_executable_from_fission_assembler.
1194 * gdb.dwarf2/fission-loclists.exp: Ditto.
1195 * gdb.dwarf2/fission-reread.exp: Ditto.
1196
4fa7d390
DE
1197 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
1198 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
1199 (gdb_gnu_strip_debug): Ditto.
1200 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
1201 * gdb.arch/altivec-abi.exp: Ditto.
1202 * gdb.base/attach-pie-misread.exp: Ditto.
1203 * gdb.base/comprdebug.exp: Ditto.
1204 * gdb.base/dup-sect.exp: Ditto.
1205 * gdb.base/gnu-debugdata.exp: Ditto.
1206 * gdb.base/step-symless.exp: Ditto.
1207 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1208 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
1209 * gdb.dwarf2/gdb-index.exp: Ditto.
1210
e4c6a2c4
AB
12112013-09-18 Andrew Burgess <aburgess@broadcom.com>
1212
1213 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
1214 register to "<optimized out>", and also print the registers.
1215
a205fbfc
PA
12162013-09-18 Pedro Alves <palves@redhat.com>
1217
1218 PR server/15967
1219 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
1220 change text.
1221
ee47b2f8
YQ
12222013-09-18 Yao Qi <yao@codesourcery.com>
1223
1224 * gdb.server/wrapper.c: New.
1225 * gdb.server/wrapper.exp: New.
1226
49fa26b0
PA
12272013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
1228 Jan Kratochvil <jan.kartochvil@redhat.com>
1229 Pedro Alves <palves@redhat.com>
1230
1231 PR gdb/11568
1232 * gdb.thread/thread-specific-bp.c: New file.
1233 * gdb.thread/thread-specific-bp.exp: New file.
1234
e83b28bc
SDJ
12352013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
1236
1237 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
1238 convenience function.
1239
08d72866
PA
12402013-09-17 Pedro Alves <palves@redhat.com>
1241
1242 PR gdb/15911
1243 * gdb.threads/info-threads-cur-sal-2.c: New file.
1244 * gdb.threads/info-threads-cur-sal.c: New file.
1245 * gdb.threads/info-threads-cur-sal.exp: New file.
1246
57b0d98e
YQ
12472013-09-17 Yao Qi <yao@codesourcery.com>
1248
1249 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
1250 [__WIN32__]: Include "windows.h" and define macro dlopen
1251 and dlclose.
1252 [!__WIN32__]: Include "dlfcn.h".
1253 * gdb.base/catch-load.exp (one_catch_load_test): Match
1254 directory separator.
1255
0295a32e
DE
12562013-09-16 Doug Evans <dje@google.com>
1257
a587b477
DE
1258 * lib/gdb.exp (using_fission): New proc.
1259 * gdb.base/info-macros.exp: Skip test if using Fission.
1260
0295a32e
DE
1261 * gdb.base/break-interp.exp: Fix indentation.
1262
a280dbd1
SDJ
12632013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1264
1265 * gdb.base/gdbvars.c (foo_void): New function.
1266 (foo_int): Likewise.
1267 * gdb.base/gdbvars.exp (test_convenience_functions): New
1268 function. Call it.
1269
4ac33720
UW
12702013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1271
1272 * gdb.arch/s390-tdbregs.c: New file.
1273 * gdb.arch/s390-tdbregs.exp: New file.
1274
b866c52d
SS
12752013-09-12 Stan Shebs <stan@codesourcery.com>
1276
1277 * README: New file.
1278
dc59cba6
DE
12792013-09-12 Doug Evans <dje@google.com>
1280
1281 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
1282 added code to print event.inferior.
1283
edf9f00c
JK
12842013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1285
1286 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
1287 debug part of the binary.
1288
5423b017
JK
12892013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1290
1291 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
1292 (addlink): Add comment.
1293
9295cf6f
SA
12942013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
1295
1296 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
1297 canonical pathname.
1298
89e63ee4
DE
12992013-09-04 Doug Evans <dje@google.com>
1300
314bb8c3
DE
1301 * gdb.python/py-events.py (exit_handler): Verify we get the expected
1302 event.
1303 (continue_handler, new_objfile_handler): Ditto.
1304 (test_events): Rename command to "test-events".
1305 (test_newobj_events): Rename command to "test-objfile-events".
1306 * gdb.python/py-events.exp: Update.
1307 * gdb.python/py-evsignal.exp: Update.
1308 * gdb.python/py-evthreads.exp: Update.
1309
89e63ee4
DE
1310 * gdb.base/enumval.c (ZERO): New enum value.
1311 (main): Use it
1312 * gdb.base/enumval.exp: Test ability to print ZERO.
1313
13142013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
41dc8db8
MB
1315 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/relocate.exp: Check that invalid options are
1318 rejected.
1319
26c2b53c
AB
13202013-08-30 Andrew Burgess <aburgess@broadcom.com>
1321
1322 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
1323 (my_static_symbol): Add comment.
1324 (main): Reference my_bss_symbol.
1325
96d9056e
PM
13262013-08-30 Phil Muldoon <pmuldoon@redhat.com>
1327
1328 * gdb.python/py-arch.exp: Tests for invalid architecture.
1329
489d4f4d
SA
13302013-08-29 Sterling Augustine <saugustine@google.com>
1331
1332 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
1333 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
1334 said conditional.
1335
5b791bb5
PM
13362013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1337
1338 * gdb.python/py-arch.exp: Load gdb-python.exp.
1339
8f28f522
PM
13402013-08-29 Phil Muldoon <pmuldoon@redhat.com>
1341
1342 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
1343 itertools for imap attribute. Otherwise use map().
1344 (ElidingIterator): Define wrapper function __next__.
1345 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
1346 use exec (open (read ())) instead.
1347 * gdb.python/py-framefilter.exp: Ditto.
1348 * gdb.python/py-arch.exp: Update print based test to Python 3.x
1349 compliance.
1350 * gdb.python/py-frame.exp: Ditto.
1351 * gdb.python/py-type.exp: Ditto.
1352
1f0c4988
JK
13532013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1354
1355 PR gdb/15415
1356 * gdb.base/argv0-symlink.c: New file.
1357 * gdb.base/argv0-symlink.exp: New file.
1358
7893c162
TT
13592013-08-28 Tom Tromey <tromey@redhat.com>
1360
1361 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
1362 when saving index.
1363
6211c335
YQ
13642013-08-27 Yao Qi <yao@codesourcery.com>
1365
1366 * gdb.trace/entry-values.exp: Test unavailable entry value is
1367 not shown when option '--skip-unavailable' is specified.
1368 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
1369 Add tests for new option '--skip-unavailable'.
1370
ce4ea2bb
YQ
13712013-08-27 Yao Qi <yao@codesourcery.com>
1372
1373 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
1374 remote_download if it is empty.
1375
6e45f158
DE
13762013-08-26 Doug Evans <dje@google.com>
1377
779bd270
DE
1378 PR symtab/15885
1379 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
1380 (clean): rm -f *.gdb-index *.with-index.
1381 * gdb.dwarf2/gdb-index.exp: New testcase.
1382
6e45f158
DE
1383 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
1384 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
1385 run_on_host. All callers updated.
1386
b1224238
YQ
13872013-08-24 Yao Qi <yao@codesourcery.com>
1388
1389 * gdb.trace/entry-values.c (end): New
1390 (main): Call end.
1391 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
1392 tracepoint and collect data. Test entry value is unavailable.
1393
b39a8faf
YQ
13942013-08-24 Yao Qi <yao@codesourcery.com>
1395
1396 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
1397 * gdb.trace/entry-values.c: New.
1398 * gdb.trace/entry-values.exp: New.
1399
9eaabc75
MW
14002013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
1401
1402 PR gdb/15501
1403 * gdb.base/ena-dis-br.exp: Add test to verify
1404 enable/disable commands work correctly with
1405 multiple arguments that include multiple locations.
1406
9f948660
SDJ
14072013-08-22 Samuel Bronson <naesten@gmail.com>
1408
1409 ARM Linux support for `catch syscall'.
1410 * gdb.base/catch-syscall.exp: Test this on ARM now.
1411 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
1412
e630b974
TT
14132013-08-22 Tom Tromey <tromey@redhat.com>
1414
1415 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
1416 default addr_size.
1417 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
1418
f3a76454
TT
14192013-08-22 Tom Tromey <tromey@redhat.com>
1420
1421 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
1422 standard_temp_file.
1423
de5f37e1
TT
14242013-08-22 Tom Tromey <tromey@redhat.com>
1425
1426 * gdb.arch/amd64-byte.exp: Use standard_testfile,
1427 clean_restart.
1428 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
1429 * gdb.arch/amd64-dword.exp: Use standard_testfile,
1430 clean_restart.
1431 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
1432 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
1433 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
1434 * gdb.arch/amd64-word.exp: Use standard_testfile,
1435 clean_restart.
1436 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
1437 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
1438 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
1439 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
1440 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
1441 * gdb.arch/i386-signal.exp: Use standard_testfile.
1442 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
1443 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
1444 * gdb.arch/i386-unwind.exp: Use standard_testfile.
1445 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
1446
8448e842
TT
14472013-08-22 Tom Tromey <tromey@redhat.com>
1448
1449 * gdb.python/py-error.exp: Use gdb_remote_download.
1450 * gdb.python/py-mi.exp: Use gdb_remote_download.
1451 * gdb.python/py-objfile-script.exp: Use standard_output_file.
1452 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
1453 (run_lang_tests): Likewise.
1454 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
1455 filename.
1456 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
1457 compiling. Use gdb_remote_download. Update some tests.
1458 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1459 standard_output_file.
1460 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
1461 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
1462 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
1463 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
1464 standard_output_file.
1465
16cfcbc2
TT
14662013-08-22 Tom Tromey <tromey@redhat.com>
1467
1468 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
1469
44ee8174
TT
14702013-08-22 Tom Tromey <tromey@redhat.com>
1471
1472 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
1473 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
1474 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
1475 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
1476 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
1477 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
1478 * lib/gdb.exp (gdb_remote_download): New proc.
1479
7a218f88
TT
14802013-08-22 Tom Tromey <tromey@redhat.com>
1481
1482 * gdb.dwarf2/clztest.exp: Use standard_testfile.
1483 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
1484 * gdb.dwarf2/fission-base.S: Remove directory from
1485 DW_AT_GNU_dwo_name.
1486 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
1487 debug-file-directory.
1488 * gdb.dwarf2/fission-reread.S: Remove directory from
1489 DW_AT_GNU_dwo_name.
1490 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
1491 debug-file-directory.
1492
70cc1c23
DE
14932013-08-16 Doug Evans <dje@google.com>
1494
1495 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
1496 prelink complains about an unhandled DWARF version.
1497
61884d20
DE
14982013-08-14 Cary Coutant <ccoutant@google.com>
1499
1500 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
1501
5e92f71a
TT
15022013-08-13 Tom Tromey <tromey@redhat.com>
1503 Yao Qi <yao@codesourcery.com>
1504
1505 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
1506 * lib/gdb.exp: Handle GDB_PARALLEL.
1507 (default_gdb_version): Kill inotify_pid if it exists.
1508 (default_gdb_exit): Emit warning if the inotify log is not
1509 empty.
1510 (standard_output_file): Respect GDB_PARALLEL.
1511 (standard_temp_file): Likewise.
1512 (gdb_init): Start inotifywait if requested.
1513
5c30d39a
AB
15142013-08-13 Andrew Burgess <aburgess@broadcom.com>
1515
1516 * gdb.base/printcmds.exp (test_printf): Add test for printf of
1517 pointer with various flags.
1518
17e1c970
TT
15192013-08-13 Tom Tromey <tromey@redhat.com>
1520
1521 * lib/cache.exp: New file.
1522 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
1523 * lib/gdb.exp: Load cache.exp.
1524 (support_complex_tests, is_ilp32_target, is_lp64_target)
1525 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
1526 (gdb_skip_xml_test): Use gdb_caching_proc.
1527 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
1528
4e234898
TT
15292013-08-13 Tom Tromey <tromey@redhat.com>
1530
1531 * lib/gdb.exp (standard_temp_file): New proc.
1532 (support_complex_tests, is_ilp32_target, is_lp64_target)
1533 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
1534 standard_temp_file.
1535
53e981d9
TT
15362013-08-13 Tom Tromey <tromey@redhat.com>
1537
1538 * lib/gdb.exp (build_id_debug_filename_get): Use
1539 standard_output_file.
1540 * lib/prelink-support.exp (section_get)
1541 (build_executable_own_libs): Use standard_output_file.
1542
3f539315
TT
15432013-08-12 Tom Tromey <tromey@redhat.com>
1544
1545 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
1546
b4013987
AA
15472013-08-12 Ali Anwar <alianwar@codesourcery.com>
1548
1549 * gdb.base/break.exp: Test break via convenience variable
1550 with file name.
1551
f61d5529
DE
15522013-08-09 Doug Evans <dje@google.com>
1553
1554 * lib/future.exp (gdb_find_ldd): New proc.
1555 * lib/prelink-support.exp (build_executable_own_libs): Call it.
1556 Make "/usr/sbin/" in prelink path optional.
1557
1ed8d800
YQ
15582013-08-09 Yao Qi <yao@codesourcery.com>
1559
1560 * gdb.trace/collection.exp (gdb_collect_args_test): Set
1561 "only" and "both" to 'print entry-values' before selecting
1562 trace frame.
1563
82a0a75f
YQ
15642013-08-08 Yao Qi <yao@codesourcery.com>
1565
1566 * gdb.trace/mi-trace-unavailable.exp: Don't set
1567 "print entry-values" to "no".
1568 (test_trace_unavailable): Set various values to
1569 "print entry-values" to test that the output of
1570 '-stack-list-locals' is not affected, and then set
1571 set "print entry-values" to "no".
1572
ac52f9a2
DE
15732013-08-07 Doug Evans <dje@google.com>
1574
1575 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
1576 * gdb.python/py-value-cc.exp: Update.
1577 * gdb.python/py-value.exp: Use different names for .o files for
1578 C and C++. Only perform C++ tests if !skip_cplus_tests.
1579
bf6d8a91
TT
15802013-08-07 Tom Tromey <tromey@redhat.com>
1581
1582 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
1583
f9125b6c
TT
15842013-08-07 Tom Tromey <tromey@redhat.com>
1585
1586 * gdb.dwarf2/dwz.exp: New file.
1587
3a1115a0
TT
15882013-08-02 Tom Tromey <tromey@redhat.com>
1589
1590 * gdb.base/watchpoint.c (struct foo5): New.
1591 (nullptr): New global.
1592 * gdb.base/watchpoint.exp (test_watch_location): Add test.
1593
b846d303
DE
15942013-08-01 Doug Evans <dje@google.com>
1595
7ee85ab1
DE
1596 PR symtab/15691
1597 * gdb.dwarf2/fission-mix.exp: New file.
1598 * gdb.dwarf2/fission-mix.h: New file.
1599 * gdb.dwarf2/fission-mix.c: New file.
1600 * gdb.dwarf2/fission-mix2.c: New file.
1601
b846d303
DE
1602 PR symtab/15695
1603 * gdb.base/func-ptr.exp: New file.
1604 * gdb.base/func-ptr.c: New file.
1605
67d21849
YQ
16062013-08-01 Yao Qi <yao@codesourcery.com>
1607
1608 * gdb.python/py-sync-interp.c: New.
1609 * gdb.python/py-sync-interp.exp: New.
1610
de74e63a
YQ
16112013-07-31 Yao Qi <yao@codesourcery.com>
1612
1613 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
1614 'tdump' on stack frame 0 and 1 respectively.
1615
680558e8
YQ
16162013-07-31 Yao Qi <yao@codesourcery.com>
1617
1618 PR gdb/13443
1619 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
1620 'traceframe'. Wrap test with with_test_prefix.
1621 (top level): Update.
1622
48bbe0bf
YQ
16232013-07-31 Yao Qi <yao@codesourcery.com>
1624
1625 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
1626 'gdb_start'.
1627 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
1628 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
1629
11b4b7cc
AB
16302013-07-30 Andrew Burgess <aburgess@broadcom.com>
1631
1632 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
1633 when printing an optimized out value. Expect an error when using
1634 an optimized out value in an expression.
1635
b0c54aa5
AB
16362013-07-30 Andrew Burgess <aburgess@broadcom.com>
1637
1638 * gdb.dwarf2/pieces-optimized-out.exp: New file.
1639 * gdb.dwarf2/pieces-optimized-out.c: New file.
1640 * gdb.dwarf2/pieces-optimized-out.S: New file.
1641
97c85fc6
MB
16422013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
1643
1644 PR gdb/15715
1645 * gdb.base/setshow.exp: Test that relative paths passed to
1646 'set history filename' are converted to absolute paths.
1647
5b32ae97
KS
16482013-07-26 Keith Seitz <keiths@redhat.com>
1649
1650 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
1651 of f77.
1652 Allow for compiler variations of integer types.
1653 Use mi_create_varobj.
1654 Use mi_list_varobj_children for the immediate children of `array'.
1655 Add "has_more" attribute for grandchildren test.
1656
6f64ef53
PA
16572013-07-26 Pedro Alves <palves@redhat.com>
1658
1659 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
1660 files.
1661
fdc8aae8
AB
16622013-07-25 Andrew Burgess <aburgess@broadcom.com>
1663
1664 * gdb.mi/mi-reg-undefined.exp: New file.
1665 * gdb.mi/mi-reg-undefined.c: Likewise.
1666 * gdb.mi/mi-reg-undefined.S: Likewise.
1667
6fbe845e
AB
16682013-07-25 Andrew Burgess <aburgess@broadcom.com>
1669
1670 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
1671 z, o, and t output formats.
1672 * gdb.base/display.exp: Use 'k' as an undefined format now that
1673 'z' is defined.
1674
7b79b135
DE
16752013-07-24 Doug Evans <dje@google.com>
1676
1677 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
1678 "--" to switch.
1679
a0607b84
YQ
16802013-07-24 Yao Qi <yao@codesourcery.com>
1681
1682 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
1683 host.
1684 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
1685 Likewise. If host is remote, copy ${binfile} to host.
1686
2eb14a9b
YQ
16872013-07-23 Yao Qi <yao@codesourcery.com>
1688
1689 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
1690 message.
1691
5d0a3b53
WN
16922013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1693
1694 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
1695 instructions and enable disp-step-syscall for arm targets.
1696
9a5911c0
WN
16972013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
1698
1699 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
1700 assembler errors on arm.
1701 * gdb.dwarf2/mac-fileno.S: Likewise.
1702 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
1703 * gdb.dwarf2/pr13961.S: Likewise.
1704
fa876972
HZ
17052013-07-19 Hui Zhu <hui@codesourcery.com>
1706
1707 PR gdb/15692
1708 * gdb.mi/mi-dprintf.exp: Add double quotes test.
1709
1527aea8
YQ
17102013-07-19 Yao Qi <yao@codesourcery.com>
1711
1712 * gdb.trace/read-memory.exp (test_from_remote): Update test.
1713 (teset_from_exec): Likewise.
1714
73c1d57e
YQ
17152013-07-19 Yao Qi <yao@codesourcery.com>
1716
1717 * gdb.trace/read-memory.c: New.
1718 * gdb.trace/read-memory.exp: New.
1719
a075c3e5
YQ
17202013-07-19 Yao Qi <yao@codesourcery.com>
1721
1722 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
1723 $dest to link options if host is remote. Move the
1724 generated file to $dest.a on host if host is remote.
1725
623cc285
WN
17262013-07-18 Will Newton <will.newton@linaro.org>
1727
1728 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
1729 to ensure the test is linked against pthreads.
1730 * gdb.threads/tls-var-main.c: Likewise.
1731 * gdb.threads/tls-shared.c: Likewise.
1732
1f74d3b5
YQ
17332013-07-18 Yao Qi <yao@codesourcery.com>
1734
1735 * lib/future.exp (gdb_default_target_compile): Use tail name
1736 of $destfile as the output name of compile. Move the
1737 generated file to $destfile on build.
1738
f6dc277e
YQ
17392013-07-18 Yao Qi <yao@codesourcery.com>
1740
1741 * lib/gdb.exp (gdb_compile): Set
1742 gdb_saved_set_unbuffered_mode_obj to
1743 set_unbuffered_mode_saved.o if host is remote. Invoke
1744 remote_download to copy $unbuf_obj to host.
1745
e7045703
DE
17462013-07-17 Doug Evans <dje@google.com>
1747
1748 * gdb.python/py-frame-args.c: New file.
1749 * gdb.python/py-frame-args.py: New file.
1750 * gdb.python/py-frame-args.exp New file.
1751
5ea5559b
AB
17522013-07-16 Andrew Burgess <aburgess@broadcom.com>
1753
1754 * gdb.base/printcmds.exp (test_printf): Add tests for format
1755 strings with missing format specifier.
1756
4229ca0e
TT
17572013-07-16 Tom Tromey <tromey@redhat.com>
1758
1759 * gdb.ada/info_types.exp: Use standard_testfile.
1760
5ee657d5
TT
17612013-07-16 Tom Tromey <tromey@redhat.com>
1762
1763 * gdb.mi/mi-basics.exp: Use standard_output_file.
1764 (test_dir_specification, test_cwd_specification)
1765 (test_path_specification): Use testsubdir, not subdir and objdir.
1766
20e3d738
TT
17672013-07-16 Tom Tromey <tromey@redhat.com>
1768
1769 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
1770
7d7c6477
JB
17712013-07-09 Joel Brobecker <brobecker@adacore.com>
1772
1773 * gdb.ada/small_reg_param.exp: Accept optional entry value
1774 for parameter "w".
1775
52cd8b7d
JB
17762013-07-09 Joel Brobecker <brobecker@adacore.com>
1777
1778 * gdb.ada/small_reg_param.exp: Remove trailing space.
1779
2a998fc0
DE
17802013-07-09 Doug Evans <dje@google.com>
1781
1782 * gdb.base/default.exp: Update expected output of "show print array"
1783 and "show print pretty".
1784
0329e9fb
UW
17852013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
1786
1787 * gdb.threads/wp-replication.exp: Stop counting available hardware
1788 watchpoints after NR_THREADS iterations.
1789
1953058f
AB
17902013-07-08 Andrew Burgess <aburgess@broadcom.com>
1791
1792 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
1793
7c0de741
YQ
17942013-07-07 Yao Qi <yao@codesourcery.com>
1795
1796 * boards/native-gdbserver.exp: Move invoke of
1797 process_multilib_options to gdbserver-base.exp.
1798 Move set_board_info 'compiler', 'gdb,noinferiorio',
1799 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
1800 gdbserver-base.exp.
1801 Move proc ${board}_download, ${board}_upload and
1802 ${board}_file to gdbserver-base.exp.
1803 * boards/native-extended-gdbserver.exp: Likewise.
1804 * boards/native-stdio-gdbserver.exp: Likewise.
1805 * boards/gdbserver-base.exp: New file.
1806
497a4c48
LM
18072013-07-05 Luis Machado <lgustavo@codesourcery.com>
1808
1809 * gdb.base/dump.exp: Remove arch-specific tests and do a
1810 generic data address check to set is64bitonly correctly.
1811
bb3f62fc
LM
18122013-07-05 Luis Machado <lgustavo@codesourcery.com>
1813
1814 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
1815 the register number instead of expecting only 0.
1816
005faa9d
WN
18172013-07-05 Will Newton <will.newton@linaro.org>
1818
1819 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
1820 in asm syntax to allow building on ARM.
1821
4767856f
YQ
18222013-07-05 Yao Qi <yao@codesourcery.com>
1823
1824 * boards/local-remote-host.exp: Remove obsolete comments.
1825 * boards/native-extended-gdbserver.exp: Likewise.
1826 * boards/native-gdbserver.exp: Likewise.
1827 * boards/native-stdio-gdbserver.exp: Likewise.
1828
691a26f5
AB
18292013-07-04 Andrew Burgess <aburgess@broadcom.com>
1830
1831 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
1832 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
1833 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
1834
4d142eaa
JK
18352013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1836
1837 * gdb.base/break-on-linker-gcd-function.exp: Replace
1838 prepare_for_testing by build_executable_from_specs and clean_restart.
1839
62cef515
TT
18402013-06-27 Tom Tromey <tromey@redhat.com>
1841
1842 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
1843 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
1844 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
1845 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
1846 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
1847 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
1848 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
1849 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
1850 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
1851 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
1852 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
1853 Use standard_testfile, standard_output_file, prepare_for_testing,
1854 clean_restart.
1855
0ab77f5f
TT
18562013-06-27 Tom Tromey <tromey@redhat.com>
1857
1858 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
1859 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
1860 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
1861 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1862 gdb.base/shreloc.exp, gdb.base/sigall.exp,
1863 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
1864 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
1865 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
1866 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
1867 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
1868 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
1869 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
1870 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
1871 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
1872 gdb.base/solib-weak.exp, gdb.base/source.exp,
1873 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
1874 gdb.base/stap-probe.exp, gdb.base/start.exp,
1875 gdb.base/step-break.exp, gdb.base/step-bt.exp,
1876 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
1877 gdb.base/step-test.exp, gdb.base/structs.exp,
1878 gdb.base/structs2.exp, gdb.base/structs3.exp,
1879 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
1880 standard_output_file, prepare_for_testing, clean_restart.
1881
822bd149
TT
18822013-06-27 Tom Tromey <tromey@redhat.com>
1883
1884 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
1885 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
1886 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
1887 gdb.base/pending.exp, gdb.base/permissions.exp,
1888 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
1889 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
1890 gdb.base/printcmds.exp, gdb.base/prologue.exp,
1891 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
1892 gdb.base/ptype.exp, gdb.base/randomize.exp,
1893 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
1894 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
1895 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
1896 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
1897 standard_testfile, standard_output_file, prepare_for_testing,
1898 clean_restart.
1899
f8b41b00
TT
19002013-06-27 Tom Tromey <tromey@redhat.com>
1901
a8c97a87
TT
1902 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
1903 gdb.base/huge.exp, gdb.base/included.exp,
1904 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
1905 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
1906 gdb.base/info-os.exp, gdb.base/info-proc.exp,
1907 gdb.base/info-target.exp, gdb.base/infoline.exp,
1908 gdb.base/interp.exp, gdb.base/interrupt.exp,
1909 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
1910 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
1911 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
1912 gdb.base/logical.exp, gdb.base/long_long.exp,
1913 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
1914 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
1915 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
1916 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
1917 standard_testfile, standard_output_file, prepare_for_testing,
1918 clean_restart.
1919
289f9037
TT
19202013-06-27 Tom Tromey <tromey@redhat.com>
1921
a8c97a87
TT
1922 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
1923 gdb.base/enumval.exp, gdb.base/environ.exp,
1924 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
1925 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
1926 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
1927 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
1928 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
1929 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
1930 gdb.base/fullname.exp, gdb.base/funcargs.exp,
1931 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
1932 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
1933 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
1934 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
1935 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
1936 gdb.base/gnu_vector.exp: Use standard_testfile,
1937 standard_output_file, prepare_for_testing, clean_restart.
289f9037 1938
f76495c8
TT
19392013-06-27 Tom Tromey <tromey@redhat.com>
1940
a8c97a87
TT
1941 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
1942 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
1943 gdb.base/call-strs.exp, gdb.base/callexit.exp,
1944 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
1945 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
1946 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
1947 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
1948 gdb.base/commands.exp, gdb.base/completion.exp,
1949 gdb.base/complex.exp, gdb.base/cond-expr.exp,
1950 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
1951 gdb.base/constvars.exp, gdb.base/corefile.exp,
1952 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
1953 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1954 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
1955 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
1956 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
1957 standard_output_file, prepare_for_testing, clean_restart.
1958
a64d2530
TT
19592013-06-27 Tom Tromey <tromey@redhat.com>
1960
a8c97a87
TT
1961 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
1962 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
1963 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
1964 gdb.base/async-shell.exp, gdb.base/async.exp,
1965 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
1966 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
1967 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
1968 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
1969 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
1970 gdb.base/break-on-linker-gcd-function.exp,
1971 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
1972 standard_output_file, prepare_for_testing, clean_restart.
1973
aaff8d73
YQ
19742013-06-26 Yao Qi <yao@codesourcery.com>
1975
1976 * gdb.trace/mi-trace-frame-collected.exp: New.
1977
a0743c90
YQ
19782013-06-25 Yao Qi <yao@codesourcery.com>
1979
1980 * boards/native-extended-gdbserver.exp: Set board_info
1981 'gdb,predefined_tsv'.
1982 * boards/native-gdbserver.exp: Likewise.
1983 * boards/native-stdio-gdbserver.exp: Likewise.
1984 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
1985 uploaded TSVs if target supports tracing.
1986 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
1987 tracing and target has predefined tsv.
1988
9d6e6e84
HZ
19892013-06-25 Yao Qi <yao@codesourcery.com>
1990 Hui Zhu <hui@codesourcery.com>
1991 Pedro Alves <palves@redhat.com>
1992
1993 PR breakpoints/15075
1994 PR breakpoints/15434
1995 * gdb.base/dprintf-next.c: New file.
1996 * gdb.base/dprintf-next.exp: New file.
1997 * gdb.base/dprintf-non-stop.c: New file.
1998 * gdb.base/dprintf-non-stop.exp: New file.
1999 * gdb.base/dprintf.exp: Don't check "continue" in the output
2000 of "info breakpoints".
2001 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2002 Don't check "continue" in script field.
2003
e7ab3185
TT
20042013-06-21 Tom Tromey <tromey@redhat.com>
2005
2006 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
2007 name in a test name.
2008
c898adb7
YQ
20092013-06-20 Yao Qi <yao@codesourcery.com>
2010
2011 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
2012 and set an action.
2013 (test_trace_unavailable): Test command -data-list-register-values
2014 in the context of traceframe and with option --skip-unavailable.
2015 * gdb.trace/trace-unavailable.c (foo): New.
2016 (main): Call it.
2017 * gdb.mi/gdb2549.exp: Update matching pattern.
2018
4d157a3d
MF
20192013-06-19 Mike Frysinger <vapier@gentoo.org>
2020
2021 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
2022 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
2023 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
2024 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
2025 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
2026
d69cace4
LM
20272013-06-19 Luis Machado <lgustavo@codesourcery.com>
2028
2029 * gdb.base/subst.exp: Delete default rules before further
2030 tests.
2031
9bdd0636
YQ
20322013-06-19 Yao Qi <yao@codesourcery.com>
2033
2034 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
2035 unsupported if it is not registered.
2036
427cd150
TT
20372013-06-18 Tom Tromey <tromey@redhat.com>
2038
2039 * gdb.base/random-signal.c: New file.
2040 * gdb.base/random-signal.exp: New file.
2041
6de7c271
WN
20422013-06-18 Will Newton <will.newton@linaro.org>
2043
2044 * gdb.base/skip.c: Use comma to evaluate results of foo()
2045 and bar() before passing to baz().
2046 * gdb.base/skip.c: baz() now takes one argument instead of
2047 two.
2048
5bd1ef56
TT
20492013-06-18 Tom Tromey <tromey@redhat.com>
2050
2051 * gdb.dwarf2/implptrpiece.exp: New file.
2052 * gdb.dwarf2/implptrconst.exp (d): New variable.
2053 Print d.
2054 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
2055
e379b391
TT
20562013-06-18 Tom Tromey <tromey@redhat.com>
2057
2058 * lib/selftest-support.exp (do_self_tests): Reject remote or
2059 non-native targets.
2060 * gdb.gdb/complaints.exp: Remove check.
2061 * gdb.gdb/observer.exp: Remove check.
2062 * gdb.gdb/xfullpath.exp: Remove check.
2063 * gdb.gdb/complaints.exp: Remove check.
2064
4ec70201
PA
20652013-06-07 Pedro Alves <palves@redhat.com>
2066
2067 * boards/native-extended-gdbserver.exp: Remove semicolon.
2068 * config/arm-ice.exp: Likewise.
2069 * config/bfin.exp: Likewise.
2070 * config/cygmon.exp: Likewise.
2071 * config/h8300.exp: Likewise.
2072 * config/monitor.exp: Likewise.
2073 * config/sid.exp: Likewise.
2074 * config/sim.exp: Likewise.
2075 * config/slite.exp: Likewise.
2076 * config/vx.exp: Likewise.
2077 * gdb.arch/i386-bp_permanent.exp: Likewise.
2078 * gdb.asm/asm-source.exp: Likewise.
2079 * gdb.base/args.exp: Likewise.
2080 * gdb.base/attach-pie-misread.exp: Likewise.
2081 * gdb.base/auxv.exp: Likewise.
2082 * gdb.base/bigcore.exp: Likewise.
2083 * gdb.base/bitfields2.exp: Likewise.
2084 * gdb.base/bitfields.exp: Likewise.
2085 * gdb.base/break.exp: Likewise.
2086 * gdb.base/break-interp.exp: Likewise.
2087 * gdb.base/callfuncs.exp: Likewise.
2088 * gdb.base/call-sc.exp: Likewise.
2089 * gdb.base/commands.exp: Likewise.
2090 * gdb.base/corefile.exp: Likewise.
2091 * gdb.base/dbx.exp: Likewise.
2092 * gdb.base/ending-run.exp: Likewise.
2093 * gdb.base/exprs.exp: Likewise.
2094 * gdb.base/funcargs.exp: Likewise.
2095 * gdb.base/hbreak2.exp: Likewise.
2096 * gdb.base/huge.exp: Likewise.
2097 * gdb.base/list.exp: Likewise.
2098 * gdb.base/memattr.exp: Likewise.
2099 * gdb.base/overlays.exp: Likewise.
2100 * gdb.base/printcmds.exp: Likewise.
2101 * gdb.base/recurse.exp: Likewise.
2102 * gdb.base/remotetimeout.exp: Likewise.
2103 * gdb.base/reread.exp: Likewise.
2104 * gdb.base/savedregs.exp: Likewise.
2105 * gdb.base/scope.exp: Likewise.
2106 * gdb.base/sepdebug.exp: Likewise.
2107 * gdb.base/setshow.exp: Likewise.
2108 * gdb.base/setvar.exp: Likewise.
2109 * gdb.base/sigaltstack.exp: Likewise.
2110 * gdb.base/siginfo-addr.exp: Likewise.
2111 * gdb.base/siginfo.exp: Likewise.
2112 * gdb.base/siginfo-obj.exp: Likewise.
2113 * gdb.base/sigrepeat.exp: Likewise.
2114 * gdb.base/sigstep.exp: Likewise.
2115 * gdb.base/structs.exp: Likewise.
2116 * gdb.base/testenv.exp: Likewise.
2117 * gdb.base/twice.exp: Likewise.
2118 * gdb.base/valgrind-db-attach.exp: Likewise.
2119 * gdb.base/valgrind-infcall.exp: Likewise.
2120 * gdb.base/varargs.exp: Likewise.
2121 * gdb.base/watchpoint.exp: Likewise.
2122 * gdb.cp/gdb1355.exp: Likewise.
2123 * gdb.cp/misc.exp: Likewise.
2124 * gdb.disasm/hppa.exp: Likewise.
2125 * gdb.disasm/t01_mov.exp: Likewise.
2126 * gdb.disasm/t02_mova.exp: Likewise.
2127 * gdb.disasm/t03_add.exp: Likewise.
2128 * gdb.disasm/t04_sub.exp: Likewise.
2129 * gdb.disasm/t05_cmp.exp: Likewise.
2130 * gdb.disasm/t06_ari2.exp: Likewise.
2131 * gdb.disasm/t07_ari3.exp: Likewise.
2132 * gdb.disasm/t08_or.exp: Likewise.
2133 * gdb.disasm/t09_xor.exp: Likewise.
2134 * gdb.disasm/t10_and.exp: Likewise.
2135 * gdb.disasm/t11_logs.exp: Likewise.
2136 * gdb.disasm/t12_bit.exp: Likewise.
2137 * gdb.disasm/t13_otr.exp: Likewise.
2138 * gdb.gdb/selftest.exp: Likewise.
2139 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2140 * gdb.mi/mi-reverse.exp: Likewise.
2141 * gdb.pascal/floats.exp: Likewise.
2142 * gdb.python/py-inferior.exp: Likewise.
2143 * gdb.threads/attach-into-signal.exp: Likewise.
2144 * gdb.threads/pthreads.exp: Likewise.
2145 * gdb.threads/thread_events.exp: Likewise.
2146 * gdb.threads/watchthreads.exp: Likewise.
2147 * gdb.trace/actions-changed.exp: Likewise.
2148 * gdb.trace/actions.exp: Likewise.
2149 * gdb.trace/ax.exp: Likewise.
2150 * gdb.trace/backtrace.exp: Likewise.
2151 * gdb.trace/change-loc.exp: Likewise.
2152 * gdb.trace/deltrace.exp: Likewise.
2153 * gdb.trace/disconnected-tracing.exp: Likewise.
2154 * gdb.trace/ftrace.exp: Likewise.
2155 * gdb.trace/infotrace.exp: Likewise.
2156 * gdb.trace/passc-dyn.exp: Likewise.
2157 * gdb.trace/passcount.exp: Likewise.
2158 * gdb.trace/pending.exp: Likewise.
2159 * gdb.trace/qtro.exp: Likewise.
2160 * gdb.trace/range-stepping.exp: Likewise.
2161 * gdb.trace/report.exp: Likewise.
2162 * gdb.trace/save-trace.exp: Likewise.
2163 * gdb.trace/status-stop.exp: Likewise.
2164 * gdb.trace/strace.exp: Likewise.
2165 * gdb.trace/tfile.exp: Likewise.
2166 * gdb.trace/tfind.exp: Likewise.
2167 * gdb.trace/trace-break.exp: Likewise.
2168 * gdb.trace/tracecmd.exp: Likewise.
2169 * gdb.trace/trace-mt.exp: Likewise.
2170 * gdb.trace/tspeed.exp: Likewise.
2171 * gdb.trace/tsv.exp: Likewise.
2172 * gdb.trace/while-stepping.exp: Likewise.
2173 * lib/gdb.exp: Likewise.
2174 * lib/gdbserver-support.exp: Likewise.
2175 * lib/java.exp: Likewise.
2176 * lib/mi-support.exp: Likewise.
2177 * lib/pascal.exp: Likewise.
2178 * lib/prompt.exp: Likewise.
2179 * lib/trace-support.exp: Likewise.
2180
47d48711
PA
21812013-06-07 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.ada/info_types.c: Fix formating in copyright header.
2184 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
2185 * gdb.base/float.c: Likewise.
2186 * gdb.base/inferior-died.c: Likewise.
2187 * gdb.base/interp.c: Likewise.
2188 * gdb.base/jit-main.c: Likewise.
2189 * gdb.base/jit-solib.c: Likewise.
2190 * gdb.base/long_long.c: Likewise.
2191 * gdb.base/longjmp.c: Likewise.
2192 * gdb.base/nextoverexit.c: Likewise.
2193 * gdb.base/pr11022.c: Likewise.
2194 * gdb.base/prelink-lib.c: Likewise.
2195 * gdb.base/prelink.c: Likewise.
2196 * gdb.base/prologue.c: Likewise.
2197 * gdb.base/restore.c: Likewise.
2198 * gdb.base/sigchld.c: Likewise.
2199 * gdb.base/solib-search-lib1.c: Likewise.
2200 * gdb.base/solib-search-lib2.c: Likewise.
2201 * gdb.base/solib-search.c: Likewise.
2202 * gdb.base/solib-search.h: Likewise.
2203 * gdb.base/whatis.c: Likewise.
2204 * gdb.cp/abstract-origin.cc: Likewise.
2205 * gdb.cp/anon-struct.cc: Likewise.
2206 * gdb.cp/baseenum.cc: Likewise.
2207 * gdb.cp/bs15503.cc: Likewise.
2208 * gdb.cp/call-c-1.c: Likewise.
2209 * gdb.cp/call-c.cc: Likewise.
2210 * gdb.cp/class2.cc: Likewise.
2211 * gdb.cp/classes.cc: Likewise.
2212 * gdb.cp/cttiadd.cc: Likewise.
2213 * gdb.cp/cttiadd1.cc: Likewise.
2214 * gdb.cp/cttiadd2.cc: Likewise.
2215 * gdb.cp/cttiadd3.cc: Likewise.
2216 * gdb.cp/derivation.cc: Likewise.
2217 * gdb.cp/derivation2.cc: Likewise.
2218 * gdb.cp/dispcxx.cc: Likewise.
2219 * gdb.cp/exception.cc: Likewise.
2220 * gdb.cp/gdb2384-base.cc: Likewise.
2221 * gdb.cp/gdb2384-base.h: Likewise.
2222 * gdb.cp/gdb2384.cc: Likewise.
2223 * gdb.cp/gdb2495.cc: Likewise.
2224 * gdb.cp/mb-inline.h: Likewise.
2225 * gdb.cp/mb-inline1.cc: Likewise.
2226 * gdb.cp/mb-inline2.cc: Likewise.
2227 * gdb.cp/member-name.cc: Likewise.
2228 * gdb.cp/member-ptr.cc: Likewise.
2229 * gdb.cp/misc.cc: Likewise.
2230 * gdb.cp/namespace1.cc: Likewise.
2231 * gdb.cp/nextoverthrow.cc: Likewise.
2232 * gdb.cp/pr-574.cc: Likewise.
2233 * gdb.cp/pr9631.cc: Likewise.
2234 * gdb.cp/printmethod.cc: Likewise.
2235 * gdb.cp/psmang1.cc: Likewise.
2236 * gdb.cp/psmang2.cc: Likewise.
2237 * gdb.cp/psymtab-parameter.cc: Likewise.
2238 * gdb.cp/ptype-flags.cc: Likewise.
2239 * gdb.cp/ref-params.cc: Likewise.
2240 * gdb.cp/ref-types.cc: Likewise.
2241 * gdb.cp/smartp.cc: Likewise.
2242 * gdb.cp/try_catch.cc: Likewise.
2243 * gdb.cp/userdef.cc: Likewise.
2244 * gdb.cp/using-crash.cc: Likewise.
2245 * gdb.cp/virtfunc.cc: Likewise.
2246 * gdb.cp/virtfunc2.cc: Likewise.
2247 * gdb.dwarf2/callframecfa.S: Likewise.
2248 * gdb.dwarf2/dw2-ranges.c: Likewise.
2249 * gdb.dwarf2/dw2-ranges2.c: Likewise.
2250 * gdb.dwarf2/dw2-ranges3.c: Likewise.
2251 * gdb.dwarf2/dw2-restore.S: Likewise.
2252 * gdb.dwarf2/pieces.S: Likewise.
2253 * gdb.dwarf2/valop.S: Likewise.
2254 * gdb.java/jnpe.java: Likewise.
2255 * gdb.mi/mi-stepn.c: Likewise.
2256 * gdb.mi/mi-var-cp.cc: Likewise.
2257 * gdb.mi/mi-var-rtti.cc: Likewise.
2258 * gdb.mi/ns-stale-regcache.c: Likewise.
2259 * gdb.mi/pr11022.c: Likewise.
2260 * gdb.mi/solib-lib.c: Likewise.
2261 * gdb.mi/solib-main.c: Likewise.
2262 * gdb.python/py-arch.c: Likewise.
2263 * gdb.python/py-block.c: Likewise.
2264 * gdb.python/py-breakpoint.c: Likewise.
2265 * gdb.python/py-events.c: Likewise.
2266 * gdb.python/py-evthreads.c: Likewise.
2267 * gdb.python/py-explore.c: Likewise.
2268 * gdb.python/py-explore.cc: Likewise.
2269 * gdb.python/py-finish-breakpoint.c: Likewise.
2270 * gdb.python/py-finish-breakpoint2.cc: Likewise.
2271 * gdb.python/py-symbol.c: Likewise.
2272 * gdb.threads/execl.c: Likewise.
2273 * gdb.threads/execl1.c: Likewise.
2274
88ab5684
WN
22752013-06-07 Will Newton <will.newton@linaro.org>
2276
2277 * gdb.base/long_long.exp: Fix ARM EABI target glob.
2278
42daa7a0
WN
22792013-06-07 Will Newton <will.newton@linaro.org>
2280
2281 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
2282 and "starting".
2283
f4059ef3
WN
22842013-06-07 Will Newton <will.newton@linaro.org>
2285
2286 * gdb.cp/anon-struct.exp: Conditionalize constructor and
2287 destructor prototypes for ARM ABI.
2288 * gdb.cp/m-static.exp: Likewise.
2289
8cb5cc78
YQ
22902013-06-07 Yao Qi <yao@codesourcery.com>
2291
2292 * gdb.trace/mi-trace-unavailable.exp: New.
2293 * gdb.trace/trace-unavailable.c: New.
2294
c6cf1712
DE
22952013-06-06 Doug Evans <dje@google.com>
2296
2297 * gdb.cp/derivation.exp: Make tests have unique names.
2298
bf6be0f4
TT
22992013-06-06 Tom Tromey <tromey@redhat.com>
2300
2301 * gdb.base/dump.exp (capture_value): Don't put expression into
2302 test name if arguments passed in.
2303 Rename a couple more tests to make them unique.
2304
ebb022fa
TT
23052013-06-06 Tom Tromey <tromey@redhat.com>
2306
2307 * gdb.base/break-always.exp: Explicitly specify test name.
2308
69fc87c2
DE
23092013-06-05 Doug Evans <dje@google.com>
2310 Keith Seitz <keiths@redhat.com>
2311
2312 * gdb.cp/derivation2.cc: New file.
2313 * gdb.cp/derivation.cc (main): Call foo2.
2314 * gdb.cp/derivation.exp: Add tests for typedefs in another
2315 file, and when there's an active block.
2316
f993f39e
LM
23172013-06-05 Luis Machado <lgustavo@codesourcery.com>
2318
2319 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
2320 from targets that use function descriptors in the virtual tables.
2321 Handle presence of dot symbols.
2322
afacd7f3
GB
23232013-06-04 Gary Benson <gbenson@redhat.com>
2324
2325 * gdb.base/break-probes.exp: New file.
2326 * gdb.base/break-probes.c: Likewise.
2327 * gdb.base/break-probes-solib.c: Likewise.
2328 * gdb.base/info-shared.exp: New file.
2329 * gdb.base/info-shared.c: Likewise.
2330 * gdb.base/info-shared-solib1.c: Likewise.
2331 * gdb.base/info-shared-solib2.c: Likewise.
2332
a29a3fb7
GB
23332013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2334 Gary Benson <gbenson@redhat.com>
2335
2336 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
2337 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
2338 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
2339 to be set to "no" to indicate that no ld.so copy should be made.
2340 * gdb.base/break-interp.exp (solib_bp): New constant.
2341 (reach_1): Use the above instead of "_dl_debug_state".
2342 (test_attach): Likewise.
2343 (test_ld): Likewise.
2344 * gdb.threads/dlopen-libpthread.exp: New file.
2345 * gdb.threads/dlopen-libpthread.c: Likewise.
2346 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
2347 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
2348
62a813cc
YQ
23492013-05-30 Yao Qi <yao@codesourcery.com>
2350
2351 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2352 Add a test that no MI notification is emitted when executing
2353 -exec-arguments.
2354
8f56dad4
JK
23552013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2356
2357 PR testsuite/12649
2358 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
2359 $mi_gdb_prompt expectation by mi_expect_stop.
2360 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
2361 (mi info dprintf second time): Replace them by mi_send_resuming_command
2362 and mi_expect_stop.
2363
c588eb20
GB
23642013-05-24 Gary Benson <gbenson@redhat.com>
2365
2366 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
2367 backslash.
2368 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
2369 backslashes.
2370 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
2371 backslash.
2372
c0ea94eb
YQ
23732013-05-24 Yao Qi <yao@codesourcery.com>
2374
2375 * gdb.trace/tfile.exp: Test inferior and thread.
2376
db1ac436
YQ
23772013-05-24 Yao Qi <yao@codesourcery.com>
2378 Pedro Alves <palves@redhat.com>
2379
2380 * gdb.base/range-stepping.exp: Skip the rest of tests if the
2381 test fails.
2382 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
2383 Return 0 if the test passes, otherwise return 1.
2384
b6abb10c
DE
23852013-05-23 Doug Evans <dje@google.com>
2386
2387 * boards/fission-dwp.exp: New file.
2388
bc5065a7
PA
23892013-05-23 Yao Qi <yao@codesourcery.com>
2390 Pedro Alves <palves@redhat.com>
2391
2392 * gdb.base/range-stepping.c: New file.
2393 * gdb.base/range-stepping.exp: New file.
2394 * gdb.trace/range-stepping.c: New file.
2395 * gdb.trace/range-stepping.exp: New file.
2396 * lib/range-stepping-support.exp: New file.
2397
5f2e6b00
TT
23982013-05-22 Tom Tromey <tromey@redhat.com>
2399
2400 * gdb.cp/class2.cc (main): New local 'aref'.
2401 * gdb.cp/class2.exp: Check printing of 'aref'.
2402
e6ba475a
DE
24032013-05-22 Doug Evans <dje@google.com>
2404
2405 * gdb.threads/wp-replication.c (main): Insert some code at the start
2406 to ensure the breakpoint on main is only hit once. Fix comment.
2407
52c935b6
KS
24082013-05-21 Keith Seitz <keiths@redhat.com>
2409 Pedro Alves <palves@redhat.com>
2410
2411 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
2412 gdb_expect.
2413 Add test to flush the remaining input buffer so that this
2414 file passes testsuite/12649.
2415
bd9673a4
PW
24162013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2417
2418 * gdb.base/catch-signal-fork.exp: New file.
2419 * gdb.base/catch-signal-fork.c: New file.
2420
69a97597
SA
24212013-05-21 Sterling Augustine <saugustine@google.com>
2422
2423 * boards/remote-stdio-gdbserver.exp: New file.
2424
44e97363
JK
24252013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2426
2427 PR testsuite/12649
2428 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
2429 racy matches.
2430
02392865
CG
24312013-05-21 Christian Groessler <chris@groessler.org>
2432
2433 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
2434 since it's not supported in all shells.
2435
c5867ab6
HZ
24362013-05-21 Hui Zhu <hui@codesourcery.com>
2437
2438 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
2439 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
2440
6c9e2db4
DE
24412013-05-20 Doug Evans <dje@google.com>
2442
2443 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
2444 (_handle_DW_TAG): Use it.
2445 (cu, tu): Replace parameters is_64, version, addr_size with options.
2446 All callers updated. Add Fission support.
2447 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
2448 * gdb.dwarf2/method-ptr.exp: Ditto.
2449 * gdb.dwarf2/nostaticblock.exp: Ditto.
2450 * gdb.dwarf2/subrange.exp: Ditto.
2451 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
2452
4a6e676c
TT
24532013-05-20 Tom Tromey <tromey@redhat.com>
2454
2455 * gdb.gdb/python-selftest.exp: New file.
2456
e19d3afb
DE
24572013-05-20 Doug Evans <dje@google.com>
2458
2459 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
2460 -fdebug-types-section.
2461
4d804846
JB
24622013-05-20 Joel Brobecker <brobecker@adacore.com>
2463
2464 * gdb.ada/float_param: New testcase.
2465
8d324e83
DE
24662013-05-17 Doug Evans <dje@google.com>
2467
7d0c9981
DE
2468 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
2469 Add tests for "maint check-symtabs", "maint expand-symtabs".
2470
8d324e83
DE
2471 * gdb.base/maint.exp: Remove testing of individual maint command
2472 help output.
2473
177aadc4
PA
24742013-05-16 Pedro Alves <palves@redhat.com>
2475
2476 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
2477 comment. Use gdb_test_no_output.
2478
b8fea896
JB
24792013-05-16 Joel Brobecker <brobecker@adacore.com>
2480
2481 * gdb.ada/complete.exp: Add test verifying completion using
2482 the "tab" key.
2483
52c935b6
KS
24842013-05-15 Keith Seitz <keiths@redhat.com>
2485
2486 * gdb.base/filesym.exp: New completer test.
2487 * gdb.base/filesym.c: New file.
2488
ed0f00b8
PA
24892013-05-15 Pedro Alves <palves@redhat.com>
2490
2491 * gdb.base/fixsection.c: Remove attribution.
2492 * gdb.base/watch-read.exp: Ditto.
2493
55fb6d27
TT
24942013-05-13 Tom Tromey <tromey@redhat.com>
2495
2496 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
2497 size and change type sizes to 4 bytes.
2498
ac1ca910
TT
24992013-05-13 Tom Tromey <tromey@redhat.com>
2500
2501 * gdb.base/exprs.exp (test_expr): Add regression test.
2502 * gdb.base/exprs.c (null_t_struct): New global.
2503
8414efef
MB
25042013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
2505
2506 * gdb.base/default.exp: Disable history saving.
2507 * gdb.base/setshow.exp: Likewise.
2508
9779ab84
PA
25092013-05-10 Pedro Alves <palves@redhat.com>
2510
2511 PR remote/15455
2512
2513 * gdb.trace/qtro.c: New file.
2514 * gdb.trace/qtro.exp: New file.
2515
1e611234
PM
25162013-05-10 Phil Muldoon <pmuldoon@redhat.com>
2517
2518 * gdb.python/py-framefilter.py: New File.
2519 * gdb.python/py-framefilter-mi.exp: Ditto.
2520 * gdb.python/py-framefilter.c: Ditto.
2521 * gdb.python/py-framefilter-mi.exp: Ditto.
2522 * gdb.python/py-framefilter-mi.c: Ditto,
2523 * gdb.python/py-framefilter-gdb.py.in: Ditto.
2524
5e4c3ac4
TT
25252013-05-08 Tom Tromey <tromey@redhat.com>
2526
2527 * gdb.base/solib-search.exp: Set test name for "set
2528 solib-search-path" test.
2529
993654a9
HAQ
25302013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
2531
2532 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
2533 (set_a_tracepoint): Set tracepoint before prologue.
2534 (run_trace_experiment): Test setup_tracepoints and 'break end'
2535 in it.
2536 (trace_buffer_normal): Remove.
2537 (gdb_trace_circular_tests): Remove. Move tests to...
2538 (top level): ...here. Call 'runto_main' before checking for
2539 trace support. Use commands to check the support for circular
2540 trace buffer and changing of trace buffer size. Add test
2541 to calculate size of single frame. Use this size to
2542 calculate the size of trace buffer. Use 'tfind pc func9'
2543 instead of 'tfind 9'. Use 'with_test_prefix'.
2544
c95aea6b
TT
25452013-05-07 Tom Tromey <tromey@redhat.com>
2546
2547 * lib/selftest-support.exp: New file.
2548 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
2549 do_self_tests.
2550 (setup_test, find_gdb): Remove.
2551 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
2552 do_self_tests.
2553 (setup_test, find_gdb): Remove.
2554 (test_observer): Don't call setup_test. Remove argument.
2555 * gdb.gdb/selftest.exp: Load selftest-support.exp.
2556 (find_gdb): Remove.
2557 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
2558 do_self_tests.
2559 (setup_test, find_gdb): Remove.
2560 (test_with_self): Don't call setup_test. Remove argument.
2561
1f031429
PA
25622013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2563
2564 * gdb.arch/system-gcore.exp: Remove.
2565 * gdb.arch/gcore.c: Remove.
2566 * gdb.base/gcore.exp: Add "info reg system".
2567
58ce7251
SDJ
25682013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
2569
2570 PR breakpoints/15413:
2571 * gdb.base/pending.exp: Add test for completion of the "condition"
2572 command for pending breakpoints.
2573 * gdb.linespec/linespec.ex: Add test for completion of the
2574 "condition" command when dealing with multiple locations.
2575
aacbb8a5
LM
25762013-05-07 Luis Machado <lgustavo@codesourcery.com>
2577
2578 * gdb.threads/wp-replication.c: New file.
2579 * gdb.threads/wp-replication.exp: New file.
2580
2dd6254d
SL
25812013-05-06 Sandra Loosemore <sandra@codesourcery.com>
2582
2583 * gdb.xml/tdesc-regs.exp: Add case for nios2.
2584
c2a96e8c
DE
25852013-05-06 Doug Evans <dje@google.com>
2586
b903e17e
DE
2587 * gdb.base/solib-search-lib1.c: New file.
2588 * gdb.base/solib-search-lib2.c: New file.
2589 * gdb.base/solib-search.c: New file.
2590 * gdb.base/solib-search.h: New file.
2591 * gdb.base/solib-search.exp: New file.
2592
fac51dd9
DE
2593 * lib/gdb.exp (gdb_core_cmd): New function.
2594 * gdb.arch/system-gcore.exp: Use it.
2595 * gdb.arch/vsx-regs.exp: Ditto.
2596 * gdb.base/gcore.exp: Ditto.
2597 * gdb.threads/gcore-thread.exp: Ditto.
2598
c2a96e8c
DE
2599 * gdb.reverse/shr.h: New file.
2600 * gdb.reverse/shr1.c: New file.
2601 * gdb.reverse/shr2.c: #include "shr.h".
2602 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
2603 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
2604 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
2605 Update tests using sleep/printf to use shr2.sl instead.
2606 * gdb.reverse/solib-reverse.exp: Ditto.
2607
b6807d98
TT
26082013-05-06 Tom Tromey <tromey@redhat.com>
2609
2610 * gdb.dwarf2/implptrconst.c: New file.
2611 * gdb.dwarf2/implptrconst.exp: New file.
2612 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
2613 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
2614 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
2615
96f7d3f1
PW
26162013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2617
2618 * gdb.base/catch-sig.c (main): Raise SIGINT.
2619 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
2620
1ebff1fd
HAQ
26212013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
2622
2623 * status-stop.exp (test_tstart_tstart): Check for error
2624 returned by the second 'tstart' command.
2625
f92b06da
WT
26262013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2627
2628 * gdb.xml/maint_print_struct.exp: New file.
2629 * gdb.xml/maint_print_struct.xml: New file.
2630
ff546935
TT
26312013-04-25 Tom Tromey <tromey@redhat.com>
2632
2633 * gdb.dwarf2/nostaticblock.exp: New file.
2634
bf9e4d0c
MB
26352013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
2636
2637 PR gdb/10462
2638 * gdb.base/setshow.exp: Add test case.
2639
a11cfd87
HZ
26402013-04-23 Hui Zhu <hui@codesourcery.com>
2641
2642 PR gdb/15293
a11cfd87
HZ
2643 * gdb.base/dprintf.exp: Add ignore command.
2644
2d9442cc
HZ
26452013-04-23 Hui Zhu <hui@codesourcery.com>
2646
2647 PR gdb/15165
2d9442cc
HZ
2648 * gdb.base/save-bp.exp: Add test for dprintf.
2649
0f3305ed
TT
26502013-04-22 Tom Tromey <tromey@redhat.com>
2651
2652 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
2653 notice_open_fds.
2654
d504301e
SDJ
26552013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2656
2657 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
2658 ldflags.
2659
9991b207
SDJ
26602013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
2661
2662 * gdb.arch/arm-bl-branch-dest.c: New file.
2663 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
2664
433730c9
PA
26652013-04-19 Vladimir Kargov <kargov@gmail.com>
2666 Pedro Alves <palves@redhat.com>
2667
2668 * gdb.arch/i386-float.S: New file.
2669 * gdb.arch/i386-float.exp: New file.
2670
9a908334
LM
26712013-04-18 Luis Machado <lgustavo@codesourcery.com>
2672
2673 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
2674 type void *.
2675
4f22ed5c
DE
26762013-04-17 Doug Evans <dje@google.com>
2677
2678 * lib/dwarf.exp (Dwarf): New proc "tu".
2679 * gdb.dwarf2/missing-sig-type.exp: New file.
2680
a0d3f2f5
SCR
26812013-04-15 Siva Chandra Reddy <sivachandra@google.com>
2682
2683 Add option to link testcases with Pthreads library when
2684 using 'prepare_for_testing' in tests.
2685
2686 * lib/gdb.exp (build_executable_from_specs): Use
2687 gdb_compile_pthreads to compile if option "pthreads" is
2688 specified.
2689
cc16e6c9
TT
26902013-04-15 Tom Tromey <tromey@redhat.com>
2691
2692 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
2693
72f1fe8a
TT
26942013-04-15 Tom Tromey <tromey@redhat.com>
2695
2696 * gdb.base/default.exp: Update for $_exception.
2697 * gdb.cp/exceptprint.cc: New file.
2698 * gdb.cp/exceptprint.exp: New file.
2699 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
2700
6e72ca20
TT
27012013-04-15 Tom Tromey <tromey@redhat.com>
2702
2703 * gdb.cp/typeid.cc: New file.
2704 * gdb.cp/typeid.exp: New file.
2705
591f19e8
TT
27062013-04-15 Tom Tromey <tromey@redhat.com>
2707
2708 * gdb.cp/exception.exp: Add "catch rethrow" tests.
2709
da9160e4
YQ
27102013-04-13 Yao Qi <yao@codesourcery.com>
2711
2712 * gdb.base/completion.exp: Test completion of command
2713 'target ctf' if target ctf is supported.
2714
f81d1120
PA
27152013-04-10 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.base/completion.exp: Test "set height", "set listsize" and
2718 "set trace-buffer-size" completion.
2719 * gdb.base/setshow.exp: Test "set height unlimited".
2720 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
2721 unlimited".
2722
393fd4c3
YQ
27232013-04-10 Yao Qi <yao@codesourcery.com>
2724
2725 * gdb.trace/actions.exp: Save trace data to CTF.
2726 Change to ctf target if GDB supports, read CTF data in ctf
2727 target, and check the actions of tracepoints.
2728 * gdb.trace/while-stepping.exp: Likewise.
2729 * gdb.trace/report.exp: Test GDB saves trace data to CTF
2730 format and read CTF trace file if GDB supports.
2731 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
2732 target is supported, change to ctf target, read trace data and
2733 check output of command "tstatus".
2734 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
2735 read CTF data by target ctf and call check_tsv.
2736
b7a273f8
YQ
27372013-04-10 Yao Qi <yao@codesourcery.com>
2738
2739 * gdb.trace/actions.exp (check_tracepoint): New.
2740 (top level): Start the tracing and check the actions of
2741 tracepoints. Save trace data to tfile format. Restart GDB
2742 and read trace file in tfile target. Check the actions of
2743 tracepoints again.
2744 * gdb.trace/while-stepping.exp: Likewise.
2745
f3786771
YQ
27462013-04-10 Yao Qi <yao@codesourcery.com>
2747
2748 * gdb.trace/report.exp: Use standard_output_file for saved
2749 trace file.
2750
5c2b4418
HZ
27512013-04-10 Hui Zhu <hui@codesourcery.com>
2752
2753 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
2754 (MISCELLANEOUS): Add dprintf-pendshr.sl.
2755 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
2756
f7543f0a
JK
27572013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2758
2759 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
2760 response.
2761
f6de8ec2
PA
27622013-04-08 Pedro Alves <palves@redhat.com>
2763
2764 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
2765 the location.
2766
b8abfd58
SL
27672013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2768
2769 * gdb.cp/cplabel.exp: Allow empty directory in file reported
2770 for breakpoint location.
2771
156bffd0
SL
27722013-04-04 Sandra Loosemore <sandra@codesourcery.com>
2773
2774 * gdb.linespec/linespec.exp: Make dir/file:line tests
2775 conditional for non-remote hosts only.
2776
c9a6ce02
PA
27772013-04-04 Stan Shebs <stan@codesourcery.com>
2778 Pedro Alves <palves@redhat.com>
2779
2780 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
2781 * gdb.trace/actions-changed.c: New file.
2782 * gdb.trace/actions-changed.exp: New file.
2783 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
2784 (gdb_trace_setactions_command): ... this. Add "actions_command"
2785 parameter, and handle it.
2786 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
2787
4bd05f24
YQ
27882013-04-04 Yao Qi <yao@codesourcery.com>
2789
2790 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
2791 'step'.
2792
3758b5ce
YQ
27932013-04-03 Yao Qi <yao@codesourcery.com>
2794
2795 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
2796 "tfile-basic.tf".
2797 (test_tfind_tfile): Likewise.
2798
1dcaed0d
YQ
27992013-04-03 Yao Qi <yao@codesourcery.com>
2800
2801 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
2802 "tfile-basic.tf" instead of "basic.tf".
2803 (write_error_trace_file): Pass argument "tfile-error.tf"
2804 instead of "error.tf".
2805 * gdb.trace/tfile.exp: Update tfile names to
2806 "tfile-basic.tf" and "tfile-error.tf".
2807
0e7a53fc
SL
28082013-04-02 Sandra Loosemore <sandra@codesourcery.com>
2809
2810 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
2811 empty directory in file for breakpoint hit.
2812
9852c492
YQ
28132013-03-29 Yao Qi <yao@codesourcery.com>
2814
2815 * gdb.base/completion.exp: Test completion of commands
2816 "target core", "target tfile" and "target exec".
2817 * gdb.trace/tfile.exp: Test completion of command
2818 "target tfile".
2819
af312be7
JB
28202013-03-28 Joel Brobecker <brobecker@adacore.com>
2821
2822 * gdb.ada/win_fu_syms: New testcase.
2823
e4a48d9d
DE
28242013-03-28 Doug Evans <dje@google.com>
2825
2826 * gdb.base/maint.exp (maint print statistics): Update expected output.
2827
7f7cc265
PA
28282013-03-28 Pedro Alves <palves@redhat.com>
2829
2830 PR gdb/15294
2831
2832 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
2833 mean unlimited instead of $arg < 0.
2834 (test_listsize): Remove "listsize of 0 suppresses output" test.
2835 Test that "set listsize 0" ends up with an unlimited listsize.
2836
fc0da894
PA
28372013-03-28 Pedro Alves <palves@redhat.com>
2838
2839 * gdb.base/list.exp (last_line): New global.
2840 (last_line_re): New global.
2841 (test_listsize, test_list_function, test_list_forward)
2842 (test_repeat_list_command, test_list_range)
2843 (test_list_filename_and_function): Use them.
2844 * gdb.base/list0.c: Comment the last line of the file with "last
2845 line".
2846
abe7b711
PA
28472013-03-28 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
2850 list the whole file.
2851
15b3979c
PA
28522013-03-28 Pedro Alves <palves@redhat.com>
2853
2854 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
2855 "set listsize".
2856
96811e3b
KS
28572013-03-26 Keith Seitz <keiths@redhat.com>
2858
2859 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
2860 from passing.
2861
4043f22b
PA
28622013-03-26 Pedro Alves <palves@redhat.com>
2863
2864 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
2865 until after GDB has run.
2866
14a1aa17
YQ
28672013-03-26 Yao Qi <yao@codesourcery.com>
2868
2869 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
2870 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
2871
99c819ee
MM
28722013-03-26 Markus Metzger <markus.t.metzger@intel.com>
2873
2874 * gdb.btrace/enable.exp: Add regression test.
2875
24955f63
TT
28762013-03-25 Tom Tromey <tromey@redhat.com>
2877
2878 * gdb.cp/m-static.exp: Add destructor-printing tests.
2879
fce632b6
TT
28802013-03-25 Tom Tromey <tromey@redhat.com>
2881
2882 * gdb.cp/m-static.exp: Add constructor ptype tests.
2883 * gdb.cp/m-static.cc (single_constructor): New class.
2884 (main): Make instance of single_constructor.
2885
598d3636
JK
28862013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2887 Pedro Alves <palves@redhat.com>
2888
2889 * gdb.server/server-kill.c: New file.
2890 * gdb.server/server-kill.exp: New file.
2891
c12440c9
PA
28922013-03-21 Pedro Alves <palves@redhat.com>
2893
2894 * gdb.trace/trace-buffer-size.exp (get default buffer size):
2895 Expect $gdb_prompt in gdb_test_multiple.
2896
bd712aed
DE
28972013-03-21 Doug Evans <dje@google.com>
2898
2899 * gdb.base/maint.exp: Update tests for per-command stats.
2900
b2f83c08
TT
29012013-03-21 Tom Tromey <tromey@redhat.com>
2902
2903 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
2904 * gdb.cp/misc.exp: Add test for FILENAME:: case.
2905
ef0026f0
PA
29062013-03-20 Pedro Alves <palves@redhat.com>
2907
2908 PR gdb/15289
2909
2910 * gdb.base/remote.exp: Test
2911 "set remote hardware-watchpoint-limit -1",
2912 "set remote hardware-breakpoint-limit -1",
2913 "set remote hardware-watchpoint-limit 2147483647" and
2914 "set remote hardware-breakpoint-limit 2147483647".
2915
3f1175a9
PA
29162013-03-20 Pedro Alves <palves@redhat.com>
2917 Yao Qi <yao@codesourcery.com>
2918
2919 * gdb.trace/tfile.c: Add comments.
2920 (nonconstglob): New global.
2921 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
2922 global that is not covered by the trace frame. Test
2923 disassembling.
2924
a09ae1c1
JK
29252013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2926
2927 * gdb.base/valgrind-infcall.exp
2928 (continue #$continue_count) <remote connection closed>
2929 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
2930 $valgrind_pid.
2931
9ce98649
TT
29322013-03-15 Tom Tromey <tromey@redhat.com>
2933
2934 * gdb.cp/overload.cc (intintfunc): New.
2935 * gdb.cp/overload.exp: Add regression test.
2936
0a251e08
YQ
29372013-03-15 Yao Qi <yao@codesourcery.com>
2938
2939 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
2940 using with_test_prefix.
2941 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
2942 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
2943 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
2944 * gdb.threads/watchpoint-fork.exp (test): Likewise.
2945 * gdb.base/break-interp.exp (test_core): Likewise.
2946 (test_attach_gdb): Likewise.
2947 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
2948 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
2949 Likewise.
2950 * gdb.base/jit-so.exp (one_jit_test): Likewise.
2951 * gdb.base/jit.exp (one_jit_test): Likewise.
2952 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
2953 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
2954 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
2955 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
2956 Likewise.
2957 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2958 Likewise.
2959 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
2960 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
2961 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
2962 (tracepoint_change_loc_2): Likewise.
2963 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2964 Likewise.
2965 (disconnected_tfind): Likewise.
2966 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
2967 Likewise.
2968 (test_tfind_remote): Likewise.
2969 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
2970 Likewise.
2971 (test_pending_resolved): Likewise.
2972 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
2973 Likewise.
2974 (test_upload_tsv): Likewise.
2975 * gdb.trace/pending.exp (pending_tracepoint_resolved):
2976 Likewise.
2977 (pending_tracepoint_works): Likewise.
2978 * gdb.trace/report.exp (use_collected_data): Likewise.
2979 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
2980 Likewise.
2981 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
2982 * gdb.trace/strace.exp (strace_info_marker): Likewise.
2983 (strace_trace_on_same_addr): Likewise.
2984 (strace_trace_on_diff_addr): Likewise.
2985 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
2986 (gdb_collect_locals_test): Likewise.
2987 (gdb_unavailable_registers_test): Likewise.
2988 (gdb_collect_globals_test): Likewise.
2989
2c415c0f
YQ
29902013-03-15 Yao Qi <yao@codesourcery.com>
2991
2992 * gdb.base/condbreak.exp: Add semicolon back which was removed
2993 by my previous commit.
2994
ae59b1da
YQ
29952013-03-14 Yao Qi <yao@codesourcery.com>
2996
2997 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
2998 'return'.
2999 (gdb_target_monitor, gdb_load): Likewise.
3000 * config/sid.exp (gdb_load): Likewise.
3001 * config/slite.exp (gdb_load): Likewise.
3002 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
3003 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
3004 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
3005 (single_step_until): Likewise.
3006 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3007 * gdb.arch/system-gcore.exp: Likewise.
3008 * gdb.base/bigcore.exp (extract_heap): Likewise.
3009 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
3010 * gdb.base/call-ar-st.exp: Likewise.
3011 * gdb.base/call-rt-st.exp: Likewise.
3012 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
3013 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
3014 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
3015 * gdb.base/corefile.exp: Likewise.
3016 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
3017 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
3018 * gdb.base/fixsection.exp: Likewise.
3019 * gdb.base/funcargs.exp: Likewise.
3020 * gdb.base/gcore-buffer-overflow.exp: Likewise.
3021 * gdb.base/gcore-relro.exp: Likewise.
3022 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
3023 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
3024 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
3025 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
3026 * gdb.base/list.exp: Likewise.
3027 (set_listsize): Likewise.
3028 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
3029 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
3030 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
3031 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
3032 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
3033 * gdb.base/setvar.exp: Likewise.
3034 (test_set): Likewise.
3035 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
3036 * gdb.base/solib-overlap.exp: Likewise.
3037 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
3038 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
3039 * gdb.base/watchpoint.exp (initialize): Likewise.
3040 (test_simple_watchpoint): Likewise.
3041 (test_disabling_watchpoints): Likewise.
3042 (test_watchpoint_triggered_in_syscall): Likewise.
3043 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
3044 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
3045 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
3046 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
3047 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
3048 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
3049 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3050 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3051 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
3052 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
3053 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3054 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
3055 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
3056 * gdb.mi/gdb792.exp: Likewise.
3057 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
3058 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
3059 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
3060 * gdb.threads/gcore-thread.exp: Likewise.
3061 (load_core): Likewise.
3062 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
3063 (test_startup, check_control_c): Likewise.
3064 * gdb.threads/sigstep-threads.exp: Likewise.
3065 * gdb.threads/thread_check.exp: Likewise.
3066 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
3067 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
3068 (set_a_tracepoint, trace_buffer_normal): Likewise.
3069 (gdb_trace_circular_tests): Likewise.
3070 * gdb.trace/collection.exp: Likewise.
3071 * gdb.trace/disconnected-tracing.exp: Likewise.
3072 * gdb.trace/infotrace.exp: Likewise.
3073 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3074 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3075 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
3076 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
3077 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
3078 * gdb.trace/stap-trace.exp: Likewise.
3079 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
3080 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
3081 * gdb.trace/trace-buffer-size.exp: Likewise.
3082 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
3083 * gdb.trace/unavailable.exp: Likewise.
3084 * gdb.trace/while-dyn.exp: Likewise.
3085 * lib/fortran.exp (set_lang_fortran): Likewise.
3086 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
3087 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
3088 (default_gdb_start, get_compiler_info): Likewise.
3089 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
3090 (get_debug_format, setup_xfail_format): Likewise.
3091 (rerun_to_main, gdb_skip_float_test): Likewise.
3092 (build_id_debug_filename_get, get_remotetimeout): Likewise.
3093 * lib/java.exp (set_lang_java): Likewise.
3094 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
3095 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
3096 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
3097 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
3098 * lib/objc.exp (set_lang_objc): Likewise.
3099 * lib/pascal.exp (set_lang_pascal): Likewise.
3100 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
3101 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
3102 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
3103
bb869963
SDJ
31042013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
3105
3106 PR c++/15203
3107 PR c++/15210
3108 * gdb.cp/m-static.cc (keepalive_int): New function.
3109 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
3110 * gdb.cp/m-static.exp: New test for `sintvar'.
3111
e2be70a0
YQ
31122013-03-14 Yao Qi <yao@codesourcery.com>
3113
3114 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
3115 of 'tstatus' into tstatus_output.
3116 (top level): Save the trace data to tfile. Read trace file in
3117 tfile target. Check the trace status.
3118
8ddb1965
YQ
31192013-03-13 Yao Qi <yao@codesourcery.com>
3120
3121 * gdb.trace/tsv.exp (check_tsv): New.
3122 (top level): Save a tfile on current trace session. Call
3123 check_tsv on live target. Load the tfile with target tfile
3124 and call check_tsv again.
3125
045dd51f
YQ
31262013-03-13 Yao Qi <yao@codesourcery.com>
3127
3128 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
3129 Replace some "gdb_test" with "gdb_test_no_output".
3130
82d049ab
PH
31312013-03-12 Paul Hilfinger <hilfingr@adacore.com>
3132
3133 * gdb.ada/expr_delims.exp: New file.
3134 * gdb.ada/expr_delims/foo.adb: New file.
3135 * gdb.ada/expr_delims/pck.ads: New file.
3136 * gdb.ada/expr_delims/pck.adb: New file.
3137
cb8ea32b
KS
31382013-03-11 Keith Seitz <keiths@redhat.com>
3139
3140 * watchpoint.exp (test_no_hw_watchpoints): Add test using
3141 both condition and thread. Then delete the watchpoint.
3142
2f1d9bdd
MM
31432013-03-11 Christian Himpel <christian.himpel@intel.com>
3144
3145 * Makefile.in: Add btrace testsuite.
3146 * configure: Regenerated.
3147 * configure.ac: Add btrace testsuite.
3148 * gdb.btrace/Makefile.in: New file.
3149 * gdb.btrace/enable.c: New file.
3150 * gdb.btrace/enable.exp: New file.
3151 * gdb.btrace/function_call_history.c: New file.
3152 * gdb.btrace/function_call_history.exp: New file.
3153 * gdb.btrace/instruction_history.c: New file.
3154 * gdb.btrace/instruction_history.exp: New file.
3155 * gdb.btrace/instruction_history.S: New file.
3156 * lib/gdb.exp: Add btrace skip proc.
3157
05c56a9d
JK
31582013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3159
3160 Fix entry-values if the callee called a noreturn function.
3161 * gdb.arch/amd64-tailcall-noret.S: New file.
3162 * gdb.arch/amd64-tailcall-noret.c: New file.
3163 * gdb.arch/amd64-tailcall-noret.exp: New file.
3164
9112db09
JK
31652013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3166
3167 Fix entry-values in C++ across CUs.
3168 * gdb.arch/amd64-tailcall-cxx.exp: New file.
3169 * gdb.arch/amd64-tailcall-cxx1.S: New file.
3170 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
3171 * gdb.arch/amd64-tailcall-cxx2.S: New file.
3172 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
3173
be9a119c 31742013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
3175 Hafiz Abid Qadeer <abidh@codesourcery.com>
3176
3177 gdb/testsuite/
3178 * gdb.trace/trace-buffer-size.exp: New file.
3179 * gdb.trace/trace-buffer-size.c: New file.
3180
049109b0
PA
31812013-03-06 Pedro Alves <palves@redhat.com>
3182
3183 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
3184 doesn't support the tested optional feature, call "unsupported"
3185 with the same test message as the "pass" case, instead of calling
3186 "pass" with a different message. Use the same text for the "fail"
3187 cases too.
3188
4aa54120
YQ
31892013-03-06 Yao Qi <yao@codesourcery.com>
3190
3191 * gdb.trace/tstatus.exp: Remove the invocation of
3192 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
3193 (test_tracepoints): Don't set fast tracepoint.
3194 (top level): Don't check agent library is loaded or not.
3195
b8b71e63
YQ
31962013-03-06 Yao Qi <yao@codesourcery.com>
3197
3198 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
3199 parentheses by "\\".
3200
33f448b1
JK
32012013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3202
3203 * gdb.linespec/base/one/thefile.cc (twodup): New.
3204 (m): Call it.
3205 * gdb.linespec/base/two/thefile.cc (dupname): New.
3206 (n): Call it.
3207 * gdb.linespec/break-ask.exp: New file.
3208 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
3209
1c942fb9
YQ
32102013-02-28 Yao Qi <yao@codesourcery.com>
3211
3212 * gdb.trace/report.exp: Move some code to ...
3213 (use_collected_data): New.
3214 (top level): Call use_collected_data once on the live target.
3215 Save at file of the current trace session, load it with target
3216 tfile, and call use_collected_data again.
3217
5b967901
JK
32182013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3219
3220 * gdb.threads/fork-thread-pending.c (main): Add alarm.
3221
6447023f
JK
32222013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3223
3224 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
3225 Add final kill of ${valgrind_pid}.
3226
9f44fbc0
SCR
32272013-02-20 Siva Chandra Reddy <sivachandra@google.com>
3228
3229 * gdb.python/py-arch.c: New test case
3230 * gdb.python/py-arch.exp: New tests to test
3231 gdb.Architecture.disassemble
3232 * gdb.python/Makefile.in: Add py-arch to the list of
3233 EXECUTABLES.
3234
4c9ad8c2
TT
32352013-02-18 Tom Tromey <tromey@redhat.com>
3236
3237 * gdb.dwarf2/subrange.exp: New file.
3238
f5911ea1
HAQ
32392013-02-15 Pedro Alves <pedro@codesourcery.com>
3240 Hafiz Abid Qadeer <abidh@codesourcery.com>
3241
3242 * gdb.trace/tfile.exp: Add test for -trace-status command.
3243
420f4384
JK
32442013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3245
3246 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
3247 nanosleep by sleep.
3248
4819b3f8
PA
32492013-02-14 Pedro Alves <palves@redhat.com>
3250
3251 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
3252
1773c82c
HAQ
32532013-02-14 Pedro Alves <pedro@codesourcery.com>
3254 Hafiz Abid Qadeer <abidh@codesourcery.com>
3255
3256 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
3257
e234dfaf
TT
32582013-02-12 Tom Tromey <tromey@redhat.com>
3259
3260 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
3261 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
3262
6c01dd94
PA
32632013-02-12 Pedro Alves <palves@redhat.com>
3264
3265 * gdb.base/catch-signal.c: Update copyright years.
3266 * gdb.base/catch-signal.exp: Update copyright years.
3267 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
3268 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
3269 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
3270 * gdb.dwarf2/dw2-error.S: Update copyright years.
3271 * gdb.dwarf2/dw2-error.c: Update copyright years.
3272 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
3273 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
3274 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
3275
595fc67f
PA
32762013-02-12 Pedro Alves <palves@redhat.com>
3277
3278 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
3279 message.
3280 * gdb.base/sigaltstack.exp: Ditto.
3281 * gdb.base/siginfo.exp: Ditto.
3282 * gdb.base/sizeof.exp: Ditto.
3283
17282693
PA
32842013-02-12 Pedro Alves <palves@redhat.com>
3285
3286 * gdb.mi/mi-basics.exp: Tweak intro comment.
3287 * gdb.mi/mi-break.exp: Tweak intro comment.
3288 * gdb.mi/mi-console.exp: Tweak intro comment.
3289 * gdb.mi/mi-file.exp: Tweak intro comment.
3290 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
3291 * gdb.mi/mi-return.exp: Tweak intro comment.
3292 * gdb.mi/mi-stepi.exp: Tweak intro comment.
3293 * gdb.mi/mi-until.exp: Tweak intro comment.
3294 * gdb.mi/mi-watch.exp: Tweak intro comment.
3295
8a4ac37e
PA
32962013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3297
3298 * gdb.server/no-thread-db.exp: New file.
3299 * gdb.server/no-thread-db.c: New file.
3300 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
3301
c2792f5a
DE
33022013-02-11 Doug Evans <dje@google.com>
3303
3304 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
3305 two decfloats.
3306
d9e98382
SDJ
33072013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3308
3309 * gdb.base/bitfields.c (struct internalvartest): New declaration.
3310 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
3311
a321661a
JK
33122013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3313
3314 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
3315
134a2066
YQ
33162013-02-06 Yao Qi <yao@codesourcery.com>
3317
3318 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
3319 to ...
3320 (test_create_delete_modify_tsv): ... here. New test on modifying
3321 the initial value of a tsv.
3322
5a2dc60a
JK
33232013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3324
3325 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
3326 (cd .../rdir): ... here.
3327
233d95b5
JK
33282013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 * gdb.linespec/base/one/header.h: New file.
3331 * gdb.linespec/base/two/header.h: New file.
3332 * gdb.linespec/macro-relative.c: New file.
3333 * gdb.linespec/macro-relative.exp: New file.
3334
fbd9ab74
JK
33352013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3336
3337 * gdb.base/fullpath-expand-func.c: New file.
3338 * gdb.base/fullpath-expand.c: New file.
3339 * gdb.base/fullpath-expand.exp: New file.
3340 * gdb.base/realname-expand-real.c: New file.
3341 * gdb.base/realname-expand.c: New file.
3342 * gdb.base/realname-expand.exp: New file.
3343
1b56eb55
JK
33442013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3345
3346 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
3347 * gdb.dwarf2/dw2-dir-file-name.c: New file.
3348
af529f8f
JK
33492013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3350
3351 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
3352 (compare_filenames_for_search does not match)
3353 (compare_filenames_for_search does match): New tests.
3354
f5b95b50
JK
33552013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3356
3357 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
3358
d47921b9
JK
33592013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3360
3361 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
3362
8a92335b
JK
33632013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3364
3365 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
3366 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
3367 ${binfile}.mini_debuginfo-debuglink and
3368 ${binfile}.mini_debuginfo-debuglink.xz.
3369
17f2157d
TT
33702013-02-01 Tom Tromey <tromey@redhat.com>
3371
3372 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
3373 attributes.
3374
d65f0a9c
TT
33752013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3376 Tom Tromey <tromey@redhat.com>
3377
3378 * gdb.dwarf2/method-ptr.exp: Link with c++.
3379 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
3380
f25c0135
TT
33812013-01-31 Tom Tromey <tromey@redhat.com>
3382
3383 * gdb.base/jit.exp (compile_jit_test): New proc.
3384 Add PIE tests.
3385
7078baeb
TT
33862013-01-31 Tom Tromey <tromey@redhat.com>
3387
3388 * gdb.dwarf2/method-ptr.cc: New file.
3389 * gdb.dwarf2/method-ptr.exp: New file.
3390
1d24041a
TT
33912013-01-31 Tom Tromey <tromey@redhat.com>
3392
3393 * lib/dwarf.exp (namespace Dwarf): New.
3394
8d9878a4
TT
33952013-01-29 Tom Tromey <tromey@redhat.com>
3396
3397 * gdb.dwarf2/fission-reread.exp: Add unload test.
3398
bed911e5
DE
33992013-01-28 Doug Evans <dje@google.com>
3400
3401 * gdb.dwarf2/fission-loclists.exp: New file.
3402 * gdb.dwarf2/fission-loclists.S: New file.
3403
e229648e
JK
34042013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3405
3406 Code cleanup.
3407 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
3408 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
3409 and prepare_for_testing.
3410 * gdb.base/store.exp: Likewise.
3411
86700f00
TT
34122013-01-25 Tom Tromey <tromey@redhat.com>
3413
3414 * gdb.python/py-explore.exp: Expect the gdb prompt.
3415
8954db33
AB
34162013-01-25 Andrew Burgess <aburgess@broadcom.com>
3417
3418 * gdb.base/gnu_vector.c: New variable for use in tests.
3419 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
3420 changes in scalar to vector casting and widening.
3421 * gdb.python/py-type.c: New variables for use in tests.
3422 * gdb.python/py-type.exp: Update vector related tests to reflect
3423 changes in scalar to vector casting and widening.
3424
2077afdd
TD
34252013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
3426
3427 * gdb.base/prologue-include.c: New file.
3428 * gdb.base/prologue-include.exp: New file.
3429 * gdb.base/prologue-include.h: New file.
3430
d7499464
HAQ
34312013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
3432
3433 PR gdb/13443
3434 * gdb.mi/mi-var-block.exp: Make test messages unique.
3435
e2a3e0f1
TT
34362013-01-23 Tom Tromey <tromey@redhat.com>
3437
3438 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
3439
152fcc9c
TT
34402013-01-23 Tom Tromey <tromey@redhat.com>
3441
3442 * gdb.cp/converts.cc (main): Initialize 'a'.
3443
bea883fd
SCR
34442013-01-23 Siva Chandra Reddy <sivachandra@google.com>
3445
3446 * testsuite/gdb.python/frame.exp: Add a test for
3447 gdb.Frame.architecture() method.
3448
0928e93d
PA
34492013-01-22 Pedro Alves <palves@redhat.com>
3450
3451 * gdb.base/annota1.exp (signal sent): No longer expect
3452 breakpoints-invalid.
3453 * gdb.cp/annota2.exp (continue until exit)
3454 (watch triggered on a.x): Ditto.
3455
9c97429f
PA
34562013-01-22 Pedro Alves <palves@redhat.com>
3457
3458 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
3459 Adjust tests to breakpoints-invalid changes.
3460 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
3461 variables.
3462 Adjust tests to breakpoints-invalid changes.
3463
187d10dd
PA
34642013-01-22 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.base/annota1.exp (annotate ignore count change): Add
3467 expected output for failure case.
3468
ea3aedcb
TT
34692013-01-22 Tom Tromey <tromey@redhat.com>
3470
3471 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
3472 call.
3473
998580f1
MK
34742013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
3475
3476 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 3477 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
3478 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
3479 Also handle 'thread' field.
3480 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
3481 * gdb.mi/mi-watch.exp: Ditto.
3482 * lib/mi-support.exp: Ditto.
3483
8f1d5693
MK
34842013-01-21 Siva Chandra Reddy <sivachandra@google.com>
3485
3486 * gdb.python/py-explore.exp: Improve a test
3487
2d8c5d7c
DB
34882013-01-18  David Blaikie  <dblaikie@gmail.com>
3489
3490 * gdb.base/label.c (main): Correct the type of the second
3491 parameter.
3492
46f35228
TT
34932013-01-18 Tom Tromey <tromey@redhat.com>
3494
3495 * gdb.dwarf2/trace-crash.s: New file.
3496 * gdb.dwarf2/trace-crash.exp: New file.
3497
5965d69d
HAQ
34982013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
3499
43aaf8b6
PA
3500 PR gdb/13443
3501 * gdb.base/checkpoint.exp: Update test messages to make them
3502 unique.
5965d69d 3503
5ae4861a
YQ
35042013-01-18 Yao Qi <yao@codesourcery.com>
3505
3506 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
3507 output of 'info tracepoints'.
3508 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3509 Likewise.
3510 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3511 * gdb.trace/disconnected-tracing.c (struct foo): New.
3512
d84fca2c
JK
35132013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3514
3515 * gdb.dwarf2/dw2-dos-drive.S: New file.
3516 * gdb.dwarf2/dw2-dos-drive.exp: New file.
3517
aebb1cc9
DE
35182013-01-17 Doug Evans <dje@google.com>
3519
2782d512
DE
3520 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
3521 CXX_FOR_TARGET.
3522
aebb1cc9
DE
3523 * boards/cc-with-tweaks.exp: New file.
3524
db2b2972
TT
35252013-01-17 Tom Tromey <tromey@redhat.com>
3526
3527 * gdb.base/completion.exp: Add "set cp-abi" completion test.
3528
96343774
PA
35292013-01-17 Pedro Alves <palves@redhat.com>
3530
3531 Merge dg-extract-results.sh from upstream (svn 195224).
3532
3533 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3534 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
3535
3536 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3537 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
3538
3539 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 3540 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
3541
3542 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3543 * dg-extract-results.sh: Redirect grep output to /dev/null instead
3544 of grep -q.
3545
675921c0
SD
35462012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3547
3548 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
3549 interface.
3550 * gdb.base/jithost.c: New file.
3551 * gdb.base/jithost.h: New file.
3552 * gdb.base/jitreader.c : New file.
3553 * gdb.base/jit-protocol.h: New file.
3554
ab04a2af
TT
35552013-01-16 Tom Tromey <tromey@redhat.com>
3556
3557 * gdb.base/catch-signal.c: New file.
3558 * gdb.base/catch-signal.exp: New file.
3559
8ac3646f
TT
35602013-01-16 Tom Tromey <tromey@redhat.com>
3561
3562 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
3563
22fc223e
JK
35642013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3565
3566 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
3567
44478ab3
TT
35682013-01-14 Tom Tromey <tromey@redhat.com>
3569
3570 * gdb.base/completion.exp: Add "set gnutarget" test.
3571
06d66ee9
TT
35722013-01-14 Tom Tromey <tromey@redhat.com>
3573
3574 * gdb.dwarf2/dw2-restrict.S: New file.
3575 * gdb.dwarf2/dw2-restrict.c: New file.
3576 * gdb.dwarf2/dw2-restrict.exp: New file.
3577
c9bf0622
TT
35782013-01-14 Tom Tromey <tromey@redhat.com>
3579
3580 * gdb.dwarf2/dw2-error.exp: New file.
3581 * gdb.dwarf2/dw2-error.c: New file.
3582 * gdb.dwarf2/dw2-error.S: New file.
3583
5b12a61c
JK
35842013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3585
3586 * gdb.cp/parse-lang.cc: New file.
3587 * gdb.cp/parse-lang.exp: New file.
3588
f0a4b570
JK
35892013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3590
3591 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
3592 (set substitute-path): New test.
3593 (fullname present): Remove content.
3594 (substituted fullname): New test.
3595
f751cc97
JB
35962013-01-13 Joel Brobecker <brobecker@adacore.com>
3597
3598 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
3599 check. Move $gdb_py_is_py24 value check right after.
3600
04164e8e
JK
36012013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3602
3603 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
3604 targets.
3605
5bf480a5
YQ
36062013-01-11 Yao Qi <yao@codesourcery.com>
3607
3608 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
3609 for dprintf.
3610 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
3611 Check the fields in "=breakpoint-created" for dprintf.
3612
f35a17b5
JK
36132012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3614
3615 * gdb.mi/mi-fullname-deleted.exp: New file.
3616
85817405
JK
36172012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3618
3619 * gdb.base/skip-solib.exp (info skip with pending file): Update the
3620 expected output.
3621 (info skip with pending file): Remove.
3622 (ignoring function in solib, info skip for function multiply): Update
3623 the expected output.
3624 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
3625 (info skip (delete 1), info skip after disabling all)
3626 (info skip after enabling all, info skip after disabling 4 2-3)
3627 (info skip after enabling 2-3, info skip 2-3)
3628 (info skip after deleting 2 3): Update the expected output.
3629 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
3630 statement to its initialization and return.
3631 * gdb.linespec/skip-two.exp: New file.
3632
27210e12
DE
36332012-12-19 Doug Evans <dje@google.com>
3634
3635 * gdb.base/maint.exp: Handle testing with .gdb_index.
3636
bb627a12
JB
36372012-12-19 Joel Brobecker <brobecker@adacore.com>
3638
3639 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
3640 Cavium to FSF.
3641
7785b880
JB
36422012-12-19 Joel Brobecker <brobecker@adacore.com>
3643
3644 * dg-extract-results.sh: Update contact info in copyright notice.
3645 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
3646 GPL v3 or later. Update contact info.
3647 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
3648 gdb.threads/watchpoint-fork-mt.c,
3649 gdb.threads/watchpoint-fork-parent.c,
3650 gdb.threads/watchpoint-fork-st.c,
3651 gdb.threads/watchpoint-fork.h: Likewise.
3652
f2a8bc8a
YQ
36532012-12-15 Yao Qi <yao@codesourcery.com>
3654
3655 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
3656 'installed' field in '=breakpoint-modified'.
3657 (test_reconnect): Check 'installed' field in
3658 '=breakpoint-modified' and '=breakpoint-created'.
3659
3660 * gdb.trace/actions.exp: Update test for 'installed' field.
3661 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
3662 (tracepoint_change_loc_2): Likewise.
3663 Check 'info tracepoint' display nothing else.
3664 * gdb.trace/deltrace.exp: Likewise.
3665 * gdb.trace/infotrace.exp: Likewise.
3666 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
3667 Likewise.
3668 * gdb.trace/passcount.exp: Likewise.
3669 * gdb.trace/tracecmd.exp: Likewise.
3670 * gdb.trace/while-stepping.exp: Likewise.
3671
6592e36f
TT
36722012-12-14 Tom Tromey <tromey@redhat.com>
3673
3674 * gdb.cp/member-name.exp: New file.
3675 * gdb.cp/member-name.cc: New file.
3676
7d27a96d
TT
36772012-12-14 Tom Tromey <tromey@redhat.com>
3678
3679 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
3680
f8c05d0d
DE
36812012-12-14 Doug Evans <dje@google.com>
3682
3683 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
3684 DW_OP_GNU_implicit_pointer is section-relative.
3685
451b7c33
TT
36862012-12-14 Tom Tromey <tromey@redhat.com>
3687
43aaf8b6 3688 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 3689
10e339df
PA
36902012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
3691
6fdff2c5 3692 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 3693
e780d813
DE
36942012-12-13 Doug Evans <dje@google.com>
3695
3696 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
3697 * gdb.multi/multi-arch.exp: Ditto.
3698
ca3dbcc8 36992012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 3700
ca3dbcc8
MG
3701 * gdb.mi/mi-catch-load-so.c: New. Clone of the
3702 catch load test library source file.
3703 * gdb.mi/mi-catch-load.c: New. Clone of the catch
3704 load test source file.
3705 * gdb.mi/mi-catch-load.exp: New. Test file for
3706 basic MI -catch-load and -catch-unload tests.
3707
2960a434
PK
37082012-12-11 Paul Koning <paul_koning@dell.com>
3709
3710 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
3711 exception.
3712 (_iterator_except): New function.
3713 (ArrayPrinter): Use _iterator function instead of local _iterator
3714 class for Python 3 compatibility.
3715 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 3716 _iterator.
2960a434
PK
3717 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
3718 execfile for Python 3 compatibility.
3719 * gdb.python/python.exp: Handle Python 2.4 exception traceback
3720 format in error_prompt test.
6fdff2c5 3721
9325cb04
PK
37222012-12-10 Paul Koning <paul_koning@dell.com>
3723
3724 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 3725 compatibility.
9325cb04
PK
3726 * gdb.python/py-block.exp: Ditto.
3727 * gdb.python/py-breakpoint.exp: Ditto.
3728 * gdb.python/py-cmd.exp: Ditto.
3729 * gdb.python/py-events.py: Ditto.
3730 * gdb.python/py-finish-breakpoint.py: Ditto.
3731 * gdb.python/py-finish-breakpoint2.exp: Ditto.
3732 * gdb.python/py-finish-breakpoint2.py: Ditto.
3733 * gdb.python/py-frame-inline.exp: Ditto.
3734 * gdb.python/py-frame.exp: Ditto.
3735 * gdb.python/py-infthread.exp: Ditto.
3736 * gdb.python/py-objfile.exp: Ditto.
3737 * gdb.python/py-parameter.exp: Ditto.
3738 * gdb.python/py-progspace.exp: Ditto.
3739 * gdb.python/py-prompt.exp: Ditto.
3740 * gdb.python/py-symbol.exp: Ditto.
3741 * gdb.python/py-symtab.exp: Ditto.
3742 * gdb.python/py-template.exp: Ditto.
3743 * gdb.python/py-value-cc.exp: Ditto.
3744 * gdb.python/python.exp: Ditto.
3745 * gdb.python/source2.py: Ditto.
3746 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 3747 compatibility.
9325cb04
PK
3748 Use sorted() function rather than sort() method.
3749 Accept either int or long values for enum values.
3750 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
3751 execfile for Python 3 compatibility.
3752 * gdb.python/py-evsignal.exp: Ditto.
3753 * gdb.python/py-evthreads.exp: Ditto.
3754 * gdb.python/py-mi.exp: Ditto.
3755 * gdb.python/py-pp-maint.exp: Ditto.
3756 * gdb.python/py-prettyprint.exp: Ditto.
3757 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 3758 Python 3 compatibility.
9325cb04
PK
3759 Skip tests for Python 2.4.
3760 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 3761 Python 3 compatibility.
9325cb04
PK
3762 Use byte string rather than character string in memory write test
3763 if Python 3.
3764 * gdb.python/py-pp-maint.py: Change class declarations to "new
3765 class" syntax.
3766 * gdb.python/py-prettyprint.py: Change iterator class to generator
3767 function for Python 3 compatibility.
3768 Make all classes "new style".
3769 Fix indentation issue and stray semicolon.
3770 * gdb.python/py-shared.expChange print syntax for Python 3
3771 compatibility.
3772 Define "long" if Python 3.
3773 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 3774 compatibility.
9325cb04
PK
3775 Accept either int or long values for enum values.
3776 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 3777 compatibility.
9325cb04
PK
3778 Skip "long" and "unicode" tests if Python 3.
3779 Accept either "type" or "class" in type checks.
3780 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
3781 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
3782
8b9737bf
TT
37832012-12-10 Tom Tromey <tromey@redhat.com>
3784
3785 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
3786 (test): Add "two_cu" argument.
3787 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
3788 for types; allow two CUs.
3789
1b80a9fa
JK
37902012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
3793 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
3794
f0b6d50a
YQ
37952012-12-08 Yao Qi <yao@codesourcery.com>
3796 Pedro Alves <palves@redhat.com>
3797
3798 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
3799 '=breakpoint-created' when GDB merges the tracepoints of both
3800 sides.
3801
2f68a895
TT
38022012-12-07 Tom Tromey <tromey@redhat.com>
3803
3804 * gdb.base/break1.c (enum some_enum, union some_union): New.
3805 (some_enum_global, some_union_global, some_value): New globals.
3806 * gdb.base/completion.exp: Add tag completion tests.
3807
4fc5d43e
TT
38082012-12-07 Tom Tromey <tromey@redhat.com>
3809
3810 * gdb.base/completion.exp: Add tests for ptype and whatis
3811 completion.
3812
6559e013
JB
38132012-12-07 Joel Brobecker <brobecker@adacore.com>
3814
3815 * gdb.base/stale-infcall.exp: Fix copyright line.
3816
ae2b630d
JB
38172012-12-07 Joel Brobecker <brobecker@adacore.com>
3818
3819 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
3820
0ba2eb0f
TT
38212012-12-06 Pedro Alves <palves@redhat.com>
3822 Tom Tromey <tromey@redhat.com>
3823
3824 * gdb.base/exprs.exp: Add tests for cast to void.
3825
731145cb
TT
38262012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
3827
3828 * gdb.python/py-mi.exp: Correct expected results for attribute
3829 "dynamic" returned by -var-update.
3830 Add test case for correct handling of "diplayhint" for children
3831 of dynamic varobjs.
3832 * gdb.python/py-prettyprint.c (set_itme): New function.
3833 (bug_14741) New function.
3834 (main) Add call to bug_14741().
3835 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
3836
e58fcc15
UW
38372012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
3838
3839 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
3840 ${binfile}.funcsyms list.
3841
e9eb0d14
YQ
38422012-12-04 Yao Qi <yao@codesourcery.com>
3843
3844 PR gdb/13443
3845 * gdb.trace/actions.exp: Make test messages unique.
3846
4983028c
TT
38472012-11-29 Tom Tromey <tromey@redhat.com>
3848
3849 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
3850
ea5e6b0e
UW
38512012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
3852
3853 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
3854 * gdb.opencl/datatypes.exp: Likewise.
3855 * gdb.opencl/operators.exp: Likewise.
3856 * gdb.opencl/vec_comps.exp: Likewise.
3857
cdde3dfb
JG
38582012-11-29 Jerome Guitton <guitton@adacore.com>
3859
3860 * gdb.ada/iwide: New testcase.
3861
b50d69b5
JG
38622012-11-29 Jerome Guitton <guitton@adacore.com>
3863
3864 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
3865 ptype test.
3866
c2d3fccf
JG
38672012-11-29 Jerome Guitton <guitton@adacore.com>
3868
3869 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
3870 form {VARIANT_TYPE}ADDRESS.
3871
5edf51fe
YQ
38722012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
3873
3874 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
3875 (func): New function.
3876 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
3877 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
3878 pointers to members with pointer-to-function type.
3879
608e2dbb
TT
38802012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3881 Tom Tromey <tromey@redhat.com>
3882
3883 * gdb.base/gnu-debugdata.exp: New file.
3884 * gdb.base/gnu-debugdata.c: New file.
3885 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
3886 (gdb_unload): Return 0 on success.
3887
4648e588
JK
38882012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3889
3890 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
3891
17d6efc4
JB
38922012-11-26 Joel Brobecker <brobecker@adacore.com>
3893
3894 * gdb.base/empty_exe.exp: New testcase.
3895
ace21957
MF
38962012-11-20 Mike Frysinger <vapier@gentoo.org>
3897
3898 * gdb.base/completion.exp: Add test for help aliases completion.
3899
5c401a0a
YQ
39002012-11-20 Yao Qi <yao@codesourcery.com>
3901
3902 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3903 Don't test 'maint set show-debug-regs'.
3904 Use command 'set remotecache' instead of
3905 'set circular-trace-buffer'.
3906
8dea366b
KS
39072012-11-16 Keith Seitz <keiths@redhat.com>
3908
3909 PR c++/13615
3910 * gdb.cp/baseenum.cc: New file.
3911 * gdb.cp/baseenum.exp: New file.
3912 * gdb.cp/derivation.cc (A): Add copyright.
3913 Add a typedef.
3914 (B): Use A::value_type instead of int. Change all references.
3915 (D): Use value_type instead of int. Change all references.
3916 (E): Likewise.
3917 (F); Likewise.
3918 (Z): New class.
3919 (ZZ): New class.
6fdff2c5 3920 (N, Base, Derived): New namespace and classes.
8dea366b
KS
3921 (main): Add instances of Z and ZZ.
3922 Make sure all symbols from N are kept.
3923 * gdb.cp/derivation.exp: Update typedef changes in tests.
3924 Add tests for class typedefs both before and after starting
3925 the inferior.
3926 Add tests for searching for a typedef while stopped in a
3927 method.
3928
5e34c6c3
LM
39292012-11-14 Luis Machado <lgustavo@codesourcery.com>
3930
3931 * gdb.mi/mi-var-create-rtti.c: New file.
3932 * gdb.mi/mi-var-create-rtti.exp: New file.
3933
5e487a5f
LM
39342012-11-14 Luis Machado <lgustavo@codesourcery.com>
3935
3936 * gdb.base/structs3.exp: Run to main before doing any tests.
3937
6d67b990
AB
39382012-11-14 Andrew Burgess <aburgess@broadcom.com>
3939
3940 * gdb.python/py-type.exp: Uniquify test names.
3941
e5d98164
YQ
39422012-11-14 Yao Qi <yao@codesourcery.com>
3943
3944 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
3945 (thread_function) [DEBUG]: Call 'printf'.
3946 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
3947 command line if 'DEBUG=1' is passed to test.
3948 Remove a pattern to match inferior's output.
3949
62747a60
TT
39502012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
3951
3952 * gdb.mi/mi-fill-memory.exp: New test.
3953
18a9fc12
TT
39542012-11-12 Tom Tromey <tromey@redhat.com>
3955
3956 * gdb.base/completion.exp: Update for "info type-printers".
3957 * gdb.python/py-typeprint.cc: New file.
3958 * gdb.python/py-typeprint.exp: New file.
3959 * gdb.python/py-typeprint.py: New file.
3960
bd69fc68
TT
39612012-11-12 Tom Tromey <tromey@redhat.com>
3962
3963 * gdb.base/call-sc.exp: Use "ptype/r".
3964 * gdb.base/volatile.exp: Don't expect "int".
3965 * gdb.cp/ptype-flags.cc: New file.
3966 * gdb.cp/ptype-flags.exp: New file.
3967 * gdb.cp/templates.exp: Use ptype/r.
3968 (test_ptype_of_templates, test_template_typedef): Likewise.
3969 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
3970 argument. Handle template names and template parameters.
3971 * gdb.mi/mi-var-cmd.exp: Accept "long".
3972 * gdb.mi/mi-var-child.exp: Accept "long".
3973 * gdb.mi/mi-var-display.exp: Accept "long".
3974 * gdb.mi/mi2-var-child.exp: Accept "long".
3975
b3720c3a
TT
39762012-11-12 Tom Tromey <tromey@redhat.com>
3977
3978 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
3979 "ptype" from calls to cp_test_ptype_class.
3980 (test_enums): Likewise.
3981 * gdb.cp/derivation.exp: Remove "ptype" from calls to
3982 cp_test_ptype_class.
3983 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
3984 calls to cp_test_ptype_class.
3985 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
3986 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
3987 from calls to cp_test_ptype_class.
3988 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
3989 command here. Change "in_command" argument to "in_exp".
3990
0d63ecda
KS
39912012-11-10 Keith Seitz <keiths@redhat.com>
3992
3993 PR gdb/14288
3994 * gdb.base/printcmds.c: Add invalid_XXX globals
3995 for repeated byte tests.
3996 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
3997 * gdb.base/wchar.c (main): Add and construct a wchar_t
3998 array with repeated characters.
3999 * gdb.base/wchar.exp: Add repeated character tests.
4000
ed8a1c2d
AB
40012012-11-09 Andrew Burgess <aburgess@broadcom.com>
4002
4003 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
4004 disassembly output.
4005
9107fc8d
PA
40062012-11-09 Pedro Alves <palves@redhat.com>
4007
4008 PR gdb/14306
4009
4010 * gdb.multi/multi-arch-exec.c: New file.
4011 * gdb.multi/multi-arch-exec.exp: New file.
4012
558a9d82
YQ
40132012-11-09 Yao Qi <yao@codesourcery.com>
4014
4015 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
4016 (top level): Call it.
4017
e714f336
YQ
40182012-11-09 Yao Qi <yao@codesourcery.com>
4019
4020 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
4021 typo.
4022
6ecd4729
PA
40232012-11-09 Pedro Alves <palves@redhat.com>
4024
4025 * gdb.multi/multi-arch.exp: New.
4026
9015683b
TT
40272012-11-08 Tom Tromey <tromey@redhat.com>
4028
4029 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
4030 core files, if possible.
4031 * gdb.base/siginfo-thread.c: New file
4032 * gdb.base/siginfo-thread.exp: New file
4033
ea9f10bb
TT
40342012-11-08 Tom Tromey <tromey@redhat.com>
4035
4036 * gdb.base/comprdebug.exp: New file.
4037
f6592439
PA
40382012-11-06 Pedro Alves <palves@redhat.com>
4039
4040 PR gdb/14810
4041
4042 * gdb.base/disabled-location.c: New file.
4043 * gdb.base/disabled-location.exp: New file.
4044
2d338fa9
TT
40452012-11-06 Tom Tromey <tromey@redhat.com>
4046
4047 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
4048 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
4049 gdb_gcore_cmd.
4050 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
4051 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
4052 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
4053 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
4054 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
4055 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
4056 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
4057 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
4058 * lib/gdb.exp (gdb_gcore_cmd): New proc.
4059
68c9da30
PA
40602012-11-05 Pedro Alves <palves@redhat.com>
4061
4062 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
4063 procedure.
4064 (do_vfork_and_follow_child_tests_exec)
4065 (do_vfork_and_follow_child_tests_exit): Call it.
4066
a7c8c931
PA
40672012-11-05 Pedro Alves <palves@redhat.com>
4068
4069 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
4070 fails.
4071
6f6484cd
YQ
40722012-11-03 Yao Qi <yao@codesourcery.com>
4073
4074 Fix PR gdb/14617.
4075 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4076 Remove setup_kfail, and update test.
4077
b45627a0
TT
40782012-11-02 Tom Tromey <tromey@redhat.com>
4079
4080 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
4081 test.
4082
f50f4e56
PA
40832012-11-02 Pedro Alves <palves@redhat.com>
4084
4085 PR gdb/14766
4086
4087 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
4088 setup_kfail.
4089 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
4090 get registers".
4091
71ce889d
PA
40922012-11-02 Pedro Alves <palves@redhat.com>
4093
4094 * gdb.base/foll-vfork-exit.c: New file.
4095 * gdb.base/foll-vfork.exp (top level): New file-describing
4096 comment.
4097 (vfork_child_follow_to_exit): New procedure.
4098 (tcatch_vfork_then_child_follow): Rename as ...
4099 (tcatch_vfork_then_child_follow_exec): ... this.
4100 (tcatch_vfork_then_child_follow_exit): New procedure.
4101 (do_vfork_and_follow_parent_tests): New procedure, factored out
4102 from do_vfork_and_exec_tests.
4103 (do_vfork_and_follow_child_tests_exec): Ditto.
4104 (do_vfork_and_exec_tests): Delete.
4105 (do_vfork_and_follow_child_tests_exit): New procedure.
4106 (top level): Run tests with both the program that has the vfork
4107 child execing, and the program has the vfork child exiting.
4108
1e35b1a9
PA
41092012-11-02 Pedro Alves <palves@redhat.com>
4110
4111 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
4112 (check_vfork_catchpoints, vfork_parent_follow_through_step)
4113 (vfork_parent_follow_to_bp): Call it.
4114 (kill_child): Delete.
4115 (vfork_and_exec_child_follow_to_main_bp)
4116 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
4117 longer call kill_child.
4118 (tcatch_vfork_then_parent_follow): Call setup_gdb.
4119 (do_vfork_and_exec_tests): Don't runto_main before calling each
4120 test procedure.
4121 (top level): Don't clean restart and set verbose before running
4122 each test procedure.
4123
41242012-11-02 Pedro Alves <palves@redhat.com>
4125
4126 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
4127 (vfork_parent_follow_to_bp)
4128 (vfork_and_exec_child_follow_to_main_bp)
4129 (vfork_and_exec_child_follow_through_step)
4130 (tcatch_vfork_then_parent_follow)
4131 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4132 Use with_test_prefix.
4133
41342012-11-02 Pedro Alves <palves@redhat.com>
4135
4136 * gdb.base/foll-vfork.c: Add copyright header.
4137 * gdb.base/vforked-prog.c: Add copyright header.
4138
41392012-11-02 Pedro Alves <palves@redhat.com>
4140
4141 * gdb.base/foll-vfork.exp
4142 (vfork_and_exec_child_follow_through_step): Don't skip on
4143 non-HP/UX targets. Expect the next to only step one line on
4144 non-HP/UX targets, rather than stopping only after the exec.
4145
41462012-11-02 Pedro Alves <palves@redhat.com>
4147
4148 Don't hard code line numbers.
4149
4150 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
4151 Expect text from the sources instead of a line number.
4152 (vfork_parent_follow_to_bp)
4153 (vfork_and_exec_child_follow_to_main_bp)
4154 (vfork_and_exec_child_follow_through_step)
4155 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4156 Use gdb_get_line_number.
4157
41582012-11-02 Pedro Alves <palves@redhat.com>
4159
4160 Modernize.
4161
4162 * gdb.base/foll-vfork.exp: Use standard_testfile and
4163 build_executable. Pass descriptive string to untested.
4164 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
4165 (vfork_and_exec_child_follow_to_main_bp)
4166 (vfork_and_exec_child_follow_through_step)
4167 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
4168 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
4169 of send_gdb/gdb_expect.
4170
4171 (kill_child): New procedure.
4172 (vfork_and_exec_child_follow_to_main_bp)
4173 (vfork_and_exec_child_follow_through_step): Use it.
4174
f0559fff
YQ
41752012-11-02 Yao Qi <yao@codesourcery.com>
4176
4177 * gdb.base/setvar.exp: Test setting nested struct.
4178 * gdb.base/setvar.c (v_struct3): New.
4179
c207c6da
DE
41802012-11-01 Doug Evans <dje@google.com>
4181
4182 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
4183 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
4184 use them.
4185
2f27adfe
AB
41862012-10-31 Andrew Burgess <aburgess@broadcom.com>
4187
4188 PR cli/14772
4189 * gdb.base/gnu_vector.c (union_with_vector_1)
4190 (struct_with_vector_1): Add new struct and union for testing
4191 ptype.
4192 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
4193 structs / unions containing vectors.
4194
bb662ca6
YQ
41952012-10-25 Yao Qi <yao@codesourcery.com>
4196
4197 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
4198 'setup_kfail' instead of 'setup_kfail_for_target'.
4199 * gdb.base/varargs.exp: Likewise.
4200 * lib/gdb.exp (setup_kfail_for_target): Remove.
4201
635d23ff
MK
42022012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
4203
4204 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
4205
afdb064f
MK
42062012-10-25 Mark Kettenis <kettenis@gnu.org>
4207
4208 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
4209
d99dcf51
JB
42102012-10-24 Joel Brobecker <brobecker@adacore.com>
4211
4212 * gdb.ada/set_wstr: New testcase.
4213
32560274
JB
42142012-10-24 Joel Brobecker <brobecker@adacore.com>
4215
4216 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
4217
5ded5331
JB
42182012-10-24 Joel Brobecker <brobecker@adacore.com>
4219
4220 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
4221
d8d84291
MK
42222012-10-24 Mark Kettenis <kettenis@gnu.org>
4223
4224 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
4225
6e933c51
JK
42262012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4227
4228 * gdb.base/callfuncs.exp (do_function_calls): Fix
4229 setup_kfail_for_target for -m32 mode.
4230
274bd000
MK
42312012-10-23 Mark Kettenis <kettenis@gnu.org>
4232
4233 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
4234 are now fixed.
4235
545f743d
YQ
42362012-10-23 Yao Qi <yao@codesourcery.com>
4237
4238 * gdb.base/info-os.exp: Resume the inferior until it exits.
4239
48b56b6a 42402012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
4241
99c7d5a8 4242 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
4243 * gdb.base/print-file-var.exp: Likewise.
4244 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 4245
8de0566d
YQ
42462012-10-17 Yao Qi <yao@codesourcery.com>
4247
4248 * gdb.mi/mi-memory-changed.exp: New.
4249
44883546
YQ
42502012-10-16 Yao Qi <yao@codesourcery.com>
4251
4252 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
4253 returns true.
4254 Call gdb_load_shlibs.
4255 * gdb.reverse/solib-reverse.exp: Likewise.
4256
345f514a
KS
42572012-10-15 Keith Seitz <keiths@redhat.com>
4258
4259 * lib/cp-support.exp (cp_test_ptype_class): Add support
4260 for class typedefs.
4261
4262 * gdb.cp/derivation.exp: Add tests for g_instance.
4263
9e3a7d65
JK
42642012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4265
4266 Fix entry values resolving in inlined frames.
4267 * gdb.arch/amd64-entry-value-inline.S: New file.
4268 * gdb.arch/amd64-entry-value-inline.c: New file.
4269 * gdb.arch/amd64-entry-value-inline.exp: New file.
4270
21a7b089
JK
42712012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4272 Doug Evans <dje@google.com>
4273
4274 Fix recent gdb_breakpoint regression.
4275 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
4276 braces from the parameter.
4277 * gdb.java/jprint.exp: Likewise.
4278
2c47921e
DE
42792012-10-15 Doug Evans <dje@google.com>
4280
4281 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
4282
89398707
JB
42832012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
4284
4285 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
4286
801e4185
TT
42872012-10-15 Tom Tromey <tromey@redhat.com>
4288
4289 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
4290
74f910c8
TT
42912012-10-15 Tom Tromey <tromey@redhat.com>
4292
4293 * gdb.python/py-symbol.exp: Test symbol destructor.
4294
91567807
YQ
42952012-10-14 Yao Qi <yao@codesourcery.com>
4296
4297 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
4298 * gdb.mi/mi-cli.exp: New.
4299
4300 * gdb.mi/mi2-basics.exp: Remove.
4301 * gdb.mi/mi2-break.exp: Remove.
4302 * gdb.mi/mi2-console.exp: Remove.
4303 * gdb.mi/mi2-disassemble.exp: Remove.
4304 * gdb.mi/mi2-eval.exp: Remove.
4305 * gdb.mi/mi2-file.exp: Remove.
4306 * gdb.mi/mi2-hack-cli.exp: Remove.
4307 * gdb.mi/mi2-pthreads.exp: Remove.
4308 * gdb.mi/mi2-read-memory.exp: Remove.
4309 * gdb.mi/mi2-regs.exp: Remove.
4310 * gdb.mi/mi2-return.exp: Remove.
4311 * gdb.mi/mi2-simplerun.exp: Remove.
4312 * gdb.mi/mi2-stack.exp: Remove.
4313 * gdb.mi/mi2-stepi.exp: Remove.
4314 * gdb.mi/mi2-syn-frame.exp: Remove.
4315 * gdb.mi/mi2-until.exp: Remove.
4316 * gdb.mi/mi2-watch.exp: Remove.
4317 * gdb.mi/mi2-var-block.exp: Remove.
4318 * gdb.mi/mi2-var-cmd.exp: Remove.
4319 * gdb.mi/mi2-var-display.exp: Remove.
4320
87332029
YQ
43212012-10-12 Yao Qi <yao@codesourcery.com>
4322
4323 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
4324 trail '.*' on matching patterns.
4325
11fc9057
L
43262012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4327
4328 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
4329 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
4330 * gdb.arch/i386-disp-step.exp: Likewise.
4331 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4332 * gdb.arch/i386-prologue.exp: Likewise.
4333 * gdb.arch/i386-size-overlap.exp: Likewise.
4334 * gdb.arch/i386-size.exp: Likewise.
4335 * gdb.arch/i386-unwind.exp: Likewise.
4336
7d46bcdc
L
43372012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4338
4339 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
4340 * gdb.arch/i386-word.exp: Likewise.
4341
31224d9d
L
43422012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4343
4344 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
4345 is_ilp32_target to set nr_regs.
4346 * gdb.arch/i386-sse.exp: Likewise.
4347
5b7d0050
DE
43482012-10-11 Doug Evans <dje@google.com>
4349
7c09e5a0
DE
4350 PR breakpoints/14643.
4351 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
4352 * gdb.linespec/thread.c: New file.
4353 * gdb.linespec/thread.exp: New file.
4354
5b7d0050
DE
4355 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
4356 Recognize "message" -> print pass and fail. Add eof case.
4357 (runto): Recognize message, no-message. Print pass/fail if requested,
4358 with same treatment as gdb_breakpoint.
4359 (runto_main): Pass no-message to runto.
4360 (gdb_internal_error_resync): Add log message.
4361 (gdb_file_cmd): Tweak internal error fail text for consistency.
4362
2e24f4aa
JK
43632012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4364
4365 Fix crash during stepping on ppc32.
4366 * gdb.base/step-symless.c: New file.
4367 * gdb.base/step-symless.exp: New file.
4368
aa14df25
DE
43692012-10-03 Doug Evans <dje@google.com>
4370
4371 PR symtab/14601
4372 * gdb.cp/using-crash.exp: New file.
4373 * gdb.cp/using-crash.cc: New file.
4374
975531db
DE
43752012-10-02 Doug Evans <dje@google.com>
4376
4377 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
4378 more consistent.
4379 (runto,gdb_debug_format): Ditto.
4380 (gdb_file_cmd): Watch for eof in nested gdb_expect.
4381 Clean up logging and error messages.
4382
b3dc46ff
AB
43832012-10-01 Andrew Burgess <aburgess@broadcom.com>
4384
4385 Test find command on unmapped memory.
4386 * gdb.base/find-unmapped.c: New file.
4387 * gdb.base/find-unmapped.exp: New file.
4388
45814d45
YQ
43892012-09-29 Yao Qi <yao@codesourcery.com>
4390
4391 * gdb.trace/mi-tracepoint-changed.exp: New.
4392 * gdb.mi/mi-breakpoint-changed.exp: New.
4393 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
4394 * gdb.mi/pendshr2.c: New.
4395
4c2786ba
YQ
43962012-09-28 Yao Qi <yao@codesourcery.com>
4397
4398 * gdb.mi/pr11022.exp: New.
4399 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
4400
7977e5d2
TT
44012012-09-27 Tom Tromey <tromey@redhat.com>
4402
4403 * gdb.cp/derivation.exp: Add regression test.
4404 * gdb.cp/derivation.cc (class V_base, class V_inter, class
4405 V_derived): New.
4406 (vderived): New global.
4407
0971de02
TT
44082012-09-26 Tom Tromey <tromey@redhat.com>
4409
4410 * gdb.dwarf2/dw2-common-block.S: New file.
4411 * gdb.dwarf2/dw2-common-block.exp: New file.
4412
4357ac6c
TT
44132012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4414
4415 * gdb.fortran/common-block.exp: New file.
4416 * gdb.fortran/common-block.f90: New file.
4417
6f380991
AB
44182012-09-26 Andrew Burgess <aburgess@broadcom.com>
4419
4420 * gdb.base/duplicate-bp.c: New file.
4421 * gdb.base/duplicate-bp.exp: New file.
4422
8ae551cf
YQ
44232012-09-26 Yao Qi <yao@codesourcery.com>
4424
4425 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
4426
4427 Revert:
4428 2012-09-21 Yao Qi <yao@codesourcery.com>
4429
4430 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4431
318102b9
SP
44322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4433
4434 * gdb.base/longest-types.c: New test case.
4435 * gdb.base/longest-types.exp: New test case.
4436
a1e5fd69
YQ
44372012-09-25 Yao Qi <yao@codesourcery.com>
4438
4439 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
4440
04e7407c
JK
44412012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4442
4443 Fix internal error on canonicalization of clang types.
4444 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
4445 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
4446 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
4447
9bf4bce9
JK
44482012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4449
4450 Fix disassemble without parameters in tailcall frame.
4451 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
4452
2603f7ee
AB
44532012-09-21 Andrew Burgess <aburgess@broadcom.com>
4454
4455 * gdb.dwarf2/dw2-op-out-param.S: New file.
4456 * gdb.dwarf2/dw2-op-out-param.exp: New file.
4457
a3569abd
YQ
44582012-09-21 Yao Qi <yao@codesourcery.com>
4459
4460 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
4461
a065d7af
YQ
44622012-09-21 Yao Qi <yao@codesourcery.com>
4463
4464 * gdb.mi/mi-cli.exp: Remove.
4465 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
4466
15544bd9
YQ
44672012-09-21 Yao Qi <yao@codesourcery.com>
4468
4469 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
4470 "=record-started" notification.
4471
82a90ccf
YQ
44722012-09-21 Yao Qi <yao@codesourcery.com>
4473
4474 * gdb.mi/mi-record-changed.exp: New.
4475 * gdb.mi/mi-reverse.exp: Adjust expected output.
4476
d7de8e3c
TT
44772012-09-20 Tom Tromey <tromey@redhat.com>
4478
4479 * gdb.python/python.exp: Test atexit.register.
4480
1aa99537
DE
44812012-09-20 Doug Evans <dje@google.com>
4482
05eade73
DE
4483 * boards/dwarf4-gdb-index.exp: New file.
4484
1aa99537
DE
4485 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
4486 while running the tests.
4487
4ae24af0
JB
44882012-09-18 Joel Brobecker <brobecker@adacore.com>
4489
4490 * gdb.ada/bp_reset: New testcase.
4491
bb25a15c
YQ
44922012-09-18 Yao Qi <yao@codesourcery.com>
4493
4494 * gdb.trace/mi-tsv-changed.exp: New.
4495
201b4506
YQ
44962012-09-18 Yao Qi <yao@codesourcery.com>
4497
4498 * gdb.trace/mi-traceframe-changed.exp: New.
4499
6fc1c773
YQ
45002012-09-17 Yao Qi <yao@codesourcery.com>
4501
4502 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
4503 when it is less than 0.
4504
1ab3b62c
JK
45052012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4506
4507 PR 14119
4508 * gdb.arch/amd64-tailcall-ret.S: New file.
4509 * gdb.arch/amd64-tailcall-ret.c: New file.
4510 * gdb.arch/amd64-tailcall-ret.exp: New file.
4511 * gdb.reverse/amd64-tailcall-reverse.S: New file.
4512 * gdb.reverse/amd64-tailcall-reverse.c: New file.
4513 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
4514
acf9414f
JK
45152012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4516
4517 PR 14548
4518 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
4519 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
4520 * gdb.reverse/singlejmp-reverse.S: New file.
4521 * gdb.reverse/singlejmp-reverse.c: New file.
4522 * gdb.reverse/singlejmp-reverse.exp: New file.
4523
666b578b
JK
45242012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4525
4526 Fix compatibility with old GCC (~4.1).
4527 * gdb.cp/converts.cc (my_enum_var): New variable.
4528
42056501
AB
45292012-09-14 Andrew Burgess <aburgess@broadcom.com>
4530
4531 * gdb.xml/tdesc-regs.exp: Update expected output for new
4532 vector_size syntax of vector types.
4533
b9516fa1
YPK
45342012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
4535
4536 Refactor Python "gdb" module into a proper Python package, by
4537 introducing a new "_gdb" module for code implemented in C, and
4538 using reload/__import__ instead of exec.
4539 * gdb.python/python.exp (Test stderr location): Update module
4540 location of GDB-specific sys.stderr.
4541 (Test stdout location): Ditto for sys.stdout.
4542
18dc9ad8
JK
45432012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
4546
ea3a9873
KS
45472012-09-12 Keith Seitz <keiths@redhat.com>
4548
4549 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
4550 conversion statement.
4551
5941debb
DE
45522012-09-12 Doug Evans <dje@google.com>
4553
4554 * gdb.base/help.exp: Remove testing of individual command help text,
4555 too much of a maintenance burden. Instead, test the functionality
4556 of "help" itself.
4557
cfc35e02
DE
45582012-09-11 Doug Evans <dje@google.com>
4559
3a0ed5d7
DE
4560 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
4561 breakpoint.
4562
cfc35e02
DE
4563 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
4564 * gdb.dwarf2/fission-reread.S: Ditto.
4565 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
4566 * gdb.dwarf2/fission-reread.exp: Ditto.
4567
350b1b26
AB
45682012-09-11 Andrew Burgess <aburgess@broadcom.com>
4569
4570 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
4571
2fa15f23
JB
45722012-09-10 Joel Brobecker <brobecker@adacore.com>
4573
4574 * gdb.ada/optim_drec: New testcase.
4575
09be558e
DE
45762012-09-10 Doug Evans <dje@google.com>
4577
4578 * boards/fission.exp: Explicitly mark "board" as not remote.
4579
5b4f6e25
KS
45802012-09-10 Keith Seitz <keiths@redhat.com>
4581
4582 PR gdb/13483
4583 * gdb.cp/converts.cc (A::A): Add ctor.
4584 (A::member_): Add member.
4585 (enum my_enum): New enumeration.
4586 (main): Add calls to foo1_7 with various
4587 permitted arguments.
4588 * gdb.cp/converts.exp: Add tests for boolean
4589 conversions permitted by the standard.
4590
b4ca5ed9
YPK
45912012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
4592
4593 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
4594 avoid spurious results due to ~/.gdbinit.
4595 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
4596 $INTERNAL_GDBFLAGS in run command.
4597 * gdb.gdb/observer.exp (setup_test): Ditto.
4598 * gdb.gdb/selftest.exp (test_with_self): Ditto.
4599 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
4600
d54b30bb
DE
46012012-09-06 Doug Evans <dje@google.com>
4602
14910956
DE
4603 * boards/fission.exp: New file.
4604
d54b30bb
DE
4605 * gdb.python/py-value.exp: Use clean_restart.
4606
91b253e1
DE
46072012-09-05 Doug Evans <dje@google.com>
4608
4609 * gdb.base/info-macros.c: Fix whitespace.
4610
1292279a
PA
46112012-08-28 Pedro Alves <palves@redhat.com>
4612
4613 PR gdb/14428
4614
4615 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
4616
1c8cdcb1
JK
46172012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4618
4619 * gdb.base/break-caller-line.c: New file.
4620 * gdb.base/break-caller-line.exp: New file.
4621
1e8e8b51
JK
46222012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4623
4624 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
4625 * gdb.arch/i386-cfi-notcurrent.S: New file.
4626 * gdb.arch/i386-cfi-notcurrent.exp: New file.
4627
1591a1e8
PA
46282012-08-27 Wei-cheng Wang <cole945@gmail.com>
4629 Yao Qi <yao@codesourcery.com>
4630 Pedro Alves <palves@redhat.com>
4631
4632 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
4633 New procedures.
4634 (top level): Add overlap checking tests.
4635
4442ada7
TT
46362012-08-24 Tom Tromey <tromey@redhat.com>
4637
4638 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
4639 gdb_test_multiple fails for other reasons.
4640
e7d50cc9
YQ
46412012-08-24 Yao Qi <yao@codesourcery.com>
4642
4643 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
4644
dfbd5e7b
PA
46452012-08-23 Pedro Alves <palves@redhat.com>
4646
4647 * gdb.base/help.exp: Adjust to "handle" help text change.
4648
8d735b87
YQ
46492012-08-23 Yao Qi <yao@codesourcery.com>
4650
4651 * gdb.trace/disconnected-tracing.c (start, end): New.
4652 (main): Call start and end.
4653 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
4654 existing tests into this proc.
4655 (disconnected_tfind): New.
4656
61b1d759
YQ
46572012-08-23 Yao Qi <yao@codesourcery.com>
4658
4659 * boards/native-gdbserver.exp (${board}_upload): New.
4660 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
4661 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
4662 Execute tfile on remote target.
4663 Copy trace file from target to host.
4664
6ca1b147
JM
46652012-08-22 Joseph Myers <joseph@codesourcery.com>
4666
4667 * gdb.arch/thumb-bx-pc.S: New file.
4668 * gdb.arch/thumb-bx-pc.exp: New file.
4669
706e3705
TT
46702012-08-22 Tom Tromey <tromey@redhat.com>
4671
4672 * gdb.base/maint.exp: Update.
4673
b4893d48
TT
46742012-08-22 Tom Tromey <tromey@redhat.com>
4675
4676 * lib/gdb.exp (skip_unwinder_tests): New proc.
4677 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
4678 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
4679
45b7da81
TT
46802012-08-21 Tom Tromey <tromey@redhat.com>
4681
4682 * gdb.hp/gdb.aCC/exception.exp: Remove.
4683
f94363d7
AP
4684012-08-19 Andrew Pinski <apinski@cavium.com>
4685
4686 * gdb.arch/mips-octeon-bbit.c: New file.
4687 * gdb.arch/mips-octeon-bbit.exp: New Test.
4688
e5afdbd7
KS
4689012-08-19 Keith Seitz <keiths@redhat.com>
4690
4691 PR c++/14365
4692 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
4693 * gdb.dwarf2/dw2-anon-mptr.S: New file.
4694
c29e8b64
JK
46952012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4696
4697 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
4698 verbose -log by more specific untested call.
4699
15a7e7bc
YQ
47002012-08-18 Yao Qi <yao@codesourcery.com>
4701
4702 * gdb.trace/tfind.exp: Move tests on various command help before
4703 checking target supports trace.
4704 Fix the expected output of 'help tfind end'.
4705
a451cb65
KS
47062012-08-17 Keith Seitz <keiths@redhat.com>
4707
4708 PR c++/13356
4709 * gdb.base/default.exp: Update all "check type" tests.
4710 * gdb.base/help.exp: Likewise.
4711 * gdb.base/setshow.exp: Likewise.
4712 * gdb.cp/converts.cc (foo1_type_check): New function.
4713 (foo2_type_check): New function.
4714 (foo3_type_check): New function.
4715 (main): Call new functions.
4716 * converts.exp: Add tests for integer-to-pointer conversions
4717 with/without strict type-checking.
4718
dbf6a605
MF
47192012-08-16 Mike Frysinger <vapier@gentoo.org>
4720
4721 * gdb.base/help.exp: Update expected output.
4722
0c92d8c1
JB
47232012-08-16 Joel Brobecker <brobecker@adacore.com>
4724
4725 * gdb.ada/rdv_wait: New testcase.
4726
e56f7f42
JK
47272012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4728
4729 * gdb.base/attach-twice.exp: Remove excessive ps exec.
4730
f47f77df
DE
47312012-08-13 Doug Evans <dje@google.com>
4732
e202d6e8 4733 * gdb.base/help.exp: Update expected output.
f47f77df
DE
4734 * gdb.base/default.exp: Update expected output of "show convenience".
4735
a72c3253
DE
47362012-08-10 Doug Evans <dje@google.com>
4737
4738 * gdb.python/py-strfns.c: New file.
4739 * gdb.python/py-strfns.exp: New file.
4740 * gdb.python/py-type.exp (test_fields): Add vector tests.
4741
de0bea00
MF
47422012-08-10 Mike Frysinger <vapier@gentoo.org>
4743
4744 PR cli/10436:
4745 * gdb.base/completion.exp: Add tests for handle completion.
4746
5b9afe8a
YQ
47472012-08-09 Yao Qi <yao@codesourcery.com>
4748
4749 * gdb.mi/mi-cmd-param-changed.exp: New.
4750 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
4751 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
4752 * gdb.mi/mi2-prompt.exp: Likewise.
4753
4f485ebc
DE
47542012-08-08 Doug Evans <dje@google.com>
4755
4756 * gdb.base/debug-expr.c: New file.
4757 * gdb.base/debug-expr.exp: New file.
4758 * gdb.base/exprs.exp: Test {type} casts.
4759 * gdb.cp/debug-expr.exp: New file.
4760
5888842d
JK
47612012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4762
4763 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
4764 global variable loop, not a 'break'. Add loop count limit to 100.
4765 Add new fail case for terminated vgdb.
4766
4f69f4c2
JK
47672012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4768 Jean-Marc Saffroy <saffroy@gmail.com>
4769
4770 PR 11804
4771 * gdb.base/gcore-relro.exp: New file.
4772 * gdb.base/gcore-relro-main.c: New file.
4773 * gdb.base/gcore-relro-lib.c: New file.
4774
e2de5390
JK
47752012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4776
4777 Do not false FAIL with old GCCs.
4778 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
4779 GCC < 4.5 in $no_hw mode.
4780
606603c5
JK
47812012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4782
4783 * gdb.base/default.exp (cd): Accept new directory with no arguments.
4784
777f26c2
JK
47852012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4786
4787 * gdb.base/list.exp (test_only_end): New function.
4788 Call it.
4789
2c12abee
TT
47902012-08-06 Tom Tromey <tromey@redhat.com>
4791
4792 * gdb.python/py-mi.exp: Add test for printer whose children
4793 are a list.
4794 * gdb.python/py-prettyprint.c (struct children_as_list): New.
4795 (main): New variable children_as_list.
4796 * gdb.python/py-prettyprint.py (class pp_children_as_list):
4797 New.
4798 (register_pretty_printers): Register new printer.
4799
0eae2cf4
EBM
48002012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4801
4802 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
4803 symbols. Abort if vgdb remote connection is closed.
4804
09e0881d
DE
48052012-08-02 Doug Evans <dje@google.com>
4806
4807 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
4808
b40f514f
SDJ
48092012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
4810
4811 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
4812 s390x, PowerPC 64 and m68k-linux.
4813
11315ae0
UW
48142012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4815
4816 * gdb.base/annota1.exp: Accept no frames-invalid notification
4817 when starting up the program.
4818 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
4819 show a symbolic value as well.
4820 * gdb.server/server-exec-info.exp: Skip test when skipping
4821 gdbserver test and/or when skipping shared library tests.
4822 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
4823 avoid name conflicts with other tests.
4824
0547eeed
UW
48252012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4826
4827 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
4828 Fix wrong output on big-endian systems.
4829 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4830 4-byte pointer types on 64-bit s390x.
4831
bdddb4de
UW
48322012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
4833
4834 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
4835 marker comment at the beginning (after intialization).
4836 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
4837 breakpoint on marker comment instead of function begin.
4838 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
4839 PowerPC.
4840 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
4841 or 64-bit PowerPC.
4842 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
4843 gdb,no_hardware_watchpoints flag is set.
4844 (initialize): Remove now redundant can-use-hw-watchpoints change.
4845
5d206025
YQ
48462012-08-02 Yao Qi <yao@codesourcery.com>
4847 Pedro Alves <palves@redhat.com>
4848
4849 * boards/local-remote-host.exp: New.
4850
4f665099
UW
48512012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4852
4853 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
4854 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
4855 * gdb.base/print-file-var.exp: Likewise.
4856 * gdb.server/solib-list.exp: Skip on remote targets.
4857
b62e2b27
UW
48582012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4859
4860 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
4861 watchpoints on ARM. When expecting software watchpoints, tolerate
4862 (remote) targets that report unsupported hardware watchpoint only
4863 at continue time.
4864 (test_wide_location_2): Likewise.
4865
a967a851
JK
48662012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4867
4868 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
4869 valgrind versions.
4870
75d9f9ff 48712012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
4872
4873 * gdb.base/valgrind-infcall.c: New file.
4874 * gdb.base/valgrind-infcall.exp: New file.
4875
75d9f9ff
JK
4876 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
4877
1c9f2ed2
KS
48782012-07-30 Keith Seitz <keiths@redhat.com>
4879
4880 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
4881 linespecs.
4882
7f9b2034
DE
48832012-07-30 Doug Evans <dje@google.com>
4884
85220e01
DE
4885 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
4886 * gdb.dwarf2/pr13961.S: Ditto.
4887
7f9b2034
DE
4888 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
4889
4e969b4f
AB
48902012-07-30 Andrew Burgess <aburgess@broadcom.com>
4891
4892 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
4893 change its format immediately after reloading the binary.
4894
e7de8362
JK
48952012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4896
4897 Fix testsuite regression after --use-deprecated-index-sections removal.
4898 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
4899 string.
4900 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
4901
7255706c
YQ
49022012-07-27 Yao Qi <yao@codesourcery.com>
4903
4904 KFAIL for PR remote/14161.
4905 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
4906 Cleanup socket files.
4907 (strace_info_marker): Detach inferior.
4908
f2e8016f
TT
49092012-07-26 Tom Tromey <tromey@redhat.com>
4910
6fdff2c5 4911 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 4912
f66713d2
JK
49132012-07-26 Markus Metzger <markus.t.metzger@intel.com>
4914
4915 * gdb.python/py-inferior.c (thread): New function.
4916 (check_threads): New function.
4917 (test_threads): New function.
4918 * gdb.python/py-inferior.exp: Added test.
4919 Replaced runto with continue to breakpoint.
4920
8223e12c
TT
49212012-07-26 Tom Tromey <tromey@redhat.com>
4922
4923 * lib/ada.exp (standard_ada_testfile): New proc.
4924 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
4925 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
4926 * gdb.ada/array_return.exp: Use standard_ada_testfile.
4927 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
4928 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
4929 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
4930 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
4931 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
4932 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
4933 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
4934 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
4935 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
4936 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
4937 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
4938 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
4939 * gdb.ada/char_param.exp: Use standard_ada_testfile.
4940 * gdb.ada/complete.exp: Use standard_ada_testfile.
4941 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
4942 standard_output_file.
4943 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
4944 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
4945 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
4946 standard_output_file.
4947 * gdb.ada/exprs.exp: Use standard_ada_testfile.
4948 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
4949 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
4950 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
4951 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
4952 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
4953 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
4954 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
4955 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
4956 * gdb.ada/homonym.exp: Use standard_ada_testfile.
4957 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
4958 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
4959 * gdb.ada/interface.exp: Use standard_ada_testfile.
4960 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
4961 standard_output_file
4962 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
4963 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
4964 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
4965 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
4966 * gdb.ada/nested.exp: Use standard_ada_testfile.
4967 * gdb.ada/null_array.exp: Use standard_ada_testfile.
4968 * gdb.ada/null_record.exp: Use standard_ada_testfile.
4969 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
4970 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
4971 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
4972 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
4973 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
4974 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
4975 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
4976 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
4977 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
4978 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
4979 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
4980 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
4981 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
4982 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
4983 * gdb.ada/start.exp: Use standard_ada_testfile.
4984 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
4985 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
4986 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
4987 * gdb.ada/tagged.exp: Use standard_ada_testfile.
4988 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
4989 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
4990 * gdb.ada/tasks.exp: Use standard_ada_testfile.
4991 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
4992 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
4993 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
4994 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
4995 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
4996 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
4997 * gdb.ada/widewide.exp: Use standard_ada_testfile.
4998
bbec57e4
JK
49992012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5000
5001 Fix testsuite regression after --use-deprecated-index-sections removal.
5002 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
5003
9cc8e32c
JK
50042012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5005
5006 Fix compatibility with Tcl before 7.5.
5007 * lib/future.exp (lreverse): New function if it does not exist.
5008
ea5ca7b5
MK
50092012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
5010
5011 * gdb.mi/mi-pending.c: New method to set a second pending
5012 breakpoint.
5013 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
5014 condition.
5015
64776a0b
PA
50162012-07-20 Pedro Alves <palves@redhat.com>
5017
5018 PR threads/11692
5019 PR gdb/12203
5020
5021 * gdb.threads/create-fail.c: New file.
5022 * gdb.threads/create-fail.exp: New file.
5023
13e4e967
PA
50242012-07-19 Pedro Alves <palves@redhat.com>
5025
5026 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
5027 * config/vx.exp (gdb_start): Likewise.
5028 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
5029 * gdb.base/setvar.exp (test_set): Likewise.
5030 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
5031 * gdb.reverse/sigall-precsave.exp: Likewise.
5032 * gdb.reverse/sigall-reverse.exp: Likewise.
5033
b7aefa4d
PA
50342012-07-19 Pedro Alves <palves@redhat.com>
5035
5036 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
5037 handler before recording.
5038
608b4967
TT
50392012-07-19 Tom Tromey <tromey@redhat.com>
5040
5041 * gdb.cp/casts.exp: Add tests for typeof and decltype.
5042 * gdb.cp/casts.cc (decltype): New function.
5043 (main): Use it.
5044
b1e0c0fa
PA
50452012-07-19 Pedro Alves <palves@redhat.com>
5046
5047 * gdb.base/sigall.exp (signals): New list.
5048 <top level>: Loop over signals in the $signals list instead of
5049 calling a test function once per signal.
5050 * gdb.reverse/sigall-precsave.exp (signals): New list.
5051 <top level>: Loop over signals in the $signals list instead of
5052 calling a test function once per signal.
5053 * gdb.reverse/sigall-reverse.exp (signals): New list.
5054 <top level>: Loop over signals in the $signals list instead of
5055 calling a test function once per signal.
5056
6ace3df1
YQ
50572012-07-19 Yao Qi <yao@codesourcery.com>
5058
5059 * gdb.base/setshow.exp: Test 'set args ~'.
5060
263a0f8c
JK
50612012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5062
5063 * gdb.base/store.exp (check_set): Import gdb_prompt.
5064 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
5065 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
5066
8f043999
JK
50672012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5068
5069 PR 11914
5070 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
5071 (main): Call eval_sub.
5072 * gdb.python/py-prettyprint.exp:
5073 (python execfile ('py-prettyprint.py')): Move it earlier.
5074 New breakpoint for eval-break.
5075 (continue to breakpoint: eval-break, info locals): New test.
5076 (python execfile ('py-prettyprint.py')): Move it from here.
5077 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
5078 (register_pretty_printers): Register pp_eval_type.
5079
725c7b66
JK
50802012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5081
5082 Fix a testcase regression by me.
5083 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
5084 DW_FORM_data4.
5085
4359dff1
JK
50862012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5087 Doug Evans <dje@google.com>
5088
5089 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
5090 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
5091
61e44cfa
JK
50922012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 Fix gdbserver run regression.
5095 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
5096
93c0ef37
TT
50972012-07-12 Tom Tromey <tromey@redhat.com>
5098
5099 * lib/gdb.exp (standard_testfile): Don't declare objdir.
5100 (clean_restart): Likewise.
5101 (core_find): Use standard_output_file.
5102
76027ef5
TT
51032012-07-12 Tom Tromey <tromey@redhat.com>
5104
5105 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
5106 * gdb.dwarf2/dw2-anonymous-func.exp: Use
5107 prepare_for_testing_full.
5108 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
5109 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
5110 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
5111 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
5112 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
5113 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
5114 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
5115 prepare_for_testing_full.
5116 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
5117 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
5118 prepare_for_testing_full.
5119 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
5120 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
5121 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
5122
85b4440a
TT
51232012-07-12 Tom Tromey <tromey@redhat.com>
5124
5125 * lib/gdb.exp (build_executable_from_specs): New proc, from
5126 build_executable.
5127 (build_executable): Use it.
5128 (prepare_for_testing_full): New proc.
5129
55baab26
TT
51302012-07-11 Tom Tromey <tromey@redhat.com>
5131
5132 * gdb.reverse/break-precsave.exp: Use standard_output_file.
5133 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
5134 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
5135 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
5136 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
5137 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
5138 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
5139 * gdb.reverse/step-precsave.exp: Use standard_output_file.
5140 * gdb.reverse/until-precsave.exp: Use standard_output_file.
5141 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
5142
298a9cf0
TT
51432012-07-10 Tom Tromey <tromey@redhat.com>
5144
5145 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
5146 standard_output_file.
5147 * gdb.mi/gdb2549.exp: Use standard_testfile.
5148 * gdb.mi/gdb669.exp: Use standard_testfile.
5149 * gdb.mi/gdb701.exp: Use standard_testfile.
5150 * gdb.mi/gdb792.exp: Use standard_testfile.
5151 * gdb.mi/mi-async.exp: Use standard_testfile.
5152 * gdb.mi/mi-basics.exp: Use standard_testfile.
5153 * gdb.mi/mi-break.exp: Use standard_testfile.
5154 * gdb.mi/mi-cli.exp: Use standard_testfile.
5155 * gdb.mi/mi-console.exp: Use standard_testfile.
5156 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
5157 * gdb.mi/mi-eval.exp: Use standard_testfile.
5158 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
5159 * gdb.mi/mi-file.exp: Use standard_testfile.
5160 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
5161 * gdb.mi/mi-logging.exp: Use standard_testfile.
5162 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
5163 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
5164 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
5165 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
5166 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
5167 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
5168 * gdb.mi/mi-pending.exp: Use standard_testfile,
5169 standard_output_file.
5170 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
5171 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
5172 * gdb.mi/mi-regs.exp: Use standard_testfile.
5173 * gdb.mi/mi-return.exp: Use standard_testfile.
5174 * gdb.mi/mi-reverse.exp: Use standard_testfile.
5175 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
5176 * gdb.mi/mi-solib.exp: Use standard_testfile,
5177 standard_output_file.
5178 * gdb.mi/mi-stack.exp: Use standard_testfile.
5179 * gdb.mi/mi-stepi.exp: Use standard_testfile.
5180 * gdb.mi/mi-stepn.exp: Use standard_testfile.
5181 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
5182 * gdb.mi/mi-until.exp: Use standard_testfile.
5183 * gdb.mi/mi-var-block.exp: Use standard_testfile.
5184 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
5185 * gdb.mi/mi-var-child.exp: Use standard_testfile.
5186 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
5187 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
5188 * gdb.mi/mi-var-display.exp: Use standard_testfile.
5189 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
5190 standard_output_file.
5191 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
5192 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
5193 * gdb.mi/mi-watch.exp: Use standard_testfile.
5194 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
5195 * gdb.mi/mi2-basics.exp: Use standard_testfile.
5196 * gdb.mi/mi2-break.exp: Use standard_testfile.
5197 * gdb.mi/mi2-cli.exp: Use standard_testfile.
5198 * gdb.mi/mi2-console.exp: Use standard_testfile.
5199 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
5200 * gdb.mi/mi2-eval.exp: Use standard_testfile.
5201 * gdb.mi/mi2-file.exp: Use standard_testfile.
5202 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
5203 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
5204 * gdb.mi/mi2-regs.exp: Use standard_testfile.
5205 * gdb.mi/mi2-return.exp: Use standard_testfile.
5206 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
5207 * gdb.mi/mi2-stack.exp: Use standard_testfile.
5208 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
5209 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
5210 * gdb.mi/mi2-until.exp: Use standard_testfile.
5211 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
5212 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
5213 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
5214 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
5215 * gdb.mi/mi2-watch.exp: Use standard_testfile.
5216
f5f3a911
TT
52172012-07-10 Tom Tromey <tromey@redhat.com>
5218
5219 * gdb.cp/abstract-origin.exp: Use standard_testfile.
5220 * gdb.cp/ambiguous.exp: Use standard_testfile,
5221 prepare_for_testing.
5222 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
5223 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
5224 * gdb.cp/anon-ns.exp: Use standard_testfile.
5225 * gdb.cp/anon-struct.exp: Use standard_testfile.
5226 * gdb.cp/anon-union.exp: Use standard_testfile,
5227 prepare_for_testing.
5228 * gdb.cp/arg-reference.exp: Use standard_testfile,
5229 prepare_for_testing.
5230 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
5231 * gdb.cp/breakpoint.exp: Use standard_testfile,
5232 prepare_for_testing.
5233 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
5234 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
5235 standard_output_file.
5236 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
5237 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
5238 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
5239 (test_static_members): Update.
5240 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
5241 * gdb.cp/converts.exp: Use standard_testfile.
5242 * gdb.cp/cp-relocate.exp: Use standard_testfile.
5243 * gdb.cp/cpcompletion.exp: Use standard_testfile,
5244 prepare_for_testing.
5245 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
5246 * gdb.cp/cplabel.exp: Use standard_testfile.
5247 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
5248 prepare_for_testing.
5249 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
5250 * gdb.cp/derivation.exp: Use standard_testfile,
5251 prepare_for_testing.
5252 * gdb.cp/destrprint.exp: Use standard_testfile.
5253 * gdb.cp/dispcxx.exp: Use standard_testfile.
5254 * gdb.cp/exception.exp: Use standard_testfile,
5255 prepare_for_testing.
5256 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
5257 * gdb.cp/extern-c.exp: Use standard_testfile,
5258 prepare_for_testing.
5259 * gdb.cp/formatted-ref.exp: Use standard_testfile,
5260 prepare_for_testing.
5261 * gdb.cp/fpointer.exp: Use standard_testfile.
5262 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
5263 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
5264 standard_output_file.
5265 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
5266 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
5267 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
5268 standard_output_file.
5269 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
5270 (do_tests): Update.
5271 * gdb.cp/koenig.exp: Use standard_testfile.
5272 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
5273 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
5274 * gdb.cp/m-static.exp: Use standard_testfile,
5275 prepare_for_testing.
5276 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
5277 * gdb.cp/mb-inline.exp: Use standard_testfile,
5278 prepare_for_testing.
5279 * gdb.cp/mb-templates.exp: Use standard_testfile,
5280 prepare_for_testing.
5281 * gdb.cp/member-ptr.exp: Use standard_testfile,
5282 prepare_for_testing.
5283 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
5284 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
5285 * gdb.cp/method2.exp: Use standard_testfile.
5286 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
5287 standard_output_file.
5288 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
5289 (do_tests): Update.
5290 * gdb.cp/namespace-enum.exp: Use standard_testfile,
5291 prepare_for_testing.
5292 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
5293 prepare_for_testing.
5294 * gdb.cp/namespace.exp: Use standard_testfile,
5295 prepare_for_testing.
5296 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
5297 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
5298 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
5299 * gdb.cp/nsimport.exp: Use standard_testfile,
5300 prepare_for_testing.
5301 * gdb.cp/nsnested.exp: Use standard_testfile.
5302 * gdb.cp/nsnoimports.exp: Use standard_testfile.
5303 * gdb.cp/nsrecurs.exp: Use standard_testfile,
5304 prepare_for_testing.
5305 * gdb.cp/nsstress.exp: Use standard_testfile,
5306 prepare_for_testing.
5307 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
5308 * gdb.cp/operator.exp: Use standard_testfile.
5309 * gdb.cp/oranking.exp: Use standard_testfile.
5310 * gdb.cp/overload-const.exp: Use standard_testfile.
5311 * gdb.cp/overload.exp: Use standard_testfile,
5312 prepare_for_testing.
5313 * gdb.cp/ovldbreak.exp: Use standard_testfile.
5314 * gdb.cp/ovsrch.exp: Use standard_testfile.
5315 * gdb.cp/paren-type.exp: Use standard_testfile.
5316 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
5317 prepare_for_testing.
5318 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
5319 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
5320 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
5321 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
5322 * gdb.cp/pr10728.exp: Use standard_testfile,
5323 standard_output_file.
5324 * gdb.cp/pr12028.exp: Use standard_testfile.
5325 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
5326 * gdb.cp/pr9167.exp: Use standard_testfile.
5327 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
5328 * gdb.cp/printmethod.exp: Use standard_testfile,
5329 prepare_for_testing.
5330 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
5331 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
5332 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
5333 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
5334 standard_output_file.
5335 * gdb.cp/readnow-language.exp: Use standard_testfile.
5336 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
5337 (gdb_start_again): Use clean_restart.
5338 * gdb.cp/ref-types.exp: Use standard_testfile,
5339 prepare_for_testing.
5340 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
5341 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
5342 * gdb.cp/smartp.exp: Use standard_testfile.
5343 * gdb.cp/static-method.exp: Use standard_testfile.
5344 * gdb.cp/static-print-quit.exp: Use standard_testfile.
5345 * gdb.cp/temargs.exp: Use standard_testfile.
5346 * gdb.cp/templates.exp: Use standard_testfile,
5347 prepare_for_testing.
5348 (do_tests): Update.
5349 * gdb.cp/try_catch.exp: Use standard_testfile,
5350 prepare_for_testing.
5351 * gdb.cp/typedef-operator.exp: Use standard_testfile.
5352 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
5353 * gdb.cp/virtbase.exp: Use standard_testfile,
5354 prepare_for_testing.
5355 * gdb.cp/virtfunc.exp: Use standard_testfile,
5356 prepare_for_testing.
5357 (do_tests): Update.
5358 * gdb.cp/virtfunc2.exp: Use standard_testfile,
5359 prepare_for_testing.
5360
686f09d0
TT
53612012-07-10 Tom Tromey <tromey@redhat.com>
5362
5363 * lib/gdb.exp (standard_testfile): Unset output variables from
5364 earlier invocations.
5365
9357e021
YQ
53662012-07-10 Yao Qi <yao@codesourcery.com>
5367
5368 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
5369 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
5370 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
5371 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
5372 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
5373 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
5374 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
5375 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
5376 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
5377 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
5378 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
5379 * gdb.mi/mi-var-display.exp: Likewise.
5380 * gdb.mi/mi-var-invalidate.exp: Likewise.
5381 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
5382 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
5383 * gdb.mi/mi2-console.exp: Likewise.
5384 * gdb.mi/mi2-disassemble.exp: Likewise.
5385 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
5386 * gdb.mi/mi2-read-memory.exp: Likewise.
5387 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
5388 * gdb.mi/mi2-simplerun.exp: Likewise.
5389 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
5390 * gdb.mi/mi2-syn-frame.exp: Likewise.
5391 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
5392 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
5393 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
5394
e314d629
TT
53952012-07-09 Tom Tromey <tromey@redhat.com>
5396
5397 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
5398 * gdb.base/callfuncs.exp: Add cast-based test.
5399 * gdb.base/callfuncs.c (voidfunc): New function.
5400
06928b3f
DE
54012012-07-08 Doug Evans <dje@google.com>
5402
5403 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
5404
32f11bad
JK
54052012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5406
5407 Fix XFAIL compatibility with old i386 systems.
5408 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
5409 Check also 'Cannot insert breakpoint 0'.
5410
76b83c51
JK
54112012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5412
5413 PR 14321
5414 * gdb.base/find.exp
5415 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
5416
a6fb9c08
TT
54172012-07-06 Tom Tromey <tromey@redhat.com>
5418
5419 * gdb.base/whatis.exp: Add test.
5420
71918a86
TT
54212012-07-06 Tom Tromey <tromey@redhat.com>
5422
5423 * gdb.base/whatis.exp: Add regression test.
5424
fcde5961
TT
54252012-07-06 Tom Tromey <tromey@redhat.com>
5426
5427 * gdb.base/whatis.exp: Add tests.
5428
f9cf0f4a
JK
54292012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5430
5431 PR 12649
5432 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
5433 gdb_test_multiple $gdb_prompt terminator.
5434
979ade8b
PA
54352012-07-04 Pedro Alves <palves@redhat.com>
5436
5437 * gdb.mi/mi-reverse.exp: Use supports_reverse and
5438 supports_process_record.
5439
8a980b44
PA
54402012-07-04 Pedro Alves <palves@redhat.com>
5441
5442 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
5443 endings.
5444 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
5445
855ba978
SS
54462012-07-03 Stan Shebs <stan@codesourcery.com>
5447
5448 * gdb.base/info-os.c (main): Retry resource acquisition until an
5449 available one is found.
5450 * gdb.base/info-os.exp: Collect resource keys from the program
5451 and use them in matching.
5452
fcb44371
JK
54532012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5454
5455 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
5456 Wrap the test into loop for corefile and core0file.
5457
08a67be6
JK
54582012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5459
5460 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
5461 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
5462 .note.GNU-stack.
5463
0f3c2347
JK
5464 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
5465
ff4a4500
SDJ
54662012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
5467
5468 * gdb.base/help.exp (help b, help br, help bre, help brea, help
5469 break): Include help message for the new `-probe' and `-probe-stap'
5470 options.
5471
d3ce09f5
SS
54722012-07-02 Stan Shebs <stan@codesourcery.com>
5473
5474 * gdb.base/dprintf.exp: Add agent style tests.
5475
a1624241
JK
54762012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5477
5478 * gdb.base/stale-infcall.c (infcall): New label test-next.
5479 (main): New labels test-pass and test-fail.
5480 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
5481 $test_fail_bpnum to test-fail.
5482 (test system longjmp tracking support): New test.
5483 Delete $test_fail_bpnum.
5484 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
5485 breakpoint.
5486
42e7ad6c
DE
54872012-06-30 Doug Evans <dje@google.com>
5488
5489 * gdb.dwarf2/fission-reread.S: New file.
5490 * gdb.dwarf2/fission-reread.exp: New file.
5491
37ce89eb
SS
54922012-06-28 Stan Shebs <stan@codesourcery.com>
5493
5494 * gdb.mi/mi-logging.exp: New file.
5495
e5ef252a
PA
54962012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5497 Pedro Alves <palves@redhat.com>
5498
5499 * gdb.threads/siginfo-threads.exp: New file.
5500 * gdb.threads/siginfo-threads.c: New file.
5501 * gdb.threads/sigstep-threads.exp: New file.
5502 * gdb.threads/sigstep-threads.c: New file.
5503
22f1fbae
TT
55042012-06-28 Tom Tromey <tromey@redhat.com>
5505
5506 * gdb.go/package.exp: Partially revert earlier patch; use
5507 gdb_compile again. Use standard_output_file.
5508
2e3cf129
DE
55092012-06-27 Doug Evans <dje@google.com>
5510
5511 * gdb.dwarf2/fission-base.c: New file.
5512 * gdb.dwarf2/fission-base.S: New file.
5513 * gdb.dwarf2/fission-base.exp: New file.
5514
785fd303
JK
55152012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5516
5517 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
5518
1bb9788d
TT
55192012-06-27 Tom Tromey <tromey@redhat.com>
5520
5521 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
5522 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
5523
c83ee902
TT
55242012-06-27 Tom Tromey <tromey@redhat.com>
5525
5526 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
5527 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
5528 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
5529 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
5530 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
5531 prepare_for_testing.
5532 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
5533 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
5534 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
5535 standard_testfile.
5536 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
5537 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
5538 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
5539 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
5540 prepare_for_testing.
5541 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
5542 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
5543 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
5544 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
5545 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
5546 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
5547 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
5548 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
5549 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
5550 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
5551 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
5552 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
5553 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
5554 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
5555 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
5556 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
5557 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
5558 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
5559 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
5560 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
5561 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
5562 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
5563 standard_output_file.
5564 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
5565 standard_output_file.
5566 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
5567 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
5568 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
5569 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
5570 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
5571 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
5572 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
5573 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
5574 * gdb.dwarf2/implptr.exp: Use standard_testfile.
5575 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
5576 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
5577 * gdb.dwarf2/pieces.exp: Use standard_testfile.
5578 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
5579 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
5580 * gdb.dwarf2/valop.exp: Use standard_testfile,
5581 prepare_for_testing.
5582
5204774b
TT
55832012-06-27 Tom Tromey <tromey@redhat.com>
5584
5585 * gdb.python/python.exp: Fix regexps in pagination tests.
5586
ee0bf529
SCR
55872012-06-26 Siva Chandra Reddy <sivachandra@google.com>
5588
5589 * gdb.python/py-symtab.exp: Add tests to test the new attribute
5590 'last' of gdb.Symtab_and_line.
5591 * gdb.python/py-symbol.c: Move break point comment to enable
5592 testing of gdb.Symtab_and_line.last.
5593
14fcc022
TT
55942012-06-26 Tom Tromey <tromey@redhat.com>
5595
5596 * gdb.threads/step.c: Remove.
5597 * gdb.threads/step.exp: Remove.
5598 * gdb.threads/step2.exp: Remove.
5599
0efbbabc
TT
56002012-06-26 Tom Tromey <tromey@redhat.com>
5601
5602 * gdb.threads/watchpoint-fork.exp (test): Use
5603 standard_output_file. Don't declare objdir.
5604 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
5605 standard_output_file.
5606 * gdb.threads/attach-stopped.exp: Use standard_testfile.
5607 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
5608 clean_restart. Remove incdir.
5609 * gdb.threads/corethreads.exp: Use standard_testfile.
5610 * gdb.threads/execl.exp: Use standard_testfile,
5611 standard_output_file, clean_restart.
5612 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
5613 clean_restart.
5614 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
5615 clean_restart.
5616 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
5617 incdir.
5618 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
5619 clean_restart. Remove incdir.
5620 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
5621 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
5622 clean_restart. Remove incdir.
5623 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
5624 Remove incdir.
5625 * gdb.threads/leader-exit.exp: Use standard_testfile.
5626 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
5627 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
5628 clean_restart.
5629 * gdb.threads/manythreads.exp: Use standard_testfile,
5630 clean_restart. Remove incdir.
5631 * gdb.threads/multi-create.exp: Use standard_testfile,
5632 clean_restart.
5633 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
5634 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
5635 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
5636 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
5637 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
5638 * gdb.threads/pending-step.exp: Use standard_testfile,
5639 clean_restart. Remove incdir.
5640 * gdb.threads/print-threads.exp: Use standard_testfile,
5641 clean_restart. Remove incdir.
5642 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
5643 clean_restart. Remove incdir.
5644 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
5645 Remove incdir.
5646 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
5647 incdir.
5648 * gdb.threads/sigthread.exp: Use standard_testfile,
5649 clean_restart.
5650 * gdb.threads/staticthreads.exp: Use standard_testfile,
5651 clean_restart. Remove incdir.
5652 * gdb.threads/switch-threads.exp: Use standard_testfile,
5653 clean_restart. Remove incdir.
5654 * gdb.threads/thread-execl.exp: Use standard_testfile,
5655 clean_restart. Remove incdir.
5656 * gdb.threads/thread-find.exp: Use standard_testfile,
5657 clean_restart.
5658 * gdb.threads/thread-specific.exp: Use standard_testfile,
5659 clean_restart. Remove incdir.
5660 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
5661 clean_restart. Remove incdir.
5662 * gdb.threads/thread_check.exp: Use standard_testfile,
5663 clean_restart. Remove incdir.
5664 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
5665 incdir.
5666 * gdb.threads/threadapply.exp: Use standard_testfile,
5667 clean_restart. Remove incdir.
5668 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
5669 clean_restart. Remove incdir.
5670 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
5671 clean_restart.
5672 * gdb.threads/tls-shared.exp: Use standard_testfile,
5673 clean_restart, standard_output_file.
5674 * gdb.threads/tls-var.exp: Use standard_testfile,
5675 standard_output_file.
5676 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
5677 Remove incdir.
5678 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
5679 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
5680 incdir.
5681 * gdb.threads/watchthreads2.exp: Use standard_testfile,
5682 clean_restart. Remove incdir.
5683
497a5eb0
TT
56842012-06-26 Tom Tromey <tromey@redhat.com>
5685
5686 * gdb.trace/actions.exp: Use standard_testfile.
5687 * gdb.trace/ax.exp: Use standard_testfile.
5688 * gdb.trace/backtrace.exp: Use standard_testfile.
5689 * gdb.trace/change-loc.exp: Use standard_testfile.
5690 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
5691 * gdb.trace/collection.exp: Use standard_testfile,
5692 prepare_for_testing.
5693 * gdb.trace/deltrace.exp: Use standard_testfile.
5694 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
5695 * gdb.trace/ftrace.exp: Use standard_testfile.
5696 * gdb.trace/infotrace.exp: Use standard_testfile.
5697 * gdb.trace/packetlen.exp: Use standard_testfile.
5698 * gdb.trace/passc-dyn.exp: Use standard_testfile.
5699 * gdb.trace/passcount.exp: Use standard_testfile.
5700 * gdb.trace/pending.exp: Use standard_testfile.
5701 * gdb.trace/report.exp: Use standard_testfile.
5702 * gdb.trace/save-trace.exp: Use standard_testfile.
5703 * gdb.trace/stap-trace.exp: Use standard_testfile.
5704 * gdb.trace/status-stop.exp: Use standard_testfile.
5705 * gdb.trace/strace.exp: Use standard_testfile.
5706 * gdb.trace/tfile.exp: Use standard_testfile.
5707 * gdb.trace/tfind.exp: Use standard_testfile.
5708 * gdb.trace/trace-break.exp: Use standard_testfile.
5709 * gdb.trace/trace-mt.exp: Use standard_testfile.
5710 * gdb.trace/tracecmd.exp: Use standard_testfile.
5711 * gdb.trace/tspeed.exp: Use standard_testfile.
5712 * gdb.trace/tstatus.exp: Use standard_testfile.
5713 * gdb.trace/tsv.exp: Use standard_testfile.
5714 * gdb.trace/unavailable.exp: Use standard_testfile,
5715 prepare_for_testing.
5716 * gdb.trace/while-dyn.exp: Use standard_testfile.
5717 * gdb.trace/while-stepping.exp: Use standard_testfile.
5718
7686c074
TT
57192012-06-26 Tom Tromey <tromey@redhat.com>
5720
5721 * gdb.reverse/break-precsave.exp: Use standard_testfile.
5722 * gdb.reverse/break-reverse.exp: Use standard_testfile.
5723 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
5724 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
5725 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
5726 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
5727 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
5728 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
5729 prepare_for_testing.
5730 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
5731 prepare_for_testing.
5732 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
5733 prepare_for_testing.
5734 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
5735 prepare_for_testing.
5736 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
5737 prepare_for_testing
5738 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
5739 * gdb.reverse/machinestate.exp: Use standard_testfile.
5740 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
5741 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
5742 build_executable.
5743 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
5744 build_executable.
5745 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
5746 standard_output_file.
5747 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
5748 standard_output_file.
5749 * gdb.reverse/step-precsave.exp: Use standard_testfile.
5750 * gdb.reverse/step-reverse.exp: Use standard_testfile.
5751 * gdb.reverse/until-precsave.exp: Use standard_testfile.
5752 * gdb.reverse/until-reverse.exp: Use standard_testfile.
5753 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
5754 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
5755
481fc100
TT
57562012-06-26 Tom Tromey <tromey@redhat.com>
5757
5758 * gdb.stabs/weird.exp: Remove directory-checking code. Use
5759 standard_output_file.
5760 * gdb.stabs/exclfwd.exp: Use standard_testfile,
5761 prepare_for_testing. Remove directory-checking code.
5762
7bb18ae2
TT
57632012-06-25 Tom Tromey <tromey@redhat.com>
5764
5765 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
5766 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
5767 build_executable, not prepare_for_testing.
5768 * gdb.multi/base.exp: Use standard_output_file. Use
5769 build_executable, not prepare_for_testing.
5770
cf09b3e4
TT
57712012-06-25 Tom Tromey <tromey@redhat.com>
5772
5773 * gdb.fortran/subarray.exp: Use standard_testfile,
5774 prepare_for_testing.
5775 * gdb.fortran/multi-dim.exp: Use standard_testfile.
5776 * gdb.fortran/module.exp: Use standard_testfile.
5777 * gdb.fortran/logical.exp: Use standard_testfile.
5778 * gdb.fortran/library-module.exp: Use standard_testfile,
5779 standard_output_file.
5780 * gdb.fortran/derived-type.exp: Use standard_testfile,
5781 prepare_for_testing.
5782 * gdb.fortran/complex.exp: Use standard_testfile,
5783 prepare_for_testing.
5784 * gdb.fortran/charset.exp: Use standard_testfile.
5785 * gdb.fortran/array-element.exp: Use standard_testfile,
5786 prepare_for_testing.
5787
18b5ff1b
KS
57882012-06-25 Keith Seitz <keiths@redhat.com>
5789
5790 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
5791 Change rbreak-related tests to KFAIL and add bugzilla numbers.
5792
17b77626
TT
57932012-06-25 Tom Tromey <tromey@redhat.com>
5794
5795 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
5796 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
5797 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
5798 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
5799
f91e3dc1
TT
58002012-06-25 Tom Tromey <tromey@redhat.com>
5801
5802 * gdb.linespec/ls-errs.exp: Use standard_testfile.
5803 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
5804 * gdb.linespec/linespec.exp: Use standard_testfile.
5805
a884434d
TT
58062012-06-25 Tom Tromey <tromey@redhat.com>
5807
5808 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
5809 prepare_for_testing.
5810
efc9d70a
TT
58112012-06-25 Tom Tromey <tromey@redhat.com>
5812
5813 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
5814 prepare_for_testing.
5815 * gdb.opt/inline-break.exp: Use standard_testfile,
5816 prepare_for_testing.
5817 * gdb.opt/inline-bt.exp: Use standard_testfile,
5818 prepare_for_testing.
5819 * gdb.opt/inline-cmds.exp: Use standard_testfile,
5820 prepare_for_testing.
5821 * gdb.opt/inline-locals.exp: Use standard_testfile,
5822 prepare_for_testing.
5823
e2fc92c6
TT
58242012-06-25 Tom Tromey <tromey@redhat.com>
5825
5826 * gdb.asm/asm-source.exp: Use standard_output_file,
5827 standard_testfile. Construct .o files in proper subdir.
5828
b0963d73
TT
58292012-06-25 Tom Tromey <tromey@redhat.com>
5830
5831 * gdb.server/ext-attach.exp: Use standard_testfile,
5832 prepare_for_testing.
5833 * gdb.server/ext-run.exp: Use standard_testfile,
5834 build_executable.
5835 * gdb.server/file-transfer.exp: Use standard_testfile,
5836 prepare_for_testing.
5837 * gdb.server/server-exec-info.exp: Use standard_testfile.
5838 * gdb.server/server-mon.exp: Use standard_testfile,
5839 prepare_for_testing.
5840 * gdb.server/server-run.exp: Use standard_testfile,
5841 build_executable.
5842 * gdb.server/solib-list.exp: Use standard_testfile,
5843 standard_output_file.
5844
8a3e1f8d
TT
58452012-06-25 Tom Tromey <tromey@redhat.com>
5846
5847 * lib/gdb.exp (standard_output_file): Use "file join".
5848 * gdb.go/chan.exp: Use standard_testfile.
5849 * gdb.go/handcall.exp: Use standard_testfile.
5850 * gdb.go/hello.exp: Use standard_testfile.
5851 * gdb.integers/chan.exp: Use standard_testfile.
5852 * gdb.go/methods.exp: Use standard_testfile.
5853 * gdb.go/package.exp: Use standard_testfile.
5854 * gdb.go/strings.exp: Use standard_testfile.
5855 * gdb.go/types.exp: Use standard_testfile.
5856 * gdb.go/unsafe.exp: Use standard_testfile.
5857
944a9061
MGD
58582012-06-25 Greta Yorsh <greta.yorsh@arm.com>
5859
5860 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
5861
1c06bd58
JK
58622012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5863
5864 Fix regression by the previous commit.
5865 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
5866
b4a58790
TT
58672012-06-22 Tom Tromey <tromey@redhat.com>
5868
5869 * gdb.python/lib-types.exp: Use standard_testfile,
5870 prepare_for_testing.
5871 * gdb.python/py-block.exp: Use standard_testfile.
5872 * gdb.python/py-breakpoint.exp: Use standard_testfile.
5873 * gdb.python/py-events.exp: Use standard_testfile,
5874 standard_output_file.
5875 * gdb.python/py-evsignal.exp: Use standard_testfile.
5876 * gdb.python/py-evethreads.exp: Use standard_testfile.
5877 * gdb.python/py-explore-cc.exp: Use standard_testfile.
5878 * gdb.python/py-explore.exp: Use standard_testfile.
5879 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
5880 standard_output_file.
5881 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
5882 prepare_for_testing.
5883 * gdb.python/py-frame-inline.exp: Use standard_testfile.
5884 * gdb.python/py-frame.exp: Use standard_testfile.
5885 * gdb.python/py-inferior.exp: Use standard_testfile.
5886 * gdb.python/py-infthread.exp: Use standard_testfile.
5887 * gdb.python/py-mi.exp: Use standard_testfile.
5888 * gdb.python/py-objfile-script.exp: Use standard_testfile,
5889 build_executable.
5890 * gdb.python/py-objfile.exp: Use standard_testfile.
5891 * gdb.python/py-pp-maint.exp: Use standard_testfile,
5892 prepare_for_testing.
5893 * gdb.python/py-prettyprint.exp: Use standard_testfile.
5894 * gdb.python/py-progspace.exp: Use standard_testfile,
5895 build_executable.
5896 * gdb.python/py-prompt.exp: Use standard_testfile,
5897 build_executable.
5898 * gdb.python/py-section-script.exp: Use standard_testfile,
5899 build_executable.
5900 * gdb.python/py-shared.exp: Use standard_testfile,
5901 standard_output_file, clean_restart.
5902 * gdb.python/py-symbol.exp: Use standard_output_file,
5903 prepare_for_testing.
5904 * gdb.python/py-symtab.exp: Use standard_output_file,
5905 prepare_for_testing
5906 * gdb.python/py-template.exp: Use standard_testfile.
5907 * gdb.python/py-type.exp: Use standard_testfile.
5908 * gdb.python/py-value-cc.exp: Use standard_testfile.
5909 * gdb.python/py-value.exp: Use standard_testfile.
5910 * gdb.python/python.exp: Use standard_testfile, build_executable.
5911
2c44deac
TT
59122012-06-22 Tom Tromey <tromey@redhat.com>
5913
5914 * gdb.objc/basicclass.exp: Use standard_testfile.
5915 (do_objc_tests): Don't declare objdir.
5916 * gdb.objc/nondebug.exp: Use standard_testfile.
5917 (do_objc_tests): Don't declare objdir.
5918 * gdb.objc/objcdecode.exp: Use standard_testfile.
5919 (do_objc_tests): Don't declare objdir.
5920
c24ccbce
TT
59212012-06-22 Tom Tromey <tromey@redhat.com>
5922
5923 * gdb.java/jmain.exp: Use standard_testfile.
5924 * gdb.java/jmisc.exp: Use standard_testfile.
5925 * gdb.java/jnpe.exp: Use standard_testfile.
5926 * gdb.java/jprint.exp: Use standard_testfile.
5927
0a6d0306
TT
59282012-06-22 Tom Tromey <tromey@redhat.com>
5929
5930 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
5931 (standard_output_file, standard_testfile): New procs.
5932 (build_executable, clean_restart): Use standard_output_file.
5933
6ea815ef
YQ
59342012-06-22 Yao Qi <yao@codesourcery.com>
5935
5936 * boards/native-gdbserver.exp: New proc ${board}_exec.
5937 * boards/native-stdio-gdbserver.exp: Likewise.
5938
4c93b1db
TT
59392012-06-21 Tom Tromey <tromey@redhat.com>
5940
5941 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
5942 (build_executable): Update.
5943 (get_compiler_info): Remove 'binfile' argument.
5944 * gdb.ada/arrayidx.exp: Update.
5945 * gdb.ada/null_array.exp: Update.
5946 * gdb.arch/altivec-abi.exp: Update.
5947 * gdb.arch/altivec-regs.exp: Update.
5948 * gdb.arch/amd64-byte.exp: Update.
5949 * gdb.arch/amd64-dword.exp: Update.
5950 * gdb.arch/amd64-word.exp: Update.
5951 * gdb.arch/i386-avx.exp: Update.
5952 * gdb.arch/i386-byte.exp: Update.
5953 * gdb.arch/i386-sse.exp: Update.
5954 * gdb.arch/i386-word.exp: Update.
5955 * gdb.arch/ppc-dfp.exp: Update.
5956 * gdb.arch/ppc-fp.exp: Update.
5957 * gdb.arch/vsx-regs.exp: Update.
5958 * gdb.base/all-bin.exp: Update.
5959 * gdb.base/annota1.exp: Update.
5960 * gdb.base/async.exp: Update.
5961 * gdb.base/attach.exp: Update.
5962 * gdb.base/break-interp.exp: Update.
5963 * gdb.base/call-ar-st.exp: Update.
5964 * gdb.base/call-rt-st.exp: Update.
5965 * gdb.base/call-sc.exp: Update.
5966 * gdb.base/callfuncs.exp: Update.
5967 * gdb.base/catch-load.exp: Update.
5968 * gdb.base/completion.exp: Update.
5969 * gdb.base/complex.exp: Update.
5970 * gdb.base/condbreak.exp: Update.
5971 * gdb.base/consecutive.exp: Update.
5972 * gdb.base/constvars.exp: Update.
5973 * gdb.base/corefile.exp: Update.
5974 * gdb.base/eval-skip.exp: Update.
5975 * gdb.base/expand-psymtabs.exp: Update.
5976 * gdb.base/exprs.exp: Update.
5977 * gdb.base/fileio.exp: Update.
5978 * gdb.base/fixsection.exp: Update.
5979 * gdb.base/funcargs.exp: Update.
5980 * gdb.base/gdb11530.exp: Update.
5981 * gdb.base/gdb1555.exp: Update.
5982 * gdb.base/gnu-ifunc.exp: Update.
5983 * gdb.base/gnu_vector.exp: Update.
5984 * gdb.base/info-macros.exp: Update.
5985 * gdb.base/jit-simple.exp: Update.
5986 * gdb.base/jit-so.exp: Update.
5987 * gdb.base/jit.exp: Update.
5988 * gdb.base/langs.exp: Update.
5989 * gdb.base/list.exp: Update.
5990 * gdb.base/logical.exp: Update.
5991 * gdb.base/long_long.exp: Update.
5992 * gdb.base/longjmp.exp: Update.
5993 * gdb.base/macscp.exp: Update.
5994 * gdb.base/mips_pro.exp: Update.
5995 * gdb.base/miscexprs.exp: Update.
5996 * gdb.base/morestack.exp: Update.
5997 * gdb.base/nodebug.exp: Update.
5998 * gdb.base/opaque.exp: Update.
5999 * gdb.base/pc-fp.exp: Update.
6000 * gdb.base/pending.exp: Update.
6001 * gdb.base/permissions.exp: Update.
6002 * gdb.base/pointers.exp: Update.
6003 * gdb.base/prelink.exp: Update.
6004 * gdb.base/printcmds.exp: Update.
6005 * gdb.base/psymtab.exp: Update.
6006 * gdb.base/ptype.exp: Update.
6007 * gdb.base/relational.exp: Update.
6008 * gdb.base/scope.exp: Update.
6009 * gdb.base/setvar.exp: Update.
6010 * gdb.base/shlib-call.exp: Update.
6011 * gdb.base/shreloc.exp: Update.
6012 * gdb.base/signals.exp: Update.
6013 * gdb.base/sizeof.exp: Update.
6014 * gdb.base/so-impl-ld.exp: Update.
6015 * gdb.base/so-indr-cl.exp: Update.
6016 * gdb.base/solib-disc.exp: Update.
6017 * gdb.base/solib-display.exp: Update.
6018 * gdb.base/solib-nodir.exp: Update.
6019 * gdb.base/solib-overlap.exp: Update.
6020 * gdb.base/solib-symbol.exp: Update.
6021 * gdb.base/solib-weak.exp: Update.
6022 * gdb.base/solib.exp: Update.
6023 * gdb.base/store.exp: Update.
6024 * gdb.base/structs.exp: Update.
6025 * gdb.base/structs2.exp: Update.
6026 * gdb.base/type-opaque.exp: Update.
6027 * gdb.base/unload.exp: Update.
6028 * gdb.base/varargs.exp: Update.
6029 * gdb.base/volatile.exp: Update.
6030 * gdb.base/watch_thread_num.exp: Update.
6031 * gdb.base/watchpoint-solib.exp: Update.
6032 * gdb.base/watchpoint.exp: Update.
6033 * gdb.base/watchpoints.exp: Update.
6034 * gdb.base/whatis.exp: Update.
6035 * gdb.cell/arch.exp: Update.
6036 * gdb.cell/break.exp: Update.
6037 * gdb.cell/bt.exp: Update.
6038 * gdb.cell/core.exp: Update.
6039 * gdb.cell/data.exp: Update.
6040 * gdb.cell/ea-cache.exp: Update.
6041 * gdb.cell/f-regs.exp: Update.
6042 * gdb.cell/fork.exp: Update.
6043 * gdb.cell/gcore.exp: Update.
6044 * gdb.cell/mem-access.exp: Update.
6045 * gdb.cell/ptype.exp: Update.
6046 * gdb.cell/registers.exp: Update.
6047 * gdb.cell/sizeof.exp: Update.
6048 * gdb.cell/solib-symbol.exp: Update.
6049 * gdb.cell/solib.exp: Update.
6050 * gdb.cp/ambiguous.exp: Update.
6051 * gdb.cp/breakpoint.exp: Update.
6052 * gdb.cp/bs15503.exp: Update.
6053 * gdb.cp/casts.exp: Update.
6054 * gdb.cp/class2.exp: Update.
6055 * gdb.cp/cpexprs.exp: Update.
6056 * gdb.cp/cplusfuncs.exp: Update.
6057 * gdb.cp/ctti.exp: Update.
6058 * gdb.cp/dispcxx.exp: Update.
6059 * gdb.cp/gdb1355.exp: Update.
6060 * gdb.cp/gdb2384.exp: Update.
6061 * gdb.cp/gdb2495.exp: Update.
6062 * gdb.cp/infcall-dlopen.exp: Update.
6063 * gdb.cp/local.exp: Update.
6064 * gdb.cp/m-data.exp: Update.
6065 * gdb.cp/m-static.exp: Update.
6066 * gdb.cp/mb-ctor.exp: Update.
6067 * gdb.cp/mb-inline.exp: Update.
6068 * gdb.cp/mb-templates.exp: Update.
6069 * gdb.cp/member-ptr.exp: Update.
6070 * gdb.cp/method.exp: Update.
6071 * gdb.cp/namespace.exp: Update.
6072 * gdb.cp/nextoverthrow.exp: Update.
6073 * gdb.cp/nsdecl.exp: Update.
6074 * gdb.cp/nsrecurs.exp: Update.
6075 * gdb.cp/nsstress.exp: Update.
6076 * gdb.cp/nsusing.exp: Update.
6077 * gdb.cp/pr-1023.exp: Update.
6078 * gdb.cp/pr-1210.exp: Update.
6079 * gdb.cp/pr-574.exp: Update.
6080 * gdb.cp/pr9631.exp: Update.
6081 * gdb.cp/printmethod.exp: Update.
6082 * gdb.cp/psmang.exp: Update.
6083 * gdb.cp/re-set-overloaded.exp: Update.
6084 * gdb.cp/rtti.exp: Update.
6085 * gdb.cp/shadow.exp: Update.
6086 * gdb.cp/templates.exp: Update.
6087 * gdb.cp/try_catch.exp: Update.
6088 * gdb.dwarf2/dw2-ranges.exp: Update.
6089 * gdb.dwarf2/pr10770.exp: Update.
6090 * gdb.fortran/library-module.exp: Update.
6091 * gdb.hp/gdb.aCC/optimize.exp: Update.
6092 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
6093 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
6094 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
6095 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
6096 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
6097 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
6098 * gdb.hp/gdb.compat/xdb1.exp: Update.
6099 * gdb.hp/gdb.compat/xdb2.exp: Update.
6100 * gdb.hp/gdb.compat/xdb3.exp: Update.
6101 * gdb.hp/gdb.defects/bs14602.exp: Update.
6102 * gdb.hp/gdb.defects/solib-d.exp: Update.
6103 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
6104 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
6105 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
6106 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
6107 * gdb.mi/gdb792.exp: Update.
6108 * gdb.mi/mi-pending.exp: Update.
6109 * gdb.mi/mi-solib.exp: Update.
6110 * gdb.mi/mi-var-cp.exp: Update.
6111 * gdb.opt/clobbered-registers-O2.exp: Update.
6112 * gdb.opt/inline-bt.exp: Update.
6113 * gdb.opt/inline-cmds.exp: Update.
6114 * gdb.opt/inline-locals.exp: Update.
6115 * gdb.python/py-events.exp: Update.
6116 * gdb.python/py-finish-breakpoint.exp: Update.
6117 * gdb.python/py-type.exp: Update.
6118 * gdb.reverse/solib-precsave.exp: Update.
6119 * gdb.reverse/solib-reverse.exp: Update.
6120 * gdb.server/solib-list.exp: Update.
6121 * gdb.stabs/weird.exp: Update.
6122 * gdb.threads/attach-into-signal.exp: Update.
6123 * gdb.threads/attach-stopped.exp: Update.
6124 * gdb.threads/tls-shared.exp: Update.
6125 * gdb.trace/change-loc.exp: Update.
6126 * gdb.trace/strace.exp: Update.
6127
95c391b6
TT
61282012-06-19 Tom Tromey <tromey@redhat.com>
6129
6130 * gdb.base/whatis.exp: Add tests.
6131
e910f0b6
TT
61322012-06-19 Tom Tromey <tromey@redhat.com>
6133
6134 * gdb.cp/m-static.cc (keepalive): New function.
6135 (gnu_obj_1::method): Use it.
6136
422d65e7
DE
61372012-06-18 Doug Evans <dje@google.com>
6138
6139 * gdb.base/info-fun.exp: New file.
6140 * gdb.base/info-fun.c: New file.
6141 * gdb.base/info-fun-solib.c: New file.
6142
e2e4d78b
JK
61432012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6144
6145 Remove stale dummy frames.
6146 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
6147 (maintenance info breakpoints): New tests.
6148 * gdb.base/stale-infcall.c: New file.
6149 * gdb.base/stale-infcall.exp: New file.
6150
1788b2d3
JK
61512012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6152
6153 * gdb.arch/amd64-entry-value-param.S: New file.
6154 * gdb.arch/amd64-entry-value-param.c: New file.
6155 * gdb.arch/amd64-entry-value-param.exp: New file.
6156
663b969e
TT
61572012-06-15 Tom Tromey <tromey@redhat.com>
6158
6159 * gdb.cp/namespace.exp: Add "show lang" test.
6160
8e09ad05
IS
61612012-06-15 Iain Sandoe <iain@codesourcery.com>
6162
6163 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
6164 case. (top level): Use gdb_file_cmd instead of gdb_load.
6165
f85e18ee
JK
61662012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6167
6168 PR tdep/14222
6169 * gdb.arch/i386-sse-stack-align.S: New file.
6170 * gdb.arch/i386-sse-stack-align.c: New file.
6171 * gdb.arch/i386-sse-stack-align.exp: New file.
6172
f3b5e280
KS
61732012-06-13 Keith Seitz <keiths@redhat.com>
6174
6175 PR breakpoints/13798 and mi/11541
6176 * gdb.linespec/ls-errs.exp: Add a few more tests for
6177 filenames with spaces and colons.
6178
50af5481
JK
61792012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6180
6181 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
6182 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
6183 (test_function): Call CV_f.
6184 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
6185 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
6186 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
6187 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
6188 (p CV_f(CV::i)): New tests.
6189
d55637df
TT
61902012-06-13 Tom Tromey <tromey@redhat.com>
6191
6192 * gdb.base/condbreak.exp: Add tests for "condition" completion.
6193
cc80f267
JK
61942012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6195
6196 Fix regression by the "ambiguous linespec" series.
6197 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
6198 tests.
6199
bb2af9cc
JK
62002012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6201
6202 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
6203 missing.
6204
e81a37f7
TT
62052012-06-11 Tom Tromey <tromey@redhat.com>
6206
6207 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
6208 location...
6209 (main): ...here.
6210
8efd7788
YQ
62112012-06-07 Yao Qi <yao@codesourcery.com>
6212
6213 * gdb.trace/strace.exp: Shorten some too-long lines.
6214
359f5fe6
PA
62152012-06-06 Pedro Alves <palves@redhat.com>
6216
6217 * gdb.threads/clone-new-thread-event.c: New file.
6218 * gdb.threads/clone-new-thread-event.exp: New file.
6219
7b2fe205
YQ
62202012-06-06 Yao Qi <yao@codesourcery.com>
6221
6222 * gdb.base/dprintf.c (main): Add extra parameter when calling
6223 printf and fprintf.
6224 (bar): New function. It is a dead function, but to ensure
6225 'malloc' is linked explicitly.
6226
3eca55e8
YQ
62272012-06-06 Yao Qi <yao@codesourcery.com>
6228
6229 * gdb.base/info-proc.exp: Return if target doesn't support
6230 'info proc'.
6231
91cc9324
JK
62322012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6233
6234 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
6235 (run program with breakpoint commands): XFAIl if it is not.
6236
c56e7c43
JB
62372012-06-05 Joel Brobecker <brobecker@adacore.com>
6238
6239 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
6240 and add comment.
6241 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
6242 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
6243 "STOP" marker. Adjust testing strategy to make it work on
6244 all targets.
6245
6246 * gdb.base/print-file-var-main.c (main): Rewrite using local
6247 variables and adjust get_version_2's return value check.
6248 Add small comment.
6249 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
6250 marker. Adjust testing strategy to make it work on all targets.
6251
ccab2054
JB
62522012-06-05 Joel Brobecker <brobecker@adacore.com>
6253
6254 * gdb.ada/bad-task-bp-keyword: New testcase.
6255
d0d86158
JK
62562012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6257
6258 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
6259 Simplify it to ...
6260 (symbol-file ${testfile1}): ... here.
6261 (test eliminated var my_global_symbol)
6262 (test eliminated var my_static_symbol)
6263 (test eliminated var my_global_func, get address of main): Wrap them to
6264 'single psymtabs' and 'single symtabs'
6265 (get address of my_global_symbol, get address of my_static_symbol)
6266 (get address of my_global_func, get address of main): Wrap them to
6267 'order1' and 'order2'.
6268
952cf74c
JK
6269 * gdb.base/code_elim.exp
6270 (add-symbol-file ${testfile1} 0x100000)
6271 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
6272 'order2'.
6273 (order1: add-symbol-file ${testfile1} 0x100000)
6274 (order1: add-symbol-file ${testfile2} 0x200000)
6275 (order2: add-symbol-file ${testfile2} 0x200000)
6276 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
6277 .bss as appropriate.
6278
0c5bf5a9
JK
62792012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6280
6281 * gdb.server/solib-list-lib.c: New file.
6282 * gdb.server/solib-list-main.c: New file.
6283 * gdb.server/solib-list.exp: New file.
6284
4196f325
MR
62852012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
6286
6287 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
6288 for 'set print symbol' change.
6289
bfb05775
JK
62902012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6291
6292 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
6293 .debug_abbrev_seg3.
6294
685b1105
JK
62952012-05-24 John Steele Scott <toojays@toojays.net>
6296
6297 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
6298 * gdb.dwarf2/dw2-icc-opaque.S: New file.
6299 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
6300
f3e0e960
SS
63012012-05-23 Stan Shebs <stan@codesourcery.com>
6302
6303 * gdb.mi/mi-info-os.exp: New file.
6304
11eb1b4d
KS
63052012-05-23 Keith Seitz <keiths@redhat.com>
6306
6307 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
6308 return -1 to suppress the rest of the tests.
6309 (compile_stap_bin): Return boolean success value.
6310
b1af9e97
TT
63112012-05-21 Tom Tromey <tromey@redhat.com>
6312
6313 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
6314 Remove kfails.
6315 (test_print_mi_member_types): Likewise.
6316
248537e3
TT
63172012-05-21 Tom Tromey <tromey@redhat.com>
6318
6319 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
6320 print symbol' change.
6321
d791e155
TJB
63222012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
6323
6324 * gdb.python/py-prompt.exp: Quit if the target is remote.
6325
e77afa2e
JK
63262012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6327
6328 Fix ERROR: internal buffer is full.
6329 * gdb.base/info-os.exp (expect_multiline): New function.
6330 (get process list, get process groups, get threads)
6331 (get file descriptors, get internet-domain sockets)
6332 (get shared-memory regions, get semaphores, get message queues): Use
6333 it for these tests.
6334
9cb709b6
TT
63352012-05-18 Tom Tromey <tromey@redhat.com>
6336
6337 * gdb.mi/mi-var-cmd.exp: Update.
6338 * gdb.objc/basicclass.exp (do_objc_tests): Update.
6339 * gdb.cp/virtbase.exp: Update.
6340 * gdb.cp/classes.exp (test_static_members): Update.
6341 * gdb.cp/casts.exp: Update.
6342 * gdb.base/pointers.exp: Update.
6343 * gdb.base/funcargs.exp (pointer_args): Update.
6344 (structs_by_reference): Update.
6345 * gdb.base/find.exp: Update.
6346 * gdb.base/call-strs.exp: Send "set print symbol off".
6347 * gdb.base/call-ar-st.exp: Update.
6348 * gdb.ada/fun_addr.exp: Update.
6349 * gdb.base/printcmds.exp (test_print_symbol): New proc.
6350 Call it.
6351 (test_print_repeats_10, test_print_strings)
6352 (test_print_char_arrays): Update.
6353
b012acdd
TT
63542012-05-18 Tom Tromey <tromey@redhat.com>
6355
6356 * gdb.base/charset.exp (string_display): Update.
6357
1d51a733
TT
63582012-05-18 Tom Tromey <tromey@redhat.com>
6359
6360 * gdb.mi/mi2-var-display.exp: Update.
6361 * gdb.mi/mi-var-display.exp: Update.
6362 * gdb.mi/mi-var-child.exp: Update.
6363 * gdb.cp/expand-psymtabs-cxx.exp: Update.
6364 * gdb.cp/cp-relocate.exp (get_func_address): Update.
6365
957df313
DE
63662012-05-17 Doug Evans <dje@google.com>
6367
682c7f7b
DE
6368 * info-macros.exp: Pass "debug" to prepare_for_testing.
6369
957df313
DE
6370 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
6371 * gdb.ada/Makefile.in (clean): Ditto.
6372 * gdb.arch/Makefile.in (clean): Ditto.
6373 * gdb.asm/Makefile.in (clean): Ditto.
6374 * gdb.base/Makefile.in (clean): Ditto.
6375 * gdb.cell/Makefile.in (clean): Ditto.
6376 * gdb.cp/Makefile.in (clean): Ditto.
6377 * gdb.disasm/Makefile.in (clean): Ditto.
6378 * gdb.dwarf2/Makefile.in (clean): Ditto.
6379 * gdb.fortran/Makefile.in (clean): Ditto.
6380 * gdb.go/Makefile.in (clean): Ditto.
6381 * gdb.hp/Makefile.in (clean): Ditto.
6382 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
6383 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
6384 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
6385 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
6386 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
6387 * gdb.java/Makefile.in (clean): Ditto.
6388 * gdb.linespec/Makefile.in (clean): Ditto.
6389 * gdb.mi/Makefile.in (clean): Ditto.
6390 * gdb.modula2/Makefile.in (clean): Ditto.
6391 * gdb.multi/Makefile.in (clean): Ditto.
6392 * gdb.objc/Makefile.in (clean): Ditto.
6393 * gdb.opencl/Makefile.in (clean): Ditto.
6394 * gdb.opt/Makefile.in (clean): Ditto.
6395 * gdb.pascal/Makefile.in (clean): Ditto.
6396 * gdb.python/Makefile.in (clean): Ditto.
6397 * gdb.reverse/Makefile.in (clean): Ditto.
6398 * gdb.server/Makefile.in (clean): Ditto.
6399 * gdb.stabs/Makefile.in (clean): Ditto.
6400 * gdb.threads/Makefile.in (clean): Ditto.
6401 * gdb.trace/Makefile.in (clean): Ditto.
6402 * gdb.xml/Makefile.in (clean): Ditto.
6403
abc9d0dc
TT
64042012-05-16 Tom Tromey <tromey@redhat.com>
6405
6406 * gdb.base/macscp1.c (macscp_expr): Add comment.
6407 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
6408
6a3a010b
MR
64092012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6410
6411 * gdb.base/return-nodebug.exp: Also test float and double types.
6412
01429c8e
JK
64132012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6414
6415 PR testsuite/12649
6416 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
6417
54115cd4
JK
6418 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
6419
0c5f383f
SDJ
64202012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
6421
6422 * gdb.base/stap-probe.exp (stap_test): Remove calls to
6423 `rerun_to_main'.
6424 (stap_test_no_debuginfo): Likewise.
6425
e7e0cddf
SS
64262012-05-14 Stan Shebs <stan@codesourcery.com>
6427
6428 * gdb.base/dprintf.c: New file.
6429 * gdb.base/dprintf.exp: New file.
6430
c772f8e7
HZ
64312012-05-14 Hui Zhu <hui_zhu@mentor.com>
6432
6433 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
6434 * gdb.trace/disconnected-tracing.c: New file.
6435 * gdb.trace/disconnected-tracing.exp: New file.
6436
7efc75aa
SCR
64372012-05-13 Siva Chandra Reddy <sivachandra@google.com>
6438
6439 * gdb.python/python.c: Add a new breakpoint comment.
6440 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
6441
85d4a676
SS
64422011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
6443
6444 * gdb.base/info-os.exp: New file.
6445 * gdb.base/info-os.c: New file.
6446
64ea88dc
JB
64472012-05-10 Joel Brobecker <brobecker@adacore.com>
6448
4647ab1b
JB
6449 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
6450 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
6451 New files.
64ea88dc 6452
afba63f1
JB
64532012-05-10 Joel Brobecker <brobecker@adacore.com>
6454
6455 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
6456 gdb.base/ctxobj.exp: New files.
6457
9d198b1e
TT
64582012-05-09 Tom Tromey <tromey@redhat.com>
6459
6460 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
6461
9bfee719
MR
64622012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
6463
6464 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
6465
3a7341d8
MR
64662012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
6467
6468 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
6469 before using it.
6470
52b3699b
TG
64712012-05-04 Tristan Gingold <gingold@adacore.com>
6472
6473 * gdb.base/set-noassign.exp: New test.
6474
a20ee7a4
SCR
64752012-05-03 Siva Chandra Reddy <sivachandra@google.com>
6476
6477 * gdb.python/py-symbol.exp: Add tests to test the new methods
6478 gdb.Symtab.global_block() and gdb.Symtab.static_block().
6479 * gdb.python/py-symbol.c: Add new struct to help test
6480 gdb.Symtab.static_block().
6481
bf2f0858
DE
64822012-05-03 Doug Evans <dje@google.com>
6483
6484 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
6485 commented out.
6486
2d4e0376
YQ
64872012-05-03 Yao Qi <yao@codesourcery.com>
6488
6489 * gdb.base/catch-syscall.exp: Skip it before compilation if target
6490 doesn't support.
6491 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
6492 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
6493
6d0bb9f3
YQ
64942012-05-03 Yao Qi <yao@codesourcery.com>
6495
6496 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
6497
fd820528
DE
64982012-04-30 Doug Evans <dje@google.com>
6499
6500 PR testsuite/13961
6501 * gdb.dwarf2/pr13961.S: New file.
6502 * gdb.dwarf2/pr13961.exp: New file.
6503
b9e219b9
YQ
65042012-04-29 Yao Qi <yao@codesourcery.com>
6505
6506 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
6507
3019eac3
DE
65082012-04-28 Doug Evans <dje@google.com>
6509
6510 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
6511 .Ltype_int_in_cu2. Use name "int2" instead of "int".
6512 All uses updated.
6513 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
6514 "ptype func_cu1" to expand cu2 before cu1.
6515
62e5f89c
SDJ
65162012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
6517 Tom Tromey <tromey@redhat.com>
6518
6519 * gdb.base/default.exp: Add `$_probe_arg*' convenience
6520 variables.
6521 * gdb.base/stap-probe.c: New file.
6522 * gdb.base/stap-probe.exp: New file.
6523 * gdb.trace/stap-trace.c: New file.
6524 * gdb.trace/stap-trace.exp: New file.
6525 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
6526 libgcc's unwinder.
6527
14132e89
MR
65282012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
6529
6530 * gdb.arch/mips16-thunks-inmain.c: New file.
6531 * gdb.arch/mips16-thunks-main.c: New file.
6532 * gdb.arch/mips16-thunks-sin.c: New file.
6533 * gdb.arch/mips16-thunks-sinfrob.c: New file.
6534 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
6535 * gdb.arch/mips16-thunks-sinmain.c: New file.
6536 * gdb.arch/mips16-thunks-sinmips16.c: New file.
6537 * gdb.arch/mips16-thunks.exp: New file.
6538
a766d390
DE
65392012-04-25 Doug Evans <dje@google.com>
6540
6541 * configure.ac: Create gdb.go/Makefile.
6542 * configure: Regenerate.
6543 * gdb.base/default.exp: Add "go" to "set language" testing.
6544 * gdb.go/Makefile.in: New file.
6545 * gdb.go/basic-types.exp: New file.
6546 * gdb.go/chan.exp: New file.
6547 * gdb.go/chan.go: New file.
6548 * gdb.go/handcall.exp: New file.
6549 * gdb.go/handcall.go: New file.
6550 * gdb.go/hello.exp: New file.
6551 * gdb.go/hello.go: New file.
6552 * gdb.go/integers.exp: New file.
6553 * gdb.go/integers.go: New file.
6554 * gdb.go/methods.exp: New file.
6555 * gdb.go/methods.go: New file.
6556 * gdb.go/package.exp: New file.
6557 * gdb.go/package1.go: New file.
6558 * gdb.go/package2.go: New file.
6559 * gdb.go/print.exp: New file.
6560 * gdb.go/strings.exp: New file.
6561 * gdb.go/strings.go: New file.
6562 * gdb.go/types.exp: New file.
6563 * gdb.go/types.go: New file.
6564 * gdb.go/unsafe.exp: New file.
6565 * gdb.go/unsafe.go: New file.
6566 * lib/future.exp: Add Go support.
6567 (gdb_find_go, gdb_find_go_linker): New procs.
6568 (gdb_default_target_compile): Add Go support.
6569 * lib/gdb.exp (skip_go_tests): New proc.
6570 * lib/go.exp: New file.
6571
e65f9ffb
TT
65722012-04-25 Tom Tromey <tromey@redhat.com>
6573
6574 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
6575
14e75d8e
JK
65762012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6577 Jan Kratochvil <jan.kratochvil@redhat.com>
6578
6579 PR symtab/7259:
6580 * gdb.base/enumval.c: New test case.
6581 * gdb.base/enumval.exp: New test case.
6582 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
6583 field.bitpos.
6584
f3525b70
PA
65852012-04-17 Pedro Alves <palves@redhat.com>
6586
6587 * Makefile.in (site.exp): Make site.exp source
6588 $srcdir/lib/append_gdb_boards_dir.exp.
6589 * lib/append_gdb_boards_dir.exp: New file.
6590
bccbefd2
JK
65912012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6592
6593 New option "set auto-load safe-path".
6594 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
6595 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
6596
bf88dd68
JK
65972012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6598
6599 auto-load: Implementation.
6600 * gdb.base/help.exp (test set height): Increase the height.
6601 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
6602 to ...
6603 (info auto-load python-scripts): ... here.
6604 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
6605 to ...
6606 (info auto-load python-scripts *): ... here.
6607
c0d4d1c0
YQ
66082012-04-16 Yao Qi <yao@codesourcery.com>
6609
6610 * lib/trace-support.exp (get_in_proc_agent): New.
6611 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
6612 of in process trace agent.
6613 * gdb.trace/ftrace.exp: Likewise.
6614 * gdb.trace/pending.exp: Likewise.
6615 * gdb.trace/trace-break.exp: Likewise.
6616 * gdb.trace/trace-mt.exp
6617 * gdb.trace/tspeed.exp: Likewise.
6618 * gdb.trace/tstatus.exp
6619 * gdb.trace/strace.exp: Likewise.
6620
cbf68a60
TS
66212012-04-16 Thomas Schwinge <thomas@codesourcery.com>
6622
dd6d3b70
TS
6623 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
6624 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
6625
cbf68a60
TS
6626 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
6627
8264ba82
AG
66282012-04-14 Anton Gorenkov <xgsa@yandex.ru>
6629
6630 PR mi/13393
6631 * gdb.mi/mi-var-rtti.cc: New file.
6632 * gdb.mi/mi-var-rtti.exp: New file.
6633 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
6634 function.
6635 (mi_varobj_update_with_type_change): updated to avoid code duplication.
6636
de0919f8 66372012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
6638
6639 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
6640 EXECUTABLES.
6641 * gdb.python/py-explore.c: C program used for testing the new
6642 'explore' command on C constructs.
6643 * gdb.python/py-explore.cc: C++ program used for testing the new
6644 'explore' command on C++ constructs.
6645 * gdb-python/py-explore.exp: Tests for the new 'explore'
6646 command on C constructs.
6647 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
6648 command on C++ constructs.
6649
a82da7dd
MK
66502012-04-07 Mark Kettenis <kettenis@gnu.org>
6651
6652 * gdb.base/funcargs.exp (complex_args): Fix typo.
6653
e127cba8
JK
66542012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6655
6656 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
6657 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
6658
40e084e1
KS
66592012-04-05 Keith Seitz <keiths@redhat.com>
6660
6661 * gdb.base/advance.exp: Update error message for
6662 "advance malformed" test.
6663 * gdb.base/break.exp: Likewise for "breakpoint with
6664 trailing garbage" test.
6665 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
6666 with trailing garbage" test.
6667 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
6668 trailng garbage" test.
6669 * gdb.base/until.exp: Likewise for "malformed until" test.
6670 * gdb.cp/ovldbreak.exp: Create the breakpoint table
6671 for "breakpoint info (after setting on all)".
6672 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
6673 tests.
6674 * gdb.cp/cplabel.cc: New file.
6675 * gdb.cp/cplabel.exp: New test.
6676 * gdb.linespec/ls-errs.c: New file.
6677 * gdb.linespec/ls-errs.exp: New test.
6678
a72c8f6a
JK
66792012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6680
6681 * gdb.trace/unavailable.exp
6682 (collect globals: print object on: print derived_partial)
6683 (collect globals: print object on: print derived_whole)
6684 (collect globals: print object off: print derived_partial)
6685 (collect globals: print object off: print derived_whole): Update
6686 expected output.
6687
f87a3023
KS
66882012-03-30 Keith Seitz <keiths@redhat.com>
6689
6690 * gdb.python: Add test for linespecs with commas.
6691
e2171b3c
KS
66922012-03-28 Keith Seitz <keiths@redhat.com>
6693
6694 * gdb.linespec/ls-dollar.cc: New file.
6695 * gdb.linespec/ls-dollar.exp: New test.
6696
66972012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
6698
6699 * gdb.cp/namespace.exp: Add breakpoint tests for functions
6700 starting with the global namespace.
6701
2f4e0a80
DE
67022012-03-23 Doug Evans <dje@google.com>
6703
6704 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
6705
7b282c5a
SCR
67062012-03-22 Siva Chandra Reddy <sivachandra@google.com>
6707
6708 * gdb.python/py-value.cc: Add test case for testing the
6709 methodology exposing C++ values to Python.
6710 * gdb.python/py-value-cc.exp: Add tests testing the methodology
6711 exposing C++ values to Python.
6712 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
6713
2e98ca53
JK
67142012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6715 Siddhesh Poyarekar <siddhesh@redhat.com>
6716
6717 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
6718 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
6719 (generate native core dump): Make the test unsupported if core cannot
6720 be generated.
6721
8320cc4f
JK
67222012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6723
6724 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
6725 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
6726 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
6727
3a69ffb2
JK
67282012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6729
6730 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
6731
8fabffee
DE
67322012-03-17 Doug Evans <dje@google.com>
6733
6734 * dg-extract-results.sh: Handle KFAILs.
6735
ab260dad
JK
67362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6737
6738 PR symtab/13777
6739 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
6740
53ba8333
JB
67412012-03-16 Joel Brobecker <brobecker@adacore.com>
6742
6743 * gdb.ada/set_pckd_arr_elt: New testcase.
6744
481860b3
GB
67452012-03-16 Gary Benson <gbenson@redhat.com>
6746
6747 PR breakpoints/10738
6748 * gdb.opt/inline-break.exp: New file.
6749 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
6750 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
6751 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
6752 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
6753 * gdb.base/async-shell.exp: Likewise.
6754 * lib/mi-support.exp (library_loaded_re): Likewise.
6755
410528f0
TT
67562012-03-15 Tom Tromey <tromey@redhat.com>
6757
6758 * gdb.cp/virtfunc2.exp: Update expected output.
6759 * gdb.cp/pr9631.exp: Update expected output.
6760 * gdb.cp/member-ptr.exp: Update expected output.
6761 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
6762 output.
6763 * gdb.cp/casts.exp: Update expected output.
6764
c4aeac85
TT
67652012-03-15 Tom Tromey <tromey@redhat.com>
6766
6767 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
6768 (test_info_vtbl): Likewise.
6769 (do_tests): Call test_info_vtbl.
6770 * gdb.cp/virtfunc.cc (va): New global.
6771
856d06f9
TS
67722012-03-15 Thomas Schwinge <thomas@codesourcery.com>
6773
6774 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
6775 describing DWARF data structures.
6776 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
6777 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
6778 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
6779 * gdb.dwarf2/dw2-entry-value.S: Likewise.
6780 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
6781 * gdb.dwarf2/dw2-param-error.S: Likewise.
6782 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
6783 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
6784 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
6785 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
6786 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
6787 * gdb.dwarf2/pr11465.S: Likewise.
6788
e837f12a
JK
67892012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6790
6791 * gdb.mi/mi2-prompt.exp: New file.
6792
ccbb4f28
JB
67932012-03-13 Joel Brobecker <brobecker@adacore.com>
6794
6795 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
6796
32039130
JB
67972012-03-13 Joel Brobecker <brobecker@adacore.com>
6798
6799 * gdb.ada/bp_range_type: New testcase.
6800
16899756
DE
68012012-03-13 Doug Evans <dje@google.com>
6802
6803 * gdb.base/default.exp: Delete tests for symbol-reloading.
6804 * gdb.base/help.exp: Ditto.
6805 * gdb.base/setshow.exp: Ditto.
6806 * gdb.base/gdb_history: Delete references to symbol-reloading.
6807
87b0bb13
JK
68082012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6809
6810 * gdb.base/attach-twice.c: New files.
6811 * gdb.base/attach-twice.exp: New files.
6812
0d7941a9
KS
68132012-03-08 Keith Seitz <keiths@redhat.com>
6814
6815 * lib/gdb.exp (gdb_get_line_number): Throw an
6816 error instead of returning -1.
6817 * gdb.base/break.exp: Remove unused variable
6818 bp_location5.
6819 * gdb.base/hbreak2.exp: Likewise.
6820 * gdb.base/sepdebug.exp: Likewise.
6821
f4647387
YQ
68222012-03-08 Yao Qi <yao@codesourcery.com>
6823 Pedro Alves <palves@redhat.com>
6824
6825 Fix PR server/13392.
6826 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
6827 (tracepoint_change_loc_2): Remove kfail. Return if failed to
6828 download tracepoints.
6829 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
6830 (pending_tracepoint_resolved_during_trace): Likewise.
6831 (pending_tracepoint_installed_during_trace): Likewise.
6832 (pending_tracepoint_with_action_resolved): Likewise.
6833
83c532cb
KS
68342012-03-08 Keith Seitz <keiths@redhat.com>
6835
6836 * gdb.ada/array_bounds.exp: Get breakpoint for line
6837 with "START", not "STOP".
6838 * gdb.python/py-infthread.exp: Do not continue to
6839 line marked "Break here.", which is undefined.
6840
d6b6bbb7
LM
68412012-03-08 Luis Machado <lgustavo@codesourcery.com>
6842
6843 Revert:
6844
6845 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6846
6847 Implement testsuite workaround for PR breakpoints/13781.
6848 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6849 (set breakpoint condition-evaluation host): New conditional command.
6850
7fe25d9b
JK
68512012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6852
6853 Fix CU relative vs. absolute DIE offsets.
6854 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
6855 one.
6856
51898c15
JK
68572012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6858
6859 Fix false FAIL on distros with relro linkage as default.
6860 * gdb.reverse/solib-precsave.exp: Try to compile the test using
6861 -Wl,-z,norelro first.
6862
8131799e
JB
68632012-03-06 Joel Brobecker <brobecker@adacore.com>
6864
6865 * gdb.ada/bp_on_var: New testcase.
6866
ba241969
JB
68672012-03-06 Joel Brobecker <brobecker@adacore.com>
6868
6869 * gdb.ada/bp_enum_homonym: New testcase.
6870
abe49676
YQ
68712012-03-06 Yao Qi <yao@codesourcery.com>
6872
6873 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
6874 x86_64-*-* and i?86-*-*.
6875 Set up KFAIL for gdb/13808.
6876
d8df103b
TT
68772012-03-05 Tom Tromey <tromey@redhat.com>
6878
6879 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
6880 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
6881
b7b189f3
TT
68822012-03-05 Tom Tromey <tromey@redhat.com>
6883
6884 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
6885
69dc1c4d
YQ
68862012-03-04 Yao Qi <yao@codesourcery.com>
6887
6888 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
6889 messages for KFAIL.
6890
3f20c47f
JK
68912012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6892
6893 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
6894 (print one_two_three, indexes off, print few_reps, indexes off)
6895 (print many_reps, indexes off, print empty, indexes off)
6896 (print one_two_three, print few_reps, print many_reps, print empty):
6897 Call setup_xfail if $gcc_old.
6898
abf1152a
JK
68992012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6900
6901 Implement testsuite workaround for PR breakpoints/13781.
6902 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
6903 (set breakpoint condition-evaluation host): New conditional command.
6904
a06715f8
JK
69052012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6906
6907 Code cleanup.
6908 * gdb.cp/mb-templates.exp: New variables executable. Use it for
6909 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
6910 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
6911 number 1 by $bpnum. Four times.
6912
5808517f
YQ
69132012-03-03 Yao Qi <yao@codesourcery.com>
6914
6915 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
6916
dfe2ac14
JK
69172012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6918
6919 Setup KFAIL for PR server/13796.
6920 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
6921
8bbc467a
JB
69222012-03-02 Joel Brobecker <brobecker@adacore.com>
6923
6924 * gdb.ada/operator_bp: New testcase.
6925
c0eac87f
JB
69262012-03-02 Joel Brobecker <brobecker@adacore.com>
6927
6928 * gdb.ada/info_locals_renaming: New testcase.
6929
4f42c881
TT
69302012-03-02 Tom Tromey <tromey@redhat.com>
6931
6932 * gdb.base/nextoverexit.c: New file.
6933 * gdb.base/nextoverexit.exp: New file.
6934
7380c0c9
EBM
69352012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6936
6937 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
6938 parameter.
6939
1faeff08
MR
69402012-03-01 Maciej W. Rozycki <macro@mips.com>
6941
6942 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
6943 core registers.
6944
320b6f49 69452012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
6946 Maciej W. Rozycki <macro@codesourcery.com>
6947 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
6948
6949 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
6950
ad5f7d6e
PA
69512012-03-01 Pedro Alves <palves@redhat.com>
6952
6953 PR gdb/13767
6954
6955 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
6956 (gdb_collect_globals_test): Call it.
6957
d3dc44a6
KS
69582012-03-01 Keith Seitz <keiths@redhat.com>
6959
6960 * gdb.cp/method2.exp: Output of overload menu is now
6961 alphabetized. Update tests for "break A::method".
6962 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
6963 of hard-coding them.
6964 Overload menu is alphabetized: rewrite to accommodate.
6965 Unset variables LINE and TYPES which are used in other tests.
6966 Compute the output of "info break".
6967 Update the breakpoint table after all breakpoints are deleted.
6968 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
6969 compute ACTUALS and the method body based on parameters.
6970 Update expected output accordingly.
6971 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
6972 unique comments to allow the use of gdb_get_line_number.
6973
69742012-03-01 Keith Seitz <keiths@redhat.com>
6975
6976 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
6977 some Tcl syntax.
6978 * gdb.cp/ovldbreak.exp: Likewise.
6979
7949c2a0
KS
69802012-03-01 Keith Seitz <keiths@redhat.com>
6981
6982 * gdb.base/help.exp (help show user): Update expected result
6983 for new doc string changes (add "non-python").
6984
7d74f244
DE
69852012-03-01 Scott J. Goldman <scottjg@vmware.com>
6986
6987 * gdb.python/py-cmd.exp: Add test to verify that python commands can
6988 be put in the user-defined category and that the commands appear in
6989 "help user-defined".
6990
1b611343
JB
69912012-02-29 Joel Brobecker <brobecker@adacore.com>
6992
6993 * gdb.ada/tagged_not_init: New testcase.
6994
99b1c762
JB
69952012-02-29 Joel Brobecker <brobecker@adacore.com>
6996
6997 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
6998 * gdb.ada/enum_idx_packed: New testcase.
6999
2d4a02ee
JB
70002012-02-29 Joel Brobecker <brobecker@adacore.com>
7001
7002 * gdb.ada/aliased_array: New testcase.
7003
2e6fda7d
JB
70042012-02-29 Joel Brobecker <brobecker@adacore.com>
7005
7006 * gdb.ada/whatis_array_val: New testcase.
7007
9a7f938f
JK
70082012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7009
7010 Fix disp-step-syscall.exp: fork: single step over fork.
7011 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
7012 whitespaces.
7013 (single step over $syscall): Remove its check.
7014 (single step over $syscall final pc): New check.
7015
8703a944
JK
70162012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7017
7018 Support processors without SSSE3.
7019 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
7020 pabsd into ...
7021 (ssse3_test): ... a new function.
7022 (main): Call ssse3_test.
7023 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
7024 Update expected values everywhere.
7025 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
7026 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
7027 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
7028 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
7029 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
7030 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
7031 Move these tests lower.
7032 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
7033 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
7034 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
7035 New tests.
7036
c03e6ccc
YQ
70372012-02-29 Yao Qi <yao@codesourcery.com>
7038 Pedro Alves <palves@redhat.com>
7039
7040 * gdb.trace/trace-mt.c: New.
7041 * gdb.trace/trace-mt.exp: New.
7042
7964b62a
TS
70432012-02-28 Thomas Schwinge <thomas@codesourcery.com>
7044
2c8910ba
TS
7045 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
7046 numbers instead of hardcoding them.
7047 * gdb.base/annota1.c: Provide suitable markers.
7048 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
7049 numbers instead of hardcoding them.
7050 * gdb.base/annota3.c: Provide suitable markers.
7051
7052 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
7053 * gdb.base/annota3.c: Likewise.
7054 * gdb.base/sigall.c: Likewise.
7055 * gdb.base/signals.c: Likewise.
7056 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 7057
5a41c0b7
MR
70582012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
7059
7060 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
7061 failure return path.
7062
ebbbe5c5
LM
70632012-02-27 Luis Machado <lgustavo@codesourcery.com>
7064
7065 * gdb.base/save-bp.exp: Account for new condition evaluator output.
7066
8d126d8a
LM
70672012-02-24 Luis Machado <lgustavo@codesourcery.com>
7068
7069 * gdb.base/cond-eval-mode.exp: New file.
7070
11337c2f
PA
70712012-02-24 Pedro Alves <palves@redhat.com>
7072
7073 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
7074 (top level): Use with_test_prefix.
7075
13fc3e3c
PA
70762012-02-24 Pedro Alves <palves@redhat.com>
7077
7078 * gdb.threads/attach-into-signal.exp (corefunc): Use
7079 with_test_prefix.
7080
07c1b626
JK
70812012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7082
7083 Fix false FAILs on old CPUs without SSE.
7084 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
7085 Return untested for Illegal instruction.
7086
596ba138
JK
70872012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7088
7089 Fix false FAILs with glibc debug infos installed.
7090 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
7091 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
7092
aeaa2474
SA
70932012-02-22 Sterling Augustine <saugustine@google.com>
7094
7095 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
7096 constant with cast.
7097
aed555c9
PA
70982012-02-21 Pedro Alves <palves@redhat.com>
7099
7100 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
7101
78afebb4
PA
71022012-02-21 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
7105
fdcfef12
PA
71062012-02-21 Pedro Alves <palves@redhat.com>
7107
7108 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
7109 with_test_prefix.
7110
0f4d39d5
PA
71112012-02-21 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
7114 with_test_prefix here.
7115 (top level): Do it here instead. Remove `:' from the
7116 with_test_prefix string.
7117 * gdb.base/attach-pie-misread.exp: Remove the leading space the
7118 the suffix `:' from the with_test_prefix prefix string.
7119 * gdb.base/break-interp.exp: Ditto.
7120 * gdb.base/catch-load.exp: Ditto.
7121 * gdb.base/disp-step-syscall.exp: Ditto.
7122 * gdb.base/jit-so.exp: Ditto.
7123 * gdb.base/jit.exp: Ditto.
7124 * gdb.base/sepdebug.exp: Ditto.
7125 * gdb.base/solib-display.exp: Ditto.
7126 * gdb.base/solib-overlap.exp: Ditto.
7127 * gdb.base/watch-cond-infcall.exp: Ditto.
7128 * gdb.base/watchpoint.exp: Ditto.
7129 * gdb.dwarf2/dw2-noloc.exp: Ditto.
7130 * gdb.mi/mi-watch.exp: Ditto.
7131 * gdb.mi/mi2-watch.exp: Ditto.
7132 * gdb.threads/non-ldr-exc-1.exp: Ditto.
7133 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7134 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7135 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7136 * gdb.threads/watchpoint-fork.exp: Ditto.
7137 * gdb.threads/watchthreads-reorder.exp: Ditto.
7138 * gdb.trace/change-loc.exp: Ditto.
7139 * gdb.trace/pending.exp: Ditto.
7140 * gdb.trace/status-stop.exp: Ditto.
7141 * gdb.trace/strace.exp: Ditto.
7142 * gdb.trace/trace-break.exp: Ditto.
7143 * gdb.trace/unavailable.exp: Ditto.
7144 * lib/gdb.exp (with_test_prefix): Always prefix with space and
7145 suffix with colon. Adjust leading comments.
7146
6a5870ce
PA
71472012-02-21 Pedro Alves <palves@redhat.com>
7148 Tom Tromey <tromey@redhat.com>
7149
7150 * lib/gdb.exp: Add description of test prefixes.
7151 (with_test_prefix): New procedure.
7152 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
7153 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
7154 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
7155 instead of lappend to append to pf_prefix.
7156 * gdb.base/catch-load.exp: Use with_test_prefix.
7157 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
7158 * gdb.base/jit-so.exp: Use with_test_prefix.
7159 * gdb.base/jit.exp: Use with_test_prefix.
7160 * gdb.base/return-nodebug.exp (do_test): Use append instead of
7161 lappend to append to pf_prefix.
7162 * gdb.base/sepdebug.exp: Use with_test_prefix.
7163 * gdb.base/solib-display.exp: Use with_test_prefix.
7164 * gdb.base/solib-overlap.exp: Use with_test_prefix.
7165 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
7166 * gdb.base/watchpoint.exp: Use with_test_prefix.
7167 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
7168 * gdb.mi/mi-watch.exp: Use with_test_prefix.
7169 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
7170 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
7171 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
7172 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
7173 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
7174 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
7175 append instead of lappend to append to pf_prefix.
7176 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
7177 * gdb.trace/change-loc.exp: Use with_test_prefix.
7178 * gdb.trace/pending.exp: Use with_test_prefix.
7179 * gdb.trace/status-stop.exp: Use with_test_prefix.
7180 * gdb.trace/strace.exp: Use with_test_prefix.
7181 * gdb.trace/trace-break.exp: Use with_test_prefix.
7182 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
7183 instead of lappend to append to pf_prefix.
7184
35dc4a6b
JK
71852012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7186
7187 Fix racy FAILs.
7188 * gdb.base/inferior-died.c (main): Add return of 0.
7189 * gdb.base/inferior-died.exp (continue): Fix expectation of
7190 asynchronous events.
7191 (p 1): New test.
7192
c5a006e6
PA
71932012-02-20 Pedro Alves <palves@redhat.com>
7194
7195 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
7196 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
7197 gdb's internal debug output. For the non-threaded case, look for
7198 "Program received signal SIGLARM", for the threaded case, peek at
7199 the thread's siginfo.
7200
cc51a170
PA
72012012-02-20 Pedro Alves <palves@redhat.com>
7202
7203 General cleanup, make output test messages unique, and build
7204 different executable files for the non-threaded and threaded
7205 cases.
7206
7207 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
7208 Delete.
7209 (executable_nothr, executable_thr): New globals.
7210 (top level): Adjust to delete both executables.
7211 (corefunc): New parameter $executable. Set $pf_prefix instead of
7212 hand writing a prefix in tests. Issue a clean_restart and enable
7213 lin-lwp debug output here.
7214 (top level): Adjust. Use build_executable. Don't start gdb here,
7215 and don't enable lin-lwp debug output here.
7216 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
7217
c755f03d
JK
72182012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7219
7220 Fix racy FAILs.
7221 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
7222 "continue" command.
7223
6bec5e0a
JK
72242012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7225
7226 Fix for gdbserver non-extended mode.
7227 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
7228 and gdb_run_cmd.
7229
2e8265fd
TT
72302012-02-17 Tom Tromey <tromey@redhat.com>
7231
7232 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
7233 * gdb.python/py-events.exp: Check 'dir' output.
7234 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
7235
9e507076
YQ
72362012-02-17 Yao Qi <yao@codesourcery.com>
7237
7238 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
7239
32d22ab1
TT
72402012-02-16 Tom Tromey <tromey@redhat.com>
7241
7242 * gdb.base/inferior-died.c: Don't include stdio.h.
7243
9addecb9
TT
72442012-02-16 Tom Tromey <tromey@redhat.com>
7245
7246 * gdb.base/inferior-died.c: New file.
7247 * gdb.base/inferior-died.exp: New file.
7248
4cb6da1c
AR
72492012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
7250
7251 * gdb.base/break-inline.exp: New file.
7252 * gdb.base/break-inline.c: New file.
7253
3af2590d
TT
72542012-02-15 Tom Tromey <tromey@redhat.com>
7255
7256 * gdb.base/pc-fp.exp: Add "info register" tests.
7257
29988831
TT
72582012-02-15 Tom Tromey <tromey@redhat.com>
7259
7260 * gdb.base/regs.exp: Remove.
7261
10010058
PA
72622012-02-15 Pedro Alves <palves@redhat.com>
7263
7264 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
7265 the target doesn't support tracepoints.
7266 * gdb.trace/circ.exp: Ditto.
7267 * gdb.trace/collection.exp: Ditto.
7268 * gdb.trace/packetlen.exp: Ditto.
7269 * gdb.trace/passc-dyn.exp: Ditto.
7270 * gdb.trace/report.exp: Ditto.
7271 * gdb.trace/tfind.exp: Ditto.
7272 * gdb.trace/tspeed.exp: Ditto.
7273 * gdb.trace/tsv.exp: Ditto.
7274 * gdb.trace/unavailable.exp: Ditto.
7275 * gdb.trace/while-dyn.exp: Ditto.
7276
a2e0062d
PA
72772012-02-15 Pedro Alves <palves@redhat.com>
7278
7279 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
7280 gdb_test_multiple, and call unsupported instead of fail, if the
7281 remote side does not support the request.
7282
a1999d40
PA
72832012-02-15 Pedro Alves <palves@redhat.com>
7284
7285 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
7286 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
7287 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
7288 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
7289 * gdb.server/server-run.exp: Make sure gdb is disconnected.
7290 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
7291 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
7292 doesn't start with "extended-" already.
7293
7cee1e54
PA
72942012-02-15 Pedro Alves <palves@redhat.com>
7295
7296 Support extended-remote. Avoid cascading timeouts.
7297
7298 * gdb.base/attach.exp (do_attach_tests): Add expected output for
7299 the extended-remote target. If attaching with no file fails, load
7300 the file manually.
7301 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
7302
816338b5
SS
73032012-02-14 Stan Shebs <stan@codesourcery.com>
7304
7305 * gdb.base/ena-dis-br.exp: Add enable count test.
7306
cc30c4bd
PA
73072012-02-13 Pedro Alves <palves@redhat.com>
7308
7309 * config/mips-idt.exp: Delete.
7310 * gdb.base/a2-run.exp: Remove mips-idt xfails.
7311 * gdb.base/bitfields.exp: Remove mips-idt restarts.
7312 * gdb.base/break.exp: Remove mips-idt references.
7313 * gdb.base/chng-syms.exp: Ditto.
7314 * gdb.base/default.exp: Ditto.
7315 * gdb.base/funcargs.exp (funcargs_reload): Delete.
7316 (top level): Don't call it.
7317 * gdb.base/opaque.exp: Remove mips-idt restarts.
7318 * gdb.base/ptype.exp: Remove mips-idt xfails.
7319 * gdb.base/scope.exp: Remove mips-idt restarts.
7320 * gdb.base/sepdebug.exp: Remove mips-idt references.
7321 * gdb.base/watchpoint.exp (maybe_clean_restart)
7322 (maybe_reinitialize): Delete.
7323 (test_disabling_watchpoints, test_disabling_watchpoints)
7324 (test_watchpoint_triggered_in_syscall)
7325 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7326 Don't call them.
7327
57008375
JK
73282012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7329
7330 * gdb.server/server-exec-info.exp: New file.
7331
4a2d9c08
PA
73322012-02-10 Pedro Alves <palves@redhat.com>
7333
7334 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
7335 always non-empty.
7336 (test_attach): Always pass $exec to test_attach_gdb.
7337
09fa21bd
TT
73382012-02-08 Tom Tromey <tromey@redhat.com>
7339
7340 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
7341 before inferior is started.
7342
f0823d2c
TT
73432012-02-07 Tom Tromey <tromey@redhat.com>
7344
7345 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
7346 Symbol.value.
7347 * gdb.python/py-symbol.c (qq): Set default value.
7348
73492012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
7350
7351 * gdb.python/py-symbol.c (qq): New global.
7352 * gdb.python/py-symbol.exp: Add test for frame-less
7353 lookup_symbol.
7354 * gdb.python/py-symtab.exp: Fix line number.
7355
f7e44f65
JB
73562012-02-03 Joel Brobecker <brobecker@adacore.com>
7357
7358 * gdb.ada/mi_task_arg: New testcase.
7359
4c9ed63c
PA
73602012-02-02 Pedro Alves <palves@redhat.com>
7361
7362 * gdb.reverse/until-precsave.exp: Also put "record save" under the
7363 extended timeout.
7364
c0b9f2c6
PA
73652012-02-02 Pedro Alves <palves@redhat.com>
7366
7367 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
7368 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
7369
5f8cefd7
PA
73702012-02-02 Pedro Alves <palves@redhat.com>
7371
7372 * gdb.base/term.exp: Rewrite.
7373 * gdb.base/term.c: New.
7374
2f3a2569
PA
73752012-02-02 Pedro Alves <palves@redhat.com>
7376
7377 * gdb.base/default.exp (run "r" abbreviation, run): Add
7378 extended-remote expected output.
7379
f149aabd
TT
73802012-02-02 Tom Tromey <tromey@redhat.com>
7381
7382 * gdb.cp/dispcxx.exp: New file.
7383 * gdb.cp/dispcxx.cc: New file.
7384
03bef283
TT
73852012-02-01 Tom Tromey <tromey@redhat.com>
7386
7387 * gdb.base/jit-simple.exp: New file.
7388 * gdb.base/jit-simple.c: New file.
7389
a79b18b5
YQ
73902012-01-30 Yao Qi <yao@codesourcery.com>
7391
7392 * gdb.base/skip.exp: Make test result unique.
7393
f0d1a53e
JK
73942012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7395
7396 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
7397 compatibility with valgrind-3.7.0.
7398
4b3c9f41
PA
73992012-01-27 Pedro Alves <palves@redhat.com>
7400
7401 * gdb.base/watchpoint.exp (no_hw): New global.
7402 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
7403 disable hw watchpoints.
7404 (test_wide_location_1, test_wide_location_2): If no_hw is set,
7405 don't expect hw watchpoints.
7406 (no_hw_watchpoints): Always clean restart.
7407 (do_tests): New procedure, factored out from the top level.
7408 (top level): Run tests twice. Once with hw watchpoints enabled,
7409 another time with hw watchpoints disabled.
7410
a13491c8
PA
74112012-01-27 Pedro Alves <palves@redhat.com>
7412
7413 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
7414 out from the top level.
7415 (top level): Call it instead.
7416
f2c8a051
PA
74172012-01-27 Pedro Alves <palves@redhat.com>
7418
7419 * gdb.base/watchpoint.exp (top level): Re-enable hardware
7420 watchpoints sooner.
7421
654d7a9e
PA
74222012-01-27 Pedro Alves <palves@redhat.com>
7423
7424 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
7425
274f47f3
PA
74262012-01-27 Pedro Alves <palves@redhat.com>
7427
7428 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
7429 "You may have requested too many hardware
7430 breakpoints/watchpoints".
7431
e4d63ba2
PA
74322012-01-27 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.base/watchpoint.exp (maybe_clean_restart)
7435 (maybe_reinitialize): New.
7436 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
7437 expect "hit N times".
7438 (test_disabling_watchpoints, test_complex_watchpoint)
7439 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
7440 Call maybe_clean_restart.
7441 (top level): Use clean_restart. Remove "mips-idt-*"
7442 reinitialization.
7443
dbd95daf
PA
74442012-01-27 Pedro Alves <palves@redhat.com>
7445
7446 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
7447
f3ad2025
PA
74482012-01-27 Pedro Alves <palves@redhat.com>
7449
7450 * gdb.base/watchpoint.exp: Clean restart after tests that don't
7451 require `initialize' anymore. Remove unnecessary `initialize'
7452 calls.
7453
100aa3ae
PA
74542012-01-27 Pedro Alves <palves@redhat.com>
7455
7456 * gdb.base/watchpoint.exp (wp_set): Delete.
7457 (initialize, test_simple_watchpoint, top level): Remove dead code.
7458
c79a8e11
PA
74592012-01-27 Pedro Alves <palves@redhat.com>
7460
7461 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
7462 typo.
7463
048fe15a
PA
74642012-01-27 Pedro Alves <palves@redhat.com>
7465
7466 * config/extended-gdbserver.exp: New file.
7467 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
7468 comment.
7469 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
7470 * boards/native-extended-gdbserver.exp: New file.
7471
4033a6bf
PA
74722012-01-26 Pedro Alves <palves@redhat.com>
7473
7474 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
7475 and gdb_test_multiple.
7476
3d7f4b81
PA
74772012-01-26 Pedro Alves <palves@redhat.com>
7478
7479 Make test messages unique, and more identifiable.
7480 * gdb.multi/watchpoint-multi.exp: Change test messages.
7481
484abf42
TT
74822012-01-25 Tom Tromey <tromey@redhat.com>
7483
7484 * gdb.base/solib-disc.exp: Fix regexps.
7485
edcc5120
TT
74862012-01-24 Tom Tromey <tromey@redhat.com>
7487
7488 * lib/mi-support.exp (mi_expect_stop): Add special case for
7489 solib-event.
7490 * gdb.base/catch-load-so.c: New file.
7491 * gdb.base/catch-load.exp: New file.
7492 * gdb.base/catch-load.c: New file.
7493 * gdb.base/break-interp.exp (reach_1): Update regexp.
7494
30b91c90
JK
74952012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7496
7497 Fix fuzzy results.
7498 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
7499 lpsimple and func.
7500
53fe1783
GB
75012012-01-24 Gary Benson <gbenson@redhat.com>
7502
7503 Delete #if 0'd out code.
7504 * gdb.base/default.exp (info catch): Remove.
7505 * gdb.base/gdb_history (info catch): Likewise.
7506 * gdb.base/help.exp (info catch): Likewise.
7507
d0d8b0c6
JK
75082012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7509
7510 Fix watchpoints to be specific for each inferior.
7511 * gdb.multi/watchpoint-multi.c: New file.
7512 * gdb.multi/watchpoint-multi.exp: New file.
7513
4403d8e9
JK
75142012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7515
7516 Fix watchpoints across inferior fork.
7517 * gdb.threads/watchpoint-fork-child.c: New file.
7518 * gdb.threads/watchpoint-fork-mt.c: New file.
7519 * gdb.threads/watchpoint-fork-parent.c: New file.
7520 * gdb.threads/watchpoint-fork-st.c: New file.
7521 * gdb.threads/watchpoint-fork.exp: New file.
7522 * gdb.threads/watchpoint-fork.h: New file.
7523
050a2e1d
PA
75242012-01-23 Pedro Alves <palves@redhat.com>
7525
7526 * gdb.base/call-signal-resume.exp: Allow output after "return".
7527
6a52fb62
PA
75282012-01-20 Pedro Alves <palves@redhat.com>
7529
7530 * gdb.python/py-finish-breakpoint.py: Fix typo.
7531
145b16a9
UW
75322012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
7533
7534 * gdb.base/info-proc.exp: Also run on remote targets. Main
7535 "info proc" command is now always present; whether target supports
7536 actual info proc operation is detected when attempting to issue
7537 the command.
7538
26f6125e
JK
75392012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7540
7541 * .gdbinit: Remove.
7542
eb5227ce
PA
75432012-01-19 Pedro Alves <palves@redhat.com>
7544
7545 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
7546 look at the funtions' returns.
7547 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
7548 (jprint.print(int, int)): Change return type to int. Adjust.
7549
1db33378
PP
75502012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7551
7552 PR gdb/9538
7553 * gdb.base/sepdebug.exp: New test.
7554
b9736cf8
PA
75552012-01-18 Pedro Alves <palves@redhat.com>
7556
7557 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
7558 Allow output before ^done.
7559
4aac40c8
TT
75602012-01-16 Tom Tromey <tromey@redhat.com>
7561
7562 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
7563 Add tests for relative directory.
7564
cafec441
TT
75652012-01-16 Tom Tromey <tromey@redhat.com>
7566
7567 * gdb.base/printcmds.c (enum flag_enum): New.
7568 (three): New global.
7569 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
7570 enum printing.
7571 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
7572 FlagEnumerationPrinter.
7573 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
7574 * gdb.python/py-pp-maint.c (enum flag_enum): New.
7575 (fval): New global.
7576
abcc4978
PA
75772012-01-16 Pedro Alves <palves@redhat.com>
7578
7579 * lib/gdb.exp (banned_procedures): New variable.
7580 (banned_variables_traced): Rename to ...
7581 (banned_traced): ... this.
7582 (gdb_init): Also trace banned procedures.
7583 (gdb_finish): Also untrace banned procedures.
7584
97ccebe8
PA
75852012-01-16 Pedro Alves <palves@redhat.com>
7586
7587 Remove all calls to strace.
7588
2af7517b
JK
75892012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7590
7591 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
7592 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
7593
9241a8bc
PP
75942012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7595
7596 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
7597 * gdb.base/pie-execl.exp: Likewise.
7598
3848a17f
KS
75992012-01-12 Keith Seitz <keiths@redhat.com>
7600
7601 PR mi/10586
7602 * gdb.mi/var-cmd.c (struct anonymous): New structure.
7603 (do_anonymous_type_tests): New function.
7604 (main): Call do_anonymous_type_tests.
7605 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
7606 (verify_everything): New procedure.
7607 * gdb.mi/mi-var-cp.cc (class A): New class.
7608 (anonymous_structs_and_unions): New function.
7609 (main): Call anonymous_structs_and_unions.
7610 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
7611 (verify_everything): New procedure.
7612
440e2fca
KS
76132012-01-12 Keith Seitz <keiths@redhat.com>
7614
7615 * lib/mi-support.exp: Expand comments about PATH_EXPR.
7616 (varobj_tree::get_path_expr): Assume that all varobjs are
7617 compound unless they are known simple types.
7618 Adjust path expressions based on parent type, path parent type,
7619 and tree language.
7620 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
7621 the root varobj.
7622 (mi_walk_varobj_tree): Add LANGUAGE parameter.
7623
675399c9
PA
76242012-01-11 Pedro Alves <palves@redhat.com>
7625
7626 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
7627 core files on this machine" anymore.
7628
97ddaa9b
PH
76292012-01-11 Paul Hilfinger <hilfingr@adacore.com>
7630
7631 * gdb.base/watchpoint.c (recurser): Initialize local_x.
7632 (main): Repeat recurser call.
7633 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
7634 equivalent to 'local_x'.
7635
ea733575 76362012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 7637 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
7638
7639 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
7640
2ca0b532
PA
76412012-01-05 Pedro Alves <alves.ped@gmail.com>
7642
7643 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
7644 * gdb.python/py-events.c (first): Add bits for new "step N" test.
7645 * gdb.python/py-events.exp: Test that "step N" tripping on a
7646 breakpoint emits a breakpoint event.
7647
6e681866
JB
76482012-01-03 Joel Brobecker <brobecker@adacore.com>
7649
7650 * gdb.base/auxv.exp: Reformat the copyright notice.
7651
3c2d6aff
YQ
76522012-01-03 Yao Qi <yao@codesourcery.com>
7653
7654 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
7655 (strace_trace_on_diff_addr): New.
7656 * gdb.trace/strace.c: (main): Add two local variables.
7657
0852fee3
UW
76582011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
7659
7660 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
7661 * gdb.cell/gcore.exp: Likewise.
7662 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
7663 to verify the correct instance of main is selected.
7664
12c3e59c
JB
76652012-01-02 Joel Brobecker <brobecker@adacore.com>
7666
7667 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
7668 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
7669 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
7670 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
7671 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
7672 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
7673 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
7674 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
7675 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
7676 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
7677 gdb.threads/thread_check.c: Reformat copyright header.
7678
c0f378ec
EBM
76792011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
7680
e4a7ca93 7681 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
7682 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
7683 is not enabled.
7684
3bc96cfb
JK
76852011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7686
7687 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
7688 parameter to self_exec, adjust the function.
7689 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
7690 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
7691 (set var do_exit = 0): Remove test.
7692 (newline at end of file): Add one.
7693
095bcf5e
JB
76942011-12-27 Joel Brobecker <brobecker@adacore.com>
7695
7696 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
7697 New files.
7698
18d19bd1
JK
76992011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7700
7701 Fix racy FAILs.
7702 * gdb.threads/fork-thread-pending.c (barrier): New variable.
7703 (thread_function, thread_forker): Call pthread_barrier_wait for it.
7704 (main): Call pthread_barrier_init for it.
7705
e809353a
JK
77062011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7707
7708 Fix double send_gdb leading to racy FAILs.
7709 * gdb.base/break.exp (set silent break bp_location1): Replace
7710 3x send_gdb and gdb_expect by gdb_test.
7711 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
7712 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
7713 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
7714 instead of send_gdb. Twice.
7715 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
7716 3x send_gdb and gdb_expect by gdb_test.
7717 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
7718
da8cb7ec
JK
77192011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7720
7721 * gdb.linespec/linespec.exp: Compile using {c++}.
7722
ae1a303e
JK
77232011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7724
7725 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
7726 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
7727 (verify GCC PR debug/51668): New test.
7728
cc72b2a2
KP
77292011-12-23 Kevin Pouget <kevin.pouget@st.com>
7730
7731 Introduce gdb.FinishBreakpoint in Python.
7732 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
7733 py-finish-breakpoint2
7734 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
7735 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
7736 instead of line number.
7737 * gdb.python/py-finish-breakpoint.c: New file.
7738 * gdb.python/py-finish-breakpoint.exp: New file.
7739 * gdb.python/py-finish-breakpoint.py: New file.
7740 * gdb.python/py-finish-breakpoint2.cc: New file.
7741 * gdb.python/py-finish-breakpoint2.exp: New file.
7742 * gdb.python/py-finish-breakpoint2.py: New file.
7743
3b7962f9
JK
77442011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7745
7746 Partial fix of compatibility with gcc-4.7.
7747 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
7748 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
7749 Add comment to add a PASS case in the future.
7750
6538471c
JK
7751 Fix compatibility with gcc-4.7.
7752 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
7753
7052e42c
UW
77542011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
7755
7756 PR tdep/12797
7757 * gdb.base/callfuncs.exp: Remove KFAIL.
7758
9ac7f98e
JB
77592011-12-21 Joel Brobecker <brobecker@adacore.com>
7760
7761 * gdb.ada/task_bp: New testcase.
7762
f6eeced0
JK
77632011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7764
7765 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
7766 -DNO_SECTIONS.
7767 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
7768
72225e17
JK
77692011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7770
7771 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
7772 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
7773 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7774 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
7775 conditional for gcc <= 4.5.
7776
13ac8d2c
JK
77772011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7778
7779 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
7780 by XFAIL.
7781 * gdb.cp/static-method.exp (info addr A::func())
7782 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7783 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7784 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7785 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
7786 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
7787 (test value of F in k3_m): Likewise.
7788 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
7789 Likewise.
7790
049682ba
JK
77912011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7792
7793 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
7794 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
7795 Remove.
7796 * gdb.threads/attachstop-mt.c: Remove.
7797 * gdb.threads/attachstop-mt.exp: Remove.
7798
2c9d8796
MK
77992011-12-17 Mark Kettenis <kettenis@gnu.org>
7800
7801 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
7802
e0f9f062
DE
78032011-12-16 Doug Evans <dje@google.com>
7804
f4aa2101 7805 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
7806 * boards/native-gdbserver.exp: New file.
7807
e0f9f062
DE
7808 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
7809 gdbserver output.
7810 (gdbserver_default_get_remote_address): New function.
7811 (gdbserver_start): Call gdb,get_remote_address to compute argument
7812 to "target remote" command.
7813
80b6e756
PM
78142011-12-16 Phil Muldoon <pmuldoon@redhat.com>
7815
1c3ad6ab 7816 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
7817 python print-stack. Add set/show python print-stack
7818 off|full|message tests.
7819
1576bd00
YQ
78202011-12-15 Yao Qi <yao@codesourcery.com>
7821
7822 * gdb.trace/strace.c: New
7823 * gdb.trace/strace.exp: New.
7824
d6a0f6e0
TT
78252011-12-14 Tom Tromey <tromey@redhat.com>
7826
7827 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
7828
31015e1d
DE
78292011-12-14 Doug Evans <dje@google.com>
7830
7831 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
7832
7b50312a
PA
78332011-12-14 Pedro Alves <pedro@codesourcery.com>
7834
7835 PR threads/10729
7836
7837 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 7838 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 7839
924437bc
PA
78402011-12-13 Pedro Alves <pedro@codesourcery.com>
7841 Doug Evans <dje@google.com>
7842
7843 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
7844 (clean_restart): Remove references to the gdb_stub target board
7845 variable.
7846 (gdb_step_for_stub): Delete.
7847
7848 * gdb.base/annota1.exp: Remove all references to [target_info
7849 exists gdb_stub], gdb_step_for_stub and usestubs.
7850 * gdb.base/annota3.exp: Ditto.
7851 * gdb.base/async.exp: Ditto.
7852 * gdb.base/break.exp: Ditto.
7853 * gdb.base/code-expr.exp: Ditto.
7854 * gdb.base/commands.exp: Ditto.
7855 * gdb.base/completion.exp: Ditto.
7856 * gdb.base/condbreak.exp: Ditto.
7857 * gdb.base/consecutive.exp: Ditto.
7858 * gdb.base/cvexpr.exp: Ditto.
7859 * gdb.base/define.exp: Ditto.
7860 * gdb.base/display.exp: Ditto.
7861 * gdb.base/ena-dis-br.exp: Ditto.
7862 * gdb.base/environ.exp: Ditto.
7863 * gdb.base/gnu-ifunc.exp: Ditto.
7864 * gdb.base/maint.exp: Ditto.
7865 * gdb.base/pending.exp: Ditto.
7866 * gdb.base/sect-cmd.exp: Ditto.
7867 * gdb.base/sepdebug.exp: Ditto.
7868 * gdb.base/unload.exp: Ditto.
7869 * gdb.base/watchpoint-solib.exp: Ditto.
7870 * gdb.cp/annota2.exp: Ditto.
7871 * gdb.cp/annota3.exp: Ditto.
7872 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
7873 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
7874 * gdb.mi/mi-pending.exp: Ditto.
7875 * gdb.trace/circ.exp: Ditto.
7876 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
7877 * gdb.base/list.exp: Ditto.
7878
7879 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
7880 breakpoint function and all references to the usestubs macro.
7881 * gdb.base/exprs.c: Ditto.
7882 * gdb.base/freebpcmd.c: Ditto.
7883 * gdb.base/bitfields.c: Ditto.
7884 * gdb.base/bitfields2.c: Ditto.
7885 * gdb.base/break.c: Ditto.
7886 * gdb.base/call-sc.c: Ditto.
7887 * gdb.base/call-signals.c: Ditto.
7888 * gdb.base/callfuncs.c: Ditto.
7889 * gdb.base/charset.c: Ditto.
7890 * gdb.base/consecutive.c: Ditto.
7891 * gdb.base/constvars.c: Ditto.
7892 * gdb.base/funcargs.c: Ditto.
7893 * gdb.base/int-type.c: Ditto.
7894 * gdb.base/interrupt.c: Ditto.
7895 * gdb.base/langs0.c: Ditto.
7896 * gdb.base/list0.c: Ditto.
7897 * gdb.base/mips_pro.c: Ditto.
7898 * gdb.base/miscexprs.c: Ditto.
7899 * gdb.base/nodebug.c: Ditto.
7900 * gdb.base/opaque0.c: Ditto.
7901 * gdb.base/pointers.c: Ditto.
7902 * gdb.base/printcmds.c: Ditto.
7903 * gdb.base/ptype.c: Ditto.
7904 * gdb.base/recurse.c: Ditto.
7905 * gdb.base/reread1.c: Ditto.
7906 * gdb.base/reread2.c: Ditto.
7907 * gdb.base/restore.c: Ditto.
7908 * gdb.base/return.c: Ditto.
7909 * gdb.base/run.c: Ditto.
7910 * gdb.base/scope0.c: Ditto.
7911 * gdb.base/sepdebug.c: Ditto.
7912 * gdb.base/setshow.c: Ditto.
7913 * gdb.base/setvar.c: Ditto.
7914 * gdb.base/sigall.c: Ditto.
7915 * gdb.base/signals.c: Ditto.
7916 * gdb.base/structs.c: Ditto.
7917 * gdb.base/structs2.c: Ditto.
7918 * gdb.base/testenv.c: Ditto.
7919 * gdb.base/twice.c: Ditto.
7920 * gdb.base/unwindonsignal.c: Ditto.
7921 * gdb.base/watchpoint.c: Ditto.
7922 * gdb.base/watchpoints.c: Ditto.
7923 * gdb.base/whatis.c: Ditto.
7924 * gdb.cp/classes.cc: Ditto.
7925 * gdb.cp/cplusfuncs.cc: Ditto.
7926 * gdb.cp/derivation.cc: Ditto.
7927 * gdb.cp/formatted-ref.cc: Ditto.
7928 * gdb.cp/misc.cc: Ditto.
7929 * gdb.cp/overload.cc: Ditto.
7930 * gdb.cp/ovldbreak.cc: Ditto.
7931 * gdb.cp/ref-params.cc: Ditto.
7932 * gdb.cp/ref-types.cc: Ditto.
7933 * gdb.cp/templates.cc: Ditto.
7934 * gdb.cp/virtfunc.cc: Ditto.
7935 * gdb.hp/gdb.aCC/run.c: Ditto.
7936 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
7937 * gdb.hp/gdb.compat/xdb0.c: Ditto.
7938 * gdb.reverse/consecutive-reverse.c: Ditto.
7939 * gdb.reverse/sigall-reverse.c: Ditto.
7940 * gdb.reverse/until-reverse.c: Ditto.
7941 * gdb.reverse/watch-reverse.c: Ditto.
7942 * gdb.trace/actions.c: Ditto.
7943 * gdb.trace/circ.c: Ditto.
7944 * gdb.trace/collection.c: Ditto.
7945
fabde485
PA
79462011-12-13 Pedro Alves <pedro@codesourcery.com>
7947
7948 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
7949 (func6, func7): New.
7950 (main): Call func6 and func7.
7951 * gdb.base/watchpoint.exp (test_wide_location_1)
7952 (test_wide_location_2): New.
7953 (top level): Re-enable hardware watchpoints if necessary. Call
7954 test_wide_location_1 and test_wide_location_2.
7955
ff7d1690
YQ
79562011-12-11 Yao Qi <yao@codesourcery.com>
7957
7958 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
7959
a6af7abe
JB
79602011-12-11 Joel Brobecker <brobecker@adacore.com>
7961
7962 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
7963 expected output for unsupported case.
7964
61638e15
JK
79652011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7966
7967 PR testsuite/12649
7968 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
7969 Protect gdb_test_multiple by final $gdb_prompt match.
7970
0a00efc3
JK
79712011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7972
7973 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
7974 New variable, new test.
7975 (list static-method.cc:xxx::(anonymous namespace)::A::func)
7976 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
7977 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
7978 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
7979 them if HAVE_GCC_45682_FIXED is not set.
7980
4511b1ba
YQ
79812011-12-10 Yao Qi <yao@codesourcery.com>
7982
7983 * gdb.trace/status-stop.exp: New.
7984 * gdb.trace/status-stop.c: New.
7985
27949e73
JK
79862011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7987
7988 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
7989 timeout.
7990
d8ea7931
TT
79912011-12-08 Tom Tromey <tromey@redhat.com>
7992
7993 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
7994 condition.
7995
1cc310d2
SS
79962011-12-07 Stan Shebs <stan@codesourcery.com>
7997
7998 * gdb.trace/tfind.exp: Update for output changes.
7999
d482a875
PA
80002011-12-07 Pedro Alves <pedro@codesourcery.com>
8001
8002 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
8003 throws "Cannot insert catchpoints in this configuration".
8004 * gdb.ada/mi_catch_ex.exp: Likewise.
8005
f0ba3972
PA
80062011-12-06 Pedro Alves <pedro@codesourcery.com>
8007
8008 * gdb.base/break-always.exp: Test changing memory at addresses
8009 with breakpoints inserted.
8010
f8eba3c6
TT
80112011-12-06 Joel Brobecker <brobecker@acacore.com>
8012
6fdff2c5
PA
8013 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
8014 involving a fully qualified function name.
f8eba3c6
TT
8015
80162011-12-06 Tom Tromey <tromey@redhat.com>
8017
8018 * gdb.ada/homonym.exp: Add three breakpoint tests.
8019
80202011-12-06 Tom Tromey <tromey@redhat.com>
8021
8022 * gdb.base/solib-weak.exp (do_test): Remove kfail.
8023 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
8024 * gdb.objc/objcdecode.exp: Update for output changes.
8025 * gdb.linespec/linespec.exp: New file.
8026 * gdb.linespec/lspec.cc: New file.
8027 * gdb.linespec/lspec.h: New file.
8028 * gdb.linespec/body.h: New file.
8029 * gdb.linespec/base/two/thefile.cc: New file.
8030 * gdb.linespec/base/one/thefile.cc: New file.
8031 * gdb.linespec/Makefile.in: New file.
8032 * gdb.cp/templates.exp (test_template_breakpoints): Update for
8033 output changes.
8034 * gdb.cp/re-set-overloaded.exp: Remove kfail.
8035 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
8036 makes one breakpoint.
8037 * gdb.cp/method2.exp (test_break): Update for output changes.
8038 * gdb.cp/mb-templates.exp: Update for output changes.
8039 * gdb.cp/mb-inline.exp: Update for output changes.
8040 * gdb.cp/mb-ctor.exp: Update for output changes.
8041 * gdb.cp/ovsrch.exp: Use fully-qualified names.
8042 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
8043 has multiple matches.
8044 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
8045 error message change.
8046 * gdb.base/list.exp (test_list_filename_and_number): Update for
8047 error message change.
8048 * gdb.base/break.exp: Disable pending breakpoints. Update for
8049 output changes.
8050 * configure.ac: Add gdb.linespec.
8051 * configure: Rebuild.
8052 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
8053
c642a434
UW
80542011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
8055
8056 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
8057 last_break register on s390*-*-* targets.
8058
b18003d1
JB
80592011-12-06 Joel Brobecker <brobecker@adacore.com>
8060
8061 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
8062 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
8063 of parameter X in procedure Foo.
8064
fe96589c
SS
80652011-12-05 Stan Shebs <stan@codesourcery.com>
8066
8067 * gdb.trace/tfind.exp: Update help string matches.
8068
1820ab47
JK
80692011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8070
8071 * gdb.server/ext-run.exp (get process list): Accept also systemd
8072 as PID 1.
8073
e11ac3a3
JK
80742011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8075 Pedro Alves <pedro@codesourcery.com>
8076
8077 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
8078 starting GDB.
8079 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
8080 $use_gdb_stub.
8081 * gdb.base/display.exp: Likewise.
8082 * gdb.base/ending-run.exp: Likewise.
8083 * gdb.base/list.exp (test_listsize): Likewise.
8084 * gdb.base/setshow.exp: Likewise.
8085 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
8086 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
8087 check by global $use_gdb_stub.
8088 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
8089 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
8090 (default_gdb_init): Unset global $use_gdb_stub.
8091 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
8092 by global $use_gdb_stub.
8093 * lib/gdbserver-support.exp: Extend comments for set_board_info
8094 gdb_protocol and gdb,socketport.
8095 (gdbserver_start_extended): Set global gdbserver_protocol and
8096 gdbserver_gdbport. Clear global use_gdb_stub.
8097 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
8098 from target use_gdb_stub.
8099 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
8100
1d41d75c
DE
81012011-12-03 Doug Evans <dje@google.com>
8102
8103 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
8104 (gdb_step_for_stub): Add comments.
8105
d6d7a51a
MR
81062011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
8107
8108 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
8109 to the caller.
8110 (gdb_test_multiple): Likewise.
8111
05acf274
JK
81122011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8113
8114 Fix gdb.mi/mi-solib.exp without system debug info installed.
8115 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
8116 expect attribute, return 0 for it. Update comments.
8117
2268b414
JK
81182011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8119
8120 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
8121 (corrupted list): Adjust the expectation.
8122
585861ea
JK
81232011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8124
8125 PR threads/13448
8126 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
8127 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
8128 * gdb.threads/tls-var-main.c: New file.
8129 * gdb.threads/tls-var.c: New file.
8130 * gdb.threads/tls-var.exp: New file.
8131
968643aa
JK
81322011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8133
8134 PR testsuite/12649
8135 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
8136 Protect gdb_test_multiple by final $gdb_prompt match.
8137 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
8138 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
8139 (test_tracepoints): Likewise.
8140
9750bca9
JK
81412011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 PR breakpoints/13346
8144 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
8145 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
8146 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
8147
ac1349b7
JB
81482011-12-01 Joel Brobecker <brobecker@adacore.com>
8149
8150 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
8151 * gdb.ada/homonym/homonym.adb: For use of all types defined
8152 locally inside both Get_Value subprograms.
8153
26d44faf
JK
81542011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8155
8156 Fix racy FAILs.
8157 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
8158 of send_gdb.
8159
514f6425
UW
81602011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8161
8162 * gdb.base/testenv.exp: Skip on remote targets. Unset global
8163 environment variable after test completed.
8164
4255c8d2
UW
81652011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8166
8167 * gdb.base/solib-nodir.exp: Skip if remote target.
8168 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
8169 application. Call gdb_load_shlibs.
8170 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
8171
a35ad96a
JB
81722011-11-29 Joel Brobecker <brobecker@adacore.com>
8173
8174 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
8175
1a1d5513
JB
81762011-11-28 Joel Brobecker <brobecker@adacore.com>
8177
8178 * gdb.ada/fullname_bp: New testcase.
8179
50b4ddf8
JK
81802011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8181
8182 PR testsuite/12649
8183 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
8184 Wrap send_gdb into a new gdb_test.
8185
fb0aec57
JK
8186 Code cleanup.
8187 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
8188 Convert send_gdb and gdb_expect to gdb_test_multiple.
8189
2376d946
JK
81902011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8191
8192 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
8193
1eec78bd
KS
81942011-11-23 Keith Seitz <keiths@redhat.com>
8195
8196 * lib/mi-support.exp (varobj_tree): New namespace and procs.
8197 (mi_varobj_tree_test_children_callback): New proc.
8198 (mi_walk_varobj_tree): New proc.
8199
36dfb11c
TT
82002011-11-22 Tom Tromey <tromey@redhat.com>
8201
8202 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
8203 Add "use_mi_command" argument.
8204 (mi_run_cmd, mi_run_with_cli): New procs.
8205 * gdb.mi/solib-lib.c: New file.
8206 * gdb.mi/solib-main.c: New file.
8207 * gdb.mi/mi-solib.exp: New file.
8208
0e965dd0
DE
82092011-11-21 Doug Evans <dje@google.com>
8210
8211 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
8212 _Unwind_DebugHook is missing.
8213
f196051f
SS
82142011-11-20 Stan Shebs <stan@codesourcery.com>
8215
8216 * gdb.trace/tstatus.exp: New.
8217 * gdb.trace/actions.c: Include string.h.
8218
bfccc43c
YQ
82192011-11-18 Yao Qi <yao@codesourcery.com>
8220
8221 * gdb.trace/pending.exp: New.
8222 * gdb.trace/pending.c: New.
8223 * gdb.trace/pendshr1.c: New.
8224 * gdb.trace/pendshr2.c: New.
8225 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
8226 tracepoint location becomes pending.
8227 (tracepoint_change_loc_2): New.
8228
73cd8ab1
DM
82292011-11-16 David S. Miller <davem@davemloft.net>
8230
8231 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
8232 target is sparc*-*-linux*
8233
77426730
PK
82342011-11-15 Paul Koning <paul_koning@dell.com>
8235
8236 * gdb.python/py-type.exp: New testcases for exceptions on scalar
8237 types.
8238
ed59ded5
DE
82392011-11-14 Doug Evans <dje@google.com>
8240
8241 * gdb.base/shell.exp: New file.
8242
405f8e94
SS
82432011-11-14 Stan Shebs <stan@codesourcery.com>
8244
8245 * gdb.trace/ftrace.c: New.
8246 * gdb.trace/ftrace.exp: New.
8247
1e4d1764
YQ
82482011-11-14 Yao Qi <yao@codesourcery.com>
8249
8250 * gdb.trace/change-loc-1.c: New.
8251 * gdb.trace/change-loc-2.c: New.
8252 * gdb.trace/change-loc.c: New.
8253 * gdb.trace/change-loc.exp: New.
8254 * gdb.trace/change-loc.h: New.
8255 * gdb.trace/trace-break.c (marker): Define new symbol.
8256 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 8257 New.
1e4d1764
YQ
8258 (break_trace_same_addr_6): New.
8259
71eba9c2 82602011-11-12 Matt Rice <ratmice@gmail.com>
8261
8262 * gdb.base/info-macros.exp: Make tests for info definitions
8263 test info macro. Add tests for info macro argument processing.
8264 Rename a few tests.
8265
1d93e29a
KS
82662011-11-11 Keith Seitz <keiths@redhat.com>
8267
8268 PR gdb/12843
8269 * gdb.base/linespecs.exp: New file.
8270
a4b5b48a
DE
82712011-11-11 Doug Evans <dje@google.com>
8272
8273 * gdb.threads/print-threads.exp: Extend timeout for slower
8274 tests.
8275
f6b47be4
DE
82762011-11-10 Doug Evans <dje@google.com>
8277
792a0230
DE
8278 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
8279 "record to end of main" test.
8280
f6b47be4
DE
8281 * gdb.python/py-type.c (TS): New typedef.
8282 (ts): New global.
8283 * gdb.python/py-type.exp: Test field list of typedef.
8284
22355c90
JB
82852011-11-10 Joel Brobecker <brobecker@adacore.com>
8286
8287 * gdb.ada/small_reg_param: New testcase.
8288
a7860e76
TT
82892011-11-09 Tom Tromey <tromey@redhat.com>
8290
8291 * gdb.cp/destrprint.exp: New file.
8292 * gdb.cp/destrprint.cc: New file.
8293
72a2e3dc
MI
82942011-11-08 Meador Inge <meadori@codesourcery.com>
8295
8296 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
8297 (switch_stack_to_other): New test function.
8298 * gdb.arch/thumb-prologue.exp: New test cases.
8299
c7195df2 83002011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
8301
8302 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
8303
d3895d7d
YQ
83042011-11-08 Yao Qi <yao@codesourcery.com>
8305
8306 * gdb.exp (supports_process_record): New.
8307 (supports_reverse): New.
8308 * gdb.reverse/break-precsave.exp: Call support_process_record
8309 to run test conditionally.
8310 * gdb.reverse/consecutive-precsave.exp: Likewise.
8311 * gdb.reverse/i386-precsave.exp: Likewise.
8312 * gdb.reverse/machinestate-precsave.exp: Likewise.
8313 * gdb.reverse/solib-precsave.exp: Likewise.
8314 * gdb.reverse/step-precsave.exp: Likewise.
8315 * gdb.reverse/until-precsave.exp: Likewise.
8316 * gdb.reverse/watch-precsave.exp: Likewise.
8317 * gdb.reverse/break-reverse.exp: Call support_reverse to run
8318 test conditionally.
8319 * gdb.reverse/consecutive-reverse.exp: Likewise.
8320 * gdb.reverse/finish-precsave.exp: Likewise.
8321 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8322 * gdb.reverse/finish-reverse.exp: Likewise.
8323 * gdb.reverse/i386-reverse.exp: Likewise.
8324 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8325 * gdb.reverse/machinestate.exp: Likewise.
8326 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
8327 * gdb.reverse/sigall-precsave.exp: Likewise.
8328 * gdb.reverse/sigall-reverse.exp: Likewise.
8329 * gdb.reverse/solib-reverse.exp: Likewise.
8330 * gdb.reverse/step-reverse.exp: Likewise.
8331 * gdb.reverse/until-reverse.exp: Likewise.
8332 * gdb.reverse/watch-reverse.exp: Likewise.
8333
a59306a3
YQ
83342011-11-05 Yao Qi <yao@codesourcery.com>
8335
8336 * gdb.trace/trace-break.exp: Add test on setting two
8337 fast tracepoints at the same address.
8338
87769f59
JK
83392011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8340
8341 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
8342
3065dfb6
SS
83432011-11-02 Stan Shebs <stan@codesourcery.com>
8344
8345 * gdb.trace/collection.c: Add code using strings.
8346 * gdb.trace/collection.exp: Add tests of string collection.
8347
89e208db
JK
83482011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8349
8350 * gdb.base/skip-solib.exp (executable_main): New variable.
8351 (binfile_main): Base it on that.
8352 Use $executable_main in clean_restart calls. Drop gdb_exit and
8353 gdb_start calls.
8354
405e54e9
JK
83552011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8356
8357 Fix racy FAILs.
8358 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
8359 breakpoint_re globals import by async. Set string_regex to .* for
8360 async. Remove the optional thread_selected_re and breakpoint_re
8361 globals expectations.
8362
58e8570a
JM
83632011-11-01 Joseph Myers <joseph@codesourcery.com>
8364
8365 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
8366 well as Cygwin.
8367
7b35ec7f 83682011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
8369
8370 Add tests for skip command.
89e208db
JK
8371 * gdb.base/skip-solib-lib.c: New
8372 * gdb.base/skip-solib-main.c: New
8373 * gdb.base/skip-solib.exp: New
8374 * gdb.base/skip.c: New
8375 * gdb.base/skip.exp: New
8376 * gdb.base/skip1.c: New
8377 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 8378
b9fd1791
PA
83792011-10-31 Yao Qi <yao@codesourcery.com>
8380 Pedro Alves <pedro@codesourcery.com>
8381
6fdff2c5
PA
8382 * gdb.trace/trace-break.c: New.
8383 * gdb.trace/trace-break.exp: New.
b9fd1791 8384
4323fecc
JK
83852011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8386
8387 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
8388 break-here-2.
8389
0e5bf2a8
PA
83902011-10-28 Pedro Alves <pedro@codesourcery.com>
8391
8392 * gdb.threads/no-unwaited-for-left.c: New.
8393 * gdb.threads/no-unwaited-for-left.exp: New.
8394 * gdb.threads/non-ldr-exc-1.c: New.
8395 * gdb.threads/non-ldr-exc-1.exp: New.
8396 * gdb.threads/non-ldr-exc-2.c: New.
8397 * gdb.threads/non-ldr-exc-2.exp: New.
8398 * gdb.threads/non-ldr-exc-3.c: New.
8399 * gdb.threads/non-ldr-exc-3.exp: New.
8400 * gdb.threads/non-ldr-exc-4.c: New.
8401 * gdb.threads/non-ldr-exc-4.exp: New.
8402
3a3dad98
JK
84032011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8404
8405 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
8406 * gdb.base/attach-pie-misread.exp: Likewise.
8407 * gdb.base/break-interp.exp: Likewise.
8408 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
8409 testcases for use_gdb_stub.
8410 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
8411 (continue): New testcase.
8412 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
8413 * gdb.threads/attach-into-signal.exp: Likewise.
8414 * gdb.threads/attach-stopped.exp: Likewise.
8415 * gdb.threads/attachstop-mt.exp: Likewise.
8416
d6a5d40c
PK
84172011-10-28 Paul Koning <paul_koning@dell.com>
8418
8419 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
8420
ca539be8
JK
84212011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8422
8423 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
8424 (mi_gdb_test): Import globals thread_selected_re
8425 and breakpoint_re. Expect them optionally at the regex start.
8426
d234ef5c
DE
84272011-10-27 Doug Evans <dje@google.com>
8428
8429 * gdb.python/python.exp: Test source -s.
8430
ab964825
PK
84312011-10-26 Paul Koning <paul_koning@dell.com>
8432
8433 * gdb.python/lib-types.cc (struct A): New structure.
8434 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 8435
54d8a644
PK
84362011-10-25 Paul Koning <paul_koning@dell.com>
8437
8438 PR python/13327
d234ef5c 8439
54d8a644
PK
8440 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
8441 fetch_lazy method.
8442
b0221781
YQ
84432011-10-24 Yao Qi <yao@codesourcery.com>
8444
8445 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
8446 target is tic6x-*-*.
8447
6cda5a20
JB
84482011-10-21 Joel Brobecker <brobecker@adacore.com>
8449
8450 * gdb.ada/mi_task_info/task_switch.adb: New file.
8451 * gdb.ada/mi_task_info.exp: New file.
8452
5ed9db04
JK
84532011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8454
8455 * gdb.cp/expand-psymtabs-cxx.exp: New file.
8456 * gdb.cp/expand-psymtabs-cxx.cc: New file.
8457
9df2fbc4
PM
84582011-10-20 Phil Muldoon <pmuldoon@redhat.com>
8459
8460 PR python/12656
8461
8462 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
8463 global_block tests.
8464
736086ba
TT
84652011-10-18 Tom Tromey <tromey@redhat.com>
8466
8467 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
8468
4af31552
TT
84692011-10-18 Tom Tromey <tromey@redhat.com>
8470
8471 * gdb.base/source.exp: Don't include full file name in test name.
8472 * gdb.python/python.exp: Don't include full file name in test
8473 name.
8474
43136979
AR
84752011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8476
8477 * gdb.base/attach-pie-noexec.c: New files.
8478 * gdb.base/attach-pie-noexec.exp: New files.
8479
543a9323
JM
84802011-10-17 Joseph Myers <joseph@codesourcery.com>
8481
8482 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
8483 prompt for each extra line in command.
8484
21ae7a4d
JK
84852011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8486
8487 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
8488 Revert the part of:
8489 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8490 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
8491 Change the expected string.
8492
20ec36d9
JK
84932011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8494
8495 Fix results with system glibc debug info installed.
8496 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
8497 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
8498 Accept also __libc_ symbol prefix and no prefix.
8499
6501c2fc
KS
85002011-10-14 Keith Seitz <keiths@redhat.com>
8501
8502 PR c++/13225
8503 * gdb.cp/converts.cc (foo3_1): New function.
8504 (foo3_2): New functions.
8505 * gdb.cp/converts.exp: Add tests for int to pointer conversion
8506 and null pointer conversions of integer constant zero.
8507 Add test to check if all arguments are checked for incompatible
8508 conversion BADNESS.
8509
55b1fd0c
TT
85102011-10-14 Tom Tromey <tromey@redhat.com>
8511
8512 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
8513 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
8514 linespec.
8515
22c05d8a
JK
85162011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8517
8518 Fix internal error regression.
8519 * gdb.dwarf2/implptr-optimized-out.S: New file.
8520 * gdb.dwarf2/implptr-optimized-out.exp: New file.
8521
1d6edc3c
JK
85222011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8523
8524 Fix empty DWARF expressions DATA vs. SIZE conditionals.
8525 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
8526 (loclist): New.
8527 (4): New abbrev.
8528 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
8529 Use prepare_for_testing, remove clean_restart.
8530 (p arraynoloc, p arraycallnoloc): New tests.
8531
9ec72168
JK
85322011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8533
8534 * gdb.cp/namespace-enum.exp (executable): New variable.
8535 (binfile): Use ${objdir}/${subdir}/ prefix.
8536 Use ${executable} for clean_restart.
8537
9c6c53f7
SA
85382011-10-11 Sterling Augustine <saugustine@google.com>
8539
8540 * gdb.cp/Makefile.in: Add namespace-enum test.
8541 * gdb.cp/namespace-enum.exp: New file.
8542 * gdb.cp/namespace-enum.c: New file.
8543 * gdb.cp/namespace-enum-main.c: New file.
8544
fac7ceb3
UW
85452011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
8546
8547 * gdb.python/py-shared.exp: Relax filename check to handle remote:
8548 sysroot.
8549
941b2081
JK
85502011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8551
8552 Reimplement @entry in input expressions.
8553 * gdb.base/exprs.c (v_int_array_init): New variable.
8554 * gdb.base/exprs.exp (print v_int_array_init)
8555 (print *v_int_array_init@1, print *v_int_array_init@2)
8556 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
8557 (print v_int_array_init[1]@1): New tests.
8558
0344e878
JM
85592011-10-10 Joseph Myers <joseph@codesourcery.com>
8560
8561 * gdb.cp/gdb2495.exp: Do not include directories in filename in
8562 expected message.
8563
5a56e9c5
DE
85642011-10-09 Doug Evans <dje@google.com>
8565
8566 * gdb.base/alias.exp: Add tests for alias command.
8567
2bda9cc5
JK
85682011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8569
8570 * gdb.arch/amd64-entry-value.s: New file.
8571 * gdb.mi/mi2-amd64-entry-value.s: New file.
8572
a471c594
JK
85732011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8574
8575 Display @entry parameter values even for references.
8576 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
8577 functions.
8578 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
8579 reference and datap_input.
8580 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
8581 breakpoints.
8582 (continue to breakpoint: entry_reference: reference)
8583 (entry_reference: bt at entry)
8584 (continue to breakpoint: entry_reference: breakhere_reference)
8585 (entry_reference: bt, entry_reference: ptype regparam)
8586 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
8587 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
8588 (entry_reference: p regcopy, entry_reference: p nodataparam)
8589 (entry_reference: p nodataparam@entry): New tests.
8590
36b11add
JK
85912011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8592
8593 Support @entry in input expressions.
8594 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
8595 (entry_stack: p s1@entry, entry_stack: p s2@entry)
8596 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
8597 (tailcall: p j@entry): New tests.
8598 * gdb.cp/koenig.cc (A::entry): New function.
8599 (main): Call it.
8600 * gdb.cp/koenig.exp (p entry (c)): New test.
8601
e18b2753
JK
86022011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8603
8604 Display @entry parameter values (without references).
8605 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
8606 (different, validity, invalid): New functions.
8607 (main): Call them.
8608 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
8609 stacktest, breakhere_stacktest, different, breakhere_different,
8610 breakhere_validity and breakhere_invalid.
8611 (entry: bt): Update for @entry.
8612 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
8613 (entry_validity: *, entry_invalid: *): Many new tests.
8614 * gdb.base/break.exp
8615 (run until breakpoint set at small function, optimized file): Accept
8616 also the @entry suffix.
8617 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
8618 * gdb.mi/mi2-amd64-entry-value.c: New files.
8619 * gdb.mi/mi2-amd64-entry-value.exp: New files.
8620
2d6c5dc2
JK
86212011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8622
8623 Protect entry values against self tail calls.
8624 * gdb.arch/amd64-entry-value.cc (self2, self): New.
8625 (main): Call self.
8626 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
8627 (set debug entry-values 1, self: bt debug entry-values): New tests.
8628
111c6489
JK
86292011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8630
8631 Recognize virtual tail call frames.
8632 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
8633 (amb_b, amb_a): New.
8634 (main): Call a and b.
8635 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
8636 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
8637 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
8638 New tests.
8639
8e3b41a9
JK
86402011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8641
8642 Implement basic support for DW_TAG_GNU_call_site.
8643 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
8644 * gdb.arch/amd64-entry-value.cc: New file.
8645 * gdb.arch/amd64-entry-value.exp: New file.
8646
181cebd4
JK
86472011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8648
8649 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
8650 * gdb.dwarf2/implptr-64bit.S: New file.
8651 * gdb.dwarf2/implptr-64bit.exp: New file.
8652
741f5e3c
JK
86532011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8654
8655 Fix initial language detection with -readnow.
8656 * gdb.cp/readnow-language.cc: New file.
8657 * gdb.cp/readnow-language.exp: New file.
8658
a73d2258
JK
86592011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8660
8661 Fix printed anonymous struct name.
8662 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
8663
af369495
JM
86642011-10-09 Joseph Myers <joseph@codesourcery.com>
8665
8666 * gdb.base/solib-symbol.exp: Do not include directories in
8667 filenames in expected messages.
8668
1fa57852
DE
86692011-10-07 Doug Evans <dje@google.com>
8670
8671 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
8672
bd054e06
KP
86732011-10-07 Kevin Pouget <kevin.pouget@st.com>
8674
8675 Allow Python notification of new object-file loadings.
8676 * gdb.python/py-events.exp: Test newobjfile event.
8677 * gdb.python/py-events.py: Register newobjfile callback.
8678 * gdb.python/py-events.c: Add call to shared library
8679 * gdb.python/py-events-shlib.c: New file.
8680
8031b6f8
JM
86812011-10-06 Joseph Myers <joseph@codesourcery.com>
8682
8683 * gdb.base/fixsection.exp: Do not include directories in filename
8684 in expected message.
8685
7fea6923
PM
86862011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8687
8688 Add tests for passing of environment variables to inferior.
8689 * gdb.base/testenv.c: New test source.
8690 * gdb.base/testenv.exp: New expect test.
8691
687f2a88
PK
86922011-10-04 Paul Koning <paul_koning@dell.com>
8693
8694 * gdb.python/py-value.c (main): Break before return.
8695
cb6be26b
KP
86962011-10-04 Kevin Pouget <kevin.pouget@st.com>
8697
8698 PR python/12691: Add the inferior to Python exited event
8699 * gdb.python/py-events.exp: Test the inferior attribute of exited
8700 event with a fork.
8701 * gdb.python/py-events.py: Print inferior number on exit.
8702 * gdb.python/py-events.c: Fork the inferior.
8703
fb213700
EBM
87042011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
8705
8706 * gdb.base/jit.exp: Add testcase name to log message
8707
aa2071bd
PK
87082011-10-03 Paul Koning <paul_koning@dell.com>
8709 Jan Kratochvil <jan.kratochvil@redhat.com>
8710
8711 * gdb.python/py-value.exp
8712 (python inval = gdb.parse_and_eval('*(int*)0'))
8713 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
8714 (set argc=2, python print argc_lazy): New tests.
8715
dd11a36c
JB
87162011-10-02 Joel Brobecker <brobecker@adacore.com>
8717
8718 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
8719
46f886f1
JK
87202011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8721 Pedro Alves <pedro@codesourcery.com>
8722
8723 * gdb.python/py-value.exp (test_value_in_inferior): New variable
8724 can_read_0, test for it.
8725 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
8726 (parse_and_eval with memory error): ... here, make it untested if
8727 can_read_0.
8728
c5cb204f
MP
87292011-09-30 Marek Polacek <mpolacek@redhat.com>
8730
8731 * gdb.python/python.exp (verify pagination beforehand)
8732 (verify pagination afterwards): Fix race by splitting the line.
8733
68fb0ec0
JM
87342011-09-29 Joseph Myers <joseph@codesourcery.com>
8735
8736 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
8737 for 64-bit multilibs from i?86-* targets.
8738
6aee0d90
MP
87392011-09-29 Marek Polacek <mpolacek@redhat.com>
8740
8741 * lib/gdb.exp: Fix a typo in one of the comments.
8742
e9101ff5
MP
87432011-09-29 Marek Polacek <mpolacek@redhat.com>
8744
8745 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
8746 matching pattern.
8747
7a81bdbf
PK
87482011-09-28 Paul Koning <paul_koning@dell.com>
8749
8750 * gdb.python/py-type.c (enum E): New.
8751 * gdb.python/py-type.exp (test_fields): Add tests for Python
8752 mapping access to fields.
8753 (test_enums): New test for field access on enums.
8754
6710bf39
SS
87552011-09-27 Stan Shebs <stan@codesourcery.com>
8756
8757 * gdb.trace/collection.exp: Test collection of $_ret.
8758
b2a6bdeb
AT
87592011-09-22 Andreas Tobler <andreast@fgznet.ch>
8760
8761 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
8762 list of compilation switches for <*-*-freebsd*>.
8763
3c9057f3
SS
87642011-09-19 Stan Shebs <stan@codesourcery.com>
8765
8766 * gdb.trace/tspeed.exp: New file.
8767 * gdb.trace/tspeed.c: New file.
8768
34518530
YQ
87692011-09-18 Yao Qi <yao@codesourcery.com>
8770
8771 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
8772 instructions.
8773 (test_adr_32bit, test_pop_pc): Likewise.
8774 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
8775 Thumb instructions.
8776 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
8777 in gdb_test_multiple.
8778 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
8779
ab254057
YQ
87802011-09-17 Yao Qi <yao@codesourcery.com>
8781
8782 * lib/gdb.exp (can_single_step_to_signal_handler): New.
8783 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
8784 support single step to signal handler.
8785
9c317b71
YQ
87862011-09-17 Yao Qi <yao@codesourcery.com>
8787
8788 * gdb.base/disp-step-fork.c: New.
8789 * gdb.base/disp-step-syscall.exp: New.
8790 * gdb.base/disp-step-vfork.c: New.
8791
a8123151
JB
87922011-09-16 Joel Brobecker <brobecker@adacore.com>
8793
8794 * gdb.ada/tasks.exp: Make the expected output for
8795 the `info tasks' tests more resilient to spacing
8796 changes.
8797
63a9aad8
JK
87982011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8799
8800 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
8801 (reached breakpoint 2, reached breakpoint 3): Update expected output.
8802
2aa48337
KP
88032011-09-15 Kevin Pouget <kevin.pouget@st.com>
8804
8805 PR Python/12692 Add gdb.selected_inferior() to Python interface.
8806 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
8807
6839b47f
KP
88082011-04-30 Kevin Pouget <kevin.pouget@st.com>
8809
8810 Handle multiple breakpoint hits in Python interface:
8811 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
8812 presence.
8813 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
8814 breakpoint hits.
8815
0935723e
JK
88162011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8817 Jan Kratochvil <jan.kratochvil@redhat.com>
8818
8819 * gdb.python/py-events.exp: Remove pretty printing comment.
8820 * gdb.python/py-evsignal.exp: New file.
8821 * gdb.python/py-evthreads.c: Include signal.h.
8822 (thread3): Remove variable count3. Remove variable bad and use raise
8823 instead.
8824 (thread2): Remove variable count2. Move thread3 pthread_create here,
8825 merge pthread_join to a single line.
8826 (main): Remove variable count1. Merge pthread_join with pthread_create
8827 to a single line.
8828 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
8829 KFAIL python/12966 for gdbserver. Test return value of
8830 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
8831 gdb_expect by gdb_test and gdb_test_multiple.
8832 (thread 2, thread 3): New tests.
8833
4801a9a3
PA
88342011-09-12 Matt Rice <ratmice@gmail.com>
8835 Pedro Alves <pedro@codesourcery.com>
8836
8837 PR gdb/13175
8838
8839 * gdb.base/interp.exp: New tests.
8840 * gdb.base/interp.c: New file.
8841
24ece742
DE
88422011-09-12 Doug Evans <dje@google.com>
8843
8844 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
8845 * gdb.dwarf2/typeddwarf.exp: Ditto.
8846
7f062217
JK
88472011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8848
8849 Fix compatibility with x32 arch.
8850 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
8851 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
8852 is_x86_like_target.
8853 * testsuite/gdb.trace/collection.exp: Likewise.
8854 * testsuite/gdb.trace/report.exp: Likewise.
8855 * testsuite/gdb.trace/unavailable.exp: Likewise.
8856 * testsuite/gdb.trace/while-dyn.exp: Likewise.
8857 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
8858 (is_x86_like_target): Check also is_amd64_regs_target.
8859
08711b9a
JK
88602011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8861
8862 PR breakpoints/12435
8863 * gdb.arch/amd64-prologue-xmm.c: New file.
8864 * gdb.arch/amd64-prologue-xmm.exp: New file.
8865 * gdb.arch/amd64-prologue-xmm.s: New file.
8866
b99b5f66
JK
88672011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8868
8869 * gdb.dwarf2/dw2-param-error-main.c: New file.
8870 * gdb.dwarf2/dw2-param-error.S: New file.
8871 * gdb.dwarf2/dw2-param-error.exp: New file.
8872
a391a2f6
PA
88732011-09-08 Pedro Alves <pedro@codesourcery.com>
8874
8875 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
8876 inferior's pid and look for a core dump named core.$pid. Use
8877 `remote_file' commands on the host instead of hand coding shell
8878 commands on the build.
8879 * gdb.base/valgrind-db-attach.exp: Kill the program before
8880 finishing the test.
8881
7d8e6458 88822011-09-02 Matt Rice <ratmice@gmail.com>
8883
8884 * lib/prompt.exp: New file for testing the first prompt.
8885 * gdb.python/py-prompt.exp: Ditto.
8886 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
8887
68e77c9e
PA
88882011-09-02 Pedro Alves <pedro@codesourcery.com>
8889
8890 * gdb.threads/gcore-thread.exp: Set the global core_supported to
8891 0, before testing gcore.
8892
9655e943
JK
88932011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8894
df6dc84d
JK
8895 * dw2-ifort-parameter-debug.S: Update copyright year.
8896 * dw2-ifort-parameter.c: Update copyright year.
8897 * dw2-ifort-parameter.exp: Update copyright year.
8898
9655e943
JK
8899 * dw2-ifort-parameter-debug.S: New file.
8900 * dw2-ifort-parameter.c: New file.
8901 * dw2-ifort-parameter.exp: New file.
8902
353d1d73
JK
89032011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8904
8905 * gdb.base/commands.exp (error_clears_commands_left): New function.
8906 (): Call it.
8907
5c07461a
JK
89082011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8909
8910 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
8911 (C): Initialize `a'.
8912 * gdb.mi/mi-inheritance-syntax-error.exp
8913 (-data-evaluate-expression $path): Expect `a' as 5.
8914
0d932b2f
MK
89152011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
8916
8917 PR mi/11912
8918 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
8919 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
8920 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
8921 keyword in output of -var-info-path-expression.
8922
bdb54049
JK
89232011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8924
8925 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
8926 * gdb.trace/collection.exp: Likewise.
8927 * gdb.trace/report.exp: Likewise.
8928 * gdb.trace/unavailable.exp: Likewise.
8929 * gdb.trace/while-dyn.exp: Likewise.
8930
59cde39c
KS
89312011-08-18 Keith Seitz <keiths@redhat.com>
8932
8933 PR c++/12266
8934 * gdb.cp/meth-typedefs.cc: New file.
8935 * gdb.cp/meth-typedefs.exp: New file.
8936
fa3a4f15
PM
89372011-08-17 Phil Muldoon <pmuldoon@redhat.com>
8938
6fdff2c5 8939 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 8940
c1049fca
JK
89412011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8942
8943 * gdb.arch/i386-dr3-watch.exp
8944 (watchpoint on gap1 does not fit debug registers)
8945 (delete all watchpoints): Fix racy expect strings.
8946
d93f7b5c
YQ
89472011-08-14 Yao Qi <yao@codesourcery.com>
8948
8949 * gdb.base/maint.exp: set data_section to ".neardata".
8950 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
8951 * gdb.base/savedregs.exp: Handle SIGILL.
8952 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
8953 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8954
457e09f0
DE
89552011-08-12 Doug Evans <dje@google.com>
8956
8957 * gdb.python/py-symbol.exp: Add test for symbol.type.
8958
5d0bb2fb
UW
89592011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
8960
8961 * gdb.threads/pthreads.exp: Enable on non-native configurations.
8962 * gdb.mi/mi-pthreads.exp: Likewise.
8963 * gdb.mi/mi2-pthreads.exp: Likewise.
8964 * gdb.mi/gdb669.exp.exp: Likewise.
8965
fcdfa280
PA
89662011-08-09 Pedro Alves <pedro@codesourcery.com>
8967
8968 * lib/mi-support.exp (detect_async): Rename to...
8969 (mi_detect_async): ... this.
8970 * gdb.mi/mi-nonstop-exit.exp: Adjust.
8971 * gdb.mi/mi-nonstop.exp: Adjust.
8972 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
8973 * gdb.mi/mi-nsintrall.exp: Adjust.
8974 * gdb.mi/mi-nsmoribund.exp: Adjust.
8975 * gdb.mi/mi-nsthrexec.exp: Adjust.
8976
9d8fa392
PA
89772011-08-09 Pedro Alves <pedro@codesourcery.com>
8978
8979 * gdb.base/display.c (do_loops): New `p_i' local.
8980 * gdb.base/display.exp: Test displaying a variable that is
8981 temporarily at a bad address.
8982
b6cede78
JK
89832011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8984
8985 * gdb.dwarf2/dw2-op-stack-value.S: New file.
8986 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
8987
67bedb8c
JK
89882011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8989
8990 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
8991 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
8992 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 8993
af6e93b2
PA
89942011-08-05 Pedro Alves <pedro@codesourcery.com>
8995
8996 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
8997 procedure.
8998 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
8999
1cf0e11f
YQ
90002011-08-05 Yao Qi <yao@codesourcery.com>
9001
9002 * gdb.base/callfuncs.exp: Set language after main.
9003 * gdb.cp/cplusfuncs.exp: Likewise.
9004 * gdb.cp/inherit.exp: Likewise.
9005
a1e28cb2
UW
90062011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9007
9008 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
9009 * gdb.base/watch-vfork.exp: Skip on remote targets.
9010
d4f5bbb9
UW
90112011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9012
9013 * gdb.threads/thread-find.exp: Support remote targets.
9014
724f4f80
UW
90152011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9016
9017 * gdb.base/jit.exp: Download solib_binfile to target.
9018 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
9019 and call dlopen without full path name.
9020 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
9021 dlopen without full path name.
9022
934709f0
PW
90232011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9024
9025 * gdb.base/break-always.exp: Complete the test
9026 with duplicated breakpoints and enabling/disabling them.
9027
c26106c4
TT
90282011-08-02 Tom Tromey <tromey@redhat.com>
9029
9030 PR gdb/11289:
9031 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
9032
9300444e 90332011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
9034
9035 PR gdb/13045
9036 * gdb.base/float.exp: Add new test case for PR gdb/13045
9037 * gdb.base/float.c: New file.
9038
00bd41d6
PM
90392011-07-28 Phil Muldoon <pmuldoon@redhat.com>
9040
9041 * gdb.python/py-mi.exp: Test printers returning string hint, and
9042 also not returning a value.
9043 * gdb.python/py-prettyprint.c: Add testcase for above.
9044 * gdb.python/py-prettyprint.py: Add test printer for above.
9045
d24f74ce
JK
90462011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9047
9048 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
9049 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
9050 (.Ldie30) Add as field "data4".
9051 (.Ldie32) Rename field "b" to "shl".
9052 (abbrev4) Change for the "data4" field.
9053 (abbrev5, abbrev6) Remove.
9054 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
9055 (p &s.shl): ... here. Add comment.
9056 (p &s.data4): New.
9057
bb7da2bf
JK
90582011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9059
9060 Fix crash on lval_computed values.
9061 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
9062
11081198
JK
90632011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9064
9065 * gdb.base/help.exp (help whatis): Update the expected string.
9066
3c6e0cb3
JK
90672011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9068
9069 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
9070 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
9071 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
9072 Change the expected string.
9073
efa80663
PA
90742011-07-26 Pedro Alves <pedro@codesourcery.com>
9075
9076 * gdb.base/watchpoint.exp
9077 (test_disable_enable_software_watchpoint): New procedure.
9078 (top level): Run it.
9079
db8e4570
UW
90802011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
9081
9082 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
9083 executable file "${binfile}", C++ version "${binfile}-cxx".
9084 * gdb.python/py-prettyprint.exp: Likewise.
9085 * gdb.python/py-symbol.exp: Likewise.
9086 * gdb.python/py-type.exp: Likewise.
9087 * gdb.python/py-value.exp: Likewise.
9088 * gdb.python/py-template.exp (test_template_arg): Pass full executable
9089 file name instead of just suffix.
9090
543305c9
JK
90912011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9092
9093 Fix implicit pointer offsets.
9094 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
9095 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
9096 (continue to breakpoint: continue to baz breakpoint for implptr)
9097 (sanity check element 0, sanity check element 1)
9098 (enter the inlined function, check element 0 for the offset)
9099 (check element 1 for the offset)
9100 (continue to breakpoint: ignore the second baz breakpoint): New tests.
9101 (set foo breakpoint for implptr): Update the breakpoint number.
9102
b3215adc
UW
91032011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9104
9105 * gdb.python/py-mi.exp: Use different file names for different
9106 versions of the executable under test.
9107 * gdb.python/py-prettyprint.exp: Likewise.
9108 * gdb.python/py-symbol.exp: Likewise.
9109 * gdb.python/py-template.exp: Likewise.
9110 * gdb.python/py-type.exp: Likewise.
9111 * gdb.python/py-value.exp: Likewise.
9112
182b9acc
UW
91132011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9114
9115 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
9116 flag after restarting GDB if necessary.
9117
e6052b5d
UW
91182011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9119
9120 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
9121
1ced966e
PA
91222011-07-22 Pedro Alves <pedro@codesourcery.com>
9123
9124 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
9125 backend doesn't leave used debug registers behind.
9126
3543a589
TT
91272011-07-22 Tom Tromey <tromey@redhat.com>
9128
9129 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
9130 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
9131 argument.
9132 * gdb.dwarf2/typeddwarf-amd64.S: New file.
9133
14d15303 91342011-07-21 Matt Rice <ratmice@gmail.com>
9135
9136 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
9137 in mostlyclean rule. Add files ending in .core.
9138
9b158ba0 91392011-07-21 Matt Rice <ratmice@gmail.com>
9140
9141 PR macros/12999
9142 * gdb.base/info-macros.c: New test sources.
9143 * gdb.base/info-macros.exp: New tests.
9144
d17b6f81
PM
91452011-07-21 Phil Muldoon <pmuldoon@redhat.com>
9146
9147 * gdb.python/python.exp: Add prompt substitution tests.
9148
918dd910
JK
91492011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9150
9151 Fix crash if referenced CU is aged out.
9152 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
9153 New.
9154 * gdb.dwarf2/implptr.exp: Likewise.
9155
0e37a63c
JK
91562011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9157
9158 * gdb.dwarf2/implptr.S: Rebuilt.
9159 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
9160 (bar): Use them for j, k, l.
9161 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
9162 COMPILE.
9163 (print j in implptr:bar): Update for the intp typedef.
9164 (print p[0].x in implptr:foo): Use more exact regex.
9165
f65cf84c
TT
91662011-07-18 Tom Tromey <tromey@redhat.com>
9167
9168 * gdb.cp/static-method.exp: Add missing single quote.
9169
d5b4a7be
YQ
91702011-07-18 Yao Qi <yao@codesourcery.com>
9171
9172 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
9173 supported.
9174 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9175 * gdb.mi/mi-nonstop.exp: Likewise.
9176 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9177 * gdb.mi/mi-nsintrall.exp: Likewise.
9178 * gdb.mi/mi-nsmoribund.exp: Likewise.
9179 * gdb.mi/mi-nsthrexec.exp: Likewise.
9180 * gdb.python/py-evthreads.exp: Likewise.
9181
e9ea2662
JK
91822011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9183
9184 Code cleanup.
9185 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
9186 it. Substitute it instead of test_compiler_info everywhere.
9187
ce451573
UW
91882011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9189
9190 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
9191 remote targets as well.
9192
756d88a7
UW
91932011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9194
9195 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
9196 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
9197
31f83dc5
UW
91982011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9199
9200 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
9201 a remote machine, not the host.
9202 (gdb_compile_shlib): Set soname if target is remote.
9203
059241a0
PP
92042011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9205
9206 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
9207
28a0b48c 92082011-07-13 Matt Rice <ratmice@gmail.com>
9209
9210 * gdb.python/py-objfile-script-gdb.py: Renamed to
9211 py-objfile-script-gdb.py.in.
9212 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
9213 py-objfile-script-gdb.py.
9214 * gdb.python/py-objfile-script.exp: Update reference to
9215 py-objfile-script-gdb.py.
9216
9a771b67
JK
92172011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9218
9219 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
9220 reference undefined label.
9221
04ad99e6
JK
92222011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9223
9224 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
9225 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
9226 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
9227 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
9228
713389e0
PM
92292011-07-11 Phil Muldoon <pmuldoon@redhat.com>
9230
6fdff2c5 9231 PR python/12438
713389e0 9232 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 9233 deprecated tests. Add set/show python print-backtrace tests.
713389e0 9234
97d146f8
JK
92352011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9236
9237 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
9238 debug info.
9239
facde0e5 92402011-07-06 Matt Rice <ratmice@gmail.com>
9241
9242 * gdb.python/python.exp: Update filename paths.
9243 * gdb.python/py-symtab.exp: Ditto.
9244
438640d1
MP
92452011-07-06 Marek Polacek <mpolacek@redhat.com>
9246
9247 * gdb.python/py-evthreads.exp: Add missing `$'.
9248
33a365df
MF
92492011-07-06 Jie Zhang <jie.zhang@analog.com>
9250
9251 * config/bfin.exp: New file.
9252 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
9253 * gdb.asm/bfin.inc: New file.
9254
8f7ae686
MP
92552011-07-06 Marek Polacek <mpolacek@redhat.com>
9256
df46027d 9257 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
9258 the whole output.
9259
eb2a6f42
TT
92602011-07-05 Tom Tromey <tromey@redhat.com>
9261
9262 * gdb.java/jprint.java (jprint.hi): New field.
9263 * gdb.java/jprint.exp: Print string.
9264
177b42fe
TJB
92652011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
9266
9267 * gdb.base/call-sc.c: Fix typos.
9268 * gdb.base/ifelse.exp: Likewise.
9269 * gdb.base/structs.c: Likewise.
9270
3b2a0cf2
JB
92712011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9272
9273 * gdb.base/jit-so.exp: New test.
9274 * gdb.base/jit-dlmain.c: New file.
9275 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
9276
46fc714c
JK
92772011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9278
9279 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
9280 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
9281 * gdb.cp/pr9167.exp (p b): Likewise.
9282 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
9283 (test value of P in inner_m, test type of Z in inner_m): Call
9284 setup_xfail for gcc <= 4.5.
46fc714c 9285
418c7cf7
JK
92862011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9287
9288 * gdb.cp/paren-type.cc: New files.
9289 * gdb.cp/paren-type.exp: New files.
9290
3d50dd94
JK
92912011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9292
9293 Stop on first linespec terminator instead of eating what we can.
9294 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
9295 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
9296 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
9297 (break C::f()): ... this one.
9298 (break C::operator()()): New test.
9299 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
9300 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
9301 test.
9302
dcf9f4ab
JK
93032011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9304
9305 Fall back linespec to minimal symbols.
9306 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
9307 error message.
9308 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
9309 * gdb.cp/minsym-fallback-main.cc: New file.
9310 * gdb.cp/minsym-fallback.cc: New file.
9311 * gdb.cp/minsym-fallback.exp: New file.
9312 * gdb.cp/minsym-fallback.h: New file.
9313
3f542ed1
JK
93142011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9315
9316 * gdb.cp/no-dmgl-verbose.cc: New file.
9317 * gdb.cp/no-dmgl-verbose.exp: New file.
9318
93192011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
9320
9321 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
9322 __GI_.
9323 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
9324 (f): New function.
9325 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
9326 (complete p 'func<short>(): ... here.
9327 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
9328 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
9329 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
9330 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
9331 Make them KFAIL gcc/49546.
9332
00eb2c4a
JB
93332011-07-01 Joel Brobecker <brobecker@adacore.com>
9334
9335 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
9336
85a20c42
JK
93372011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9338
9339 Test GCC PR debug/49546.
9340 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
9341 (test type of F in k3_m, test value of F in k3_m): New.
9342 * gdb.cp/temargs.cc (struct S3, struct K3): New.
9343 (main): New variable k3. Call k3.k3_m.
9344
d2d43431
JB
93452011-07-01 Jean-Charles Delay <delay@adacore.com>
9346
9347 * gdb.ada/packed_array.exp: Fix expected outout.
9348
54ae186f
JB
93492011-07-01 Jean-Charles Delay <delay@adacore.com>
9350
9351 * gdb.ada/packed_array.exp: fixed expected output.
9352
8f17729f
JB
93532011-07-01 Joel Brobecker <brobecker@adacore.com>
9354
9355 * gdb.ada/same_enum: New testcase.
9356
f5aa6869
JB
93572011-07-01 Joel Brobecker <brobecker@adacore.com>
9358
9359 * gdb.ada/ptr_typedef: New testcase.
9360
828292f2
JB
93612011-07-01 Joel Brobecker <brobecker@adacore.com>
9362
9363 * gdb.ada/arrayptr.exp: Add ptype test.
9364
18920c42
JB
93652011-07-01 Joel Brobecker <brobecker@adacore.com>
9366
9367 * gdb.ada/char_enum: New testcase.
9368
3536d9e3 93692011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
9370
9371 * gdb.base/dump.exp (capture_pointer_with_type): New.
9372 Get value from address instead of name.
9373 Start GDB once, and do `dump' and `restore'
9374 tests together.
9375
db863c42
MF
93762011-06-30 Jie Zhang <jie.zhang@analog.com>
9377 Mike Frysinger <vapier@gentoo.org>
9378
9379 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
9380 helper functions for getting/setting remotetimeout variable.
9381 * lib/gdb.exp (gdb_load): If the target is remote, set
9382 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
9383 with $loadtimeout. Set $load_ok to 0 before doing the load.
9384 Instead of returning, immediately, set $load_ok to 0. Call
9385 set_remotetimeout with $oldremotetimeout, and then return if
9386 $load_ok is 1.
9387
e9e642a8
AB
93882011-06-30 Andrew Burgess <aburgess@broadcom.com>
9389
9390 * gdb.python/py-template.exp: Don't run this test if the target
9391 does not support c++ tests.
9392
32019081
JK
93932011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9394
9395 Fix non-only rename list for Fortran modules import.
9396 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
9397 tests.
9398 * gdb.fortran/module.f90 (module moduse): New.
9399 (program module): use moduse, test var_x, var_y and var_z.
9400
0ecee54c
TT
94012011-06-29 Tom Tromey <tromey@redhat.com>
9402
9403 PR testsuite/12040:
9404 * gdb.fortran/array-element.exp: Use f90, not f77.
9405 * gdb.fortran/complex.exp: Use f90, not f77.
9406 * gdb.fortran/derived-type.exp: Use f90, not f77.
9407 * gdb.fortran/library-module.exp: Use f90, not f77.
9408 * gdb.fortran/logical.exp: Use f90, not f77.
9409 * gdb.fortran/module.exp: Use f90, not f77.
9410 * gdb.fortran/multi-dim.exp: Use f90, not f77.
9411 * gdb.fortran/subarray.exp: Use f90, not f77.
9412
3b2b8fea
TT
94132011-06-29 Tom Tromey <tromey@redhat.com>
9414
9415 * gdb.fortran/charset.exp: New file.
9416 * gdb.fortran/charset.f90: New file.
9417
42159ca5
TT
94182011-06-29 Tom Tromey <tromey@redhat.com>
9419
9420 PR testsuite/12040:
9421 * lib/future.exp: New file, mostly extracted from ada.exp.
9422 Rewrote compatibility code to use rename.
9423 (gdb_find_gfortran): New proc.
9424 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
9425 gfortran patch.
9426 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
9427 Move to future.exp.
9428 * lib/gdb.exp: Always load future.exp.
9429
af69a5ce
YQ
94302011-06-28 Yao Qi <yao@codesourcery.com>
9431
9432 * gdb.cp/exception.cc: Don't include iostream.
9433 (bar): Remove print statement.
9434 (catcher): New.
9435 (main): Remove print statements. Call function catcher.
9436 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
9437 Set breakpoint on catcher, and check the value of parameter.
9438
ab5c6a72
YQ
94392011-06-23 Yao Qi <yao@codesourcery.com>
9440
6fdff2c5
PA
9441 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
9442 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 9443
9497469f
MP
94442011-06-23 Marek Polacek <mpolacek@redhat.com>
9445
9446 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
9447 mi_gdb_test.
9448
b9132588
MP
94492011-06-23 Marek Polacek <mpolacek@redhat.com>
9450
5d197ed0 9451 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 9452
e55595ca
MP
94532011-06-23 Marek Polacek <mpolacek@redhat.com>
9454
5d197ed0
MP
9455 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
9456
94572011-06-23 Marek Polacek <mpolacek@redhat.com>
9458
9459 * gdb.mi/mi2-basics.exp: Fix races. Honour the
9460 `test_exec_and_symbol_mi_operatons' return value.
9461 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9462 gdb_test_multiple.
9463 (test_exec_and_symbol_mi_operatons): Likewise.
9464 (test_path_specification): Likewise.
e55595ca 9465
be777e08
YQ
94662011-06-23 Yao Qi <yao@codesourcery.com>
9467
9468 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
9469 supported.
9470 * lib/gdb.exp (support_displaced_stepping): New.
9471
615556d6
YQ
94722011-06-23 Yao Qi <yao@codesourcery.com>
9473
9474 * gdb.threads/execl.exp: Skip on remote target.
9475
833b0ca7
MP
94762011-06-21 Marek Polacek <mpolacek@redhat.com>
9477
5d197ed0 9478 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
9479 mi_gdb_test.
9480
1ee4023a
MP
94812011-06-20 Marek Polacek <mpolacek@redhat.com>
9482
5d197ed0 9483 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 9484
d0b1d624
MP
94852011-06-20 Marek Polacek <mpolacek@redhat.com>
9486
5d197ed0 9487 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
9488 mi_gdb_test.
9489
79aa92c1
MP
94902011-06-20 Marek Polacek <mpolacek@redhat.com>
9491
5d197ed0 9492 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 9493
5ce5db06
YQ
94942011-06-14 Yao Qi <yao@codesourcery.com>
9495
9496 gdb/testsuite/
9497 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
9498
533a737e
JK
94992011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9500
9501 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
9502
d0e53741
TT
95032011-06-10 Tom Tromey <tromey@redhat.com>
9504
9505 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
9506 Add tests for pointer-to-member-function.
9507 * gdb.cp/temargs.cc (S::somefunc): New function.
9508 (K2): New class.
9509 (main): Instantiate K2; call method.
9510
b5916bbd
JB
95112011-06-08 Joel Brobecker <brobecker@adacore.com>
9512
9513 * gdb.python/py-inferior.c (f2): Make str an array rather
9514 than a pointer.
9515 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
9516
5be4dfca
JK
95172011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9518
9519 * gdb.base/async-shell.c: New file.
9520 * gdb.base/async-shell.exp: New file.
9521
9f47e254
PA
95222011-06-06 Pedro Alves <pedro@codesourcery.com>
9523
9524 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
9525
64b9b334
JB
95262011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
9527
9528 From Stephen Kitt <steve@sk2.org>
9529 * gdb.base/help.exp: Adjust following some spelling corrections
9530 in GDB.
9531
dbc0f131
YQ
95322011-06-01 Yao Qi <yao@codesourcery.com>
9533
9534 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
9535
fd336a18
KS
95362010-05-31 Keith Seitz <keiths@redhat.com>
9537
9538 PR c++/12750
9539 * gdb.cp/static-method.cc: New file.
9540 * gdb.cp/static-method.exp: New file.
9541
fa8b9902
KS
95422010-05-31 Keith Seitz <keiths@redhat.com>
9543
9544 PR symtab/12704
9545 * gdb.cp/anon-ns.cc: New file.
9546 * gdb.cp/anon-ns.exp: New file.
9547
0a5b1e09
PA
95482011-05-31 Pedro Alves <pedro@codesourcery.com>
9549
9550 * gdb.arch/i386-dr3-watch.c: New file.
9551 * gdb.arch/i386-dr3-watch.exp: New file.
9552
0578b8d1
YQ
95532011-05-30 Yao Qi <yao@codesourcery.com>
9554
9555 * gdb.base/callfuncs.c (t_structs_fc): New.
9556 (t_structs_dc, t_structs_ldc): New.
9557 (t_double_many_args):
9558 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
9559 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
9560 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
9561 * gdb.base/callfuncs.exp: Call new functions.
9562
6680506e
YQ
95632011-05-30 Yao Qi <yao@codesourcery.com>
9564
ff4d2c60
YQ
9565 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
9566 Call rerun_and_prepare for each test to isolate effects.
9567
95682011-05-30 Yao Qi <yao@codesourcery.com>
9569
9570 * gdb.base/varargs.c (find_max_float_real): New.
9571 (find_max_double_real, find_max_long_double_real): New.
9572 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
9573 * lib/gdb.exp (setup_kfail_for_target): New.
9574
e43ec454
YQ
95752011-05-30 Yao Qi <yao@codesourcery.com>
9576
9577 * gdb.base/funcargs.c (callca, callcb, callcc): New.
9578 (callcd, callce, callcf, callc1a, callc1b): New.
9579 (callc2a, callc2b): New.
9580 * gdb.base/funcargs.exp (complex_args): New.
9581 (complex_integral_args, complex_float_integral_args): New.
9582 * lib/gdb.exp (support_complex_tests): New. Determine
9583 whether to run test cases on _Complex types.
9584
432b4d03
JK
95852011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9586
9587 * gdb.threads/leader-exit.c: New file.
9588 * gdb.threads/leader-exit.exp: New file.
9589
6caf069d
MP
95902011-05-27 Marek Polacek <mpolacek@redhat.com>
9591
9497469f 9592 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 9593
97fce28b
MP
95942011-05-27 Marek Polacek <mpolacek@redhat.com>
9595
9596 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
9597 remove the `supported' variable.
9598 * gdb.mi/mi-nonstop.exp: Likewise.
9599 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9600 * gdb.mi/mi-nsintrall.exp: Likewise.
9601 * gdb.mi/mi-nsmoribund.exp: Likewise.
9602 * gdb.mi/mi-nsthrexec.exp: Likewise.
9603
9da8c2a0
PA
96042011-05-26 Pedro Alves <pedro@codesourcery.com>
9605
9606 * gdb.reverse/finish-reverse-bkpt.exp: New test.
9607
2c03e5be
PA
96082011-05-26 Pedro Alves <pedro@codesourcery.com>
9609
9610 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
9611
2e21250d
KS
96122011-05-24 Keith Seitz <keiths@redhat.com>
9613
9614 PR breakpoint/12803
9615 * gdb.cp/cmpd-minsyms.cc (a): New method.
9616 (b): New method.
9617 (c): New method.
9618 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
9619
cdac0397
PA
96202011-05-24 Pedro Alves <pedro@codesourcery.com>
9621
9622 * gdb.base/commands.exp (watchpoint_command_test): Check that the
9623 watchpoint's command list didn't execute when the watchpoint went
9624 out of scope.
9625
ee5683ab
PM
96262011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
9627
9628 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
9629 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
9630 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
9631 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9632 * gdb.arch/i386-permbkpt.exp: Likewise.
9633 * gdb.arch/i386-prologue.exp: Likewise.
9634 * gdb.arch/i386-size-overlap.exp: Likewise.
9635 * gdb.arch/i386-size.exp: Likewise.
9636 * gdb.arch/i386-unwind.exp: Likewise.
9637 * gdb.reverse/i386-precsave.exp: Likewise.
9638 * gdb.reverse/i386-reverse.exp: Likewise.
9639 * gdb.reverse/i386-sse-reverse.exp: Likewise.
9640 * gdb.reverse/i387-env-reverse.exp: Likewise.
9641 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9642
c91c8c16
PA
96432011-05-24 Pedro Alves <pedro@codesourcery.com>
9644
9645 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
9646 file doesn't error, using MI.
9647
c50491a7
TT
96482011-05-23 Tom Tromey <tromey@redhat.com>
9649
9650 * gdb.base/charset.exp (string_display): Add tests to assign to
9651 arrays.
9652 * gdb.base/charset.c (short_array, int_array, long_array): New.
9653
4a07b7da
PA
96542011-05-20 Pedro Alves <pedro@codesourcery.com>
9655
9656 Cope with async mode.
9657
4a07b7da
PA
9658 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
9659 into gdb_test + mi_expect_stop.
9660
b275f2d2
PA
96612011-05-20 Pedro Alves <pedro@codesourcery.com>
9662
9663 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
9664 (callme): Remove printf call.
9665
eec52c44
PM
96662011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
9667
9668 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
9669 quote pattern to avoid problems with Cygwin/mingw expect versions.
9670 * gdb.base/default.exp (show convenience): Use double
9671 quote pattern for regular expressions.
9672
b3c8eb43
JK
96732011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9674
9675 Fix -readnow for -gdwarf-4 unused type units.
9676 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
9677 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
9678
ed731959
JK
96792011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9680
9681 * gdb.base/kill-after-signal.c: New file.
9682 * gdb.base/kill-after-signal.exp: New file.
9683
3b48433d
PA
96842011-05-16 Pedro Alves <pedro@codesourcery.com>
9685
9686 * gdb.ada/start.exp: Call untested with the correct test filename.
9687 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
9688 test filename. Make the test's binary unique.
9689 * gdb.arch/i386-signal.exp: Call untested with the correct test
9690 filename.
9691 * gdb.arch/i386-size-overlap.exp: Ditto.
9692 * gdb.arch/Makefile.in (EXECUTABLES): Update.
9693 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9694 * gdb.cp/call-c.exp: Ditto.
9695 * gdb.mi/mi-reverse.exp: Call untested with the correct test
9696 filename. Make the test's binary unique.
9697 * gdb.mi/Makefile.in (EXECUTABLES): Update.
9698 * gdb.python/py-mi.exp: Ditto.
9699 * gdb.python/Makefile.in (EXECUTABLES): Update.
9700 * gdb.reverse/i386-precsave.exp: Ditto.
9701 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
9702 test filename.
9703 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9704 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
9705 unique.
9706 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
9707 test filename.
9708 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
9709 * gdb.trace/tfile.exp: Ditto.
9710
ba4a8bdd
YQ
97112011-05-14 Yao Qi <yao@codesourcery.com>
9712
9713 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
9714 type.
9715
dbaefcf7
DE
97162011-05-13 Doug Evans <dje@google.com>
9717
9718 * gdb.python/py-objfile-script.exp: New file.
9719 * gdb.python/py-objfile-script.c: New file.
9720 * gdb.python/py-objfile-script-gdb.py: New file.
9721 * testsuite/gdb.python/py-section-script.exp: Test
9722 "info auto-load-scripts".
9723
9930639c
TT
97242011-05-13 Tom Tromey <tromey@redhat.com>
9725
9726 * gdb.dwarf2/clztest.exp: New file.
9727 * gdb.dwarf2/clztest.c: New file.
9728 * gdb.dwarf2/clztest.S: New file.
9729
05272e11
DE
97302011-05-13 Doug Evans <dje@google.com>
9731
cc63ef9b
DE
9732 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
9733 String16 tests.
05272e11 9734
6edba76f
TT
97352011-05-13 Tom Tromey <tromey@redhat.com>
9736
9737 * lib/gdb.exp (is_x86_like_target): New proc.
9738 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
9739 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
9740 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
9741 -nostdlib to compiler.
9742 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
9743 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
9744 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
9745 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
9746 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
9747
028d0ed5
TJB
97482011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
9749
9750 * gdb.python/py-function.exp: Test setting a value from a function
9751 which executes a command.
9752
8a9b8146
TT
97532011-05-12 Tom Tromey <tromey@redhat.com>
9754
9755 * gdb.dwarf2/typeddwarf.S: New file.
9756 * gdb.dwarf2/typeddwarf.c: New file.
9757 * gdb.dwarf2/typeddwarf.exp: New file.
9758
10483e8e
MP
97592011-05-12 Marek Polacek <mpolacek@redhat.com>
9760
9761 * gdb.mi/mi-basics.exp: Fix races. Honour the
9762 `test_exec_and_symbol_mi_operatons' return value.
9763 (test_mi_interpreter_selection): Use mi_gdb_test instead of
9764 gdb_test_multiple.
9765 (test_exec_and_symbol_mi_operatons): Likewise.
9766 (test_path_specification): Likewise.
9767
faf067f1
JK
97682011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9769
9770 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
9771 (gdb_touch_execfile): Remove catch wrappers. New variable time.
9772 Replace `file copy' and `file rename' by `file mtime'. Twice.
9773
7ff911a3
JK
97742011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9775
9776 * gdb.base/readline-ask.c: New file.
9777 * gdb.base/readline-ask.exp: New file.
9778 * gdb.base/readline-ask.inputrc: New file.
9779
a536c6d7
UW
97802011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
9781
9782 * gdb.cell/bt.exp: Delete breakpoints before running to signal
9783 to avoid race condition.
9784 * gdb.cell/coremaker.c: Use small stack size.
9785 * gdb.cell/ea-standalone.exp: Use file name without path as
9786 argument to c_to.
9787 * gdb.cell/fork.exp: Allow other output when continuing to end.
9788
d472a426
JK
97892011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9790
9791 * gdb.threads/corethreads.c: New file.
9792 * gdb.threads/corethreads.exp: New file.
9793
97942011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
9795
9796 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
9797 Try to compile the test using -Wl,-z,norelro first.
9798 (load_core): New variable libthread_db_seen, initialize it.
9799 (zeroed-threads cannot be listed): Protect it by XFAIL on
9800 !$libthread_db_seen.
9801
8be455d7
JK
98022011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9803
9804 PR 12573
9805 * gdb.dwarf2/dw2-skip-prologue.S: New file.
9806 * gdb.dwarf2/dw2-skip-prologue.c: New file.
9807 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
9808
1976171a
JK
98092011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9810
9811 * gdb.cp/psymtab-parameter.cc: New file.
9812 * gdb.cp/psymtab-parameter.exp: New file.
9813
7db6f30f
JK
98142011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9815
9816 Fix a race.
9817 * gdb.cp/static-print-quit.exp (print c): Split to ...
9818 (print c - <return>, print c - q <return>, print c - to quit):
9819 ... these. Make the testfile untested on gdb-7.1.
9820
85161e9e 98212011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
9822
9823 * lib/gdb.exp (exec_target_file, exec_symbol_file,
9824 gdb_rename_execfile, gdb_touch_execfile): New.
9825 * gdb.base/reread.exp: Use new procs to handle multiple
9826 exec files.
9827
0c51be18
YQ
98282011-05-05 Yao Qi <yao@codesourcery.com>
9829
9830 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
9831 (test_adr_32bit, test_pop_pc): New.
9832 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
9833 (test_adr_32bit, test_pop_pc): New.
9834
4d393d60
JM
98352011-05-04 Joseph Myers <joseph@codesourcery.com>
9836
9837 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
9838 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
9839 targets.
9840 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
9841 handle targets.
9842
8ffd0459
JK
98432011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9844
9845 * gdb.base/completion.exp (complete help info wat): Rename to ...
9846 (complete 'help info wat'): ... here.
9847 Remove all `-re ".*' and `-re "^.*' redundant regexes.
9848 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
9849
8e28d804
PA
98502011-05-04 Pedro Alves <pedro@codesourcery.com>
9851
9852 * gdb.base/completion.exp: Use gdb_test_multiple instead of
9853 gdb_test and explicit $gdb_prompt/timeout matches.
9854
3eb2ef34
YQ
98552011-05-04 Yao Qi <yao@codesourcery.com>
9856
9857 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
9858 and __thumb2__.
9859
aaaf81a3
MP
98602011-05-03 Marek Polacek <mpolacek@redhat.com>
9861
9862 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
9863 in place of `gdb_test "delete breakpoints"'. This eliminates two
9864 testcases.
9865
c4cbc0df
PA
98662011-05-02 Pedro Alves <pedro@codesourcery.com>
9867
9868 PR testsuite/12649
9869 Fix races.
9870
9871 * gdb.base/completion.exp: Remove all sleep calls. Remove
9872 unnecessary regexs. Don't explicitly expect anything after the
9873 prompt. Eat the prompt if necessary.
9874
b4cbb4a3
EBM
98752011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
9876
9877 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
9878 accept to show the caller line again as well as the line after.
9879
d65aec65
PM
98802011-04-29 Phil Muldoon <pmuldoon@redhat.com>
9881
9882 PR mi/12531
9883
9884 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
9885 compile target.
9886 * gdb.python/py-prettyprint.exp: Add C++ object for
9887 CPLUS_FAKE_CHILD test.
9888
30852783
UW
98892011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
9890
9891 * gdb.base/signest.exp: New file.
9892 * gdb.base/signest.c: Likewise.
9893
c7b1f0d9
JK
98942011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9895
9896 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
9897 thread and breakpoint notifications.
9898
559a7a62
JK
98992011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9900
9901 * gdb.base/fortran-sym-case.c: New file.
9902 * gdb.base/fortran-sym-case.exp: New file.
9903 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
9904 * gdb.dwarf2/dw2-case-insensitive.c: New file.
9905 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
9906
8344e389
JK
99072011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9908
9909 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
9910 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
9911 false #1', `if true else false #2' and `if true else false #3'.
9912
2484c66b
UW
99132011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
9914
9915 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
9916 while delivering signal.
9917
8d3788bd
VP
99182011-04-27 Vladimir Prus <vladimir@codesourcery.com>
9919
9920 MI breakpoint notifications.
9921
9922 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
9923 * testsuite/gdb.mi/mi2-cli.exp: Adust.
9924 * testsuite/gdb.mi/mi-watch.exp: Adust.
9925 * testsuite/gdb.mi/mi2-watch.exp: Adust.
9926 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
9927 notifications.
8d3788bd 9928
3e03848b
JK
99292011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9930
9931 * gdb.base/gdbindex-stabs-dwarf.c: New file.
9932 * gdb.base/gdbindex-stabs.c: New file.
9933 * gdb.base/gdbindex-stabs.exp: New file.
9934
918c9108
YQ
99352011-04-25 Yao Qi <yao@codesourcery.com>
9936
9937 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
9938 with /*...*/.
9939 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
9940
90556b8c
JK
99412011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9942
9943 * gdb.python/py-value.exp (test_objfiles): Name the first test
9944 `py-value in file.filename'.
9945
03f2bd59
JK
99462011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9947
9948 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
9949 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
9950 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
9951 !gdbserver_reconnect_p..
9952 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
9953
7b08b9eb
JK
99542011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9955
9956 * gdb.cp/cpcompletion.exp (complete class methods)
9957 (complete class methods beginning with F): Move them above runto. New
9958 comment about the runto delimiter.
9959
b78974c3
PA
99602011-04-20 Pedro Alves <pedro@codesourcery.com>
9961
9962 * gdb.base/maint.exp: Test that "maint print registers" works
9963 without a running program.
9964
20429c40 99652011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 9966
20429c40
MP
9967 * gdb.base/setshow.exp: Fix racy tests.
9968 ($old_gdb_prompt): New variable.
9969
7a9dd1b2
TT
99702011-04-19 Tom Tromey <tromey@redhat.com>
9971
9972 * gdb.mi/mi-nsmoribund.exp:
9973 * gdb.hp/gdb.objdbg/objdbg01.exp:
9974 * gdb.base/structs.exp (test_struct_returns):
9975 * gdb.base/call-sc.exp (test_scalar_returns):
9976 * gdb.base/bigcore.exp: Remove duplicate words.
9977
02835898
JK
99782011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9979
9980 * gdb.base/break-interp-lib.c (v, vptr): New variables.
9981 * gdb.base/break-interp.exp (test_attach): New comment.
9982
254f582e
JK
99832011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9984
9985 * gdb.threads/gcore-thread.exp ($core0file): New variable.
9986 (clear __stack_user.next, clear stack_used.next)
9987 (save a zeroed-threads corefile): New test.
9988 Call core_load for $core0file.
9989 (zeroed-threads cannot be listed): New test.
9990
4fe85f5c
JK
99912011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9992
9993 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
9994 filename.
9995 ($srcfile): Preserve the original value.
9996 ($testfile): Match it the .exp filename.
9997 ($corefile): New variable. Substitute it around.
9998 Use clean_restart.
9999 ($prev_timeout): Remove.
10000 (load_core): Move core loading into this proc.
10001 Fix restore of $timeout if load_core fails.
10002
63524580
JK
100032011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10004
10005 * gdb.base/eu-strip-infcall.c: New file.
10006 * gdb.base/eu-strip-infcall.exp: New file.
10007
90359a16
JK
100082011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10009
10010 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
10011 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
10012
626e7282
JK
100132011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10014
10015 Fix Python access to inlined frames.
10016 * gdb.python/py-frame-inline.c: New file.
10017 * gdb.python/py-frame-inline.exp: New file.
10018
3363d018
EBM
100192011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
10020
10021 * gdb.base/gdb1090.exp: Change breakpoint location to read the
10022 content of 's24' correctly (avoiding "optimized out").
10023 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
10024
28781456
JK
100252011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10026
10027 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
10028
4a4106ca
TJB
100292011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
10030
10031 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
10032 expect a colon in watch -location output.
10033
d26ccb4f
JK
100342011-04-13 Marek Polacek <mpolacek@redhat.com>
10035
df46027d 10036 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
10037 New testcase `expect response to define backtrace'. Also remove
10038 redundant `default' block.
10039
e1ab1f9c
JK
100402011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10041
10042 * gdb.python/py-prettyprint.c (struct hint_error): New.
10043 (main): New variable hint_error.
10044 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
10045 "print hint_error".
10046 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
10047 (register_pretty_printers): Register it.
10048
0c2e6019
TT
100492011-04-04 Tom Tromey <tromey@redhat.com>
10050
10051 * gdb.cp/maint.exp (test_help): Update.
10052 (test_namespace): Likewise.
10053
af57139d
JB
100542011-04-01 Joel Brobecker <brobecker@adacore.com>
10055
10056 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
10057 * gdb.ada/arrayptr.exp: Add new tests.
10058
956a9fb9
JB
100592011-04-01 Joel Brobecker <brobecker@adacore.com>
10060
10061 * gdb.ada/mi_catch_ex: New testcase.
10062
d0c4d642
PA
100632011-04-01 Pedro Alves <pedro@codesourcery.com>
10064
10065 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
10066 base::overload(void) method without specifying "const".
10067
18819fa6
UW
100682011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
10069
10070 * gdb.arch/thumb-singlestep.S: New file.
10071 * gdb.arch/thumb-singlestep.exp: Likewise.
10072
a4c8e806
TT
100732011-03-31 Tom Tromey <tromey@redhat.com>
10074
10075 * gdb.python/py-prettyprint.py (exception_flag): New global.
10076 (NoStringContainerPrinter._iterator.next): Check it.
10077 * gdb.python/py-prettyprint.c (main): New variable nstype2.
10078 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
10079
53832f31
TT
100802011-03-29 Tom Tromey <tromey@redhat.com>
10081
10082 * gdb.cp/anon-struct.cc: New file.
10083 * gdb.cp/anon-struct.exp: New file.
10084
e4620230
JK
100852011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10086
10087 Test STT_GNU_IFUNC support.
10088 * gdb.base/gnu-ifunc-lib.c: New file.
10089 * gdb.base/gnu-ifunc.c: New file.
10090 * gdb.base/gnu-ifunc.exp: New file.
10091
d0fb5eae
JK
100922011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10093
10094 Support a ring of related breakpoints.
10095 * gdb.base/watchpoint-delete.c: New file.
10096 * gdb.base/watchpoint-delete.exp: New file.
10097
20106cfb
JK
100982011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10099
10100 * gdb.ada/arrayparam.exp (print first after function call): Use
10101 explicit package name. Add a comment
10102 (print lasta after function call): Rename ...
10103 (print last after function call): ... it and use explicit package
10104 name.
10105 (print length after function call): Use explicit package name.
10106 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
10107 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
10108 (multiple matches for symbol i): Rename ...
10109 (multiple matches for symbol integervar): ... it.
10110 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
10111 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
10112
e7ab5e63
AB
101132011-03-25 Andrew Burgess <aburgess@broadcom.com>
10114
10115 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
10116 environment variable to make grep output more predictable. Move
10117 all the environment setup into gdb_init so it's done once per test
10118 case rather than each time we start gdb.
10119
9ef07c8c
TT
101202011-03-24 Tom Tromey <tromey@redhat.com>
10121
10122 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
10123 test.
10124
dd90784c
JK
101252011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10126
10127 * gdb.dwarf2/dw2-entry-value-main.c: New file.
10128 * gdb.dwarf2/dw2-entry-value.S: New file.
10129 * gdb.dwarf2/dw2-entry-value.exp: New file.
10130
05775840
PM
101312011-03-22 Phil Muldoon <pmuldoon@redhat.com>
10132
6fdff2c5 10133 PR python/12183
05775840
PM
10134
10135 * gdb.python/py-function.exp: Add GdbError tests.
10136
8661b11b
PA
101372011-03-18 Pedro Alves <pedro@codesourcery.com>
10138
10139 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
10140 (reglocal_test_func, statlocal_test_func): New functions.
10141 (globals_test_func): Call new functions.
10142 * gdb.trace/unavailable.exp (gdb_collect_args_test)
10143 (gdb_collect_locals_test): New procedure.
10144 (gdb_trace_collection_test): Call new procedures.
10145
0fdb4f18
PA
101462011-03-18 Pedro Alves <pedro@codesourcery.com>
10147
10148 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
10149 (test_register, test_register_unavailable): New procedures.
10150 (gdb_unavailable_registers_test): New procedure.
10151 (gdb_trace_collection_test): Call it.
10152
99c3dc11
PM
101532011-03-18 Phil Muldoon <pmuldoon@redhat.com>
10154
6fdff2c5 10155 PR python/12149
99c3dc11
PM
10156
10157 * gdb.python/python.exp: Add gdb.write tests.
10158
29703da4
PM
101592010-03-17 Phil Muldoon <pmuldoon@redhat.com>
10160
10161 * gdb.python/Makefile.in: Add py-objfile.
10162 * gdb.python/py-objfile.exp: New file.
10163 * gdb.python/py-objfile.c: New file.
10164 * gdb.python/py-block.exp: Add is_valid tests.
10165 * gdb.python/py-inferior.exp: Ditto.
10166 * gdb.python/py-infthread.exp: Ditto.
10167 * gdb.python/py-symbol.exp: Ditto.
10168 * gdb.python/py-symtab.exp: Ditto.
10169
598997c8
KS
101702011-03-16 Keith Seitz <keiths@redhat.com>
10171
10172 PR c++/12273
10173 * gdb.cp/cmpd-minsyms.exp: New test.
10174 * gdb.cp/cmpd-minsyms.cc: New file.
10175
10176 PR c++/11734
10177 * gdb.cp/ovsrch.exp: New test.
10178 * gdb.cp/ovsrch.h: New file.
10179 * gdb.cp/ovsrch1.cc: New file.
10180 * gdb.cp/ovsrch2.cc: New file.
10181 * gdb.cp/ovsrch3.cc: New file.
10182 * gdb.cp/ovsrch4.cc: New file.
10183
c91513d8
PP
101842011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10185
10186 PR gdb/12528
10187 * gdb.base/Makefile.in: Adjust EXECUTABLES.
10188 * gdb.base/break-on-linker-gcd-function.exp: New test.
10189 * gdb.base/break-on-linker-gcd-function.cc: New file.
10190
7470fc63
AT
101912011-03-15 Andreas Tobler <andreast@fgznet.ch>
10192
10193 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
10194
959e7469
PM
101952011-03-15 Phil Muldoon <pmuldoon@redhat.com>
10196
10197 * lib/gdb.exp (gdb_unload): Add another termination case.
10198
9373cf26
JK
101992011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10200
10201 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
10202 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
10203 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
10204 Provide a stub byte there.
10205 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
10206 DW_AT_entry_pc.
10207 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
10208
24e9cda0
UW
102092011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
10210
10211 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
10212 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
10213 "generic ABI, auto".
10214 (altivec_abi_tests): Accept vectors returned by reference.
10215
7371cf6d
PM
102162010-03-14 Phil Muldoon <pmuldoon@redhat.com>
10217
10218 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
10219
ce77046a
UW
102202011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
10221
10222 * gdb.python/py-section-script.exp: Skip test if no Python support.
10223
176400c3
UW
102242011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
10225
10226 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
10227
ecec24e6
PM
102282011-03-10 Phil Muldoon <pmuldoon@redhat.com>
10229
10230 * gdb.python/py-parameter.exp: Update tests to the new Python
10231 parameter API. Add "no documentation" test. Add deprecated API
10232 backward compatibility test.
10233
5dbdd470
TT
102342011-03-09 Tom Tromey <tromey@redhat.com>
10235
10236 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
10237 gdb_continue_to_end.
10238
b66e66ee
MK
102392011-03-09 Mark Kettenis <kettenis@gnu.org>
10240
10241 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
10242 tabs.
10243
eceb0c5f
TT
102442011-03-09 Tom Tromey <tromey@redhat.com>
10245
10246 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
10247 parentheses.
10248 (gdb_continue_to_end): Add "allow_extra" parameter. Use
10249 $command.
10250 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
10251 argument to gdb_continue_to_end.
10252 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10253 argument to gdb_continue_to_end.
10254 * gdb.cp/annota3.exp: Fix regex.
10255 * gdb.cp/annota2.exp: Fix regex.
10256 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
10257 gdb_continue_to_end.
10258 * gdb.base/call-signal-resume.exp: Revert earlier patch.
10259 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
10260 gdb_continue_to_end.
10261
63154eca
PA
102622011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10263
10264 * gdb.server/ext-run.exp
10265 (load new file without any gdbserver inferior): New test.
10266
967d1f9b
TT
102672011-03-07 Tom Tromey <tromey@redhat.com>
10268
10269 * Makefile.in (TAGS): Rewrite.
10270
d68dcbb9
JK
102712011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10272
10273 * gdb.trace/report.exp (12.1: trace report #1): New match for the
10274 initial commands echo. New match for `Found trace'. Anchor all the
10275 other matches. Anchor and match for `No trace frame found' the final
10276 match.
10277
6bf58e63
TT
102782011-03-07 Tom Tromey <tromey@redhat.com>
10279
10280 * Makefile.in (TAGS): New target.
10281
fda326dd
TT
102822011-03-07 Tom Tromey <tromey@redhat.com>
10283
10284 * lib/opencl.exp (skip_opencl_tests): Update for exit message
10285 change.
10286 * lib/mi-support.exp (mi_gdb_test): Update for exit message
10287 change.
10288 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
10289 exit message change.
10290 (skip_altivec_tests): Update for exit message change.
10291 (skip_vsx_tests): Likewise.
10292 (gdb_continue_to_end): Likewise. Add 'command' argument.
10293 * lib/cell.exp (skip_cell_tests): Update for exit message change.
10294 * gdb.threads/tls.exp: Update for exit message change.
10295 * gdb.threads/thread-unwindonsignal.exp: Use
10296 gdb_continue_to_end.
10297 * gdb.threads/step.exp (step_it): Update for exit message change.
10298 (continue_all): Likewise.
10299 * gdb.threads/print-threads.exp (test_all_threads): Update for
10300 exit message change.
10301 * gdb.threads/interrupted-hand-call.exp: Use
10302 gdb_continue_to_end.
10303 * gdb.threads/execl.exp: Use gdb_continue_to_end.
10304 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
10305 gdb_continue_to_end.
10306 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
10307 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
10308 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
10309 * gdb.cp/method.exp: Update for exit message change.
10310 * gdb.cp/mb-templates.exp: Update for exit message change.
10311 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
10312 * gdb.cp/annota3.exp: Update for exit message change.
10313 * gdb.cp/annota2.exp: Update for exit message change.
10314 * gdb.cell/fork.exp: Use gdb_continue_to_end.
10315 * gdb.base/term.exp: Update for exit message change.
10316 * gdb.base/step-test.exp (test_i): Update for exit message change.
10317 * gdb.base/sigstep.exp (advance): Update for exit message change.
10318 (advancei): Likewise.
10319 * gdb.base/siginfo.exp: Update for exit message change.
10320 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
10321 * gdb.base/reread.exp: Use gdb_continue_to_end.
10322 * gdb.base/langs.exp: Use gdb_continue_to_end.
10323 * gdb.base/interrupt.exp: Update for exit message change.
10324 * gdb.base/gdb1555.exp: Update for exit message change.
10325 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
10326 * gdb.base/ending-run.exp: Update for exit message change.
10327 * gdb.base/chng-syms.exp: Update for exit message change.
10328 * gdb.base/checkpoint.exp: Update for exit message change.
10329 * gdb.base/catch-syscall.exp (check_for_program_end): Use
10330 gdb_continue_to_end.
10331 (test_catch_syscall_with_wrong_args): Likewise.
10332 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
10333 * gdb.base/break-interp.exp (test_ld): Update for exit message
10334 change.
10335 * gdb.base/bang.exp: Update for exit message change.
10336 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
10337 (do_call_attach_tests): Likewise.
10338 * gdb.base/a2-run.exp: Update for exit message change.
10339 * gdb.arch/ppc-dfp.exp: Update for exit message change.
10340 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
10341 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
10342
dd19bd70
JK
103432011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10344
10345 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
10346
30e62689
TT
103472011-03-03 Tom Tromey <tromey@redhat.com>
10348
10349 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
10350 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
10351 * gdb.hp/gdb.aCC/configure.ac: Remove.
10352 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
10353 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
10354 * gdb.hp/gdb.base-hp/configure.ac: Remove.
10355 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
10356 * gdb.hp/gdb.compat/configure (Makefile): Remove.
10357 * gdb.hp/gdb.compat/configure.ac: Remove.
10358 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
10359 * gdb.hp/gdb.defects/configure (Makefile): Remove.
10360 * gdb.hp/gdb.defects/configure.ac: Remove.
10361 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
10362 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
10363 * gdb.hp/gdb.objdbg/configure.ac: Remove.
10364 * gdb.hp/configure.ac: Remove.
10365 * gdb.hp/configure: Remove.
10366 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
10367 substitution.
10368 (Makefile): Remove rule.
10369 * gdb.cell/configure.ac: Remove.
10370 * gdb.cell/configure: Remove.
10371 * gdb.stabs/Makefile.in (Makefile): Remove.
10372 (distclean): Don't remove config.status or config.log.
10373 * gdb.stabs/configure (Makefile): Remove.
10374 * gdb.stabs/configure.ac: Remove.
10375 * configure: Rebuild.
10376 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
10377 Remove stabs- and cell-specific logic. Test for existence of
10378 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
10379 subdirectories, gdb.cell, and and gdb.stabs.
10380 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
10381
c171f854
JB
103822011-03-03 Joel Brobecker <brobecker@adacore.com>
10383
10384 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
10385 end of buffer.
10386
9a5193cb
JB
103872011-03-02 Joel Brobecker <brobecker@adacore.com>
10388
10389 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
10390 gdb_test when running a test where we expected no output back.
10391
9bb4c1bb
MS
103922011-02-28 Michael Snyder <msnyder@vmware.com>
10393
10394 * gdb.cp/overload.cc: Change initializer value to integer.
10395
3bd0f5ef
MS
103962011-02-27 Michael Snyder <msnyder@vmware.com>
10397
10398 * gdb.multi/base.exp: Add test for remove-inferiors.
10399
2279eaad
JB
104002011-02-26 Joel Brobecker <brobecker@adacore.com>
10401
10402 * gdb.python/py-frame.exp: Simplify the initialization phase
10403 using prepare_for_testing.
10404
c82c0b55
MS
104052011-02-25 Michael Snyder <msnyder@vmware.com>
10406
10407 * gdb.multi/base.exp: Add tests for info inferiors with args.
10408
1d94651b
JK
104092011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10410
10411 * gdb.dwarf2/dw2-ranges.S: Rename to ...
10412 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
10413 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
10414 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
10415 asmfile3. Comment the STABS (#3) file compilation. Compile
10416 everything through assembler. Provide KFAIL for symtab/12497.
10417 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
10418 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
10419 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
10420 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
10421
3bd0f5ef
MS
104222011-02-24 Michael Snyder <msnyder@vmware.com>
10423
10424 * gdb.base/break.exp: Add tests for delete breakpoints using
10425 convenience variables and value history references.
10426
12c1418e
MS
104272011-02-24 Michael Snyder <msnyder@vmware.com>
10428
10429 * gdb.base/break.exp: Remove debugging 'printf' accidentally
10430 left behind in previous check-in.
10431
e5a67952
MS
104322011-02-23 Michael Snyder <msnyder@vmware.com>
10433
10434 * gdb.base/break.exp: Add tests for "info break" with arguments.
10435 * gdb.trace/infotrace.exp: Update patterns for error and help.
10436 * gdb.base/completion.exp: Update pattern.
10437 * gdb.base/ena-dis-br.exp: Update pattern.
10438 * gdb.base/help.exp: Update patterns.
10439
104402011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
10441
10442 * gdb.base/memattr.exp: New test.
10443 * gdb.base/memattr.c: Test load for memattr.exp.
10444
6e6fbe60
DE
104452011-02-22 Doug Evans <dje@google.com>
10446
10447 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
10448
1d41d745
MS
104492011-02-22 Michael Snyder <msnyder@vmware.com>
10450
10451 * Makefile.in: Make more clean.
10452 * gdb.ada/Makefile.in: Ditto.
10453 * gdb.arch/Makefile.in: Ditto.
10454 * gdb.asm/Makefile.in: Ditto.
10455 * gdb.base/Makefile.in: Ditto.
10456 * gdb.cp/Makefile.in: Ditto.
10457 * gdb.dwarf2/Makefile.in: Ditto.
10458 * gdb.java/Makefile.in: Ditto.
10459 * gdb.mi/Makefile.in: Ditto.
10460 * gdb.modula2/Makefile.in: Ditto.
10461 * gdb.python/Makefile.in: Ditto.
10462 * gdb.server/Makefile.in: Ditto.
10463 * gdb.stabs/Makefile.in: Ditto.
10464 * gdb.threads/Makefile.in: Ditto.
10465 * gdb.trace/Makefile.in: Ditto.
10466
79ba84ca
MS
104672011-02-22 Michael Snyder <msnyder@vmware.com>
10468
df46027d 10469 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
10470 info threads.
10471
b9b35694
JB
104722011-02-22 Joel Brobecker <brobecker@adacore.com>
10473
10474 * gdb.python/py-breakpoint.exp: Fix the expected output of
10475 one of the "maint info breakpoints" tests to accept the output
10476 generated on platforms that do not have hardware watchpoints.
10477
8bfb830f
JB
104782011-02-22 Joel Brobecker <brobecker@adacore.com>
10479
10480 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
10481 clean_restart. Be a little stricter in the expected output
10482 for one of the tests. Fix a typo in one of the comments.
10483
c45f3c54
JB
104842011-02-22 Joel Brobecker <brobecker@adacore.com>
10485
10486 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
10487 Delete variable binfile, no longer use. Add or modify test
10488 comments to make them unique.
10489
b97c863c
MS
104902011-02-21 Michael Snyder <msnyder@vmware.com>
10491
10492 * Makefile.in: Update for make clean.
10493 * gdb.ada/Makefile.in: Ditto.
10494 * gdb.arch/Makefile.in: Ditto.
10495 * gdb.asm/Makefile.in: Ditto.
10496 * gdb.base/Makefile.in: Ditto.
10497 * gdb.cp/Makefile.in: Ditto.
10498 * gdb.dwarf2/Makefile.in: Ditto.
10499 * gdb.java/Makefile.in: Ditto.
10500 * gdb.mi/Makefile.in: Ditto.
10501 * gdb.modula2/Makefile.in: Ditto.
10502 * gdb.python/Makefile.in: Ditto.
10503 * gdb.server/Makefile.in: Ditto.
10504 * gdb.stabs/Makefile.in: Ditto.
10505 * gdb.threads/Makefile.in: Ditto.
10506 * gdb.trace/Makefile.in: Ditto.
10507
aea5b279
MS
105082011-02-21 Michael Snyder <msnyder@vmware.com>
10509
10510 * gdb.threads/thread-find.exp: Update patterns for changes in
10511 output of "info threads" command.
10512
e3039479
UW
105132011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10514 Ulrich Weigand <uweigand@de.ibm.com>
10515
10516 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
10517 (skip_hw_watchpoint_tests): Likewise.
10518 (skip_hw_watchpoint_multi_tests): Likewise.
10519
b800ec70
UW
105202011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
10521
10522 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
10523 (skip_hw_watchpoint_tests): Likewise.
10524 (skip_hw_watchpoint_multi_tests): Likewise.
10525 (skip_hw_watchpoint_access_tests): Likewise.
10526
10527 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
10528 * gdb.base/pr11022.exp: Likewise.
10529 * gdb.base/watch-read.exp: Likewise.
10530 * gdb.base/watch_thread_num.exp: Likewise.
10531 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
10532 * gdb.base/watchpoint-hw.exp: Likewise.
10533 * gdb.base/watchpoint.exp: Likewise.
10534 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
10535 * gdb.threads/watchthreads-reorder.exp: Likewise.
10536 * gdb.threads/watchthreads.exp: Likewise.
10537 * gdb.threads/watchthreads2.exp: Likewise.
10538
91033e37
JB
105392011-02-21 Joel Brobecker <brobecker@adacore.com>
10540
10541 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
10542 the debugger is unable to find the array bounds.
10543
eeaafae2
JK
105442011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10545
10546 * gdb.cp/typedef-operator.exp: New file.
10547 * gdb.cp/typedef-operator.cc: New file.
10548
e338d953
MS
105492011-02-17 Michael Snyder <msnyder@vmware.com>
10550
10551 * gdb.threads/thread-find.exp: Fix regular expressions.
10552
e67ad678
JB
105532011-02-17 Joel Brobecker <brobecker@adacore.com>
10554
10555 * gdb.ada/packed_array: Expand testcase to test printing of
10556 unconstrained packed array.
10557
93084bca
JB
105582011-02-17 Joel Brobecker <brobecker@adacore.com>
10559
10560 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
10561
a0c78a73
PA
105622011-02-16 Pedro Alves <pedro@codesourcery.com>
10563
f65d5553 10564 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
10565 (main): Initialize it before collecting, and and clear it
10566 afterwards.
f65d5553
PA
10567 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
10568 collecting with '{type} addr', where the addr expression is not an
10569 rvalue.
a0c78a73 10570
3dfcbbd2
KW
105712011-02-16 Ken Werner <ken.werner@de.ibm.com>
10572
10573 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
10574 a bool variable. Expect correct OpenCL names for vector types. Use the
10575 uc3 variable name instead of referring to the uchar3 built-in type.
10576 Escape the asterisk at the half pointer test.
10577
08807d5a
PA
105782011-02-16 Pedro Alves <pedro@codesourcery.com>
10579
f65d5553 10580 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
10581 (main): Initialize it before collecting, and and clear it
10582 afterwards.
f65d5553
PA
10583 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
10584 collecting overlapping memory ranges.
08807d5a 10585
60f98dde
MS
105862011-02-15 Michael Snyder <msnyder@vmware.com>
10587
10588 * gdb.base/default.exp: Add tests for thread commands.
10589 * gdb.base/help.exp: Add tests for thread commands.
10590 * gdb.threads/thread-find.exp: New test for thread find command.
10591
648cd113
KW
105922011-02-15 Ken Werner <ken.werner@de.ibm.com>
10593
10594 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
10595
494e194e
YQ
105962011-02-15 Yao Qi <yao@codesourcery.com>
10597
10598 PR tdep/12352
10599 * gdb.arch/arm-disp-step.S : New test for str instruction.
10600 * gdb.arch/arm-disp-step.exp : Likewise.
10601
d9492458
TJB
106022011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
10603
10604 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
10605 "vector_register2_vr" test strings. Test the extended floating
10606 point registers (F32~F63).
10607 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
10608 IBM XL C compiler. Make the test program use a register provided
10609 by the compiler for the lxvd2x instruction.
10610
8af8e3bc
PA
106112011-02-14 Pedro Alves <pedro@codesourcery.com>
10612
10613 * gdb.trace/unavailable.cc (class Base, class Middle, class
10614 Derived): New types.
10615 (derived_unavail, derived_partial, derived_whole): New globals.
10616 (virtual_partial): New global.
10617 (virtualp): Point at virtual_partial.
10618 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
10619 related to unavailable vptr.
10620
1b28d0b3
PA
106212011-02-14 Pedro Alves <pedro@codesourcery.com>
10622
10623 * gdb.trace/unavailable.cc (a, b, c): New globals.
10624 (main): Set and clear them.
10625 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
10626 `a' and `c', and check that `b' isn't collected, although `a' and
10627 `c' are.
10628
ec0a52e1
PA
106292011-02-14 Pedro Alves <pedro@codesourcery.com>
10630
10631 * gdb.trace/unavailable.cc (struct Virtual): New.
10632 (virtualp): New global pointer.
10633 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
10634 printing a pointer to an object whose type has a vtable, with
10635 print object on.
10636
24e6bcee
PA
106372011-02-14 Pedro Alves <pedro@codesourcery.com>
10638
10639 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
10640 value repeat handles unavailableness.
10641
39d37385
PA
106422011-02-14 Pedro Alves <pedro@codesourcery.com>
10643
10644 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
10645 tests for building arrays from unavailable values, subscripting
10646 non-memory rvalue unvailable arrays, and accessing fields or
10647 baseclasses of non-lazy unavailable values,
10648 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
10649 struct types.
10650 (g_smallstruct, g_smallstruct_b): New globals.
10651
06d72e16
PA
106522011-02-14 Pedro Alves <pedro@codesourcery.com>
10653
10654 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
10655
bc9a5551
JK
106562011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10657
10658 Fix const/volatile qualifiers of C++ types, PR c++/12328.
10659 * gdb.cp/overload-const.exp: New file.
10660 * gdb.cp/overload-const.cc: New file.
10661
54fcddd0
UW
106622011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10663
10664 * gdb.opencl/callfuncs.cl: New file.
10665 * gdb.opencl/callfuncs.exp: New test.
10666 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
10667
d6dafb7c
UW
106682011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
10669
10670 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
10671 when computing result.
10672 * gdb.arch/altivec-abi.exp: Update expected results.
10673
a449c2d8
TJB
106742011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10675
10676 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
10677 * gdb.base/jit.exp: Likewise.
10678 * gdb.base/pie-execl.exp: Likewise.
10679 * gdb.base/solib-nodir.exp: Likewise.
10680 * gdb.base/solib-overlap.exp: Likewise.
10681
764880b7
PA
106822011-02-07 Pedro Alves <pedro@codesourcery.com>
10683
10684 * gdb.trace/collection.c (global_pieces): New.
10685 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
10686 New procedure.
10687 (gdb_trace_collection_test): Call it.
10688
505500db
SW
106892011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
10690
10691 * gdb.python/py-evthreads.c: New file.
10692 * gdb.python/py-evthreads.exp: New file.
10693 * gdb.python/py-events.py: New file.
10694 * gdb.python/py-events.exp: New file.
10695 * gdb.python/py-events.c: New file.
10696
385203ed
DD
106972011-02-04 David Daney <ddaney@caviumnetworks.com>
10698
10699 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
10700
9011945e
AB
107012011-02-03 Andrew Burgess <aburgess@broadcom.com>
10702
10703 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
10704 gdb.base/disasm-end-cu.exp: New test for disassembling over the
10705 boundary between two compilation units.
10706
580688f3
PA
107072011-02-02 Pedro Alves <pedro@codesourcery.com>
10708
10709 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
10710 (Virtual): New structs.
10711 (virtual_o, virtual_middle_b): New globals.
10712 * gdb.cp/virtbase.exp: New tests.
10713
d3f0f853
PP
107142011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10715
10716 * gdb.base/jit.exp: New file.
10717 * gdb.base/jit-main.c: New file.
10718 * gdb.base/jit-solib.c: New file.
10719
b2030fb5
UW
107202011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
10721
10722 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
10723 proceed to initial kernel entry point.
10724 * gdb.opencl/datatypes.exp: Likewise.
10725 * gdb.opencl/operators.exp: Likewise.
10726 * gdb.opencl/vec_comps.exp: Likewise.
10727
2db19d1e
SW
107282011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
10729
10730 * gdb.cp/nsnested.cc: New.
10731 * gdb.cp/nsnested.exp: New.
10732 * gdb.cp/nsnoimports.exp: New.
10733 * gdb.cp/nsnoimports.cc: New.
10734
6b0c4c1f
JB
107352011-01-31 Joel Brobecker <brobecker@adacore.com>
10736
10737 * gdb.base/interact.exp: Add extra tests that verify that
10738 the value of the interactive-mode setting does not change
10739 after the script is sourced.
10740
80b23b6a
JK
107412011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10742
10743 * gdb.cp/noparam.exp: New file.
10744 * gdb.cp/noparam.cc: New file.
10745
ffd5ec24
PA
107462011-01-28 Pedro Alves <pedro@codesourcery.com>
10747
10748 * gdb.trace/tfile.exp: Test that with no traceframe selected,
10749 there's no stack or registers.
10750
a81766d8
TT
107512011-01-26 Tom Tromey <tromey@redhat.com>
10752
10753 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
10754 space before string output. Add test for "set print pretty off"
10755 case.
10756
585fdaa1
PA
107572011-01-25 Pedro Alves <pedro@codesourcery.com>
10758
10759 * gdb.base/frame-args.exp: Adjust.
10760 * gdb.dwarf2/dw2-noloc.exp: Adjust.
10761 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
10762 * gdb.dwarf2/pieces.exp: Adjust.
10763 * gdb.opt/clobbered-registers-O2.exp: Adjust.
10764 * gdb.opt/inline-locals.exp: Adjust.
10765 * gdb.threads/fork-child-threads.exp: Adjust.
10766
d468832a
KW
107672011-01-25 Ken Werner <ken.werner@de.ibm.com>
10768
10769 * gdb.opencl/convs_casts.cl: Move program scope variables into the
10770 OpenCL kernel function. Add a comment as marker. Add address space
10771 qualifiers for the remaining program scope variables.
10772 * gdb.opencl/datatypes.cl: Likewise.
10773 * gdb.opencl/operators.cl: Likewise.
10774 * gdb.opencl/vec_comps.cl: Likewise.
10775 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
10776 Add breakpoint at the marker comment.
10777 * gdb.opencl/datatypes.exp: Likewise.
10778 * gdb.opencl/operators.exp: Likewise.
10779 * gdb.opencl/vec_comps.exp: Likewise.
10780
490f124f
PA
107812011-01-24 Pedro Alves <pedro@codesourcery.com>
10782
10783 * gdb.base/printcmds.c (some_struct): New struct and instance.
10784 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
10785 procedure.
10786 <global scope>: Call it.
10787
6da78614
KW
107882011-01-21 Ken Werner <ken.werner@de.ibm.com>
10789
10790 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
10791 argument to the gdb_compile_opencl_hostapp call.
10792
ec64c9aa
YQ
107932011-01-19 Yao Qi <yao@codesourcery.com>
10794
10795 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
10796 positve list.
10797
810cfdbb
YQ
107982011-01-19 Yao Qi <yao@codesourcery.com>
10799
10800 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
10801 canonical form.
10802 Remove "xscale-*-*"
10803 * gdb.xml/tdesc-regs.exp: Likewise.
10804 * gdb.python/py-section-script.exp: Replace ARM target triplet
10805 with canonical form.
10806 Match arm*-*-symbianelf*.
10807 * gdb.base/dup-sect.exp: Likewise.
10808 * lib/dwarf.exp: New.
10809 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
10810 dwarf2_support.
10811 * gdb.dwarf2/dup-psym.exp: Likewise.
10812 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
10813 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10814 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
10815 * gdb.dwarf2/dw2-basic.exp: Likewise.
10816 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10817 * gdb.dwarf2/dw2-const.exp: Likewise.
10818 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
10819 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
10820 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10821 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
10822 * gdb.dwarf2/dw2-filename.exp: Likewise.
10823 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10824 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
10825 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10826 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10827 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
10828 * gdb.dwarf2/dw2-noloc.exp: Likewise.
10829 * gdb.dwarf2/dw2-op-call.exp: Likewise.
10830 * gdb.dwarf2/dw2-producer.exp: Likewise.
10831 * gdb.dwarf2/dw2-ranges.exp: Likewise.
10832 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
10833 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
10834 * gdb.dwarf2/dw2-strp.exp: Likewise.
10835 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
10836 * gdb.dwarf2/implptr.exp: Likewise.
10837 * gdb.dwarf2/mac-fileno.exp: Likewise.
10838 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
10839 * gdb.dwarf2/pieces.exp: Likewise.
10840 * gdb.dwarf2/pr11465.exp: Likewise.
10841 * gdb.dwarf2/valop.exp: Likewise.
10842 * gdb.dwarf2/watch-notconst.exp: Likewise.
10843 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
10844
4694da01
TT
108452011-01-19 Tom Tromey <tromey@redhat.com>
10846
10847 * gdb.python/py-infthread.exp: Add thread tests.
10848
b075872c
JB
108492011-01-14 Joel Brobecker <brobecker@adacore.com>
10850
10851 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
10852
2c3e6e24
JB
108532011-01-14 Joel Brobecker <brobecker@adacore.com>
10854
10855 * gdb.ada/widewide: New testcase.
10856
de8fa76c
JB
108572011-01-13 Joel Brobecker <brobecker@adacore.com>
10858
10859 * gdb.base/interact.exp: New testcase.
10860
1b05df00
TT
108612011-01-12 Tom Tromey <tromey@redhat.com>
10862
10863 * gdb.mi/gdb2549.exp: Update for error message changes.
10864 * gdb.mi/mi-cli.exp: Likewise.
10865 * gdb.mi/mi-disassemble.exp: Likewise.
10866 * gdb.mi/mi-pthreads.exp: Likewise.
10867 * gdb.mi/mi-regs.exp: Likewise.
10868 * gdb.mi/mi-stack.exp: Likewise.
10869 * gdb.mi/mi-var-block.exp: Likewise.
10870 * gdb.mi/mi-var-cmd.exp: Likewise.
10871 * gdb.mi/mi2-cli.exp: Likewise.
10872 * gdb.mi/mi2-disassemble.exp: Likewise.
10873 * gdb.mi/mi2-pthreads.exp: Likewise.
10874 * gdb.mi/mi2-regs.exp: Likewise.
10875 * gdb.mi/mi2-stack.exp: Likewise.
10876 * gdb.mi/mi2-var-block.exp: Likewise.
10877 * gdb.mi/mi2-var-cmd.exp: Likewise.
10878
c2ff108b
JK
108792011-01-12 Andrew Burgess <aburgess@broadcom.com>
10880 Jan Kratochvil <jan.kratochvil@redhat.com>
10881
10882 PR fortran/11104 and DWARF unbound arrays detection.
10883 * gdb.fortran/multi-dim.exp: New file.
10884 * gdb.fortran/multi-dim.f90: New file.
10885
b716877b
AB
108862011-01-12 Andrew Burgess <aburgess@broadcom.com>
10887
10888 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
10889 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
10890 add new tests for opcode dumping.
10891
6c162d5e
TT
108922011-01-11 Tom Tromey <tromey@redhat.com>
10893
10894 * gdb.python/py-infthread.exp: Load gdb-python.exp.
10895
77b06cd7
TJB
108962010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
10897
10898 Convert hardware watchpoints to use breakpoint_ops.
10899 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
10900 type is not supported.
10901 * gdb.base/foll-fork.exp: Likewise.
10902 * gdb.base/foll-vfork.exp: Likewise.
10903
f39a75d0
PM
109042011-01-10 Phil Muldoon <pmuldoon@redhat.com>
10905
10906 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
10907 Use load_lib gdb-python.exp.
10908 * gdb.python/python.exp: Ditto.
10909 * gdb.python/py-function.exp: Ditto.
10910
fc529d80
AS
109112011-01-09 Andreas Schwab <schwab@linux-m68k.org>
10912
10913 * gdb.threads/tls.exp ("info address me"): Fix expected output.
10914
fb03cb59
JK
109152011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10916
10917 * configure: Regenerate.
10918
d8e22779
TT
109192011-01-06 Tom Tromey <tromey@redhat.com>
10920
10921 * gdb.python/py-frame.exp: Test gdb.newest_frame.
10922
09050809
JB
109232011-01-06 Joel Brobecker <brobecker@adacore.com>
10924
fc529d80
AS
10925 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
10926 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
10927 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
10928 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
10929 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
10930 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
10931 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
10932 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
10933 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
10934 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
10935 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
10936 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
10937 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
10938 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
10939 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
10940 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
10941 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
10942 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
10943 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
10944 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
10945 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
10946 gdb.ada/uninitialized_vars.exp,
10947 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
10948 Simplify by using clean_restart.
09050809 10949
8ed5dd9e
JB
109502011-01-06 Joel Brobecker <brobecker@adacore.com>
10951
10952 Add marker to be used as anchor for inserting breakpoints.
10953 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
10954 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
10955 Likewise.
10956
10957 Remove uses of gdb_start_cmd.
10958 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
10959 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
10960
10961 Do not run testcase if testing with GDBserver.
10962 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
10963 if testing with GDBserver.
10964
368a124f
JB
109652011-01-06 Joel Brobecker <brobecker@adacore.com>
10966
10967 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
10968 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
10969 copyright header.
10970
44944448
JB
109712011-01-05 Joel Brobecker <brobecker@adacore.com>
10972
10973 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
10974 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
10975 testsuite/gdb.fortran/complex.f,
10976 testsuite/gdb.fortran/derived-type.f90,
10977 testsuite/gdb.fortran/library-module-lib.f90,
10978 testsuite/gdb.fortran/library-module-main.f90,
10979 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
10980 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
10981 Copyright year update.
10982
31886ea6
JB
109832011-01-05 Joel Brobecker <brobecker@adacore.com>
10984
10985 * gdb.base/langs1.f: Add copyright header.
10986
ebedcab5
JK
109872011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10988
10989 * gdb.base/morestack.exp: New file.
10990 * gdb.base/morestack.c: New file.
10991
de1eb2f9
JK
109922011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10993
10994 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
10995
9e87a409
JB
109962010-12-29 Joel Brobecker <brobecker@adacore.com>
10997
10998 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
10999 * gdb.ada/arrayptr.exp: Add test printing that new variable.
11000
720d1a40
JB
110012010-12-29 Joel Brobecker <brobecker@adacore.com>
11002
11003 * gdb.ada/lang_switch.exp: Correct expected parameter value.
11004
a283af87
AS
110052010-12-25 Andreas Schwab <schwab@linux-m68k.org>
11006
5d3d9cba
AS
11007 * gdb.threads/tls.exp: Fix typo.
11008
a283af87
AS
11009 * gdb.threads/thread-specific.exp (get_thread_list): Update.
11010 * gdb.threads/execl.exp: Update.
11011
2a20745c
YQ
110122010-12-23 Yao Qi <yao@codesourcery.com>
11013
11014 * gdb.arch/arm-disp-step.exp: New.
11015 * gdb.arch/arm-disp-step.S: New.
11016
a7658b96
TT
110172010-12-21 Tom Tromey <tromey@redhat.com>
11018
11019 * gdb.threads/execl.exp: Update.
11020 * gdb.threads/linux-dp.exp: Update.
11021 * gdb.threads/manythreads.exp: Update.
11022 * gdb.threads/tls.exp: Update.
11023
5b79abe7
TT
110242010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11025
11026 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
11027 (NextOverThrowDerivates) <resumebpt>: New.
11028 (resumebpt_test): New.
11029 (main): Call resumebpt_test.
11030 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
11031
0914bcdb
SS
110322010-12-12 Stan Shebs <stan@codesourcery.com>
11033
11034 * gdb.trace/tsv.exp: Test print command on trace state variables.
11035
305aeedc
TT
110362010-12-09 Tom Tromey <tromey@redhat.com>
11037
11038 * gdb.base/interp.exp: Add regression test.
11039
186c406b
TT
110402010-12-09 Tom Tromey <tromey@redhat.com>
11041
11042 * gdb.java/jnpe.java: New file.
11043 * gdb.java/jnpe.exp: New file.
11044 * gdb.cp/nextoverthrow.exp: New file.
11045 * gdb.cp/nextoverthrow.cc: New file.
11046
aae1c79a
DE
110472010-12-07 Doug Evans <dje@google.com>
11048
11049 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
11050 of data-directory.
11051 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
11052 updated.
11053 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
11054
60f98dde 110552010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
11056
11057 * gdb.base/callfuncs.exp: Test for skip_float_tests.
11058 * gdb.base/call-sc.exp: Ditto.
11059 * gdb.base/finish.exp: Ditto.
11060 * gdb.base/return.exp: Ditto.
11061 * gdb.base/return2.exp: Ditto.
11062
5fa290c1
DE
110632010-11-30 Doug Evans <dje@google.com>
11064
11065 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
11066 (gdb_expect_list): Fix spelling errors in comments.
11067 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
11068 send_gdb/gdb_expect_list where applicable.
11069 * gdb.base/call-ar-st.exp: Ditto.
11070 * gdb.base/funcargs.exp: Ditto.
11071 * gdb.base/gcore.exp: Ditto.
11072 * gdb.base/page.exp: Ditto.
11073 * gdb.base/sigaltstack.exp: Ditto.
11074 * gdb.base/siginfo.exp: Ditto.
11075 * gdb.base/sigstep.exp: Ditto.
11076 * gdb.base/trace-commands.exp: Ditto.
11077
4e04c971
DE
110782010-11-29 Doug Evans <dje@google.com>
11079
11080 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
11081 printer-name;subprinter-name.
11082
8cf6f0b1
TT
110832010-11-29 Tom Tromey <tromey@redhat.com>
11084
11085 * gdb.dwarf2/implptr.exp: New file.
11086 * gdb.dwarf2/implptr.c: New file.
11087 * gdb.dwarf2/implptr.S: New file.
11088
94b6973e
PM
110892010-11-29 Phil Muldoon <pmuldoon@redhat.com>
11090
fc529d80 11091 PR python/12199
94b6973e
PM
11092
11093 * gdb.python/py-breakpoint.exp: Test the delete method.
11094
8358c15c
JK
110952010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11096
11097 Fix step_resume_breakpoint unsaved during an infcall.
11098 * gdb.base/step-resume-infcall.exp: New file.
11099 * gdb.base/step-resume-infcall.c: New file.
11100
f6df29bc
TJB
111012010-11-24 Edjunior Machado <emachado@br.ibm.com>
11102
11103 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
11104
f2b5a5cf
TJB
111052010-11-24 Edjunior Machado <emachado@br.ibm.com>
11106
11107 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
11108 on ppc64's symbols; "finish" and "return" commands must accept to
11109 show the caller line again as well as the line after.
11110 * gdb.asm/powerpc64.inc: New file.
11111
6b0ecdc2
DE
111122010-11-23 Doug Evans <dje@google.com>
11113
11114 * lib/gdb.exp (gdb_test_sequence): New function.
11115 (gdb_expect_list): Add verbose -log call for each pattern.
11116 * gdb.base/signals.exp (test_handle_all_print): Call it.
11117 Reduce timeout increment from 6 minutes to 1 minute.
11118 * gdb.server/ext-run.exp: Call it.
11119
ea976c60
PM
111202010-11-23 Phil Muldoon <pmuldoon@redhat.com>
11121
f2b5a5cf 11122 PR python/12212
ea976c60
PM
11123
11124 * gdb.python/python.exp: Check that selected_thread raises an
11125 error when no inferior is loaded.
11126
c0efa795
JK
111272010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11128
11129 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
11130 * gdb.dwarf2/dw2-stack-boundary.S: New file.
11131
ec3aa567
JK
111322010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11133
11134 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
11135 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
11136
d8249011
DE
111372010-11-18 Doug Evans <dje@google.com>
11138
11139 * gdb.server/ext-run.exp: Fix intermittent failures.
11140
d4eba7d1
NF
111412010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11142
11143 * gdb.stabs/gdb11479.exp: Use runto_main.
11144
b04c2f88
NF
111452010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11146
11147 * gdb.base/break-entry.exp: Skip if using a stub.
11148
ae9d7ce4
NF
111492010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11150
11151 * gdb.python/py-inferior.exp: Pack values in target endianness.
11152
621c8364
TT
111532010-11-12 Tom Tromey <tromey@redhat.com>
11154
11155 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
11156 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
11157 MemoryError.
11158 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
11159 type.
11160 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
11161 MemoryError.
11162 (test_subscript_regression): Update exception type.
11163
84f4c1fe
PM
111642010-11-11 Phil Muldoon <pmuldoon@redhat.com>
11165
11166 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
11167 breakpoint tests.
11168
a1442452
PA
111692010-11-09 Pedro Alves <pedro@codesourcery.com>
11170
11171 * gdb.base/watchpoint.exp: Test "watch -location" with an
11172 innacessible location.
11173
efd11a33
JK
111742010-11-09 Edjunior Machado <emachado@br.ibm.com>
11175 Luis Machado <luisgpm@br.ibm.com>
11176
11177 * gdb.base/maint.exp: Expect "." prefix.
11178 * gdb.base/nodebug.exp: Expect "." Likewise.
11179 * gdb.base/sepsymtab.exp: Expect "." Likewise.
11180 * gdb.base/watchpoint-cond-gone.exp: Likewise.
11181 * gdb.base/watchpoint.exp: Expect a software watch to be created for
11182 POWER server processors.
11183
aa00efb5
JK
111842010-11-08 Edjunior Machado <emachado@br.ibm.com>
11185 Luis Machado <luisgpm@br.ibm.com>
11186
11187 * gdb.base/break-entry.exp: convert entry point for
11188 ppc64 and expect leading `.' on ppc64's symbols
11189
99e7ae30
DE
111902010-11-05 Doug Evans <dje@google.com>
11191
11192 * gdb.base/help.exp: Update expected output.
b521dba8
DE
11193 * gdb.python/py-param.exp: Delete, contents moved to ...
11194 * gdb.python/py-parameter.exp: ... here. New file.
11195 Add test for gdb.parameter ("directories").
99e7ae30 11196
f4b8a18d
KW
111972010-11-05 Ken Werner <ken.werner@de.ibm.com>
11198
11199 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
11200 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
11201 * configure: Regenerate.
11202 * gdb.opencl/Makefile.in: New File.
11203 * gdb.opencl/datatypes.exp: Likewise.
11204 * gdb.opencl/datatypes.cl: Likewise.
11205 * gdb.opencl/operators.exp: Likewise.
11206 * gdb.opencl/operators.cl: Likewise.
11207 * gdb.opencl/vec_comps.exp: Likewise.
11208 * gdb.opencl/vec_comps.cl: Likewise.
11209 * gdb.opencl/convs_casts.exp: Likewise.
11210 * gdb.opencl/convs_casts.cl: Likewise.
11211 * lib/opencl.exp: Likewise.
11212 * lib/opencl_hostapp.c: Likewise.
11213 * lib/opencl_kernel.cl: Likewise.
11214 * lib/cl_util.c: Likewise.
11215 * lib/cl_util.c: Likewise.
11216 * gdb.base/default.exp (set language): Add "opencl" to the list of
11217 languages.
11218
a9d5ef47
SW
112192010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
11220
11221 * gdb.cp/overload.exp: Added test for inheritance overload.
11222 * gdb.cp/overload.cc: Ditto.
11223 * gdb.cp/oranking.exp: Removed releveant kfails.
11224
03eb1c79
JK
112252010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11226 Joel Brobecker <brobecker@adacore.com>
11227
11228 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
11229 check test_compiler_info.
11230
dbc98a8b
KW
112312010-11-03 Ken Werner <ken.werner@de.ibm.com>
11232
11233 * gdb.base/gnu_vector.exp: Adjust expect messages.
11234
120bd360
KW
112352010-11-03 Ken Werner <ken.werner@de.ibm.com>
11236
11237 * gdb.base/gnu_vector.exp: Add unary operator tests.
11238
c37f7098
KW
112392010-11-03 Ken Werner <ken.werner@de.ibm.com>
11240
11241 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
11242
7b51bc51
DE
112432010-11-02 Doug Evans <dje@google.com>
11244
11245 * gdb.python/py-pp-maint.c: New file.
11246 * gdb.python/py-pp-maint.exp: New file.
11247 * gdb.python/py-pp-maint.py: New file.
11248
50c97f38
TT
112492010-11-02 Tom Tromey <tromey@redhat.com>
11250
11251 * gdb.base/default.exp: Remove "scheme" from language list.
11252
a289b8f6
JK
112532010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11254
11255 Revert:
11256 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11257 * gdb.threads/sigstep-threads.exp: New file.
11258 * gdb.threads/sigstep-threads.c: New file.
11259
cd017491
MS
112602010-10-20 Michael Snyder <msnyder@vmware.com>
11261
11262 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
11263
8e6a5956
UW
112642010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11265
11266 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
11267 Skip test completely if gdb,no_hardware_watchpoints.
11268
2c04da0d
UW
112692010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
11270
11271 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
11272 strict, but do not check for any particular function name within libc.
11273
79afc5ef
SW
112742010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11275
11276 * gdb.cp/smartp.exp: New test.
11277 * gdb.cp/smartp.cc : New test.
11278
026ffab7
SW
112792010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
11280
11281 * gdb.cp/converts.exp: Test pointer to bool conversion.
11282 Test pointer to long conversion.
11283 * gdb.cp/oranking.exp: Removed relevant kfail.
11284
3a772aa4
TT
112852010-10-18 Tom Tromey <tromey@redhat.com>
11286
11287 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
11288 argument to lazy_string.
11289 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
11290 (pp_ls.to_string): Use it.
11291 * gdb.python/py-prettyprint.c (main): Move declarations to top.
11292 Add "estring2" local.
11293
5fc3827b
JK
112942010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11295
11296 Fix s390x compatibility.
11297 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
11298 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
11299
8aeb23f3
JK
113002010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11301
11302 * gdb.threads/sigstep-threads.exp: New file.
11303 * gdb.threads/sigstep-threads.c: New file.
11304
c1e56572
JK
113052010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11306
11307 * gdb.base/pie-execl.exp: New file.
11308 * gdb.base/pie-execl.c: New file.
11309
92163a10
JK
113102010-10-13 Doug Evans <dje@google.com>
11311 Jan Kratochvil <jan.kratochvil@redhat.com>
11312
11313 PR exp/12117
11314 * gdb.cp/ptype-cv-cp.cc: New file.
11315 * gdb.cp/ptype-cv-cp.exp: New file.
11316
7062b0a0
SW
113172010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
11318
11319 * gdb.cp/converts.cc: New test program.
11320 * gdb.cp/converts.exp: New test.
11321 * gdb.cp/overload.exp: Added test for void* vs int*.
11322 * gdb.cp/overload.exp: Ditto.
11323 * gdb.cp/oranking.exp: Removed related kfail.
11324
0e3509db
DE
113252010-10-13 Doug Evans <dje@google.com>
11326
11327 * lib/gdb-python.exp (gdb_check_python_config): New function.
11328 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
11329 * gdb.python/lib-types.cc: New file.
11330 * gdb.python/lib-types.exp: New file.
11331
8dc78533
JK
113322010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11333
11334 * gdb.python/py-error.exp: New file.
11335 * gdb.python/py-error.py: New file.
11336
93c17e06
JK
113372010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11338
11339 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
11340 gdb_test_multiple.
11341
d8b34041
JK
113422010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11343
11344 * gdb.base/break-interp.exp: Use ldlags for linking flags.
11345 * gdb.base/prelink.exp: Likewise.
11346 * gdb.base/solib-nodir.exp: Likewise.
11347 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
11348 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
11349 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
11350
e0cc584e
UW
113512010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
11352
11353 * break-interp.exp (test_ld): Use two separate gdb_expect statements
11354 for the "info files" test to avoid timeouts on slow machines.
11355
cfc353b1
JK
113562010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11357
11358 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
11359 (main): Make openlib dummy call.
11360
d3d7896d
JK
113612010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11362
11363 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
11364 * break-interp.exp (reach): Move the core body ...
11365 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
11366 (test_ld): Provide always real argument, even to the linker. Replace
11367 dl_main by _dl_debug_state.
11368
5e533c94
JK
113692010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11370
11371 Fix results of prelinked PIEs on ppc*.
11372 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
11373 Accept also DISPLACEMENT "PRESENT".
11374 (main): Replace "ZERO" displacements by "PRESENT".
11375
33540610
SW
113762010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
11377
11378 * gdb.cp/oranking.exp: New test.
11379 * gdb.cp/oranking.cc: New test program.
11380
3bdf2bbd
KW
113812010-10-08 Ken Werner <ken.werner@de.ibm.com>
11382
11383 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
11384 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
11385
2f608a3a
KW
113862010-10-06 Ken Werner <ken.werner@de.ibm.com>
11387
11388 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
11389 lush, lynx) New constant.
11390 * gdb.base/constvars.exp: Test const array types.
11391 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
11392
aa2e2d8d
DE
113932010-10-06 Doug Evans <dje@google.com>
11394
11395 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
11396 of syscall staging area.
11397
2844d6b5
KW
113982010-10-06 Ken Werner <ken.werner@de.ibm.com>
11399
11400 * gdb.base/gnu_vector.c: Add variable c4.
11401 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
11402 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
11403
7d8ac8bb
MR
114042010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
11405
11406 * gdb.arch/altivec-abi.exp: Fix a typo.
11407
84a02e58
MR
114082010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
11409
11410 * lib/mi-support.exp (thread_selected_re): Correct pattern used
11411 to match a thread ID.
11412
b18e6318
JK
114132010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11414
11415 Fix s390x testcase compatibility.
11416 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
11417
a2c09bd0
DE
114182010-10-01 Doug Evans <dje@google.com>
11419
11420 * lib/gdb-python.exp: New file.
11421 * gdb.python/py-block.exp: Use it.
11422 * gdb.python/py-breakpoint.exp: Ditto.
11423 * gdb.python/py-frame.exp: Ditto.
11424 * gdb.python/py-inferior.exp: Ditto.
11425 * gdb.python/py-param.exp: Ditto.
11426 * gdb.python/py-prettyprint.exp: Ditto.
11427 * gdb.python/py-shared.exp: Ditto.
11428 * gdb.python/py-symbol.exp: Ditto.
11429 * gdb.python/py-symtab.exp: Ditto.
11430 * gdb.python/py-type.exp: Ditto.
11431 * gdb.python/py-value.exp: Ditto.
11432 * gdb.python/python.exp: Ditto.
11433
38f12cfc
TT
114342010-09-30 Tom Tromey <tromey@redhat.com>
11435
11436 * gdb.base/anon.exp: New file.
11437 * gdb.base/anon.c: New file.
11438
9ae8282d
TT
114392010-09-30 Tom Tromey <tromey@redhat.com>
11440
11441 * gdb.base/completion.exp: Test completion through anonymous
11442 union.
11443 * gdb.base/break1.c (struct some_struct): Add anonymous union.
11444
e9e07ba6
JK
114452010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11446
11447 Fix printing parameters of inlined functions.
11448 * gdb.dwarf2/dw2-inline-param.exp: New file.
11449 * gdb.dwarf2/dw2-inline-param-main.c: New file.
11450 * gdb.dwarf2/dw2-inline-param.S: New file.
11451
cd2effb2
JK
114522010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11453
11454 PR corefiles/12071.
11455 * gdb.base/corefile.exp (quit with a process, no question: load core)
11456 (quit with a core file): New tests.
11457
bceffbf3
JK
114582010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11459
11460 Fix GDB crash on inferior calls with self-referencing classes.
11461 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
11462 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
11463 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
11464
1736ad11
JK
114652010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11466
11467 Fix lost siginfo_t for inferior calls.
11468 * gdb.base/siginfo-infcall.exp: New file.
11469 * gdb.base/siginfo-infcall.c: New file.
11470
a176ad92
JB
114712010-09-22 Joel Brobecker <brobecker@adacore.com>
11472
11473 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
11474
c2b0a229
JK
114752010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11476
11477 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
11478 New test.
11479 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
11480
e8ae22d1
JB
114812010-09-22 Joel Brobecker <brobecker@adacore.com>
11482
11483 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
11484 type of our const type.
11485
ec322823
SW
114862010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
11487
11488 * gdb.cp/pr12028.cc: New.
11489 * gdb.cp/pr12028.exp: New.
11490
72929c62
JB
114912010-09-22 Joel Brobecker <brobecker@adacore.com>
11492
11493 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
11494
875b4ff5 114952010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 11496 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
11497
11498 PR mi/11407
11499 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
11500 * gdb.mi/dw2-ref-missing-frame-main.c New File.
11501 * gdb.mi/dw2-ref-missing-frame.S New File.
11502 * gdb.mi/dw2-ref-missing-frame.exp New File.
11503
7155d578
TT
115042010-09-14 Tom Tromey <tromey@redhat.com>
11505
11506 PR symtab/8399:
11507 * gdb.threads/tls.exp: Remove kfail. Update expected output.
11508
515ed532
TT
115092010-09-14 Tom Tromey <tromey@redhat.com>
11510
11511 PR exp/11803:
11512 * gdb.threads/tls.exp: Use C++.
11513 (check_thread_local): Use K::another_thread_local.
11514 * gdb.threads/tls.c (class K): New.
11515 (another_thread_local): Now a member of K.
11516 (spin): Update. No longer K&R C.
11517
450ca57c
SW
115182010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
11519
11520 * gdb.cp/koenig.cc: created class for testing member lookup.
11521 * gdb.cp/koenig.exp: Added test for member lookup.
11522
dbd492a3
JK
115232010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11524
11525 Fix false FAILs on sourcetree topdir directory containing "kill".
11526 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
11527 source line matching regexp.
11528
8d4d924b
JK
115292010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11530
11531 * gdb.python/python.exp (set height 0, collect help from uiout)
11532 (verify help to uiout): New tests.
11533
8e64f2a0
JK
115342010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11535
11536 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
11537 is_lp64_target to check 64bit target.
11538
4569eed2
JK
115392010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11540
11541 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
11542 (test_ld) <powerpc64-*>: New.
11543
5e1617b1
DJ
115442010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11545
11546 * gdb.cp/templates.exp (test_template_args): Allow "struct".
11547
c767944b
DJ
115482010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11549
11550 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
11551 (FunctionArg::method): New function.
11552 (empty, arg): New variables.
11553 (main): Call arg.method.
11554 * gdb.cp/templates.exp (test_template_args): New function.
11555 (do_tests): Call it.
11556
27d3a3fc
UW
115572010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
11558
11559 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
11560 of "next" to proceed over pthread_exit call.
11561
55b7ce7f
UW
115622010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
11563
11564 * gdb.base/maint.exp: Avoid wildcards against potentially very long
11565 "maint print statistics" output to prevent expect timeouts.
11566
809df446
JK
115672010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11568
11569 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
11570 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11571 (test_float_rejected): ... here.
11572 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
11573 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11574 (test_float_rejected): ... here.
11575 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
11576 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11577 (test_float_rejected): ... here.
11578 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
11579 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
11580 (test_float_rejected): ... here.
11581
8464be76
DJ
115822010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11583
11584 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
11585 before disabling hardware watchpoints.
11586 (test_inaccessible_watchpoint): Check that hardware watchpoints
11587 are used. Test for watchpoints on a constant address.
11588
14dba4b4
JK
115892010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11590
11591 * gdb.base/ui-redirect.exp: New file.
11592
3f3540e1 115932010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 11594 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
11595
11596 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
11597
0f254bb7
DE
115982010-08-31 Doug Evans <dje@google.com>
11599
11600 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
11601
03f17ccf
TT
116022010-08-30 Tom Tromey <tromey@redhat.com>
11603
11604 PR python/11792:
11605 * gdb.python/py-value.exp (test_subscript_regression): Add
11606 dynamic_type test.
11607
640617ad
DJ
116082010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
11609
11610 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
11611 instead of running to main. Do not test the main function.
11612 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
11613 Add new main.
11614
2ed91d1b
PA
116152010-08-26 Pedro Alves <pedro@codesourcery.com>
11616
11617 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
11618 one test.
11619
673bfd45
DE
116202010-08-24 Doug Evans <dje@google.com>
11621
11622 PR symtab/11942
11623 * gdb.dwarf2/dw4-sig-types.cc: New file.
11624 * gdb.dwarf2/dw4-sig-types.h: New file.
11625 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
11626 * gdb.dwarf2/dw4-sig-types.exp: New file.
11627
f9ffd4bb
TT
116282010-08-23 Tom Tromey <tromey@redhat.com>
11629
11630 PR python/11145:
11631 * gdb.python/py-value.c (Base, Derived): New types.
11632 (base): New global.
11633 * gdb.python/py-value.exp (test_subscript_regression): Add
11634 dynamic_cast test.
11635
d839c8a4
TT
116362010-08-23 Tom Tromey <tromey@redhat.com>
11637
11638 PR python/10676:
11639 * gdb.python/py-type.exp (test_fields): Add tests for type
11640 equality.
11641
702c2711
TT
116422010-08-23 Tom Tromey <tromey@redhat.com>
11643
11644 PR python/11915:
11645 * gdb.python/py-type.exp (test_fields): Add tests for array.
11646
832bafd3
KS
116472010-08-23 Keith Seitz <keiths@redhat.com>
11648
11649 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
11650 have any children. Create a new abbrev for it.
11651 Add missing terminal sequence to .debug_abbrev.
11652
c37bf528
KS
116532010-08-20 Keith Seitz <keiths@redhat.com>
11654
11655 PR symtab/11465:
11656 * gdb.dwarf2/pr11465.exp: New test.
11657 * gdb.dwarf2/pr11465.S: New file.
11658 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
11659 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
11660
4572cbac
TJB
116612010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
11662
11663 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
11664 registers. Update data sets with the new v2_double element in the
11665 VSX register union. Add vector_register3_vr data set for the AltiVec
11666 registers. Use gdb_test_no_output instead of send_gdb.
11667
e7fbb131
PA
116682010-08-19 Pedro Alves <pedro@codesourcery.com>
11669
11670 * gdb.python/py-shared.exp: New file, factored out from
11671 python.exp.
11672 * gdb.python/py-shared.c: New file.
11673 * gdb.python/py-shared-sl.c: New file.
11674 * gdb.python/python-1.c: New file.
11675 * gdb.python/python-sl.c: Delete.
11676 * gdb.python/python.c: Mention python-1.c.
11677 * gdb.python/python.exp: Move shared library tests to
11678 py-shared.exp.
11679 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
11680 (MISCELLANEOUS): New.
11681 (clean mostlyclean): Also remove $MISCELLANEOUS.
11682
d30f5e1f
DE
116832010-08-19 Doug Evans <dje@google.com>
11684
11685 PR exp/11926
11686 * gdb.base/printcmds.exp (test_float_accepted): New function.
11687 Move existing float tests there. Add tests for floats with suffixes.
11688 (test_float_rejected): New function.
11689 * gdb.java/jv-print.exp (test_float_accepted): New function.
11690 (test_float_rejected): New function.
11691 * gdb.objc/print.exp: New file.
11692 * gdb.pascal/print.exp: New file.
11693 * lib/objc.exp: New file.
11694
7b3fd859
PM
116952010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
11696
11697 * gdb.base/default.exp (info set): Avoid full buffer error and force
11698 reading up to final gdb prompt.
11699 (show): Likewise.
11700
c92817ce
TT
117012010-08-18 Tom Tromey <tromey@redhat.com>
11702
11703 PR symtab/11919:
11704 * gdb.base/completion.exp: Add test.
11705
f1208f9e
DE
117062010-08-18 Doug Evans <dje@google.com>
11707
11708 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
11709 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
11710 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
11711 Simplify, early exit if runto_main fails.
11712 * gdb.fortran/exprs.exp: load_lib fortran.exp.
11713 (set_lang_fortran): Moved to lib/fortran.exp.
11714 * gdb.fortran/types.exp: load_lib fortran.exp.
11715 (set_lang_fortran): Moved to lib/fortran.exp.
11716 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
11717 * gdb.java/jprint.exp (set_lang_java): Ditto.
11718 * gdb.java/jv-exp.exp: load_lib java.exp.
11719 If set_lang_java fails, issue a warning instead of failure to be
11720 consistent with other set_lang_foo uses.
11721 (set_lang_java): Moved to lib/java.exp.
11722 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
11723 If set_lang_java fails, issue a warning instead of failure to be
11724 consistent with other set_lang_foo uses.
11725 * gdb.pascal/types.exp: load_lib pascal.exp.
11726 (set_lang_pascal): Moved to lib/pascal.exp.
11727 * lib/fortran.exp: New file.
11728 * lib/java.exp (set_lang_java): New function.
11729 * lib/pascal.exp (set_lang_pascal): New function.
11730
2f06b485
YQ
117312010-08-18 Yao Qi <yao@codesourcery.com
11732
11733 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
11734 func_nofb_start and func_loopfb_start, so that address of functions
11735 is equal to these labels on Thumb.
11736
96e25403
YQ
117372010-08-18 Yao Qi <yao@codesourcery.com>
11738
11739 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
11740 to reflect latest c source file.
11741
36e6adc4
JK
117422010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11743
11744 * gdb.cp/infcall-dlopen.exp: New file.
11745 * gdb.cp/infcall-dlopen.cc: New file.
11746 * gdb.cp/infcall-dlopen-lib.cc: New file.
11747
f431efe5
PA
117482010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11749 Pedro Alves <pedro@codesourcery.com>
11750
11751 PR breakpoints/11371
11752
11753 * gdb.base/watch-cond-infcall.exp: New file.
11754 * gdb.base/watch-cond-infcall.c: New file.
11755
06a64a0b
TT
117562010-08-16 Tom Tromey <tromey@redhat.com>
11757
11758 * gdb.base/help.exp: Update.
11759 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
11760 watchpoint.
11761 (test_watch_location): New proc.
11762 (test_watchpoint_in_big_blob): Delete watchpoint.
11763 * gdb.base/watchpoint.c (func5): New function.
11764 (main): Call it.
11765
70ebf4ed
DE
117662010-08-16 Doug Evans <dje@google.com>
11767
11768 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
11769
ca5c20b6
PM
117702010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11771
11772 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
11773 tests.
11774
7346b668
KW
117752010-08-11 Ken Werner <ken.werner@de.ibm.com>
11776
11777 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
11778 * gdb.base/gnu_vector.c: New File.
11779 * gdb.base/gnu_vector.exp: Likewise.
11780
cb2e07a6
PM
117812010-08-11 Phil Muldoon <pmuldoon@redhat.com>
11782
11783 * gdb.python/python.c: New File.
11784 * gdb.python/python-sl.c: New File.
11785 * gdb.python/python.exp: Test solib_address and decode_line
11786 * functions.
11787
5da1313b
JK
117882010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11789
11790 * gdb.python/python.exp (show height, set height 10)
11791 (verify pagination beforehand, verify pagination beforehand: q)
11792 (gdb.execute does not page, verify pagination afterwards)
11793 (verify pagination afterwards: q): New.
11794
49c3ccf7
DE
117952010-08-02 Doug Evans <dje@google.com>
11796
11797 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
11798 because of an older gcc, change test2
11799 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
11800 to unsupported.
11801
42c0c4f1
KH
118022010-07-30 Kazu Hirata <kazu@codesourcery.com>
11803
11804 * gdb.base/break-always.exp: Do not expect full paths to file
11805 names.
11806 * gdb.base/commands.exp: Likewise.
11807
d3765805
DE
118082010-07-30 Doug Evans <dje@google.com>
11809
c98ee71b
DE
11810 * gdb.cp/temargs.exp: For new tests that require newer gccs,
11811 xfail them when run with older gccs.
11812
fd961404
DE
11813 * lib/gdb.exp (build_executable): Forward "c++" option to
11814 get_compiler_info.
11815
999adef4
DE
11816 * gdb.python/py-type.exp (test_template): Mark as xfail tests
11817 "python print ttype.template_argument(1)" and
11818 "python print isinstance(ttype.template_argument(1), gdb.Value)"
11819 if using gcc 4.4 or earlier.
11820
d3765805
DE
11821 * gdb.base/valgrind-db-attach.exp: Use unique test name for
11822 attach-to-debugger handling.
11823
1276c759
JK
118242010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11825
11826 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
11827 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
11828 (main): Use copyreloc.
11829 * gdb.base/prelink.exp (split debug of executable)
11830 (.dynbss vs. .bss address shift): New tests.
11831
88caa9b9
PA
118322010-07-29 Pedro Alves <pedro@codesourcery.com>
11833
11834 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
11835 in gdb_test_multiple.
11836
c6f2ac43
PA
118372010-07-29 Pedro Alves <pedro@codesourcery.com>
11838
11839 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
11840 environment.
11841
326fd672
TT
118422010-07-28 Tom Tromey <tromey@redhat.com>
11843
11844 PR python/11060:
11845 * gdb.python/py-type.c (Temargs): New template.
11846 (temvar): New variable.
11847 * gdb.python/py-type.exp (test_template): New proc.
11848
3ce3b1ba
PA
118492010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11850
11851 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
11852 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
11853
34eaf542
TT
118542010-07-28 Tom Tromey <tromey@redhat.com>
11855
11856 PR c++/9946:
11857 * gdb.cp/temargs.exp: New file.
11858 * gdb.cp/temargs.cc: New file.
11859
d41b819e
JK
118602010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11861
11862 * gdb.base/help.exp (help disassemble): Update the content.
11863
26ab7092
JK
118642010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11865
11866 * gdb.threads/ia64-sigill.exp: New file.
11867 * gdb.threads/ia64-sigill.c: New file.
11868
5283e9e1
TT
118692010-07-27 Tom Tromey <tromey@redhat.com>
11870
11871 * gdb.opt/inline-cmds.c (ATTR): New define.
11872 (func1): Use it.
11873 (func2): Likewise.
11874 (func3): Likewise.
11875 (outer_inline1): Likewise.
11876 (outer_inline2): Likewise.
11877 * gdb.opt/inline-bt.c (ATTR): New define.
11878 (func1): Use it.
11879 (func2): Likewise.
11880 * gdb.opt/inline-locals.c (ATTR): New define.
11881 (func1): Use it.
11882 (func2): Likewise.
11883
e992ef73
TT
118842010-07-27 Tom Tromey <tromey@redhat.com>
11885
11886 * gdb.stabs/gdb11479.c (hack): New function.
11887 (test): Use it.
11888 (test2): Use it.
11889 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
11890 (int32_search_buf, int64_search_buf): No longer static.
11891 (x): Remove.
11892 * gdb.base/relocate.c (hack): New function.
11893
5374244e
PM
118942010-07-27 Phil Muldoon <pmuldoon@redhat.com>
11895
11896 * gdb.python/py-value.exp (test_inferior_function_call): New function.
11897 * gdb.python/py-value.c (func1): New function.
11898 (func2): Likewise.
11899
a99aee83
CV
119002010-07-26 Corinna Vinschen <vinschen@redhat.com>
11901
11902 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
11903 as not to clash with .data section.
11904
a04ba985
JG
119052010-07-26 Jerome Guitton <guitton@adacore.com>
11906
11907 * gdb.base/code_elim.exp: New file.
11908 * gdb.base/code_elim1.c: New file.
11909 * gdb.base/code_elim2.c: New file.
11910
23bd0f7c
PA
119112010-07-21 Pedro Alves <pedro@codesourcery.com>
11912
11913 PR symtab/11827
11914
11915 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
11916 (some_volatile_enum): New variable.
11917 * gdb.base/printcmds.exp (test_print_enums): New.
11918 <top level>: Call it.
11919
883df6dd
SW
119202010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
11921
11922 * gdb.cp/fpointer.cc: New test.
11923 * gdb.cp/fpointer.exp: New test.
11924
569b05a5
JK
119252010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11926
11927 * gdb.base/solib-nodir.exp: New file.
11928 * lib/gdb.exp (runto): New case for a GDB internal error.
11929
51d7d803
JK
119302010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11931 Ulrich Weigand <uweigand@de.ibm.com>
11932 Tom Tromey <tromey@redhat.com>
11933
11934 * gdb.base/charset-malloc.c: New file.
11935 * gdb.base/charset.c (malloc_stub): New prototype.
11936 (main): Call it instead of malloc itself.
11937 * gdb.base/charset.exp: Use only prepare_for_testing.
11938 (binfile): Remove the variable.
11939
c0edd9ed
JK
119402010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11941
11942 Make core files the process_stratum.
11943 * gdb.base/corefile.exp (run: load core again)
11944 (run: sanity check we see the core file, run: with core)
11945 (run: core file is cleared, attach: load core again)
11946 (attach: sanity check we see the core file, attach: with core)
11947 (attach: core file is cleared): New tests.
11948 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
11949
3cbaedff
KW
119502010-07-14 Ken Werner <ken.werner@de.ibm.com>
11951
11952 * gdb.arch/altivec-abi.exp: New tests.
11953
91158a56
TT
119542010-07-13 Tom Tromey <tromey@redhat.com>
11955
11956 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
11957 (main): Use it.
11958 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
11959
0f5238ed
TT
119602010-07-13 Tom Tromey <tromey@redhat.com>
11961
11962 * gdb.base/label.exp: New file.
11963 * gdb.base/label.c: New file.
11964
add265ae
L
119652010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
11966 H.J. Lu <hongjiu.lu@intel.com>
11967
11968 * lib/gdb.exp (is_ilp32_target): New.
11969 (is_lp64_target): Likewise.
11970
11971 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
11972 target.
11973 * gdb.arch/amd64-disp-step.exp: Likewise.
11974 * gdb.arch/amd64-dword.exp: Likewise.
11975 * gdb.arch/amd64-i386-address.exp: Likewise.
11976 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 11977
add265ae
L
11978 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
11979 target.
11980 * gdb.arch/i386-bp_permanent.exp: Likewise.
11981 * gdb.arch/i386-byte.exp: Likewise.
11982 * gdb.arch/i386-disp-step.exp: Likewise.
11983 * gdb.arch/i386-gnu-cfi.exp: Likewise.
11984 * gdb.arch/i386-prologue.exp: Likewise.
11985 * gdb.arch/i386-size-overlap.exp: Likewise.
11986 * gdb.arch/i386-size.exp: Likewise.
11987 * gdb.arch/i386-sse.exp: Likewise.
11988 * gdb.arch/i386-unwind.exp: Likewise.
11989 * gdb.arch/i386-word.exp: Likewise.
11990
11991 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
11992 test only when building 64-bit executables. Do not hard-code
11993 -m64 option.
11994
2dfb8c17
DE
119952010-07-07 Doug Evans <dje@google.com>
11996
11997 * lib/gdb.exp (gdb_test_list_exact): New function.
11998 * gdb.base/default.exp (show convenience): Call it, add tests for
11999 $_sdata = void, $_thread = 0.
12000
4e5799b6
JK
120012010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12002 Joel Brobecker <brobecker@adacore.com>
12003
12004 Fix re-run of PIE executable, PR shlibs/11776.
12005 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
12006 Remove $displacement_main to match the solib-svr4.c change. New "kill"
12007 and re-"run" of the inferior.
12008
1a219cc7
JK
120092010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12010 Joel Brobecker <brobecker@adacore.com>
12011
12012 Cope with missing /usr/sbin/prelink.
12013 * lib/prelink-support.exp (prelink_no):
12014 <result == 1 && $output is "no such file or directory">: New.
12015 (prelink_yes): Likewise. Return on failed prelink_no.
12016
5e3b36f8
JK
120172010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12018 Joel Brobecker <brobecker@adacore.com>
12019
12020 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
12021 build_executable by build_executable_own_libs. Replace "prelink -R"
12022 execution by a call of prelink_yes. Comment why "prelink -r" needs no
12023 change.
12024 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
12025 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
12026 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
12027 Replace build_executable by build_executable_own_libs's function
12028 build_executable_own_libs.
12029 (prelinkNO): Create new stub to call prelink_no.
12030 (prelinkYES): Create new stub to call prelink_yes.
12031 (test_attach): Rename calls of copy to file_copy.
12032 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
12033 (copy): Move to ...
12034 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
12035 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
12036 * gdb.base/prelink.exp: Disable testcase also for is_remote and
12037 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
12038 special flags by gdb_compile_shlib. Replace second gdb_compile by
12039 build_executable_own_libs. Replace "prelink -R" execution by a call of
12040 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
12041 a second call of prelink_yes. Replace restart commands by
12042 clean_restart.
12043 (prelink): Rename to ...
12044 (seen displacement message): ... this test. Extend its expectation
12045 strictness.
12046
86e4bafc
JK
120472010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12048
12049 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
12050 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
12051 displacement message exactly once.
12052
3cd07d20
JK
120532010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12054 Joel Brobecker <brobecker@adacore.com>
12055
12056 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
12057 its restore after the <$relink_args != ""> loop. new comment.
12058
0a1e94c7
JK
120592010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12060 Joel Brobecker <brobecker@adacore.com>
12061
12062 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
12063 code for it. New variable relink_args.
12064 (prelinkYES): Call prelinkNO.
12065 (test_attach): Accept new parameter relink_args. Re-prelink the binary
12066 in such case. Move the core code to ...
12067 (test_attach_gdb): ... a new function. Send GDB command "file".
12068 Extend expected "Attaching to " string.
12069
2f70bcfb
TT
120702010-07-02 Tom Tromey <tromey@redhat.com>
12071
12072 * gdb.base/bitops.exp: Remove extraneous "pass".
12073
a17ac5b0
TT
120742010-07-02 Ken Werner <ken.werner@de.ibm.com>
12075
12076 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
12077
dc10affe
PA
120782010-07-01 Pedro Alves <pedro@codesourcery.com>
12079
d41c0fc8
PA
12080 * gdb.base/help.exp: Adjust expected output.
12081
120822010-07-01 Pedro Alves <pedro@codesourcery.com>
12083
12084 * gdb.base/help.exp: Adjust expected output.
dc10affe 12085
0a600c36
JK
120862010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12087
12088 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
12089 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
12090 c++/11702.
12091
37cc8bfe
JK
120922010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12093 Doug Evans <dje@google.com>
12094
12095 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
12096 add .dynamic entry'.
12097
254e6b9e
DE
120982010-06-29 Doug Evans <dje@google.com>
12099
12100 Test PR c++/11702.
12101 * gdb.cp/m-static.exp: Add testcase.
12102 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
12103
595939de 121042010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
12105 Tom Tromey <tromey@redhat.com>
12106 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
12107
12108 * gdb.python/py-inferior.c: New File.
12109 * gdb.python/py-infthread.c: New File.
12110 * gdb.python/py-inferior.exp: New File.
12111 * gdb.python/py-infthread.exp: New File.
12112
98751a41
JK
121132010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12114
12115 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
12116 (ptype ::C::OtherFileClass typedefs): New.
12117 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
12118 (C::OtherFileClass::cOtherFileClassVar2): New.
12119 (C::OtherFileClass::cOtherFileClassVar_use): Use also
12120 cOtherFileClassVar2.
12121 (C::cOtherFileType2, C::cOtherFileVar2): New.
12122 (C::cOtherFileVar_use): use also cOtherFileVar2.
12123 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
12124
41f62f39
JK
121252010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12126
12127 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
12128 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
12129 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
12130 (print ::C::cOtherFileVar)
12131 (whatis C::OtherFileClass::cOtherFileClassType)
12132 (whatis ::C::OtherFileClass::cOtherFileClassType)
12133 (print C::OtherFileClass::cOtherFileClassVar)
12134 (print ::cOtherFileClassVar)
12135 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
12136 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
12137 trailing content.
12138 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
12139 (C::OtherFileClass::cOtherFileClassVar)
12140 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
12141 (C::cOtherFileVar, C::cOtherFileVar_use): New.
12142
af53d231
JK
121432010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12144
12145 Test PR c++/11703 and PR gdb/1448.
12146 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
12147 gdb/1448.
12148
9655fd1a
JK
121492010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12150
12151 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
12152 (main) <rtti_data>: New.
12153 * gdb.cp/virtbase.exp (print rtti_data): New.
12154
824cc8dd
JK
121552010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12156 Joel Brobecker <brobecker@adacore.com>
12157
12158 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
12159
6036c742
JK
121602010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12161
12162 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
12163
de6a0421
DE
121642010-06-28 Doug Evans <dje@google.com>
12165
12166 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
12167
b2dae948
DE
121682010-06-27 Doug Evans <dje@google.com>
12169
12170 * gdb.cp/m-static.exp: Update expected test output.
12171
0f3bb72e
PH
121722010-06-25 Paul Hilfinger <hilfinger@adacore.com>
12173
889bf7c5
PA
12174 * gdb.gdb/selftest.exp: Adjust expected message for
12175 capturing start-up runtime.
0f3bb72e 12176
bc9f0842
TT
121772010-06-25 Tom Tromey <tromey@redhat.com>
12178
12179 PR python/10808:
12180 * gdb.python/python.exp: Add new tests.
12181
099ef718
SW
121822010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
12183
12184 * gdb.cp/operator.cc: Created an import loop.
12185 * gdb.cp/operator.exp: Added testcase for import loop.
12186
5868a632
JK
121872010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12188
12189 Test PR python/11407.
12190 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
12191 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
12192 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
12193 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
12194 executable_nofb and executable_fb. New variables srcsfile, objsfile,
12195 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
12196 binfile. Call gdb_compile with clean_restart twice.
12197 (func_nofb print, func_nofb backtrace, func_loopfb print)
12198 (func_loopfb backtrace): New.
12199
af76db58
JK
122002010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12201
12202 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
12203 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
12204 by a hand made one.
12205 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
12206 i?86 requirement. Remove variables srcfile and binfile. New variable
12207 sources, executable_nofb and executable_fb. Call prepare_for_testing.
12208
f2c7657e
UW
122092010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12210
12211 * gdb.cell/dwarfaddr.exp: New file.
12212 * gdb.cell/dwarfaddr.S: New file.
12213
628fe4e4
JK
122142010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12215
12216 Test PR 9436.
12217 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
12218
f1421989
HZ
122192010-06-24 Hui Zhu <teawater@gmail.com>
12220
12221 * gdb.base/eval.exp: New file.
12222
d03285ec
UW
122232010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12224
12225 * gdb.cell/fork.exp: New file.
12226 * gdb.cell/fork.c: Likewise.
12227 * gdb.cell/fork-spu.c: Likewise.
12228
41b2c92d
PM
122292010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
12230
12231 * lib/gdb.exp (banned_variables_traced): New global variable.
12232 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
12233 (gdb_init): Use `trace add variable' instead of obsolete
12234 `trace variable'.
12235
d5bc977f
DE
122362010-06-21 Doug Evans <dje@google.com>
12237
12238 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
12239
d2ed6730
UW
122402010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12241
12242 * gdb.arch/spu-ls.exp: New file.
12243 * gdb.arch/spu-ls.c: Likewise.
12244
6aed2dbc
SS
122452010-06-18 Stan Shebs <stan@codesourcery.com>
12246
12247 * gdb.threads/thread-specific.exp: Add tests of $_thread.
12248
e0756905
UW
122492010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12250
12251 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
12252 * gdb.base/watch-cond.exp: Likewise.
12253 * gdb.python/py-breakpoint.exp: Likewise.
12254
d8053d4d
PA
122552010-06-18 Pedro Alves <pedro@codesourcery.com>
12256
12257 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
12258 clean_restart, make sure every test has a distinct message, and
12259 that messages don't include the executable' full path.
12260
81ce510c
DE
122612010-06-17 Doug Evans <dje@google.com>
12262
12263 * gdb.arch/i386-size.exp: Updated expected output for
12264 DISASSEMBLY_OMIT_FNAME.
12265
65d79d4b
SDJ
122662010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12267 Sergio Durigan Junior <sergiodj@redhat.com>
12268
12269 * gdb.base/watch-notconst.c: New file.
12270 * gdb.base/watch-notconst.S: New file.
12271 * gdb.base/watch-notconst2.c: New file.
12272 * gdb.base/watch-notconst2.S: New file.
12273 * gdb.base/watch-notconst.exp: New file.
12274 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
12275 (func4): Add operations on `global_ptr_ptr'.
12276 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
12277 routine to test watchpoints created with a constant expression.
12278 (test_inaccessible_watchpoint): Include tests for watchpoints
12279 created with a constant expression.
12280
df0f4836
KB
122812010-06-14 Kevin Buettner <kevinb@redhat.com>
12282
12283 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12284 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
12285 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
12286 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
12287 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12288 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12289 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
12290 of `_start'.
12291
b769def5
UW
122922010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12293
12294 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
12295 not supported on the target.
12296 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12297 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12298 * gdb.mi/mi-nsintrall.exp: Likewise.
12299 * gdb.mi/mi-nsmoribund.exp: Likewise.
12300 * gdb.mi/mi-nsthrexec.exp: Likewise.
12301
d914c394
SS
123022010-06-11 Stan Shebs <stan@codesourcery.com>
12303
12304 * gdb.base/permissions.exp: New file.
12305
123062010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
12307
12308 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
12309 does not support ELF executable class.
12310
f3ce5b9c
UW
123112010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12312
12313 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
12314
8e46892c
JK
123152010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12316
12317 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
12318 (runto): Catch "The target does not support running in non-stop mode.".
12319
6cc55c64
MS
123202010-06-11 Michael Snyder <msnyder@vmware.com>
12321
12322 * gdb.base/setshow.exp (set language asm): Don't use
12323 gdb_test_no_output, fails on some targets.
12324
caddefa4
UW
123252010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12326
12327 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
12328 * gdb.cp/pr9167.exp: Likewise.
12329
468b1aa7
UW
123302010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12331
12332 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
12333
5c3552dc
UW
123342010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12335
12336 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
12337
02e6fe6a
UW
123382010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12339
12340 * gdb.base/charset.c (main): Make sure malloc gets linked in.
12341
0e03807e
TT
123422010-06-11 Tom Tromey <tromey@redhat.com>
12343
12344 PR gdb/9977, PR exp/11636::
12345 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
12346 (pieces_test_f6): Update expected output.
12347
2bdf28a0
JK
123482010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12349
12350 * gdb.base/moribund-step.exp: New.
12351
f6978de9
MS
123522010-06-08 Michael Snyder <msnyder@vmware.com>
12353
12354 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 12355 * gdb.ada/boolean_expr.exp:
f6978de9
MS
12356 * gdb.ada/frame_args.exp: Ditto.
12357 * gdb.ada/lang_switch.exp: Ditto.
12358 * gdb.ada/ptype_arith_binop.exp: Ditto.
12359 * gdb.ada/ref_param.exp: Ditto.
12360 * gdb.ada/type_coercion.exp:Ditto.
12361
12362 * gdb.asm/asm-source.exp: Ditto.
12363
12364 * gdb.base/attach.exp: Ditto.
12365 * gdb.base/bitfields2.exp: Ditto.
12366 * gdb.base/call-signal-resume.exp: Ditto.
12367 * gdb.base/callfuncs.exp: Ditto.
12368 * gdb.base/commands.exp: Ditto.
12369 * gdb.base/dbx.exp: Ditto.
12370 * gdb.base/default.exp: Ditto.
12371 * gdb.base/dump.exp: Ditto.
12372 * gdb.base/exprs.exp: Ditto.
12373 * gdb.base/freebpcmd.exp: Ditto.
12374 * gdb.base/interrupt.exp: Ditto.
12375 * gdb.base/list.exp: Ditto.
12376 * gdb.base/long_long.exp: Ditto.
12377 * gdb.base/maint.exp: Ditto.
12378 * gdb.base/ptype.exp: Ditto.
12379 * gdb.base/return.exp: Ditto.
12380 * gdb.base/setshow.exp: Ditto.
12381 * gdb.base/sigbpt.exp: Ditto.
12382 * gdb.base/sigrepeat.exp: Ditto.
12383
12384 * gdb.cp/classes.exp: Ditto.
12385
12386 * gdb.dwarf2/dw2-restore.exp: Ditto.
12387
12388 * gdb.gdb/selftest.exp: Ditto.
12389
12390 * gdb.multi/base.exp: Ditto.
12391 * gdb.multi/bkpt-multi-exec.exp: Ditto.
12392
12393 * gdb.python/py-block.exp: Ditto.
12394 * gdb.python/py-prettyprint.exp: Ditto.
12395 * gdb.python/py-template.exp: Ditto.
12396
12397 * gdb.server/ext-attach.exp: Ditto.
12398 * gdb.server/ext-run.exp: Ditto.
12399 * gdb.server/server-mon.exp: Ditto.
12400
12401 * gdb.threads/fork-thread-pending.exp: Ditto.
12402 * gdb.threads/hand-call-in-threads.exp: Ditto.
12403 * gdb.threads/interrupted-hand-call.exp: Ditto.
12404 * gdb.threads/linux-dp.exp: Ditto.
12405 * gdb.threads/manythreads.exp: Ditto.
12406 * gdb.threads/print-threads.exp: Ditto.
12407 * gdb.threads/pthreads.exp: Ditto.
12408 * gdb.threads/schedlock.exp: Ditto.
12409 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12410 * gdb.threads/threadapply.exp: Ditto.
12411
de7ff789
MS
124122010-06-08 Michael Snyder <msnyder@vmware.com>
12413
889bf7c5 12414 * gdb.ada/exec_changed.exp:
de7ff789
MS
12415 Use ".*" instead of "" as wildcard regexp.
12416
12417 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
12418 * gdb.base/call-ar-st.exp: Ditto.
12419 * gdb.base/checkpoint.exp: Ditto.
12420 * gdb.base/default.exp: Ditto.
12421 * gdb.base/dump.exp: Ditto.
12422 * gdb.base/ending-run.exp: Ditto.
12423 * gdb.base/fileio.exp: Ditto.
12424 * gdb.base/miscexprs.exp: Ditto.
12425 * gdb.base/pointers.exp: Ditto.
12426 * gdb.base/readline.exp: Ditto.
12427 * gdb.base/reread.exp: Ditto.
12428 * gdb.base/restore.exp: Ditto.
12429 * gdb.base/shlib-call.exp: Ditto.
12430 * gdb.base/valgrind-db-attach.exp: Ditto.
12431 * gdb.base/volatile.exp: Ditto.
12432 * gdb.base/watchpoints.exp: Ditto.
12433
12434 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
12435
12436 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
12437 * gdb.python/py-value.exp: Ditto.
12438
12439 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
12440 * gdb.trace/circ.exp: Ditto.
12441 * gdb.trace/collection.exp: Ditto.
12442 * gdb.trace/packetlen.exp: Ditto.
12443 * gdb.trace/passc-dyn.exp: Ditto.
12444 * gdb.trace/report.exp: Ditto.
12445 * gdb.trace/tfile.exp: Ditto.
12446 * gdb.trace/tfind.exp: Ditto.
12447 * gdb.trace/while-dyn.exp: Ditto.
12448
3bebe2f2
JK
124492010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12450
12451 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
12452
5c631832
JK
124532010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12454
12455 Test PR 10640.
12456 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
12457
4c3376c8
SW
124582010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
12459
12460 * gdb.cp/koenig.exp: Test for ADL operators.
12461 * gdb.cp/koenig.cc: Added ADL operators.
12462 * gdb.cp/operator.exp: New test.
12463 * gdb.cp/operator.cc: New test.
12464
dc226d5a
MS
124652010-06-04 Michael Snyder <msnyder@vmware.com>
12466
dfb88a23
MS
12467 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
12468 * gdb.base/pending.exp: Ditto.
f7ae76b3 12469
dc226d5a
MS
12470 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
12471
967cf477
DE
124722010-06-04 Doug Evans <dje@google.com>
12473
12474 * gdb.python/py-prettyprint.exp: Add new test for enabled and
12475 disabled printers.
12476 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
12477 (enable_lookup_function): New function.
12478
eb801841
TT
124792010-06-04 Tom Tromey <tromey@redhat.com>
12480
12481 * gdb.python/py-value.exp (test_value_hash): Don't test equality
12482 of hash and id.
12483
38979823
JK
124842010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12485
12486 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
12487 newline.
12488 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
12489 (empty verbose non-noisy clear, empty verbose noisy clear)
12490 (empty non-verbose noisy clear): Likewise.
12491
35ec993f
MS
124922010-06-03 Michael Snyder <msnyder@vmware.com>
12493
12494 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
12495 * gdb.base/display.exp: Ditto.
12496 * gdb.base/find.exp: Ditto.
12497 * gdb.base/ifelse.exp: Ditto.
12498 * gdb.base/multi-forks.exp: Ditto.
12499 * gdb.base/recurse.exp: Ditto.
12500 * gdb.base/setshow.exp: Ditto.
12501 * gdb.base/value-double-free.exp: Ditto.
12502 * gdb.base/watch-vfork.exp: Ditto.
12503 * gdb.base/watch_thread_num.exp: Ditto.
12504 * gdb.base/watchpoint-solib.exp: Ditto.
12505 * gdb.base/watchpoint.exp: Ditto.
12506 * gdb.base/watchpoints.exp: Ditto.
12507
12508 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
12509 * gdb.cp/overload.exp: Ditto.
12510 * gdb.cp/virtfunc.exp: Ditto.
12511
12512 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
12513
889bf7c5 12514 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
12515 Replace gdb_test with gdb_test_no_output.
12516
889bf7c5 12517 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
12518 Replace gdb_test with gdb_test_no_output.
12519 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
12520 * gdb.threads/watchthreads.exp: Ditto.
12521 * gdb.threads/watchthreads2.exp: Ditto.
12522
12523 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
12524 * gdb.trace/tfind.exp: Ditto.
12525
c22decce
JB
125262010-06-03 Joel Brobecker <brobecker@adacore.com>
12527
12528 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
12529 successful test if message is the empty string.
12530
fd5700c7
JK
125312010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12532
12533 * gdb.fortran/module.exp (stopped language detection): New test.
12534
f55ee35c
JK
125352010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12536
12537 Support DW_TAG_module as separate namespaces.
12538 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
12539 gdb.fortran/library-module-lib.f90: New.
12540 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
12541 (print i): Remove.
12542 (continue to breakpoint: i-is-1, print var_i value 1)
12543 (continue to breakpoint: i-is-2, print var_i value 2)
12544 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
12545 (print var_d, print var_i value 14, ptype modmany, complete `modm)
12546 (complete `modmany, complete `modmany`, complete `modmany`var)
12547 (show language, setting breakpoint at module): New tests.
12548 * gdb.fortran/module.f90 (module mod): Remove.
12549 (module mod1, module mod2, module modmany, subroutine sub1)
12550 (subroutine sub2, program module): New.
12551
b8e8282f
JK
125522010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12553
12554 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
12555 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
12556 * gdb.cp/anon-union.exp (pass): Rename to ...
12557 (print z 2): ... here.
b8e8282f 12558
019ebafc
MS
125592010-06-02 Michael Snyder <msnyder@vmware.com>
12560
e68d8fd4
MS
12561 * gdb.trace/actions.exp: Use gdb_test_no_output.
12562 * gdb.trace/circ.exp: Ditto.
12563 * gdb.trace/packetlen.exp: Ditto.
12564 * gdb.trace/save-trace.exp: Ditto.
12565 * gdb.trace/tracecmd.exp: Ditto.
12566 * gdb.trace/tsv.exp: Ditto.
12567
12b5d08a
MS
12568 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
12569 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
12570 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
12571 * gdb.threads/manythreads.exp: Ditto.
12572 * gdb.threads/print-threads.exp: Ditto.
12573 * gdb.threads/pthreads.exp: Ditto.
12574 * gdb.threads/schedlock.exp: Ditto.
12575 * gdb.threads/staticthreads.exp: Ditto.
12576 * gdb.threads/thread-specific.exp: Ditto.
12577 * gdb.threads/thread-unwindonsignal.exp: Ditto.
12578 * gdb.threads/threadapply.exp: Ditto.
12579 * gdb.threads/watchthreads.exp: Ditto.
12580 * gdb.threads/watchthreads2.exp: Ditto.
12581
89493308
MS
12582 * gdb.python/py-block.exp: Use gdb_test_no_output.
12583 * gdb.python/py-prettyprint.exp: Ditto.
12584 * gdb.python/py-template.exp: Ditto.
12585 * gdb.python/py-value.exp: Ditto.
12586
12587 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
12588 * gdb.reverse/watch-reverse.exp: Ditto.
12589
12590 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
12591 * gdb.server/ext-run.exp: Ditto.
12592
019ebafc
MS
12593 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
12594 * gdb.dwarf2/dw2-compressed.exp: Ditto.
12595 * gdb.dwarf2/dw2-intercu.exp: Ditto.
12596 * gdb.dwarf2/dw2-intermix.exp: Ditto.
12597 * gdb.dwarf2/dw2-producer.exp: Ditto.
12598 * gdb.dwarf2/mac-fileno.exp: Ditto.
12599
12600 * gdb.gdb/observer.exp: Use gdb_test_no_output.
12601 * gdb.gdb/selftest.exp: Ditto.
12602
12603 * gdb.multi/base.exp: Use gdb_test_no_output.
12604
12605 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
12606
3e0ca3a5
JK
126072010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12608
12609 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
12610
9db70545
MS
126112010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
12612
a8d52276
MS
12613 * gdb.cp/class2.exp: Use gdb_test_no_output.
12614 * gdb.cp/classes.exp: Ditto.
12615 * gdb.cp/extern-c.exp: Ditto.
12616 * gdb.cp/inherit.exp: Ditto.
12617 * gdb.cp/maint.exp: Ditto.
12618 * gdb.cp/mb-inline.exp: Ditto.
12619 * gdb.cp/mb-templates.exp: Ditto.
12620 * gdb.cp/method2.exp: Ditto.
12621 * gdb.cp/misc.exp: Ditto.
12622 * gdb.cp/ovldbreak.exp: Ditto.
12623 * gdb.cp/punctuator.exp: Ditto.
12624 * gdb.cp/templates.exp: Ditto.
12625 * gdb.cp/virtbase.exp: Ditto.
12626
889bf7c5 12627 * gdb.threads/attach-stopped.exp:
9db70545 12628 Replace uses of send_gdb / gdb_expect.
889bf7c5 12629 * gdb.threads/attachstop-mt.exp:
9db70545 12630 Replace uses of send_gdb / gdb_expect.
889bf7c5 12631 * gdb.threads/gcore-thread.exp:
9db70545 12632 Replace uses of send_gdb / gdb_expect.
889bf7c5 12633 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
12634 Replace uses of send_gdb / gdb_expect.
12635 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 12636 * gdb.threads/print-threads.exp:
9db70545
MS
12637 Replace uses of send_gdb / gdb_expect.
12638 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
12639 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
12640 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
12641
12642 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
12643 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
12644 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
12645 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
12646 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
12647 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
12648 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
12649 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
12650 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
12651 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
12652 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
12653
359cc68c
JK
126542010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12655
12656 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
12657
7d3fe98e
SW
126582010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
12659
12660 * gdb.cp/koenig.exp: Added new test case.
12661 * gdb.cp/koenig.cc: Ditto.
12662
27d3a1a2
MS
126632010-06-01 Michael Snyder <msnyder@vmware.com>
12664
12665 * gdb.base/arithmet.exp: Use gdb_test_no_output.
12666 * gdb.base/arrayidx.exp: Ditto.
12667 * gdb.base/attach.exp: Ditto.
12668 * gdb.base/auxv.exp: Ditto.
12669 * gdb.base/bigcre.exp: Ditto.
12670 * gdb.base/break-always.exp: Ditto.
12671 * gdb.base/break-interp.exp: Ditto.
12672 * gdb.base/break.exp: Ditto.
12673 * gdb.base/breakpoint-shadow.exp: Ditto.
12674 * gdb.base/call-ar-st.exp: Ditto.
12675 * gdb.base/call-sc.exp: Ditto.
12676 * gdb.base/call-signal-resume.exp: Ditto.
12677 * gdb.base/callfuncs.exp: Ditto.
12678 * gdb.base/catch-syscall.exp: Ditto.
12679 * gdb.base/charset.exp: Ditto.
12680 * gdb.base/code-expr.exp: Ditto.
12681 * gdb.base/commands.exp: Ditto.
12682 * gdb.base/cond-expr.exp: Ditto.
12683 * gdb.base/condbreak.exp: Ditto.
12684 * gdb.base/cursal.exp: Ditto.
12685 * gdb.base/cvexpr.exp: Ditto.
12686 * gdb.base/default.exp: Ditto.
12687 * gdb.base/del.exp: Ditto.
12688 * gdb.base/detach.exp: Ditto.
12689 * gdb.base/display.exp: Ditto.
12690 * gdb.base/ena-dis-br.exp: Ditto.
12691 * gdb.base/eval-skip.exp: Ditto.
12692 * gdb.base/foll-fork.exp: Ditto.
12693 * gdb.base/foll-vfork.exp: Ditto.
12694 * gdb.base/frame-args.exp: Ditto.
12695 * gdb.base/funcargs.exp: Ditto.
12696 * gdb.base/gcore-buffer-overflow.exp: Ditto.
12697 * gdb.base/gdbvars.exp: Ditto.
12698 * gdb.base/help.exp: Ditto.
12699 * gdb.base/ifelse.exp: Ditto.
12700 * gdb.base/included.exp: Ditto.
12701 * gdb.base/list.exp: Ditto.
12702 * gdb.base/macscp.exp: Ditto.
12703 * gdb.base/maint.exp: Ditto.
12704 * gdb.base/multi-fork.exp: Ditto.
12705 * gdb.base/overlays.exp: Ditto.
12706 * gdb.base/page.exp: Ditto.
12707 * gdb.base/pending.exp: Ditto.
12708 * gdb.base/pointers.exp: Ditto.
12709 * gdb.base/pr11022.exp: Ditto.
12710 * gdb.base/prelink.exp: Ditto.
12711 * gdb.base/printcmds.exp: Ditto.
12712 * gdb.base/psymtab.exp: Ditto.
12713 * gdb.base/randomize.exp: Ditto.
12714 * gdb.base/relational.exp: Ditto.
12715 * gdb.base/relocate.exp: Ditto.
12716 * gdb.base/remote.exp: Ditto.
12717 * gdb.base/sepdebug.exp: Ditto.
12718 * gdb.base/set-lang-auto.exp: Ditto.
12719 * gdb.base/setshow.exp: Ditto.
12720 * gdb.base/setvar.exp: Ditto.
12721 * gdb.base/signals.exp: Ditto.
12722 * gdb.base/signull.exp: Ditto.
12723 * gdb.base/sigstep.exp: Ditto.
12724 * gdb.base/sizeof.exp: Ditto.
12725 * gdb.base/solib-disc.exp: Ditto.
12726 * gdb.base/store.exp: Ditto.
12727 * gdb.base/structs.exp: Ditto.
12728 * gdb.base/structs2.exp: Ditto.
12729 * gdb.base/subst.exp: Ditto.
12730 * gdb.base/term.exp: Ditto.
12731 * gdb.base/trace-commands.exp: Ditto.
12732 * gdb.base/unwindonsignal.exp: Ditto.
12733 * gdb.base/valgrind-db-attach.exp: Ditto.
12734 * gdb.base/varargs.exp: Ditto.
12735 * gdb.base/watch-cond.exp: Ditto.
12736 * gdb.base/watch_thread_num.exp: Ditto.
12737 * gdb.base/watchpoint-cond-gone.exp: Ditto.
12738 * gdb.base/watchpoint.exp: Ditto.
12739 * gdb.base/whatis-exp.exp: Ditto.
12740
f8d3bf8f
MS
127412010-06-01 Michael Snyder <msnyder@vmware.com>
12742
12743 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
12744 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
12745 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
12746 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
12747 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
12748 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
12749 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
12750 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
12751 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
12752 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
12753 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
12754 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
12755 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
12756 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
12757 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
12758
3f9e0d32
JK
127592010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12760
12761 * gdb.base/commands.exp (begin commands on watch): Remove excessive
12762 trailing newline.
12763 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
12764 * gdb.java/jmisc.exp (p *args\n): Rename to ...
12765 (p *args): ... here and remove excessive trailing newline.
12766
f629457d
JB
127672010-05-31 Joel Brobecker <brobecker@adacore.com>
12768
12769 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
12770
09eef106
JK
127712010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
12772
12773 Accept the new Linux kernel "t (tracing stop)" string.
12774 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
12775 Update comment.
12776 (state_wait) <T (tracing stop)>: New.
12777 (main): Update the state_wait expect string.
12778
94f31136
PA
127792010-05-28 Pedro Alves <pedro@codesourcery.com>
12780
12781 * limits.c, limits.exp: Delete files.
12782 * Makefile.in (clean mostlyclean): Adjust.
12783 * tracecmd.exp: Adjust.
12784
096554ab
JK
127852010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12786
12787 * gdb.base/tui-layout.exp: New.
12788
27d3a1a2 127892010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 12790
889bf7c5 12791 * gdb.reverse/break-precsave.exp:
bcd2dc50 12792 Replace uses of send_gdb / gdb_expect.
889bf7c5 12793 * gdb.reverse/break-reverse.exp:
bcd2dc50 12794 Replace uses of send_gdb / gdb_expect.
889bf7c5 12795 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 12796 Replace uses of send_gdb / gdb_expect.
889bf7c5 12797 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 12798 Replace uses of send_gdb / gdb_expect.
889bf7c5 12799 * gdb.reverse/finish-precsave.exp:
bcd2dc50 12800 Replace uses of send_gdb / gdb_expect.
889bf7c5 12801 * gdb.reverse/finish-reverse.exp:
bcd2dc50 12802 Replace uses of send_gdb / gdb_expect.
889bf7c5 12803 * gdb.reverse/i386-precsave.exp:
bcd2dc50 12804 Replace uses of send_gdb / gdb_expect.
889bf7c5 12805 * gdb.reverse/i386-reverse.exp:
bcd2dc50 12806 Replace uses of send_gdb / gdb_expect.
889bf7c5 12807 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 12808 Replace uses of send_gdb / gdb_expect.
889bf7c5 12809 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 12810 Replace uses of send_gdb / gdb_expect.
889bf7c5 12811 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 12812 Replace uses of send_gdb / gdb_expect.
889bf7c5 12813 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 12814 Replace uses of send_gdb / gdb_expect.
889bf7c5 12815 * gdb.reverse/machinestate.exp:
bcd2dc50 12816 Replace uses of send_gdb / gdb_expect.
889bf7c5 12817 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 12818 Replace uses of send_gdb / gdb_expect.
889bf7c5 12819 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 12820 Replace uses of send_gdb / gdb_expect.
889bf7c5 12821 * gdb.reverse/solib-precsave.exp:
bcd2dc50 12822 Replace uses of send_gdb / gdb_expect.
889bf7c5 12823 * gdb.reverse/solib-reverse.exp:
bcd2dc50 12824 Replace uses of send_gdb / gdb_expect.
889bf7c5 12825 * gdb.reverse/step-precsave.exp:
bcd2dc50 12826 Replace uses of send_gdb / gdb_expect.
889bf7c5 12827 * gdb.reverse/step-reverse.exp:
bcd2dc50 12828 Replace uses of send_gdb / gdb_expect.
889bf7c5 12829 * gdb.reverse/until-precsave.exp:
bcd2dc50 12830 Replace uses of send_gdb / gdb_expect.
889bf7c5 12831 * gdb.reverse/until-reverse.exp:
bcd2dc50 12832 Replace uses of send_gdb / gdb_expect.
889bf7c5 12833 * gdb.reverse/watch-precsave.exp:
bcd2dc50 12834 Replace uses of send_gdb / gdb_expect.
889bf7c5 12835 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
12836 Replace uses of send_gdb / gdb_expect.
12837
3def43e0
JK
128382010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12839
12840 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
12841 excessive newline.
12842
27d3a1a2 128432010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
12844
12845 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
12846 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
12847 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
12848 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
12849 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
12850 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
12851 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
12852 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
12853 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
12854 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
12855 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
12856 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
12857 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
12858 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
12859 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
12860 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
12861 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
12862 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
12863 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 12864
27d3a1a2 128652010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 12866
22454424
MS
12867 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
12868 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
12869
12870 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
12871 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
12872 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
12873
889bf7c5 12874 * gdb.reverse/consecutive-reverse.exp:
22454424 12875 Replace uses of send_gdb / gdb_expect.
889bf7c5 12876 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
12877 Replace uses of send_gdb / gdb_expect.
12878
12879 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
12880 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
12881 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 12882 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
12883 Replace uses of send_gdb / gdb_expect.
12884 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
12885 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
12886 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
12887 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
12888 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
12889 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
12890 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
12891 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
12892 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
12893
128942010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 12895
22454424 12896 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 12897
22454424 12898 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 12899
22454424
MS
12900 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
12901 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
12902 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
12903 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
12904 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
12905 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
12906 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
12907 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
12908 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 12909
6e5f2c59
TT
129102010-05-25 Tom Tromey <tromey@redhat.com>
12911
12912 * gdb.base/macscp.exp: Add missing space after setup_kfail.
12913
bbc8b958
TT
129142010-05-25 Tom Tromey <tromey@redhat.com>
12915
12916 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
12917 argument order.
12918 * gdb.base/macscp.exp: Fix setup_kfail argument order.
12919 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
12920 order.
12921 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
12922 order.
12923 * gdb.base/call-sc.exp (setup_kfails): Remove.
12924 (setup_compiler_kfails): Remove.
12925 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
12926 argument order.
12927 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
12928 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
12929 (advancei): Fix setup_kfail argument order.
12930 * gdb.base/radix.exp: Fix setup_kfail argument order.
12931 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
12932 order.
12933 * gdb.base/structs.exp (setup_kfails): Remove.
12934 (setup_compiler_kfails): Fix setup_kfail argument order.
12935 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
12936 order.
12937 * gdb.java/jmain.exp: Fix setup_kfail argument order.
12938 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
12939 setup_kfail argument order.
12940 * gdb.cp/overload.exp: Fix setup_kfail argument order.
12941
83d1babf
TT
129422010-05-25 Tom Tromey <tromey@redhat.com>
12943
12944 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
12945
6acb16a2
MS
129462010-05-25 Michael Snyder <msnyder@vmware.com>
12947
12948 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
12949 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
12950 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
12951 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
12952 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
12953 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
12954 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
12955 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
12956 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
12957 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
12958 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
12959 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
12960 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
12961 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
12962 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
12963 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
12964 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
12965 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
12966 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
12967 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
12968 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
12969 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
12970 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
12971 * gdb.base/default.exp: Replace send_gdb with gdb_test.
12972 * gdb.base/define.exp: Replace send_gdb with gdb_test.
12973 * gdb.base/display.exp: Replace send_gdb with gdb_test.
12974 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
12975 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
12976 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
12977 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
12978 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
12979 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
12980 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
12981 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
12982 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
12983 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
12984 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
12985 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
12986 * gdb.base/help.exp: Replace send_gdb with gdb_test.
12987 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
12988 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
12989 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
12990 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
12991 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
12992 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
12993 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
12994 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 12995 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
12996
129972010-05-25 Doug Evans <dje@google.com>
12998
12999 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
13000 gdb.string_to_argv.
ad3986f0 13001
d3b1e874
TT
130022010-05-21 Tom Tromey <tromey@redhat.com>
13003
13004 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
13005 Call it.
13006 * gdb.dwarf2/pieces.S: Update.
13007 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
13008
cb826367
TT
130092010-05-21 Tom Tromey <tromey@redhat.com>
13010
13011 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
13012 Call it.
13013 * gdb.dwarf2/pieces.c (struct C): New.
13014 (f6): New function.
13015 * gdb.dwarf2/pieces.S: Replace.
13016
74de6778
TT
130172010-05-21 Tom Tromey <tromey@redhat.com>
13018
13019 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
13020 Call it.
13021
afd74c5f
TT
130222010-05-21 Tom Tromey <tromey@redhat.com>
13023
13024 * gdb.dwarf2.pieces.exp: New file.
13025 * gdb.dwarf2.pieces.S: New file.
13026 * gdb.dwarf2.pieces.c: New file.
13027
a7b75dfd 130282010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 13029 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
13030
13031 * lib/gdb.exp (gdb_test_no_output): New function.
13032 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
13033 when testing commands that should produce no output.
13034
c81c812a
JB
130352010-05-17 Joel Brobecker <brobecker@adacore.com>
13036
13037 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
13038 parameter that we want to watch being a constant.
13039
0cce5bd9
JB
130402010-05-17 Joel Brobecker <brobecker@adacore.com>
13041
13042 * gdb.ada/cond_lang: New testcase.
13043
47050449
JB
130442010-05-17 Joel Brobecker <brobecker@adacore.com>
13045
13046 * lib/gdb.exp (banned_variables): New variable/constant.
13047 (gdb_init): Add write trace on variables listed in banned_variables.
13048 (gdb_finish): Remove write traces on variables listed in
13049 banned_variables.
13050
77c01586
JB
130512010-05-17 Joel Brobecker <brobecker@adacore.com>
13052
13053 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
13054 * gdb.cp/koenig.exp: Likewise.
13055
88d4aea7
PM
130562010-05-14 Phil Muldoon <pmuldoon@redhat.com>
13057
889bf7c5 13058 PR python/11482
88d4aea7
PM
13059
13060 * gdb.python/py-value.exp (test_value_hash): New function.
13061
f5a010c0
PM
130622010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
13063
13064 PR exp/11530.
13065 * gdb.base/gdb11530.c: New file.
13066 * gdb.base/gdb11530.exp: New file.
13067
8ef4892f
JK
130682010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13069
13070 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
13071 * gdb.dwarf2/dw2-modula2-self-type.S: New.
13072
7322dca9
SW
130732010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
13074
13075 * gdb.cp/koenig.exp: New test.
13076 * gdb.cp/koenig.cc: New test program.
13077
02e7ea18
JB
130782010-05-05 Joel Brobecker <brobecker@adacore.com>
13079
13080 Remove the use of prms_id and bug_id throughout the testsuite.
13081
e1c34c5d
PM
130822010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
13083
13084 PR exp/11349.
13085 * testsuite/gdb.cp/ref-types.exp: Add test to examine
13086 use a reference local variable.
13087
8e1d0c49
JK
130882010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13089
13090 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
13091 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
13092 variable different_dir. Move debugfile into a full directory pathname
13093 under DIFFERENT_DIR.
13094 * lib/gdb.exp (separate_debug_filename): Remove.
13095 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
13096 variable debug_dir and mkdir of it. Update function comments.
13097
e66408ed
PA
130982010-04-29 Pedro Alves <pedro@codesourcery.com>
13099
13100 PR gdb/11557
13101
13102 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
13103 files.
13104
d7b32ed3
PM
131052010-04-29 Phil Muldoon <pmuldoon@redhat.com>
13106
889bf7c5 13107 * gdb.python/py-param.exp: New File.
d7b32ed3 13108
6aecb9c2
JB
131092010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
13110
13111 * gdb.base/default.exp: Fix "set language" test.
13112
bdf92a1c
PM
131132010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
13114
13115 PR breakpoints/11531.
13116 * gdb.base/gdb11531.c: New file.
13117 * gdb.base/gdb11531.exp: New file.
13118
3f172e24
TT
131192010-04-26 Tom Tromey <tromey@redhat.com>
13120
13121 * gdb.base/completion.exp: Add tests for completion and deprecated
13122 commands.
13123
64af4c92
JK
131242010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13125
13126 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
13127 (print /x char_array): Escape curly brackets.
13128
492928e4
JK
131292010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13130
13131 Fix deadlock on looped list of loaded shared objects.
13132 * gdb.base/solib-corrupted.exp: New.
13133
66d09542
DE
131342010-04-23 Doug Evans <dje@google.com>
13135
13136 * gdb.python/py-section-script.c: New file.
13137 * gdb.python/py-section-script.exp: New file.
13138 * gdb.python/py-section-script.py: New file.
13139
8bd10a10
CM
131402010-04-20 Chris Moller <cmoller@redhat.com>
13141
13142 PR 10179
13143
13144 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
13145 * gdb.base/pr10179-a.c:
13146 * gdb.base/pr10179-b.c:
13147 * gdb.base/pr10179.exp: New files.
13148
c0201579
JK
131492010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13150
13151 Fix crashes on dangling display expressions.
13152 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
13153 is SEP.
13154 (lib_flags): Remove the "debug" keyword.
13155 (libsepdebug): New variable for iterating new loop.
13156 (save_pf_prefix): New variable wrapping the loop.
13157 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
13158 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
13159
793b0ff8
PM
131602010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13161
13162 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
13163
097f51f7
PM
131642010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13165
13166 PR stabs/11479.
13167 * gdb.stabs/gdb11479.exp: New file.
13168 * gdb.stabs/gdb11479.c: New file.
13169
9a22f0d0
PM
131702010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13171
13172 * gdb.base/charset.c (Strin16, String32): New variables.
13173 * gdb.base/charset.exp (gdb_test): Test correct display
13174 of 16 or 32 bit strings.
13175
131762010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
13177
13178 PR 9167
13179 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
13180 * gdb.cp/pr9167.cc: New file.
13181 * gdb.cp/pr9167.exp: New file.
13182
13183
6e354e5e
PM
131842010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
13185
13186 PR pascal/11492.
13187 * gdb.pascal/gdb11492.pas: New file.
13188 * gdb.pascal/gdb11492.exp: New file.
13189
be942545
JB
131902010-04-20 Joel Brobecker <brobecker@adacore.com>
13191
1667e6e3 13192 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 13193
0c3acc09
JB
131942010-04-20 Joel Brobecker <brobecker@adacore.com>
13195
13196 * gdb.ada/dyn_loc: New testcase.
13197
ec31cde5
CM
131982010-04-20 Chris Moller <cmoller@redhat.com>
13199
13200 PR 10867
889bf7c5 13201
ec31cde5
CM
13202 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
13203 * gdb.cp/pr10687.cc: New file.
13204 * gdb.cp/pr10687.exp: New file.
13205
13206
ce4b0682
SDJ
132072010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13208 Sergio Durigan Junior <sergiodj@redhat.com>
13209
13210 * gdb.fortran/logical.exp: New testcase.
13211 * gdb.fortran/logical.f90: New file.
13212
3436961f
DE
132132010-04-19 Doug Evans <dje@google.com>
13214
13215 * gdb.base/help.exp (help source): Update expected output.
13216
4d836c09
JK
132172010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13218
13219 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
13220 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
13221 gdb_exit and return.
13222 (executable): New variable.
13223 (binfile): Use it.
13224
6149aea9
PA
132252010-04-19 Pedro Alves <pedro@codesourcery.com>
13226
13227 PR breakpoints/8554.
13228
13229 * gdb.trace/save-trace.exp: Adjust.
13230
ed41462c
L
132312010-04-17 H.J. Lu <hongjiu.lu@intel.com>
13232
13233 PR corefiles/11511
13234 * gdb.arch/system-gcore.exp: New.
13235 * gdb.arch/gcore.c: Likewise.
13236
3f7b2faa
DE
132372010-04-15 Doug Evans <dje@google.com>
13238
fa33c3cd
DE
13239 * gdb.python/py-progspace.c: New file.
13240 * gdb.python/py-progspace.exp: New file.
13241
3f7b2faa
DE
13242 * gdb.base/source.exp: Add tests for "source -s".
13243
79f283fe
PM
132442010-04-14 Phil Muldoon <pmuldoon@redhat.com>
13245
13246 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
13247 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
13248 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
13249 * gdb.python/py-mi.exp: New test for to_string returning None.
13250
fc8eb08a
PM
132512010-04-12 Phil Muldoon <pmuldoon@redhat.com>
13252
13253 * gdb.python/py-breakpoint.c: Make result global.
13254
26e197f6
JK
132552010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13256
13257 Fix non-GNU make compatibility.
13258 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
13259
adc36818
PM
132602010-04-09 Phil Muldoon <pmuldoon@redhat.com>
13261
13262 * gdb.python/py-breakpoint.exp: New File.
13263 * gdb.python/py-breakpoint.C: Ditto.
13264
64e17368
SS
132652010-04-08 Stan Shebs <stan@codesourcery.com>
13266
13267 * gdb.trace/actions.exp: Clear default-collect.
13268 * gdb.trace/save-trace.exp: Clear default-collect.
13269
fff5cc64
PM
132702010-04-08 Phil Muldoon <pmuldoon@redhat.com>
13271
13272 * gdb.python/py-value: Add null string variable.
13273 (test_lazy_string): Test zero length, NULL address lazy
13274 strings.
13275
a055a187
L
132762010-04-07 H.J. Lu <hongjiu.lu@intel.com>
13277
13278 * gdb.arch/i386-avx.c: New.
13279 * gdb.arch/i386-avx.exp: Likewise.
13280
13281 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
13282
96e39866
DE
132832010-04-06 Doug Evans <dje@google.com>
13284
13285 * gdb.base/source-test.gdb: New file.
13286 * gdb.base/source.exp: Test source -v.
13287
5984a431
UW
132882010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13289
13290 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
13291
ec8a089a
PM
132922010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
13293
13294 * gdb.stabs/aout.sed: Convert all backslash to double backslash
13295 within one line, unless it is followed by a double quote.
13296 * gdb.stabs/hppa.sed: Idem.
13297 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
13298 * gdb.stabs/weird.exp: Check for correct parsing of
13299 char and string constants.
ec8a089a
PM
13300 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
13301 in .stabs to .stabx substitution.
13302
fce3c1f0
SS
133032010-04-05 Stan Shebs <stan@codesourcery.com>
13304
13305 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
13306 constant global.
13307 * gdb.trace/tfile.exp: Try to print them.
13308
d77f58be
SS
133092010-04-04 Stan Shebs <stan@codesourcery.com>
13310
13311 * gdb.base/completion.exp: Update for new "info watchpoints".
13312 * gdb.base/default.exp: Ditto.
13313 * gdb.base/help.exp: Ditto.
13314 * gdb.base/watchpoint.exp: Ditto.
13315 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 13316
af54718e
SS
133172010-04-04 Stan Shebs <stan@codesourcery.com>
13318
13319 * gdb.trace/tfile.exp: Sharpen tfind test.
13320
74d1f91e
JK
133212010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13322
13323 * gdb.base/break-entry.exp: New.
13324
eb8e76db 133252010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 13326 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
13327
13328 * gdb.reverse/i386-sse-reverse.exp: New file.
13329 * gdb.reverse/i386-sse-reverse.c: New file.
13330
bf65cad8
PA
133312010-04-02 Pedro Alves <pedro@codesourcery.com>
13332
13333 * gdb.trace/tfind.exp: Adjust expected disassembly output.
13334
fff87407
SS
133352010-04-01 Stan Shebs <stan@codesourcery.com>
13336
13337 * gdb.trace/actions.exp: Tweak expected output.
13338 * gdb.trace/while-stepping.exp: Tweak expected output.
13339
fe01d668
L
133402010-04-01 H.J. Lu <hongjiu.lu@intel.com>
13341
13342 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
13343
86b17b60
PA
133442010-04-01 Pedro Alves <pedro@codesourcery.com>
13345
13346 * gdb.base/commands.exp: Adjust.
13347 * gdb.cp/extern-c.exp: Adjust.
13348
2c58c0a9
PA
133492010-04-01 Pedro Alves <pedro@codesourcery.com>
13350
13351 * gdb.trace/collection.c (local_test_func): Define a local struct,
13352 and instanciate it.
13353
0db9b91c
PA
133542010-04-01 Pedro Alves <pedro@codesourcery.com>
13355
13356 * gdb.trace/collection.exp (gdb_collect_args_test)
13357 (gdb_collect_argarray_test): XFAIL the tests that assume the
13358 argarray argument's elements are collected.
13359
8072405b
JK
133602010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
13361
13362 * gdb.dwarf2/dw2-bad-parameter-type.exp,
13363 gdb.dwarf2/dw2-bad-parameter-type.S: New.
13364
8bf6485c
SS
133652010-03-31 Stan Shebs <stan@codesourcery.com>
13366
13367 * gdb.trace/save-trace.exp: Test save/restore of default-collect
13368 and tracepoint conditionals.
13369 (gdb_verify_tracepoints): Delete unused return.
13370
fd7f724a
KS
133712010-03-26 Keith Seitz <keiths@redhat.com>
13372
13373 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
13374 appear in the output before main.
13375 Remove KFAIL for gdb/2215 aka bz 9320.
13376
8d9e7719
DE
133772010-03-30 Doug Evans <dje@google.com>
13378
0906dd0b
DE
13379 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
13380 by dejagnu.
13381 * gdb.arch/amd64-dword.exp: Ditto.
13382
8d9e7719
DE
13383 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
13384 match.
13385 (break printf): Ditto.
13386
1da644f0
SW
133872010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
13388
13389 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
13390 gcc < 4.4.
13391 * gdb.cp/shadow.exp: Ditto.
13392
a8121990
PA
133932010-03-29 Pedro Alves <pedro@codesourcery.com>
13394
13395 * gdb.trace/collection.exp (run_trace_experiment): Make sure
13396 "tstart" is silent.
13397
6e79d367
PA
133982010-03-29 Pedro Alves <pedro@codesourcery.com>
13399
13400 * gdb.trace/collection.exp (executable): New.
13401 (binfile): Use it.
13402 (fpreg, spreg, pcreg): New.
13403 (test_register): Use gdb_test_multiple. Pass /x to print.
13404 (prepare_for_trace_test): New.
13405 (run_trace_experiment): Use "continue", not gdb_run_cmd.
13406 (gdb_collect_args_test, gdb_collect_argstruct_test)
13407 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
13408 prepare_for_trace_test.
13409 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
13410 fpreg, spreg and pcreg.
13411 (gdb_collect_expression_test, gdb_collect_globals_test): Use
13412 prepare_for_trace_test.
13413 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
13414 try to detect tracing support here. Don't set breakpoints at
13415 `begin' or `end' here.
13416 <global scope>: Use clean_restart. Run to main before checking
13417 for tracing support. Check for for tracing support here.
13418
09248348
JK
134192010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13420
13421 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
13422 " as $displacement" to "seen displacement message".
13423
d350db38
PA
134242010-03-28 Pedro Alves <pedro@codesourcery.com>
13425
13426 * gdb.trace/while-dyn.exp (executable): New variable.
13427 (binfile): Use it.
13428 (test_while_stepping): New function. Move most tests here. Call
13429 it once for each of the while-stepping, stepping and ws aliases.
13430
907af001
UW
134312010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13432
13433 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
13434 that do not provide the tagless_struct type name at all.
13435 (test_print_anon_union): Do not check value of uninitialized
13436 union member. Do not use cp_test_ptype_class, so we can accept
13437 "long" as well as "long int".
13438
610197fd
PA
134392010-03-26 Pedro Alves <pedro@codesourcery.com>
13440
13441 * gdb.trace/tfile.c (tohex, bin2hex): New.
13442 (write_error_trace_file): Hexify error description.
13443
6c28cbf2
SS
134442010-03-25 Stan Shebs <stan@codesourcery.com>
13445
13446 * gdb.trace/tfile.c: Generate an additional trace file, improve
13447 portability.
13448 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
13449 files in a better way.
13450
e62b8c7e
KS
134512010-03-25 Keith Seitz <keiths@redhat.com>
13452
13453 * gdb.java/jprint.exp: XFAIL printing of static class members
13454 because of GCC debuginfo problem.
13455
82ccf5a5
JK
134562010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13457
13458 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
13459
293e2f9e
DJ
134602010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13461
13462 * gdb.base/completion.exp: Allow long instead of long int.
13463 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
13464 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
13465 variable p.
13466 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
13467 * gdb.base/pointers.exp: Allow long instead of long int.
13468 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
13469 * gdb.base/step-line.exp: Allow a directory before the source file name.
13470
95a42b64
TT
134712010-03-24 Tom Tromey <tromey@redhat.com>
13472
13473 PR breakpoints/9352:
13474 * gdb.base/default.exp: Update.
13475 * gdb.base/commands.exp: Update.
13476 * gdb.cp/extern-c.exp: Test setting commands on multiple
13477 breakpoints at once.
13478
2390201f
DJ
134792010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13480
13481 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
13482 if gdb,nosignals.
13483 * gdb.base/watchpoints.c: Do not include unnecessary headers.
13484 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
13485 exited".
13486
8c9a6790
SS
134872010-03-24 Stan Shebs <stan@codesourcery.com>
13488
13489 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
13490
a6c727b2
DJ
134912010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
13492
13493 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
13494 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
13495 argument. Handle "short" and "long".
13496 (Top level): Pass overprototyped output for old_fptr and xptr.
13497
4dfd5423
PA
134982010-03-23 Pedro Alves <pedro@codesourcery.com>
13499
13500 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
13501 format strings and add casts to avoid compiler warnings.
13502
135032010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
13504
13505 * lib/trace-support.exp (gdb_trace_setactions):
13506 Don't expect whitespace after ">" prompt.
13507 * gdb.trace/actions.exp: Adjust for output changes.
13508 * gdb.trace/while-stepping.exp: Likewise.
13509
c847d045
JK
135102010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13511
13512 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
13513 and r157645).
13514
5f717f1d
JK
135152010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13516
13517 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
13518 New.
13519
7d6d51d5
DJ
135202010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
13521
13522 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
13523 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
13524
3b11a015
SS
135252010-03-19 Stan Shebs <stan@codesourcery.com>
13526
13527 * gdb.trace/ax.exp: New file.
13528
d7d158ed
DE
135292010-03-19 Doug Evans <dje@google.com>
13530
6bb85cd1
DE
13531 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
13532 output from gcc.
13533
d7d158ed
DE
13534 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
13535 named /usr/sbin/prelink<foo>.
13536
4daf5ac0
SS
135372010-03-18 Stan Shebs <stan@codesourcery.com>
13538
13539 * gdb.trace/circ.exp: Test circular-trace-buffer.
13540 * gdb.trace/tfile.exp: Update tstatus test.
13541
e8d05480
JB
135422010-03-18 Joel Brobecker <brobecker@adacore.com>
13543
13544 * gdb.dwarf2/dw2-anonymous-func.S: New file.
13545 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
13546
441b986a
UW
135472010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13548
13549 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
13550
4247603b
PA
135512010-03-18 Pedro Alves <pedro@codesourcery.com>
13552
13553 * gdb.base/default.exp: Adjust the expected output of the finish
13554 and until commands when the inferior is not being run.
13555
13387711
SW
135562010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
13557
13558 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
13559 * gdb.cp/nsusing.exp: Ditto.
13560
6e31430b
TT
135612010-03-15 Tom Tromey <tromey@redhat.com>
13562
13563 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
13564 * gdb.cp/userdef.cc (operator==): New function.
13565 (main): New locals mem1, mem2.
13566
e2d69cb5
JZ
135672010-03-15 Jie Zhang <jie@codesourcery.com>
13568
13569 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
13570 Declare and use new loadtimeout variable.
13571
f572f0a9
DJ
135722010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
13573
13574 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
13575 Use gdb_load later.
13576
51f4c0b0
PA
135772010-03-14 Pedro Alves <pedro@codesourcery.com>
13578
13579 * gdb.base/solib-disc.c (main): Make format of fprintf a string
13580 literal. Add missing endlines to prints to stderr.
13581
1c809c68
TT
135822010-03-12 Tom Tromey <tromey@redhat.com>
13583
13584 PR c++/9708:
13585 * gdb.cp/m-static.exp: Add regression test.
13586 * gdb.cp/m-static.cc (method): New method.
13587 (main): Call it.
13588
00ae8fef
SW
135892010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
13590
13591 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
13592 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
13593
759f0f0b
PA
135942010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
13595
21e24d21
PA
13596 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
13597
135982010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
13599
759f0f0b
PA
13600 * lib/gdb.exp (skip_stl_tests): New.
13601 (gdb_compile): Symbian needs -ldl.
13602 (shlib_target_file): New.
13603 (shlib_symbol_file): New.
13604 (gdb_load_shlibs): Use shlib_target_file.
13605 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
13606 * gdb.cp/exception.exp: Use skip_stl_tests.
13607 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
13608 * gdb.cp/try_catch.exp: Use skip_stl_tests.
13609 * gdb.cp/mb-templates.exp: Ditto.
13610 * gdb.base/commands.exp: Relax regexes.
13611 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
13612 shlib_target_file and shlib_symbol_file.
13613 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
13614 sections.
13615 * gdb.base/ending-run.exp: Accept E32Main for symbian.
13616 * gdb.base/solib-disc.exp: Use
13617 shlib_target_file and shlib_symbol_file.
13618 * gdb.base/unload.exp: Don't skip on symbian. Use
13619 shlib_target_file and shlib_symbol_file.
13620 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
13621
6a8f2671 136222010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 13623
6a8f2671
PA
13624 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
13625 * gdb.trace/report.exp: Adjust for x86 and x86_64.
13626 Issue a tfind end before looking for a tracepoint frame.
13627 * gdb.trace/tfind.exp: Adjust tstatus output.
13628 Adjust disassembly output.
13629 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
13630
ccf26247
JK
136312010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13632
13633 * gdb.base/break-interp.exp: Create new displacement parameter value
13634 for the test_ld calls.
13635 (reach): New parameter displacement, verify its content. New push of
13636 pf_prefix "reach-$func:". Import global expect_out.
13637 (test_core): New parameter displacement, verify its content. New push
13638 of pf_prefix "core:". New command "set verbose on". Import global
13639 expect_out.
13640 (test_attach): New parameter displacement, verify its content. New
13641 push of pf_prefix "attach:". New command "set verbose on". Import
13642 global expect_out.
13643 (test_ld): New parameter displacement, pass it to the reach, test_core
13644 and test_attach calls and verify its content in the "ld.so exit" test.
13645 * gdb.base/prelink.exp: Remove gdb_exit and final return.
13646 (prelink): Update expected text, use gdb_test.
13647
e469c7fb
DE
136482010-03-10 Doug Evans <dje@google.com>
13649
13650 * gdb.base/checkpoint.exp: Fix comment.
13651 Lengthen timeout while doing >600 checkpoints test.
13652 Rename duplicate "kill all one" test to keep test names unique.
13653
60e1c644
PA
136542010-03-10 Pedro Alves <pedro@codesourcery.com>
13655
13656 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
13657
cec808ec
KS
136582010-03-08 Keith Seitz <keiths@redhat.com>
13659
889bf7c5
PA
13660 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
13661 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
13662 (dm_type_long): New function.
13663 (dm_type_unsigned_short): New function.
13664 (dm_type_unsigned_long): New function.
13665 (myint): New typedef.
13666 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
13667 long, unsigned shor and long, operator char*, and typedef.
13668 (test_lookup_operator_functions): Add operator char* test.
13669 (test_paddr_operator_functions): Likewise.
13670 (test_paddr_overloaded_functions): Use probe values for
13671 short, long, and unsigned short and long.
13672 (test_paddr_hairy_functions): If the demangler probe detected
13673 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
13674 demangler.
13675 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
13676 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
13677 and "print null_pmf".
13678 Add test "ptype a.*pmf".
13679 * gdb.cp/overload.exp: Allow optional "int" to appear with
13680 "short" and "long".
13681 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
13682 long expect value for men_overload1arg.
13683 Allow "int" to appear with "short" and "long".
13684 When testing "info break", add argument for main (void).
13685 Also allow "int" to appear with "short" and "long".
13686 Ditto with "unsigned" and "long long".
cec808ec
KS
13687 * gdb.java/jmain.exp: Do not enclose methods names in single
13688 quotes.
13689 * gdb.java/jmisc.exp: Likewise.
13690 * gdb.java/jprint.exp: Likewise.
13691 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
13692
13693 From Jan Kratochvil <jan.kratochvil@redhat.com>:
13694 * gdb.cp/exception.exp (backtrace after first throw)
13695 (backtrace after second throw): Allow a namespace before __cxa_throw.
13696 (backtrace after first catch, backtrace after second catch): Allow
13697 a namespace before __cxa_begin_catch.
13698
13699 * gdb.cp/cpexprs.exp: New file.
13700 * gdb.cp/cpexprs.cc: New file.
13701
13702 From Daniel Jacobowitz <dan@codesourcery.com>
13703 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
13704 to use string_to_regexp.
13705 (ctor, dtor): New functions. Use them to match constructor
13706 and destructor function types.
13707 (Top level): Use runto_main.
13708
f870a310
TT
137092010-03-05 Tom Tromey <tromey@redhat.com>
13710
13711 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
13712 gdb.target_charset.
13713 (pp_ns.to_string): Likewise.
13714
0c199f28
KS
137152010-03-04 Keith Seitz <keiths@redhat.com>
13716
13717 * gdb.cp/overload.exp: Test that the filename portion of a linespec
13718 can be quoted. Test that both the filename and function/line
13719 portions can be quoted at the same time.
13720
c7437ca6
PA
137212010-03-04 Pedro Alves <pedro@codesourcery.com>
13722
13723 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
13724
b111b805
DE
137252010-03-03 Doug Evans <dje@google.com>
13726
24486cb7
DE
13727 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
13728 libc contains libpthread.
13729
b111b805
DE
13730 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
13731 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
13732 of gdb_compile. Add another pattern to match android backtrace.
13733
a0e0ef55
TT
137342010-03-03 Tom Tromey <tromey@redhat.com>
13735
13736 PR gdb/11345:
13737 * gdb.base/printcmds.exp (test_printf): Add test.
13738
1ba53b71
L
137392010-03-02 H.J. Lu <hongjiu.lu@intel.com>
13740
13741 * gdb.arch/amd64-byte.exp: New.
13742 * gdb.arch/amd64-dword.exp: Likewise.
13743 * gdb.arch/amd64-pseudo.c: Likewise.
13744 * gdb.arch/amd64-word.exp: Likewise.
13745 * gdb.arch/i386-byte.exp: Likewise.
13746 * gdb.arch/i386-pseudo.c: Likewise.
13747 * gdb.arch/i386-word.exp: Likewise.
13748
f5dff777
DJ
137492010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13750
13751 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
13752 types. Add structreg, bitfields, and flags registers.
13753 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
13754 registers.
13755
90884b2b
L
137562010-03-01 H.J. Lu <hongjiu.lu@intel.com>
13757
13758 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
13759 (load_description): Set architecture if defined.
13760
dc00d89f
PM
137612010-02-28 Phil Muldoon <pmuldoon@redhat.com>
13762
13763 * gdb.python/py-frame.exp: Add read_var block tests.
13764 * gdb.python/py-frame.c (block): New function.
13765
0e095b7e
JK
137662010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13767 Daniel Jacobowitz <dan@codesourcery.com>
13768
13769 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
13770
624f1a65
DM
137712010-02-25 David S. Miller <davem@davemloft.net>
13772
13773 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
13774 fix logic for setting all_syscalls_numbers.
13775
f3e9a817
PM
137762010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13777
13778 * Makefile.in: Add py-block and py-symbol.
13779 * gdb.python/py-symbol.exp: New File.
13780 * gdb.python/py-symtab.exp: New File.
13781 * gdb.python/py-block.exp: New File.
13782 * gdb.python/py-symbol.c: New File.
13783 * gdb.python/py-block.c: New File.
13784
f6bbabf0
PM
137852010-02-24 Phil Muldoon <pmuldoon@redhat.com>
13786
13787 PR python/11314
13788 * lib/gdb.exp (skip_python_tests): New function.
13789 * gdb.python/py-cmd.exp: Use skip_python_tests.
13790 * gdb.python/py-frame.exp: Likewise.
13791 * gdb.python/py-function.exp: Likewise.
13792 * gdb.python/py-prettyprint.exp: Likewise.
13793 * gdb.python/py-template.exp: Likewise.
13794 * gdb.python/py-type.exp: Likewise.
13795 * gdb.python/py-value.exp: Likewise.
13796
85d721b8
PA
137972010-02-22 Pedro Alves <pedro@codesourcery.com>
13798
13799 PR9605
13800
13801 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
13802
48e32051
TT
138032010-02-19 Tom Tromey <tromey@redhat.com>
13804
13805 PR c++/8693, PR c++/9496:
13806 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
13807 regression tests.
13808
ac9c0048
JK
138092010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13810
13811 Fix compatibility with m68k as.
13812 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
13813 Use only /* comments */.
13814
57bb97a4
UW
138152010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13816
13817 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
13818 * configure: Regenerate.
13819
7d1bf85c
DJ
138202010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
13821
13822 * gdb.python/py-type.exp: Check for Python support.
13823
061b5285
PA
138242010-02-17 Pedro Alves <pedro@codesourcery.com>
13825
13826 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
13827 `regsub' syntax available.
13828
f8a8bc2c
PA
138292010-02-17 Pedro Alves <pedro@codesourcery.com>
13830
13831 * gdb.base/shmain.c (main): Remove printf call.
13832 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
13833 * gdb.base/unload.c (main): Make format of fprintf a string
13834 literal. Add missing endlines to prints to stderr.
13835 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
13836
6f451e5e
TT
138372010-02-17 Tom Tromey <tromey@redhat.com>
13838
13839 * gdb.java/jprint.java (jprint.props): New field.
13840 * gdb.java/jprint.exp (set_lang_java): Add regression test.
13841
12d79008
PA
138422010-02-17 Pedro Alves <pedro@codesourcery.com>
13843
ef801a0e 13844 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
13845 available.
13846
d252f7e5
DJ
138472010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13848
13849 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
13850 creation to support remote host testing.
13851
67bdab6c
DJ
138522010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13853
13854 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
13855 Recognize "command not found".
13856
bb391223
DJ
138572010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13858
13859 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
13860 single-stepping.
13861
70362913
DJ
138622010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13863
13864 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
13865 if arguments are not supported.
13866
493f3c00
DJ
138672010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13868
13869 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
13870 be const or non-const.
13871
8034c749
DJ
138722010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13873
13874 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
13875 mi_send_resuming_command to send -exec-continue.
13876
791dfb64
DJ
138772010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13878
13879 * gdb.base/list.exp (test_list_filename_and_function): Add test
13880 with single quotes.
13881 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
13882 matching.
13883 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
13884 Add KFAIL'd tests for PR gdb/11289.
13885
7c5fe868
DJ
138862010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13887
13888 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
13889
fdc498b8
DJ
138902010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13891
13892 * gdb.base/comp-dir/subdir/dummy.txt: New file.
13893 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
13894 a temporary directory.
13895
b519e2a6
DJ
138962010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
13897
13898 * gdb.base/charset.exp: Use a single regular expression to match
13899 show host-charset and show target-charset output.
13900
74164c56
JK
139012010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13902
13903 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
13904 "Illegal process-id" expect string more exact.
13905 (attach to digits-starting nonsense is prohibited): New.
13906
701ed6dc
JK
139072010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13908
13909 * gdb.base/prelink.exp (set verbose on): New.
13910
889bf7c5 139112010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
13912
13913 * mi-reverse.exp: New file. Test for reverse option to the
13914 following MI commands: exec-continue, exec-finish, exec-next,
13915 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 13916
dadf0e9c
JB
139172010-02-09 Joel Brobecker <brobecker@adacore.com>
13918
13919 * gdb.ada/ptype_tagged_param: New testcase.
13920
714f19d5
TT
139212010-02-08 Tom Tromey <tromey@redhat.com>
13922
13923 PR c++/8017:
13924 * gdb.cp/overload.exp: Add tests.
13925 * gdb.cp/overload.cc (struct K): New.
13926 (namespace N): New.
13927 (main): Call new functions.
13928 (K::staticoverload): Define.
13929
889bf7c5 139302010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
13931
13932 PR gdb/10728
13933 * gdb.cp/pr10728-x.h: New file.
13934 * gdb.cp/pr10728-x.cc: New file.
13935 * gdb.cp/pr10728-y.cc: New file.
13936 * gdb.cp/pr10728.exp: New file.
13937 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
13938
889bf7c5 139392010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
13940
13941 PR gdb/9067
13942 * gdb.cp/pr9067.exp: New
13943 * gdb.cp/pr9067.cc: New
13944 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
13945
7b356089
JB
139462010-02-08 Joel Brobecker <brobecker@adacore.com>
13947
13948 * lib/gdb.exp (gdb_test_timeout): New global variable.
13949 Set it to timeout if not already set.
13950 (gdb_init): Reset the value of timeout to gdb_test_timeout.
13951
1be00882
DE
139522010-02-05 Doug Evans <dje@google.com>
13953
13954 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
13955 user.
13956
82856980
SW
139572010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
13958
13959 PR c++/7935:
13960 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
13961
1a334831
TT
139622010-02-04 Tom Tromey <tromey@redhat.com>
13963
13964 * gdb.cp/virtbase.exp: Make test case names unique.
13965
9c3c02fd
TT
139662010-02-02 Tom Tromey <tromey@redhat.com>
13967
13968 * gdb.cp/virtbase.exp: Add regression tests.
13969 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
13970 (main): Instantiate RHC.
13971
0cc2414c
TT
139722010-02-02 Tom Tromey <tromey@redhat.com>
13973
13974 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
13975 type-printing change.
13976
edf3d5f3
TT
139772010-02-02 Tom Tromey <tromey@redhat.com>
13978
13979 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
13980 * gdb.cp/virtbase.cc: New file.
13981 * gdb.cp/virtbase.exp: New file.
13982 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
13983
e4b7f41c
JK
139842010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13985
13986 PR libc/11214:
13987 * gdb.threads/current-lwp-dead.c: Include features.h.
13988 (HAS_NOMMU): New.
13989 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
13990
b381ea14
JK
139912010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13992
13993 * gdb.base/symbol-without-target_section.exp,
13994 gdb.base/symbol-without-target_section.c: New.
13995
c593ac0e
DJ
139962010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
13997
13998 * gdb.base/bigcore.exp: Reset increased timeout.
13999 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
14000
db25f29d
DJ
140012010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14002
14003 * gdb.base/gcore.exp (capture_command_output): Use
14004 gdb_test_multiple.
14005
f9d67f43
DJ
140062010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14007
14008 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
14009 * gdb.arch/thumb2-it.exp (test_it_break): New function.
14010 (Top level): Call it.
14011
177321bd
DJ
140122010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14013
14014 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
14015
97f2ed50
DJ
140162010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14017
14018 * gdb.base/call-strs.exp, gdb.base/default.exp,
14019 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
14020 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
14021 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
14022 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
14023 gdb.base/watchpoint-solib.exp: Save and restore timeout.
14024 * gdb.base/ending-run.exp: Correct restore of timeout.
14025 * gdb.base/page.exp: Remove unnecessary timeout setting.
14026
e4e2711a
JB
140272010-01-29 Joel Brobecker <brobecker@adacore.com>
14028
14029 * gdb.ada/rec_return: New testcase.
14030
ba581dc1
JB
140312010-01-29 Joel Brobecker <brobecker@adacore.com>
14032
14033 * gdb.ada/call_pn: New testcase.
14034
4ea95be9
DJ
140352010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
14036
14037 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
14038 (Top level): Use it to resume.
14039 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
14040 the Thumb mode displaced stepping error as unsupported.
14041
df83a9bf
SW
140422010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
14043
889bf7c5
PA
14044 * gdb.cp/nsusing.exp: Added more tests.
14045 * gdb.cp/nsrecurs.exp: Ditto.
14046 * gdb.cp/nsusing.cc: Added test functions.
14047 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 14048
40b27cdc
JK
140492010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14050
14051 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
14052 absolute directory pathnames in gdb.sum file.
14053
de958931
SW
140542010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
14055
14056 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
14057 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
14058
708ead4e
TT
140592010-01-26 Tom Tromey <tromey@redhat.com>
14060
14061 PR exp/7643:
14062 * gdb.base/printcmds.exp (test_print_string_constants): Remove
14063 setup_kfail.
14064
b14e635e
SW
140652010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
14066
14067 * gdb.cp/nsrecurs.exp: New test.
14068 * gdb.cp/nsrecurs.cc: New test program.
14069 * gdb.cp/nsstress.exp: New test.
14070 * gdb.cp/nsstress.cc: New test program.
14071 * gdb.cp/nsdecl.exp: New test.
14072 * gdb.cp/nsdecl.cc: New test program.
14073
8540c487
SW
140742010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
14075
14076 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
14077 imported into file scope.
14078 Marked test as xfail.
14079 * gdb.cp/namespace-using.cc (marker5): New function.
14080 * gdb.cp/shadow.exp: New test.
14081 * gdb.cp/shadow.cc: New test program.
14082 * gdb.cp/nsimport.exp: New test.
14083 * gdb.cp/nsimport.cc: New test program.
14084
421d5d99
TT
140852010-01-25 Tom Tromey <tromey@redhat.com>
14086
14087 PR gdb/11049:
14088 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
14089 with "set print null-stop on".
14090
691f8dc1
JK
140912010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14092
14093 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
14094 Adjust it for DISASSEMBLY_OMIT_FNAME.
14095
0b92b5bb
TT
140962010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14097
14098 PR symtab/11199:
14099 * gdb.dwarf2/member-ptr-forwardref.exp,
14100 gdb.dwarf2/member-ptr-forwardref.S: New.
14101
23787403
JK
141022010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14103
14104 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
14105 (thread1_func): Protect thread1_tid with thread1_tid_cond by
14106 thread1_tid_mutex. Remove gdbstop_mutex handling.
14107 (thread2_func): Protect thread2_tid with thread2_tid_cond by
14108 thread2_tid_mutex. Remove gdbstop_mutex handling.
14109 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
14110 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
14111 pthread_cond_wait conditionalizations by while loops.
14112
b966cb8a
TT
141132010-01-20 Tom Tromey <tromey@redhat.com>
14114
14115 PR backtrace/10770:
14116 * gdb.dwarf2/pr10770.exp: New file.
14117 * gdb.dwarf2/pr10770.c: New file.
14118 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
14119
fcae584b
VP
141202010-01-20 Vladimir Prus <vladimir@codesourcery.com>
14121
14122 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
14123 that target was removed, and the test always runs native anyway.
14124
a0f49112
JK
141252010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14126
14127 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
14128 gdb.base/watchpoint-cond-gone-stripped.c: New.
14129
ceeb3d5a
TT
141302010-01-19 Tom Tromey <tromey@redhat.com>
14131
14132 PR c++/8000:
14133 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
14134 existing tests.
14135 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
14136 (main): Use AAA::SomeEnum.
14137
dd322c54
JK
141382010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14139
14140 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
14141 (test_ignore_count): Declare line_callme_body global.
14142 (run to breakpoint with ignore count): Use line_callme_body.
14143 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
14144 (set line_main_hello, set line_main_return): Reindent.
14145 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
14146 New.
14147 (continue to callee4): Use line_callee4_body.
14148 (check *stopped from CLI command): Use line_callee4_next.
14149 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
14150 (set line_main_hello, set line_main_return): Reindent.
14151 (set line_callee4_head, set line_callee4_body): New.
14152 (continue to callee4): Use line_callee4_body.
14153
4e8f195d
TT
141542010-01-18 Tom Tromey <tromey@redhat.com>
14155
14156 PR c++/9680:
14157 * gdb.cp/casts.cc: Add new classes and variables.
14158 * gdb.cp/casts.exp: Test new operators.
14159
9e14a9ba
JB
141602010-01-18 Tom Tromey <tromey@redhat.com>
14161 Thiago Jung Bauermann <bauerman@br.ibm.com>
14162
14163 * gdb.python/source2.py: New file.
14164 * gdb.python/source1: New file.
14165 * gdb.python/python.exp: Test "source" command.
14166
00bf0b85
SS
141672010-01-15 Stan Shebs <stan@codesourcery.com>
14168
14169 * gdb.trace/tfile.c: New file.
14170 * gdb.trace/tfile.exp: New file.
889bf7c5 14171
55235ad7
JK
141722010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14173
14174 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
14175
9f2982ff
JK
141762010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14177
14178 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
14179
bbfba9ed
JK
141802010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14181
14182 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
14183 (libfunc): New parameter action. Implement also selectable "sleep".
14184 * gdb.base/break-interp-main.c: Include assert.h.
14185 (libfunc): New parameter action.
14186 (main): New parameters argc and argv. Assert argc. Pass argv.
14187 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
14188 (test_attach): New proc.
14189 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
14190 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
14191
61f0d762
JK
141922010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14193
14194 * gdb.base/break-interp.exp (test_core): New proc.
14195 (test_ld): Call it.
14196
06a6f270
JK
141972010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14198
14199 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
14200 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
14201 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
14202 and gdb_compile_shlib. Use new -Wl compiler options.
14203 (dl bt, main bt): New tests.
14204
51bee8e9
JK
142052010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14206
14207 Support PIEs with no symfile_objfile.
14208 * gdb.base/break-interp.exp: New argument at the test_ld calls.
14209 (test_ld): New parameter trynosym.
14210 (test_ld <$trynosym>): New block.
14211
b8040f19
JK
142122010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14213
14214 * gdb.base/break-interp.exp: New file.
14215
be759fcf
PM
142162010-01-13 Phil Muldoon <pmuldoon@redhat.com>
14217
14218 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
14219 * gdb.python/py-prettyprint.py (pp_ls): New printer.
14220 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
14221 test.
14222 * gdb.python/py-prettyprint.c: Define lazystring test structure.
14223 * gdb.python/py-mi.exp: Add lazy string test.
14224
dc146f7c
VP
142252010-01-13 Vladimir Prus <vladimir@codesourcery.com>
14226
14227 * lib/mi-support.exp (mi_check_thread_states): Handle
14228 core number in thread listing.
14229
b4ba55a1
JB
142302010-01-12 Joel Brobecker <brobecker@adacore.com>
14231
14232 * gdb.base/maint.exp: Adjust the expected output for the
14233 "maint print type" test. Use gdb_test_multiple instead of
14234 gdb_sent/gdb_expect.
14235
08e24bd4
DE
142362010-01-11 Doug Evans <dje@google.com>
14237
6496a609
DE
14238 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
14239 from gdbserver_download. All callers updated.
14240
08e24bd4
DE
14241 * gdb.server/ext-run.exp: "info os processes" requires xml support.
14242
b5cfddf5
JK
142432010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14244
14245 Implement binary numbers parsing.
14246 * gdb.base/printcmds.exp (test_integer_literals_accepted)
14247 (test_integer_literals_rejected): New binary tests.
14248
3725885a
RW
142492010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14250
14251 * gdb.cell/configure: Regenerate.
14252
37aeb5df
JK
142532010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14254
14255 * gdb.base/corefile.exp: Move the core finding block out and call it as
14256 core_find, new variable $corefile, replace corefile by $corefile and
14257 [file tail $corefile] for usage vs. test names resp.
14258 * lib/gdb.exp (core_find): Move it as a new function here. New
14259 parameter binfile and deletefiles. New variable $destcore. Pre-delete
14260 $destcore. Return "" on error.
14261
d521f563
JK
142622010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14263
14264 Workaround PR binutils/10802.
14265 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
14266 (twice).
14267
28f24826
DJ
142682010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
14269
14270 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
14271
2de75e71
JB
142722010-01-08 Joel Brobecker <brobecker@adacore.com>
14273
14274 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
14275 call, to avoid interruption.
14276
fe00719b 142772010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
14278
14279 * gdb.stabs/weird.def (args93): New.
14280
d0ef5df8
DE
142812010-01-07 Doug Evans <dje@google.com>
14282
14283 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
14284
3a08d52f
TT
142852010-01-07 Tom Tromey <tromey@redhat.com>
14286
14287 * gdb.base/source.exp: Use correct line number.
14288
7a697b8d
SS
142892010-01-05 Stan Shebs <stan@codesourcery.com>
14290
14291 * gdb.trace/tracecmd.exp: Test ftrace.
14292
7803799a
UW
142932010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14294
14295 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
14296
c54eabfa
JK
142972010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14298
14299 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
14300 "uint_for_mi_testing".
14301
02e7ef19
JB
143022010-01-01 Joel Brobecker <brobecker@adacore.com>
14303
14304 Test indented comment in file being sourced.
14305 * gdb.base/commands.exp: Test indented comment in file being sourced.
14306
abd775ce
JB
143072010-01-01 Joel Brobecker <brobecker@adacore.com>
14308
14309 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
14310 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
14311 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
14312 notice.
14313
79b55b82
JB
143142010-01-01 Joel Brobecker <brobecker@adacore.com>
14315
14316 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
14317 notice.
14318
8997583e
JK
143192010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14320
14321 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
14322 missing $after_stopped and comma (,) expectation.
14323
6da95a67
SS
143242009-12-31 Stan Shebs <stan@codesourcery.com>
14325
14326 * gdb.trace/actions.exp: Test teval action.
889bf7c5 14327
218d2fc6
TJB
143282009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14329
14330 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
14331 (top level): Call test_watchpoint_in_big_blob.
14332 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
14333 watchpoints.
14334 (func3): Write to buf.
14335
236f1d4d
SS
143362009-12-29 Stan Shebs <stan@codesourcery.com>
14337
14338 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 14339
f61e138d
SS
143402009-12-28 Stan Shebs <stan@codesourcery.com>
14341
14342 * gdb.trace/tsv.exp: New file.
14343 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 14344
0219b378
DJ
143452009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
14346
14347 * gdb.base/find.c (main): Reference search buffers.
14348 * gdb.base/included.c (main): Reference integer.
14349 * gdb.base/ptype.c (charfoo): Declare.
14350 (intfoo): Call charfoo.
14351 * gdb.base/scope0.c (useitp): New function.
14352 (usestatics): Use useitp.
14353 (useit): Add a type for val.
14354 * gdb.base/scope1.c (useit1): Take a pointer argument.
14355 (usestatics1): Update calls to useit1.
14356 * gdb.cp/call-c.cc: Declare foo.
14357 (main): Call foo.
14358 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
14359 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
14360 (main): Call C::ensureRefs and ensureOtherRefs.
14361 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
14362 variables.
14363 (ensureOtherRefs): New function.
14364 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
14365 * gdb.cp/templates.cc (main): Call t5i.value.
14366
3f78692f
JK
143672009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14368
14369 Fix compatibility with G++-4.5.
14370 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
14371 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
14372 (uncaught return): Remove.
14373
429374b8
JK
143742009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14375 Phil Muldoon <pmuldoon@redhat.com>
14376
14377 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
14378 (bp_location13, bp_location14, bp_location17, bp_location18)
14379 (marker3_proto, marker4_proto): New variables.
14380 (breakpoint info): Update output.
14381 (run until breakpoint at marker3, run until breakpoint at marker4): New
14382 tests.
14383
859825b8
JK
143842009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14385
14386 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
14387 Replace the printf call of Y by provided "y-set-1" label. New block
14388 for the second shared library.
14389 * gdb.base/unload.exp: Compile also the second library, call
14390 gdb_load_shlibs also for it. Use now gdb_breakpoint.
14391 (single pending breakpoint info): Rename to ...
14392 (pending breakpoint info before run): ... this extended test.
14393 (libfile2, libname2, libsrcfile2, libsrc2)
14394 (lib_sl2): New variables.
14395 (exec_opts): Set also SHLIB_NAME2.
14396 (pending breakpoint info on first run at shrfunc1)
14397 (pending breakpoint info on second run at shrfunc1)
14398 (pending breakpoint info on second run at shrfunc2)
14399 (print y from libfile, print y from libfile2): New tests.
14400 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
14401 * gdb.base/unloadshr2.c: New.
14402
e6a386cd
HZ
144032009-12-22 Hui Zhu <teawater@gmail.com>
14404
14405 * gdb.reverse/sigall-reverse.exp: Adjust.
14406
9e19b45e
VP
144072009-12-21 Vladimir Prus <vladimir@codesourcery.com>
14408
14409 PR gdb/10884
14410
14411 * gdb.mi/var-cmd.c (do_bitfield_tests): New
14412 (main): Call do_bitfield_tests.
aacf5b1e 14413 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 14414
d53a7b30
JB
144152009-12-20 Joel Brobecker <brobecker@adacore.com>
14416
14417 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
14418 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
14419 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
14420 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
14421 gdb.modula2/unbounded1.c: Update copyright header.
14422
191ca0a1
CM
144232009-12-10 Chris Moller <moller@mollerware.com>
14424
14425 PR gdb/9399
14426 * gdb.cp/virtfunc2.exp: New tests
14427 * gdb.cp/virtfunc2.cc: New tests
14428 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
14429
0fa6cf1b
MS
144302009-12-10 Oza Pawandeep (paawan1982@yahoo.com
14431
14432 * gdb.reverse/i387-env-reverse.c: New file.
14433 * gdb.reverse/i387-env-reverse.exp: New file.
14434 * gdb.reverse/i387-stack-reverse.c: New file.
14435 * gdb.reverse/i387-stack-reverse.exp: New file.
14436
361ae042
PM
144372009-12-08 Phil Muldoon <pmuldoon@redhat.com>
14438
14439 * gdb.python/py-type.exp (test_range): New test.
14440
bfd31e71
PM
144412009-12-03 Phil Muldoon <pmuldoon@redhat.com>
14442
14443 PR python/10805
14444
14445 * gdb.python/py-type.exp: New file.
14446 * gdb.python/py-type.c: New file.
14447 * Makefile.in: Add py-type.
14448
57a1d736
TT
144492009-12-03 Tom Tromey <tromey@redhat.com>
14450
14451 * gdb.python/py-value.exp (test_parse_and_eval): New
14452 function.
14453
1f3b5d1b
PP
144542009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14455
14456 PR gdb/11022
14457
14458 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
14459 * gdb.base/pr11022.c: New test.
14460
8b7dbdc9
JK
144612009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14462
14463 Fix spurious false FAILs.
14464 * gdb.base/structs.c (chartest): New.
14465 (main): Fill-in chartest.
14466 * gdb.base/structs.exp (anychar_re, first): New.
14467 (start_structs_test): Import global anychar_re and first.
14468 New gdb_test call "set print elements 300; ${testfile}"
14469 (start_structs_test <$first>): New block.
14470 (any): Import global anychar_re. New variable ac. Use ${ac}.
14471
6a53b2ec
JK
144722009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14473
14474 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
14475
d7167b4c
JK
144762009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14477
14478 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
14479 Force $srcfile file.
14480 * gdb.base/foll-fork.c (callee): Comment out the printf call.
14481
b1798462
UW
144822009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14483
14484 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
14485 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
14486 * gdb.threads/watchthreads-reorder.exp: Likewise.
14487
b6199126
DJ
144882009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
14489
14490 PR gdb/8704
14491
14492 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
14493 "if", and "thread". Correct matching in the previous test.
14494
b22a0510
DJ
144952009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
14496
14497 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
14498
930636d2
MS
144992009-11-23 Michael Snyder <msnyder@vmware.com>
14500
14501 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
14502 * gdb.reverse-watch-precsave.exp: Ditto.
14503
21a0512e
PP
145042009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
14505
14506 * gdb.asm/asm-source.exp: Adjust.
14507 * gdb.base/help.exp: Adjust.
889bf7c5 14508
fc30d5e0
PA
145092009-11-22 Pedro Alves <pedro@codesourcery.com>
14510
14511 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
14512 (do_syscall_tests_without_xml): Set data-directory to
14513 /the/path/to/nowhere.
14514
f6bc2008
PA
145152009-11-21 Pedro Alves <pedro@codesourcery.com>
14516
14517 * gdb.threads/local-watch-wrong-thread.c,
14518 gdb.threads/local-watch-wrong-thread.exp: New files.
14519
8c2fb5de
PA
145202009-11-21 Pedro Alves <pedro@codesourcery.com>
14521
14522 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
14523 assume new `regsub' syntax available.
14524
ebec9a0f
PA
145252009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14526
a79d3c27
JK
14527 * gdb.base/watchpoint-hw-hit-once.exp,
14528 gdb.base/watchpoint-hw-hit-once.c: New.
14529
145302009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14531
14532 * gdb.threads/watchthreads-reorder.exp,
14533 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 14534
276a961b
MK
145352009-11-17 Nathan Sidwell <nathan@codesourcery.com>
14536
14537 * gdb.xml/tdesc-regs.exp: Use for m68k.
14538
4867c1fb
PA
145392009-11-15 Pedro Alves <pedro@codesourcery.com>
14540
14541 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
14542
f6838f81
DJ
145432009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14544
14545 * lib/gdb.exp (current_target_name): New procedure.
14546 (gdb_wrapper_target): New variable.
14547 (gdb_wrapper_init): Set gdb_wrapper_target.
14548 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
14549 wrapper.
14550
4ac4dd3f
DJ
145512009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14552
14553 * gdb.base/remote.exp: Delete the slowest load test.
14554 Do not load with fixed packet sizes.
14555
a7881759
DJ
145562009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14557
14558 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
14559
97a5b505
DJ
145602009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14561
14562 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
14563 srcfile when setting a breakpoint.
14564
d3e1fc54
DJ
145652009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
14566
14567 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
14568 macros.
14569
7cbcbded
DJ
145702009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
14571
14572 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
14573 to be in memory.
14574 * gdb.base/display.c (force_mem): New.
14575 (do_loops): Use it. Add breakpoint comments.
14576 (do_vars): Add a breakpoint comment.
14577 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
14578 line numbers.
14579
bdea3a92
NF
145802009-11-13 Nathan Froyd <froydnj@codesourcery.com>
14581
14582 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
14583 instead of a bare "run".
14584
269f82e5
PP
145852009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14586
14587 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 14588
a69b7d9d
DJ
145892009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14590
14591 * lib/cell.exp (skip_cell_tests): Clean up test files before
14592 returning.
14593
b598bfda
DJ
145942009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14595
14596 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
14597 and the breakpoint menu. Do not call perror if a prompt is seen.
14598 Consume the following GDB prompt.
14599 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
14600 * gdb.cp/namespace.exp: Use gdb_test.
14601 * gdb.cp/templates.exp: Use gdb_test.
14602 (test_template_breakpoints): Use gdb_test_multiple.
14603
87728fa0
DJ
146042009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14605
14606 * gdb.base/break1.c (struct some_struct, values): Move earlier.
14607 (marker4): Reference values.
14608
b67c692f
DJ
146092009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14610
14611 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
14612 is missing.
14613
f0df251a
DJ
146142009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14615
14616 * gdb.base/break.c (need_malloc): New.
14617 * gdb.base/constvars.c (main): Reference crass and crisp.
14618 * gdb.base/gdb1821.c (main): Reference bar.
14619 * gdb.cp/gdb1355.cc (main): Reference s1.
14620 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
14621 (main): Call them.
14622 * gdb.cp/hang2.cc (dummy2): Define.
14623 * gdb.cp/hang3.cc (dummy3): Define.
14624 * gdb.cp/m-data.cc (main): Reference shadow.
14625
bdf7534a
NF
146262009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
14627 Nathan Froyd <froydnj@codesourcery.com>
14628
14629 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
14630 remote host.
14631
f24fce77
NF
146322009-11-12 Nathan Froyd <froydnj@codesourcery.com>
14633
14634 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
14635 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
14636 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14637 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14638 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14639 * gdb.dwarf2/dw2-producer.exp: Likewise.
14640 * gdb.dwarf2/mac-fileno.exp: Likewise.
14641 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
14642 py-prettyprint.py to the remote host.
14643 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
14644
40f0318e
KS
146452009-11-11 Keith Seitz <keiths@redhat.com>
14646
14647 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
14648 use it instead of "Foo".
14649 * gdb.cp/classes.exp (do_tests): Add a test to access
14650 a method through a typedef'd class name.
14651
f3d9f7fb
NF
146522009-11-11 Nathan Froyd <froydnj@codesourcery.com>
14653
14654 * gdb.base/long_long.exp: Permit leading zeros on floating-point
14655 exponents.
14656 * gdb.base/pointers.exp: Likewise.
14657 * gdb.cp/ref-types.exp: Likewise.
14658
a4216f37
KS
146592009-11-11 Keith Seitz <keiths@redhat.com>
14660
14661 * gdb.cp/cplusfuncs.cc (class foo): Add operators
14662 new[] and delete[].
14663 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
14664 "void".
14665 (probe_demangler): Remove all single-quoting of
14666 method and variable names.
14667 (info_func_regexp): Remove the word "void" from any
14668 occurrence of "(void)".
14669 (print_addr_2): Remove all single-quoting of
14670 method names.
14671 (print_addr_2_kfail): Likewise.
14672 (print_addr): Single-quote C function names before
14673 passing to print_addr_2.
14674 (test_paddr_operator_functions): Remove single-quoting
14675 for method names.
14676 Add tests for operator new[] and operator delete[].
14677
9b14d7aa
JK
146782009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14679
14680 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
14681
85feb311
KS
146822009-11-09 Keith Seitz <keiths@redhat.com>
14683
14684 * gdb.cp/overload.exp: Add tests for resolving overloaded
14685 methods in expression parsing/evaluation.
14686
fa335448
DJ
146872009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
14688
14689 * lib/gdb.exp (default_gdb_version): Use --version instead of
14690 --command.
14691
ec3c07fc
NS
146922009-11-10 Nathan Sidwell <nathan@codesourcery.com>
14693
14694 * lib/gdb.exp (gdb_compile_test): New.
14695 (skip_ada_tests, skip_java_tests): New.
14696 (gdb_compile): Use gdb_compile_test for f77.
14697 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
14698 * lib/java.exp (compile_java_from_source): Remove runtests check,
14699 use gdb_compile_test to record result.
14700 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
14701 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
14702 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
14703 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
14704 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
14705 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
14706 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
14707 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
14708 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
14709 adjust gdb_compile invocations.
14710
b8b4e42b
JK
147112009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14712
14713 * Makefile.in (abs_builddir): New.
14714 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
14715 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
14716 `$(abs_builddir)/site.exp'.
14717
f8b7eaf3
DJ
147182009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
14719
14720 * config/m68k-emc.exp, lib/emc-support.exp,
14721 gdb.trace/gdb_c_test.c: Delete.
14722 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
14723 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14724 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14725 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14726 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14727 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
14728 casing for m68k-*-elf.
14729
c4187697
NS
147302009-11-03 Pedro Alves <pedro@codesourcery.com>
14731
14732 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
14733 * gdb.arch/i386-prologue.exp: Likewise.
14734 * gdb.arch/i386-unwind.exp: Likewise.
14735
db16b772
DJ
147362009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14737
14738 * lib/gdb.exp (gdb_expect): Fix timeout typo.
14739
bcf71277
DJ
147402009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14741
14742 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
14743
0105cee2
DJ
147442009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
14745
14746 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
14747
24ddea62
JK
147482009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14749
14750 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
14751
287ccc17
JK
147522009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14753
14754 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
14755 * gdb.base/sepdebug2.c: New file.
14756
08bca259 147572009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
14758
14759 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
14760 the modified warnings for catch syscall. Verify if GDB was compiled
14761 with support for lib expat, and choose which tests to run depending
14762 on this.
14763
5d4e2b76
VP
147642009-10-30 Vladimir Prus <vladimir@codesourcery.com>
14765
14766 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
14767 that composite commands are parsed OK. And also test
14768 that breakpoint commands do work.
14769
240e538a
MS
147702009-10-23 Michael Snyder <msnyder@vmware.com>
14771
14772 gdb.reverse/consecutive-precsave.exp: Change expect pattern
14773 to allow for new disassembly style.
14774
9c419145
PP
147752009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14776
14777 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 14778
02506ff1
MS
147792009-10-22 Michael Snyder <msnyder@vmware.com>
14780
14781 * gdb.reverse/break-precsave.exp: New test.
14782 * gdb.reverse/consecutive-precsave.exp: Ditto.
14783 * gdb.reverse/finish-precsave.exp: Ditto.
14784 * gdb.reverse/i386-precsave.exp: Ditto.
14785 * gdb.reverse/machinestate-precsave.exp: Ditto.
14786 * gdb.reverse/sigall-precsave.exp: Ditto.
14787 * gdb.reverse/solilb-precsave.exp: Ditto.
14788 * gdb.reverse/step-precsave.exp: Ditto.
14789 * gdb.reverse/until-precsave.exp: Ditto.
14790 * gdb.reverse/watch-precsave.exp: Ditto.
14791
4cf866a3
MS
147922009-10-22 Michael Snyder <msnyder@vmware.com>
14793
14794 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
14795 for gdb_expect. Adjust one test's expect strings for the new
14796 format of disassemble.
14797 * gdb.reverse/finish-reverse.exp: Delete 'return'.
14798 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
14799 gdb_test_multiple.
14800 * gdb.reverse/step-reverse.exp: Delete 'return'.
14801 * gdb.reverse/until-reverse.exp: Delete blank lines.
14802 * gdb.reverse/watch-reverse.exp: Delete blank lines.
14803
2b28d209
PP
148042009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
14805
14806 * gdb.base/consecutive.exp: Adjust.
14807 * gdb.base/display.exp: Likewise.
14808 * gdb.base/pc-fp.exp: Likewise.
14809 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 14810
33b9c32b
MS
148112009-10-19 Michael Snyder <msnyder@vmware.com>
14812
14813 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
14814 * gdb.reverse/finish-reverse.c: Ditto.
14815 * gdb.reverse/sigall-reverse.c: Ditto.
14816 * gdb.reverse/solib-reverse.c: Ditto.
14817 * gdb.reverse/step-reverse.c: Ditto.
14818 * gdb.reverse/watch-reverse.c: Ditto.
14819
6c95b8df
PA
148202009-10-19 Pedro Alves <pedro@codesourcery.com>
14821 Stan Shebs <stan@codesourcery.com>
14822
14823 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
14824 * gdb.base/foll-exec.exp: Adjust to expect a process id before
14825 "Executing new program".
14826 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
14827 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
14828 left listed after having been killed.
14829 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
14830 * gdb.base/maint.exp: Adjust test.
14831
14832 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
14833 * gdb.multi/Makefile.in: New.
14834 * gdb.multi/base.exp: New.
14835 * gdb.multi/goodbye.c: New.
14836 * gdb.multi/hangout.c: New.
14837 * gdb.multi/hello.c: New.
14838 * gdb.multi/bkpt-multi-exec.c: New.
14839 * gdb.multi/bkpt-multi-exec.exp: New.
14840 * gdb.multi/crashme.c: New.
14841
279017b7
TG
148422009-10-13 Tristan Gingold <gingold@adacore.com>
14843
14844 * gdb.base/sepdebug.exp: Check debug info are found.
14845
0413d738
PA
148462009-10-08 Pedro Alves <pedro@codesourcery.com>
14847
14848 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
14849 bits.
14850
c628eecc
JK
148512009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14852
14853 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
14854
38af1bfe
JB
148552009-10-07 Joel Brobecker <brobecker@adacore.com>
14856
14857 * gdb.base/watchpoints.c: Add copyright header. Reformat one
14858 of the comments.
14859
2b0adecd
PM
148602009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
14861
14862 * gdb.base/annota1.exp: Remove obsolete match_max increase.
14863 * gdb.base/annota3.exp: Idem.
14864 * gdb.base/maint.exp: Idem.
14865
8d417781
PM
148662009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
14867
889bf7c5 14868 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
14869 to default.
14870
bb61102d
PM
148712009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14872
889bf7c5 14873 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
14874 mingw and cygwin targets.
14875
ace5c364
PM
148762009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
14877 Pedro Alves <pedro@codesourcery.com>
14878
889bf7c5 14879 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
14880 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
14881
c2d494a0
PM
148822009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14883
e1b52ce2
PM
14884 * gdb.base/shr1.c: Use %p in format string.
14885 * gdb.base/unload.c: Avoid warning in fprintf.
14886 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 14887
209f53f5
PM
148882009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
14889
14890 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
14891 long type.
14892 (test_unlink): Correct printf string.
14893 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
14894 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
14895
8172766a
JK
148962009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14897
14898 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
14899 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
14900 * gdb.arch/ia64-breakpoint-shadow.S: New file.
14901
0f73703c
UW
149022009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14903
14904 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
14905 * gdb.objc/nondebug.exp: Likewise.
14906
b32306ca
UW
149072009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14908
14909 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
14910 target_info setting.
14911
14912 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
14913 that detect new threads during "info threads".
14914
0057022f
UW
149152009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14916
14917 * gdb.threads/manythreads.c (main): Increase thread stack size
14918 to 2*PTHREAD_STACK_MIN.
14919 * gdb.threads/multi-create.c (main): Likewise.
14920 (create_function): Likewise.
14921
f29c0325
UW
149222009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14923
14924 * gdb.base/dump.exp: Pass difference of pointer types instead
14925 of integer types as offset to restore in intarr3.srec case.
14926
fcb34849
UW
149272009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14928
14929 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
14930
d5142e3b
UW
149312009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14932
14933 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
14934
087b74b2 149352009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 14936
087b74b2
PM
14937 New test for two watchpoints, with disabling of
14938 the first inserted.
14939 * testsuite/gdb.base/watchpoints.c: New file.
14940 * testsuite/gdb.base/watchpoints.exp: New file.
14941
96c07c5b
TT
149422009-09-25 Tom Tromey <tromey@redhat.com>
14943
14944 * gdb.base/charset.exp: Test utf-16 strings with Python.
14945
b8899f2b
TT
149462009-09-25 Tom Tromey <tromey@redhat.com>
14947
14948 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
14949 UCS-4.
14950 * gdb.base/charset.c (utf_32_string): Rename.
14951 (init_utf32): Rename.
14952 (main): Update.
14953
329719ec
TT
149542009-09-22 Tom Tromey <tromey@redhat.com>
14955
14956 * gdb.python/py-function.exp: Add regression tests.
14957
11ef0d76
KS
149582009-09-21 Keith Seitz <keiths@redhat.com>
14959
14960 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
14961 with invalid operator.
14962
3fe8f3b3
KS
149632009-09-21 Keith Seitz <keiths@redhat.com>
14964
14965 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
14966 and destructor using typedef name of class.
14967 * gdb.cp/classes.cc (class Base1): Add a destructor.
14968 (base1): New typedef.
14969 (use_methods): Instanitate an object of type base1.
14970 * gdb.cp/templates.exp (test_template_typedef): New procedure.
14971 (do_tests): Call test_template_typedef.
14972 * gdb.cp/templates.cc (Baz::~Baz): New method.
14973 (intBazOne): New typedef.
14974 (main): Instantiate intBazOne.
14975
7a9fe101
PM
149762009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14977
14978 PR python/10633
14979
14980 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
14981 Function.
14982 (run_lang_tests): Add print elements test.
14983
2e4d963f
PM
149842009-09-21 Phil Muldoon <pmuldoon@redhat.com>
14985
14986 * gdb.python/py-value.exp (test_subscript_regression): New
14987 function. Test for invalid subscripts.
14988 * gdb.python/py-value.c (main): Add test array, and pointer to it.
14989 (ptr_ref): New function.
14990
ec7e75e7
PP
149912009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14992
14993 * gdb.base/default.exp: Fix "show convenience".
14994
0cc7d26f
TT
149952009-09-15 Tom Tromey <tromey@redhat.com>
14996
14997 * lib/mi-support.exp (mi_create_varobj): Update.
14998 (mi_create_floating_varobj): Likewise.
14999 (mi_create_dynamic_varobj): New proc.
15000 (mi_varobj_update): Update.
15001 (mi_varobj_update_with_type_change): Likewise.
15002 (mi_varobj_update_kv_helper): New proc.
15003 (mi_varobj_update_dynamic_helper): Rewrite.
15004 (mi_varobj_update_dynamic): New proc.
15005 (mi_list_varobj_children): Update.
15006 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
15007 * gdb.python/python-prettyprint.py (pp_outer): New class.
15008 (pp_nullstr): Likewise.
15009 (lookup_function): Register new printers.
15010 * gdb.python/python-prettyprint.c (struct substruct): New type.
15011 (struct outerstruct): Likewise.
15012 (substruct_test): New function.
15013 (struct nullstr): New type.
15014 (string_1, string_2): New globals.
15015 (main): Add new tests.
15016 * gdb.python/python-mi.exp: Added regression tests.
15017 * gdb.mi/mi2-var-display.exp: Update.
15018 * gdb.mi/mi2-var-cmd.exp: Update.
15019 * gdb.mi/mi2-var-child.exp: Update.
15020 * gdb.mi/mi2-var-block.exp: Update.
15021 * gdb.mi/mi-var-invalidate.exp: Update.
15022 * gdb.mi/mi-var-display.exp: Update.
15023 * gdb.mi/mi-var-cmd.exp: Update.
15024 * gdb.mi/mi-var-child.exp: Update.
15025 * gdb.mi/mi-var-block.exp: Update.
15026 * gdb.mi/mi-break.exp: Update.
15027 * gdb.mi/gdb701.exp: Update.
15028
a96d9b2e
SDJ
150292009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
15030
15031 * Makefile.in: Inclusion of catch-syscall object.
15032 * gdb.base/catch-syscall.c: New file.
15033 * gdb.base/catch-syscall.exp: New file.
15034
b43b923a
MS
150352009-09-12 Michael Snyder <msnyder@vmware.com>
15036
15037 * gdb.reverse/step-reverse.exp: Explicitly check for targets
15038 that can support reverse debuggnig.
15039
cec03d70
TT
150402009-09-11 Tom Tromey <tromey@redhat.com>
15041
15042 * gdb.dwarf2/valop.S: New file.
15043 * gdb.dwarf2/valop.exp: New file.
15044
e23bb3fc
MK
150452009-09-11 Mark Kettenis <kettenis@gnu.org>
15046
15047 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
15048
37c3696d
DE
150492009-09-10 Doug Evans <dje@google.com>
15050
15051 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
15052 Add $gdb_prompt to second breakpoint regexp.
15053
5172aecb
JB
150542009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
15055
15056 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
15057 names, add missing ones.
15058 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
15059 * gdb.python/py-frame.c: Rename from python-frame.c.
15060 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
15061 testfile name.
15062 * gdb.python/py-function.exp: Rename from python-function.exp.
15063 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
15064 testfile name.
15065 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
15066 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
15067 Adjust testfile name.
15068 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
15069 * gdb.python/py-template.cc: Rename from python-template.cc.
15070 * gdb.python/py-template.exp: Rename from python-template.exp.
15071 Adjust testfile name.
15072 * gdb.python/py-value.c: Rename from python-value.c.
15073 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
15074 testfile name.
15075
b554e4bd
JK
150762009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15077
15078 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
15079 $bpt2address.
15080 (Second breakpoint address is valid on ia64)
15081 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
15082
9a68ae16
JM
150832009-09-03 Joseph Myers <joseph@codesourcery.com>
15084
15085 * gdb.base/ending-run.exp: Restrict regular expression matching
15086 line number to require closing brace following.
15087
146b9145
DE
150882009-09-03 Doug Evans <dje@google.com>
15089
15090 * gdb.base/store.exp (check_set): Fix typo in expected value message.
15091
787d21e1
TT
150922009-09-02 Tom Tromey <tromey@redhat.com>
15093
15094 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
15095
e7802207
TT
150962009-09-02 Tom Tromey <tromey@redhat.com>
15097
15098 * gdb.dwarf2/callframecfa.exp: New file.
15099 * gdb.dwarf2/callframecfa.S: New file.
15100
817aadd2
JK
151012009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15102
15103 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
15104 gdb.base/solib-overlap-main.c: New.
15105
4a76eae5
DJ
151062009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
15107
15108 PR gdb/10565
15109
15110 * gdb.base/bitfields.c (struct container, container): New.
15111 (main): Initialize it and call break5.
15112 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
15113
d4b96c9a
JK
151142009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15115
15116 Support constant DW_AT_data_member_location by GCC PR debug/40659.
15117 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
15118
4e22772d
JK
151192009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15120
15121 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
15122
2efab443
MS
151232009-08-26 Michael Snyder <msnyder@vmware.com>
15124
15125 * gdb.base/i386-reverse.c: New file.
15126 * gdb.base/i386-reverse.exp: New file.
15127 * gdb.base/Makefile.in: Add new files to be removed.
15128
07ab73a0
JM
151292009-08-26 Joseph Myers <joseph@codesourcery.com>
15130
15131 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
15132 environment-pwd for remote host.
15133 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
15134
676accff
KS
151352009-08-24 Keith Seitz <keiths@redhat.com>
15136
15137 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
15138 Add two new C++ completer tests which limit the output to a
889bf7c5 15139 given class.
676accff 15140
f9f7ad22
MS
151412009-08-24 Michael Snyder <msnyder@vmware.com>
15142
15143 * gdb.base/del.exp: Fix typo in comment.
15144 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
15145
81ecdfbb
RW
151462009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15147
15148 * configure: Regenerate.
15149 * gdb.hp/configure: Likewise.
15150 * gdb.hp/gdb.aCC/configure: Likewise.
15151 * gdb.hp/gdb.base-hp/configure: Likewise.
15152 * gdb.hp/gdb.compat/configure: Likewise.
15153 * gdb.hp/gdb.defects/configure: Likewise.
15154 * gdb.hp/gdb.objdbg/configure: Likewise.
15155 * gdb.stabs/configure: Likewise.
15156
cab0c772
UW
151572009-08-19 Doug Evans <dje@google.com>
15158
15159 * gdb.base/gdbvars.c: New file.
15160 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
15161
b8fa0bfa
PA
151622009-08-14 Pedro Alves <pedro@codesourcery.com>
15163
15164 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15165 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
15166
b84aa90a
PA
151672009-08-13 Pedro Alves <pedro@codesourcery.com>
15168
15169 * gdb.base/default.exp: Adjust "set language test": it's now an
15170 enum command. Larger help string moved to "help set language".
15171 * gdb.base/help.exp: Adjust "help set language" expected output,
15172 now lists all known languages.
15173
0d8f9b2c
NF
151742009-08-11 Nathan Froyd <froydnj@codesourcery.com>
15175
15176 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
15177 all frame arguments.
15178 * gdb.arch/altivec-regs.exp: Likewise.
15179
bda180e0
TT
151802009-08-07 Tom Tromey <tromey@redhat.com>
15181
15182 * gdb.base/setshow.exp: Add tests for changes to set language, set
15183 check range, and set check type.
15184
48cb2d85
VP
151852009-08-03 Vladimir Prus <vladimir@codesourcery.com>
15186
15187 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
15188 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 15189 Call it.
48cb2d85 15190
1ea34204
UW
151912009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15192
15193 * configure.ac: Run gdb.cell tests when appropriate.
15194 * configure: Regenerate.
15195 * lib/cell.exp: New file.
15196 * gdb.cell: New directory.
15197 * gdb.cell/configure.ac: New file.
15198 * gdb.cell/configure: New file.
15199 * gdb.cell/Makefile.in: New file.
15200 * gdb.cell/arch.exp: New file.
15201 * gdb.cell/break.c: New file.
15202 * gdb.cell/break.exp: New file.
15203 * gdb.cell/break-spu.c: New file.
15204 * gdb.cell/bt.c: New file.
15205 * gdb.cell/bt2-spu.c: New file.
15206 * gdb.cell/bt-spu.c: New file.
15207 * gdb.cell/bt.exp: New file.
15208 * gdb.cell/coremaker.c: New file.
15209 * gdb.cell/coremaker-spu.c: New file.
15210 * gdb.cell/core.exp: New file.
15211 * gdb.cell/gcore.exp: New file.
15212 * gdb.cell/data.c: New file.
15213 * gdb.cell/data.exp: New file.
15214 * gdb.cell/data-spu.c: New file.
15215 * gdb.cell/ea-cache.exp: New file.
15216 * gdb.cell/ea-cache.c: New file.
15217 * gdb.cell/ea-cache-spu.c: New file.
15218 * gdb.cell/ea-standalone.c: New file.
15219 * gdb.cell/ea-standalone.exp: New file.
15220 * gdb.cell/ea-test.c: New file.
15221 * gdb.cell/ea-test.exp: New file.
15222 * gdb.cell/f-regs.exp: New file.
15223 * gdb.cell/mem-access.c: New file.
15224 * gdb.cell/mem-access.exp: New file.
15225 * gdb.cell/mem-access-spu.c: New file.
15226 * gdb.cell/ptype.exp: New file.
15227 * gdb.cell/registers.exp: New file.
15228 * gdb.cell/size.c: New file.
15229 * gdb.cell/sizeof.exp: New file.
15230 * gdb.cell/size-spu.c: New file.
15231 * gdb.cell/solib.exp: New file.
15232 * gdb.cell/solib-symbol.exp: New file.
15233
85e747d2
UW
152342009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15235
15236 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
15237
58d6951d
DJ
152382009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
15239
15240 * gdb.base/float.exp: Handle VFP registers.
15241
6e0a4f15
MS
152422009-07-14 Michael Snyder <msnyder@vmware.com>
15243
dcd5da87
MS
15244 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
15245 to bring gdb to the beginning of the calling line.
15246
6e0a4f15
MS
15247 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
15248 confusing the i386 epilogue unwinder.
15249
782b2b07
SS
152502009-07-14 Stan Shebs <stan@codesourcery.com>
15251
15252 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
15253
f662c3bc
MS
152542009-07-14 Michael Snyder <msnyder@vmware.com>
15255
15256 * gdb.reverse/step-reverse.exp (stepi into function call):
15257 Call instruction may not be first instruction in the line.
15258 (reverse stepi from a function call): Used wrong line number.
15259
8f313923
JK
152602009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15261
15262 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
15263
4662c76e
JK
152642009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15265
15266 Fix gdb.base/macscp.exp when using custom inputrc.
15267 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
15268 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
15269 env(TERM) set.
15270 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
15271 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
15272
aa81e255
JK
152732009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15274
15275 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
15276 * gdb.base/annota1.exp (thread_test): Import global $testfile.
15277 Change the compilation target to match the testcase name.
15278 * gdb.base/sect-cmd.exp: Change the compilation target to match the
15279 testcase name.
15280 * a2-run.exp: Use for setup prepare_for_testing. Change the
15281 compilation target to match the testcase name.
15282 * gdb.base/commands.exp: Likewise.
15283 * gdb.base/finish.exp: Likewise.
15284 * gdb.base/float.exp: Likewise.
15285 * gdb.base/info-target.exp: Likewise.
15286 * gdb.base/relational.exp: Likewise.
15287 * gdb.base/term.exp: Likewise.
15288 * gdb.base/until.exp: Likewise.
15289 * gdb.base/volatile.exp: Likewise.
15290 * gdb.base/whatis-exp.exp: Likewise.
15291
4c93b1d7
HZ
152922009-07-11 Hui Zhu <teawater@gmail.com>
15293
15294 * gdb.base/help.exp (disassemble): Update expected help text.
15295
812f7342
TT
152962009-07-09 Tom Tromey <tromey@redhat.com>
15297
15298 * lib/gdb.exp: Handle TRANSCRIPT.
15299 (remote_spawn, remote_close, send_gdb): New procs.
15300
fbb8f299
PM
153012009-07-10 Phil Muldoon <pmuldoon@redhat.com>
15302
15303 * gdb.python/python-prettyprint.c: Add counted null string
15304 structure.
15305 * gdb.python/python-prettyprint.exp: Print null string. Test for
15306 embedded nulls.
15307 * gdb.python/python-prettyprint.py (pp_ns): New Function.
15308 * gdb.python/python-value.exp (test_value_in_inferior): Add
15309 variable length string fetch tests.
15310 * gdb.python/python-value.c (main): Add strings for string fetch tests.
15311
c0ac0ec7
JK
153122009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15313
15314 * gdb.base/dump.exp (inaccessible memory is reported): New test.
15315
30b66ecc
TT
153162009-07-07 Tom Tromey <tromey@redhat.com>
15317
15318 * gdb.base/call-rt-st.exp: Update for change to escape output.
15319 * gdb.base/callfuncs.exp: Likewise.
15320 * gdb.base/charset.exp: Likewise.
15321 * gdb.base/constvars.exp: Likewise.
15322 * gdb.base/long_long.exp: Likewise.
15323 * gdb.base/pointers.exp: Likewise.
15324 * gdb.base/printcmds.exp: Likewise.
15325 * gdb.base/setvar.exp: Likewise.
15326 * gdb.base/store.exp: Likewise.
15327 * gdb.cp/ref-types.exp: Likewise.
15328 * gdb.mi/mi-var-child.exp: Likewise.
15329 * gdb.mi/mi-var-display.exp: Likewise.
15330 * gdb.mi/mi2-var-display.exp: Likewise.
15331 * gdb.base/charset.exp: Test octal escape sequence length.
15332 Update for change to escape output.
15333
187c4a2b
JK
153342009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15335
15336 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
15337
d80a43f9
DJ
153382009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
15339
15340 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
15341
047427a8
JK
153422009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15343
15344 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
15345 gdbserver increasing $portnum if "Can't bind address" has been seen.
15346
8b5a0f4f
PA
153472009-07-05 Pedro Alves <pedro@codesourcery.com>
15348
15349 * gdb.base/ending-run.exp: Add "step out of main" pattern for
15350 mingw32ce.
15351
7d93ba58
PA
153522009-07-05 Pedro Alves <pedro@codesourcery.com>
15353
15354 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
15355 VFP format.
15356
2277426b
PA
153572009-07-02 Pedro Alves <pedro@codesourcery.com>
15358
15359 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
15360 linux. Adjust to use "inferior", "info inferiors", "detach
15361 inferior" and "kill inferior" instead of "restart", "info fork",
15362 "detach fork" and "delete fork".
15363 * gdb.base/ending-run.exp: Spell out "info".
15364 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
15365 the "kill" command.
15366
5af949e3
UW
153672009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15368
15369 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
15370 change to prefix TLS offset in hex with 0x.
15371
5d3729b5
UW
153722009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15373
15374 * gdb.base/default.exp: Update test case for "x" changes.
15375
af589bd0
TG
153762009-07-01 Tristan Gingold <gingold@adacore.com>
15377
15378 * gdb.base/bigcore.exp: Make darwin untested.
15379
40974f91
JK
153802009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15381
15382 * gdb.base/completion.exp (directory completion): Create the directory.
15383 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
15384 escapeuniquesub.
15385 (directory completion 2): Expect now ${escapeuniquesub}.
15386 (Glob remaining of directory test): Remove one excessive newline.
15387 Expect the real output.
15388
59dd3af6
JK
153892009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15390
15391 Fix `make check//%' target after `make check' has been ran.
15392 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
15393 a mkdir call.
15394 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
15395 (%/.dir): Remove.
15396
f4e164aa
JK
153972009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15398
15399 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
15400 the expected result record.
15401
69af2122
JK
154022009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15403
15404 Remove racy FAILs relying just on the timeouts.
15405 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
15406 (annotation_level 2): Remove racy FAILs.
15407
2fd481e1
PP
154082009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15409
15410 gdb/10275
889bf7c5
PA
15411 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
15412
c38f313d
DJ
154132009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
15414
15415 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
15416
8b777f02
VP
154172009-06-30 Vladimir Prus <vladimir@codesourcery.com>
15418
15419 * gdb.mi/mi-stack.exp: Testing symbolic options
15420 to -stack-list-locals and -stack-list-arguments.
15421
00c7eacf
JK
154222009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15423
15424 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
15425
6bc80edc
TT
154262009-06-29 Tom Tromey <tromey@redhat.com>
15427
15428 * dg-extract-results.sh: New file.
15429 * Makefile.in (FORCE_PARALLEL): New variable.
15430 (CHECK_TARGET): New conditional variable.
15431 (check): Use CHECK_TARGET.
15432 (DO_RUNTEST): New variable.
15433 (check-single): New target.
15434 (TEST_DIRS): New variable.
15435 (TEST_TARGETS): Likewise.
15436 (check-parallel): New target.
15437 (check-gdb.%): New pattern.
15438 (BASE1_FILES): New variable.
15439 (BASE2_FILES): Likewise.
15440 (check-gdb.base%): New pattern.
15441 (%/.dir): New pattern.
15442 * configure: Rebuild.
15443 * aclocal.m4 (AM_CONDITIONAL): New defun.
15444 * configure.ac: Check whether user is using GNU make.
15445 (GMAKE): New conditional.
15446
794684b6
SW
154472009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
15448
15449 * gdb.cp/namespace-nested-import.cc: New test.
15450 * gdb.cp/namespace-nested-import.exp: New test.
15451
edb3359d
DJ
154522009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
15453
15454 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
15455 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
15456 * gdb.opt/Makefile.in (EXECUTABLES): Update.
15457 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
15458 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
15459 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
15460 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
15461 gdb.opt/inline-markers.c: New files.
15462 * lib/gdb.exp (skip_inline_frame_tests): New function.
15463 (skip_inline_var_tests): New function.
15464
cf657a0c
AS
154652009-06-27 Andreas Schwab <schwab@linux-m68k.org>
15466
15467 * gdb.cp/exception.exp: Don't require $hex before inner frame in
15468 backtrace.
15469
28d41a99
MS
154702009-06-27 Michael Snyder <msnyder@vmware.com>
15471
15472 * gdb.reverse: New directory.
15473 * gdb.reverse/break-reverse.c: New test.
15474 * gdb.reverse/break-reverse.exp: New test.
15475 * gdb.reverse/consecutive-reverse.c: New test.
15476 * gdb.reverse/consecutive-reverse.exp: New test.
15477 * gdb.reverse/finish-reverse.c: New test.
15478 * gdb.reverse/finish-reverse.exp: New test.
15479 * gdb.reverse/machinestate.c: New test.
15480 * gdb.reverse/ms1.c: New test.
15481 * gdb.reverse/machinestate.exp: New test.
15482 * gdb.reverse/Makefile.in: New file.
15483 * gdb.reverse/shr2.c: New test.
15484 * gdb.reverse/solib-reverse.c: New test.
15485 * gdb.reverse/solib-reverse.exp: New test.
15486 * gdb.reverse/step-reverse.c: New test.
15487 * gdb.reverse/step-reverse.exp: New test.
15488 * gdb.reverse/until-reverse.c: New test.
15489 * gdb.reverse/ur1.c: New test.
15490 * gdb.reverse/until-reverse.exp: New test.
15491 * gdb.reverse/watch-reverse.c: New test.
15492 * gdb.reverse/watch-reverse.exp: New test.
15493 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
15494 * configure: Regenerate.
15495
fe3c8b0d
DE
154962009-06-26 Doug Evans <dje@google.com>
15497
15498 * gdb.base/psymtab.exp: Turn off pending breakpoints.
15499
3a72a602
PM
155002009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
15501
15502 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
15503 windows problem for 'file delete $binfile'.
15504
27aa8d6a
SW
155052009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
15506
15507 * gdb.cp/namespace-using.exp: New test.
15508 * gdb.cp/namespace-using.cc: New test.
15509
8ac055f8
JB
155102009-05-20 Joel Brobecker <brobecker@adacore.com>
15511
15512 * gdb.ada/variant_record_packed_array: New testcase.
15513
85e306ed
TT
155142009-06-23 Tom Tromey <tromey@redhat.com>
15515
15516 * gdb.base/charset.exp (test_combination): Regression test.
15517 * gdb.base/charset.c (my_wchar_t): New typedef.
15518 (myvar): New global.
15519 (main): Set myvar.
15520
56643c5e
PM
155212009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
15522
15523 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
15524 target.
15525
1fac167a
UW
155262009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15527
15528 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
15529
7ccb0be9
UW
155302009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15531
15532 * gdb.mi/gdb680.exp: Update test for error message.
15533
568d6575
UW
155342009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15535
15536 * gdb.base/annota1.exp: Allow multiple occurrences of the
15537 frames-invalid annotation.
15538 * gdb.cp/annota2.exp: Likewise.
15539
7cd1089b
PM
155402009-06-15 Phil Muldoon <pmuldoon@redhat.com>
15541
15542 * gdb.cp/gdb2495.cc: New file.
15543 * gdb.cp/gdb2495.exp: New file.
15544
72c63395
JK
155452009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15546
15547 Report error on GDB crash during runto.
15548 * lib/gdb.exp (runto <eof>): New.
15549
3788363d
DJ
155502009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
15551
15552 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
15553 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
15554 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
15555 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
15556 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
15557 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
15558 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
15559 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
15560 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
15561 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
15562 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
15563 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
15564 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
15565 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
15566 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
15567 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
15568 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
15569 gdb.server/server-mon.exp, gdb.server/server-run.exp,
15570 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15571 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15572 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
15573 gdb.trace/passcount.exp, gdb.trace/report.exp,
15574 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
15575 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
15576 gdb.trace/while-stepping.exp: Use a unique name for the compiled
15577 executable.
15578
17592de3
PA
155792009-06-07 Pedro Alves <pedro@codesourcery.com>
15580
15581 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
15582 defined before referencing it.
15583
701e355d
DE
155842009-06-03 Doug Evans <dje@google.com>
15585
15586 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
15587 * gdb.arch/i386-see.c: Ditto.
15588
f2292c65
PM
155892009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
15590
15591 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
15592 (check_macro): Return 1 if undefined.
15593 If first test fails, check if macro debug information is available,
15594 and report unsupported test if no macro information is found.
15595
5a437975
DE
155962009-05-29 Doug Evans <dje@google.com>
15597
15598 * gdb.threads/hand-call-in-threads.exp: New.
15599 * gdb.threads/hand-call-in-threads.c: New.
15600
c141c696
MS
156012009-05-29 Michael Snyder <msnyder@vmware.com>
15602
15603 * gdb.base/break-always.exp: Change "1" to "on".
15604 Add confirmation check.
15605
b3444185
PA
156062009-05-28 Pedro Alves <pedro@codesourcery.com>
15607
15608 * gdb.threads/threxit-hop-specific.c: New.
15609 * gdb.threads/threxit-hop-specific.exp: New.
15610 * gdb.threads/thread-execl.c: New.
15611 * gdb.threads/thread-execl.exp: New.
15612
b6313243
TT
156132009-05-27 Tom Tromey <tromey@redhat.com>
15614 Thiago Jung Bauermann <bauerman@br.ibm.com>
15615
15616 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
15617 (mi_child_regexp): Likewise.
15618 (mi_list_varobj_children_range): Likewise.
15619 (mi_get_features): Likewise.
15620 (mi_list_varobj_children): Rewrite.
15621 * gdb.python/python-mi.exp: New file.
15622
a6bac58e
TT
156232009-05-27 Tom Tromey <tromey@redhat.com>
15624 Thiago Jung Bauermann <bauerman@br.ibm.com>
15625 Phil Muldoon <pmuldoon@redhat.com>
15626 Paul Pluzhnikov <ppluzhnikov@google.com>
15627
15628 * gdb.python/python-prettyprint.exp: New file.
15629 * gdb.python/python-prettyprint.c: New file.
15630 * gdb.python/python-prettyprint.py: New file.
15631 * gdb.base/display.exp: print/r is now valid.
15632
2c74e833
TT
156332009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
15634 Tom Tromey <tromey@redhat.com>
15635 Pedro Alves <pedro@codesourcery.com>
15636 Paul Pluzhnikov <ppluzhnikov@google.com>
15637
15638 * gdb.python/python-template.exp: New file.
15639 * gdb.python/python-template.cc: New file.
15640 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15641 tests.
15642 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15643 Call it.
15644 (test_value_after_death): New proc.
15645 * gdb.python/python-value.c (PTR): New typedef.
15646 (main): New variable 'x'.
15647
89c73ade
TT
156482009-05-27 Tom Tromey <tromey@redhat.com>
15649
15650 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
15651 tests.
15652 * gdb.python/python-value.exp (py_objfile_tests): New proc.
15653 Call it.
15654
a75724bc
PA
156552009-05-27 Pedro Alves <pedro@codesourcery.com>
15656
15657 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
15658
e58b0e63
PA
156592009-05-24 Pedro Alves <pedro@codesourcery.com>
15660
15661 * gdb.threads/fork-thread-pending.c: New.
15662 * gdb.threads/fork-thread-pending.exp: New.
15663
4ac36638
JK
156642009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15665
15666 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
15667 * gdb.dwarf2/dw2-strp.S (a_string2): New.
15668
889bf7c5 156692009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 15670
889bf7c5 15671 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 15672
b242c3c2
PA
156732009-05-17 Pedro Alves <pedro@codesourcery.com>
15674
15675 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
15676 `gdb_get_line_number'. Call `callee' in both parent and child.
15677 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
15678 `gdb_get_line_number' instead of hardcoding line numbers.
15679 (catch_fork_unpatch_child): New procedure to test detaching
15680 breakpoints from child fork.
15681 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
15682 hardcoding line numbers.
15683 (do_fork_tests): Run `catch_fork_unpatch_child'.
15684
ee342b23
VP
156852009-05-17 Vladimir Prus <vladimir@codesourcery.com>
15686
15687 * gdb.mi/mi-cmd-var.exp: Check that when varobj
15688 of structure type enters or leaves the scope, it
15689 is reported by -var-update.
15690
e2009e98
DE
156912009-05-11 Doug Evans <dje@sebabeach.org>
15692
15693 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 15694 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
15695 * gdb.threads/schedlock.c (main): Fix off-by-one error.
15696
00903456
JK
156972009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15698
15699 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
15700
dc621c35
DE
157012009-04-30 Doug Evans <dje@google.com>
15702
15703 * gdb.threads/watchthreads2.exp: New testcase.
15704 * gdb.threads/watchthreads2.c: New testcase.
15705
9ab4e744
DE
157062009-04-29 Doug Evans <dje@google.com>
15707
15708 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
15709 * gdb.cp/mb-ctor.cc: Ditto.
15710 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
15711 * gdb.cp/mb-inline.h (multi_line_foo): New function.
15712 * gdb.cp/mb-inline1.cc: Call it.
15713 * gdb.cp/mb-inline2.cc: Ditto.
15714 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
15715 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
15716
484086b7
JK
157172009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15718
15719 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
15720 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
15721 Replace all uses of `decimal' by `nonzero'.
15722 (info macro FROM_COMMANDLINE): New test.
15723
379a77b5
TT
157242009-04-27 Tom Tromey <tromey@redhat.com>
15725
15726 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
15727
b92b73c2
DE
157282009-04-27 Doug Evans <dje@google.com>
15729
15730 * gdb.threads/watchthreads.c (main): Initialize args before starting
15731 the threads. Plus formatting cleanup.
15732 * gdb.threads/watchthreads.exp: Avoid errant failures due to
15733 biased scheduling of one thread.
15734
945a118d
JG
157352009-04-27 Jerome Guitton <guitton@adacore.com>
15736
15737 * gdb.cp/templates.cc (GetMax): New template.
15738 (main): Declare two instances of GetMax.
15739 * gdb.cp/templates.exp: Add new test.
15740
d389af10
JK
157412009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15742
15743 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
15744
e7f86de9
JM
157452009-04-22 Joseph Myers <joseph@codesourcery.com>
15746
15747 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
15748
334cc82d
TT
157492009-04-15 Tom Tromey <tromey@redhat.com>
15750
15751 * gdb.base/charset.exp: Add regression test.
15752
d12672cc
JB
157532009-04-14 Joel Brobecker <brobecker@adacore.com>
15754
15755 * gdb.base/exe-lock.exp: New testcase.
15756
18e8c3bc
TT
157572009-04-13 Tom Tromey <tromey@redhat.com>
15758
15759 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
15760 operator on Frame.
15761
5ecd5cbe
UW
157622009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15763
15764 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
15765 * gdb.server/ext-attach.exp: Likewise.
15766
7309f756
VP
157672009-04-03 Vladimir Prus <vladimir@codesourcery.com>
15768
15769 Eliminate some sleep usage.
15770
889bf7c5
PA
15771 * gdb.mi/basics.c (do_nothing): New.
15772 (main): Use do_nothing instead of printf, so that
15773 not to introduce race condition between output of
15774 inferiour and output of gdb. Do not use sleep as it
15775 is not generally available on embedded targets.
7309f756 15776
f4b95f6f
PA
157772009-04-02 Pedro Alves <pedro@codesourcery.com>
15778
15779 * gdb.server/ext-attach.exp: Expect an optional process id after
15780 "Detached from remote process".
15781
de40b933
JK
157822009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15783
15784 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
15785 gdb.dwarf2/dw2-unresolved.exp: New.
15786
2ae101a4
PA
157872009-04-02 Pedro Alves <pedro@codesourcery.com>
15788
15789 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
15790 mi_run_to_main.
15791
56a8e183
PA
157922009-04-02 Pedro Alves <pedro@codesourcery.com>
15793
15794 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
15795 mi_run_to_main. Skip thread exit test on remote targets.
15796 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
15797 mi_run_to_main.
15798 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
15799 mi_run_to_main.
15800 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
15801 when expecting ^connected. Detect when the target doesn't support
15802 non-stop mode.
15803 (mi_run_cmd): Detect if non-stop mode was requested by isn't
15804 supported. Return -1 on error, 0 on success.
15805 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
15806 (mi_runto): Return mi_runto_helper's result explicitly.
15807
c35fafde
PA
158082009-04-01 Pedro Alves <pedro@codesourcery.com>
15809
15810 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
15811
f8a8dce6
JB
158122009-04-01 Tom Tromey <tromey@redhat.com>
15813
15814 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
15815 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
15816 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
15817 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
15818
71c25dea
TT
158192009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
15820 Jan Kratochvil <jan.kratochvil@redhat.com>
15821
15822 PR gdb/931
15823 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
15824 output.
15825 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
15826 for gdb/931.
15827 * dw2-strp.S (DW_AT_language): Change to C++.
15828 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
15829
02d9a9ce
JB
158302009-03-31 Joel Brobecker <brobecker@adacore.com>
15831
15832 * gdb.ada/tasks: New testcase.
15833
1042e4c0
SS
158342009-03-30 Stan Shebs <stan@codesourcery.com>
15835
15836 * gdb.trace/actions.exp: Update to match new info trace format.
15837 * gdb.trace/deltrace.exp: Ditto.
15838 * gdb.trace/infotrace.exp: Ditto.
15839 * gdb.trace/passcount.exp: Ditto.
15840 * gdb.trace/save-trace.exp: Ditto.
15841 * gdb.trace/while-stepping.exp: Ditto.
15842 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
15843
f8f6f20b
TJB
158442009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15845
15846 * gdb.python/python-frame.c: New file.
15847 * gdb.python/python-frame.exp: New file.
15848
c0c6f777
TJB
158492009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
15850
15851 * gdb.python/python-value.exp: Add tests for the address
15852 attribute.
15853
3cb51905
AS
158542009-03-29 Andreas Schwab <schwab@linux-m68k.org>
15855
15856 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
15857
88fc996f
DE
158582009-03-26 Doug Evans <dje@google.com>
15859
15860 * gdb.mi/mi-nonstop-exit.exp: New file.
15861 * gdb.mi/non-stop-exit.c: New file.
15862
56ef84b1
TT
158632009-03-26 Tom Tromey <tromey@redhat.com>
15864
15865 Update for change to prologue skipping:
15866 * gdb.mi/mi2-simplerun.exp: Update.
15867 * gdb.mi/mi2-break.exp: Update.
15868 * gdb.mi/mi-simplerun.exp: Update.
15869 * gdb.mi/mi-break.exp: Update.
15870 * gdb.base/ending-run.exp: Update.
15871
def2b000
TJB
158722009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
15873
15874 * gdb.python/python-value.exp (test_value_in_inferior): Test
15875 gdb.Value.is_optimized_out attribute.
15876
442ddf59
JK
158772009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15878
15879 * gdb.dwarf2/dw2-noloc-main.c: New file.
15880 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
15881 (.text): Remove.
15882 (.data): New.
15883 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
15884 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
15885 (DW_TAG_subprogram func_cu1, noloc): Remove.
15886 (main): New.
15887 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
15888 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
15889 (file_symbols): New procedure.
15890
a8df5de4
TT
158912009-03-25 Tom Tromey <tromey@redhat.com>
15892
15893 * gdb.base/charset.exp (valid_target_charset): New proc.
15894 Use it to skip tests on invalid charsets.
15895
cc1d7add
PM
158962009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
15897
15898 * gdb.base/completion.exp: Add a test for directory completion.
15899
bcd5727b
JK
159002009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15901
15902 Fix a racy FAIL.
15903 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
15904 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
15905
cc924cad
TJB
159062009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
15907
15908 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
15909 * gdb.python/python-function.exp: Add test for function returning
15910 a GDB value.
15911
bc3b79fd
TJB
159122009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
15913
15914 * gdb.python/python-function.exp: New file.
15915
6c7a06a3
TT
159162009-03-20 Tom Tromey <tromey@redhat.com>
15917
15918 * gdb.base/store.exp: Update for change to escape output.
15919 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
15920 to escape output.
15921 * gdb.base/pointers.exp: Update for change to escape output.
15922 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
15923 to escape output.
15924 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
15925 escape output.
15926 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
15927 to escape output.
15928 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
15929 escape output.
15930 * gdb.base/setvar.exp: Update for change to escape output.
15931 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
15932 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
15933 to escape output.
15934 (test_print_string_constants): Likewise.
15935 * gdb.base/charset.exp (valid_host_charset): Check size of
15936 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
15937 cases. Handle "auto"-related output.
15938 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
15939 (uvar, Uvar): New globals.
15940
c31af87b
JG
159412009-03-19 Jerome Guitton <guitton@adacore.com>
15942
15943 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
15944 deltas.
15945 * gdb.ada/fixed_points.exp: Ditto.
15946
51272cf2
PA
159472009-03-18 Pedro Alves <pedro@codesourcery.com>
15948
15949 * return-nodebug.c: Don't include stdio.h.
15950 (init): Delete.
15951 (func): Delete definition and provide extern declaration.
15952 (t): New.
15953 (main): Don't call printf. Call func and store its result in t.
15954 * return-nodebug1.c: New.
15955 * return-nodebug.exp: Don't expect stdio output. Instead, print
15956 the global variable t. Drop printf formatters and cast types from
15957 foreach loop. Don't use prepare_for_testing. Compile
15958 return-nodebug.c and return-nodebug1.c in separate steps. Don't
15959 define FORMAT or CAST.
15960
d24948ac
PP
159612009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15962
15963 * gdb.base/solib-display.exp: Disable test for remote targers.
15964
61ff14c6
JK
159652009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15966
15967 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
15968
cb4dce93
JK
159692009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15970
15971 Fix a racy FAIL.
15972 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
15973 code from `follow parent, print pids'.
15974 (`follow child, print pids', `follow parent, print pids'): Call it.
15975 Replace `gdb_test "break..."' by gdb_breakpoint.
15976
f7c60c5e
VP
159772009-03-13 Vladimir Prus <vladimir@codesourcery.com>
15978
15979 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 15980 sync and async modes.
f7c60c5e 15981
383ace49
JB
159822009-03-12 Joel Brobecker <brobecker@adacore.com>
15983
15984 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
15985 that was checked in by mistake. Remove loading of ada.exp, since
15986 this is not necessary in this case.
15987
4ce102af
JB
159882009-03-12 Joel Brobecker <brobecker@adacore.com>
15989
15990 * gdb.ada/ptype_arith_binop.exp: New testcase.
15991
529a2aef
JB
159922009-03-12 Joel Brobecker <brobecker@adacore.com>
15993
15994 * gdb.ada/mod_from_name: New testcase.
15995
8a38181c
JB
159962009-03-12 Joel Brobecker <brobecker@adacore.com>
15997
15998 * gdb.ada/tick_last_segv: New testcase.
15999
11436dee
VP
160002009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16001
61ff14c6 16002 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 16003
1f31650a
VP
160042009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16005
61ff14c6
JK
16006 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
16007 include the token in ^running and frame info in *stopped.
1f31650a 16008
a3247a22
PP
160092009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16010
16011 * solib-display.exp: New file.
16012 * solib-display-main.c: New file.
16013 * solib-display-lib.c: New file.
61ff14c6 16014
aae64587
PA
160152009-03-05 Pedro Alves <pedro@codesourcery.com>
16016
16017 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
16018
44aabfbc
JK
160192009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16020
16021 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
16022 (list_and_check_macro): Use more specific test name.
16023 (next to definition): Make the test names unique.
16024
c087fcd3
PM
160252009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
16026
16027 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 16028
c86cf029
VP
160292009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16030
16031 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
16032 notifications.
16033 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
16034 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
16035 * lib/mi-support.exp (library_loaded_re): New.
16036 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
16037
3ea85240
VP
160382009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16039
16040 * gdb.gdb/observer.exp: Use test_notification observer, not
16041 normal_stop, everywhere.
16042 (test_normal_stop_notifications): Rename to...
16043 (test_notifications): ...this.
16044 (test_observer_normal_stop): Rename to...
16045 (test_observer): ...this.
16046
1903f0e6
DE
160472009-02-16 Doug Evans <dje@google.com>
16048
16049 * gdb.arch/amd64-disp-step.S (test_int3): New test.
16050 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
16051 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
16052 (test_prefixed_syscall,test_int3): New tests.
16053 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
16054 (test_prefixed_syscall,test_int3): New tests.
16055
1d33d6ba
VP
160562009-02-14 Vladimir Prus <vladimir@codesourcery.com>
16057
3cb51905
AS
16058 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
16059 (mi_expect_interrupt): Likewise.
16060 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
16061 response.
1d33d6ba 16062
faafb047
PM
160632009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16064
16065 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
16066 * gdb.base/pc-fp.exp (get_valueofx): Remove.
16067 Replace calls to get_valueofx by get_hexadecimal_valueof.
16068
417e16e2
PM
160692009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16070
16071 * lib/gdb.exp (get_valueof): Accept anything as a return value.
16072 (get_integer_valueof): New procedure.
16073 (get_sizeof): Use new get_integer_value_of.
16074 * gdb.base/sizeof.exp: Replace all uses of get_valueof
16075 by get_integer_valueof.
16076
7065b901
TT
160772009-02-13 Tom Tromey <tromey@redhat.com>
16078
16079 * gdb.base/remote.exp (get_sizeof): Remove.
16080 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
16081 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
16082 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
16083 * lib/gdb.exp (get_valueof): Move from long_long.exp.
16084 (get_sizeof): Likewise.
16085
5d7cb8df
JK
160862009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16087
16088 PR fortran/9806
16089 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
16090
b2febfff
PP
160912009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16092
16093 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
16094
4aa995e1
PA
160952009-02-06 Pedro Alves <pedro@codesourcery.com>
16096
16097 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
16098
d8906c6f
TJB
160992009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16100
16101 * gdb.python/python-cmd.exp: New file.
16102
ff4ab08d
TG
161032009-02-06 Tristan Gingold <gingold@adacore.com>
16104
16105 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
16106
aacd552b
TG
161072009-02-05 Tristan Gingold <gingold@adacore.com>
16108
16109 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
16110 pointer is dereferenced and use this signal name in regexp.
16111 * gdb.base/signull.exp: Ditto.
16112 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
16113 * gdb.base/signull.c (main): Ditto.
16114
08c637de
TJB
161152009-02-04 Tom Tromey <tromey@redhat.com>
16116 Thiago Jung Bauermann <bauerman@br.ibm.com>
16117
16118 * gdb.python/python-value.exp: Use `gdb.history' instead of
16119 `gdb.value_from_history'.
16120 (test_value_numeric_ops): Add test for conversion of enum constant.
16121 * gdb.python/python-value.c (enum e): New type.
16122 (evalue): New global.
16123 (main): Use argv.
16124
20261af8
JG
161252009-02-04 Jerome Guitton <guitton@adacore.com>
16126
16127 * gdb.ada/uninitialized_vars: New test program.
16128 * gdb.ada/uninitialized_vars.exp: New testcase.
16129
52e44b43
TT
161302009-02-02 Tom Tromey <tromey@redhat.com>
16131
16132 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
16133 * gdb.cp/pr2489.cc: Rename...
16134 * gdb.cp/pr9594.cc: ... to this.
16135
1c71341a
TT
161362009-02-02 Tom Tromey <tromey@redhat.com>
16137
16138 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
16139 * gdb.cp/pr2489.cc: New file.
16140 * gdb.cp/cpcompletion.exp: New file.
16141
a4295225
TT
161422009-02-02 Tom Tromey <tromey@redhat.com>
16143
16144 PR exp/9059:
16145 * gdb.cp/call-c.exp: Add regression test.
16146 * gdb.cp/call-c.cc (FooHandle): New typedef.
16147 (main): New variable 'handle'.
16148
592375cd
VP
161492009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16150
16151 * lib/mi-support.exp (et_mi_thread_list)
16152 (check_mi_and_console_threads): Adjust for current thread in
16153 -thread-list-ids output.
16154
41447f92
VP
161552009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16156
889bf7c5
PA
16157 * gdb.mi/mi-break.exp (test_disabled_creation): New.
16158 Call it.
41447f92 16159
35669430
DE
161602009-01-28 Doug Evans <dje@google.com>
16161
16162 * gdb.arch/amd64-disp-step.S: New file.
16163 * gdb.arch/amd64-disp-step.exp: New file.
16164 * gdb.arch/i386-disp-step.S: New file.
16165 * gdb.arch/i386-disp-step.exp: New file.
16166
09f00d9a
PM
161672009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
16168
16169 * gdb.base/find.exp: Set newline variable
16170 using quotes instead of braces to fix cygwin failures.
16171
1e8fb976
PA
161722009-01-23 Pedro Alves <pedro@codesourcery.com>
16173
16174 * gdb.base/radix.exp: Add tests to ensure that that set
16175 input-radix 0 and set output-radix 0 are really rejected.
16176
da061712
PA
161772009-01-23 Pedro Alves <pedro@codesourcery.com>
16178
16179 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
16180 copyright years.
16181
dd7e2d2b
PA
161822009-01-23 Pedro Alves <pedro@codesourcery.com>
16183
16184 PR gdb/9664:
16185 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
16186
392452f6
PA
161872009-01-22 Pedro Alves <pedro@codesourcery.com>
16188
16189 PR c++/9631:
16190 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
16191
8653e71c
PM
161922009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
16193
16194 * gdb.server/file-transfer.exp: Use EXEEXT variable for
16195 binfile definition to fix Windows OS failure.
16196
a12cc160
DJ
161972009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16198
16199 PR gdb/9346
16200 * gdb.base/interrupt.c (sigint_handler): New.
16201 (main): Install a SIGINT handler if SIGNALS is defined. Exit
16202 on error.
16203 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
16204 Test "signal SIGINT".
16205
b89667eb
DE
162062009-01-19 Doug Evans <dje@google.com>
16207
16208 * gdb.base/break.exp: Update expected gdb output.
16209 * gdb.base/sepdebug.exp: Ditto.
16210 * gdb.mi/mi-syn-frame.exp: Ditto.
16211 * gdb.mi/mi2-syn-frame.exp: Ditto.
16212 * gdb.base/call-signal-resume.exp: New file.
16213 * gdb.base/call-signals.c: New file.
16214 * gdb.base/unwindonsignal.exp: New file.
16215 * gdb.base/unwindonsignal.c: New file.
16216 * gdb.threads/interrupted-hand-call.exp: New file.
16217 * gdb.threads/interrupted-hand-call.c: New file.
16218 * gdb.threads/thread-unwindonsignal.exp: New file.
16219
adb483fe
DJ
162202009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
16221
16222 * gdb.base/define.exp: Test defining and hooking prefix commands.
16223 * gdb.python/python.exp: Update test for "show user" output.
16224
60023297
JK
162252009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16226
16227 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
16228 now the output exactly, using less wildcards. Expect also the output
16229 of gfortran-4.3. Update for the f-valprint.c modification from
16230 2008-04-22.
16231 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
16232 Remove gdb_test test names where matching the command.
16233
ccc57cf9
PA
162342009-01-01 Pedro Alves <pedro@codesourcery.com>
16235
16236 PR breakpoints/9681:
16237 * gdb.base/watchpoint.exp: Add regression test.
16238
c7a6ca08
PA
162392008-12-31 Pedro Alves <pedro@codesourcery.com>
16240
16241 * gdb.threads/attach-into-signal.exp: Don't use
16242 gdb_suppress_entire_file.
16243 * gdb.threads/attach-stopped.exp: Ditto.
16244 * gdb.threads/attachstop-mt.exp: Ditto.
16245
3a031f65
PA
162462008-12-31 Pedro Alves <pedro@codesourcery.com>
16247
16248 PR gdb/8812:
16249 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
16250
09e6485f
PA
162512008-12-29 Pedro Alves <pedro@codesourcery.com>
16252
16253 PR gdb/7536:
16254 * gdb.base/radix.exp: Add tests to ensure invalid input radices
16255 and unsupported output radices are really rejected.
16256
0cd53049
JK
162572008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16258
16259 * gdb.cp/punctuator.exp: Backslash the '$' signs.
16260
ba163c7e
TT
162612008-12-22 Tom Tromey <tromey@redhat.com>
16262
16263 * gdb.cp/punctuator.exp: New file.
16264
6f4de6c9
JK
162652008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16266
16267 * gdb.base/completion.exp (Completing non-existing component): New test.
16268
0f34d0b4
JK
162692008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16270
16271 Fix for PR gdb/8648.
16272 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
16273 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
16274 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
16275 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
16276
db2ad4c3
JK
162772008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16278
16279 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
16280
bb5ef15e
DP
162812008-12-16 Christophe Lyon <christophe.lyon@st.com>
16282
16283 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
16284 compiler actually generate code at the expected line number.
16285
90142adc
JZ
162862008-12-15 Jie Zhang <jie.zhang@analog.com>
16287
16288 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
16289
fad6eecd
TT
162902008-12-12 Tom Tromey <tromey@redhat.com>
16291
16292 * gdb.base/commands.exp (redefine_hook_test): New proc.
16293 Call it.
16294
17c8aaf5
TT
162952008-12-11 Tom Tromey <tromey@redhat.com>
16296
16297 * gdb.base/macscp.exp: New regression test.
16298
7c8adf68
TT
162992008-12-11 Tom Tromey <tromey@redhat.com>
16300
16301 * gdb.base/macscp.exp: Print "address.addr".
16302 * gdb.base/macscp1.c (struct outer): New struct.
16303 (address): New global.
16304
b05dcbb7
TT
163052008-12-09 Tom Tromey <tromey@redhat.com>
16306
16307 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
16308 Call it.
16309
2d476de1
DE
163102008-12-04 Doug Evans <dje@google.com>
16311
16312 * gdb.server/ext-run.exp: Relax regexp for init program.
16313
87bdc959
TG
163142008-12-03 Tristan Gingold <gingold@adacore.com>
16315
16316 * gdb.base/macscp.exp: Generate an object file during compilation
16317 to work around Darwin dsymutil limitations.
16318
e0740f77
JK
163192008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16320
16321 Test resolving external references to TLS variables.
16322 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
16323 FILE2_THREAD_LOCAL.
16324 (testfile2, srcfile2): New variables.
16325 * gdb.threads/tls.c (file2_thread_local)
16326 (function_referencing_file2_thread_local): New.
16327 * gdb.threads/tls2.c: New file.
16328
67f0aac5
JB
163292008-11-28 Joel Brobecker <brobecker@adacore.com>
16330
16331 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
16332 rather than integer, as integer might not be big enough when
16333 on 64bit targets.
67f0aac5 16334
c332165e
JG
163352008-11-27 Jerome Guitton <guitton@adacore.com>
16336
16337 * gdb.cp/formatted-ref.exp: Add equality test.
16338 * gdb.ada/formatted_ref.exp: Ditto.
16339
fc9b693c
JK
163402008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16341
16342 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
16343 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
16344
a9c64011
AS
163452008-11-20 Andreas Schwab <schwab@suse.de>
16346
16347 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
16348 matching syscall entry point.
16349 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16350 (tcatch_vfork_then_child_follow): Likewise. Finish through
16351 vfork even if we stopped at the syscall trampoline.
16352
e2fd701e
DE
163532008-11-20 Doug Evans <dje@google.com>
16354
16355 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
16356
69abc51c
TJB
163572008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
16358
16359 * gdb.arch/ppc-dfp.exp: New file.
16360 * gdb.arch/ppc-dfp.c: New file.
16361
c14c28ba
PP
163622008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16363
16364 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 16365
2e74121d
DE
163662008-11-17 Doug Evans <dje@google.com>
16367
16368 * gdb.mi/mi-syn-frame.exp: Update expected output.
16369 * gdb.mi/mi2-syn-frame.exp: Update expected output.
16370
66bb093b
VP
163712008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16372
16373 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
16374 "thread N" results in =thread-selected.
16375 * lib/mi-support (mi_run_cmd, mi_expect_stop)
16376 (mi_send_resuming_command_raw): Be prepared for
16377 =thread-selected.
16378
3d043ef6
VP
163792008-11-17 Vladimir Prus <vladimir@codesourcery.com>
16380
a9c64011
AS
16381 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
16382 * lib/mi-support.exp: Likewise.
3d043ef6 16383
808104c8
JB
163842008-11-16 Joel Brobecker <brobecker@adacore.com>
16385
16386 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
16387 commands from the expected output for "help catch".
16388
00b22944
JB
163892008-11-15 Joel Brobecker <brobecker@adacore.com>
16390
16391 * gdb.ada/int_deref.exp: New testcase.
16392
59669435
TT
163932008-11-14 Nick Roberts <nickrob@snap.net.nz>
16394
16395 * gdb.mi/gdb2549.exp: New file.
16396
de04a248
DE
163972008-11-11 Doug Evans <dje@google.com>
16398
16399 * gdb.base/callexit.exp: New file.
16400 * gdb.base/callexit.c: New file.
16401
6b8ce727
DE
164022008-11-10 Doug Evans <dje@google.com>
16403
16404 * lib/gdb.exp (GDBFLAGS): Move -nx ...
16405 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
16406 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
16407 (default_gdb_start,default_gdb_exit): Ditto.
16408 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
16409 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
16410 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
16411 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
16412 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
16413 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
16414
1b14b8aa
AS
164152008-11-03 Andreas Schwab <schwab@suse.de>
16416
16417 * gdb.base/hashline2.exp: Fix typo.
16418 * gdb.base/hashline3.exp: Likewise.
16419
f3134b88
TT
164202008-10-30 Tom Tromey <tromey@redhat.com>
16421
16422 * gdb.base/pointers.exp: Add test.
16423 * gdb.base/pointers.c (k, S): New typedefs.
16424 (instance): New global.
16425
c2226152
AS
164262008-10-30 Andreas Schwab <schwab@suse.de>
16427
16428 * gdb.base/args.exp: Add tests for newlines.
16429
462f405c
JB
164302008-10-30 Joel Brobecker <brobecker@adacore.com>
16431
16432 gdb.base/foll-exec.exp: Update the expected output of a couple
16433 of "info breakpoints" tests.
16434
79a45b7d
TT
164352008-10-28 Tom Tromey <tromey@redhat.com>
16436
16437 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
16438
adc13a14
PA
164392008-10-24 Pedro Alves <pedro@codesourcery.com>
16440
16441 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
16442 gdb_start_cmd.
16443 Use runto_main before any test that requires execution.
16444
252fbfc8
PA
164452008-10-23 Pedro Alves <pedro@codesourcery.com>
16446
16447 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
16448 instead of SIGINT.
16449
28148e3d
JB
164502008-10-22 Joel Brobecker <brobecker@adacore.com>
16451
16452 * gdb.base/completion.exp: Update expected output following
16453 the addition of the "info tasks" command.
16454
c209f847
TT
164552008-10-22 Tom Tromey <tromey@redhat.com>
16456
16457 * gdb.base/exprs.exp (test_expr): Add test for string
16458 concatenation.
16459
f177e350
PA
164602008-10-19 Pedro Alves <pedro@codesourcery.com>
16461
16462 * configure.ac: Output gdb.python/Makefile.
16463 * configure: Regenerate.
16464 * gdb.python/Makefile.in: New.
16465
cce89356
JB
164662008-10-16 Joel Brobecker <brobecker@adacore.com>
16467
16468 * gdb.base/foll-fork.exp: Adjust the expected output to match
16469 the new description for fork/vfork catchpoints in the "info
16470 breakpoints" output.
16471
176d289d
TJB
164722008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16473
16474 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
16475
a08702d6
TJB
164762008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16477
16478 * gdb.python/python-value.c: New file.
16479 * gdb.python/python-value.exp: New file.
16480
1c5cfe86
PA
164812008-10-15 Pedro Alves <pedro@codesourcery.com>
16482
16483 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
16484
5a98ad69
DP
164852008-10-15 Denis Pilat <denis.pilat@st.com>
16486
41702f1b 16487 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 16488
dcb1a1e2
TT
164892008-10-09 Tom Tromey <tromey@redhat.com>
16490
16491 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
16492 'fprintf' and 'stderr'.
16493
9124fe48
JB
164942008-10-07 Joel Brobecker <brobecker@adacore.com>
16495
16496 * gdb.ada/ref_tick_size.exp: New testcase.
16497
45452591
DE
164982008-10-06 Doug Evans <dje@google.com>
16499
16500 * gdb.dwarf2/dw2-cu-size.exp: New file.
16501 * gdb.dwarf2/dw2-cu-size.S: New file.
16502
16503 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
16504 .Ltype_int for clarity.
16505
4fc5b208
PP
165062008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
16507
16508 PR gdb/2384:
16509 * gdb.cp/gdb2384.exp: Extended to test more cases.
16510 * gdb.cp/gdb2384.cc: Likewise.
16511 * gdb.cp/gdb2384-base.h: Likewise.
16512 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 16513
d78df370
JK
165142008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16515
16516 * gdb.base/maint.exp (maint print type): Remove printing
16517 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
16518
9a044a89
TT
165192008-09-30 Tom Tromey <tromey@redhat.com>
16520
16521 * gdb.base/macscp.exp: Add completion tests.
16522 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
16523 (TWENTY_THREE): Likewise.
16524 (FORTY_EIGHT): Likewise.
16525
506800a9
TT
165262008-09-30 Tom Tromey <tromey@redhat.com>
16527
16528 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
16529 everywhere.
16530 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
16531
1a6f01b5
JK
165322008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
16533
16534 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
16535 testcase is derived from. Fix racy dependency on an expected PID
16536 number. No longer support the testcase on Linux kernel 2.4.x.
16537
2fae03e8
TT
165382008-09-27 Tom Tromey <tromey@redhat.com>
16539
16540 * gdb.base/macscp.exp: Add tests for stringification, splicing,
16541 and varargs.
16542
1ad15515
PA
165432008-09-22 Pedro Alves <pedro@codesourcery.com>
16544
16545 * lib/mi-support.exp (mi_expect_interrupt): New.
16546 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
16547 from gdb.mi/mi-nonstop.exp.
16548 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
16549 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
16550 lib/mi-support.exp.
16551 Use mi_check_thread_states throughout. Avoid ".*" and do not
16552 require an anchor after -exec-run.
16553
d0b76dc6
DJ
165542008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
16555
16556 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
16557 stop is pending. Avoid ".*" when two stops are pending.
16558 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
16559 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
16560 newlines in fullnames.
16561 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
16562 (mi_expect_stop): Update comments. Only anchor in sync mode.
16563 Do not match newlines.
16564 (mi_send_resuming_command_raw): Always return status.
16565 (mi_get_stop_line): Do not match more than one line by accident.
16566 Only anchor in sync mode.
16567 (mi_run_inline_test): If -exec-next fails, give up.
16568
9990c830
UW
165692008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16570
16571 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
16572 on SPU.
16573
ebcf6f00
JB
165742008-09-10 Joel Brobecker <brobecker@adacore.com>
16575
16576 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
16577
b6db24e5
JB
165782008-09-10 Joel Brobecker <brobecker@adacore.com>
16579
16580 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
16581 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
16582 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
16583 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
16584 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
16585 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
16586 gdb.ada/interface.exp, gdb.ada/null_array.exp,
16587 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
16588 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
16589 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
16590 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
16591 Include the "= " sequence in the expected output of print tests.
16592
2bf448e0
JB
165932008-09-10 Joel Brobecker <brobecker@adacore.com>
16594
16595 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
16596 description for boolean types.
16597
d51fd4c8
PA
165982008-09-09 Pedro Alves <pedro@codesourcery.com>
16599
16600 * gdb.base/hook-stop-continue.c: New.
16601 * gdb.base/hook-stop-continue.exp: New.
16602
694182d2
DJ
166032008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
16604
16605 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
16606
3b8a7fc0
JG
166072008-09-08 Jerome Guitton <guitton@adacore.com>
16608
16609 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
16610 (stack_check_probe_2, stack_check_probe_loop_1)
16611 (stack_check_probe_loop_2): New functions.
16612 (main): Add call to these new functions.
16613 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
16614 functions, check that the breakpoint is inserted at the appropriate
16615 location.
16616 (insert_breakpoint): Slightly refine this procedure so that it can
16617 be called several times in the test.
16618
96cc0ae8
JG
166192008-09-08 Jerome Guitton <guitton@adacore.com>
16620
16621 * gdb.base/stack-checking.c: New file.
16622 * gdb.base/stack-checking.exp: New file.
16623
1f08b409
TJB
166242008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16625
16626 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
16627 * gdb.arch/altivec-regs.exp: Likewise.
16628 * gdb.arch/vsx-regs.exp: Likewise.
16629
3099e1c4
TJB
166302008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
16631
16632 * gdb.arch/ppc-fp.exp: New file.
16633 * gdb.arch/ppc-fp.c: New file.
16634
cc69bfc1
PP
166352008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16636
16637 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
16638 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 16639
b02a33db
MS
166402008-09-04 Michael Snyder <msnyder@vmware.com>
16641
16642 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
16643 as "at" (for non-debug functions such as _start).
16644
2992cbe0
UW
166452008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16646
16647 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
16648 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
16649 software watchpoints.
16650 * gdb.base/watch_thread_num.exp: Likewise.
16651
514f746b
AR
166522008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
16653
16654 * gdb.arch/i386-bp_permanent.exp: New test.
16655
876cecd0
TT
166562008-08-24 Tom Tromey <tromey@redhat.com>
16657
16658 * gdb.base/maint.exp: Update "maint print type".
16659
80f73d71
VP
166602008-08-21 Vladimir Prus <vladimir@codesourcery.com>
16661
16662 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
16663 support. Adjust the order of "*running" notifications.
16664 * gdb.mi/non-stop.c: Don't cast from int to void* and
16665 back.
16666
d9c78d7d
MK
166672008-08-20 Mark Kettenis <kettenis@gnu.org>
16668
16669 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
16670 expect to find it in the "info frame" output.
16671
97a2d1d3
DJ
166722008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
16673
16674 * gdb.base/interp.exp: Always consume both prompts.
16675
b96e2927
PA
166762008-08-20 Pedro Alves <pedro@codesourcery.com>
16677
16678 * gdb.base/pending.exp: Test pending breakpoints without symbols
16679 loaded.
16680
8cf6e61a
VP
166812008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16682
16683 * lib/mi-support.exp (mi_expect_stop): Produce
16684 more details on failures.
16685 * gdb.mi/mi-nonstop.exp: New.
16686 * gdb.mi/non-stop.c: New.
16687
c6ebd6cf
VP
166882008-08-19 Vladimir Prus <vladimir@codesourcery.com>
16689
a9c64011
AS
16690 * gdb.mi/mi-async.exp: Use 'set target-async'.
16691 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 16692
46a9b8ed
DJ
166932008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
16694
16695 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
16696
44feb3ce
TT
166972008-08-17 Tom Tromey <tromey@redhat.com>
16698
16699 * gdb.base/help.exp (help catch): Rewrite.
16700
311a4e6b
TJB
167012008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
16702
16703 * gdb.base/define.exp: Test indented command documentation.
16704 * gdb.python/python.exp: Test indented multi-line command.
16705
604c2f83
LM
167062008-08-15 Luis Machado <luisgpm@br.ibm.com>
16707
16708 * testsuite/gdb.arch/vsx-regs.c: New source file.
16709 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
16710 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
16711
886a217c
TT
167122008-08-14 Tom Tromey <tromey@redhat.com>
16713
16714 * gdb.base/macscp.exp: Add regression test for "macro define" or
16715 "macro undef" with no arguments.
16716
c814a4f3
PP
167172008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16718
16719 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 16720
12ab8a60
UW
167212008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16722
16723 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
16724
d57a3c85
TJB
167252008-08-06 Tom Tromey <tromey@redhat.com>
16726
16727 * gdb.python/python.exp: New file.
16728
c7b778ff
JK
167292008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16730
16731 Fix for PR gdb/1543.
16732 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
16733 $LOCATION.
16734 (location): New variable.
16735 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
16736 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
16737 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
16738 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
16739 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
16740 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
16741 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
16742 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
16743 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
16744 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
16745 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
16746 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
16747 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
16748 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
16749 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16750 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
16751 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
16752 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
16753 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
16754 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16755 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
16756 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
16757 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
16758 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
16759 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
16760 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
16761 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
16762 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
16763 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
16764 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
16765 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
16766 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
16767 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
16768 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
16769 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
16770 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
16771 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
16772 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16773 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
16774 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
16775 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
16776 gdb.base/type-opaque.exp, gdb.base/until.exp,
16777 gdb.base/value-double-free.c, gdb.base/varargs.exp,
16778 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
16779 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
16780 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
16781 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
16782 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
16783 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
16784 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
16785 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
16786 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
16787 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
16788 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
16789 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
16790 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
16791 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
16792 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
16793 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16794 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
16795 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
16796 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
16797 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16798 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
16799 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
16800 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
16801 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16802 gdb.pascal/types.exp, gdb.stabs/weird.exp,
16803 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
16804 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
16805 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
16806 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
16807 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
16808 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
16809 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16810 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
16811 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16812 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
16813 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16814 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16815 lib/mi-support.exp, lib/trace-support.exp: Remove reference
16816 to bug-gdb@prep.ai.mit.edu .
16817
5e06a3d1
VP
168182008-07-31 Vladimir Prus <vladimir@codesourcery.com>
16819
16820 * lib/mi-support.exp (mi_load_shlibs): New.
16821 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
16822
9d81d21b
VP
168232008-07-30 Vladimir Prus <vladimir@codesourcery.com>
16824
16825 * lib/mi-support.exp (get_mi_thread_list)
16826 (check_mi_and_console_threads): New, moved from ...
16827 * gdb.mi/mi-pthread.exp: ...here.
16828 * gdb.mi/gdb669.exp (get_mi_thread_list)
16829 (check_mi_and_console_threads): Delete.
16830 * gdb.mi/mi2-pthread.exp: Likewise.
16831
bae98fe0
TT
168322008-07-28 Tom Tromey <tromey@redhat.com>
16833
16834 * Makefile.in (just-check): Remove. Move body to...
16835 (check): ... here.
16836
57380f4e
DJ
168372008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16838
16839 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
16840 Add a test for duplicated SIGINTs.
16841
e09490f1
DJ
168422008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16843
16844 * gdb.threads/schedlock.exp (get_args): Update to work for any
16845 value of NUM.
16846 (Top level): Report the number of threads that did not resume.
16847
6387b45f
DJ
168482008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16849
16850 * gdb.dwarf2/dw2-compressed.S: Also define __start.
16851
62f64ff2
DJ
168522008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16853
16854 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
16855 non-MI prompt.
16856
fa8de41e
TT
168572008-07-26 Tom Tromey <tromey@redhat.com>
16858
16859 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
16860 (function_struct, function_struct_ptr): New globals.
16861 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
16862 function pointer in a struct.
16863
ccb3ac8a
TT
168642008-07-26 Tom Tromey <tromey@redhat.com>
16865
16866 * gdb.base/macscp.exp: Add test for macro lexing bug.
16867
d7d9f01e
TT
168682008-07-18 Tom Tromey <tromey@redhat.com>
16869
16870 * gdb.base/macscp.exp: Add macro tests.
16871
9bf07184
PP
168722008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16873
16874 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
16875
becf6477
PP
168762008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16877
16878 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
16879
0709f7d3
PP
168802008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
16881
16882 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 16883
7093c834
PP
168842008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
16885
16886 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 16887
b432ffe3
JK
168882008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16889
16890 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
16891
b1a268e5
VP
168922008-07-12 Vladimir Prus <vladimir@codesourcery.com>
16893
16894 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
16895
e2995f8e
KB
168962008-07-11 Kevin Buettner <kevinb@redhat.com>
16897
16898 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
16899 of regexp to account for changes made to GDB in the printing of
16900 byte vectors.
16901
14032a66
TT
169022008-07-11 Tom Tromey <tromey@redhat.com>
16903
16904 * gdb.base/completion.exp: Add 'help' completion test.
16905
981505ef
JK
169062008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16907
16908 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
16909
10568435
JK
169102008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16911
16912 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
16913
4487aabf
PA
169142008-07-09 Pedro Alves <pedro@codesourcery.com>
16915
16916 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
16917
a4a9b1c4
PA
169182008-07-09 Pedro Alves <pedro@codesourcery.com>
16919
16920 * gdb.base/fullname.exp: Restore pwd if compiling failed.
16921
3c3185ac
JK
169222008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16923
16924 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
16925
7ebd49dc
VP
169262008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16927
16928 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
16929 previous commit. Add a comment.
16930
84e46146
PA
169312008-06-28 Pedro Alves <pedro@codesourcery.com>
16932
16933 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
16934
0f8d4a2f
VP
169352008-06-28 Vladimir Prus <vladimir@codesourcery.com>
16936
16937 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
16938
f747e0ce
PA
169392008-06-27 Pedro Alves <pedro@codesourcery.com>
16940
16941 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
16942 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
16943 compiling an executable, link in an object that forces unbuffered
16944 output.
16945 * lib/set_unbuffered_mode.c: New file.
16946
734a5c36
JK
169472008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16948
16949 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
16950
a2840c35
VP
169512008-06-25 Vladimir Prus <vladimir@codesourcery.com>
16952
a9c64011
AS
16953 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
16954 mi_expect_stop.
16955 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
16956 Demand that *running is output.
16957 (detect_async): Perform checking every time.
16958 (mi_send_resuming_command): Extract everything into...
16959 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
16960 (mi_expect_stop): Don't accept any output before *stopped.
16961
6ae37fef
VP
169622008-06-13 Vladimir Prus <vladimir@codesourcery.com>
16963
16964 Robustify mi-simplerun.
a9c64011
AS
16965 * gdb.mi/basics.c (main): Add a call to sleep.
16966 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
16967 * gdb.mi/mi2-cli.exp: Likewise.
16968 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 16969
b4aa76f0 169702008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
16971
16972 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
16973
e1ac3328
VP
169742008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16975
a9c64011
AS
16976 * gdb.mi/mi-console.exp: Adjust.
16977 * gdb.mi/mi-syn-frame.exp: Adjust.
16978 * gdb.mi/mi2-console.exp: Adjust.
16979 * gdb.mi/mi2-syn-frame.exp: Adjust.
16980 * lib/mi-support.exp (mi_run_cmd): Adjust.
16981 (mi_send_resuming_command): Adjust.
e1ac3328 16982
f7f9a841
VP
169832008-06-10 Vladimir Prus <vladimir@codesourcery.com>
16984
16985 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
16986 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
16987 testing of stopped.
16988 * gdb.mi/mi2-syn-frame.exp: Likewise.
16989 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
16990 (async, detect_async): New.
16991 (mi_expect_stop, mi_continue_to_line): Adjust expectation
16992 depending on if we're running in sync or async mode.
f7f9a841 16993
37cd5d19
TT
169942008-06-09 Tom Tromey <tromey@redhat.com>
16995
16996 * gdb.base/completion.exp: New tests for field name completion
16997 with spaces, and field name completion with '->'.
16998
65d12d83
TT
169992008-06-06 Tom Tromey <tromey@redhat.com>
17000
17001 * gdb.base/break1.c (struct some_struct): New struct.
17002 (values): New global.
17003 * gdb.base/completion.exp: Add field name completion test.
17004
ebfe2e3f
PP
170052008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17006
17007 * gdb.cp/call-c.exp: Test for incorrect handling of reference
17008 to pointer.
17009 * gdb.cp/call-c.cc: Likewise.
17010
bcf6fc3a
NR
170112008-06-06 Nick Roberts <nickrob@snap.net.nz>
17012
17013 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
17014 annotation.
17015
49fd4a42 170162008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 17017 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
17018
17019 * gdb.threads/execl.c, gdb.threads/execl1.c,
17020 gdb.threads/execl.exp: New tests.
a9c64011 17021
8a34ac3f
AR
170222008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
17023 Daniel Jacobowitz <dan@codesourcery.com>
17024
17025 * gdb.cp/exception.exp: Activate test, make it work with pending
17026 catchpoints.
17027
86ae69ef
JK
170282008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
17029
17030 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
17031
f7f9ae2c
VP
170322008-05-28 Vladimir Prus <vladimir@codesourcery.com>
17033
a9c64011
AS
17034 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
17035 now printed.
17036 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 17037
2a2d4dc3
AS
170382008-05-27 Andreas Schwab <schwab@suse.de>
17039
17040 * gdb.base/frame-args.exp: Handle arguments that are optimized
17041 out.
17042
5099e4d9
LM
170432008-05-26 Luis Machado <luisgpm@br.ibm.com>
17044
17045 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
17046 quiet for ppc32 and group options into a single variable.
17047
d9c36a91
JB
170482008-05-23 Joel Brobecker <brobecker@adacore.com>
17049
17050 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
17051 of zero-size elements.
17052 * gdb.ada/null_array.exp: Test printing this new array.
17053
103a8671
JK
170542008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17055
17056 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
17057
07a4cc1a 170582008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
17059
17060 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
17061 of the "finish" command.
17062
55f996a7
NR
170632008-05-21 Nick Roberts <nickrob@snap.net.nz>
17064
17065 * gdb.base/annota1.exp: Test for new annotation.
17066
907fc202
UW
170672008-05-16 Pedro Alves <pedro@codesourcery.com>
17068
17069 * gdb.base/fixsection.exp: New file.
17070 * gdb.base/fixsection0.c: New file.
17071 * gdb.base/fixsection1.c: New file.
17072
e8f97270
UW
170732008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17074
17075 * gdb.base/annota1.exp: Accept printf@... in place of printf.
17076 * gdb.base/annota3.exp: Likewise.
17077
ac0bb574
NF
170782008-05-13 Nathan Froyd <froydnj@codesourcery.com>
17079
17080 * gdb.base/watch_thread_num.exp: Don't run tests that require
17081 watchpoints if the target doesn't support them.
17082
6fadd07a
DE
170832008-05-12 Doug Evans <dje@google.com>
17084
17085 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
17086
6e9a4a30
JB
170872008-05-09 Joel Brobecker <brobecker@adacore.com>
17088
17089 * gdb.ada/assign_1.exp: New testcase.
17090
08388c79
DE
170912008-05-09 Doug Evans <dje@google.com>
17092
a3c83fae
DE
17093 * gdb.base/find.exp: New file.
17094 * gdb.base/find.c: New file.
08388c79 17095
bd5ddfe8
DJ
170962008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
17097
17098 * gdb.base/commands.exp (watchpoint_command_test): Handle
17099 gdb,no_hardware_watchpoints.
17100 * gdb.base/float.exp: Allow ARM targets without floating point.
17101 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
17102
b5dd68e2 171032008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 17104 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
17105
17106 * gdb.ada/lang_switch: New test program.
17107 * gdb.ada/lang_switch.exp: New testcase.
17108
382d13d1
DE
171092008-05-05 Doug Evans <dje@google.com>
17110
17111 * gdb.base/help.exp (disassemble): Update expected help text.
17112
9dd789d0
PA
171132008-05-04 Pedro Alves <pedro@codesourcery.com>
17114
17115 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
17116
611c83ae
PA
171172008-05-04 Pedro Alves <pedro@codesourcery.com>
17118
17119 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
17120 different times.
17121
ff013f42
JK
171222008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17123
17124 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
17125 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
17126 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
17127 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
17128
96dff6a2
VP
171292008-05-04 Vladimir Prus <vladimir@codesourcery.com>
17130
17131 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
17132 notification to appear.
17133
55cd6f92
DJ
171342008-05-04 Daniel Jacobowitz <dan@debian.org>
17135
17136 * gdb.base/fullname.c: New file.
17137 * gdb.base/fullname.exp: New file.
17138 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
17139
d705c43c
PA
171402008-05-03 Pedro Alves <pedro@codesourcery.com>
17141
17142 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
17143 expressions with macros.
17144
333222e1
JK
171452008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17146
17147 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
17148
5ac01682
DJ
171492008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
17150
17151 * gdb.base/completion.exp: Handle lack of other symbols beginning
17152 with "a".
17153
17154 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
17155
237fc4c9
PA
171562008-05-02 Jim Blandy <jimb@codesourcery.com>
17157
17158 * gdb.asm/asmsrc1.s: Add scratch space.
17159
ed5e9466
DJ
171602008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17161 Daniel Jacobowitz <dan@codesourcery.com>
17162
17163 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
17164 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
17165 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
17166
b39cc962
DJ
171672007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
17168
17169 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
17170
36d520f5
JB
171712008-05-01 Joel Brobecker <brobecker@adacore.com>
17172
17173 * gdb.base/info-target.exp: New testcase.
17174
8d4e3071
DJ
171752008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17176
17177 * gdb.cp/hang.exp: Use .cc instead of .C.
17178 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
17179 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
17180
6f3f3097
DJ
171812008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17182
17183 * gdb.base/gdb1250.exp: Remove perror.
17184 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
17185
5550a914
PA
171862008-04-30 Pedro Alves <pedro@codesourcery.com>
17187
17188 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
17189 .2byte.
17190
d848e687
DJ
171912008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
17192
17193 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
17194 (maybe_kfail): New.
17195
93b5768b
PA
171962008-04-25 Pedro Alves <pedro@codesourcery.com>
17197
17198 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
17199
721c02de
VP
172002008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17201
a9c64011
AS
17202 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
17203 * gdb.mi/mi2-syn-frame.exp: Likewise.
17204 * lib/mi-support.exp: Likewise.
721c02de 17205
74960c60
VP
172062008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17207
17208 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
17209 to specify regexp for the location to stop at.
17210 * gdb.base/break-always.c: New.
17211 * gdb.base/break-always.exp: New.
17212
d24317b4
VP
172132008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17214
17215 * lib/mi-support.exp (mi_runto_helper): Adjust
17216 for the original-location field.
17217 (mi_create_breakpoint, mi_list_breakpoints): New.
17218 * gdb.mi/mi-break.exp: Adjust.
17219 * gdb.mi/mi2-break.exp: Adjust.
17220 * gdb.mi/mi-pending.exp: Adjust.
17221 * gdb.mi/mi-simplerun.exp: Adjust.
17222 * gdb.mi/mi2-simplerun.exp: Adjust.
17223 * gdb.mi/mi-syn-frame.exp: Adjust.
17224 * gdb.mi/mi2-syn-frame.exp: Adjust.
17225 * gdb.mi/mi-until.exp: Adjust.
17226 * gdb.mi/mi2-until.exp: Adjust.
17227 * gdb.mi/mi-var-display.exp: Adjust.
17228 * gdb.mi/mi2-var-display.exp: Adjust.
17229 * gdb.mi/mi-watch.exp: Adjust.
17230 * gdb.mi/mi2-watch.exp: Adjust.
17231
fdc59709 172322008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 17233
a9c64011
AS
17234 * aclocal.m4: Add override.m4.
17235 * configure: Regenerate.
fdc59709 17236
8e91f023
VP
172372008-04-19 Vladimir Prus <vladimir@codesourcery.com>
17238
17239 * gdb.mi/var-cmd.c (do_at_tests): Verify that
17240 '-var-update --all-values' reports new value even the type
17241 of a variable object has changed.
17242
233a11ab
CS
172432008-04-18 Craig Silverstein <csilvers@google.com>
17244
17245 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
17246 files.
d24317b4 17247
9c1137ad
JB
172482008-04-18 Joel Brobecker <brobecker@adacore.com>
17249
17250 * gdb.ada/atomic_enum: New test program.
17251 * gdb.ada/atomic_enum.exp: New testcase.
17252
66d0bbc7
DE
172532008-04-17 Doug Evans <dje@google.com>
17254
17255 * gdb.opt/Makefile.in: Fix whitespace.
17256
100906b0
UW
172572008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
17258
17259 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
17260
4584e32e
DE
172612008-04-17 Doug Evans <dje@google.com>
17262
17263 * gdb.base/hashline1.exp: New testcase.
17264 * gdb.base/hashline2.exp: New testcase.
17265 * gdb.base/hashline2.exp: New testcase.
17266
0a320680
PA
172672008-04-17 Pedro Alves <pedro@codesourcery.com>
17268
17269 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
17270
18ac113b
AR
172712008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
17272
17273 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
17274 temporary breakpoint to match "Temporary breakpoint".
17275 * gdb.base/break.exp (delete_breakpoints): Likewise.
17276 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
17277 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
17278 * gdb.base/display.exp: Likewise.
17279 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
17280 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
17281 * gdb.base/restore.exp (restore_tests): Likewise.
17282 * gdb.base/sepdebug.exp: Likewise.
17283 * gdb.base/watchpoint.exp: Likewise.
17284 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
17285 * gdb.mi/mi-pending.exp: Likewise.
17286 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
17287 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
17288 * gdb.mi/mi-var-cmd.exp: Likewise.
17289 * gdb.mi/mi-var-display.exp: Likewise.
17290 * gdb.mi/mi2-cli.exp: Likewise.
17291 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
17292 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
17293 * gdb.mi/mi2-var-display.exp: Likewise.
17294 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
17295 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
17296 new "disp" field.
a9c64011 17297 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
17298 reason. This is to support fix for PR2424.
17299
add38693
JK
173002008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17301
17302 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
17303
fcacd99f
VP
173042008-04-13 Vladimir Prus <vladimir@codesourcery.com>
17305
17306 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 17307 field. Add more floating varobj tests.
fcacd99f 17308 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
17309 field.
17310 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
17311 (main): Call do_at_tests.
17312 * lib/mi-support.exp (mi_create_floating_varobj)
17313 (mi_varobj_update_with_type_change): New.
fcacd99f 17314
de051565
MK
173152008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
17316
17317 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
17318 option of -var-evaluate-expression.
17319 * gdb.mi/mi2-var-display.exp: Likewise.
17320
dbc52822
VP
173212008-04-07 Vladimir Prus <vladimir@codesourcery.com>
17322
17323 Introduce test setup helpers.
a9c64011
AS
17324 * lib/gdb.exp (build_executable, clean_restart)
17325 (prepare_for_testing): New.
17326 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
17327 * gdb.base/return.exp: Likewise.
17328 * gdb.base/ending-run.exp: Likewise.
dbc52822 17329
473591da
NR
173302008-04-07 Nick Roberts <nickrob@snap.net.nz>
17331
17332 * gdb.mi/mi-async.exp: New test for asynchronous Machine
17333 Interface (MI) responses.
17334
2b2d9e11
VP
173352008-04-06 Vladimir Prus <vladimir@codesourcery.com>
17336
a9c64011
AS
17337 * gdb.cp/breakpoint.cc: New code to test conditions involving
17338 member variables.
17339 * gdb.cp/breakpoint.exp: Test condition involving member
17340 variables.
2b2d9e11 17341
bb378428
VP
173422008-04-05 Vladimir Prus <vladimir@codesourcery.com>
17343
17344 * lib/mi-support.exp (mi_expect_stop): New.
17345 (mi_run_cmd): Change the
17346 token. Use mi_send_resuming_command, use
17347 mi_expect_stop.
17348 (mi_execute_to_helper): Rename to mi_execute_to.
17349 (mi_send_resuming_command): Add more error patterns.
17350 (mi_wait_for_stop): Renamed to...
17351 (mi_get_stop_line): ...this.
17352 (mi_run_inline_test): Adjust.
17353
17354 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
17355 * gdb.mi/mi-console.exp: Likewise.
17356 * gdb.mi/mi-pending.exp: Likewise.
17357 * gdb.mi/mi-simplerun.exp: Likewise.
17358 * gdb.mi/mi-stack.exp: Likewise.
17359 * gdb.mi/mi-stepi.exp: Likewise.
17360 * gdb.mi/mi-syn-frame.exp: Add comment.
17361 * gdb.mi/mi-until.exp: Likewise.
17362 * gdb.mi/mi-var-display.exp: Likewise.
17363 * gdb.mi/mi-watch.exp: Likewise.
17364 * gdb.mi/mi2-cli.exp: Likewise.
17365 * gdb.mi/mi2-console.exp: Likewise.
17366 * gdb.mi/mi2-simplerun.exp: Likewise.
17367 * gdb.mi/mi2-stack.exp: Likewise.
17368 * gdb.mi/mi2-stepi.exp: Likewise.
17369 * gdb.mi/mi2-until.exp: Likewise.
17370 * gdb.mi/mi2-var-display.exp: Likewise.
17371 * gdb.mi/mi2-watch.exp: Likewise.
17372
62172bb9
UW
173732008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17374
17375 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
17376
17377 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
17378
a13e061a
PA
173792008-04-04 Pedro Alves <pedro@codesourcery.com>
17380
17381 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
17382 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
17383 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17384 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
17385 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
17386 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
17387 expect an mi error duplicated in stderr.
17388
eae06beb
JB
173892008-04-03 Joel Brobecker <brobecker@adacore.com>
17390
17391 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
17392 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
17393 Add a couple of tests that verify the behavior when the new setting
17394 is set to "cancel" and "all".
17395 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
17396 "ask" before we start the testing.
17397
79c6ced6
AR
173982008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
17399
17400 * gdb.cp/casts.cc: Add class reference variables.
17401 * gdb.cp/casts.exp: New test cases for up/down casting references.
17402
6c2d1a6b
MK
174032008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
17404
17405 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
17406 instead of beginning to make an extra test pass.
17407 * gdb.mi/mi2-var-display.exp: Likewise.
17408
55b411d9
MR
174092008-03-31 Maciej W. Rozycki <macro@mips.com>
17410
17411 * gdb.base/break.exp: Mark failures as such. Fix formatting.
17412
c6140da2
MD
174132008-03-31 Markus Deuling <deuling@de.ibm.com>
17414 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17415
17416 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
17417 value. Add xfail for older kernels.
17418
79732189
AR
174192008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
17420
17421 Bring mi-support in line with gdb.exp.
17422 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
17423 (mi_gdb_start): New function.
17424
33c3676e
MR
174252008-03-28 Maciej W. Rozycki <macro@mips.com>
17426
17427 * gdb.mi/mi-var-cmd.exp: Fix a typo.
17428
92e28119
VP
174292008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17430
17431 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
17432 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 17433
9e8e3afe
VP
174342008-03-26 Vladimir Prus <vladimir@codesourcery.com>
17435
17436 * lib/mi-support.exp (mi_create_varobj_checked): New.
17437 (mi_list_varobj_children): Allow to check for a
17438 value.
17439 (mi_list_array_varobj_children): New.
17440
17441 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
17442 and mi_list_varobj_children, as opposed to hardcoding
17443 expected strings.
17444 * gdb.mi/gdb701.exp: Likewise.
17445 * gdb.mi/gdb792.exp: Likewise.
17446 * gdb.mi/mi-var-block.exp: Likewise.
17447 * gdb.mi/mi-var-cmd.exp: Likewise.
17448 * gdb.mi/mi-var-invalidate.exp: Likewise.
17449 * gdb.mi/mi2-var-block.exp: Likewise.
17450 * gdb.mi/mi2-var-child.exp: Likewise.
17451 * gdb.mi/mi2-var-cmd.exp: Likewise.
17452 * gdb.mi/mi2-var-display.exp: Likewise.
17453
9df50351
JK
174542008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17455
17456 Fix random false FAILs on i386.
17457 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
17458
31e5d73a
DJ
174592008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
17460
17461 PR gdb/544
17462 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
17463
12f4afab
DJ
174642008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
17465
17466 PR gdb/544
17467 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
17468
b562a0cb
DJ
174692008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17470
17471 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
17472 fixed PR gdb/544.
17473
17faa917
DJ
174742008-03-21 Pedro Alves <pedro@codesourcery.com>
17475
17476 * gdb.threads/fork-child-threads.exp: Test next over fork.
17477
6214f497
DJ
174782008-03-21 Chris Demetriou <cgd@google.com>
17479
17480 * gdb.base/break.exp (rbreak junk): New test for rbreak
17481 "Junk at end of arguments" issue.
17482
63092375
DJ
174832008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17484
17485 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
17486 *& to work on created array elements.
17487 (Top level): Test print $pc with a file. Test string operations
17488 without a target.
17489 * gdb.base/ptype.exp: Do not expect *& to work on created array
17490 elements.
17491
b21991b0
DJ
174922008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
17493
17494 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
17495 gdb.threads/staticthreads.exp: Update exit query.
17496
c4b347c7
SL
174972008-03-07 Sandra Loosemore <sandra@codesourcery.com>
17498
17499 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
17500
fa4727a6
DJ
175012008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
17502
17503 * gdb.base/watchpoint.c (global_ptr, func4): New.
17504 (main): Call func4.
17505 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
17506 (test_inaccessible_watchpoint): New.
17507
2f34202f
MR
175082008-02-29 Maciej W. Rozycki <macro@mips.com>
17509
17510 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
17511 select the largest.
17512
0d6ba1b1
DJ
175132008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17514
17515 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
17516 frames-invalid annotations.
17517
e691325a
PM
175182008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
17519
a9c64011 17520 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 17521
f85b5ecc
DE
175222008-02-27 Doug Evans <dje@google.com>
17523
17524 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
17525 for bug 1738.
17526 (breakpoint_to_handler_entry): Ditto.
17527
b40e7bf3
JB
175282008-02-27 Joel Brobecker <brobecker@adacore.com>
17529
17530 * gdb.base/ending-run.exp: Use the first line of code inside
17531 function body to test breakpoints.
17532 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
17533 location where the breakpoint is inserted when using the line
17534 where a function is declared. Fix typo in the description of
17535 one of the tests.
17536 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
17537
2faca73a
PM
175382008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
17539
17540 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 17541 tests.
2faca73a 17542
6f439c36
PM
175432008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
17544
17545 * gdb.base/args.exp: avoid same output for tests
17546 with single quotes.
17547
54e52265
VP
175482008-02-26 Vladimir Prus <vladimir@codesourcery.com>
17549
a9c64011
AS
17550 * gdb.base/annota1.exp: Adjust for 'info break'
17551 format changes.
17552 * gdb.base/annota3.exp: Likewise.
17553 * gdb.base/break.exp: Likewise.
17554 * gdb.base/condbreak.exp: Likewise.
17555 * gdb.base/pending.exp: Likewise.
17556 * gdb.base/sepdebug.exp: Likewise.
17557 * gdb.base/unload.exp: Likewise.
17558 * gdb.cp/ovldbreak.exp: Likewise.
17559 * gdb.mi/mi-pending.exp: Likewise.
54e52265 17560
897b09ca
DE
175612008-02-07 Doug Evans <dje@google.com>
17562
17563 * gdb.cp/mb-inline.exp: New.
17564 * gdb.cp/mb-inline.h: New.
17565 * gdb.cp/mb-inline1.cc: New.
17566 * gdb.cp/mb-inline2.cc: New.
17567
b1c32d35
PM
175682008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
17569
17570 * gdb.pascal/floats.pas: New test program.
17571 * gdb.pascal/floats.exp: New testcase.
17572
1a4ca44a
TJB
175732008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
17574
17575 * gdb.base/callfuncs.c (t_float_many_args): New function.
17576 (t_double_many_args): New function.
17577 * gdb.base/callfuncs.exp: Add tests for exceeding float
17578 and double parameters passed through the stack.
17579
439048e8
JB
175802008-02-05 Joel Brobecker <brobecker@adacore.com>
17581
17582 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
17583 gdb.ada/complete/foo.adb: New files.
17584 * gdb.ada/complete.exp: New testcase.
17585
81fe8080
DE
175862008-02-03 Doug Evans <dje@google.com>
17587
301f0ecf
DE
17588 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
17589
81fe8080
DE
17590 * gdb.cp/gdb2384.exp: New file.
17591 * gdb.cp/gdb2384.cc: New file.
17592 * gdb.cp/gdb2384-base.h: New file.
17593 * gdb.cp/gdb2384-base.cc: New file.
17594
4b071aec
DE
175952008-02-02 Doug Evans <dje@google.com>
17596
17597 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
17598
61137ba6
JB
175992007-02-01 Joel Brobecker <brobecker@adacore.com>
17600
17601 * gdb.ada/sym_print_name: New test program.
17602 * gdb.ada/sym_print_name.exp: New testcase.
17603
176042007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
17605
17606 * gdb.ada/nested/hello.adb: New file.
17607 * gdb.ada/nested.exp: New testcase.
17608 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17609
98deb0da
VP
176102008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17611
17612 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
17613 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
17614 don't cause future evaluations of function to report
17615 creation of internal breakpoints.
98deb0da 17616
723a2275
VP
176172008-02-01 Vladimir Prus <vladimir@codesourcery.com>
17618
17619 * gdb.mi/mi-break.exp (test_error): New.
17620 Call it.
17621
fb546a2f
LM
176222008-01-31 Luis Machado <luisgpm@br.ibm.com>
17623
17624 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
17625 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
17626
2d8fd90a
PM
176272008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17628
17629 * gdb.pascal/integers.pas: New test program.
17630 * gdb.pascal/integers.exp: New testcase.
17631
a7fa0ded
PM
176322008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
17633
17634 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
17635
5e1a1926
TJB
176362008-01-30 Luis Machado <luisgpm@br.ibm.com>
17637
17638 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
17639 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
17640
8d04f9f0
JB
176412008-01-30 Paul Hilfinger <hilfinger@adacore.com>
17642
17643 * gdb.ada/formatted_ref: New test program.
17644 * gdb.ada/formatted_ref.exp: New testcase.
17645
17646 * gdb.cp/formatted-ref.cc: New file.
17647 * gdb.cp/formatted-ref.exp: New testcase.
17648
ce75a98f
JB
176492008-01-30 Joel Brobecker <brobecker@adacore.com>
17650
17651 * gdb.base/ptype.exp: Add testing of "ptype $pc".
17652
e835f6bf
NR
176532008-01-30 Nick Roberts <nickrob@snap.net.nz>
17654
17655 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
17656 (test_file_list_exec_source_file): Update to new macro-info field.
17657
d118ef87
PH
176582008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
17659
17660 * gdb.ada/exprs: New test program.
17661 * gdb.ada/exprs.exp: New testcase.
17662
7d35ab09
TJB
176632008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
17664
17665 * dfp-test.c (DELTA, DELTA_B): New definitions.
17666 (double_val1, double_val2, double_val3, double_val4, double_val5,
17667 double_val6, double_val7, double_val8, double_val9, double_val10,
17668 double_val11, double_val12, double_val13, double_val14, dec32_val1,
17669 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
17670 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
17671 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
17672 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
17673 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
17674 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
17675 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
17676 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
17677 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
17678 dec128_val16): New global variables.
17679 (decimal_dec128_align): New function.
17680 (decimal_mixed): Likewise.
17681 (decimal_many_args_dec32): Likewise.
17682 (decimal_many_args_dec64): Likewise.
17683 (decimal_many_args_dec128): Likewise.
17684 (decimal_many_args_mixed): Likewise.
17685 * dfp-test.exp: Add tests calling new inferior functions.
17686
2d717e4f
DJ
176872008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17688
17689 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
17690 gdb.server/ext-run.exp: New files.
17691 * lib/gdbserver-support.exp (gdbserver_download): New.
17692 (gdbserver_start): New. Update gdbserver expected
17693 output.
17694 (gdbserver_spawn): Use them.
17695 (gdbserver_start_extended): New.
17696
e85a822c
DJ
176972008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17698
17699 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
17700 Run on GNU/Linux.
17701 (do_exec_tests): Check for systems which do not support catchpoints.
17702 Do not match START.
17703 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
17704 Run on GNU/Linux. Enable verbose output.
17705 (check_fork_catchpoints): New.
17706 (explicit_fork_child_follow, catch_fork_child_follow)
17707 (tcatch_fork_parent_follow): Update expected messages.
17708 (do_fork_tests): Use check_fork_catchpoints.
17709 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
17710 Run on GNU/Linux. Enable verbose output.
17711 (check_vfork_catchpoints): New.
17712 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
17713 expected messages.
17714 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
17715
401ea829
JB
177162008-01-29 Jim Blandy <jimb@red-bean.com>
17717
17718 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
17719 host' errors.
17720 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
17721
aceaf3ad
JB
177222008-01-29 Jim Blandy <jimb@red-bean.com>
17723
17724 * gdb.threads/sigthread.c: Use barriers to ensure that
17725 child_thread and child_thread_two are always initialized before we
17726 start to use them.
17727
a5606eee
VP
177282008-01-29 Vladimir Prus <vladimir@codesourcery.com>
17729
17730 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
17731 * gdb.base/watchpoint-solib.c: New.
17732 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 17733
c55a82bb
PM
177342008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
17735
17736 * gdb.base/gdb1056.exp: Add unsigned integer test.
17737
0993fe05
DE
177382008-01-28 Doug Evans <dje@google.com>
17739
17740 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
17741
4fe42e7f
JB
177422008-01-27 Jim Blandy <jimb@codesourcery.com>
17743
c7a69933
JB
17744 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
17745
4fe42e7f
JB
17746 * gdb.base/expand-psymtabs.exp: Doc fix.
17747
5def8285
MK
177482008-01-26 Mark Kettenis <kettenis@gnu.org>
17749
17750 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17751
5313c911
NR
177522008-01-24 Nick Roberts <nickrob@snap.net.nz>
17753
a9c64011 17754 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
17755 -var-set-format.
17756
93815fbf
VP
177572008-01-23 Chris Demetriou <cgd@google.com>
17758
17759 * gdb.threads/thread_events.c: New testcase source file.
17760 * gdb.threads/thread_events.exp: New testcase expect file.
17761
467a88ee
NR
177622008-01-23 Nick Roberts <nickrob@snap.net.nz>
17763
17764 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
17765
17766 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
17767 -var-set-format.
17768
d8f82aba
DJ
177692008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17770 Vladimir Prus <vladimir@codesourcery.com>
17771
17772 * gdb.base/float.exp: Allow missing floating point for m68k and
17773 PowerPC.
17774
60c46647
VP
177752008-01-22 Vladimir Prus <vladimir@codesourcery.com>
17776
17777 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
17778 ignore count.
17779 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
17780 * gdb.mi/mi-cli.exp: Adjust.
17781 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 17782
c7dd36a1
PA
177832008-01-17 Pedro Alves <pedro@codesourcery.com>
17784
17785 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
17786 and 'dummy_ptr' integer pointer. Initialize struct_declarations
17787 with dummy_ptr's address.
17788 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
17789 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
17790 all targets.
17791 * gdb.mi/mi2-var-child.exp: Likewise.
17792
39d5313e
JB
177932008-01-09 Joel Brobecker <brobecker@adacore.com>
17794
17795 * gdb.ada/null_array: New test program.
17796 * gdb.ada/null_array.exp: New testcase.
17797
0aea4bf3
LM
177982008-01-09 Luis Machado <luisgpm@br.ibm.com>
17799
17800 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
17801 with required float modifiers.
17802
0b354900
JB
178032008-01-08 Joel Brobecker <brobecker@adacore.com>
17804
17805 * gdb.ada/funcall_param: New test program.
17806 * gdb.ada/funcall_param.exp: New testcase.
17807
cdb7f5d4
JB
178082008-01-08 Joel Brobecker <brobecker@adacore.com>
17809
17810 * gdb.ada/arrayparam: New test program.
17811 * gdb.ada/arrayparam.exp: New testcase.
17812
88e2547f
JB
178132008-01-08 Joel Brobecker <brobecker@adacore.com>
17814
17815 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
17816 landed. Should also fix random failures in the test following it.
17817
f6867ce0
TJB
178182008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
17819
17820 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
17821 for expressions with decimal float values.
17822 (test_dfp_conversions): New function to test casts to and from
17823 decimal float types.
17824 Call test_dfp_conversions.
17825 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
17826 elements.
17827 (main): Initialize ds.float4 and ds.double8 elements.
17828 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
17829 string to new error message.
17830 (d64_set_tests): Likewise.
17831 (d128_set_tests): Likewise.
17832 Add tests for expressions with decimal float variables. Add tests for
17833 conversions to and from decimal float types.
17834
f9c11282
JB
178352008-01-05 Joel Brobecker <brobecker@adacore.com>
17836
17837 * gdb.ada/packed_tagged/comp_bug.adb: New file.
17838 * gdb.ada/packed_tagged.exp: New testcase.
17839
0ecbca72
JB
178402008-01-04 Joel Brobecker <brobecker@adacore.com>
17841
17842 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
17843 gdb.ada/homonym/homonym_main.adb: New files.
17844 * gdb.ada/homonym.exp: New testcase.
17845
c18d3d89
JB
178462008-01-04 Joel Brobecker <brobecker@adacore.com>
17847
17848 * gdb.ada/packed_array.exp: Add testing of references to
17849 a packed array.
17850
ecc7085b
JB
178512008-01-04 Joel Brobecker <brobecker@adacore.com>
17852
17853 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
17854 New files.
17855 * gdb.ada/type_coercion.exp: New testcase.
17856
c474c922
JB
178572008-01-04 Joel Brobecker <brobecker@adacore.com>
17858
17859 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
17860 gdb.ada/tagged/foo.adb: New file.
17861 * gdb.ada/tagged.exp: New testcase.
17862
9005b927
JB
178632008-01-04 Joel Brobecker <brobecker@adacore.com>
17864
17865 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
17866 gdb.ada/ptype_field/foo.adb: New files.
17867 * gdb.ada/ptype_field.exp: New testcase.
17868
1a6aaad8
JB
178692008-01-03 Joel Brobecker <brobecker@adacore.com>
17870
17871 * gdb.ada/print_pc.exp: New testcase.
17872
0ef22f53
JB
178732008-01-03 Joel Brobecker <brobecker@adacore.com>
17874
17875 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
17876 gdb.ada/taft_type/p.adb: New files.
17877 * gdb.ada/taft_type.exp: New testcase.
17878
1689ecf8
JB
178792008-01-03 Joel Brobecker <brobecker@adacore.com>
17880
17881 * gdb.ada/array_bounds/bar.adb: New file.
17882 * gdb.ada/array_bounds.exp: New testcase.
17883
a4d0b9c3
JB
178842008-01-03 Joel Brobecker <brobecker@adacore.com>
17885
17886 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
17887 gdb.ada/arrayptr/foo.adb: New files.
17888 * gdb.ada/arrayptr.exp: New testcase.
17889
a31ace00
JB
178902008-01-03 Joel Brobecker <brobecker@adacore.com>
17891
17892 * gdb.base/set-lang-auto.exp: New testcase.
17893
a97fced3
JB
178942008-01-03 Joel Brobecker <brobecker@adacore.com>
17895
17896 * gdb.ada/fun_addr/foo.adb: New file.
17897 * gdb.ada/fun_addr.exp: New testcase.
17898
ef29ce1a
JK
178992008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17900
17901 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
17902 New files
17903
0fafefe3
JB
179042008-01-02 Joel Brobecker <brobecker@adacore.com>
17905
17906 * array_subscript_addr/p.adb: New file.
a9c64011 17907 * array_subscript_addr.exp: New testcase.
0fafefe3 17908
c4359f8d
JB
179092008-01-02 Joel Brobecker <brobecker@adacore.com>
17910
a9c64011 17911 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
17912 New files.
17913 * gdb.ada/str_cmp_ref.exp: New testcase.
17914
1aa1b15b
JB
179152008-01-01 Joel Brobecker <brobecker@adacore.com>
17916
17917 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
17918 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 17919 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 17920
81c9b2cf
JB
179212008-01-01 Joel Brobecker <brobecker@adacore.com>
17922
17923 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
17924 gdb.ada/ref_param/pck.ads: New files.
17925 * gdb.ada/ref_param.exp: New testcase.
17926
319e4674
JB
179272008-01-01 Joel Brobecker <brobecker@adacore.com>
17928
17929 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
17930 gdb.ada/interface/foo.adb: New files.
17931 * gdb.ada/interface.exp: New testcase.
17932
ef682c56
JB
179332007-12-31 Jim Blandy <jimb@codesourcery.com>
17934
17935 * gdb.base/multi-forks.exp: Consume all output from child
17936 processes before proceeding to next test.
17937
f6f3eb6c
JB
179382007-12-29 Jim Blandy <jimb@codesourcery.com>
17939
17940 * configure: Regenerated.
17941
f652e42f
JB
179422007-12-27 Joel Brobecker <brobecker@adacore.com>
17943
17944 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
17945 gdb.ada/fixed_cmp/fixed.adb: New files.
17946 * gdb.ada/fixed_cmp.exp: New testcase.
17947
6943e596
JB
179482007-12-27 Joel Brobecker <brobecker@adacore.com>
17949
17950 * gdb.ada/boolean_expr.exp: New testcase.
17951
aad9a193
JB
179522007-12-26 Jim Blandy <jimb@codesourcery.com>
17953
17954 * gdb.base/multi-forks.exp: Doc fix.
17955
fb5f3683
JB
179562007-12-26 Joel Brobecker <brobecker@adacore.com>
17957
17958 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
17959 * gdb.ada/char_param.exp: Do not compile our test program with
17960 -gnata, this is unnecessary.
17961 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
17962
384e4a9c
JB
179632007-12-24 Joel Brobecker <brobecker@adacore.com>
17964
17965 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
17966 gdb.ada/print_chars/foo.adb: New files.
17967 * gdb.ada/print_chars.exp: New testcase.
17968
01e044f7
JB
179692007-12-24 Joel Brobecker <brobecker@adacore.com>
17970
17971 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
17972 gdb.ada/char_param/foo.adb: New files.
17973 * gdb.ada/char_param.exp: New testcase.
17974
0ce17860
JB
179752007-12-22 Jim Blandy <jimb@codesourcery.com>
17976
17977 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
17978 hard-coding source line numbers into the test.
17979 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
17980 gdb_get_line_number to find.
17981
919809b9
JB
179822007-12-22 Joel Brobecker <brobecker@adacore.com>
17983
17984 * gdb.base/ptype.c (highest): New struct type.
17985 (the_highest): New variable of that type.
17986 (main): Add dummy assignment to a field of variable the_highest.
17987 * gdb.base/ptype.exp: Test type printing of our new variable.
17988
abc8a88d
PM
179892007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
17990
17991 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 17992 and record first explicitly generated thread number.
abc8a88d
PM
17993 Use that thread number for thread specific watchpoint test.
17994 Add iteration number to repetitive tests.
17995
5158f3e3
CES
179962007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17997 Jim Blandy <jimb@codesourcery.com>
17998
17999 * gdb.base/expand-psymtabs.c: New testcase
18000 source file.
18001 * gdb.base/expand-psymtabs.exp: New testcase
18002 expect file.
18003
37e4754d
LM
180042007-12-17 Luis Machado <luisgpm@br.ibm.com>
18005
18006 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
18007 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
18008
551e5d04
JB
180092007-12-17 Joel Brobecker <brobecker@adacore.com>
18010
18011 * gdb.ada/frame_args/foo.adb: New file.
18012 * gdb.ada/frame_args/pck.ads: New file.
18013 * gdb.ada/frame_args/pck.adb: New file.
18014 * gdb.ada/frame_args.exp: New testcase.
18015
a05ee097
JB
180162007-12-17 Joel Brobecker <brobecker@adacore.com>
18017
18018 * gdb.base/frame-args.c: New file.
18019 * gdb.base/frame-args.exp: New testcase.
18020
c162e8c9 180212007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 18022 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
18023
18024 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
18025
afe8ab22 180262007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18027
afe8ab22
VP
18028 * gdb.mi/mi-pending.exp: New.
18029 * gdb.mi/mi-pending.c: New.
18030 * gdb.mi/mi-pendshr.c: New.
18031
dfdfb3ca
JB
180322007-12-06 Jim Blandy <jimb@codesourcery.com>
18033
18034 * gdb.base/default.exp: Update expected output for 'info catch'.
18035
b7fca990
JK
180362007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18037
18038 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
18039 must be set to binary.
18040
6a1afc1e
PA
180412007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
18042
18043 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
18044
a6b151f1
DJ
180452007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
18046
18047 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
18048 gdb.mi/mi-file-transfer.exp: New.
18049
43039443
JK
180502007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18051
18052 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
18053
0ef2251b
MR
180542007-11-22 Maciej W. Rozycki <macro@mips.com>
18055
18056 * gdb.trace/backtrace.exp: Fix a typo.
18057 * gdb.trace/circ.exp: Likewise.
18058 * gdb.trace/collection.exp: Likewise.
18059 * gdb.trace/limits.exp: Likewise.
18060 * gdb.trace/report.exp: Likewise.
18061 * gdb.trace/tfind.exp: Likewise.
18062 * gdb.trace/while-dyn.exp: Likewise.
18063
5443631e
NR
180642007-11-21 Nick Roberts <nickrob@snap.net.nz>
18065
18066 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
18067 objects of pointers that can't be dereferenced are now
18068 "noneditable".
18069
a4ce5b0d
UW
180702007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18071
18072 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
18073 (target_cpu): Remove.
18074
d6e956e5
VP
180752007-10-15 Vladimir Prus <vladimir@codesourcery.com>
18076
18077 * gdb.base/ending-run.exp: Expect the list of cleared
18078 breakpoint to come in natural order, not the reversed one.
a9c64011 18079
214270ab
VP
180802007-11-07 Vladimir Prus <vladimir@codesourcery.com>
18081
18082 * gdb.mi/mi-var-child.c (do_child_deletion): New.
18083 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 18084
1a619819
LM
180852007-11-05 Luis Machado <luisgpm@br.ibm.com>
18086
18087 * gdb.base/printcmds.exp: New function
18088 test_printf_with_dfp.
18089
5b01a6fa
DE
180902007-11-02 Doug Evans <dje@google.com>
18091
18092 * gdb.disasm/t01_mov.s: Remove carriage returns.
18093 * gdb.disasm/t02_mova.s: Ditto.
18094 * gdb.disasm/t03_add.s: Ditto.
18095 * gdb.disasm/t04_sub.s: Ditto.
18096 * gdb.disasm/t05_cmp.s: Ditto.
18097 * gdb.disasm/t06_ari2.s: Ditto.
18098 * gdb.disasm/t07_ari3.s: Ditto.
18099 * gdb.disasm/t08_or.s: Ditto.
18100 * gdb.disasm/t09_xor.s: Ditto.
18101 * gdb.disasm/t10_and.s: Ditto.
18102 * gdb.disasm/t11_logs.s: Ditto.
18103 * gdb.disasm/t12_bit.s: Ditto.
18104 * gdb.disasm/t13_otr.s: Ditto.
18105
ec33ab7f
JK
181062007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18107
18108 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
18109
ae0d01ff
UW
181102007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18111
18112 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
18113 provide DFP support.
18114
55eddb0f
DJ
181152007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
18116
18117 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
18118 Test "set powerpc vector-abi". Skip auto-detection tests for old
18119 toolchains.
18120
7020f05c
PA
181212007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18122
18123 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
18124 with [string compare].
18125
84bc3db9
PA
181262007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18127
18128 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
18129 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
18130
5876dc88
LM
181312007-10-25 Luis Machado <luisgpm@br.ibm.com>
18132
18133 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
18134 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
18135 * gdb.opt/Makefile.in: New makefile.
18136 * Makefile.in: Create new directory "gdb.opt".
18137 * configure.ac: Add "gdb.opt" directory.
18138 * configure: Regenerated.
a9c64011 18139
c3ea9a14
DE
181402007-10-25 Doug Evans <dje@google.com>
18141
18142 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
18143 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
18144
a9c64011 181452007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
18146 Thiago Jung Bauermann <bauerman@br.ibm.com>
18147
18148 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
18149 Floating Point expressions.
18150 * gdb.base/dfp-test.exp: new file adding tests for Decimal
18151 Floating Point variables.
18152 * gdb.base/dfp-test.c: new file containing program with Decimal
18153 Floating variables, used by gdb.base/dfp-test.exp.
18154
62a24a2b
DJ
181552007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
18156
18157 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
18158
e7b1eae6
UW
181592007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18160
18161 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
18162 compiling test case with GCC.
18163 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
18164
c641edcc
UW
181652007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18166
18167 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18168 format changes.
18169
5e5ebfe6
MS
181702007-10-18 Michael Snyder <msnyder@specifix.com>
18171
18172 * gdb.base/dbx.exp: Add missing "-re " operator.
18173
e831e7b6
GM
181742007-10-16 Gaius Mulley <gaius@glam.ac.uk>
18175
18176 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
18177 * configure.ac: Removed trailing spaces after backslash.
18178 * gdb.modula2: New directory.
18179 * gdb.modula2/Makefile.in: New file.
18180 * gdb.modula2/unbounded-array.exp: New file.
18181 * gdb.modula2/unbounded1.c: New file.
18182
7cc46491
DJ
181832007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
18184
18185 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
18186
181872007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
18188
18189 * gdb.base/sigstep.c (main): Add checks for
18190 return values for setitimer call.
18191 Call setitimer again with itimer = ITIMER_REAL
18192 if first call to setitimer fails.
18193
e91528f0
KH
181942007-10-11 Kazu Hirata <kazu@codesourcery.com>
18195
18196 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
18197 of $timeout.
18198
2ec9a4f8
DJ
181992007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18200
18201 * gdb.server/server-run.exp: Test for dynamic linker symbols.
18202
182032007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
18204
18205 * lib/gdb.exp (gdb_run_cmd): Move comment outside
18206 of gdb_expect call, to avoid interruption.
18207
64b2fa04
PA
182082007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
18209
18210 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
18211 (v_unsigned_long_long, v_long_long_array)
18212 (v_signed_long_long_array, v_unsigned_long_long_array)
18213 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
18214 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
18215 [!NO_LONG_LONG]: New.
18216 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
18217 v_long_long_member.
18218
18219 (v_long_long_func, v_signed_long_long_func)
18220 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
18221 (main) [!NO_LONG_LONG]: Initialize long long variants.
18222
18223 * gdb.base/whatis.exp: If board file requests no_long_long, build
18224 test with NO_LONG_LONG defined. Test long long, signed long long,
18225 and unsigned long long variants but only if board file doesn't
18226 disable it.
18227
a912286e 182282007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 18229 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
18230
18231 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
18232 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
18233 * configure: Regenerated.
18234 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
18235 gdb.pascal/types.exp, lib/pascal.exp: New files.
18236
471ba8c9
DJ
182372007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
18238
18239 * gdb.cp/classes.exp (do_tests): Always step to the line after the
18240 call.
18241 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
18242 to return to the call.
18243 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
18244 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
18245 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
18246 * gdb.mi/mi-until.exp (test_until): Likewise.
18247 * gdb.mi/mi2-until.exp (test_until): Likewise.
18248
fef8a650
DJ
182492007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
18250
18251 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
18252 two-char array.
18253 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
18254
d983da9c
DJ
182552007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
18256
18257 * gdb.threads/watchthreads.c (thread_function): Sleep between
18258 iterations.
18259 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
18260 at once for S/390. Generate matching fails and passes.
18261
17f62551
VP
182622007-09-27 Vladimir Prus <vladimir@codesourcery.com>
18263
18264 * gdb.mi/var-cmd.c (do_children_tests): Initialize
18265 the 'struct_declarations' variable to zeros.
a9c64011 18266
ed0616c6
VP
182672007-09-24 Vladimir Prus <vladimir@codesourcery.com>
18268
18269 * gdb.cp/mb-ctor.cc: New.
18270 * gdb.cp/mb-ctor.exp: New.
18271 * gdb.cp/mb-templates.cc: New.
18272 * gdb.cp/mb-templates.exp: New.
18273
41f1b697
DJ
182742007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
18275
18276 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
18277
3f213f78
PA
182782007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
18279
18280 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
18281 targets.
18282 * configure: Regenerate.
18283
0d381245 182842007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18285
0d381245
VP
18286 * gdb.base/annota1.exp: Adjust for 'info break'
18287 format changes.
18288 * gdb.base/annota3.exp: Likewise.
18289 * gdb.base/break.exp: Likewise.
18290 * gdb.base/condbreak.exp: Likewise.
18291 * gdb.base/pending.exp: Likewise.
18292 * gdb.base/sepdebug.exp: Likewise.
18293 * gdb.base/unload.exp: Likewise.
18294 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 18295
fe3f5fa8
VP
182962007-09-22 Vladimir Prus <vladimir@codesourcery.com>
18297
18298 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
18299 messages.
18300 * gdb.base/chng-syms.exp: Likewise.
18301 * gdb.base/unload.exp: Likewise.
a9c64011 18302
a75cf6c0
DJ
183032007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
18304
18305 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
18306
18ecae38
DJ
183072007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
18308
18309 * schedlock.c (NUM): Change to 1.
18310 (main): Use args[0] for the main thread.
18311 * schedlock.exp: Only expect two threads. Only issue one pass or fail
18312 regardless of the number of threads.
18313
5509918f
MR
183142007-09-14 Maciej W. Rozycki <macro@mips.com>
18315
4a543daf
MR
18316 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
18317 type down.
18318 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18319 test.
18320 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
18321 watchpoint type down.
18322 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
18323 test.
18324
183252007-09-14 Maciej W. Rozycki <macro@mips.com>
18326
5509918f
MR
18327 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
18328 Move all the tests here and run them twice, once using software
18329 watchpoints and once using hardware watchpoints.
18330 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
18331
40b53987
DJ
183322007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
18333
18334 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
18335 test.
18336
695e2681
MK
183372007-09-10 Mark Kettenis <kettenis@gnu.org>
18338
8b3fc8d8
MK
18339 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
18340 build-id.
18341
695e2681
MK
18342 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
18343 know about $ORIGIN. Calculate output dir from $dest instead of
18344 using ${objdir}/{$subdir}.
18345
58d69f29
MK
183462007-09-09 Mark Kettenis <kettenis@gnu.org>
18347
18348 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
18349 gcore, before continuing with the test.
18350
3e347599
DJ
183512007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
18352
18353 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
18354 * gdb.mi/mi-watch.exp: Likewise.
18355
ea37ba09
DJ
183562007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18357 Jim Blandy <jimb@codesourcery.com>
18358
18359 * gdb.arch/i386-sse.exp: Do not expect character constants.
18360 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
18361 * gdb.base/display.exp: Allow print/s.
18362 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
18363 and unsigned char array changes.
18364
2025a643
DJ
183652007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
18366
18367 * gdb.base/display.exp: Add tests for printf %p.
18368
26669a27
PA
183692007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
18370
18371 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
18372 the dll name to unicode.
18373
c8f021f8
JK
183742007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18375
18376 * gdb.base/default.exp (show version): Update the version text.
18377 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
18378
4cf31eea
JK
183792007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18380
18381 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
18382 New files.
18383
4935890f
JK
183842007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18385
18386 * lib/gdb.exp (build_id_debug_filename_get): New function.
18387 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
18388 Remove the generate DEBUG file for the future testcase runs.
18389 New testcase for the NT_GNU_BUILD_ID retrieval.
18390 Move the final testing step to ...
18391 (test_different_dir): ... a new function.
18392 New parameter XFAIL to XFAIL all the tests performed.
18393 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
18394 New parameter TYPE to PF_PREFIX all the tests performed.
18395
02142340
VP
183962007-08-31 Vladimir Prus <vladimir@codesourcery.com>
18397
18398 * gdb.mi/mi-var-cp.cc (path_expression): New
18399 function.
18400 * gdb.mi/mi-var-cp.exp: Run path exression tests.
18401
36acd84e
UW
184022007-08-27 Markus Deuling <deuling@de.ibm.com>
18403
18404 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
18405 to fit into SPU Local Store memory.
18406
a896d121
JB
184072007-08-23 Joel Brobecker <brobecker@adacore.com>
18408
18409 * gdb.base/default.exp: Adjust the expected output of "info
18410 warranty" after the switch to GPLv3.
18411
7b433602
JB
184122007-08-23 Joel Brobecker <brobecker@adacore.com>
18413
18414 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
18415 to 30000 (from 20000).
18416
e22f8b7c
JB
184172007-08-23 Joel Brobecker <brobecker@adacore.com>
18418
18419 Switch the license of all .exp files to GPLv3.
18420 Switch the license of all .f and .f90 files to GPLv3.
18421 Switch the license of all .s and .S files to GPLv3.
18422
5a0e3bd0
JB
184232007-08-23 Joel Brobecker <brobecker@adacore.com>
18424
18425 * configure.ac: Switch license to GPLv3.
18426
cc00619d
JB
184272007-08-23 Joel Brobecker <brobecker@adacore.com>
18428
18429 Switch the licensing to GPLv3 for all .ads and .adb files.
18430
8d26208a
DJ
184312007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
18432
18433 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
18434 and t_int_double.
18435 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
18436
4fcb9948
JB
184372007-08-17 Joel Brobecker <brobecker@adacore.com>
18438
18439 * gdb.base/step-line.c: Switch license to GPL version 3, and
18440 update copyright year.
18441 * gdb.base/step-line.inp: Likewise.
18442
b9c34f67
JB
184432007-08-17 Joel Brobecker <brobecker@adacore.com>
18444
18445 * gdb.base/gdb1555.exp: Make expected output immune to formatting
18446 changes inside gdb1555.c.
18447 * gdb.base/pending.exp: Likewise.
18448
2cc17678
DJ
184492007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
18450
18451 * config/default.exp: New file.
18452
e48883f7
DJ
184532007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18454
18455 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
18456 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
18457
1ab80e5b
MR
184582007-07-30 Maciej W. Rozycki <macro@mips.com>
18459
18460 * gdb.base/dump.exp: Force the correct endianness for binary
18461 formats not carrying this information.
18462
aba471f5
DJ
184632007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
18464
18465 * gdb.threads/staticthreads.exp: Match .*sem_post.
18466
d4e07204
DJ
184672007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
18468
18469 * gdb.base/readline.exp (operate_and_get_next): Match the final
18470 prompt.
18471
2b97317d
KB
184722007-07-23 Kevin Buettner <kevinb@redhat.com>
18473
18474 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
18475 to restarting SID.
18476
44efa07a
KB
184772007-07-18 Kevin Buettner <kevinb@redhat.com>
18478
18479 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
18480 prior to `gdb_start'.
18481
7b5ebade
KB
184822007-07-18 Kevin Buettner <kevinb@redhat.com>
18483
18484 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
18485 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
18486 Remove call to gdb_unload.
18487
255e7678
DJ
184882007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
18489 Daniel Jacobowitz <dan@codesourcery.com>
18490
18491 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
18492 for __WIN32__.
18493 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
18494 * gdb.base/unload.exp: Use shared library test routines.
18495
3a40aaa0
UW
184962007-07-03 Markus Deuling <deuling@de.ibm.com>
18497
18498 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
18499 * gdb.base/solib-symbol-lib.c: Likewise.
18500 * gdb.base/solib-symbol-main.c: Likewise.
18501
b0f4b84b
DJ
185022007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
18503
18504 * config/gdbserver.exp (gdb_reconnect): New.
18505 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
18506 gdb.base/solib-disc.exp: New files.
18507 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
18508 remote debugging".
18509 (gdb_compile): Add shlib_load flag.
18510 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
18511 port.
18512 (gdbserver_reconnect): New.
18513
1b05479a
DJ
185142007-07-01 Nick Roberts <nickrob@snap.net.nz>
18515 Daniel Jacobowitz <dan@codesourcery.com>
18516
18517 * gdb.base/annota3.exp: Test for if construct.
18518
86f78eb2
DJ
185192007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
18520
18521 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
18522
6a2eb474 185232007-06-21 Chris Dearman <chris@mips.com>
a9c64011 18524 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
18525
18526 * gdb.base/display.exp: Allow a newline after display/i.
18527 * gdb.base/pc-fp.exp: Likewise.
18528 * gdb.base/sigbpt.exp: Likewise.
18529
f8b73d13
DJ
185302007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18531
18532 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
18533 required features to be included.
18534
4339e69e
DJ
185352007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18536
18537 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
18538 in info threads output.
18539
23d964e7
UW
185402007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18541 Markus Deuling <deuling@de.ibm.com>
18542
18543 * gdb.arch/spu-info.exp: New testcase.
18544 * gdb.arch/spu-info.c: New file.
18545
fd20f75b
DJ
185462007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
18547
18548 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
18549 tpcs_offset. Restore lr after the call.
18550 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
18551
2226f861
DJ
185522007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
18553
18554 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
18555 (gdbserver_run): Kill any running gdbserver.
18556 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
18557
d12371a9
MR
185582007-05-17 Maciej W. Rozycki <macro@mips.com>
18559
18560 * gdb.base/sigbpt.exp: Preset segv_addr.
18561
93f02886
DJ
185622007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
18563
18564 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
18565 (gdb_compile_shlib): Likewise.
18566 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
18567 (default_gdb_init): Clear cleanfiles.
18568 (gdb_finish): Delete recorded cleanfiles.
18569 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
18570
18571 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
18572 Do not use isnative.
18573 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
18574 gdb.base/so-impl-ld.exp: Likewise.
18575 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
18576 * gdb.base/unload.exp: Likewise. Do not pass empty option to
18577 gdb_compile.
18578
b04e06d7
VP
185792007-05-15 Vladimir Prus <vladimir@codesourcery.com>
18580
18581 * config/unknown.exp: Remove.
18582
069ed931
UW
185832007-05-15 Markus Deuling <deuling@de.ibm.com>
18584
18585 * gdb.base/info-proc.exp: Check is_remote.
18586
09db0d03
UW
185872007-05-14 Markus Deuling <deuling@de.ibm.com>
18588
18589 * gdb.base/gcore.exp: Initialize variable core_supported.
18590
af2cbe8c
DJ
185912007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18592
18593 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
18594
027c0295
DJ
185952007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18596
18597 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
18598 * gdb.threads/print-threads.exp (test_all_threads): Allow
18599 negative and hexadecimal thread IDs.
18600
dc5000e7
DJ
186012007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
18602
18603 * gdb.java/jprint.java (public): Avoid invalid call to static
18604 method.
18605
2e74ed18
DP
186062007-05-14 Denis Pilat <denis.pilat@st.com>
18607
18608 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
18609 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
18610 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18611 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
18612 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
18613
83547f02
UW
186142007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18615
18616 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 18617 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
18618 this mode.
18619 * gdb.base/ovlymgr.c: Provide stubs for spu target.
18620 * gdb.base/spu.ld: New file.
18621
b18be20d
DJ
186222007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
18623
18624 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
18625
be444858
DJ
186262007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
18627
18628 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
18629
b1d53152
DJ
186302007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18631
18632 * gdb.java/jmain.exp: Handle demangled names with and without method
18633 signatures.
18634
d084b331
DJ
186352007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
18636
18637 * gdb.mi/mi-syn-frame.c (main, foo, bar)
18638 (have_a_very_merry_interrupt): Remove calls to puts.
18639 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
18640 inferior output.
18641 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
18642 test names.
18643
db9d7fc5
DJ
186442007-04-29 Markus Deuling <deuling@de.ibm.com>
18645 Daniel Jacobowitz <dan@codesourcery.com>
18646
18647 * gdb.base/auxv.exp (core_works): Also check is_remote.
18648 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
18649
ef783a7d 186502007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 18651
ef783a7d
VP
18652 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
18653 message, not the undefined 'module' variable.
18654 * gdb.base/siginfo.exp: Likewise.
18655 * gdb.base/sigstep.exp: Likewise.
18656 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
18657 serialport.
18658 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
18659
b7b73cae
CV
186602007-04-25 Corinna Vinschen <vinschen@redhat.com>
18661
18662 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
18663 target sim fails. Return 0 otherwise.
18664 (gdb_load): Return prematurely if gdb_target_sim fails.
18665
7d90fdfa
DP
186662007-04-16 Denis Pilat <denis.pilat@st.com>
18667
18668 * gdb.base/setshow.exp: Reset height after having set it to 100.
18669
5d3e9c85
DP
186702007-04-16 Denis Pilat <denis.pilat@st.com>
18671
18672 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
18673
18e75969
DP
186742007-04-16 Denis Pilat <denis.pilat@st.com>
18675
18676 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
18677
25d5ea92
VP
186782007-04-14 Vladimir Prus <vladimir@codesourcery.com>
18679
18680 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
18681 tests. Run the frozen varobjs test.
18682 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 18683 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 18684
0b49cb80
JK
186852007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18686
18687 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
18688 gdb.base/type-opaque.exp: New files.
18689
a73bafbc 186902007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
18691
18692 * gdb.mi/mi-var-child.c
a73bafbc
VP
18693 (do_children_tests): User char[2] instead of
18694 char so that automatic printing of pointers to char
18695 don't give unpredicable result.
18696 * gdb.mi/var-cmd.c (do_locals_test): Initialize
18697 local variables.
18698 * gdb.mi/mi-var-child.exp: Step to right line
18699 of do_children_tests.
18700 * gdb.mi/mi2-var-child.exp: Likewise.
18701 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 18702 do_locals_tests.
a73bafbc
VP
18703 (do_children_tests): User char[2] instead of
18704 char so that automatic printing of pointers to char
a9c64011 18705 don't give unpredicable result.
a73bafbc 18706 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 18707 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
18708 Pass test name to mi_wait_for_stop.
18709
7ce59000
DJ
187102007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18711
18712 * gdb.asm/asm-source.exp: Remove d10v case.
18713 * lib/gdb.exp (skip_cplus_tests): Likewise.
18714 * gdb.asm/d10v.inc: Deleted.
18715
20389057
DJ
187162007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18717
18718 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
18719
8807d78b
DJ
187202007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18721
18722 * config/netware.exp: Delete file.
18723
aa3edb8e
JB
187242007-03-29 Joel Brobecker <brobecker@adacore.com>
18725
18726 * gdb.dwarf2/dw2-noloc.S: New file.
18727 * gdb.dwarf2/dw2-noloc.exp: New file.
18728
297561ac
PA
187292007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
18730
18731 * gdb.cp/method2.cc: New test.
18732 * gdb.cp/method2.exp: New test.
18733 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
18734
1f81bd39
DJ
187352007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18736
18737 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
18738
9453113a
DJ
187392007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
18740
18741 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
18742
b741e217
DJ
187432007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
18744
18745 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
18746 (gdb_load): Delete, replace with...
18747 (gdb_reload): ...this.
18748 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
18749 * gdb.server/server-mon.exp: Likewise.
18750 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
18751 (gdb_start_cmd): New.
18752 (gdb_file_cmd): Save the last loaded file.
18753 (gdb_reload): New.
18754 (gdb_gnu_strip_debug): Use transform.
18755 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
18756 support here. Use new $last_loaded_file. Check mtime.
18757 (gdb_target_cmd): Handle ObjC failure case.
18758 (infer_host_exec): Delete.
18759 (gdbserver_load): Rename to...
18760 (gdbserver_run): ...this. Simplify.
18761 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
18762 (mi_gdb_load): Move most contents to a new function...
18763 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
18764 (mi_run_cmd): Use mi_gdb_target_load.
18765 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
18766 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
18767 Use gdb_run_cmd.
18768 * gdb.base/charsign.exp: Remove incorrect comment.
18769 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
18770 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
18771 gdb.base/start.exp: Use gdb_start_cmd.
18772
446ab585 187732007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 18774 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
18775
18776 * gdb.base/sigbpt.exp: Fix the message when skipping test.
18777 * gdb.base/signull.exp: Similarly.
18778
bbb88ebf
UW
187792007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18780
18781 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
18782 messages available to test cases (like chng-sym.exp).
18783
cb8c4a99
AS
187842007-03-14 Andreas Schwab <schwab@suse.de>
18785
18786 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18787 format changes.
18788
4e463ff5
DJ
187892007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
18790
18791 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
18792 (optimized_1): New.
18793 (main): Call optimized_1.
18794 (gdb2029): Correct typos. Call gdb2029_marker.
18795 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
18796 for gdb2029.
18797
b6db2c47
MK
187982007-03-12 Mark Kettenis <kettenis@gnu.org>
18799
18800 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
18801 as tabs. Remove redundant test pattern.
18802
70ed3737
UW
188032007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18804
18805 * gdb.base/long_long.exp: Accept optional symbol name in <...>
18806 for /a format output.
18807
47b67b60
DJ
188082007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
18809
18810 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
18811 collect output incrementally.
18812
b8953b0e
UW
188132007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18814
18815 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
18816 for -var-create lpcharacter test.
18817 * gdb.mi/mi2-var-cmd.exp: Likewise.
18818
7acd5c40
UW
188192007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18820
18821 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
18822 pass on targets where address zero is readable.
18823
9c6759c1
UW
188242007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18825
18826 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
18827 just a single architecture.
18828
a2f1aeb4
UW
188292007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18830
18831 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
18832 (fetch_all_registers): New function, uses gdb_test_multiple and
18833 exp_continue to fetch inferior output line-by-line.
18834 Replace all uses of do_get_all_registers by fetch_all_registers.
18835
46579ac2
UW
188362007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18837
18838 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
18839 in target_info.
18840
fc133f24
MS
188412007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18842
a9c64011 18843 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
18844 consistancy; add a default (timeout) case.
18845
7646a51d
MS
188462007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18847
18848 * gdb.base/watchpoint.exp: Fix truncated comment.
18849
dcfff61f
MS
188502007-03-02 Michael Snyder <michael.snyder@palmsource.com>
18851
18852 * Makefile.in: Remove spurious single-quotes from sed command.
18853
664e3ee9
DJ
188542007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
18855
18856 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
18857 func.
18858 * gdb.mi/mi2-var-cmd.exp: Likewise.
18859
d7cc6f2f
JB
188602007-02-27 Joel Brobecker <brobecker@adacore.com>
18861
a9c64011
AS
18862 * gdb.dwarf2/dw2-producer.S: New file.
18863 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
18864
188652007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
18866
18867 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18868 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18869 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18870 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18871 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
18872 Revert tests to use mi_gdb_test and include value field in output
18873 of -var-create.
18874
93d42b30
DJ
188752007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18876
18877 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
18878
c499ed39
DJ
188792007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
18880
18881 * gdb.base/maint.exp: Remove full paths from test names.
18882 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
18883 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
18884
9836f81b
JB
188852007-02-27 Joel Brobecker <brobecker@adacore.com>
18886
18887 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
18888
c74d0ad8
DJ
188892007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18890
18891 * gdb.server/server-mon.exp: New test.
18892
2711e456
DJ
188932007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18894
18895 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
18896
ff6f572f
DJ
188972007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
18898
18899 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
18900 register capitalization.
18901
fada3feb
DP
189022007-02-13 Denis Pilat <denis.pilat@st.com>
18903
18904 * gdb.mi/mi-var-invalidate.exp: New file.
18905
fb1e4ffc
DJ
189062007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18907
18908 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
18909
3da939d7
DJ
189102007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18911
18912 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
18913
123dc839
DJ
189142007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
18915
18916 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
18917 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
18918
877e3645 189192007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
18920
18921 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
18922 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
18923 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
18924 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
18925 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 18926 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 18927 Update tests to include value field in output of -var-create.
a9c64011 18928
3c0a2960
AS
189292007-02-08 Andreas Schwab <schwab@suse.de>
18930
18931 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
18932
108546a0
DJ
189332007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
18934
18935 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
18936 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
18937
d701dcab
DP
189382007-02-02 Denis Pilat <denis.pilat@st.com>
18939
18940 * gdb.threads/threadapply.exp: check that frame is not changed by
18941 the thread apply all command.
18942
783e3e2f
AS
189432007-01-31 Andreas Schwab <schwab@suse.de>
18944
6d9c3a87
AS
18945 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18946
3c50d7b9
AS
18947 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
18948 in the dwarf sections.
18949 * gdb.dwarf2/mac-fileno.S: Likewise.
18950
783e3e2f
AS
18951 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
18952 bspstore register on ia64.
18953
78ff580e
AS
189542007-01-29 Andreas Schwab <schwab@suse.de>
18955
cc8e9b12
AS
18956 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
18957 "frame-begin" annotation.
18958
78ff580e
AS
18959 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
18960 number of "frames-invalid" annotations.
18961
704a4f78
DJ
189622007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18963
18964 * gdb.base/commands.exp: Call if_commands_test.
18965 (gdb_test_no_prompt, if_commands_test): New.
18966
e741bf94
MK
189672007-01-28 Mark Kettenis <kettenis@gnu.org>
18968
18969 * gdb.threads/sigthread.c (NSIGS): Make bigger.
18970
474d0ad3
AS
189712007-01-27 Andreas Schwab <schwab@suse.de>
18972
18973 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
18974 .short/.int/.quad in the dwarf sections.
18975 * gdb.dwarf2/dw2-intercu.S: Likewise.
18976 * gdb.dwarf2/dw2-intermix.S: Likewise.
18977
e784b426
JK
189782007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18979
18980 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
18981 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
18982 array.
e784b426
JK
18983 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
18984 * gdb.base/setvar.exp: Likewise.
18985
37f08e04
AS
189862007-01-26 Andreas Schwab <schwab@suse.de>
18987
9a01813a
AS
18988 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
18989 test.
18990
37f08e04
AS
18991 * gdb.base/multi-forks.exp ("restart $i"): Also match
18992 __kernel_syscall_via_break.
18993
6e2a9270
VP
189942007-01-24 Vladimir Prus <vladimir@codesourcery.com>
18995
18996 * lib/mi-support.exp (mi_delete_varobj): New.
18997 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
18998 testcase.
18999 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
19000 (main): Call the above.
19001 (reference_update_test, base_in_reference_test)
19002 (reference_to_pointer): Delete the created varobjs.
a9c64011 19003
e515b470
DJ
190042007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
19005
19006 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
19007 * configure: Regenerated.
19008 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
19009 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
19010 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
19011 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
19012 * lib/gdb.exp (gdb_skip_xml_test): New function.
19013
08d8bcd7
DJ
190142007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
19015
19016 * gdb.base/sigrepeat.exp: Correct error message.
19017
190182007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
19019 Daniel Jacobowitz <dan@codesourcery.com>
19020
19021 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
19022 gdb.arch/i386-gnu-cfi-asm.S: New files.
19023
97c3f1f3
JK
190242007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19025
19026 * lib/gdb.exp: Abort on missing `site.exp'.
19027
cb1df416
DJ
190282007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19029 Daniel Jacobowitz <dan@codesourcery.com>
19030
19031 * gdb.base/included.c, gdb.base/included.exp,
19032 gdb.base/included.h: New files.
19033
35990120
DJ
190342007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19035
19036 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
19037 (maximize_rlimit): Reduce limits on 64-bit systems.
19038
6e81a116 190392007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
19040
19041 From Marcus Deuling <deuling@de.ibm.com>:
19042 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
19043 every case.
19044
6c3c41f3
NR
190452007-01-13 Nick Roberts <nickrob@snap.net.nz>
19046
19047 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
19048 (test_path_specification): Use objdir instead of srcdir to always
19049 get an absolute filename.
19050
2f12c312
DJ
190512007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
19052
19053 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
19054
81121995
VP
190552007-01-11 Vladimir Prus <vladimir@codesourcery.com>
19056
19057 * gdb.mi/mi-var-cp.cc (reference_update_tests):
19058 Make sure the variable we're using is in scope.
19059 (reference_to_pointer): Likewise.
19060
4741b737
DJ
190612007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19062
19063 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
19064 has no debug information.
19065
054410c3
DJ
190662007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19067
19068 * gdb.base/annota1.exp: Remove extra send_gdb.
19069
818f79f6
DJ
190702007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19071
19072 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
19073
f7a6bb70
DJ
190742007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19075
19076 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
19077
57e66780
DJ
190782007-01-08 Nick Roberts <nickrob@snap.net.nz>
19079 Daniel Jacobowitz <dan@codesourcery.com>
19080
19081 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
19082 lcharacter or linteger change. Correct duplicated test name.
19083 * gdb.mi/mi2-var-cmd.exp: Likewise.
19084
3d799a95
DJ
190852007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
19086
19087 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
19088
190892007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 19090
a9c64011
AS
19091 * gdb.base/nofield.c: New file.
19092 * gdb.base/nofield.exp: New testcase.
51679ba9 19093
eafb94e8
NR
190942007-01-05 Nick Roberts <nickrob@snap.net.nz>
19095
19096 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
19097
19098 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
19099 test.
19100
5e572bb4
DJ
191012007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19102
19103 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
19104
74a44383
DJ
191052007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19106
19107 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
19108 when continuing.
19109
1b572db9
DJ
191102007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19111
19112 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
19113 Expect ".exe" extension.
19114
381bc39b
DJ
191152007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19116
19117 * gdb.base/charset.exp: Add explicit filename to break.
19118 * gdb.base/dbx.exp: Add explicit filename to breaks.
19119
2b70e4c6
DJ
191202007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19121
19122 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
19123 * gdb.mi/mi2-file.exp: Likewise.
19124
303b6f5d
DJ
191252007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19126
19127 Implement specification of MI tests as comments
19128 in C and C++ sources.
19129 * lib/mi-support.exp (mi_autotest_data): New variable.
19130 (mi_autotest_source): New variable.
19131 (count_newlines, mi_prepare_inline_tests)
19132 (mi_get_inline_test, mi_continue_to_line)
19133 (mi_run_inline_test, mi_tbreak)
19134 (mi_send_resuming_command, mi_wait_for_stop): New functions.
19135 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
19136 Run inline tests.
19137 * gdb.mi/mi-var-cp.cc: Define tests here.
19138
23da0d94
VP
191392007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19140
19141 Simplify usage of mi_continue_to.
19142 * lib/mi-support.exp (mi_runto_helper): Renamed
19143 from mi_runto, added new parameter 'run_or_continue'.
19144 (mi_runto): Use mi_runto_helper.
19145 (mi_continue_to): Accept just function name as parameter.
19146 Use mi_runto_helper.
19147 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
19148 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 19149
f9e18282
JB
191502006-01-04 Joel Brobecker <brobecker@adacore.com>
19151
19152 Make this testcase a bit more realistic. The current code
19153 is too simplistic, and allows the compiler to optimize out
19154 some of the entities we need for this testcase.
19155 * gdb.ada/null_record/bar.ads (Void_Star): New type.
19156 (Do_Nothing): Add extra parameter.
19157 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
19158 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
19159 by using a variable of type Void_Star.
19160
fd678c65
JB
191612006-01-04 Joel Brobecker <brobecker@adacore.com>
19162
19163 * gdb.ada/catch_ex/foo.adb: New file.
19164 * gdb.ada/catch_ex.exp: New testcase.
19165
05cfdb42
DJ
191662007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
19167
19168 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
19169 pass --image-base to linker.
19170
2e03ee74
DJ
191712007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19172 Daniel Jacobowitz <dan@codesourcery.com>
19173
19174 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
19175 secondary prompts.
19176
0d5de010
DJ
191772007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19178
19179 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
19180 output. Test the types of members and member pointers.
19181 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
19182 gdb/2092.
19183 * gdb.cp/member-ptr.exp: Search for a comment instead of a
19184 statement. Enable for GCC. Update expected output for some tests
19185 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
19186 layout.
19187 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
19188 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
19189 (Diamond::vget_base): New.
19190 (main): Add new tests.
19191 * gdb.cp/printmethod.exp: Update expected output for member functions.
19192 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
19193 print pEe->D::vg().
19194
61a771aa
DJ
191952007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19196
19197 * gdb.threads/tls.exp: Allow stops in sem_post.
19198
2fa63963
DJ
191992006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
19200
19201 * gdb.base/annota1.exp: Allow .*printf in backtraces.
19202 * gdb.base/annota3.exp: Likewise.
19203 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
19204 again (instead of timing out).
19205 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
19206 GCC bug 26475.
19207 * gdb.java/jmisc.exp: Adjust to work with method signatures including
19208 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
19209 test from jmisc1.exp.
19210 * gdb.java/jmisc1.exp: Delete.
19211 * gdb.java/jprint.exp: Adjust to work with method signatures including
19212 return types.
19213 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
19214 * gdb.threads/linux-dp.exp: Don't be confused by program output.
19215 * lib/java.exp (compile_java_from_source): Pass the correct type
19216 to target_compile.
19217
5eefc2b7
JB
192182006-12-31 Joel Brobecker <brobecker@adacore.com>
19219
19220 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
19221 (stack_align_edx): New function.
19222 (stack_align_eax): New function.
19223 (main): Add calls to stack_align_edx and stack_align_eax.
19224 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
19225 Add testing for the cases where the register used during a stack
19226 realignment is edx. Same for eax.
19227
227c54da
DJ
192282006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
19229
19230 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
19231 and generic PE targets.
19232
cab8ac94
JB
192332006-12-29 Joel Brobecker <brobecker@adacore.com>
19234
19235 * gdb.ada/array_return.exp: Update copyright date list.
19236
ba54f318
JB
192372006-12-27 Joel Brobecker <brobecker@adacore.com>
19238
19239 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
19240 (Create_Small_Float_Vector): New function.
19241 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
19242 function body.
19243 * gdb.ada/array_return/p.adb: Use new type and function from
19244 package Pck.
19245 * gdb.ada/array_return.exp: Add a test verifying that GDB is
19246 able to print the value returned by a function returning an
19247 array of float.
19248
6b7a35dd
JB
192492006-12-20 Joel Brobecker <brobecker@adacore.com>
19250
19251 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
19252 The associated tests should be PASSing.
19253
038224f6
VP
192542006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19255
19256 Test for base in references.
19257 * gdb.mi/mi-var-cp.cc: Add test code.
19258 * gdb.mi/mi-var-cp.exp: Test for bases in references.
19259 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
19260 * gdb.mi/mi2-watch.exp: Likewise.
19261 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
19262 (mi_list_varobj_children): New function.
19263
b26ed50d
VP
192642006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19265
19266 * lib/mi-support.exp
19267 (mi_runto): Accept "()" after function name.
19268 (mi_create_varobj): New function.
19269 (mi_varobj_update): New function.
19270 (mi_Check_varobj_value): New function.
19271 * gdb.mi/mi-var-cp.exp: New file.
19272 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 19273
08232497
DJ
192742006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
19275
19276 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
19277 gdb.base/weaklib2.c: New files.
19278
d394c993 192792006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 19280
ac6c2fba
NS
19281 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
19282 info. Adjust test names.
19283
8ec659a0 19284 * gdb.base/break.c (main): Move position of malloc.
d394c993 19285 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 19286
acd65feb
VP
192872006-11-28 Vladimir Prus <vladimir@codesourcery.com>
19288
19289 * gdb.mi/mi-var-cmd.exp: Check -var-update after
19290 assignement of arrays and function pointers.
19291 * gdb.mi/var-cmd.c: Add declaration necessary for above
19292 tests.
19293
f556d5e5
NS
192942006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19295
19296 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
19297
19298 * gdb.threads/linux-dp.exp: Read thread table before and after
19299 creating each philosopher and verify it.
19300
697bc68d
NS
193012006-11-27 Nathan Sidwell <nathan@codesourcery.com>
19302 Paul Brook <paul@codesourcery.com>
19303 Daniel Jacobowitz <dan@codesourcery.com>
19304
19305 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 19306 main to remove duplication. Add start function of the form
697bc68d
NS
19307 '_*start[1-9]*'. Add RVDS start function.
19308
29d73ae4
DJ
193092006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19310
19311 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
19312
c1d88655
UW
193132006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19314
19315 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
19316 * gdb.asm/spu.inc: New file.
19317 * gdb.base/term.exp: Disable if [target_info exists noargs].
19318 * gdb.gdb/complaints.exp: Disable if ![isnative].
19319 * gdb.gdb/selftest.exp: Likewise.
19320 * gdb.gdb/observer.exp: Likewise.
19321 * gdb.gdb/xfullpath.exp: Likewise.
19322 * gdb.base/attach.exp: Disable on SPU target.
19323 * gdb.cp/bs145503.exp: Likewise.
19324 * gdb.cp/exception.exp: Likewise.
19325 * gdb.cp/userdef.exp: Likewise.
19326
32a13b1a
DJ
193272006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
19328
19329 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
19330
d8295fe9
VP
193312006-11-10 Vladimir Prus <vladimir@codesourcery.com>
19332
19333 * gdb.base/completion.exp: Fix completion tests for
19334 'info' and 'info '.
19335 * gdb.base/help.exp (help_test_raw, test_class_help)
19336 (test_prefix_command_help): Move...
19337 * lib/gdb.exp: Here.
19338 * gdb.base/main.exp: Adjust.
19339 * gdb.cp/maint.exp: Adjust.
19340 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 19341
8c394015
VP
193422006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19343
19344 * gdb.stabs/weird.exp (print_weird_var): Use
19345 gdb_test_multiple instead of gdb_expect.
19346
027fc1bc
VP
193472006-11-09 Vladimir Prus <vladimir@codesourcery.com>
19348
19349 * gdb.base/help.exp (help_test_raw): New.
19350 (test_class_help): New.
19351 (test_prefix_command_help): New.
19352 Adjust testcases.
19353
67609209
FR
193542006-11-09 Christophe Lyon <christophe.lyon@st.com>
19355
19356 * gdb.base/constvars.c (main): Write to crass and crips, so that
19357 they are allocated by the compiler.
19358
f73adfeb
AS
193592006-10-27 Andreas Schwab <schwab@suse.de>
19360
19361 * gdb.base/multi-forks.exp: Use "detach fork" instead of
19362 "detach-fork".
19363
2f83a18e
DJ
193642006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
19365
19366 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
19367 of patterns.
19368
94277a38
DJ
193692006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19370
19371 * gdb.base/sepdebug.exp: Remove debug format test.
19372 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
19373 Handle no-symtab.
19374 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
19375
5bd2f6e2
DJ
193762006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
19377
19378 * gdb.threads/manythreads.c (thread_function, main): Don't cast
19379 int to pointer or pointer to int.
19380 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
19381
8c008720
DJ
193822006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
19383
19384 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
19385
9e35dae4
DJ
193862006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19387
19388 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
19389
d9639e13
DJ
193902006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
19391
19392 PR c++/2116
19393 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
19394
390a1bd0
JB
193952006-10-06 Joel Brobecker <brobecker@adacore.com>
19396
19397 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
19398 the corresponding bug has been fixed in GDB (PR/2018).
19399
dd920c33
JB
194002006-10-06 Joel Brobecker <brobecker@adacore.com>
19401
19402 * gdb.base/subst.exp: New testcase.
19403
53bbefe9
JB
194042006-10-06 Joel Brobecker <brobecker@adacore.com>
19405
19406 * gdb.ada/array_return/pck.ads: Add copyright notice.
19407 * gdb.ada/array_return/pck.adb: Likewise.
19408 * gdb.ada/array_return/p.adb: Likewise.
19409 * gdb.ada/exec_changed/first.adb: Likewise.
19410 * gdb.ada/exec_changed/second.adb: Likewise.
19411
09851417
JB
194122006-10-06 Joel Brobecker <brobecker@adacore.com>
19413
19414 * gdb.ada/watch_arg/watch.adb: New file.
19415 * gdb.ada/watch_arg.exp: New testcase.
19416
041bf30d
VP
194172006-10-02 Vladimir Prus <vladimir@codesourcery.com>
19418
19419 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 19420 via string_to_regexp.
041bf30d 19421 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 19422
f286fbdd 194232006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
19424
19425 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
19426 Remove unused / obsolete files.
19427
7c07f349
NR
194282006-09-19 Nick Roberts <nickrob@snap.net.nz>
19429
19430 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
19431
cd5ff84a
VP
194322006-09-17 Vladimir Prus <vladimir@codesourcery.com>
19433
19434 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
19435 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 19436 the number of frames.
cd5ff84a 19437
ae018d1a
DJ
194382006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
19439
19440 * gdb.base/args.c (main): Add breakpoint marker.
19441 * gdb.base/args.exp: Use args_test for tests. Add new tests which
19442 really test empty arguments.
19443 (args_load): Delete.
19444 (args_test): New.
19445
b399c549
NR
194462006-09-13 Nick Roberts <nickrob@snap.net.nz>
19447
19448 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 19449 check for one file.
b399c549 19450
2ab1eb7a
VP
194512006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
19452
19453 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
19454 HIGH_FRAME argument to -stack-list-locals can be larger than
19455 the number of frames.
a9c64011 19456
476308bf
FF
194572006-08-18 Fred Fish <fnf@specifix.com>
19458
19459 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
19460 '$' in front of skip_vmx_tests_saved when setting that.
19461
8625200f
AS
194622006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
19463
19464 * gdb.base/trace-commands.exp: New file.
19465
089ec8f1
DJ
194662006-08-10 Joel Brobecker <brobecker@adacore.com>
19467 Daniel Jacobowitz <dan@codesourcery.com>
19468
19469 * gdb.base/step-bt.exp: Make hexadecimal address optional in
19470 expected output of the backtrace commands.
19471
b60f0898
JB
194722006-08-09 Joel Brobecker <brobecker@adacore.com>
19473
19474 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
19475 untested followed by return combination.
19476 * gdb.arch/altivec-regs.exp: Likewise.
19477 * gdb.arch/e500-abi.exp: Likewise.
19478 * gdb.arch/e500-regs.exp: Likewise.
19479 * gdb.arch/gdb1291.exp: Likewise.
19480 * gdb.arch/gdb1431.exp: Likewise.
19481 * gdb.arch/gdb1558.exp: Likewise.
19482 * gdb.arch/i386-prologue.exp: Likewise.
19483 * gdb.arch/i386-unwind.exp: Likewise.
19484 * gdb.asm/asm-source.exp: Likewise.
19485 * gdb.base/a2-run.exp: Likewise.
19486 * gdb.base/advance.exp: Likewise.
19487 * gdb.base/all-bin.exp: Likewise.
19488 * gdb.base/annota1.exp: Likewise.
19489 * gdb.base/annota3.exp: Likewise.
19490 * gdb.base/args.exp: Likewise.
19491 * gdb.base/arithmet.exp: Likewise.
19492 * gdb.base/assign.exp: Likewise.
19493 * gdb.base/async.exp: Likewise.
19494 * gdb.base/attach.exp: Likewise.
19495 * gdb.base/bang.exp: Likewise.
19496 * gdb.base/bigcore.exp: Likewise.
19497 * gdb.base/bitfields.exp: Likewise.
19498 * gdb.base/bitfields2.exp: Likewise.
19499 * gdb.base/break.exp: Likewise.
19500 * gdb.base/call-sc.exp: Likewise.
19501 * gdb.base/call-strs.exp: Likewise.
19502 * gdb.base/callfuncs.exp: Likewise.
19503 * gdb.base/checkpoint.exp: Likewise.
19504 * gdb.base/chng-syms.exp: Likewise.
19505 * gdb.base/code-expr.exp: Likewise.
19506 * gdb.base/commands.exp: Likewise.
19507 * gdb.base/completion.exp: Likewise.
19508 * gdb.base/cond-expr.exp: Likewise.
19509 * gdb.base/condbreak.exp: Likewise.
19510 * gdb.base/consecutive.exp: Likewise.
19511 * gdb.base/constvars.exp: Likewise.
19512 * gdb.base/corefile.exp: Likewise.
19513 * gdb.base/cvexpr.exp: Likewise.
19514 * gdb.base/dbx.exp: Likewise.
19515 * gdb.base/define.exp: Likewise.
19516 * gdb.base/detach.exp: Likewise.
19517 * gdb.base/display.exp: Likewise.
19518 * gdb.base/dump.exp: Likewise.
19519 * gdb.base/ena-dis-br.exp: Likewise.
19520 * gdb.base/ending-run.exp: Likewise.
19521 * gdb.base/environ.exp: Likewise.
19522 * gdb.base/eval-skip.exp: Likewise.
19523 * gdb.base/exprs.exp: Likewise.
19524 * gdb.base/fileio.exp: Likewise.
19525 * gdb.base/finish.exp: Likewise.
19526 * gdb.base/float.exp: Likewise.
19527 * gdb.base/foll-exec.exp: Likewise.
19528 * gdb.base/foll-fork.exp: Likewise.
19529 * gdb.base/foll-vfork.exp: Likewise.
19530 * gdb.base/freebpcmd.exp: Likewise.
19531 * gdb.base/funcargs.exp: Likewise.
19532 * gdb.base/gcore.exp: Likewise.
19533 * gdb.base/gdb1090.exp: Likewise.
19534 * gdb.base/gdb1250.exp: Likewise.
19535 * gdb.base/huge.exp: Likewise.
19536 * gdb.base/info-proc.exp: Likewise.
19537 * gdb.base/interrupt.exp: Likewise.
19538 * gdb.base/jump.exp: Likewise.
19539 * gdb.base/langs.exp: Likewise.
19540 * gdb.base/lineinc.exp: Likewise.
19541 * gdb.base/list.exp: Likewise.
19542 * gdb.base/logical.exp: Likewise.
19543 * gdb.base/long_long.exp: Likewise.
19544 * gdb.base/macscp.exp: Likewise.
19545 * gdb.base/maint.exp: Likewise.
19546 * gdb.base/mips_pro.exp: Likewise.
19547 * gdb.base/miscexprs.exp: Likewise.
19548 * gdb.base/multi-forks.exp: Likewise.
19549 * gdb.base/opaque.exp: Likewise.
19550 * gdb.base/overlays.exp: Likewise.
19551 * gdb.base/pc-fp.exp: Likewise.
19552 * gdb.base/pointers.exp: Likewise.
19553 * gdb.base/printcmds.exp: Likewise.
19554 * gdb.base/psymtab.exp: Likewise.
19555 * gdb.base/ptype.exp: Likewise.
19556 * gdb.base/recurse.exp: Likewise.
19557 * gdb.base/relational.exp: Likewise.
19558 * gdb.base/relocate.exp: Likewise.
19559 * gdb.base/remote.exp: Likewise.
19560 * gdb.base/reread.exp: Likewise.
19561 * gdb.base/restore.exp: Likewise.
19562 * gdb.base/return.exp: Likewise.
19563 * gdb.base/return2.exp: Likewise.
19564 * gdb.base/scope.exp: Likewise.
19565 * gdb.base/sect-cmd.exp: Likewise.
19566 * gdb.base/sep.exp: Likewise.
19567 * gdb.base/sepdebug.exp: Likewise.
19568 * gdb.base/setshow.exp: Likewise.
19569 * gdb.base/setvar.exp: Likewise.
19570 * gdb.base/sigall.exp: Likewise.
19571 * gdb.base/sigbpt.exp: Likewise.
19572 * gdb.base/signals.exp: Likewise.
19573 * gdb.base/signull.exp: Likewise.
19574 * gdb.base/sizeof.exp: Likewise.
19575 * gdb.base/solib.exp: Likewise.
19576 * gdb.base/step-line.exp: Likewise.
19577 * gdb.base/step-test.exp: Likewise.
19578 * gdb.base/structs.exp: Likewise.
19579 * gdb.base/structs2.exp: Likewise.
19580 * gdb.base/term.exp: Likewise.
19581 * gdb.base/twice.exp: Likewise.
19582 * gdb.base/until.exp: Likewise.
19583 * gdb.base/varargs.exp: Likewise.
19584 * gdb.base/volatile.exp: Likewise.
19585 * gdb.base/watchpoint.exp: Likewise.
19586 * gdb.base/whatis-exp.exp: Likewise.
19587 * gdb.base/whatis.exp: Likewise.
19588 * gdb.cp/ambiguous.exp: Likewise.
19589 * gdb.cp/annota2.exp: Likewise.
19590 * gdb.cp/annota3.exp: Likewise.
19591 * gdb.cp/bool.exp: Likewise.
19592 * gdb.cp/breakpoint.exp: Likewise.
19593 * gdb.cp/casts.exp: Likewise.
19594 * gdb.cp/class2.exp: Likewise.
19595 * gdb.cp/classes.exp: Likewise.
19596 * gdb.cp/cplusfuncs.exp: Likewise.
19597 * gdb.cp/ctti.exp: Likewise.
19598 * gdb.cp/derivation.exp: Likewise.
19599 * gdb.cp/exception.exp: Likewise.
19600 * gdb.cp/gdb1355.exp: Likewise.
19601 * gdb.cp/hang.exp: Likewise.
19602 * gdb.cp/inherit.exp: Likewise.
19603 * gdb.cp/local.exp: Likewise.
19604 * gdb.cp/m-data.exp: Likewise.
19605 * gdb.cp/m-static.exp: Likewise.
19606 * gdb.cp/member-ptr.exp: Likewise.
19607 * gdb.cp/method.exp: Likewise.
19608 * gdb.cp/misc.exp: Likewise.
19609 * gdb.cp/namespace.exp: Likewise.
19610 * gdb.cp/overload.exp: Likewise.
19611 * gdb.cp/ovldbreak.exp: Likewise.
19612 * gdb.cp/pr-1023.exp: Likewise.
19613 * gdb.cp/pr-1210.exp: Likewise.
19614 * gdb.cp/pr-574.exp: Likewise.
19615 * gdb.cp/printmethod.exp: Likewise.
19616 * gdb.cp/psmang.exp: Likewise.
19617 * gdb.cp/ref-params.exp: Likewise.
19618 * gdb.cp/ref-types.exp: Likewise.
19619 * gdb.cp/rtti.exp: Likewise.
19620 * gdb.cp/templates.exp: Likewise.
19621 * gdb.cp/try_catch.exp: Likewise.
19622 * gdb.cp/userdef.exp: Likewise.
19623 * gdb.cp/virtfunc.exp: Likewise.
19624 * gdb.disasm/am33.exp: Likewise.
19625 * gdb.disasm/h8300s.exp: Likewise.
19626 * gdb.disasm/mn10300.exp: Likewise.
19627 * gdb.disasm/sh3.exp: Likewise.
19628 * gdb.disasm/t01_mov.exp: Likewise.
19629 * gdb.disasm/t02_mova.exp: Likewise.
19630 * gdb.disasm/t03_add.exp: Likewise.
19631 * gdb.disasm/t04_sub.exp: Likewise.
19632 * gdb.disasm/t05_cmp.exp: Likewise.
19633 * gdb.disasm/t06_ari2.exp: Likewise.
19634 * gdb.disasm/t07_ari3.exp: Likewise.
19635 * gdb.disasm/t08_or.exp: Likewise.
19636 * gdb.disasm/t09_xor.exp: Likewise.
19637 * gdb.disasm/t10_and.exp: Likewise.
19638 * gdb.disasm/t11_logs.exp: Likewise.
19639 * gdb.disasm/t12_bit.exp: Likewise.
19640 * gdb.disasm/t13_otr.exp: Likewise.
19641 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
19642 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
19643 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19644 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
19645 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
19646 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
19647 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
19648 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
19649 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
19650 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
19651 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
19652 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
19653 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
19654 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
19655 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
19656 * gdb.mi/gdb701.exp: Likewise.
19657 * gdb.mi/gdb792.exp: Likewise.
19658 * gdb.mi/mi-basics.exp: Likewise.
19659 * gdb.mi/mi-break.exp: Likewise.
19660 * gdb.mi/mi-cli.exp: Likewise.
19661 * gdb.mi/mi-console.exp: Likewise.
19662 * gdb.mi/mi-disassemble.exp: Likewise.
19663 * gdb.mi/mi-eval.exp: Likewise.
19664 * gdb.mi/mi-file.exp: Likewise.
19665 * gdb.mi/mi-read-memory.exp: Likewise.
19666 * gdb.mi/mi-regs.exp: Likewise.
19667 * gdb.mi/mi-return.exp: Likewise.
19668 * gdb.mi/mi-simplerun.exp: Likewise.
19669 * gdb.mi/mi-stack.exp: Likewise.
19670 * gdb.mi/mi-stepi.exp: Likewise.
19671 * gdb.mi/mi-syn-frame.exp: Likewise.
19672 * gdb.mi/mi-until.exp: Likewise.
19673 * gdb.mi/mi-var-block.exp: Likewise.
19674 * gdb.mi/mi-var-child.exp: Likewise.
19675 * gdb.mi/mi-var-cmd.exp: Likewise.
19676 * gdb.mi/mi-var-display.exp: Likewise.
19677 * gdb.mi/mi-watch.exp: Likewise.
19678 * gdb.mi/mi2-basics.exp: Likewise.
19679 * gdb.mi/mi2-break.exp: Likewise.
19680 * gdb.mi/mi2-cli.exp: Likewise.
19681 * gdb.mi/mi2-console.exp: Likewise.
19682 * gdb.mi/mi2-disassemble.exp: Likewise.
19683 * gdb.mi/mi2-eval.exp: Likewise.
19684 * gdb.mi/mi2-file.exp: Likewise.
19685 * gdb.mi/mi2-read-memory.exp: Likewise.
19686 * gdb.mi/mi2-regs.exp: Likewise.
19687 * gdb.mi/mi2-return.exp: Likewise.
19688 * gdb.mi/mi2-simplerun.exp: Likewise.
19689 * gdb.mi/mi2-stack.exp: Likewise.
19690 * gdb.mi/mi2-stepi.exp: Likewise.
19691 * gdb.mi/mi2-syn-frame.exp: Likewise.
19692 * gdb.mi/mi2-until.exp: Likewise.
19693 * gdb.mi/mi2-var-block.exp: Likewise.
19694 * gdb.mi/mi2-var-child.exp: Likewise.
19695 * gdb.mi/mi2-var-cmd.exp: Likewise.
19696 * gdb.mi/mi2-var-display.exp: Likewise.
19697 * gdb.mi/mi2-watch.exp: Likewise.
19698 * gdb.stabs/exclfwd.exp: Likewise.
19699 * gdb.stabs/weird.exp: Likewise.
19700 * gdb.threads/gcore-thread.exp: Likewise.
19701 * gdb.trace/actions.exp: Likewise.
19702 * gdb.trace/backtrace.exp: Likewise.
19703 * gdb.trace/circ.exp: Likewise.
19704 * gdb.trace/collection.exp: Likewise.
19705 * gdb.trace/deltrace.exp: Likewise.
19706 * gdb.trace/infotrace.exp: Likewise.
19707 * gdb.trace/limits.exp: Likewise.
19708 * gdb.trace/packetlen.exp: Likewise.
19709 * gdb.trace/passc-dyn.exp: Likewise.
19710 * gdb.trace/passcount.exp: Likewise.
19711 * gdb.trace/report.exp: Likewise.
19712 * gdb.trace/save-trace.exp: Likewise.
19713 * gdb.trace/tfind.exp: Likewise.
19714 * gdb.trace/tracecmd.exp: Likewise.
19715 * gdb.trace/while-dyn.exp: Likewise.
19716 * gdb.trace/while-stepping.exp: Likewise.
19717
f4b618d1
JB
197182006-08-08 Joel Brobecker <brobecker@adacore.com>
19719
19720 * gdb.base/step-bt.c: New file.
19721 * gdb.base/step-bt.exp: New testcase.
19722
3d00d119
DJ
197232006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
19724
19725 * config/monitor.exp (gdb_load): Remove support for obsolete
19726 download-write-size.
19727 * gdb.base/remote.exp: Likewise. Update all callers of
19728 gdb_timed_load.
19729
017b5bd4
DJ
197302006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
19731
19732 * cursal.exp: Pass binfile to gdb_load.
19733
837c599d
DJ
197342006-08-01 Nathan Sidwell <nathan@codesourcery.com>
19735
19736 * gdb.base/cursal.exp: Add "" to gdb_load call.
19737
8dd4540b
MK
197382006-07-29 Mark Kettenis <kettenis@gnu.org>
19739
19740 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
19741 NetBSD/ELF targets.
19742
ab5c9f60
DJ
197432006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
19744
19745 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
19746 operator*.
19747
4c42eaff
DJ
197482006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
19749
19750 * gdb.base/completion.exp: Update for change in "file" behavior.
19751 * gdb.stabs/weird.exp: Likewise.
19752 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
19753 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
19754
0155cc76
NS
197552006-07-24 Nathan Sidwell <nathan@codesourcery.com>
19756
19757 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
19758 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
19759
16026cd7
AS
197602006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
19761
19762 * gdb.base/default.exp: Update source command error message.
19763 * gdb.base/help.exp: Update 'help source' message.
19764
16963cb6
DJ
197652006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
19766
19767 * gdb.cp/bs15503.exp: Update comment for no longer crashing
19768 test.
19769
6d7fd486
AS
197702006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
19771
19772 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
19773
29e8a844
DJ
197742006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19775
19776 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
19777
6afcfa39
DJ
197782006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
19779
19780 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
19781
267a692b
MK
197822006-07-17 Mark Kettenis <kettenis@gnu.org>
19783
19784 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
19785 *-*-openbsd* from targets for wich we expect ARM FPA floating
19786 point format.
19787
85d2fec4
NR
197882006-07-17 Nick Roberts <nickrob@snap.net.nz>
19789
19790 * gdb.cp/annota3.exp: Expect frame-begin annotation.
19791
197922006-07-17 Mark Kettenis <kettenis@gnu.org>
19793
19794 * gdb.base/annota3.exp: Expect frame-begin annotation.
19795
85b4c6e8
JB
197962006-07-14 Joel Brobecker <brobecker@adacore.com>
19797
19798 * gdb.base/help.exp: Adjust "help unset" test to accept
19799 any list of unset commands.
19800
fb933624
DJ
198012006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
19802 Daniel Jacobowitz <dan@codesourcery.com>
19803
19804 * gdb.cp/ref-params.exp: New test.
19805 * gdb.cp/ref-params.cc: New source file.
19806 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
19807
1dff4b64
MK
198082006-07-08 Mark Kettenis <kettenis@gnu.org>
19809
19810 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
19811 spaces/tabs in regular expressions since they might not be there.
19812
40d2e0e3
AS
198132006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
19814
19815 * gdb.base/ifelse.exp: New file.
19816
f6c957d2
NS
198172006-07-04 Nathan Sidwell <nathan@codesourcery.com>
19818
19819 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
19820 line.
19821 * gdb.base/huge.exp: Loop over compilation to find a size that
19822 is acceptable.
19823 * gdb.base/remote.exp: Correct expected strings.
19824 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
19825
b9c5a23d
DJ
198262006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19827
19828 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
19829
9af2e58d
DJ
198302006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19831
19832 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
19833 native.
19834
30930ca5
DJ
198352006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19836
19837 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
19838 enable stabs testing.
19839
aa32fa1d
DJ
198402006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19841
bd4a4c80 19842 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
19843 gdb_test_multiple does.
19844
321fef15
DJ
198452006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
19846
19847 * Makefile.in (host_alias): Remove.
19848 (target_alias): Use @target_noncanonical@.
19849 (site.exp): Don't set host_alias.
19850 * aclocal.m4: Remove contents. Include acx.m4.
19851 * configure: Regenerated.
19852 * configure.ac: Use ACX_NONCANONICAL_TARGET.
19853
e1c2defa
NS
198542006-06-13 Nathan Sidwell <nathan@codesourcery.com>
19855
e63b55d1
NS
19856 * lib/gdb.exp (gdb_load_cmd): New.
19857
5600ea19
NS
19858 * gdb.base/fileio.c: Add system(NULL) test.
19859 * gdb.base/fileio.exp: Check it.
19860
e1c2defa
NS
19861 * gdb.base/break.c: Add 10a breakpoint at }
19862 * gdb.base/break.exp: Add test for breakpoint at }
19863 * gdb.cp/anon-union.cc: Add code at end of function.
19864 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
19865 * gdb.mi/var-cmd.c: Add code at end of function.
19866 * gdb.mi/mi-var-display.exp: Adjust end of next.
19867 * gdb.mi/mi2-var-display.exp: Likewise.
19868 * gdb.base/fileio.c: Add stop function and insert calls at
19869 stopping places.
19870 * gdb.base/fileio.exp: Breakpoint stop function and remove
19871 explicit line number references.
19872
6c0112ec
JB
198732006-05-19 Joel Brobecker <brobecker@adacore.com>
19874
a9c64011
AS
19875 * gdb.base/del.exp (test_delete_alias): New function.
19876 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 19877
154189a4
FF
198782006-05-18 Fred Fish <fnf@specifix.com>
19879
19880 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
19881 required. Check for spurious output after program exits normally.
19882
582e64c2
FF
198832006-05-17 Fred Fish <fnf@specifix.com>
19884
19885 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
19886 gdb_load, so it works in the simulator.
19887
8ef6493a
FF
198882006-05-11 Fred Fish <fnf@specifix.com>
19889
19890 * gdb.base/bang.exp: Ignore unexpected output between the
19891 "program exited normally" and the gdb prompt, as many other
19892 tests do.
19893
692b141c
MK
198942006-05-07 Mark Kettenis <kettenis@gnu.org>
19895
19896 * gdb.base/help.exp: Make "delete checkpoint" part option for
19897 "help d" and "help delete" tests.
19898
540b8a30
UW
198992006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19900
a9c64011 19901 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
19902 expected output in some mi_gdb_test statements.
19903 * gdb.mi/mi2-basics.exp: Likewise.
19904
9b6462d9
JB
199052006-05-05 Joel Brobecker <brobecker@adacore.com>
19906
19907 * gdb.base/del.c: New file.
19908 * gdb.base/del.exp: New testcase.
19909
954de43b
DM
199102006-05-05 David S. Miller <davem@sunset.davemloft.net>
19911
19912 * gdb.base/break.exp: Do not assume a breakpoint on
19913 main will actually be in $srcfile when optimizing.
1303f75e
DM
19914 * gdb.base/savedregs.exp: Do not require that the dummy
19915 frame location match up to a symbol and source file location.
c3242428
DM
19916 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
19917 will get printed without a mi_cmd_data_list_register_values prefix.
19918 (*-data-list-register-*): Correct regular expressions to expect the new
19919 pseudo d? floating point registers.
19920 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 19921
c7e64c9a
DJ
199222006-05-05 Christophe Lyon <christophe.lyon@st.com>
19923
19924 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
19925 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
19926 is allocated by the compiler.
19927 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
19928 anons, e, anone to force their allocation by the compiler.
19929
199302006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
19931
19932 * gdb.base/help.exp: Update expected text for help d and
19933 help delete.
19934
27ce9a6d
MK
199352006-05-02 Mark Kettenis <kettenis@gnu.org>
19936
19937 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
19938 NetBSD/ELF targets.
19939
8608915f
MK
199402006-04-30 Mark Kettenis <kettenis@gnu.org>
19941
19942 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
19943 single-step breakpoint fails; make this a KFAIL on
19944 sparc*-*-openbsd*.
19945 * gdb.base/siginfo.exp: Likewise.
19946 * gdb.base/sigstep.exp (advance, advancei): Likewise.
19947
b8db102d
MS
199482006-04-26 Michael Snyder <msnyder@redhat.com>
19949
19950 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
19951 which may have to consume output from other forks.
19952 Add tests to make sure that "delete fork" succeeded.
19953
c702009a
MS
199542006-04-20 Michael Snyder <msnyder@redhat.com>
19955
19956 * 2006-03-22 Jim Blandy <jimb@redhat.com>
19957 Add support for the Renesas M32C and M16C.
19958
19959 * gdb.asm/asm-source.exp: Add m32c target.
19960 * gdb.asm/m32c.inc: Support for m32c target.
19961
e28493f2
AS
199622006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
19963
19964 * gdb.base/commands.exp (recursive_source_test): New test.
19965
880da185
DM
199662006-04-04 David S. Miller <davem@sunset.davemloft.net>
19967
19968 * gdb.base/float.exp: Add pattern for sparc targets.
19969
61d9b92f
DJ
199702006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19971
19972 * gdb.base/commands.exp (stray_arg0_test): New test.
19973
bd717df8
PB
199742006-03-30 Paul Brook <paul@codesourcery.com>
19975
19976 * gdb.mi/mi-until.exp: kfail broken until command.
19977 * gdb.mi/mi2-until.exp: Ditto.
19978
ec793d3c
NR
199792006-03-27 Nick Roberts <nickrob@snap.net.nz>
19980
19981 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
19982
831004b7
AO
199832006-03-08 Alexandre Oliva <aoliva@redhat.com>
19984
19985 * gdb.base/prelink.exp: Anchor tested-for regular expression
19986 on gdb prompt.
19987
effe49a0
PB
199882006-03-07 Paul Brook <paul@codesourcery.com>
19989
19990 * gdb.base/assign.exp: Correct fail message.
19991
e5461016
PB
199922006-03-07 Paul Brook <paul@codesourcery.com>
19993
19994 * lib/compiler.c: Extract armcc version number.
19995 * lib/compiler.cc: Ditto.
19996
fc91c6c2
PB
199972006-03-07 Paul Brook <paul@codesourcery.com>
19998
19999 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
20000 additional_flags=-w.
20001 * gdb.arch/altivec-regs.exp: Ditto.
20002 * gdb.arch/e500-abi.exp: Ditto.
20003 * gdb.arch/e500-regs.exp: Ditto.
20004 * gdb.base/all-bin.exp: Ditto.
20005 * gdb.base/annota1.exp: Ditto.
20006 * gdb.base/annota3.exp: Ditto.
20007 * gdb.base/args.exp: Ditto.
20008 * gdb.base/arithmet.exp: Ditto.
20009 * gdb.base/assign.exp: Ditto.
20010 * gdb.base/async.exp: Ditto.
20011 * gdb.base/bang.exp: Ditto.
20012 * gdb.base/break.exp: Ditto.
20013 * gdb.base/call-rt-st.exp: Ditto.
20014 * gdb.base/completion.exp: Ditto.
20015 * gdb.base/cond-expr.exp: Ditto.
20016 * gdb.base/condbreak.exp: Ditto.
20017 * gdb.base/consecutive.exp: Ditto.
20018 * gdb.base/define.exp: Ditto.
20019 * gdb.base/display.exp: Ditto.
20020 * gdb.base/ena-dis-br.exp: Ditto.
20021 * gdb.base/environ.exp: Ditto.
20022 * gdb.base/eval-skip.exp: Ditto.
20023 * gdb.base/info-proc.exp: Ditto.
20024 * gdb.base/jump.exp: Ditto.
20025 * gdb.base/logical.exp: Ditto.
20026 * gdb.base/long_long.exp: Ditto.
20027 * gdb.base/maint.exp: Ditto.
20028 * gdb.base/miscexprs.exp: Ditto.
20029 * gdb.base/pc-fp.exp: Ditto.
20030 * gdb.base/pointers.exp: Ditto.
20031 * gdb.base/relational.exp: Ditto.
20032 * gdb.base/reread.exp: Ditto.
20033 * gdb.base/sect-cmd.exp: Ditto.
20034 * gdb.base/sep.exp: Ditto.
20035 * gdb.base/sepdebug.exp: Ditto.
20036 * gdb.base/until.exp: Ditto.
20037 * gdb.base/whatis-exp.exp: Ditto.
20038 * gdb.cp/annota2.exp: Ditto.
20039 * gdb.cp/annota3.exp: Ditto.
20040 * gdb.trace/actions.exp: Ditto.
20041 * gdb.trace/backtrace.exp: Ditto.
20042 * gdb.trace/circ.exp: Ditto.
20043 * gdb.trace/collection.exp: Ditto.
20044 * gdb.trace/deltrace.exp: Ditto.
20045 * gdb.trace/infotrace.exp: Ditto.
20046 * gdb.trace/limits.exp: Ditto.
20047 * gdb.trace/packetlen.exp: Ditto.
20048 * gdb.trace/passc-dyn.exp: Ditto.
20049 * gdb.trace/passcount.exp: Ditto.
20050 * gdb.trace/report.exp: Ditto.
20051 * gdb.trace/save-trace.exp: Ditto.
20052 * gdb.trace/tfind.exp: Ditto.
20053 * gdb.trace/tracecmd.exp: Ditto.
20054 * gdb.trace/while-dyn.exp: Ditto.
20055 * gdb.trace/while-stepping.exp: Ditto.
20056 * lib/gdb.exp: Ditto.
20057 (gdb_compile): Handle nowarning option.
20058
5f4a23d9
AO
200592006-03-07 Alexandre Oliva <aoliva@redhat.com>
20060
20061 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
20062 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
20063 Rename executable to prelinkt. Don't re-prelink if we didn't
20064 get a core file. Test prelink -u exit status to tell whether
20065 prelinking failed. Use gdb_test_multiple.
20066
9733fc94
DJ
200672006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
20068
20069 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
20070 (do_tests): Call it.
20071
cc10cae3
AO
200722006-02-28 Alexandre Oliva <aoliva@redhat.com>
20073
20074 * gdb.base/prelink.exp: New test.
20075 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
20076
15c46491
WZ
200772006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
20078
20079 * gdb.fortran/derived-type.f90: New file.
20080 * gdb.fortran/derived-type.exp: New testcase.
20081
5c9f7ded
DJ
200822006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
20083
20084 * gdb.base/default.exp: Allow ';' as a directory separator.
20085
5b96932b
AS
200862006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20087
20088 * gdb.base/help.exp (help add-symbol-file): Update.
20089
1986bccd
AS
200902006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20091
20092 * gdb.base/help.exp (help load): Update expected results.
20093
a8b7528f
FF
200942006-02-19 Fred Fish <fnf@specifix.com>
20095
20096 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
20097 specifix hex value as part of results.
20098 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 20099
f8261448
FF
201002006-02-16 Fred Fish <fnf@specifix.com>
20101
20102 * gdb.base/whatis.c: Define variables using typedefs char_addr,
20103 ushort_addr, and slong_addr, so the typedefs are not optimized
20104 away.
20105 * gdb.base/whatis.exp: Add tests using type name for struct type,
20106 union type, enum type, and typedef.
a9c64011 20107
31d8bdd2
MK
201082006-02-13 Mark Kettenis <kettenis@gnu.org>
20109
20110 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
20111
34e41e63
JB
201122006-02-13 Jim Blandy <jimb@redhat.com>
20113
20114 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
20115 case where it takes two "next" commands to skip past the init
20116 call.
20117
ac6e4f31
FF
201182006-02-12 Fred Fish <fnf@specifix.com>
20119
20120 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
20121 to handle cases where it takes two "next" commands to skip
20122 past the init call.
20123
2db2d571
JB
201242006-02-07 Joel Brobecker <brobecker@adacore.com>
20125
20126 * gdb.ada/array_return.exp: Mark the last test as expected to fail
20127 on hppa32 targets.
20128
38fcd64c
DJ
201292006-02-06 Vladimir Prus <ghost@cs.msu.su>
20130
20131 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
20132 field.
20133
1315ad46
MK
201342006-01-29 Mark Kettenis <kettenis@gnu.org>
20135
20136 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
20137
5625b943
DJ
201382006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
20139
20140 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
20141 files.
20142
80df1bbe
DJ
201432006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
20144
20145 * gdb.cp/maint.exp: Set complaints to a positive value.
20146
9078e690
DJ
201472006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20148
20149 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
20150 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
20151 function name.
20152
9c903399
DJ
201532006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20154
20155 * gdb.base/checkpoint.c: Update copyright notice. Include
20156 <stdlib.h>.
20157
761ae4d6
JB
201582006-01-04 Jim Blandy <jimb@redhat.com>
20159
20160 * gdb.asm/asm-source.exp: Independently provide default values for
20161 asm-flags and debug-flags. Use 'string equal' to do the
20162 comparison, not the implicit expr's '==' operator. Remove
20163 now-unneeded assignments to asm-flags. In h8300 case, place
20164 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
20165
099ac3dd
MS
201662006-01-04 Michael Snyder <msnyder@redhat.com>
20167
20168 * gdb.base/checkpoint.c: New file.
20169 * gdb.base/checkpoint.exp: New file.
20170 * gdb.base/multi-fork.c: New file.
20171 * gdb.base/multi-fork.exp: New file.
20172 * gdb.base/pi.txt: New file (data for checkpoint.c test).
20173
f4d85314
FF
201742006-01-04 Fred Fish <fnf@specifix.com>
20175
20176 * gdb.base/ptype.c (foo): Add typedef.
20177 (intfoo): Add function.
20178 * gdb.base/ptype1.c: New file.
20179 * gdb.base/ptype.exp: Handle compilation and linking with two
20180 source files. Test that proper type for "foo" is found based
20181 on source context rather than first match found in symtabs.
20182
a1b06f35
MK
201832005-12-28 Mark Kettenis <kettenis@gnu.org>
20184
20185 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
20186 * gdb.asm/openbsd.inc: Indent commands.
20187
d082a1e2
MK
201882005-12-26 Mark Kettenis <kettenis@gnu.org>
20189
c65016bd
MK
20190 * gdb.base/freebpcmd.exp: Increase timeout.
20191
d082a1e2
MK
20192 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
20193
d3c32a0e
DJ
201942005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
20195
20196 * gdb.base/default.exp: Update check for "show version".
20197
9fdb1f50
RC
201982005-12-09 Randolph Chung <tausq@debian.org>
20199
20200 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
20201 * gdb.asm/pa64.inc: New file.
20202
5f2c56f7
RC
202032005-12-09 Randolph Chung <tausq@debian.org>
20204
20205 * gdb.asm/common.inc: Indent commands.
20206 * gdb.asm/asmsrc1.s: Likewise.
20207 * gdb.asm/asmsrc2.s: Likewise.
20208
8117349c
RC
202092005-12-09 Randolph Chung <tausq@debian.org>
20210
20211 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
20212 (get_addr_of_sym): Remove duplicate print.
20213 (gen_core): xfail hppa*-*-hpux*, update expected output.
20214 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
20215 * gdb.arch/pa64-nullify.s: New file.
20216
8f07f25a
RC
202172005-12-09 Randolph Chung <tausq@debian.org>
20218
20219 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
20220
55b39184
DJ
202212005-12-07 Christophe Lyon <christophe.lyon@st.com>
20222
20223 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
20224 code generation for these functions.
20225 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
20226 error message.
20227
31e2b00f
AS
202282005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
20229
20230 * gdb.base/help.exp (help b, help br, help bre, help brea)
20231 (help break): Update the expected message.
20232
c3d0b56e
SC
202332005-11-11 Stephane Carrez <stcarrez@nerim.fr>
20234
20235 * gdb.asm/m68hc11.inc: Setup the data section.
20236 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
20237 script for this test.
20238 (m6812-*-*): Likewise.
20239
36ae0ea9
RC
202402005-11-09 Randolph Chung <tausq@debian.org>
20241
20242 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
20243
9d6f42e9
WZ
202442005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
20245
20246 * gdb.base/break.exp: Fix a comment typo.
20247
e2126a14
EZ
202482005-11-03 Jim Blandy <jimb@redhat.com>
20249
a9c64011
AS
20250 Checked in by Elena Zannoni <ezannoni@redhat.com>
20251
889bf7c5 20252 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 20253
e0ac7199
CV
202542005-11-02 Corinna Vinschen <vinschen@redhat.com>
20255
20256 * gdb.arch/gdb1558.c: Include stdio.h.
20257
31d3fb18
MK
202582005-10-31 Mark Kettenis <kettenis@gnu.org>
20259
20260 * gdb.asm/asm-source.exp: Use -e instead of --entry.
20261
e52b687c
MK
202622005-10-31 Mark Kettenis <kettenis@gnu.org>
20263
20264 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
20265
f4711d79
PG
202662005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
20267
a9c64011
AS
20268 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20269 vscr" tests to better match output.
f4711d79 20270
987a9106
JB
202712005-10-12 Jim Blandy <jimb@redhat.com>
20272
20273 * gdb.base/structs.exp (any): New function.
20274 (test_struct_returns): Don't make any assumptions at all about
20275 what value the function returns when GDB can't set the return
20276 value.
20277
2336bb58
JB
202782005-10-09 Joel Brobecker <brobecker@adacore.com>
20279
20280 * gdb.ada/arrayidx/p.adb: New file.
20281 * gdb.ada/arrayidx.exp: New testcase
20282
202832005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
20284
20285 * gdb.ada/array_return/pck.ads: New file.
20286 * gdb.ada/array_return/pck.adb: New file.
20287 * gdb.ada/array_return/p.adb: New file.
20288 * gdb.ada/array_return.exp: New testcase.
20289
705335ea
JB
202902005-10-03 Joel Brobecker <brobecker@adacore.com>
20291
a9c64011
AS
20292 * gdb.base/arrayidx.c: New file.
20293 * gdb.base/arrayidx.exp: New testcase.
705335ea 20294
11ee9940
NR
202952005-09-29 Nick Roberts <nickrob@snap.net.nz>
20296
20297 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
20298 frames-invalid and breakpoints-invalid are no longer generated
20299 with level 3 so don't expect them in the output.
20300
39fb8e9e
BR
203012005-09-27 Bob Rossi <bob@brasko.net>
20302
a9c64011 20303 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
20304 from test. Escape the | in mi_gdb_test call.
20305 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
20306 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
20307 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
20308 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
20309 expected regex's in mi_gdb_test calls.
20310 * lib/mi-support.exp: Remove arbitrary .* from tests.
20311 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
20312 Fully anchor GDB/MI expected results in mi_gdb_test.
20313 * lib/gdb.exp (string_to_regexp): Escape the ] character.
20314 * gdb.base/sizeof.exp: Remove escape character. Correct test.
20315
2af48f68
PB
203162005-09-26 Paul Brook <paul@codesourcery.com>
20317
20318 * long_long.exp: Exclude eabi targets from arm FPA float format test.
20319
f34502bc
WZ
203202005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20321
20322 * bfp-test.c: New file.
20323 * bfp-test.exp: New testcase.
20324
ca929517
WZ
203252005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
20326
20327 * gdb.fortran/subarray.exp: New testcase to test the evaluation
20328 of subarray and substring variable.
20329 * gdb.fortran/subarray.f: New source file for the test of subarray
20330 and substring variable evaluation.
20331 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
20332 of string constant.
20333
c761af65
DJ
203342005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
20335
20336 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
20337 copyright dates.
20338
561d7a1d
PG
203392005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
20340
20341 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
20342 powerpc altivec' test with an almost identical 'info vector' test.
20343
b2b64cc9
PG
203442005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20345
a9c64011
AS
20346 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
20347 vscr" tests to match output.
b2b64cc9 20348
6ac4d15a
PG
203492005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
20350
a9c64011
AS
20351 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
20352 output.
6ac4d15a 20353
40e55bef
BR
203542005-09-11 Bob Rossi <bob@brasko.net>
20355
889bf7c5
PA
20356 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
20357 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
20358 commands that return an MI output command and an asyncronous MI output
20359 command.
40e55bef
BR
20360 * gdb.mi/mi-console.exp: Ditto.
20361
3c7385ec
BR
203622005-09-11 Bob Rossi <bob@brasko.net>
20363
20364 * gdb.mi/mi-var-child.c: Include <string.h>.
20365
a6cd0eb3
DJ
203662005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
20367
20368 * killed.exp: Correct gdb_expect syntax.
20369
2f168eed
CV
203702005-08-09 Corinna Vinschen <vinschen@redhat.com>
20371
20372 * lib/mi-support.exp (mi_gdb_load): Fix typo.
20373
ecd3fd0f
BR
203742005-08-02 Bob Rossi <bob@brasko.net>
20375
20376 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
20377 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
20378 Change tests to inferior-tty-set/show.
20379 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
20380 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
20381 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
20382 inferior. Use mi_gdb_test to get GDB and Inferior output.
20383 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
20384 descriptor.
20385 (mi_inferior_tty_name): Add inferior PTY file name.
20386 (mi_gdb_start): Add INFERIOR_PTY parameter.
20387 (mi_gdb_test): Add IPATTERN parameter.
20388
f1ea48cb 203892005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 20390
f1ea48cb
BR
20391 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
20392 parameter to mi_gdb_test.
20393 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
20394
6e650a67
DJ
203952005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20396
20397 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
20398 struct_declarations.
20399 * gdb.mi/mi-var-child.exp: Step over the initialization of
20400 struct_declarations.
20401
8be260b6
DJ
204022005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
20403
20404 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
20405 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
20406 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
20407 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
20408 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
20409 file.
20410
4e660f07
NR
204112005-07-27 Nick Roberts <nickrob@snap.net.nz>
20412
20413 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
20414 (do_children_tests): Assign values to the extra elements.
20415
20416 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
20417 them for tests for "-var-update --no-values" and
a9c64011 20418 "-var-update --all-values".
4e660f07
NR
20419 Add test for "-var-list-children --simple-values".
20420
20421 * gdb.mi/basics.c (callee4): Add integer array D[3]...
20422
20423 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
20424 "-stack-list-locals --simple-values" Improve doc strings and
20425 comments.
20426
6bdae935
MK
204272005-07-18 Mark Kettenis <kettenis@gnu.org>
20428
598b7a6f
MK
20429 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
20430 *-*-openbsd*.
20431 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
20432
6bdae935
MK
20433 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
20434 sigaltsatck'.
20435
1323e929 204362005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 20437
1323e929
BR
20438 * gdb.base/default.exp (tty): Changed output of command.
20439 * gdb.base/help.exp (help tty): Ditto.
20440
b1a9c082
MK
204412005-07-12 Mark Kettenis <kettenis@gnu.org>
20442
20443 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
20444
10a844a2
MK
204452005-07-10 Mark Kettenis <kettenis@gnu.org>
20446
20447 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
20448 -stack-select-frame without arguments.
20449 (test_stack_frame_listing): Add test for newly implemented command
20450 -stack-info-frame.
20451
3cb3b8df
BR
204522005-07-06 Bob Rossi <bob@brasko.net>
20453
20454 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
20455 command.
20456 (Copyright): Update copyright.
20457
a0c5fbcf
WZ
204582005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
20459
20460 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
20461 tests to evaluate exponentiation expression.
20462
984971d0
AS
204632005-06-29 Andreas Schwab <schwab@suse.de>
20464
20465 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
20466 main to avoid warnings.
20467
20468 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
20469
fe03833f
NR
204702005-06-20 Nick Roberts <nickrob@snap.net.nz>
20471
20472 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
20473 -stack-select-frame without arguments.
20474 (test_stack_frame_listing): Add test for newly implemented command
20475 -stack-info-frame.
a9c64011 20476
7a55f279
WZ
204772005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
20478
0ffa0ea5
DJ
20479 * gdb.fortran/array-element.f: New file.
20480 * gdb.fortran/array-element.exp: New testcase.
7a55f279 20481
26585198
DJ
204822005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
20483
20484 * gdb.base/bigcore.exp: Correct checks for systems which can
20485 not dump a large core file.
20486
c1bd25fd
DJ
204872005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
20488
20489 * gdb.base/relocate.c: Add a copyright notice.
20490 (dummy): Remove.
20491 * gdb.base/relocate.exp: Test printing the values of variables
20492 from a relocatable file.
20493
589e074d
DJ
204942005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
20495
20496 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
20497 excess MI output after an error.
20498
0915f927
JB
204992005-05-29 Joel Brobecker <brobecker@adacore.com>
20500
20501 * gdb.arch/alpha-step.c: New file.
20502 * gdb.arch/alpha-step.exp: New testcase.
20503
76ff342d
DJ
205042005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
20505 Dennis Brueni <dennis@slickedit.com>
20506
20507 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
20508 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
20509 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
20510 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
20511 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
20512 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
20513 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
20514
96b0c7ac
DJ
205152005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
20516 Wu Zhou <woodzltc@cn.ibm.com>
20517
20518 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
20519 IBM's xlc compiler.
20520 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
20521 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
20522
f21565d2
JB
205232005-05-13 Jim Blandy <jimb@redhat.com>
20524
20525 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
20526 calling gdb_suppress_entire_file.
20527 * gdb.base/charset.exp: Same.
20528 * gdb.base/call-rt-st.exp: Same.
20529
6006a3a1
BR
205302005-05-05 Bob Rossi <bob_rossi@cox.net>
20531
20532 * lib/gdb.exp (fullname_syntax): Added global regex.
20533 (fullname_syntax_POSIX): Ditto.
20534 (fullname_syntax_UNC): Ditto.
20535 (fullname_syntax_DOS_CASE): Ditto.
20536 (fullname_syntax_DOS): Ditto.
20537 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
20538 fullname_syntax variable to scope and use it.
20539 (test_file_list_exec_source_files): Ditto.
20540 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
20541
c3b69c04
DJ
205422005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
20543
20544 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
20545
3c95e6af
PG
205462004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
20547
a9c64011
AS
20548 * lib/gdb.exp (skip_altivec_tests): New function, based on
20549 check_vmx_hw_available from the GCC testsuite.
20550 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
20551 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 20552
78df6c56
JB
205532005-05-02 Jim Blandy <jimb@redhat.com>
20554
20555 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
20556 calling gdb_suppress_entire_file.
20557
1690f9cf
DJ
205582005-04-30 Randolph Chung <tausq@debian.org>
20559
20560 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
20561 Slightly relax "sem_post" name checking.
20562
5ea106f7
PG
205632005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
20564
20565 * gdb.base/unload.exp: Use new shared library infrastructure.
20566
bf7234cf
PG
205672005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
20568
20569 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 20570 infrastructure.
bf7234cf 20571
547b869a
CV
205722005-04-29 Corinna Vinschen <vinschen@redhat.com>
20573
20574 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
20575 * gdb.asm/h8300.inc: New file.
20576
f07e55f0
PG
205772005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20578
20579 * gdb.base/shlib-call.exp: Change to use new shared library
20580 infrastructure.
20581
3cbba3d1
PG
205822005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20583
a9c64011
AS
20584 * gdb.base/pending.exp: Change to use new shared library
20585 infrastructure.
3cbba3d1 20586
ed6df200
PG
205872005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
20588
a9c64011
AS
20589 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
20590 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 20591
8c8f4ebe
PG
205922005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
20593
a9c64011
AS
20594 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
20595 shared objects being adjusted and update copyright years.
8c8f4ebe 20596
607fbc54
DJ
205972005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
20598
20599 * ChangeLog: Correct some 2003-01-13 dates.
20600 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
20601 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
20602 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
20603 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
20604 gdb.trace/tfind.exp: Update copyright years.
20605
57bf0e56
DJ
206062005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
20607 Daniel Jacobowitz <dan@codesourcery.com>
20608
20609 * lib/gdb.exp (gdb_compile): Handle shlib=.
20610 (gdb_compile_shlib): New function.
20611
9b593790
PG
206122005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
20613
a9c64011 20614 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 20615
9494c6a5
DJ
206162005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20617
20618 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
20619 gdb.server.
20620 * configure.ac: Likewise.
20621 * configure: Regenerated.
20622 * gdb.gdbserver/Makefile.in: Moved to...
20623 * gdb.server/Makefile.in: ... here.
20624 * gdb.gdbserver/server.c: Moved to...
20625 * gdb.server/server.c: ... here.
20626 * gdb.gdbserver/server-run.exp: Moved to...
20627 * gdb.server/server-run.exp: ... here.
20628
6f8eac0e
DJ
206292005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
20630
20631 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
20632 * configure.ac: Create gdb.gdbserver/Makefile.
20633 * configure: Regenerated.
20634 * lib/gdbserver-support.exp: New file, derived from
20635 config/gdbserver.exp.
20636 * config/gdbserver.exp: Use gdbserver-support.exp.
20637 * gdb.gdbserver/Makefile.in: New file.
20638 * gdb.gdbserver/server.c: New file.
20639 * gdb.gdbserver/server-run.exp: New file.
20640
6e87504d
PG
206412005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
20642
a9c64011
AS
20643 * lib/gdb.exp (test_compiler_info): Return compiler_info
20644 if no arguments are given.
6e87504d 20645
d1779be4
PG
206462005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
20647
20648 * gdb.arch/altivec-abi.exp: Check for compiler and set
20649 use altivec' flag accordingly.
20650 * gdb.arch/altivec-regs.exp: Likewise.
20651
88750304
DJ
206522005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
20653
20654 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
20655
f3fb768d
AS
206562005-03-27 Andreas Schwab <schwab@suse.de>
20657
20658 * gdb.base/bigcore.c (main): Add missing mode argument in open
20659 call.
20660
7e813ac5
DJ
206612005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
20662
20663 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
20664 downloads.
20665 * config/gdbserver.exp (gdb_load): Likewise.
20666
8e3049aa
PB
206672005-03-14 Paul Brook <paul@codesourcery.com>
20668
20669 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
20670 targets.
20671
a9df7c44
JB
206722005-03-09 Joel Brobecker <brobecker@adacore.com>
20673
20674 * gdb.dwarf2/dup-psym.S: New file.
20675 * gdb.dwarf2/dup-psym.exp: New testcase.
20676
9f0d94e8
JB
206772005-03-09 Joel Brobecker <brobecker@adacore.com>
20678
20679 * gdb.ada/exec_changed/first.adb: New file.
20680 * gdb.ada/exec_changed/second.adb: New file.
20681 * gdb.ada/exec_changed.exp: New testcase.
20682
5f579bc5
NS
206832005-03-08 Nathan Sidwell <nathan@codesourcery.com>
20684
36e9969c
NS
20685 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
20686 (A2): New class.
20687 (main): Test operator+.
20688 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
20689 breakpoint test.
20690
5f579bc5
NS
20691 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
20692 * gdb.base/signull.exp: Disable if gdb,nosignals.
20693 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
20694 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
20695 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
20696 * gdb.mi/mi2-console.exp: Likewise.
20697 * gdb.trace/collection.exp (run_trace_experiment): Consume the
20698 continue output at start.
20699 (gdb_collect_locals_test): Robustify regexp.
20700 * gdb.trace/passc-dyn.exp: Fix comment typo.
20701 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
20702
be46087e
CV
207032005-03-08 Corinna Vinschen <vinschen@redhat.com>
20704
20705 * gdb.asm/asm-source.exp: Add iq2000 case.
20706 * gdb.asm/iq2000.inc: New file.
20707
384e1a61 207082005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 20709
384e1a61
MI
20710 * gdb.base/command.exp: Change hardcoded value to regular expression.
20711 * gdb.base/float.exp: Add powerpc to the list of targets checked.
20712
584b6e9e
DJ
207132005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
20714
20715 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
20716 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
20717 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
20718 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
20719 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
20720
ab5b5d61
MK
207212005-03-05 Mark Kettenis <kettenis@gnu.org>
20722
20723 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
20724 changes.
20725
ae051c1b
PG
207262004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
20727
a9c64011
AS
20728 * lib/compiler.c: Add test for IBM's xlc compiler.
20729 * lib/compiler.cc: Likewise.
ae051c1b 20730
3f0f6ed2
JB
207312004-02-24 Joel Brobecker <brobecker@adacore.com>
20732
20733 * gdb.ada/fixed_points.exp: Create compilation object directory
20734 before running the test.
20735 * gdb.ada/null_record.exp: Likewise.
20736 * gdb.ada/packed_array.exp: Likewise.
20737 * gdb.ada/start.exp: Likewise.
20738
724f452b
JB
207392005-02-15 Joel Brobecker <brobecker@adacore.com>
20740
20741 * gdb.ada/packed_array/pa.adb: New file.
20742 * gdb.ada/packed_array.exp: New testcase.
20743
57f5cdfb 207442005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 20745
1f393151
MK
20746 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
20747 files.
20748
ebdda337
MK
20749 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
20750 on *-*-openbsd*. Correctly match whitespace in regukar
20751 expressions.
20752
cf309262
DJ
207532005-02-10 Daniel Jacobowitz <dan@debian.org>
20754
20755 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
20756 PR exp/1821
20757 * gdb.base/gdb1821.c: New test file.
20758 * gdb.base/gdb1821.exp: New test file.
20759
3be49e7a
JB
207602005-02-09 Joel Brobecker <brobecker@adacore.com>
20761
20762 * gdb.base/start.c: New file.
20763 * gdb.base/start.exp: New testcase.
20764
e292e67d
JB
207652005-02-09 Joel Brobecker <brobecker@adacore.com>
20766
20767 * gdb.ada/start/dummy.adb: New file.
20768 * gdb.ada/start.exp: New testcase.
20769
dbdfa66c
CV
207702005-02-09 Corinna Vinschen <vinschen@redhat.com>
20771
20772 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
20773 for printing symbols and statistics.
20774 Add test for using relative pathnames in "maint print msymbols" test.
20775 Mark "maint info sections DATA" XFAIL on Cygwin.
20776 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
20777 tests.
20778
d7941671
AC
207792005-02-09 Andreas Schwab <schwab@suse.de>
20780
20781 Committed by Andrew Cagney <cagney@gnu.org>
20782 * gdb.base/remotetimeout.exp: New file.
20783
74e5ef44
MK
207842005-02-07 Mark Kettenis <kettenis@gnu.org>
20785
20786 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
20787
464dd14d
JB
207882005-02-03 Joel Brobecker <brobecker@adacore.com>
20789
20790 * gdb.ada/gnat_ada.gpr: New file.
20791 * gdb.ada/gnat_ada.gin: Delete, no longer used.
20792 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
20793 * configure.ac: No longer generate gnat_ada.gpr.
20794 * configure: Regenerate.
20795 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
20796 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
20797 * gdb.ada/null_record/bar.ads: Likewise.
20798 * gdb.ada/null_record/bar.adb: Likewise.
20799 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
20800 * gdb.ada/null_record.exp (testdir): New variable.
20801 (testfile): executable is now in testdir subdirectory.
20802 (srcfile): Use full path to the main compilation unit.
20803 * gdb.ada/fixed_points.exp: Same changes as above.
20804
30d756ae
NR
208052005-02-03 Nick Roberts <nickrob@snap.net.nz>
20806
20807 * gdb.base/interp.exp: New test.
20808
9d799f85
AC
208092005-01-24 Andrew Cagney <cagney@gnu.org>
20810
20811 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
20812
15656118
AC
208132005-01-19 Andrew Cagney <cagney@gnu.org>
20814
a892c31b
AC
20815 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
20816 configure.ac not configure.in.
20817
15656118
AC
20818 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
20819 of powerpc*-*-*.
20820 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 20821 * gdb.base/list.exp (test_list_function)
15656118
AC
20822 (test_list_filename_and_function): Ditto.
20823 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
20824
a7b01baf
AC
208252005-01-16 Andrew Cagney <cagney@gnu.org>
20826
17d92a02
AC
20827 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
20828
a7b01baf
AC
20829 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
20830
bc8332bb
AC
208312005-01-14 Andrew Cagney <cagney@gnu.org>
20832
20833 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
20834 * gdb.mi/mi2-var-cmd.exp: Ditto.
20835
4d074752
CV
208362005-01-10 Corinna Vinschen <vinschen@redhat.com>
20837
20838 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
20839
bec39cab
AC
208402005-01-07 Andrew Cagney <cagney@gnu.org>
20841
20842 * configure.ac: Rename configure.in, require autoconf 2.59.
20843 * configure: Re-generate.
20844 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
20845 * gdb.stabs/configure: Re-generate.
20846 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
20847 * gdb.hp/configure: Re-generate.
20848 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
20849 autoconf 2.59.
20850 * gdb.hp/gdb.objdbg/configure: Re-generate.
20851 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
20852 autoconf 2.59.
20853 * gdb.hp/gdb.defects/configure: Re-generate.
20854 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
20855 autoconf 2.59.
20856 * gdb.hp/gdb.compat/configure: Re-generate.
20857 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
20858 autoconf 2.59.
20859 * gdb.hp/gdb.base-hp/configure: Re-generate.
20860 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
20861 autoconf 2.59.
20862 * gdb.hp/gdb.aCC/configure: Re-generate.
20863
f10b16d4
JB
208642004-12-15 Jim Blandy <jimb@redhat.com>
20865
20866 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
20867 under NPTL when there is debugging info available for libpthread.
20868
fb6e1814
JG
208692004-12-13 Jerome Guitton <guitton@gnat.com>
20870
20871 * gdb.ada/fixed_points.c: New file.
20872 * gdb.ada/fixed_points.exp: New file.
20873
fe46cd3a
RC
208742004-12-03 Randolph Chung <tausq@debian.org>
20875
20876 * gdb.arch/pa-nullify.exp: New file.
20877 * gdb.arch/pa-nullify.s: New file.
20878
8de0841b
RC
208792004-11-30 Randolph Chung <tausq@debian.org>
20880
20881 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
20882 instead of "tbug". Fix regexp to work properly with gdb_test.
20883
c8170782
PH
208842004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
20885
20886 * gdb.base/bitfields2.exp: New test.
20887 * gdb.base/bitfields2.c: New file.
20888
954269c2
RE
208892004-11-28 Richard Earnshaw <rearnsha@arm.com>
20890
20891 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
20892
0107feed
RC
208932004-11-16 Randolph Chung <tausq@debian.org>
20894
20895 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
20896
f073ae8c
DJ
208972004-11-14 Daniel Jacobowitz <dan@debian.org>
20898
20899 * gdb.threads/threadapply.exp: Correct "macro details" test.
20900
19ad59e7
JJ
209012004-11-11 Jeff Johnston <jjohnstn@redhat.com>
20902
20903 * gdb.threads/threadapply.exp: New test.
20904 * gdb.threads/threadapply.c: New file.
20905
9cf0961b
MK
209062004-11-07 Mark Kettenis <kettenis@gnu.org>
20907
20908 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
20909 frames.
20910
c789492a
FL
209112004-11-05 Felix Lee <felix+log1@specifixinc.com>
20912
20913 * gdb.base/cursal.exp: New file.
20914 * gdb.base/cursal.c: New file.
20915
a1e167bb
AC
209162004-11-03 Andrew Cagney <cagney@gnu.org>
20917
20918 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
20919
b7cbf173
MK
209202004-10-30 Mark Kettenis <kettenis@gnu.org>
20921
20922 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
20923 NetBSD/ELF targets.
20924
88f9d34f
JB
209252004-10-29 Joel Brobecker <brobecker@gnat.com>
20926
20927 * gdb.threads/bp_in_thread.c: New file, copied from
20928 pthread_cond_wait.c.
20929 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
20930 file, rather than reusing the .c file from another testcase.
20931
ca7d6a0c
JB
209322004-10-20 Joel Brobecker <brobecker@gnat.com>
20933
20934 * gdb.ada/null_record.exp: Check where we stopped after
20935 sending the start command, instead of where the associated
20936 temporary breakpoint was inserted.
20937
0d863d03
AC
209382004-10-14 Andrew Cagney <cagney@gnu.org>
20939
20940 * gdb.mi/gdb701.c (main): Return 0.
20941
d11e72cb
DJ
209422004-10-13 Daniel Jacobowitz <dan@debian.org>
20943
d40539a4 20944 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 20945
e1923096
JJ
209462004-10-12 Jeff Johnston <jjohnstn@redhat.com>
20947
20948 * gdb.threads/schedlock.c: Add comment markers to use to find
20949 line numbers.
20950 * gdb.threads/schedlock.exp: Adjust regex to handle the new
20951 comments.
20952 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
20953 breakpoint lines.
20954
ec8ba2c9
DJ
209552004-10-12 Daniel Jacobowitz <dan@debian.org>
20956
20957 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
20958
0eb3658b
DJ
209592004-10-12 Daniel Jacobowitz <dan@debian.org>
20960
20961 * configure.in: Add gdb.dwarf2.
20962 * configure: Regenerated.
20963 * Makefile.in: Add gdb.dwarf2.
20964 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
20965 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
20966 gdb.dwarf2/file1.txt: New files.
20967
a271cc33
OF
209682004-10-11 Orjan Friberg <orjanf@axis.com>
20969
a9c64011 20970 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
20971 of "run", since the latter doesn't work with remote targets. Adjust
20972 the breakpoint numbering accordingly.
20973 * gdb.threads/pthread_cond_wait.exp: Ditto.
20974
895ce074
MC
209752004-10-08 Michael Chastain <mec.gnu@mindspring.com>
20976
20977 * gdb.base/overlays.exp: Update copyright years.
20978
6be3092d
KI
209792004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
20980
20981 * gdb.base/overlays.exp: Disable if target is Linux.
20982
e05389b8
FL
209832004-10-06 Felix Lee <felix+log1@specifixinc.com>
20984
20985 * config/gdbserver.exp (gdb_load): Use right filename on remote.
20986
73cb587d
KI
209872004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
20988
20989 * gdb.asm/asm-source.exp: Add m32r-linux target.
20990 * gdb.asm/m32r-linux.inc: New file.
20991
3c0edcdc
AC
209922004-09-24 Andrew Cagney <cagney@redhat.com>
20993 David Anderson <anderson@redhat.com>
20994
20995 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
20996 command fails, assume things will work.
20997 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
20998 (_GNU_SOURCE): Define.
20999 (print_unsigned, print_hex): Change parameter to "long long".
21000 (print_byte_count): New function, use to print byte counts.
21001 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
21002 O_LARGEFILE.
21003 (main): Compute an upper bound on a corefile in max_core_size.
21004 Limit memory chunk size to max_core_size. Limit total memory
21005 allocated to max_core_size.
21006
4bb3667f
AC
210072004-09-23 Andrew Cagney <cagney@gnu.org>
21008
21009 * gdb.base/bigcore.exp: Replace the code that creates a corefile
21010 from a separate process with code that creates a corefile by
21011 making the inferior dump core.
21012
60fe1a51
MK
210132004-09-23 Mark Kettenis <kettenis@gnu.org>
21014
21015 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
21016 block.
21017
8e937346
MC
210182004-09-23 Michael Chastain <mec.gnu@mindspring.com>
21019
21020 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
21021 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
21022 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
21023 Likewise.
21024
7213f6d6
JJ
210252004-09-20 Jeff Johnston <jjohnstn@redhat.com>
21026
21027 * gdb.java/jprint.exp: New test case for java inferior call.
21028 * gdb.java/jprint.java: Ditto.
21029
eac69dca
JB
210302004-09-15 Joel Brobecker <brobecker@gnat.com>
21031
21032 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
21033
22227696
MC
210342004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21035
21036 * gdb.threads/killed.c: Include <stdlib.h>.
21037 * gdb.threads/pthreads.c: Likewise.
21038
7dd403a4
MC
210392004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21040
21041 * gdb.threads/killed.c: Add copyright notice.
21042
33f2d567
JM
210432004-09-10 Jason Molenda (jmolenda@apple.com)
21044
a9c64011
AS
21045 * gdb.base/define.exp: Two new tests to verify zero space chars
21046 after 'if' and 'while' commands in a user-defined command is correctly
21047 parsed.
33f2d567 21048
e05b62ac
AC
210492004-09-08 Andrew Cagney <cagney@gnu.org>
21050
21051 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
21052 delivery test with duplicate at end of file.
21053
9cbe82da
MK
210542004-09-06 Mark Kettenis <kettenis@jive.nl>
21055
21056 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
21057
564803d9
MC
210582004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21059
21060 * config/hppro.exp: Removed.
21061
7c6807ce
MC
210622004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21063
21064 * config/sparclet.exp: Removed.
21065
bf7e26dd
MC
210662004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21067
21068 * config/udi.exp: Removed.
21069
714e341b
MC
210702004-09-02 Michael Chastain <mec.gnu@mindspring.com>
21071
21072 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
21073 of "exp_continue".
21074 (advancei): Likewise.
21075
1236e623
JJ
210762004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21077
21078 * gdb.base/unload.exp: Fix so messages aren't duplicated.
21079
3bdcad15
MI
210802004-09-01 Manoj Iyer <manjo@austin.ibm.com>
21081
228af206 21082 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
21083 to check for nodebug in executable.
21084 * gdb.gdb/observer.exp (setup_test): Likewise.
21085 * gdb.gdb/selftest.exp (test_with_self): Likewise.
21086 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
21087
c72b934c
AC
210882004-09-01 Andrew Cagney <cagney@gnu.org>
21089
21090 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21091 files.
21092
edd9b715
JJ
210932004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21094
21095 * gdb.base/unload.exp: Fix expected warning message to match
21096 latest format.
21097
fb4ce06b
CV
210982004-09-01 Corinna Vinschen <vinschen@redhat.com>
21099
21100 * gdb.base/call-rt-st.exp: Fix typos.
21101
ce78e7c3
MI
211022004-08-31 Manoj Iyer <manjo@austin.ibm.com>
21103
21104 * gdb.threads/thread_check.exp: New testcase.
21105 * gdb.threads/thread_check.c: New testcase.
21106
2dedb159
AC
211072004-08-31 Andrew Cagney <cagney@gnu.org>
21108
21109 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
21110 (skip_to_handler_entry): New procedures. Test stepping into a
21111 handler when the breakpoint is at the handler's entry point.
21112
68f53502
AC
211132004-08-30 Andrew Cagney <cagney@gnu.org>
21114
21115 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
21116 gdb/1757.
21117
3e3ffd2b
MC
211182004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21119
21120 With code from Manoj Iyer <manjo@austin.ibm.com>:
21121 * lib/gdb.exp (gdb_file_cmd): Return more information in the
21122 return value. Add an arm for "no debugging symbols found".
21123 Change a stray "error" to "perror".
21124 (gdb_run_cmd): Adapt to new return value.
21125 * gdb.base/remote.exp: Adapt to new return value.
21126 * gdb.gdb/complaints.exp: Likewise.
21127 * gdb.gdb/observer.exp: Likewise.
21128 * gdb.gdb/selftest.exp: Likewise.
21129 * gdb.gdb/xfullpath.exp: Likewise.
21130
4b6f5fd2
JB
211312004-08-27 Joel Brobecker <brobecker@gnat.com>
21132
21133 * gdb.threads/bp_in_thread.exp: New testcase.
21134
e5b25496
MC
211352004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21136
21137 Fix PR testsuite/1735.
21138 * gdb.threads/schedlock.c (thread_function): Add a cast
21139 to suppress a gcc warning.
21140 * gdb.threads/thread-specific.c (thread_function): Likewise.
21141
934353d6
MC
211422004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21143
21144 * gdb.base/unload.c: Include <stdlib.h>.
21145
f98a0aef 211462004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 21147
f98a0aef 21148 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
21149 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
21150 synchronized after the "return".
21151
5a2e8882
MC
211522004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21153
21154 * gdb.mi/basics.c: Include <stdio.h>.
21155 * gdb.mi/pthreads.c: Include <stdlib.h>.
21156 * gdb.mi/var-cmd.c: Include <stdlib.h>.
21157
a9640423
MC
211582004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21159
21160 * gdb.threads/schedlock.c: Add copyright notice.
21161
b04e311d
AC
211622004-08-25 Andrew Cagney <cagney@gnu.org>
21163
21164 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
21165 (skip_over_handler, breakpoint_over_hander): New test procedures.
21166 (advance, advancei): Add a proper prefix, do not use
21167 rerun_to_main.
21168 * gdb.base/sigstep.c (main): Change to use an infinite loop.
21169
7c27f15b
MC
211702004-08-24 Michael Chastain <mec.gnu@mindspring.com>
21171
21172 * gdb.mi/basics.c: Add copyright notice.
21173 * gdb.mi/var-cmd.c: Add copyright notice.
21174
fffc87ae
MC
211752004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21176
21177 * lib/gdb.exp: Remove signed_keyword_not_used.
21178 * lib/compiler.c: Likewise.
21179 * lib/compiler.cc: Likewise.
21180
d782e0bf
MC
211812004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21182
21183 * gdb.base/whatis.c: Remove conditional disabling of "signed".
21184 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
21185
96033e83
MC
211862004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21187
21188 * gdb.base/whatis.c: Add copyright notice.
21189
cf38c229
MK
211902004-08-20 Mark Kettenis <kettenis@gnu.org>
21191
21192 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
21193 it to skip the breakpoints encoded in the inline assembly.
21194
f4b49756
MC
211952004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21196
21197 * Makefile.in: Add gdb.fortran.
21198
2f193b69
MC
211992004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21200
21201 * gdb.base/call-sc.exp (test_scalar_returns):
21202 Fix cut-and-paste glitch in "Make fun return now".
21203
89a237cb
MC
212042004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21205
21206 * configure.in: Add gdb.fortran.
21207 * configure: Regenerate.
21208 * gdb.fortran/Makefile.in: New file.
21209 * lib/gdb.exp (skip_fortran_tests): New procedure.
21210
469aff8e
MC
212112004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21212
21213 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
21214 reference to bug-gnu@prep.ai.mit.edu.
21215 * gdb.mi/mi-var-child.exp: Likewise.
21216 * gdb.mi/mi-var-cmd.exp: Likewise.
21217 * gdb.mi/mi-var-display.exp: Likewise.
21218 * gdb.mi/mi2-var-block.exp: Likewise.
21219 * gdb.mi/mi2-var-child.exp: Likewise.
21220 * gdb.mi/mi2-var-cmd.exp: Likewise.
21221 * gdb.mi/mi2-var-display.exp: Likewise.
21222
00b51b9f
MK
212232004-08-15 Mark Kettenis <kettenis@gnu.org>
21224
21225 * gdb.base/unload.c (main): Make local variable msg const.
21226
45f07fef
MC
212272004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21228
21229 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
21230 to bug-gnu@prep.ai.mit.edu.
21231 * gdb.mi/mi-disassemble.exp: Likewise.
21232 * gdb.mi/mi-eval.exp: Likewise.
21233 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
21234 default line number.
21235 * gdb.mi/mi-return.exp: Likewise.
21236 * gdb.mi/mi-simplerun.exp: Likewise.
21237 * gdb.mi/mi-stack.exp: Likewise.
21238 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
21239 number with explicit range test.
21240 * gdb.mi/mi-watch.exp: Likewise.
21241 * gdb.mi/mi2-break.exp: Likewise.
21242 * gdb.mi/mi2-cli.exp: Likewise.
21243 * gdb.mi/mi2-disassemble.exp: Likewise.
21244 * gdb.mi/mi2-eval.exp: Likewise.
21245 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
21246 default line number.
21247 * gdb.mi/mi2-return.exp: Likewise.
21248 * gdb.mi/mi2-simplerun.exp: Likewise.
21249 * gdb.mi/mi2-stack.exp: Likewise.
21250 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
21251 number with explicit range test.
21252 * gdb.mi/mi2-watch.exp: Likewise.
21253
dd8c8ee7
MC
212542004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21255
21256 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
21257 * gdb.cp/m-static.exp: Likewise.
21258 * gdb.cp/rtti.exp: Likewise.
21259
4e838464
MK
212602004-08-14 Mark Kettenis <kettenis@gnu.org>
21261
21262 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
21263
8d8cb839
EZ
212642004-08-14 Eli Zaretskii <eliz@gnu.org>
21265
21266 * ChangeLog: Prefix Local Variables with semi-colons and indent
21267 the reference to older ChangeLog files, to fix fontification in
21268 Emacs.
21269
deea8bb0
MC
212702004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21271
21272 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
21273 * gdb.mi/mi2-break.exp: Likewise.
21274
c3297504
MC
212752004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21276
21277 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
21278
25808999
MC
212792004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21280
21281 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
21282
226a8d71
MC
212832004-08-13 Michael Chastain <mec.gnu@mindspring.com>
21284
21285 * gdb.cp/classes.exp: Remove unused declarations. Just let
21286 test names default instead of providing special names. Remove
21287 extraneous demangler test.
21288
37fdf854
JJ
212892004-08-12 Jeff Johnston <jjohnstn@redhat.com>
21290
21291 * gdb.base/unload.exp: New test for breakpoints in dynamically
21292 loaded libraries.
21293 * gdb.base/unload.c: Ditto.
21294 * gdb.base/unloadshr.c: Ditto.
21295
2d3a7986
MC
212962004-08-12 Michael Chastain <mec.gnu@mindspring.com>
21297
21298 * gdb.cp/classes.exp (test_ptype_class_objects): Call
21299 cp_test_ptype_class.
21300 (test_enums): Likewise.
21301
c72b934c
AC
213022004-08-10 Andrew Cagney <cagney@gnu.org>
21303
21304 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21305 files.
21306
cc503c8a
AC
213072004-08-10 Andrew Cagney <cagney@gnu.org>
21308
21309 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
21310 init_malloc call.
21311
902f2ccb
MC
213122004-08-10 Michael Chastain <mec.gnu@mindspring.com>
21313
21314 * ChangeLog: Add copyright notice. The notice is copied
21315 from emacs 21.3 top level ChangeLog.
21316
78c90502
MC
213172004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21318
21319 * lib/cp-support.exp: New file.
21320 * lib/cp-support.exp (cp_test_type_class): New function.
21321 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
21322 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
21323 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
21324 cp_test_ptype_class.
21325
88e5ea78
MC
213262004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21327
21328 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
21329 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
21330 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
21331 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
21332 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
21333 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
21334 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
21335 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
21336 gdb.mi/mi2-watch.exp: Update copyright years.
21337
6a89fc9c
MK
213382004-08-09 Mark Kettenis <kettenis@gnu.org>
21339
21340 * gdb.base/sigaltstack.exp: Provide proper anchoring.
21341
1482e0de
MC
213422004-08-09 Michael Chastain <mec.gnu@mindspring.com>
21343
21344 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
21345 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
21346 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
21347 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
21348 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
21349 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
21350 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
21351 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
21352 gdb.mi/mi-watch.exp: Update copyright years.
21353
1a5ce3f3
DJ
213542004-08-08 Daniel Jacobowitz <dan@debian.org>
21355
21356 PR gdb/1738
21357 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
21358 from a breakpoint with a pending signal.
21359
04f6ecf2
DJ
213602004-08-08 Daniel Jacobowitz <dan@debian.org>
21361
21362 PR gdb/1736
21363 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
21364 * gdb.base/sigaltstack.exp (finish_test): Consume output until
21365 the prompt.
21366 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
21367
54d90d35
DJ
213682004-08-08 Daniel Jacobowitz <dan@debian.org>
21369
21370 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
21371
d2f6abb0
DJ
213722004-08-08 Daniel Jacobowitz <dan@debian.org>
21373
21374 PR gdb/1736
21375 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
21376 for i?86-*-linux*.
21377
5598c03d
DJ
213782004-08-08 Daniel Jacobowitz <dan@debian.org>
21379
21380 * gdb.arch/i386-prologue.exp: Compile without debug information.
21381
c6fee705
MC
213822004-08-08 Michael Chastain <mec.gnu@mindspring.com>
21383
21384 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
21385 rather than asking gdb to search.
21386
dd90efdb
MC
213872004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21388
21389 * gdb.base/gcore.c: Include <string.h>.
21390
1e84bec1
MC
213912004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21392
21393 * gdb.base/gcore.c: Add copyright notice.
21394
e425eb2b
MC
213952004-08-05 Michael Chastain <mec.gnu@mindspring.com>
21396
21397 * gdb.base/freebpcmd.c: Include <stdio.h>.
21398 * gdb.base/long_long.c: Include <string.h>.
21399 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
21400 * gdb.base/siginfo.c: Include <string.h>.
21401 * gdb.base/sigstep.c: Include <string.h>.
21402
cb9aaed5
MC
214032004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21404
21405 * gdb.base/complex.c: Include <stdlib.h>.
21406
55944f3d
MC
214072004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21408
21409 * gdb.base/complex.c: Add copyright notice.
21410
7b2953d9
MC
214112004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21412
21413 * gdb.base/charset.c: Include <stdlib.h>.
21414
c9133d23
MC
214152004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21416
21417 * gdb.base/auxv.c: Include <stdlib.h>.
21418
0a8490ad
MC
214192004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21420
21421 * gdb.base/auxv.c: Add copyright notice.
21422
3426d5ec
MC
214232004-08-04 Michael Chastain <mec.gnu@mindspring.com>
21424
21425 * gdb.base/coremaker.c: Add copyright notice.
21426 * gdb.base/coremaker2.c: Add copyright notice.
21427
8da195dd
AC
214282004-08-04 Andrew Cagney <cagney@gnu.org>
21429
21430 * gdb.base/store.exp: Update copyright.
21431 (check_set, up_set, check_struct, up_struct): Add a prefix to test
21432 names, do not import gdb_prompt.
21433
8d394f98
AC
214342004-08-01 Andrew Cagney <cagney@gnu.org>
21435
21436 Fix PR testsuite/1729.
21437 * gdb.base/dump.exp: Add test name to callers of capture_value, do
21438 not use capture_value with value 4.
21439 (capture_value): Add optional test name parameter.
21440 (test_reload_saved_value, test_restore_saved_value): Use $msg as
21441 the prefix, pass to capture_value.
21442
b6702b23
MK
214432004-08-01 Mark Kettenis <kettenis@gnu.org>
21444
21445 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
21446 * gdb.arch/i386-prologue.c (standard): New prototype and function.
21447 (main): Call new function.
21448
c203e0ca
MC
214492004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21450
21451 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
21452
a7995a30
MC
214532004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21454
21455 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
21456
9366563b
MC
214572004-07-31 Michael Chastain <mec.gnu@mindspring.com>
21458
b6eeaf26 21459 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
21460 Accept more values of vtbl pointer. Remove some messages
21461 about "obsolete gcc or gdb".
21462
2fc1f950
MC
214632004-07-30 Michael Chastain <mec.gnu@mindspring.com>
21464
21465 * gdb.cp/classes.exp: Accept more varieties of ptype output.
21466
c724d49b
MC
214672004-07-30 Michael Chastain <mec.gnu@mindspring.com>
21468
21469 * gdb.base/asm-source.exp: Properly convert target board
21470 debug flags from gcc format to binutils format.
21471
736b0fce
MK
214722004-07-28 Mark Kettenis <kettenis@gnu.org>
21473
21474 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
21475 gdb1718". PR backtrace/1718 partially fixed.
21476
5633ea5c
JJ
214772004-07-27 Jeff Johnston <jjohnstn@redhat.com>
21478
21479 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
21480
575eebb1
NC
214812004-07-26 Nick Clifton <nickc@redhat.com>
21482
21483 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
21484 good default value for a specific architecture is available then
21485 set it to that value. Otherwise default to the -gstabs switch.
21486 Remove the -g... switches from the asm-flags variable. Allow the
21487 target board info to override the value if it wants to. Pass the
21488 switch on the assembler command line.
21489
62104619
MK
214902004-07-23 Mark Kettenis <kettenis@gnu.org>
21491
21492 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
21493 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
21494 (main): Call new function.
21495
4a1135b8
MC
214962004-07-22 Michael Chastain <mec.gnu@mindspring.com>
21497
21498 Test for PR exp/1715.
21499 * gdb.base/radix.exp: Refactor common procedures. Make all
21500 test names unique. Change XFAIL to KFAIL.
21501
8a12c1f0
MC
215022004-07-20 Michael Chastain <mec.gnu@mindspring.com>
21503
21504 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
21505 * gdb.ada/gnat_ada.gin: ... to here.
21506 * configure.in: Use gnat_ada.gin.
21507 * configure: Regenerate.
21508
23b451cf
AC
215092004-07-20 Andrew Cagney <cagney@gnu.org>
21510
21511 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
21512 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
21513 XFAILs. Clean up test messages and comments. Check backtraces.
21514 Delete re-sync code.
21515
ab618a02
MC
215162004-07-19 Michael Chastain <mec.gnu@mindspring.com>
21517
21518 Fix PR cli/740.
21519 * gdb.base/annota1.exp: Honor gdb,nosignals.
21520 * gdb.base/annota3.exp: Likewise.
21521
46dad340
MC
215222004-07-19 Michael Chastain <mec.gnu@mindspring.com>
21523
21524 * lib/java.exp: Update copyright notice.
21525
756d8c70
AC
215262004-07-19 Andrew Cagney <cagney@gnu.org>
21527
21528 * gdb.base/selftest.exp: Copy file from here ...
21529 * gdb.gdb/selftest.exp: ... to here.
21530
586027e6
AC
215312004-07-16 Andrew Cagney <cagney@redhat.com>
21532
21533 * lib/insight-support.exp: Delete file.
21534 * lib/java.exp (java_init): Fix copyright.
21535
029d2200
AC
215362004-07-16 Andrew Cagney <cagney@gnu.org>
21537
21538 * gdb.base/restore.c: Append "prologue" to comments marking the a
21539 function's prologue.
21540 * gdb.base/restore.exp: Update copyright, re-indent.
21541 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
21542 callerN" prefix where needed. Update patterns that match a
21543 function's prologue.
21544
653b62c5
MC
215452004-07-16 Michael Chastain <mec.gnu@mindspring.com>
21546
21547 * gdb.base/restore.c: Add copyright notice.
21548
f7d690e5
AC
215492004-07-16 Andrew Cagney <cagney@gnu.org>
21550
21551 * gdb.base/logical.exp: Update copyright.
21552 (evaluate): New procedure. Use to re-implement tests using
21553 several tables.
21554
d629a7cb
MH
215552004-07-14 Martin Hunt <hunt@redhat.com>
21556
21557 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
21558 which fixes some problems where init.tcl was not found.
21559
9c7bb332
AC
215602004-07-13 Andrew Cagney <cagney@gnu.org>
21561
6bf46641
AC
21562 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
21563 (check_sizeof, check_valueof): Do not include the output in the
21564 test name. Use gdb_test.
21565 (get_valueof): Use gdb_test_multiple.
21566
c4ffd4c0
AC
21567 * gdb.base/step-test.exp: Update copyright. Use
21568 gdb_test_multiple. Ensure that test names do not include
21569 architecture dependent output.
21570
ab89363a
AC
21571 * gdb.gdb/observer.exp: Update copyright.
21572 (setup_test): Use gdb_test_multiple.
21573 (attach_first_observer, attach_second_observer)
21574 (attach_third_observer, detach_first_observer)
21575 (detach_second_observer, detach_third_observer)
21576 (reset_counters, check_counters): Make $message a prefix.
21577 (test_normal_stop_notifications): Add "args" parameter - a list of
21578 init functions to be called. Make $message a prefix,
21579 (test_observer_normal_stop): Change the message prefixes so that
21580 they are unique, pass the attach / detach procedures to
21581 test_normal_stop_notifications.
21582
ec58997a
AC
21583 * gdb.base/signull.exp (test_segv): Prefix all tests with
21584 "${name}". Clean up test messages.
21585
b475183b
AC
21586 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
21587
9c7bb332
AC
21588 * gdb.base/ena-dis-br.exp: Update copyright.
21589 (break_at): New function. Replace send_gdb with gdb_test,
21590 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
21591 ignore count, not stopped at bpt", with KFAIL.
21592
2dd95497
CV
215932004-07-13 Corinna Vinschen <vinschen@redhat.com>
21594
21595 * gdb.base/attach.exp: Remove cleanupfile handling.
21596
419e626b
AC
215972004-07-12 Andrew Cagney <cagney@gnu.org>
21598
21599 * gdb.base/annota1.exp: Cleanup corefile test name.
21600 * gdb.base/annota3.exp: Ditto.
21601
8b1b3228
AC
216022004-07-12 Andrew Cagney <cagney@gnu.org>
21603
78650829
AC
21604 * gdb.base/signals.exp: Clean up copyright, re-indent.
21605
8b1b3228
AC
21606 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
21607 gdb_test and gdb_test_multiple.
21608
935c2760
JJ
216092004-07-08 Jeff Johnston <jjohnstn@redhat.com>
21610
21611 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 21612 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
21613 provide line number info for first statement in main.
21614
1544280f
AC
216152004-07-08 Andrew Cagney <cagney@gnu.org>
21616
1279f4ff
AC
21617 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
21618
1544280f
AC
21619 * gdb.base/sigbpt.exp: Make the common part of each test name a
21620 prefix instead of suffix.
21621
bcc82369
BR
216222004-07-07 Bob Rossi <bob_rossi@cox.net>
21623
21624 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
21625 test from test_tbreak_creation_and_listing to
21626 test_file_list_exec_source_file
21627 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
21628 Changed name of test from test_tbreak_creation_and_listing to
21629 test_file_list_exec_source_file
21630
23f4b0aa
JJ
216312004-07-07 Jeff Johnston <jjohnstn@redhat.com>
21632
21633 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
21634 the jmisc() constructor instead of <init>.
21635 * gdb.java/jmisc1.exp: Ditto.
21636
56401cd5
AC
216372004-07-07 Andrew Cagney <cagney@gnu.org>
21638
21639 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
21640 corrupting the PC.
21641
44ae2f6a
MC
216422004-07-06 Michael Chastain <mec.gnu@mindspring.com>
21643
21644 * gdb.cp/templates.exp: Accept whitespace change in demangler
21645 output.
21646
45a83408
AC
216472004-07-06 Andrew Cagney <cagney@gnu.org>
21648
21649 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
21650
d205ad70
MC
216512004-07-02 Michael Chastain <mec.gnu@mindspring.com>
21652
21653 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
21654 * lib/compiler.cc: Likewise.
21655
06ea1a61
MC
216562004-06-30 Michael Chastain <mec.gnu@mindspring.com>
21657
21658 * lib/compiler.cc: Work around string preprocessing problem
21659 with old hp c++ compiler.
21660 * lib/compiler.c: Likewise.
21661
daab1251
CV
216622004-06-29 Corinna Vinschen <vinschen@redhat.com>
21663
21664 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
21665 directives to conditionalize symbol prefixing.
21666 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
21667 additional_flags handling. Add underscore prefix for Cygwin.
21668 * gdb.arch/i386-unwind.c: Use preprocessor directives to
21669 conditionalize symbol prefixing.
21670 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
21671 additional_flags handling. Add underscore prefix for Cygwin.
21672
cc984116
CV
216732004-06-29 Corinna Vinschen <vinschen@redhat.com>
21674
21675 * gdb.base/bigcore.exp: Skip test on Cygwin.
21676
c279b077
MC
216772004-06-28 Michael Chastain <mec.gnu@mindspring.com>
21678
21679 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
21680 formats for "info register". Use gdb_test_multiple. Fix
21681 the "invalid register" test.
21682
0e915747
CV
216832004-06-28 Corinna Vinschen <vinschen@redhat.com>
21684
21685 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
21686 PID for Cygwin. Add Cygwin specific strings to check for in some
21687 tests.
21688 (do_attach_tests): Add a test for user interaction when attaching
21689 to a process with no matching symbol table already loaded.
21690
11422c86
AC
216912004-06-26 Andrew Cagney <cagney@gnu.org>
21692
21693 Test PR java/1567 and PR java/1565.
21694 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
21695 * gdb.java/jmisc2.exp: Delete file.
21696
cefbce26
MC
216972004-06-26 Michael Chastain <mec.gnu@mindspring.com>
21698
21699 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
21700
e19f872c
CV
217012004-06-25 Corinna Vinschen <vinschen@redhat.com>
21702
21703 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
21704 attach process.
21705
d931ba3b
MC
217062004-06-23 Michael Chastain <mec.gnu@mindspring.com>
21707
21708 * gdb.cp/pr-1553.exp: Remove.
21709
aef68c48
MC
217102004-06-22 Michael Chastain <mec.gnu@mindspring.com>
21711
21712 * gdb.cp/pr-1553.cc: Remove.
21713 * gdb.cp/pr-1553.exp: Disable this test.
21714
8d5df71a
JB
217152004-06-20 Jim Blandy <jimb@redhat.com>
21716
a9c64011 21717 Fix PR testsuite/1680.
8d5df71a
JB
21718 * gdb.arch/i386-sse.exp: Properly quote curly braces in
21719 regular expressions.
21720
4ac6f39d
MC
217212004-06-19 Michael Chastain <mec.gnu@mindspring.com>
21722
21723 Fix PR testsuite/1679.
21724 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
21725 Issue an UNSUPPORTED result instead.
21726
1b413552
JB
217272004-06-18 Jim Blandy <jimb@redhat.com>
21728
21729 * gdb.base/charset.exp: Only send a control-C if we see a new
21730 prompt and incomplete command.
21731
6daa6ebd
MC
217322004-06-18 Michael Chastain <mec.gnu@mindspring.com>
21733
21734 * gdb.cp/pr-574.cc: Add copyright notice.
21735
51fa4ae0
JB
217362004-06-17 Jim Blandy <jimb@redhat.com>
21737
21738 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
21739 cases where the regexp has no groups; this grabs random text from
21740 the previous test suite, whatever that was.
21741
8fea26c5
MC
217422004-06-17 Michael Chastain <mec.gnu@mindspring.com>
21743
21744 * gdb.cp/printmethod.cc: Add copyright notice.
21745
1e3aeb41
MC
217462004-06-16 Michael Chastain <mec.gnu@mindspring.com>
21747
21748 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
21749
9d9030bc
AC
217502004-06-16 Andrew Cagney <cagney@gnu.org>
21751
21752 * gdb.base/signull.c: Update copyright. Include <string.h>.
21753 (bowler): Replace data_pointer with data_read
21754 and data_write cases. Add code_descriptor case.
21755 (zero, desc): New array and pointer.
21756 (data, code): Change to simple pointers.
21757 * gdb.base/signull.exp: Fix probe pattern matching a function
21758 descriptor SIGSEGV. Replace data_pointer with data_read and
21759 data_write tests.
21760
acd4ad44
AC
217612004-06-16 Andrew Cagney <cagney@gnu.org>
21762
21763 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
21764
08fd625c
MC
217652004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21766
21767 * gdb.base/long_long.c: Add copyright notice.
21768
1903502c
MC
217692004-06-15 Michael Chastain <mec.gnu@mindspring.com>
21770
21771 * gdb.base/long_long.exp: Remove reference to
21772 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
21773 to gdb_breakpoint and gdb_continue_to_breakpoint.
21774
83313cb1
JB
217752004-06-14 Jim Blandy <jimb@redhat.com>
21776
21777 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
21778 endian case.
21779
1bf404ef
AC
217802004-06-14 Andrew Cagney <cagney@gnu.org>
21781
21782 * gdb.base/gcore.exp (capture_command_output): Delete the always
21783 passing tests containing inferior values.
21784 * gdb.base/ending-run.exp: Do not include the breakpoint address
21785 in the test message. Update copyright.
21786 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
21787 size in the test name, use gdb_test_multiple. Update copyright.
21788
ef220b33
MC
217892004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21790
21791 * gdb.cp/ref-types.cc: Add copyright notice.
21792
4f70a4c9
MC
217932004-06-14 Michael Chastain <mec.gnu@mindspring.com>
21794
21795 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
21796 hp_aCC_compiler.
21797 * lib/compiler.cc: Likewise.
21798 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
21799 'set' commands. Log diagnostics for other lines. Set
21800 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
21801
335928ac
MC
218022004-06-13 Michael Chastain <mec.gnu@mindspring.com>
21803
21804 * gdb.cp/try_catch.cc: Add copyright notice.
21805
2efb12e8
MC
218062004-06-12 Michael Chastain <mec.gnu@mindspring.com>
21807
21808 * gdb.cp/userdef.cc: Add copyright notice.
21809
0bbed51a
MC
218102004-06-11 Michael Chastain <mec.gnu@mindspring.com>
21811
21812 * gdb.cp/virtfunc.cc: Add copyright notice.
21813
e12a46c9
RC
218142004-06-11 Randolph Chung <tausq@debian.org>
21815
21816 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
21817 problem.
21818
338e05af
AC
218192004-06-10 Andrew Cagney <cagney@gnu.org>
21820
21821 * lib/compiler.cc, lib/compiler.c: Append either
21822 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
21823 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
21824 instead of gcc-3-3.
21825
dc3f10cb
AC
218262004-06-09 Andrew Cagney <cagney@gnu.org>
21827
b4d946af
AC
21828 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
21829 gdb/1455, bug is specific to "long long" and "double".
a9c64011 21830
dc3f10cb
AC
21831 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
21832 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
21833 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
21834 fixed.
21835
b5c0bfa2
AC
218362004-06-09 Andrew Cagney <cagney@gnu.org>
21837
21838 * gdb.base/structs.exp (test_struct_returns): Replace
21839 "return_value_unknown" and "finish_value_unknown" by
21840 "return_value_known" and "finish_value_known". Instead of
21841 "return_value_unknown" iff "finish_value_unknown", check
21842 "return_value_known" implies "finish_value_known".
21843
caeb605f
MH
218442004-06-08 Martin Hunt <hunt@redhat.com>
21845
21846 * gdb.base/float.exp: Add pattern for mips targets.
21847
c892bb64
RC
218482004-06-08 Randolph Chung <tausq@debian.org>
21849
21850 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
21851 message for unknown architectures more clear.
21852
48306d3e
JB
218532004-06-08 Joel Brobecker <brobecker@gnat.com>
21854
21855 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
21856 start the execution of the program.
21857
83ecb59f
JB
218582004-06-07 Jim Blandy <jimb@redhat.com>
21859
21860 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
21861 * gdb.arch/i386-cpuid.h: New helper file.
21862
55264cb4
RC
218632004-06-07 Randolph Chung <tausq@debian.org>
21864
21865 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
21866 has started.
21867
23cadb28
RM
218682004-06-04 Roland McGrath <roland@redhat.com>
21869
21870 Fix PR gdb/1647.
21871 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
21872 differently to be robust to output buffering differences.
21873
51d01eda
MC
218742004-06-04 Michael Chastain <mec.gnu@mindspring.com>
21875
21876 * gdb.threads/pthreads.exp: Update copyright years.
21877 (check_control_c): Change asynchronous 'after' to synchronous.
21878
f4fc3b93
RM
218792004-06-04 Roland McGrath <roland@redhat.com>
21880
21881 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
21882 next gdb prompt.
21883
4013522b
MC
218842004-06-02 Michael Chastain <mec.gnu@mindspring.com>
21885
21886 Fix PR gdb/1636.
21887 * gdb.threads/manythreads.exp: Change asynchronous 'after'
21888 calls to synchronous.
21889
7a8f1e6b
JB
218902004-05-26 Jim Blandy <jimb@redhat.com>
21891
21892 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
21893
81bb3443
RC
218942004-05-24 Randolph Chung <tausq@debian.org>
21895
21896 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
21897 * gdb.asm/pa.inc: New file.
21898
8f5a3103
MK
218992004-05-22 Mark Kettenis <kettenis@gnu.org>
21900
21901 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
21902
734b8fe8 219032004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 21904 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
21905
21906 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
21907 GDB prompt.
21908
725603e1
UW
219092004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21910
f4fc3b93 21911 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
21912 setjmp/longjmp. Use sigaction instead of signal.
21913
8b923272 219142004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 21915 Michael Snyder <msnyder@redhat.com>
8b923272
JB
21916
21917 * gdb.threads/pthread_cond_wait.c: New file.
21918 * gdb.threads/pthread_cond_wait.exp: New testcase.
21919
8bfabb04
AC
219202004-05-13 Andrew Cagney <cagney@redhat.com>
21921
21922 * gdb.base/signull.exp, gdb.base/signull.c: New files.
21923 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
21924
42edda50
AC
219252004-05-11 Andrew Cagney <cagney@redhat.com>
21926
21927 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
21928 fixed but revealed gdb/1639.
21929
d303a6c7
AC
219302004-05-10 Andrew Cagney <cagney@redhat.com>
21931
21932 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
21933 func1" and "next to 2nd alarm", kernel bug avoided.
21934
bf08c2a1
DJ
219352004-05-10 Daniel Jacobowitz <dan@debian.org>
21936
21937 PR external/1568
21938 * gdb.base/bigcore.exp: Check the size of the dumped core file.
21939 XFAIL if it is smaller than bytes_allocated.
21940 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
21941 (main): Make chunks_allocated unsigned. Correct comment.
21942
c0586a34
JB
219432004-05-07 Joel Brobecker <brobecker@gnat.com>
21944
21945 * gdb.arch/powerpc-aix-prologue.c: New file.
21946 * gdb.arch/powerpc-aix-prologue.exp: New file.
21947
f2785d12
JB
219482004-05-07 Jim Blandy <jimb@redhat.com>
21949
21950 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
21951 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
21952
bd7f6e30
JB
219532004-05-06 Joel Brobecker <brobecker@gnat.com>
21954
21955 * gdb.base/sep.exp: No longer setup_kfail when the program was
21956 built with dwarf2.
21957
0a5e7efe
JI
219582004-05-05 Jim Ingham <jingham@apple.com>
21959
21960 * gdb.base/pending.exp: Make sure pending breakpoints
21961 preserve the ignore count.
f4fc3b93 21962
a8958849
MK
219632004-04-27 Jerome Guitton <guitton@gnat.com>
21964
21965 * i386-prologue.exp: Add testcase for jump instruction as first
21966 instruction of the real code.
21967 * i386-prologue.c (jump_at_beginning): New function.
21968
7e103f5b
MK
219692004-04-28 Mark Kettenis <kettenis@gnu.org>
21970
21971 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
21972 x86_64-*-*.
21973
5d38b224
MK
219742004-04-28 Mark Kettenis <kettenis@gnu.org>
21975
21976 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
21977 i*86-*-*.
21978
0ef32fd9
MK
219792004-04-25 Mark Kettenis <kettenis@gnu.org>
21980
21981 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
21982 expression that checks the return type.
21983
71d7dd7c
AC
219842004-04-23 Andrew Cagney <cagney@redhat.com>
21985
21986 * gdb.base/call-sc.exp: New test of scalar call/return values.
21987 * gdb.base/call-sc.c: Ditto.
21988
1e9f977e
JJ
219892004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21990
21991 * gdb.threads/manythreads.c: Reduce thread stack size.
21992
899d9e3a
JJ
219932004-04-23 Jeff Johnston <jjohnstn@redhat.com>
21994
21995 * gdb.threads/manythreads.c: Add copyright notice.
21996
61bcae62
AC
219972004-04-23 Andrew Cagney <cagney@redhat.com>
21998
21999 * gdb.base/siginfo.exp: Better handle step out of signal.
22000 * gdb.base/sigstep.exp: Ditto.
22001
7339a42e 220022004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 22003 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
22004
22005 * gdb.threads/manythreads.c: New testcase.
22006 * gdb.threads/manythreads.exp: Ditto.
22007
5c98409b
JB
220082004-04-22 Jim Blandy <jimb@redhat.com>
22009
22010 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
22011 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
22012
3b611f1a
MC
220132004-04-21 Michael Chastain <mec.gnu@mindspring.com>
22014
22015 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
22016
f0fd9238
AC
220172004-04-21 Andrew Cagney <cagney@redhat.com>
22018
22019 * gdb.base/sigstep.c: New file.
22020 * gdb.base/sigstep.exp: New file.
22021
90990674
JB
220222004-04-16 Joel Brobecker <brobecker@gnat.com>
22023
22024 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
22025 call to observer_notify_normal_stop.
22026
78cef34b
AC
220272004-04-15 Andrew Cagney <cagney@redhat.com>
22028
22029 * gdb.base/siginfo.c: New file.
22030 * gdb.base/siginfo.exp: New file.
22031
d2343407
JB
220322004-04-12 J. Brobecker <brobecker@gnat.com>
22033
22034 * gdb.base/sep.exp: Fix typo in comment.
22035
a2dba3c8
JB
220362004-04-12 J. Brobecker <brobecker@gnat.com>
22037
22038 * gdb.base/sep.c: New file.
22039 * gdb.base/sep-proc.c: New file.
22040 * gdb.base/sep.exp: New testcase.
22041
15f7b60e
MK
220422004-04-09 Mark Kettenis <kettenis@gnu.org>
22043
22044 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
22045 support.
22046
44f4de1a
AC
220472004-04-05 Andrew Cagney <cagney@redhat.com>
22048
22049 * gdb.base/sigaltstack.c: New file.
22050 * gdb.base/sigaltstack.exp: New file.
22051
ef04f396
JB
220522004-04-04 Joel Brobecker <brobecker@gnat.com>
22053
22054 * gdb.base/foll-fork.exp: Update the expected output for
22055 "help set follow-fork-mode", to match a change that was made
22056 to the help of this variable on 2004-01-13.
22057
d40d2c92
JB
220582004-04-01 Joel Brobecker <brobecker@gnat.com>
22059
22060 * lib/ada.exp: Add copyright notice.
22061 * bar.ads: Likewise.
22062 * bar.adb: Likewise.
22063 * null_record.adb: Likewise.
22064 * null_record.exp: Likewise.
22065 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
22066
f86ef5a3
JB
220672004-04-01 Joel Brobecker <brobecker@gnat.com>
22068
22069 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
22070 * configure: Regenerate.
22071
414e70e3
JB
220722004-04-01 Joel Brobecker <brobecker@gnat.com>
22073
22074 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
22075 to build the application. Remove the message printed when in
22076 verbose mode, redundant with the UNSUPPORTED message above.
22077
f0aaee49
JB
220782004-03-31 Joel Brobecker <brobecker@gnat.com>
22079
22080 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
22081 * gdb.ada (null_record.exp): New testcase.
22082
ac81cb54
JB
220832004-03-31 Joel Brobecker <brobecker@gnat.com>
22084
22085 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
22086
854af2f7
JB
220872004-03-31 Joel Brobecker <brobecker@gnat.com>
22088
22089 * gdb.ada: New subdirectory.
22090 * gdb.ada/Makefile.in: New file.
22091 * gdb.ada/gnat_ada.gpr.in: New file.
22092
034cb681
JB
220932004-03-31 Joel Brobecker <brobecker@gnat.com>
22094
22095 * lib/ada.exp: New file.
22096
78a1a894
DJ
220972004-03-24 Daniel Jacobowitz <drow@mvista.com>
22098
22099 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
22100 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
22101
4b2b3b3e
AC
221022004-03-22 Andrew Cagney <cagney@redhat.com>
22103
22104 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
22105 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
22106 Problem identified by Ulrich Weigand.
22107
23c73aa3
DC
221082004-03-17 David Carlton <carlton@kealia.com>
22109
22110 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
22111 PR c++/826.
22112
d63a86f8
RM
221132004-03-16 Roland McGrath <roland@redhat.com>
22114
22115 * gdb.base/auxv.exp: New file.
22116 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
22117
0e02aa50
DC
221182004-03-12 David Carlton <carlton@kealia.com>
22119
22120 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
22121 * gdb.cp/pr-1553.cc: Ditto.
22122 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
22123 pass branch.
22124
c20b71be
MC
221252004-03-12 Michael Chastain <mec.gnu@mindspring.com>
22126
22127 * gdb.cp/templates.exp: Accept more template types.
22128
c7414a01
MC
221292004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22130
22131 From Corinna Vinschen with modifications.
22132 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
22133 local variable obj_with_enum.
22134 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
22135 results with obj_with_enum.
22136
ed69573c
MC
221372004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22138
22139 * gdb.cp/classes.cc: New file, copied from misc.cc.
22140 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
22141
28301461
MC
221422004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22143
22144 * gdb.cp/misc.cc: Add copyright notice.
22145
1198ecbe
DC
221462004-03-05 David Carlton <carlton@kealia.com>
22147
22148 * gdb.cp/rtti.exp: Add 'print *obj3' test.
22149 * gdb.cp/rtti.h: Update copyright.
22150 (namespace n2::n3): New.
22151 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
22152 (n2::n3::func3): New.
22153 (main): Call n2::n3::func3.
22154 * gdb.cp/rtti2.cc: Update copyright.
22155 (n2::create3): New.
22156
9e08c470
MK
221572004-03-04 Mark Kettenis <kettenis@gnu.org>
22158
22159 * gdb.asm/openbsd.inc: Fix typo.
22160
4bebc3aa
FF
221612004-03-03 Fred Fish <fnf@redhat.com>
22162
22163 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
22164 "val" instead of unused "size". Update copyright year.
22165
6ea9fb37
DJ
221662004-02-29 Daniel Jacobowitz <drow@mvista.com>
22167
22168 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
22169 to use unsigned char.
22170 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
22171 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
22172
23b23974
DJ
221732004-02-29 Daniel Jacobowitz <drow@mvista.com>
22174
22175 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
22176 line of output.
22177
7574fd53
DJ
221782004-02-28 Daniel Jacobowitz <drow@mvista.com>
22179
22180 * gdb.base/relocate.c (dummy): Initialize.
22181
a195357f
DJ
221822004-02-28 Daniel Jacobowitz <drow@mvista.com>
22183
22184 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
22185 a breakpoint at exit.
22186
72fd54a9
FF
221872004-02-27 Fred Fish <fnf@redhat.com>
22188
22189 * gdb.base/chng-syms.exp: Add expect condition to match failing
22190 case that isn't a timeout.
22191
b9d23137
AC
221922004-02-27 Andrew Cagney <cagney@redhat.com>
22193
22194 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
22195 support.
22196
15d208f6 221972004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 22198
15d208f6
FF
22199 * gdb.arch/gdb1431.c: Remove.
22200 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
22201 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
22202 of "until" incorrectly.
22203
98f9cd2d
JB
222042004-02-26 J. Brobecker <brobecker@gnat.com>
22205
22206 * gdb.cp/class2.cc (empty): New class.
22207 (refer): New function.
22208 (main): Declare an object of type empty and use it.
22209 * gdb.cp/class2.exp: Print the value of an object of type empty.
22210
9b50c11b
JJ
222112004-02-26 Jeff Johnston <jjohnstn@redhat.com>
22212
22213 * gdb.base/langs.exp: Update query string to match the
22214 new nquery format used for pending breakpoints.
22215
0dcd613f
AC
222162004-02-26 Andrew Cagney <cagney@redhat.com>
22217
22218 Fix PR i18n/1570.
22219 * gdb.base/charset.c: Update copyright notice.
22220 (main, init_string): Remove the escape character '\e' tests.
22221 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
22222 * gdb.base/charset.exp (valid_host_charset): Ditto.
22223 * gdb.base/setvar.exp: Ditto.
22224
b8a56647
AC
222252004-02-24 Andrew Cagney <cagney@redhat.com>
22226
90d59e34
AC
22227 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
22228 mmapped data in core file" PASS and FAIL messages consistent.
22229
b8a56647
AC
22230 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
22231 setting a breakpoint. Work around PR java/1565.
22232
9f27c604
JJ
222332004-02-23 Jeff Johnston <jjohnstn@redhat.com>
22234
22235 * lib/gdb.exp (gdb_breakpoint): Update query string to match
22236 new nquery format.
22237 * gdb.base/pending.exp: Ditto.
22238
3224a706
MK
222392004-02-22 Mark Kettenis <kettenis@gnu.org>
22240
22241 * configure.in: Run stabs tests on *BSD.
22242 * configure: Regenerated.
22243
41e0a9ca
MK
222442004-02-21 Mark Kettenis <kettenis@gnu.org>
22245
22246 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
22247
1e1b3428
FF
222482004-02-20 Fred Fish <fnf@redhat.com>
22249
22250 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
22251 blank in test for "returns short", for consistency with other
22252 "returns xxx" tests. Update copyright year.
22253
f9a7572a
FF
222542004-02-19 Fred Fish <fnf@redhat.com>
22255
22256 New testcase for PR breakpoint/1558.
22257 * gdb.arch/gdb1558.exp: New file.
22258 * gdb.arch/gdb1558.c: New file.
22259
b2ce2854
EZ
222602004-02-19 Elena Zannoni <ezannoni@redhat.com>
22261
22262 * gdb.base/nodebug.exp: Fix typo.
22263
e7c9ff01
JB
222642004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22265
22266 Committed by Jim Blandy <jimb@redhat.com>.
22267
62f4b920
JB
22268 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
22269
2db536a1
JB
22270 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
22271
e7c9ff01
JB
22272 * gdb.base/float.exp: Support s390*-*-* targets.
22273
f3205b34
AF
222742004-02-17 Adam Fedor <fedor@gnu.org>
22275
22276 * gdb.base/gdb1555.exp: New file.
22277 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
22278
9d62932d
EZ
222792004-02-17 Elena Zannoni <ezannoni@redhat.com>
22280
22281 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
22282
344c9711
FF
222832004-02-16 Fred Fish <fnf@redhat.com>
22284
22285 * gdb.arch/gdb1291.c: Remove
22286 * gdb.arch/gdb1291.s: New test input file.
22287 * gdb.arch/gdb1291.exp: Expand test to check case that should not
22288 fail. Test for correct result, known incorrect result, other
22289 failures and timeouts.
22290
2d822687
AC
222912004-02-16 Andrew Cagney <cagney@redhat.com>
22292
22293 * gdb.base/bigcore.exp: New file.
22294 * gdb.base/bigcore.c: New file.
22295
dac15b66
AC
222962004-02-13 Andrew Cagney <cagney@redhat.com>
22297
22298 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
22299 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
22300 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
22301 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
22302 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
22303 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
22304 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
22305 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
22306 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
22307 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
22308
6bdfc2c4
JJ
223092004-02-11 Jeff Johnston <jjohnstn@redhat.com>
22310
22311 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
22312 executed is an alloc instruction.
22313
87b3ede8
DC
223142004-02-11 David Carlton <carlton@kealia.com>
22315
22316 * gdb.cp/breakpoint.exp: New.
22317 * gdb.cp/breakpoint.cc: New.
22318
6e19e2bf
MC
223192004-02-11 Michael Chastain <mec.gnu@mindspring.com>
22320
22321 Partial fix for PR gdb/1543.
22322 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
22323 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
22324 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
22325 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
22326 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
22327 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
22328 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
22329 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
22330 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
22331 to bug-gdb@prep.ai.mit.edu .
22332 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
22333 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
22334 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
22335 Likewise.
22336
5c5455dc
AC
223372004-02-10 Andrew Cagney <cagney@redhat.com>
22338
22339 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
22340 using gdb_internal_error_resync.
22341
9cf689d7
DJ
223422004-02-09 Daniel Jacobowitz <drow@mvista.com>
22343
22344 * gdb.threads/thread-specific.exp: Stop early if no threads are
22345 found.
22346
d2dc51db
MC
223472004-02-09 Michael Chastain <mec.gnu@mindspring.com>
22348
22349 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
22350
14b1a056
DJ
223512004-02-08 Daniel Jacobowitz <drow@mvista.com>
22352
22353 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
22354 breakpoints.
22355
83f66e8f
DJ
223562004-02-07 Daniel Jacobowitz <drow@mvista.com>
22357
22358 * config/sim.exp (gdb_load): Handle $arg == "".
22359 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
22360 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
22361
30fc0091
EZ
223622004-02-07 Elena Zannoni <ezannoni@redhat.com>
22363
a9c64011
AS
22364 * gdb.base/maint.exp: Update test to reflect
22365 obstack changes.
30fc0091 22366
4d806929
JJ
223672004-02-04 Jeff Johnston <jjohnstn@redhat.com>
22368
22369 * gdb.base/pendshr.c (pendfunc): New function that calls
22370 pendfunc1.
22371 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
22372
7bfdd688
FF
223732004-02-04 Fred Fish <fnf@redhat.com>
22374
22375 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
22376 function symbols and update copyright years.
22377 * gdb.arch/gdb1291.c: Ditto.
22378
aaa08ee4
MC
223792004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22380
22381 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
22382
dbad7755
MC
223832004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22384
22385 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
22386
ec4646ef
MC
223872004-02-03 Michael Chastain <mec.gnu@mindspring.com>
22388
22389 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
22390
1b802196
FF
223912004-02-02 Fred Fish <fnf@redhat.com>
22392
22393 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
22394 remote targets. Update copyright years.
22395
18fe2033
JJ
223962004-02-02 Jeff Johnston <jjohnstn@redhat.com>
22397
22398 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
22399 support.
22400 * gdb.base/langs.exp: Fix test which attempts to create
22401 breakpoint on non-existent function to handle new pending
22402 support.
22403 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
22404 a breakpoint.
22405 * gdb.base/pending.exp: New test.
22406 * gdb.base/pending.c: New file.
22407 * gdb.base/pendshr.c: Ditto.
22408
8d577d32
DC
224092004-02-02 David Carlton <carlton@kealia.com>
22410
22411 * gdb.cp/overload.exp: Add overloadNamespace tests.
22412 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
22413 (overloadNamespace, XXX): New.
22414 (main): Call XXX::marker2.
22415
3ad13771
FF
224162004-02-01 Fred Fish <fnf@redhat.com>
22417
22418 * gdb.base/dump.exp: Use runto_main instead of "runto main".
22419 * gdb.base/finish.exp: Ditto.
22420 * gdb.base/gcore.exp: Ditto.
22421 * gdb.base/huge.exp: Ditto.
22422 * gdb.base/info-proc.exp: Ditto.
22423 * gdb.base/return2.exp: Ditto.
22424 * gdb.threads/gcore-thread.exp: Ditto.
22425
44c75849
DJ
224262004-02-01 Daniel Jacobowitz <drow@mvista.com>
22427
22428 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
22429
005bc093
MK
224302004-02-01 Mark Kettenis <kettenis@gnu.org>
22431
22432 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
22433 that opening the file succeeds on OpenBSD.
22434
c47cebdb
DJ
224352004-02-01 Daniel Jacobowitz <drow@mvista.com>
22436
22437 * gdb.threads/thread-specific.c: New file.
22438 * gdb.threads/threads-specific.exp: New test script.
22439 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
22440 to expect_out.
22441
5a01311c
MK
224422004-02-01 Mark Kettenis <kettenis@gnu.org>
22443
22444 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
22445 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
22446 only on the "print_small_structs from print_long_arg_list" test.
22447
ce22a4f1
DJ
224482004-02-01 Daniel Jacobowitz <drow@mvista.com>
22449
22450 * gdb.base/completion.exp: Kill a stray backslash.
22451
22452 From Jim Ingham <jingham@apple.com>:
22453 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
22454 agrees with the result from sending a tab.
22455
abbab9d3
DJ
224562004-01-31 Daniel Jacobowitz <drow@mvista.com>
22457
22458 * gdb.base/chng-syms.exp: Remove stray newline.
22459
53904d1e
MK
224602004-01-31 Mark Kettenis <kettenis@gnu.org>
22461
22462 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
22463 *-*-openbsd*.
22464 * gdb.asm/openbsd.inc: New file.
22465
3a4b3aac
MK
224662004-01-30 Mark Kettenis <kettenis@gnu.org>
22467
22468 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
22469 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
22470 *-*solaris2*. Remove commented out default settings for
22471 asm-flags. Replace gdb_compile with target_link.
22472
ebac27b4
MC
224732004-01-29 Michael Chastain <mec.gnu@mindspring.com>
22474
22475 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
22476 for all tests. Remove old hp-ux and cygnus xfail cases.
22477
d8679d84
PH
224782004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
22479
22480 * gdb.base/chng-syms.exp: New file.
22481 * gdb.base/chng-syms.c: New file.
22482
0a55bc22
MC
224832004-01-24 Michael Chastain <mec.gnu@mindspring.com>
22484
22485 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
22486 Provide arms for current output in all my configurations.
22487
94b8e876
MC
224882004-01-24 Michael Chastain <mec.gnu@mindspring.com>
22489
22490 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
22491 * lib/compiler.cc: Likewise.
22492 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
22493 get the right preprocessor. Eval the output directly. Remove
22494 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
22495 hp_f77_compiler and hp_f90_compiler completely.
22496 (gdb_preprocess): Delete.
22497 (get_compiler): Delete.
22498
7cf03d44
MK
224992004-01-24 Mark Kettenis <kettenis@gnu.org>
22500
22501 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
22502 <string.h>.
22503
68b6dce9
NR
225042004-01-24 Nick Roberts <nick@nick.uklinux.net>
22505
22506 * gdb.mi/mi-stack.exp: Update copyright.
22507
b368761e
DC
225082004-01-23 David Carlton <carlton@kealia.com>
22509
22510 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
22511 test for cp_lookup_transparent_type.
22512 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
22513 call them.
22514
f2061b53
DJ
225152004-01-23 Daniel Jacobowitz <drow@mvista.com>
22516
22517 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
22518 after -var-update.
22519
37fc574a
DC
225202004-01-23 David Carlton <carlton@kealia.com>
22521
22522 * gdb.cp/namespace.cc (C::ensureRefs): New.
22523 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
22524
8e94b928
NR
225252004-01-20 Nick Roberts <nick@nick.uklinux.net>
22526
22527 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
22528 case "-stack-list-locals 2".
22529 * gdb.mi/mi-var-child.exp: Test for case
22530 "-var-list-children --all-values NAME".
22531
997b0952
MC
225322004-01-18 Michael Chastain <mec.gnu@mindspring.com>
22533
22534 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
22535
52470da3
MK
225362004-01-18 Mark Kettenis <kettenis@gnu.org>
22537
7049b4b8
MK
22538 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
22539 used with gdb_test_multiple.
22540
52470da3
MK
22541 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
22542 read at address 0. This fixes PR testsuite/1504.
22543
da6012e5
DJ
225442004-01-18 Daniel Jacobowitz <drow@mvista.com>
22545
22546 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
22547 Remove downloading, guessing the host executable, the calls to
22548 gdb_file_cmd and gdb_target_cmd, and "load" support.
22549 (infer_host_exec): New function broken out from gdb_load.
22550 (gdb_load): New wrapper for gdbserver_gdb_load.
22551 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
22552 gdb_target_cmd. Use -target-select.
22553 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
22554 Download binaries to the host. Clear last_mi_remote_file when
22555 we load a new binary.
22556 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
22557 call gdbserver_gdb_load and mi_gdb_target_cmd.
22558
32c70722
MC
225592004-01-17 Michael Chastain <mec.gnu@mindspring.com>
22560
22561 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
22562 type patterns.
22563
b0cecf36
MC
225642004-01-17 Michael Chastain <mec.gnu@mindspring.com>
22565
22566 * gdb.cp/templates.exp: Fix typo in test name of
22567 "print Foo<volatile char*>::foo".
22568
4120d7e6
MC
225692004-01-15 Michael Chastain <mec.gnu@mindspring.com>
22570
22571 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
22572
f679e530
BE
225732004-01-16 Ben Elliston <bje@wasabisystems.com>
22574
22575 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
22576 (clean mostlyclean): Remove empty rm.
22577
091c48f6
MC
225782004-01-15 Michael Chastain <mec.gnu@mindspring.com>
22579
22580 * gdb.base/setvar.exp: Add copyright years.
22581
3e5fc8d2
DC
225822004-01-14 David Carlton <carlton@bactrian.org>
22583
22584 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
22585 PR c++/1511 and update coment.
22586 * gdb.cp/templates.exp: Update patterns to match current output.
22587 If changes involve something other than whitespace, KFAIL
22588 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
22589
63d06c5c
DC
225902004-01-14 David Carlton <carlton@kealia.com>
22591
22592 * gdb.cp/namespace.exp: Add tests involving classes defined within
22593 namespaces.
22594 * gdb.cp/namespace.cc (C::CClass): New.
22595 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
22596
a51dab88
EZ
225972004-01-14 Elena Zannoni <ezannoni@redhat.com>
22598
22599 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
22600 what debug info we have. Print a better message if something goes
22601 wrong while producing the separate debug info file.
22602
a476ccc9
MC
226032004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22604
22605 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
22606
f453692c
MC
226072004-01-14 Michael Chastain <mec.gnu@mindspring.com>
22608
22609 * gdb.base/callfuncs.c: Add copyright notice.
22610
f40063a5
MC
226112004-01-13 Michael Chastain <mec.gnu@mindspring.com>
22612
22613 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
22614 inheritance. PR gdb/1498, PR gcc/13539.
22615
19ac3974
EZ
226162004-01-13 Elena Zannoni <ezannoni@redhat.com>
22617
a9c64011
AS
22618 * gdb.threads/gcore-thread.exp: Prefix name of binary with
22619 test specific name.
22620 * gdb.mi/gdb669.exp: Ditto.
22621 * gdb.mi/mi-pthreads.exp: Ditto.
22622 * gdb.mi/mi1-pthreads.exp: Ditto.
22623 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 22624
56c97c6e
MC
226252004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22626
22627 * gdb.cp/member-ptr.cc: Add copyright notice.
22628
a0644324
MC
226292004-01-12 Michael Chastain <mec.gnu@mindspring.com>
22630
22631 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
22632 some patterns for recent versions of gcc and hpacc. Delete
22633 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
22634 Delete tests that access a NULL pointer-to-member-data. This
22635 script is still disabled for gcc.
22636
32fabe09
EZ
226372004-01-12 Elena Zannoni <ezannoni@redhat.com>
22638
22639 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 22640 escaped correctly.
32fabe09 22641
1f8a6abb
EZ
226422004-01-12 Elena Zannoni <ezannoni@redhat.com>
22643
22644 * gdb.base/sepdebug.exp: New file.
22645 * gdb.base/sepdebug.c: New file.
22646 * lib/gdb.exp (separate_debug_filename): New procedure.
22647 (gdb_gnu_strip_debug): New procedure.
22648
48efe704
AC
226492004-01-12 Andrew Cagney <cagney@redhat.com>
22650
22651 * gdb.mi/ChangeLog: Delete file. Renamed to ...
22652 * gdb.mi/ChangeLog-1999-2003: New file.
22653
a9415475
AC
226542004-01-12 Andrew Cagney <cagney@redhat.com>
22655
22656 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
22657 "Renaming a directory to a non-empty directory returns ENOTEMPTY
22658 or EEXIST", treat EBUSY as an XFAIL.
22659
83b8cf9d
MC
226602004-01-11 Michael Chastain <mec.gnu@mindspring.com>
22661
22662 * gdb.base/scope.exp: Remove obsolete setup_xfail for
22663 hp_cc_compiler.
22664
9939d2a8
MC
226652004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22666
22667 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
22668 decorations.
22669
1ff8cadf
MC
226702004-01-10 Michael Chastain <mec.gnu@mindspring.com>
22671
22672 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
22673 and "(aCC)" decorations. Remove obsolete doco about old
22674 test results.
22675
6fa9022e
MC
226762004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22677
22678 * gdb.cp/exception.exp: Fix typo in doco.
22679
209721fe
MK
226802004-01-09 Mark Kettenis <kettenis@gnu.org>
22681
22682 * gdb.base/gdb1476.exp: Fix typo.
22683
ef11303e
MC
226842004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22685
22686 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
22687 file.
22688
041ab88c
MC
226892004-01-09 Michael Chastain <mec.gnu@mindspring.com>
22690
22691 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
22692 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
22693 Use gdb_compile. Remove restriction on gcc. Add some patterns
22694 for recent version of gdb. Delete second half, which was a copy
22695 of the first half with different build flags. This test is
22696 still disabled because it is still not ready for production.
22697
e36d075a
MC
226982004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22699
22700 * gdb.cp/exception.cc: Add copyright notice.
22701 * gdb.cp/exception.exp: Add a notice that this file is broken
22702 because of line number changes caused by addition of copyright
22703 notice.
22704
42b190ad
MC
227052004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22706
22707 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
22708 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
22709
8f25f06b
MC
227102004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22711
22712 * gdb.cp/classes.exp: Accept gnu abi 2.
22713 * gdb.cp/derivation.exp: Likewise.
22714 * gdb.cp/overload.exp: Likewise.
22715 * gdb.cp/virtfunc.exp: Likewise.
22716
06ded8b8
MC
227172004-01-08 Michael Chastain <mec.gnu@mindspring.com>
22718
22719 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
22720 semicolon after end of function.
22721
77c26ae3
MC
227222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22723
22724 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
22725 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
22726 boilerplate code for compiling and running the program under
22727 test. Add some string method tests.
22728
20757486
MC
227292004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22730
22731 * gdb.cp/bs15503.cc: Add copyright notice.
22732 * gdb.cp/bs15503.exp: Adjust line number.
22733
0fd3b503
MC
227342004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22735
22736 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
22737 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
22738
10d1bea8
MC
227392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22740
22741 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
22742 hp_cc_compiler.
22743
2789202a
MC
227442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22745
22746 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
22747 * gdb.cp/ctti.exp: Use the marker instead of "next".
22748 With gcc, run further before bailing.
22749
b862f14c
MC
227502004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22751
22752 * gdb.cp/cttiadd.cc: Add copyright notice.
22753 * gdb.cp/cttiadd1.cc: Likewise.
22754 * gdb.cp/cttiadd2.cc: Likewise.
22755 * gdb.cp/cttiadd3.cc: Likewise.
22756
96da2469
MC
227572004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22758
22759 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
22760 Use gdb_test, gdb_test_multiple. Use floating-point values that
22761 have exact representations in IEEE-ish formats.
22762
053248ff
MC
227632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22764
22765 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
22766 compilers. Delete duplicate call to get_compiler_info.
22767 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
22768 * gdb.base/volatile.exp: Likewise.
22769
84acecdd
MK
227702004-01-07 Mark Kettenis <kettenis@gnu.org>
22771
22772 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
22773 memory at address 0.
22774
fe11a27f
MC
227752004-01-07 Michael Chastain <mec.gnu@mindspring.com>
22776
22777 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
22778 to test for hp-ux assembler. Fix copyright years.
22779
60ad077b
AC
227802004-01-07 Andrew Cagney <cagney@redhat.com>
22781
22782 * gdb.base/fileio.c (strerrno): Add "EBUSY".
22783
1c9b8f33
AC
227842004-01-07 Andrew Cagney <cagney@redhat.com>
22785
22786 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
22787 when creating the read-only file. From analysis by Roland McGrath
22788 and Elena Zannoni.
22789
753ccc7a
MC
227902004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22791
22792 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
22793
eca3e36b
MC
227942004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22795
22796 * gdb.base/cvexpr.c: Be type-safe with function pointers and
22797 data pointers.
22798
f8d4bac4
MC
227992004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22800
22801 * gdb.cp/m-static.exp: Compile one source file at a time.
22802 Delete unused call to get_compiler_info.
22803
9b4e0f94
MC
228042004-01-06 Michael Chastain <mec.gnu@mindspring.com>
22805
22806 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
22807 * gdb.base/call-rt-st.exp: Likewise.
22808 * gdb.base/nodebug.exp: Likewise.
22809 * gdb.base/volatile.exp: Likewise.
22810 * gdb.cp/ref-types.exp: Likewise.
22811 * gdb.cp/templates.exp: Likewise.
22812
023c1024
MK
228132004-01-05 Mark Kettenis <kettenis@gnu.org>
22814
22815 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
22816
19703c4a
MC
228172004-01-05 Michael Chastain <mec.gnu@mindspring.com>
22818
22819 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
22820 hppa*-hp-hpux*.
22821
18b67037
MK
228222004-01-04 Mark Kettenis <kettenis@gnu.org>
22823
ba6219c8
MK
22824 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22825 x86_64-*-*.
22826
18b67037
MK
22827 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
22828 sparc64-*-* and sparc*-solaris2*.
22829
1bfbbb9d
MK
228302004-01-04 Mark Kettenis <kettenis@gnu.org>
22831
22832 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
22833 return ${tests}" test. The ${tests} already mentions the
22834 filename.
22835
06846494
MC
228362004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22837
22838 * gdb.cp/local.exp: Accept gcc abi 2.
22839
3b0cb202
MC
228402004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22841
22842 * gdb.cp/templates.exp: Accept gcc abi 2.
22843
0643ec3f
MC
228442004-01-02 Michael Chastain <mec.gnu@mindspring.com>
22845
22846 * lib/compiler.cc: Remove supports_template_debugging.
22847 * gdb.cp/templates.exp: Do not test supports_template_debugging.
22848
d231d0b1
MC
228492004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22850
22851 * gdb.cp/namespace.exp: Accept gcc abi 2.
22852
44ffb27c
MC
228532004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22854
22855 * gdb.cp/method.exp: Accept gcc abi 2.
22856
184ad485
MC
228572004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22858
22859 * gdb.cp/classes.exp: Generate identical results as old version.
22860 * gdb.cp/derivation.exp: Likewise.
22861 * gdb.cp/overload.exp: Likewise.
22862 * gdb.cp/virtfunc.exp: Likewise.
22863
116f09e7
MC
228642004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22865
22866 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
22867 mysterious bug with sourceware version of expect.
22868
b1379776
MC
228692004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22870
22871 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
22872 current versions of gcc, including gcc abi 2. Remove gratuitous
22873 restart of test program. Use gdb_test_multiple and gdb_test for
22874 all tests. Add patterns to xfail missing "const" in "const char *"
22875 and kfail PR gdb/1155.
22876
6b7a4c0e
MC
228772004-01-01 Michael Chastain <mec.gnu@mindspring.com>
22878
22879 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
22880 current versions of gcc, including gcc abi 2. Remove gratuitous
22881 restart of test program. Use gdb_test_multiple and gdb_test for
22882 all tests. Add patterns to kfail PR gdb/1498.
22883
51615d72
MC
228842003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22885
22886 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
22887 current versions of gcc, including gcc abi 2. Use "breakpoint"
22888 and "continue" instead of restarting the target program. Use
22889 gdb_test_multiple and gdb_test for all tests.
22890
7b79a9d7
MK
228912004-01-01 Mark Kettenis <kettenis@gnu.org>
22892
22893 * gdb.asm/asm-source.exp: Update copyright year. Link statically
22894 for *-*-solaris2*.
22895
1cd3489f
MC
228962003-12-31 Michael Chastain <mec.gnu@mindspring.com>
22897
22898 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
22899 current versions of gcc, including gcc abi 2. Use "breakpoint"
22900 and "continue" instead of restarting the target program several
22901 times. Use gdb_test_multiple and gdb_test for all tests.
22902
850742db
MC
229032003-12-18 Michael Chastain <mec.gnu@mindspring.com>
22904
22905 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
22906 source files.
22907
eb4bbda8
MC
229082003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22909
22910 * gdb.base/environ.exp: Handle compiling test case from multiple
22911 source files.
22912
e42c7771
MC
229132003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22914
22915 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
22916
80e4b428
JB
229172003-12-17 Jim Blandy <jimb@redhat.com>
22918
5f06973a
JB
22919 * gdb.base/freebpcmd.c: Add copyright notice.
22920
80e4b428
JB
22921 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
22922
0ab84fb7
MC
229232003-12-16 Michael Chastain <mec.gnu@mindspring.com>
22924
22925 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
22926
1b3bb3d0
JB
229272003-12-13 Jim Blandy <jimb@redhat.com>
22928
22929 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
22930
3a4c9371
KB
229312003-12-12 Kevin Buettner <kevinb@redhat.com>
22932
22933 * gdb.asm/frv.inc: New file.
22934 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
22935
a1dea79a
FF
229362003-12-09 Fred Fish <fnf@redhat.com>
22937
22938 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
22939 functions to break1.c and leave prototypes behind. Add more
22940 "set breakpoint NN here" comments.
22941 * gdb.base/break1.c: New file.
22942
22943 * gdb.base/break.exp: Handle compiling test case from multiple
22944 source files and change source file references as needed.
22945 * gdb.base/completion.exp: Ditto.
22946 * gdb.base/condbreak.exp: Ditto.
22947 * gdb.base/define.exp: Ditto.
22948 * gdb.base/ena-dis-br.exp: Ditto.
22949 * gdb.base/info-proc.exp: Ditto.
22950 * gdb.base/maint.exp: Ditto.
22951 * gdb.base/until.exp: Ditto.
22952
22953 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
22954 hardcoded line numbers.
22955 * gdb.base/define.exp: Ditto.
22956 * gdb.base/ena-dis-br.exp: Ditto.
22957 * gdb.base/maint.exp: Ditto.
22958 * gdb.base/until.exp: Ditto.
22959
22960 * gdb.base/completion.exp: Use "break1" for completion tests since
22961 "break" is no longer a unique prefix.
22962
5266b69c
AC
229632003-12-06 Andrew Cagney <cagney@redhat.com>
22964
22965 * gdb.base/structs.exp (test_struct_returns): When applicable, set
22966 "return_value_unimplemented". When an unimplemented struct return
22967 architecture, report incorrect values as a KFAIL
22968
374451f0
MC
229692003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22970
22971 * gdb.cp/rtti.exp: Accept new wording of warning from
22972 cp_lookup_rtti_type.
22973
ba9b20a7
MC
229742003-12-05 Michael Chastain <mec.gnu@mindspring.com>
22975
22976 Partial fix for PR testsuite/1456.
22977 * gdb.base/scope.exp (test_at_main): Replace references to
22978 gcc_compiled with calls to test_compiler_info.
22979 (test_at_foo): Likewise.
22980 (test_at_bar): Likewise.
22981
b74b6d0b
MC
229822003-12-04 Michael Chastain <mec.gnu@mindspring.com>
22983
22984 Partial fix for PR testsuite/1456.
22985 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
22986 to test_compiler_info.
22987
ccfa3402
MC
229882003-12-03 Michael Chastain <mec.gnu@mindspring.com>
22989
22990 * gdb.base/so-impl-ld.exp: Update copyright notice.
22991
f6246aba
MC
229922003-12-02 Michael Chastain <mec.gnu@mindspring.com>
22993
22994 Partial fix for PR testsuite/1456.
22995 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
22996 to test_compiler_info.
22997
13ae734a
MC
229982003-11-28 Michael Chastain <mec.gnu@mindspring.com>
22999
23000 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
23001 from current versions of gdb. Clean up regular expressions.
23002 Delete redundant timeout case.
23003
d8e1cdee
MC
230042003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23005
23006 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
23007 from current versions of gdb. Clean up regular expressions.
23008 Delete redundant timeout case.
23009
96457b64
MC
230102003-12-01 Michael Chastain <mec.gnu@mindspring.com>
23011
23012 Partial fix for PR testsuite/1456.
23013 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
23014 gcc_compiled with call to test_compiler_info.
23015
f35309fc
MC
230162003-11-30 Michael Chastain <mec.gnu@mindspring.com>
23017
23018 Partial fix for PR testsuite/1456.
23019 * gdb.base/list.exp (test_list_function): Delete unused declaration
23020 of gcc_compiled.
23021
d7afdf9b
MC
230222003-11-29 Michael Chastain <mec.gnu@mindspring.com>
23023
23024 Partial fix for PR testsuite/1456.
23025 * gdb.base/complex.exp: Replace reference to gcc_compiled with
23026 call to test_compiler_info.
23027
71507b56
MK
230282003-11-29 Mark Kettenis <kettenis@gnu.org>
23029
23030 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
23031 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
23032 it to create the appropriate note.inc.
23033 * gdb.asm/asmsrc1.s: Include "note.inc".
23034 * gdb.asm/netbsd.inc: New file.
23035 * gdb.asm/empty.inc: New file.
23036
f81f93f7
MC
230372003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23038
23039 Partial fix for PR testsuite/1456.
23040 * gdb.base/constvars.exp: Replace references to gcc_compiled with
23041 calls to test_compiler_info.
23042
9a77938e
MC
230432003-11-27 Michael Chastain <mec.gnu@mindspring.com>
23044
23045 Partial fix for PR testsuite/1456.
23046 * gdb.base/volatile.exp: Replace references to gcc_compiled with
23047 calls to test_compiler_info.
23048
e8367dc7
MK
230492003-11-27 Mark Kettenis <kettenis@gnu.org>
23050
23051 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
23052 pattern for the KFAILs.
23053
526c61ee
AF
230542003-11-25 Adam Fedor <fedor@gnu.org>
23055
23056 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
23057 * gdb.objc/objcdecode.m: New file.
23058
28f2d600
AF
230592003-11-25 Adam Fedor <fedor@gnu.org>
23060
23061 * gdb.objc/nondebug.exp: Test for PR objc/1236.
23062 * gdb.objc/nondebug.m: New file.
23063
a3895cee
BE
230642003-11-26 Ben Elliston <bje@wasabisystems.com>
23065
23066 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23067 NetBSD as it does on FreeBSD. Modelled on a similar change by
23068 Mark Kettenis on 2003-05-30.
23069 (link-flags): Set to "--entry _start" regardless of target.
23070 Special linker flags are to be appended to $link-flags.
23071 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
23072
c9f2c8a3
MC
230732003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23074
23075 * gdb.cp/method.exp: Accept output of new demangler.
23076
15a0587a 230772003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
23078
23079 * gdb/class2.exp: New file.
23080 * gdb/class2.cc: New file.
23081
3c00b570
MC
230822003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23083
23084 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
23085 of new demangler.
23086
7027acc7
MK
230872003-11-23 Mark Kettenis <kettenis@gnu.org>
23088
23089 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
23090 of gdb_test "run".
23091
b0e1598a
MK
230922003-11-23 Mark Kettenis <kettenis@gnu.org>
23093
23094 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
23095 "continue" into "run".
23096
4d9eda44
MC
230972003-11-23 Michael Chastain <mec.gnu@mindspring.com>
23098
23099 Partial fix for PR testsuite/1456.
23100 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
23101 call to test_compiler_info.
23102 * gdb.cp/ctti.exp: Likewise.
23103 * gdb.cp/derivation.exp: Likewise.
23104 * gdb.cp/member-ptr.exp: Likewise.
23105 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
23106 reference to gcc_compiled.
23107
231082003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
23109
23110 Fix PR testsuite/1463.
23111 * gdb.base/structs.exp (start_structs_test): Call
23112 get_debug_format before using the debug format.
23113
d422fe19
AC
231142003-11-22 Andrew Cagney <cagney@redhat.com>
23115
23116 * lib/gdb.exp (gdb_test_multiple): Add simple example.
23117 * gdb.base/structs.exp: Use gdb_test_multiple.
23118
039cf96d
AC
231192003-11-20 Andrew Cagney <cagney@redhat.com>
23120
6882279b
AC
23121 * gdb.base/structs.exp: Handle and recover from internal errors.
23122 Replace "foo${n}" with "foo<n>" in test messages.
23123
e53890ae
AC
23124 * gdb.base/structs.exp: Update copyright. Rewrite.
23125 * gdb.base/structs.c: Update copyright. Rewrite.
23126
2b211c59
AC
23127 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
23128 resync count exceeded.
d63a86f8 23129
039cf96d
AC
23130 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
23131 from the internal error.
23132 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
23133 Original from Jim Blandy.
23134 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 23135
eac98b22
AC
231362003-11-19 Andrew Cagney <cagney@redhat.com>
23137
23138 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
23139 KFAIL.
23140
67455b2a
MK
231412003-11-17 Mark Kettenis <kettenis@gnu.org>
23142
23143 New testcase for PR backtrace/1435.
23144 * gdb.arch/i386-unwind.exp: New file.
23145 * gdb.arch/i386-unwind.c: New file.
23146
853d6e5b
AC
231472003-11-17 Andrew Cagney <cagney@redhat.com>
23148
23149 * lib/gdb.exp (compiler_info): New global.
23150 (test_compiler_info): New function.
23151 (get_compiler_info): Set compiler_info.
23152 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
23153 "compiler_info" to gcc-<major>-<minor>.
23154
38cf6e11
MC
231552003-11-15 Michael Chastain <mec.gnu@mindspring.com>
23156
23157 * gdb.trace/configure: Remove.
23158
a50d3602
EZ
231592003-11-13 Elena Zannoni <ezannoni@redhat.com>
23160
23161 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 23162 breakpoints.
a50d3602
EZ
23163 * gdb.base/break.exp: Remove all references to explicit line
23164 numbers.
23165
d9407aaa
NC
231662003-11-11 Nick Clifton <nickc@redhat.com>
23167
23168 * gdb.base/shreloc.exp: Do not run for targets which do not
23169 support shared objects.
23170
db488fc1
CV
231712003-11-10 Corinna Vinschen <vinschen@redhat.com>
23172
23173 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
23174 Don't run tests if nofileio flag is given.
23175
6a90a18e
EZ
231762003-11-07 Elena Zannoni <ezannoni@redhat.com>
23177
23178 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 23179 as well as 'Watchpoint'.
6a90a18e 23180
0b915e9c
EZ
231812003-11-06 Elena Zannoni <ezannoni@redhat.com>
23182
23183 Reported by Jim Ingham <jingham@apple.com>:
23184 * gdb.base/annota1.exp: Match at least one occurrence of the
23185 signal handler annotation.
23186
d7e4b55f
EZ
231872003-11-06 Elena Zannoni <ezannoni@redhat.com>
23188
a9c64011
AS
23189 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
23190 as well as 'Watchpoint'.
d7e4b55f 23191
2fe4e8d0
MC
231922003-11-05 Michael Chastain <mec@shout.net>
23193
23194 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
23195
6ef88553
KW
231962003-11-03 Kris Warkentin <kewarken@qnx.com>
23197
23198 * gdb.arch/gdb1291.c: New test file.
23199 * gdb.arch/gdb1291.exp: New test script.
23200 * gdb.arch/gdb1431.c: New test file.
23201 * gdb.arch/gdb1431.exp: New test script.
23202
ae7dc4d8
MC
232032003-10-22 Michael Chastain <mec@shout.net>
23204
23205 * gdb.mi/pthreads.c: Add copyright notice.
23206
c39d7427
MC
232072003-10-22 Michael Chastain <mec@shout.net>
23208
23209 * gdb.threads/pthreads.c: Add copyright notice.
23210
8b7d96c1
MC
232112003-10-20 Michael Chastain <mec@shout.net>
23212
23213 * gdb.base/gdb1056.exp: New test script.
23214
d1d69fdd
DJ
232152003-10-13 Daniel Jacobowitz <drow@mvista.com>
23216
23217 * gdb.threads/killed.exp: Use gdb_run_cmd.
23218
7d605576
DJ
232192003-10-13 Daniel Jacobowitz <drow@mvista.com>
23220
23221 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
23222 create a core file.
23223 * gdb.threads/gcore-thread.exp: Likewise.
23224
618ec112
CV
232252003-10-13 Corinna Vinschen <vinschen@redhat.com>
23226
23227 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
23228 type, based on char type.
23229 (struct bit_flags_short_t): New bitfield type, based on short type.
23230 (init_bit_flags_char): New fuction.
23231 (init_bit_flags_short): Ditto.
23232 (print_bit_flags_char): Ditto.
23233 (print_bit_flags_short): Ditto.
23234 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
23235
9367a73c
MC
232362003-10-11 Michael Chastain <mec@shout.net>
23237
23238 * gdb.base/call-rt-st.exp: Update copyright year.
23239
1decf120
KI
232402003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
23241
23242 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
23243 * gdb.disasm/sh3.s: Ditto.
23244
5445b2ae
DJ
232452003-10-07 Daniel Jacobowitz <drow@mvista.com>
23246
23247 * gdb.threads/switch-threads.exp: New test.
23248 * gdb.threads/switch-threads.c: New source file.
23249
aec24853
CV
232502003-10-07 Corinna Vinschen <vinschen@redhat.com>
23251
23252 * gdb.base/ending-run.exp: Add sh specific case.
23253
adc7428d
AC
232542003-10-06 Andrew Cagney <cagney@redhat.com>
23255
23256 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
23257 * gdb.disasm/mn10200.exp: Delete obsolete file.
23258
c9d37158
DJ
232592003-09-29 Daniel Jacobowitz <drow@mvista.com>
23260
23261 * ChangeLog: Correct an entry command.exp -> commands.exp.
23262 * gdb.base/commands.exp (bp_deleted_in_command_test)
23263 (temporary_breakpoint_commands): Check noargs.
23264
79c2c32d
DC
232652003-09-25 David Carlton <carlton@kealia.com>
23266
23267 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
23268 of some print tests, where appropriate. Add tests for C::D::cd,
23269 E::ce, F::cXfX, G::XgX.
23270 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
23271
594e6d67
RE
232722003-09-25 Richard Earnshaw <rearnsha@arm.com>
23273
23274 * lib/java.exp (java_init): Import target_alias before using it.
23275
10f0d451
DC
232762003-09-25 David Carlton <carlton@kealia.com>
23277
23278 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
23279
274bcba0
EZ
232802003-09-23 Elena Zannoni <ezannoni@redhat.com>
23281
d63a86f8 23282 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 23283 weirdness.
274bcba0 23284
cdbf20f7
MC
232852003-09-17 Michael Chastain <mec@shout.net>
23286
23287 * gdb.cp/gdb1355.exp: New file.
23288 * gdb.cp/gdb1355.c: New file.
23289
71e06f80
CV
232902003-09-15 Corinna Vinschen <vinschen@redhat.com>
23291
23292 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
23293 * gdb.asm/sh.inc: New file.
23294
5c4e30ca
DC
232952003-09-11 David Carlton <carlton@kealia.com>
23296
bd45b7af
DC
23297 * gdb.cp/namespace.exp: Add tests for namespace types.
23298 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
23299 (test_namespace): New.
23300
1c199746
EZ
233012003-09-11 Elena Zannoni <ezannoni@redhat.com>
23302
a9c64011 23303 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 23304 * gdb.stabs/weird.exp: Ditto.
1c199746 23305
04ed252f
MC
233062003-09-08 Michael Chastain <mec@shout.net>
23307
23308 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
23309
d8a2d9e7
MC
233102003-09-07 Michael Chastain <mec@shout.net>
23311
23312 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
23313 'parse error'.
23314
161afb24
MK
233152003-09-07 Mark Kettenis <m.kettenis@osp.nl>
23316
23317 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
23318
49f2741a
MC
233192003-08-30 Michael Chastain <mec@shout.net>
23320
23321 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
23322 * gdb.gdb/observer.exp: Ditto.
23323 * gdb.gdb/xfullpath.exp: Ditto.
23324
8afa723e
MK
233252003-08-29 Mark Kettenis <kettenis@gnu.org>
23326
23327 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
23328 *-*-*bsd*.
23329
f31dfe3b
JJ
233302003-08-28 Jeff Johnston <jjohnstn@redhat.com>
23331
23332 * gdb.base/dump.exp: Skip for ia64.
23333
4630e498
JJ
233342003-08-25 Jeff Johnston <jjohnstn@redhat.com>
23335
23336 * gdb.asm/asm-source.exp: Add ia64 support.
23337 * gdb.asm/ia64.inc: New file.
23338
1105b7ef
MC
233392003-08-22 Michael Chastain <mec@shout.net>
23340
23341 * gdb.cp: New directory.
23342 * gdb.cp/*: Copy from gdb.c++/*.
23343 * gdb.c++/*: Remove.
23344 * Makefile.in: Change gdb.c++ to gdb.cp.
23345 * configure.in: Ditto.
23346 * configure: Regnerate.
23347
c945b932
MK
233482003-08-18 Mark Kettenis <kettenis@gnu.org>
23349
23350 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
23351 * gdb.arch/i386-prologue.c (gdb1338): Add function.
23352
2b66634b
DJ
233532003-08-17 Daniel Jacobowitz <drow@mvista.com>
23354
23355 * mi-var-display.exp (-var-list-children weird): Accept function
23356 pointers with argument types.
23357 * mi1-var-display.exp (-var-list-children weird): Likewise.
23358 * mi2-var-display.exp (-var-list-children weird): Likewise.
23359
a356f73b
DJ
233602003-08-17 Daniel Jacobowitz <drow@mvista.com>
23361
23362 * gdb.base/annota3.exp: Add missing newline.
23363
483417b8
MC
233642003-08-06 Michael Chastain <mec@shout.net>
23365
23366 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
23367
c99c59c3
MS
233682003-08-12 Michael Snyder <msnyder@redhat.com>
23369
23370 * gdb.base/float.exp: Add test for SH.
23371
55ed7501
MK
233722003-08-10 Mark Kettenis <kettenis@gnu.org>
23373
23374 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
23375
1a371f2e
EZ
233762003-08-07 Elena Zannoni <ezannoni@redhat.com>
23377
23378 * gdb.base/completion.exp: Remove reduntant completion test
23379 on filename.
23380
e0f353ce
EZ
233812003-08-07 Elena Zannoni <ezannoni@redhat.com>
23382
a9c64011
AS
23383 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
23384 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
23385 gdb.trace/save-trace.exp: Make sure that full pathnames are
23386 escaped correctly.
e0f353ce 23387
5710a1af 233882003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 23389
a9c64011
AS
23390 * configure.in: Don't generate config.h from config.hin.
23391 * configure: Regenerate.
23392 * config.hin: Remove file.
23393 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
23394 * gdb.threads/pthreads.c: Ditto.
5710a1af 23395
dcd81ce9
DJ
233962003-08-07 Daniel Jacobowitz <drow@mvista.com>
23397
23398 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23399 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
23400 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
23401 Replace ld24 with seth/add3.
23402
6009d884
AC
234032003-08-02 Andrew Cagney <cagney@redhat.com>
23404
23405 * gdb.base/annota3.exp: New file.
23406 * gdb.base/annota3.c: New file.
23407 * gdb.c++/annota3.exp: New file.
23408 * gdb.c++/annota3.cc: New file.
23409
51514e06
MC
234102003-07-29 Michael Chastain <mec@shout.net>
23411
23412 * gdb.threads/tls.c (spin): Check errno only if sem_wait
23413 actually failed.
23414 (do_pass): Likewise.
23415 * gdb.threads/tls.exp: Always initialize no_of_threads.
23416
4ee6625b
DJ
234172003-07-27 Daniel Jacobowitz <drow@mvista.com>
23418
23419 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
23420 pattern.
23421 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
23422 * gdb.threads/tls.exp: Recognize one case of the host library not
23423 supporting TLS.
23424
225f2bf6
AC
234252003-07-27 Andrew Cagney <cagney@redhat.com>
23426
23427 * gdb.base/fileio.exp: Use SH when running commands using
23428 remote_exec.
23429
bcb27c9f
DJ
234302003-07-24 Daniel Jacobowitz <drow@mvista.com>
23431
23432 From Kei Sakamoto <sakamoto.kei@renesas.com>:
23433 * gdb.base/relocate.c (dummy): New padding array.
23434
3d67be83
MS
234352003-07-22 Michael Snyder <msnyder@redhat.com>
23436
d63a86f8 23437 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
23438
23439 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
23440 patterns to be more general, accepting old and new output.
23441 Some output chars (such as '+') also must be quoted.
d63a86f8 23442 Some addresses are displayed numerically instead of
3d67be83
MS
23443 symbolically.
23444
57ba3b85
MS
234452003-07-23 Michael Snyder <msnyder@redhat.com>
23446
686d097c
MS
23447 * gdb.base/return2.exp: Don't test long-long return.
23448
57ba3b85
MS
23449 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
23450 * gdb.disasm/t01_mov.exp: Ditto.
23451 * gdb.disasm/t02_mova.s: Ditto.
23452 * gdb.disasm/t02_mova.exp: Ditto.
23453 * gdb.disasm/t03_add.s: Ditto.
23454 * gdb.disasm/t03_add.exp: Ditto.
23455 * gdb.disasm/t04_sub.s: Ditto.
23456 * gdb.disasm/t04_sub.exp: Ditto.
23457 * gdb.disasm/t05_cmp.s: Ditto.
23458 * gdb.disasm/t05_cmp.exp: Ditto.
23459 * gdb.disasm/t06_ari2.s: Ditto.
23460 * gdb.disasm/t06_ari2.exp: Ditto.
23461 * gdb.disasm/t07_ari3.s: Ditto.
23462 * gdb.disasm/t07_ari3.exp: Ditto.
23463 * gdb.disasm/t08_or.s: Ditto.
23464 * gdb.disasm/t08_or.exp: Ditto.
23465 * gdb.disasm/t09_xor.s: Ditto.
23466 * gdb.disasm/t09_xor.exp: Ditto.
23467 * gdb.disasm/t10_and.s: Ditto.
23468 * gdb.disasm/t10_and.exp: Ditto.
23469 * gdb.disasm/t11_logs.s: Ditto.
23470 * gdb.disasm/t11_logs.exp: Ditto.
23471 * gdb.disasm/t12_bit.s: Ditto.
23472 * gdb.disasm/t12_bit.exp: Ditto.
23473 * gdb.disasm/t13_otr.s: Ditto.
23474 * gdb.disasm/t13_otr.exp: Ditto.
23475
e00759ef
EZ
234762003-07-22 Elena Zannoni <ezannoni@redhat.com>
23477
23478 * gdb.threads/tls.exp :Add kfail for 'info address' case.
23479
8bc2021f
EZ
234802003-07-22 Elena Zannoni <ezannoni@redhat.com>
23481
a9c64011
AS
23482 * gdb.threads/tls.c : New file.
23483 * gdb.threads/tls.exp : New file.
23484 * gdb.threads/tls-main.c : New file.
23485 * gdb.threads/tls-shared.c : New file.
23486 * gdb.threads/tls-shared.exp : New file.
8bc2021f 23487
89320c4c
AS
234882003-07-22 Andreas Schwab <schwab@suse.de>
23489
23490 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
23491
180dea7c
AS
234922003-07-20 Andreas Schwab <schwab@suse.de>
23493
23494 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
23495 due to insn reordering.
23496
0714963c
AC
234972003-07-15 Andrew Cagney <cagney@redhat.com>
23498
23499 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
23500
98a23b3f
MC
235012003-07-15 Michael Chastain <mec@shout.net>
23502
23503 * gdb.base/gdb1250.exp: New file.
23504 * gdb.base/gdb1250.c: New file.
23505
27e417a2
ML
235062003-07-09 Michal Ludvig <mludvig@suse.cz>
23507
23508 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
23509 expansion of size_t to 'unsigned long', not only to 'unsigned'.
23510
8bc2021f
EZ
235112003-07-09 Elena Zannoni <ezannoni@redhat.com>
23512
a9c64011
AS
23513 * gdb.threads/tls.c: New file.
23514 * gdb.threads/tls.exp: New file.
23515 * gdb.threads/tls-main.c: New file.
23516 * gdb.threads/tls-shared.c: New file.
23517 * gdb.threads/tls-shared.exp: New file.
8bc2021f 23518
d99968dc
EZ
235192003-07-09 Elena Zannoni <ezannoni@redhat.com>
23520
23521 * gdb.base/annota1.exp: Make sure that we properly escape the
23522 full path of the source file. Xfail more permissive patterns,
d63a86f8 23523 due to a compiler debug info problem.
d99968dc 23524
83876b3b
AS
235252003-07-07 Andreas Schwab <schwab@suse.de>
23526
2705e972
AS
23527 * gdb.asm/m68k.inc: New file.
23528 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
23529
83876b3b
AS
23530 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
23531 arguments"): Also match negative number.
23532
23533 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
23534
3a871b37
DJ
235352003-07-03 Daniel Jacobowitz <drow@mvista.com>
23536
23537 * gdb.base/store.c (charest): New typedef.
23538 (add_char): Rename to add_charest, update.
23539 (wack_char): Rename to wack_charest, update types. Return l + r
23540 to keep r live across the call.
23541 (wack_short, wack_int, wack_long, wack_longest, wack_float)
23542 (wack_double, wack_doublest): Return l + r to keep r live across
23543 the call.
23544 * gdb.base/store.exp: Accomodate store.c changes.
23545
b2a7f303
DC
235462003-06-30 David Carlton <carlton@kealia.com>
23547
23548 * gdb.c++/maint.exp (test_invalid_name): New.
23549 (test_first_component): Add tests for invalid names.
23550
3c6cb4a1
MC
235512003-06-29 Michael Chastain <mec@shout.net>
23552
23553 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
23554 output of '<VTT for class>' for virtual base classes.
23555
f1c2644b
DJ
235562003-06-29 Daniel Jacobowitz <drow@mvista.com>
23557
23558 * gdb.base/completion.exp: Tab-complete "complet" instead of
23559 "compl".
23560 * gdb.base/complex.exp, gdb.base/complex.c: New files.
23561
18080350
DJ
235622003-06-29 Daniel Jacobowitz <drow@mvista.com>
23563
23564 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
23565 * gdb.base/volatile.exp: Likewise.
23566
f56973f8
DJ
235672003-06-29 Daniel Jacobowitz <drow@mvista.com>
23568
23569 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
23570 gdb/1265.
23571
235722003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
23573 Daniel Jacobowitz <drow@mvista.com>
23574
23575 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
23576 initial line count of 'captured_main' from 26 to 32.
23577 (test_with_self): Allow xmalloc call to be interleaved with the
23578 preceding two lines.
23579
e766d4d6
JB
235802003-06-24 Joel Brobecker <brobecker@gnat.com>
23581
23582 * gdb.base/bang.exp: New testcase.
23583
f125c9a4
JB
235842003-06-23 Joel Brobecker <brobecker@gnat.com>
23585
23586 * gdb.base/langs.exp: Add some tests for the "minimal" language
23587 support.
23588
6e25beaf
EZ
235892003-06-23 Elena Zannoni <ezannoni@redhat.com>
23590
23591 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
23592 the testcase.
23593
2f816dda
DJ
235942003-06-22 Daniel Jacobowitz <drow@mvista.com>
23595
23596 * gdb.base/relocate.exp: Test add-symbol-file with a variable
23597 offset.
23598
db5a5748
DJ
235992003-06-22 Daniel Jacobowitz <drow@mvista.com>
23600
23601 * gdb.c++/pr-1210.cc: New file.
23602 * gdb.c++/pr-1210.exp: New file.
23603
1df0c130
DJ
236042003-06-21 Daniel Jacobowitz <drow@mvista.com>
23605
23606 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
23607 000-exec-continue.
23608
a92feac0
MK
236092003-06-15 Mark Kettenis <kettenis@gnu.org>
23610
23611 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
23612 on *-*-*bsd* instead of *-*-freebsd*.
23613
81a58f5b
AC
236142003-06-14 Andrew Cagney <cagney@redhat.com>
23615
23616 * gdb.base/store.exp: Test longest and doublest. Test all
23617 parameters. Weaken return statement match.
23618 * gdb.base/store.c: Add longest and doublest - aka long long and
23619 long double functions. Put all parameters into local register
23620 variables. Use negative values.
23621
b257a0d3
AC
236222003-06-14 Andrew Cagney <cagney@redhat.com>
23623
23624 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
23625 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
23626 exit status.
23627 * gdb.base/fileio.exp: Disable target when nointerrupts and
23628 noinferiorio, instead of limiting it to remote. Use remote_exec
23629 instead of system.
d63a86f8 23630
21c38304
JJ
236312003-06-12 Jeff Johnston <jjohnstn@redhat.com>
23632
23633 * gdb.base/float.exp: Add ia64 support.
23634
1bcdb424
CV
236352003-06-12 Corinna Vinschen <vinschen@redhat.com>
23636
23637 * gdb.base/fileio.exp: Run only on remote targets.
23638
6aeb981f
CV
236392003-06-10 Corinna Vinschen <vinschen@redhat.com>
23640
23641 * gdb.base/fileio.c: New file, testing File-I/O.
23642 * gdb.base/fileio.exp: Ditto.
23643
53df362e
RG
236442003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
23645
23646 * gdb.base/shreloc.exp: New file, check symbol values obtained from
23647 shared objects after relocation at load time (gdb PR/1132).
23648 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 23649 as above, part of the shared object relocation test.
53df362e 23650
ffee1b46
MK
236512003-06-08 Mark Kettenis <kettenis@gnu.org>
23652
b5ca3722
MK
23653 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
23654 fully filled history list.
23655 * gdb.base/gdb_history: New file.
23656
03ed860d
MK
23657 * gdb.base/signals.exp: XFAIL "continue to func1" on
23658 i*86-*-freebsd*.
23659
ffee1b46
MK
23660 * gdb.base/attach.exp: When trying to attach to a nonexistent
23661 process, make it possible to specify the PID based on the target,
23662 and do so for *-*-freebsd*.
23663
d80dbb52
RH
236642003-06-02 Richard Henderson <rth@redhat.com>
23665
23666 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
23667
6dd77b81
RH
236682003-06-02 Richard Henderson <rth@redhat.com>
23669
23670 * gdb.base/selftest.exp: Next over lim_at_start initialization.
23671
f6347e16
RH
236722003-06-02 Richard Henderson <rth@redhat.com>
23673
23674 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
23675
2c161407
DJ
236762003-06-01 Daniel Jacobowitz <drow@mvista.com>
23677
23678 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
23679 of globalvar.
23680
572eb746
MK
236812003-06-01 Mark Kettenis <kettenis@gnu.org>
23682
23683 * gdb.asm/asm-source.exp: Check for memory read errors in
23684 disassembler test on *BSD too.
23685
9e9617a5
RH
236862003-06-01 Richard Henderson <rth@redhat.com>
23687
23688 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
23689 for .frame.
23690 (gdbasm_call): Lose ldgp.
23691 (gdbasm_startup): Add frame information.
23692 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
23693
7b34ad4e
MK
236942003-05-31 Mark Kettenis <kettenis@gnu.org>
23695
23696 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
23697 i?86-*-*.
23698
10059fdf
MK
236992003-05-30 Mark Kettenis <kettenis@gnu.org>
23700
23701 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23702 FreeBSD.
23703
acf4b816
RH
237042003-05-29 Richard Henderson <rth@redhat.com>
23705
23706 * gdb.asm/alpha.inc: New file.
23707 * gdb.asm/asm-source.exp: Use it.
23708
e9ecd949
JB
237092003-05-29 Jim Blandy <jimb@redhat.com>
23710
23711 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
23712 'core.PID'.
23713
e3e5a4f3
JB
237142003-05-22 Jim Blandy <jimb@redhat.com>
23715
23716 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
23717 backtrace.
d63a86f8 23718
72fe3d25
DC
237192003-05-20 David Carlton <carlton@math.stanford.edu>
23720
23721 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
23722 this time.
23723
58da2eb2
DC
237242003-05-19 David Carlton <carlton@bactrian.org>
23725
23726 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
23727 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
23728
1fcb5155
DC
237292003-05-19 David Carlton <carlton@bactrian.org>
23730
23731 * gdb.c++/namespace.exp: Add namespace scope and anonymous
23732 namespace tests.
23733 Bump copyright date.
23734 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
23735 (main): Call C::D::marker2.
23736 * gdb.c++/namespace1.cc: New file.
23737
85e85163
JJ
237382003-05-14 Jeff Johnston <jjohnstn@redhat.com>
23739
23740 Roland McGrath <roland@redhat.com>
d63a86f8 23741 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
23742 there is no manager thread.
23743
a25fbfec
JJ
237442003-05-08 Jeff Johnston <jjohnstn@redhat.com>
23745
d63a86f8
RM
23746 * gdb.threads/schedlock.exp: Remove assumption that all threads
23747 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
23748 in one of the child threads rather than the main thread.
23749
be375bae
JB
237502003-05-07 Jim Blandy <jimb@redhat.com>
23751
09bf6082
JB
23752 Add support for assembly source testing on the s390x.
23753 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
23754 architecture.
23755 * gdb.asm/s390x.inc: New file.
23756
be375bae
JB
23757 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
23758 succession of 'if' statements.
23759
00905d52
AC
237602003-05-05 Andrew Cagney <cagney@redhat.com>
23761
23762 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
23763
b1e29e33
AC
237642003-05-05 Andrew Cagney <cagney@redhat.com>
23765
23766 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
23767 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
23768
e33d66ec
EZ
237692003-05-02 Elena Zannoni <ezannoni@redhat.com>
23770
23771 * gdb.base/charset.exp: Update based on new behavior of set/show
23772 charset commands.
23773
2b6fd0d8
AC
237742003-05-01 Andrew Cagney <cagney@redhat.com>
23775
23776 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
23777 variable do not give memory errors.
23778
130cacce
AF
237792003-04-30 Adam Fedor <fedor@gnu.org>
23780
23781 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
23782 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
23783 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
23784 gdb.objc/basicclass.m: : New files
23785
23786 * lib/gdb.exp (gdb_compile_objc): New procedure.
23787
bea71854
DJ
237882003-04-27 Daniel Jacobowitz <drow@mvista.com>
23789
23790 * gdb.base/signals.exp: Make backtrace tests more specific.
23791
0f20eeea
DC
237922003-04-23 David Carlton <carlton@bactrian.org>
23793
23794 * gdb.c++/maint.exp (test_first_component): Add tests for
23795 'operator' in more locations.
23796
c8c4d8dc
KB
237972003-04-16 Kevin Buettner <kevinb@redhat.com>
23798
23799 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
23800
3fe60e3c
EZ
238012003-04-16 Elena Zannoni <ezannoni@redhat.com>
23802
23803 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 23804 func marke' instead. Update test name.
3fe60e3c 23805
9219021c
DC
238062003-04-15 David Carlton <carlton@math.stanford.edu>
23807
23808 * gdb.c++/maint.exp: New file.
23809
5dd55bdd
EZ
238102003-04-14 Elena Zannoni <ezannoni@redhat.com>
23811
23812 * gdb.threads/schedlock.c: Change type of thread function argument
23813 to long, to avoid warnings on 64-bit platforms.
23814
00890572
EZ
238152003-04-14 Elena Zannoni <ezannoni@redhat.com>
23816
a9c64011
AS
23817 * gdb.base/attach.exp: Add new message from ptrace in case of
23818 attaching to nonexistent process.
d63a86f8 23819
93201743
JB
238202003-04-11 Jim Blandy <jimb@redhat.com>
23821
23822 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23823 gdb.c++/userdef.cc: Place comments on the lines to which the
23824 marker function might return.
23825 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23826 gdb.c++/userdef.exp: Look for those comments to check that we've
23827 returned to the right place, instead of checking line numbers.
23828
2a11c64d
EZ
238292003-04-11 Elena Zannoni <ezannoni@redhat.com>
23830
a9c64011
AS
23831 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
23832 match on sourcefile name, instead of directory name.
2a11c64d 23833
68ab8fc5
EZ
238342003-04-10 Elena Zannoni <ezannoni@redhat.com>
23835
d63a86f8 23836 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
23837 working directory name.
23838
5624293a
JB
238392003-04-09 Jim Blandy <jimb@redhat.com>
23840
23841 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
23842 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
23843 after an inferior function call, report the failure, but allow the
23844 test to continue.
23845
f1f02ee4
SC
238462003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23847
23848 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23849 with -DPROTOTYPES.
23850
6eb79af0
SC
238512003-04-05 Stephane Carrez <stcarrez@nerim.fr>
23852
23853 * gdb.base/break.exp: Revert last patch.
23854
8dfb4cf0
SC
238552003-04-04 Stephane Carrez <stcarrez@nerim.fr>
23856
23857 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
23858 with -DPROTOTYPES.
23859
ed4c619a
AC
238602003-04-02 Andrew Cagney <cagney@redhat.com>
23861
23862 * gdb.base/callfuncs.exp: Make "print add" messages unique.
23863 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
23864 matching directories by the name breakpoint.
23865 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
23866 Make "continue to marker1" consistent.
23867 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
23868 message consistent.
23869 * lib/gdb.exp: Put "the program is no longer running", and "the
23870 program exited" in parenthesis.
23871 * lib/mi-support.exp: Ditto.
d63a86f8 23872
4e35d5f0 238732003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 23874
4e35d5f0
BR
23875 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
23876
71900fe8
AC
238772003-03-29 Andrew Cagney <cagney@redhat.com>
23878
23879 * gdb.base/sizeof.c (main): Print the value of '\377'.
23880 * gdb.base/sizeof.exp: Check the sign of '\377'.
23881
c0655a16
MC
238822003-03-27 Michael Chastain <mec@shout.net>
23883
23884 * gdb.base/gdb1090.exp: New file.
23885 * gdb.base/gdb1090.cc: New file.
23886
5b2a3989
JB
238872003-03-27 J. Brobecker <brobecker@gnat.com>
23888
23889 * gdb.gdb/observer.exp: New regression test.
23890
79876890
MC
238912003-03-27 Michael Chastain <mec@shout.net>
23892
23893 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
23894 * gdb.base/ptype.exp: Likewise.
23895
6eac95e3
CV
238962003-03-27 Corinna Vinschen <vinschen@redhat.com>
23897
23898 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
23899
e8c71839
MC
239002003-03-26 Michael Chastain <mec@shout.net>
23901
23902 * gdb.base/ptype.exp: Actually use some typedef'd types.
23903
71b10041
SC
239042003-03-21 Stephane Carrez <stcarrez@nerim.fr>
23905
23906 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
23907 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
23908
2512cf80
CV
239092003-03-20 Corinna Vinschen <vinschen@redhat.com>
23910
23911 * gdb.base/default.exp: Fix regular expression.
23912
0d195a4f
CV
239132003-03-20 Corinna Vinschen <vinschen@redhat.com>
23914
23915 * gdb.base/args.exp: Fix regular expression.
23916
8a2dbca8
CV
239172003-03-20 Corinna Vinschen <vinschen@redhat.com>
23918
23919 * gdb.base/help.exp: Allow Win32 child process.
23920
bf028682
CV
239212003-03-20 Corinna Vinschen <vinschen@redhat.com>
23922
23923 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
23924 when stepping out of main().
23925
182dbe85
CV
239262003-03-20 Corinna Vinschen <vinschen@redhat.com>
23927
23928 * gdb.base/default.exp: Check for win32 specific message when calling
23929 "run" without executable.
23930
d67a6ba5
CV
239312003-03-20 Corinna Vinschen <vinschen@redhat.com>
23932
23933 * gdb.base/args.exp: Expect .exe in output.
23934
a955b5bb
CV
239352003-03-20 Corinna Vinschen <vinschen@redhat.com>
23936
23937 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
23938 Cygwin native.
23939
bf6bad4b
AC
239402003-03-17 Andrew Cagney <cagney@redhat.com>
23941
23942 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
23943 vector registes.
23944 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
23945 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
23946
293e9a31
DC
239472003-03-17 David Carlton <carlton@math.stanford.edu>
23948
23949 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
23950 test, for PR breakpoints/38.
23951 Call test_watchpoint_and_breakpoint.
23952 * gdb.base/watchpoint.c (func3): New function.
23953 (main): Call func3.
23954
5330f2db
DC
239552003-03-04 David Carlton <carlton@math.stanford.edu>
23956
23957 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
23958 Garply<Garply<char> >:: garply".
23959 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
23960 with respect to PR c++/1111; note also PR c++/1113.
23961 (test_template_breakpoints): KFAIL "constructor breakpoint" with
23962 respect to PR c++/1062.
23963 KFAIL "destructor breakpoint" with respect to PR c++/1112.
23964
6ece72da
DC
239652003-03-03 David Carlton <carlton@math.stanford.edu>
23966
23967 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
23968 with respect to PR c++/57.
23969 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
23970 c++/826.
23971 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
23972 respect to PR c++/57.
23973
85ca1584
DC
239742003-03-03 David Carlton <carlton@math.stanford.edu>
23975
23976 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
23977 respect to PR c++/33 into FAILs.
23978
98e9c5b8
MC
239792003-03-03 Michael Chastain <mec@shout.net>
23980
7bedbf27
MC
23981 * configure.in: Update copyright years.
23982
239832003-03-03 Michael Chastain <mec@shout.net>
23984
23985 * Makefile.in: Update copyright years.
98e9c5b8 23986
f683e100
DC
239872003-02-28 David Carlton <carlton@math.stanford.edu>
23988
23989 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
23990 print class instead of struct and/or superfluous protection
23991 specifiers, as long as the resulting output is equivalent to the
23992 source code.
23993 Delete FIXME from end of messages on tests that don't need
23994 fixing.
23995
a9e0cf2c
DC
239962003-02-28 David Carlton <carlton@math.stanford.edu>
23997
23998 * gdb.c++/templates.exp (do_tests): Allow const in the two
23999 Foo<volatile char *>::foo tests.
24000
e8d359df
MS
240012003-02-27 Michael Snyder <msnyder@redhat.com>
24002
d63a86f8 24003 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
24004 will be consistant.
24005
0b71dc91
DC
240062003-02-26 David Carlton <carlton@math.stanford.edu>
24007
24008 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
24009 char *>::foo" test with respect to PR c++/33. Create a new test
24010 which is identical to that one except that it doesn't put the
24011 space between the "char" and the "*"; KFAIL it, too.
24012
dd14ab43
DC
240132003-02-26 David Carlton <carlton@math.stanford.edu>
24014
24015 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
24016 template types into either PASSes or KFAILs (corresponding to PR
24017 c++/57). Tweak indentation. Update copyright.
24018
1146c7f1
SC
240192003-02-23 Stephane Carrez <stcarrez@nerim.fr>
24020
24021 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
24022
74641dfb
MC
240232003-02-13 Michael Chastain <mec@shout.net>
24024
24025 * gdb.base/exprs.exp: Remove i960 remnants.
24026 * gdb.base/funcargs.exp: Likewise.
24027 * gdb.base/list.exp: Likewise.
24028 * gdb.base/ptype.exp: Likewise.
24029
559cd2d0
DC
240302003-02-14 David Carlton <carlton@math.stanford.edu>
24031
24032 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
24033 pEe->D::vg()" from XFAIL to KFAIL.
24034
c4f90d87
JM
240352003-02-13 Jason Molenda (jmolenda@apple.com)
24036
24037 * gdb.base/maint.exp: Update maint print statistics regexp to include
24038 new entries.
24039
cbc4d97c
MC
240402003-02-13 Michael Chastain <mec@shout.net>
24041
24042 * gdb.c++/inherit.exp: Remove call to get_debug_format.
24043
40f235b7
MC
240442003-02-12 Michael Chastain <mec@shout.net>
24045
24046 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
24047 * gdb.c++/inherit.exp: Likewise.
24048 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
24049 * gdb.c++/templates.exp: Likewise.
24050 * gdb.c++/virtfunc.exp: Likewise.
24051
c56716b0
JM
240522003-02-06 Jason Molenda (jason-cl@molenda.com)
24053
24054 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
24055 why the code is written that way.
24056
070afcf8
MC
240572003-02-05 Michael Chastain <mec@shout.net>
24058
24059 * gdb.base/dump.exp: Add missing copyright line.
24060
5d0331e5
JM
240612003-02-05 Jason Molenda (jason-cl@molenda.com)
24062
f7ae6d3e 24063 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
24064 at the beginning so the breakpoint doesn't get set on the loop.
24065
92851186
MC
240662003-02-05 Michael Chastain <mec@shout.net>
24067
24068 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
24069 output for configurations with gcc 2.95.3.
24070
cbf1e085
AC
240712003-02-05 Keith Seitz <keiths@redhat.com>
24072 Andrew Cagney <ac131313@redhat.com>
24073
24074 * gdb.mi/mi-cli.exp: New file.
d63a86f8 24075
29518e1e
MC
240762003-02-04 Michael Chastain <mec@shout.net>
24077
24078 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
24079 Call perror and then continue.
24080
5af1d5f3
MC
240812003-02-03 Michael Chastain <mec@shout.net>
24082
24083 * gdb.c++/pr-1023.cc: New file.
24084 * gdb.c++/pr-1023.exp: New file.
24085
6b549786
JB
240862003-02-05 Jim Blandy <jimb@redhat.com>
24087
24088 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
24089 it's local to foobar. Check for it there, and check that it's not
24090 present in main.
24091 * gdb.c++/local.cc (marker2): New function.
24092 (foobar): Call marker1.
24093 (main): Call marker2 instead of marker1.
24094
67f16606
AC
240952003-02-04 Andrew Cagney <ac131313@redhat.com>
24096
24097 * gdb.disasm/mn10200.exp: Obsolete file.
24098 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
24099 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
24100 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
24101
1c5cb38e
DC
241022003-02-04 David Carlton <carlton@math.stanford.edu>
24103
24104 * gdb.c++/overload.exp: Test intToChar(1).
24105 * gdb.c++/overload.cc (intToChar): New.
24106 (main): Call intToChar.
24107
d1fe6965
DC
241082003-02-03 David Carlton <carlton@math.stanford.edu>
24109
24110 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
24111 'might_kfail' arg.
24112 KFAIL some of the continue_to_bp_overloaded calls, according to
24113 PR c++/1025.
24114
9ba61c5d
MC
241152003-02-01 Michael Chastain <mec@shout.net>
24116
24117 * gdb.base/advance.c (marker1): New marker function.
24118 * gdb.base/advance.exp: When the 'advance' command lands on the
24119 return breakpoint, it can legitimately stop on either the
24120 current line or the next line. Accommodate both outcomes.
24121 * gdb.base/until.exp: Likewise.
24122
e7494ffb
AC
241232003-02-02 Andrew Cagney <ac131313@redhat.com>
24124
24125 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
24126 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
24127 now a list, not a tuple.
24128 * gdb.mi/mi-var-display.exp: Ditto.
24129 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 24130
075559bc
AC
241312003-02-01 Andrew Cagney <ac131313@redhat.com>
24132
24133 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
24134 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
24135 stack backtraces.
24136 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 24137
2bd4c7b1
MK
241382003-02-01 Mark Kettenis <kettenis@gnu.org>
24139
24140 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24141 gdb.mi/mi1-pthreads.exp: Return instead of calling
24142 gdb_suppress_entire_file.
24143
eabd8992
MS
241442003-02-01 Mark Salter <msalter@redhat.com>
24145
24146 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
24147
71469e2f
MS
241482003-01-31 Mark Salter <msalter@redhat.com>
24149
24150 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
24151 Support empty arg.
24152
38a94d44
MC
241532003-01-30 Michael Chastain <mec@shout.net>
24154
24155 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
24156 This was a workaround for a UTF-8 bug in readline 4.3. The bug
24157 has been fixed in gdb/readline on 2003-01-09.
24158
19ea9e73
MS
241592003-01-29 Michael Snyder <msnyder@redhat.com>
24160
e8d359df
MS
24161 * gdb.base/maint.exp: Allow for leading underscore in symbol.
24162 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
24163 * gdb.base/args.exp: Skip if target does not support args passing.
24164
2307bd6a
DJ
241652003-01-22 Daniel Jacobowitz <drow@mvista.com>
24166
19ea9e73 24167 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
24168 gdb_test. Accept a list of expect arguments as the third
24169 parameter.
24170 (gdb_test): Use it.
24171
f2dd3617
EZ
241722003-01-20 Elena Zannoni <ezannoni@redhat.com>
24173
24174 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
24175 allow for different test tree configurations. Update some
24176 tescases accordingly.
24177 * gdb.arch/altivec-regs.exp: Ditto.
24178 * gdb.asm/asm-source.exp: Ditto.
24179 * gdb.base/advance.exp: Ditto.
24180 * gdb.base/display.exp: Ditto.
d63a86f8 24181 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
24182 * gdb.base/mips_pro.exp: Ditto.
24183 * gdb.base/overlays.exp: Ditto.
24184 * gdb.base/relocate.exp: Ditto.
24185 * gdb.base/setshow.exp: Ditto.
24186 * gdb.base/step-line.exp: Ditto.
24187 * gdb.base/step-test.exp: Ditto.
24188 * gdb.base/until.exp: Ditto.
24189 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
24190
c71cdefd
DC
241912003-01-17 David Carlton <carlton@math.stanford.edu>
24192
24193 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
24194 corresponding to PR c++/945.
24195 Update copyright.
24196
fdba05d7
DC
241972003-01-17 David Carlton <carlton@math.stanford.edu>
24198
24199 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
24200 corresponding to PR c++/68.
24201
242022003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
24203
24204 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
24205 (test_paddr_hairy_functions): Call print_addr_2_kfail for
24206 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
24207
c362c33a
EZ
242082003-01-15 Elena Zannoni <ezannoni@redhat.com>
24209
0fbc361c
EZ
24210 * gdb.base/break.exp: Fix change of default location, because of
24211 removal of until tests.
24212 * gdb.base/help.exp: Update test for new 'until' help message.
24213 Add test for help on 'advance'.
a9c64011 24214 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 24215
dabf8a35
MK
242162003-01-15 Mark Kettenis <kettenis@gnu.org>
24217
24218 * gdb.base/default.exp: Adapt "info float" test for recent changes
24219 to that command. Add test for "info vector".
24220 * gdb.base/float.exp: New file. Add test for "info float" that
24221 resembles the old test in gdb.base/default.exp.
24222
a1769aca
DC
242232003-01-15 David Carlton <carlton@math.stanford.edu>
24224
24225 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
24226
82025e13
EZ
242272003-01-15 Elena Zannoni <ezannoni@redhat.com>
24228
24229 * gdb.base/break.exp: Move the tests of until command from here...
24230 * gdb.base/until.exp: ... to here. New file. Add other tests.
24231 * gdb.base/advance.c: New file.
24232 * gdb.base/advance.exp: New file.
24233
8f9ab801
EZ
242342003-01-14 Elena Zannoni <ezannoni@redhat.com>
24235
a9c64011
AS
24236 * gdb.base/args.c: New file.
24237 * gdb.base/args.exp: New file.
8f9ab801 24238
9ae66589
DJ
242392003-01-14 Daniel Jacobowitz <drow@mvista.com>
24240
24241 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
24242
8d77e5c3
DJ
242432003-01-14 Daniel Jacobowitz <drow@mvista.com>
24244
24245 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
24246
12d2f0a1
DJ
242472003-01-14 Daniel Jacobowitz <drow@mvista.com>
24248
24249 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
24250 dates.
24251
6ca37014
DJ
242522003-01-13 Daniel Jacobowitz <drow@mvista.com>
24253
24254 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
24255
b0023472
DJ
242562003-01-13 Daniel Jacobowitz <drow@mvista.com>
24257
24258 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
24259 (ptype &*"foo").
24260 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
24261
607fbc54 242622003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
24263
24264 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
24265 * gdb.mi/mi1-console.exp: Likewise.
24266
607fbc54 242672003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
24268
24269 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
24270 * gdb.mi/mi1-console.exp: Likewise.
24271
a1fb14a2
DJ
242722003-01-13 Daniel Jacobowitz <drow@mvista.com>
24273
24274 * gdb.c++/overload.exp: Remove some fixed XFAILs.
24275
c4cf40b7
DJ
242762003-01-09 Daniel Jacobowitz <drow@mvista.com>
24277
24278 * gdb.base/detach.exp: New test.
24279
696d5a5b
DJ
242802003-01-09 Daniel Jacobowitz <drow@mvista.com>
24281
24282 * Makefile.in (ALL_SUBDIRS): New variable.
24283 (subdirs, clean, distclean): Use it.
24284 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
24285 regenerating Makefile, since it is generated from the top level.
24286 * gdb.asm/Makefile.in: Likewise.
24287 * gdb.base/Makefile.in: Likewise.
24288 * gdb.c++/Makefile.in: Likewise.
24289 * gdb.disasm/Makefile.in: Likewise.
24290 * gdb.java/Makefile.in: Likewise.
24291 * gdb.mi/Makefile.in: Likewise.
24292 * gdb.threads/Makefile.in: Likewise.
24293 * gdb.trace/Makefile.in: Likewise.
24294
754533e4
DC
242952003-01-09 David Carlton <carlton@math.stanford.edu>
24296
24297 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
24298 Add copyright year 2003.
24299
d8b3e9ee
MC
243002003-01-06 Michael Chastain <mec@shout.net>
24301
24302 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
24303 When selecting a thread, 'line' and 'file' are optional.
24304 * gdb.mi/mi1-pthreads.exp: Likewise.
24305
8e9e0fe6
AS
243062003-01-06 Andreas Schwab <schwab@suse.de>
24307
24308 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
24309 failures.
24310
b5ab8ff3
DJ
243112003-01-04 Daniel Jacobowitz <drow@mvista.com>
24312
24313 Fix PR gdb/844
24314 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
24315 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
24316
24317 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
24318 instead of calling gdb_suppress_entire_file.
24319 * gdb.threads/print-threads.exp: Likewise.
24320 * gdb.threads/schedlock.exp: Likewise.
24321
24322 * gdb.threads/killed.exp: Return instead of calling
24323 gdb_suppress_entire_file.
24324 * gdb.threads/linux-dp.exp: Likewise.
24325 * gdb.threads/pthreads.exp: Likewise.
24326
1e698235
DJ
243272003-01-04 Daniel Jacobowitz <drow@mvista.com>
24328
24329 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
24330 stabs.
24331 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
24332 * gdb.base/whatis.exp: Always allow (void) after function names.
24333
147ff08c
DJ
243342003-01-04 Daniel Jacobowitz <drow@mvista.com>
24335
24336 * gdb.c++/casts.exp: Correct regexp.
24337
dc62bfc2
MK
243382003-01-04 Mark Kettenis <kettenis@gnu.org>
24339
24340 * configure.in: Call AC_CONFIG_HEADER. Don't call
24341 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
24342 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
24343 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
24344 aforementioned directories in the AC_OUPUT call.
24345 * config.hin: New file.
24346 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24347 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
24348 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
24349 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
24350 pass -I$objdir instead of -I$objdir/$subdir in compilation.
24351 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
24352 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
24353 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
24354 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
24355 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
24356 gdb.threads/configure.in, gdb.threads/configure,
24357 gdb.threads/config.in, gdb.trace/configure.in,
24358 gdb.trace/configure: Removed.
24359
77afa639
MC
243602003-01-03 Michael Chastain <mec@shout.net>
24361
24362 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
24363 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
24364
7634bb6e
DJ
243652003-01-03 Daniel Jacobowitz <drow@mvista.com>
24366
24367 * gdb.base/store.exp: Fix regular expressions.
24368
b39c905e
MK
243692002-12-28 Mark Kettenis <kettenis@gnu.org>
24370
24371 * configure.in: Rewrite.
24372 * configure: Regenerated.
24373
0a8551dd
DC
243742003-01-03 David Carlton <carlton@math.stanford.edu>
24375
24376 * gdb.base/psymtab.exp: New file.
24377 * gdb.base/psymtab1.c: Ditto.
24378 * gdb.base/psymtab2.c: Ditto.
24379
c60b7188
AF
243802002-12-23 Adam Fedor <fedor@gnu.org>
24381
24382 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
24383
ee73db83
DC
243842002-12-23 David Carlton <carlton@math.stanford.edu>
24385
24386 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
24387 and current_directory initialization.
24388
d6c1774e
JB
243892002-12-22 Jim Blandy <jimb@redhat.com>
24390
f0a847b8
JB
24391 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
24392 rather than as part of the output file name.
24393
d6c1774e
JB
24394 * gdb.base/attach.exp: There's no need to copy the test program to
24395 /tmp; that was only ever necessary on HP/UX, and this test is
24396 entirely disabled there anyway.
24397
f0708dbb
JB
243982002-12-21 Jim Blandy <jimb@redhat.com>
24399
4c2acfea
JB
24400 * gdb.c++/psmang.exp: Doc fix.
24401
f0708dbb
JB
24402 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
24403 test.
24404
9579e000
DC
244052002-12-20 David Carlton <carlton@math.stanford.edu>
24406
24407 * gdb.c++/annota2.exp: KFAIL annotate-quit.
24408
d1810171
MC
244092002-12-18 Michael Chastain <mec@shout.net>
24410
24411 * gdb.c++/annota2.exp: Add copyright year 2002.
24412
76565097
DC
244132002-12-17 David Carlton <carlton@math.stanford.edu>
24414
24415 * gdb.c++/try_catch.cc: Add marker comments.
24416 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
24417 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
24418 * gdb.c++/m-static.cc: Ditto.
24419 * gdb.c++/m-static1.cc: Ditto.
24420 * gdb.c++/try_catch.cc: Ditto.
24421
da81390b
JJ
244222002-12-16 Jeff Johnston <jjohnstn@redhat.com>
24423
24424 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
24425 to see whether we are using the new -environment-directory
24426 command which resets via -r or the old version of the command
24427 which may prompt the user. Part of fix for gdb/741.
24428
b304d130
AC
244292002-12-13 Andrew Cagney <ac131313@redhat.com>
24430
24431 * gdb.fortran/types.exp: Update obsolete comment.
24432 * gdb.fortran/exprs.exp: Ditto.
24433 * lib/gdb.exp: Delete obsolete code.
24434 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
24435 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
24436 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
24437 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
24438 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
24439 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
24440 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
24441 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
24442 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
24443 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
24444 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
24445 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
24446 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
24447 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
24448 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
24449 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
24450 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
24451 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
24452 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
24453 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
24454 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
24455 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
24456 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
24457 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
24458 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
24459 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
24460 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
24461 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
24462 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
24463 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
24464 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
24465 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
24466 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
24467 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
24468 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
24469 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
24470 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
24471
a23b6e6a
DC
244722002-12-11 David Carlton <carlton@math.stanford.edu>
24473
24474 * gdb.c++/m-data.exp: Add test for members that shadow global
24475 variables: see PR gdb/804.
24476 * gdb.c++/m-data.cc: Ditto.
24477
6604731b
DJ
244782002-12-10 Daniel Jacobowitz <drow@mvista.com>
24479
24480 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
24481
de46ecd7
DC
244822002-12-06 David Carlton <carlton@math.stanford.edu>
24483
24484 * gdb.base/store.c: Don't declare functions static.
24485
27e829d0
AC
244862002-12-04 Andrew Cagney <ac131313@redhat.com>
24487
24488 * gdb.base/store.exp, gdb.base/store.c: New files.
24489
92806416
DJ
244902002-12-03 Daniel Jacobowitz <drow@mvista.com>
24491
24492 * gdb.base/selftest.exp: Update for current gdb.
24493
3bcbaac5
DJ
244942002-12-03 Daniel Jacobowitz <drow@mvista.com>
24495
24496 * gdb.base/maint.exp: Only dump symbols from one source file
24497 or objfile.
24498
f4f00b1f
DJ
244992002-12-03 Daniel Jacobowitz <drow@mvista.com>
24500
24501 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
24502 function call.
24503
f1c8a949
JB
245042002-11-25 Jim Blandy <jimb@redhat.com>
24505
24506 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
24507 function appearing in error message.
24508
9e297a97
DJ
245092002-11-21 Daniel Jacobowitz <drow@mvista.com>
24510
24511 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
24512
1f312e79
JJ
245132002-11-08 Jeff Johnston <jjohnstn@redhat.com>
24514
d63a86f8
RM
24515 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
24516 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
24517 should be in mi console format. This is part of fix for PR gdb/604.
24518
83c31e7d
FN
245192002-09-18 Fernando Nasser <fnasser@redhat.com>
24520
24521 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
24522 which explicitly prints the zero offset as "+0".
24523
322b3f65
DJ
245242002-10-22 Daniel Jacobowitz <drow@mvista.com>
24525
24526 * gdb.threads/schedlock.c (args): Make unsigned.
24527
245282002-10-21 Daniel Jacobowitz <drow@mvista.com>
24529
24530 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
24531 numbers. Allow "foo2|selected stack frame".
24532 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
24533 * gdb.asm/asmsrc2.s: Likewise.
24534 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
24535 comments.
24536 * gdb.asm/mips.inc: New file.
24537
5e2fe5b8
AF
245382002-10-18 Adam Fedor <fedor@gnu.org>
24539
24540 * gdb.base/default.exp: Update expected output to include 'ObjC'.
24541 * gdb.base/help.exp: Likewise.
24542
abe1a5d0
KB
245432002-10-17 Kevin Buettner <kevinb@redhat.com>
24544
24545 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
24546 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
24547
10abb1d4
JB
245482002-10-02 Jim Blandy <jimb@redhat.com>
24549
24550 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
24551
1f609b42
AC
245522002-10-01 Andrew Cagney <ac131313@redhat.com>
24553
24554 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
24555 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
24556 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
24557 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
24558 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
24559 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
24560 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
24561
0aee02e4
AC
245622002-09-29 Andrew Cagney <ac131313@redhat.com>
24563
24564 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
24565 * mi0-disassemble.exp, mi0-eval.exp: Delete.
24566 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
24567 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
24568 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
24569 * mi0-var-block.exp, mi0-var-child.exp: Delete.
24570 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 24571
6fde09ad
KB
245722002-09-27 Kevin Buettner <kevinb@redhat.com>
24573
24574 * gdb.base/annota1.exp (info break): Make directory components of
24575 path optional since not all compilers emit this debug information.
24576
889bf7c5
PA
24577 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
24578 step ends up stepping out of the function instead of stopping on
24579 the epilogue.
6fde09ad 24580
9e8aab75
KS
245812002-09-26 Keith Seitz <keiths@redhat.com>
24582
24583 * lib/insight-support.exp (gdbtk_start): Figure out where
24584 the insight executable is based on where gdb is. Use this
24585 executable to start insight instead of gdb.
24586
e36180d7
AC
245872002-09-25 Andrew Cagney <cagney@redhat.com>
24588
24589 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
24590
9dd34b2b
AC
245912002-09-24 Andrew Cagney <ac131313@redhat.com>
24592
24593 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
24594 test_isolated_complaints.
24595 (test_empty_complaint): New function.
24596 (test_empty_complaints): New function. Check no output when no
24597 complaints.
d63a86f8 24598
dea97812
KB
245992002-09-19 Jim Blandy <jimb@redhat.com>
24600
a9c64011 24601 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 24602
54951bd7
AC
246032002-09-19 Andrew Cagney <ac131313@redhat.com>
24604
24605 * gdb.gdb/complaints.exp: New file.
24606
dec43320
AC
246072002-09-18 Andrew Cagney <ac131313@redhat.com>
24608
24609 * gdb.base/maint.exp: Check `help maint internal-warning'.
24610
e70d6e3f
DC
246112002-09-18 David Carlton <carlton@math.stanford.edu>
24612
24613 * gdb.c++/m-static.exp: Remove breakpoints depending on line
24614 numbers, and replace them by a single breakpoint after the
24615 constructors are all finished.
24616 Add test 4.
24617 * gdb.c++/m-static.cc: Add test 4.
24618 * gdb.c++/m-static.h: New file.
24619 * gdb.c++/m-static1.cc: New file.
24620
24621 * gdb.c++/printmethod.exp: New file.
24622 * gdb.c++/printmethod.cc: New file.
24623
24624 * gdb.c++/pr-574.exp: New file.
24625 * gdb.c++/pr-574.cc: New file.
24626
afb5c968
CV
246272002-09-18 Corinna Vinschen <vinschen@redhat.com>
24628
24629 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
24630 embedded targets which never actually exit.
24631
31e45dee
FN
246322002-09-18 Fernando Nasser <fnasser@redhat.com>
24633
24634 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
24635 "don't step after run" as unresolved or unsupported, instead of xfail.
24636
a283c5a1
CV
246372002-09-18 Corinna Vinschen <vinschen@redhat.com>
24638
24639 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
24640 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
24641 Add newline to expected string in "step out of main (status wrapper)"
24642 case.
24643
11350d2a
CV
246442002-09-18 Corinna Vinschen <vinschen@redhat.com>
24645
24646 * lib/gdb.exp (rerun_to_main): Allow restarting application.
24647 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
24648
0deec7d6
TT
246492002-09-17 Tom Tromey <tromey@redhat.com>
24650
24651 * gdb.base/printcmds.exp (test_print_string_constants): Expect
24652 \000, not \0, in double-quoted string.
24653
b2b4a1b5
CV
246542002-09-14 Corinna Vinschen <vinschen@redhat.com>
24655
c9d37158 24656 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
24657 string after running the commands execution on breakpoint tests.
24658
1c56143a
CV
246592002-09-13 Corinna Vinschen <vinschen@redhat.com>
24660
24661 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
24662
37f8da45
JB
246632002-09-12 Joel Brobecker <brobecker@gnat.com>
24664
24665 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
24666
08b468e0
KS
246672002-09-10 Keith Seitz <keiths@redhat.com>
24668
24669 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
24670 runto proc.
24671 (mi_run_to_main): Use mi_runto.
24672 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
24673
dc360f58
KS
246742002-09-10 Keith Seitz <keiths@redhat.com>
24675
24676 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
24677 regexp for stopping at main. Could have multiple event notifications.
24678 Don't assume that main was declared with no parameters.
24679 (mi_next): Use mi_step_to.
24680 (mi_step): Use mi_next_to.
24681
ce3abcfb
CV
246822002-09-09 Corinna Vinschen <vinschen@redhat.com>
24683
24684 * gdb.base/default.exp: Fix expected string in `info float' test.
24685
d1f5b980
BE
246862002-09-09 Ben Elliston <bje@redhat.com>
24687
24688 * config/mips.exp: Update comments.
24689 * config/mips-idt.exp: Likewise.
24690 * config/nind.exp: Likewise.
24691 * config/slite.exp: Likewise.
24692 * config/sparclet.exp: Likewise.
24693 * config/udi.exp: Likewise.
24694 * config/vx.exp: Likewise.
24695 * config/vxworks29k.exp: Likewise.
24696
2f71430b
JB
246972002-09-05 Jim Blandy <jimb@redhat.com>
24698
24699 * gdb.threads/killed.exp: Fix test failure message.
24700
7ddebc7e
KS
247012002-09-04 Keith Seitz <keiths@redhat.com>
24702
24703 * lib/mi-support.exp: Update copyright.
24704 (mi_gdb_test): Increase the priority of the expected pattern
24705 so that it matches gdb_test.
24706
0ae67eb3
KS
247072002-09-03 Keith Seitz <keiths@redhat.com>
24708
24709 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
24710 Use integer comparison instead of string comparison for testing
24711 whether binary was built.
24712
38fc42c8
JB
247132002-09-03 Jim Blandy <jimb@redhat.com>
24714
24715 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
24716
b6ff0e81
JB
247172002-08-29 Jim Blandy <jimb@redhat.com>
24718
24719 * gdb.threads/pthreads.exp: Move the portable thread compilation
24720 code into a function in lib/gdb.exp, and call that from here.
24721 * lib/gdb.exp (gdb_compile_pthreads): New function.
24722
07c98896
KS
247232002-08-29 Keith Seitz <keiths@redhat.com>
24724
24725 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
24726 expect_out so that callers can get at it.
24727
0312286c
DJ
247282002-08-23 Daniel Jacobowitz <drow@mvista.com>
24729
24730 * gdb.threads/print-threads.c: New file.
24731 * gdb.threads/print-threads.exp: New file.
24732 * gdb.threads/schedlock.c: New file.
24733 * gdb.threads/schedlock.exp: New file.
24734
dd039bc4
EZ
247352002-08-22 Elena Zannoni <ezannoni@redhat.com>
24736
a9c64011
AS
24737 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
24738 not altivec.c.
dd039bc4 24739
1f36144c
MK
247402002-08-17 Mark Kettenis <kettenis@gnu.org>
24741
24742 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
24743 targets. The problem should be fixed now.
24744
16057ec7 247452002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
24746
24747 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
24748 2002-07-24 change that removes final dots from error messages.
24749
3c1499ad
TT
247502002-08-13 Tom Tromey <tromey@redhat.com>
24751
24752 * gdb.base/readline.exp: New file.
24753
a20ce2c3
AC
247542002-08-01 Andrew Cagney <ac131313@redhat.com>
24755
24756 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
24757 supress message.
24758
db034ac5
AC
247592002-08-01 Andrew Cagney <cagney@redhat.com>
24760
24761 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
24762 CHILL_FOR_TARGET and CHILL_LIB.
24763 * configure.in (configdirs): Remove gdb.chill.
24764 * configure: Regenerate.
24765 * lib/gdb.exp: Obsolete references to chill.
24766 * gdb.fortran/types.exp: Ditto.
24767 * gdb.fortran/exprs.exp: Ditto.
24768
3e000b18
KB
247692002-07-30 Kevin Buettner <kevinb@redhat.com>
24770
24771 * gdb.base/shlib-call.exp (additional_flags): Conditionally
24772 set Irix-specific compile and link flags.
24773
28f4966b
KB
247742002-07-29 Kevin Buettner <kevinb@redhat.com>
24775
24776 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
24777 source files. The ``-o'' option doesn't work with the ``-E'' option
24778 when using the Irix compiler.
24779
46c0d5a6
DJ
247802002-07-19 Daniel Jacobowitz <drow@mvista.com>
24781
24782 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
24783 Improve support for reusing an exec file. Copy exec file
24784 to target, and run gdbserver on the target instead of on the host.
24785
eecf4bed
JB
247862002-07-18 Jim Blandy <jimb@redhat.com>
24787
0f815cdf
JB
24788 * gdb.base/ending-run.exp: Don't expect to see the program end in
24789 some orderly fashion when we're running on a real stand-alone
24790 board.
24791
eecf4bed
JB
24792 * gdb.base/interrupt.exp: Correct logic for skipping tests on
24793 targets that don't support interrupts.
24794
52d309e4
JB
247952002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
24796
24797 * gdb.base/attach.exp: Add patterns to match output from /proc-based
24798 systems.
24799 Move comments in expect statements to inside the actions, so that they
24800 don't get matched against.
24801
ff683d9e
MK
248022002-07-10 Mark Kettenis <kettenis@gnu.org>
24803
24804 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
24805 function when asleep" test.
24806
b5356753
AC
248072002-07-10 Andrew Cagney <ac131313@redhat.com>
24808
24809 * gdb.base/page.exp: Rewrite to handle problems with very long
24810 `info set' output. Update copyright.
24811
6aa4d13a
AC
248122002-06-26 Andrew Cagney <ac131313@redhat.com>
24813
24814 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
24815 gdb.threads-hp.
24816 * gdb.hp/configure: Regenerate.
24817 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
24818 * gdb.hp/gdb.threads-hp/configure: Delete file.
24819 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
24820
8cf8c2b8
AC
248212002-06-22 Andrew Cagney <ac131313@redhat.com>
24822
24823 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
24824 setlocale, bindtextdomain and textdomain.
24825
6827a8f8
JB
248262002-06-11 Jim Blandy <jimb@redhat.com>
24827
919d772c
JB
24828 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
24829 preprocessor macro information is present.
24830
6827a8f8
JB
24831 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
24832 tests.
24833
c15b0d21
MS
248342002-06-06 Michael Snyder <msnyder@redhat.com>
24835
c5984d70
MS
24836 * gdb.base/overlays.exp: Record addresses of overlay
24837 functions in TCL variables rather than in GDB variables,
24838 to avoid having GDB convert them to pointers (with loss
24839 of information).
24840
d63a86f8 24841 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 24842 default linker script changes.
c15b0d21
MS
24843 * gdb.base/long_long.exp: Add check for sizeof (long double).
24844
be26fe0d
ML
248452002-06-06 Michal Ludvig <mludvig@suse.cz>
24846
24847 * gdb.asm/asm-source.exp: Add x86-64 target.
24848 * gdb.asm/x86_64.inc: New.
d63a86f8 24849
258093ca 248502002-05-30 Michael Chastain <mec@shout.net>
258093ca 24851
4b3153f1 24852 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
24853 * gdb.c++/m-static.cc: New file.
24854 * gdb.c++/m-static.exp: New file.
24855
241264c6
MS
248562002-05-28 Michael Snyder <msnyder@redhat.com>
24857
24858 * gdb.base/call-ar-st.exp: Allow for reduced floating point
24859 precision.
24860
9bba8c8f 248612002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 24862
4b3153f1 24863 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
24864 * gdb.c++/m-data.cc: New file.
24865 * gdb.c++/m-data.exp: New file.
24866
248672002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 24868
4b3153f1 24869 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 24870 * gdb.c++/try_catch.cc: New file.
d63a86f8 24871 * gdb.c++/try_catch.exp: New file.
9bba8c8f 24872
def1b996
MC
248732002-05-27 Michael Chastain <mec@shout.net>
24874
24875 * gdb.c++/local.exp: Accept more nested types in output.
24876
522ba268
MC
248772002-05-26 Michael Chastain <mec@shout.net>
24878
24879 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
24880
277254ba
MS
248812002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
24882
24883 * lib/gdb.exp (gdb_wrapper_init): Just because
24884 gdb_wrapper_file exists, this does not mean that the file
24885 should not be rebuilt. That is what gdb_wrapper_initialized
24886 is for.
24887 (default_gdb_init): Reset gdb_wrapper_initialized.
24888
b61a8733
MS
248892002-05-23 Michael Snyder <msnyder@redhat.com>
24890
d63a86f8 24891 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
24892 the precision of the floating point test results.
24893 * gdb.base/call-rt-st.exp: Ditto.
24894
b61a8733
MS
24895 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
24896 * gdb.base/call-rt-st.exp: Ditto.
24897
56f6e910
MC
248982002-05-19 Michael Chastain <mec@shout.net>
24899
24900 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
24901
ad0b0016
EZ
249022002-05-19 Elena Zannoni <ezannoni@redhat.com>
24903
a9c64011
AS
24904 * configure.in (configdirs): Add gdb.arch.
24905 * configure: Regenerate.
ad0b0016 24906
f617d2b6
JB
249072002-05-17 Jim Blandy <jimb@redhat.com>
24908
24909 * gdb.base/completion.exp: Recognize the more detailed error
24910 messages produced by the macro expander's lexical analyzer.
24911
eac2a696
EZ
249122002-05-14 Elena Zannoni <ezannoni@redhat.com>
24913
a9c64011
AS
24914 * gdb.arch/altivec-abi.c: New file.
24915 * gdb.arch/altivec-abi.exp: New file.
24916 * gdb.arch/altivec-regs.c: New file.
24917 * gdb.arch/altivec-regs.exp: New file.
eac2a696 24918
2fdde8f8
DJ
249192002-05-14 Daniel Jacobowitz <drow@mvista.com>
24920
24921 * gdb.base/maint.exp (maint print type): Update for new type
24922 structure.
d63a86f8 24923
e31f1a7c
EZ
249242002-05-14 Elena Zannoni <ezannoni@redhat.com>
24925
24926 * gdb.arch: New directory.
24927 * gdb.arch/configure.in: New file.
24928 * gdb.arch/configure: New file.
24929 * gdb.arch/Makefile.in: New file.
24930
db589741
CV
249312002-05-13 Corinna Vinschen <vinschen@redhat.com>
24932
24933 * gdb.asm/asm-source.exp: Add v850 as supported target.
24934 * gdb.asm/v850.inc: New file.
24935
8ce2a7dc
DJ
249362002-05-13 Daniel Jacobowitz <drow@mvista.com>
24937
24938 * gdb.c++/annota2.exp (annotate-quit): Add comment.
24939
df763c7f
DJ
249402002-05-12 Daniel Jacobowitz <drow@mvista.com>
24941
24942 * gdb.base/break.exp: Check 'break "marker2"'.
24943
377daeed
MS
249442002-05-10 Michael Snyder <msnyder@redhat.com>
24945
24946 * gdb.base/long_long.exp: Fix typo.
24947
c4b7bc2b
JB
249482002-05-10 Jim Blandy <jimb@redhat.com>
24949
ecac9a4e
JB
24950 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
24951 a bug.
24952
c4b7bc2b
JB
24953 * gdb.base/printcmds.exp (test_integer_literals_rejected):
24954 Recognize more detailed error message produced by the macro
24955 expander's lexical analyzer.
24956 * lib/gdb.exp (test_print_reject): Same.
24957
e71019a1
MK
249582002-05-09 Mark Kettenis <kettenis@gnu.org>
24959
24960 * gdb.c++/method.exp: Fix typo.
24961
fedfc8e6
MS
249622002-05-08 Michael Snyder <msnyder@redhat.com>
24963
166a1957
MS
24964 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
24965 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 24966 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
24967 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
24968 Add iftarget clause for strongarm.
d63a86f8 24969
f1c47eb2
MS
249702002-05-06 Michael Snyder <msnyder@redhat.com>
24971
cb9a9d3e
MS
24972 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
24973 (gdb_continue_to_end): Accept output from status wrapper.
24974 * gdb.base/ending-run.exp: Add case for output from status wrapper.
24975 Clean up fail messages to match pass messages.
24976
f1c47eb2
MS
24977 Enable the "needs_status_wrapper" testsuite feature.
24978 * lib/gdb.exp (gdb_wrapper_init): New procedure.
24979 (gdb_compile): Conditionally call gdb_wrapper_init.
24980 * gdb.base/a2-run.exp: Recognize output from status wrapper.
24981 * gdb.c++/method.exp: Recognize output from status wrapper.
24982
6079c749
BE
249832002-05-06 Ben Elliston <bje@redhat.com>
24984From Graydon Hoare <graydon@redhat.com>
24985
24986 * config/sid.exp: Include support for "rawsid" protocol.
24987
188baff3
JB
249882002-05-03 Jim Blandy <jimb@redhat.com>
24989
24990 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
24991 * gdb.c++/hang3.C: New file.
24992
b9c07f0f
AC
249932002-05-04 Andrew Cagney <ac131313@redhat.com>
24994
24995 * gdb.base/default.exp: Remove obsolete code.
24996 * gdb.c++/misc.exp: Ditto. Update copyright.
24997 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
24998 * gdb.base/whatis.exp: Ditto. Update copyright.
24999 * gdb.base/scope.exp: Ditto. Update copyright.
25000 * gdb.base/ptype.exp: Ditto. Update copyright.
25001 * gdb.base/printcmds.exp: Ditto. Update copyright.
25002 * gdb.base/opaque.exp: Ditto. Update copyright.
25003 * gdb.base/list.exp: Ditto.
25004 * gdb.base/funcargs.exp: Ditto. Update copyright.
25005 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
25006 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
25007 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
25008 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
25009 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
25010 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
25011
5c7a0397
MS
250122002-05-02 Michael Snyder <msnyder@redhat.com>
25013
d6dcc264 25014 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
25015 * gdb.base/long_long.exp: Add xscale target.
25016 * gdb.base/default.exp: Add xscale target.
25017
eb7f1c48
JB
250182002-05-01 Jim Blandy <jimb@redhat.com>
25019
25020 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
25021 gdb.c++/hang.exp: New test.
25022
a6befae8
FF
250232002-05-01 Fred Fish <fnf@redhat.com>
25024
25025 * gdb.base/completion.exp: Handle completions of "./Make" for
25026 more than one completion possibility, as is the case when we
25027 build and test in the source tree.
25028
0a310277
AG
250292002-04-29 Anthony Green <green@redhat.com>
25030
25031 * gdb.java/jmisc1.exp: New file.
25032 * gdb.java/jmisc2.exp: New file.
25033
6ff9af88
DJ
250342002-04-24 Daniel Jacobowitz <drow@mvista.com>
25035
25036 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
25037
96b3d632
EZ
250382002-04-23 Elena Zannoni <ezannoni@redhat.com>
25039
25040 * gdb.base/help.exp: Change 'help status' to allow for target
25041 dependent output differences.
25042
5019bb54
MC
250432002-04-22 Michael Chastain <mec@shout.net>
25044
25045 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
25046
a805a116
MC
250472002-04-22 Michael Chastain <mec@shout.net>
25048
25049 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
25050
a1706bfd
DM
250512002-04-17 David S. Miller <davem@redhat.com>
25052
25053 * gdb.asm/sparc64.inc: New file.
25054 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
25055
a73a20a2
EZ
250562002-04-19 Elena Zannoni <ezannoni@redhat.com>
25057
25058 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
25059 instruction file directly into the build tree. Clean up at end of
25060 test.
25061
ba678339
DM
250622002-04-18 David S. Miller <davem@redhat.com>
25063
25064 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
25065 handle 64-bit platforms correctly.
25066 * gdb.base/maint.exp: Likewise.
25067
b03399da
KB
250682002-04-18 Kevin Buettner <kevinb@redhat.com>
25069
25070 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
25071 ``-fpic'' when compiling files comprising a shared library, but
25072 it does need additional linker flags in order to find shared
25073 libraries at run time.
25074
e2004992
KB
250752002-04-18 Kevin Buettner <kevinb@redhat.com>
25076
25077 * gdb.base/cvexpr.c (use): New function.
25078 (main): Invoke use() on all global variables to prevent
25079 some linkers from deleting these otherwise unused symbols.
25080
d8937120
MC
250812002-04-17 Michael Chastain <mec@shout.net>
25082From David S. Miller <davem@redhat.com>
25083
25084 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
25085 handle 64-bit platforms correctly.
25086
ffd61a58
MS
250872002-04-12 Michael Snyder <msnyder@redhat.com>
25088From Jim Blandy <jimb@redhat.com>
a9c64011 25089 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
25090 script can handle this instead.
25091 * gdb.base/bar.c (barx): Same.
25092 * gdb.base/baz.c (bazx): Same.
25093 * gdb.base/grbx.c (grbxx): Same.
25094
25095 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
25096 manager doesn't automatically unmap overlays unnecessarily.
25097
6b8426a6
MH
250982002-04-10 Martin M. Hunt <hunt@redhat.com>
25099
25100 * gdb.base/ending-run.exp: Fix pattern for Mips targets
25101 stepping out of main.
25102
34af4875
MC
251032002-04-09 Michael Chastain <mec@shout.net>
25104
25105 * gdb.c++/local.cc (main): Move call to marker1() inside nested
25106 scope so that the nested scope tests will make sense.
25107 * gdb.c++/local.exp: Write patterns that actually work with gcc
25108 (the HP patterns "were never known to work with gcc").
25109 Keep the old aCC patterns too.
25110
2d1676a0
DJ
251112002-04-09 Daniel Jacobowitz <drow@mvista.com>
25112
25113 * gdb.base/attach.exp: Correct target board test.
25114
3a63e3f9
MC
251152002-04-08 Michael Chastain <mec@shout.net>
25116
25117 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
25118 in a const method. Add some xfail and fail cases for configurations
25119 that do not emit the "const ...".
25120
f18dabd2
MC
251212002-04-07 Michael Chastain <mec@shout.net>
25122
25123 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
25124 Accept "A * const" and "const A * const" as type of "this".
25125 Fix spelling of getFunky throughout. Make messages uniform.
25126
0fcddd82
EZ
251272002-04-07 Elena Zannoni <ezannoni@redhat.com>
25128
a9c64011 25129 Work around for PR gdb/285:
0fcddd82
EZ
25130 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
25131
16a8534a
EZ
251322002-04-07 Elena Zannoni <ezannoni@redhat.com>
25133
25134 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
25135 instructions file at run time instead of configure time.
25136 Sometimes we run the test in a directory that is not the one we
25137 configured in.
25138 * gdb.asm/configure.in: Delete creation of symlink.
25139 * gdb.asm/configure: Regenerate.
25140
24181d81
JB
251412002-04-05 J. Brobecker <brobecker@gnat.com>
25142
25143 * gdb.gdb/xfullpath.exp: New test, to exercise the new
25144 xfullpath () function.
25145
7cdb7107
DJ
251462002-04-04 Daniel Jacobowitz <drow@mvista.com>
25147
25148 * gdb.asm/Makefile.in: Correct dependencies.
25149
25150 * gdb.asm/powerpc.inc: New file.
25151 * gdb.asm/asm-source.exp: Add PowerPC.
25152 * gdb.asm/configure.in: Likewise.
25153 * gdb.asm/configure: Regenerated.
25154
a7d17088
DJ
251552002-04-04 Daniel Jacobowitz <drow@mvista.com>
25156
25157 * gdb.base/relocate.exp: New file.
25158 * gdb.base/relocate.c: New file.
25159
cd721503
FF
251602002-04-04 Fred Fish <fnf@redhat.com>
25161
25162 * gdb.base/step-test.exp: Update comment regarding stopping in
25163 memcpy/bcopy calls inserted as part of the compiler runtime.
25164
b22ad7a7
MS
251652002-04-04 Michael Snyder <msnyder@redhat.com>
25166
25167 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
25168
5f279fa6
DJ
251692002-04-03 Daniel Jacobowitz <drow@mvista.com>
25170
25171 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
25172 (gdb_expect): Remove $notransfer hack.
25173
dd0fd3ce
DJ
251742002-04-02 Daniel Jacobowitz <drow@mvista.com>
25175
25176 * gdb.c++/classes.exp ("calling method for small class"): Match
25177 updated register output.
25178
1e50cda1
DJ
251792002-03-30 Daniel Jacobowitz <drow@mvista.com>
25180
25181 Fix PR gdb/452
25182 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
25183 when finished. Make gdb_file_cmd send "exec-file" when
25184 appropriate.
25185
24015922
DJ
251862002-03-30 Daniel Jacobowitz <drow@mvista.com>
25187
25188 * gdb.base/attach.exp: Remove extra setup_xfail.
25189
dd7dfd64
MS
251902002-03-26 Michael Snyder <msnyder@redhat.com>
25191
25192 * gdb.base/default.exp: Add tests for dump, append, and restore.
25193 * gdb.base/help.exp: Add tests for dump, append, and restore.
25194 * gdb.base/dump.exp: New file, test dump, append and restore.
25195 * gdb.base/dump.c: New file.
25196
48b2f8d7
MS
251972002-03-27 Michael Snyder <msnyder@redhat.com>
25198
d63a86f8 25199 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
25200 clean-ups in help messages.
25201
05b4d525
FF
252022002-03-26 Fred Fish <fnf@redhat.com>
25203
25204 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
25205 have debugging info for those functions and the compiler uses them
25206 internally to copy structs around.
25207
d7679631
FF
252082002-03-26 Fred Fish <fnf@redhat.com>
25209
25210 * gdb.base/list.exp: Revert the change made yesterday and add note
25211 about why we don't list the default lines for remote targets.
25212
523ac3f9
MS
252132002-03-25 Michael Snyder <msnyder@redhat.com>
25214
25215 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
25216
754b2b8d
FF
252172002-03-25 Fred Fish <fnf@redhat.com>
25218
25219 * gdb.base/list.exp: This test works on remote targets so remove
25220 the short circuit for remote targets. Update copyright.
25221
33c3e192
FF
252222002-03-25 Fred Fish <fnf@redhat.com>
25223
25224 * gdb.base/attach.exp: Fix logic error that was suppressing this
25225 test for all non hppa*-*-hpux* targets, instead of the hp target.
25226 Move comments closer to the suppression point. Also now need to
25227 check that we are running natively.
25228
d43e73ee
MS
252292002-03-22 Michael Snyder <msnyder@redhat.com>
25230
882c8f02
MS
25231 * gdb.base/default.exp: Add test for gcore. Update copyright.
25232 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 25233
04c12f60
FF
252342002-03-06 Fred Fish <fnf@redhat.com>
25235
25236 * gdb.base/funcargs.c: Remove extraneous ';' character.
25237 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
25238
b43df995
MC
252392002-03-04 Michael Chastain <mec@shout.net>
25240
25241 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
25242 accommodate gcc v3 function signature.
25243 * gdb.mi/mi0-var-cmd-exp: Ditto.
25244
92362027
AC
252452002-02-24 Andrew Cagney <ac131313@redhat.com>
25246
25247 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
25248 ``GNU/Linux'' or ``Linux kernel''
25249 * testsuite/gdb.threads/pthreads.c: Ditto.
25250
258ad32d
MC
252512002-02-24 Michael Chastain <mec@shout.net>
25252
25253 * gdb.threads/pthreads.c (thread1): Add a return statement.
25254 (thread2): Likewise.
25255 (foo): Likewise.
25256
04c3b3d4
MC
252572002-02-23 Michael Chastain <mec@shout.net>
25258
25259 * gdb.threads/linux-dp.c (philosopher): Add a return statement
25260 to placate gcc.
25261
5a2a0a20
MC
252622002-02-23 Michael Chastain <mec@shout.net>
25263
25264 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
25265 test "ptype bint". The test passes on all my stabs configurations.
25266
a640f7fc
JB
252672002-02-21 Jim Blandy <jimb@redhat.com>
25268
27924826
JB
25269 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
25270 filename at a time, and watch for the ones we want to see.
25271
a640f7fc
JB
25272 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
25273 types of pointers to prototyped functions.
25274
edcc8c75
AC
252752002-02-20 Andrew Cagney <ac131313@redhat.com>
25276
25277 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
25278 signed, unsigned and straight char.
25279 (padding_char, padding_short, padding_int, padding_long,
25280 padding_long_long, padding_float, padding_double,
25281 padding_long_double): New global variables.
25282 (fill, fill_structs): New functions.
25283
25284 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
25285 for correctly sized writes. Update copyright.
25286 (get_valueof): New procedure.
25287 (get_sizeof): Call get_valueof.
25288 (check_valueof): New procedure.
25289 (check_padding): New procedure.
25290
ac57ea44
MC
252912002-02-20 Michael Chastain <mec@shout.net>
25292
25293 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
25294 to setup_xfail. Document some of the remaining calls.
25295
7a10c941
MC
252962002-02-18 Michael Chastain <mec@shout.net>
25297
25298 * gdb.c++/userdef.exp: Update copyright year.
25299
fb8acdcc
DJ
253002002-02-18 Daniel Jacobowitz <drow@mvista.com>
25301
25302 * gdb.c++/userdef.exp: Test overloaded operators properly.
25303 Remove xfails.
25304
fda6ae12
MS
253052002-02-14 Michael Snyder <msnyder@redhat.com>
25306
25307 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
25308
676a0442
DJ
253092002-02-14 Daniel Jacobowitz <drow@mvista.com>
25310
25311 * gdb.base/a2-run.exp: Check for a remote target properly.
25312 * gdb.base/annota1.exp: Likewise.
25313 * gdb.base/list.exp: Likewise.
25314 * gdb.base/reread.exp: Likewise.
25315 * gdb.base/scope.exp: Likewise.
25316 * gdb.base/shlib-call.exp: Likewise.
25317 * gdb.base/term.exp: Likewise.
25318 * gdb.c++/annota2.exp: Likewise.
25319
78b4f468
RE
253202002-02-13 Richard Earnshaw <rearnsha@arm.com>
25321
25322 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
25323
9a81ba51
MC
253242002-02-10 Michael Chastain <mec@shout.net>
25325
25326 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
25327 (call_after_alloca): Ditto.
25328
004af6c7
DJ
253292002-02-10 Daniel Jacobowitz <drow@mvista.com>
25330
25331 * gdb.base/ending-run.exp: Guard "cont" test with
25332 gdb_skip_stdio_test.
25333
37225f62
JB
253342002-02-06 Jim Blandy <jimb@redhat.com>
25335
25336 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
25337 from here...
25338 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
25339 To here. Disable this test on non-HP platforms. Add big comment.
25340
fe6fdd96
MS
253412002-02-04 Michael Snyder <msnyder@redhat.com>
25342
25343 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
25344 other than d10v and m32r.
25345
036fad3f
RE
253462002-02-02 Richard Earnshaw <rearnsha@arm.com>
25347
25348 * gdb.base/default.exp: Rewrite test patterns to reduce time
25349 taken to match them.
25350
7148ab62
DJ
253512002-01-30 Daniel Jacobowitz <drow@mvista.com>
25352
25353 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
25354 Allow a start function above main.
25355 * gdb.threads/linux-dp.exp: Fix copyright date.
25356
396cc255
DJ
253572002-01-30 Daniel Jacobowitz <drow@mvista.com>
25358
a9c64011
AS
25359 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
25360 (check_philosopher_stack): Check for manager thread before checking
25361 for a just-starting thread.
396cc255 25362
f038d31b
DJ
253632002-01-30 Daniel Jacobowitz <drow@mvista.com>
25364
25365 From Neil Booth <neil@daikokuya.demon.co.uk>:
25366 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
25367 warnings.
25368
b3ff9d9a
FF
253692002-01-21 Fred Fish <fnf@redhat.com>
25370
25371 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
25372 not caller.
25373
39ad761d
JB
253742002-01-21 Jim Blandy <jimb@redhat.com>
25375
25376 * gdb.base/reread.exp: Check that GDB properly re-reads the
25377 executable file when it changes while no inferior is running.
25378
aaf320fa
FF
253792002-01-21 Fred Fish <fnf@redhat.com>
25380
a9c64011
AS
25381 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
25382 optionally accept the "shlib events" variation.
aaf320fa 25383
808a31f5
JB
253842002-01-21 Jim Blandy <jimb@redhat.com>
25385
25386 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
25387 call `fflush' after every `printf', so that the output is produced
25388 at predictable points, regardless of whatever buffering does (or
25389 doesn't) take place.
25390 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
25391 at different points.
25392
4420d5e2
DJ
253932002-01-20 Daniel Jacobowitz <drow@mvista.com>
25394
25395 * gdb.c++/inherit.exp: Update copyright years.
25396 * gdb.c++/method.exp: Likewise.
25397
3e36a0f4
DJ
253982002-01-20 Daniel Jacobowitz <drow@mvista.com>
25399
25400 * gdb.c++/classes.exp: Update for improved v3 support and skipping
25401 artificial methods/arguments.
25402 * gdb.c++/derivation.exp: Likewise.
25403 * gdb.c++/inherit.exp: Likewise.
25404 * gdb.c++/method.exp: Likewise.
25405 * gdb.c++/virtfunc.exp: Likewise.
25406
b4ceaee6
AC
254072002-01-18 Andrew Cagney <ac131313@redhat.com>
25408
25409 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
25410 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
25411 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
25412 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
25413 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
25414 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
25415
ecace851
JB
254162002-01-17 Jim Blandy <jimb@redhat.com>
25417
25418 * gdb.asm/asm-source.exp (info symbol): Take another shot at
25419 anchoring the pattern matching the entry point symbol's name.
25420
375fc983
AC
254212002-01-17 Andrew Cagney <ac131313@redhat.com>
25422
25423 * gdb.base/maint.exp: Update ``maint internal-error'' to match
25424 continue/quit query. Update copyright.
25425
fe6fdd96
MS
254262002-01-14 Michael Snyder <msnyder@redhat.com>
25427
25428 * gdb.base/gcore.exp: Remove extra debugging output.
25429
e017c81f
DJ
254302002-01-13 Daniel Jacobowitz <drow@mvista.com>
25431
25432 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
25433 for slightly dubious v2 mangled string.
25434
37ab3bf8
DJ
254352002-01-13 Daniel Jacobowitz <drow@mvista.com>
25436
25437 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
25438
1bc05c3a 254392002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 25440
1bc05c3a 25441 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 25442
1bc05c3a
JM
25443 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
25444 constructors.
25445 * gdb.c++/derivation.exp: Likewise.
25446 * gdb.c++/templates.exp: Likewise.
25447 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 25448
1bc05c3a
JM
254492002-01-10 Michael Snyder <msnyder@redhat.com>
25450
25451 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 25452
a911c360
MS
254532002-01-08 Michael Snyder <msnyder@redhat.com>
25454
25455 * gdb.base/gcore.exp: New test for generate-core-file command.
25456 * gdb.base/gcore.c: Testcase for above.
25457 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
25458
ea2119ec
JM
254592002-01-08 Jason Merrill <jason@redhat.com>
25460
25461 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
25462
68203136
FF
254632002-01-07 Fred Fish <fnf@redhat.com>
25464
25465 * gdb.c++/overload.exp: Remove unconditional xfails for:
25466 print foo_instance1.overloadargs(1)
25467 print foo_instance1.overloadargs(1, 2)
25468 print foo_instance1.overloadargs(1, 2, 3)
25469 print foo_instance1.overloadargs(1, 2, 3, 4)
25470 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
25471 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
25472 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
25473 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
25474 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
25475 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
25476 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
25477 print foo_instance1.overload1arg()
25478 print foo_instance1.overload1arg((char)arg2)
25479 print foo_instance1.overload1arg((signed char)arg3)
25480 print foo_instance1.overload1arg((unsigned char)arg4)
25481 print foo_instance1.overload1arg((int)arg7)
25482 print foo_instance1.overload1arg((unsigned int)arg8)
25483 print foo_instance1.overload1arg((float)arg11)
25484 print foo_instance1.overload1arg((double)arg12)
d63a86f8 25485
21b9b5b1
MS
254862002-01-07 Michael Snyder <msnyder@redhat.com>
25487
25488 * gdb.base/huge.exp: New test. Print a very large target data object.
25489 (skip_huge_test): New test variable. Define if you want to skip this
25490 test. The test reads an 8 megabyte data object from the target, so it
25491 might be very time consuming on remote targets with a slow connection.
25492 * gdb.base/huge.c: New file. Test case for above.
25493
725f922e
FF
254942002-01-07 Fred Fish <fnf@redhat.com>
25495
25496 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
25497 g_instance.bfoo, and g_instance.cfoo.
25498
889bf7c5 254992002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 25500
889bf7c5
PA
25501 * gdb.base/break.c (multi_line_if_conditional): New function.
25502 (multi_ilne_while_conditional): Likewise.
25503 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
25504 IF or WHILE condition puts the breakpoint at the start of
25505 the condition.
f286b2c3 25506
634d57ec
JL
25507 * gdb.base/selftest.exp (backtrace through signal handler): Remove
25508 hppa*-*-hpux* expected failure.
25509 * gdb.base/structs.exp (do_function_calls): Similarly.
25510
25511 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
25512 watchpoints.
25513
9fbfe2dc
AC
255142002-01-06 Andrew Cagney <ac131313@redhat.com>
25515
25516 Fix PR gdb/66.
25517 * gdb.base/structs.exp: Replace skip for a29k with skip for
25518 gdb,cannot_call_functions.
25519 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
25520 * gdb.base/callfuncs.exp: Ditto.
25521 * gdb.base/call-rt-st.exp: Ditto.
25522 * gdb.base/call-strs.exp: Ditto.
25523 * gdb.base/callfwmall.exp: Ditto.
25524 * gdb.base/scope.exp: Obsolete xfail a29k.
25525 * gdb.c++/misc.exp: Ditto.
25526 * gdb.c++/cplusfuncs.exp: Ditto.
25527 * gdb.base/ptype.exp: Ditto.
25528 * gdb.base/printcmds.exp: Ditto.
25529 * gdb.base/opaque.exp: Ditto.
25530 * gdb.base/list.exp: Ditto.
25531 * gdb.base/funcargs.exp: Ditto.
25532 * gdb.base/default.exp: Ditto.
25533
8ddad156
MS
255342002-01-04 Michael Snyder <msnyder@redhat.com>
25535
ca4976a6 25536 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
25537 * gdb.base/maint.exp: Add tests for maint info sections options.
25538
1b074332
JL
25539Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
25540
25541 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
25542
7d159115
CV
255432001-12-20 Corinna Vinschen <vinschen@redhat.com>
25544
25545 * gdb.asm/arm.inc: New file.
25546 * gdb.asm/asm-source.exp: Add arm targets.
25547 * gdb.asm/configure.in: Ditto.
25548 * gdb.asm/configure: Recreated from configure.in.
25549
8fb87725
JL
25550Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
25551
afabe08c
JL
25552 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
25553 with HP's compiler.
25554 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
25555 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
25556 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
25557 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
25558
25559 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
25560 either HP's compilers or GCC.
25561
db521deb
JL
25562 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
25563 a SIGBUS or SIGSEGV.
25564
25565 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
25566
25567 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
25568 can be compiled with either HP's compiler or GCC.
25569
cfa88ab7
JL
25570 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
25571 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
25572 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
25573
ca344dff
JL
25574 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
25575 to match current gdb output. Update due to using auto-solib-limit
25576 for limiting instead of overloading auto-solib-add.
25577 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
25578 test program.
25579
3f3c6e55 25580 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
25581 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
25582 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
25583 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
25584 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
25585 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
25586 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
25587 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
25588 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
25589 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
25590 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
25591 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
25592 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 25593
8fb87725
JL
25594 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
25595 a SIGTRAP to the inferior.
25596
cf599fa7
CV
255972001-12-19 Corinna Vinschen <vinschen@redhat.com>
25598
25599 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
25600 Substitute call to target_link by call to gdb_compile.
25601
2cd045cd
JL
25602Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
25603
a9c64011
AS
25604 * gdb.base/break.exp: Fix HP specific search string when testing
25605 backtracing in a called function.
2cd045cd 25606
a9c64011
AS
25607 * gdb.base/constvars.exp: Only set lang to C++ if we're
25608 compiling the test with HP's compilers.
25609 * gdb.base/volatile.exp: Similarly.
2cd045cd 25610
99ebe9ac
JB
256112001-12-19 Jim Blandy <jimb@redhat.com>
25612
25613 * gdb.base/printcmds.exp: Expect the null character to be printed
25614 as '\0', and the '\013' to be printed as '\v'.
25615 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
25616 * gdb.base/setvar.exp: Same.
25617
b9891b29
JB
256182001-12-17 Jim Blandy <jimb@redhat.com>
25619
0eba65ab
JB
25620 * gdb.base/completion.exp: Rather than completing very long
25621 filenames, which can make the readline library produce output we
25622 don't recognize, cd to the directory first, and then complete
25623 using nice, short relative paths.
25624
6970b5b1
JB
25625 * gdb.base/completion.exp: On some systems, there is, in fact, a
25626 variable named `b' in scope, since GDB treats all static
a9c64011
AS
25627 variables as being in scope. So use `no_var_named_this'
25628 instead of `b'.
6970b5b1 25629
b9891b29 25630 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 25631 can't find the core file's registers as a failure.
b9891b29 25632
e6ccd35f
JSC
256332001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
25634
a9c64011
AS
25635 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
25636 test expect string more specific.
e6ccd35f 25637
105ba819
CV
256382001-12-13 Corinna Vinschen <vinschen@redhat.com>
25639
25640 * gdb.asm/asm-source.exp: Add support for xstormy16.
25641 * gdb.asm/configure.in: Ditto.
25642 * gdb.asm/configure: Rebuild.
25643 * gdb.asm/xstormy16.inc: New file.
25644
e9e79dd9
FF
256452001-12-10 Fred Fish <fnf@redhat.com>
25646
25647 * gdb.base/maint.exp: Update to match changes in type dumping code.
25648
347dc97d
JB
256492001-12-10 Jim Blandy <jimb@redhat.com>
25650
25651 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
25652 matching the entry point symbol's name at the beginning of the
25653 line.
347dc97d 25654
5178b9d6
DJ
256552001-12-07 Daniel Jacobowitz <drow@mvista.com>
25656
25657 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
25658 gdb.c++/inherit.exp, gdb.c++/method.exp,
25659 gdb.c++/namespace.exp, gdb.c++/templates.exp,
25660 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
25661 and class layout support.
25662
af890c52
DJ
256632001-12-07 Daniel Jacobowitz <drow@mvista.com>
25664
25665 * gdb.c++/classes.exp: Add test for static member function.
25666 * gdb.c++/misc.cc: Add class with static member function.
25667
7a345fb3
JB
256682001-12-07 Jim Blandy <jimb@redhat.com>
25669
f2e54a80 25670 If GDB says it can't find the struct the function returned, report
8032bf31
JB
25671 those tests as `unsupported'.
25672 * gdb.base/call-rt-st.exp (print_struct_call): New function.
25673 Rewrite subsequent tests to use it.
25674
25675 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
25676 those tests as `unsupported'.
25677 * gdb.base/structs.exp (call_struct_func): New function.
25678 (do_function_calls): Use call_struct_func to call the functions
25679 returning structs.
25680
0bc69509
JB
25681 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
25682 whether functions are prototyped or not, so we can't possibly pass
25683 arguments to t_float_values2 properly.
25684
7a345fb3
JB
25685 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
25686 value of `timeout' for targets other than the mips*tx39-*.
25687
edb6ede1
MS
256882001-12-06 Michael Snyder <msnyder@redhat.com>
25689
d63a86f8 25690 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
25691 and detect whether the start symbol has a leading underscore.
25692
2d842f13
JB
256932001-12-04 Jim Blandy <jimb@redhat.com>
25694
25695 * gdb.base/completion.exp: Clarify indentation.
25696
68550daf
JB
256972001-12-03 Jim Blandy <jimb@redhat.com>
25698
25699 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
25700 variables on the S/390, not `.word'.
25701
cd5195a8
JB
257022001-11-30 Jim Blandy <jimb@redhat.com>
25703
25704 Add assembly-source tests for s390-ibm-linux.
25705 * gdb.asm/s390.inc: New file.
25706 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
25707 the S/390 architecture.
a9c64011 25708 * gdb.asm/configure: Regenerated.
cd5195a8 25709
ca9efc90
MS
257102001-11-30 Michael Snyder <msnyder@redhat.com>
25711
25712 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
25713 next, info source, info sources, info line, global and static
25714 variables, and static functions.
25715 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
25716 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
25717 * gdb.asm/asmsrc1.s: Add a static function and some variables.
25718 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
25719 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
25720 (gdbasm_leave): Restore frame pointer.
25721 (gdbasm_startup): Copy stack set-up from crt0.S.
25722
d0e66976
FN
257232001-11-26 Fernando Nasser <fnasser@redhat.com>
25724
25725 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
25726 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
25727 to a local (non-static) variable. Copy tstruct.a to a static buffer
25728 and return a pointer to that buffer.
25729 * gdb.base/callfwmall.c (t_structs_a): Ditto.
25730
e2334072
MK
257312001-11-24 Mark Kettenis <kettenis@gnu.org>
25732
25733 * gdb.asm/configure.in: Fix recognition of ix86 target.
25734 * gdb.asm/configure: Regenerate.
25735
756caa3d
MS
257362001-11-21 Michael Snyder <msnyder@redhat.com>
25737
25738 * gdb.asm/sparc.inc: New file.
25739 * gdb.asm/asm-source.exp: Recognize sparc target.
25740 * gdb.asm/configure.in: Recognize sparc target.
25741 * gdb.asm/configure: Regenerate.
d63a86f8 25742
9a4d72d5
MS
257432001-11-21 Michael Snyder <msnyder@redhat.com>
25744
25745 * gdb.asm/m32r.inc: New file.
25746 * gdb.asm/asm-source.exp: Recognize m32r target.
25747 * gdb.asm/configure.in: Recognize m32r target.
25748 * gdb.asm/configure: Regenerate.
25749
a773d1cd
MS
257502001-11-20 Michael Snyder <msnyder@redhat.com>
25751
017ac23d
MS
25752 * gdb.asm/i386.inc: New file.
25753 * gdb.asm/asm-source.exp: Recognize ix86 target.
25754 * gdb.asm/configure.in: Recognize ix86 target.
25755 * gdb.asm/configure: Regenerate.
25756
a773d1cd
MS
25757 * gdb.c++/namespace.exp: Fix quotes in output messages.
25758
bb632afb
MS
257592001-11-14 Michael Snyder <msnyder@redhat.com>
25760
25d559ca 25761 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
25762 qualifier in a type cast expression, to designate an address
25763 in the instruction space (Harvard architecture).
25764
4749e309
MS
257652001-11-13 Michael Snyder <msnyder@redhat.com>
25766
25767 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
25768 Tests for expressions using 'const' and 'volatile'.
25769
25050984
CV
257702001-11-13 Corinna Vinschen <vinschen@redhat.com>
25771
25772 * gdb.asm/asm-sources.exp: Allow defining linker flags.
25773
1902c51f
DJ
257742001-11-12 Daniel Jacobowitz <drow@mvista.com>
25775
25776 * lib/mi-support.exp (mi_run_to_helper): Move comments
25777 outside of gdb_expect.
25778
dcf95b47
DJ
257792001-11-11 Daniel Jacobowitz <drow@mvista.com>
25780
25781 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
25782 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
25783 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
25784 mi0_run_to): New functions.
25785 * gdb.mi/mi-simplerun.exp: Use them.
25786 * gdb.mi/mi0-simplerun.exp: Likewise.
25787 * gdb.mi/mi-var-cmd.exp: Likewise.
25788 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 25789
45b074e1
AC
257902001-11-10 Andrew Cagney <ac131313@redhat.com>
25791
25792 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
25793 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
25794
bf50d346
AC
257952001-11-09 Andrew Cagney <ac131313@redhat.com>
25796
25797 * gdb.base/restore.exp: Include $expected value in restored test
25798 message.
25799
9383332c
AC
258002001-11-09 Andrew Cagney <ac131313@redhat.com>
25801
25802 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
25803 implemented.
25804
db62520a
MS
258052001-11-08 Michael Snyder <msnyder@redhat.com>
25806
25807 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
25808 Add pass/fail message for stop at breakpoint in call dummy function.
25809
b5703437
MS
258102001-11-07 Michael Snyder <msnyder@redhat.com>
25811
d63a86f8
RM
25812 * gdb.c++/templates.exp (test_template_breakpoints):
25813 If we get an overload menu, but it does not match what
760f6330 25814 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
25815 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
25816 making the whitespace optional. Argument for "new" may be
25817 "unsigned" as well as "unsigned int/long".
d63a86f8 25818 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
25819 making the whitespace optional. Also replace "(void) with
25820 "((void|)), making the keyword "void" optional.
d63a86f8 25821 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
25822 making the whitespace optional. Also replace "(void) with
25823 "((void|)), making the keyword "void" optional.
3bf40917
MS
25824 * gdb.base/callfuncs.c (t_float_values): This function must
25825 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 25826 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
25827 can be tested against both cases. Usually one case involves
25828 promotion of float to double, while the other does not.
25829 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
25830 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
25831 includes a stack frame for "start".
25832
c8ab4e6d
JB
258332001-11-05 Jim Blandy <jimb@redhat.com>
25834
25835 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
25836 pointers are 32 bits long, and that offsets of relocs are always
25837 stored in the data (REL-style), and not in the reloc entry itself
25838 (RELA-style).
25839 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
25840 stabs.
25841
3f08ced9
MS
258422001-11-01 Michael Snyder <msnyder@redhat.com>
25843
25844 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
25845 and regular expression operators by using quoting.
25846
cbfa24cd
MS
258472001-10-31 Michael Snyder <msnyder@redhat.com>
25848
25849 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
25850 depending on what the symbol table contains.
25851 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
25852 the output of the ptype command. Similarly, accept both "const &"
25853 and "const&".
25854
aaa68313
CV
258552001-10-31 Corinna Vinschen <vinschen@redhat.com>
25856
25857 * gdb.base/miscexprs.c (main): Add usage of preprocessor
25858 symbol `STORAGE' to allow to choose the storage class of
25859 the local datastructures.
25860 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
25861 compiler directive.
25862
91740388
MS
258632001-10-30 Michael Snyder <msnyder@redhat.com>
25864
25865 * gdb.base/jump.exp: Allow it to run for all targets.
25866
1b7c05e7
CV
258672001-10-29 Corinna Vinschen <vinschen@redhat.com>
25868
25869 * gdb.base/call-ar-st.c (print_double_array): Match for loop
25870 with new double_array size.
25871 (main): Change storage class of all local variables to static.
25872 Reduce size of double_array to 9.
25873 * gdb.base/call-ar-st.exp: Increase timeout value.
25874 Change expected output for double array to match new size in
25875 call-ar-st.c.
25876
36a22261
CV
258772001-10-29 Corinna Vinschen <vinschen@redhat.com>
25878
25879 * gdb.base/ending-run.exp: Create identical output when passing
25880 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 25881 Stormy16 target.
36a22261 25882
92b8ae91
MK
258832001-10-28 Mark Kettenis <kettenis@gnu.org>
25884
25885 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
25886 that we catch the expected failure under Linux/x86.
25887
cb135b83
OF
258882001-10-29 Orjan Friberg <orjanf@axis.com>
25889
25890 * gdb.base/setvar.exp: Escape curly braces.
25891 * gdb.stabs/weird.exp: Ditto.
25892
6884aa54
DJ
258932001-10-27 Daniel Jacobowitz <drow@mvista.com>
25894
25895 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
25896 * gdm.mi/mi0-hack-cli.exp: Likewise.
25897
0398c9aa
AC
258982001-10-25 Andrew Cagney <ac131313@redhat.com>
25899
25900 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
25901 messages.
25902
d20bf2e8
AC
259032001-10-21 Andrew Cagney <ac131313@redhat.com>
25904
25905 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
25906 checking MI enabled.
25907
03dd63aa
CV
259082001-10-09 Corinna Vinschen <vinschen@redhat.com>
25909
25910 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
25911
1d9d99f3
FCE
259122001-10-04 Frank Ch. Eigler <fche@redhat.com>
25913
25914 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
25915 if gdb child process crashes, just signal an error.
25916
838ae6c4
JB
259172001-10-02 Jim Blandy <jimb@redhat.com>
25918
25919 * lib/gdb.exp (test_xfail_format): Simplify.
25920
25921 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
25922 front of the variable name `format'. Simplify `if'.
25923
8f0cbc1c
DJ
259242001-10-01 Daniel Jacobowitz <drow@mvista.com>
25925
25926 * gdb.threads/pthreads.exp: Wait for output and delay
25927 before sending ^C.
25928
1f08dafd
DJ
259292001-10-01 Daniel Jacobowitz <drow@mvista.com>
25930
25931 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
25932 some incorrect output instead of timing out.
25933 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
25934
674f90ff
CV
259352001-09-28 Corinna Vinschen <vinschen@redhat.com>
25936
25937 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
25938 check to allow additional `int'.
25939
9b284272
DJ
259402001-09-27 Daniel Jacobowitz <drow@mvista.com>
25941
25942 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
25943 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
25944
b55a4771
MS
259452001-09-27 Michael Snyder <msnyder@redhat.com>
25946
25947 * lib/gdb.exp (test_debug_format): New proc.
25948 (setup_xfail_format): Use new proc test_debug_format.
25949 * gdb.base/constvars.exp (local_compiler_xfail_check): New
25950 proc; use new service proc test_debug_format.
25951 Replace all other "gcc_compiled" tests with this test.
25952 * gdb.base/volatile.exp (local_compiler_xfail_check): New
25953 proc; use new service proc test_debug_format.
25954 Replace all other "gcc_compiled" tests with this test.
25955
259562001-09-27 Michael Snyder <msnyder@redhat.com>
25957
25958 * gdb.base/cvexpr.exp: New file.
25959 * gdb.base/cvexpr.c: New file
25960 Test for expressions using const and volatile keywords.
25961
4e6667ac
CV
259622001-09-26 Corinna Vinschen <vinschen@redhat.com>
25963
25964 * gdb.base/constvars.exp: Check for different orders of keywords
25965 and additional "int" strings in output.
25966
4f337972
AC
259672001-09-22 Andrew Cagney <ac131313@redhat.com>
25968
25969 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
25970 responses from "help maint".
25971
2015650d
FCE
259722001-09-19 Frank Ch. Eigler <fche@redhat.com>
25973
25974 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
25975 to localhost:NNN instead of :NNN, in case Xvfb is listening
25976 only on TCP.
25977
f3bcedc1
CV
259782001-09-19 Corinna Vinschen <vinschen@redhat.com>
25979
25980 * gdb.base/recurse.exp: When checking leaving the watchpoint
25981 scope, recognize when gdb is in function's epilogue and pass.
25982
6b819c92
KS
259832001-09-18 Keith Seitz <keiths@redhat.com>
25984
25985 * lib/insight-support.exp (_gdbtk_export_target_info): Add
25986 support for running tests against sid targets.
25987 (gdbtk_done): Ditto.
25988
a10c9419
CV
259892001-09-18 Corinna Vinschen <vinschen@redhat.com>
25990
25991 * gdb.base/ending-run.c (main): Set stdout buffersize
25992 to the same reasonable value for any target.
25993 * gdb.base/ending-run.exp: Add a regular expression
25994 to make testsuite happy on Sanyo Stormy16 target.
25995
739d0d99
CV
259962001-09-17 Corinna Vinschen <vinschen@redhat.com>
25997
25998 * gdb.base/display.c (do_loops): Add float variable `f'.
25999 Increment f in loop.
26000 * gdb.base/display.exp: Increment timeout by 60 seconds.
26001 Change float display test to use variable `f'.
26002
1b8947f0
JB
260032001-09-17 Jim Blandy <jimb@redhat.com>
26004
26005 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
26006 overflowing the limited breakpoint tables on some ROM monitors
26007 (like the ROM68K).
26008
9890ac81
FCE
260092001-09-15 Frank Ch. Eigler <fche@redhat.com>
26010
26011 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
26012 the "-ac" (disable access control) flag.
26013
6db765ea
JH
260142001-08-30 Jeff Holcomb <jeffh@redhat.com>
26015
26016 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
26017 ints.
26018
4c32cc04
KS
260192001-08-30 Keith Seitz <keiths@redhat.com>
26020
26021 * lib/gdb.exp: Move all insight-related functionality into
26022 separate file.
26023 * lib/insight-support.exp: New file.
26024
8d6e6f81
FCE
260252001-08-29 Frank Ch. Eigler <fche@redhat.com>
26026
26027 * config/sid.exp (sid_start): Never set sid verbosity; disable
26028 expect_background {} that consumed its stdout; tolerate </dev/null.
26029 Attempt to set endianness override in "sid" protocol mode. Cleanup.
26030
6a90e1d0
AC
260312001-08-18 Andrew Cagney <ac131313@redhat.com>
26032
26033 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
26034 CLI jump command to start it.
26035 (mi_run_to_main): Fail immediatly when unexpected output.
26036
1759b3c3
AC
260372001-08-18 Andrew Cagney <ac131313@redhat.com>
26038
26039 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
26040 beginning of function. Fix PR gdb/191.
26041
61d11d80
FCE
260422001-08-16 Frank Ch. Eigler <fche@redhat.com>
26043
26044 * config/sid.exp (sid_start): Don't warn if we cannot figure out
26045 what to force sid endianness to.
26046
942a4df2
KS
260472001-08-15 Keith Seitz <keiths@redhat.com>
26048
26049 * lib/gdb.exp (gdbtk_start): Don't set environment
26050 variables for TCL_LIBRARY and friends. Insight will
26051 now figure these out for itself.
26052
0521c418
MS
260532001-08-02 Michael Snyder <msnyder@redhat.com>
26054
26055 * gdb.base/completion.exp: Remove the symbol "a64l" from
26056 the expect string; this is target-specific, and not related
26057 to what is being tested.
26058
74a9a58a
DB
260592001-08-02 Dave Brolley <brolley@redhat.com>
26060
26061 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
26062
c70819fa
MS
260632001-07-25 Michael Snyder <msnyder@redhat.com>
26064
c2b8fa57
MS
26065 * gdb.base/consecutive.exp: New file. Test stepping over
26066 breakpoints on consecutive instructions.
26067 * gdb.base/consecutive.c: New file.
26068
c70819fa
MS
26069 * gdb.base/call-rt-st.exp: Use double-backslash to quote
26070 curly braces in regular expressions.
26071
2b1a1355
MS
260722001-07-25 Michael Snyder <msnyder@redhat.com>
26073
26074 * gdb.base/ending-run.exp: Accept "Program exited normally" as
26075 legitimate output from stepping out of main.
26076
413eca6f
KS
260772001-07-22 Keith Seitz <keiths@redhat.com>
26078
26079 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
26080 the empty string, do not run the tests.
26081
7e5a9322
SC
260822001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26083
26084 * gdb.base/long_long.exp: Detect size of pointer. Take into
26085 account 2-byte pointers when testing for p/a results.
26086
de58f10f
SC
260872001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26088
d63a86f8 26089 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
26090 and defined to 1K for m68hc11.
26091 (random_data): Reduce table to 1K for embedded platforms (68hc11).
26092 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
26093 (sizeof_random_data): New variable to tell the size of the data table;
26094 don't test past this size; always run to main.
26095
d6f5fea1
SC
260962001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26097
26098 * gdb.base/return2.exp: return of long long and double fails for
26099 68HC11; don't execute these tests on that platform.
26100 * gdb.base/return.exp: Return of a double fails for 68hc11.
26101
c477543d
SC
261022001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26103
26104 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
26105 tests that print a float.
26106 * call-rt-st.exp: Likewise.
26107
63cf1c79
MK
261082001-07-12 Mark Kettenis <kettenis@gnu.org>
26109
26110 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
26111 running this test on Linux.
26112
112f9ab5
MC
261132001-06-24 Michael Chastain <chastain@redhat.com>
26114
26115 * gdb.base/arithmet.exp: Remove some tests to make all test names
26116 unique.
26117
4970cb0f
MS
261182001-07-03 Michael Snyder <msnyder@redhat.com>
26119
26120 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
26121 the output of the ptype command.
26122
d85da69f
MS
261232001-07-02 Michael Snyder <msnyder@redhat.com>
26124
4c8a82de
MS
26125 * gdb.base/completion.exp: Don't assume that break.c is the only
26126 source file that may contain functions named "marker".
d85da69f
MS
26127 * gdb.base/corefile.exp: Quote the curly braces in regexp.
26128
8afc772b
AC
261292001-06-28 Andrew Cagney <ac131313@redhat.com>
26130
26131 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
26132 of files to delete.
26133
26134 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
26135 * gdb.disasm/h8300s.exp: New file.
26136 gdb.disasm/h8300s.s: Likewise.
26137
cff22675
AC
261382001-06-27 Andrew Cagney <ac131313@redhat.com>
26139
26140 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
26141 empty breakpoint tables.
26142
68c81b54
AC
261432001-06-25 Andrew Cagney <ac131313@redhat.com>
26144
26145 * lib/mi-support.exp: Update args=... part of stop-reason
26146 patterns. Accept either a list or a tuple.
26147
2dd62704
AC
261482001-06-23 Andrew Cagney <ac131313@redhat.com>
26149
26150 * lib/mi-support.exp: Remove local emacs variable defining
26151 change-log-default-name.
26152
b4127474
MC
261532001-06-22 Michael Chastain <chastain@redhat.com>
26154
26155 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
26156 This is operationally compatible with the previous version.
26157
8dbfb380
JB
261582001-06-13 Jim Blandy <jimb@redhat.com>
26159
26160 * lib/gdb.exp (gdb_test): Doc fix.
26161
f2d8c86d
MC
261622001-06-10 Michael Chastain <chastain@redhat.com>
26163
26164 * gdb.base/exprs.exp: Remove a duplicate test.
26165
81564d34
JB
261662001-06-06 Jim Blandy <jimb@redhat.com>
26167
26168 * gdb.base/return2.exp (main): Use values to test float and double
26169 returns that are not NaN's, to avoid being confused by IEEE
26170 comparison rules.
26171
da55addb
MS
261722001-06-04 Michael Snyder <msnyder@redhat.com>
26173
26174 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 26175 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
26176 rather than wait for 12 more tests to time out.
26177
42c65987
JB
261782001-06-06 Jim Blandy <jimb@redhat.com>
26179
b18bced9 26180 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 26181 Don't forget to match the GDB prompt.
b18bced9 26182
42c65987
JB
26183 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
26184
5b41e5f0
JB
261852001-06-04 Jim Blandy <jimb@redhat.com>
26186
26187 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
26188 command.
26189
015e046f
KB
261902001-05-31 Kevin Buettner <kevinb@redhat.com>
26191
26192 * gdb.base/annota1.exp (info break): Match four or more spaces
26193 after "Address".
26194
fb1ffbbe
MC
261952001-05-31 Michael Chastain <chastain@redhat.com>
26196
26197 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
26198 (dm_type_int_star): Likewise.
26199 (dm_type_long_star): Likewise.
26200 (dm_type_void_star): Likewise.
26201
5ea2a32c
KB
262022001-05-29 Kevin Buettner <kevinb@redhat.com>
26203
26204 * gdb.base/completion.exp (INPUTRC): Set this environment variable
26205 to a known value in order to get consistent results regardless
26206 of the setting of INPUTRC or the presence or contents of .inputrc.
26207
ae23c492
MS
262082001-05-24 Michael Snyder <msnyder@redhat.com>
26209
ac55707e
MS
26210 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
26211 Don't require that the main thread and the manager thread are the
26212 first in the list.
26213
ae23c492
MS
26214 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
26215 debugging. If test fails, issue an "unsupported" not a "fail".
26216
400071f1
JB
262172001-05-24 Jim Blandy <jimb@redhat.com>
26218
26219 Don't assume that short is shorter than int.
26220 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
26221 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 26222 this isn't true.
400071f1
JB
26223 ("print unsigned char == (~0)"): Add test that verifies that ~0,
26224 an int, is not equal to ~0 stored in an unsigned char. This tests
26225 the same thing that the previous test meant to, but works on
26226 16-bit machines, too.
26227 ("print unsigned char != (~0)"): Same test, complemented.
26228
0816a3e5
MS
262292001-05-24 Michael Snyder <msnyder@redhat.com>
26230
26231 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 26232 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
26233 and prevents dejagnu getting out of step.
26234
f6dc23a9
KB
262352001-05-23 Kevin Buettner <kevinb@redhat.com>
26236
26237 * gdb.base/finish.exp (finish_void): Revise pattern for
26238 stopping on the call statement to not permit stopping at
26239 the start of the instructions comprising the call sequence.
26240
7dbd117d
MC
262412001-05-19 Michael Chastain <chastain@redhat.com>
26242
26243 * gdb.base/callfuncs.exp: Make all test names unique.
26244 * gdb.base/commands.exp: Make all test names unique.
26245 * gdb.base/condbreak.exp: Make all test names unique.
26246 * gdb.base/dbx.exp: Make all test names unique.
26247 * gdb.base/default.exp: Make all test names unique.
26248 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
26249 and TIMEOUT messages to their corresponding PASS message.
26250 * gdb.base/ending-run.exp: Make all test names unique.
26251 * gdb.base/long_long.exp: Remove duplicate test.
26252
6b0b0a9e
KB
262532001-05-21 Kevin Buettner <kevinb@redhat.com>
26254
26255 * gdb.base/finish.exp (finish_void): Allow "finish" command to
26256 stop on the call statement as well as the statement after the
26257 call.
26258
2caa35cb
MS
262592001-05-21 Michael Snyder <msnyder@redhat.com>
26260
26261 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
26262
40713331
EZ
262632001-05-10 Elena Zannoni <ezannoni@redhat.com>
26264
a9c64011
AS
26265 * gdb.base/completion.exp: Revamp test. Make it execute on all
26266 platforms.
40713331 26267
c2c1be8d
EZ
262682001-05-10 Elena Zannoni <ezannoni@redhat.com>
26269
a9c64011
AS
26270 * config/gdbserver.exp (gdb_load): Handle the case
26271 in which the arguments to gdbserver are given in the
26272 baseboard configuration file.
26273 Also handle the case in which the server needs to do a
26274 load.
2c9cd303 26275
9671de48
KS
262762001-05-07 Keith Seitz <keiths@cygnus.com>
26277
a9c64011
AS
26278 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
26279 set up the display for testing.
26280 (gdbtk_start): Convert all paths to paths that tcl will like.
26281 Export target information to environment.
26282 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
26283 necessary.
26284 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
26285 (to_tcl_path): New proc to convert a given pathname into
26286 a path acceptible as an argument to a tcl command.
26287 (_gdbtk_export_target_info): New proc to export target info
26288 into the environment for gdbtk testing.
26289 (gdbtk_done): New proc to signal end-of-test.
9671de48 26290
5a360f47
JB
262912001-05-06 Jim Blandy <jimb@redhat.com>
26292
26293 * restore.c: Make the code of caller0 correspond to its comment.
26294
66c756c6
MS
262952001-05-03 Michael Snyder <msnyder@redhat.com>
26296
26297 * config/sid.exp (gdb_target_sid): Check for error messages.
26298 On error or timeout, don't make expect exit (which will terminate
26299 all subsequent tests); instead just make gdb exit.
d63a86f8 26300 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
26301 return a negative value.
26302
a966fde5
JB
263032001-04-24 Jim Blandy <jimb@redhat.com>
26304
851c18e0
JB
26305 * gdb.c++/templates.exp: If we see the prompt for the overload
26306 list, but we haven't recognized any of the longer patterns,
26307 arrange for this test to fail, not hang.
26308
a966fde5
JB
26309 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
26310 variations.
26311
db144853
MC
263122001-04-22 Michael Chastain <chastain@redhat.com>
26313
26314 * gdb.c++/local.exp: Use the 'runto' library function.
26315 * gdb.c++/namespace.exp: Likewise.
26316 * gdb.c++/overload.exp: Likewise.
26317
3207ec21
KB
263182001-03-26 Kevin Buettner <kevinb@redhat.com>
26319
26320 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
26321 * gdb.base/step-line.exp: New file. Test step/next in presence of
26322 #line directives.
26323 * gdb.base/step-line.c: New file. Test program for the above.
26324 * gdb.base/step-line.inp: New file. We pretend that this file has
26325 been transformed by some other tool into step-line.c.
26326
13b57657
JB
263272001-03-21 Jim Blandy <jimb@redhat.com>
26328
26329 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
26330 unmangled operator names.
26331
754cbe1c
JB
263322001-03-20 Jim Blandy <jimb@redhat.com>
26333
26334 * gdb.threads/linux-dp.exp: Recognize an additional message
26335 generated by GDB when it doesn't understand how to debug threads
26336 on the target system.
26337
177495c9
AC
263382001-03-19 Andrew Cagney <ac131313@redhat.com>
26339
26340 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
26341
f266096b
MC
263422001-03-12 Michael Chastain <chastain@redhat.com>
26343
26344 * gdb.c++/derivation.exp: Use the 'runto' library function.
26345
cac3c2ff
MC
263462001-03-12 Michael Chastain <chastain@redhat.com>
26347
26348 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
26349
b6c11a24
MC
263502001-02-24 Michael Chastain <chastain@redhat.com>
26351
26352 * gdb.c++/ref-types.exp: Change handwritten code to library
26353 function 'runto'.
26354
6bae5bce
OF
263552001-03-16 Orjan Friberg <orjanf@axis.com>
26356
26357 * gdb.base/signals.exp: Set count to 0 explicitly.
26358
0015fd9a
MS
263592001-03-15 Mark Salter <msalter@redhat.com>
26360
26361 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
26362 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
26363 (gdb_load): Add support for additional target_info: gdb_download_size
26364 and gdb_load_timeout.
0015fd9a 26365
fc33412a
DT
26366Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
26367
26368 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
26369 file -- to prevent failing when the compile fails but we have no
26370 intention of running the tests anyway.
fc33412a
DT
26371
26372 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
26373 tests if set.
26374
26375 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 26376 integers.
fc33412a
DT
26377
26378 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
26379 * gdb.c++/namespace.exp: Ditto.
26380
115f06de
OF
263812001-03-07 Orjan Friberg <orjanf@axis.com>
26382
26383 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
26384 * gdb.base/pointers.exp: Relax pattern match of decimals.
26385
b6ba6518
KB
263862001-03-06 Kevin Buettner <kevinb@redhat.com>
26387
26388 * Makefile.in, config/abug.exp, config/cfdbug.exp,
26389 config/cpu32bug.exp, config/dve.exp, config/est.exp,
26390 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
26391 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
26392 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
26393 config/sh.exp, config/sid.exp, config/slite.exp,
26394 config/sparclet.exp, config/udi.exp, config/unknown.exp,
26395 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
26396 config/vxworks.exp, config/vxworks29k.exp,
26397 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
26398 gdb.base/all-bin.exp, gdb.base/annota1.exp,
26399 gdb.base/arithmet.exp, gdb.base/assign.exp,
26400 gdb.base/async.exp, gdb.base/attach.exp,
26401 gdb.base/bitfields.exp, gdb.base/bitops.exp,
26402 gdb.base/break.exp, gdb.base/call-ar-st.exp,
26403 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
26404 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
26405 gdb.base/commands.exp, gdb.base/completion.exp,
26406 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
26407 gdb.base/constvars.exp, gdb.base/corefile.exp,
26408 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
26409 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
26410 gdb.base/ending-run.exp, gdb.base/environ.exp,
26411 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
26412 gdb.base/finish.exp, gdb.base/foll-exec.exp,
26413 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
26414 gdb.base/funcargs.exp, gdb.base/help.exp,
26415 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
26416 gdb.base/logical.exp, gdb.base/long_long.exp,
26417 gdb.base/maint.exp, gdb.base/mips_pro.exp,
26418 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
26419 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
26420 gdb.base/pointers.exp, gdb.base/printcmds.exp,
26421 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
26422 gdb.base/regs.exp, gdb.base/relational.exp,
26423 gdb.base/remote.exp, gdb.base/reread.exp,
26424 gdb.base/restore.exp, gdb.base/return2.exp,
26425 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
26426 gdb.base/selftest.exp, gdb.base/setshow.exp,
26427 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
26428 gdb.base/sigall.exp, gdb.base/signals.exp,
26429 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
26430 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
26431 gdb.base/step-test.exp, gdb.base/structs.c,
26432 gdb.base/structs.exp, gdb.base/structs2.exp,
26433 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
26434 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
26435 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
26436 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
26437 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
26438 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
26439 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
26440 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
26441 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
26442 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
26443 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
26444 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
26445 gdb.fortran/types.exp, gdb.java/jmisc.exp,
26446 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
26447 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
26448 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
26449 gdb.trace/circ.exp, gdb.trace/collection.exp,
26450 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
26451 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
26452 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
26453 gdb.trace/report.exp, gdb.trace/save-trace.exp,
26454 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
26455 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
26456 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
26457 notices.
26458
dc96c6c7 264592001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
26460
26461 * gdb.base/varargs.c (find_max_double): Fix printf format string:
26462 first arg is int not float.
26463
dc96c6c7 264642001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
26465
26466 * gdb.base/reread.exp: Unsupported for non-native targets;
26467 doesn't work for remote debugging.
26468
9b0c4aeb
FN
264692001-02-19 Fernando Nasser <fnasser@redhat.com>
26470
26471 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
26472 * gdb.base/ending-run.exp: Properly handle the BSP state when
26473 stepping past the end of main.
9b0c4aeb 26474
02aa71d5
MC
264752001-02-19 John Moore <jmoore@redhat.com>
26476
26477 * gdb.base/commands.exp (infrun_breakpoint_command_test):
26478 Converted HPUX fix for non-expected items following multiple
26479 step commands into general solution for all platforms.
26480
1fa449a4
MC
264812001-02-18 Michael Chastain <chastain@redhat.com>
26482
26483 * gdb.c++/classes.exp (do_tests): Change runto statements
26484 from "runto 'foo(void)'" to "runto 'foo'". This makes the
26485 statements demangler agnostic.
26486 * gdb.c++/virtfunc.exp (do_tests): Likewise.
26487 (gdb_virtfunc_restart): Likewise.
26488
b2f9ec70
MC
264892001-02-14 Michael Chastain <chastain@redhat.com>
26490
26491 * gdb.c++/inherit.exp (do_tests): Change runto statements
26492 from "runto 'foo(void)'" to "runto 'foo'". This makes the
26493 statements demangler agnostic.
26494
cf74b8ca
AC
26495Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
26496
26497 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
26498 ``continue to bkpt at common_routine in thread 2'' and ``stopped
26499 before calling common_routine 15 times'' tests.
cf74b8ca 26500
99f78f56
MC
265012001-02-11 Michael Chastain <chastain@redhat.com>
26502
26503 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
26504 Helps the test script figure out which demangler is in use.
26505 (dm_type_foo_ref): Ditto.
26506 (dm_type_int_star): Ditto.
26507 (dm_type_long_star): Ditto.
26508 (dm_type_unsigned_int): Ditto.
26509 (dm_type_void): Ditto.
26510 (dm_type_void_star): Ditto.
99707966 26511 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
26512 Probe the gdb demangler and set variables to accommodate
26513 formatting differences.
26514 (info_func_regexp): New function. Same as info_func, but
26515 matches against a regexp.
26516 (info_func): Match against a literal string.
26517 (print_addr_2): New function. Match against a literal string,
26518 which can be different from the input to gdb.
26519 (print_addr): Simply call print_addr_2 with the same argument twice.
26520 (test_lookup_operator_functions): Use demangler formatting variables.
26521 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
26522 the tests in the same order as the C++ class declaration.
26523 (test_paddr_operator_functions): Ditto.
26524 (test_paddr_overloaded_functions): Ditto.
26525 (test_paddr_hairy_functions): Use demangler formatting variables.
26526 Add reference to gdb/19 for related tests.
26527 (do_tests): Call probe_demangler.
26528
1de8f023
KB
265292001-01-30 Kevin Buettner <kevinb@redhat.com>
26530
26531 * gdb.c++/templates.cc (printf): Remove unused function definition.
26532
ca3f91ed
MS
265332001-01-26 Felix Lee <flee@redhat.com>
26534
26535 * sid.exp (sid_exit): Pass host, not target, to remote_close.
26536
265372001-01-25 matthew green <mrg@redhat.com>
26538
26539 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
26540 up sid.
26541 (sid_exit): Call `remote_pop_conn' after GDB is gone.
26542
265432001-01-25 matthew green <mrg@redhat.com>
26544
26545 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 26546 Deprecate $sid_spawn_id.
ca3f91ed
MS
26547 (sid_exit): Remove code necessary only for `spawn.'
26548
265492001-01-25 matthew green <mrg@redhat.com>
26550
26551 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
26552
fb18ec4a
MC
265532001-01-28 Michael Chastain <chastain@redhat.com>
26554
26555 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
26556 to call when tests fail. It takes gdb out of the overloaded
26557 function choice menu back to the main prompt, so that the test
26558 program stays synchronized.
26559 (set_bp_overloaded): New proc to collect all the common
26560 code for setting a breakpoint on an overloaded name. Calls
26561 take_gdb_out_of_choice_menu when needed.
26562 (menu_overload1arg): New variable to collect the repeated
26563 instances of the expected menu for an overloaded name. Change
26564 the regular expression to handle changes in g++ type encoding:
26565 "void" can be either "void" or "", and "unsigned int" can be
26566 either "unsigned int" or "unsigned".
26567 (continue_to_bp_overloaded): Change regular expressions to handle
26568 changes in g++ type encoding.
26569 (no proc): Call take_gdb_out_of_choice_menu when needed.
26570 Remove redundant calls to "info break". Accept either "canceled"
26571 or "cancelled". Change regular expressions in "info break"
26572 calls to handle changes in g++ type encoding. Give all tests
26573 unique strings.
26574
9c646a6e
BE
265752001-01-17 Ben Elliston <bje@redhat.com>
26576
26577 * config/sid.exp: New file.
26578
9549d9c1
AC
26579Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
26580
26581 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
26582
dc96c6c7 265832000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
26584
26585 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
26586 Add a RE to accept a non-ascii char if one is ever presented.
26587
b4df4f68
FN
265882000-12-20 Fernando Nasser <fnasser@redhat.com>
26589
297dd0fd 26590 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 26591
dc96c6c7 265922000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 26593
d63a86f8 26594 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
26595 in regexp. One '\' does not suffice on Linux.
26596
4a7bddb6
MC
265972000-12-09 Michael Chastain <chastain@redhat.com>
26598
26599 * gdb.base/break.exp (test_clear_command): Use a marker function
26600 rather than 'main' for the test function. Also move this
26601 test to an execution point where the marker function names are
26602 guaranteed to be bound to functions. (Executing tests after a
26603 'finish' from main runs into name conflicts with local names
26604 in __libc_start_main).
26605
dc96c6c7 266062000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
26607
26608 * gdb.base/finish.exp: New test for gdb's "finish" command.
26609 * gdb.base/return2.exp: New test for gdb's "return" command.
26610 * gdb.base/return2.c: New source file for above.
26611
dc96c6c7 266122000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
26613
26614 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
26615 * gdb.base/miscexprs.exp: Ditto.
26616 * gdb.base/pointers.exp: Ditto.
26617 * gdb.c++/derivation.exp: Ditto.
26618 * gdb.c++/local.exp: Ditto.
26619 * gdb.c++/namespace.exp: Ditto.
26620 * gdb.c++/overload.exp: Ditto.
26621 * gdb.c++/ref-types.exp: Ditto.
26622
dc96c6c7 266232000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
26624
26625 * gdb.base/constvars.exp: Test result of "up" command.
26626 * gdb.base/miscexprs.exp: Ditto.
26627 * gdb.base/pointers.exp: Ditto.
26628 * gdb.base/scope.exp: Ditto.
26629 * gdb.c++/derivation.exp: Ditto.
26630 * gdb.c++/local.exp: Ditto.
26631 * gdb.c++/namespace.exp: Ditto.
26632 * gdb.c++/overload.exp: Ditto.
26633 * gdb.c++/ref-types.exp: Ditto.
26634
44097287
FN
266352000-11-22 Michael Chastain <chastain@redhat.com>
26636
26637 * mips_pro.exp: Accept either "middle -> top -> main" or
26638 "middle -> main" in the backtrace, because gcc can optimize
26639 tail calls to jumps. Remove setup_xfail for the hppa case.
26640 Add a comment with the original warning messages from PR 3016,
26641 which was filed in 1993, to preserve them for posterity.
26642
9d2e1bab
ND
266432000-11-17 Nick Duffek <nsd@redhat.com>
26644
26645 * lib/gdb.exp (gdb_test): Override timeout with board info.
26646
1aca8eb7
ND
266472000-11-17 Nick Duffek <nsd@redhat.com>
26648
26649 * gdb.base/display.exp: Don't kill running stub. Add "again" to
26650 the second kill and detach messages.
26651
93076499
ND
266522000-11-17 Nick Duffek <nsd@redhat.com>
26653
26654 * configure.in: Add AC_EXEEXT.
26655 * configure: Regenerate.
26656 * Makefile.in (just-check): Export EXEEXT.
26657 * lib/gdb.exp ($EXEEXT): Import from environment.
26658 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
26659 expect "maint dump-me" on Cygwin.
26660 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
26661 $EXEEXT.
26662
30e87cd3
ND
266632000-11-17 Nick Duffek <nsd@redhat.com>
26664
26665 * gdb.base/break.exp: Test backtrace and finish from called
26666 function on all platforms, not just HP-UX.
26667
dc96c6c7 266682000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
26669
26670 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
26671 code from gdb_target_monitor, so it can be used independantly
26672 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 26673
dc96c6c7 266742000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
26675
26676 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
26677 * gdb.base/corefile.exp: Expect the message "Program is being
26678 debugged already" when we send the "corefile" command, since
26679 the preceeding gdb_load may have connected gdb to a remote target.
26680 * gdb.base/display.exp: Disable hardware watchpoints if new
26681 board info variable "no_hardware_watchpoints" is true.
26682 Replace single-letter commands with more readable ones.
26683 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
26684 if new board info variable "no_hardware_watchpoints" is true.
26685 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
26686 to see if stdio (printf) testing is possible.
26687 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
26688 board info variable "no_hardware_watchpoints" is true. Use new
26689 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
26690
39124dea
FN
266912000-11-13 Fernando Nasser <fnasser@redhat.com>
26692
26693 From Orjan Friberg <orjanf@axis.com>:
26694 * gdb.base/printcmds.exp: Escape curly braces followed by a number
26695 in array print pattern match.
26696
a9e2e984
FN
266972000-11-09 Fernando Nasser <fnasser@redhat.com>
26698
26699 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
26700 spelling "cancelled" to U.S. spelling "canceled" to match changes
26701 made to gdb.
26702 * gdb.c++/ovldbreak.exp: Ditto.
26703
c7db355b
PS
267042000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26705
26706 * gdb.base/callfuncs.c (main): Moved to end of file, call
26707 t_double_values to initialize the FPU before inferior calls are made.
26708 * gdb.base/callfuncs.exp: Test for register preservation after calling
26709 inferior functions. Add tests for continuining, finishing and
26710 returning from a stop in a call dummy.
26711
dc96c6c7 267122000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
26713
26714 * gdb.base/commands.exp: Break up long lines, and re-indent.
26715
dc96c6c7 267162000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
26717
26718 * config/gdbserver.exp: Rewritten from the ground up, to make it
26719 compatible with the current dejagnu tree, and to make it work with
26720 the new "gdbserver" in libremote.
26721
dc96c6c7 267222000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
26723
26724 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
26725 * gdb.base/varargs.exp: Skip entire test if no printf support.
26726 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
26727 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
26728
dc96c6c7 267292000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
26730
26731 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
26732 no floating point support.
26733 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
26734 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
26735 * gdb.base/call-rt-st.exp: Ditto.
26736 * gdb.base/call-strs.exp: Ditto.
26737
bac5fc66
JG
267382000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
26739
26740 * gdb.base/sizeof.c: include <stdio.h>.
26741
26742 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
26743 'finish', otherwise uncaptured gdb_prompt would potentially
26744 throw remaining test points out of sync.
bac5fc66 26745
b22a6027
SB
267462000-07-26 Scott Bambrough <scottb@netwinder.org>
26747
26748 * gdb.base/recurse.exp: Run tests for all targets.
26749 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
26750 gnu-oldld case on ARM.
26751 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
26752 for ARM targets.
d63a86f8 26753
d8231941
AG
26754Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
26755
26756 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
26757 * gdb.java/configure: Rebuild.
26758
8caabe69
AG
26759Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
26760
26761 * gdb.java/jv-exp.exp: New file.
26762
9d273ca3
AG
26763Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
26764
26765 * configure: Rebuilt.
26766 * configure.in (configdirs): Add gdb.java.
26767 * gdb.java/jmisc.java: New file.
26768 * gdb.java/jmisc.exp: New file.
26769 * gdb.java/Makefile.in: New file.
26770 * gdb.java/configure: Rebuilt.
26771 * gdb.java/configure.in: New file.
26772 * lib/java.exp: New file.
26773
4f823a66
AC
26774Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
26775
26776 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 26777 underflow.
4f823a66 26778
2391e11d
AC
26779Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
26780
26781 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 26782 and the compilers sizes.
2391e11d 26783
54602222
ND
267842000-07-09 Nick Duffek <nsd@redhat.com>
26785
26786 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
26787 (use_methods): New function.
26788 (main): Call use_methods().
26789 * gdb.c++/classes.exp (test_method_param_class): New procedure.
26790 (do_tests): Call test_method_param_class.
26791
2bec0572
ND
267922000-07-09 Nick Duffek <nsd@redhat.com>
26793
26794 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
26795 spelling.
26796 (test_enums): New procedure. Move enum tests from end of script
26797 to here. Set breakpoint on function name instead of line number.
26798 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
26799 (enums2): New marker function.
26800 (enums1): New function.
26801 (main): Call enums1(). Move enum tests to enums1().
26802
78492fde
AC
26803Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
26804
26805 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 26806 compile/link program. Update line numbers.
78492fde
AC
26807 * gdb.asm/d10v.inc: Define ``startup''.
26808 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 26809
49a2cef8
AC
26810Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
26811
26812 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
26813
3e6c8688
EZ
268142000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26815
26816 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 26817 of 'help maint print' command.
3e6c8688 26818
9ff5cbe9
AC
26819Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
26820
26821 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 26822 they use gdb_expect_list.
9ff5cbe9 26823
17c579bd
AC
26824Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
26825
26826 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
26827 memory-read-packet-size'' instead of ``set endian big'' to test
26828 long commands.
17c579bd 26829
e6d71bf3
DB
268302000-06-03 Daniel Berlin <dan@cgsoftware.com>
26831
26832 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 26833 g++, and stop skipping them.
e6d71bf3
DB
26834
26835 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
26836 work under g++.
26837
d63a86f8 26838 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
26839 initialization.
26840
dc96c6c7 268412000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
26842
26843 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
26844 the regular expression: accept an (almost) arbitrary sequence of
26845 "frames-invalid" and "breakpoints-invalid" messages both before
26846 and after the "starting" message.
26847
dc96c6c7 268482000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
26849
26850 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 26851
dc96c6c7 268522000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
26853
26854 * gdb.base/annota1.exp (annotate-signal-handler-caller):
26855 Relax the regular expression a little, make it pass on Solaris 8.
26856
8216cda9
KB
268572000-05-12 Kevin Buettner <kevinb@redhat.com>
26858
26859 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 26860 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
26861 Instead, it is permissible for gdb to stop on the line of the
26862 call itself.
26863
1a570b2f
MS
268642000-05-12 Michael Snyder <msnyder@.cygnus.com>
26865
26866 * gdb.base/break.exp (bp on small function, optimized file):
26867 Add a second pass pattern. The behavior differs here between stabs
26868 and dwarf for one-line functions. Stabs preserves two line symbols
26869 (one before the prologue and one after) with the same line number,
26870 but dwarf regards these as duplicates and discards one of them.
26871 Therefore the address after the prologue (where the breakpoint is)
26872 has no exactly matching line symbol, and GDB reports the breakpoint
26873 as if it were in the middle of a line rather than at the beginning.
26874
dc96c6c7 268752000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 26876
d63a86f8 26877 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
26878 rather than "send_gdb" (for consistancy).
26879
7d418785
AC
26880Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
26881
26882 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
26883 * gdb.c++/templates.cc: Properly check for GCC version number.
26884 * lib/compiler.cc: Likewise
26885
dc96c6c7 268862000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 26887
d63a86f8 26888 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
26889 gdb may not stop at the first line of main, due to code motion.
26890
dc96c6c7 268912000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
26892
26893 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
26894 This test depends on parsing the printf output from the target.
26895 Since the sparclet stub doesn't do stdio, this will never work.
26896 * gdb.base/call-rt-st.exp: ditto.
26897 * gdb.base/call-strs: ditto.
26898
dc96c6c7 268992000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
26900
26901 * gdb.base/miscexprs.exp: make sizeof long array test portable.
26902
26903 * gdb.base/ending-run.exp: After connecting to a remote target,
26904 but before running, the target will appear to be in a random
26905 location. Specify both a file and a line for breakpoints.
26906 Also, the function that calls main may be called 'init'
26907 rather than 'start'.
26908
a5a51225
EZ
269092000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26910
26911 * gdb.base/help.exp: Update output for add-symbol-file command.
26912
7930cc7c
FN
269132000-04-10 Fernando Nasser <fnasser@cygnus.com>
26914
26915 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26916 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
26917
23e37ab1
C
269182000-04-07 J.T. Conklin <jtc@redback.com>
26919
e93c542c
C
26920 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
26921
23e37ab1
C
26922 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
26923
591b8fa3
PDM
26924Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
26925
26926 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 26927 values that can be represented exactly.
591b8fa3
PDM
26928 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
26929 above change, and to not check against the directory part of the source
26930 file name.
26931 (step into print_long_arg_list): Likewise.
26932 (print print_small_structs from print_long_arg_list): Likewise.
26933 (print print_long_arg_list): Likewise.
26934
7a495180
EZ
269352000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26936
30b53638 26937 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 26938
beb998c6
AC
26939Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
26940
26941 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
26942
1c689132
DB
269432000-03-25 Daniel Berlin <dan@cgsoftware.com>
26944
26945 * gdb.base/commands.exp (deprecated_command_test): Add test for
26946 deprecate with no arguments.
26947
c1790a9d
JL
269482000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
26949
26950 * gdb.base/break.exp: Add new test for setting breakpoints on
26951 optimized code so we can test breakpoints work even when function
26952 prologues may be optimized away
26953
003ba290
FN
269542000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
26955
26956 From David Whedon <dwhedon@gordian.com>
a9c64011 26957 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 26958
6837a0a2
DB
269592000-03-22 Daniel Berlin <dan@cgsoftware.com>
26960
26961 * gdb.base/help.exp: Added test for new apropos command.
26962
b9593231
KB
269632000-03-21 Kevin Buettner <kevinb@redhat.com>
26964
26965 * gdb.base/pointers.c (usevar): New function.
26966 (main): Make sure that global variables v_int_pointer2, rptr,
26967 and y are all referenced someplace in the program by calling
26968 usevar() on them. [Some linkers delete symbols which are
26969 never referenced. The space remains, but there's no way to
26970 get a (symbolic) handle on the variable from the debugger.]
26971
751a959b
EZ
269722000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26973
26974 * gdb.base/printcmds.c: Add typedeffed arrays.
26975
26976 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 26977 procedure to test arrays that are typedef'd.
751a959b 26978
73a93a32
JI
269792000-03-13 James Ingham <jingham@leda.cygnus.com>
26980
26981 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 26982 the library directories.
73a93a32 26983
fb40c209
AC
26984Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
26985
26986 * configure.in (configdirs): Add sub directory gdb.mi.
26987 * configure: Re-generate.
26988
26989 * gdb.mi: New directory.
d63a86f8 26990
ee4dd2c9
AC
269912000-02-25 Scott Bambrough <scottb@netwinder.org>
26992
26993 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 26994 a long long value as a double on ARM platforms.
ee4dd2c9 26995
70f0cc22
JB
269962000-02-16 Jim Blandy <jimb@redhat.com>
26997
26998 * gdb.base/break.exp ("breakpoint line number"): Make sure the
26999 default source file is set properly before running this test.
27000
853819b8
EZ
270012000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27002
27003 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 27004 gdbtk/library directory, not in gdbtcl2.
853819b8 27005
dfcd3bfb
JM
270062000-02-04 Jim Blandy <jimb@redhat.com>
27007
27008 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
27009 backslash from regexp pattern.
27010
27011 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
27012 procedure. Use it to run all the "continue to bp overloaded"
27013 tests. Note that this changes the names of the tests slightly.
27014 If the breakpoint hit message includes a hex PC value, because
27015 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
27016 from the real source code, still consider that a pass.
27017
27018 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
27019 XFAIL here if the breakpoint message contains a hex address. Note
27020 similar change on 1999-11-02.
27021
27022 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
27023
27024 * gdb.base/ptype.exp: Establish a default source file before
27025 calling get_debug_format.
27026
270272000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
27028
27029 * gdb.base/watchpoint.exp: Remove duplication of test messages.
27030
8b93c638
JM
270312000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27032
27033 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
27034 of successive stepi commands -- while in the prologue we should see
27035 the function entry bracket.
27036
270372000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27038
27039 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
27040 reach __change_mode() when stepping through the end of main().
27041
c5394b80
JM
270422000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
27043
27044 * gdb.base/default.exp: Fix expected pattern.
27045 * gdb.base/help.exp: Same.
27046
0d06e24b
JM
270472000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27048
27049 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 27050 Don't use xfail's because that affects only the following test.
d63a86f8 27051
0d06e24b 27052 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 27053 solaris or linux.
0d06e24b
JM
27054
27055 * gdb.base/selftest.exp: Update to reflect changes to main.c.
27056
dc96c6c7 270572000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 27058
d63a86f8 27059 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
27060 "A syntax error" rather than "A parse error". Accept both.
27061
270622000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
27063
27064 * gdb.base/default.exp: Remove OS dependent string from "target
27065 remote" test.
27066 * gdb.base/help.exp: Same for "help target remote" test.
27067
c3f6f71d
JM
270682000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27069
27070 From Jim Kingdon <kingdon@redhat.com>:
27071
27072 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
27073 prompt (cleanup rather than necessity, but still might keep output
27074 from spilling to next test).
c3f6f71d
JM
27075
270762000-01-02 Fred Fish <fnf@cygnus.com>
27077
27078 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
27079 AIX, which defines them in <sys/types.h>.
27080
ed9a39eb 270811999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 27082
ed9a39eb 27083 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 27084 float" test.
ed9a39eb
JM
27085
270861999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 27087
ed9a39eb 27088 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
27089
27090 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
27091 outermost frame disallowed".
27092
270931999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
27094
27095 * gdb.base/setvar.exp: New tests for setting the value of a struct
27096 with a constant list.
27097
270981999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27099
27100 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
27101 require the user to type a cast before setting the value of a struct.
27102
de57eccd
JM
271031999-12-06 Jim Blandy <jimb@cygnus.com>
27104
27105 * gdb.base/default.exp: Expect the new 'info float' command on
27106 all i386 platforms.
27107
27108 * gdb.threads/linux-dp.exp: Expand our ability to recognize
27109 LinuxThreads libraries that don't support debugging.
27110
c2d11a7d
JM
27111Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27112
27113 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
27114 Change the buffer type to ``unsigned char'' to simplify size
27115 arithmetic.
c2d11a7d
JM
27116
27117 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
27118 stub only handles 400-1 byte packets. Verify that the download
27119 worked.
c2d11a7d
JM
27120
271211999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
27122
27123 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
27124 tests, using UNRESOLVED for the untested cases. Also, does not wait
27125 for a timeout if the prompt was received before a recognizable pattern.
27126
271271999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
27128
27129 * lib/gdb.exp (gdb_expect_list): Fix spelling.
27130
271311999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27132
27133 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 27134 watchpoints.
c2d11a7d
JM
27135
271361999-11-24 Jason Merrill <jason@casey.cygnus.com>
27137
27138 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
27139
27140 * gdb.c++/local.exp: Be more flexible in recognizing local class
27141 name mangling. Don't allow horribly truncated method names.
27142 * gdb.c++/derivation.exp: Expect protected inheritance.
27143 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
27144 * gdb.c++/virtfunc.exp: Likewise.
27145 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
27146 when printing a nested enum.
27147
271481999-11-22 Jim Blandy <jimb@cygnus.com>
27149
27150 * gdb.base/step-test.exp: Properly await GDB's response to setting
27151 a breakpoint on the call to large_struct_by_value.
27152
27153 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
27154 just because we have debug info for the `start' function.
27155
271561999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
27157
27158 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
27159 "Unknown signal" messages, which indicate (on LinuxThreads) that
27160 GDB doesn't know how to debug threads on this system. This is
27161 better than hanging while philosopher 0 dumps chatter into gdb.log.
27162
271631999-11-18 Tom Tromey <tromey@cygnus.com>
27164
27165 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
27166
271671999-11-18 Fred Fish <fnf@cygnus.com>
27168
27169 * gdb.base/coremaker2.c: Add sample program for generating
27170 cores that is more self contained than coremaker.c. Eventually
27171 I'll add more code to this and tie it into the testsuite.
27172
4ce44c66
JM
271731999-11-12 Stan Shebs <shebs@andros.cygnus.com>
27174
27175 * gdb.base/dollar.exp: Remove, now in gdb.hp.
27176
271771999-11-10 Jimmy Guo <guo@cup.hp.com>
27178
27179 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 27180 from $srcdir/lib/.
4ce44c66 27181 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 27182 and gdb.c++/.
4ce44c66
JM
27183
27184 * gdb.c++/derivation.exp: remove redundant get compiler info code.
27185
d63a86f8 27186 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
27187 'continue with watch' test point.
27188
271891999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
27190
27191 Merged from p2linux-990323-branch:
d63a86f8 27192
4ce44c66
JM
27193 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
27194
11cf8741
JM
27195Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
27196
27197 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 27198 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
27199
27200Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
27201
27202 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 27203 gdb_expect_list.
11cf8741
JM
27204
27205Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
27206
27207 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
27208
272091999-11-03 Mark Salter <msalter@cygnus.com>
27210
27211 * gdb.base/break.exp: Fix "stub continue" pattern.
27212
272131999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
27214
27215 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
27216
272171999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
27218
27219 * gdb.base/display.exp ("finish"): Add timeout clause.
27220
27221 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
27222 plain prompt clause, so this doesn't have to time out in order to
27223 fail.
27224
27225 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 27226 breakpoint hit messages include an address.
11cf8741
JM
27227
27228 * gdb.base/display.exp: Don't forget to escape parens in regular
27229 expressions. Unix regexp notatation sucks.
27230
272311999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27232
27233 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 27234 order for 'signalled' message.
11cf8741 27235
5c44784c
JM
272361999-11-01 Stan Shebs <shebs@andros.cygnus.com>
27237
27238 From Jimmy Guo <guo@cup.hp.com>:
27239 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
27240 * gdb.base/annota1.c: Add code for tests to work with.
27241
272421999-10-26 Frank Ch. Eigler <fche@cygnus.com>
27243
27244 * gdb.base/remote.exp: New test for remote downloading settings.
27245 * gdb.base/remote.c: New file with large .data.
27246
917317f4
JM
272471999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
27248
27249 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
27250 for LinuxThreads support, merged from the Code Fusion branch.
27251
27252Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
27253
27254 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
27255 containing exp_continue into a while within an expect. Don't
27256 attempt a start more than three times. Check return value from
27257 gdb_load.
d63a86f8 27258
2df3850c
JM
27259Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
27260
27261 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 27262 a pass case.
2df3850c 27263
2acceee2
JM
272641999-10-01 Kevin Buettner <kevinb@cygnus.com>
27265
27266 * gdb.base/break.c (main): Added a statement that we can step
27267 off of.
27268 * gdb.base/break.exp: Added tests for setting a breakpoint
27269 at an offset and stepping onto a breakpoint.
27270
272711999-10-01 Fred Fish <fnf@cygnus.com>
27272
d63a86f8 27273 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
27274 gdb output.
27275
c2c6d25f
JM
272761999-09-18 Jim Blandy <jimb@cris.red-bean.com>
27277
27278 * gdb.base/break.exp: Code locations are in hex, don't forget!
27279 (For HP-UX.)
27280
272811999-09-17 Stan Shebs <shebs@andros.cygnus.com>
27282
27283 * condbreak.exp: Use break.c as test program.
27284 * condbreak.c: Remove, redundant with break.c.
27285
272861999-09-15 Stan Shebs <shebs@andros.cygnus.com>
27287
27288 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 27289 Z-packets if the target needs it.
c2c6d25f
JM
27290
272911999-09-13 James Ingham <jingham@leda.cygnus.com>
27292
27293 * gdb.c++/overload.exp: Added tests for listing overloaded
27294 functions with function pointers in the arg, explicitly calling
27295 out the version you want.
27296
cff3e48b
JM
272971999-09-09 Stan Shebs <shebs@andros.cygnus.com>
27298
27299 * long_long.exp: Add variations of test cases that work for
27300 targets with 16-bit ints and 32-bit doubles.
27301
d4f3574e
SS
273021999-09-08 Stan Shebs <shebs@andros.cygnus.com>
27303
27304 * break.c (main): Compare a possibly-uninitialized argc with an
27305 unlikely value that fits in 16 bits.
27306
273071999-09-07 Stan Shebs <shebs@andros.cygnus.com>
27308
27309 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
27310 0xfeeb, don't want negative numbers if ints are 16 bits.
27311
27312 * lib/gdb.exp (skip_cplus_tests): New proc.
27313 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
27314 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
27315 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
27316 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
27317 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
27318 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
27319 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
27320 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
27321
27322 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
27323
27324Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
27325
27326 * gdb.base/corefile.exp (up): Allow a parameter to appear
27327 in the frame that we're going up to.
27328
27329 From Jim Blandy <jimb@cygnus.com>:
27330
27331 * gdb.base/default.exp (info float): Expect some output now.
27332
27333 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
27334 returning floating-point values to fail on the x86.
27335 * gdb.base/callfwmall.exp (do_function_calls): Same.
27336
27337 * gdb.base/list.exp (test_listsize): Correct expectations for
27338 listing line 1 with listsize 2. Also, listing a single line
27339 works now, as does listing three lines. [Kevin's note: There
27340 were a number of other cases fixed too where the expectations
27341 differed...]
27342
273431999-09-02 Stan Shebs <shebs@andros.cygnus.com>
27344
27345 * gdb.base/selftest.exp: Add case for when version prints as
27346 constant string instead of char pointer.
27347
104c1213
JM
273481999-08-25 Stan Shebs <shebs@andros.cygnus.com>
27349
27350 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 27351 stepping out of main.
104c1213
JM
27352
27353 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
27354 G++ used.
27355
27356 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 27357 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
27358
27359 * gdb.c++/ovldbreak.exp: Update match string in test that
27360 includes a warning of multiple breakpoints.
27361
273621999-08-24 Stan Shebs <shebs@andros.cygnus.com>
27363
27364 * gdb.base/display.exp: Improve precision of step-after-finish
27365 added yesterday.
27366
27367 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 27368 test.
104c1213
JM
27369
27370 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
27371 configs when using G++, not just hppa*.
27372
273731999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27374
27375 * gdb.base/async.c: New file.
27376 * gdb.base/async.exp: New file.
27377
27378Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
27379
27380 * gdb.base/break.exp: Tweak PA specific tests to properly handle
27381 PA64.
27382
53a5351d
JM
27383Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
27384
104c1213
JM
27385 * gdb.base/display.exp: "finish" can leave us mid-line on many
27386 targets, deal with it. Add a small constant to main, instead of
27387 1000 since main+1000 may not be a valid address in the target.
27388
53a5351d
JM
27389 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
27390 on hpux11.
27391
27392 * gdb.base/attach.exp: Handle another hpux11 error message variant
27393 when attaching to a process that does not exist.
27394
273951999-08-19 J.T. Conklin <jtc@redback.com>
27396
27397 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 27398 characters in 'continue to 1241' test.
53a5351d
JM
27399
274001999-08-17 Stan Shebs <shebs@andros.cygnus.com>
27401
27402 * gdb.base/call-ar-st.exp: Add a shorter match case for the
27403 stop in print_long_arg_list, define and use a whitespace
27404 variable in print_small_structs test, add an XFAIL for Solaris.
27405 * gdb.base/dbx.exp: XFAIL func commands until somebody is
27406 interested enough to fix.
27407
7be570e7
JM
274081999-08-13 Keith Seitz <keiths@cygnus.com>
27409
27410 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
27411 (dbx_gdb_load): Remove. Use gdb_load instead, since that
27412 proc knows about targets other than the natives.
27413 (test_assign): Use "gdb_run_cmd" to "run" the target.
27414 Check that we've actually hit the breakpoint at main.
27415 When we attempt to assign a value to a local variable, check
27416 that the variable is in the current scope, i.e., don't use
27417 a test with an empty result.
27418
27419Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
27420
27421 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 27422 command.
7be570e7
JM
27423
274241999-08-09 Stan Shebs <shebs@andros.cygnus.com>
27425
27426 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27427 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
27428 gdb.compat, gdb.threads-hp.
27429 gdb.hp/configure, gdb.hp/configure.in: New files.
27430 gdb.hp/Makefile.in: Recurse into new subdirs.
27431 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
27432 gdb.hp/gdb.objdbg: New directory, tests for debugging info
27433 in object files.
27434 gdb.hp/tools: New directory, aux tools for HP-specific tests.
27435
96baa820
JM
274361999-08-05 Stan Shebs <shebs@andros.cygnus.com>
27437
27438 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 27439 funky printf, remove a bogus p/a test.
96baa820
JM
27440
274411999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27442
27443 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
27444 connected to the target. This is necessary when running not
27445 natively.
96baa820
JM
27446
274471999-08-03 Stan Shebs <shebs@andros.cygnus.com>
27448
27449 * gdb.base/step-test.exp: Removed some extraneous messages.
27450
27451 * gdb.base/long_long.exp: Don't run memory examination tests
27452 on little-endian targets (they will need a different set of
27453 results to match).
27454
274551999-08-02 Stan Shebs <shebs@andros.cygnus.com>
27456
27457 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
27458 until somebody decides to fix GDB.
27459
27460 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 27461 constant as "ULL".
96baa820
JM
27462 * gdb.base/long_long.exp: Loosen x/c test, add partial result
27463 matches for a couple x/2 commands.
27464
a0b3c4fd
JM
274651999-07-30 Stan Shebs <shebs@andros.cygnus.com>
27466
27467 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
27468 by merging in ref-types2 tests.
27469 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
27470
27471 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27472 * gdb.c++/Makefile.in: Add standard actions.
27473 (EXECUTABLES): Rename from PROGS, update list.
27474 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
27475 from gdb.hp.
27476 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
27477 foo and bar locals.
27478 * gdb.c++/anon-union.exp: Fix tests to match.
27479 * gdb.c++/classes.exp: Run if HP compiler used, add extra
27480 expect matches to handle output variations.
27481 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
27482 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 27483 output, add HP alternatives for new and delete prints.
a0b3c4fd 27484 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 27485 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
27486 * gdb.c++/demangle.exp: Use $style when reporting failure.
27487 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
27488 * gdb.c++/inherit.exp: Run if HP compiler used, add some
27489 match alternatives.
27490 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 27491 compilers.
a0b3c4fd
JM
27492 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
27493 * gdb.c++/method.exp: Add match alternatives.
27494 * gdb.c++/misc.cc: Add bool types.
27495 * gdb.c++/misc.exp: Add tests for bool types.
27496 * gdb.c++/overload.exp: Add xfails.
27497 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
27498 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
27499 add some more template parameter tests (only for HP currently).
27500 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
27501 * gdb.c++/virtfunc.cc: Add return type and value for main.
27502 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
27503 match alternatives.
d63a86f8 27504
a0b3c4fd
JM
275051999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27506
27507 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
27508
275091999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
27510
27511 * gdb.base/signals.exp: Don't expect getting a backtrace from
27512 within a signal handler to fail on Linux.
27513
275141999-07-29 Stan Shebs <shebs@andros.cygnus.com>
27515
27516 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27517 * lib/gdb.exp: Remove some gratuitious semicolons.
27518 (delete_breakpoints): Increase timeout.
27519 (gdb_expect): Add -notransfer option.
27520 (gdb_test): Use -notransfer option.
27521 (get_compiler_info): Add f77 case.
27522 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 27523 case.
a0b3c4fd
JM
27524 (gdb_preprocess): Call get_compiler.
27525
27526 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
27527 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
27528 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
27529 gdb.base/long_long.exp, gdb.base/printcmds.exp,
27530 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
27531 third arg to gdb_test.
a0b3c4fd
JM
27532 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
27533 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 27534 HP-UX xfails, add others.
a0b3c4fd
JM
27535 * gdb.base/completion.exp: Reflect name change of self-test.
27536 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
27537 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
27538 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
27539 HP failure number.
a0b3c4fd
JM
27540 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
27541 useless HP-UX 10.30 references.
27542 * gdb.base/maint.exp: Loosen matches.
27543 * gdb.base/pointers.c (main): Declare more_code.
27544 * gdb.base/pointers.exp: Match on output of a `next'.
27545 * gdb.base/structs.c: Add prototypes.
27546 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
27547 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
27548
275491999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27550
27551 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 27552 command.
a0b3c4fd
JM
27553
275541999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27555
27556 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
27557 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
27558
27559 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
27560 debug info. Deal with lack of signal hanlder info in stack.
27561
a9c64011 27562 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
27563 * gdb.base/annota1.exp: If printf has debug info, deal with it.
27564
5a2468f5
JM
275651999-07-19 Stan Shebs <shebs@andros.cygnus.com>
27566
27567 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 27568 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 27569
adf40b2e
JM
27570Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27571
27572 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 27573 a1-selftest.exp.
adf40b2e
JM
27574 * gdb.base/configure: Re-generate.
27575
275761999-07-12 Stan Shebs <shebs@andros.cygnus.com>
27577
27578 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
27579 in trying to run first and name is too long.
27580
27581 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
27582 pointers2.c and pointers2.exp, respectively.
27583 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
27584 doschk happier.
27585
43e526b9
JM
275861999-07-08 Stan Shebs <shebs@andros.cygnus.com>
27587
27588 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
27589 callfuncs2.c and callfuncs2.exp.
27590
27591 * gdb.base/list.exp: Remove mistaken xfails.
27592 * gdb.base/list0.h: Add optional prototypes.
27593
9846de1b
JM
27594Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
27595
a9c64011 27596 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 27597 calling malloc.
a9c64011
AS
27598 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
27599 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 27600 use.
9846de1b
JM
27601
276021999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27603
27604 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
27605 * gdb.base/annota2.cc, annota2.exp: Move from here.
27606 * gdb.c++/annota2.cc, annota2.exp: To here.
27607 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
27608
43ff13b4
JM
27609Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
27610
27611 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 27612 a consistent format.
43ff13b4 27613
085dd6e6
JM
276141999-06-25 Stan Shebs <shebs@andros.cygnus.com>
27615
27616 From Jimmy Guo <guo@cup.hp.com> and others at HP:
27617 * lib/gdb.exp (get_compiler_info): Add detection for assorted
27618 HP compilers, also set the globals $true and $false.
27619
27620 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
27621 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
27622 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
27623 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
27624 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
27625 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
27626 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
27627 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
27628 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
27629 whatis.c} Add C++ compatible function definitions and return
27630 types, add includes for library functions.
085dd6e6
JM
27631 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
27632 * gdb.base/step-test.c (myglob): Rename from glob.
27633 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
27634 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
27635 files, move here from gdb.hp.
085dd6e6 27636 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
27637 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
27638 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
27639 Adjust line numbers in regexps.
085dd6e6
JM
27640
27641 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
27642 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
27643 instead of 0/1.
27644
27645 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
27646 foll-vfork.exp: New files, move here from gdb.hp.
27647 * gdb.base/page.exp: New file, test of pagination command.
27648
27649 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
27650 recursion test.
27651 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
27652
27653 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 27654 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
27655
27656 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 27657 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 27658 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 27659 watchpoint test.
085dd6e6
JM
27660 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
27661 them work.
27662 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
27663 expressions properly.
27664 * gdb.base/corefile.exp: Loosen the match slightly.
27665 * gdb.base/default.exp: Allow "Error accessing memory" message
27666 also.
27667 * gdb.base/display.exp: Skip over x/0 j if PA64.
27668 * gdb.base/funcargs.exp: Add xfails for HP-UX.
27669 * gdb.base/interrupt.exp: Ditto.
27670 * gdb.base/langs.exp: Add symbolic matches governed by compiler
27671 in use.
27672 * gdb.base/list.exp: Add xfails for HP-UX.
27673 * gdb.base/long_long.exp: Refine some of the numeric matches.
27674 * gdb.base/mips_pro.exp: Xfail on HP-UX.
27675 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
27676 * gdb.base/nodebug.exp: Succeed on more varieties of output.
27677 * gdb.base/opaque.exp: Remove some HP-UX xfails.
27678 * gdb.base/ptype.exp: Succeed on more varieties of output.
27679 * gdb.base/scope.exp: Add xfails for HP-UX.
27680 * gdb.base/sect-cmd.exp: Add more cases.
27681 * gdb.base/setvar.exp: Add xfails for HP-UX.
27682 * gdb.base/shlib-call.exp: Loosen some matches slightly.
27683 * gdb.base/signals.exp: Match on void symbolically.
27684 * gdb.base/step-test.exp: Add case for PA64.
27685 * gdb.base/term.exp: Add exit and restart.
27686 * gdb.base/twice.exp: Clean up after self.
27687 * gdb.base/varargs.exp: Disable overload resolution explicitly.
27688 * gdb.base/whatis.exp: Allow more ways to pass tests.
27689
27690 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 27691 no longer useful.
085dd6e6
JM
27692
27693Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
27694
27695 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 27696 list of patterns.
085dd6e6 27697 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
27698 print_double_array(double_array)", "continuing to breakpoint
27699 1018", "print print_double_array(array_d)" and "continuing to
27700 1034" tests.
d63a86f8 27701
085dd6e6
JM
277021999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
27703
a9c64011 27704 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
27705
277061999-06-24 Stan Shebs <shebs@andros.cygnus.com>
27707
27708 * config/mt-*: Remove, these haven't been used since 1996.
27709
277101999-06-22 Stan Shebs <shebs@andros.cygnus.com>
27711
27712 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 27713 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
27714 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
27715
9e0b60a8
JM
277161999-06-18 Stan Shebs <shebs@andros.cygnus.com>
27717
27718 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
27719 simpler match case for the ptype of the big class.
27720
277211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27722
27723 * gdb.exp: Fix test for gdb_prompt existence.
27724
277251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27726
27727 * gdb.exp (gdb_test): Add fail after calls to perror.
27728
277291999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27730
27731 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
27732
277331999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
27734
27735 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
27736
0f71a2f6
JM
27737Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
27738
27739 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 27740 malloc() is linked in.
0f71a2f6
JM
27741
277421999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27743
27744 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
27745 step at end.
27746
27747 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
27748
277491999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
27750
27751 * gdb.java/jv-print.exp: New file. (Our first Java test!)
27752
cce74817
JM
27753Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
27754
27755 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
27756 * gdb.base/mips_pro.exp: Likewise.
27757
277581999-06-02 Keith Seitz <keiths@cygnus.com>
27759
27760 * gdb.c++/templates.cc: Change all "new" operators to throw
27761 an exception.
27762 * gdb.c++/cplusfuncs.cc: Likewise.
27763
27764 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
27765
27766Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
27767
27768 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
27769 * gdb.base/ending-run.exp: When stepping out of main, accept a
27770 step into an arbitrary assembler file.
cce74817 27771
392a587b
JM
277721999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27773
d63a86f8 27774 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 27775 "breakpoint-invalid" to be printed.
6fdff2c5
PA
27776 * gdb.base/annota2.exp: Revise line number for main
27777 breakpoint. Allow any number of "frames-invalid" and
27778 "breakpoint-invalid" to be printed.
392a587b
JM
27779 * gdb.base/annota2.cc: Initialize a.x to 0.
27780
9e086581
JM
277811999-05-17 Keith Seitz <keiths@cygnus.com>
27782
6fdff2c5
PA
27783 * gdb.base/call-ar-st.exp: Skip
27784 "print print_double_array (double_array)" when "skip_float_tests" set.
27785 Ditto for "print print_double_array(array_d)",
27786 "print print_small_structs", "print print_ten_doubles", and
27787 "step into print_long_arg_list".
27788 Don't assume we can step into "print_long_arg_list": we could step
27789 into memcpy.
27790 * gdb.base/call-rt-st.exp: Don't run float-related tests when
27791 "skip_float_tests" is set: "print print_one_double(*d1)"
27792 and "print print_two_floats(*f3)".
9e086581
JM
27793 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
27794 "skip_float_tests" is set.
6fdff2c5
PA
27795 * gdb.base/varargs.exp: Skip
27796 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
27797 "skip_float_tests" set.
d63a86f8 27798
cd0fc7c3
SS
277991999-05-06 Keith Seitz <keiths@cygnus.com>
27800
27801 * gdb.base/annota2.cc: Include stdio.h.
27802
27803Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
27804
27805 * gdb.base/crossload.exp: Remove, this has been disabled ever
27806 since BFD stopped including all targets, and cross-GDB gets
27807 plenty of testing anyway.
27808 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
27809 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
27810 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
27811 * gdb.base/README: Remove, was doc for this.
27812 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 27813 needed.
cd0fc7c3 27814
b83266a0
SS
278151999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27816
27817 * gdb.base/call-ar-st.exp: Fix one regular expression in test
27818 output.
27819
27820 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
27821 * gdb.base/annota2.exp: New file. More annotation tests.
27822 * gdb.base/annota1.c: New file. Source file for annota1.exp.
27823 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
27824
278251999-04-23 Angela Marie Thomas <angela@cygnus.com>
27826
27827 * config/cfdbug.exp: New file.
27828
7a292a7a
SS
278291999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
27830
27831 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
27832 Marcus Daniel's and Dale Hawkins's demangler crashes.
27833
27834 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
27835 test_lucid_style_demangling, test_arm_style_demangling,
27836 test_hp_style_demangling): Try Tom Tromey's core-dumping
27837 identifier under each demangling style.
7a292a7a
SS
27838
278391999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
27840
27841 * gdb.c++/demangle.exp: Include the current demangling style
27842 in all test names.
27843 (current_demangling_style): New global variable.
27844 (set_demangling_style, test_demangling_core, test_demangling,
27845 test_demangling_exact): New functions.
27846 (test_gnu_style_demangling, test_lucid_style_demangling,
27847 test_arm_style_demangling, test_hp_style_demangling): Use those,
27848 instead of calling gdb_test and gdb_test_exact directly.
27849 (catch_demangling_errors): New function, which reports errors
27850 signalled by the demangling test functions in an orderly way.
27851 (do_tests): Use catch_demangling_errors.
27852
278531999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
27854
27855 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 27856 grouping in expressions, not {}.
7a292a7a
SS
27857
27858 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 27859 initialized yet.
7a292a7a
SS
27860
278611999-04-01 Stan Shebs <shebs@andros.cygnus.com>
27862
27863 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
27864 are listed.
27865
278661999-03-26 Stan Shebs <shebs@andros.cygnus.com>
27867
27868 * gdb.stabs/weird.exp: Test for CC being defined before
27869 looking at its value.
27870
278711999-03-25 Stan Shebs <shebs@andros.cygnus.com>
27872
27873 * gdb.base/call-ar-st.exp: Remove stray '#'.
27874 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
27875 "short int" and "long int".
27876 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 27877 change, to mollify finicky HP compiler.
7a292a7a
SS
27878 * gdb.hp/reg-test.exp (testfile): Fix file name.
27879 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 27880
7a292a7a
SS
27881 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
27882 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
27883 alternate form of enum ptype.
27884
c906108c
SS
278851999-03-23 Stan Shebs <shebs@andros.cygnus.com>
27886
7a292a7a
SS
27887 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
27888 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
27889 passing skip_hp_tests, so as not to waste time on guaranteed
27890 failure.
7a292a7a 27891
c906108c
SS
27892 * gdb.c++/overload.cc: Pass string instead of char addr, always
27893 init ccpfoo.
27894 * gdb.c++/templates.cc: Fix syntax error.
27895
7a292a7a
SS
27896Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27897
27898 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 27899 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
27900 command.
27901
279021999-03-18 James Ingham <jingham@cygnus.com>
27903
27904 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
27905
27906 * gdb.c++/method.exp: It was testing an uninitialized int on the
27907 stack and assuming it was positive.
27908
27909 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
27910
27911 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 27912 keep it from killing the rest of the tests.
7a292a7a
SS
27913 Use gdb_continue_to_end.
27914
27915 * gdb.base/sigall.exp: use gdb_continue_to_end.
27916
27917 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
27918
27919 * gdb.base/display.exp: use runto_main, not run.
27920
d63a86f8
RM
27921 * gdb.base/default.exp: Check for the current error message in the
27922 r abbreviation test.
7a292a7a
SS
27923 Add strongarm to the targets that know info float.
27924
d63a86f8 27925 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
27926 run which doesn't work with monitors.
27927
6fdff2c5
PA
27928 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
27929 1034 test.
7a292a7a
SS
27930
27931 * gdb.base/break.exp: use the gdb_continue_to_end proc.
27932
6fdff2c5
PA
27933 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
27934 end of a program. Traps the case (in Cygmon) when the program
27935 never really exits. Same as Mark's continue_to_exit, but I had
27936 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
27937
27938 * config/monitor.exp (gdb_target_monitor): added another
27939 target_info parameter: remotebinarydownload. This will set the
27940 remotebinarydownload flag if this is causing some boards trouble.
27941
279421999-03-18 Mark Salter <msalter@cygnus.com>
27943
27944 * lib/gdb.exp (continue_to_exit): New function.
27945
27946 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
27947 * gdb.base/ending-run.exp: Ditto.
27948 * gdb.base/step-test.exp: Ditto.
27949
279501999-03-16 Stan Shebs <shebs@andros.cygnus.com>
27951
27952 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
27953 (suggested by Art Haas <ahaas@neosoft.com>).
27954
279551999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
27956
889bf7c5 27957 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
27958
27959Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
27960
27961 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 27962 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
27963
279641999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
27965
27966 * gdb.base/call-strs.exp: Don't assume that `step' will step over
27967 a call to strlen; sometimes we do have sources.
27968
279691999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
27970
27971 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 27972 character, so GDB won't print garbage after its end.
d63a86f8 27973
c906108c
SS
27974 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
27975 breakpoint there instead. Sometimes GCC emits memcpy to handle
27976 the large structures being passed by value, so we step into that
27977 instead of sum_array_print, which obscures what we're really testing.
27978 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
27979 the bizarre steps into memcpy, so do that here. Add check for
27980 stepping into function calls that pass large structures by value.
27981 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
27982 Remove all references to specific line numbers.
27983 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
27984 New type and function.
27985 (main): Call large_struct_by_value, passing it a large struct by value.
27986 * lib/gdb.exp (gdb_get_line_number): New function.
27987
27988 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27989 more portable.
27990
7a292a7a
SS
279911999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
27992
c906108c
SS
27993 * lib/gdb.exp: Doc fixes.
27994
7a292a7a
SS
279951999-03-05 Nick Clifton <nickc@cygnus.com>
27996
d63a86f8 27997 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
27998
279991999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
28000
c906108c 28001 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
28002 commands. They're not germane to this test, and they don't work
28003 that way on remote targets.
c906108c 28004
3fc11d3e
JM
280051999-03-01 James Ingham <jingham@cygnus.com>
28006
28007 * Changelog entries merged over from gdb development branch.
28008
3fc11d3e
JM
28009 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
28010
28011 * lib/gdb.exp (gdbtk_analyze_results): Generic function
28012 for outputting results of test run.
28013
2d4a1622 28014 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
28015
28016 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 28017
7a292a7a
SS
280181999-02-25 Felix Lee <flee@cygnus.com>
28019
28020 * lib/gdb.exp (debug_format): initialize
28021
c906108c
SS
280221999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
28023
28024 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
28025 * gdb.base/call-rt-st.c: Ditto.
28026
c906108c
SS
280271999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
28028
28029 * gdb.threads/pthreads.exp (horiz): New variable.
28030 (test_startup): Fix regexps that capture thread numbers.
28031
280321999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
28033
28034 * gdb.base/smoke.exp: Disambiguate two test case names (both
28035 called ``print'').
28036
28037Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28038
28039 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 28040 compilation.
c906108c
SS
28041
280421999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28043
28044 * gdb.base/miscexprs.exp: Change patterns to match GDB's
28045 actual output formatting.
28046 * gdb.base/smoke.exp: GDB removes leading 0's.
28047 * gdb.base/volatile.exp: Don't check type of remuneration;
28048 that variable is no longer defined in constvars.c.
28049 * gdb.base/step-test.c (main): Exit with explicit exit code.
28050 * gdb.base/step-test.exp: Remove two nexti checks--they are
28051 not portable.
28052
280531999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28054
28055 * gdb.base/help.exp ("help delete display"): Fix test to match
28056 gdb's output.
28057
28058 * gdb.base/long_long.c (known_types): Initialize values to zero.
28059 * gdb.base/long_long.exp: Step one more line
28060 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
28061 leading zeros. Explicitly ask for hex formatting. Use
28062 unique test case names.
c906108c
SS
28063
28064Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28065
d63a86f8 28066 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
28067
28068 * gdb.c++/method.exp: Add missing close brace.
28069
280701999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
28071
28072 * gdb.base/maint.exp: Use 'set height 0' to disable page
28073 prompting, not 'set height 400'.
28074
28075 Fix a bunch of timeouts.
28076 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
28077 four separate tests, so expect doesn't take forever to match a ton
28078 of text against a regexp with lots of .* forms.
28079 ("maint print psymbols", "maint print symbols"): Make some of
28080 these greps more selective, so that expect doesn't try to wade
28081 through huge piles of output and time out.
28082
28083 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
28084
28085 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
28086 tests: one which doesn't expect shlib events to be reported, and
28087 another which does, but is XFAIL for all platforms other than
28088 HP/UX.
c906108c
SS
28089
28090 * gdb.base/break.exp: Teach the test suite that the `catch
28091 fork', `catch vfork', and `catch exec' commands produce error
28092 messages on platforms that don't provide these features.
28093
28094Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28095
28096 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
28097 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
28098 (shortening names from solib_threshold.exp etc), won't run on
28099 anything but HP-UX for the foreseeable future.
c906108c 28100 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 28101 reflect move.
c906108c
SS
28102
28103Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
28104
28105 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 28106 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
28107
28108Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
28109
28110 * gdb.base/shlib-call.exp: add test cases to verify that gdb
28111 successfully re-sets breakpoints in shared libraries.
28112 * gdb.base/shmain.c (main): return 0, don't fall off the end.
28113
28114Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28115
d63a86f8
RM
28116 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
28117 and compiled w/o GCC.
c906108c
SS
28118
28119 * gdb.hp/watch-cmd.exp: ditto.
28120
28121 * gdb.hp/watch-hp.exp: ditto.
28122
28123 * gdb.hp/xdb1.exp: ditto.
28124
28125 * gdb.hp/xdb2.exp: ditto.
28126
28127 * gdb.hp/dbx.exp: ditto.
28128
28129Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
28130
28131 * constvars.c: Remove C++-isms.
28132 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 28133 with GCC.
c906108c
SS
28134
28135Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
28136
28137 The following changes are part of the HP merge.
28138
28139 * gdb.base/break.exp: new tests to verify that catchpoints for
28140 fork, vfork, and exec don't trigger inappropriately.
28141
28142 * gdb.base/opaque.exp: compile one file at a time, then link.
28143
28144 * gdb.base/signals.exp: be more restrictive about which hppa
28145 systems receive a setup_xfail. new tests.
28146
28147 * gdb.base/solib_threshold.build: new file.
28148 * gdb.base/solib_threshold.exp: new file.
28149 * gdb.base/solib_threshold.link_opts: new file.
28150 * gdb.base/solib_threshold.mk: new file.
28151 * gdb.base/gen_solib_threshold.c: new file.
28152
28153 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
28154 tests. New tests for enums inside classes.
28155
28156 * gdb.c++/compiler.cc: indicate support of template debugging.
28157
28158 * gdb.c++/demangle.exp: run hp style demangling tests.
28159
28160 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
28161 tests.
28162
28163 * gdb.c++/misc.cc: changes to support new tests.
28164
28165 * gdb.c++/templates.cc: changes to support HP's compiler; changes
28166 to support new tests.
28167
28168 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
28169 gcc, then skip these tests.
28170
28171Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
28172
28173 The following files are part of the HP merge; some had longer
28174 names at HP, but have been renamed to be no more than 14
28175 characters in length.
28176
28177 * gdb.hp/ambiguous.cc: new file.
28178 * gdb.hp/ambiguous.exp: new file.
28179 * gdb.hp/attach.exp: new file.
28180 * gdb.hp/attach2.exp: new file.
28181 * gdb.hp/classes-hp.exp: new file.
28182 * gdb.hp/ctti.exp: new file.
28183 * gdb.hp/ctti-add.cc: new file.
28184 * gdb.hp/ctti-add1.cc: new file.
28185 * gdb.hp/ctti-add2.cc: new file.
28186 * gdb.hp/ctti-add3.cc: new file.
28187 * gdb.hp/dbx.exp: new file.
28188 * gdb.hp/exception.cc: new file.
28189 * gdb.hp/exception.exp: new file.
28190 * gdb.hp/foll-exec.c: new file.
28191 * gdb.hp/foll-exec.exp: new file.
28192 * gdb.hp/foll-fork.c: new file.
28193 * gdb.hp/foll-fork.exp: new file.
28194 * gdb.hp/foll-vfork.c: new file.
28195 * gdb.hp/foll-vfork.exp: new file.
28196 * gdb.hp/inherit-hp.exp: new file.
28197 * gdb.hp/more-steps.exp: new file.
28198 * gdb.hp/namespace.cc: new file.
28199 * gdb.hp/namespace.exp: new file.
28200 * gdb.hp/optimize.exp: new file.
28201 * gdb.hp/pxdb.c: new file.
28202 * gdb.hp/pxdb.exp: new file.
28203 * gdb.hp/quicksort.exp: new file.
28204 * gdb.hp/reg-test.exp: new file.
28205 * gdb.hp/reg-test.s: new file.
28206 * gdb.hp/sized-enum.c: new file.
28207 * gdb.hp/sized-enum.exp: new file.
28208 * gdb.hp/start-stop.exp: new file.
28209 * gdb.hp/templ-hp.cc: new file.
28210 * gdb.hp/templ-hp.exp: new file.
28211 * gdb.hp/thr-lib.c: new file.
28212 * gdb.hp/thr-lib.exp: new file.
28213 * gdb.hp/thr-lib.h: new file.
28214 * gdb.hp/thr-liblib.c: new file.
28215 * gdb.hp/virtfun-hp.c: new file.
28216 * gdb.hp/virtfun-hp.exp: new file.
28217 * gdb.hp/watch-cmd.exp: new file.
28218 * gdb.hp/watch-hp.exp: new file.
28219 * gdb.hp/xdb1.exp: new file.
28220 * gdb.hp/xdb2.exp: new file.
28221 * gdb.hp/xdb3.exp: new file.
28222
28223Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
28224
28225 The following files are part of the HP merge; some had longer
28226 names at HP, but have been renamed to be no more than 14
28227 characters in length.
28228
28229 * gdb.base/ss.h: new file.
28230 * gdb.base/call-ar-st.c: new file.
28231 * gdb.base/call-ar-st.exp: new file.
28232 * gdb.base/call-rt-st.c: new file.
28233 * gdb.base/call-rt-st-exp: new file.
28234 * gdb.base/call-strs.exp: new file.
28235 * gdb.base/ena-dis-br.exp: new file.
28236 * gdb.base/environ.exp: new file.
28237 * gdb.base/long_long.exp: new file.
28238 * gdb.base/sect-cmd.exp: new file.
28239 * gdb.base/shlib-cl2.exp: new file.
28240 * gdb.base/smoke.exp: new file.
28241 * gdb.base/so-impl-ld.c: new file.
28242 * gdb.base/so-impl-ld.exp: new file.
28243 * gdb.base/so-indr-cl.c: new file.
28244 * gdb.base/so-indr-cl.exp: new file.
28245 * gdb.base/varargs.exp: new file.
28246 * gdb.base/volatile.exp: new file.
28247 * gdb.base/whatis-exp.exp: new file.
7a292a7a 28248 * gdb.base/display.exp: new file.
c906108c
SS
28249 * gdb.c++/derivation.exp: new file.
28250 * gdb.c++/local.exp: new file.
28251 * gdb.c++/member-ptr.exp: new file.
28252 * gdb.c++/overload.exp: new file.
28253 * gdb.c++/ovldbreak.exp: new file.
28254 * gdb.c++/ref-types.exp: new file.
28255 * gdb.c++/ref-types2.exp: new file.
28256 * gdb.c++/userdef.exp: new file.
d63a86f8 28257
c906108c
SS
28258Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
28259
28260 * gdb.base/default.exp: Reflect wording change in remote.c.
28261
dc96c6c7 28262Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28263
28264 * gdb.base/help.exp: Update to reflect current text.
28265
28266Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
28267
28268 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
28269 they're stack variables and contain garbage.
28270 * gdb.c++/anon-union.exp: new file.
28271
28272 The following changes were made by David Taylor
889bf7c5
PA
28273 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28274 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28275 in changes by HP.
c906108c
SS
28276
28277 * gdb.base/bitops.exp: new file.
28278 * gdb.base/default.exp: change expected messages for catch and
28279 info catch tests to reflect HP merge changes.
28280 * gdb.base/enable-disable-break.exp
28281 * gdb.base/ending-run.c: new file.
28282 * gdb.base/long_long.c: new file.
28283 * gdb.base/maint.exp: new file.
28284 * gdb.base/pointers2.exp: new file.
28285 * gdb.base/shlib-call2.exp: new file.
28286 * gdb.base/solib.exp: new file.
28287 * gdb.base/step-test.c: new file.
28288 * gdb.c++/anon-union.cc: new file.
28289 * gdb.c++/local.cc: new file.
28290 * gdb.c++/member-pointer.cc: new file.
28291 * gdb.c++/method.cc: new file.
28292 * gdb.c++/ref-types.cc: new file.
28293 * gdb.c++/ref-types2.cc: new file.
28294 * gdb.c++/userdef.cc: new file.
d63a86f8 28295
c906108c
SS
28296 * gdb.base/scope.exp: compile one file at a time, then link.
28297 * gdb.base/langs.exp: ditto.
28298 * gdb.base/list.exp: ditto.
d63a86f8 28299
c906108c
SS
28300Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
28301
28302 The following changes were made by David Taylor
889bf7c5
PA
28303 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
28304 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
28305 in changes by HP.
d63a86f8 28306
c906108c
SS
28307 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
28308 skip tests. When compiling pass c++ flag to gdb_compile.
28309 * gdb.c++/
d63a86f8 28310
c906108c
SS
28311 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
28312 test for on hppa*-*-hpux*; use args to see if c++ was specified.
28313 (skip_hp_tests): new function.
28314 (gdb_preprocess): new function.
28315
28316 * configure.in (hpdir): decide whether to configure gdb.hp.
28317 * configure: regenerated.
28318
28319 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
28320 to delete on clean.
28321 (EXECUTABLES): update to reflect new additions.
28322 * gdb.base/commands.exp: update message expected.
28323 * gdb.base/default.exp: add copyright notice.
28324 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
28325 * gdb.base/help.exp: update messages to reflect current text.
28326 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
28327 targets for recurse tests.
28328 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
28329 skip this file.
28330
28331 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
28332 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
28333 compilation.
28334 * gdb.c++/misc.exp: ditto.
28335 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
28336 run the tests. tell gdb_compile that it's a c++ compilation.
28337
28338 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 28339
c906108c
SS
28340 * gdb.base/all-bin.exp: new file.
28341 * gdb.base/arithmet.exp: new file.
28342 * gdb.base/assign.exp: new file.
28343 * gdb.base/completion.exp: new file.
28344 * gdb.base/cond-expr.exp: new file.
28345 * gdb.base/condbreak.exp: new file.
28346 * gdb.base/define.exp: new file.
28347 * gdb.base/dollar.exp: new file.
28348 * gdb.base/environment.exp: new file.
28349 * gdb.base/eval-skip.exp: new file.
28350 * gdb.base/jump.exp: new file.
28351 * gdb.base/logical.exp: new file.
28352 * gdb.base/pointers.exp: new file.
28353 * gdb.base/relational.exp: new file.
28354 * gdb.base/section_command.exp: new file.
28355 * gdb.base/whatis-expr.exp: new file.
28356
28357 * gdb.base/all-types.c: new file.
28358 * gdb.base/call-array-struct.c: new file.
28359 * gdb.base/call-return-struct.c: new file.
28360 * gdb.base/call-strings.c: new file.
28361 * gdb.base/callfuncs2.c: new file.
28362 * gdb.base/condbreak.c: new file.
28363 * gdb.base/constvars.c: new file.
28364 * gdb.base/display.c: new file.
28365 * gdb.base/int-type.c: new file.
28366 * gdb.base/jump.c: new file.
28367 * gdb.base/miscexprs.c: new file.
28368 * gdb.base/pointers.c: new file.
28369 * gdb.base/pointers2.c: new file.
28370 * gdb.base/shmain.c: new file.
28371 * gdb.base/shr1.c: new file.
28372 * gdb.base/shr2.c: new file.
28373 * gdb.base/solib.c: new file.
28374 * gdb.base/solib1.c: new file.
28375 * gdb.base/solib2.c: new file.
28376 * gdb.base/varargs.c: new file.
28377 * gdb.c++/derivation.cc: new file.
28378 * gdb.c++/overload.cc: new file.
28379 * gdb.c++/ovldbreak.cc: new file.
28380 * gdb.hp/attach.c: new file.
28381 * gdb.hp/attach2.c: new file.
28382 * gdb.hp/average.c: new file.
28383 * gdb.hp/compiler.c: new file.
28384 * gdb.hp/compiler.cc: new file.
28385 * gdb.hp/execd-program.c: new file.
28386 * gdb.hp/follow-exec.c: new file.
28387 * gdb.hp/follow-fork.c: new file.
28388 * gdb.hp/follow-vfork-and-exec.c: new file.
28389 * gdb.hp/misc-hp.cc: new file.
28390 * gdb.hp/more-steps.c: new file.
28391 * gdb.hp/optimize.c: new file.
28392 * gdb.hp/quicksort.c: new file.
28393 * gdb.hp/run-hp.c: new file.
28394 * gdb.hp/start-stop.c: new file.
28395 * gdb.hp/sum.c: new file.
28396 * gdb.hp/templates-hp.cc: new file.
28397 * gdb.hp/thread-local-in-lib.c: new file.
28398 * gdb.hp/thread-local-in-lib.h: new file.
28399 * gdb.hp/thread-local-in-lib.lib.c: new file.
28400 * gdb.hp/vforked-program.c: new file.
28401 * gdb.hp/virtfunc-hp.cc: new file.
28402 * gdb.hp/watchpoint-hp.c: new file.
28403 * gdb.hp/xdb.c: new file.
28404 * gdb.hp/xdb0.c: new file.
28405 * gdb.hp/xdb0.h: new file.
28406 * gdb.hp/xdb1.c: new file.
28407
28408Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
28409
28410 The following change was made by Edith Epstein
889bf7c5
PA
28411 <eepstein@cygnus.com> as part of a project to merge in changes
28412 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
28413
28414 * gdb.c++/demangle.exp: changed the expected output for some
28415 ARM-style mangling -- removed second reference to datatype.
889bf7c5 28416 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 28417 T1<char>::~T1<char>(void)
c906108c 28418 becomes,
a9c64011
AS
28419 maint demangle __dt__11T1__pt__2_cFv
28420 T1<char>::~T1(void)
c906108c 28421
889bf7c5 28422 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 28423
c906108c
SS
28424Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
28425
28426 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
28427 * gdb.trace/backtrace.exp: Likewise.
28428 * gdb.trace/circ.exp: Likewise.
28429 * gdb.trace/collection.exp: Likewise.
28430 * gdb.trace/deltrace.exp: Likewise.
28431 * gdb.trace/infotrace.exp: Likewise.
28432 * gdb.trace/limits.exp: Likewise.
28433 * gdb.trace/packetlen.exp: Likewise.
28434 * gdb.trace/passc-dyn.exp: Likewise.
28435 * gdb.trace/passcount.exp: Likewise.
28436 * gdb.trace/report.exp: Likewise.
28437 * gdb.trace/save-trace.exp: Likewise.
28438 * gdb.trace/tfind.exp: Likewise.
28439 * gdb.trace/tracecmd.exp: Likewise.
28440 * gdb.trace/while-dyn.exp: Likewise.
28441 * gdb.trace/while-stepping.exp: Likewise.
28442
284431998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
28444
28445 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
28446
28447Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
28448
28449 From Brendan Kehoe:
28450 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
28451 int return types.
28452
28453Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
28454
28455 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 28456 remote dos host testing right.
c906108c
SS
28457
28458Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
28459
28460 * gdb.base/corefile.exp: remove some xfails.
28461
28462Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
28463
28464 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 28465 have different timestamps.
c906108c
SS
28466
28467Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
28468
28469 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 28470 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
28471
28472Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
28473
28474 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 28475 delta.
c906108c
SS
28476
28477Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
28478
28479 * gdb.base/default.exp: Add brace missing from previous delta.
28480
28481Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
28482
28483 * gdb.base/default.exp: Support test for info float for all
28484 varieties of arm toolchain.
28485
dc96c6c7 28486Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28487
28488 * gdb.trace/*.exp: remove "remote_download" command.
28489
dc96c6c7 28490Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28491
28492 * gdb.trace/*.exp: remove -gdwarf from compile.
28493
28494Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
28495
28496 * gdb.trace/configure.in(AC_INIT): typo
28497 * gdb.trace/configure: regenerated
28498
dc96c6c7 28499Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28500
28501 * config/m68k-emc.exp: New file.
28502 * lib/<emc-support.exp trace-support.exp}: New files.
28503 * configure.in: add new test directory gdb.trace.
28504 * gdb.trace/{configure configure.in Makefile.in}: New files.
28505 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
28506 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
28507 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
28508 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
28509 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
28510 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
28511 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 28512
dc96c6c7 28513Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28514
28515 * gdb.c++/classes.exp: Change all regular expressions to match
28516 arbitrary combinations of newline/carriage-return, so that they
28517 will work equally well on Unix and Windows.
28518 * gdb.c++/inherit.exp: ditto.
28519 * gdb.c++/virtfunc.exp: ditto.
28520
285211998-08-11 Dawn Perchik <dawn@cygnus.com>
28522
28523 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
28524
c2d11a7d
JM
28525Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
28526
28527 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
28528 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
28529 to use a0-a3/d0-d3 as needed.
28530
28531Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
28532
28533 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
28534 * gdb.disasm/am33.exp: Corresponding changes.
28535
c906108c
SS
285361998-07-11 Felix Lee <flee@cygnus.com>
28537
28538 * gdb.base/callfuncs.exp: add cmp10 test.
28539 * gdb.base/callfuncs.c (cmp10): new function.
28540
28541Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
28542
d63a86f8 28543 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
28544 into two parts to get around a synchronization problem in expect.
28545
3fc11d3e
JM
28546Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
28547
28548 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
28549
28550 * configure.in: Add options for gdbtk testsuite.
28551
28552 * configure: Regenerate.
28553
28554 * gdb.gdbtk: New directory to hold gdbtk tests.
28555
c906108c
SS
28556Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28557
28558 * gdb.fortran/types.exp: Escape brackets in expect patterns
28559 for test_float_literal_types_accepted tests.
28560 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
28561 before run test.
28562
c2d11a7d
JM
28563Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
28564
28565 * am33.exp: Just compile, do not link the testcase.
28566 * am33.s: Add ".am33" pseudoop to force am33 mode.
28567
c906108c
SS
285681998-06-25 Felix Lee <flee@cygnus.com>
28569
28570 * gdb.base/setshow.exp: make sure $pc is sane.
28571
28572 * gdb.stabs/weird.exp: split expect patterns properly.
28573
c2d11a7d
JM
28574Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
28575
28576 * gdb.disasm/am33.s: New disassembler testfile for the am33.
28577 * gdb.disasm/am33.exp: Run it.
28578
dc96c6c7 28579Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28580
28581 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
28582 match processing (and eliminate spurious timeouts when running).
28583
dc96c6c7 28584Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28585
28586 * gdb.base/signals.exp (test_handle_all_print): put back Mach
28587 exception test, but conditionalize it on target [mach | gnu].
28588
dc96c6c7 28589Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28590
28591 * gdb.base/overlays.exp: fixup compile line for linker script.
28592
28593Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
28594
28595 * gdb.fortran/types.exp: don't guess at float size.
28596
28597Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
28598
28599 * gdb.base/exprs.exp: delete test that depends on int size.
28600
28601Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
28602
28603 * config/sim.exp: Removed checks for target triplets.
28604 (gdb_target_sim): Use gdb,target_sim_options.
28605
28606Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
28607
28608 * gdb.base/reread.exp: New file.
28609 * gdb.base/reread1.c: New file.
28610 * gdb.base/reread2.c: New file.
28611
28612Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
28613
28614 * config/sim.exp: Use 'target sim -sparclite' when running
28615 SPARClite programs.
28616
28617Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
28618
28619 * gdb.base/structs2.exp: New file.
28620 * gdb.base/structs2.c: New file.
28621
28622Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
28623
28624 * gdb.asm/common.inc: New file.
28625 * gdb.asm/d10v.inc: New file.
28626 * asm-source.exp: Pass -I's to gas to find .inc files.
28627 Update line numbers in expected output.
28628 * asmsrc1.s: Rewrite.
28629 * asmsrc2.s: Rewrite.
28630 * configure.in: Create arch.inc symlink.
28631 * configure: Regenerate.
28632 * Makefile.in (distclean): Delete arch.inc.
28633
28634Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
28635
28636 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
28637 (t_enum_value2): ditto
28638 (t_enum_value3): ditto
28639 (main): ditto
c906108c
SS
28640Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
28641
28642 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
28643 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
28644 change.
28645 Use gdb_test instead of send_gdb/gdb_expect sequences.
28646
28647Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
28648
28649 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
28650 not void.
28651
28652Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
28653
28654 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
28655 subroutines. Used to test gdbs ability to single step through PC
28656 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
28657
28658Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
28659
28660 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
28661 more rigorous EGCS C++ error checking.
28662
28663Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28664
a9c64011
AS
28665 * gdb.base/help.exp: Clean up `help set args' and `help show args'
28666 tests.
28667 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
28668 function when asleep.
28669 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
28670 for i*86 Linux and SVR4 signal handling problems.
28671 Remove linux xfail for `next to handler in signals_tests_1', fixed
28672 by recent infrun.c change.
28673 Limit backtrace to 10 frames to avoid timeout problems with infinite
28674 stack backtraces.
28675 Adjust expect pattern in `handle all print' test to match Apr 28 1997
28676 target.[ch] change.
c906108c
SS
28677
28678Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
28679
28680 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
28681 for a newline from gdb before continuing.
28682 (default_gdb_exit): Just look for y or n.
28683 (gdb_test): Detect abnormal exit from GDB running on DOS; if
28684 it does, fail the rests of the tests in the file.
28685
28686Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
28687
28688 * config/cygmon.exp: New file.
28689
28690Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
28691
28692 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 28693 main" test on remote targets.
c906108c
SS
28694
28695 * gdb.base/scope.exp: Fix problem with filelocal_bss before
28696 run test on remote targets.
28697
28698Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
28699
28700 * gdb.asm: New directory.
28701 * configure.in: Configure it.
28702 * configure: Regenerate.
28703 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
28704 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
28705
28706Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
28707
28708 * config/mn10300-eval.exp: New file to support MN10300 eval board.
28709
dc96c6c7 28710Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 28711
a9c64011
AS
28712 * gdb.base/overlays (several files): Merge the two overlay
28713 managers into one. Change variables (foox, barx, bazx, grbxx)
28714 back into ints but force them to load in their proper sections.
c906108c
SS
28715
28716Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
28717
28718 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 28719 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
28720 (D10VCopy): Handle memory regions crossing 16k boundaries.
28721 (D10VCopy): Transfer data in 32 bit chunks.
28722
28723Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
28724
28725 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 28726 correct.
c906108c
SS
28727
28728 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 28729 map. Include space for printf in .text segment.
c906108c
SS
28730
28731 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 28732 updated d10v memory VMA/LMA map.
c906108c 28733 (D10VCopy): Call D10VTranslate.
d63a86f8 28734
c906108c
SS
28735Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
28736
28737 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
28738
28739 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
28740 that it won't be put into the .sdata - small data -
28741 section. Update reference.
c906108c
SS
28742 * gdb.base/baz.c (bazx, baz): Ditto.
28743 * gdb.base/foo.c (foox, foo): Ditto.
28744 * gdb.base/grbx.c (grbxx, grbx): Ditto.
28745
28746 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 28747 to be arrays.
d63a86f8 28748
dc96c6c7 28749Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 28750
a9c64011
AS
28751 * gdb.base/overlays.exp: fix up and get working again.
28752 Add tests for backtraces from an overlay function.
d63a86f8 28753
c906108c
SS
28754Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
28755
28756 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
28757 "calling function with watchpoint enabled".
28758
28759Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
28760
28761 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 28762 gdb_suppress_tests for d10v-*-*.
c906108c
SS
28763 * lib/gdb.exp (gdb_suppress_tests): Disable this function
28764 pending review of whether it is useful or not.
28765
28766Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
28767
28768 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
28769
28770Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
28771
28772 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
28773 * config/dve.exp: New file to support Densan boards.
28774
28775Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
28776
28777 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 28778 reads and BSD.
c906108c
SS
28779
28780Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
28781
28782 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
28783 response.
28784
28785 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
28786
28787Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
28788
28789 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 28790 test.
c906108c
SS
28791
28792 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 28793 target_sizeof_long and target_bigendian_p.
c906108c 28794 (structs_by_value, structs_by_reference): Check values according
889bf7c5 28795 to targets word size and endianess.
d63a86f8 28796
c906108c
SS
28797Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
28798
28799 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 28800 output.
c906108c
SS
28801
28802Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
28803
28804 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 28805 Update test of set args help to match source change.
c906108c
SS
28806
28807Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
28808
28809 * gdb.base/default.exp: Expect help system output to be in
28810 alphabetical order.
28811 * gdb.base/help.exp: Ditto.
28812
28813Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
28814
28815 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
28816 "i*86-pc-linux-gnu*".
28817 * gdb.base/interrupt.exp: Ditto.
28818 * gdb.base/corefile.exp: Ditto.
28819
28820 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 28821 define vxworks when building the testcase.
c906108c
SS
28822
28823 * gdb.base/ptype.exp: Fix testnames to be unique.
28824 * gdb.base/radix.exp: Ditto.
28825 * gdb.base/term.exp: Ditto.
28826 * gdb.base/whatis.exp: Ditto.
28827 * gdb.c++/classes.exp: Ditto.
28828
28829Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
28830
28831 * gdb.base/callfuncs.exp: Fix indentation.
28832
28833 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
28834 suppress_flag has been set.
28835 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
28836 target feature.
28837
28838Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
28839
28840 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
28841 the testcase.
28842
28843 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 28844 set_debug_traps() and breakpoint().
c906108c
SS
28845 * gdb.c++/misc.cc (main): Ditto.
28846 * gdb.c++/templates.cc (main): Ditto.
28847 * gdb.c++/virtfunc.cc (main): Ditto.
28848
28849Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
28850
28851 * lib/gdb.exp(gdb_step_for_stub): New function.
28852 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
28853 exists, reload the executable and do a "continue" instead of
28854 doing a jump.
28855 (runto_main): Use gdb_step_for_stub.
d63a86f8 28856
c906108c 28857 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 28858 tests to have unique names.
c906108c
SS
28859 * gdb.base/callfuncs.exp: Ditto.
28860 * gdb.base/commands.exp: Ditto.
28861 * gdb.base/default.exp: Ditto.
28862 * gdb.base/help.exp: Ditto.
28863 * gdb.base/list.exp: Ditto.
28864 * gdb.base/opaque.exp: Ditto.
28865 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
28866 similar tests.
d63a86f8 28867
c906108c
SS
28868 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
28869 * gdb.c++/cplusfuncs.cc: Ditto.
28870 * gdb.c++/virtfunc.cc: Ditto.
28871
28872 * config/monitor.exp: Keep track of the last file we saw, rather
28873 than trying to get the info from gdb.
28874
28875 * gdb.fortran/types.exp: Move comment to previous line.
28876
28877Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
28878
28879 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 28880 target mode.
c906108c
SS
28881
28882Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
28883
28884 From Bob Manson:
28885 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 28886 string from GDB when it connects.
c906108c
SS
28887
28888 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
28889
28890Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
28891
28892 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
28893 if we can't get a debug format from GDB (we may be testing an
28894 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
28895
28896 * gdb.stabs/weird.exp: Fix quoting.
28897
28898 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
28899
28900Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
28901
28902 * config/arm-ice.exp: New file.
28903
28904Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
28905
28906 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 28907 until it has been modified to work with the new testsuite.
c906108c 28908
99707966 28909 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
28910 testcase won't compile, cause all of the testcases in the file to
28911 fail instead.
c906108c
SS
28912
28913 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
28914 (gdb_clear_suppressed): New procedure.
28915 (gdb_stop_suppressing_tests): Only clear suppress_flag if
28916 it contains a positive value.
28917
28918Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
28919
28920 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
28921
28922 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
28923
28924Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
28925
28926 * lib/gdb.exp (setup_xfail_format): New function.
28927 (get_debug_format): New function to get debug format.
28928 (debug_format): New global variable to hold last value set
28929 by get_debug_format.
28930 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 28931 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
28932 * gdb.c++/ptype.exp: Ditto.
28933 * gdb.c++/classes.exp: Ditto.
28934 * gdb.c++/cplusfuncs.exp: Ditto.
28935 * gdb.c++/inherit.exp: Ditto.
28936 * gdb.c++/templates.exp: Ditto.
28937 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 28938
c906108c
SS
28939Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
28940
28941 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
28942 host doesn't have a currently-open connection.
28943
28944 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
28945 any gdb stub target. Handle cases where gdb doesn't respond when
28946 interrupted in a sane fashion.
c906108c
SS
28947
28948 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 28949 same thing in a totally different way.
c906108c
SS
28950
28951 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 28952 setting "timeout".
c906108c 28953 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 28954 default_gdb_init now.
c906108c
SS
28955
28956Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
28957
28958 * gdb.base/printcmds.exp: Fix "check for floating addition"
28959 regexp to accept results within approx +/- .01 of exact value.
28960 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
28961
28962Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
28963
28964 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 28965 properly.
c906108c
SS
28966 (gdb_expect): Add optional timeout parameter, and add timeout
28967 value to various calls.
28968 (gdb_suppress_tests): Only give one warning message per group.
28969
28970Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
28971
28972 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
28973 global variables. Handle getting a value for $timeout more
28974 gracefully.
c906108c
SS
28975
28976Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
28977
28978 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 28979 initialize.
c906108c 28980 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 28981 by a target configuration file.
c906108c
SS
28982 (gdb_expect): Pass the timeout to remote_expect.
28983
28984 * config/monitor.exp(gdb_load): Fix typo in regexp.
28985
28986Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
28987
28988 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
28989
28990Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
28991
28992 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
28993 here. Call gdb_target_exec before rebooting the target, to make
28994 sure the connection to the target is closed.
c906108c
SS
28995 (gdb_load): Pass the name of the executable to gdb_target_monitor.
28996 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
28997 Also detect "Timeout reading from remote" error.
28998
28999 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
29000 gdb_target_monitor. Don't call gdb_file_cmd here; let
29001 gdb_target_monitor do it.
c906108c
SS
29002
29003 * gdb.disasm/hppa.exp: Don't use exec_output.
29004
29005Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
29006
29007 * gdb.base/list.exp: If we're debugging a non-native target,
29008 try to set the pc register to point to the start of the
29009 program before doing the first list command.
29010
29011 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 29012 test_calls after restarting.
c906108c
SS
29013
29014 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 29015 reloading.
c906108c
SS
29016
29017 * gdb.base/watchpoint.exp: Fix typo.
29018
29019 * gdb.base/setshow.exp: Check for use_gdb_stub.
29020
29021 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 29022 stub case.
c906108c
SS
29023 * gdb.base/langs.exp: Ditto.
29024
29025 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
29026 gdb_load_offset. If we weren't given a file to load, figure out
29027 what the current file is and use it.
c906108c
SS
29028
29029 * config/i386-bozo.exp: New file.
29030
29031Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
29032
29033 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
29034 feature.
29035
29036 * config/proelf.exp: New entry.
29037
29038Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
29039
29040 * lib/gdb.exp: Remove spurious .* patterns at the beginning
29041 of regexps.
29042
29043 * gdb.base/watchpoint.exp: Don't run the test_stepping
29044 tests if gdb can't call functions on the target.
29045
29046 * gdb.base/setshow.exp: Don't run the set prompt tests if
29047 the board has gdb_prompt set.
29048
29049Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
29050
29051 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
29052 * gdb.base/commands.exp: Likewise.
29053 * gdb.base/setshow.exp: Likewise.
29054
29055Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
29056
29057 * config/monitor.exp(gdb_start): Look for gdb_prompt target
29058 feature.
29059
29060 * config/i960.exp: New file.
29061
29062Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
29063
29064 * gdb.base/funcargs.exp: Check for gdb,short_int target
29065 feature instead of looking for explicit target triplets.
29066
dc96c6c7 29067Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 29068
d63a86f8 29069 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
29070 "p 123DEADBEEF", to check parse_number.
29071 * top.c: change "to enable to enable" to "to enable" in a couple
29072 of help strings.
29073
29074Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
29075
29076 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
29077 on the mn10300.
d63a86f8 29078
c906108c
SS
29079Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
29080
29081 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
29082 where the test executable is run with explicit args.
29083 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
29084
29085Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
29086
29087 * gdb.base/run.c: Use FAKEARGV to build test executable that
29088 does not require a command line arg, since most simulators
29089 don't currently support passing such an arg into the simulated
29090 program.
29091 * gdb.base/commands.exp: Change tests to insert the proper
29092 value as the arg to the first recursive factorial call. Change
29093 compilation line to define FAKEARGV at compile time.
29094
29095Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
29096
29097 * gdb.base/recurse.exp: Enable these tests for the mn10300.
29098 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
29099 function with watchpoint enabled" test.
29100
29101Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
29102
29103 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 29104 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
29105
29106 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 29107 "Tests restarted" messages.
c906108c
SS
29108
29109Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
29110
29111 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
29112
dc96c6c7 29113Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29114
29115 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
29116 for INFO SYMBOL; add help tests for OVERLAY commands.
29117 * gdb.base/default.exp: add tests for INFO SYMBOL command;
29118 add tests for OVERLAY commands
29119 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
29120 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
29121 * gdb.base/sigall.c: add usestubs code frag
29122 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 29123
c906108c
SS
29124Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
29125
29126 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
29127 failures.
29128 (gdb_stop_suppressing_tests): Note that tests have restarted.
29129
29130Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
29131
29132 * config/h8300.exp: New file.
29133
29134Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
29135
29136 * gdb.base/setshow.exp: Check for the existence of a
29137 feature, not its value.
29138
29139Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
29140
29141 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
29142
29143 * gdb.base/scope.exp: It's now init0(), not init().
29144
29145 * gdb.base/scope0.c: For now, change init() to be init0().
29146
29147 * config/monitor.exp: Use gdb_serial in preference to serial
29148 or netport.
29149
29150 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 29151 and it's not already set.
c906108c
SS
29152
29153Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
29154
29155 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 29156 isn't using a stub and if it supports argument passing.
c906108c
SS
29157
29158Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
29159
29160 * config/udi.exp(gdb_start): Make sure UDICONF is set
29161 properly before starting gdb.
29162
29163Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
29164
29165 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
29166 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
29167 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
29168
29169Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
29170
29171 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 29172 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
29173
29174 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
29175
29176 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
29177
29178 * config/monitor.exp: Make sure we disconnect from the target.
29179 Also, try a reboot/reload cycle instead of failing if the
29180 load fails.
29181
29182Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
29183
29184 * gdb.base/default.exp: Don't set match_max.
29185 * gdb.base/help.exp: Ditto.
29186 * gdb.base/list.exp: Ditto.
29187 * gdb.base/signals.exp: Ditto.
29188
29189 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
29190 set, use remote_ld to download the testcase instead of
29191 the GDB loader.
29192
29193Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
29194
29195 * config/vr5000.exp: New file.
29196
29197 * config/monitor.exp(gdb_target_monitor): Add pattern for
29198 "Ending remote" to detect errors in connecting.
29199
29200 * gdb.base/setshow.exp: Add .* within auto language test.
29201
29202 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
29203 target feature.
29204
29205 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 29206 and reboot the board if necessary.
c906108c
SS
29207
29208 * gdb.base/setvar.exp(test_set): Handle multiple prints within
29209 a set of tests. Remove print.* from the patterns being checked.
29210
29211Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
29212
29213 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
29214 refer to gdb_spawn_id.
29215
29216 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
29217 longer used.
29218 * config/sparclet.exp: Ditto.
29219 * config/sparclet-old.exp: Ditto.
29220 * config/slite.exp: Ditto.
29221 * config/sim.exp: Ditto.
29222 * gdb.base/funcargs.exp: Ditto.
29223
29224 * lib/gdb.exp:Remove references to gdb_spawn_id.
29225 (gdb_expect): Move to remote.exp.
29226
29227Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
29228
29229 * config/monitor.exp: Detect the "Couldn't establish connection"
29230 message from GDB.
29231
29232Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
29233
29234 * gdb.base/bitfields.exp: Use runto instead of explicit
29235 gdb_run_cmd/gdb_expect sequences.
29236
29237 * gdb.base/break.exp(text_next_with_recursion): Add match for
29238 gdb_expect call.
29239
29240 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
29241 We also need to handle the "A program is being debugged already"
29242 prompt from gdb. Use gdb_test to set the baud rate.
29243
29244 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
29245 to 20000. Really. I mean it.
29246
29247Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29248
29249 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
29250 fails. If suppress_flag is set, skip perror message about not
29251 being able to send to GDB.
c906108c 29252 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 29253 GDB.
c906108c
SS
29254 (gdb_expect): If suppress_flag is set, always fail immediately.
29255 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
29256 (gdb_init): Call gdb_stop_suppressing_tests.
29257 (default_gdb_exit): Ditto.
29258 (default_gdb_start): Ditto.
29259
29260 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 29261 gdb_stop_suppressing_tests as appropriate.
c906108c 29262 * gdb.base/break.exp: Ditto.
889bf7c5 29263 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
29264 * gdb.base/commands.exp: Ditto.
29265 * gdb.base/exprs.exp: Ditto.
889bf7c5 29266 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
29267 * gdb.base/list.exp: Ditto.
29268 * gdb.base/recurse.exp: Ditto.
889bf7c5 29269 * gdb.base/scope.exp: Ditto.
c906108c
SS
29270 * gdb.base/structs.exp: Ditto.
29271 * gdb.c++/inherit.exp: Ditto.
29272
29273Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
29274
29275 * config/vr4300.exp: New file.
29276
99707966 29277 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 29278
99707966 29279 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
29280
29281Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
29282
29283 * lib/gdb.exp(gdb_init): New function.
29284
29285 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 29286 for each individual variable set.
c906108c
SS
29287
29288 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
29289 name.
29290
29291 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
29292
29293 * gdb.base/scope.exp: Use gdb_test.
29294
29295 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
29296 aborting; the testsuite driver will do that for us (see
29297 gdb_finish). Also, use gdb_test in a few more places.
29298
29299Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
29300
29301 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
29302
29303Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
29304
29305 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
29306 and "add_tests" are not at the same address.
29307
29308Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
29309
29310 * gdb.base/ptype.exp: Use gdb_test.
29311
29312Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
29313
29314 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
29315 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
29316 left in. No longer expect them to fail.
29317
29318 * gdb.stabs/*.mt; Deleted, no longer used.
29319 * gdb.stabs/configure.in: Remove references to target makefile
29320 frags.
29321 * gdb.stabs/configure: Rebuilt.
29322
29323 * gdb.disasm/*.mt: Deleted, no longer used.
29324 * gdb.disasm/configure.in: Remove references to target makefile
29325 frags. Use "sh3.s" as the unique filename for this directory.
29326 * gdb.disasm/configure: Rebuilt.
29327
29328 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
29329 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
29330 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
29331
29332Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
29333
29334 * config/udi.exp: Use mondfe,name instead of remote_host.
29335
29336Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
29337
29338 * gdb.base/watchpoint.exp: Don't expect a failure when calling
29339 a function with a watchpoint enabled on the mn10200.
29340
29341 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
29342 before trying to create it!
29343
29344Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
29345
29346 * config/vx.exp: Use hostname instead of netport.
29347
29348 * config/vxworks.exp: New file.
29349
29350 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
29351
29352 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 29353 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
29354 occurs.
29355
29356 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
29357 $gdb_spawn_id directly.
29358 (gdb_run_cmd): Try _start as well as start. Use the target feature
29359 gdb,start_symbol as the symbol to start from when jumping.
29360
29361Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
29362
29363 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
29364 redundant) test.
29365
29366 * gdb.base/recurse.exp: Relax final value test for 'b' so that
29367 it doesn't lose for 16bit integer systems.
29368
29369Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
29370
29371 * gdb.fortran/types.exp: If the target doesn't support "double"
29372 data types, then expect "real" types to only be 4 bytes.
29373
29374 * gdb.c++/virtfunc.exp: Expect failure for virtual function
29375 call tests if the target doesn't support inferior function calls.
29376
29377 * gdb.base/printcmds.exp: Allow minor deviation in FP values
29378 in printf tests.
29379
29380Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
29381
29382 * gdb.base/help.exp: Disable "help set", "help show", and
29383 "help support". Simplify regexp for "help stack".
29384
29385 * gdb.base/default.exp: Set match_max to 5000 and the timeout
29386 to 60 seconds. Temporarily set match_max to 15000 around the
29387 "info copying" test.
29388
29389 * gdb.base/nodebug.exp: Don't try to do an inferior function
29390 call if the target doesn't support them.
29391 * gdb.base/printcmds.exp: Likewise.
29392 * gdb.base/setvar.exp: Likewise.
29393 * gdb.base/structs.exp: Likewise.
29394 * gdb.c++/templates.exp: Likewise.
29395 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
29396
29397 * gdb.base/recurse.exp: Enable for the mn10200.
29398
29399 * configure.in: Do configure gdb.stabs directory for *-*-elf
29400 targets.
29401 * configure: Rebuilt.
29402
29403 * gdb.base/break.exp: Check for gdb,noresults before testing
29404 exit status and/or results from the target.
29405 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
29406 * lib/gdb.exp: Remove old (now bogus) initialization of
29407 noinferior, noargs, noresults and nosignals.
29408
29409Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
29410
29411 * config/sh.exp: New file.
29412
29413 * config/slite.exp: Try to connect multiple times to the board
29414 before rebooting. Only send a "monitor run" if need_monitor_run
29415 is set.
29416
29417 * gdb.base/break.exp: Don't do the "stub continue" test if
29418 the target has gdb_stub set.
29419
29420 * gdb.base/callfuncs.exp: Increase the timeout.
29421
29422 * gdb.base/interrupt.exp: Don't even try to compile the testcase
29423 if the target has gdb,noinferiorio set.
29424
29425 * gdb.base/list.exp: Increase match_max to 10000 characters.
29426
29427 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
29428
29429 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
29430 target.
29431
29432 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
29433
29434Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
29435
29436 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
29437 trying to delete the copy of gdb. Catch the file delete so we
29438 don't die if the delete fails; also, the file should be copied to
29439 the host, not to the build.
c906108c
SS
29440
29441Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
29442
29443 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 29444 parenthesis in case it contains multiple regexps separated
c906108c
SS
29445 with |.
29446
29447 * gdb.base/watchpoint.exp: Use gdb_test.
29448 * gdb.base/default.exp: Ditto.
29449
29450Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
29451
99707966 29452 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 29453
c906108c
SS
29454 * gdb.base/scope.exp: Use gdb_test.
29455 * gdb.c++/classes.exp: Ditto.
29456 * gdb.c++/inherit.exp: Ditto.
29457
29458Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
29459
29460 * gdb.base/crossload.exp: Don't use execute_anywhere, use
29461 remote_exec instead.
29462 * gdb.base/corefile.exp: Don't be ridiculous.
29463 * gdb.base/*.c: Add missing stub invocations.
29464
29465Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
29466
29467 * config/slite.exp: Miscellaneous fixes.
29468
29469 * lib/gdb.exp: Fix runto.
29470
29471 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
29472 the target.
29473
29474 * gdb.base/watchpoint.exp: Fix regexp.
29475
29476 * lib/gdb.exp(default_gdb_exit): Add a catch to the
29477 close and wait commands, as the descriptor may now be
29478 invalid. Always call "remote_close host".
29479
29480Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
29481
29482 Major rewrite for testsuite revision.
d63a86f8 29483
c906108c
SS
29484 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
29485 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
29486 instead of relying on spawn_id to always contain a valid
29487 spawn id.
29488 (get_compiler_info): New procedure to build the ${binfile}.ci
29489 file, instead of replicating this in N different places.
29490 (gdb_compile): New procedure.
d63a86f8 29491
c906108c 29492 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
29493 appropriate arguments) instead of compile. Use gdb_test in a lot
29494 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
29495 at the start of a testcase, as this is no longer done magically.
29496
29497 config/*-gdb.exp: Rename without the -gdb suffix.
29498
29499 config/mips.exp: Use remote_close instead of exit_remote_shell.
29500 config/monitor.exp: Use target_info instead of looking at
29501 baud, timeout, etc.
29502 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
29503
29504Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29505
29506 * gdb.c++/templates.exp (test_ptype_of_templates),
29507 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
29508 Update expect patterns for destructors and assignment operators
29509 to match corresponding c-typeprint.c changes.
29510 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
29511 to destructor breakpoint test, GDB should be able to set the
29512 destructor breakpoint without specifying arguments.
29513
29514Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
29515
29516 * gdb.threads/pthreads.exp: Change result for failure to compile due
29517 to lack of pthreads runtime support from an error to simply an
29518 unsupported test, per dejagnu standards.
29519
29520Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29521
29522 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
29523 where GDB exits to reduce pattern match time.
29524 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
29525
29526 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
29527
dc96c6c7 29528Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29529
29530 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
29531 * gdb.base/default.exp: ditto.
29532 * gdb.base/nodebug.exp: ditto.
29533 * gdb.base/printcmds.exp: ditto.
29534 * gdb.base/ptype.exp: ditto.
29535 * gdb.base/setvar.exp: ditto.
29536 * gdb.base/structs.exp: ditto.
29537 * gdb.base/setshow.c: Guard against uninitialized values of argc.
29538
29539Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
29540
29541 * configure, */configure: Rebuild with autoconf 2.12.
29542
29543Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
29544
29545 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
29546 use new i*86-pc-linux*-gnu quads.
29547 * gdb.base/corefile.exp: Ditto.
29548 * gdb.base/signals.exp: Ditto.
29549 * gdb.base/sigall.exp: Ditto.
29550 * gdb.base/interrupt.exp: Ditto.
29551
29552 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
29553 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
29554 RedHat 4.0.
d63a86f8 29555
c906108c 29556 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
29557 linux. This allows the test case to at least compile on latest
29558 linux, but still not run due to missing the threads runtime library.
c906108c
SS
29559
29560Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29561
29562 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
29563 directory to search gdb directory. Accept and step over conditional
29564 stack alignment code. Consume $prompt in failure cases.
29565 Reset timeout to $oldtimeout instead of some arbitrary value.
29566 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
29567 timeout problems with infinite stack backtraces.
29568 * gdb.base/ptype.exp (ptype struct link, union tu_link):
29569 Accept function parameters for linkfunc member.
29570
29571Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
29572
29573 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
29574 (CXXFLAGS): Remove, unreferenced.
29575 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
29576 previous -B options and also add -B option to pick up cross compiled
29577 runtime.
c906108c
SS
29578 (TARGET_INCLUDES): Add for -I options and add code to initialize when
29579 doing cross compiles.
29580 (target_alias): Declare global.
29581 (xgcc): Set variable to full path of gcc in build tree. Use findfile
29582 to verify that gcc exists in build tree, and if so set CC to that
29583 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 29584
c906108c
SS
29585Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
29586
29587 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
29588 ptype test for anonymous union. Fixup testcase to match
29589 current gcc debug output.
29590
29591Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
29592
29593 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
29594 force argument to an unsigned long type.
29595
29596Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
29597
29598 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 29599 tests and anonymous union print/ptype tests.
c906108c
SS
29600 * gdb.base/list.exp (test_forward-search): Increase timeout by
29601 5 minutes for the "search extremely long line" case.
29602 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
29603 completely optional and that the pass/fail messages use the command as
29604 the message if that third arg is a null string.
29605 (gdb_test_exact): Arrange that a null string pattern means match a
29606 null string output rather than any output, which might include random
889bf7c5 29607 errors.
c906108c
SS
29608 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
29609 backtrace test.
29610 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
29611 always failing and failure is now exposed by gdb.exp changes.
29612
29613Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
29614
29615 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
29616 weren't being noted.
29617
29618Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29619
29620 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
29621 * gdb.stabs/weird.exp: Remove v_comb xfails.
29622
dc96c6c7 29623Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29624
29625 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 29626 list.exp scope.exp watchpoint.exp]
c906108c 29627 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 29628
dc96c6c7 29629Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29630
29631 * config/monitor.exp: Increase download timeout to 1000 seconds.
29632
dc96c6c7 29633Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29634
29635 * config/m32r.exp: Increase timeout to 120 seconds.
29636
29637Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
29638
29639 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
29640 and accept older ordering as obsolescent gcc or gdb.
29641 * gdb.c++/templates.exp: Ditto.
29642 * gdb.c++/virtfunc.exp: Ditto.
29643
29644Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
29645
29646 * gdb.base/coremaker.c: Add code to mmap some data so we
29647 can check that it ends up in the core file.
29648 * gdb.base/corefile.exp: Add test to read mmapped data
29649 from core file.
29650
dc96c6c7 29651Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29652
29653 * config/m32r.exp: New file.
29654
29655Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
29656
29657 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
29658 that cflags can contains -gstabs, and work correctly for other tests.
29659
dc96c6c7 29660Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
29661
29662 * gdb.base/setshow.exp: New file, tests show and set.
29663 * gdb.base/setshow.c: New file, tests show and set.
29664 * gdb.base/help.exp: Add test for help set|show annotate.
29665 * gdb.base/default.exp: Add test for set|show annotate.
29666
29667Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
29668
29669 * testsuite/gdb.base/break.exp: Make backtrace from factorial
29670 errors unique.
29671 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
29672 explicitly.
29673
29674Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
29675
29676 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
29677 and width commands. This is done elsewhere.
29678 * (gdb_start): Don't call gdb_start_sim here. That's already
29679 done in gdb_load. This fixes lots of failures in default.exp.
29680
29681Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
29682
29683 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
29684 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
29685 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
29686 in the same we we treat other failures (since it may be an expected
889bf7c5 29687 condition), rather than as an error.
c906108c
SS
29688 * gdb.base/signals.exp (test_handle_all_print): Revert back to
29689 old test format.
29690
29691Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
29692
29693 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
29694 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 29695 twice. Nuke the duplicates.
c906108c 29696 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 29697 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
29698 Remove config.h along with other config files.
29699
29700Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
29701
29702 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
29703 "p func1 ()" and note that rests of tests are skipped.
29704 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 29705 setup_xfails for "print func2::coremaker_local".
c906108c
SS
29706 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
29707 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
29708 affected by the previous run test.
29709 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
29710 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
29711 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
29712 "pass int powerset tuple" and "pass modeless int powerset tuple".
29713 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
29714 "real write 4" and "real write 8".
29715 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 29716 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
29717 "print \$i after tuple assign 2", and
29718 "print vs2 after tuple assign 2".
29719 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
29720 meaningful error message and return -1 so the caller can
29721 suppress further tests and avoid a cascade of errors.
d63a86f8 29722
c906108c
SS
29723Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
29724
29725 * gdb.base/a1-selftest.exp: Tweak tests to account for new
29726 format for printing version.
29727 * gdb.base/default.exp: Ditto.
29728 * gdb.base/interrupt.exp: Fix problem with cascade of
29729 errors if child process dies while calling a function.
d63a86f8 29730
c906108c
SS
29731Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
29732
29733 * Makefile.in (VPATH): Add
29734 * Makefile.in (Makefile, config.status): Fix rules so things get
29735 remade when necessary.
29736
29737Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
29738
29739 * Makefile.in (just-check): Add path to sibling expect dir
29740 to environment variable specified by RPATH_ENVVAR.
29741
29742Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
29743
29744 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
29745 (just-check): Add shared library paths for libstdc++, tk,
29746 tcl, bfd, and opcodes to the environment variable specified
29747 in RPATH_ENVVAR.
29748 * configure.in: Add support to recognize --enable-shared flag
29749 and generate correct value for RPATH_ENVVAR.
29750 * configure: Regenerated with autoconf.
29751
29752Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
29753
29754 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 29755 include all osf versions.
c906108c
SS
29756 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
29757 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
29758 when target is linux. When failing to build pthreads test
29759 executable, give more meaningful message.
29760 * gdb.threads/pthreads.c: Hpux also uses old definition of second
29761 arg for pthread_create.
d63a86f8 29762
c906108c
SS
29763Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
29764
29765 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 29766 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 29767 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 29768 and -lpthreads (everybody else).
c906108c
SS
29769 (test_startup): Fail gracefully if threads are not supported.
29770 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
29771 "p/c array_index("abcdef",2)" when not gcc compiled.
29772 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
29773 "print func2::coremaker_local" when not gcc compiled.
29774 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
29775 "ptype on opaque struct tagname (statically)",
29776 "ptype on opaque struct tagname (dynamically) 1", and
29777 "ptype on opaque struct tagname (dynamically) 2"
29778 for not compiled with gcc.
29779 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
29780 backtrace when compiled with gcc.
d63a86f8 29781 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
29782 than always return success.
29783
29784Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
29785
29786 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
29787
29788Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
29789
29790 * gdb.base/structs.exp: Undo last change.
29791
29792Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
29793
29794 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
29795 encapsulate all the steps/nexts done during self test, starting
29796 at main, and makes them less sensitive to optimization issues.
29797 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
29798 signal handler" test.
29799 * gdb.threads/pthreads.exp: Only run this for native configs.
29800 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
29801 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
29802 tests.
29803 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
29804 for "runto test_calls(void)" test.
d63a86f8 29805
c906108c
SS
29806Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
29807
29808 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
29809 and don't expect address info in breakpoint confirmations.
29810
29811Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
29812
29813 * gdb.base/list.exp (test_forward_search): Increase timeout
29814 temporarily by 60 seconds for searching extremely long line,
889bf7c5 29815 and then reset to old value when done. Increase expect input
c906108c
SS
29816 buffer to 10000.
29817
29818Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
29819
29820 * gdb.base/list.exp (test_forward_search): Fix to handle very
29821 long source line without overflowing expect's input buffer.
29822
29823Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
29824
29825 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
29826 "buffer_full".
29827
29828 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
29829 "buffer_full".
29830
29831 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
29832 "buffer_full".
29833
29834 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
29835 "buffer_full".
29836
29837Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
29838
29839 * configure.in (configdirs): Add gdb.threads.
29840 * configure: Regenerated with autoconf.
29841 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
29842 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
29843 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 29844
c906108c
SS
29845Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
29846
29847 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
29848
29849Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
29850
29851 * gdb.base/signals.exp (test_handle_all_print): Test separately for
29852 each signal's status in the output of "handle all print".
29853 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
29854 the \r\n sequence that immediately precedes the gdb prompt.
29855 * gdb.base/a1-selftest.exp: Save original timeout and restore
29856 after test.
29857
29858Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
29859
29860 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
29861 symbol.
29862
29863Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
29864
29865 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
29866
29867Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
29868
29869 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
29870 timeout by 60 seconds.
29871
29872Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
29873
29874 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
29875 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
29876 error return.
29877
29878Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
29879
29880 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
29881 gdb initialization, also report how long dejagnu waited. Restore
29882 old timeout before doing error return. Temporarily increase timeout
889bf7c5 29883 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
29884
29885Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
29886
29887 * lib/gdb.exp: Report timeout value for verbosity level 2.
29888 * config/gdbserver.exp: Ditto.
29889 * config/hppro.exp: Ditto.
29890 * config/mips-gdb.exp: Ditto.
29891 * config/monitor.exp: Ditto.
29892 * config/netware.exp: Ditto.
29893 * config/sim-gdb.exp: Ditto.
29894 * config/slite-gdb.exp: Ditto.
29895 * config/udi-gdb.exp: Ditto.
29896 * config/unix-gdb.exp: Ditto.
29897 * config/vx-gdb.exp: Ditto.
29898 * gdb.base/a1-selftest.exp: Ditto.
29899 * gdb.base/a2-run.exp: Ditto.
29900 * gdb.base/break.exp: Ditto.
29901 * gdb.base/corefile.exp: Ditto.
29902 * gdb.base/list.exp: Ditto.
29903 * gdb.base/recurse.exp: Ditto.
29904 * gdb.base/scope.exp: Ditto.
29905 * gdb.base/signals.exp: Ditto.
29906
29907Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29908
29909 * gdb.threads/Makefile.in (docdir): Removed.
29910
29911Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
29912
29913 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 29914 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 29915 @srcdir@.
d63a86f8 29916 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
29917 autoconf 2.5 or higher.
29918 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
29919
29920Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
29921
29922 * configure: Regenerated.
29923 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
29924 avoid name clashes with SunOS headers.
29925
29926Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
29927
29928 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
29929
29930Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
29931
29932 * gdb.base/callfuncs.exp: Finish last change -- make sure the
29933 prototype information ends up in the compiler info file.
29934
29935Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
29936
29937 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
29938 attempting to regenerate it. Eliminate use of a temporary file
29939 and just generate the info file directly. Source it immediately,
29940 for consistency of use.
29941 * gdb.base/corefile.exp: Ditto
29942 * gdb.base/exprs.exp: Ditto.
29943 * gdb.base/funcargs.exp: Ditto.
29944 * gdb.base/langs.exp: Ditto.
29945 * gdb.base/list.exp: Ditto.
29946 * gdb.base/mips_pro.exp: Ditto.
29947 * gdb.base/nodebug.exp: Ditto.
29948 * gdb.base/opaque.exp: Ditto.
29949 * gdb.base/ptype.exp: Ditto.
29950 * gdb.base/scope.exp: Ditto.
29951 * gdb.base/setvar.exp: Ditto.
29952 * gdb.base/signals.exp: Ditto.
29953 * gdb.base/whatis.exp: Ditto.
29954 * gdb.c++/templates.exp: Ditto.
29955 * gdb.c++/virtfunc.exp: Ditto.
29956 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 29957 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
29958
29959Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29960
29961 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
29962 it got fixed by the recent lookup_minimal_symbol_by_pc change.
29963 Increase timeout, a lot of single stepping might be needed if the
29964 target has no hardware watchpoints.
29965
29966Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
29967
29968 * gdb.base/break.exp: Ignore compiler warnings when compiling
29969 break.c.
29970 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
29971 * gdb.base/default.exp: Add h8300 xfails. Handle messages
29972 from remote-sim.
29973 * gdb.base/exprs.exp: Add h8300 xfails.
29974 * gdb.base/funcargs.exp: Likewise.
29975 * gdb.base/nodebug.exp: Likewise.
29976 * gdb.base/printcmds.exp: Likewise.
29977 * gdb.base/ptype.exp: Likewise.
29978 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
29979 h8300 xfails.
d63a86f8 29980 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
29981 on the h8300.
29982 * gdb.base/funcargs.c: Explicitly make last constant argument to
29983 call_after_alloca_subr an unsigned long type.
29984 * gdb.base/return.c: Include stdio.h.
29985
29986Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
29987
29988 * config/abug.exp: New file for the older Motorola Bug monitor
29989 that runs on the mvme13x series VME boards.
29990 * config/monitor.exp: Use the new config array for target settings
29991 if they exist.
29992
29993Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
29994
29995 * sim-gdb.exp: Make the SH simulator allocate less space when
29996 it is targeted.
29997
29998Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
29999
30000 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
30001 test.
30002
30003Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
30004
30005 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
30006 "rs6000-*-*" for "list function in include file" when gcc compiled.
30007 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
30008 for "p ctable1[120]".
30009 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
30010 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
30011 Remove setup_xfail for "rs6000-*-*" for
30012 "print 'scope0.c'::filelocal before run".
30013 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
30014 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
30015 since some compilers don't allow both options to be given
30016 on the same command line. Create object file and move it.
d63a86f8 30017
c906108c
SS
30018Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
30019
30020 * gdb.base/corefile.exp: Always regenerate the core file, since
30021 we always regenerate the coremaker program. Detect special case
30022 where registers cannot be read from core file.
d63a86f8 30023
c906108c
SS
30024Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
30025
30026 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
30027 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
30028 * gdb.c++/templates.exp: Only match on basename of file since
30029 some formats like xcoff don't encode directory information.
30030 * gdb.stabs/weird.exp: Use the right sed script for powerpc
30031 and rs6000 AIX xcoff targets.
30032 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
30033 * configure: Regenerate.
30034 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
30035 here, rather than in distclean.
d63a86f8 30036
c906108c
SS
30037Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
30038
30039 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
30040 defined, and use it to compile the test case with -O2. The
30041 native compilation still uses no optimization.
30042 * gdb.base/mips_pro.c: Remove inline assembly code since
30043 it is compiled PIC by default, which results in assembler
30044 warnings that make the testsuite think the compilation
30045 was unsuccessful.
30046
30047Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
30048
30049 * gdb.c++/misc.exp: Add note to message for
30050 "print s.a for foo struct" that this is a known gcc 2.7.2
30051 and earlier bug.
30052
30053Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
30054
30055 * gdb.base/break.exp: Fix pattern for matching "Delete all
30056 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
30057 setup_xfail for deleting all breakpoints test. Fix various
30058 timeout messages to include "(timeout)".
30059 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
30060 for "p t_float_values2(3.14159,float_val2)".
30061 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
30062 for "continue to call2g" when gcc compiled.
30063 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
30064 "up to foo in langs.exp", "show language at foo in langs.exp",
30065 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
30066 and "show language at fsub in langs.exp".
30067 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
30068 "list line 1 in include file", "list message for lines past EOF",
30069 "list function in include file", "list list0.h:foo", and
30070 "list filename:function; nonexistant function".
30071 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
30072 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
30073 and "ptype t_char_array" to be for native cc only.
d63a86f8 30074
c906108c
SS
30075Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
30076
d63a86f8 30077 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 30078 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 30079 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
30080
30081Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
30082
30083 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
30084 "bt in signals.exp". This problem only appears when running
30085 the testsuite, and then only intermittently.
30086
30087Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
30088
30089 * gdb.base/return.exp (return_tests): Differentiate between
30090 two tests of continuing.
30091
30092Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
30093
30094 * */Makefile.in (maintainer-clean): Remove config.log.
30095 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
30096 * gdb.c++/Makefile.in (PROGS): Add inherit.
30097 (clean): Remove *.ci.
30098
30099Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
30100
30101 * gdb.c++/misc.cc: Add test code from Mike Stump.
30102 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
30103
30104Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
30105
30106 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
30107 to "alpha-*-osf2*" and add comment.
30108 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
30109 setup_xfail for "step over execarg initialization" and
30110 "step over corearg initialization".
c906108c
SS
30111 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
30112 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
30113 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 30114 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
30115 "print func2::coremaker_local", and "backtrace in corefile.exp".
30116 * gdb.base/signals.exp: Build and source signals.ci.
30117 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
30118 to be for gcc only.
30119 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 30120
c906108c
SS
30121Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30122
30123 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
30124 Feb 3 procfs.c change.
30125
30126Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
30127
30128 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
30129
30130Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
30131
30132 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
30133 from dejagnu's apparent default of 10 seconds, which gives random
30134 results when running the tests over NFS on moderately loaded systems.
30135 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
30136
30137Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
30138
30139 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
30140 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 30141 result reports.
c906108c
SS
30142
30143Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
30144
30145 * configure.in (CY_AC_PATH_TCLH): Remove.
30146 * configure: Regenerate.
30147
30148Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
30149
30150 * gdb.c++/Makefile.in (clean): Add missing '{'.
30151
30152Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
30153
30154 * lib/gdb.exp: Provide a default value for noinferior.
30155
30156 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
30157 Load libgloss.exp.
30158
30159Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
30160
30161 * gdb.disasm/hppa.exp: Compile directly into an executable, use
30162 the executable, not the .o to run the tests from.
30163
30164Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
30165
30166 * gdb.base/break.exp: Don't test for program exit or exit status
30167 if $noresults if nonzero.
30168 * gdb.base/langs.exp: Likewise.
30169 * gdb.base/watchpoint.exp: Likewise.
30170
30171 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
30172 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
30173 trying to compile the testcase.
30174
30175Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
30176
30177 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
30178 * gdb.base/signals.exp (continue to handler): Likewise.
30179
30180Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
30181
30182 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
30183
30184 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
30185
30186Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
30187
30188 * gdb.base/corefile.exp: Recognize "not found" as failure
30189 when trying to determine if a core file was generated.
30190 If no core file was generate the first time, try again without
30191 the ulimit -c to work around braindamaged shells.
30192
30193Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
30194
30195 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
30196 [] tests with "test" and enclose string in quotes.
30197 * gdb.stabs/configure: Rebuild
d63a86f8 30198
c906108c
SS
30199Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
30200
30201 Changes in sync with expect:
30202 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
30203 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
30204 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
30205 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
30206 argument to AC_REQUIRE.
30207 * configure: Regenerated.
30208
30209Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
30210
30211 * gdb.base/corefile.exp: When generating a core, discard any
30212 error messages about ulimit not found and the "core dumped"
30213 message from the shell that runs the coredumper.
30214
30215Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
30216
30217 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
30218
30219 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
30220 which sed script to run. Expect failure for v_comb test
30221 on PA targets too.
d63a86f8 30222
c906108c
SS
30223Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
30224
30225 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 30226 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
30227
30228Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
30229
30230 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
30231 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 30232 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
30233 * lib/gdb.exp (default_gdb_start): Fix typo.
30234 * gdb.base/corefile.exp: Allow "Core was generated by ..."
30235 messages to not include the full program name that caused
30236 the core dump since some systems (such as solaris) apparently
30237 truncate this path to about 80 characters.
30238 When generating a core file first try increasing the core file
30239 size limit to unlimited since some systems may default it to
30240 zero, and it is harmless to try it. Move the test for failing
30241 to generate a core file to where it will actually get executed.
30242 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
30243 new gdb result from g++ debug info improvements and make old
30244 pattern obsolescent. Also account for size_t differences
30245 (may be int or long).
30246 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
30247 initialization before function call is placed in the delay slot
30248 and thus appears to be skipped over by commands such as "next".
30249
30250Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
30251
30252 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
30253
30254Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
30255
30256 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
30257 input source file; fix code to compile test to deal with this
30258 convention.
30259 * gdb.c++/*.exp: Likewise.
30260
30261Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
30262
30263 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
30264 "bt in signals.exp".
30265
30266Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
30267
30268 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
30269 "step over execarg initialization" and
889bf7c5 30270 "step over corearg initialization".
c906108c
SS
30271
30272Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
30273
30274 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
30275 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
30276
30277Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
30278
30279 From Rob Savoye (rob@poseidon.cygnus.com)
30280 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
30281 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
30282 configure.in}, gdb.disasm/{Makefile.in, configure.in},
30283 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
30284 configure.in}: Major reworking for autoconfig.
c906108c
SS
30285 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
30286 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 30287 New files.
c906108c
SS
30288 * config/unix-gdb.exp: Make GDB global.
30289 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
30290 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
30291 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
30292 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
30293 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
30294 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 30295 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
30296 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
30297 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
30298 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
30299 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 30300 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
30301 to returns as necessary, arrange for test to compile own testcase
30302 executable.
c906108c 30303 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 30304
c906108c
SS
30305Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
30306
30307 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 30308 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
30309 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
30310 "backtrace through signal handler".
30311
30312Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30313
30314 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
30315 continuing from a job control stop signal.
30316 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
30317
30318Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
30319
30320 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
30321 * gdb.base/corefile.exp: Likewise.
30322 * gdb.base/funcargs.exp: Likewise.
30323
30324Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
30325
30326 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
30327 * config/monitor.exp: Add support for setting baud rate.
30328
30329Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
30330
30331 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
30332 i*86-*-linux* xfails for "backtrace through signal handler".
30333 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
30334 "print func2::coremaker_local".
30335 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 30336 alpha-dec-osf2* xfail for
c906108c
SS
30337 "delete all breakpoints when none".
30338
30339Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
30340
30341 * gdb.base/break.exp: Change test that deletes all breakpoints
30342 when no user breakpoints are installed. A post 4.15 change
30343 causes gdb to no longer prompt in this case.
30344
30345Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
30346
30347 * gdb.base/return.exp (return_tests): Change xfail for test
30348 "correct value returned double test" to stop xfailing at
30349 Solaris 2.5. Apparently the bug has been fixed.
30350
30351Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
30352
30353 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
30354 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
30355
30356Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
30357
30358 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
30359 * gdb.disasm/hppa.s: Corresponding changes.
30360
30361Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
30362
30363 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
30364 makefile fragment.
30365 * config/mt-hpux: Deleted.
30366
30367Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
30368
d63a86f8 30369 * Many files: When warning about suppressed tests due to a
c906108c
SS
30370 nonexistant test binary, avoid incrementing the warning count.
30371
30372Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
30373
30374 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 30375
c906108c
SS
30376Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30377
30378 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
30379 "sparc-*-solaris2*".
30380
30381Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30382
30383 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
30384 Add global and local variables and initialize them.
30385 * gdb.base/corefile.exp: Test correct mapping of corefile sections
30386 by printing variables. Remove rs6000 and powerpc xfails, BFD now
30387 extracts the file name and terminating signal from the core file.
30388 * TODO: Remove note about tests for correct mapping of corefile.
30389 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
30390 from optimizing it away.
30391 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
30392 handles common blocks.
30393
30394Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
30395
30396 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
30397 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
30398
30399Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
30400
30401 * Makefile.in (maintainer-clean): New target, synonym for
30402 realclean.
30403 * gdb.base/Makefile.in (maintainer-clean): Likewise.
30404 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
30405 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
30406 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
30407 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
30408 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
30409
30410Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
30411
30412 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
30413 xfails when not gcc compiled for "print foo::funclocal".
30414 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
30415 "print foo::funclocal at foo",
30416 "print 'scope1.c'::foo::funclocal at foo",
30417 "print foo::funclocal_bss at foo",
30418 "print 'scope1.c'::foo::funclocal_bss at foo",
30419 "print foo::funclocal_ro at foo",
30420 "print 'scope1.c'::foo::funclocal_ro at foo",
30421 "print bar::funclocal at foo" and
30422 "print 'scope1.c'::bar::funclocal at foo".
30423 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
30424 gcc compiled for "print foo::funclocal at bar".
30425 Expand all messages to ensure that they identify that
30426 the test is at bar().
30427 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
30428 gcc compiled for:
30429 "ptype on opaque struct pointer (statically)",
30430 "ptype on opaque struct tagname (statically)",
30431 "ptype on opaque struct pointer (dynamically) 1",
30432 "ptype on opaque struct tagname (dynamically) 1",
30433 "ptype on opaque struct pointer (dynamically) 2" and
30434 "ptype on opaque struct tagname (dynamically) 2
30435 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
30436 gcc compiled for:
30437 "p datalocal"
30438 "whatis datalocal",
30439 "ptype datalocal",
30440 "p bsslocal",
30441 "whatis bsslocal", and
30442 "ptype bsslocal".
30443 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
30444 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
30445 when not gcc compiled.
30446 * gdb.base/funcargs.exp (float_and_integral_args): Add
30447 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
30448 compiled.
30449 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
30450 "backtrace from call6a" when not gcc compiled.
30451 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
30452 "backtrace from call7a" when not gcc compiled.
30453 * gdb.base/callfuncs.exp (do_function_calls):
30454 Add "hppa*-*-hpux*" xfail when not gcc compiled for
30455 "p t_char_array_values(char_array_val2,char_array_val1)",
30456 "p t_char_array_values(char_array_val1,char_array_val2)",
30457 "p t_char_array_values("carray 1","carray 2")",
30458 "p t_char_array_values("carray 1",char_array_val2)",
30459 "p t_char_array_values(char_array_val1,"carray 2")",
30460 "p sum_args(1,{2})",
30461 "p sum_args(2,{2,3})",
30462 "p sum_args(3,{2,3,4})",
30463 "p sum_args(4,{2,3,4,5})"
30464 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
30465 "backtrace in corefile.exp" when not gcc compiled.
30466
30467Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30468
30469 * gdb.base/signals.exp: Rewrite `handle all print' test as
30470 a procedure. Accept blanks or TABs as whitespace, increase
30471 timeout and expect input buffer size for the large output
30472 from the command. Remove "i*86-*-bsdi2.0" xfail.
30473
30474Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30475
30476 * gdb.base/setvar.exp: Add new testcases for truncation when
30477 assigning invalid values to bitfields.
30478
30479Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
30480
d63a86f8 30481 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
30482 mips-sgi-irix* xfail for
30483 "call inferior func with struct - returns char *"
30484 and fix test so that an optional (unsigned char *) cast is
889bf7c5 30485 accepted in the result.
c906108c
SS
30486
30487Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
30488
30489 * gdb.base/funcargs.exp (float_and_integral_args): Remove
30490 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
30491 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
30492 * gdb.base/signals.exp: Remove duplicate "handle all print" test
30493 that accidentally got checked in.
30494
30495Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
30496
d63a86f8 30497 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
30498 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
30499 compiled test.
30500 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
30501 Add mips-sgi-irix5* xfail for not gcc compiled.
30502 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
30503 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
30504 compiled for "p top", "whatis top", "p middle", and "whatis
30505 middle".
c906108c
SS
30506 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
30507 "whatis signed char" for not gcc compiled.
30508 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
30509 "set variable signed char=-1 (-1)" and
30510 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
30511 * gdb.base/funcargs.exp (float_and_integral_args):
30512 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
30513 Add mips-sgi-irix* xfail when not gcc compiled for
30514 "continue to call2b".
30515 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
30516 "continue to call2g".
6fdff2c5
PA
30517 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
30518 compiled for "backtrace from call6a"
30519 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
30520 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
30521 when not gcc compiled for "backtrace from call7a".
c906108c
SS
30522 (localvars_after_alloca): Fix gdb_test cmds for
30523 "print * after runto ...".
30524 Remove rs6000-*-* xfails for
30525 "print i after runto localvars_after_alloca" and
30526 "print l after runto localvars_after_alloca"
30527 for all compilers.
30528 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 30529 when not compiled with gcc, for:
c906108c
SS
30530 "print signed char == (minus)",
30531 "print signed char != (minus)",
30532 "print signed char < (minus)",
30533 "print signed char > (minus)".
30534 * gdb.base/callfuncs.exp (do_function_calls):
30535 Add mips-sgi-irix* xfail, when compiled with native compiler, for
30536 "call inferior func with struct - returns char *".
d63a86f8 30537 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
30538 "correct value returned double test" to include Solaris 2.4.
30539 * gdb.base/funcargs.exp (float_and_integral_args):
30540 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 30541
c906108c
SS
30542Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30543
30544 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
30545 enumeration bitfields if compiling with GNU C.
30546 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
30547 to empty' prompt.
30548
30549Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
30550
30551 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
30552 test for PRO targets.
30553
30554 * gdb.base/funcargs.exp: Avoid ever setting more than 8
30555 breakpoints in the inferior at any given time by making
30556 two groups of breakpoints for call2*, call6* and call7*
30557 tests.
30558
30559Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30560
30561 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
30562 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
30563 from optimizing it away.
30564 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
30565 "call inferior func with struct".
30566
30567Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
30568
30569 * configure.in: Only configure gdb.chill for particular targets.
30570
30571Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
30572
30573 * gdb.base/Makefile.in: Add action to .c.o transformation
30574 rule that generates a .ci file for each .o file and remove
30575 explicit .c.o rules except for callfuncs.o.
30576 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
30577 generates a .ci file for each .o file and remove explicit
30578 .cc.o rules.
30579 (clean): Remove *.tmp *.ci files.
30580 (EXECUTABLES): Remove templ-info.exp.
30581 * gdb.base/compiler.c: New file.
30582 * gdb.c++/compiler.cc: New file
30583 * gdb.base/scope.exp: Source gdb.base/scope.ci.
30584 Change rs6000-*-* xfail for
30585 "print 'scope0.c'::filelocal_ro" and
30586 "print 'scope1.c'::filelocal" and
30587 "print 'scope1.c'::filelocal_bss" and
30588 "print 'scope1.c'::filelocal_ro" and
30589 "print 'scope1.c'::foo::funclocal" and
30590 "print 'scope1.c'::foo::funclocal_ro" and
30591 "print 'scope1.c'::bar::funclocal" and
30592 "print 'scope0.c'::filelocal_ro" and
30593 "print 'scope1.c'::filelocal at foo" and
30594 "print 'scope1.c'::filelocal_bss at foo" and
30595 "print 'scope1.c'::filelocal_ro at foo" and
30596 "print 'scope1.c'::foo::funclocal at foo" and
30597 "print 'scope1.c'::foo::funclocal_bss at foo" and
30598 "print 'scope1.c'::foo::funclocal_ro at foo" and
30599 "print 'scope1.c'::bar::funclocal at foo" and
30600 "print 'scope0.c'::filelocal_ro" and
30601 "print 'scope1.c'::filelocal" and
30602 "print 'scope1.c'::filelocal_bss" and
30603 "print 'scope1.c'::filelocal_ro" and
30604 "print 'scope1.c'::foo::funclocal" and
30605 "print 'scope1.c'::foo::funclocal_bss" and
30606 "print 'scope1.c'::foo::funclocal_ro" and
30607 "print 'scope1.c'::bar::funclocal" and
30608 "print 'scope1.c'::bar::funclocal_bss"
30609 to only be xfail'd when not compiled with gcc.
d63a86f8 30610 Add rs6000-*-* xfail for
c906108c
SS
30611 "print 'scope0.c'::filelocal_bss before run"
30612 when compiled with gcc.
30613 (test_at_main): Add rs6000-*-* xfail for
30614 "print filelocal_ro in test_at_main"
30615 when compiled with gcc.
30616 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 30617 Add rs6000-*-aix* xfail for
c906108c
SS
30618 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
30619 "ptype t_char_array", not compiled with gcc.
30620 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
30621 xfail for "list foo (in include file)" when gcc compiled.
30622 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 30623 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
30624 "run to call0a" if not compiled with gcc.
30625 (unsigned_integral_args): Add rs6000-*-* xfail for
30626 "run to call1a" if not compiled with gcc.
30627 (float_and_integral_args): Add rs6000-*-* xfail for
30628 "run to call2a" if not compiled with gcc and for
30629 "continue to call2b" for any compiler.
30630 Add rs6000-*-* xfail to
30631 "print f1 after run to call2a" for gcc compiled.
30632 (discard_and_shuffle): Add rs6000-*-* xfail for
30633 "run to call6a".
30634 (shuffle_round_robin): Add rs6000-*-* xfail for
30635 "backtrace from call7a" if not compiled with gcc.
30636 Add rs6000-*-* xfail for
30637 "backtrace from call7b" if compiled with gcc.
30638 (call_after_alloca): Add rs6000-*-* xfail for
30639 "print c in call_after_alloca" and
30640 "print s in call_after_alloca" and
30641 "backtrace from call_after_alloca_subr"
30642 if not compiled with gcc.
30643 (localvars_in_indirect_call): Add rs6000-*-* xfail for
30644 "print c in localvars_in_indirect_call" and
30645 "print c in localvars_in_indirect_call" and
30646 "backtrace in indirectly called function" and
30647 "stepping into indirectly called function"
30648 if not compiled with gcc.
30649 (localvars_after_alloca): Add rs6000-*-* xfail for
30650 "print c after runto localvars_after_alloca" and
30651 "print s after runto localvars_after_alloca" and
30652 "print i after runto localvars_after_alloca" and
30653 "print l after runto localvars_after_alloca"
30654 for all compilers.
30655 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
30656 than whatis-info.exp.
30657 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
30658 than opaque-info.exp.
30659 Setup rs6000-*-* xfail for
d63a86f8 30660 "ptype on opaque struct pointer (statically)" and
c906108c
SS
30661 "ptype on opaque struct pointer (dynamically)" when
30662 not compiled with gcc.
30663 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
30664 rather than callf-info.exp.
30665 (do_function_calls): Add clear_xfail for rs6000-*-* for
30666 "p t_float_values2(3.14159,float_val2)". Seems to work
30667 fine there, both with xlc and gcc. Need to find out what
30668 it is doing right and fix other platforms.
30669 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
30670 "call inferior func with struct - returns int",
30671 "call inferior func with struct - returns long",
30672 "call inferior func with struct - returns float",
30673 "call inferior func with struct - returns double",
30674 "call inferior func with struct - returns char *",
30675 but only if not gcc compiled (presumes xlc compiled).
30676 Change rs6000-*-* xfails for
30677 "call inferior func with struct - returns char" and
30678 " call inferior func with struct - returns short" to only
30679 xfail if not using gcc.
30680 (clean mostlyclean): Remove *.ci and *.tmp files.
30681 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
30682 than templ-info.exp.
30683 * gdb.base/langs.exp: Source gdb.base/langs.ci.
30684 Add rs6000-*-* xfail for "up to foo in langs.exp"
30685 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 30686 when not gcc compiled.
d63a86f8 30687
c906108c
SS
30688Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30689
30690 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
30691 * gdb.base/corefile.exp: Likewise.
30692 * gdb.base/list.exp: Likewise.
30693 * gdb.base/scope.exp: Likewise.
30694 * gdb.base/siganls.exp: Likewise.
30695
30696 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
30697 compiler output.
30698 * gdb.base/whatis.exp: Likewise.
30699
30700Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
30701
30702 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
30703 failure (opcode table has been fixed to match reality).
30704
30705Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
30706
30707 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
30708 "call inferior func with struct - returns char",
30709 "call inferior func with struct - returns short"
30710
30711 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
30712 "print 'scope0.c'::filelocal at main",
30713 "print 'scope0.c'::filelocal_bss in test_at_main",
30714 "print 'scope0.c'::filelocal at foo",
30715 "print 'scope0.c'::filelocal_bss in test_at_foo",
30716 "print 'scope0.c'::filelocal at bar",
30717 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 30718
c906108c
SS
30719 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
30720 in source file 1". This bug seems to have been fixed with both
30721 gcc and native cc (was native assembler bug?).
30722
30723Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
30724
30725 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
30726 "backtrace through signal handler" to "i*86-*-sysv4*".
30727 * gdb.base/signals.exp: Add xfail for "'next' behaved as
30728 continue" case. Add "known SVR4 bug" to fail message.
30729 Add "i*86-*-bsdi2.0" xfail for "handle all print".
30730 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
30731 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
30732 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
30733 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
30734 "up to foo in langs.exp", "show language at foo in
30735 langs.exp", "up to cppsub_ in langs.exp", "show
30736 language at cppsub_ in langs.exp", "up to fsub in
30737 langs.exp", and "show language at fsub in langs.exp".
30738 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
30739 "bactrace in corefile.exp".
30740 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
30741 "call inferior function with struct - returns float" and
30742 "call inferior function with struct - returns double".
d63a86f8 30743
c906108c
SS
30744Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
30745
30746 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
30747 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
30748 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
30749 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
30750
30751Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
30752
30753 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
30754 (or overriden) "CHILL" macro rather then bare "gcc".
30755 Also look for ../../gcc/xgcc since that is what we will
30756 actually need, not "Makefile". Remove following assignment
30757 of CHILL to CHILL_FOR_TARGET because that results in
30758 recursive definition.
30759
30760Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
30761
30762 * gdb.base/corefile.exp: Change xfail for backtrace in
30763 corefile.exp from linuxaout to all linux.
30764 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
30765 cases where we miss the breakpoint at the signal handler
30766 for some reason. Setup xfail for linuxoldld/linuxaout and
30767 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
30768 hitting SIGURG breakpoint.
30769 * gdb.base/signals.exp: Setup xfail for "next" acting like
30770 continue to add linuxoldld. Setup xfail for all linux for
30771 "next to handler in signals_tests_1", "backtrace in
30772 signals_tests_1", "continue to func1", "pass SIGUSR1",
30773 and continue to handler".
30774
30775Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
30776
30777 * Update all FSF addresses except those in COPYING* files.
30778
30779Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
30780
30781 * gdb.base/a2-run.exp: Change messages to be more explicit about
30782 the status of args, and quote binfile in results.
30783
30784Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
30785
30786 * gdb.base/callfuncs.exp: Add tests for passing structs to
30787 inferior functions and return various types.
30788 * gdb.base/callfuncs.c: Add functions to receive a struct
30789 and return a member of the struct, in various types.
30790
30791Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30792
30793 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
30794
30795Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
30796
30797 * config/vxworks29k.exp: New file, sources vxworks.exp.
30798
30799Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30800
30801 * config/gdbremote.exp: New file. Testing framework using
30802 gdbserver.
30803
30804Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
30805
30806 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
30807 "call function when asleep" and "send end of file".
30808 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
30809 for "backtrace in corefile.exp".
30810 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
30811 for "backtrace through signal handler".
30812 * gdb.base/corefile.exp: Make sure we actually generate a core file
30813 before trying the core tests. Some systems allow the user to suppress
30814 generation of core files and default to that (linux for example).
30815 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
30816 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
30817
30818Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30819
30820 * gdb.threads: New directory with some crude multi-threaded
30821 gdb tests (step.exp and step2.exp).
30822 * config/mt-lynx (STEP_EXECUTABLE): Define.
30823 (THREADFLAGS): Define.
30824
30825Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
30826
30827 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
30828
30829 * gdb.base/signals.exp: Disable whole file for lynx until
30830 further notice.
30831
30832 * gdb.base/signals.exp: xfail test where "next" acts like
30833 "continue" for lynx.
30834
30835 * gdb.base/interrupt.exp: xfail test for calling function while
30836 inferior is asleep for lynx.
30837
30838 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
30839 than one cr-lf after each command.
30840
30841Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30842
30843 * configure.in: Reinstate setting of stabsdirs variable, fix
30844 typo in setting up configdirs for native builds.
30845
30846 * gdb.base/return.exp: Fix typo in return double test.
30847 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
30848 compiler from optimizing them away.
30849
30850Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
30851
30852 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
30853 sequences to be echo'd by gdb when using gdb_test.
30854 * gdb.chill/chexp.exp: Likewise.
30855 * gdb.fortran/exprs.exp: Likewise
30856
30857Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
30858
30859 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
30860 after the inferior gdb has started.
30861
30862 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
30863 after each command.
30864 * gdb.base/funcargs.exp: Likewise.
30865 * gdb.base/gdbvars.exp: Likewise.
30866 * gdb.base/interrupt.exp: Likewise.
30867 * gdb.base/list.exp: Likewise.
30868 * gdb.base/watchpoint.exp: Likewise.
30869 * gdb.c++/demangle.exp: Likewise.
30870 * gdb.c++/inherit.exp: Likewise.
30871 * gdb.chill/chexp.exp: Likewise.
30872 * gdb.fortran/exprs.exp: Likewise.
30873
30874 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
30875 test if we can't handle IO to/from the inferior.
30876
30877 * gdb.c++/misc.exp: Always check for a program already being
30878 started after sending a "run" command to gdb.
30879
30880 * gdb.base/twice.exp: Start with a fresh gdb.
30881
30882 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
30883 only depend on gdb's expression code, not the chill runtime.
30884
30885 * gdb.base/return.c: Put return values into variables so we
30886 can have gdb print them rather than depending on the program
30887 to print them.
30888 * gdb.base/return.exp: Corresponding changes.
30889
30890 * lib/gdb.exp: Provide default value for noinferiorio.
30891 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
30892 the inferior.
30893
30894 * gdb.base/break.exp: Always check for a program already being
30895 started after sending a "run" command to gdb.
30896 (text_next_with_recursion): Don't check the output from the
30897 program's printf statement. Instead just make sure the program
30898 exited.
30899
30900 * gdb.base/commands.exp: Protect tests which need arguments with
30901 $noargs conditionals.
30902
30903Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30904
30905 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
30906 of structure member arrays to match gdb/valops.c:value_addr change.
30907
30908Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
30909
30910 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
30911 cases.
30912
30913Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
30914
30915 * configure.in (configdirs): Remove gdb.chill from default list
30916 of subdirs and then add it back in only if doing a native build.
30917 The current chill compiler does not yet work in any cross build.
30918 * Revert all signal changes from Jul 6.
30919 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
30920 for sh-hms targets, allowing these tests to link, with no other
30921 changes. Testing is suppressed by setting "nosignals" in site.exp.
30922
30923Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
30924
30925 * configure.in (signaldirs): Define and add to configdirs for all
30926 targets except some specific ones that are known to not support signals.
30927 Also clean up formatting.
30928 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
30929 (signals, sigall): Remove rules to build.
30930 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
30931 Moved to new gdb.signals directory.
30932 * gdb.signals: New test directory.
30933 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
30934 signals.c signals.exp}: New or moved files.
30935
30936Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
30937
30938 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
30939
30940Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30941
30942 * gdb.base/return.exp: Xfail `return double' test failure
30943 on at least Solaris 2.3 and handle future/past versions on
30944 a case by case basis as appropriate. Also update message
30945 to include i*86 failures.
30946
30947Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30948
30949 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
30950
30951 * lib/gdb.exp: Fix comment which erroneously identified
30952 gdb_file_cmd as gdb_load (the 19 May change was in fact to
30953 gdb_file_cmd not gdb_load).
30954 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
30955
30956 * gdb.base/setvar.exp: Make test names consistent between pass and
30957 fail cases. Use gdb_test more.
30958
30959Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30960
30961 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
30962
30963Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30964
30965 * gdb.base/help.exp: Fix expected help string for `show commands'.
30966
30967Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
30968
30969 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
30970
30971 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
30972 of a text section.
30973
30974Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
30975
30976 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
30977 that loop eventually terminates. Fix Connection refused logic so
30978 that testsuite will expire nicely.
30979
30980Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
30981
30982 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
30983 config/rom68k.exp: New tcl glue for the appropriate monitors.
30984 These all just end up calling monitor.exp.
30985 * config/monitor.exp (gdb_target_monitor): Handle `Connection
30986 refused' by retrying. Cleanup some timeout issues.
30987 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
30988 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
30989 callers don't have to set/restore global timeout variable.
30990
30991 * The following set of changes centralizes management of the global
30992 timeout variable. This way, it can be set in one target dependent
30993 place instead of dozens of places scattered throughout the test suite.
30994 If you need to lengthen a timeout, then you should either set timeout
30995 in one of the config/{target}.exp files, or multiply it by a factor.
30996 Setting it to an absolute value is always going to lose for some
30997 targets.
30998 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
30999 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
31000 * gdb.base/funcargs.exp: Don't set timeout.
31001 * gdb.base/list.exp (test_forward_search): Only use local timeout.
31002 * gdb.base/printcmds.exp (test_print_string_constants
31003 test_print_array_constants): Don't set timeout.
31004 * gdb.base/ptype.exp: Don't set timeout.
31005 * gdb.base/recurse.exp: Don't set timeout.
31006 * gdb.base/return.exp: Don't set timeout.
31007 * gdb.base/watchpoint.exp: Don't set timeout.
31008 * gdb.c++/classes.exp (do_tests): Don't set timeout.
31009 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
31010
31011Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
31012
31013 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
31014
31015Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31016
31017 * lib/gdb.exp: Disable chill tests for irix5.
31018
31019Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31020
31021 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
31022 each test pass or fail.
31023
31024Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31025
31026 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
31027 xlc not gcc.
31028
31029Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
31030
31031 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
31032
31033Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
31034
31035 * config/est.exp: Fix copyright and comments. Remove dead code.
31036 Use targetname, serialport and baud variables instead of fixed
31037 constants.
31038 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
31039 * config/cpu32bug.exp: New file to support cpu32bug monitors.
31040
31041Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31042
31043 * gdb.base/watchpoint.exp: Don't run
31044 test_watchpoint_triggered_in_syscall for sunos.
31045
31046Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31047
31048 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
31049 they don't seem to exist. Do include stdio.h.
31050
31051Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31052
31053 * gdb.base/a1-selftest.exp: Add alpha xfail.
31054
31055Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31056
31057 * gdb.base/watchpoint.c (main): Prompt before calling read().
31058 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31059 Revise accordingly. Remove cruft about sending "123" several
31060 times, until it gets noticed. Clean up the "print buf[0]" stuff
31061 so that it passes or fails, and waits for prompts in the usual way.
31062
31063Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31064
31065 * gdb.base/recurse.exp: Fix comment.
31066
31067 * TODO: Remove item about printing variables in nodebug.exp. Add
31068 item about enabling tests which are only run on some targets.
31069
31070 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
31071 fail, make test names unique, use new gdb_test convention
31072 regarding pattern, use gdb_test more, etc.).
31073
31074 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
31075 fail, make test names unique, etc.).
31076
31077Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31078
31079 * gdb.base/nodebug.c: Change return type of top and middle to
31080 short.
31081 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
31082 are fixed by the recent mdebugread.c changes. Allow `short ()'
31083 as type for top and middle.
31084
31085Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31086
31087 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
31088 nearly as I can tell, the whole thing was an accident in Stu's
31089 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
31090 to replace a send/expect pair with gdb_test, but ended up only
31091 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
31092 of 30 Mar 1995 took care of it, but left this vestigial comment
31093 which I am now nuking.
31094
31095Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31096
31097 * gdb.base/break.exp: Look for different line number for
31098 breakpoint at main depending on usestubs.
31099
31100Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31101
31102 * gdb.base/list.exp: Adjust some alternate expect patterns to
31103 match recent list0.c change. Add alternate expect pattern for
31104 output from `list default lines around main' for optimizing
31105 compilers.
31106
31107Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31108
31109 * lib/gdb.exp: If nosignals is not set, set it to 0.
31110
31111Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
31112
31113 * config/slite-gdb.exp: Responds to load symbol table prompt.
31114 * gdb.base/break.exp: Adjust line number, fix rerun.
31115 * gdb.base/langs0.c: Add #ifdef usestubs.
31116
31117Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
31118
31119 * gdb.base/list.exp: Adjust line contents after adding new lines in
31120 list0.c. Also fix a syntax error.
31121
31122 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
31123 * gdb.base/break.exp: ditto.
31124 * gdb.base/list.exp: ditto.
31125 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
31126 * gdb.base/run.c: ditto.
31127 * gdb.base/list0.c: ditto.
31128 * gdb.base/funcargs.c: ditto.
31129
31130Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
31131
31132 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
31133 $targetname, $serialport and $baud instead of hardwired variables.
31134 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
31135 target doesn't support signals.
31136
31137Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
31138
31139 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
31140
31141Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31142
31143 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
31144 Don't rely on the value of an auto variable before it has been
31145 initialized. Use gdb_test more.
31146
31147Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31148
31149 * lib/gdb.exp (default_gdb_version): A version number must start
31150 with a digit, but other than that contains all characters up to
31151 the first whitespace character.
31152
31153Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31154
31155 * gdb.base/commands.exp (breakpoint_command_test): New tests.
31156
31157Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31158
31159 * gdb.c++/*.exp: Warn if executable does not exist. The original
31160 reason for skipping the warning was that configure.in sometimes
31161 intentionally skipped building the executables but the tcl code
31162 had no way of knowing. That (a) was always bogus with respect to
31163 error handling, (b) is no longer true (right now there is no way
31164 to skip C++ tests).
31165
31166 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
31167
31168Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31169
31170 * gdb.base/list.exp: Add expect patterns for output from
31171 SunPRO compiled executables.
31172 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
31173 types.
31174
31175Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31176
31177 * gdb.base/break.exp (test_next_with_recursion): Accept any line
31178 number (we are already testing that the correct source line text
31179 gets printed).
31180
31181 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
31182 that is what is intended, but something needed to be done to get
31183 sunos4 native working again.
31184
31185 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
31186
31187 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
31188 apparently went with a (very) old xfail.
31189
31190Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
31191
31192 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
31193 runto_main is a proc in gdb.exp that will do 'step' for target use
31194 stubs.
31195 * gdb.base/exprs.exp: ditto.
31196 * gdb.base/interrupt.exp: ditto.
31197 * gdb.base/opaque.exp: ditto.
31198 * gdb.base/printcmds.exp: ditto.
31199 * gdb.base/ptype.exp: ditto.
31200 * gdb.base/scope.exp: ditto.
31201 * gdb.base/setvar.exp: ditto.
31202 * gdb.base/signals.exp: ditto.
31203 * gdb.base/twice.exp: ditto.
31204 * gdb.c++/classes.exp: ditto.
31205 * gdb.c++/inherit.exp: ditto.
31206 * gdb.c++/templates.exp: ditto.
31207 * gdb.base/break.exp: no run and hit main for stubs. Change line
31208 numbers for breakpoints and info breakpoint.
31209 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
31210 breakpoint().
31211 * gdb.base/callfuncs.c: ditto.
31212 * gdb.base/exprs: ditto.
31213 * gdb.base/interrupt.c: ditto.
31214 * gdb.base/opaque0.c: ditto.
31215 * gdb.base/printcmds.c: ditto.
31216 * gdb.base/ptype.c: ditto.
31217 * gdb.base/scope0.c: ditto.
31218 * gdb.base/setvar.c: ditto.
31219 * gdb.base/signals.c: ditto.
31220 * gdb.base/twice.c: ditto.
31221 * gdb.c++/misc.cc: ditto.
31222 * gdb.c++/templates.cc: ditto.
31223
31224Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31225
31226 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
31227
31228 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
31229 somewhere between `read' and `main.c'. I'm pretty sure the
31230 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
31231 and it isn't particularly useful.
31232
31233 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
31234
31235Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31236
31237 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
31238
31239Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
31240
31241 * config/mt-slite: add LIBS and -nostdlib.
31242 * config/slite-gdb.exp: add this new file to support sparclite target.
31243
31244Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
31245
31246 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
31247
31248 * gdb.base/a2-run.exp: Change argument to istarget from
31249 "*-*-vxworks" to "*-*-vxworks*".
31250 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
31251
31252Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
31253
31254 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
31255 will not runto main but do a 'step' to step out of breakpoint().
31256 * config/mt-slite: add -Dusestubs.
31257
31258Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31259
31260 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
31261 instead of just @.
31262
31263 * gdb.base/signals.exp: Add test for "handle all print".
31264 * TODO: Remove "handle all print". Also remove item about
31265 checking copyright date (I don't like the idea of a spurious FAIL
31266 based on when we run the tests).
31267
31268 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
31269 for SunOS4 (reason for failure not investigated). Remove
31270 redundant test for $binfile.
31271
31272 * gdb.base/nodebug.c (array_index): Call malloc.
31273
31274 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
31275
31276Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
31277
31278 * gdb.base/recurse.exp: Update gdb_test invocation to use new
31279 conventions and slightly simplify the matching regexp.
31280
31281Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31282
31283 * gdb.base/break.exp: Update gdb_test invocation to use new
31284 convention.
31285
31286 * lib/gdb.exp: If noargs is not set, set it to 0.
31287
31288 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
31289 tests unique.
31290
31291 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
31292
31293Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31294
31295 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
31296 one argument of type "<non-float parameter>".
31297
31298Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
31299
31300 * config/rom68k.exp: New file to support Motorola IDP board.
31301 * gdb.base/a2-run.exp: Skip this file if noargs is set.
31302 * gdb.base/break.c: Change things around so that this program
31303 doesn't depend upon args. This is necessary to make remote
31304 targets work (in general, they can't take args).
31305 * gdb.base/break.exp: Don't try to send args to program. Don't
31306 expect output. Also, replace lots of code with gdb_test.
31307
31308Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31309
31310 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
31311 printing of '\'' (which is what the comment says we are testing,
31312 even though we were not), not '''.
31313 (test_integer_literals_rejected): Test that printing ''' is an error.
31314
31315 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31316 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
31317 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
31318 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
31319 Use gdb_test not test_print_accept.
31320 * lib/gdb.exp: Remove test_print_accept.
31321
31322 * gdb.base/signals.exp (signal_tests_1): Make pass message
31323 consistent with fail message.
31324
31325 * gdb.base/whatis.exp: Remove xfails for printing char vs.
31326 unsigned char; the bug (PR 1821) is fixed.
31327
31328 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
31329
31330 * gdb.base/scope.exp (test_at_localscopes): Call pass for
31331 successful tests--makes xfailing them work right.
31332
31333Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31334
31335 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
31336 only \r\n, not .*. The test can pass .* as the last thing in
31337 $pattern if that is what it wants. In addition to providing this
31338 flexibility, this change should speed up pattern matching in cases
31339 where the pattern already ended with .* (there were a number of
31340 them). This change also helps catch bad patterns--in the old
31341 scheme the typo "char \*" instead of "char \\*" would pass. Now
31342 it is caught.
31343 * Many .exp files: Update callers.
31344
31345 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
31346 clearer and does not spuriously match multiple ('s. Likewise for
31347 ) and *.
31348
31349 * gdb.base/nodebug.exp: Test ability to call a function and pass
31350 it a string (even with no debugging info).
31351
31352 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
31353 "p '\'", which is the same as "p ''" once tcl gets done with
31354 quoting, to "p '\\'", which I suspect is what is intended (one
31355 backslash gets sent to GDB).
31356
31357 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
31358
31359Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31360
31361 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
31362 1817) was fixed literally years ago.
31363
31364Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31365
31366 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
31367 test, it causes stepping out of call_after_alloca_subr with
31368 optimizing compilers.
31369 (localvars_in_indirect_call): Consume GDB prompt if `finish'
31370 fails.
31371
31372 * gdb.c++/templates.exp: Source templ-info.exp only if
31373 the templates executable exists.
31374
31375 * gdb.c++/misc.cc (class Contains_static_instance,
31376 class Contains_nested_static_instance),
31377 gdb.c++/classes.exp (test_static_members): Test printing of
31378 a class that contains a static instance of the class.
31379
31380Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31381
31382 * gdb.base/langs2.c (cppsub_): Don't prototype.
31383 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
31384 only, I believe).
31385
31386Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31387
31388 * lib/gdb.exp (skip_chill_tests): New procedure.
31389
31390 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
31391
31392Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
31393
31394 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
31395 each expect pattern. Cuts runtime from 12 to about 4 seconds.
31396
31397Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31398
31399 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
31400
31401 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
31402 disassemble 8, not 16, instructions for part 4.
31403
31404 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
31405 support the latter anymore.
31406
31407 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
31408 -DNO_PROTOTYPES.
31409 * gdb.base/callfuncs.c: Control use of prototypes based on
31410 NO_PROTOTYPES, not __STDC__.
31411 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
31412 t_float_values2 tests if prototypes in use.
31413
31414 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
31415 t_double_values): When checking differences against DELTA, check
31416 that difference is within the range (-DELTA,DELTA), not just
31417 (-infinity,DELTA).
31418
31419Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
31420
31421 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
31422 'file' command firts, then 'target', then 'load', this is due to gdb
31423 target set up.
31424 * config/mips-gdb.exp: Fix a couple regular exp bugs.
31425
31426Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
31427
31428 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
31429 FP load/store variants.
31430 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
31431
31432Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31433
31434 * gdb.base/term.exp: Do not give a warning if not native, it is
31435 not an abnormal condition.
31436
31437Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
31438
31439 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
31440 t_char_array".
31441
31442Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
31443
31444 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
31445 are getting the version number.
31446
31447 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
31448 if not native, it is not an abnormal condition.
31449
31450Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31451
31452 * lib/gdb.exp: Just use "file exists", rather than undocumented
31453 dejagnu procedure "findfile".
31454
31455Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
31456
31457 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
31458 (LDFLAGS): Set to -Xlinker -Ur.
31459
31460 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
31461 Removed, these values are set by lib/gdb.exp.
31462
31463 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
31464
31465Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
31466
31467 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
31468 of replicating gdb startup code.
31469
31470 * config/mt-vxworks (LDFLAGS): Set to -r.
31471 (CFLAGS_FOR_TARGET): Removed.
31472
31473 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
31474 (gdb) and gdb for vxworks uses (vxgdb).
31475
31476 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
31477 executable is not in the tree and host != target, use sed and
31478 program_transform_name to determine the gdb name used by the
31479 target.
31480
31481 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
31482 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
31483
31484Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31485
31486 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
31487 floats, chars, and shorts where there are ANSI-style function
31488 definitions.
31489
31490 * gdb.base/langs.exp, gdb.base/langs*: New test.
31491 * gdb.base/Makefile.in: Build it.
31492 * TODO: Remove item about checking that C names don't get C++
31493 demangling applied; this test tests it.
31494
31495Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31496
31497 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
31498 went with the const70 xfail. The xfail went away a year ago.
31499
31500 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
31501
31502 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
31503 for hp300.
31504
31505 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
31506
31507 * gdb.base/a1-selftest.exp: Don't run on hp300.
31508
31509Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31510
31511 * Makefile.in (site.exp): Set host_alias and target_alias as well
31512 as host_triplet and target_triplet.
31513
31514Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31515
31516 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
31517
31518 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
31519 places as other ecoff systems).
31520
31521 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
31522 ultrix.
31523
31524Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31525
31526 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
31527 remove them.
31528 * gdb.base/nodebug.exp: Accept "function" in addition to "text
31529 variable and "variable" in addition to "data variable".
31530 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
31531
31532 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
31533 2.
31534 * gdb.base/list1.c (long_line): Add additional statement at start
31535 of function.
31536 * gdb.base/list.exp (test_forward_search): Update line number to
31537 reflect new statement.
31538
31539Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31540
31541 * gdb.base/signals.exp: Reinitialize searched source directories
31542 after gdb_start call.
31543
31544Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
31545
31546 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
31547 * gdb.stabs/Makefile.in: Likewise.
31548
31549 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
31550 change. Instead split the tests into smaller pieces.
31551 * gdb.disasm/hppa.s: Corresponding changes.
31552
31553Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31554
31555 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
31556 Quote ^C when passing it to stty. For some shells ^ is a pipe.
31557
31558 * gdb.base/funcargs.exp: Modify many tests so that every test
31559 either passes or fails. Make some test names unique.
31560
31561Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31562
31563 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
31564 Call stty to set interrupt character.
31565
31566 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
31567 for HP assembler versus GNU assembler based on actual behavior of
31568 $(CC), rather than assuming that $(AS) is always the GNU assembler.
31569
31570 * TODO: Suggest a few more stepping tests.
31571
31572Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
31573
31574 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
31575 restart GDB for h8300 after a continue.
31576 (return): Add pattern to match a29k-udi behavior.
31577 * gdb.base/nodebug.exp: Remove obsolete comment.
31578 * gdb.base/regs.exp: New file, testing of register displays.
31579 * gdb.base/return.exp: Fix typo in reference to $objdir.
31580 * gdb.base/whatis.exp: Always start with a fresh GDB.
31581
31582Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31583
31584 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
31585 higher, these tests generate a lot of output.
31586
31587Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31588
31589 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
31590 code following the catch silently ignored some errors; without the
31591 catch they should be thrown like any other tcl error. Also, the
31592 catch used "" instead of {} which meant all the callers who wanted
31593 to include one of the characters "[]$ had to quote it an extra time.
31594 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
31595 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
31596 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
31597 Remove extra quoting.
31598
31599Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
31600
31601 * gdb.base/commands.exp: Make test names unique; every test either
31602 passes or fails. Update some comments.
31603
31604 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
31605
31606Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31607
31608 The following fixes a FAIL caused by the fact that the alpha stabs
31609 configuration didn't use the ".if alpha" code in weird.def.
31610 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
31611 bit pointer, so the 32 bit version works even on the alpha.
31612 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
31613 Remove the stuff which allowed us to have separate versions for
31614 alpha and everything else.
31615
31616 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
31617 regexp which "info func operator\[\](" is supposed to match. Fix
31618 string to send to GDB. Note that GDB still doesn't work right. Add a
31619 new test for "info func .perator\[\](" which GDB does handle correctly.
31620
31621 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
31622
31623Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31624
31625 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
31626 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
31627 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
31628 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
31629 it makes the tests harder to understand and confuses test-o-matic.
31630 The preferred style is that each test provides a PASS or a FAIL,
31631 and has a unique message (e.g. "continue #54" not just "continue")
31632 which is the same for the pass and the fail.
31633 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
31634 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
31635 to lib/gdb.exp.
31636 * gdb.base/printcmds.exp: Use test_print_accept. Remove
31637 prt_accept which was basically the same thing. Likewise for
31638 test_print_reject and prt_reject.
31639 * lib/gdb.exp (test_print_reject): Add some more error message
31640 patterns to match from the former printcmds.exp (prt_reject).
31641 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
31642 One defect of the passcount stuff is that some of it failed to
31643 report XPASS where appropriate.
31644 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
31645 stuff before and after arg in expected pattern.
31646 (test_paddr_operator_functions): Re-do test without print_addr_of;
31647 this is the only test which seems to want extra stuff there.
31648
31649Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31650
31651 * gdb.base/nodebug.exp: Update new tests to reflect improved
31652 wording of gdb output.
31653
31654 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
31655 and "ptype" work on variables in files compiled without -g.
31656 Replaces commented out "maint print msymbol" tests.
31657
31658Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31659
31660 * gdb.base/setvar.c (dummy): Call malloc.
31661
31662 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
31663 losing with the irix4 sed.
31664
31665 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
31666 ALRM" on irix4.
31667
31668Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31669
31670 * TODO: Remove items about corefile.exp testing new exec-file and
31671 backtrace; both are now done. Add items about printing enums.
31672
31673Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31674
31675 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
31676 "get signal $thissig" test fails.
31677
31678 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
31679
31680Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31681
31682 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
31683 compiler warning with dec alpha compiler.
31684
31685 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
31686 extra \n from gdb_test call (this explains why the prompt test
31687 that I removed yesterday was there).
31688 (user_defined_command_test): Remove extra \n and prompt test.
31689
31690 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
31691 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
31692 doesn't exist.
31693 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
31694 Also remove alpha workaround, which turns out to be because
31695 SIGABRT == SIGLOST.
31696
31697 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
31698
31699 * gdb.base/help.exp: Don't test "help show".
31700
31701Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31702
31703 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
31704 "set print address" is on.
31705 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
31706 pass prompt to gdb_test; gdb_test already looks for the prompt.
31707
31708 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
31709
31710 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
31711 was a vestige of the manual TESTSTRATEGY, and the purpose of it
31712 was to make sure that gdb can read a core file. But (a) the "read
31713 the corefile" part didn't make it to a1-selftest.exp, we just
31714 delete the corefile after creating it, and (b) we test reading
31715 corefiles in corefile.exp anyway. Also, this test left around a
31716 xgdb process on Solaris.
31717
31718 * gdb.base/corefile.exp: Also test backtrace.
31719
31720Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
31721
31722 * gdb.base/commands.exp: Test a simple user defined command with
31723 arguments and if/while statements; verify the full user command is
31724 printed by "show user".
31725
31726 * gdb.base/commands.exp: Test if/while commands as part of a
31727 breakpoint command list; verify they appear in breakpoint
31728 information.
31729
31730Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31731
31732 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
31733 than by dividing by zero.
31734
31735Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
31736
31737 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
31738 performing an inferior call with watchpoints enabled.
31739 * gdb.base/watchpoint.c (main): Delete second unnecessary read
31740 call.
31741
31742Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31743
31744 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
31745 of "file" command.
31746
31747 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
31748 Add additional pattern for when "int operator int(void);" appears
31749 in a different order.
31750
31751Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
31752
31753 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
31754
31755 * gdb.base/help.exp: Replace most of docstrings for "info signals"
31756 and "signal" with ".*".
31757
31758Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31759
31760 * TODO: Add note about "handle all nostop".
31761
31762 * gdb.base/{sigall.c, sigall.exp}: New test.
31763 * gdb.base/Makefile.in: Add it.
31764
31765Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
31766
31767 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
31768 when invoking GDB, suppresses any windowing interface.
31769
31770Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
31771
31772 * config/sim-gdb: New file, simulator testing support.
31773
31774Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
31775
31776 * gdb.base/interrupt.exp: Test calling func1 twice.
31777
31778Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
31779
31780 * gdb.base/list.exp (test_forward_search): Set timeout higher
31781 when we'll be getting lots of output from gdb.
31782
31783 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
31784 "init_malloc" to after the expect statement. Run it if that
31785 regexp is taken, but also for two others which happen if source
31786 cannot be found.
31787
31788Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31789
31790 * gdb.base/printcmds.exp: New test, for printing register before
31791 program is running.
31792
31793Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31794
31795 * gdb.base/list.exp: Correct some alternate expect patterns
31796 to reflect changes in list1.c.
31797
31798Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31799
31800 * TODO: Add item regarding large frames.
31801
31802 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
31803
31804 * TODO: Remove item about enabling return.exp; it
31805 is enabled. Suggest a few more "return" tests.
31806
31807Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31808
31809 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
31810 anonymous unions.
31811
31812Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31813
31814 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
31815 and pr-5646.o, so "make" is the same as "make all", not "make
31816 pr-4975.o".
31817
31818Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
31819
31820 * gdb.base/list.exp: Adjust expectations to reflect changes in
31821 list1.c.
31822 (test_forward_search): New test proc.
31823 * gdb.base/list1.c (long_line): New function, has long source line.
31824
31825Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
31826
31827 * gdb.base/a1-selftest.exp: Change initial stepping to know about
31828 additional line of code that was added.
31829
31830Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
31831
31832 * gdb.disasm/hppa.s: Break the large branching tests into smaller
31833 tests so as not to overflow expect's input buffers.
31834 * gdb.disasm/hppa.exp: Corresponding changes.
31835
31836Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31837
31838 Beginnings of template debugging tests.
31839 * gdb.c++/templ-info.cc: New file to test for template
31840 debugging capability of the compiler.
31841 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
31842 templ-info.cc.
31843 * gdb.c++/templates.cc: Add explicit template instantiations
31844 to enable compiling with -fno-implicit-templates. Add destructor
31845 and 'value' method to T5 class for template tests.
31846 * gdb.c++/templates.exp: Add testcases for printing of template
31847 types, setting breakpoints on template methods and calling a
d63a86f8 31848 template method.
c906108c
SS
31849
31850Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
31851
31852 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
31853 branch target since some assemblers (gas-2.5) may emit a
31854 relocation for the branch instead of resolving it in the
31855 assembler.
31856
31857Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31858
31859 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
31860 through signal handler.
31861
31862Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31863
31864 * configure.in (*-*-netware): Use config/mt-netware.
31865
31866 * config/mt-netware: New file.
31867 * config/mt-i386-netware: Removed, separate configs for different
31868 netware architectures are no longer needed now that we have
31869 --with-headers.
31870
31871Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31872
31873 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
31874 by the recent changes to use ANSI C arithmetic conversions.
31875
31876Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31877
31878 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
31879 bug involving using inferior_pid to figure out whether to select a
31880 frame.
31881
31882Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
31883
31884 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
31885 match the current disassembler output.
31886
31887Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
31888
31889 * gdb.fortran/exprs.exp: Expect VOID instead of void.
31890 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
31891 types, expect "int" as type of integer values (for now).
31892
31893Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
31894
31895 * gdb.base/commands.exp: New tests for if/while commands.
31896
31897Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
31898
31899 * lib/gdb.exp (runto): Replace sub-pattern for hex value
31900 by .*, since hex values have different syntax in Chill mode.
31901
31902Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31903
31904 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
31905 linefeed from expect pattern for repeated types with indices > 9.
31906
31907Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
31908
31909 First part of Fortran test suite.
31910 * gdb.fortran: New directory.
31911 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
31912
31913Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31914
31915 * gdb.base/default.exp: Update expect pattern for load command
31916 without arguments.
31917
31918Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
31919
31920 * configure.in: Change i386 to i[345]86.
31921 * gdb.base/configure.in: Likewise.
31922 * gdb.c++/configure.in: Likewise.
31923 * gdb.chill/configure.in: Likewise.
31924
31925Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
31926
31927 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
31928 patterns, since that is not a valid context for comments.
31929
31930Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
31931
31932 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
31933 repeated types and repeated types with indices > 9.
31934
31935Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
31936
31937 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
31938 2417; old bug has been fixed.
31939
31940Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
31941
31942 * gdb.base/interrupt.exp: When trying to wake up the inferior,
31943 send the newline ourselves instead of assuming gdb_test will do
31944 so when passed an empty input string.
31945
31946 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
31947 stabs testcode.
31948
31949Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31950
31951 * lib/gdb.exp (gdb_test): Don't send anything if the first
31952 argument is an empty string. This makes cases where we want to
31953 match output that is already in expect's buffers (for example,
31954 matching a breakpoint after gdb_run_cmd has been called) work
31955 reliably.
31956
31957Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31958
31959 * config/netware.exp: New file.
31960
31961Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31962
31963 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
31964 the -B and -L prefixes so we can find the debugging stub.
31965
31966 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
31967 there and we are using the gcc from the tree.
31968
31969 * gdb.base/types.c: Removed.
31970
31971 * gdb.base/configure.in: Look for makefile fragments in ../config.
31972 Recognize i386-*-netware.
31973 * gdb.c++/configure.in: Likewise.
31974
31975Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31976
31977 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
31978 the correct TCL syntax.
31979
31980Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
31981
31982 * gdb.base/opaque.exp: use runto instead of messing around with
31983 breakpoints. Simplify by using gdb_test.
31984
31985 * gdb.base/bitfields.exp: restart between tests on netware targets
31986 because breakpoints aren't relocated after target death. Run
31987 processes to completion.
31988
31989 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
31990
31991Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
31992
31993 * Makefile.in: Remove extra tabs that confuse some versions
31994 of "make". Use the newly built gdb to test with by default,
31995 rather than the first one in the tester's search path.
31996
31997Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
31998
31999 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
32000
32001 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
32002 condition help.
32003
32004Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32005
32006 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
32007
32008 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
32009 running.
32010 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
32011 * gdb.base/funcargs.exp: Likewise.
32012
32013 * gdb.base/bitfields.exp: Simplify by using gdb_test.
32014 * gdb.base/funcargs.exp: Likewise.
32015
32016 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
32017 message is "".
32018
32019Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32020
32021 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
32022 return,signals,twice}.exp: Handle non-existant binaries
32023 consistantly.
32024
32025 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
32026 * gdb.base/Makefile.in: Don't try to generate a core dump, we
32027 might testing a cross development system.
32028
32029Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32030
32031 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
32032 runtest script is relative to ${srcdir}, not ${rootdir}.
32033
32034Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
32035
32036 * gdb.base/signals.exp: Allow for optionality of breakpoint
32037 address.
32038
32039Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32040
32041 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
32042
32043Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32044
32045 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
32046 for size_t definition.
32047 * gdb.c++/templates.cc: Likewise
32048
32049 * config/mt-i386-netware: New file.
32050
32051 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
32052 defined.
32053
32054 * gdb.base/Makefile.in: Added support for systems that name core
32055 files by appending "core" to the program name.
32056 * gdb.base/a1-selftest.exp: Likewise.
32057
32058Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32059
32060 * gdb.base/return.exp: Add comment and message for `return double'
32061 test failure on Sparc Solaris.
32062
32063Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
32064
32065 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
32066
32067Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32068
32069 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
32070 from optimizing them away.
32071 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
32072 patterns to include default constructors and assignment operators,
32073 to match gcc versions beyond 2.5.8. Accept any cplus demangling
32074 character in the output of the virtual base pointer.
32075
32076Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32077
32078 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
32079 expression match in print_addr_of to avoid unintented matches.
32080 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
32081 versions up to 2.5.8.
32082
32083Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32084
32085 * gdb.base/list.exp: Tweak alternate pattern for listing of an
32086 included file to run under newer versions of expect.
32087 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
32088 consecutive >'s in templates to accomodate recent cplus-dem.c change.
32089 Remove xfail for the virtual table of BDDHookV.
32090
32091Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
32092
32093 * lib/gdb.exp (string_to_regexp): Set a default result.
32094 (default_gdb_start): Fix misleading message.
32095
32096Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
32097
32098 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
32099 Remove all CC, etc definitions.
32100 * config/mt-hpux: New file.
32101 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
32102 (CFLAGS, LDFLAGS): Define.
32103 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
32104
32105 * Makefile.in (site.exp): Don't insert host_os, etc.
32106 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
32107 (distclean): Check existence of subdir.
32108 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
32109 * gdb.base/Makefile.in: General cleanup and simplification.
32110 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32111 to build executables. Use default rule to build .o files.
32112 (EXPECT, RUNTEST, CC): Fix relative pathname.
32113 (site.exp): Don't insert host_os, etc.
32114 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
32115 and/or SIGUSR1 defined.
32116 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
32117 * gdb.c++/Makefile.in: General cleanup and simplification.
32118 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32119 (CFLAGS): Remove.
32120 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
32121
32122Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
32123
32124 * gdb.base/recurse.exp: Misc changes to get tests running again
32125 after Kung's changes to the watchpoint code.
32126 * gdb.base/watchpoint.exp: Likewise.
32127
32128Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
32129
32130 * lib/gdb.exp (string_to_regexp): Convert {\} also.
32131
32132Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
32133
32134 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
32135 * lib/gdb.exp (default_gdb_start): Define.
32136 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
32137 gdb.base/funcargs.exp, gdb.base/opaque.exp,
32138 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
32139 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
32140 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
32141 Don't call gdb_target_udi in between tests.
32142
32143Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32144
32145 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
32146 (which was basically just a local version of the same thing). In
32147 addition to avoiding duplication, gdb_test_exact is faster.
32148 * lib/gdb.exp (gdb_test_exact): Fix typo.
32149
32150 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
32151 don't give an error.
32152
32153 * gdb.base/term.exp: Call delete_breakpoints before starting.
32154
32155 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
32156 (t10): Add comment.
32157
32158Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32159
32160 Reorganization of the GDB Test Suite.
32161
32162 * gdb.base: New directory, contains all the basic tests.
32163 * gdb.c++: New directory, tests specific to C++.
32164 * gdb.chill: New directory, tests specific to Chill.
32165 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
32166 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
32167 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
32168 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
32169 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
32170 t30-31 to chill).
32171 * */gdbme.*: Rename to match appropriate expect scripts.
32172 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
32173 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
32174 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
32175 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
32176 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
32177 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
32178 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
32179 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
32180 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
32181 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
32182 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
32183 gdb.c++/virtfunc.cc: New names of C++ files.
32184 * gdb.chill/chillvars.ch: New name of Chill file.
32185 * gdb.base/configure.in, gdb.c++/configure.in,
32186 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
32187 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
32188 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
32189 * configure.in (configdirs): Update to reflect directory changes.
32190 (target_abbrev): No longer define for any configuration.
32191 * Makefile.in: Cosmetic improvements to header comments.
32192
32193Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
32194
32195 Various changes to gdb.t31:
32196
32197 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
32198 * gdbme.ch: Make all key-words and predefineds be upper-case.
32199 * chillvars.exp: Expect key-words and predefinds in upper-case.
32200
32201 * chillvars.exp: Use gdb_test_exact many places.
32202 Change expected output for arrays (which now includes index labels).
32203
32204 * pr-5020.exp, gdme.ch (module PR_5020):
32205 New test, for PR-5020.
32206
32207Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
32208
32209 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
32210 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
32211
32212Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
32213
32214 * Makefile.in: Fix bit-rot in definitions of CHILL,
32215 CHILL_FOR_TARGET and Chill_LIB.
32216 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
32217 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
32218 CHILL, and CHILL_LIB.
32219
32220Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
32221
32222 * Revert the previous changes. Please see Rob's directory
32223 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
32224
32225Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
32226
32227 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
32228 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
32229 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
32230 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
32231 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
32232 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
32233 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
32234 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
32235 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
32236 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
32237 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
32238 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
32239 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
32240 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
32241 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
32242 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
32243 changes from 94Q1.
32244
32245Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
32246
32247 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
32248 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
32249 Rob's new testing fragments.
32250
32251Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
32252
32253 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 32254 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
32255
32256Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32257
32258 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
32259 version also, match on casted version strings, and match on
32260 gdb startup case where the line numbers might be messed up.
32261
32262Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
32263
32264 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 32265 (CFLAGS): Delete it from here.
c906108c
SS
32266
32267Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
32268
32269 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
32270
32271Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
32272
32273 * Makefile.in (RUNTEST): Default to just "runtest".
32274
32275Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32276
32277 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
32278 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
32279 the code has been restructured.
32280
32281Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32282
32283 * gdb.t00/default.exp (set write): Allow any number of \r and/or
32284 \n, not just one of each.
32285
32286 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
32287 /bin/cc gives a warning if you do.
32288
32289Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
32290
d63a86f8 32291 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
32292 __t10ListS_link1ZUiRCUiPT0
32293
32294Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32295
32296 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
32297 on local variables in recursive functions.
32298
32299 * gdb.t07/Makefile.in: Build the new test.
32300
32301Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32302
32303 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
32304 directly. Instead compare the return values from actual calls.
32305
32306Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
32307
32308 * Makefile.in (check): Set TCL_LIBRARY for runtest.
32309
32310Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32311
32312 * From Peter Schauer with minor modifications.
a9c64011
AS
32313 * gdb.t15/return.exp (return_tests): Handle targets where "return"
32314 stops in mid-line in the caller. Add xfail for returning a float
32315 value on X86 targets.
c906108c
SS
32316
32317Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32318
32319 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
32320 to avoid expect lossage.
32321 (fmem_LRbug_tests): Likewise.
32322 * gdb.disasm/hppa.s: Corresponding changes.
32323
32324 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
32325 conditions to work with latest dejagnu/expect.
32326
32327 * gdb.t15/funcargs.exp (finish from indirect call): No longer
32328 expected to fail on the PA.
32329 (backtrace in call with trampolines): Explicitly require main
32330 to be frame #1 (no trampolines should show up in backtrace).
32331
32332 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
32333 "continue -expect".
32334 * gdb.t06/break.exp: Likewise.
32335 * gdb.t07/watchpoint.exp: Likewise.
32336 * gdb.t13/bitfields.exp: Likewise.
32337 * gdb.t15/{funcargs,return}.exp: Likewise.
32338 * gdb.stabs/weird.exp: Likewise.
32339 * config/{mips,udi}-gdb.exp: Likewise.
32340
32341 * hppa.sed: Enclose comments within a sed command to avoid
32342 losing with the old OSF1 sed.
32343
32344Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32345
32346 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
32347 sequent dynix.
32348 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
32349 * gdb.t15/funcargs.exp: Conditionally step again to really
32350 finish from marker_call_with_trampolines. Handle the case where
32351 the first step from within call_with_trampolines already steps
32352 us back to main.
32353 * gdb.t15/gdbme.c: Add comment to closing brace of
32354 call_with_trampolines for funcargs.exp.
32355
32356Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32357
d63a86f8 32358 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
32359 Fix typo(s).
32360
32361Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32362
32363 * gdb.t07/gdbme.c: More code for watchpoint testing.
32364
32365 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
32366 "Hardware watchpoint" throughout file.
32367 (test_watchpoint_triggered_in_syscall): New test.
32368 (test_complex_watchpoint): New test.
32369
32370Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32371
32372 * gdbme.c (call_with_trampolines): New function to try and step
32373 into. Tests trampoline problems on the PA.
32374
32375 * funcargs.exp (localvars_in_indirect_call): No longer expect
32376 stepping into indirect call to fail on PAs.
32377 (test_stepping_over_trampolines): New test.
32378
32379Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32380
32381 * TODO: Add suggestions for static member function tests, and
32382 completion tests.
32383
32384Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32385
32386 * TODO: Add suggestions for "p/a" tests.
32387
32388 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
32389 (default_gdb_exit): Replace all the hair with sending "quit" to
32390 the process with a simple close.
32391
32392Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32393
32394 * TODO: Add suggestions for shared library tests.
32395
32396Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32397
32398 * TODO: Add suggestions for x/s tests.
32399
32400Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32401
32402 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
32403 "enable once", and "enable breakpoints once" with ".*".
32404
32405Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32406
32407 * TODO: Add suggestions about structure passing tests.
32408
32409Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32410
32411 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
32412 the primary1 test, use work around if __GNUC__ < 2.
32413 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
32414 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
32415 Test for bad output rather than waiting for timeout. Issue
32416 second continue only if first continue failed.
32417
32418Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32419
32420 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
32421 operator[] test with gdb_test because the old code didn't seem to
32422 be getting the quoting right with the new dejagnu.
32423
32424Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
32425
32426 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
32427 one from the path.
32428 * Makefile.in: Use a fresh expect if there is one, use runtest
32429 from the src tree if there is one.
d63a86f8 32430
c906108c
SS
32431Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32432
32433 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
32434 next over recursive call. Revise the tests from that point on
32435 (which had been skipped) to match GDB's actual (correct) output.
32436
32437 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
32438 with next over a breakpoint whose condition is false.
32439
32440 * gdb.t00/help.exp: Comment out "help set print" tests just like
32441 (and for same reason as) "help set" test.
32442
32443Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32444
32445 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
32446 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
32447
32448Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32449
32450 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
32451 necessary gdb_target_udi.
32452
32453 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
32454
32455 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
32456 1838 and 2417; they are fixed.
32457
32458 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
32459 gdb.t03/ptype.exp (ptype structure, ptype union):
32460 Remove xfails; the test is looser than when the xfails were added.
32461
32462 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
32463 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
32464
32465 * gdb.t01/run.exp: Only run shell test if isnative.
32466
32467 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
32468 since "run" automatically loads if necessary. Call gdb_target_udi
32469 after the "file" since "file" kills any execution target.
32470
32471 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
32472 GDB. GDB doesn't work that way (not anymore at least) on UDI.
32473 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
32474 argument for UDI.
32475
32476Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
32477
32478 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
32479
32480 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
32481
32482Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32483
32484 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
32485 properly quoting regexps. This makes the second argument to
32486 demangle a fixed string, which matches the callers, instead of a
32487 shell-style pattern which is what the previous implementation
32488 used. Update some of the callers.
32489
32490Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32491
32492 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
32493 (comib_nullified_tests): Fix typo.
32494 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
32495 strings. No longer expected to fail.
32496
32497 * gdb.disasm/hppa.s (addib_tests): Fix typo.
32498 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
32499 strings. No longer expected to fail.
32500
32501 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
32502 string. No longer expected to fail.
32503
32504Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32505
32506 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
32507 No longer expected to fail.
32508
32509 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
32510 string. No longer expected to fail.
32511
32512Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32513
32514 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
32515 only in the names (I probably got most of them). I was even
32516 generous with some which differed in underscores in names, and
32517 probably missed a few, and I *still* was able to remove almost a
32518 third of the file with almost no impact on testsuite coverage.
32519
32520Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32521
32522 * gdb.t00/default.exp: Match udi_attach error message as well as
32523 the one from child_attach.
32524
32525 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
32526
32527 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
32528
32529 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
32530 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
32531
32532 * Move test with enums and partial symbols back to
32533 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
32534 Reverts the change of 26 May 93. Per today's change to
32535 stabs.texinfo, the behavior that weird.exp was expecting was
32536 unreasonable; what is important is that the compiler+gdb get
32537 things right, which happens with a recent gcc. Also fix the test
32538 to deal with native compilers which put out the stab gdb can't
32539 deal with.
32540
32541Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32542
32543 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
32544 in the names. The main thing these accomplish is to slow things down.
32545 Many more such duplicates surely remain.
32546
32547 * gdb.t00/help.exp: Comment out "help support" test just like
32548 (and for same reason as) "help set" test.
32549
32550Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
32551
32552 * gdb.t06/break.exp: Remove setup_xfails for
32553 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
32554 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
32555 about known bug in gcc to include up through 2.5.8.
32556 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
32557 well as "_vb$".
32558 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
32559 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
32560 with latest gcc and gdb.
32561 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
32562 well as "_vb$".
32563
32564Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32565
32566 * configure.in (hppa*-*-*): Also configure and build stabs-only
32567 tests.
32568
32569Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32570
32571 * gdb.t10/hppa.mt: A makefile fragment for the PA.
32572 * gdb.t10/configure.in (hppa*-*-*): Use it.
32573
32574Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32575
32576 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
32577
32578Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32579
32580 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
32581 versions prior to 1.13.5.
32582
32583Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32584
32585 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
32586 the prompt is at the start of a line.
32587
32588Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
32589
32590 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
32591 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
32592 in the copr tests now.
32593 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
32594 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
32595 expected to fail.
32596
32597Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
32598
32599 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
32600 gdb.t31/chillvars.exp, lib/gdb.exp:
32601 Tweak to run under either version of expect.
32602 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
32603 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
32604 * gdb.t11/list.exp: Remove extraneous whitespace.
32605
32606Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32607
32608 * gdb.t16/printcmds.exp (test_print_strings): Accept
32609 "(unsigned char *) " before the string.
32610
32611 * TODO: Add notes about printing of fancy types and GDB expressions.
32612
32613Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
32614
32615 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
32616 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 32617 if doing mips-idt-ecoff.
c906108c
SS
32618
32619Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
32620
32621 * Most .exp files: Tweak to run under either version of expect.
32622
32623Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32624
32625 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
32626 xfails; I'm not sure why they are failing, but not because of PR 1806.
32627
32628Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
32629
32630 * config/unix-gdb.exp: Remove gdb_unload cause it's already
32631 defined in lib/gdb.exp.
32632
32633Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32634
32635 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
32636 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
32637 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
32638 have to be typeless.
32639
32640Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32641
32642 * TODO: Add suggestion for copyright year test.
32643
32644Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
32645
32646 * configure.in (*-*-lynxos*): Add stabs tests.
32647
32648Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32649
32650 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
32651 so insert a tab before any assembler directive in column zero.
32652
32653 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
32654 stores.
32655 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
32656 stores.
32657 (fpu_short_memory_tests): Likewise.
32658
32659Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32660
32661 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
32662 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
32663 .stabs directives in comments.
32664
32665Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32666
32667 * TODO: New file, describing tests we could write.
32668 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
32669
32670Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32671
32672 * gdb.t06/signals.exp: Add kludge to force re-sync.
32673
32674 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
32675 to xgdb instead of gdb, get out of gdb.
32676
32677Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
32678
32679 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
32680 for info.
32681
32682Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
32683
32684 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
32685 * gdb.stabs/configure.in (hppa*-*-*): Use it.
32686 * gdb.stabs/hppa.sed: New sed script for the PA.
32687
32688Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32689
32690 * gdb.stabs: Re-write weird.def and configuration to use sed
32691 instead of cpp. sed is portable and POSIX; cpp is neither.
32692
32693Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32694
32695 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
32696
32697Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32698
32699 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
32700
32701Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32702
32703 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
32704 "_vb$".
32705 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
32706 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
32707
32708Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32709
32710 * lib/gdb.exp: Comment out code which depends on non-existent
32711 `transform' procedure.
32712
32713Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
32714
32715 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
32716 * lib/gdb.exp: Transform tool name.
32717 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
32718 1.1's new error handling system.
32719
32720Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32721
32722 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
32723
32724Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32725
32726 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
32727 They made pattern matching so slow that timeouts happened on
32728 heavily loaded systems. Now any output from "show print" which
32729 gets us back to the GDB prompt is a PASS.
32730
32731Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
32732
32733 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
32734
32735Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32736
32737 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
32738
32739 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
32740 It is not from PR 3220.
32741
32742Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32743
32744 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
32745 just started failing because they depended on the order the
32746 subcommands are presented, or exact docstring text. This kind of
32747 test is a pain and has minimal benefit.
32748
32749Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32750
32751 * gdb.t09/corefile.exp: At end of test, use "core" command with
32752 no arguments.
32753
32754Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
32755
32756 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
32757 17}/Makefile.in: Make it possible to run the testsuite with Sun
32758 make and CC = cross gcc by adding explicit build rules for .o
32759 files.
32760
32761Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32762
32763 * gdb.t15/funcargs.exp: Don't put comments on same line as
32764 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 32765
c906108c
SS
32766Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32767
32768 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
32769
32770Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
32771
32772 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
32773 * gdb.t20/inherit.exp: remove three dumplicate entries.
32774
32775Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32776
32777 * gdb.t06/break.exp: For "next over recursive call", fail on any
32778 incorrect output, not just on "factorial (value=2)".
32779
32780Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32781
32782 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
32783 working now. Add an xfail if accesing a bss variable causes
32784 a memory error if the target is not yet run.
32785
32786Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32787
32788 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
32789 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
32790 name of __st* demangling (2 strings). Did Kung really get the
32791 more than 95 others right without testing them?
32792
32793Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
32794
32795 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
32796
32797Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
32798
32799 * configure.in (configdirs): Add gdb.disasm
32800 * gdb.disasm: New directory for GDB disassembler tests.
32801 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
32802
32803Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32804
32805 * gdb.t00/help.exp: Don't test "help set".
32806
32807 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
32808 from within expect statements. None of these happen anymore and
32809 they cause regressions to be silently unnoticed.
32810
32811 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
32812 messages) about known failures with gcc cygnus-2.4.5-930417.
32813
32814 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
32815 comp-info.exp so it gets built if it doesn't exist.
32816
32817 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
32818 it is no longer used.
32819 * gdb.t13/comp-info.c: Removed.
32820
32821Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
32822
32823 * gdb.t06/signals.exp: Add xfail for sun3.
32824
32825Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32826
32827 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
32828 relevant because ^C doesn't get sent but failure can be reproduced
32829 interactively).
32830
32831Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32832
32833 * gdb.stabs/alpha.mt: New configuration file for alpha.
32834 * gdb.stabs/configure.in: Use it.
32835 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
32836 sharing with alpha.mt, redefine long to word via preprocessor.
32837 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
32838 for alpha.
32839 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
32840 native cc.
32841 * gdb.t00/teststrategy.exp: Change expect string so that we
32842 consume the `(xgdb)' from the command echo and from the gdb prompt.
32843 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
32844 gdb currently compares all values as long, so this failure probably
32845 applies to any configuration where LONGEST is bigger than a target int.
32846 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
32847 with gcc.
32848 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
32849 to handle opaque pointers, gcc is.
32850 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
32851 as first argument. Include <sys/types.h> and change all operator
32852 new definitions to use size_t.
32853 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
32854 now that we use size_t.
32855
32856Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32857
a9c64011 32858 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 32859 a long or float array cast all array members to the same type.
a9c64011 32860 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 32861 with 64 bit longs.
a9c64011 32862 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 32863 on alpha.
a9c64011 32864 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
32865
32866Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32867
32868 * gdb.t24 (demangle.exp): Constructors of templates have names like
32869 vector<int>::vector(int) not vector<int>::vector<int>(int). See
32870 section 14.6 of the ARM.
32871
32872 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
32873 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
32874 accomplish little and slow down the testsuite.
32875
32876 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
32877 Accept spaces various places.
32878
32879Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32880
32881 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
32882 with watchpoint enabled.
32883
32884 * Makefile.in: Remove definition of CC and remove the second
32885 definition of CXX (the "CXX = gcc" one remains). These definitions
32886 were causing backquotes to be expanded within backquotes, which
32887 doesn't work.
32888
32889Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
32890
32891 * gdb.t17/callfuncs.exp: Add "return 0" to end.
32892
32893Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32894
a9c64011
AS
32895 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
32896 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
32897 by mips cc and contains no stabs entries.
32898
32899Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
32900
32901 * config/vx-gdb.exp: Use fake device to load files rather than
32902 NFS.
32903 * lib/gdb.exp: New proc to do "file" command.
32904 * config/unix-gdb.exp: Use new "file" proc.
32905
32906Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
32907
32908 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
32909 Rework board rebooting slightly.
32910 (gdb_exit): Don't exit from the remote shell; there isn't one.
32911 * gdb.stabs/weird.exp: If a program is being debugged already,
32912 kill it.
32913 * gdb.t04/setvar.exp: Stop and restart gdb.
32914 * gdb.t05/expr.exp: Likewise.
32915 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
32916 restart gdb and reload the program.
32917 * gdb.t08/opaque.exp: Likewise.
32918 * gdb.t12/scope.exp: Likewise.
32919 * gdb.t13/bitfields.exp: Likewise.
32920 * gdb.t15/funcargs.exp: Likewise.
32921 * gdb.t20/classes.exp: Likewise.
32922 * gdb.t03/ptype.exp: Increase timeout.
32923 * gdb.t16/printcmds.exp (test_print_string_constants,
32924 test_print_array_constants): Likewise.
32925 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
32926 * gdb.t20/classes.exp (do_tests): Likewise.
32927 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
32928
32929Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
32930
32931 * gdb.stabs: Renamed *wierd* to *weird*.
32932
32933Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32934
32935 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
32936 for timeout. Add "known gcc 2.4.5 bug" to failure message.
32937
32938Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
32939
32940 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
32941 (do_tests): Remove xfail for whatis on one_var and two_var.
32942
32943Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
32944
32945 * Makefile.in: Made cross building work better by adding
32946 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
32947
32948Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32949
32950 * gdb.t15/{return.c,return.exp,Makefile.in}:
32951 New test, currently commented out.
32952
32953Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
32954
32955 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
32956 still running and removes the leftover named socket so GDb can do
32957 clean restarts.
32958
32959Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
32960
32961 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
32962 console, not GDB.
32963 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
32964 cross testing works better with "make check"
32965 * config/unix-gdb: Use default procedures for exit and version.
32966 * config/vx-gdb.exp: Cleaned up and massaged back to working order
32967 with the newest VxWorks.
32968
32969Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32970
32971 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
32972 old form.
32973
32974 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
32975 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
32976
32977 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
32978
32979 * config/unix-gdb.exp: Remove this version of gdb_exit
32980 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
32981 Rob says he'll look at it when he gets back to testing boards.
32982
32983Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
32984
32985 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
32986 an expected fail for certain ptype commands.
32987
32988 * gdb.t20/classes.exp: Update expected results of "ptype class
32989 Base1" to account for the constructor that now appears in the type.
32990
32991Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
32992
32993 * configure.in (configdirs): Restore gdb.t04, which mysteriously
32994 disappeared from list.
32995 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
32996 "alldone" proc with call to cleanup and exit.
32997 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
32998 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
32999 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
33000 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
33001 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
33002 "alldone" proc with simple returns that suppress remaining
33003 tests. The alldone proc went away many months ago.
33004
33005Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33006
33007 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
33008
33009 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
33010
33011Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33012
33013 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
33014 as vax gdb will display them.
33015
33016Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33017
33018 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
33019 optimizers.
33020
33021 * scope.exp: Change "bad value for localval" messages so each one
33022 is unique.
33023
33024 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
33025 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
33026
33027 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
33028
33029Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33030
33031 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
33032 doesn't exist (due to optimization).
33033
33034Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33035
33036 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
33037 contains \r because the filename is long.
33038
33039 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
33040 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
33041
33042Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33043
33044 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
33045 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
33046 Ultrix.
33047 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
33048 int tests.
33049 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
33050
33051Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
33052
33053 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
33054
33055 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 33056 to match does not match the passing case but still matches the
c906108c
SS
33057 failing case.
33058
33059Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33060
33061 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
33062
33063Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
33064
33065 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
33066 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
33067 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
33068 Remove various versions of gdb_exit.
33069 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
33070 gdb_exit.
33071 * config/unix-gdb.exp: gdb_exit remains here, and should override
33072 the generic version, since it's doing a lot of wierd stuff that
33073 the other versions aren't. FIXME, fold it in, or abandon this
33074 version.
33075
33076Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33077
33078 * gdb.t24/demangle.exp: Add tests for PR 3220.
33079
33080Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33081
33082 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
33083
33084Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
33085
33086 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
33087 "i386-*-*". Works for i486 as well.
33088
33089 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
33090 bug, and expand domain of xfail to all SVR4 systems, since the
33091 actual problem is likely to be in generic SVR4 /proc support.
33092
33093Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33094
33095 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
33096
33097Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
33098
33099 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
33100 xfails for other systems. Match a missing 'Continuing.' as an
33101 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
33102
33103 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
33104 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
33105 Only issue warning for missing executables if -all option is used.
33106
33107 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
33108 file if -all option is used. It's like an unpredictable XFAIL.
33109
33110Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33111
33112 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
33113 for dynamically linked binaries.
33114
33115 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
33116
33117Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33118
33119 * gdb.t20/inherit.exp: Change message for "print tagless struct"
33120 to state that this is a known bug in old versions of g++.
33121
33122Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33123
33124 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
33125 while waiting for `Continuing'.
33126
33127Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
33128
33129 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
33130 in text, data, and bss.
33131 * gdb.t10/nodebug.c: Add local and global test variables for
33132 initialized and uninitialized data.
33133
33134Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33135
33136 * config/unix-gdb.exp (gdb_exit): Add "wait".
33137
33138Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33139
33140 * gdb.t06/signals.exp: xfail the continue from the handler for all
33141 targets.
33142
33143 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
33144 function with watchpoints enabled, the i386 call dummy starts with
33145 a call.
33146
33147 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
33148 386 bsd names its corefiles.
33149
33150Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
33151
33152 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
33153 compilers don't grok it.
33154 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
33155 with small octal ints rather than character constants, which
33156 are signed and might not fit if first promoted to int.
33157
33158Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
33159
33160 * gdb.t09/Makefile.in (clean): Remove corefile.
33161
33162Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33163
33164 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
33165
33166Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33167 and Jim Kingdon (kingdon@cygnus.com)
33168
33169 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
33170 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
33171 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
33172
33173Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33174
33175 * gdb.t17/interrupt.exp: Add xfail for hppa.
33176
33177Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33178
33179 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
33180 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
33181 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
33182 to determine signed-ness of bitfields and use the result to setup
33183 the xfail.
33184 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
33185 * gdb.t15/funcargs.exp: Use them to step until the second indirect
33186 call line is reached if necessary.
33187
33188Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33189
33190 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
33191
33192Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33193
33194 * gdb.t06/break.exp: Also test `clear' command.
33195
33196Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33197
33198 * gdb.t00/teststrategy.exp: Remove extra quote.
33199
33200 * gdb.t07/watchpoint.exp: Change xfail for calling function with
33201 watchpoint enabled to be for all non-68k machines.
33202
33203 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
33204
33205Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33206
33207 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
33208 targets use aout.mt instead of ecoff.mt as gas understands
33209 standard aout format.
33210
33211Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33212
33213 * lib/gdb.exp (runto): Don't insist that function we are running to
33214 was compiled with -g.
33215
33216 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
33217
33218 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
33219 to get back into the read system call.
33220 Accept leading newline in case where we woke it up.
33221
33222Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33223
33224 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
33225 to make the stabs test work on ecoff systems using gcc and -with-stabs.
33226 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
33227 enable ecoff configuration.
33228
33229Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33230
33231 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
33232
33233Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33234
33235 * gdb.t16/printcmds.exp: Add another printf test.
33236
33237Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
33238
33239 * configure.in: If configured -with-stabs on any target, add
33240 stabsdirs to configdirs.
33241
33242Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33243
33244 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
33245 fun" so pattern does not match the command itself.
33246
33247Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33248
33249 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
33250
33251Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33252
33253 * gdb.t17/interrupt.exp: Test for more things.
33254
33255Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33256
33257 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
33258 compiler arranges the code and line numbers.
33259
33260 * gdb.t17/interrupt.exp: Don't send \n after ^C.
33261
33262Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33263
33264 * gdb.t00/help.exp: Increase expect input buffer size.
33265
33266Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33267
33268 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
33269
33270 * gdb.t07/watchpoint.exp: Add xfail for hppa.
33271
33272 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
33273
33274 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
33275 [0-9]*, not just [0-9].
33276
33277Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33278
33279 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
33280
33281 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
33282
33283Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33284
33285 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
33286
33287Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33288
33289 * gdb.t06/signals.c: Add xfails for sun3.
33290
33291 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
33292
33293 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
33294 test_stepping tests.
33295
33296Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33297
33298 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
33299
33300 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
33301
33302 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
33303 rather than actually putting it through cpp twice.
33304
33305 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
33306
33307Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
33308
33309 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
33310 no longer needed.
33311
33312Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33313
33314 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
33315
33316 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
33317 C++ features prints as "struct", make it a pass, not an xfail.
33318
33319Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33320
33321 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
33322 Don't require VA to print as "class" rather than "struct".
33323
33324Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
33325
33326 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
33327
33328Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33329
33330 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
33331
33332Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33333
33334 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
33335 order.
33336
33337Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33338
33339 * gdb.t16/printcmds.exp: Add printf tests.
33340
33341 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
33342
33343 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
33344
33345Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
33346
33347 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
33348 pass counts, to counteract any existing or future setup_xfails.
33349
33350Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33351
33352 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
33353 {BEGIN,END}_COMMON for common block instead of STAB.
33354 * gdb.stabs/wierd.exp: Add xfail for rs6000.
33355
33356 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
33357 intp_var should be N_GSYM not N_LSYM.
33358 wierd-aout.S: Use a label for the value of the N_SO.
33359 wierd.def: Remove all backslashes.
33360 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
33361
33362Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33363
33364 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
33365 get the expected next to inheritance3.
33366
33367Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33368
33369 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
33370 now that gcc-2.4 gets it right.
33371
33372Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33373
33374 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
33375
33376 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
33377 generating comp-info.exp which works for cross-compilation.
33378
33379Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
33380
33381 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
33382 "*-*-sysv4.*".
33383
33384Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
33385
33386 * gdb.t01/run.exp: Start with a fresh gdb.
33387 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
33388 SVR4.x.
33389
33390Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
33391
33392 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
33393 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
33394 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
33395 Makefile.in (distclean, realclean): Remove gdbme.c from list of
33396 things to remove.
33397
33398Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
33399
33400 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
33401 test cases from bug reports.
33402
33403Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
33404
33405 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
33406 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
33407 avoid spurious xfails.
33408 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
33409 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
33410 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
33411
33412Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
33413
33414 * gdb.t00/teststrategy.exp: Rework to provide more useful
33415 description of each test, fix problem with systems that define
33416 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
33417 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
33418 results for "next over recursive call" so timeouts aren't taken
33419 by error.
33420
33421Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
33422
33423 * gdb.t12/scope.exp: Test printing of variables before run.
33424
33425 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
33426 printed in wrong order due to sorting.
33427
33428Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
33429
33430 * gdb.t00/teststrategy.exp: Fix expected results for printing
33431 user entered string constant. Is array of char, prints with no
33432 address.
33433
33434 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
33435 commands.
33436 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
33437 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
33438 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
33439 of struct of char arrays.
33440 * gdb.t00/radix.exp: New tests for radix commands.
33441
33442Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
33443
33444 * gdb.t16/printcmd.exp: Print a variable before running program
33445 (with xfail for AIX).
33446
33447Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
33448
33449 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
33450
33451 * gdb.t16/printcmd.exp: Don't print variables before running program.
33452
33453 * gdb.t06/break.exp: Don't require envp argument to main.
33454
33455 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
33456
33457 * gdb.t02/whatis.exp, gdb.t11/list.exp:
33458 Add xfails for rs6000.
33459
33460 * gdb.t02/whatis.exp: Change other tests not to re-test something
33461 we already tested.
33462
33463 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
33464 each type used has a variable of that type.
33465
33466Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
33467
33468 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
33469
33470Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
33471
33472 * configure.in: change srctrigger to be a file, not a directory
33473
33474Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
33475
33476 * configure.in (mips-idt-ecoff*): Added trailing '*'.
33477
33478 * gdb.t11/list.exp: Fixed a couple of typos.
33479
33480Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
33481
33482 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
33483 is fixed and PR is closed.
33484 * gdb.t16 (gdbme.c): Add simple test string variable.
33485 * gdb.t16 (printcmds.exp): Add tests with simple test string
33486 variable, primarily for boundaries on "set print elements".
33487
33488Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
33489
33490 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
33491 Make leading 0's optional and don't expect a tab in the middle
33492 of the number.
33493
33494 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
33495
33496 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
33497 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
33498 don't end command passed to gdb_test with newline.
33499
33500 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
33501 signed keyword away, don't expect signed bitfields to be signed.
33502
33503 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
33504 printing with only as many 1's as are in the field as well as printing
33505 with 32 1's (see comment).
33506
33507Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
33508
33509 * gdb.t00/default.exp: Start with a fresh gdb.
33510 * configure.in (configdirs): Remove gdb.t31 until the chill
33511 compiler works again. It no longer is able to find chillrt0
33512 since it isn't in libchill.a anymore.
33513 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
33514 wierd.o, make more modular.
33515 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
33516 spurious newlines that caused problems.
33517
33518Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33519
33520 * Move test with enums and partial symbols from gdb.t03/ptype.exp
33521 to gdb.stabs/wierd.exp since GCC has worked around the bug.
33522 gdb.stabs/wierd.{exp,def}: Many new tests.
33523
33524 * gdb.t00/default.exp: update info line for new message.
33525
33526 * gdb.t02/{whatis.exp,gdbme.c}:
33527 Test that "char *" doesn't print as "caddr_t".
33528
33529Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33530
33531 * gdb.t00/help.exp: Use .* in place of some help messages which
33532 just changed.
33533 gdb.t00/default.exp: Update "info frame" test for new message.
33534 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
33535 Remove some xfails
33536
33537Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33538
33539 * gdb.t03/{gdbme.c,ptype.exp}:
33540 Add tests for typedef'd struct and union without tags.
33541 Also check "whatis" on a variable of a typedef'd enum without a tag.
33542
33543 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
33544 PRMS 1823; the bug still exists but isn't reproduced by this test
33545 anymore), and remove rs6000 XFAIL (the bug is fixed).
33546
33547 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
33548 duplicated from whatis.exp. For those that are left, accept
33549 "long", "long int", or "int" for long variables (whatis.exp already
33550 has an XFAIL for "int", so no need to fail it here).
33551
33552 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
33553 Deal with GCC's names for types now that GDB uses the compiler's names.
33554
33555 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
33556 setup_xfail's for sunos4. If we #defined the signed keyword away,
33557 don't expect GDB to know that char it is signed.
33558
33559 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
33560
33561Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
33562
33563 * configure.in (configdirs): Add gdb.t24 for C++ tests that
33564 should work on any system, regardless of debugging format.
33565 * gdb.t21/demangle.exp: Move to gdb.t24.
33566 * gdb.t24/demangle.exp: Move from gdb.t21.
33567 * gdb.t24/{Makefile.in, configure.in}: New files.
33568
33569Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33570
33571 * configure.in: Do gdb.stabs and C++ tests only for stabs.
33572 * gdb.stabs: New directory.
33573
33574Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33575
33576 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
33577 not just "Quit anyway?".
33578
33579Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
33580
33581 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
33582 that all setup_xfails are immediately followed by clear_xfails.
33583
33584Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
33585
33586 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
33587 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
33588 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
33589 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
33590 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
33591 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33592 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33593 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
33594 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
33595 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
33596 gdb.t31/chillvars.exp, lib/gdb.exp:
33597 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
33598 bug-gdb@prep.ai.mit.edu.
33599
33600Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
33601
33602 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
33603 with 0.0, not integer 0.
33604
33605Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
33606
33607 * gdb.t06/break.exp: Update for "Kill the program" message change.
33608
33609Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
33610
33611 * Makefile.in (GDBFLAGS): Set to -nx.
33612 * Makefile.in (site.exp): Use GDBFLAGS.
33613
33614Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33615
33616 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
33617 Makefiles.
33618 (check): depend on just-check.
33619 (just-check): added so that tests can be run without a noop
33620 build pass.
33621
33622Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
33623
33624 Switch to using configure's configdirs.
33625 * Makefile.in (Makefile): add configure.in dependency.
33626 (SUBDIRS): removed redundant assignment.
33627 * configure.in: switch subdirs assignment to configdirs.
33628 * gdb.t*/configure.in: new files.
33629
33630Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
33631
33632 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
33633 works.
33634
33635Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
33636
33637 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
33638 in explicit rules. Apparently this is not supported by some makes.
33639
33640Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
33641
33642 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
33643
33644Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33645
33646 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
33647 disappeared.
33648
33649Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
33650
33651 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
33652
33653Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
33654
33655 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
33656 watchpoint problem that is now fixed.
33657 * gdb.t30/chexp.exp: Remove setup_xfail for printing
33658 uninitialized convenience variables.
33659 * gdb.t31/chillvars.exp: Fix expected patterns for printing
33660 structures.
33661
33662Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33663
33664 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
33665 which causes expect to get out of sync with gdb on long output
33666 from help set.
33667 * gdb.t09/corefile.exp: Make expected pattern for core file
33668 failing signal and frame output format less sun specific.
33669
33670Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
33671
33672 * gdb.t31/chillvars.exp: Add and remove initial dummy
33673 breakpoint, so that symbol table is forced in.
33674 (Needed at least on Sunos4, though it seems not SVR4.)
33675 * gdb.t31/chillvars.exp: Update for changed output format.
33676
33677Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
33678
a9c64011 33679 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
33680
33681Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
33682
33683 * Makefile.in: Added --srcdir when invoking runtest, removed the
33684 need for a local config file. (optional now)
33685
33686Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
33687
33688 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
33689 failure count used to force early termination. Add some more
33690 expected failures for gnu style demangling.
33691
33692Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33693
33694 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
33695 pmi variable from gdb.t20/gdbme to get optimized away.
33696 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
33697 Check for written corefile upon timeout _and_ eof.
33698
33699Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33700
33701 * config/unix-gdb.exp: Add missing return 0.
33702
33703Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33704
33705 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
33706 test termination.
33707
33708Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
33709
33710 * configure.in (subdirs): Put back gdb.t17 which mysteriously
33711 disappeared.
33712
33713Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
33714
33715 * gdb.t10/crossload.exp: Disable the i860-elf test until such
33716 time as i860 support works.
33717
d63a86f8 33718 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
33719 "backtrace 100\r" rather than just "backtrace\r", to match last
33720 change.
33721
33722Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
33723
33724 * config/udi-gdb.exp (gdb_exit): Remove close command.
33725 (gdb_target_udi): New procedure to set the UDI target.
33726 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
33727 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
33728 Added waits for prompts after several question responses. Added
33729 some more responses used by a29k-amd-udi-gdb.
33730 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
33731 pass different arguments, restart UDI connection after program
33732 completion.
33733 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
33734 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
33735 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
33736 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
33737 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
33738 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
33739 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
33740 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
33741 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
33742 after program completion.
33743 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
33744 compiled with a SELECT_VECS setting.
33745 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
33746 infinite recursion.
33747
33748 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
33749 Added checks for COFF results, and made them expected failures for
33750 all targets. It would be better to make them expected failures
33751 for COFF targets only.
33752
33753Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
33754
33755 * Makefile.in: add null dvi target, don't bother to recurse
33756 through test directories for info and install-info; rename
33757 $(datadir) to be dejagnu instead of deja-gnu
33758
33759Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
33760
33761 * gdb.t31/gdbme.ch: Re-enable code that previously caused
33762 compiler to coredump.
33763 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
33764 code.
33765
33766Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
33767
33768 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
33769 coredump.
33770 * gdb.t31/chillvars.exp: Comment out tests that depend on that
33771 code.
33772
33773Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
33774
33775 * gdb.t03/ptype.exp: tests for return code from gdb_test.
33776 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
33777 which in a shell. Deletes xgdb when done.
33778 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
33779 Tests the return from the "set height" or "set width" commands.
33780 Added a few return codes where needed.
33781
33782Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
33783
33784 * Makefile.in (SUBDIRS): Add gdb.t17.
33785 * configure.in (subdirs): Add gdb.t17.
33786 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
33787 files to test gdb's calling of functions in the inferior with
33788 the correct arguments and gdb's ability to retrieve any
33789 result returned.
33790
33791Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
33792
33793 * config/unix-gdb.exp (gdb_exit): Remove close commands that
33794 may be called after gdb goes away. Previous versions of expect
33795 needed these to avoid file descriptor leaks, but they cause
33796 errors with the current revision of expect.
33797 * gdb.t00/gdbvars.exp: Use -re on expected output after
33798 setting sevenbit-strings.
33799 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
33800 to set sevenbit-strings consistent across tests.
33801 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
33802 set sevenbit-strings consistent across tests.
33803
33804Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
33805
33806 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
33807 expected output to match current "expect" expectations.
33808
33809Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
33810
33811 * gdb.t00/default.exp: Change expected output for default "source"
33812 command, to match new gdb behavior which requires a filename to
33813 source.
33814
33815Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
33816
33817 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
33818 expected fail for i486-*-* that misses the marker2 function.
33819 * gdb.t10/crossload.exp (bfddefault): Allow successful
33820 recognition of a format to pass even if no symbols are found.
33821 Explicitly catch failures where the format is not recognized
33822 or is ambiguous, and add the reason to the fail message.
33823 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
33824 the cause is and invalid target and add reason to failure message.
33825 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
33826 elf32-i386, elf32-sparc, and elf32-i860.
33827 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
33828 Set up expected failure for 'filename'::variable scope resolution,
33829 which is now apparently broken on all targets.
33830 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
33831 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
33832 gdb.t23/templates.exp: Change failure for missing binfile into
33833 just a warning.
33834 gdb.t21/demangle.exp: Change all cfront references to 'arm'
33835 references.
33836
33837Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
33838
33839 * gdb.t00/default.exp: Add expected output for default "source"
33840 command, to match new gdb behavior.
33841 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
33842
33843Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
33844
33845 * config/*-gdb.exp: returns an error, rather than exiting on
33846 internal errors.
33847
33848Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
33849
33850 * gdb.t03/gdbme.c: Add pointer to struct variable.
33851 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
33852 referencing struct members.
33853
33854Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
33855
33856 * configure.in (mips-idt-ecoff): New target.
33857 * config/mips-gdb.exp: New file for remote board using MIPS remote
33858 debugging protocol.
33859
33860 * Redid configuration scheme. Removed gdb.t*/configure.in.
33861 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
33862 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
33863 distclean targets. Built executables via .o files. Adjusted
33864 tests to account for source files in $(srcdir) rather than
33865 $(objdir).
33866 * lib/gdb.exp (runto): Don't expect () after the function name,
33867 because it may have arguments.
33868
33869Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
33870
33871 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
33872 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
33873 expected failures for mips-idt-* and mips-sgi-*.
33874 * gdb.t00/default.exp (attach): Kill process if requested.
33875 * gdb.t00/help.exp (help target core, help target): Accept a gdb
33876 that does not read core files.
33877 * gdb.t01/run.exp: Removed checks for exit status code.
33878 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
33879 it is linked in.
33880 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
33881 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
33882 appropriate, rather than doing it by hand.
33883 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
33884 execution.
33885 * gdb.t10/crossload.exp: Kill existing program if needed.
33886 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
33887 appropriate, rather than doing it by hand. Always increase
33888 timeout for this test, not just for VxWorks.
33889
33890Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
33891
33892 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
33893 of Chill STRUCT types and STRUCT values.
33894 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
33895 than "char".
33896 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 33897 struct2): New struct definitions and initializations to test
c906108c
SS
33898 simple Chill STRUCT types.
33899
33900Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
33901
33902 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
33903 the null byte at the end of strings.
33904 * gdb.t00/default.exp: Make show version insensitive to copyright
33905 date.
33906 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
33907 to avoid dependencies on target char signedness.
33908 * gdb.t16/printcmds.exp: Update expected results for explicitly
33909 unsigned char.
33910 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
33911 now work.
33912 * gdb.t21/demangle.exp: Add many more patterns for template
33913 demangling, most of them being expected failures.
33914 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
33915 string we are matching for, to match on the whole string.
33916 * gdb.t21/demangle.exp: Add many new test strings to demangle,
33917 and fix a whole bunch that had incorrect expected output but were
33918 passing anyway because of the bug in "proc demangle".
33919 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
33920 type.
33921 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
33922
33923Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
33924
a9c64011
AS
33925 * gdb/testsuite: made modifications to testcases, etc., to allow
33926 them to work properly given the reorganization of deja-gnu and the
33927 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
33928
33929Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
33930
33931 * gdb/testsuite: Initial creation of gdb/testsuite.
33932 Migrated dejagnu testcases and support files for testing nm to
33933 gdb/testsuite from deja-gnu. These files were moved "as is"
33934 with no modifications. This migration is part of a major overhaul
33935 of dejagnu. The modifications to these testcases, etc., which
33936 will allow them to work with the new version of dejagnu will be
33937 made in a future update.
48efe704 33938
8d8cb839 33939 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 33940\f
8d8cb839
EZ
33941;; Local Variables:
33942;; mode: change-log
33943;; left-margin: 8
33944;; fill-column: 74
33945;; version-control: never
33946;; End:
902f2ccb 33947
ecd75fc8 33948 Copyright 1993-2014 Free Software Foundation, Inc.
902f2ccb
MC
33949 Copying and distribution of this file, with or without modification,
33950 are permitted provided the copyright notice and this notice are preserved.
This page took 3.431406 seconds and 4 git commands to generate.